:root{font-family:-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-size:14px;line-height:1.5714286;color:#14161a;background:#f7f8fa;--accent:#3f5bff;--line:#ececed;--muted:#8c8c8c}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:8px;background:var(--accent);color:#fff;padding:5px 15px;display:inline-flex;gap:6px;align-items:center;justify-content:center;white-space:nowrap;min-height:32px}button:disabled{cursor:not-allowed;opacity:.48}button:hover:not(:disabled){filter:brightness(.98)}button:focus-visible,a:focus-visible{outline:2px solid #7999ff;outline-offset:2px}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:24px;font-weight:600}h2{font-size:16px;font-weight:600}h3{font-size:15px;font-weight:600}.secondary{border-color:#e5e5e5;background:#fff;color:#40454d}.text-button{padding:3px 6px;min-height:28px;background:transparent;color:inherit;border:0}.icon-button{width:32px;height:32px;min-height:32px;flex:none;padding:0;border:0;background:transparent;color:inherit}.icon{width:18px;height:18px;display:inline-block;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.muted{color:var(--muted);font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);margin:-1px;padding:0;border:0}.push-right{margin-left:auto}.is-authenticated{height:100vh;overflow:hidden}.workspace{height:100vh;display:grid;grid-template-columns:240px minmax(0,1fr)}.workspace-sidebar{background:#fff;padding:72px 12px 12px;display:flex;flex-direction:column;min-height:0;overflow:hidden}.brand-header{height:64px;padding:12px;position:fixed;left:0;top:0;width:240px;display:flex;align-items:center;gap:0;z-index:5;background:white}.brand{display:flex;align-items:center;gap:7px;min-width:0;flex:1;white-space:nowrap}.brand-mark{width:24px;height:24px;object-fit:contain;flex:none}.brand-name{font-size:16px;font-weight:600;color:#101113;white-space:nowrap}.environment-label{font-size:9px;line-height:16px;font-weight:500;padding:0 3px;background:#fff8df;color:#8b671d;border:1px solid #ebdbab;border-radius:3px;flex:none}.brand-header .icon-button{width:24px;height:32px;min-width:20px}.brand-header .icon{width:15px;height:15px}.primary-nav{display:flex;flex-direction:column;gap:4px;flex:none}.primary-nav button{width:100%;justify-content:flex-start;min-height:31px;height:31px;border:0;background:transparent;color:#17191c;padding:0 10px;gap:10px;border-radius:10px;font-size:14px;font-weight:400}.primary-nav button[aria-current=page]{background:#e5e5e4;font-weight:600}.primary-nav .icon{width:18px;height:18px}.sidebar-section{overflow:auto;flex:1;min-height:0;margin-top:32px;scrollbar-width:thin}.sidebar-section h2{font-size:14px;font-weight:600;margin:0 8px 16px}.project-tree-row{display:flex;align-items:center;height:38px;gap:3px}.project-tree-row>button{background:transparent;color:#252525;border:0;height:32px;min-height:32px;justify-content:flex-start;padding:0 6px;min-width:0}.project-tree-row>button:first-child{flex:1;gap:9px}.project-tree-row .tree-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-tree-row>.tree-expand{width:24px;flex:none;justify-content:center}.project-tree-row .icon{width:16px;height:16px}.tree-tasks{padding:0 0 9px 24px}.tree-task{display:flex;align-items:center;padding:0 5px;gap:8px;height:34px;border-radius:7px}.tree-task[aria-current=true]{background:#efefef}.tree-task>button{background:none;color:#262626;border:0;padding:0;min-height:28px;display:block;min-width:0;text-overflow:ellipsis;overflow:hidden;flex:1;text-align:left;font-size:12px}.tree-task time{font-size:11px;color:#1f1f1f;flex:none}.tree-show-more{width:100%;height:22px;min-height:22px;padding:0;font-size:12px;background:white;color:#444}.sidebar-bottom{display:flex;align-items:center;margin-top:10px;min-height:40px;flex:none;gap:5px}#identity{flex:1;min-width:0;position:relative}.account-toggle{width:100%;display:flex;justify-content:flex-start;gap:9px;background:transparent;color:#222;border:0;padding:4px 8px;height:40px}.user-avatar{display:inline-flex;width:32px;height:32px;border-radius:50%;align-items:center;justify-content:center;color:#fff;background:#3f5bff;font-size:11px;flex:none}.account-menu{position:absolute;bottom:45px;left:0;width:240px;padding:12px;background:#fff;border-radius:12px;box-shadow:0 8px 25px #0002;border:1px solid #eee;z-index:20}.account-menu strong{display:block;padding:8px}.account-menu>button{display:flex;justify-content:flex-start;width:100%;background:transparent;color:#333;border:0;margin:2px 0;font-size:14px}.workspace-main{position:relative;margin:8px 8px 8px 8px;border-radius:12px;background:#fff;min-width:0;height:calc(100vh - 16px);overflow:auto;box-shadow:0 0 1px #ddd}.workspace-main>[data-view-panel]{min-height:100%}.workspace-topbar,footer{display:none}.sidebar-collapsed .workspace{grid-template-columns:0 minmax(0,1fr)}.sidebar-collapsed .workspace-sidebar,.sidebar-collapsed .brand-header{visibility:hidden}.sidebar-collapsed #expand-sidebar{display:inline-flex!important;position:absolute;left:10px;top:10px;z-index:4;background:#fff}.home-view{padding-top:1px}.welcome{width:calc(100% - 40px);max-width:850px;margin:99px auto 0;padding-bottom:42px}.welcome h1{font-size:32px;line-height:1.5714286;font-weight:700;color:#0d111a;white-space:normal}.welcome p{font-size:24px;line-height:1.5714286;font-weight:700;color:#17191c;margin-top:8px}.welcome p>span{color:#6959e8}.typing-cursor{color:#4463ef;padding-left:10px;font-weight:400}.composer-hint{font-size:12px;color:#9499a3;margin:0 20px 10px;line-height:18.857px;min-height:37.7px}.goal-composer{max-width:870px;width:calc(100% - 40px);margin:0 auto;background:#f5f5f5;border-radius:24px;padding:10px 10px 0}.composer-box{border-radius:20px;padding:16px;border:1px solid #d9dce4;background:#fff;box-shadow:0 2px 10px #0000000b}.composer-box:focus-within{border-color:#b9d2e5;box-shadow:-2px 0 1px #9c9ce633,2px 0 1px #94e0b933}.composer-box textarea{border:0;outline:0!important;box-shadow:none!important;padding:5px 0 0;margin:0;width:100%;height:56px;min-height:56px;resize:none;font-size:16px;line-height:25.1429px}.composer-box textarea::placeholder{color:#bfbfbf}.composer-toolbar{display:flex;align-items:center;gap:12px;margin-top:12px;height:32px}.composer-toolbar .icon-button{background:#fafafa;border-radius:50%}.composer-toolbar .send-task{padding:0;margin-left:auto;min-height:32px;width:32px;border-radius:50%;background:#d9d9d9;color:white}.send-task .icon{width:26px;height:26px}.goal-composer:has(textarea:valid) .send-task{background:var(--accent)}.read-file-button{font-size:14px;line-height:26px;border:1px solid #e5e5e5;border-radius:8px;padding:0 7px;display:flex;align-items:center;gap:4px;margin:0;cursor:pointer;height:28px;color:#333}.read-file-button .icon{width:14px;height:14px}.composer-toolbar select{width:135px;padding:3px 6px;margin:0;font-size:12px;border:1px solid #eee;height:28px;background:#fff;border-radius:7px}.composer-model{color:#aaa;background:#fff;border:1px solid #eee;border-radius:7px;font-size:12px;padding:3px 8px}.composer-project{display:flex;align-items:center;gap:5px;height:32px;padding:0 14px}.composer-project select{border:0;padding:0;background:transparent;width:auto;max-width:100%;margin:0;font-size:12px}.composer-project>.icon{display:none}.home-recommendations{padding-top:16px}.tab-bar{display:flex;align-items:center;gap:32px;border:0;min-height:48px;flex-wrap:nowrap}.tab-bar>button{min-height:48px;padding:12px 0;background:transparent;color:#707680;border:0;border-bottom:2px solid transparent;border-radius:0;font-size:16px;font-weight:600}.tab-bar>button[aria-selected=true],.tab-bar>button.selected{color:#165dff;border-bottom-color:#5867e8}.home-recommendations .tab-bar{justify-content:center}.empty-illustration{padding:70px 10px;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;color:#bfbfbf;gap:12px;font-size:14px}.empty-illustration>.icon,.empty-illustration>span>.icon{width:64px;height:42px;stroke:#dedede;stroke-width:1;filter:drop-shadow(0 5px 3px #ddd4)}.home-recommendations .empty-illustration{padding-top:76px}.empty-hint{padding:20px;color:#999;text-align:center}.projects-view{padding:24px}.project-hero{height:290px;display:flex;align-items:center;justify-content:space-between;gap:30px}.project-hero h1{font-size:24px;margin-bottom:18px}.project-hero p{color:#999;margin-bottom:32px}.project-hero button{background:var(--accent)}.project-illustration{width:410px;height:215px;flex:none;margin-right:55px;border-radius:32px;background:#f4f6ff;display:flex;align-items:center;justify-content:center;gap:26px}.project-illustration i{display:block;width:90px;height:95px;background:#fff;border:2px solid #d1daf2;border-radius:17px;box-shadow:0 0 0 6px #f9faff;position:relative}.project-illustration i:before{content:"";display:block;height:8px;width:58px;margin:18px auto 17px;background:#6682e0;border-radius:6px;box-shadow:0 25px 0 -1px #c0cce4}.project-illustration i:after{content:"";display:block;height:6px;width:42px;margin:31px 14px 0;background:#c0cce4;border-radius:6px}.list-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:20px 0 14px}.list-heading h2{font-size:16px}.search-field{display:flex;align-items:center;border:1px solid #e8e8e8;border-radius:8px;height:32px;padding:0 10px;margin:0;gap:5px;color:#555;max-width:340px;width:100%}.search-field input{background:none;border:0;outline:none;margin:0;padding:0;box-shadow:none;width:100%;min-width:0;font-size:14px;height:28px}.search-field .icon{width:14px;height:14px}.search-field input::placeholder{color:#bfbfbf}.project-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{border:1px solid #e4e4e4;box-shadow:0 0 1px #ddd;border-radius:12px;display:flex;align-items:center;padding:16px;gap:12px;min-width:0;min-height:80px;cursor:pointer}.project-card .project-card-icon{width:42px;height:42px;background:#f3f3f3;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:none}.project-card .project-card-icon .icon{width:20px;height:20px}.project-card-text{flex:1;min-width:0}.project-card h2{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:7px}.project-card p{font-size:12px;color:#b3b3b3}.project-card>.icon-button{width:20px}.catalog-view{padding:24px 30px}.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:48px;margin-bottom:12px}.catalog-toolbar .tab-bar{gap:28px}.catalog-toolbar .tab-bar>button{color:#222;font-size:16px;font-weight:600}.catalog-toolbar .tab-bar>button[aria-selected=true]{border-bottom-color:#222}.toolbar-actions{display:flex;align-items:center;gap:8px}.toolbar-actions .search-field{width:200px}.toolbar-actions button{font-size:14px}.filter-bar{display:flex;align-items:center;gap:14px;color:#8c8c8c;margin:12px 0;font-size:12px;min-height:32px}.chips{display:flex;gap:8px;align-items:center}.chips>button{padding:3px 14px;border:1px solid #d9d9d9;background:#fff;color:#333;border-radius:20px;min-height:28px;font-size:12px}.chips>button[aria-pressed=true]{background:#f0edff;border-color:#f0edff;color:#5f65ee}.filter-spacer{flex:1}.section-label{font-size:16px;color:#666;padding:0 6px;margin:8px 0 14px}.employee-cards,.catalog-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.employee-card{position:relative;min-width:0;min-height:134px;border:1px solid #d9d9d9;border-radius:16px;display:flex;padding:12px;gap:12px}.employee-avatar{width:56px;height:56px;border-radius:50%;background:#f2f2ff;display:flex;align-items:center;justify-content:center;flex:none;color:#4f6de0}.employee-avatar .icon{width:38px;height:38px;stroke-width:1.7}.employee-card-main{min-width:0;flex:1}.employee-card h2{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500;padding-right:5px}.employee-card p{font-size:14px;line-height:23px;color:#888;margin:8px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;height:46px}.employee-card small{color:#999;font-size:12px}.employee-card .employee-type{color:#7381dc;background:#f1f6ff;font-size:10px;line-height:18px;padding:0 4px;white-space:nowrap}.employee-card .employee-card-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex:none}.employee-card .employee-start{border:1px solid #ededed;width:30px;height:30px;min-height:30px;padding:0;border-radius:50%;background:#fff;color:#444}.employee-card .icon{width:16px;height:16px}.employee-avatar .icon{width:38px;height:38px}.capability-footnote{font-size:12px;color:#999;margin:20px 6px}.resource-major-tabs{display:flex;gap:16px;margin:-3px 0 7px}.resource-major-tabs>button{background:none;color:#222;font-size:16px;padding:4px 12px;min-height:36px}.resource-major-tabs>button[aria-selected=true]{background:#f2f3f4}.resource-major-tabs .icon{width:18px;height:18px}.resource-row{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #eee;border-radius:12px;padding:16px;margin-top:14px}.resource-row h3{margin-bottom:5px}.resource-row p{font-size:12px}.resource-controls{display:flex;align-items:center;gap:12px;margin:20px 0}.resource-controls label{margin:0;display:flex;align-items:center;gap:10px}.resource-controls select{margin:0}.paging{display:flex;align-items:center;justify-content:center;gap:20px;padding:20px}.settings-view{display:flex;background:linear-gradient(110deg,#f1f3ff,#f7f8fc 58%)}.settings-nav{flex:none;width:240px;padding:24px 16px;background:#ffffff88}.settings-user{display:flex;align-items:center;gap:12px}.settings-user strong{display:block;font-size:14px}.settings-user small{display:block;font-size:12px;color:#999;margin-top:3px}.settings-user .user-avatar{width:44px;height:44px;font-size:15px;background:#a3a9b1}.settings-nav>.settings-user{border-bottom:1px solid #eee;padding:6px 8px 24px;margin-bottom:20px}.settings-nav>button{display:flex;width:100%;justify-content:flex-start;background:transparent;color:#333;margin:4px 0;padding:10px 20px}.settings-nav>button[aria-current=page]{background:#e9f2ff;color:#5e85d4}.settings-content{flex:1;min-width:0;padding:28px 32px}.settings-content h1{margin:0 0 25px;font-size:24px}.settings-card{background:#fff;border-radius:16px;padding:14px 24px;margin:0 0 24px;box-shadow:0 6px 20px #25334d03}.settings-card.settings-user{padding:16px}.settings-row{display:flex;align-items:center;gap:12px;padding:10px 0;min-height:44px;width:100%;background:none;color:#333;font-size:14px;border-radius:0;justify-content:flex-start}.settings-row select{width:auto;margin:0 0 0 auto;background:#f7f7f7;border:0;padding:5px 10px;font-size:14px}.logout-row{justify-content:center}.settings-row:disabled{opacity:.65}.task-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:8px;height:calc(100vh - 16px);background:#f7f8fa}.task-conversation{display:flex;flex-direction:column;min-width:0;background:#fff;border-radius:12px;overflow:hidden}.task-head{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;gap:15px;min-height:48px;flex:none}.task-breadcrumb{display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:0;color:#999;font-size:14px}.task-breadcrumb strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#333;font-size:14px}.task-actions{display:flex;align-items:center;gap:10px;flex:none;font-size:12px}.task-actions button{font-size:12px}.task-actions .icon{width:14px;height:14px}.message-list{overflow:auto;flex:1;padding:15px 32px 30px}.message-list>.note{margin:12px 0 24px;padding:12px 16px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:95%;font-size:14px}.message-list>.note small{display:block;color:#999;font-size:12px;margin-bottom:8px}.message-list>.note[data-origin=human]{background:#eff2ff;border-radius:12px;margin-left:auto;max-width:85%}.task-composer{flex:none;padding:8px 16px 10px}.task-composer .composer-hint{margin:0 0 6px;min-height:0}.task-composer #note-form{border:1px solid #ddd;border-radius:18px;box-shadow:0 4px 12px #0001;padding:16px}.task-composer #note-form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.task-composer #note{border:0;margin:0;box-shadow:none;padding:0;min-height:55px;height:55px;resize:none;font-size:16px;outline:none}.task-composer .section-head{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.task-composer #save-state{font-size:11px;color:#bfbfbf}.task-composer button[type=submit]{border-radius:18px;font-size:12px;min-height:28px;padding:2px 14px}.reference-hint{text-align:center;color:#ccc;font-size:12px;margin-top:12px}.task-resources{position:relative;min-width:0;background:#fff;border-radius:12px;padding:0 35px 15px 10px}.task-resources>.tab-bar{gap:20px;min-height:40px}.task-resources>.tab-bar>button{font-size:12px;min-height:40px;padding:8px 0;color:#666}.task-resources>.tab-bar>button[aria-selected=true]{color:#333;border-bottom-color:#333}.vertical-resource-tabs{position:absolute;right:10px;top:80px;width:28px;display:flex;gap:10px;flex-direction:column}.vertical-resource-tabs>button{white-space:normal;writing-mode:vertical-rl;letter-spacing:4px;font-size:12px;min-height:90px;padding:10px 5px;background:#f7f7f7;color:#aaa;border:0;border-radius:0}.vertical-resource-tabs>button[aria-selected=true]{background:#f1efff;color:#333}.refresh-resources{position:absolute;right:6px;top:42px;color:#aaa}.resource-file{display:flex;align-items:center;gap:8px;padding:10px 5px;border-bottom:1px solid #eee;font-size:12px}.resource-file>button{display:block;white-space:normal;text-align:left;min-width:0;font-size:12px}.task-resources>.text-button{font-size:12px;color:#8a8a8a;display:flex;margin:12px auto}.resources-collapsed .task-layout{grid-template-columns:minmax(0,1fr)}.resources-collapsed .task-resources{display:none}#project-context{padding:24px}#project-body:has(#task-detail:not([hidden]))>#project-context{display:none}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.task-cards{display:grid;gap:14px}.task-card{padding:16px;border:1px solid #eee;border-radius:12px}.task-card p{color:#999;margin:5px 0}.task-form{padding:20px;border:1px solid #eee;border-radius:12px}.side-drawer{position:fixed;z-index:30;right:0;top:0;height:100vh;width:min(760px,100vw);background:white;box-shadow:-15px 0 40px #0002;display:flex;flex-direction:column}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #eee;flex:none}.drawer-head h2{font-size:16px}.side-drawer>.tab-bar{padding:0 24px;gap:24px}.side-drawer>.tab-bar>button{font-size:14px;min-height:44px}.drawer-content{overflow:auto;flex:1;padding:20px 24px 35px}.drawer-content h2{font-size:18px;margin-bottom:12px}.drawer-content h3{margin:15px 0}.drawer-content p{margin:12px 0}.drawer-content .note{padding:16px;border:1px solid #e6e6e6;border-radius:10px;margin:14px 0;white-space:pre-wrap;overflow-wrap:anywhere}.modal{position:fixed;inset:0;z-index:40;background:#0006;display:flex;align-items:flex-start;justify-content:center;overflow:auto;padding:100px 20px 30px}.modal-content{width:520px;max-width:100%;background:#fff;border-radius:10px;box-shadow:0 10px 35px #0002}.modal-content .drawer-head{padding:18px 24px;border:0}.modal-content form,.modal-content>input,.modal-content>#global-search-results{margin:0 24px 24px}.modal-content>input{width:calc(100% - 48px)}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:28px}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.card-actions{display:flex;gap:10px;flex:none}.download-link{color:#4d6fce;font-size:12px}.badge{border-radius:4px;background:#f3f5fb;color:#7a8daa;padding:3px 8px;font-size:12px}label{display:block;font-size:14px;margin-bottom:14px}input,select,textarea{width:100%;min-width:0;border:1px solid #d9d9d9;border-radius:6px;padding:7px 11px;margin-top:7px;background:#fff;color:#333}input::placeholder,textarea::placeholder{color:#bfbfbf}input:focus,textarea:focus,select:focus{outline:1px solid #a8bdff;border-color:#91adff}textarea{resize:vertical}input[type=checkbox]{display:inline-block;width:auto;margin:4px 7px 0 0}.check{display:flex;align-items:flex-start;gap:5px;font-size:13px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;max-height:400px;overflow:auto;border:1px solid #eee;background:#fafafa;border-radius:8px;padding:15px}details{border-top:1px solid #eee;margin:18px 0;padding-top:15px;font-size:13px}summary{cursor:pointer;font-weight:500}.employee-area,.tools-area,.generation-area{border-top:1px solid #eee;padding-top:20px;margin-top:25px}.workflow-area{border:1px solid #e6e8f0;border-radius:10px;background:#fafbff;padding:18px}.workflow-cards{display:grid;gap:12px}.workflow-card{background:white;border:1px solid #eee;border-radius:8px;padding:14px}.workflow-card p{font-size:12px}.workflow-status{color:#5276ac}.advice-picker{background:#fafbff;border:1px solid #dee5f1;padding:14px;border-radius:8px;white-space:normal}.advice-picker label{display:flex;gap:7px;align-items:flex-start;font-size:13px}.advice-picker button{margin:5px 8px 0 0}.approval-table{width:100%;border-collapse:collapse;font-size:14px}.approval-table th{text-align:left;font-weight:500;background:#fafafa;border-bottom:1px solid #eee;padding:15px}.approval-table td{border-bottom:1px solid #eee}.approval-table .empty-illustration{padding:60px}.segmented{font-size:12px;background:#f4f4f4;border-radius:6px;padding:6px 12px;color:#888}#notice{pointer-events:none;position:fixed;top:20px;left:50%;transform:translateX(-50%);z-index:60;max-width:75vw;border:1px solid #e8ddba;background:#fffdf4;color:#795e2e;border-radius:7px;padding:10px 18px;box-shadow:0 6px 20px #0001;font-size:13px}.access{max-width:1040px;margin:80px auto;padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:60px}.intro{padding:30px}.intro h1{font-size:28px;margin:15px 0}.intro p,.stage{color:#999}.stage{font-size:12px;margin-top:30px}.access>.panel{background:white;border-radius:16px;padding:32px;box-shadow:0 12px 45px #44557714}.access h2{margin-bottom:20px}.access #access-help{margin:10px 0 20px;font-size:12px;color:#999}.access button[type=submit]{width:100%}body:not(.is-authenticated) .brand-header{position:static;width:100%;padding:12px 25px}body:not(.is-authenticated) .brand{flex:none}body:not(.is-authenticated) .brand-header>.icon-button{display:none}.capability-note{padding:18px;border:1px solid #eee;border-radius:12px;margin:15px 0}#notes:empty::after{content:"在下方记录客户原话，或读取项目资料。";color:#bfbfbf;font-size:13px}#catalog-model-settings>h2{margin:20px 0 12px}#model-settings,#members-panel{border:1px solid #eee;border-radius:12px;padding:20px}
@media(max-width:1100px){.project-illustration{width:300px;height:190px;margin-right:20px;gap:15px}.project-illustration i{width:67px;height:85px}.project-illustration i:before{width:45px}.project-illustration i:after{width:32px}.project-cards,.employee-cards,.catalog-items{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-bar{flex-wrap:wrap;gap:10px}.filter-spacer{display:none}.catalog-toolbar{flex-wrap:wrap;gap:10px}.task-layout{grid-template-columns:minmax(0,1fr) 260px}.task-actions{gap:2px}.task-head{flex-wrap:wrap}.settings-nav{width:210px}}
@media(max-width:760px){.welcome h1{font-size:28px}.welcome p{font-size:20px}.workspace-sidebar{padding-left:8px;padding-right:8px}.catalog-view{padding:20px}.toolbar-actions{flex-wrap:wrap}.employee-cards,.project-cards,.catalog-items{grid-template-columns:1fr}.project-illustration{display:none}.project-hero{height:240px}.task-layout{grid-template-columns:minmax(0,1fr)}.task-resources{position:absolute;right:0;top:0;height:100%;width:300px;z-index:8;border-left:1px solid #eee;box-shadow:-6px 0 20px #0001}.settings-nav{width:170px}.settings-content{padding:24px 18px}.composer-toolbar{gap:7px}.composer-model{display:none}.chips{flex-wrap:wrap}.task-breadcrumb{font-size:12px}.task-breadcrumb strong{font-size:12px}.access{grid-template-columns:1fr;max-width:500px;margin:30px auto}.intro{display:none}}
@media(max-width:520px){.welcome{margin-top:80px}.welcome h1{font-size:24px}.welcome p{font-size:18px}.settings-view{flex-direction:column}.settings-nav{width:100%;display:flex;flex-wrap:wrap}.settings-nav>.settings-user{width:100%}.settings-nav>button{width:auto}.task-breadcrumb>span{max-width:70px;overflow:hidden;text-overflow:ellipsis}.task-actions .text-button{padding:0 2px}.resource-major-tabs{gap:4px}.resource-major-tabs>button{padding:5px 9px}.composer-toolbar select{max-width:125px}.composer-hint{margin-left:15px;margin-right:15px}.goal-composer,.welcome{width:calc(100% - 30px)}}

/* Refinement against actual same-size formal homepage, evidence W80/30—31. */
.brand{gap:4px}.brand-header .icon-button{width:18px;min-width:18px}.environment-label{font-size:8px;padding:0 1px}.composer-hint{min-height:18.857px}.goal-composer{max-width:850px;padding:0}.composer-box{padding:12px 16px}.composer-toolbar{gap:26px;margin-top:8px;position:relative}.composer-project>span{display:none}.composer-model{display:inline-flex;align-items:center;width:180px;height:28px;color:#b3b3b3;padding:0 10px}.role-popover{position:absolute;left:0;bottom:42px;background:#fff;padding:14px;width:230px;border:1px solid #eee;border-radius:10px;box-shadow:0 8px 24px #0002;z-index:8}.role-popover>span{font-size:12px;color:#999}.role-popover select{margin-top:10px;width:100%;max-width:100%}.home-recommendations{padding-top:11px}.sidebar-section h2{margin-bottom:10px}

#project-context{padding:0}.project-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;min-height:calc(100vh - 16px)}.project-detail-main{padding:20px;min-width:0}.project-detail-head{display:flex;align-items:center;gap:9px;color:#999;min-height:32px}.project-detail-head h1{font-size:14px;font-weight:500;color:#222}.project-description{color:#999;font-size:14px;margin:15px 0 50px}.project-task-filters{display:flex;align-items:center;gap:16px;padding-bottom:10px;border-bottom:1px solid #eee;flex-wrap:wrap}.project-task-filters>.chips{gap:0;padding:3px;background:#f5f5f5;border-radius:10px}.project-task-filters .chips button{border:0;background:none;color:#444;padding:2px 12px;font-size:14px;border-radius:8px}.project-task-filters .chips button[aria-pressed=true]{background:white;box-shadow:0 2px 5px #0001}.project-task-filters>.check{font-size:14px;white-space:nowrap;margin:0}.project-date-range{display:flex;gap:14px;align-items:center;border:1px solid #e5e5e5;border-radius:8px;padding:3px 8px}.project-date-range input{border:0;width:110px;font-size:12px;padding:0;margin:0}.project-task-filters>.search-field{width:180px;margin-left:auto}#project-overview{padding-top:16px}.project-detail-sidebar{border-left:1px solid #eee;padding:20px 16px;height:calc(100vh - 16px);overflow:auto;min-width:0}.project-module{border:1px solid #e8e8e8;border-radius:12px;margin-bottom:16px;padding:12px;min-height:140px}.project-module h2{font-size:14px}.project-module .section-head{height:32px;margin-bottom:12px}.project-member-chip{display:inline-flex;align-items:center;gap:8px;border-radius:7px;background:#f2f4f9;padding:4px 7px;font-size:12px}.project-member-chip .user-avatar{width:24px;height:26px;border-radius:4px;font-size:10px}.project-module .muted{font-size:10px;margin-top:10px}.project-module .empty-illustration{padding:24px 5px;font-size:12px}.project-module-actions{display:flex;gap:5px;border-bottom:1px solid #eee;padding-bottom:8px}.project-module-actions .icon-button{border:1px solid #eee;width:28px;height:28px;min-height:28px}.project-module .text-button{font-size:12px;color:#5978be}.task-card{display:flex;align-items:center;gap:10px;border-radius:8px;border:1px solid #eee}.task-card h3{flex:1;font-size:14px}.task-card p{font-size:12px}.task-card .text-button{font-size:12px}@media(max-width:1100px){.project-detail-layout{grid-template-columns:minmax(0,1fr) 300px}.project-task-filters{gap:8px}.project-date-range{order:2}.project-task-filters>.search-field{order:3}.project-detail-main{padding:16px}.project-detail-sidebar{padding:16px 12px}}@media(max-width:760px){.project-detail-layout{display:block}.project-detail-sidebar{height:auto;border-left:0;border-top:1px solid #eee}.project-detail-head{flex-wrap:wrap}.project-description{margin-bottom:25px}}

.drawer-backdrop{position:fixed;inset:0;background:#0006;z-index:29}.side-drawer{z-index:30}.task-breadcrumb strong{min-width:0}.task-breadcrumb{flex:1}.brand-mark{object-fit:contain}.composer-hint{min-height:18.857px}

/* Employee configuration: whole-page header and three equal independently scrolling columns. */
.employee-editor{position:fixed;inset:0;z-index:20;background:#fff;color:#14161a;display:flex;flex-direction:column;font-size:14px}.employee-editor-header{height:64px;min-height:64px;border-bottom:1px solid #e9e9e9;display:flex;align-items:center;justify-content:space-between;padding:0 16px}.employee-editor-header>div:first-child{display:flex;align-items:center;gap:16px}.employee-editor-header img{width:40px;height:40px;object-fit:contain}.employee-editor-header>.employee-editor-tabs{position:absolute;left:50%;transform:translateX(-50%);display:flex;background:#f6f6f6;border-radius:8px;padding:4px;gap:4px}.employee-editor-tabs button{background:transparent;color:#666;min-height:36px;padding:6px 18px;font-size:14px;border-radius:6px}.employee-editor-tabs button[aria-selected=true]{background:#fff;color:#5685bc;box-shadow:0 1px 5px #0002}.employee-editor-header>button{background:#3358f5;font-size:14px;min-height:32px;padding:4px 18px}.employee-editor-header .icon-button{color:#355de5}.employee-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:calc(100vh - 64px);min-height:0}.editor-column{padding:16px 12px;overflow-y:auto;min-width:0;border-right:1px solid #ececec;scrollbar-width:thin}.editor-column h2{font-size:16px;font-weight:500;line-height:24px;margin:0}.employee-basic{padding-left:28px}.employee-portrait{display:flex;align-items:center;flex-direction:column;padding:2px 0 18px;margin-bottom:0}.employee-portrait img{width:80px;height:80px}.employee-portrait button{background:none;color:#ccc;font-size:12px;min-height:30px;padding:6px;margin:12px 0 0}.employee-editor label{font-size:14px;margin-bottom:24px}.employee-editor input,.employee-editor textarea,.employee-editor select{font-size:14px;line-height:22px;border-color:#eee;border-radius:10px;padding:8px 12px;margin-top:8px}.employee-editor input,.employee-editor select{min-height:40px}.employee-editor textarea{min-height:76px;resize:vertical}.employee-editor input::placeholder,.employee-editor textarea::placeholder{color:#bbb}.required{color:#d46d75}.definition-list-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px;min-height:20px}.definition-list-heading label{margin:0}.definition-list-heading button{font-size:12px;color:#6d8bca;padding:0;min-height:20px}.definition-list-row{display:flex;align-items:center;border:1px solid #f7f7f7;border-radius:12px;padding:0 8px 0 0;margin:0 0 10px}.definition-list-row input{border:0;background:none;box-shadow:none;outline:0;margin:0;min-width:0}.definition-list-row button{font-size:18px;flex:none;color:#333}.definition-norm-tabs{display:flex;justify-content:space-between;gap:16px;margin-top:36px;margin-bottom:16px;overflow:auto}.definition-norm-tabs button{font-size:14px;white-space:nowrap;background:none;color:#222;border-radius:0;padding:0 0 10px;min-height:32px;border-bottom:1px solid transparent}.definition-norm-tabs button[aria-selected=true]{border-bottom-color:#222}.employee-editor .norm-field{margin:0}.norm-field textarea{min-height:120px;margin:0}.definition-count{text-align:right;color:#888;margin:0;font-size:14px}.definition-model-row{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:12px}.definition-model-row label{margin:0}.definition-model-row select{width:auto;max-width:60%;background:#f7f7fc;border:0;min-height:32px;margin:0;padding:4px 12px}.definition-model-divider{position:relative;text-align:center;color:#999;font-size:14px;margin:22px 0 30px}.definition-model-divider:before,.definition-model-divider:after{content:'';position:absolute;top:50%;width:40%;border-top:1px dashed #f2f2f2}.definition-model-divider:before{left:0}.definition-model-divider:after{right:0}.definition-type{display:flex;justify-content:space-between;margin-bottom:28px}.definition-type .badge{font-size:12px;padding:0 4px}.employee-details label{display:block;margin-bottom:10px}.definition-greeting{margin-top:30px}.definition-unavailable{color:#aaa;font-size:12px;margin:0;min-height:20px}.definition-binding{display:flex;align-items:center;gap:14px;border:1px solid #eee;border-radius:8px;padding:16px;margin-bottom:10px;min-height:70px}.definition-binding>.icon{width:32px;height:32px}.definition-binding>div{flex:1;min-width:0}.definition-binding strong{display:block;font-weight:500}.definition-binding small{display:block;color:#8fa2d0;margin-top:4px;font-size:12px}.definition-scope{font-size:12px;color:#999;line-height:20px;margin:25px 0 10px}.definition-tags{display:flex;flex-wrap:wrap;gap:5px}.employee-preview{border:0;padding:16px;background:#f8f9fb;position:relative;display:flex;flex-direction:column}.definition-preview-content{flex:1;overflow:auto;padding:30px 16px}.definition-preview-identity{display:flex;align-items:center;gap:16px;color:#709dc4;font-size:12px}.definition-preview-identity img{width:32px;height:32px}.definition-preview-identity span{background:#edf2f9;border-radius:3px;padding:0 4px}.definition-preview-content>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:24px;font-size:14px;margin:24px 0 12px}.definition-preview-content .definition-preview-kind{font-size:12px;color:#aaa}.definition-preview-content #definition-preview-questions button{display:block;margin:10px 0;font-size:12px;white-space:normal;text-align:left;background:#fff;color:#7d8caa}.definition-preview-composer{margin:10px 16px 42px;border:1px solid #e4e4e4;border-radius:24px;background:#fff;min-height:96px;padding:10px 16px;position:relative;text-align:center}.definition-preview-composer textarea{border:0;min-height:24px;height:24px;padding:0;margin:0;resize:none;background:none;font-size:14px;opacity:.6}.definition-preview-composer button{min-height:30px;padding:2px 14px;border:1px solid #eee;font-size:14px;color:#333;background:#fff}.definition-preview-composer>.muted{position:absolute;bottom:12px;right:14px;opacity:.25}.definition-preview-composer>.muted .icon{width:25px;height:25px}.employee-definition-log{height:calc(100vh - 64px);overflow:auto;padding:32px}.employee-definition-log h2{font-size:20px}.employee-definition-log>p{color:#999;margin:12px 0 24px}.definition-version{border:1px solid #eee;border-radius:12px;padding:20px;margin:16px 0}.definition-version h3{font-size:16px}.definition-version p{color:#999;margin-top:8px}.definition-leave{position:fixed;inset:0;background:#0006;z-index:70;display:flex;align-items:center;justify-content:center}.definition-leave>div{background:white;border-radius:12px;padding:24px;max-width:480px}.definition-leave h2{font-size:18px}.definition-leave p{margin:16px 0 24px}.definition-leave button{margin-left:8px}.employee-editor-open>.brand-header{visibility:hidden}@media(max-width:1000px){.definition-norm-tabs{gap:8px}.definition-norm-tabs button{font-size:12px}.employee-basic{padding-left:16px}.employee-preview{padding:16px 10px}.definition-preview-content{padding:24px 6px}}@media(max-width:760px){.employee-editor-grid{grid-template-columns:1fr 1fr;overflow:auto;height:calc(100vh - 64px)}.editor-column{overflow:visible}.employee-preview{grid-column:1/-1;min-height:350px}.employee-editor-header>div:first-child{gap:6px}.employee-editor-header img{width:28px;height:28px}.employee-editor-header .environment-label{font-size:8px}.employee-editor-tabs button{padding:6px 12px}}@media(max-width:520px){.employee-editor-grid{display:block}.editor-column{border-bottom:1px solid #eee}.employee-editor-header>div:first-child{gap:4px}.employee-editor-header img{display:none}.employee-preview{min-height:400px}.employee-editor-tabs button{padding:6px 8px}.employee-editor-header{padding:0 10px}}

.employee-editor-open .workspace-sidebar{display:none}.employee-portrait img{border-radius:50%}.definition-preview-content #definition-preview-questions{overflow-wrap:anywhere}

/* Same1440 reference: align form vertical rhythm; values may add chips/questions. */
.employee-portrait{padding-bottom:6px}.employee-editor textarea{height:76px}.employee-editor .norm-field textarea{height:120px}.definition-list-heading{margin-top:16px}.definition-model-divider{margin-bottom:24px}.definition-type{margin-bottom:16px}

.employee-editor .definition-preview-composer textarea{height:24px;min-height:24px}

.cloud-panel .section-head{margin-bottom:8px}.cloud-toolbar{display:flex;align-items:center;gap:8px;padding:0 0 8px;border-bottom:1px solid #eee}.cloud-toolbar .icon-button{height:28px;min-height:28px;width:28px;padding:4px;border:1px solid #eee;border-radius:6px;color:#333;background:#fff}.cloud-toolbar .cloud-upload{margin:0;position:relative;display:inline-flex;cursor:pointer}.cloud-upload:has(input:disabled){opacity:.4;cursor:not-allowed}.cloud-toolbar input{margin:0}.cloud-path{display:flex;align-items:center;gap:4px;margin:6px 0;font-size:11px;overflow:auto;white-space:nowrap;color:#aaa}.cloud-path button{font-size:11px;min-height:20px;padding:0 2px}.cloud-file-list{max-height:240px;overflow:auto}.cloud-file-row{display:flex;gap:4px;align-items:center;padding:4px 0;min-height:44px;border-radius:8px}.cloud-file-row:hover{background:#f4f4f4}.cloud-file-main{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex:1;min-width:0;width:100%;background:none;color:#333;border:0;padding:0 4px;font-size:12px;white-space:normal;text-align:left}.cloud-file-main>.icon{width:16px;height:18px;flex:none}.cloud-file-info{display:block;min-width:0;flex:1}.cloud-file-info strong{display:block;font-size:12px;font-weight:400;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;line-height:20px}.cloud-file-info small{display:block;font-size:10px;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:16px}.cloud-download{padding:3px 6px;color:#777;font-size:14px;text-decoration:none}.cloud-capacity{font-size:10px;color:#aaa;margin:6px 0 0}.cloud-panel .empty-illustration{padding:25px 0}.project-detail-sidebar.cloud-expanded{padding:0}.cloud-expanded>.project-module:not(.cloud-panel){display:none}.cloud-expanded .cloud-panel{height:100%;margin:0;border:0;padding:16px 12px}.cloud-expanded .cloud-file-list{max-height:calc(100vh - 165px)}.cloud-file-detail{padding:0 24px 28px}.cloud-file-detail p{margin:12px 0}.cloud-file-detail h3{font-size:16px;margin-top:25px}.cloud-file-detail .cloud-checksum{font-size:11px;color:#999;overflow-wrap:anywhere}.cloud-file-detail select{margin-bottom:18px}.cloud-file-detail>.download-link{display:inline-block;margin:8px 0}.cloud-file-dialog .modal-content{width:660px}.resource-originals{padding:16px;border:1px solid #eee;border-radius:12px;margin:16px 0}.resource-originals h2{font-size:16px}.resource-originals .cloud-file-list{max-height:320px}.resource-originals .cloud-file-row{max-width:100%}.resource-originals .cloud-toolbar{margin-top:14px}.resource-originals .cloud-file-info strong{font-size:14px}.resource-originals .cloud-file-info small{font-size:12px}.task-resources .cloud-path{font-size:10px}.task-resources .cloud-toolbar{margin-top:10px}.task-resources .cloud-capacity{font-size:9px}.task-resources .cloud-file-list{max-height:calc(100vh - 200px)}

/* Original management shares the reference action menu and centered dialog placement. */
.cloud-more{width:24px;height:28px;min-height:28px;color:#888;font-size:20px;opacity:0}.cloud-file-row:hover .cloud-more,.cloud-file-row:focus-within .cloud-more{opacity:1}.cloud-node-menu{position:fixed;z-index:100;min-width:140px;padding:4px;background:#fff;border-radius:8px;box-shadow:0 6px 20px #0002}.cloud-node-menu button,.cloud-node-menu a{display:flex;width:100%;align-items:center;justify-content:flex-start;padding:5px 12px;min-height:32px;border:0;border-radius:5px;background:white;color:#222;font-size:14px}.cloud-node-menu button:hover,.cloud-node-menu a:hover{background:#f3f3f3}.cloud-node-menu .danger-text{color:#df3b34}.cloud-trash-toggle{font-size:11px;margin-left:auto}.cloud-manage-dialog .modal-content{width:520px}.cloud-manage-dialog .drawer-head{padding:20px 24px 12px}.cloud-manage-dialog form{padding:0 24px 20px}.cloud-manage-dialog #cloud-manage-target{overflow-wrap:anywhere;font-size:13px;color:#888;margin:0 0 12px}.cloud-manage-dialog label{margin:12px 0;display:block}.cloud-manage-dialog input,.cloud-manage-dialog select{width:100%;margin-top:6px}.cloud-manage-dialog .form-error{color:#d9363e;font-size:13px;margin-top:8px}.cloud-manage-dialog .muted{line-height:1.6}.cloud-recycle-hint{font-size:11px;color:#8c8c8c;margin-top:8px}@media(hover:none){.cloud-more{opacity:1}}

.cloud-manage-dialog form{padding:0;margin:0 24px 20px}.cloud-manage-dialog .drawer-head{padding:16px 24px 6px}.cloud-manage-dialog[data-mode=rename] #cloud-manage-target,.cloud-manage-dialog[data-mode=rename] #cloud-manage-explain{display:none}.cloud-manage-dialog[data-mode=rename] #cloud-manage-name-row{font-size:0;margin:0}.cloud-manage-dialog[data-mode=rename] input{font-size:14px;line-height:22px;height:32px;margin:0;padding:4px 11px}.cloud-manage-dialog[data-mode=rename] .modal-actions{margin-top:12px}.cloud-manage-dialog[data-mode=rename] .modal-actions button{min-height:32px;height:32px}.cloud-manage-dialog[data-mode=rename] .form-error:empty{display:none}

.cloud-manage-dialog button[type=submit]:disabled{opacity:1;background:#f5f5f5;color:#0004;border:1px solid #d9d9d9;box-shadow:none}

/* W85: independent knowledge layouts observed on the formal resource and directory screens. */
#resources-view .toolbar-actions{gap:8px}#knowledge-category{width:142px;margin:0;min-height:32px;padding:3px 10px;font-size:14px}#knowledge-filters{gap:12px;margin-top:8px}#knowledge-filters .chips{gap:8px}#knowledge-filters .chips button{padding:3px 12px}#knowledge-list-state{font-size:11px;margin:8px 0 10px;color:#999}.knowledge-cards{gap:12px 20px}.knowledge-card{min-height:128px;border:1px solid #e5e5e5;border-radius:16px;padding:16px 20px;display:flex;align-items:flex-start;gap:20px;position:relative;overflow:hidden}.knowledge-card-mark{padding-top:8px;flex:none}.knowledge-card-mark>.icon{width:34px;height:34px;color:#151515}.knowledge-card-body{min-width:0;flex:1;padding-right:28px}.knowledge-card-title{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-weight:500;font-size:14px;padding:0;min-height:25px}.knowledge-card-body p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#666;margin:5px 0 7px}.knowledge-card-body small{font-size:12px;color:#999}.knowledge-card-tag{position:absolute;right:14px;top:12px;font-size:11px;color:#7e94c0;background:#f0f3fa;padding:0 4px}.knowledge-card-enter{position:absolute;right:14px;top:50px;border:1px solid #eee;border-radius:50%;width:30px;height:30px;min-height:30px}.knowledge-card-enter .icon{width:16px;height:16px}.knowledge-empty{grid-column:1/-1;width:100%}.knowledge-back{display:flex;align-items:center;gap:10px;margin-bottom:16px}.knowledge-back h2{font-size:16px;font-weight:500}.knowledge-detail{padding:16px 30px;overflow:auto;height:calc(100vh - 16px)}.knowledge-detail>.knowledge-back{font-size:14px;padding:0;min-height:20px;margin:0 0 14px}.knowledge-identity{display:flex;align-items:center;gap:20px;padding:12px 16px;min-height:74px;background:#f3f5fa;border-radius:12px;margin-bottom:16px}.knowledge-mark{background:#eef3fe;color:#2160ed;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:5px;flex:none}.knowledge-mark>.icon{width:32px;height:32px}.knowledge-identity>div{flex:1;min-width:0}.knowledge-identity h1{font-size:16px;line-height:24px;font-weight:500;overflow-wrap:anywhere}.knowledge-identity p{font-size:14px;color:#666;line-height:22px;margin-top:2px;overflow-wrap:anywhere}.knowledge-identity .text-button{font-size:12px;color:#7d8799}.knowledge-directory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.knowledge-directory-head>.tab-bar{border:0;flex:none;margin:0}.knowledge-directory-head>.tab-bar>button{font-size:18px;font-weight:500;border-bottom:2px solid #222;color:#222;padding:0 0 4px;min-height:32px}.knowledge-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.knowledge-toolbar button{font-size:14px;padding:4px 12px;min-height:32px}.knowledge-toolbar .search-field{width:198px;height:32px}.knowledge-toolbar .search-field input{font-size:14px}.knowledge-path{display:flex;gap:5px;align-items:center;min-height:42px;margin:7px 0 6px;overflow:auto;white-space:nowrap}.knowledge-path button{font-size:14px;padding:0 2px}.knowledge-directory-state:empty,#knowledge-directory-state:empty{display:none}.knowledge-table{border-collapse:collapse;width:100%;table-layout:fixed}.knowledge-table th{height:48px;border-bottom:1px solid #f0f0f0;color:#999;font-weight:400;text-align:left;font-size:12px}.knowledge-table th:first-child{width:69%}.knowledge-table th:nth-child(2){width:15%}.knowledge-table th:last-child{width:16%}.knowledge-table th input,.knowledge-table td input{width:16px;height:16px;margin:0 8px 0 6px;vertical-align:middle;flex:none;accent-color:#245cff}.knowledge-table td{border-bottom:1px solid #f5f5f5;padding:13px 0;font-size:14px;vertical-align:middle;overflow-wrap:anywhere}.knowledge-file-name{display:flex;align-items:center;min-height:65px}.knowledge-file-name>.text-button{gap:10px;white-space:normal;justify-content:flex-start;text-align:left;min-width:0;padding:0 4px}.knowledge-file-name>.text-button .icon{width:22px;height:24px;flex:none;color:#8da8db}.knowledge-file-name .text-button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.knowledge-table small{display:block;color:#aaa;font-size:11px;margin-top:4px}.knowledge-table .knowledge-error{color:#d24b4b}.knowledge-row-actions .text-button,.knowledge-row-actions .download-link{font-size:12px;color:#456fd4;padding:2px 4px;white-space:nowrap}.knowledge-status{font-size:12px;color:#999}.knowledge-status-ready{color:#4a9370}.knowledge-status-building{color:#507de0}.knowledge-status-failed{color:#c85e5e}.knowledge-directory-empty{text-align:center;padding:45px 10px 30px;min-height:310px}.knowledge-directory-empty>.icon{width:110px;height:80px;padding:15px 25px;background:#f5f7fd;border-radius:14px;color:#b5c6e2;margin-bottom:46px}.knowledge-directory-empty h3{font-size:14px;font-weight:500}.knowledge-directory-empty p{color:#777;font-size:14px;margin:6px 0 20px}.knowledge-directory-empty>div{display:flex;gap:6px;justify-content:center}.knowledge-capacity{font-size:10px;margin:14px 0 30px;color:#aaa}.knowledge-search{border-top:1px solid #f2f2f2;padding:22px 0 36px}.knowledge-search h2{font-size:14px;font-weight:500;margin-bottom:8px}.knowledge-search form{display:flex;gap:8px;margin:12px 0;max-width:600px}.knowledge-search input{flex:1;margin:0;font-size:14px;min-height:32px;padding:4px 12px}.knowledge-search button{font-size:14px}.knowledge-hit{border:1px solid #eee;border-radius:10px;padding:14px;margin:12px 0}.knowledge-hit>.text-button{color:#436dd4;padding:0;margin-right:12px;white-space:normal}.knowledge-hit strong{font-size:12px;font-weight:400;color:#888}.knowledge-hit p,.knowledge-unit p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;font-size:14px;line-height:24px}.knowledge-sha{font-size:10px;color:#aaa;overflow-wrap:anywhere}.knowledge-management-table{width:100%;border-collapse:collapse;table-layout:fixed;margin-top:20px}.knowledge-management-table th{background:#fafafa;font-weight:400;color:#999;text-align:left}.knowledge-management-table td,.knowledge-management-table th{padding:14px 10px;border-bottom:1px solid #f0f0f0;overflow-wrap:anywhere;font-size:13px}.knowledge-management-table th:nth-child(2){width:30%}.knowledge-management-table td .text-button{font-size:13px;color:#456fd4;text-align:left;white-space:normal}.knowledge-info-dialog .modal-content{width:560px;border-radius:12px}.knowledge-info-dialog .drawer-head{padding:20px 24px 10px}.knowledge-info-dialog .drawer-head h2{font-size:16px;font-weight:500}.knowledge-info-dialog form{padding:0 24px 20px}.knowledge-info-dialog label{display:block;font-size:14px;margin:0 0 24px}.knowledge-info-name{display:flex;align-items:center;gap:16px;margin:10px 0 24px}.knowledge-info-name>.knowledge-mark{width:64px;height:64px;background:#fafbfc}.knowledge-info-name label{flex:1;margin:0}.knowledge-info-dialog input,.knowledge-info-dialog textarea,.knowledge-info-dialog select{width:100%;margin-top:6px;border:1px solid #e9e9e9;border-radius:9px;font-size:14px;padding:4px 11px;min-height:32px}.knowledge-info-dialog textarea{height:76px;resize:vertical}.knowledge-info-dialog input::placeholder,.knowledge-info-dialog textarea::placeholder{color:#bfbfbf}.knowledge-info-dialog select:disabled{background:#fff;color:#bbb}.knowledge-info-dialog .modal-actions{margin:0;gap:8px}.knowledge-info-dialog .modal-actions button{padding:4px 15px;font-size:14px;min-height:32px}.knowledge-info-dialog .form-error{font-size:12px;color:#d24b4b;margin-bottom:12px}.knowledge-info-dialog .form-error:empty{display:none}#knowledge-folder-dialog form{padding:0 24px 20px}#knowledge-folder-dialog input{width:100%;margin-top:8px}#knowledge-folder-error{font-size:12px;color:#d24b4b}.knowledge-file-dialog .modal-content{width:760px}.knowledge-file-dialog #knowledge-file-content{padding:0 24px 24px;max-height:70vh;overflow:auto}.knowledge-file-dialog p{margin:8px 0}.knowledge-file-dialog h3{font-size:15px;margin-top:20px}.knowledge-unit{padding:12px 0;border-bottom:1px solid #eee}.knowledge-unit strong{font-size:12px;color:#888}.project-resource-drawer{width:min(800px,95vw)}@media(max-width:1100px){.knowledge-detail{padding:16px 22px}.knowledge-directory-head{display:block}.knowledge-toolbar{margin-top:12px;justify-content:flex-start}.knowledge-table th:first-child{width:55%}.knowledge-table th:nth-child(2){width:22%}.knowledge-table th:last-child{width:23%}#knowledge-filters{flex-wrap:wrap}}@media(max-width:760px){.knowledge-detail{padding:16px}.knowledge-identity{gap:12px}.knowledge-table th:first-child{width:50%}.knowledge-table th:nth-child(2){width:23%}.knowledge-table th:last-child{width:27%}.knowledge-table td{font-size:12px}.knowledge-toolbar{gap:6px}.knowledge-toolbar button{font-size:12px}.knowledge-management-table th:nth-child(4),.knowledge-management-table td:nth-child(4){display:none}.knowledge-search form{flex-wrap:wrap}}

/* W85 visual correction from the same 1440x900 directory evidence (15 and 16). */
.knowledge-directory-head>.tab-bar{min-height:32px;height:32px}.knowledge-directory-head>.tab-bar>button{min-height:32px;height:32px}.knowledge-toolbar{gap:8px}.knowledge-toolbar .search-field{width:198px;padding-right:7px;flex:none}.knowledge-toolbar .search-field>.icon-button{width:18px;height:24px;min-height:24px;padding:0;color:#333;background:none;border:0}.knowledge-toolbar .search-field>.icon-button .icon{width:14px;height:14px}#knowledge-folder-open{width:128px}#knowledge-batch-build{width:130px}#knowledge-move,#knowledge-delete{width:102px}#knowledge-download{width:110px}#knowledge-upload-open{width:114px;background:#165dff}.knowledge-toolbar button>.icon{width:16px;height:16px}.knowledge-toolbar button:disabled{opacity:1;background:#f6f6f6;color:#b7b7b7;border-color:#e6e6e6}.knowledge-path{margin-bottom:3px}.knowledge-table th:first-child{width:73%}.knowledge-table th:nth-child(2){width:13.5%}.knowledge-table th:last-child{width:13.5%}.knowledge-table td:has(.knowledge-directory-empty){padding:0;border-bottom:0}.knowledge-directory-empty{padding-top:46px}.knowledge-directory-empty>.icon{display:block;margin:0 auto 54px;stroke-width:1.1}.knowledge-directory-empty>div{gap:6px}.knowledge-directory-empty>div>button:first-child{width:128px}.knowledge-directory-empty>div>button:last-child{width:114px}.knowledge-primary{background:#165dff;color:#fff}.knowledge-search-dialog .modal-content{width:760px}.knowledge-search-dialog .knowledge-search{padding:0 24px 24px;border:0;max-height:70vh;overflow:auto}.knowledge-search-dialog .knowledge-search form{margin:16px 0 18px;max-width:none}.knowledge-search-dialog .knowledge-search .muted{font-size:12px}.knowledge-search-dialog .knowledge-search button[type=submit]{background:#165dff}.knowledge-search-dialog .knowledge-hit:last-child{margin-bottom:0}@media(max-width:1100px){.knowledge-directory-head>.tab-bar{height:32px}.knowledge-table th:first-child{width:55%}.knowledge-table th:nth-child(2){width:22%}.knowledge-table th:last-child{width:23%}}@media(max-width:760px){.knowledge-table th:first-child{width:50%}.knowledge-table th:nth-child(2){width:23%}.knowledge-table th:last-child{width:27%}}

/* W86 keeps library selection inside the existing capability area and task resource panel. */
.task-evidence-actions{display:flex;flex-wrap:wrap;gap:6px}.task-evidence-actions>.text-button{font-size:12px;color:#5978be}.definition-knowledge-dialog .modal-content{width:600px}.binding-picker-body{padding:0 24px 24px}.binding-status{font-size:12px;color:#7e889a;line-height:20px;overflow-wrap:anywhere}.binding-picker-body>.binding-status{margin:12px 0}.binding-library-choice{display:flex;align-items:flex-start;gap:12px;padding:14px 10px;border:1px solid #eee;border-radius:10px;margin:10px 0;cursor:pointer}.binding-library-choice>input{width:16px;height:16px;flex:none;margin:3px 0 0;accent-color:#165dff}.binding-library-choice>span{min-width:0}.binding-library-choice strong{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere}.binding-library-choice small{display:block;font-size:12px;color:#999;margin-top:3px;overflow-wrap:anywhere}#definition-knowledge-choices{max-height:48vh;overflow:auto}#definition-knowledge .definition-binding strong{overflow-wrap:anywhere}#definition-knowledge .definition-binding{margin-bottom:10px}.task-knowledge-dialog .modal-content{width:800px}.task-knowledge-body{padding:0 24px 24px;max-height:75vh;overflow:auto}#task-knowledge-search-form{display:flex;gap:8px;margin:16px 0 8px}#task-knowledge-query{flex:1;min-width:0;margin:0;font-size:14px;padding:5px 12px;min-height:32px}.binding-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 16px}.binding-status-row>.text-button{font-size:12px;color:#5978be;flex:none}.binding-hit{border:1px solid #eee;border-radius:10px;padding:14px 16px;margin:10px 0}.binding-hit>strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}.binding-hit .binding-hit-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:110px;overflow:auto;font-size:13px;line-height:22px;margin:10px 0}.binding-hit>.knowledge-sha{display:block}.binding-hit>.secondary{font-size:12px;margin-top:12px}.binding-hit>.secondary[aria-pressed=true]{color:#165dff;border-color:#b6c8ff;background:#f8faff}#task-knowledge-confirm-form{margin:20px 0 0}.task-knowledge-preview{border:1px solid #dbe5fa;background:#fafcff;border-radius:10px;padding:16px}.task-knowledge-preview h3{font-size:14px;font-weight:500}.task-knowledge-preview>p{font-size:12px;color:#8490a6;margin-top:6px;overflow-wrap:anywhere}.task-knowledge-preview blockquote,.task-knowledge-citation blockquote{white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0 0;font-size:14px;line-height:24px;padding-left:12px;border-left:2px solid #cddaf5}.binding-share-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin-top:18px}.binding-share-confirm>input{width:16px;height:16px;margin:3px 0 0;accent-color:#165dff;flex:none}.task-knowledge-citation{font-size:12px;padding:12px 0 0}.task-knowledge-citation summary{cursor:pointer;color:#5978be}.task-knowledge-citation>p{font-size:12px;margin-top:8px;color:#888}.task-knowledge-citation blockquote{font-size:13px}#task-knowledge-confirm-form .modal-actions{margin-top:18px}.task-knowledge-dialog button[type=submit],#definition-knowledge-apply{background:#165dff}.task-knowledge-dialog button[type=submit]:disabled{background:#f5f5f5;color:#aaa;opacity:1;border-color:#e7e7e7}@media(max-width:760px){.binding-status-row{align-items:flex-start;gap:4px}.task-knowledge-body{padding:0 16px 20px}#task-knowledge-search-form{flex-wrap:wrap}.binding-picker-body{padding:0 16px 20px}.task-knowledge-dialog .modal-content{max-width:100%}.binding-share-confirm{font-size:12px}}

/* W87 template empty layout follows the observed nine-category formal screen. */
.template-view{padding:16px 24px}.template-toolbar{display:flex;align-items:center;gap:24px;justify-content:space-between}.template-toolbar>.tab-bar{gap:12px;min-height:36px;flex-wrap:nowrap;border:0}.template-toolbar>.tab-bar>button{border:1px solid #eee;border-radius:11px;padding:5px 16px;background:#fff;color:#222;font-size:14px;font-weight:400;min-height:35px;white-space:nowrap}.template-toolbar>.tab-bar>button[aria-selected=true]{color:#fff;background:#16171a;border-color:#16171a}.template-toolbar>.search-field{width:240px;max-width:240px;height:33px;flex:none;border-radius:11px}.template-toolbar>.search-field input{font-size:12px}#template-list-status{margin-top:18px}#template-list-status:empty{display:none}.template-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}.template-empty{grid-column:1/-1;text-align:center;padding-top:66px;color:#999;font-size:14px}.template-empty-illustration{width:112px;height:104px;margin:0 auto 10px;position:relative}.template-empty-illustration>i{display:block;position:absolute}.template-empty-paper{left:30px;top:24px;width:50px;height:60px;background:#f6f7f9;border:6px solid #f0f1f4;z-index:2;box-shadow:0 1px 4px #0001}.template-empty-paper:before{content:'';position:absolute;width:32px;height:17px;background:#dfe2e9;left:3px;top:2px}.template-empty-paper:after{content:'';position:absolute;width:31px;left:3px;top:24px;height:3px;background:#dfe2e9;box-shadow:0 8px #dfe2e9,0 16px #dfe2e9}.template-empty-box{width:72px;height:28px;left:20px;bottom:8px;background:#dfe2e7;border-radius:4px;box-shadow:0 7px 0 3px #f7f7f8}.template-empty-box:before{content:'';position:absolute;left:0;top:-13px;border-left:12px solid transparent;border-bottom:14px solid #d4d7dd}.template-empty-box:after{content:'';position:absolute;right:0;top:-13px;border-right:12px solid transparent;border-bottom:14px solid #d4d7dd}.template-empty-bubble{right:0;top:0;width:28px;height:23px;border-radius:50%;background:#dfe2e7;color:#fff;font-style:normal;line-height:20px;font-size:12px;letter-spacing:1px;transform:rotate(-12deg)}.template-empty-bubble:after{content:'';position:absolute;left:4px;bottom:-2px;border-left:5px solid #dfe2e7;border-bottom:6px solid transparent}.template-card{border:1px solid #e8e8e8;border-radius:14px;padding:20px;min-width:0;display:flex;flex-direction:column;min-height:190px}.template-card-top{display:flex;gap:10px;align-items:center;min-width:0}.template-card-top>.icon{color:#577fd0}.template-card-top h2{flex:1;min-width:0;font-size:15px;font-weight:500;overflow-wrap:anywhere}.template-card-top>.badge{font-size:10px;flex:none}.template-card>p{font-size:13px;line-height:22px;color:#888;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;flex:1}.template-card>small{font-size:11px;color:#aaa}.template-card-actions{display:flex;gap:8px;margin-top:16px}.template-card-actions>button{font-size:12px;min-height:30px;padding:3px 14px}.template-card-actions>button:first-child{background:#165dff}.task-template-origin{max-width:230px;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#7689af;font-weight:400}.template-editor-dialog .modal-content,.template-apply-dialog .modal-content{width:680px}.template-editor-dialog form,.template-apply-dialog form{margin:0;padding:0 24px 24px;max-height:75vh;overflow:auto}.template-editor-dialog form>label,.template-apply-dialog form>label,.template-form-row>label{display:block;font-size:13px;margin:12px 0 16px}.template-editor-dialog input,.template-editor-dialog textarea,.template-editor-dialog select,.template-apply-dialog input,.template-apply-dialog textarea,.template-apply-dialog select{display:block;width:100%;font-size:14px;margin-top:7px;padding:6px 11px;border:1px solid #e5e5e5;border-radius:8px;min-height:34px}.template-editor-dialog textarea,.template-apply-dialog textarea{resize:vertical;line-height:22px}.template-form-row{display:flex;gap:16px}.template-form-row>label{flex:1;min-width:0}.template-editor-dialog .muted,.template-apply-dialog .muted{font-size:11px;line-height:18px}.template-form-status{color:#9c6e52;font-size:12px;line-height:21px;margin-top:12px;overflow-wrap:anywhere}.template-form-status:empty{display:none}.template-editor-dialog .modal-actions,.template-apply-dialog .modal-actions{margin-top:20px}.template-editor-dialog button[type=submit],.template-apply-dialog button[type=submit]{background:#165dff}.template-editor-dialog button[type=submit]:disabled,.template-apply-dialog button[type=submit]:disabled{background:#f5f5f5;color:#aaa;opacity:1;border-color:#eee}.template-history-dialog .modal-content{width:760px}#template-history-content{padding:0 24px 24px;max-height:72vh;overflow:auto}.template-version{padding:16px 0;border-bottom:1px solid #eee}.template-version h3{font-size:15px;font-weight:500}.template-version>p{font-size:13px;color:#999;margin:8px 0;overflow-wrap:anywhere}.template-version details{font-size:13px;margin-top:12px}.template-version summary{cursor:pointer;color:#5978be;margin-bottom:12px}.template-version details>strong{font-size:14px;font-weight:500}.template-history-prompt{white-space:pre-wrap;overflow-wrap:anywhere;line-height:23px;margin:12px 0}.template-version details small{color:#999}@media(max-width:1200px){.template-toolbar{gap:12px;flex-wrap:wrap}.template-toolbar>.tab-bar{gap:8px}.template-toolbar>.tab-bar>button{padding:5px 12px}.template-toolbar>.search-field{margin-left:auto}.template-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.template-toolbar>.tab-bar{overflow:auto;max-width:100%;justify-content:flex-start}.template-view{padding:16px}.template-cards{grid-template-columns:1fr}.template-editor-dialog form,.template-apply-dialog form{padding:0 16px 20px}.template-form-row{display:block}.task-template-origin{max-width:110px}}

/* W88: independent reconstruction of the observed 1000 x 640 knowledge picker. */
.definition-knowledge-dialog{padding-top:100px}.definition-knowledge-dialog>.modal-content{width:1000px;height:640px;max-width:calc(100vw - 40px);max-height:calc(100vh - 120px);display:grid;grid-template-columns:220px minmax(0,1fr);overflow:hidden;border-radius:9px;box-shadow:none}.knowledge-picker-sidebar{background:#f5faff;min-height:0;overflow:auto;padding:16px}.knowledge-picker-sidebar h2{font-size:16px;line-height:24px;font-weight:500;margin:0 0 18px}.knowledge-picker-sidebar>.search-field{width:188px;max-width:100%;height:32px;padding:0 11px;border-radius:1px;background:#fff}.knowledge-picker-sidebar>.search-field input{font-size:14px}.knowledge-domain-tree{margin-top:20px}.knowledge-domain-item{background:none;color:#555;border:0;border-radius:4px;padding:7px 12px;min-height:38px;display:flex;justify-content:flex-start;gap:4px;width:100%;font-size:14px;font-weight:400;text-align:left}.knowledge-domain-item .icon{width:14px;height:14px;flex:none}.knowledge-domain-item[aria-selected=true]{color:#5178d3;background:#e8f1ff}.knowledge-domain-tree>.muted{padding:10px 0;font-size:12px}.knowledge-picker-main{min-width:0;min-height:0;display:flex;flex-direction:column;padding:0 16px;background:#fff}.knowledge-picker-head{height:56px;min-height:56px;display:flex;align-items:center;gap:16px}.knowledge-picker-head>.tab-bar{gap:32px;min-height:56px;margin:0;flex:none;align-items:center}.knowledge-picker-head>.tab-bar>button{min-height:44px;padding:8px 0;font-weight:400;font-size:16px;border-radius:0;color:#999;border-bottom:2px solid transparent;background:none}.knowledge-picker-head>.tab-bar>button[aria-selected=true]{border-bottom-color:#8069ef;color:#8069ef}.knowledge-picker-head>.tab-bar>button:disabled{opacity:1;color:#aaa;background:none;cursor:not-allowed}.knowledge-picker-head>.search-field{width:150px;max-width:150px;margin-left:auto;height:32px;border-radius:9px;padding:0 11px;flex:none}.knowledge-picker-head>.search-field input{font-size:14px}.knowledge-picker-head>.icon-button{width:24px;min-width:24px;color:#777}.knowledge-picker-head>.icon-button .icon{width:16px;height:16px}.knowledge-picker-main>#definition-knowledge-status{margin:0 0 5px;font-size:12px}.knowledge-picker-main>#definition-knowledge-status:empty{display:none}.knowledge-picker-content{min-height:0;flex:1;overflow:auto}#definition-knowledge-choices{max-height:none;overflow:visible}.knowledge-picker-row{min-height:100px;border-bottom:1px solid #f6f6f6;display:flex;align-items:center;gap:12px;padding:14px 40px 14px 8px}.knowledge-picker-row>.icon{width:36px;height:36px;color:#7d8187;stroke-width:1.8;flex:none}.knowledge-picker-row-text{min-width:0;flex:1}.knowledge-picker-row h3{font-size:14px;line-height:22px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.knowledge-picker-row p{font-size:12px;line-height:20px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:3px 0}.knowledge-picker-row small{font-size:12px;line-height:20px;color:#999;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.knowledge-picker-add{min-height:28px;height:28px;width:68px;border:1px solid #eee;border-radius:3px;background:#fff;color:#7195ee;font-size:14px;padding:1px 8px;flex:none;letter-spacing:2px}.knowledge-picker-add:disabled{opacity:1;color:#aaa;background:#fafafa;letter-spacing:0;cursor:not-allowed}.knowledge-picker-content>#definition-knowledge-empty{padding:80px 20px;text-align:center;line-height:24px;font-size:13px}.knowledge-picker-footer{height:48px;min-height:48px;border-top:1px solid #f0f0f0;display:flex;justify-content:flex-end;align-items:center;gap:8px;font-size:14px}.knowledge-picker-footer>#definition-knowledge-selected{margin-right:auto;font-size:10px;white-space:nowrap;color:#b0b7c4}.knowledge-picker-footer .icon-button{width:16px;height:24px;min-height:24px;color:#bbb;font-size:18px}.knowledge-picker-page{border:1px solid #c6d7fb;border-radius:6px;color:#4c7ad9;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center}.knowledge-picker-footer>select{font-size:14px;height:26px;min-height:26px;width:90px;margin:0 16px 0 0;padding:0 5px;background:#fff;border:1px solid #eee;border-radius:5px;opacity:1;color:#555}.knowledge-info-dialog #knowledge-info-domain{background:#fff;color:#333}#knowledge-category{background:#fff;color:#555}@media(max-width:800px){.definition-knowledge-dialog>.modal-content{grid-template-columns:180px minmax(0,1fr)}.knowledge-picker-sidebar{padding:16px 12px}.knowledge-picker-sidebar>.search-field{width:100%}.knowledge-picker-main{padding:0 12px}.knowledge-picker-head{gap:10px}.knowledge-picker-head>.tab-bar{gap:22px}.knowledge-picker-row{padding-right:6px}.knowledge-picker-row>.icon{width:28px;height:28px}.knowledge-picker-footer{gap:5px;font-size:12px}.knowledge-picker-footer>#definition-knowledge-selected{font-size:9px}.knowledge-picker-footer>select{margin-right:0;width:80px;font-size:12px}}@media(max-width:520px){.definition-knowledge-dialog{padding:20px 12px}.definition-knowledge-dialog>.modal-content{max-width:calc(100vw - 24px);max-height:calc(100vh - 40px);grid-template-columns:140px minmax(0,1fr)}.knowledge-picker-sidebar{padding:14px 10px}.knowledge-picker-sidebar h2{font-size:14px}.knowledge-domain-item{padding:7px 2px;font-size:12px}.knowledge-picker-head{min-height:84px;height:84px;flex-wrap:wrap;gap:0;position:relative;padding-bottom:5px}.knowledge-picker-head>.tab-bar{height:40px;min-height:40px;order:0;width:calc(100% - 24px)}.knowledge-picker-head>.tab-bar>button{height:36px;min-height:36px;font-size:14px;padding:5px 0}.knowledge-picker-head>.search-field{width:100%;max-width:none;order:2;margin:0}.knowledge-picker-head>.icon-button{order:1}.knowledge-picker-row{min-height:124px;flex-wrap:wrap;gap:7px;padding:10px 0}.knowledge-picker-row-text{min-width:calc(100% - 38px)}.knowledge-picker-row h3{font-size:12px}.knowledge-picker-row p,.knowledge-picker-row small{font-size:10px}.knowledge-picker-row>.knowledge-picker-add{margin-left:35px;width:64px;height:25px;min-height:25px;font-size:12px}.knowledge-picker-footer{height:66px;min-height:66px;flex-wrap:wrap;gap:3px}.knowledge-picker-footer>#definition-knowledge-selected{width:100%;margin:0}.knowledge-picker-footer>select{width:74px}.knowledge-picker-main{padding:0 10px}}
@media(max-height:759px) and (min-width:521px){.definition-knowledge-dialog{padding-top:20px;padding-bottom:20px}.definition-knowledge-dialog>.modal-content{max-height:calc(100vh - 40px)}}

/* W90: automation tabs and same-page form are independently drawn from W84/06-07. */
.schedule-view{height:calc(100vh - 16px);overflow:auto}.schedule-view>#schedule-list-panel{padding:12px 16px 24px}.schedule-toolbar{min-height:32px;margin-bottom:0;gap:16px}.schedule-toolbar>.tab-bar{min-height:34px;height:34px;gap:0;background:#f4f4f4;border-radius:8px;padding:2px;flex:none}.schedule-toolbar>.tab-bar>button{font-size:12px;min-height:30px;height:30px;padding:4px 12px;border:0!important;background:none;color:#999;font-weight:400;border-radius:6px}.schedule-toolbar>.tab-bar>button[aria-selected=true]{background:#fff;color:#222;box-shadow:0 1px 4px #0002}.schedule-toolbar .tab-bar>button>.icon{width:15px;height:15px}.schedule-toolbar .toolbar-actions{gap:10px}.schedule-toolbar .search-field{width:260px;height:32px;border:0;background:#f5f5f5;border-radius:7px;padding:0 12px}.schedule-toolbar .search-field input{font-size:14px}.schedule-toolbar select{height:32px;min-height:32px;width:178px;font-size:12px;margin:0;padding:3px 12px;border:1px solid #eee;border-radius:7px;background:#fff}.schedule-toolbar #schedule-refresh{width:32px;min-width:32px;height:32px;min-height:32px;border:1px solid #eee;border-radius:7px}.schedule-toolbar #schedule-create{font-size:14px;height:32px;min-height:32px;padding:4px 15px;background:#165dff}.schedule-status{font-size:12px;color:#a27856;line-height:22px;overflow-wrap:anywhere}.schedule-status:empty{display:none}#schedule-list-status{margin-top:15px}.schedule-empty{text-align:center;color:#999;font-size:14px;padding:54px 10px 20px}.schedule-empty>.icon{display:block;width:54px;height:40px;stroke:#cfd1d3;stroke-width:.7;filter:drop-shadow(0 4px 2px #f0f0f0);margin:0 auto 10px}.schedule-row{border:1px solid #eee;border-radius:10px;display:flex;align-items:flex-start;gap:20px;padding:18px 20px;margin-top:16px}.schedule-row-main{min-width:0;flex:1}.schedule-row h2{font-size:15px;font-weight:500;overflow-wrap:anywhere}.schedule-row-main>p{font-size:12px;color:#999;margin:7px 0}.schedule-state{display:inline-block;font-size:11px;background:#f1f5fb;color:#7c8faf;border-radius:4px;padding:1px 5px}.schedule-row details{font-size:12px;margin-top:12px;color:#888}.schedule-row summary{cursor:pointer;color:#6683bb}.schedule-record-prompt{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:23px;margin:12px 0;color:#555}.schedule-row details>p{margin-top:8px}.schedule-row-actions{display:flex;gap:8px;flex:none}.schedule-row-actions>button{min-height:30px;font-size:12px;padding:3px 10px}.schedule-foundation-note{font-size:11px;color:#aaa;line-height:20px;margin-top:20px}.schedule-editor-header{height:49px;border-bottom:1px solid #eee;padding:8px 20px;display:flex;align-items:center;justify-content:space-between}.schedule-editor-header>div{display:flex;align-items:center;gap:8px}.schedule-editor-header .text-button{padding:0;font-size:16px;color:#999}.schedule-editor-header h1{font-size:16px;font-weight:500}.schedule-editor-header>div>span{color:#bfbfbf}.schedule-editor-header>div>button{font-size:14px;min-height:32px;padding:4px 15px}.schedule-editor-header #schedule-editor-back{padding:0}.schedule-editor-header #schedule-editor-save{background:#165dff}.schedule-editor-header #schedule-editor-save:disabled{opacity:1;color:#aaa;background:#f5f5f5;border-color:#eee}#schedule-editor-form{padding:16px 42px 32px}#schedule-editor-form>label{display:block;font-size:14px;margin:0 0 18px}#schedule-editor-form>label>input:not([type=checkbox]),#schedule-editor-form>label>select{width:100%;font-size:14px;min-height:32px;height:32px;margin-top:6px;padding:4px 11px;border:1px solid #e7e7e7;border-radius:7px;background:#fff}#schedule-editor-form>label[for=schedule-prompt]{margin-bottom:6px}.schedule-prompt-box{border:1px solid #e1e1e1;border-radius:20px;min-height:122px;padding:12px 14px}.schedule-prompt-box>textarea{font-size:14px;border:0;margin:0;padding:0;outline:0;box-shadow:none;width:100%;height:56px;min-height:56px;line-height:24px;resize:vertical;background:none}.schedule-prompt-box>textarea::placeholder{color:#bbb}.schedule-prompt-box>div{display:flex;gap:16px;margin-top:8px}.schedule-prompt-box>div>button{width:28px;height:28px;min-height:28px;color:#888;background:#fafafa;border-radius:50%;opacity:.55}.schedule-frequency-title{font-size:14px;margin:18px 0 8px}.schedule-frequency-title>span{font-size:11px;color:#bbb;margin-left:12px}.schedule-mode-tabs{display:inline-flex;border:1px solid #e8e8e8;border-radius:9px;overflow:hidden}.schedule-mode-tabs>button{width:81px;min-height:31px;height:31px;font-size:14px;border-radius:0;border-right:1px solid #eee;padding:3px 10px;background:#fff;color:#333}.schedule-mode-tabs>button:last-child{border-right:0}.schedule-mode-tabs>button[aria-selected=true]{background:#467bfa;color:#fff;border-color:#467bfa}#schedule-mode-hint{font-size:11px;margin:7px 0}#schedule-mode-hint:empty{display:none}#schedule-editor-form>.schedule-time-label{font-size:11px;color:#aaa;margin:12px 0 16px}#schedule-editor-form>.schedule-time-label>input{display:block;max-width:250px;color:#333}#schedule-editor-form>#schedule-interval-row{font-size:12px;color:#888;margin-bottom:14px}#schedule-interval-row>input{display:block;max-width:160px}#schedule-editor-form>.schedule-enable{display:flex;align-items:center;gap:8px;font-size:12px;color:#888;margin-top:18px}#schedule-enabled{width:15px;height:15px;margin:0;accent-color:#165dff}#schedule-editor-status{margin-top:14px}@media(max-width:1100px){.schedule-toolbar{flex-wrap:wrap}.schedule-toolbar .toolbar-actions{flex-wrap:wrap}.schedule-toolbar .search-field{width:220px}.schedule-row{gap:12px}.schedule-row-actions{flex-wrap:wrap;max-width:180px}}@media(max-width:760px){.schedule-view>#schedule-list-panel{padding:12px}.schedule-toolbar .toolbar-actions{gap:6px}.schedule-toolbar .search-field{width:180px}.schedule-toolbar select{width:160px}.schedule-row{display:block;padding:16px}.schedule-row-actions{margin-top:16px;max-width:none}.schedule-editor-header{padding:8px 16px}.schedule-editor-header h1,.schedule-editor-header .text-button{font-size:14px}#schedule-editor-form{padding:18px 20px 28px}.schedule-frequency-title>span{display:block;margin:5px 0 0;font-size:10px}.schedule-editor-header>div{gap:6px}.schedule-editor-header>div>button{padding:4px 10px}.schedule-prompt-box>textarea{font-size:13px}}

/* W94: keep the narrow workspace full width; existing navigation opens above it. */
@media(max-width:760px){
  #notice{pointer-events:none}
  .workspace,.sidebar-collapsed .workspace{grid-template-columns:minmax(0,1fr);overflow:hidden}
  .workspace-main{grid-column:1;min-width:0;max-width:calc(100vw - 16px);padding-top:44px}
  .workspace-main>[data-view-panel]{min-height:calc(100% - 44px)}
  .workspace-sidebar{position:fixed;left:0;top:0;bottom:0;width:240px;max-width:calc(100vw - 48px);z-index:8;box-shadow:8px 0 24px #0002}
  .is-authenticated>.brand-header{width:240px;max-width:calc(100vw - 48px);z-index:9}
  .sidebar-collapsed:not(.is-authenticated)>.brand-header{visibility:visible}
  .is-authenticated .brand{overflow:hidden}
  .is-authenticated .brand-name{overflow:hidden;text-overflow:ellipsis}
  body:not(.sidebar-collapsed) .workspace::before{content:"";position:fixed;inset:0;background:#0003;z-index:7}
  .sidebar-collapsed #expand-sidebar{position:fixed;left:18px;top:14px;z-index:4;border:1px solid #eee;box-shadow:0 1px 4px #0001}
  .schedule-view,.task-layout{height:calc(100vh - 60px)}
  .schedule-toolbar .toolbar-actions{min-width:0;max-width:100%}
  .schedule-row-main>p,.schedule-row details>p{overflow-wrap:anywhere}
}
@media(max-width:520px){
  .schedule-toolbar .search-field{width:100%}
  .schedule-editor-header{height:auto;min-height:49px;flex-wrap:wrap;gap:8px}
  .schedule-editor-header>div{min-width:0;flex-wrap:wrap}
  .schedule-editor-header>div:last-child{margin-left:auto}
  .modal{padding-top:20px}
  .modal-content .drawer-head{padding:16px;gap:12px}
  .modal-content .drawer-head h2{min-width:0;overflow-wrap:anywhere}
  .modal-actions{flex-wrap:wrap}
}

/* W95: independently written five-field card observed in W80/14. */
.basis-panel{font-size:13px;color:#40454d}
.basis-state-row{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:24px}
.basis-state{padding:1px 7px;border-radius:6px;background:#f4f5f7;color:#9298a1;font-size:12px}
.basis-state[data-status=confirmed]{background:#f1f9e9;color:#8cac64}
.basis-state[data-status=stale],.basis-state[data-status=dirty]{background:#fff6e6;color:#a57c39}
#basis-meta{font-size:12px;overflow-wrap:anywhere}
.drawer-content .basis-help{font-size:12px;color:#92969e;line-height:21px;margin:10px 0 22px}
#basis-form>label{font-size:13px;font-weight:400;margin:12px 0 4px;color:#555}
#basis-form>textarea{display:block;margin:0 0 10px;width:100%;height:72px;min-height:72px;max-width:100%;padding:8px 11px;border:1px solid #ececec;border-radius:9px;line-height:21px;font-size:13px;box-shadow:none}
#basis-form>#basis-oral{height:110px;min-height:110px}
#basis-form>textarea[readonly]{background:#fafafa;color:#666}
.basis-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:16px}
.basis-actions>button{min-height:32px;padding:4px 15px;font-size:13px;border-radius:8px}
#basis-confirm{background:#5865eb}
.basis-actions>button:disabled{background:#fafafa;color:#b7bbc3;border:1px solid #ececec;opacity:1}
.drawer-content .basis-limits{font-size:11px;color:#a4a8b0;line-height:18px;margin:5px 0 0}
.drawer-content .basis-status{font-size:12px;line-height:21px;color:#9c7e53;margin:10px 0 0;overflow-wrap:anywhere}
.basis-status:empty{display:none}
.basis-history,.basis-original-notes{margin:22px 0 12px;font-size:12px;color:#747b87}
.basis-history-entry{border:1px solid #eee;border-radius:8px;padding:12px;color:#555}
.basis-history-entry summary{line-height:22px;overflow-wrap:anywhere}
.basis-history-entry h3{font-size:12px;margin:12px 0 5px}
.basis-history-entry pre{font-size:12px;max-height:180px;margin:0;padding:10px}
#evidence-summary article{border-bottom:1px solid #f0f0f0;white-space:pre-wrap;overflow-wrap:anywhere}
.basis-source-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.basis-source-actions>button{font-size:12px}
#proposal-panel .basis-gate-notice{font-size:12px;line-height:20px;background:#fffaf0;color:#95723d;padding:10px 24px;margin:0;overflow-wrap:anywhere;flex:none}
@media(max-width:520px){
  #proposal-panel>.drawer-head{padding:16px}
  #proposal-panel>.tab-bar{padding:0 16px;gap:22px}
  #proposal-panel>.drawer-content{padding:16px 16px 28px}
  #proposal-panel .basis-gate-notice{padding:9px 16px}
  .basis-actions{gap:6px}
  .basis-actions>button{padding:4px 12px}
  #basis-meta{font-size:11px}
}

/* W95 R2: local alignment to the recorded formal 1440 basis dialog. */
#proposal-panel{width:960px;max-width:100vw}
#proposal-panel>.drawer-head{height:56.5px;min-height:56.5px;padding:0 24px;justify-content:flex-start;gap:8px}
#proposal-panel>.drawer-head>[data-close=proposal-panel]{order:-1;width:24px;color:#888}
#proposal-panel>.tab-bar{flex:none;height:33px;min-height:33px;gap:8px;padding:0;margin:24px 24px 14px}
#proposal-panel>.tab-bar>button{height:33px;min-height:33px;padding:4px 15px;font-size:14px;font-weight:400;line-height:22px;color:#333;background:#fff;border:1px solid #e9e9e9;border-radius:10px}
#proposal-panel>.tab-bar>button[aria-selected=true]{color:#fff;background:#3f5bff;border-color:#3f5bff}
#proposal-panel>.drawer-content{flex:1;min-height:0;overflow:auto;padding:0 24px 24px;scrollbar-width:thin;scrollbar-gutter:stable}
#proposal-panel .basis-panel{font-size:14px}
#proposal-panel .basis-state-row{min-height:24px}
#proposal-panel .basis-help{font-size:14px;line-height:22px;margin:12px 0 22px}
#proposal-panel #basis-form{display:flow-root}
#proposal-panel #basis-form>label{font-size:14px;line-height:22px;margin:0 0 4px}
#proposal-panel #basis-form>label:first-child{margin-bottom:6px}
#proposal-panel #basis-form>textarea{height:76px;min-height:54px;margin:0 0 10px;padding:8px 11px;font-size:14px;line-height:22px;border-radius:10px}
#proposal-panel #basis-form>#basis-oral{height:120px;min-height:120px}
#proposal-panel #basis-form>#basis-out_scope,#proposal-panel #basis-form>#basis-open_questions{height:54px}
#proposal-panel>.basis-footer{flex:none;min-height:48px;background:#fff;border-top:1px solid #f0f0f0;padding:7px 16px 8px}
#proposal-panel>.basis-footer>.basis-actions{margin:0;gap:8px}
#proposal-panel>.basis-footer .basis-actions>button{font-size:14px;padding:4px 15px}
#proposal-panel #basis-confirm{background:#3f5bff}
#proposal-panel #basis-confirm:disabled{background:#fafafa}
#proposal-panel>.basis-footer>.basis-status{font-size:12px;line-height:20px;margin:6px 0 0;color:#9c7e53;overflow-wrap:anywhere}
@media(max-width:520px){
  #proposal-panel>.drawer-head{padding:0 16px}
  #proposal-panel>.tab-bar{margin:16px 16px 14px;gap:8px}
  #proposal-panel>.tab-bar>button{padding:4px 12px}
  #proposal-panel>.drawer-content{padding:0 16px 20px}
  #proposal-panel>.basis-footer{padding:8px 12px}
  #proposal-panel>.basis-footer>.basis-actions{gap:6px}
  #proposal-panel>.basis-footer .basis-actions>button{padding:4px 12px}
}

/* W97: readonly adoption metadata for the existing two execution previews. */
#proposal-panel .execution-profile{margin:12px 0;padding:12px 14px;border:1px solid #e3e8f5;border-radius:10px;background:#fafbff;font-size:13px;line-height:22px;min-width:0;overflow-wrap:anywhere}
#proposal-panel .execution-profile h4{font-size:14px;font-weight:600;margin:0 0 8px;color:#343b4b}
#proposal-panel .execution-profile p{margin:5px 0}
#proposal-panel .execution-profile-policy{color:#737f94;font-size:12px}
#proposal-panel .execution-profile-details{margin:10px 0 0;padding-top:10px;font-size:12px}
#proposal-panel .execution-profile-sha{font-size:11px;color:#8992a0;overflow-wrap:anywhere}
@media(max-width:520px){
  #proposal-panel .execution-profile{padding:10px;font-size:12px;line-height:21px}
}

/* W97 R2: keep full preview fingerprints and destinations within the existing body. */
#proposal-panel #employee-meta,#proposal-panel #generation-meta,#proposal-panel #tool-meta{overflow-wrap:anywhere}

/* W98: keep the decision above task drawers and preserve readable actions at 390px. */
.basis-leave-dialog{z-index:1800}.basis-leave-dialog .modal-content{width:440px;max-width:calc(100vw - 32px);padding:24px;box-sizing:border-box;overflow-wrap:anywhere}.basis-leave-dialog h2{margin:0 0 16px;font-size:18px}.basis-leave-dialog p{line-height:1.7}.basis-leave-dialog .modal-actions{display:flex;flex-wrap:wrap;gap:12px}.basis-leave-dialog button:focus-visible{outline:3px solid #9cc2ff;outline-offset:3px}
@media(max-width:760px){.basis-leave-dialog .modal-content{padding:24px}.basis-leave-dialog .modal-actions{justify-content:stretch}.basis-leave-dialog .modal-actions button{flex:1 1 120px;white-space:normal;min-height:40px}}

/* W99: the resource panel's own close action is available only on phones. */
.mobile-resource-collapse{display:none}
@media(max-width:760px){
 .task-resources>.mobile-resource-collapse{display:flex;align-items:center;gap:6px;position:absolute;top:42px;left:10px;min-height:32px;width:auto;padding:4px 8px;z-index:1;font-size:12px;color:#666}
 .task-resources>.tab-bar{margin-bottom:40px}
}

/* W101: local record controls, keeping the existing preview layout. */
.employee-tracking-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:20px}.employee-tracking-controls h3{margin:0}.employee-tracking-controls button{font-size:13px}#employee-tracking-status{overflow-wrap:anywhere;line-height:1.7}

/* W102: project creation follows the retained W80 dialog geometry. */
#project-dialog{align-items:center;padding:30px 20px}
#project-dialog>.modal-content{width:720px}
#project-dialog .drawer-head{padding:20px 24px}
#project-dialog form{min-height:350px;display:flex;flex-direction:column}
#project-dialog label{margin-bottom:22px}
#project-dialog textarea{display:block;min-height:54px;line-height:22px}
.project-counted-input{position:relative}
.project-counted-input input{padding-right:85px}
.project-character-count{display:block;text-align:right;color:#999;font-size:14px;line-height:22px}
.project-counted-input .project-character-count{position:absolute;right:12px;top:12px;pointer-events:none}
#project-dialog .project-private-note{font-size:13px;line-height:22px;margin:0}
#project-dialog .modal-actions{margin-top:auto;padding-top:36px}
.project-card-text .project-card-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#666;line-height:1.6;margin:7px 0}
@media(max-width:760px){#project-dialog{padding:24px 12px}#project-dialog form{min-height:330px}#project-dialog>.modal-content{width:100%}}

#project-details-dialog>.modal-content{width:720px}
#project-details-dialog textarea{display:block;line-height:22px}
#project-details-dialog .muted{line-height:1.7;overflow-wrap:anywhere}
#project-details-dialog .modal-actions{flex-wrap:wrap}
.project-details-confirm{border:1px solid #e7d9b1;background:#fffdf5;border-radius:8px;padding:12px;font-size:13px;line-height:1.7}
.project-details-confirm button{margin:10px 8px 0 0}
@media(max-width:760px){#project-details-dialog{padding:24px 12px}#project-details-dialog>.modal-content{width:100%}}

.knowledge-manage-dialog .modal-content{width:520px}
.knowledge-manage-dialog p{overflow-wrap:anywhere;line-height:1.7}
.knowledge-manage-target{font-size:14px;font-weight:500;margin-bottom:10px}
.knowledge-manage-dialog .modal-actions{flex-wrap:wrap}
.knowledge-selection-hint:empty{display:none}
.knowledge-selection-hint{font-size:12px;margin:8px 0}
@media(max-width:760px){.knowledge-manage-dialog{padding:24px 12px}.knowledge-manage-dialog .modal-content{width:100%}}

.knowledge-manage-range:not(:empty){border:1px solid #e9dfc5;border-radius:8px;background:#fffdf6;padding:10px 12px;font-size:13px;margin:12px 0}

.knowledge-trash-name{display:inline-flex;align-items:center;gap:10px;overflow-wrap:anywhere;min-width:0}
.knowledge-trash-name .icon{flex:none}

/* Task-local ordinary assistant; existing record composer and drawers retain their layout. */
.assistant-mode-bar{display:flex;gap:8px;padding:12px 24px 0;flex-wrap:wrap}
.assistant-mode-bar [aria-pressed="true"]{color:#1677ff;border-color:#91caff;background:#e6f4ff}
.assistant-panel{padding:16px 24px;min-width:0;overflow:auto;flex:1}
.assistant-panel h2{font-size:17px;margin:0}
.assistant-panel textarea{width:100%;box-sizing:border-box;resize:vertical}
.assistant-history{display:grid;gap:12px;margin:16px 0}
.assistant-turn{border:1px solid #e5e7eb;border-radius:10px;padding:14px;min-width:0}
.assistant-turn h3{font-size:14px;margin:0 0 10px}
.assistant-question,.assistant-answer{white-space:pre-wrap;overflow-wrap:anywhere}
.assistant-preview-dialog .modal-content{width:800px;max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}
.assistant-preview-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;padding:12px;background:#f6f8fb;border-radius:8px;font-family:inherit;font-size:13px;line-height:1.65}
#assistant-preview-meta,#assistant-execution-profile,#assistant-policy{overflow-wrap:anywhere;min-width:0}
.assistant-preview-dialog .modal-actions{position:sticky;bottom:-1px;background:white;padding:12px 0;flex-wrap:wrap}
@media(max-width:760px){.assistant-mode-bar{padding:10px 12px 0}.assistant-panel{padding:12px}.assistant-panel .section-head{flex-wrap:wrap;gap:8px}.assistant-preview-dialog .modal-content{width:100%;max-width:100%;max-height:calc(100dvh - 16px);padding:16px}.assistant-preview-dialog .binding-share-confirm{align-items:flex-start}.assistant-preview-dialog .modal-actions button{min-height:40px}}

.assistant-source{border-left:3px solid #d8e1ff;padding:8px 12px;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.assistant-source h4{margin:0 0 6px;font-size:13px}.assistant-preview-dialog .modal-content>p,.assistant-preview-dialog .modal-content>section,.assistant-preview-dialog #assistant-execution-profile{margin:12px 24px}.assistant-preview-dialog{padding-top:24px}

.assistant-history details{min-width:0}.assistant-history pre{white-space:pre-wrap;overflow-wrap:anywhere}.assistant-turn>button{margin-top:8px;max-width:100%;white-space:normal}@media(max-width:760px){.assistant-preview-dialog .modal-content{max-height:calc(100dvh - 48px)}}

.assistant-authorization{min-width:0;max-width:100%;overflow-wrap:anywhere;line-height:1.65;border:1px solid #dce4fa;border-radius:8px;background:#f5f7ff;padding:10px 12px;font-size:13px;color:#364967}.assistant-preview-dialog #assistant-preview-authorization{margin:12px 24px}@media(max-width:760px){.assistant-authorization{font-size:12px}.assistant-preview-dialog #assistant-preview-authorization{margin:12px 0}}

/* Admin pilot roster uses the existing settings layout. */
#member-roster-list{margin:14px 0}#member-roster-list .member-roster-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}#member-roster-list .member-roster-identity{flex:1;min-width:0;overflow-wrap:anywhere}#member-roster-list .badge{flex:none;max-width:45%;overflow-wrap:anywhere}#member-roster-summary,#member-roster-status{overflow-wrap:anywhere}

/* Project-scoped member identities; existing module layout retained. */
#project-member-list .project-member-chip{display:flex;margin:6px 0;min-width:0;align-items:flex-start}#project-member-list .project-member-identity{flex:1;min-width:0;overflow-wrap:anywhere}#project-member-list .project-member-identity strong{font-size:12px}#project-member-list .project-member-identity .muted{margin:3px 0 0}#project-member-list .badge{flex-shrink:0}#project-members-summary,#project-members-status,#sharing-members p{overflow-wrap:anywhere}

/* W116: scoped reader-policy dialog; existing stylesheet prefix is unchanged. */
#knowledge-readers-dialog .modal-content>p,#knowledge-readers-dialog .modal-content>h3,#knowledge-readers-dialog #knowledge-readers-list,#knowledge-readers-dialog #knowledge-readers-audit{padding-left:24px;padding-right:24px;overflow-wrap:anywhere}
#knowledge-readers-dialog .modal-content>p{font-size:12px;line-height:1.65;margin:10px 0}
#knowledge-readers-dialog .modal-content>h3{font-size:14px;font-weight:500;margin:18px 0 10px}
#knowledge-readers-dialog #knowledge-readers-refresh{margin-left:24px}
#knowledge-readers-dialog .binding-share-confirm{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:20px;margin-top:16px}
#knowledge-readers-dialog #knowledge-readers-confirm{width:16px;height:16px;min-height:16px;padding:0;margin:2px 0 0;flex:none}
#knowledge-readers-dialog #knowledge-readers-list .project-member-chip{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:8px 0;font-size:12px}
#knowledge-readers-dialog #knowledge-readers-list .project-member-chip>span{min-width:0;overflow-wrap:anywhere}
#knowledge-readers-dialog #knowledge-readers-list .project-member-chip>button{flex:none}
#knowledge-readers-dialog #knowledge-readers-audit>p{font-size:12px;line-height:1.6;margin:6px 0}

/* W117: explicit proposal approval dialogs only. */
.approval-dialog .modal-content{width:680px}.approval-dialog .approval-content{padding:16px 24px 24px}.approval-dialog .approval-content>p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.approval-dialog .approval-content h3{font-size:14px;font-weight:500;margin:16px 0 8px}.approval-dialog .approval-content pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font-size:12px;line-height:1.7;padding:12px;background:#f8f9fb;border-radius:6px}.approval-dialog form{margin-top:16px}.approval-dialog form>label{display:block;font-size:13px;margin:14px 0}.approval-dialog form>.approval-confirm{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:20px}.approval-dialog .approval-confirm>input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;margin:2px 0 0;flex:none}.approval-dialog .modal-actions{margin-top:16px}
.approval-dialog#approval-leave-dialog{z-index:45}

/* W118: project navigation read recovery only. */
#projects .tree-read-status{padding:4px 10px 7px 29px;font-size:11px;color:#8b6a45;line-height:1.5;overflow-wrap:anywhere}#projects .tree-read-status .text-button{padding:2px 0;min-height:24px;font-size:11px;display:block}#search-dialog #global-search-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere}

.cloud-browser .cloud-read-error{padding:16px 8px;font-size:12px;line-height:1.6;color:#8b6a45;overflow-wrap:anywhere}.cloud-browser .cloud-read-error .secondary{font-size:12px;min-height:28px;padding:3px 10px}

/* W120: manual team area only. */
#team-handoffs #team-stages{display:grid;gap:12px;margin:12px 0}#team-handoffs fieldset{min-width:0;border:1px solid #e2e7f0;border-radius:10px;padding:12px}#team-handoffs label{display:block;margin:8px 0}#team-handoffs label.check{display:flex;align-items:flex-start;gap:8px}#team-handoffs label.check input{width:16px;height:16px;min-height:16px;flex:none;padding:0;margin:3px 0}#team-handoffs pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:340px;overflow:auto}#team-handoffs #team-create-preview{padding:12px;background:#f5f7fc;border-radius:8px;margin:12px 0}

/* W122: read-only stage packet within the existing team card. */
#team-handoffs .team-stage-input{border-top:1px solid #e6e8f0;margin-top:14px;padding-top:14px}#team-handoffs .team-stage-packet{background:#f5f7fc;border:1px solid #e0e6f0;border-radius:8px;padding:12px;margin-top:10px;overflow-wrap:anywhere}#team-handoffs .team-stage-packet h4{margin:14px 0 8px}#team-handoffs .team-stage-packet small{display:block;overflow-wrap:anywhere}

/* W123: explicit saved-answer conversion, scoped to existing history/results. */
#assistant-history .assistant-proposal-section{border-top:1px solid #e2e7f0;margin-top:14px;padding-top:12px}#assistant-history .assistant-proposal-panel{border:1px solid #dde4f1;border-radius:8px;padding:12px;background:#f8faff;margin:12px 0}#assistant-history .assistant-proposal-panel label.check{display:flex;gap:8px;align-items:flex-start}#assistant-history .assistant-proposal-panel label.check input{width:16px;height:16px;min-height:16px;flex:none;padding:0;margin:3px 0}#assistant-history .assistant-proposal-content{overflow-wrap:anywhere}#result-list .assistant-result-source{overflow-wrap:anywhere}

/* W127: manual answer review inside existing answer conversion only. */
#assistant-history .assistant-quality-panel{border-top:1px solid #dce3ef;margin:16px 0;padding-top:12px}#assistant-history .assistant-quality-panel label{display:block;margin:10px 0;font-size:12px;line-height:1.6}#assistant-history .assistant-quality-panel label.check{display:flex}#assistant-history .assistant-quality-panel select,#assistant-history .assistant-quality-panel textarea{width:100%;max-width:100%;box-sizing:border-box}#assistant-history .assistant-quality-history-item{border-top:1px solid #e2e7f0;padding-top:8px;margin-top:8px;overflow-wrap:anywhere}#assistant-history .assistant-quality-history-item pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* W128: immutable human basis alongside the saved AI answer only. */
#assistant-history .answer-human-scope,#result-list .answer-human-scope{border:1px solid #d9e3ef;border-radius:8px;padding:12px;margin:12px 0;background:#f4f8ff;overflow-wrap:anywhere}#assistant-history .answer-human-scope h5,#result-list .answer-human-scope h5{font-size:12px;margin:14px 0 6px}#assistant-history .answer-human-scope pre,#result-list .answer-human-scope pre{white-space:pre-wrap;overflow-wrap:anywhere}#assistant-history .answer-ai-original,#result-list .answer-ai-original{border-top:1px solid #e2e7f0;margin-top:14px;padding-top:10px;overflow-wrap:anywhere}

/* Explicit initial-read recovery; no changes to normal page layout. */
#startup-recovery{max-width:680px;margin:96px auto 32px;padding:28px;display:grid;gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px}
#startup-recovery #startup-error{color:#a13b23;white-space:pre-wrap;overflow-wrap:anywhere}
#startup-recovery button{justify-self:start;max-width:100%;white-space:normal}
@media(max-width:700px){#startup-recovery{margin:72px 16px 20px;padding:20px}#startup-recovery h1{font-size:21px}}

/* Human business rules share the existing proposal drawer. */
.rule-row{min-width:0;margin:12px 0;border:1px solid #dce2ed;border-radius:10px;padding:12px}.rule-row label{display:block;margin:8px 0}.rule-row input,.rule-row select,.rule-row textarea{width:100%;box-sizing:border-box;max-width:100%}.rules-locked,#rules-history-items pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%;font:inherit}#rules-form .basis-actions{display:flex;flex-wrap:wrap;gap:8px}

.generation-check-panel{margin:20px 0;padding:14px;border:1px solid #dce2ed;border-radius:10px}.generation-check-evidence{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font:inherit}.generation-check-item{padding:12px 0;border-bottom:1px solid #e4e8f0}.generation-check-item p{white-space:pre-wrap;overflow-wrap:anywhere}.generation-check-panel select,.generation-check-panel textarea{width:100%;box-sizing:border-box}.generation-check-panel button{margin:6px 4px 6px 0}
/* W155: guide scrolls within viewport, with persistent close and actions. */
.manual-guide-dialog{padding:24px 16px;align-items:center;box-sizing:border-box}
.manual-guide-dialog>.modal-content{width:760px;max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}
.manual-guide-dialog .drawer-head{flex:none;gap:12px;border-bottom:1px solid #eee}
.manual-guide-dialog .drawer-head h2{min-width:0;font-size:18px;overflow-wrap:anywhere}
.manual-guide-content{min-height:0;overflow:auto;padding:8px 24px 20px;line-height:1.75;font-size:14px;overscroll-behavior:contain}
.manual-guide-content ol{padding-left:24px}.manual-guide-content h3{font-size:15px;margin:18px 0 6px}.manual-guide-content p{margin:6px 0 12px}.manual-guide-content dt{font-weight:600;margin-top:12px}.manual-guide-content dd{margin:4px 0 12px}
.manual-guide-actions{flex:none;display:flex;justify-content:flex-end;padding:12px 24px;border-top:1px solid #eee}
@media(max-width:760px){.manual-guide-dialog{padding:12px}.manual-guide-dialog>.modal-content{max-height:calc(100dvh - 24px)}.manual-guide-content{padding:4px 16px 16px}.manual-guide-dialog .drawer-head{padding:14px 16px}.manual-guide-actions{padding:12px 16px}}

/* Source-bound manual preview reuses the existing drawer and controls. */
#plan-preview-panel{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:10px;min-width:0}#plan-preview-panel>p{margin:8px 0}#plan-preview-choices fieldset{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:8px;min-width:0}#plan-preview-choices legend{font-weight:600;padding:0 4px}#plan-preview-choices label{display:block;margin:6px 0}#plan-preview-choices select{display:block;width:100%;max-width:100%;margin-top:5px}#plan-preview-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:14px 0;max-height:55vh;overflow:auto}#plan-preview-check-list article{padding:10px 0;border-bottom:1px solid var(--line)}#plan-preview-check-list p{white-space:pre-wrap;overflow-wrap:anywhere}

/* Knowledge leave decision must remain above the information editor. */
#knowledge-info-leave-dialog{z-index:45}

.personal-skill-dialog>div{width:min(1040px,calc(100vw - 32px));max-width:1040px;max-height:90vh;overflow:auto}.personal-skill-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.personal-skill-dialog .muted{font-size:13px;line-height:1.7}.personal-skill-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.personal-skill-layout aside{border-right:1px solid #e8ebf2;padding-right:16px}.personal-skill-layout aside button{margin:0 0 8px;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}.personal-skill-layout label{display:block;margin-bottom:14px}.personal-skill-layout input,.personal-skill-layout textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px}.personal-skill-actions{display:flex;gap:8px;flex-wrap:wrap}.personal-skill-actions button{margin:0}.personal-skill-dialog pre{white-space:pre-wrap;overflow-wrap:anywhere}.personal-skill-dialog #personal-skill-unsaved{padding:12px;background:#fff7e8;border:1px solid #ffe0a3;border-radius:8px}.personal-skill-picker>div{width:min(620px,calc(100vw - 32px));max-width:620px;max-height:86vh;overflow:auto}.personal-skill-picker label{display:flex;align-items:flex-start;gap:10px;border-bottom:1px solid #eee;padding:12px 0}.personal-skill-picker input{width:auto;flex:none;margin-top:5px}.personal-skill-picker small{display:block;white-space:pre-wrap;overflow-wrap:anywhere;color:#697586}.personal-skill-picker input:focus-visible,.personal-skill-dialog button:focus-visible{outline:2px solid #4078ff;outline-offset:3px}@media(max-width:600px){.personal-skill-layout{grid-template-columns:1fr;gap:14px}.personal-skill-layout aside{border-right:0;border-bottom:1px solid #e8ebf2;padding:0 0 12px}.personal-skill-layout aside #personal-skill-list{max-height:130px;overflow:auto}.personal-skill-dialog>div{padding:16px}.personal-skill-header h2{font-size:18px}}

.library-lifecycle-dialog>div{width:min(680px,calc(100vw - 32px));max-width:680px;max-height:86vh;overflow:auto;box-sizing:border-box}.library-lifecycle-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.library-lifecycle-dialog h3{margin:16px 0 8px;font-size:15px}.library-lifecycle-dialog ul{padding-left:20px}.library-lifecycle-dialog li,.library-lifecycle-dialog p{line-height:1.7;overflow-wrap:anywhere}.library-lifecycle-ack{display:flex;align-items:flex-start;gap:10px;margin:18px 0}.library-lifecycle-ack input{width:auto;flex:none;margin-top:5px}.library-lifecycle-dialog button:focus-visible{outline:2px solid #4078ff;outline-offset:3px}.library-lifecycle-dialog select{width:100%;margin:8px 0}.library-management-actions{display:flex;gap:10px;flex-wrap:wrap}.knowledge-management-table td{overflow-wrap:anywhere}@media(max-width:600px){.library-lifecycle-dialog>div{padding:18px}.library-lifecycle-header h2{font-size:18px}.library-lifecycle-dialog button{margin:6px 6px 0 0}.knowledge-management-table{min-width:0}.knowledge-management-table td,.knowledge-management-table th{padding:10px 6px}}

/* Model resource view follows the shared product shell, with real CNY continuity. */
.model-overview{background:#f5f9ff;border:1px solid #e8eff8;border-radius:10px;padding:18px 20px;margin:8px 0 24px}.model-overview h2{font-size:16px;margin:0 0 12px}.model-budget-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}.model-budget-cell{display:flex;flex-direction:column;gap:8px;color:#777;font-size:13px}.model-budget-cell strong{font-size:19px;color:#20232a;overflow-wrap:anywhere}.model-budget-opening{grid-column:1/-1;margin:0;font-size:12px;color:#888}.model-overview>.muted{font-size:12px;margin-bottom:0}.model-directory-toolbar{gap:16px;flex-wrap:wrap}.model-directory-toolbar .toolbar-actions{flex-wrap:wrap}.model-directory-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:16px;margin:18px 0}.model-directory-card{border:1px solid #e9e9ed;border-radius:10px;padding:18px;display:flex;gap:14px;background:#fff;min-width:0}.model-directory-avatar{background:#eef1ff;color:#5260b8;border-radius:12px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.model-directory-body{min-width:0;overflow-wrap:anywhere}.model-directory-body h2{font-size:16px;margin:0 0 4px}.model-directory-body code{font-size:12px;color:#777}.model-directory-body p{font-size:13px;line-height:1.6}.model-directory-badge{display:inline-block;background:#f3f4f7;border-radius:5px;padding:4px 7px;font-size:12px;color:#586277}.model-directory-items>.empty-illustration{grid-column:1/-1}#model-directory-status:focus{outline:2px solid #bcc9ff;outline-offset:3px;border-radius:4px}
@media(max-width:600px){.model-overview{padding:14px;margin-bottom:16px}.model-budget-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.model-budget-cell strong{font-size:16px}.model-directory-toolbar{align-items:stretch}.model-directory-toolbar .toolbar-actions{width:100%}.model-directory-toolbar .search-field{width:100%;flex-basis:100%;min-width:0}.model-directory-card{padding:14px}.model-directory-toolbar .tab-bar{white-space:nowrap}}

/* Explicit fallback after native beforeunload is cancelled or not surfaced by its host. */
.workspace-unload-dialog{z-index:3000;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.workspace-unload-dialog[hidden]{display:none}.workspace-unload-dialog>.modal-content{width:min(560px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:24px;box-sizing:border-box}.workspace-unload-dialog h2{font-size:18px;margin:0 0 14px}.workspace-unload-dialog p{line-height:1.7;overflow-wrap:anywhere}.workspace-unload-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:22px}.workspace-unload-actions button{white-space:normal;max-width:100%;text-align:center}.workspace-unload-actions button:focus{outline:3px solid #b8c7ff;outline-offset:3px}
@media(max-width:520px){.workspace-unload-dialog{padding:12px}.workspace-unload-dialog>.modal-content{padding:20px;max-height:calc(100dvh - 24px)}.workspace-unload-actions{flex-direction:column}.workspace-unload-actions button{width:100%}}

/* Keep approval actions and complete field labels readable on narrow screens. */
@media(max-width:600px){
 [data-view-panel="approval"]{min-width:0;max-width:100%;box-sizing:border-box}
 [data-view-panel="approval"] .approval-table,[data-view-panel="approval"] .approval-table tbody{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 [data-view-panel="approval"] .approval-table thead{display:none}
 [data-view-panel="approval"] .approval-table tr{display:block;margin:14px 0;padding:12px 14px;border:1px solid #e9e9ed;border-radius:10px;background:#fff;box-sizing:border-box;max-width:100%}
 [data-view-panel="approval"] .approval-table td{display:grid;grid-template-columns:5.5em minmax(0,1fr);gap:12px;padding:7px 0;border:0;min-width:0;line-height:1.65;overflow-wrap:anywhere}
 [data-view-panel="approval"] .approval-table td::before{color:#777;font-size:13px}
 [data-view-panel="approval"] .approval-table td:nth-child(1)::before{content:"项目 / 任务"}
 [data-view-panel="approval"] .approval-table td:nth-child(2)::before{content:"方案成果"}
 [data-view-panel="approval"] .approval-table td:nth-child(3)::before{content:"提交人"}
 [data-view-panel="approval"] .approval-table td:nth-child(4)::before{content:"审批人"}
 [data-view-panel="approval"] .approval-table td:nth-child(5)::before{content:"状态"}
 [data-view-panel="approval"] .approval-table td:nth-child(6)::before{content:"操作"}
 [data-view-panel="approval"] .approval-table td[colspan]{display:block;text-align:center;color:#777}
 [data-view-panel="approval"] .approval-table td[colspan]::before{content:none}
 [data-view-panel="approval"] .approval-table button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;justify-self:start}
}

@media(max-width:600px){[data-view-panel="approval"] .catalog-toolbar .tab-bar{gap:12px;flex-wrap:wrap;max-width:100%;min-width:0}}

/* W183: keep focus on mobile task actions from scrolling the clipped conversation. */
@media(max-width:600px){.task-head .task-actions{flex-wrap:wrap;min-width:0;max-width:100%;}}

/* W190 private editing recovery, separate from canonical saves. */
.recovery-card{margin:12px 0;padding:12px;border:1px solid #b8c9e6;border-radius:10px;background:#f4f8ff;color:#243b60;font-size:13px;overflow-wrap:anywhere}.recovery-card p{margin:6px 0}.recovery-card label{display:flex;align-items:flex-start;gap:6px;font-size:12px}.recovery-card input[type=checkbox]{width:auto;flex:none;margin-top:3px}.recovery-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.recovery-actions button{font-size:12px;padding:6px 10px}

/* Keep all task panel tabs within narrow viewports without changing desktop layout. */
@media(max-width:760px){#proposal-panel>.tab-bar{flex-wrap:wrap;height:auto}}

/* Keep categories in their own scroll area and preserve readable intake controls. */
.template-toolbar{flex-wrap:wrap}
.template-toolbar>.tab-bar{min-width:0;max-width:100%;overflow:auto}
.template-toolbar>.search-field{margin-left:auto}
#intake-form .read-file-button{flex:none;white-space:nowrap}
@media(max-width:760px){#intake-form .composer-toolbar{height:auto;min-height:32px;gap:8px;flex-wrap:wrap}#intake-form .composer-model{flex:1 1 100px;width:auto;min-width:0;white-space:nowrap}}

/* W209: formal approval visual rhythm, scoped to existing proposal approval. */
.approval-center-view{padding:24px;background:#fff;min-height:calc(100dvh - 16px);box-sizing:border-box;border-radius:12px;min-width:0}
.sidebar-collapsed .approval-center-view{padding-top:48px}
.approval-center-view>.catalog-toolbar{min-height:48px;margin-bottom:12px;align-items:center;gap:16px}
.approval-center-view .catalog-toolbar .tab-bar{gap:24px;min-height:48px}
.approval-center-view .catalog-toolbar .tab-bar>button{min-height:48px;font-size:16px;font-weight:500;color:#14161a;padding:12px 0;border-bottom:2px solid transparent}
.approval-center-view .catalog-toolbar .tab-bar>button[aria-selected=true]{border-bottom-color:#14161a}
.approval-filter-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 24px;min-width:0}
.approval-filter-toolbar .approval-search-field{width:200px;min-width:0;height:32px;margin:0;display:flex;align-items:center;border:1px solid #e8e8eb;border-radius:8px;padding:0 12px;background:#fff}
.approval-search-field input{border:0;outline:0;width:100%;margin:0;padding:0;height:30px;font-size:14px;background:transparent;min-width:0}
.approval-search-field .icon{width:16px;height:16px;flex:none;color:#59616b}
.approval-scope-note{font-size:13px;color:#69717d;background:#f5f5f6;padding:5px 10px;border-radius:6px;white-space:nowrap}
.approval-filter-toolbar #approval-refresh{margin-left:auto;min-height:32px;padding:4px 12px;border-color:#e8e8eb;border-radius:6px;font-size:13px;color:#59616b;background:#fff}
.approval-help{position:relative;border:0;margin:0;padding:0;font-size:13px;color:#707680;flex:none}
.approval-help summary{cursor:pointer;list-style:none;background:#f6f6f7;padding:6px 10px;border-radius:6px;font-weight:400}
.approval-help>p{position:absolute;right:0;top:30px;width:280px;max-width:70vw;z-index:10;margin:8px 0;padding:14px;border:1px solid #eee;background:#fff;box-shadow:0 6px 20px #0001;border-radius:8px;line-height:1.7;color:#59616b}
.approval-center-view #approval-list-status{margin:0 0 10px;font-size:12px;color:#89929e}
.approval-table-wrap{width:100%;min-width:0;border:1px solid #f0f0f2;border-radius:12px;overflow:auto}
.approval-center-view .approval-table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;font-size:14px}
.approval-center-view .approval-table th{font-size:14px;font-weight:400;color:#7a8799;background:#fff;padding:15px;border-bottom:1px solid #f0f0f0;line-height:22px}
.approval-center-view .approval-table td{padding:15px;border-bottom:1px solid #f0f0f0;line-height:1.6;overflow-wrap:anywhere;vertical-align:middle}
.approval-center-view .approval-table th:nth-child(1){width:24%}.approval-center-view .approval-table th:nth-child(2){width:22%}.approval-center-view .approval-table th:nth-child(3),.approval-center-view .approval-table th:nth-child(4){width:17%}.approval-center-view .approval-table th:nth-child(5){width:14%}.approval-center-view .approval-table th:nth-child(6){width:6%}
.approval-center-view .approval-table tbody tr:last-child td{border-bottom:0}
.approval-center-view .approval-table .text-button{padding:0;min-height:28px;font-size:14px;white-space:normal;text-align:left;color:#40454d}
.approval-center-view .approval-table td:last-child .text-button{color:#5266dd}
.approval-center-view .approval-empty{padding:42px 10px;min-height:120px;box-sizing:border-box;color:#b8bdc5;gap:10px}
.approval-empty>.icon{width:52px;height:40px;stroke:#dedfe3}
.approval-status-badge{font-size:12px;background:#f5f6f8;color:#707987;border-radius:5px;padding:4px 7px;display:inline-block}
.approval-status-badge[data-status=approved]{background:#eef7f0;color:#388956}.approval-status-badge[data-status=rejected]{background:#fff2ed;color:#bf6c50}
.approval-center-view>.pagination{justify-content:flex-end;align-items:center;gap:12px;margin-top:20px}.approval-center-view>.pagination button{font-size:12px;min-height:30px;padding:4px 10px}
@media(max-width:600px){.approval-center-view{padding:18px 14px}.approval-center-view>.catalog-toolbar{align-items:flex-start;gap:8px}.approval-center-view .catalog-toolbar .tab-bar{gap:16px;flex-wrap:wrap}.approval-center-view .catalog-toolbar .tab-bar>button{font-size:14px;min-height:38px;padding:8px 0}.approval-filter-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:16px}.approval-filter-toolbar .approval-search-field{width:100%;box-sizing:border-box}.approval-filter-toolbar #approval-refresh{margin-left:auto}.approval-help summary{font-size:12px;padding:6px}.approval-table-wrap{border:0;overflow:visible}.approval-center-view .approval-table tr{margin:0 0 12px}.approval-center-view .approval-table td{padding:7px 0}.approval-center-view .approval-table td[colspan]{padding:0}.approval-center-view .approval-empty{border:1px solid #f0f0f2;border-radius:10px}.approval-center-view>.pagination{justify-content:center;flex-wrap:wrap}}

/* W209 r2 measured formal rhythm: table begins near y138 at desktop. */
.approval-center-view .catalog-toolbar .tab-bar>button{height:48px;min-height:48px;line-height:22px;box-sizing:border-box}
.approval-filter-toolbar{margin-bottom:12px}
.approval-center-view #approval-list-status{margin:12px 0 0;font-size:12px}
.approval-center-view>.pagination{display:flex}
.approval-center-view>.pagination[hidden]{display:none}
.approval-center-view .approval-empty{padding:30px 10px}
@media(max-width:600px){.approval-center-view .catalog-toolbar .tab-bar>button{height:38px;min-height:38px}.approval-center-view #approval-list-status{line-height:1.65}.approval-center-view>.pagination{justify-content:center}}

/* W209 r3: keep action label/button readable at the actual owner window width. */
@media(min-width:601px){.approval-center-view .approval-table th:nth-child(6){width:72px;padding-inline:12px;white-space:nowrap}.approval-center-view .approval-table td:nth-child(6){padding-inline:12px}.approval-center-view .approval-table td:nth-child(6) .text-button{white-space:nowrap;overflow-wrap:normal}}

/* W210: recovery is an on-demand link, never a permanent composer panel. */
.recovery-card.recovery-compact{background:transparent;border:0;padding:0;margin:0 0 8px;font-size:12px;box-shadow:none}.recovery-compact>summary{color:#757c88;cursor:pointer;list-style:none;text-align:right}.recovery-compact[open]{border:1px solid #eee;border-radius:10px;padding:12px;background:#fafafa}.recovery-compact[open]>summary{margin-bottom:8px}.recovery-compact:not([open])>:not(summary){display:none}

/* W210: observed formal character entrance, recreated with own CSS. */
.home-motion .home-character{display:inline-block;white-space:pre;color:#17191c;animation:welcome-character .36s ease-out both}.home-motion .home-character-accent{color:#6959e8}.typing-cursor{animation:welcome-caret 1s steps(2,start) infinite}@keyframes welcome-character{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes welcome-caret{to{visibility:hidden}}@media(prefers-reduced-motion:reduce){.home-motion .home-character,.typing-cursor{animation:none;opacity:1;transform:none}}

.assistant-usage-details{margin:8px 0;font-size:12px;color:#737a86}.assistant-usage-details>summary{cursor:pointer}.assistant-usage-details[open]{padding:10px 12px;border:1px solid #eee;border-radius:8px}.assistant-usage-details[open]>summary{margin-bottom:8px}

/* CSP-safe stagger: timing stays in the local stylesheet. */
.home-motion .home-character:nth-child(1){animation-delay:0ms}.home-motion .home-character:nth-child(2){animation-delay:45ms}.home-motion .home-character:nth-child(3){animation-delay:90ms}.home-motion .home-character:nth-child(4){animation-delay:135ms}.home-motion .home-character:nth-child(5){animation-delay:180ms}.home-motion .home-character:nth-child(6){animation-delay:225ms}.home-motion .home-character:nth-child(7){animation-delay:270ms}.home-motion .home-character:nth-child(8){animation-delay:315ms}.home-motion .home-character:nth-child(9){animation-delay:360ms}.home-motion .home-character:nth-child(10){animation-delay:405ms}.home-motion .home-character:nth-child(11){animation-delay:450ms}.home-motion .home-character:nth-child(12){animation-delay:495ms}.home-motion .home-character:nth-child(13){animation-delay:540ms}.home-motion .home-character:nth-child(14){animation-delay:585ms}.home-motion .home-character:nth-child(15){animation-delay:630ms}.home-motion .home-character:nth-child(16){animation-delay:675ms}.home-motion .home-character:nth-child(17){animation-delay:720ms}.home-motion .home-character:nth-child(18){animation-delay:765ms}.home-motion .home-character:nth-child(19){animation-delay:810ms}

/* Home recovery occupies only the composer column; hidden cards reserve no space. */
.intake-wrap>.recovery-card.recovery-compact{max-width:850px;width:calc(100% - 40px);margin:0 auto 6px}
@media(max-width:520px){.intake-wrap>.recovery-card.recovery-compact{width:calc(100% - 30px)}}

/* W213: existing own-brand mascot belongs to the welcome area only. */
.welcome{display:flex;align-items:center;gap:24px}.home-mascot{display:block;flex:0 0 90px;width:90px;height:90px;object-fit:contain}.welcome-copy{flex:1;min-width:0}.welcome-copy h1,.welcome-copy p{overflow-wrap:anywhere}
@media(max-width:520px){.welcome{align-items:flex-start;gap:14px}.home-mascot{flex-basis:56px;width:56px;height:56px;margin-top:2px}.welcome-copy h1{font-size:22px}.welcome-copy .home-tagline{font-size:16px}}

/* W216: workbench chat reading area and persistent compact composer. */
.assistant-panel:not([hidden]){display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:8px 24px 12px;gap:6px}.assistant-panel>.section-head{flex:none;min-height:32px;justify-content:flex-end;gap:12px}.assistant-panel>.section-head h2{margin-right:auto;font-size:14px;color:#737987}.assistant-panel>.section-head button{padding:3px 9px;min-height:28px;font-size:12px;border-color:#eceef2}.assistant-usage-details{flex:none;margin:0;font-size:11px;color:#8b93a1;border:0;padding:0}.assistant-usage-details>summary{font-size:11px}.assistant-usage-details[open]{max-height:180px;overflow:auto;background:#fafbfc;border:1px solid #edf0f5}.assistant-panel>#assistant-status{flex:none;font-size:12px;color:#788392;margin:0;line-height:1.5}.assistant-panel>#assistant-status:empty{display:none}
.assistant-history{display:block;flex:1;min-height:0;overflow:auto;margin:0;padding:20px max(4px,calc((100% - 820px)/2)) 24px;scrollbar-gutter:stable}.assistant-turn{border:0;border-radius:0;padding:0;margin:0 0 30px}.chat-message{display:flex;align-items:flex-start;gap:12px;margin:0 0 22px;min-width:0}.chat-user{flex-direction:row-reverse}.chat-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:10px;background:#edf1ff;color:#5866df;font-size:11px;font-weight:600}.chat-user .chat-avatar{background:#f0f2f5;color:#748091}.assistant-question{margin:0;max-width:82%;background:#f0f2ff;border-radius:15px 3px 15px 15px;padding:11px 16px;line-height:1.8;font-size:14px}.chat-answer-body{flex:1;min-width:0;padding-top:2px}.assistant-answer{font-size:14px;line-height:1.9;white-space:normal;color:#303743}.assistant-answer p{margin:0 0 12px;white-space:pre-wrap}.assistant-answer h2,.assistant-answer h3,.assistant-answer h4,.assistant-answer h5{margin:16px 0 8px;font-size:16px;line-height:1.6;color:#202633}.assistant-answer>:first-child{margin-top:0}.assistant-answer ul,.assistant-answer ol{padding-left:24px;margin:8px 0 14px}.assistant-answer li{margin:4px 0}.assistant-answer code{background:#f3f5f8;border-radius:4px;padding:2px 5px;font-family:ui-monospace,monospace;font-size:12px}.assistant-answer pre.chat-code{max-height:none;overflow:auto;white-space:pre;padding:14px;background:#f6f7fa;border:1px solid #e9ecf1;border-radius:10px;line-height:1.7}.assistant-answer pre.chat-code code{padding:0;background:none}.chat-table-wrap{max-width:100%;overflow:auto;margin:12px 0}.chat-table-wrap table{border-collapse:collapse;font-size:13px;min-width:100%}.chat-table-wrap th,.chat-table-wrap td{padding:8px 12px;border:1px solid #e6e9ef;text-align:left;white-space:nowrap}.chat-table-wrap th{background:#f7f9fc}.chat-audit,.chat-operations{display:inline-block;vertical-align:top;margin:4px 18px 0 0;border:0;padding:0;font-size:11px;color:#939ba9}.chat-audit>summary,.chat-operations>summary{font-size:11px;cursor:pointer}.chat-audit[open],.chat-operations[open]{display:block;margin:10px 0;padding:12px;border:1px solid #edf0f4;border-radius:10px;color:#626d7e;background:#fcfcfd}.chat-operations button{font-size:12px}.chat-empty{color:#a0a6af;text-align:center;padding:48px 12px}
#assistant-preview-form{flex:none;border:1px solid #dfe3ec;background:white;border-radius:18px;padding:12px 15px;box-shadow:0 3px 14px #202c5010;max-width:850px;width:100%;align-self:center;margin:0}#assistant-preview-form>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#assistant-preview-form textarea{border:0;outline:none;box-shadow:none;height:56px;min-height:48px;max-height:150px;resize:vertical;margin:0;padding:0;font-size:14px;line-height:1.7}#assistant-preview-form>.section-head{margin-top:5px;gap:10px}#assistant-input-help{font-size:10px;color:#a0a6b1}#assistant-preview{border-radius:11px;padding:5px 18px;min-height:32px}.assistant-mode-bar{padding:8px 24px 0}.assistant-mode-bar button{font-size:12px;padding:3px 10px;min-height:28px}
@media(max-width:760px){.assistant-panel:not([hidden]){padding:6px 12px 10px}.assistant-history{padding:16px 0 20px}.assistant-mode-bar{padding:8px 12px 0}.chat-message{gap:8px}.chat-avatar{flex-basis:26px;width:26px;height:26px;border-radius:8px}.assistant-question{max-width:85%;padding:9px 12px}.chat-operations,.chat-audit{margin-right:12px}#assistant-preview-form{padding:10px 12px;border-radius:14px}#assistant-input-help{max-width:72%;line-height:1.5}.assistant-panel>.section-head h2{font-size:13px}}

/* W219: same composer, explicit web mode, safe source cards. */
.assistant-answer-mode-label{display:flex;align-items:center;gap:5px;font-size:11px;color:#7b8595}.assistant-answer-mode-label select{width:auto;max-width:130px;padding:5px 8px;font-size:12px;border:1px solid #e8eaf0;border-radius:7px;background:white}.web-source-card{margin:12px 0 4px;padding:10px 12px;border:1px solid #e8ecf5;border-radius:10px;background:#fafbfe;overflow-wrap:anywhere}.web-source-card p{font-size:11px;margin:0 0 7px}.web-source-card ul{margin:0;padding-left:18px}.web-source-card li{font-size:12px;margin:5px 0}.web-source-card a{color:#5968dc;text-decoration:none;overflow-wrap:anywhere}#assistant-web-status{font-size:11px;line-height:1.6;margin:3px 0 6px}#assistant-web-location-row{display:flex;align-items:center;gap:8px;margin:0 0 8px}#assistant-web-location-row[hidden]{display:none}#assistant-web-location-row label{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;font-size:11px;color:#758096}#assistant-web-location{min-width:0;flex:1;padding:6px 8px;font-size:12px;border:1px solid #edf0f5;border-radius:6px}@media(max-width:760px){.assistant-answer-mode-label{font-size:10px}.assistant-answer-mode-label select{max-width:105px}.web-source-card{padding:8px}#assistant-web-location-row{align-items:flex-start;flex-direction:column;gap:4px}#assistant-web-location{width:100%;box-sizing:border-box}}

/* W220 M1: own-brand conversation shell; all existing actions and IDs remain. */
.workspace{grid-template-columns:56px 280px minmax(0,1fr);background:#f1f4f8;height:100dvh;overflow:hidden}
.workspace-sidebar{grid-column:1;padding:136px 4px 10px;background:transparent;overflow-y:auto;scrollbar-width:none}
.is-authenticated>.brand-header{width:56px;height:132px;padding:12px 8px 4px;flex-direction:column;gap:8px;background:#f1f4f8}
.is-authenticated .brand{flex:none;justify-content:center;width:40px;height:32px}
.is-authenticated .brand-mark{width:32px;height:32px}
.is-authenticated .brand-name,.is-authenticated .brand-header .environment-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.is-authenticated .brand-header .icon-button{width:34px;height:32px;min-height:32px}
.primary-nav{gap:5px}
.primary-nav button{width:48px;height:auto;min-height:48px;padding:5px 1px;gap:3px;flex-direction:column;font-size:10px;line-height:1.25;white-space:normal;border-radius:9px;color:#657080}
.primary-nav button[aria-current=page]{background:#e4eaf3;color:#283b5b}
.primary-nav button .icon{width:19px;height:19px}
.sidebar-bottom{margin-top:auto;padding-top:16px;flex-direction:column;gap:8px;min-width:0;font-size:10px}
.sidebar-bottom #identity{min-width:0;max-width:48px;overflow-wrap:anywhere;text-align:center}
.sidebar-bottom #identity button{padding:4px 2px;font-size:10px;min-height:30px;white-space:normal}
.conversation-history-rail{grid-column:2;display:flex;flex-direction:column;min-height:0;min-width:0;margin:8px 0;border-radius:12px;background:#fff;overflow:hidden}
.conversation-history-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 10px 4px 16px;font-size:13px;color:#434e60}
.conversation-history-heading .icon-button{font-size:24px;color:#7d8796}
.conversation-history-search{display:flex;align-items:center;gap:8px;margin:4px 8px 0;padding:0 10px;min-height:36px;border:1px solid #edf0f4;border-radius:8px;color:#98a0ad}
.conversation-history-search input{width:100%;min-width:0;border:0;background:transparent;padding:6px 0;font-size:12px;outline-offset:0}
.conversation-history-search .icon{width:15px;height:15px}
.conversation-history-hint{padding:8px 14px;font-size:11px;line-height:1.5;color:#969daa}
.conversation-history-rail .sidebar-section{margin:0;padding:6px 8px 12px}
.conversation-history-rail .sidebar-section h2{font-size:11px;font-weight:500;color:#a0a7b2;margin:0 8px 8px}
.conversation-history-rail .project-tree-row{height:38px}.conversation-history-rail .tree-tasks{margin-left:8px;border-left:1px solid #edf0f5;padding-left:6px}
.conversation-history-rail .tree-task{padding:6px 7px;border-radius:8px;margin:2px 0;gap:4px}.conversation-history-rail .tree-task[aria-current=true]{background:#f0f3fa}
.conversation-history-rail .tree-task>button{font-size:12px;min-width:0}.conversation-history-rail .tree-task>time{font-size:10px;color:#a0a7b2}
.workspace-main{grid-column:3;height:calc(100dvh - 16px);margin:8px;border-radius:12px;box-shadow:none}
.sidebar-collapsed .workspace{grid-template-columns:56px 0 minmax(0,1fr)}
.sidebar-collapsed .workspace-sidebar,.sidebar-collapsed.is-authenticated>.brand-header{visibility:visible}
.sidebar-collapsed .conversation-history-rail{visibility:hidden;margin:0;pointer-events:none}
.sidebar-collapsed #expand-sidebar{position:absolute;left:10px;top:11px;z-index:4;border:0;box-shadow:none}
.sidebar-collapsed .task-head{padding-left:50px}
#task-detail .task-layout{height:calc(100dvh - 16px)}
.task-head{position:relative;min-height:58px;padding:10px 16px;flex-wrap:nowrap;border-bottom:1px solid #f5f6f8;gap:8px}
.task-breadcrumb{flex:1;gap:8px;min-width:0}.task-breadcrumb>button,.task-breadcrumb>span:not(.badge){display:none}.task-breadcrumb strong{font-size:15px;font-weight:600;color:#252b34}
.conversation-title-avatar{width:32px;height:32px;flex:none;object-fit:contain;border-radius:50%;background:#edf3fd}
.conversation-task-controls{display:flex;align-items:center;gap:6px;flex:none}
.conversation-task-menu>summary{cursor:pointer;list-style:none;padding:6px 10px;font-size:12px;color:#6c7582;border:1px solid #edf0f3;border-radius:7px;white-space:nowrap}
.conversation-task-menu>summary::-webkit-details-marker{display:none}
.conversation-task-menu[open]>summary{background:#f4f6fa}
.conversation-task-menu{position:relative}
.conversation-task-menu .task-actions{position:absolute;right:0;top:calc(100% + 4px);z-index:6;display:flex;flex-direction:column;align-items:stretch;gap:4px;background:white;padding:8px;border:1px solid #e6eaf0;border-radius:10px;box-shadow:0 8px 30px #18284b1a;max-width:calc(100vw - 100px)}
.conversation-task-menu .task-actions button{justify-content:flex-start;min-height:36px;padding:6px 12px;white-space:normal;text-align:left}
.assistant-mode-bar{padding:8px 20px 0}.task-conversation>.assistant-panel:not([hidden]){flex:1;min-height:0;padding:8px 20px 14px;gap:6px}
.assistant-panel>.section-head{max-width:850px;width:100%;align-self:center;flex-wrap:wrap;row-gap:6px;min-height:30px}.assistant-panel>.section-head h2{font-size:12px;font-weight:500}
.assistant-usage-details,.assistant-panel>#assistant-status,#assistant-web-status{max-width:850px;width:100%;align-self:center}
.assistant-history{width:100%;padding:24px max(0px,calc((100% - 850px)/2)) 18px;scrollbar-gutter:auto;overscroll-behavior:contain}
.assistant-turn{margin-bottom:38px}.chat-message{gap:12px;margin-bottom:24px}.chat-avatar{width:40px;height:40px;flex-basis:40px;border-radius:50%;background:#e8efff;color:#5c72d7}
.chat-user .chat-avatar{border-radius:9px;background:#6579eb;color:white}
.assistant-question{max-width:min(82%,450px);padding:9px 16px;background:#eeefff;border-radius:10px;overflow-wrap:anywhere}
.chat-answer-body{padding-top:0}.conversation-answer-identity{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 10px;font-size:12px;line-height:20px;color:#8e96a3}.conversation-answer-identity strong{font-weight:400}.conversation-run-status{font-size:11px;color:#a1a8b2}
.assistant-answer{font-size:15px;color:#30343b;line-height:1.85}.assistant-answer p{overflow-wrap:anywhere}
#assistant-preview-form{min-height:118px;border-radius:20px;padding:14px 16px 10px;box-shadow:0 4px 12px #18284b0e}#assistant-preview-form textarea{height:56px;min-height:48px}#assistant-preview-form>.section-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}#assistant-preview{flex:none;border-radius:10px;min-height:34px}#assistant-input-help{min-width:0;flex:1;font-size:11px;line-height:1.5}
@media(max-width:1100px) and (min-width:761px){.workspace{grid-template-columns:56px 248px minmax(0,1fr)}.sidebar-collapsed .workspace{grid-template-columns:56px 0 minmax(0,1fr)}}
@media(max-width:760px){
 .workspace,.sidebar-collapsed .workspace{grid-template-columns:56px minmax(0,1fr)}
 .workspace-sidebar{position:relative;left:auto;top:auto;bottom:auto;width:56px;max-width:none;z-index:8;box-shadow:none;grid-column:1;padding-top:136px}
 .is-authenticated>.brand-header{width:56px;max-width:none;height:132px;z-index:9}
 .workspace-main{grid-column:2;max-width:calc(100vw - 64px);margin:8px 8px 8px 0;padding-top:0}
 .workspace-main>[data-view-panel]{min-height:100%}
 .conversation-history-rail{position:fixed;left:56px;top:8px;bottom:8px;width:min(280px,calc(100vw - 72px));margin:0;z-index:9;box-shadow:10px 0 30px #18284b20}
 body:not(.sidebar-collapsed) .workspace::before{z-index:7;left:56px}
 .sidebar-collapsed #expand-sidebar{position:absolute;left:8px;top:12px;z-index:4}
 #task-detail .task-layout{height:calc(100dvh - 16px)}
 .task-head{padding:10px;min-height:56px}.sidebar-collapsed .task-head{padding-left:44px}.task-breadcrumb{gap:6px}.task-breadcrumb strong{font-size:13px}.conversation-title-avatar{width:26px;height:26px}.conversation-task-menu>summary{padding:6px;font-size:11px}
 .conversation-task-controls{gap:2px}.conversation-task-controls>.icon-button{width:26px;min-width:26px}
 .assistant-mode-bar{padding:6px 10px 0}.task-conversation>.assistant-panel:not([hidden]){padding:6px 10px 10px}
 .assistant-panel>.section-head{gap:6px;justify-content:flex-start}.assistant-panel>.section-head h2{display:none}.assistant-panel>.section-head button{padding:3px 6px;font-size:11px}
 .assistant-history{padding:20px 0 16px}.chat-message{gap:7px}.chat-avatar{flex-basis:26px;width:26px;height:26px;font-size:10px}.conversation-answer-identity{gap:5px;font-size:11px}.assistant-answer{font-size:14px}.assistant-question{max-width:85%;padding:8px 12px}
 #assistant-preview-form{padding:10px 11px;border-radius:16px;min-height:112px}#assistant-input-help{max-width:none;font-size:10px;flex-basis:140px}#assistant-preview{padding:5px 12px;font-size:12px}
 #assistant-web-location-row{gap:4px}#assistant-web-location-row input{max-width:100%}
 .task-resources{max-width:calc(100vw - 72px)}
 .home-view .welcome,.home-view .goal-composer{width:calc(100% - 24px)}.home-view .welcome{margin-top:74px}.home-view .home-mascot{display:none}.home-view .welcome h1{font-size:22px}.home-view .home-tagline{font-size:16px}
}

/* Keep the actual project context readable under the conversation title. */
.task-breadcrumb{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:9px;row-gap:0}
.task-breadcrumb>.conversation-title-avatar{grid-column:1;grid-row:1 / 3}
.task-breadcrumb>#task-heading{grid-column:2;grid-row:1;line-height:21px}
.task-breadcrumb>#task-project-name{display:block;grid-column:2;grid-row:2;font-size:10px;line-height:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9aa2ad}
.task-breadcrumb>.task-template-origin{grid-column:2;max-width:100%;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.task-breadcrumb{grid-template-columns:26px minmax(0,1fr);column-gap:6px}}
/* Preserve the runtime environment label visibly on the narrow brand rail. */
.is-authenticated>.brand-header{height:148px}.workspace-sidebar{padding-top:152px}.is-authenticated .brand{height:48px;align-items:flex-start}
.is-authenticated .brand-header .environment-label{position:absolute;top:46px;left:3px;right:3px;width:auto;height:15px;clip-path:none;font-size:8px;text-align:center;line-height:13px;overflow:hidden}
@media(max-width:760px){.workspace-sidebar{padding-top:152px}.is-authenticated>.brand-header{height:148px}}

/* The narrow rail keeps the avatar; account name remains in the accessible button name. */
.sidebar-bottom .account-toggle{font-size:0;gap:0;justify-content:center;padding:0;width:40px}.sidebar-bottom .account-toggle .user-avatar{font-size:11px}

/* Explicit per-round knowledge selection within the same question form. */
.assistant-channel-label{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0}.assistant-channel-label select{width:auto;max-width:100%}.assistant-knowledge-options{margin:10px 0;min-width:0}.assistant-knowledge-options fieldset{min-width:0;border:1px solid #e4e7ec;border-radius:10px;padding:12px}.assistant-knowledge-options label{display:flex;align-items:flex-start;gap:8px;white-space:normal;overflow-wrap:anywhere}.assistant-knowledge-options input{width:auto;flex:0 0 auto}.assistant-knowledge-reference{min-width:0;overflow-wrap:anywhere}.assistant-knowledge-reference pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* Local workflow stays a folded workbench operation, not an internal-protocol modal. */
.tool-workflow-more{flex:none;max-height:50vh;overflow:auto;font-size:12px;min-width:0}.tool-workflow-more>summary{color:#8b93a1;cursor:pointer}.tool-workflow-more fieldset{min-width:0;border:1px solid #e6e9ef;border-radius:8px;padding:10px;margin:8px 0}.tool-workflow-more fieldset label{display:flex;align-items:flex-start;gap:8px;overflow-wrap:anywhere}.tool-workflow-more input[type=checkbox]{width:auto;flex:none}.tool-workflow-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.tool-workflow-more textarea{width:100%;white-space:pre-wrap;overflow-wrap:anywhere}.tool-workflow-more a{color:#3f5bff;text-decoration:underline}.tool-workflow-more #tool-workflow-sources{white-space:pre-wrap;overflow-wrap:anywhere}

.assistant-model-choice-label{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px;flex-wrap:wrap}.assistant-model-choice-label select{width:auto;max-width:240px;font-size:12px}.assistant-panel>.section-head{flex-wrap:wrap}#assistant-model-choice-status{font-size:11px;line-height:1.5;margin:0;overflow-wrap:anywhere}.conversation-model{font-size:10px;color:#929ba9}@media(max-width:760px){.assistant-model-choice-label select{max-width:180px}.assistant-model-choice-label{max-width:100%}}

/* Team AI admission uses the existing model page, without a separate console. */
.team-ai-entry{display:flex;justify-content:flex-end;margin:0 0 16px}
.team-ai-panel{border:1px solid var(--line,#e4e7ef);border-radius:14px;padding:20px;margin:0 0 24px;min-width:0}
.team-ai-panel h2{margin:0;font-size:18px}
.team-ai-search{max-width:360px;margin:16px 0}
.team-ai-members{display:grid;gap:10px;min-width:0}
.team-ai-member{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:16px;padding:12px;border:1px solid var(--line,#e4e7ef);border-radius:10px;min-width:0}
.team-ai-member-identity{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}
.team-ai-role,.team-ai-member-status{font-size:13px;white-space:nowrap}
@media(max-width:600px){.team-ai-panel{padding:14px}.team-ai-member{grid-template-columns:minmax(0,1fr) auto;gap:10px}.team-ai-member-identity{grid-column:1/-1}.team-ai-role{grid-column:1}.team-ai-member-status{grid-column:1}.team-ai-member>button{grid-column:2;grid-row:2/4;white-space:normal}.team-ai-panel .catalog-toolbar{align-items:flex-start;flex-wrap:wrap}.team-ai-search{max-width:100%}}
