: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: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}.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,.section-nav,.section-editor,.modal,.action-strip,.error-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}.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}.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}.toolbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.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 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(220px,.75fr) minmax(0,1.25fr);gap:18px;margin:14px 0;padding:14px 0;display:grid}.strength-insight,.ai-suggestions{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{color:var(--muted);margin:0}.ai-suggestions ul{color:#34413c;gap:7px;margin:0;padding-left:18px;line-height:1.45;display:grid}.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}.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-layout,.section-insights{grid-template-columns:1fr}.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,.section-nav,.project-card-meta{grid-template-columns:1fr}.score-band{display:flex}.toolbar-actions,.evaluation-report-actions,.section-editor-actions,.modal-actions{justify-content:stretch}.toolbar-actions .button,.evaluation-report-actions .button,.section-editor-actions .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}}
