/* Workbench v5. Scoped selectors intentionally do not inherit legacy task grids. */
.application-center.cw-workspace{--cw-ink:#243249;--cw-muted:#64748b;--cw-line:#e1e7ef;--cw-blue:#245ee8;background:#f7fafb;padding:0;min-height:100%;color:var(--cw-ink)}
.cw-workspace *{box-sizing:border-box}
.cw-workspace button,.cw-workspace input,.cw-workspace select,.cw-workspace textarea{font-family:inherit}
.cw-workspace [hidden]{display:none!important}
/* Keep editable controls unobstructed; background tasks remain available in the top bar. */
body:has(.cw-workspace) #taskObserver:not(.is-expanded){display:none!important}
.cw-header{display:flex;align-items:center;gap:36px;min-height:74px;padding:0 30px;background:#fff;border-bottom:1px solid #dce7f6;box-shadow:inset 4px 0 #3874ef}
.cw-header>div{display:flex;align-items:baseline;gap:12px;flex:1}
.cw-header>div>b{font-size:18px;letter-spacing:-.03em;white-space:nowrap}
.cw-header>div>span{font-size:13px;color:var(--cw-muted)}
.cw-header>nav{display:flex;align-self:stretch;gap:28px}
.cw-header>nav button{position:relative;padding:0 3px;font-size:15px;font-weight:600;color:#64748b}
.cw-header>nav button.selected{color:var(--cw-blue)}
.cw-header>nav button.selected:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--cw-blue);border-radius:2px 2px 0 0}
.cw-help{font-size:11px;color:#718095;margin-left:14px}
.cw-content{max-width:1500px;margin:auto;padding:30px 36px 36px}
.cw-page-title{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px}
.cw-page-title h1{margin:0;font-size:27px;line-height:1.4;font-weight:650;letter-spacing:-.035em;color:var(--cw-ink)}
.cw-page-title h1 small{margin-left:9px;color:#8c97a5;font-size:17px;font-weight:400;font-variant-numeric:tabular-nums}
.cw-page-title p{margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--cw-muted)}
.cw-workspace .cw-primary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 17px;background:var(--cw-blue);border:1px solid var(--cw-blue);border-radius:7px;color:#fff;font-size:14px;font-weight:600;white-space:nowrap;transition:background .16s}
.cw-workspace .cw-primary:hover{background:#174dca;box-shadow:0 4px 12px #245ee826;transform:translateY(-1px)}
.cw-workspace button:focus-visible,.cw-workspace a:focus-visible{outline:2px solid #4c80e5;outline-offset:3px}
.cw-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:15px}
.cw-toolbar nav{display:flex;gap:6px}
.cw-toolbar nav button{display:flex;align-items:center;gap:8px;padding:9px 13px;color:#536d88;font-size:13px;border-radius:7px;white-space:nowrap}
.cw-toolbar nav button.selected{background:#2867e7;color:#fff;font-weight:600;box-shadow:0 3px 8px #2867e71a}
.cw-toolbar nav button span{font-size:11px;font-variant-numeric:tabular-nums;padding:1px 5px;border-radius:4px;background:#e8eef6;color:#587496}
.cw-toolbar nav button.selected span{background:#ffffff26;color:#fff}
.cw-toolbar nav button[data-cw-filter=submitted]:not(.selected){color:#278067}.cw-toolbar nav button[data-cw-filter=entry]:not(.selected){color:#a26a25}
.cw-search-tools{display:flex;align-items:center;gap:10px}
.cw-search-tools label{display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid #dfe5ee;border-radius:6px;background:#fff;color:#8592a4}
.cw-search-tools label span{font-size:22px}
.cw-search-tools input{width:164px;min-width:0;height:34px;border:0;outline:0;background:transparent;font-size:11px;color:var(--cw-ink)}
.cw-search-tools select{height:35px;padding:0 10px;border:1px solid #dfe5ee;border-radius:6px;background:#fff;color:#68778b;font-size:11px}
.cw-table-scroll{width:100%;overflow-x:auto;border:1px solid var(--cw-line);border-radius:8px;background:#fff}
.cw-table{width:100%;min-width:720px;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:14px}
.cw-table th{height:45px;padding:0 18px;background:#eaf1fb;color:#496781;font-size:13px;font-weight:600;text-align:left;white-space:nowrap;border-bottom:1px solid var(--cw-line)}
.cw-table td{height:85px;padding:16px 18px;border-bottom:1px solid #e9eef5;color:#57667e;line-height:1.5;overflow-wrap:anywhere;vertical-align:middle}
.cw-table tr:last-child td{border-bottom:0}
.cw-table tbody tr{transition:background .15s}.cw-table tbody tr:hover{background:#f0f8f6}
.cw-job{display:flex;align-items:center;gap:12px;min-width:0}
.cw-monogram{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #dbe6fb;border-radius:10px;background:#eaf1ff;color:#356ac8;font-size:15px;font-weight:650}
.cw-job>div{min-width:0}
.cw-job button{display:block;color:#26364c;text-align:left;font-size:15px;font-weight:600;line-height:1.5}
.cw-job button:hover{color:var(--cw-blue)}
.cw-job small{display:block;margin-top:5px;color:#6e7c90;font-size:13px}
.cw-cycle{font-size:13px}
.cw-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;padding:4px 9px;border-radius:5px;background:#fff4df;color:#966122}
.cw-status.pending:before{background:#c89138}
.cw-status:before{content:'';width:5px;height:5px;border-radius:50%;background:#8d9eb5}
.cw-status.done{color:#28795e;background:#e6f5ed}.cw-status.done:before{background:#498363}
.cw-status.attention{color:#a65d32;background:#fff0e6}.cw-status.attention:before{background:#bd8c4d}
.cw-row-actions button{display:block;margin:5px 0;white-space:nowrap;font-size:13px;text-align:left}
.cw-row-actions .cw-ai-link{display:inline-flex;gap:22px;align-items:center;padding:6px 11px;margin-top:0;border:1px solid #d9e4f8;border-radius:6px;background:#f0f5ff;color:#285fc5;font-weight:600}
.cw-row-actions .cw-ai-link:hover{background:#e4edfd}
.cw-link{color:var(--cw-blue);font-weight:600}.cw-muted{color:#8b97a6}
.cw-pagination{display:flex;align-items:center;justify-content:space-between;padding:15px 2px;color:#8691a0;font-size:11px}
.cw-pagination>div{display:flex;align-items:center;gap:14px}
.cw-pagination button{width:29px;height:27px;border:1px solid #dee4ec;border-radius:4px;background:white;color:#63758e}
.cw-workspace button:disabled{opacity:.35;cursor:default}
.cw-page-note{padding-top:9px;color:#99a2af;font-size:10px}
.cw-empty{padding:55px 22px;text-align:center;color:#8994a3;font-size:12px}
.cw-empty b{display:block;font-size:15px;color:#58677c;font-weight:500}.cw-empty p{margin-top:8px;line-height:1.6}
.cw-help-panel{position:relative;padding:22px 26px;margin-bottom:22px;background:#edf3fc;border:1px solid #d6e2f6;border-radius:8px;font-size:12px;color:#64758e}
.cw-help-panel>button{position:absolute;right:17px;top:12px;font-size:23px;color:#8293ac}
.cw-help-panel h2{font-size:16px;margin-bottom:14px;color:#334d74}
.cw-help-panel ol{display:flex;gap:30px;margin:0;padding:0;list-style-position:inside}
.cw-help-panel li{flex:1;line-height:1.65}.cw-help-panel li b{display:block;color:#405c85}
.cw-help-panel>p{padding-top:15px;margin-top:15px;border-top:1px solid #d6e2f6;font-size:11px}
.cw-profile-count{font-size:11px;color:#728199;white-space:nowrap}.cw-profile-count i{font-style:normal;color:#b0bac7;padding:0 5px}
.cw-profile-layout{display:grid;grid-template-columns:185px minmax(0,1fr);border:1px solid var(--cw-line);border-radius:8px;overflow:hidden;background:#fff}
.cw-category-nav{padding:23px 12px;background:#edf5f5;border-right:1px solid #dce8e9}
.cw-category-nav>small{display:block;padding:0 14px 15px;font-size:10px;color:#9aa4b1}
.cw-category-nav>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 14px;margin-bottom:3px;border-radius:5px;font-size:14px;color:#586b86;text-align:left}
.cw-category-nav>button span{visibility:hidden}
.cw-category-nav>button[aria-pressed=true]{background:#fff;color:#276bdd;font-weight:600;box-shadow:0 3px 12px #244c6e0a,inset 3px 0 #3d7bee}
.cw-category-nav>button[aria-pressed=true] span{visibility:visible}
.cw-category-nav>button:hover{background:#eaf0f8}
.cw-category-nav>p{padding:20px 14px 0;margin-top:22px;border-top:1px solid #e1e6ef;color:#99a3b0;font-size:10px;line-height:1.8}
.cw-profile-form{display:flex;flex-direction:column;min-width:0;margin:0}
.cw-panel-scroll{height:calc(100dvh - 310px);min-height:380px;max-height:850px;overflow-y:auto;overscroll-behavior:contain;padding:26px 32px}
.cw-panel-title h2{font-size:20px;font-weight:600;color:#2c394e}.cw-panel-title p{margin-top:7px;font-size:11px;color:#8995a6}
.cw-section-label{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:20px 0 16px;margin-top:8px;border-top:1px solid var(--cw-line);font-size:12px;color:#4c5d75;font-weight:600}
.cw-section-label span{color:#9aa4b2;font-size:10px;font-weight:400}
.cw-core-fields{margin-top:22px}
.cw-core-fields>.profile-section-head{display:none}
.cw-core-fields>.profile-section-head:has(button){display:flex;justify-content:flex-end;margin:0 0 14px}.cw-core-fields>.profile-section-head:has(button)>div{display:none}
.cw-workspace .profile-grid,.cw-answer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 26px}
.cw-workspace .field{margin:0;min-width:0}
.cw-workspace .field>label,.cw-workspace .aw-dossier-field>span b{display:block;margin:0 0 8px;font-size:14px;font-weight:600;color:#3d4a5f;line-height:1.5}
.cw-workspace .field>input,.cw-workspace .field>select,.cw-workspace .field>textarea,.cw-workspace .aw-dossier-field input,.cw-workspace .aw-dossier-field textarea{width:100%;height:41px;padding:9px 12px;border:1px solid #d5dfed;border-radius:6px;background:#fff;color:#344156;font-size:13px;font-weight:400;line-height:1.5;outline:none}
.cw-workspace .field>textarea,.cw-workspace .aw-dossier-field textarea{height:auto;min-height:110px;resize:vertical}
.cw-workspace input:focus,.cw-workspace select:focus,.cw-workspace textarea:focus{border-color:#7c9fdc;box-shadow:0 0 0 3px #edf2fc}
.cw-workspace input::placeholder,.cw-workspace textarea::placeholder{color:#adb6c3;font-size:11px}
.cw-workspace .aw-dossier-field{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:0;border:0}
.cw-workspace .aw-dossier-field>span small{display:block;white-space:normal;font-size:10px;color:#98a3b2;margin:-3px 0 9px}
.cw-workspace .aw-dossier-field>em{margin-top:7px;color:#8c98a8;font-size:9px;line-height:1.5;font-style:normal}
.cw-answer-grid>div:has(textarea){grid-column:1/-1}
.cw-discovered{margin-top:24px}
.cw-answer-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:24px;color:#93a0b2;font-size:10px}
.cw-answer-pagination>span:first-child{margin-right:auto}.cw-answer-pagination button{padding:5px 9px;border:1px solid #dce3ed;border-radius:4px;font-size:11px;color:#56729d}
.cw-save-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px;border-top:1px solid #dce9e4;background:#f2f9f6}
.cw-save-bar>span{font-size:10px;color:#8b97a8;line-height:1.5}
.cw-workspace .education-entry{padding:18px;border:1px solid #e0e6ef;border-radius:6px;box-shadow:none;background:#fff}
.cw-workspace .education-entry-head{margin-bottom:18px}.cw-workspace .education-entry-head b{font-size:14px}
.cw-workspace .profile-sync-source{border:0;padding:12px 0;background:transparent}.cw-workspace .profile-sync-source h3{font-size:18px}.cw-workspace .profile-sync-source p{font-size:12px;line-height:1.8}
.cw-workspace .education-date-row{min-width:0}.cw-workspace .education-date-row input{width:43%;min-width:0;font-size:12px}
.cw-workspace .profile-textarea{min-height:180px}
.cw-workspace .cw-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-bottom:20px;padding:0 16px;border:1px solid #b8ccef;border-radius:8px;background:#edf3ff;color:#2454ae;font-size:14px;font-weight:600;line-height:1.4;white-space:nowrap;cursor:pointer;transition:background .16s,border-color .16s,transform .16s}
.cw-workspace .cw-back:hover{background:#e1ebff;border-color:#7c9fdf}
.cw-workspace .cw-back:active{background:#d5e3fc;transform:translateY(1px)}
.cw-back-arrow{font-size:20px;line-height:1;font-weight:500}
.cw-dossier>.cw-page-title p{margin:0 0 7px}
.cw-material-tabs{display:flex;gap:26px;border-bottom:1px solid #dae2ed;overflow-x:auto}
.cw-material-tabs button{padding:14px 0;color:#61738c;font-size:14px;white-space:nowrap;border-bottom:2px solid transparent}
.cw-material-tabs button.selected{border-bottom-color:var(--cw-blue);color:var(--cw-blue);font-weight:600}
.cw-material-body{padding:25px 0}
.cw-overview{padding:26px 30px;background:#fff;border:1px solid var(--cw-line);border-radius:7px}
.cw-overview h2{font-size:19px}.cw-overview>p{margin-top:9px;font-size:12px;line-height:1.8;color:#8591a3}
.cw-overview dl{display:grid;grid-template-columns:2fr 1fr 2fr;gap:25px;margin-top:28px;padding:22px 0;border-block:1px solid var(--cw-line)}
.cw-overview dt{font-size:10px;color:#98a2b1}.cw-overview dd{font-size:13px;color:#4f6078;margin:8px 0 0}
.cw-overview-actions{display:flex;gap:28px;padding:25px 0 12px}.cw-overview-actions button{font-size:12px;color:#3b66ad}
.cw-overview .cw-note{font-size:11px}
.cw-settings{padding:26px 30px;background:#fff;border:1px solid var(--cw-line);border-radius:7px}
.cw-settings h2{font-size:19px}.cw-settings header p{margin:8px 0 25px;color:#8591a3;font-size:12px;line-height:1.8}
.cw-settings .ac-config-grid{gap:24px}.cw-settings .ac-config-grid label>span,.cw-settings legend{font-size:12px;color:#46566e}
.cw-settings .ac-config-grid input:not([type=checkbox]),.cw-settings select{font-size:13px;padding:10px 12px;min-height:40px;border-radius:6px}
.cw-settings .ac-config-grid small{font-size:10px;color:#8d99aa;line-height:1.8}
.cw-settings footer,.cw-asset-settings{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--cw-line);padding-top:20px;margin-top:25px;font-size:11px;color:#8895a8}
.cw-asset-settings{margin:0 0 25px;padding:0 0 20px;border-top:0;border-bottom:1px solid var(--cw-line)}.cw-asset-settings button{color:var(--cw-blue)}
/* The preparation workspace is an editor and a source rail, not a dashboard of cards. */
.cw-tab-spacer{flex:1}
.cw-job-title h1{font-size:28px;letter-spacing:-.02em}.cw-job-title p span{padding:0 9px;color:#b3bdcb}
.cw-preparation{display:grid;grid-template-columns:minmax(0,1fr) 278px;gap:30px;align-items:start}
.cw-writing-desk{min-width:0;background:#fff;border:1px solid #d6e2f3;border-radius:12px;padding:27px 28px;box-shadow:0 5px 22px #203b6306;overflow:hidden}
.cw-ai-heading{display:flex;align-items:center;gap:14px;margin:-27px -28px 24px;padding:25px 28px 23px;background:#edf3ff;border-bottom:1px solid #dce7fb}
.cw-ai-mark{width:42px;height:42px;display:grid;place-items:center;background:#ffd981;color:#6d4a16;border-radius:11px;font-size:26px;flex-shrink:0;box-shadow:0 3px 0 #e8bd61}
.cw-ai-heading h2{font-size:20px;line-height:1.5;font-weight:650;letter-spacing:-.02em;margin:0;color:#25344d}
.cw-ai-heading p{font-size:13px;line-height:1.65;margin:4px 0 0;color:#718099}
.cw-compose{padding:18px;background:#f2f8f6;border:1px solid #d6e8e1;border-radius:8px}
.cw-compose>label{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:14px;font-weight:600;color:#3d4b63}
.cw-compose>label span{font-size:12px;font-weight:400;color:#7e8ba0}
.cw-compose>textarea{width:100%;min-height:88px;resize:vertical;border:1px solid #deebe4;border-radius:6px;background:#fff;padding:12px 14px;margin-top:12px;color:#34445f;font-size:14px;line-height:1.8;outline:0}
.cw-workspace .cw-compose>textarea::placeholder{font-size:13px;color:#8a97aa}
.cw-compose-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:13px}
.cw-compose-footer small{font-size:12px;color:#75839a;line-height:1.65;max-width:260px}
.cw-compose-footer>div{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.cw-scope-notice{padding:10px 12px;margin-top:14px;border-left:2px solid #dcb767;background:#fff9e9;border-radius:0 4px 4px 0;font-size:12px;line-height:1.85;color:#8a6a35}
.cw-scope-notice button,.cw-run-error button{color:#285dde;text-decoration:underline;text-underline-offset:3px}
.cw-run-state,.cw-run-error{margin-top:15px;font-size:13px;line-height:1.8;color:#4465a0}.cw-run-error{color:#a3483c}
.cw-output-empty{text-align:center;padding:42px 12px 26px;color:#8490a2}
.cw-output-empty h3{font-size:17px;font-weight:550;color:#53627a;margin:18px 0 10px}
.cw-output-empty p{font-size:13px;line-height:1.9;margin:0}
.cw-output-empty>div:last-child{display:flex;justify-content:center;align-items:center;gap:12px;font-size:11px;margin-top:27px;color:#7b8ca7}
.cw-output-empty b{font-weight:400;color:#b1bbca}
.cw-document-lines{width:42px;height:48px;margin:auto;border:1px solid #dce4f0;border-radius:4px;padding:11px 8px;background:#eaf3ff;transform:rotate(-5deg);box-shadow:5px 4px 0 #e6f4eb}
.cw-document-lines i{display:block;height:2px;background:#d4dff0;margin:4px 0}.cw-document-lines i:last-child{width:65%}
.cw-context-rail{padding-top:4px;min-width:0}
.cw-context-rail>header{padding:16px 17px 4px;background:#e7f3ee;border-radius:8px;border:1px solid #d9e9e1}
.cw-context-rail>header h2{font-size:16px;font-weight:600;color:#2d705e;margin:0}
.cw-context-rail p{font-size:12px;line-height:1.8;color:#7b889c;margin:6px 0 12px}
.cw-context-rail>section{padding:19px 0 17px;border-bottom:1px solid #dfe6f0}
.cw-source-type{display:inline-block;font-size:11px;color:#39728e;letter-spacing:.05em;padding:3px 8px;background:#e8f0f9;border-radius:4px}
.cw-context-rail>section:nth-of-type(2) .cw-source-type{color:#2c8065;background:#e6f3ed}.cw-context-rail>section:nth-of-type(3) .cw-source-type{color:#956930;background:#fcf0da}
.cw-context-rail h3{font-size:14px;font-weight:600;color:#445671;line-height:1.65;margin:9px 0 0;overflow-wrap:anywhere}
.cw-context-rail button{display:block;font-size:13px;color:#3b66b2;margin:9px 0 0;text-align:left;line-height:1.6}
.cw-context-rail>footer{margin-top:21px;border-left:3px solid #e2ae59;padding-left:15px}
.cw-context-rail>footer>span{font-size:11px;color:#8a96a8}
.cw-answer-editor{margin-top:26px;border-top:1px solid #e1e7ef;padding-top:22px}
.cw-answer-editor>header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}
.cw-answer-editor h3{font-size:17px;font-weight:600;color:#35465f;margin:0}.cw-answer-editor h3 span{font-size:12px;font-weight:400;color:#8a98ab;margin-left:7px}
.cw-answer-editor>header>span{font-size:12px;color:#7389ac}
.cw-answer-editor>nav{display:flex;gap:6px;overflow:auto;padding-bottom:7px;margin-bottom:18px}
.cw-answer-editor>nav button{padding:8px 12px;border-radius:5px;font-size:13px;color:#77869e;white-space:nowrap;background:#f6f8fb}
.cw-answer-editor>nav button.selected{background:#eaf0fe;color:#2e61c0;font-weight:600}
.cw-answer-editor>nav small{font-size:10px;color:#618578;margin-left:6px}
.cw-editor-label{display:block;font-size:14px;font-weight:600;color:#41516c;margin-bottom:10px}
.cw-answer-editor>textarea{display:block;width:100%;min-height:265px;border:1px solid #d7e1ef;background:#fcfdff;border-radius:7px;padding:17px 20px;resize:vertical;font-size:15px;line-height:1.95;color:#394963}
.cw-answer-editor>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:17px}
.cw-answer-editor>footer small{font-size:11px;color:#7f8da1;line-height:1.7;max-width:230px}
.cw-answer-editor>footer>div{display:flex;gap:13px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.cw-answer-editor>footer button:not(.cw-primary){font-size:12px;color:#657b9b}
.cw-writing-desk .application-context-receipt{margin-top:22px;font-size:12px;background:transparent;border:0;border-top:1px solid #e5ebf3;padding:16px 0 0}
@media(max-width:1150px){.cw-preparation{grid-template-columns:minmax(0,1fr) 225px;gap:22px}.cw-writing-desk{padding:22px}.cw-ai-heading{margin:-22px -22px 22px;padding:22px}.cw-compose-footer{align-items:flex-start;flex-direction:column}.cw-compose-footer small{max-width:none}.cw-ai-heading h2{font-size:18px}}
@media(max-width:900px){.cw-preparation{grid-template-columns:1fr}.cw-context-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 25px}.cw-context-rail>header{grid-column:1/-1}.cw-context-rail>footer{align-self:center}.cw-tab-spacer{display:none}}
@media(max-width:700px){.cw-writing-desk{padding:18px 14px}.cw-ai-heading{gap:10px;align-items:flex-start;margin:-18px -14px 18px;padding:18px 14px}.cw-ai-heading h2{font-size:17px}.cw-ai-mark{width:32px;height:32px;font-size:22px}.cw-compose{padding:14px}.cw-compose>label{display:block}.cw-compose>label span{display:block;margin-top:5px}.cw-compose-footer>div,.cw-compose-footer .cw-primary{width:100%}.cw-context-rail{display:block;padding:18px 4px}.cw-answer-editor>footer{flex-direction:column;align-items:flex-start}.cw-answer-editor>footer small{max-width:none}.cw-answer-editor>textarea{padding:13px;font-size:14px}.cw-output-empty>div:last-child{flex-wrap:wrap}.cw-job-title h1{font-size:23px}.cw-row-actions .cw-ai-link{gap:8px;padding:5px 7px}.cw-answer-editor>header{align-items:flex-start;flex-direction:column;gap:5px}}
/* Preserve the native browser geometry; simplify only the assistant's visual hierarchy. */
.aw-embedded-assistant .aw-embedded-metrics b{font-size:18px}
.aw-embedded-assistant .aw-embedded-primary,.aw-embedded-assistant .aw-ai-queue,.aw-embedded-assistant .aw-exception-item{border-radius:6px;box-shadow:none}
.aw-embedded-assistant .aw-ai-item{background:#fff;border:0;border-top:1px solid #e1e7f0;border-radius:0;padding:14px 0}
.aw-embedded-assistant .aw-ai-queue>header span,.aw-embedded-assistant .aw-exception-queue>header span{display:none}
.aw-embedded-assistant .aw-ai-item>textarea{min-height:150px;font-size:11px}
.aw-embedded-assistant .aw-exception-item>input,.aw-embedded-assistant .aw-exception-item>textarea{font-size:11px}
@media(max-width:1100px){.cw-header>div>span{display:none}.cw-toolbar{align-items:flex-start;flex-direction:column}.cw-search-tools{width:100%}.cw-search-tools label{flex:1}.cw-search-tools input{width:100%}.cw-table{min-width:690px}.cw-table td,.cw-table th{padding-inline:13px}.cw-profile-layout{grid-template-columns:160px minmax(0,1fr)}.cw-panel-scroll{padding:22px}.cw-profile-count{white-space:normal;max-width:200px;line-height:1.6}}
@media(max-width:700px){.cw-header{flex-wrap:wrap;gap:0;padding:15px 18px 0}.cw-header>div{flex:1 1 60%}.cw-header>nav{order:3;width:100%;height:47px;margin-top:6px;gap:25px}.cw-help{margin:0}.cw-content{padding:20px 16px}.cw-page-title{align-items:flex-start;flex-direction:column;gap:14px}.cw-page-title h1{font-size:22px}.cw-toolbar nav{width:100%;overflow:auto;gap:0}.cw-toolbar nav button{padding:8px 10px}.cw-page-note{line-height:1.8}.cw-profile-layout{display:block}.cw-category-nav{display:flex;overflow-x:auto;gap:4px;padding:8px;border-right:0;border-bottom:1px solid var(--cw-line)}.cw-category-nav>small,.cw-category-nav>p,.cw-category-nav button span{display:none}.cw-category-nav>button{flex:0 0 auto;width:auto;white-space:nowrap;margin:0;padding:10px 13px}.cw-panel-scroll{height:calc(100dvh - 360px);padding:20px;min-height:340px}.cw-workspace .profile-grid,.cw-answer-grid{grid-template-columns:1fr}.cw-section-label{align-items:flex-start;flex-direction:column;gap:6px}.cw-save-bar{padding:13px;align-items:flex-start}.cw-save-bar>span{max-width:50%}.cw-overview dl{grid-template-columns:1fr}.cw-overview-actions,.cw-help-panel ol{flex-direction:column;gap:16px}.cw-overview{padding:22px}.cw-material-tabs{gap:22px}.cw-profile-count{max-width:none}}
@media(prefers-reduced-motion:reduce){.cw-workspace *{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:700px){.cw-panel-scroll{height:calc(100dvh - 430px)}.cw-settings{padding:22px}.cw-settings .ac-config-grid{grid-template-columns:1fr}}
@media(max-width:700px){.cw-table{min-width:0}.cw-table col:nth-child(1){width:64%!important}.cw-table col:nth-child(5){width:36%!important}.cw-table col:nth-child(2),.cw-table col:nth-child(3),.cw-table col:nth-child(4),.cw-table th:nth-child(2),.cw-table th:nth-child(3),.cw-table th:nth-child(4),.cw-table td:nth-child(2),.cw-table td:nth-child(3),.cw-table td:nth-child(4){display:none}.cw-table th,.cw-table td{padding-inline:10px}.cw-job{gap:8px}.cw-monogram{width:28px;height:28px;flex-basis:28px}.cw-job button{font-size:12px}.cw-search-tools{gap:6px}.cw-search-tools label{min-width:0}}

/* Company initials use a stable identity tint; status colors retain their meaning. */
.cw-jd-first .cw-ai-heading{padding:26px 28px}.cw-jd-first .cw-compose{background:#fff;border:0;padding:24px 28px;margin:0}.cw-generate-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:18px}.cw-generate-bar b,.cw-generate-bar span{display:block}.cw-generate-bar b{font-size:15px;color:#334960}.cw-generate-bar span{margin-top:6px;font-size:12px;color:#8090a3}.cw-adjustments{border-top:1px solid #e5ebf1;padding-top:14px}.cw-adjustments summary{font-size:13px;color:#506b8b;cursor:pointer}.cw-adjustments summary span{font-size:12px;color:#9ba7b5;margin-left:8px}.cw-adjustments>label{display:block;margin-top:18px}.cw-adjustments textarea{min-height:86px!important}.cw-generation-evidence{margin:20px 28px;color:#75879c;font-size:12px}.cw-generation-evidence>summary{cursor:pointer}.cw-jd-first .cw-run-error{padding:15px;background:#fff8f2;border:1px solid #f0decb;border-radius:8px}.cw-run-error b{font-size:13px;font-weight:500}.cw-run-error details{margin-top:12px;font-size:11px}.cw-run-error pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}.cw-jd-first .cw-output-empty{padding:32px 24px}.cw-jd-first .cw-document-lines{display:none}@media(max-width:700px){.cw-generate-bar{align-items:stretch;flex-direction:column}.cw-jd-first .cw-compose{padding:18px}.cw-jd-first .cw-ai-heading{padding:22px 18px}}
.cw-history-dialog{margin:auto}
.cw-preparation.cw-compact{display:block;max-width:1040px}.cw-compact .cw-writing-desk{padding:0;border:0;border-radius:10px;box-shadow:none}.cw-compact .cw-compose{padding:24px 28px 18px}.cw-compact .cw-generate-bar{padding-bottom:16px}.cw-compact .cw-generate-bar h2{margin:0;font-size:20px;letter-spacing:-.3px;color:#273b55}.cw-compact .cw-secondary-tools{display:flex;gap:26px;align-items:start;border-top:1px solid #edf1f6;padding-top:12px}.cw-compact .cw-adjustments{border:0;padding:0;flex:1}.cw-secondary-tools summary{font-size:12px;color:#7c8da2;cursor:pointer;width:fit-content}.cw-compact .cw-adjustments textarea{width:100%;box-sizing:border-box;margin-top:12px;padding:12px;font:14px/1.7 inherit;color:#34445f;border:1px solid #dbe5ef;border-radius:6px;resize:vertical}.cw-source-menu nav{display:grid;gap:4px;padding-top:8px}.cw-source-menu button,.cw-compact-footer>button{border:0;background:none;color:#5c7fa8;font-size:12px;text-align:left;padding:6px 0;cursor:pointer}.cw-compact .cw-answer-editor{margin:0;padding:22px 28px 24px}.cw-compact .cw-answer-editor textarea{min-height:240px;max-height:480px;line-height:1.9}.cw-compact .cw-output-empty{padding:56px 28px 64px!important;border-top:1px solid #edf1f6}.cw-compact .cw-output-empty h3{font-size:17px;color:#72869c}.cw-compact .cw-output-empty p{font-size:13px;color:#95a2b2}.cw-compact-footer{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid #edf1f6;padding:16px 28px;gap:20px}.cw-compact .cw-generation-evidence{margin:0;font-size:12px;min-width:0;flex:1}.cw-compact button:focus-visible,.cw-compact summary:focus-visible{outline:2px solid #3b7af2;outline-offset:3px}.cw-compact .cw-live-run{margin-top:18px}.cw-compact .cw-live-run>header strong{font-size:13px}.cw-compact .cw-live-run ol{margin-top:16px}.cw-compact .cw-stream-text{max-width:68ch}.cw-compact .cw-stream-answers{max-height:440px}@media(max-width:600px){.cw-compact .cw-compose,.cw-compact .cw-answer-editor{padding:20px 18px}.cw-compact-footer{padding:14px 18px}.cw-compact .cw-generate-bar{flex-direction:row;align-items:center}.cw-compact .cw-generate-bar h2{font-size:18px}.cw-compact .cw-generate-bar span{max-width:150px}.cw-compact .cw-secondary-tools{gap:16px}}
.cw-live-run{margin-top:24px;border-top:1px solid #dfe8f2;padding-top:22px;color:#34516d}.cw-live-run>header{display:flex;justify-content:space-between;align-items:center;gap:14px}.cw-live-run>header strong{font-size:14px;font-weight:600}.cw-elapsed{font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#8093a7}.cw-live-run ol{list-style:none;display:flex;margin:20px 0 12px;padding:0;gap:0}.cw-live-run li{flex:1;display:flex;align-items:center;gap:8px;font-size:12px;color:#95a3b2;border-bottom:2px solid #e9eef4;padding-bottom:13px}.cw-live-run li>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#f0f3f7;font-size:11px}.cw-live-run li.active{color:#285fcc;border-color:#3878f5}.cw-live-run li.active>span{color:white;background:#3878f5;box-shadow:0 0 0 4px #edf3ff}.cw-live-run li.done{color:#3b8e74;border-color:#93cebb}.cw-live-run li.done>span{background:#e8f5ef;color:#348367}.cw-live-note{font-size:12px!important;line-height:1.65;color:#8696a7!important;margin:12px 0!important}.cw-stream-answers{max-height:450px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.cw-stream-answers article{border-top:1px solid #e7edf4;padding:18px 0}.cw-stream-answers h3{font-size:14px;color:#304a68;margin:0 0 12px}.cw-stream-answers small{font-weight:400;color:#8b9db0;font-size:11px;margin-left:8px}.cw-stream-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.95;color:#40546d}.cw-stream-text:after{content:'';display:inline-block;width:2px;height:14px;margin-left:3px;background:#397bf7;vertical-align:-2px}@media(max-width:600px){.cw-live-run>header{align-items:flex-start}.cw-live-run li{font-size:11px;gap:5px}.cw-stream-answers{max-height:350px}}
.cw-field-components{display:flex;gap:14px;align-items:start}.cw-field-control{flex:1;min-width:0}.cw-field-control>label{font-size:12px;color:#708198}.cw-field-actions{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:7px}.cw-field-actions button{border:0;background:none;color:#376fc2;padding:0;font-size:11px;white-space:nowrap;cursor:pointer}.cw-field-actions em{font-size:11px!important}.cw-field-policy{color:#8996a6;font-size:11px;line-height:1.6}.cw-lifecycle{display:inline-block!important;width:fit-content!important;margin:8px 0!important;padding:3px 8px;border-radius:4px;background:#eaf4ef;color:#41826e;font-size:11px!important}.cw-lifecycle[data-kind=current_fact]{background:#edf3fc;color:#4677b2}.cw-lifecycle[data-kind=preference]{background:#fff3df;color:#986f33}.cw-lifecycle[data-kind=material]{background:#f0ebfa;color:#8064ae}
.cw-history-dialog{width:min(780px,92vw);max-height:82dvh;padding:0;border:1px solid #dce6ef;border-radius:14px;color:#283b52;box-shadow:0 24px 100px #172b4b33}.cw-history-dialog::backdrop{background:#1b2d4355}.cw-history-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 26px;border-bottom:1px solid #e1e8ef}.cw-history-dialog h2{font-size:18px;margin:0}.cw-history-dialog>header>button{background:none;border:0;font-size:26px;color:#7c8b9e;cursor:pointer}.cw-history-dialog main{padding:12px 26px 26px}.cw-history-dialog p,.cw-history-dialog small{font-size:12px;line-height:1.8;color:#79899d}.cw-history-dialog section,.cw-history-dialog details{border-bottom:1px solid #e5ebf1;padding:16px 0}.cw-history-dialog summary{cursor:pointer;font-size:14px;color:#376fc2}.cw-history-dialog pre{font:13px/1.85 inherit;font-family:inherit;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8fb;padding:14px;border-radius:6px;max-height:42dvh;overflow:auto}.cw-history-diff{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cw-history-diff span{font-size:11px;color:#8492a4}
.cw-monogram[data-tone=mint]{background:#e9f5ed;border-color:#d6eadc;color:#388067}.cw-monogram[data-tone=amber]{background:#fff3df;border-color:#f2e6ce;color:#a9782e}.cw-monogram[data-tone=lilac]{background:#f1edfb;border-color:#e4dff3;color:#8164ad}
.cw-tasks h1 small{display:inline-flex;align-items:center;justify-content:center;min-width:31px;height:28px;padding:0 8px;border-radius:7px;background:#e5efff;color:#3470cf;font-size:15px;font-weight:600;vertical-align:middle}
