:root{font-family:Verdana,sans-serif;color:#17273d;background:#f5f7fb;font-synthesis:none;font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button,a,summary{cursor:pointer}button{border:0}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #00a58e;outline-offset:4px}[hidden]{display:none!important}.skip{position:fixed;top:-100px;background:white;padding:16px;z-index:10}.skip:focus{top:0}.layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.rail{background:#10253f;color:#eef5ff;padding:36px 24px;display:flex;flex-direction:column;gap:28px}.brand{font-size:24px;font-weight:700;letter-spacing:3px;text-decoration:none}.brand span{display:block;font-size:14px;letter-spacing:0;font-weight:400;color:#b8cce5;margin-top:8px}.new{padding:15px;text-align:left;background:#254968;color:white;border:1px solid #496682;border-radius:10px;font-weight:bold}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:1.7px;margin:0 0 18px}.rail>.eyebrow{color:#afc4de;margin:0}.sessions{display:grid;gap:8px;max-height:55vh;overflow:auto}.sessions button{text-align:left;line-height:1.5;background:transparent;color:#d4e1f2;border-radius:8px;padding:12px}.sessions button[aria-current=true]{background:#2c4969;color:white}.sessions small{display:block;margin-top:4px;color:#b5cbe3}.rail footer{margin-top:auto;display:grid;gap:18px;font-size:14px}.rail footer a{text-decoration:none}.rail footer small{line-height:1.6;color:#b6c9df}main{padding:0 5vw 60px;min-width:0}.top{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #dce3ec;padding:26px 0;font-size:12px;letter-spacing:1px;color:#536a81}.top [role=status]{letter-spacing:0;font-size:14px}#intake{max-width:850px;margin:55px auto}.intro h1{font-size:clamp(36px,5vw,62px);letter-spacing:-2px;line-height:1.1;margin:20px 0;color:#122a48}.intro em{font-style:normal;color:#156bdd}.intro>p:last-child{max-width:610px;color:#51667d;line-height:1.8;margin:24px 0 30px}.intro .eyebrow{color:#53677e}form{display:grid;gap:22px}#start{background:white;border:1px solid #dde5ef;border-radius:18px;padding:30px;box-shadow:0 12px 40px #11284408}label{display:grid;gap:10px;font-size:14px;font-weight:bold;line-height:1.5}textarea,input,select{width:100%;padding:14px;background:#fcfdff;color:#17273d;border:1px solid #b5c4d6;border-radius:8px;font-weight:400;font-size:16px;line-height:1.6}textarea{resize:vertical}input:focus,textarea:focus,select:focus{outline:2px solid #246dd0;outline-offset:2px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}summary{font-size:14px;color:#315577;padding:8px 0}details label{margin-top:16px}.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.form-bottom>span{font-size:12px;color:#60768b}.primary{background:#1766d4;color:white;padding:16px 22px;border-radius:9px;font-weight:bold;font-size:14px;line-height:1.4}.primary:hover{background:#1053b4}.secondary{background:#edf3fa;border:1px solid #c6d4e5;color:#204362;padding:12px 16px;border-radius:8px;font-size:14px}.start-note{padding:26px 4px;max-width:620px}.start-note strong{font-size:14px}.start-note p{font-size:14px;line-height:1.8;color:#587087}#error{padding:18px;background:#fff0ef;color:#8b2525;border:1px solid #efb4ae;border-radius:8px;margin:20px 0;line-height:1.6}#sign-in{display:inline-block;background:#1766d4;color:white;border-radius:8px;padding:16px;margin:20px 0}#workspace{margin-top:36px}.work-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.work-heading h1{font-size:32px;line-height:1.3;overflow-wrap:anywhere;margin:12px 0 24px}.work-heading .eyebrow{color:#426886}.progress{display:flex;justify-content:space-between;font-size:14px;color:#4a647e}#badge{border-radius:40px;background:#dceeea;color:#175c4d;padding:6px 12px}#steps{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;padding:0;gap:10px;margin:24px 0 32px}#steps li{border-top:4px solid #d7e1ed;padding:14px 0;font-size:12px;color:#58718c;line-height:1.5}#steps li.done{border-color:#199780}#steps li.current{border-color:#246de0;color:#194f9c;font-weight:bold}.work-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px}.editor{background:white;border:1px solid #dce5ef;border-radius:16px;padding:28px;min-width:0}.editor h2{font-size:26px;line-height:1.3;margin:0 0 16px}.editor p{color:#526b81;line-height:1.8}.context{background:#eaf0f7;border-radius:14px;padding:24px;min-width:0}.context h2,.context h3{font-size:16px;line-height:1.5}.context p{font-size:14px;line-height:1.8;overflow-wrap:anywhere}.exact{white-space:pre-wrap}#details{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.ready-icon{width:54px;height:54px;background:#d9f1e8;color:#14715c;border-radius:50%;display:grid;place-items:center;font-size:26px;margin-bottom:24px}#history{margin-top:35px}#objects{display:grid;gap:12px}#objects details{padding:16px 22px;border:1px solid #d9e2ed;border-radius:10px;background:white}#objects pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.8}#objects small{color:#596f85;overflow-wrap:anywhere}button:disabled{opacity:.5;cursor:wait}@media(max-width:1050px){.work-grid{grid-template-columns:1fr}.layout{grid-template-columns:210px 1fr}.rail{padding:28px 16px}}@media(max-width:720px){.layout{display:block}.rail{gap:16px;padding:20px}.brand span{display:inline;margin-left:12px}.rail footer{display:none}.sessions{max-height:180px}.top>span:first-child{display:none}main{padding:0 20px 40px}#intake{margin:32px auto}#start,.editor{padding:20px}.form-grid{grid-template-columns:1fr}.form-bottom{align-items:stretch;flex-direction:column}#steps{gap:6px}.work-heading h1{font-size:26px}.intro h1{font-size:42px;letter-spacing:-1.3px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease}}
.step-guidance{border-left:3px solid #1766d4;padding-left:16px}.work-type-preview{margin:0;color:#315577;line-height:1.6;font-size:.875rem}#steps li{font-size:.875rem}.top{flex-wrap:wrap}#intake{margin-top:32px}.intro h1{font-size:clamp(32px,4vw,48px)}.intro>p:last-child{margin:16px 0 22px}@media(max-width:540px){#steps{grid-template-columns:1fr}#steps li{padding:8px 0;border-top-width:2px}.spark-surface textarea{max-width:100%}}

/* Prompt-first workroom */
#intake{max-width:920px;margin-top:34px}.intro{max-width:760px}.intro h1{margin-bottom:14px}.path-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:24px 0 12px;padding:6px;background:#e8eef6;border-radius:14px}.path-tabs button{min-height:48px;border-radius:10px;background:transparent;color:#36526f;font-weight:700}.path-tabs button[aria-selected=true]{background:white;color:#123b6a;box-shadow:0 3px 14px #18345414}.conversation-start{padding:0!important;overflow:hidden}.conversation-start>section{padding:28px}.conversation-thread{display:grid;gap:14px}.start-thread{margin-bottom:18px}.message{max-width:82%;padding:15px 17px;border-radius:15px;line-height:1.65}.message span{display:block;margin-bottom:5px;color:#315d87;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.message p{margin:0}.soval-message{background:#eaf2fc;border-bottom-left-radius:4px;color:#193752}.current-question{margin:8px 28px 16px}.composer-label{margin:0 0 8px}.prompt-composer{padding:8px;border:1px solid #9eb2c8;border-radius:16px;background:#fff;box-shadow:0 7px 24px #1029440d}.prompt-composer:focus-within{outline:3px solid #246dd0;outline-offset:2px}.prompt-composer textarea{min-height:130px;padding:12px;border:0;background:white;outline:0!important;resize:vertical}.composer-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px}.composer-footer>span{font-size:.8125rem;color:#63798e}.starter-row{display:flex;align-items:center;gap:12px;min-height:62px;padding:12px 28px;border-top:1px solid #e0e7ef;border-bottom:1px solid #e0e7ef;background:#f8fafd}.attachment{display:inline-flex;align-items:center;min-height:42px;padding:9px 13px;border:1px solid #b7c7d8;border-radius:999px;background:white;color:#244968;cursor:pointer}.attachment input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.attachment:focus-within{outline:3px solid #00a58e;outline-offset:3px}.starter-row [role=status]{min-width:0;overflow-wrap:anywhere;color:#5b7085;font-size:.8125rem}.text-button{padding:6px;background:transparent;color:#315f8d;text-decoration:underline;font-size:.8125rem}.optional-setup{margin:0;padding:10px 28px 22px;background:#f8fafd}.optional-setup summary{min-height:44px;display:flex;align-items:center;font-weight:700}.optional-setup .form-grid,.optional-setup>label{margin-top:14px}.member-notice{margin:0;padding:17px 28px;border-top:1px solid #e0e7ef;color:#5a7086;font-size:.8125rem;line-height:1.6}.guide-actions{display:flex;justify-content:flex-end;gap:10px;padding:0 28px 28px}.guide-actions #guide-back{margin-right:auto}.guide-turn{display:grid;gap:8px}.guide-turn p{max-width:82%;margin:0;padding:13px 16px;border-radius:14px;line-height:1.6;white-space:pre-wrap}.guide-soval{justify-self:start;background:#eaf2fc;color:#193752;border-bottom-left-radius:4px}.guide-human{justify-self:end;background:#1766d4;color:white;border-bottom-right-radius:4px}.guide-review{padding:18px;border:1px solid #bbd8d2;border-radius:12px;background:#eff9f6;color:#1d5449}.guide-review p{margin:8px 0 0;line-height:1.6}.stage-conversation{display:grid;gap:16px;margin:18px 0 24px}.declaration-thread{display:grid;gap:14px}.declaration-turn{display:grid;grid-template-columns:1fr auto;gap:6px}.declaration-turn p{grid-column:1;max-width:88%;margin:0;padding:12px 15px;border-radius:13px;line-height:1.6;white-space:pre-wrap}.declaration-turn .soval-line{justify-self:start;background:#eaf2fc;color:#193752}.declaration-turn .human-line{justify-self:end;background:#1766d4;color:white}.declaration-turn button{grid-column:2;grid-row:2;align-self:center}.declaration-composer textarea{min-height:110px}.review-confirmation{display:flex;grid-template-columns:auto 1fr;align-items:flex-start;margin:18px 0}.review-confirmation input{width:auto;margin-top:3px}.editor>#prompt .step-guidance{border:0;padding:0;margin:0;color:#60768a;font-size:.875rem}.editor>#prompt>h2{display:none}.editor>#prompt>p:not(.step-guidance){max-width:82%;margin:0;padding:15px 17px;border-radius:15px 15px 15px 4px;background:#eaf2fc;color:#193752}.editor #advance{margin-top:20px}.editor #output-label{margin-top:18px}
@media(max-width:720px){.path-tabs{grid-template-columns:1fr}.conversation-start>section,.starter-row,.optional-setup,.member-notice{padding-left:18px;padding-right:18px}.current-question{margin-left:18px;margin-right:18px}.guide-actions{padding-left:18px;padding-right:18px;flex-wrap:wrap}.guide-actions button{flex:1}.guide-actions #guide-back{margin-right:0}.message,.guide-turn p,.declaration-turn p{max-width:94%}.composer-footer{align-items:stretch;flex-direction:column}.composer-footer button{width:100%}.starter-row{align-items:flex-start;flex-wrap:wrap}.attachment{width:100%;justify-content:center}}

/* Tier-1 visual repair: shared typography and roomier conversational surfaces. */
:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}
body{font-family:inherit;text-rendering:optimizeLegibility}
.intro h1,.work-heading h1,.editor h2{letter-spacing:-.025em;text-wrap:balance}
.intro h1{max-width:17ch;font-size:clamp(2.35rem,4vw,3.5rem);line-height:1.1}
.intro>p:last-child{max-width:65ch;font-size:1.0625rem;line-height:1.65}
.top{font-size:.875rem;letter-spacing:.055em}
#intake{max-width:64rem}
#start{padding:clamp(1.35rem,3vw,2rem);border-radius:1rem}
.path-tabs{margin-top:1.5rem;border-radius:.75rem}
.path-tabs button{font-size:.9375rem}
.conversation-start>section{padding:clamp(1.25rem,3vw,1.75rem)}
.message,.guide-turn p,.declaration-turn p{line-height:1.6}
.message span,.composer-footer>span,.starter-row [role=status],.text-button,.member-notice,.form-bottom>span,#details{font-size:.875rem}
.work-grid{gap:2rem}
.editor{padding:clamp(1.35rem,3vw,1.75rem)}
.context{padding:1.4rem}
@media(max-width:720px){main{padding-inline:1rem}.rail{padding:1.25rem}.intro h1{font-size:clamp(2.15rem,11vw,2.9rem);letter-spacing:-.02em}#start,.editor{padding:1.15rem}.work-heading{align-items:flex-start;flex-direction:column;gap:.5rem}}
