:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#18211f;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;--bg:#f4f6f2;--panel:#fff;--panel-soft:#f9faf6;--ink:#18211f;--muted:#65706b;--border:#dfe5dd;--border-strong:#c5cec7;--accent:#0f766e;--accent-dark:#115e59;--accent-soft:#dff3ef;--amber:#b45309;--red:#b91c1c;--blue:#2563eb;--shadow:0 18px 45px #17201d1a;background:#f4f6f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box;letter-spacing:0}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,.project-card:focus-visible,.sidebar-link:focus-visible,.sidebar-project:focus-visible{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px #0f766e29}button:disabled{cursor:not-allowed;opacity:.55}.app-shell{grid-template-columns:286px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#f8fbf8;background:#12231f;flex-direction:column;gap:16px;padding:22px;display:flex}.brand-lockup{align-items:center;gap:12px;padding-bottom:10px;display:flex}.brand-mark{background:#20352f;border:1px solid #ffffff2e;border-radius:8px;place-items:center;width:40px;height:40px;display:grid}.brand-lockup strong,.brand-lockup p,.sidebar-section p,.embed-note span{overflow-wrap:anywhere}.brand-lockup p,.sidebar-section p{color:#aebdb6;margin:2px 0 0;font-size:.84rem}.sidebar-link,.sidebar-project,.sidebar-action{width:100%}.sidebar-link,.sidebar-project{color:#e9f2ee;text-align:left;background:0 0;border:0;display:flex}.sidebar-link{border-radius:8px;align-items:center;gap:10px;padding:11px 12px}.sidebar-link.active,.sidebar-project.active{background:#ffffff1a}.sidebar-action{color:#12231f;background:#f8fbf8;justify-content:center}.sidebar-section{flex-direction:column;flex:1;gap:8px;min-height:0;display:flex}.sidebar-project-list{gap:6px;display:grid;overflow:auto}.sidebar-project{border-radius:8px;flex-direction:column;gap:3px;min-width:0;padding:10px 11px}.sidebar-project span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.sidebar-project small{color:#aebdb6}.embed-note{color:#dbe7e1;border:1px solid #ffffff24;border-radius:8px;align-items:center;gap:8px;padding:12px;font-size:.86rem;display:flex}.main-surface{min-width:0;padding:26px;overflow-x:hidden}.dashboard,.workspace{max-width:1380px;margin:0 auto}.page-header,.workspace-header,.panel-header,.builder-toolbar,.section-editor header,.modal-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.page-header,.workspace-header{margin-bottom:22px}.page-header h1,.workspace-title h1,.modal h2,.section-heading h2,.builder-toolbar h2,.panel-header h2,.section-editor h2{color:var(--ink);margin:0;line-height:1.08}.page-header h1{font-size:clamp(2rem,4vw,3.3rem)}.workspace-title h1{font-size:clamp(1.6rem,3vw,2.45rem)}.workspace-title{flex:1;min-width:0}.workspace-title span{color:var(--muted);align-items:center;gap:6px;margin-top:8px;font-size:.9rem;display:flex}.eyebrow{color:var(--accent-dark);text-transform:uppercase;margin:0 0 7px;font-size:.76rem;font-weight:800}.button,.icon-button{border:1px solid var(--border-strong);min-height:40px;color:var(--ink);background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:8px;font-weight:750;transition:border-color .15s,background .15s,transform .15s;display:inline-flex}.button{padding:0 14px}.button:hover,.icon-button:hover,.project-card:hover{border-color:var(--accent)}.button:active,.icon-button:active,.project-card:active{transform:translateY(1px)}.button.primary{border-color:var(--accent);background:var(--accent);color:#fff}.button.ghost{background:0 0}.button.compact{min-height:34px;padding:0 10px;font-size:.88rem}.icon-button{width:40px;height:40px;padding:0}.icon-button.danger{color:var(--red);border-color:#f1c2c2}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:30px;display:grid}.metric{border:1px solid var(--border);background:var(--panel);border-radius:8px;align-content:space-between;gap:8px;min-height:118px;padding:18px;display:grid}.metric svg{color:var(--accent)}.metric span{font-size:2rem;font-weight:850}.metric p,.section-heading p,.project-card p,.empty-state p,.score-band p,.text-card-footer,.project-card-meta dt,.modal label,.section-editor span{color:var(--muted)}.metric p,.section-heading p,.project-card p{margin:0}.section-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:12px;display:flex}.project-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;display:grid}.project-card{border:1px solid var(--border);background:var(--panel);min-width:0;min-height:230px;color:var(--ink);text-align:left;box-shadow:none;border-radius:8px;flex-direction:column;justify-content:space-between;gap:16px;padding:18px;display:flex}.project-card h3{overflow-wrap:anywhere;margin:12px 0 8px;font-size:1.2rem}.status-pill,.score-label{background:var(--accent-soft);width:fit-content;min-height:26px;color:var(--accent-dark);border-radius:999px;align-items:center;padding:0 9px;font-size:.78rem;font-weight:800;display:inline-flex}.score-pill-stack{justify-items:start;gap:8px;display:grid}.decision-pill{border-radius:999px;align-items:center;width:fit-content;min-height:28px;padding:0 10px;font-size:.78rem;font-weight:850;display:inline-flex}.decision-pill.select{color:#0e7c3a;background:#e8f5ec}.decision-pill.do-not-select{color:var(--red);background:#fdecec}.project-card-meta{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.project-card-meta div{min-width:0}.project-card-meta dt{font-size:.78rem}.project-card-meta dd{overflow-wrap:anywhere;margin:3px 0 0;font-weight:750}.open-project{color:var(--accent-dark);align-items:center;gap:6px;font-weight:800;display:inline-flex}.empty-state{border:1px dashed var(--border-strong);background:var(--panel-soft);text-align:center;border-radius:8px;place-items:center;gap:12px;min-height:360px;padding:30px;display:grid}.empty-state h2,.empty-state p{margin:0}.empty-state svg{color:var(--accent)}.tabs{border:1px solid var(--border);background:#ebf0ea;border-radius:8px;flex-wrap:wrap;gap:8px;margin-bottom:18px;padding:6px;display:flex}.tabs button{min-height:38px;color:var(--muted);background:0 0;border:0;border-radius:6px;align-items:center;gap:8px;padding:0 14px;font-weight:800;display:inline-flex}.tabs button.active{color:var(--ink);background:#fff;box-shadow:0 1px 2px #17201d14}.input-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.text-card,.evaluation-card,.score-band,.builder-toolbar,.builder-panel,.section-nav,.section-editor,.modal,.action-strip,.error-banner,.status-banner{border:1px solid var(--border);background:var(--panel);border-radius:8px}.text-card{flex-direction:column;min-height:540px;padding:16px;display:flex}.text-card textarea,.section-editor textarea{resize:vertical;border:1px solid var(--border);width:100%;min-width:0;color:var(--ink);background:#fbfcf9;border-radius:8px;outline:none;flex:1;line-height:1.55}.text-card textarea{min-height:410px;margin-top:14px;padding:14px}.text-card textarea:focus,.section-editor textarea:focus,input:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px #0f766e29}.text-card-footer{justify-content:space-between;gap:12px;margin-top:10px;font-size:.86rem;display:flex}.file-error{color:var(--red);font-weight:750}.action-strip{justify-content:space-between;align-items:center;gap:14px;margin-top:16px;padding:14px;display:flex}.action-strip div{color:var(--muted);align-items:center;gap:10px;font-weight:700;display:flex}.profile-panel{gap:16px;display:grid}.profile-editor-panel{padding:16px}.profile-editor-header,.profile-reference-panel>header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;display:flex}.profile-reference-panel>header{justify-content:flex-start;padding:16px 16px 0}.profile-editor-header h2,.profile-reference-panel h3{margin:0}.profile-editor-grid{padding:0}.profile-custom-instructions{margin-top:14px}.profile-reference-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:0}.score-band{grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:16px;padding:18px;display:grid}.score-band h2{margin:0;font-size:3rem}.score-summary{gap:8px;min-width:0;display:grid}.primary-failure{color:var(--red);font-weight:760}.evaluation-report-button{white-space:nowrap}.evaluation-report-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.rubric-panel,.cost-volume-panel{gap:14px;margin-bottom:16px;padding:16px;display:grid}.rubric-panel>header,.cost-volume-panel>header{align-items:center;gap:10px;display:flex}.rubric-panel h3,.cost-volume-panel h3,.rubric-card h4{margin:0}.rubric-panel header svg,.cost-volume-panel header svg{color:var(--accent)}.rubric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.rubric-card{border:1px solid var(--border);background:var(--panel);border-radius:8px;align-content:start;gap:10px;min-width:0;padding:14px;display:grid}.rubric-card-heading{justify-content:space-between;align-items:start;gap:12px;display:flex}.rubric-card-heading span{color:var(--accent-dark);font-size:.8rem;font-weight:850}.rubric-card-heading strong{flex:none;font-size:1.4rem}.rubric-card p,.cost-volume-panel p,.cost-volume-panel small{color:var(--muted);margin:0}.rubric-card ul{color:#34413c;gap:7px;margin:0;padding-left:18px;line-height:1.4;display:grid}.cost-volume-panel>div{gap:8px;display:grid}.cost-volume-panel article{border-top:1px solid var(--border);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:3px 10px;padding:10px 0;display:grid}.cost-volume-panel small{grid-column:2}.cost-status{background:var(--accent-soft);min-width:44px;min-height:24px;color:var(--accent-dark);border-radius:999px;place-items:center;padding:0 8px;font-size:.72rem;font-weight:850;display:inline-grid}.cost-status.no{color:var(--red);background:#f9e5e5}.cost-status.n-a{color:var(--muted);background:#edf0ec}.evaluation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.evaluation-card{padding:16px}.evaluation-card header{align-items:center;gap:9px;margin-bottom:12px;display:flex}.evaluation-card header svg{color:var(--amber)}.evaluation-card h3{margin:0}.evaluation-card ul{color:#34413c;gap:10px;margin:0;padding-left:19px;line-height:1.45;display:grid}.builder{gap:16px;display:grid}.builder-toolbar{padding:16px}.builder-toolbar small{color:var(--muted);margin-top:5px;font-weight:650;display:block}.builder-panel{min-width:0;overflow:hidden}.builder-panel summary{min-height:54px;color:var(--ink);cursor:pointer;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 16px;list-style:none;display:grid}.builder-panel summary::-webkit-details-marker{display:none}.builder-panel summary>span{align-items:center;gap:8px;min-width:0;font-weight:850;display:flex}.builder-panel summary svg{color:var(--accent)}.builder-panel summary>svg{transition:transform .16s}.builder-panel[open] summary>svg{transform:rotate(180deg)}.solicitation-panel,.compliance-panel,.scoring-panel,.alignment-panel{background:var(--panel)}.profile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:0 16px 16px;display:grid}.profile-grid label,.profile-notes-grid label{min-width:0;color:var(--muted);gap:7px;font-size:.86rem;font-weight:750;display:grid}.profile-notes-grid{border-top:1px solid var(--border);grid-template-columns:minmax(220px,1fr) minmax(240px,1fr) minmax(260px,1fr) minmax(280px,1fr);gap:16px;padding:0 16px 16px;display:grid}.profile-notes-grid section,.custom-instructions{min-width:0;padding-top:14px}.profile-notes-grid h3,.scoring-details h3{margin:0 0 8px;font-size:.96rem}.profile-notes-grid h4{color:#34413c;text-transform:uppercase;margin:12px 0 7px;font-size:.78rem}.profile-notes-grid p{color:var(--muted);margin:0 0 8px;line-height:1.45}.compact-list{color:#34413c;gap:7px;margin:0 0 14px;padding-left:18px;line-height:1.38;display:grid}.profile-chip-list,.compliance-summary-row{flex-wrap:wrap;gap:7px;display:flex}.profile-chip-list span,.section-status-tag{background:var(--accent-soft);min-height:22px;color:var(--accent-dark);border-radius:999px;align-items:center;padding:0 8px;font-size:.72rem;font-weight:850;display:inline-flex}.section-status-tag.optional{color:#1d4ed8;background:#eaf0ff}.section-status-tag.hidden{color:var(--muted);background:#edf0ec}.weight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.weight-grid span,.criterion-list span{border:1px solid var(--border);color:#34413c;background:#fbfcf9;border-radius:7px;justify-content:space-between;gap:8px;min-width:0;padding:7px 8px;font-size:.78rem;display:flex}.custom-instructions textarea{resize:vertical;border:1px solid var(--border-strong);min-height:118px;color:var(--ink);background:#fbfcf9;border-radius:8px;outline:none;padding:11px;line-height:1.45}.custom-section-controls{border-top:1px solid var(--border);background:#fbfcf9;gap:12px;padding:16px;display:grid}.custom-section-controls h3,.custom-section-controls p{margin:0}.custom-section-controls p{color:var(--muted);line-height:1.4}.custom-section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.custom-section-grid article{border:1px solid var(--border);background:var(--panel);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px;display:grid}.custom-section-grid strong,.custom-section-grid small{overflow-wrap:anywhere;min-width:0;display:block}.custom-section-grid small{color:var(--muted);margin-top:3px}.segmented-control{border:1px solid var(--border-strong);background:#fff;border-radius:8px;grid-template-columns:repeat(3,auto);display:inline-grid;overflow:hidden}.segmented-control button{border:0;border-left:1px solid var(--border);color:#34413c;background:0 0;min-height:32px;padding:0 9px;font-size:.76rem;font-weight:800}.segmented-control button:first-child{border-left:0}.segmented-control button.active{background:var(--accent-soft);color:var(--accent-dark)}.builder-panel-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1.25fr);align-items:start;gap:16px;display:grid}.alignment-panel{grid-column:1/-1}.status-badge{width:fit-content;min-height:26px;color:var(--muted);white-space:nowrap;background:#edf0ec;border-radius:999px;align-items:center;padding:0 9px;font-size:.76rem;font-weight:850;display:inline-flex}.status-badge.pass{color:#0e7c3a;background:#e8f5ec}.status-badge.warning{color:var(--amber);background:#fff7db}.status-badge.risk{color:#c86d1b;background:#fff0e0}.status-badge.non-compliant{color:var(--red);background:#fdecec}.compliance-summary-row,.finding-list,.score-export-row,.section-score-list,.scoring-details{padding:0 16px 16px}.finding-list{gap:9px;display:grid}.finding-list.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.finding-list article{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:11px 0;display:grid}.finding-list article>div{align-items:center;gap:8px;min-width:0;display:flex}.finding-list article svg{color:var(--accent);flex:none}.finding-list article p,.finding-list article small{color:var(--muted);grid-column:1/-1;margin:0;line-height:1.42}.finding-list article small{color:#34413c}.score-export-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}.score-export-row>div{gap:3px;display:grid}.score-export-row strong{font-size:2rem}.score-export-row span{color:var(--muted);font-weight:750}.section-score-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.section-score-list button{border:1px solid var(--border);min-width:0;color:var(--ink);text-align:left;background:#fbfcf9;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;display:grid}.section-score-list button.active{border-color:var(--accent);background:var(--accent-soft)}.section-score-list .strength-meter{grid-column:1/-1}.scoring-details{border-top:1px solid var(--border);grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.scoring-details section{min-width:0;padding-top:14px}.scoring-details ul,.reviewer-finding,.criterion-list{gap:7px;margin:0;display:grid}.scoring-details ul{color:#34413c;padding-left:18px;line-height:1.42}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.export-hidden-toggle{border:1px solid var(--border);color:#34413c;cursor:pointer;-webkit-user-select:none;user-select:none;background:#fbfcf9;border-radius:8px;align-items:center;gap:7px;min-height:40px;padding:0 10px;font-size:.82rem;font-weight:750;display:inline-flex}.export-hidden-toggle input{width:16px;height:16px;accent-color:var(--accent);cursor:pointer;flex:none;margin:0}.export-hidden-toggle:has(input:disabled){cursor:not-allowed;opacity:.55}.export-hidden-toggle input:disabled{cursor:not-allowed}.builder-layout{grid-template-columns:300px minmax(0,1fr);gap:16px;display:grid}.section-nav{align-content:start;gap:6px;padding:10px;display:grid}.section-nav-heading{border-bottom:1px solid var(--border);gap:3px;margin-bottom:4px;padding:4px 2px 8px;display:grid}.section-nav-heading span{font-weight:850}.section-nav-heading small{color:var(--muted);line-height:1.25}.section-nav button{min-width:0;min-height:76px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:6px;gap:7px;padding:9px 10px;display:grid}.section-nav button.active{background:var(--accent-soft)}.section-nav-row{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.section-nav span{overflow-wrap:anywhere;font-weight:800}.section-nav .section-status-tag{color:var(--accent-dark);vertical-align:middle;margin-left:6px}.section-nav small{color:var(--muted);flex:none}.strength-meter{background:#e3e9e2;border-radius:999px;height:7px;position:relative;overflow:hidden}.strength-meter span{border-radius:inherit;background:var(--red);height:100%;display:block}.strength-meter span.developing{background:var(--amber)}.strength-meter span.solid{background:var(--blue)}.strength-meter span.strong{background:var(--accent)}.strength-caption{font-weight:750}.section-editor{flex-direction:column;min-height:620px;padding:16px;display:flex}.section-editor-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.section-insights{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:minmax(210px,.7fr) minmax(240px,.85fr) minmax(0,1.2fr);gap:18px;margin:14px 0;padding:14px 0;display:grid}.strength-insight,.ai-suggestions,.evidence-anchors{align-content:start;gap:8px;min-width:0;display:grid}.insight-heading{color:var(--ink);align-items:center;gap:8px;font-weight:850;display:flex}.insight-heading svg{color:var(--accent)}.insight-heading strong{text-align:right;white-space:nowrap;margin-left:auto;font-size:1.15rem}.strength-meter.large{height:10px}.strength-insight p,.ai-suggestions p,.strength-insight small,.evidence-anchors p,.evidence-anchors small{color:var(--muted);margin:0}.evidence-anchor-list{gap:8px;margin-top:4px;display:grid}.evidence-anchor-list article{border-top:1px solid var(--border);grid-template-columns:auto minmax(0,1fr);align-items:start;gap:8px;padding-top:8px;display:grid}.evidence-anchor-list strong,.evidence-anchor-list small{display:block}.evidence-anchor-list strong{color:var(--ink);font-size:.84rem}.evidence-anchor-list small{margin-top:2px;line-height:1.35}.ai-suggestions ul{color:#34413c;gap:7px;margin:0;padding-left:18px;line-height:1.45;display:grid}.reviewer-finding{padding:0}.reviewer-finding div{border-top:1px solid var(--border);gap:4px;padding:8px 0;display:grid}.reviewer-finding dt{color:var(--ink);text-transform:uppercase;font-size:.78rem;font-weight:850}.reviewer-finding dd{color:#34413c;margin:0;line-height:1.42}.suggestion-implementation{border:1px solid var(--border);background:var(--panel-soft);border-radius:8px;gap:12px;margin-top:8px;padding:12px;display:grid}.implementation-header,.rewrite-preview header{align-items:flex-start}.implementation-header h3,.rewrite-preview h3{color:var(--ink);margin:0;font-size:.98rem;line-height:1.2}.implementation-header p,.rewrite-preview header p,.selected-suggestion-review p,.copy-status{color:var(--muted);margin:3px 0 0;line-height:1.4}.implementation-header>span,.rewrite-preview header>span{border:1px solid var(--border);min-height:28px;color:var(--accent-dark);white-space:nowrap;background:#fff;border-radius:999px;justify-content:center;align-items:center;padding:0 8px;font-size:.78rem;font-weight:850;display:inline-flex}.suggestion-selection-toolbar,.rewrite-preview-actions{flex-wrap:wrap;gap:8px;display:flex}.selectable-suggestion-list{gap:8px;display:grid}.selectable-suggestion-list label{border:1px solid var(--border);color:#34413c;background:#fff;border-radius:8px;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;min-width:0;padding:10px;line-height:1.42;display:grid}.selectable-suggestion-list label.selected{border-color:var(--accent);background:#f1fbf8}.selectable-suggestion-list input{width:16px;height:16px;accent-color:var(--accent);margin:2px 0 0}.selected-suggestion-review{border:1px solid var(--border);background:#fff;border-radius:8px;gap:8px;padding:10px;display:grid}.selected-suggestion-review>div{justify-content:space-between;align-items:center;gap:10px;display:flex}.selected-suggestion-review strong{color:var(--ink);font-size:.86rem}.selected-suggestion-review span{color:var(--accent-dark);white-space:nowrap;font-size:.78rem;font-weight:850}.selected-suggestion-review ol{color:#34413c;gap:6px;margin:0;padding-left:20px;line-height:1.42;display:grid}.inline-error{color:var(--red);background:#fff7f7;border:1px solid #f1c2c2;border-radius:8px;padding:10px;font-weight:750}.implement-suggestions-button{justify-self:start}.rewrite-preview{border-top:1px solid var(--border);gap:12px;padding-top:12px;display:grid}.rewrite-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.rewrite-preview-selected{border:1px solid var(--border);background:#fff;border-radius:8px;gap:6px;padding:10px;display:grid}.rewrite-preview-selected strong{color:var(--ink);font-size:.84rem}.rewrite-preview-selected ol{color:#34413c;gap:5px;margin:0;padding-left:20px;line-height:1.42;display:grid}.rewrite-preview article{border:1px solid var(--border);background:#fff;border-radius:8px;min-width:0;overflow:hidden}.rewrite-preview h4{border-bottom:1px solid var(--border);color:var(--ink);margin:0;padding:9px 10px;font-size:.84rem}.preview-text{color:#34413c;overflow-wrap:anywhere;white-space:pre-wrap;max-height:270px;padding:10px;line-height:1.48;overflow:auto}.copy-status{font-weight:750}.criterion-list{margin-top:4px}.section-editor textarea{min-height:500px;padding:16px;font-size:1rem}.error-banner{color:var(--red);margin-bottom:14px;padding:12px 14px;font-weight:750}.status-banner{color:var(--muted);margin-bottom:14px;padding:12px 14px;font-weight:750}.status-banner.info{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.status-banner.success{color:#0e7c3a;background:#edf8f1;border-color:#b9e8c8}.status-banner.warning{color:var(--amber);background:#fff9e8;border-color:#f2d27b}.status-banner.error{color:var(--red);background:#fff7f7;border-color:#f1c2c2}.modal-backdrop{z-index:20;background:#12231f85;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{width:min(660px,100%);box-shadow:var(--shadow);padding:22px}.modal label{gap:7px;margin-top:14px;font-size:.9rem;font-weight:750;display:grid}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;display:grid}input,select{border:1px solid var(--border-strong);min-width:0;height:42px;color:var(--ink);background:#fff;border-radius:8px;outline:none;padding:0 11px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@media (width<=1050px){.app-shell{grid-template-columns:1fr}.sidebar{grid-template-columns:minmax(0,1fr) auto;gap:12px;display:grid;position:static}.sidebar-section,.embed-note{display:none}.sidebar-link,.sidebar-action{width:auto}.input-grid,.evaluation-grid,.rubric-grid,.builder-panel-grid,.profile-notes-grid,.custom-section-grid,.finding-list.compact,.scoring-details,.builder-layout,.section-insights,.rewrite-preview-grid{grid-template-columns:1fr}.profile-grid,.section-score-list{grid-template-columns:repeat(2,minmax(0,1fr))}.alignment-panel{grid-column:auto}.section-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.main-surface,.sidebar{padding:16px}.page-header,.workspace-header,.panel-header,.builder-toolbar,.action-strip,.score-band{flex-direction:column;align-items:stretch}.metric-grid,.form-grid,.profile-grid,.section-score-list,.section-nav,.project-card-meta{grid-template-columns:1fr}.builder-panel summary,.score-export-row{grid-template-columns:minmax(0,1fr)}.score-band{display:flex}.toolbar-actions,.evaluation-report-actions,.section-editor-actions,.rewrite-preview-actions,.modal-actions{justify-content:stretch}.toolbar-actions .button,.export-hidden-toggle,.evaluation-report-actions .button,.score-export-row .button,.section-editor-actions .button,.suggestion-selection-toolbar .button,.rewrite-preview-actions .button,.implement-suggestions-button,.modal-actions .button,.page-header .button,.action-strip .button{width:100%}.text-card{min-height:460px}.text-card textarea,.section-editor textarea{min-height:330px}}
