:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#202020;background:#f4f3f0;font-synthesis:none;--ink: #202020;--muted: #696969;--line: #c9c7c1;--line-strong: #8a8882;--surface: #ffffff;--surface-muted: #eeece7;--accent: #1f5c4a;--accent-dark: #164437;--accent-soft: #e3eee9;--warning-soft: #f4efe1;--focus: #1269d3}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;min-height:100vh;background:var(--surface-muted);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,select,input,textarea{border-radius:0}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid var(--focus);outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(1.25rem,2.3vw,1.75rem);line-height:1.15}h2{margin-bottom:.5rem;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.1;letter-spacing:-.025em}h3{margin-bottom:.75rem;font-size:1.2rem;line-height:1.25}p,li,dd{line-height:1.55}.app-shell{min-height:100vh;display:grid;grid-template-columns:230px minmax(0,1fr)}.sidebar{position:sticky;top:0;align-self:start;min-height:100vh;padding:28px 22px;border-right:1px solid var(--line);background:#22211f;color:#f7f5f0}.brand{color:inherit;font-size:1.15rem;font-weight:750;text-decoration:none}.sidebar-caption{margin:6px 0 30px;color:#aaa7a0;font-size:.8rem}.sidebar nav{display:grid;gap:8px}.nav-item{display:block;width:100%;padding:11px 12px;border:1px solid transparent;background:transparent;color:#d8d5ce;text-align:left;text-decoration:none}.nav-item:hover,.nav-item.active{border-color:#68655f;background:#34322f;color:#fff}.sidebar-note{position:absolute;right:22px;bottom:24px;left:22px;padding-top:16px;border-top:1px solid #4c4944;color:#aaa7a0;font-size:.78rem;line-height:1.5}.page{min-width:0}.topbar{min-height:92px;padding:20px clamp(20px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);background:var(--surface)}.runtime-label{max-width:290px;padding:8px 10px;border:1px solid var(--line-strong);background:var(--surface-muted);color:#4f4d48;font-size:.75rem;line-height:1.35}.auth-page{min-height:100vh;padding:32px 20px;display:grid;place-items:center;background:var(--surface-muted)}.auth-panel{width:min(100%,460px);padding:clamp(24px,5vw,42px);border:1px solid var(--line);background:var(--surface)}.auth-brand{display:inline-block;margin-bottom:36px;color:var(--ink);font-size:1.15rem;font-weight:750;text-decoration:none}.auth-panel>p{color:var(--muted)}.auth-panel form{margin-top:28px}.auth-message{min-height:24px;margin:16px 0 4px;color:var(--accent-dark);font-size:.84rem}.runtime-error{margin-top:24px;padding:14px 16px;border:1px solid #9a3f35;background:#fff1ef;color:#702820}.main-content{padding:clamp(24px,4vw,56px)}.workspace{max-width:1160px;margin:0 auto}.section-intro{margin-bottom:28px;display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.section-intro>div:first-child{max-width:740px}.section-intro p:not(.eyebrow){margin-bottom:0;color:var(--muted)}.eyebrow,.step-label{margin-bottom:7px;color:var(--muted);font-size:.72rem;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.progress{margin:0 0 24px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));border:1px solid var(--line);background:var(--surface);list-style:none}.progress-item{min-width:0;padding:12px;display:flex;align-items:center;gap:9px;border-right:1px solid var(--line);color:var(--muted);font-size:.82rem}.progress-item:last-child{border-right:0}.progress-item.active{background:var(--accent-soft);color:var(--accent-dark);font-weight:700}.progress-item.complete{color:var(--ink)}.progress-number{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:.7rem}.two-column{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.75fr);gap:20px}.single-column{max-width:850px;margin:0 auto}.panel{padding:clamp(20px,3vw,32px);border:1px solid var(--line);background:var(--surface);box-shadow:0 1px #00000006}.panel-heading{margin-bottom:22px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.field{margin-bottom:20px;display:grid;gap:6px}.field label{font-size:.92rem;font-weight:700}.field-hint{color:var(--muted);font-size:.8rem}.field input,.field textarea,.field select,.select-grid select{width:100%;padding:12px;border:1px solid var(--line-strong);background:#fff;color:var(--ink)}.field textarea{resize:vertical}.select-grid{margin-top:28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.action-row{margin-top:24px;padding-top:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line)}.action-row.right{justify-content:flex-end}.primary-button,.secondary-button,.text-button{min-height:42px;padding:10px 16px;border:1px solid transparent;font-weight:700}.primary-button{border-color:var(--accent);background:var(--accent);color:#fff}.primary-button:hover:not(:disabled){border-color:var(--accent-dark);background:var(--accent-dark)}.secondary-button{border-color:var(--line-strong);background:#fff;color:var(--ink)}.secondary-button:hover:not(:disabled){background:var(--surface-muted)}.text-button{padding-inline:4px;background:transparent;color:var(--accent-dark)}.full-width{width:100%;margin-top:20px}.validation-message{margin:0;color:var(--muted);font-size:.82rem}.empty-preview{min-height:240px;margin:20px 0;padding:24px;display:grid;place-items:center;border:1px dashed var(--line-strong);color:var(--muted);text-align:center}.assumption-box,.result-banner{padding:16px;border:1px solid var(--line);background:var(--warning-soft)}.assumption-box p,.result-banner span{margin:6px 0 0;color:#555148;font-size:.84rem}.result-banner{margin-bottom:24px;display:grid;gap:4px;background:var(--accent-soft);color:var(--accent-dark)}.draft-copy{margin:20px 0;padding:24px;border:1px solid var(--line);background:#faf9f7}.draft-copy p:last-child{margin-bottom:0}.draft-copy.compact{font-size:.9rem}.focused-panel{padding:clamp(24px,5vw,48px)}.review-list{margin:20px 0;display:grid;gap:0}.review-list>div{padding:13px 0;display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.3fr);gap:14px;border-bottom:1px solid var(--line)}.review-list dt{font-weight:700}.review-list dd{margin:0;color:var(--muted)}.approval-check{padding:14px;display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);background:var(--surface-muted);font-size:.88rem;line-height:1.45}.approval-check input{margin-top:3px}.fine-print{margin:12px 0 0;color:var(--muted);font-size:.76rem;line-height:1.5}.history{margin-top:52px}.compact-intro{margin-bottom:16px}.compact-intro h2{font-size:1.35rem}.empty-history,.history-list{border:1px solid var(--line);background:var(--surface)}.empty-history{padding:24px;color:var(--muted)}.history-row{padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.history-row:last-child{border-bottom:0}.history-row p{margin:4px 0 0;color:var(--muted);font-size:.84rem}.history-meta{min-width:170px;display:grid;justify-items:end;gap:6px;color:var(--muted);font-size:.75rem}.status{padding:3px 7px;border:1px solid var(--line-strong);color:var(--ink);font-weight:700;text-transform:capitalize}.status.approved{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dark)}@media(max-width:900px){.app-shell{display:block}.sidebar{display:none}.topbar{align-items:flex-start}.two-column,.select-grid{grid-template-columns:1fr}}@media(max-width:620px){.topbar{min-height:auto;padding:16px;display:grid}.runtime-label{max-width:none}.main-content{padding:20px 14px 92px}.section-intro{display:grid}.progress{grid-template-columns:1fr}.progress-item{border-right:0;border-bottom:1px solid var(--line)}.progress-item:last-child{border-bottom:0}.progress-item.upcoming{display:none}.panel{padding:18px}.panel-heading{display:grid}.action-row{align-items:stretch;flex-direction:column}.action-row.right{flex-direction:column-reverse}.action-row button{width:100%}.review-list>div{grid-template-columns:1fr;gap:3px}.history-row{align-items:flex-start;flex-direction:column}.history-meta{min-width:0;justify-items:start}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
