/* Build with DOVA uses the same Outfit type, soft paper and flowing identity as the homepage. */
:root { --paper:#eeede8; --ink:#211f22; --line:#d4d0ca; --muted:#625f60; }
.nav { height:78px; }
.build-entry { display:grid; grid-template-columns:1.18fr 1fr; gap:clamp(32px,6vw,96px); align-items:center; padding:clamp(38px,6vw,90px) 0; }
.entry-label,.argo-stage figcaption small { font-size:12px; letter-spacing:.11em; text-transform:uppercase; }
.entry-label { margin-bottom:18px; }
.entry-copy h1 { margin:0; font-size:clamp(48px,5.9vw,84px); font-weight:450; letter-spacing:-.06em; line-height:.98; }
.entry-copy h1 em { font-style:normal; color:#70657d; }
.entry-intro { max-width:48ch; margin:24px 0; font-size:clamp(16px,1.25vw,19px); line-height:1.52; color:#514e52; }
.starting-points { display:grid; gap:9px; max-width:510px; }
.path-choice { display:flex; width:100%; gap:15px; align-items:center; text-align:left; padding:14px 18px; border:1px solid #c9c5c1; border-radius:14px; color:var(--ink); background:#faf9f5; transition:transform .22s,background .22s,border-color .22s; }
.path-choice strong,.path-choice small { display:block; }
.path-choice strong { font-size:19px; font-weight:500; letter-spacing:-.025em; }
.path-choice small,.entry-foot { color:var(--muted); font-size:13px; }
.path-choice .path-arrow { margin-left:auto; border:1px solid var(--line); border-radius:50%; width:30px; height:30px; display:grid; place-items:center; }
.path-choice:hover,.path-choice:focus-visible,.path-choice[aria-pressed=true] { background:#fff; border-color:#94849c; transform:translateX(3px); }
.entry-foot { margin-top:14px; }
.argo-stage { position:relative; display:flex; flex-direction:column; align-self:stretch; justify-content:space-between; min-width:0; margin:0; padding:22px; border-radius:26px; overflow:hidden; color:#f5f1ec; background:radial-gradient(ellipse at 52% 46%,#45354b 0%,#282431 42%,#201e23 74%); }
.stage-head { display:flex; justify-content:space-between; align-items:center; }
.stage-head span { display:flex; align-items:center; gap:8px; font-size:17px; }
.stage-head i { width:7px; height:7px; border-radius:50%; background:#cdb3ee; }
.stage-head button { border:1px solid #ffffff36; border-radius:24px; padding:5px 11px; background:transparent; color:#ede5f1; font-size:12px; }
.stage-sky { position:relative; display:grid; place-items:center; min-height:190px; flex:1; isolation:isolate; }
.stage-avatar { position:relative; width:clamp(120px,15vw,195px); height:auto; aspect-ratio:1; box-shadow:none; background:linear-gradient(160deg,#facb0e,#f06ba8,#78bae6); }
.stage-avatar.orb--canvas { background:none; }
.stage-avatar canvas,.stage-avatar .argo-eyes { position:absolute; inset:0; width:100%; height:100%; }
.orbit-ring { position:absolute; z-index:-1; left:50%; top:50%; border:1px solid #bfa7cc40; border-radius:50%; transform:translate(-50%,-50%) rotate(-22deg); }
.ring-one { width:87%; height:47%; }.ring-two { width:65%; height:72%; transform:translate(-50%,-50%) rotate(39deg); border-style:dashed; opacity:.54; }
.signal { position:absolute; color:#eee8f4; background:#322e39; border:1px solid #726779; border-radius:28px; padding:5px 10px; font-size:12px; }
.left-signal { left:1%; top:64%; }.right-signal { right:1%; top:20%; }
.argo-stage figcaption { border-top:1px solid #ffffff2a; padding:16px 1px 2px; }
.argo-stage figcaption small { font-size:10px; color:#cdc1d4; }
.argo-stage figcaption p { font-size:clamp(18px,1.8vw,25px); line-height:1.24; letter-spacing:-.025em; max-width:30ch; margin:6px 0; min-height:2.5em; }
.assessment { border-top:1px solid var(--line); padding-top:30px; }
.rail .back-to-paths { font-size:13px; padding:0; margin-bottom:19px; text-decoration:underline; text-underline-offset:4px; }
.panel { border-radius:22px; }.panel-top { background:#f8f6fa; }.panel-top span:last-child { color:#65576d; }
.question,.result,.launch-step { animation:step-in .28s ease-out both; }
.launch-step { padding:32px; }.launch-step h2 { font-size:clamp(28px,3vw,40px); font-weight:450; letter-spacing:-.035em; line-height:1.1; margin:8px 0 12px; }
.progress-fill { background:linear-gradient(90deg,#e89c65,#ce7fa6,#9585b8); }
.choice { border-radius:12px; min-height:84px; transition:transform .2s,background .2s,border-color .2s; }
.choice:hover { background:#faf7fc; border-color:#b2a7ba; }
.choice:has(input:checked) { background:#f6eff8; border-color:#8e789d; box-shadow:inset 0 0 0 1px #8e789d; }
.choice:has(input:checked) .mark { background:#6d587c; border-color:#6d587c; }
.focus-card { background:#f4eff6; border-color:#ddd3e4; }.focus-card p { color:#574b5e; }
.launch-actions { display:flex; justify-content:space-between; margin-top:24px; gap:12px; }
@keyframes step-in { from { opacity:.45; transform:translateY(7px); } to { opacity:1; transform:none; } }
@media(max-width:760px) {
 .build-entry { grid-template-columns:1fr; gap:24px; padding:32px 0; }
 .entry-intro { margin:16px 0; }.entry-label { margin-bottom:12px; }
 .argo-stage { padding:16px 20px; border-radius:20px; }.stage-sky { min-height:145px; }.stage-avatar { width:125px; }
 .argo-stage figcaption p { min-height:0; }.signal { font-size:11px; }
 .launch-step { padding:24px 20px; }.assessment { scroll-margin-top:8px; }
}
@media(prefers-reduced-motion:reduce) {
 .question,.result,.launch-step { animation:none; }.path-choice { transition:none; }.path-choice:hover,.path-choice:focus-visible { transform:none; }
}
@media print { .build-entry { display:none; } }
.guide-companion { display:grid; grid-template-columns:auto 1fr; gap:0 8px; align-items:center; padding:12px; margin:0 0 18px; border:1px solid #dcd3dd; border-radius:16px; background:linear-gradient(120deg,#fcf7ef,#eee8f1); }
.guide-avatar-dock { grid-row:span 2; }.guide-companion .stage-avatar { width:58px; }
.guide-companion strong,.guide-companion small { display:block; line-height:1.3; }.guide-companion small { font-size:12px; color:var(--muted); }
.rail .guide-companion button { width:fit-content; padding:2px 0; font-size:10px; text-decoration:underline; text-underline-offset:2px; }
.assessment { border-top:0; min-height:68vh; }
.panel-top { align-items:center; }.panel-top span:first-child { text-transform:uppercase; letter-spacing:.1em; }
.result .opportunity + .opportunity { margin-top:9px; }.result .opportunity h3 { margin:0 0 5px; font-size:17px; }
@media(max-width:760px) {
 .assessment { padding:16px 0 36px; }.rail .back-to-paths { margin:0 0 8px; }
 .guide-companion { display:flex; gap:8px; padding:5px 10px; margin-bottom:9px; }.guide-companion .stage-avatar { width:38px; }
 .rail .guide-companion button { margin-left:auto; }.guide-companion strong { font-size:13px; }
}

/* Keep the latest exchange close to the reply controls. Earlier turns stay available for editing. */
.assessment .panel { background:#fbfaf7; }
.assessment .panel-top { padding:12px clamp(18px,3vw,36px); background:#fff; }
.panel-top .guide-companion { display:flex; align-items:center; gap:10px; padding:0; margin:0; border:0; border-radius:0; background:none; }
.panel-top .stage-avatar { width:46px; }
.panel-top .guide-companion strong { font-size:17px; line-height:1.2; font-weight:500; }
.panel-top .guide-companion small { margin-top:2px; color:var(--muted); }
.guide-companion [data-motion-toggle] { color:var(--muted); font-size:11px; background:none; border:0; text-decoration:underline; text-underline-offset:3px; }
#panel-status { font-size:12px; }
#conversation-history { padding:18px clamp(18px,3vw,36px) 0; }
.older-turns { margin-bottom:16px; }
.older-turns summary { cursor:pointer; width:fit-content; padding:4px 0; font-size:13px; color:#63576b; }
.exchange { display:grid; gap:6px; margin:6px 0 0; }
.past-prompt { max-width:58ch; font-size:14px; line-height:1.5; color:#5e5661; }
.sent { justify-self:end; max-width:min(85%,54ch); padding:10px 16px 8px; border-radius:16px 16px 4px 16px; background:#eae3f0; color:#302636; overflow-wrap:anywhere; }
.speaker { display:block; font-size:11px; font-weight:550; color:#67596c; }
.sent p { font-size:15px; margin:2px 0 0; }
.sent button { border:0; background:none; color:#67596c; padding:3px 0; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.assessment :is(.question,.launch-step,.result) { padding:20px clamp(18px,3vw,36px) 26px; }
.question > .eyebrow,.launch-step > .eyebrow,.question > .question-icon { display:none; }
.argo-message { width:fit-content; max-width:min(95%,58ch); padding:14px 18px 16px; border:1px solid #d9d0dc; border-radius:4px 18px 18px; background:#fff; overflow-wrap:anywhere; }
.argo-message .argo-response { font-size:16px; line-height:1.5; color:#4f4951; margin:4px 0; }
.assessment .argo-message h2 { font-size:clamp(21px,2.15vw,29px); line-height:1.22; font-weight:450; margin:8px 0 0; max-width:36ch; }
.question-sub { margin:16px 0 10px; font-size:13px; }
.assessment .choices { gap:7px; }.assessment .choice { align-items:center; min-height:55px; background:white; padding:9px 12px; }
.assessment .choice:has(input:checked) { background:#f3edf7; }
.assessment .choice-icon { width:28px; height:28px; border-radius:8px; }
.assessment .choice-icon svg { width:17px; height:17px; }
.assessment .choice-copy > span { font-size:12px; margin-top:2px; }
.extra-reply { margin-top:16px; }.extra-reply summary { cursor:pointer; width:fit-content; font-size:14px; color:#67596c; }
.extra-reply .field-label { margin:12px 0 5px; }
.result .argo-message { margin:12px 0; }
@media(max-width:760px) {
 .assessment .panel-top { gap:6px; padding:8px 14px; }.panel-top .stage-avatar { width:36px; }
 .panel-top .guide-companion { gap:5px; flex-wrap:wrap; }.guide-companion [data-motion-toggle] { font-size:10px; }
 .panel-top { flex-wrap:wrap; }.panel-top .guide-companion small,#panel-status { font-size:11px; }
 .assessment .choices { grid-template-columns:1fr; }.assessment .choice { min-height:44px; }
}
@media print { #conversation-history,.extra-reply,.argo-message { display:none; } }
