.stage-flow{max-width:760px;margin:0 auto;padding-bottom:24px}.stage-flow-intro{display:block;height:auto;padding:0;border:0;font-size:inherit;letter-spacing:normal;color:inherit;margin-bottom:24px}.stage-flow-intro h1{font-size:clamp(25px,4vw,38px);line-height:1.2;outline:none}.stage-flow-count,.stage-flow-saved{font-size:13px;color:var(--muted,#566579)}.stage-flow-help{line-height:1.6}.stage-flow-own-words{font-size:14px;line-height:1.6}.stage-flow-form{display:block}.stage-flow-field{display:grid;gap:9px;margin:0 0 24px}.stage-flow-field label,.stage-flow-field-label{font-weight:600;line-height:1.5}.stage-flow-field input,.stage-flow-field textarea{box-sizing:border-box;width:100%;font:inherit;font-size:16px;line-height:1.5;padding:13px 14px;border:1px solid #8794a5;border-radius:8px;background:#fff;color:#172339}.stage-flow-field textarea{resize:vertical;min-height:100px}.stage-flow input:focus-visible,.stage-flow textarea:focus-visible,.stage-flow button:focus-visible{outline:3px solid #b48735;outline-offset:3px}.stage-flow-choices{border:0;padding:0;margin:0;min-width:0}.stage-flow-choice{display:flex;align-items:flex-start;gap:12px;padding:14px 12px;margin-bottom:10px;border:1px solid #b5bfcc;border-radius:8px;cursor:pointer;overflow-wrap:anywhere}.stage-flow-choice input{padding:0;box-sizing:border-box;width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;accent-color:#183751}.stage-flow-saved{min-height:20px;margin:0 0 10px;color:#4e695c}.stage-flow-error{color:#8a2b20}.stage-flow-actions{display:flex;gap:12px;justify-content:flex-end;position:sticky;bottom:0;z-index:2;background:var(--paper,#fffdf7);padding:16px 0 calc(16px + env(safe-area-inset-bottom));border-top:1px solid #d7dde4}.stage-flow-actions button{min-height:48px;white-space:normal}.stage-flow-review{padding:18px 0;border-top:1px solid #d7dde4}.stage-flow-review>summary{cursor:pointer}.stage-flow-review h2{display:inline;font-size:22px;line-height:1.4;margin:0}.stage-flow-review-values{overflow-wrap:anywhere;white-space:pre-wrap}.stage-flow-review[open]>summary>.stage-flow-review-values{display:none}.stage-flow-review:not([open])>.stage-flow-review-inputs{display:none}.stage-flow-review-inputs{padding-top:20px}.stage-flow-second-look,.stage-flow-first-move{margin-top:24px;padding:22px;border:1px solid #d7dde4;border-radius:10px}.stage-flow-second-look h2{font-size:22px}.stage-flow-second-look li{margin:12px 0;line-height:1.6}.stage-flow [hidden]{display:none!important}@media(max-width:600px){.stage-flow{padding-bottom:0}.stage-flow-form{min-height:calc(100dvh - 180px);padding-bottom:calc(130px + env(safe-area-inset-bottom))}.stage-flow-intro{margin-bottom:20px}.stage-flow-actions{position:fixed;left:0;right:0;bottom:0;width:auto;box-sizing:border-box;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));z-index:20;flex-wrap:wrap}.stage-flow-actions .primary{flex:1}.stage-flow-actions .secondary{flex:0 0 auto}.stage-flow-field{margin-bottom:20px}.stage-flow-first-move,.stage-flow-second-look{padding:16px}}
.stage-flow,.stage-flow-form,.stage-flow-field,.stage-flow-review-inputs{min-width:0}
.stage-flow :is(h1,h2,h3,p,label,summary),.stage-flow-choice>span{overflow-wrap:anywhere}
.stage-flow-choice>span{min-width:0}
.stage-flow .drishti-handoff{min-width:0;max-width:100%;overflow-wrap:anywhere}
.stage-flow-actions button{min-width:0;max-width:100%;margin:0;overflow-wrap:anywhere}
.stage-note-record,.stage-note-questions,.stage-note-questions li,.stage-note-answer{min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.stage-note-questions{list-style:none;padding:0;margin:0}
.stage-note-questions li{padding:18px 0;border-top:1px solid #d7dde4}
.stage-note-answer-label{font-weight:600;font-size:14px;line-height:1.5}
.stage-note-answer{white-space:pre-wrap;margin:8px 0 12px;padding:12px 16px;border-left:3px solid #b48735;background:#f4f1e9}
.stage-note-question{font-weight:600;line-height:1.6}
@media(max-width:600px){
 .stage-flow{max-width:100%;min-height:100dvh;box-sizing:border-box;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
 .stage-flow-form{min-height:0;flex:1;display:flex;flex-direction:column;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .stage-flow-actions{position:fixed;left:0;right:0;bottom:0;width:auto;gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));z-index:20;flex-wrap:nowrap;align-items:stretch}
 .stage-flow-actions{margin-top:auto}
 .stage-flow-actions button{font-size:14px;line-height:1.4}
 .stage-flow-actions .primary{flex:1 1 0}
 .stage-flow-actions .secondary{flex:0 0 auto}
 /* Keep tap targets stable on focus. Short viewports use normal flow below. */
 .stage-flow-field input,.stage-flow-field textarea{scroll-margin-block:20px 100px}
}
@media(max-width:600px) and (max-height:500px){
 .stage-flow-actions{position:static}
}
