@font-face{font-family:"Bricolage Grotesque";src:url("./bricolage-grotesque.ttf") format("truetype");font-style:normal;font-weight:200 800;font-display:swap}
:root{--paper:#f5f2ea;--sheet:#fffefa;--ink:#252536;--muted:#666778;--line:#dcd9d4;--violet:#654be4;--violet-pale:#ebe6ff;--mark:#c46256;--sans:"Bricolage Grotesque",system-ui,sans-serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
button,input,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:wait;opacity:.6}
:focus-visible{outline:3px solid var(--violet);outline-offset:3px}
.hidden{display:none!important}
.app-shell{min-height:100vh}
.masthead{min-height:74px;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px max(32px,calc((100vw - 1440px)/2));border-bottom:5px solid var(--violet)}
.brand{color:#fff;text-decoration:none;display:flex;align-items:center;gap:10px;font-size:27px;font-weight:800;letter-spacing:-1.5px;line-height:1}
.brand-glyph{display:grid;place-items:center;width:37px;height:37px;background:var(--violet);border-radius:8px 8px 8px 2px;font-family:Georgia,serif;font-style:italic;font-size:30px;letter-spacing:-3px;padding-right:5px}
.brand-period{color:#b1a3ff}
.masthead-center{font-size:13px;color:#c6c5d2;letter-spacing:.02em}
.live-dot{display:inline-block;width:7px;height:7px;background:#b3f1d2;border-radius:50%;margin-right:8px}
.demo-label{font-size:10px;font-weight:800;letter-spacing:.15em;color:#dcd4ff;border:1px solid #8079a0;padding:9px 11px;white-space:nowrap}
.workspace{max-width:1440px;margin:auto;padding:32px 40px 30px}
.intro{display:flex;justify-content:space-between;align-items:end;gap:42px}
.intro-copy{max-width:750px}
.eyebrow,.section-index,.pane-status{font-size:11px;font-weight:800;letter-spacing:.15em}
.eyebrow{color:var(--violet)}
.eyebrow span{color:#aba4b7}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(44px,4.6vw,62px);letter-spacing:-.072em;line-height:1.02;margin:14px 0 16px;font-weight:800}
h1 em{font-family:var(--sans);font-style:normal;font-weight:800;color:var(--violet);letter-spacing:inherit}
.intro-copy>p{max-width:620px;font-size:18px;line-height:1.55;color:var(--muted);margin-bottom:0}
.intro-aside{min-width:245px;padding:7px 0 6px 24px;position:relative}
.aside-line{position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--violet)}
.intro-aside strong{font-size:23px;line-height:1.13;letter-spacing:-.035em;display:block}
.intro-aside small{font-size:12px;line-height:1.5;color:var(--muted);display:block;margin-top:14px;max-width:200px}
.stage-nav{display:flex;border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);margin:25px 0 18px}
.stage{flex:1;display:flex;align-items:center;gap:12px;padding:17px 18px;color:#9c98a1;font-size:14px;font-weight:650;white-space:nowrap}
.stage+.stage{border-left:1px solid var(--line)}
.stage b{font-size:11px;letter-spacing:.1em}
.stage.active{color:var(--ink);background:var(--violet-pale);box-shadow:inset 0 4px 0 var(--violet)}
.stage.active b{color:var(--violet)}
.work-grid{display:grid;grid-template-columns:minmax(360px,.87fr) minmax(480px,1.13fr);gap:22px;align-items:stretch}
.request-pane,.draft-pane{background:var(--sheet);border:1px solid var(--ink);min-width:0;padding:30px 32px 26px;box-shadow:8px 8px 0 #2525360d}
.draft-pane{position:relative;border-top:5px solid var(--violet);padding-top:26px}
.pane-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:27px}
.section-index{color:var(--violet)}
.pane-status{color:#96909a}
.state-pill{font-size:11px;font-weight:750;color:#777484;background:#f0eee9;padding:8px 10px;white-space:nowrap}
.state-pill.ready{background:#eae4ff;color:#5034c8}
h2{font-size:clamp(27px,2.6vw,39px);letter-spacing:-.06em;line-height:1.09;margin:0 0 12px;max-width:470px}
.pane-intro{font-size:14px;line-height:1.55;color:var(--muted);margin-bottom:28px;max-width:460px}
.request-pane>label{display:block;font-size:12px;font-weight:800;margin-bottom:10px}
textarea{width:100%;min-height:210px;resize:vertical;border:1px solid #aaa5ae;border-left:4px solid var(--violet);background:linear-gradient(to bottom,transparent 29px,#ebe8e6 30px);background-size:100% 31px;padding:17px 18px;color:var(--ink);line-height:31px;font-size:15px;outline:0}
textarea:focus,input:focus{border-color:var(--violet);box-shadow:0 0 0 3px #654be422;outline:0}
.request-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
.mode-label{font-size:11px;line-height:1.4;color:var(--muted);max-width:170px}
.action-button{border:1px solid var(--violet);background:var(--violet);color:#fff;font-size:13px;font-weight:800;padding:14px 17px;display:inline-flex;align-items:center;justify-content:space-between;gap:22px;min-height:47px}
.action-button:hover{background:#5137d2}
.action-button span{font-size:19px;line-height:1}
.quiet-button{border:1px solid var(--ink);background:transparent;color:var(--ink);font-size:13px;font-weight:800;padding:13px 17px;min-height:47px}
.quiet-button:hover{background:#efede8}
.error-note{background:#fff0ed;color:#9f352c;border-left:3px solid #c46256;padding:11px 13px;font-size:13px;margin-top:16px}
.source-footnote{border-top:1px solid var(--line);margin-top:28px;padding-top:17px;color:var(--muted);font-size:12px}
.source-footnote span{color:var(--violet);font-size:18px;padding-right:6px}
.empty-state{height:295px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px dashed #cbc6d1;background:radial-gradient(circle at 70% 20%,#f2edff,transparent 48%);padding:22px}
.empty-state strong{font-size:20px;letter-spacing:-.04em;margin-top:20px}
.empty-state p{font-size:13px;line-height:1.5;color:var(--muted);max-width:260px;margin:8px 0 0}
.paper-stack{width:144px;height:132px;position:relative}
.paper-stack>div{position:absolute;width:95px;height:115px;background:white;border:1px solid var(--ink);top:6px;left:24px;transform:none}
.paper-stack>div:nth-child(2){transform:none;left:31px;background:#eee8ff}
.paper-stack>.front-sheet{transform:none;left:24px;background:var(--sheet);box-shadow:5px 5px 0 #25253613;padding:22px 13px}
.front-sheet span{display:block;height:3px;background:#c9c4d3;margin:0 0 13px;width:65px}
.front-sheet span:nth-child(2){width:48px}
.front-sheet span:nth-child(3){width:58px}
.front-sheet i{font-family:Georgia,serif;color:var(--violet);font-size:30px;font-style:normal;position:absolute;right:11px;bottom:6px}
.mode-note{font-size:12px;line-height:1.45;background:#eee9ff;color:#4a3b90;border-left:3px solid var(--violet);padding:12px 14px;margin:0 0 22px}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.field.wide{grid-column:1/-1}
.field label{font-size:10px;font-weight:800;letter-spacing:.14em;color:#666073;display:block;margin:0 0 7px}
.field label small{font-size:10px;font-weight:500;letter-spacing:normal}
.field input{width:100%;height:43px;border:1px solid #bfbac2;background:#fff;padding:0 11px;color:var(--ink);font-size:14px}
.questions{margin-top:22px;border:1px solid #d8b4ad;background:#fff7f4;padding:15px}
.questions-head{display:flex;align-items:start;gap:13px}
.margin-mark{display:grid;place-items:center;background:var(--mark);color:white;width:25px;height:25px;font-weight:800;font-family:Georgia,serif;flex:none}
.questions h3{font-size:15px;letter-spacing:-.025em;margin:0 0 4px}
.questions p{font-size:11px;line-height:1.4;color:#8d6660;margin:0}
.questions ul{list-style:none;padding:0;margin:11px 0 0}
.questions li{border-top:1px solid #e6cbc6;padding:10px 0;display:flex;gap:10px;justify-content:space-between;align-items:start;font-size:12px;color:#664a49;line-height:1.45}
.questions li button{border:0;background:transparent;color:#8e3e39;text-decoration:underline;text-underline-offset:3px;font-weight:800;font-size:11px;white-space:nowrap}
.questions li input{min-width:110px;max-width:170px;border:1px solid #d8b4ad;padding:6px;background:#fff;color:var(--ink);font-size:11px}
.questions ul:empty::after{content:"No open questions in this draft.";display:block;font-size:12px;color:#8d6660;padding-top:7px}
.form-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}
.confirmed{text-align:center;padding:34px 0 0}
.confirmed-mark{width:53px;height:53px;display:grid;place-items:center;background:var(--violet);color:#fff;font-size:25px;border-radius:50%;margin:auto auto 17px}
.confirmed h3{font-size:28px;letter-spacing:-.055em;margin-bottom:7px}
.confirmed p{font-size:13px;color:var(--muted);line-height:1.5}
.confirmed pre{text-align:left;white-space:pre-wrap;word-break:break-word;max-height:290px;overflow:auto;background:#f2efe8;border:1px solid var(--line);padding:16px;font-size:11px;line-height:1.45}
.app-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--ink);margin-top:37px;padding-top:14px;color:#77727a;font-size:11px}
.app-footer span:first-child{font-weight:800;letter-spacing:.13em;color:var(--ink)}
@media(max-width:980px){.workspace{padding:48px 24px 30px}.work-grid{grid-template-columns:1fr}.intro-aside{display:none}.request-pane textarea{min-height:210px}}
@media(max-width:620px){.masthead{min-height:64px;padding:10px 18px}.brand{font-size:23px}.brand-glyph{width:32px;height:32px;font-size:26px}.masthead-center{display:none}.demo-label{font-size:8px;padding:7px}.workspace{padding:37px 15px 25px}.intro-copy>p{font-size:15px}h1{font-size:49px}.stage-nav{margin:35px 0 14px}.stage{padding:14px 8px;display:block;font-size:11px}.stage b{display:block;margin-bottom:5px}.request-pane,.draft-pane{padding:21px 18px}.pane-heading{margin-bottom:18px}.pane-status{display:none}.request-bottom{align-items:stretch;flex-direction:column}.mode-label{max-width:none}.action-button{width:100%}.field-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.app-footer{display:block}.app-footer span{display:block;margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
.review-notes{border-top:1px solid #dbc7c1;padding-top:10px;margin-top:9px}.review-notes p{font-size:12px;color:#654a46;line-height:1.5;margin:0 0 9px}.review-notes strong,.review-notes span{display:block}.review-notes strong{font-size:10px;color:#9b665f;margin-bottom:4px}.questions li{flex-wrap:wrap}.questions li>span{flex:1;min-width:160px}

body{font-optical-sizing:auto}h1,h2,h3,.wordmark,.brand{font-family:"Segoe UI",Arial,sans-serif}h1 em{font-family:inherit}.intro p,.intro-copy>p,.principles p{font-weight:400;letter-spacing:-.012em}
