/* Legacy styles, kept in the lowest cascade layer while screens move to the design system.
   Generated by qa/polish/tools/build-legacy-layer.mjs. Do not add to this file. */
@layer legacy {

/* ======== presence.css ======== */
@font-face{font-family:'Instrument Sans';src:url('../assets/fonts/InstrumentSans-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:'Instrument Sans';src:url('../assets/fonts/InstrumentSans-Medium.woff2') format('woff2');font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:'Instrument Sans';src:url('../assets/fonts/InstrumentSans-SemiBold.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'Instrument Serif';src:url('../assets/fonts/InstrumentSerif-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
/* HumanOS Presence: cyan, clear ink and quiet white surfaces.
   Original HumanOS logo, locally served Instrument typefaces, and readable left alignment. No external asset requests. */
:root{--paper:#fff;--surface:#f3f8fa;--raised:#e3f2f8;--ink:#182d38;--muted:#495e6a;--faint:#526975;--accent:#00afea;--action:#0076a3;--accent-hover:#00658d;--accent-ink:#00688e;--accent-ink-hover:#005574;--on-accent:#092d3d;--line:#dce6eb;--control:#7e96a3;--negative:#ae3045;--ease:cubic-bezier(.22,1,.36,1);font-family:'Instrument Sans',system-ui,sans-serif;font-synthesis:none;color:var(--ink);background:var(--paper);font-size:100%}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;background:none;border:0;transition:transform 140ms var(--ease),background-color 160ms ease,color 160ms ease}button:active{transform:scale(.98)}button:disabled{cursor:not-allowed;transform:none}button svg{pointer-events:none}a{color:inherit}svg{flex:none}p{margin:0;line-height:1.6}h1,h2,h3{margin:0;font-weight:500}h1{font-size:1.875rem;line-height:1.2;letter-spacing:-.025em;font-weight:600;overflow-wrap:anywhere;text-wrap:pretty}h2{font-size:1.375rem;line-height:1.35;letter-spacing:-.015em;font-weight:600}h3{font-size:1.0625rem;line-height:1.4;font-weight:600}small{font-size:13px}img{display:block;max-width:100%}[hidden]{display:none}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent-ink);outline-offset:4px}h1:focus{outline:none}::selection{background:var(--raised)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* A single responsive app canvas. Studio controls stay outside the experience. */
.workspace{width:100%;margin:0 auto}.app-shell{position:relative;display:flex;flex-direction:column;width:100%;max-width:520px;min-height:100svh;margin:0 auto;background:var(--paper)}
.app-header{display:flex;align-items:center;gap:14px;min-height:82px;padding:22px 28px 16px;flex:none}.brand-lockup{width:132px;height:auto;flex:none}.mark{width:36px;height:36px;object-fit:contain}.app-context{margin-left:auto;min-width:0;font-size:13px;color:var(--muted)}.profile-link{min-height:44px;max-width:125px;padding:8px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--muted)}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;width:44px;height:44px;border-radius:50%;font-size:26px}.icon-button svg{width:20px;height:20px}.back-button{margin-left:-10px}.back-button+.brand-lockup{width:118px}
.content{display:flex;flex-direction:column;flex:1;padding:1.5rem;min-width:0}.content>h1,.content>.intro{text-align:left}.content.compact{padding-top:28px}.eyebrow{display:flex;align-items:center;justify-content:flex-start;gap:8px;color:var(--muted);font-size:.875rem;font-weight:500;line-height:1.45;margin-bottom:.75rem}.eyebrow .dot{display:none}.intro{font-size:1rem;line-height:1.6;color:var(--muted);margin-top:1rem;text-wrap:pretty}.footer{margin-top:auto;padding-top:1.75rem}.footer-note{font-size:.8125rem;line-height:1.5;color:var(--faint);text-align:left;margin:.875rem 0 0}
.primary,.secondary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:54px;border-radius:14px;padding:15px 22px;font-size:1rem;font-weight:600;text-decoration:none;line-height:1.45}.primary{background:var(--action);color:#fff}.primary svg{width:17px;height:17px}.primary:disabled{background:var(--line);color:var(--muted)}.secondary{background:var(--raised);color:var(--accent-ink);margin-top:12px}.text-button{display:block;min-height:48px;width:100%;font-size:.9375rem;line-height:1.5;color:var(--muted);text-align:center;padding:12px 4px}.footer .text-button:first-of-type{margin-top:4px}
input,textarea,select{width:100%;background:var(--paper);border:1px solid var(--control);border-radius:16px;padding:15px 16px;font-size:16px;line-height:1.55}textarea{min-height:128px;resize:vertical}input::placeholder,textarea::placeholder{color:var(--faint)}label{display:block;font-size:.9375rem;font-weight:500;line-height:1.5;margin-bottom:10px}label small{font-size:13px;color:var(--faint)}select{min-height:54px}.field-group{margin-top:26px}.field-error{color:var(--negative);font-size:14px;min-height:21px;margin:8px 0}
/* Welcome keeps the agreed three-part promise and the complete existing copy. */
.welcome{padding-top:1.5rem}.welcome h1{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(2.5rem,8vw,2.75rem);font-weight:400;line-height:1.08;letter-spacing:-.015em;max-width:18ch}.welcome .intro{max-width:none;align-self:stretch}.welcome-path{list-style:none;padding:0;margin:1.75rem 0 1.5rem}.path-row{position:relative;display:grid;grid-template-columns:1.75rem minmax(0,1fr);column-gap:.875rem;padding-bottom:1.75rem}
.path-row:not(:last-child)::before{content:"";position:absolute;left:calc(.875rem - .5px);top:2rem;bottom:.25rem;width:1px;background:var(--line)}
.path-row:last-child{padding-bottom:0}
.path-marker{display:grid;place-items:center;align-self:start;width:1.75rem;height:1.75rem;border:1px solid var(--control);border-radius:50%;background:var(--paper);color:var(--accent-ink);font-size:.8125rem;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.path-row:first-child .path-marker{background:var(--action);border-color:var(--action);color:#fff}
.path-copy{padding-top:.125rem}.path-row p{font-size:1rem;color:var(--muted);margin-top:.375rem;line-height:1.5}.welcome .footer{padding-top:1.5rem}
/* One question and one action; selected choices are unmistakable without colour. */
.question-phase{display:flex;justify-content:space-between;gap:16px;font-size:.875rem;line-height:1.5;color:var(--muted);margin-bottom:12px}.stepper{display:flex;gap:5px;margin-bottom:1.75rem}.stepper span{height:3px;border-radius:2px;background:var(--line);flex:1}.stepper .current{background:var(--accent)}.question-title{font-size:1.75rem;line-height:1.25}.final-question .intro{font-size:1rem;margin-top:.875rem}.options{display:grid;grid-template-columns:1fr;gap:10px;margin-top:1.75rem}.option{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;border-radius:16px;border:1px solid var(--line);padding:15px 17px;text-align:left;background:var(--paper)}.option strong{font-size:1rem;font-weight:500;line-height:1.45}.option small{display:block;color:var(--muted);margin-top:5px}.selector{height:21px;width:21px;display:grid;place-items:center;border:1px solid var(--control);border-radius:50%;flex:none;color:transparent}.selector svg{width:13px;height:13px}.multi .selector{border-radius:6px}.option.selected{background:var(--surface);border-color:var(--accent-ink)}.option.selected .selector{color:var(--on-accent);border-color:var(--accent-ink);background:var(--accent)}.feedback{font-size:.875rem;line-height:1.5;color:var(--muted);min-height:20px;margin-top:1rem}.gentle-note{font-size:.9375rem;color:var(--muted);margin-top:1.5rem;line-height:1.6}.final-question .footer{padding-top:28px}
.profile-screen{padding-top:2rem}.name-field{margin-top:2.5rem}.name-field label{text-align:left;color:var(--muted)}.name-field input{font-size:1.625rem;border:0;border-bottom:1px solid var(--control);border-radius:0;text-align:left;padding:16px 0}.name-field input::placeholder{font-size:16px}.hello-note{display:flex;align-items:flex-start;justify-content:flex-start;gap:16px;margin:2rem 0;color:var(--muted);font-size:1rem;line-height:1.6}.profile-screen .hello-symbol{flex:none}
/* Recognition and vision use quiet paper surfaces, not dashboard cards. */
.starting-direction{background:var(--surface);border-radius:22px;padding:28px 24px;margin-top:32px}.route-caption{font-size:13px;color:var(--accent-ink)}.starting-direction h2{font-size:1.5rem;line-height:1.3;margin:14px 0 16px}.starting-direction p{font-size:1rem;line-height:1.6;color:var(--muted)}.starting-direction .mirror-insight{margin-top:20px;padding-top:20px;border-top:1px solid var(--line);color:var(--ink)}
.vision-paper{background:var(--surface);border-radius:22px;padding:26px 24px;margin-top:30px}.paper-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-bottom:24px}.paper-head svg{width:20px;height:20px;color:var(--accent-ink)}.vision-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.125rem;line-height:1.7}.paper-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.paper-foot button{min-height:44px;font-size:13px;color:var(--accent-ink);text-decoration:underline;text-underline-offset:4px}.sample-disclosure{font-size:12px;color:var(--faint);margin-top:15px;line-height:1.6}.story-quote{padding-top:20px;margin-top:24px;border-top:1px solid var(--line);font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.story-quote small{display:block;font-size:13px;color:var(--muted);margin-bottom:10px}
/* Call presence is a code-native cyan cohesion symbol, never microphone activity. */
.preview-notice{font-size:.8125rem;line-height:1.6;color:var(--faint);text-align:left;margin-top:1.5rem;padding:0}
.guided-call{padding-top:16px}.call-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:26px}.call-steps span{border-top:3px solid var(--line);padding-top:10px;font-size:.8125rem;line-height:1.4;color:var(--muted)}.call-steps .active,.call-steps .done{border-color:var(--accent-ink)}.call-steps .active{color:var(--accent-ink)}.guided-call .eyebrow{margin-bottom:5px;font-size:.8125rem}.guided-call h1{font-size:1.25rem;line-height:1.35;letter-spacing:-.015em}.voice-symbol{display:flex;justify-content:center;align-items:center;height:148px;margin:7px 0 0}.call-preview{font-size:.8125rem;color:var(--faint);text-align:left;margin-bottom:1.5rem}.guided-prompt,.call-prompt{font-size:1.5rem;font-weight:500;line-height:1.4;letter-spacing:-.015em;text-align:left;text-wrap:pretty}.guided-call .field-group{margin-top:26px}.guided-call label{color:var(--muted);font-size:.875rem}.guided-call textarea{min-height:112px;font-size:1rem;background:var(--paper);border-color:var(--control)}.sample-answer{align-self:flex-start;min-height:44px;color:var(--accent-ink);font-size:.875rem;text-decoration:underline;text-underline-offset:4px;padding:10px 0}.call-controls{display:flex;justify-content:flex-start;align-items:center;gap:12px;margin-top:0;flex-wrap:wrap}.call-controls button{min-height:44px;padding:10px 0;font-size:.875rem;color:var(--muted)}.guided-call .footer{padding-top:18px}.correction-context{font-size:13px;line-height:1.6;overflow-wrap:anywhere;color:var(--muted);background:var(--surface);border-radius:12px;padding:14px;margin-top:20px}.writing-call .guided-prompt{margin-top:1.75rem}.writing-call textarea{min-height:170px}.call-review textarea{font-size:16px;min-height:120px}.call-review label{font-size:14px}.call-orbit{width:180px;height:180px;margin:35px auto 14px;display:grid;place-items:center}.call-sub{font-size:1rem;color:var(--muted);text-align:left;margin-top:1.375rem}
/* Home gives the next check-in a centered alarm-clock display. */
.clock-home{padding-top:30px}.home-greeting{text-align:left}.home-greeting h1{font-size:1.375rem;line-height:1.4;letter-spacing:-.02em}.home-greeting p{font-size:1rem;color:var(--muted);margin-top:8px}.clock-face{text-align:center;padding:2rem 0 1.5rem}.clock-caption{font-size:.875rem;color:var(--muted)}.clock-digits{display:flex;justify-content:center;align-items:baseline;gap:10px;margin:8px 0 5px;font-variant-numeric:tabular-nums}.clock-digits>span{font-size:88px;line-height:1.16;letter-spacing:-5px;font-weight:400}.clock-digits small{font-size:18px;color:var(--muted)}.clock-kind{font-size:1.0625rem;font-weight:500}.clock-relative{font-size:.875rem;color:var(--faint);margin-top:8px}.paused-clock{display:flex;justify-content:center;padding:25px 0}.paused-clock svg{height:65px;width:65px;stroke-width:1.2;color:var(--accent-ink)}.rhythm-strip{display:grid;grid-template-columns:1fr 1fr;margin:24px 0 0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.rhythm-strip>div{text-align:left}.rhythm-strip>div+div{border-left:1px solid var(--line);padding-left:1.5rem}.rhythm-strip span{display:block;font-size:13px;color:var(--muted);margin-bottom:7px}.rhythm-strip strong{font-size:19px;font-weight:400;font-variant-numeric:tabular-nums}.rhythm-strip strong small{font-size:13px;color:var(--muted)}.clock-practice{display:flex;gap:12px;align-items:center;padding:24px 0}.clock-practice>div{flex:1;min-width:0}.clock-practice small{font-size:13px;color:var(--muted)}.clock-practice p{font-size:1rem;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.action-check-wrap{align-self:stretch;display:grid;place-items:center;min-width:44px;min-height:44px;margin-left:-8px}.action-check{height:23px;width:23px;border:1px solid var(--control);border-radius:50%;display:grid;place-items:center}.action-check svg{width:14px;height:14px}.action-check.is-done{background:var(--accent);color:var(--on-accent);border-color:var(--accent-ink)}.clock-practice .icon-button{margin-right:-9px}.clock-practice .icon-button svg{width:18px;height:18px}.compass-shortcut{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;padding:22px 0;border-top:1px solid var(--line);text-align:left}.compass-shortcut>span{display:flex;gap:14px;align-items:center}.compass-shortcut svg{width:20px;height:20px;color:var(--accent-ink)}.compass-shortcut>svg{width:16px;height:16px;color:var(--muted)}.compass-shortcut strong{font-size:1rem;font-weight:600;display:block}.compass-shortcut small{font-size:13px;color:var(--muted);display:block;margin-top:6px;line-height:1.4}.schedule-disclosure{font-size:.8125rem;color:var(--faint);text-align:left;margin-top:auto;padding-top:18px}
.bottom-nav{position:sticky;bottom:0;z-index:2;background:var(--paper);display:flex;gap:4px;border-top:1px solid var(--line);padding:10px 20px max(12px,env(safe-area-inset-bottom))}.bottom-nav button{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:6px;font-size:12px;min-height:55px;border-radius:16px;color:var(--muted)}.bottom-nav button svg{width:21px;height:21px;stroke-width:1.5}.bottom-nav .active{color:var(--accent-ink);background:var(--surface)}
/* Compass puts the next conversation, kept words, and path in one reading order. */
.compass-screen h1{font-size:30px}.compass-screen>.intro{font-size:1rem}.compass-next{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1.375rem;margin-top:1.75rem}.next-label{font-size:12px;color:var(--muted);display:flex;gap:8px;align-items:center}.next-label svg{width:16px;height:16px;color:var(--accent-ink)}.compass-next h2{font-size:24px;margin-top:20px;line-height:1.3}.compass-next>p{font-size:1rem;color:var(--muted);line-height:1.6;margin-top:.875rem}.conversation-outcome{margin-top:20px;padding:18px 0 22px;border-top:1px solid var(--line)}.conversation-outcome small{display:block;font-size:12px;color:var(--muted)}.conversation-outcome strong{display:block;font-size:1rem;font-weight:500;line-height:1.5;margin-top:8px}.time-note{display:block;font-size:.8125rem;color:var(--muted);text-align:left;margin-top:.875rem}.history-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:32px 0 12px}.history-heading h2{font-size:1.0625rem;letter-spacing:0}.history-heading>span{font-size:12px;color:var(--muted)}.history-entry{width:100%;display:flex;align-items:flex-start;gap:12px;text-align:left;border-bottom:1px solid var(--line);padding:20px 0}.history-entry>span:nth-child(2){flex:1;min-width:0}.history-dot svg{width:19px;height:19px;color:var(--muted);margin-top:2px}.history-entry>svg{width:16px;height:16px;margin-top:4px;color:var(--muted)}.history-entry strong{display:block;font-size:1rem;font-weight:600}.history-entry small{display:block;font-size:12px;color:var(--muted);margin-top:6px}.history-entry p{font-size:.9375rem;line-height:1.5;color:var(--muted);margin-top:9px;overflow-wrap:anywhere}.empty-note{font-size:1rem;color:var(--muted);line-height:1.6;padding:22px 0}.journey-link{display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;min-height:58px;width:100%;padding:16px 0;margin-top:14px;font-size:15px;color:var(--accent-ink)}.journey-link svg{width:18px;height:18px}
/* Time choices are grouped controls; the action stays in its own bottom rail. */
.content.schedule-screen{--schedule-inset:1.5rem;padding-bottom:0}
.schedule-fields{display:grid;gap:.875rem;margin-top:1.75rem}
.schedule-field{padding:1rem;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.schedule-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.schedule-top h2{font-size:1.0625rem;line-height:1.4;letter-spacing:-.01em}
.schedule-field p{font-size:.875rem;line-height:1.5;color:var(--muted);margin:.375rem 0 0}
.schedule-time-row{display:grid;grid-template-columns:minmax(0,1fr) 5.75rem;gap:.75rem;align-items:center;min-height:4.5rem;margin-top:.75rem}
.schedule-field input{width:100%;min-width:0;min-height:56px;padding:.625rem .75rem;font-size:1.75rem;line-height:1.2;font-weight:500;letter-spacing:-.025em;font-variant-numeric:tabular-nums;background:var(--paper);border:1px solid var(--control);border-radius:10px;scroll-margin-block:1.5rem 11rem}
.schedule-field input:disabled{color:var(--faint);background:var(--surface);border-color:var(--line)}
.schedule-field input::-webkit-calendar-picker-indicator{width:20px;height:20px;margin-left:0;padding:0;cursor:pointer}
.schedule-field small{display:block;font-size:.8125rem;line-height:1.45;color:var(--muted)}
.schedule-notes{margin:1rem 0 1.5rem;color:var(--faint)}
.schedule-notes>p{font-size:.8125rem;line-height:1.5}
.schedule-notes .preview-notice{margin:.5rem 0 0;text-align:left}
.schedule-actions{position:sticky;bottom:0;z-index:3;flex:none;margin:auto calc(-1 * var(--schedule-inset)) 0;padding:1rem var(--schedule-inset) max(.5rem,env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line)}
.schedule-actions .primary{min-height:58px;font-size:1.0625rem}
.schedule-actions .text-button{min-height:44px;padding:.625rem .25rem}
@media(min-width:1000px){.content.schedule-screen{--schedule-inset:2rem}}
@media(max-width:360px){.content.schedule-screen{--schedule-inset:1.25rem}.schedule-time-row{grid-template-columns:minmax(0,1fr);gap:.5rem}.schedule-field small{min-height:2.9em}.schedule-field input{font-size:1.625rem}}
.toggle{position:relative;width:48px;height:29px;min-height:29px;border-radius:20px;background:var(--control);flex:none}.toggle:after{content:'';position:absolute;inset:-8px -2px}.toggle span{position:absolute;left:3px;top:3px;width:23px;height:23px;border-radius:50%;background:var(--paper);transition:transform 160ms var(--ease)}.toggle.on{background:var(--accent)}.toggle.on span{transform:translateX(19px)}
.action-options{margin-bottom:28px}.saved-note{padding:22px;background:var(--surface);border-radius:18px;margin-top:26px}.saved-note small{display:block;font-size:13px;color:var(--muted);margin-bottom:12px}.saved-note p{font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.complete-mark{display:grid;place-items:center;width:48px;height:48px;margin:12px 0 24px;background:var(--surface);border-radius:50%;color:var(--accent-ink)}.complete-mark svg{width:23px;height:23px}.reflection{margin:28px 0 12px}.reflection-row{padding:20px 0;border-bottom:1px solid var(--line)}.reflection-row small{display:block;font-size:13px;color:var(--muted);margin-bottom:10px}.reflection-row p{font-size:18px;line-height:1.5}.story-prompts{list-style:none;padding:0;margin:35px 0 24px}.story-prompts li{font-size:1.25rem;line-height:1.5;text-align:left}.story-prompts small{display:block;font-size:13px;color:var(--muted);margin-top:16px}.mode-switch{display:flex;background:var(--surface);border-radius:28px;padding:4px;gap:4px;margin:20px 0 24px}.mode-switch button{flex:1;min-height:44px;border-radius:24px;font-size:14px;color:var(--muted)}.mode-switch .active{background:var(--raised);color:var(--accent-ink)}.addition{padding:24px 0;border-bottom:1px solid var(--line)}.addition-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--muted);margin-bottom:10px}.addition button{min-height:44px;color:var(--accent-ink);font-size:13px;text-decoration:underline}.addition p{font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.journey-list{list-style:none;padding:0;margin:35px 0 0}.journey-item{position:relative;padding:0 0 34px 42px}.journey-item:before{content:'';position:absolute;left:12px;top:27px;bottom:0;width:1px;background:var(--line)}.journey-item:last-child:before{display:none}.journey-dot{position:absolute;left:0;top:0;width:25px;height:25px;border:1px solid var(--control);border-radius:50%;display:grid;place-items:center;font-size:12px;background:var(--paper);color:var(--muted)}.journey-dot.current{background:var(--raised);color:var(--accent-ink);border-color:var(--accent-ink)}.journey-dot.done{background:var(--action);border-color:var(--accent-ink);color:var(--paper)}.journey-dot svg{width:13px;height:13px}.journey-item small{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.journey-item strong{display:block;font-size:16px;font-weight:500;line-height:1.4}.journey-item p{font-size:.9375rem;color:var(--muted);margin-top:8px;line-height:1.6}.journey-open{padding:0;text-align:left;width:100%;min-height:32px}.journey-open strong{display:flex;justify-content:space-between;gap:12px;align-items:center}.journey-open svg{height:16px;width:16px;color:var(--accent-ink)}
dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:24px;padding:28px;max-width:440px;width:calc(100% - 32px);max-height:calc(100svh - 32px);box-shadow:0 20px 70px #102e3c18}dialog::backdrop{background:#102e3c66}.dialog-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.dialog-heading h2{font-size:22px}.dialog-heading .icon-button{flex:none;margin-right:-10px}dialog p{font-size:1rem;line-height:1.6;color:var(--muted);margin:12px 0 24px}dialog .field-error{color:var(--negative);margin:8px 0}dialog textarea{max-height:45svh}
/* The review tools are available without appearing inside the mobile product. */
.studio-bar{position:fixed;top:30px;left:32px;width:215px;display:flex;flex-direction:column;gap:12px;align-items:flex-start;font-size:12px;color:var(--faint)}.studio-brand{text-decoration:none;font-size:14px;color:var(--ink);font-weight:500}.studio-brand span{display:block;font-size:12px;font-weight:400;color:var(--faint);margin-top:6px}.original-link{font-size:12px;text-underline-offset:4px}.quiet{font-size:12px;min-height:36px;padding:6px 0;color:var(--faint)}.prototype-nav{position:fixed;left:32px;top:180px;width:210px;max-height:calc(100svh - 205px);overflow:auto}.prototype-nav summary{cursor:pointer;min-height:44px;font-size:13px;color:var(--muted)}.prototype-nav summary span{display:none}.rail-intro,.rail-copy,.rail-foot{display:none}.scene{display:flex;width:100%;gap:12px;align-items:center;text-align:left;min-height:56px;padding:12px;border-radius:12px;font-size:13px;margin:4px 0}.scene.active{background:var(--surface);color:var(--accent-ink)}.scene small{display:block;font-size:12px;color:var(--faint);margin-top:4px;line-height:1.45}.scene-number{font-size:12px;color:var(--faint)}.design-notes{display:none}.call-brief{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.call-brief summary{cursor:pointer;min-height:44px}.call-brief dt{color:var(--faint);margin-top:16px}.call-brief dd{margin:5px 0 0}.research-links{margin-top:32px}.research-links a{display:inline-block;font-size:12px;margin:8px 12px 0 0;min-height:32px}.note-label,.note-source{font-size:12px;color:var(--faint)}.design-notes h2{font-size:22px;margin:18px 0}.design-notes p{font-size:14px;color:var(--muted)}body[data-studio="true"] .design-notes{display:block;position:fixed;right:28px;top:32px;width:215px;max-height:calc(100svh - 64px);overflow:auto;font-size:13px;line-height:1.6}
@media(hover:hover) and (pointer:fine){.primary:not(:disabled):hover{background:var(--accent-hover)}.secondary:hover,.mode-switch button:hover{background:var(--raised)}.option:not(.selected):hover{border-color:var(--control);background:var(--surface)}.text-button:hover,.profile-link:hover,.quiet:hover{color:var(--accent-ink)}.icon-button:hover,.history-entry:hover,.scene:hover{background:var(--surface)}.journey-link:hover,.sample-answer:hover{color:var(--accent-ink-hover)}}
@media(min-width:1000px){.app-shell{position:relative;display:flex;flex-direction:column;width:100%;max-width:520px;min-height:100svh;margin:0 auto;background:var(--paper)}.welcome{padding-top:1.5rem}.clock-face{text-align:center;padding:2rem 0 1.5rem}}
@media(max-width:999px){.studio-bar,.prototype-nav,body[data-studio="true"] .design-notes{display:none}body[data-studio="true"] .studio-bar{position:static;display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:auto;padding:12px 20px;border-bottom:1px solid var(--line)}body[data-studio="true"] .studio-brand span,body[data-studio="true"] .original-link{display:none}body[data-studio="true"] .prototype-nav{position:static;display:block;width:auto;max-height:none;margin:0;padding:0 20px}body[data-studio="true"] .prototype-nav summary{display:flex;align-items:center;justify-content:space-between}body[data-studio="true"] .prototype-nav summary:after{content:'+'}body[data-studio="true"] .prototype-nav details[open] summary:after{content:'−'}body[data-studio="true"] .scene-nav{display:grid;grid-template-columns:1fr 1fr;gap:4px}body[data-studio="true"] .app-shell{min-height:calc(100svh - 100px)}}
@media(max-width:540px){.app-header{padding:18px 24px 12px;min-height:74px}.content{display:flex;flex-direction:column;flex:1;padding:1.5rem;min-width:0}.welcome{padding-top:1.5rem}.welcome h1{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(2.5rem,8vw,2.75rem);font-weight:400;line-height:1.08;letter-spacing:-.015em;max-width:18ch}.welcome-path{list-style:none;padding:0;margin:1.75rem 0 1.5rem}.profile-screen{padding-top:2rem}.question-title{font-size:1.75rem;line-height:1.25}.stepper{display:flex;gap:5px;margin-bottom:1.75rem}.guided-call{padding-top:14px}.voice-symbol{height:132px}.guided-prompt{font-size:1.5rem}.call-preview{font-size:.8125rem;color:var(--faint);text-align:left;margin-bottom:1.5rem}.compass-next{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1.375rem;margin-top:1.75rem}.clock-face{text-align:center;padding:2rem 0 1.5rem}.clock-digits>span{font-size:84px}.footer{margin-top:auto;padding-top:1.75rem}}
@media(max-width:360px){.content{display:flex;flex-direction:column;flex:1;padding:1.5rem;min-width:0}.app-header{padding-left:20px;padding-right:20px}.welcome h1{font-family:'Instrument Serif',Georgia,serif;font-size:clamp(2.5rem,8vw,2.75rem);font-weight:400;line-height:1.08;letter-spacing:-.015em;max-width:18ch}.question-title{font-size:1.75rem;line-height:1.25}.option{padding:14px;gap:10px}.option strong{font-size:1rem;font-weight:500;line-height:1.45}.call-steps{gap:6px}.call-steps span{border-top:3px solid var(--line);padding-top:10px;font-size:.8125rem;line-height:1.4;color:var(--muted)}.clock-digits>span{font-size:76px}.compass-next{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1.375rem;margin-top:1.75rem}.compass-next h2{font-size:22px}.paper-foot{flex-wrap:wrap;gap:0}}
@media(max-width:540px){
  
  .guided-call .question-phase{margin-bottom:10px}.guided-call .call-steps{margin-bottom:18px}.guided-call .call-steps span{padding-top:8px}.guided-call .eyebrow{margin-bottom:5px;font-size:.8125rem}.guided-call .voice-symbol{height:110px;margin:2px 0}.guided-call .call-preview{margin-bottom:18px}.guided-call .guided-prompt{font-size:1.5rem;line-height:1.4}.guided-call .field-group{margin-top:20px}.guided-call textarea{min-height:112px;font-size:1rem;background:var(--paper);border-color:var(--control)}.guided-call .sample-answer{min-height:42px}.guided-call .footer{padding-top:14px}.guided-call .footer .text-button{min-height:44px;padding:10px 4px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none;transition:none;scroll-behavior:auto}button:active{transform:none}}
@media(max-height:950px){
  .clock-home{padding-top:22px;padding-bottom:18px}.clock-face{text-align:center;padding:2rem 0 1.5rem}.clock-digits>span{font-size:78px}.clock-home>.text-button{min-height:44px;padding:10px 4px}.rhythm-strip{margin-top:14px;padding:14px 0}.clock-practice{padding:12px 0}.compass-shortcut{padding:14px 0}.schedule-disclosure{font-size:.8125rem;color:var(--faint);text-align:left;margin-top:auto;padding-top:18px}
}
@media(max-width:540px){.guided-call{padding-bottom:16px}.guided-call .footer{padding-top:10px}}
html.keyboard button{transition:none}html.keyboard button:active{transform:none}

/* Reading order: one left edge, distinct headings, comfortable body copy. */
.mirror-screen > h1{font-size:2.25rem;line-height:1.15;letter-spacing:-.035em}
.archetype-evidence{display:grid;gap:1.125rem;margin:1.75rem 0 0;padding:1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:18px}
.archetype-evidence dt{font-size:.8125rem;line-height:1.5;color:var(--muted)}
.archetype-evidence dd{margin:.25rem 0 0;font-size:1rem;line-height:1.5;font-weight:500;color:var(--ink);text-wrap:pretty}
.archetype-call{margin-top:1.75rem}
.archetype-call h2{font-size:1.125rem;font-weight:600;line-height:1.4;letter-spacing:-.015em}
.archetype-call p{margin-top:.5rem;font-size:1rem;line-height:1.6;color:var(--muted);text-wrap:pretty}
.recognition-loading{justify-content:center;padding-bottom:6rem}
.recognition-loading h1{font-size:2rem;line-height:1.2;max-width:16ch}
.analysis-symbol{margin-bottom:2rem}
.analysis-symbol .cohesion-symbol{width:112px;height:112px}
.analysis-status{margin-top:1rem;min-height:3em;font-size:1rem;line-height:1.5;color:var(--muted)}
.analysis-progress{width:112px;height:3px;margin-top:1.5rem;background:var(--line);border-radius:2px;overflow:hidden}
.analysis-progress span{display:block;height:100%;background:var(--action);transform-origin:left;transform:scaleX(.4);transition:transform 800ms var(--ease)}
.analysis-progress.is-shaping span{transform:scaleX(1)}
.path-row h2{font-size:1.0625rem;font-weight:600;line-height:1.4;letter-spacing:-.01em}
.welcome .intro strong{font-weight:600;color:var(--ink)}
.call-presence-row{display:flex;align-items:center;gap:1.25rem;margin-top:.25rem}
.call-heading{flex:1;min-width:0}
.guided-call .call-presence-row .voice-symbol{height:80px;width:80px;margin:0;flex:none}
.guided-call .call-presence-row .cohesion-symbol{height:80px;width:80px}
.guided-call .call-preview{margin-top:.375rem;margin-bottom:1.5rem}
.call-orbit{margin:1.75rem 0 1rem;width:144px;height:144px}
@media(min-width:1000px){.content{padding-left:2rem;padding-right:2rem}.app-header{padding-left:2rem;padding-right:2rem}}
@media(max-width:360px){.content{padding-left:1.25rem;padding-right:1.25rem}.welcome h1{font-size:2.375rem}.question-title{font-size:1.625rem}}


/* ======== interactions.css ======== */
/* Motion has a job: acknowledge a choice, carry progress, or keep orientation.
   Controls remain in the DOM so feedback can reverse immediately on new input. */
button { transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease); }
button:active { transform: none; }
.primary, .secondary { position: relative; border-radius: 14px; padding-inline: 42px; }
.primary { box-shadow: inset 0 0 0 1px #006b911a; }
.primary svg { position: absolute; right: 22px; transition: transform 240ms var(--ease); }
.primary:disabled { box-shadow: none; }
.primary:not(:disabled):active, .secondary:not(:disabled):active { transform: translateY(1px) scale(.992); transition-duration: 80ms; }
.primary:active svg { transform: translateX(3px); }
.option { border-radius: 14px; transition: background-color 180ms ease, border-color 180ms ease, transform 160ms var(--ease); }
.option:active { transform: scale(.994); transition-duration: 80ms; }
.option.selected { background: var(--surface); border-color: var(--accent-ink); }
.option.selected strong { color: var(--ink); }
.selector { transition: background-color 170ms ease, border-color 170ms ease; }
.option.selected .selector { border-color: var(--accent-ink); }
.selector svg { stroke-width: 2; }
.icon-button svg, .compass-shortcut > svg, .journey-link > svg, .history-entry > svg { transition: transform 220ms var(--ease); }
.icon-button:active { transform: scale(.94); }
.text-button { text-decoration-color: transparent; text-underline-offset: 5px; }
input, textarea, select { transition: border-color 160ms ease, background-color 160ms ease; caret-color: var(--accent-ink); }
input:focus, textarea:focus, select:focus { border-color: var(--accent-ink); }
.guided-call textarea:focus { background: var(--paper); }

/* A continuous line fills into each question, rather than flashing between pages. */
.stepper span { position: relative; overflow: hidden; background: var(--line); }
.stepper .current { background: var(--line); }
.stepper span::after { content: ''; display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.stepper .current::after { transform: scaleX(1); }
.call-steps span { position: relative; border-color: var(--line); }
.call-steps .active, .call-steps .done { border-color: var(--line); }
.call-steps span::before { content: ''; position: absolute; left: 0; right: 0; height: 3px; top: -3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
.call-steps .active::before, .call-steps .done::before { transform: scaleX(1); }


/* Three separate circles draw together. No simulated listening or level meter. */
.cohesion-symbol { display: block; width: 144px; height: 144px; overflow: visible; }
.cohesion-boundary { stroke: var(--line); stroke-width: .8; }
.cohesion-ring { stroke: var(--accent); stroke-width: 1.5; fill: #00afea08; transform-origin: 80px 80px; }
.cohesion-ring-left { transform: translateX(-16px); animation: cohesion-left 9s ease-in-out infinite; }
.cohesion-ring-right { transform: translateX(16px); animation: cohesion-right 9s ease-in-out infinite; }
.cohesion-ring-right > circle:first-child { stroke: var(--accent-ink); opacity: .55; }
.cohesion-point { fill: var(--accent); stroke: none; }
.cohesion-centre-ring { stroke: var(--accent); stroke-width: 1.2; opacity: .4; }
.cohesion-core { fill: var(--accent-ink); }
.voice-symbol { flex: none; }
.voice-symbol.paused .cohesion-symbol { opacity: .4; }
.voice-symbol.paused *, .motion-paused .cohesion-symbol *, html.keyboard .cohesion-symbol * { animation-play-state: paused; }
.call-orbit .cohesion-symbol { width: 180px; height: 180px; }
@keyframes cohesion-left { 0%, 100% { transform: translateX(-16px) rotate(-12deg); } 48%, 58% { transform: translateX(-3px) rotate(0); } }
@keyframes cohesion-right { 0%, 100% { transform: translateX(16px) rotate(12deg); } 48%, 58% { transform: translateX(3px) rotate(0); } }
.analysis-symbol .cohesion-ring-left{animation:recognition-left 1800ms var(--ease) both}
.analysis-symbol .cohesion-ring-right{animation:recognition-right 1800ms var(--ease) both}
@keyframes recognition-left{from{transform:translateX(-20px)}to{transform:translateX(-3px)}}
@keyframes recognition-right{from{transform:translateX(20px)}to{transform:translateX(3px)}}

/* A shared surface moves between destinations; the labels themselves stay still. */
.bottom-nav button { position: relative; z-index: 1; transition: color 180ms ease; }
.bottom-nav .active { background: none; }
.nav-indicator { position: absolute; left: 20px; top: 10px; height: 55px; width: calc((100% - 48px) / 3); border-radius: 14px; background: var(--surface); transform: translateX(calc(var(--nav-index) * (100% + 4px))); transition: transform 300ms var(--ease); pointer-events: none; }
.nav-indicator::after { content: ''; position: absolute; bottom: 0; left: calc(50% - 10px); width: 20px; height: 2px; border-radius: 2px; background: var(--accent); }
.toggle { background: #78909c; }
.toggle.on { background: var(--accent-ink); }
.toggle span { transition: transform 240ms var(--ease); }
.action-check { transition: background-color 180ms ease, border-color 180ms ease; }
.action-check.is-done { border-color: var(--accent-ink); }
.complete-mark { width: 52px; height: 52px; border: 1px solid #00afea55; }
.complete-mark svg { stroke-width: 1.8; }

@media (hover: hover) and (pointer: fine) {
  .primary:not(:disabled):hover { background: var(--accent-hover); }
  .primary:not(:disabled):hover svg { transform: translateX(3px); }
  .back-button:hover svg { transform: translateX(-3px); }
  .compass-shortcut:hover > svg, .journey-link:hover > svg, .history-entry:hover > svg { transform: translateX(3px); }
  .text-button:hover { text-decoration-line: underline; text-decoration-color: currentColor; }
}
@media (max-width: 540px) { .guided-call .cohesion-symbol { height: 110px; width: 110px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none; transition: none; scroll-behavior: auto; }
  button:active, .primary:active svg, .primary:hover svg, .icon-button:hover svg, .compass-shortcut:hover > svg, .journey-link:hover > svg, .history-entry:hover > svg { transform: none; }
}
html.keyboard *, html.keyboard *::before, html.keyboard *::after { transition: none; }
html.keyboard button:active, html.keyboard .primary:active svg { transform: none; }


/* ======== opening.css ======== */
@font-face{font-family:'Opening Sans';src:url('../assets/fonts/DMSans_400Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Opening Sans';src:url('../assets/fonts/DMSans_500Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
body.opening-active{overflow:hidden}
body.opening-active .studio-bar,body.opening-active .prototype-nav,body.opening-active .design-notes{visibility:hidden}
.welcome-opening{position:fixed;z-index:50;inset:0;max-width:520px;margin-inline:auto;overflow:hidden;font-family:'Opening Sans',sans-serif;isolation:isolate}
.opening-canvas,.opening-flight,.opening-words{position:absolute;inset:0;pointer-events:none}
.opening-canvas{background:#fbfafc;overflow:hidden}
.opening-layer{position:absolute;left:50%;top:50%;transform-origin:center;will-change:transform,opacity}
.opening-layer img,.opening-foot img{width:100%;height:100%;max-width:none;display:block;pointer-events:none;user-select:none}
.opening-foot{position:absolute;left:50%;transform-origin:center;will-change:transform,opacity}
.opening-greeting{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:28px}
.opening-lettering{display:block;overflow:visible;flex:none;max-width:none}
.opening-tagline{display:flex;justify-content:center;gap:.18em;margin-top:20px;color:#fff;font-family:'Instrument Serif',Georgia,serif;font-size:clamp(24px,6.7vw,28px);font-weight:400;line-height:1.2;letter-spacing:.005em;font-kerning:normal;white-space:nowrap}
.opening-tagline span,.opening-caption span{display:inline-block;will-change:transform,opacity}
.opening-caption,.opening-pause{position:absolute;left:0;right:0;height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:28px;text-align:center}
.opening-caption-line{display:flex;justify-content:center;column-gap:7px}
.opening-caption{font-size:26px;font-weight:500;line-height:34px;letter-spacing:-.56px;color:#22102a}
.opening-pause strong{font-size:26px;line-height:34px;letter-spacing:-.56px;font-weight:500;color:#22102a}
.opening-pause p{margin-top:6px;font-size:15px;line-height:23px;color:#5f5666}
.opening-controls{position:absolute;left:8px;right:10px;top:max(6px,env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between}
.opening-control{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:0 12px;font-size:14px;line-height:1.5;color:#5f5666;border-radius:12px}
.opening-control svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.opening-control:focus-visible{outline-color:var(--action)}
.opening-sound-hint{position:absolute;bottom:max(34px,env(safe-area-inset-bottom));left:0;right:0;text-align:center;color:#fff;font-weight:500;font-size:13px;line-height:1.5;pointer-events:none}
.opening-again{position:absolute;bottom:max(40px,env(safe-area-inset-bottom));left:24px;right:24px}
@media(max-height:699px){.opening-caption,.opening-pause strong{font-size:23px;line-height:30px}}


/* ======== call.css ======== */
/* One ongoing induction call. The shared orb stays anchored as its context changes. */
.live-call{padding-top:8px;gap:0;padding-bottom:max(20px,env(safe-area-inset-bottom));}
.live-duration{display:flex;align-items:center;gap:7px;font-size:.8125rem;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.live-connection-dot{width:5px;height:5px;border-radius:50%;background:var(--accent-ink)}
.live-call[data-call-phase="ready"] .live-connection-dot,.live-call[data-call-phase="ended"] .live-connection-dot{background:var(--control)}
/* The induction call's original six lights, gradients, mask, blur and drift.
   Gradients are confined to this functional orb; the reading surface stays white. */
.live-topic-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 0;min-height:32px;transition:opacity 240ms ease}
.live-current-topic{font-size:.8125rem;line-height:1.4;color:var(--muted)}
.live-topic-progress{display:flex;align-items:center;gap:12px;flex:none}
.live-topic-count{font-size:.75rem;font-variant-numeric:tabular-nums;color:var(--muted)}
.live-topics{display:flex;gap:5px;list-style:none;padding:0;margin:0}
.live-topic{width:15px;height:3px;border-radius:3px;background:var(--line);transition:background-color 240ms ease}
.live-topic.is-current{background:var(--accent)}
.live-topic.is-done{background:var(--action)}
.live-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;flex:1;min-height:270px;max-height:340px;padding:12px 0 0}
.call-orb{--call-orb-ratio:.8088235294;width:220px;height:220px;flex:none;position:relative;transform:scale(.92);transition:transform 600ms cubic-bezier(.22,1,.36,1),opacity 260ms ease}
.call-orb-float,.call-orb-breath,.call-orb-core{position:absolute;inset:0}
.call-orb-float{animation:call-float 9s ease-in-out infinite}
.call-orb-core{inset:auto;left:50%;top:50%;width:272px;height:272px;margin:-136px;transform:scale(var(--call-orb-ratio));isolation:isolate;overflow:hidden;background:#fff;mask:url('../assets/call/breath-soft-mask.webp') center/100% 100% no-repeat}
.call-orb-cloud{position:absolute;display:block;width:82%;aspect-ratio:1;animation:call-cloud-a 5.2s cubic-bezier(.45,0,.55,1) infinite alternate}
.call-orb-cloud i{position:absolute;inset:0;border-radius:50%;filter:blur(80px) saturate(1.03) brightness(1.02);opacity:1}
.call-orb-cyan{z-index:3;left:-27%;bottom:-18%}
.call-orb-cyan i{background:radial-gradient(circle at 58% 36%,#7ce4cd 0%,#80cfde 48%,transparent 72%);} /* taste-skill-ignore: original induction orb gradient. */
.call-orb-blue{z-index:2;left:0;bottom:-42%;animation:call-cloud-b 5.8s ease-in-out -3.1s infinite alternate}
.call-orb-blue i{background:radial-gradient(circle at 45% 42%,#8cbfed 0%,#afa7e9 50%,transparent 73%);} /* taste-skill-ignore: original induction orb gradient. */
.call-orb-amber{z-index:4;left:-22%;top:-24%;animation:call-cloud-c 4.8s ease-in-out -4.7s infinite alternate}
.call-orb-amber i{background:radial-gradient(circle at 50% 50%,#ffc485 0%,#f6aa7b 48%,transparent 73%);} /* taste-skill-ignore: original induction orb gradient. */
.call-orb-coral{z-index:5;right:-21%;top:-16%;animation:call-cloud-b 5.4s ease-in-out -1.9s infinite alternate-reverse}
.call-orb-coral i{background:radial-gradient(circle at 44% 48%,#ff9c9e 0%,#f291b1 49%,transparent 73%);} /* taste-skill-ignore: original induction orb gradient. */
.call-orb-pink{z-index:3;right:-30%;bottom:-16%;animation:call-cloud-c 6s ease-in-out -5.4s infinite alternate-reverse}
.call-orb-pink i{background:radial-gradient(circle at 40% 38%,#ec88dd 0%,#d994e8 51%,transparent 73%);} /* taste-skill-ignore: original induction orb gradient. */
.call-orb-violet{z-index:2;right:-2%;bottom:-39%;animation:call-cloud-a 5s ease-in-out -2.6s infinite alternate-reverse}
.call-orb-violet i{background:radial-gradient(circle at 46% 37%,#c5a4ef 0%,#b99fe8 48%,transparent 73%);} /* taste-skill-ignore: original induction orb gradient. */
.call-orb-halo{position:absolute;inset:-34%;border-radius:50%;background:radial-gradient(circle,rgba(197,164,239,.34) 0%,rgba(124,228,205,.1) 38%,transparent 64%);opacity:.5;transition:opacity 700ms ease} /* taste-skill-ignore: original induction orb halo. */
.live-call[data-call-phase="speaking"] .call-orb-halo{opacity:.7}
.live-state{font-size:.8125rem;line-height:1.5;color:var(--muted);min-height:20px;text-align:center;margin:8px 0 0}
.live-call[data-call-phase="speaking"] .call-orb{transform:scale(1)}
.live-call[data-call-phase="listening"] .call-orb{transform:scale(.92)}
.live-call[data-call-phase="topic-intro"] .call-orb{transform:scale(.87)}
.live-call[data-call-phase="paused"] .call-orb,.live-call[data-call-phase="ended"] .call-orb{opacity:.7}
.live-call[data-call-phase="paused"] .call-orb *,.live-call[data-call-phase="ended"] .call-orb *{animation-play-state:paused}
.live-call[data-call-mode="modality"] .call-orb{transform:scale(1.1)}
.live-call[data-call-mode="modality"] .call-orb-float{animation-play-state:paused}
.live-call[data-call-mode="modality"] .live-topic-summary{color:var(--muted)}
.live-topic-intro,.live-moment-copy{text-align:center;padding:12px 0;animation:call-arrive 360ms cubic-bezier(.22,1,.36,1) both}
.live-topic-intro h2,.live-moment-copy h2{font-size:1.75rem;font-weight:400;line-height:1.25;letter-spacing:-.035em;margin:9px 0 0;text-wrap:balance}
.live-topic-intro h2{font-family:'Instrument Serif',Georgia,serif;font-size:2.25rem;line-height:1.12;letter-spacing:-.02em}
.live-overline{color:var(--accent-ink);font-size:.8125rem;line-height:1.5}
.live-moment-hint{color:var(--muted);font-size:.9375rem;line-height:1.5;margin-top:12px}
.live-moment-actions{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:82px}
.live-moment-actions>.primary{width:100%}
.live-moment-return{min-height:44px;font-size:.875rem;color:var(--muted);padding:8px 12px}
.live-moment-pause{display:flex;align-items:center;gap:8px;min-height:44px;font-size:.875rem;color:var(--ink);padding:8px 20px;border:1px solid var(--line);border-radius:24px}
.live-moment-pause svg{width:16px;height:16px}
.live-dialogue{margin-top:12px;min-height:154px;padding-bottom:24px}
.live-caption{font-size:1.1875rem;line-height:1.6;letter-spacing:-.012em;text-wrap:pretty;overflow-wrap:anywhere}
.live-caption-copy{animation:call-caption 200ms ease-out}
.live-dialogue[data-captions-hidden="true"] .live-caption-copy{display:none}
.live-captions-off{font-size:.9375rem;color:var(--muted);text-align:center;padding:28px 12px}
.live-bottom{margin-top:auto;padding-top:16px}
.live-controls{display:flex;justify-content:center;gap:32px;align-items:start}
.live-control{display:flex;align-items:center;flex-direction:column;gap:8px;font-size:.75rem;color:var(--muted);padding:0;min-height:76px;min-width:56px}
.live-control-disc{display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--ink);transition:background-color 180ms ease,color 180ms ease,transform 160ms var(--ease)}
.live-control svg{width:22px;height:22px}
.live-control[aria-pressed="true"] .live-control-disc{background:var(--raised);color:var(--accent-ink)}
.live-control[data-action="live-mute"][aria-pressed="true"] .live-control-disc{background:var(--ink);color:var(--paper)}
.live-control.live-end .live-control-disc{background:var(--negative);border-color:var(--negative);color:var(--paper)}
.live-control[data-action="live-more"] svg{stroke-width:4;stroke-linecap:round}
.live-control:active{transform:none}
.live-control:active .live-control-disc{transform:scale(.94)}
.live-control:disabled{opacity:.55}
.live-control:focus-visible{outline-offset:5px;border-radius:8px}
.live-start{margin-bottom:12px}
.live-prototype-note{margin-top:22px;color:var(--faint);font-size:.75rem;line-height:1.5;text-align:center}
.live-resume-link{display:block;margin:10px auto 0;min-height:44px;padding:8px 12px;font-size:.875rem;color:var(--accent-ink);text-decoration:underline;text-underline-offset:4px}
.live-notice{font-size:.8125rem;line-height:1.5;color:var(--muted);margin:8px 0}
.live-secondary-actions{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}
.live-secondary-actions button{font-size:.8125rem;line-height:1.4;min-height:44px;padding:6px 0;text-decoration:underline;text-underline-offset:4px;color:var(--muted)}
.live-dialogue label{font-size:.875rem;display:flex;justify-content:space-between;gap:12px}
.live-dialogue label span{font-size:.75rem;color:var(--muted);font-weight:400}
.live-dialogue textarea{min-height:98px;max-height:180px;border-radius:12px;padding:12px 14px}
.live-reply-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:8px}
.live-reply-actions button{min-height:44px;font-size:.875rem;color:var(--muted)}
.live-reply-actions .live-send{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;background:var(--action);color:white}
.live-send svg{width:16px;height:16px}
.live-reply-actions .live-send:disabled{background:var(--line);color:var(--muted)}
#call-transcript{max-width:480px;max-height:80svh;width:calc(100% - 32px);padding:24px;overscroll-behavior:contain}
#call-transcript .icon-button svg{width:20px;height:20px}
.live-transcript-note{font-size:.875rem;color:var(--muted);margin:12px 0 20px}
.live-transcript-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:22px}
.live-transcript-list li strong{display:block;font-size:.8125rem;font-weight:500;color:var(--accent-ink);margin-bottom:6px}
.live-transcript-list li p{font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.live-transcript-list .live-transcript-topic{padding-top:16px;border-top:1px solid var(--line);font-size:.875rem;font-weight:600}
.call-demo-tools{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}
.call-demo-tools button{display:block;min-height:44px;text-align:left;font-size:13px;text-decoration:underline;text-underline-offset:4px;color:var(--accent-ink)}
.call-option-list{margin-top:16px;display:flex;flex-direction:column}
.call-option{display:flex;align-items:center;gap:14px;text-align:left;padding:15px 0;min-height:54px;font-size:.9375rem;border-bottom:1px solid var(--line)}
.call-option:last-child{border-bottom:0}
.call-option>svg{height:20px;width:20px;color:var(--muted)}
.call-option:disabled{color:var(--faint);opacity:.65}
.call-option-state{margin-left:auto;font-size:.8125rem;color:var(--muted)}
.call-option[aria-pressed="true"] .call-option-state{color:var(--accent-ink);font-weight:500}
.call-intro .call-promise{font-size:.9375rem;line-height:1.6;color:var(--muted);margin-top:22px}
@keyframes call-float{0%,100%{transform:translateY(3px)}50%{transform:translateY(-5px)}}
@keyframes call-cloud-a{0%{transform:translate(-25%,14%) scale(.9)}50%{transform:translate(16%,-22%) scale(1.16)}100%{transform:translate(30%,16%) scale(1)}}
@keyframes call-cloud-b{0%{transform:translate(24%,-18%) scale(1.1)}50%{transform:translate(-28%,10%) scale(.9)}100%{transform:translate(12%,27%) scale(1.16)}}
@keyframes call-cloud-c{0%{transform:translate(-15%,-27%) scale(1.15)}50%{transform:translate(29%,18%) scale(.92)}100%{transform:translate(-23%,25%) scale(1.08)}}
@keyframes call-arrive{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes call-caption{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){.live-control:hover .live-control-disc{background:var(--line)}.live-control.live-end:hover .live-control-disc{background:#8e2437}.live-moment-return:hover{color:var(--accent-ink)}}
@media(max-width:360px){.live-topic-summary{gap:10px}.live-topic-progress{gap:8px}.live-caption{font-size:1.125rem}.live-dialogue{min-height:156px}.live-controls{gap:24px}}
@media(max-height:760px){.live-stage{padding-top:0;min-height:220px}.call-orb{--call-orb-ratio:.6617647059;height:180px;width:180px}.live-dialogue{margin-top:10px;min-height:140px}.live-bottom{padding-top:10px}}
@media(min-width:1000px){.live-call{min-height:640px}.live-dialogue{min-height:148px}}
@media(prefers-reduced-motion:reduce){.live-call *,.live-call *::before{animation:none;transition:none}.live-control:active .live-control-disc{transform:none}}
.keyboard .live-call *,.motion-paused .live-call *{animation:none;transition:none}


/* ======== vision-portrait.css ======== */
/* Original HumanOS Vision Mirror on the Presence reading surface. */
.final-draft{padding-top:16px}
.final-draft h1{font-family:'Instrument Serif',Georgia,serif;font-size:2.125rem;font-weight:400;line-height:1.08;letter-spacing:-.02em;max-width:none}
.vision-portrait{margin:24px 0 0}
.portrait-player{position:relative}
.portrait-drawing-frame{display:grid;place-items:center;height:clamp(210px,36svh,340px)}
.portrait-drawing{position:relative;margin:0;width:auto;height:100%;max-width:100%;aspect-ratio:1122/1402;border-radius:18px;isolation:isolate}
.portrait-drawing::after{content:'';position:absolute;inset:-8px;border-radius:26px;box-shadow:0 0 56px 12px rgba(255,190,140,.55);opacity:0;pointer-events:none}
.portrait-drawing canvas,.portrait-drawing img{display:block;position:absolute;inset:0;width:100%;height:100%;border-radius:inherit}
.portrait-drawing img{object-fit:cover;opacity:0;transition:opacity 500ms cubic-bezier(.22,1,.36,1)}
.portrait-player[data-phase="done"] .portrait-drawing img{opacity:1}
.portrait-player[data-phase="done"] .portrait-drawing{box-shadow:0 12px 32px rgba(24,45,56,.12)}
.portrait-player[data-fallback="true"] .portrait-drawing canvas,.portrait-player[data-phase="broken"] .portrait-drawing-frame{display:none}
.portrait-status{position:absolute;top:calc(100% + 22px);left:0;right:0;margin:0;color:var(--muted);font-size:.875rem;line-height:1.5;text-align:left}
.portrait-player[data-phase="done"] .portrait-status{width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.portrait-player[data-phase="broken"] .portrait-status{position:static;margin:12px 0}
.portrait-player-controls{position:absolute;top:-8px;right:-8px;z-index:4}
.portrait-player-controls>summary{display:grid;place-items:center;list-style:none;width:44px;height:44px;border-radius:50%;cursor:pointer;color:var(--muted)}
.portrait-player-controls>summary::-webkit-details-marker{display:none}
.portrait-player-controls>summary svg{width:20px;height:20px}
.portrait-player-controls[open]>summary{background:var(--raised);color:var(--ink)}
.portrait-menu{position:absolute;right:0;top:48px;min-width:204px;padding:6px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 28px rgba(24,45,56,.12);animation:portrait-menu-in 160ms ease-out}
.portrait-menu button{display:block;width:100%;min-height:44px;padding:10px 12px;border-radius:7px;text-align:left;color:var(--ink);font-size:.875rem}
.portrait-menu button[aria-pressed="true"]{color:var(--accent-ink)}
@media(hover:hover) and (pointer:fine){.portrait-menu button:hover,.portrait-player-controls>summary:hover{background:var(--raised)}}
.portrait-player-controls [hidden]{display:none}
.vision-portrait-quote{font-family:'Instrument Serif',Georgia,serif;font-size:1.5rem;line-height:1.3;letter-spacing:-.012em;margin:22px 0 18px;text-wrap:pretty;overflow-wrap:anywhere}
.vision-portrait:has([data-phase="waiting"],[data-phase="drawing"]) .vision-portrait-quote{visibility:hidden}
.portrait-words{margin-top:2px}
.portrait-words summary{min-height:44px;cursor:pointer;font-size:.875rem;color:var(--accent-ink);padding:12px 0}
.portrait-words .vision-text{font-family:'Instrument Sans',sans-serif;font-size:1rem;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 16px}
.portrait-words button{font-size:.875rem;text-decoration:underline;text-underline-offset:4px;min-height:44px;color:var(--accent-ink);padding:8px 0}
.portrait-actions{position:sticky;bottom:0;margin-top:auto;padding:16px 0 max(8px,env(safe-area-inset-bottom));background:var(--paper);z-index:2}
.portrait-actions>.text-button{margin-top:2px}
.portrait-reflection{font-size:.875rem;line-height:1.6;color:var(--muted);margin:8px 0}
.portrait-aha .portrait-drawing{animation:portrait-breathe 2.4s cubic-bezier(.22,1,.36,1)}
.portrait-aha .portrait-drawing::after{animation:portrait-halo 2.8s cubic-bezier(.22,1,.36,1)}
@keyframes portrait-halo{0%,100%{opacity:0}22%{opacity:1}}
@keyframes portrait-breathe{0%,100%{transform:scale(1)}28%{transform:scale(1.012)}}
@keyframes portrait-menu-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.portrait-aha .portrait-drawing,.portrait-aha .portrait-drawing::after,.portrait-menu{animation:none}.portrait-drawing img{transition:none}}
.keyboard .portrait-menu{animation:none}
@media(max-width:360px){.final-draft h1{font-size:2rem}.vision-portrait-quote{font-size:1.375rem}}


/* ======== refined.css ======== */
/* Living Vision — Refined. The shared visual contract, loaded after modality styles.
   One reading edge, one type hierarchy, one set of surfaces and action treatments.
   Source opening, floating orb and Vision Mirror artwork retain their choreography. */
:root {
  --paper: #ffffff;
  --surface: #f4f7f7;
  --raised: #e9f4f7;
  --ink: #1c353e;
  --muted: #586c73;
  --faint: #62777e;
  --accent: #00afea;
  --action: #007b9b;
  --accent-hover: #006881;
  --accent-ink: #006e8a;
  --accent-ink-hover: #00596e;
  --on-accent: #fff;
  --line: #e4ebed;
  --control: #9aadb3;
  --negative: #b44b59;
  --canvas: #f0f4f4;
  --inset: 36px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: 'Instrument Serif', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  background: var(--canvas);
}
body { background: var(--canvas); }
button, input, textarea, select { font-family: 'Instrument Sans', sans-serif; }
button:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent-ink); outline-offset: 4px;
}
.workspace { padding: 28px 0; }
.app-shell {
  max-width: 520px; min-height: calc(100svh - 56px); border: 1px solid #dfe8e9;
  border-radius: 28px; box-shadow: 0 12px 64px #243e4908;
  isolation: isolate; overflow: clip;
}
.app-header {
  min-height: 80px; padding: 20px var(--inset) 16px; gap: 12px;
  background: var(--paper); position: relative; z-index: 3;
}
.brand-lockup, .back-button + .brand-lockup { width: 120px; }
.icon-button { width: 40px; min-width: 40px; height: 40px; font-size: 24px; }
.back-button { margin-left: -10px; color: var(--muted); }
.profile-link { font-size: 12px; padding: 8px 12px; background: var(--surface); border-radius: 24px; }
.content, .content.compact, .profile-screen, .content.final-draft {
  padding: 24px var(--inset) 28px;
}
.content h1, .content .question-title, .content.mirror-screen > h1,
.content.compass-screen h1, .content.final-draft h1, .content .home-greeting h1 {
  font-family: var(--serif); font-size: 40px; font-weight: 400;
  line-height: 1.08; letter-spacing: -.025em; text-wrap: pretty;
  overflow-wrap: break-word; max-width: none;
}
.content h2 { font-size: 18px; line-height: 1.4; font-weight: 500; letter-spacing: -.02em; }
.eyebrow, .question-phase {
  font-size: 12px; color: var(--accent-ink); line-height: 1.5;
  font-weight: 500; letter-spacing: .02em; margin-bottom: 14px;
}
.intro, .final-question .intro { font-size: 15px; line-height: 1.65; margin-top: 16px; color: var(--muted); }
.footer { margin-top: auto; padding-top: 32px; }
.content > .footer {
  position: sticky; bottom: 0; z-index: 2; flex: none;
  margin-inline: calc(-1 * var(--inset)); margin-bottom: -28px;
  padding: 18px var(--inset) max(20px, env(safe-area-inset-bottom));
  background: var(--paper); border-top: 1px solid var(--line);
}
.content > .footer::before {
  content: ''; display: block; position: absolute; left: 0; right: 0;
  height: 12px; top: -13px; background: linear-gradient(transparent, #ffffffd9);
  pointer-events: none;
}
/* My vision is a reading page with its own persistent navigation. Its secondary
   action stays in the document, so two sticky rails never cover one another. */
.content.compact > .footer {
  position: static; margin-inline: 0; margin-bottom: 0; padding: 28px 0 0;
  border: 0; background: transparent;
}
.content.compact > .footer::before { display: none; }
.footer-note { text-align: center; font-size: 11px; line-height: 1.6; margin-top: 16px; color: var(--faint); }
.primary, .secondary {
  min-height: 56px; padding: 16px 40px; border-radius: var(--radius);
  font-size: 15px; font-weight: 500; line-height: 1.5;
}
.primary { background: var(--action); box-shadow: 0 4px 12px #007b9b12, inset 0 1px 0 #ffffff20; }
.primary svg { right: 20px; width: 18px; height: 18px; }
.primary:disabled { background: #e8eff1; color: #667d85; box-shadow: none; }
.secondary { background: var(--raised); color: var(--accent-ink); box-shadow: none; }
.text-button { font-size: 13px; min-height: 46px; padding: 12px 4px; }
.footer .text-button:first-of-type { margin-top: 7px; }
label { font-size: 13px; margin-bottom: 10px; color: var(--ink); }
label small { font-size: 12px; color: var(--muted); font-weight: 400; }
input, textarea, select {
  border: 1px solid #b9c8cd; border-radius: var(--radius); padding: 16px;
  background: #fbfcfc; font-size: 16px; line-height: 1.6;
}
input:focus, textarea:focus, select:focus { background: #fff; border-color: var(--accent-ink); }
input::placeholder, textarea::placeholder { color: #73878e; }
.field-group { margin-top: 24px; }
.gentle-note, .empty-note { font-size: 14px; line-height: 1.65; color: var(--muted); }
.preview-notice, .schedule-disclosure { font-size: 11px; line-height: 1.6; }

/* Arrival, personal details, and the six questions. */
.content.welcome { padding-top: 32px; }
.content.welcome h1 { font-size: 50px; line-height: 1.02; max-width: 13ch; }
.welcome > .intro { max-width: 34ch; }
.welcome-path { margin: 30px 0 16px; padding: 24px; background: var(--surface); border-radius: 22px; }
.path-row { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-bottom: 24px; }
.path-row:not(:last-child)::before { left: 13.5px; top: 33px; bottom: 5px; background: #d6e3e7; }
.path-marker { height: 28px; width: 28px; font-size: 11px; background: #fff; border-color: #c8dade; }
.path-row:first-child .path-marker { background: var(--action); }
.path-copy { padding-top: 3px; }
.path-row h2 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.path-row p { margin-top: 6px; font-size: 13px; line-height: 1.6; }
.welcome .footer { padding-top: 20px; }
.name-field { margin-top: 40px; }
.name-field label { font-size: 12px; }
.name-field input { font-family: var(--serif); font-size: 34px; line-height: 1.2; border-bottom-color: #b9ccd2; padding: 12px 0 18px; background: transparent; }
.name-field input::placeholder { font-family: 'Instrument Sans', sans-serif; font-size: 16px; }
.hello-note { margin: 30px 0 42px; padding: 20px; background: var(--surface); border-radius: var(--radius); align-items: center; gap: 16px; }
.hello-note p { font-size: 13px; line-height: 1.6; }
.hello-symbol .mark { width: 36px; height: 36px; }
.question-phase { margin-bottom: 12px; }
.question-phase > span:last-child { color: var(--faint); font-variant-numeric: tabular-nums; }
.stepper { margin-bottom: 28px; gap: 6px; }
.stepper span { height: 3px; }
.stepper span::after { background: var(--action); }
.final-question .question-title { min-height: 2.16em; }
.options { margin-top: 26px; gap: 9px; }
.option { min-height: 58px; padding: 15px 17px; border-radius: var(--radius); border-color: #e5edef; background: #f7f9f9; gap: 16px; }
.option strong { font-size: 14px; line-height: 1.5; font-weight: 400; }
.selector { width: 22px; height: 22px; background: #fff; border-color: #b3c5cb; }
.selector svg { width: 12px; height: 12px; }
.option.selected { border-color: #58a8bc; background: #ecf7fa; box-shadow: inset 0 0 0 .5px #58a8bc; }
.option.selected strong { color: #155366; font-weight: 500; }
.option.selected .selector { border-color: var(--action); background: var(--action); color: #fff; }
.feedback { margin-top: 14px; font-size: 12px; min-height: 20px; color: var(--muted); }
.final-question .footer { padding-top: 24px; }

/* Starting point and writing carry the same reading hierarchy. */
.archetype-evidence { margin-top: 28px; gap: 18px; padding: 24px; border: 0; border-radius: 22px; background: var(--surface); }
.archetype-evidence > div + div { padding-top: 18px; border-top: 1px solid #dfe8ea; }
.archetype-evidence dt { font-size: 11px; color: var(--muted); }
.archetype-evidence dd { margin-top: 7px; font-size: 15px; line-height: 1.5; font-weight: 500; }
.archetype-call { margin-top: 28px; }
.archetype-call h2 { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.15; }
.archetype-call p { font-size: 14px; line-height: 1.65; margin-top: 10px; }
.recognition-loading { justify-content: center; padding-bottom: 84px; }
.analysis-symbol { margin-bottom: 32px; }
.analysis-symbol .cohesion-symbol { width: 120px; height: 120px; }
.analysis-status { font-size: 14px; margin-top: 20px; }
.analysis-progress { width: 100%; max-width: 160px; height: 2px; }
.starting-direction, .saved-note, .vision-paper { margin-top: 24px; background: var(--surface); border-radius: 22px; padding: 24px; }
.saved-note small, .paper-head { font-size: 11px; }
.saved-note p { font-size: 15px; line-height: 1.65; }
.vision-text { font-size: 17px; line-height: 1.7; }
.story-quote { font-size: 14px; line-height: 1.7; border-color: var(--line); }
.story-quote small { font-size: 11px; }
.call-steps { margin-bottom: 28px; gap: 8px; }
.call-steps span { font-size: 11px; padding-top: 10px; line-height: 1.5; min-height: 48px; }
.call-steps .active::before, .call-steps .done::before { background: var(--action); }
.guided-call .call-heading h1 { font-size: 36px; }
.guided-call .eyebrow { font-size: 12px; margin-bottom: 12px; }
.guided-prompt, .call-prompt { font-family: var(--serif); font-size: 27px; line-height: 1.3; font-weight: 400; }
.guided-call .guided-prompt { font-size: 27px; }
.guided-call .field-group { margin-top: 28px; }
.guided-call textarea { min-height: 144px; border-color: #b9c8cd; background: #fbfcfc; }
.writing-call .guided-prompt { margin-top: 24px; }
.writing-call textarea { min-height: 160px; }
.guided-call label, .call-review label { font-size: 13px; }
.sample-answer { font-size: 12px; min-height: 44px; }
.correction-context { font-size: 12px; padding: 16px; border-radius: var(--radius); }
.call-preview { font-size: 11px; }
.call-sub { font-size: 14px; }
.call-orbit { margin: 32px auto 24px; }

/* The call is a settled, continuous space. Only its words and status change. */
.content.live-call { padding-top: 8px; padding-bottom: 24px; min-height: 640px; }
.live-duration { padding: 7px 11px; border: 1px solid var(--line); border-radius: 20px; font-size: 11px; }
.live-topic-summary { border-bottom: 1px solid var(--line); padding-bottom: 16px; min-height: 42px; }
.live-current-topic { font-size: 12px; color: var(--ink); }
.live-topic-count { font-size: 11px; }
.live-topics { gap: 4px; }
.live-topic { width: 17px; height: 3px; }
.live-topic.is-current { background: var(--action); }
.live-stage { min-height: 270px; max-height: 320px; padding-top: 20px; }
.live-state { font-size: 11px; margin-top: 14px; }
.live-dialogue { min-height: 164px; margin-top: 8px; padding: 10px 4px 28px; }
.live-caption { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1.35; letter-spacing: -.015em; text-align: center; }
.live-caption-copy { animation: none; }
.live-topic-intro, .live-moment-copy { animation: none; }
.live-topic-intro h2, .live-moment-copy h2 { font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1.12; }
.live-overline { font-size: 11px; }
.live-moment-hint { font-size: 13px; }
.live-controls { gap: 38px; }
.live-control { font-size: 11px; gap: 10px; }
.live-control-disc { width: 54px; height: 54px; border: 0; background: var(--surface); }
.live-control.live-end .live-control-disc { background: var(--negative); }
.live-prototype-note { font-size: 10px; margin-top: 24px; }
.live-secondary-actions { gap: 20px; }
.live-secondary-actions button, .live-resume-link { font-size: 12px; }
.live-dialogue textarea { border-radius: var(--radius); background: #fbfcfc; }
.live-reply-actions .live-send { border-radius: 12px; }

/* The portrait keeps its original drawing, with one composed reading surface. */
.vision-portrait { margin-top: 28px; }
.portrait-drawing-frame { height: clamp(230px, 34svh, 320px); }
.portrait-drawing { border-radius: 20px; }
.portrait-player[data-phase='done'] .portrait-drawing { box-shadow: 0 8px 32px #1c353e12; }
.vision-portrait-quote { font-size: 27px; line-height: 1.25; margin: 28px 0 14px; }
.portrait-status { top: calc(100% + 28px); text-align: center; font-size: 13px; }
.portrait-words summary { font-size: 12px; padding: 13px 0; }
.portrait-words .vision-text { font-size: 15px; line-height: 1.7; }
.portrait-player-controls > summary { border: 1px solid var(--line); background: var(--paper); }
.portrait-menu { border-radius: var(--radius); padding: 8px; box-shadow: 0 12px 40px #1c353e18; }
.portrait-menu button { border-radius: 10px; font-size: 13px; }
.portrait-actions { margin: auto calc(-1 * var(--inset)) -28px; padding: 16px var(--inset) max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.final-draft .portrait-words { margin-bottom: 24px; }
.portrait-reflection { font-size: 13px; }

/* Rhythm, Home, check-ins, and the growing conversation trail. */
.content.schedule-screen { --schedule-inset: var(--inset); padding-bottom: 0; }
.schedule-fields { gap: 14px; margin-top: 28px; }
.schedule-field { padding: 22px; background: var(--surface); border: 1px solid transparent; border-radius: 22px; }
.schedule-top h2 { font-size: 16px; font-weight: 500; }
.schedule-field p { font-size: 13px; line-height: 1.6; margin-top: 8px; }
.schedule-time-row { grid-template-columns: minmax(0,1fr) 94px; margin-top: 18px; min-height: 60px; gap: 14px; }
.schedule-field input { min-height: 60px; border-radius: 13px; background: #fff; border-color: #cad8dd; font-size: 28px; font-weight: 400; padding: 12px; }
.schedule-field small { font-size: 11px; line-height: 1.55; }
.schedule-field.is-paused { background: #fafbfb; border-color: var(--line); }
.schedule-notes { margin: 20px 0 26px; }
.schedule-notes > p { font-size: 11px; }
.schedule-actions { padding-top: 16px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.schedule-actions .primary { min-height: 56px; font-size: 15px; }
.toggle { width: 46px; height: 28px; min-height: 28px; background: #a1b2b9; }
.toggle span { width: 22px; height: 22px; top: 3px; left: 3px; box-shadow: 0 1px 3px #1c353e18; }
.toggle.on { background: var(--action); }
.toggle.on span { transform: translateX(18px); }
.content.clock-home { padding-top: 24px; padding-bottom: 22px; }
.content .home-greeting h1 { font-size: 32px; line-height: 1.12; }
.home-greeting p { font-size: 13px; margin-top: 10px; }
.clock-face { padding: 36px 0 30px; margin: 24px 0; border-radius: 28px; background: #f3f8f9; position: relative; }
.clock-caption { font-size: 11px; }
.clock-digits { margin: 10px 0 6px; gap: 9px; }
.clock-digits > span { font-family: var(--serif); font-size: 86px; line-height: 1; font-weight: 400; letter-spacing: -.04em; }
.clock-digits small { font-size: 14px; }
.clock-kind { font-size: 14px; font-weight: 500; margin-top: 12px; }
.clock-relative { font-size: 11px; margin-top: 6px; }
.rhythm-strip { margin-top: 20px; padding: 20px 0; }
.rhythm-strip > div { text-align: center; }
.rhythm-strip > div + div { padding-left: 0; }
.rhythm-strip span { font-size: 11px; margin-bottom: 7px; }
.rhythm-strip strong { font-size: 18px; }
.rhythm-strip strong small { font-size: 11px; }
.clock-practice { padding: 22px 0; gap: 12px; }
.clock-practice small { font-size: 11px; }
.clock-practice p { font-size: 14px; margin-top: 6px; }
.action-check { width: 23px; height: 23px; }
.action-check.is-done { background: var(--action); border-color: var(--action); }
.compass-shortcut { padding: 20px 0 8px; }
.compass-shortcut strong { font-size: 14px; font-weight: 500; }
.compass-shortcut small { font-size: 11px; margin-top: 5px; }
.schedule-disclosure { padding-top: 20px; text-align: center; font-size: 10px; }
.bottom-nav { padding: 12px 20px max(14px, env(safe-area-inset-bottom)); border-color: var(--line); }
.bottom-nav button { font-size: 10px; gap: 6px; min-height: 54px; }
.bottom-nav button svg { width: 20px; height: 20px; }
.nav-indicator { top: 12px; height: 54px; border-radius: 16px; background: #edf6f8; }
.nav-indicator::after { bottom: 4px; height: 2px; width: 12px; left: calc(50% - 6px); background: var(--action); }
.compass-next { padding: 24px; margin-top: 28px; border-radius: 24px; border: 0; background: #f1f7f8; }
.next-label { font-size: 11px; color: var(--accent-ink); }
.compass-next h2 { font-family: var(--serif); font-size: 32px; line-height: 1.12; font-weight: 400; margin-top: 20px; }
.compass-next > p { font-size: 14px; line-height: 1.65; margin-top: 14px; }
.conversation-outcome { margin-top: 18px; padding: 18px 0 22px; }
.conversation-outcome small { font-size: 11px; }
.conversation-outcome strong { font-size: 14px; line-height: 1.55; margin-top: 7px; }
.time-note { font-size: 11px; text-align: center; margin-top: 14px; }
.history-heading { margin: 32px 0 4px; }
.history-heading h2 { font-size: 14px; font-weight: 500; }
.history-heading > span { font-size: 11px; }
.history-entry { padding: 20px 0; gap: 13px; }
.history-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface); flex: none; }
.history-dot svg { width: 16px; height: 16px; margin: 0; color: var(--accent-ink); }
.history-entry strong { font-size: 14px; line-height: 1.5; font-weight: 500; }
.history-entry small { font-size: 10px; line-height: 1.5; }
.history-entry p { font-size: 13px; line-height: 1.6; }
.journey-link { font-size: 13px; min-height: 56px; margin-top: 14px; }
.complete-mark { width: 64px; height: 64px; margin: 4px 0 28px; border: 0; color: var(--action); background: var(--raised); }
.complete-mark svg { width: 26px; height: 26px; }
.reflection { margin-top: 24px; }
.reflection-row { background: var(--surface); border: 0; padding: 24px; border-radius: 22px; }
.reflection-row small { font-size: 11px; }
.reflection-row p { font-family: var(--serif); font-size: 26px; line-height: 1.3; }
.story-prompts { margin-top: 28px; }
.story-prompts li { font-family: var(--serif); font-size: 27px; line-height: 1.3; }
.story-prompts small { font-family: 'Instrument Sans', sans-serif; font-size: 12px; line-height: 1.6; margin-top: 14px; }
.mode-switch { border-radius: 16px; padding: 4px; margin: 12px 0 24px; }
.mode-switch button { border-radius: 12px; font-size: 12px; min-height: 44px; }
.mode-switch .active { background: #fff; color: var(--accent-ink); box-shadow: 0 2px 6px #1c353e0a; }
.addition { padding: 24px 0; }
.addition-top { font-size: 11px; }
.addition p { font-size: 15px; }
.journey-list { margin-top: 32px; }
.journey-item { padding-left: 44px; padding-bottom: 32px; }
.journey-dot { height: 28px; width: 28px; font-size: 11px; }
.journey-item::before { left: 13.5px; top: 34px; bottom: 6px; }
.journey-item small { font-size: 11px; }
.journey-item strong { font-size: 16px; }
.journey-item p { font-size: 13px; }

/* Dialogs are a single family, including the call's secondary controls. */
dialog { border: 1px solid #e2eaed; border-radius: 26px; padding: 28px; max-width: 440px; box-shadow: 0 24px 100px #1c353e24; }
dialog::backdrop { background: #233c4652; backdrop-filter: blur(5px); }
dialog h2, .dialog-heading h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.15; }
dialog p { font-size: 14px; line-height: 1.65; margin: 16px 0 24px; }
.dialog-heading { gap: 14px; }
.dialog-heading .icon-button { background: var(--surface); margin: 0; }
.call-option { padding: 16px 2px; font-size: 14px; }
.call-option-state { font-size: 11px; }
#call-transcript { padding: 28px; border-radius: 26px; }
.live-transcript-note { font-size: 12px; }
.live-transcript-list { gap: 20px; }
.live-transcript-list li p { font-size: 14px; margin: 0; }
.live-transcript-list li strong { font-size: 11px; }
.live-transcript-list .live-transcript-topic { font-size: 13px; }

/* Desktop review chrome is quiet and visually separate from the product. */
.studio-bar { top: 44px; left: max(28px, calc(50% - 570px)); width: 202px; gap: 10px; }
.studio-brand { font-family: var(--serif); font-size: 27px; letter-spacing: -.025em; font-weight: 400; }
.studio-brand span { font-family: 'Instrument Sans', sans-serif; font-size: 11px; letter-spacing: .01em; margin-top: 8px; }
.original-link, .quiet { font-size: 11px; }
.original-link { margin-top: 12px; text-decoration: none; }
.quiet { min-height: 32px; }
.prototype-nav { top: 218px; left: max(28px, calc(50% - 570px)); width: 202px; max-height: calc(100svh - 242px); scrollbar-width: thin; }
.prototype-nav summary { font-size: 11px; min-height: 36px; }
.scene { min-height: 56px; font-size: 12px; padding: 11px 12px; gap: 12px; border-radius: 14px; margin: 5px 0; }
.scene small { font-size: 10px; line-height: 1.5; margin-top: 3px; }
.scene-number { font-size: 10px; }
.scene.active { background: #fff; box-shadow: 0 3px 12px #1c353e06; }
body[data-studio='true'] .design-notes { right: max(24px, calc(50% - 570px)); width: 210px; top: 52px; }
.design-notes h2 { font-family: var(--serif); font-size: 27px; font-weight: 400; line-height: 1.15; }
.design-notes p { font-size: 12px; line-height: 1.7; }
.design-notes .note-label, .design-notes .note-source { font-size: 10px; }
.call-brief { font-size: 11px; }
.research-links { display: none; }

@media (hover: hover) and (pointer: fine) {
  .option:not(.selected):hover { border-color: #c2d6dd; background: #f0f6f7; transform: translateY(-1px); }
  .primary:not(:disabled):hover { background: var(--accent-hover); box-shadow: 0 6px 20px #007b9b20; }
  .history-entry:hover { background: transparent; }
  .history-entry:hover strong { color: var(--accent-ink); }
  .call-option:not(:disabled):hover { color: var(--accent-ink); }
}
@media (min-width: 1000px) {
  .welcome-opening { inset: 28px 0; border-radius: 28px; }
}
@media (max-width: 999px) {
  .workspace { padding: 0; }
  .app-shell { min-height: 100svh; border: 0; border-radius: 0; box-shadow: none; }
  body { background: #fff; }
  body[data-studio='true'] .studio-bar { padding: 10px 20px; background: var(--canvas); }
  body[data-studio='true'] .studio-brand { font-size: 20px; }
  body[data-studio='true'] .prototype-nav { padding: 8px 20px; background: var(--canvas); }
  body[data-studio='true'] .app-shell { min-height: calc(100svh - 110px); }
  body[data-studio='true'] .scene { margin: 0; }
}
@media (max-width: 540px) {
  :root { --inset: 26px; }
  .app-header { padding: 17px var(--inset) 12px; min-height: 72px; }
  .content, .content.compact, .profile-screen, .content.final-draft { padding: 24px var(--inset) 24px; }
  .content h1, .content .question-title, .content.mirror-screen > h1,
  .content.compass-screen h1, .content.final-draft h1 { font-size: 36px; }
  .content.welcome { padding-top: 26px; }
  .content.welcome h1 { font-size: 45px; }
  .welcome-path { margin-top: 26px; padding: 21px; }
  .path-row { gap: 12px; padding-bottom: 22px; }
  .path-row h2 { font-size: 14px; }
  .path-row p { font-size: 13px; }
  .intro, .final-question .intro { font-size: 14px; }
  .option { min-height: 58px; padding: 14px 16px; }
  .content .home-greeting h1 { font-size: 30px; }
  .clock-face { margin: 24px 0; padding: 32px 0 26px; }
  .clock-digits > span { font-size: 80px; }
  .content.live-call { min-height: calc(100svh - 72px); padding-top: 8px; }
  .live-stage { max-height: 320px; min-height: 255px; }
  .live-dialogue { padding-inline: 0; min-height: 154px; }
  .live-caption { font-size: 25px; }
  .live-controls { gap: 34px; }
  .portrait-actions { margin-bottom: -24px; }
  .content > .footer { margin-bottom: -24px; }
  .schedule-field { padding: 19px; }
  .schedule-time-row { grid-template-columns: minmax(0, 1fr) 86px; gap: 12px; }
  .schedule-field input { font-size: 25px; padding: 10px; }
  .compass-next { padding: 22px; }
  .content .compass-next h2 { font-size: 30px; }
  dialog, #call-transcript { padding: 24px; }
}
@media (max-width: 360px) {
  :root { --inset: 21px; }
  .content h1, .content .question-title, .content.mirror-screen > h1,
  .content.compass-screen h1, .content.final-draft h1 { font-size: 33px; }
  .content.welcome h1 { font-size: 40px; }
  .welcome-path { padding: 18px; }
  .path-row { gap: 10px; grid-template-columns: 26px minmax(0, 1fr); }
  .path-marker { width: 26px; height: 26px; }
  .path-row h2 { font-size: 13px; }
  .path-row p { font-size: 12px; }
  .schedule-time-row { grid-template-columns: 1fr; gap: 8px; }
  .schedule-field small { min-height: 0; }
  .live-caption { font-size: 23px; }
  .live-controls { gap: 28px; }
  .clock-digits > span { font-size: 72px; }
}
@media (max-height: 740px) {
  .content.live-call { min-height: 570px; }
  .live-stage { min-height: 215px; max-height: 250px; padding-top: 8px; }
  .live-dialogue { min-height: 140px; padding-bottom: 20px; }
}
@media (max-height: 900px) {
  .content.clock-home { padding-top: 16px; padding-bottom: 16px; }
  .clock-home .clock-face { padding: 20px 0 16px; margin: 16px 0; }
  .clock-home .clock-digits { margin: 6px 0 4px; }
  .clock-home .clock-kind { margin-top: 8px; }
  .clock-home .clock-relative { margin-top: 4px; }
  .clock-home .rhythm-strip { padding: 12px 0; margin-top: 12px; }
  .clock-home .clock-practice { padding: 14px 0; }
  .clock-home .compass-shortcut { padding-top: 14px; }
  .clock-home .schedule-disclosure { padding-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .option:hover { transform: none; }
}

/* Outgoing screen copies exist only for a 140ms visual handoff. */
[data-motion-ghost], [data-motion-ghost] * {
  pointer-events: none; user-select: none;
}
[data-motion-ghost] *, [data-motion-ghost] *::before, [data-motion-ghost] *::after {
  animation: none; transition: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-motion-ghost] { display: none; }
}


/* ======== compass.css ======== */
/* An evolving illustrated atlas. Every milestone comes from a kept contribution. */
.content.compass-journey{padding-bottom:20px;overflow:visible}
.compass-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.compass-heading h1{font-family:var(--serif);font-weight:400;font-size:40px;line-height:1.07;letter-spacing:-1.2px;margin-top:16px}
.compass-emblem{width:58px;height:58px;flex:none;display:grid;place-items:center;border:1px solid #cadbd9;border-radius:50%;color:#43817e;background:#f5f9f6;box-shadow:0 0 0 6px #fafbf8}
.compass-emblem svg{width:39px;height:39px;stroke-width:.85;transform:rotate(-14deg)}
.compass-intro{font-size:14px;line-height:1.65;color:var(--muted);margin-top:15px;max-width:300px}
.compass-progress{margin:24px 0 22px}.compass-progress>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px;color:var(--muted)}
.clarity-status{display:flex;align-items:center;gap:7px;font-weight:500;color:#40685f}.clarity-status i{height:6px;width:6px;border-radius:50%;background:#689985}
.compass-progress-track{display:flex;gap:4px;margin-top:10px}.compass-progress-track i{height:4px;border-radius:4px;background:#e9eeeb;flex:1}.compass-progress-track i.filled{background:#6c9b86}
.compass-tabs{display:flex;border-bottom:1px solid var(--line);gap:22px;margin-bottom:20px}.compass-tabs button{position:relative;display:flex;align-items:center;gap:7px;min-height:48px;font-size:13px;font-weight:500;color:var(--muted);padding:0 0 14px}.compass-tabs svg{width:16px;height:16px}.compass-tabs [aria-pressed=true]{color:var(--ink)}.compass-tabs [aria-pressed=true]:after{content:'';height:2px;position:absolute;bottom:-1px;left:0;right:0;background:var(--action);border-radius:2px}
.discovery-dot{height:5px;width:5px;border-radius:50%;background:#729785}
.compass-next-step{display:flex;gap:12px;align-items:center;margin:0 0 22px}.compass-next-step>div{flex:1}.compass-next-step small{font-size:9px;letter-spacing:1.2px;font-weight:600;color:#60766d;display:block}.compass-next-step strong{font-size:15px;font-weight:500;line-height:1.4;display:block;margin-top:7px}.compass-next-step p{font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px}
.compass-next-arrow{display:grid;place-items:center;flex:none;width:44px;height:44px;background:var(--action);color:white;border-radius:50%;box-shadow:0 4px 10px #007b9b15}.compass-next-arrow svg{width:20px;height:20px}
.compass-landscape{position:relative;margin:0 -16px;border-radius:26px;overflow:hidden;background:#eff4ee;isolation:isolate;padding-bottom:68px;border:1px solid #e8eee6}
.compass-terrain,.compass-mist{position:absolute;inset:0;pointer-events:none;z-index:-2}.compass-terrain{background:#eaf0e8 url('../assets/compass/inner-landscape.webp') center/100% 100% no-repeat;filter:blur(var(--map-blur)) saturate(calc(.65 + var(--map-clarity)*.35));opacity:calc(.5 + var(--map-clarity)*.5);transition:filter 1200ms ease,opacity 1200ms ease;transform:scale(1.01)}
.compass-mist{z-index:-1;background:linear-gradient(180deg,#f8faf2dd,transparent 15%,#f5f8ed22 50%,#f3f8f3c9 100%),radial-gradient(ellipse at 30% 40%,#fffffff0,transparent 70%);opacity:calc(.66 - var(--map-clarity)*.42);transition:opacity 1200ms ease}
.compass-trail{position:absolute;top:0;left:0;width:100%;height:1400px;z-index:-1;overflow:visible;fill:none;stroke-linecap:round}.trail-shadow{stroke:#ffffffcc;stroke-width:9}.trail-line{stroke:#84a69a;stroke-width:2;stroke-dasharray:3 8;opacity:.6}
.compass-region{height:350px;position:relative;padding-top:17px;scroll-margin-top:20px}.region-heading{display:flex;align-items:center;gap:10px;margin:0 22px}.region-heading>span{font-family:var(--serif);font-size:26px;font-style:italic;color:#658677}.region-heading h2{font-family:var(--sans);font-weight:600;font-size:12px;letter-spacing:.1px;line-height:1.4;margin:0;color:#304f46}.region-heading p{font-size:10px;color:#536e64;margin:3px 0 0;line-height:1.3}
.compass-stages{list-style:none;padding:0;margin:0;position:absolute;inset:0}
.compass-stop{position:absolute;left:0;right:0;top:var(--stop-y);height:72px;margin:0;padding:0}
.stage-button{position:relative;display:block;width:100%;height:72px;text-align:left;padding:0;background:transparent;border:0;border-radius:18px}
.stage-medallion{position:absolute;left:var(--stop-x);top:50%;transform:translate(-50%,-50%);width:54px;height:54px;border-radius:50%;background:#fffffff2;border:1px solid #c4d6c8;box-shadow:0 4px 0 #cbd9ca,0 7px 15px #2648360b;display:grid;place-items:center;color:#6a8978;transition:box-shadow 180ms,background 180ms}
.stage-medallion svg{width:23px;height:23px;stroke-width:1.35}.is-kept .stage-medallion{background:#6a9580;color:white;border-color:#6a9580;box-shadow:0 4px 0 #49735d,0 7px 15px #26483612}
.is-next .stage-medallion{width:60px;height:60px;background:#fff;color:#007b9b;border:2px solid #1686a0;box-shadow:0 4px 0 #b1d5db,0 0 0 7px #fff9,0 0 0 8px #76a4a955}
.stage-spark{position:absolute;right:-2px;top:-3px;width:12px;height:12px;background:#d8af61;border:3px solid white;border-radius:50%}
.stage-caption{position:absolute;top:50%;transform:translateY(-50%);width:43%;display:block}.stop-left .stage-caption{left:47%}.stop-right .stage-caption{left:9%;width:43%;text-align:right}
.stage-caption{padding:7px 9px;border-radius:12px;background:#f9fcf1b8;backdrop-filter:blur(3px)}
.stage-caption small{font-size:10px;line-height:1.5;letter-spacing:.45px;font-weight:600;color:#465f50;display:block}.stage-caption strong{font-family:var(--serif);display:block;font-size:22px;font-weight:400;line-height:1.08;color:#24453d;margin-top:5px}.is-next .stage-caption small{color:#006b83}.stage-invitation{font-size:11px;color:#006b83;display:block;margin-top:6px;font-weight:500}
.stage-button:not(:disabled):hover .stage-medallion{background:#f8fffc;box-shadow:0 3px 0 #c1d6c9,0 5px 20px #2e634425}.is-kept .stage-button:hover .stage-medallion{background:#527f68}.stage-button:focus-visible{outline:2px solid var(--action);outline-offset:-5px}.stage-button:not(:disabled):active .stage-medallion{box-shadow:0 1px 0 #bdcfc3}
.stage-button:disabled{opacity:1;cursor:default;transform:none}.is-locked .stage-medallion{background:#f0f3eebf;border-color:#c7d2c9;box-shadow:0 3px 0 #d2dcd2;color:#819187}.is-locked .stage-caption{background:#f7f9f1a3}.is-locked .stage-caption strong{color:#566c60}.is-locked .stage-caption small{color:#5e6f63}.stage-lock-badge{position:absolute;right:-4px;bottom:-3px;width:24px;height:24px;display:grid;place-items:center;border:2px solid #f6f9f1;border-radius:50%;background:#e1e8df;color:#53695a}.stage-lock-badge svg{width:13px;height:13px;stroke-width:1.8}.stage-learnings-link{color:#456a53}
.compass-unlock-note{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.5;color:var(--muted);margin:-8px 0 19px}.compass-unlock-note>svg{width:13px;height:13px;flex:none}
.map-destination{position:absolute;bottom:25px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;letter-spacing:.1px;color:#4c6e62}.map-destination svg{width:18px;height:18px}
.compass-map-note{display:flex;align-items:center;justify-content:center;gap:12px;padding:26px 0 12px;color:var(--muted)}.compass-map-note>svg{width:20px;height:20px;flex:none;color:#7a9986}.compass-map-note p{font-size:11px;line-height:1.7}
.compass-before-footer{padding:12px 28px 24px;border-top:1px solid var(--line);background:white}.compass-before-footer .text-button{font-size:13px}
.compass-discoveries{animation:compass-reveal 350ms ease both}.discoveries-intro{padding:12px 0 22px}.discovery-symbol{display:grid;place-items:center;background:#eef4ee;border-radius:50%;width:42px;height:42px;color:#638671;margin-bottom:17px}.discovery-symbol svg{width:24px;height:24px}.discoveries-intro h2{font-family:var(--serif);font-size:30px;font-weight:400;margin:0}.discoveries-intro p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:12px}
.discovery-list{display:grid;gap:12px}.discovery-item{background:#f6f8f3;border:1px solid #e8ede3;border-radius:18px;padding:22px}.discovery-item>small{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:#587363;display:block}.discovery-item>p{font-family:var(--serif);font-size:23px;line-height:1.35;margin:12px 0 14px;white-space:pre-wrap;overflow-wrap:anywhere}.discovery-source{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;line-height:1.5;color:#687c71}.discovery-source button{font-size:11px;min-height:44px;min-width:44px;color:var(--action);text-decoration:underline}
.discovery-empty{text-align:center;border:1px dashed #cfded1;border-radius:22px;padding:28px 20px;background:#fafbf7}.discovery-empty>span{display:block;color:#9aaf8f}.discovery-empty>span svg{width:40px;height:40px;stroke-width:1}.discovery-empty strong{font-family:var(--serif);font-weight:400;font-size:26px;display:block;margin:18px 0 10px}.discovery-empty p{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:22px}.compass-footnote{font-size:12px;line-height:1.7;color:var(--muted);margin:22px 0 0}
.compass-stage-dialog{width:min(440px,calc(100vw - 32px));max-height:88svh;padding:26px;border-radius:28px;border:1px solid #e3eade;box-shadow:0 20px 90px #17342d29}.compass-stage-dialog::backdrop{background:#14382e55;backdrop-filter:blur(5px)}.stage-dialog-kicker{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#597667}.stage-dialog-icon{display:grid;place-items:center;height:56px;width:56px;border-radius:50%;background:#eef5ec;color:#689078;margin:20px 0}.stage-dialog-icon svg{width:27px;height:27px}.compass-stage-dialog h2{font-family:var(--serif);font-size:36px;font-weight:400;line-height:1.1}.stage-dialog-description{font-size:14px;line-height:1.6;color:var(--muted);margin-top:14px}.stage-dialog-question{border-left:2px solid #b7cdb3;margin:24px 0;padding:0 0 0 17px}.stage-dialog-question small,.stage-kept-preview small{font-size:10px;color:#617a67}.stage-dialog-question p{font-family:var(--serif);font-size:25px;line-height:1.3;margin-top:9px}.stage-dialog-outcome{display:flex;gap:8px;align-items:center;font-size:12px;color:#617a67;margin-bottom:24px}.stage-dialog-outcome svg{width:18px;height:18px;flex:none}.stage-kept-preview{background:#f5f8f2;padding:18px;border-radius:15px;margin-bottom:22px}.stage-kept-preview p{font-size:14px;line-height:1.6;margin-top:9px;white-space:pre-wrap;overflow-wrap:anywhere}.stage-dialog-note{font-size:11px;line-height:1.5;text-align:center;color:var(--muted);margin:14px 0 0}
.compass-saved-progress{display:flex;align-items:center;gap:14px;padding:18px;background:#f1f6ef;border-radius:18px;margin-top:22px}.compass-saved-progress strong{font-family:var(--serif);font-size:34px;font-weight:400;color:#507a5d;white-space:nowrap}.compass-saved-progress span{font-size:12px;line-height:1.6;color:#587460}
.welcome-compass-link{margin-top:14px;font-size:13px;color:var(--muted);text-align:center;width:100%;min-height:44px;text-decoration:underline;text-decoration-color:#c9d9d7;text-underline-offset:5px}
@keyframes compass-reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.compass-heading h1{font-size:35px}.compass-emblem{width:48px;height:48px}.compass-emblem svg{width:32px;height:32px}.compass-landscape{margin-inline:-12px;border-radius:24px}.stage-caption strong{font-size:21px}.compass-stage-dialog{padding:22px}.compass-before-footer{padding-inline:24px}}
@media(max-width:360px){.compass-heading h1{font-size:31px}.compass-emblem{width:40px;height:40px;box-shadow:0 0 0 4px #fafbf8}.compass-tabs{gap:14px}.compass-tabs button{font-size:12px;gap:5px}.stage-caption strong{font-size:19px}.stage-medallion{width:48px;height:48px}.is-next .stage-medallion{width:52px;height:52px}.stage-caption small{font-size:9px}.compass-next-step strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.compass-discoveries{animation:none}.compass-terrain,.compass-mist,.stage-medallion{transition:none}}
.keyboard .compass-discoveries{animation:none}
.stage-result-status{display:flex;align-items:center;gap:12px;margin:20px 0;color:#4e765e;font-size:12px}.stage-result-status .stage-dialog-icon{margin:0;width:44px;height:44px}.stage-result-status .stage-dialog-icon svg{width:21px;height:21px}.stage-result-status small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.stage-result .stage-kept-preview{margin-top:22px;padding:22px;background:#f3f7ef;border:1px solid #e4ecde}.stage-result .stage-kept-preview>p{font-family:var(--serif);font-size:25px;line-height:1.35;color:#2d4d3f;margin-top:13px}.stage-result-source{display:block;font-size:10px;color:#647a6b;margin-top:18px;line-height:1.5}.stage-result-contribution{display:flex;align-items:flex-start;gap:11px;margin:0 0 24px;color:#557561}.stage-result-contribution>svg{width:21px;height:21px;flex:none;margin-top:1px}.stage-result-contribution small{font-size:10px;display:block;color:var(--muted)}.stage-result-contribution strong{font-size:13px;line-height:1.5;font-weight:500;display:block;margin-top:5px}.stage-result-details{border-top:1px solid var(--line);margin:0 0 22px}.stage-result-details summary{min-height:44px;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--action);cursor:pointer}.stage-result-details summary:after{content:'+';margin-left:auto;font-size:18px}.stage-result-details[open] summary:after{content:'−'}.stage-result-details>div{padding:12px 0}.stage-result-details small{font-size:10px;color:var(--muted)}.stage-result-details p{font-size:14px;line-height:1.6;margin-top:7px;white-space:pre-wrap;overflow-wrap:anywhere}.stage-result .text-button{font-size:13px}


/* ======== vision-board.css ======== */
.vision-home-heading{margin-bottom:25px}.vision-home-heading h1{font-size:44px;line-height:1.04}.vision-home-heading>p{font-size:14px;line-height:1.7;color:var(--muted);margin-top:17px}.vision-snapshot{border:1px solid #e1e8de;border-radius:25px;overflow:hidden;background:#fbfcf7;box-shadow:0 10px 30px #263c2905}.vision-snapshot-label{display:flex;gap:7px;align-items:center;padding:16px 18px;font-size:11px;color:#4e6a59}.vision-snapshot-label>svg{width:15px;height:15px}.vision-image-label{margin-left:auto;font-size:9px;color:#748072;background:#eff2e9;border-radius:5px;padding:4px 6px}.vision-snapshot .vision-portrait{margin:0;border:0;border-radius:0;background:transparent}.vision-snapshot .portrait-player{border-radius:0;aspect-ratio:1.18;max-height:380px;margin:0}.vision-snapshot .portrait-drawing-frame{border-radius:0}.vision-snapshot .vision-portrait-quote{font-family:var(--serif);font-size:27px;line-height:1.3;margin:0;padding:24px 24px 12px;color:#2c493e}.vision-snapshot .portrait-words{margin:0;padding:0 24px 20px}.vision-snapshot .portrait-words summary{font-size:12px;min-height:36px}.vision-snapshot .portrait-words .vision-text{font-size:16px;line-height:1.7}.vision-snapshot-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e5eadd;padding:10px 18px}.vision-snapshot-foot>span{font-size:10px;color:#6e7c6d}.vision-snapshot-foot button{display:flex;align-items:center;gap:6px;min-height:36px;font-size:11px;color:var(--action)}.vision-snapshot-foot svg{width:14px;height:14px}.vision-empty-image{position:relative}.vision-empty-image>img{width:100%;display:block;aspect-ratio:1.2;object-fit:cover}.vision-empty-image>div{padding:22px}.vision-empty-image span{font-family:var(--serif);font-size:29px;color:#365245}.vision-empty-image p{font-size:13px;color:var(--muted);margin-top:7px}
.vision-board-invitation{margin-top:38px}.vision-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.vision-overline{font-size:9px;line-height:1.5;letter-spacing:1.3px;font-weight:500;color:#6a7c70}.vision-section-heading h2{font-family:var(--serif);font-size:30px;font-weight:400;line-height:1.1;margin-top:8px}.vision-count{font-size:11px;color:#6a7b6c;border:1px solid #e3e9df;border-radius:20px;padding:7px 10px;white-space:nowrap}.vision-board-invitation>p{font-size:13px;line-height:1.7;color:var(--muted);margin:14px 0 20px}.vision-board-peek{width:100%;display:block;border:1px solid #e1e8dc;border-radius:21px;overflow:hidden;text-align:left}.peek-canvas{height:228px;position:relative;background:radial-gradient(circle,#c9d6c7 .8px,transparent .8px) 0 0/17px 17px,#f2f5ec;overflow:hidden}.peek-card{position:absolute;background:#fff;padding:6px;border:1px solid #e0e5da;box-shadow:0 5px 12px #3048320d;border-radius:7px}.peek-card img{display:block;width:100%;height:90px;object-fit:cover;border-radius:4px}.peek-card>span{display:block;font-family:var(--serif);font-size:13px;line-height:1.2;padding:7px 4px 5px}.peek-main{left:12%;top:25px;width:135px;transform:rotate(-6deg)}.peek-aspect{width:102px;right:7%;top:37px;transform:rotate(7deg)}.peek-aspect img{height:74px}.peek-aspect-1{right:9%;top:110px;transform:rotate(-3deg);z-index:2}.peek-prompt{right:11%;top:27px;width:98px;padding:16px 12px;background:#e7eedf;transform:rotate(5deg);color:#57704c}.peek-prompt svg{width:23px;height:23px}.peek-prompt span{font-size:17px;padding:10px 0 0}.peek-note{position:absolute;left:35%;top:140px;max-width:139px;min-height:70px;padding:13px 15px;background:#fff1bd;color:#746449;font-family:var(--serif);font-size:14px;line-height:1.25;white-space:pre-line;transform:rotate(4deg);box-shadow:0 4px 9px #68521b0d;z-index:3}.peek-note small{display:block;font-family:var(--sans);font-size:8px;margin-top:7px;color:#8b7e61}.peek-plus{position:absolute;right:15px;bottom:15px;background:#fff;border-radius:50%;width:33px;height:33px;display:grid;place-items:center;color:#7b9278}.peek-plus svg{width:18px;height:18px}.peek-open{min-height:58px;display:flex;align-items:center;gap:10px;background:white;color:var(--action);padding:15px 18px;font-size:14px;font-weight:500}.peek-open svg{width:19px;height:19px}.peek-open>svg:last-child{margin-left:auto}
.vision-guide-invitation{background:#f2f6ef;border:1px solid #e7ede1;border-radius:21px;padding:23px;margin-top:19px;display:grid;grid-template-columns:35px 1fr;gap:13px}.vision-guide-star{color:#7c9c67}.vision-guide-star svg{width:29px;height:29px;stroke-width:1.1}.vision-guide-invitation h2{font-family:var(--serif);font-size:27px;font-weight:400;line-height:1.1;margin-top:8px}.vision-guide-invitation p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:12px}.vision-guide-button{grid-column:2;min-height:42px;font-size:13px;color:#3d7254;text-align:left;font-weight:500}.vision-guide-button:after{content:' →';margin-left:7px}.vision-areas-heading{margin-top:38px}.vision-area-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.vision-area-shortcuts>button{position:relative;text-align:left;border:1px solid #e7ebe3;border-radius:17px;padding:16px 13px;background:#fff;min-width:0}.vision-area-shortcuts>button>span{height:34px;width:34px;border-radius:11px;background:var(--area-color);display:grid;place-items:center;color:#577064;margin-bottom:12px}.vision-area-shortcuts svg{width:19px;height:19px}.vision-area-shortcuts strong{display:block;font-size:12px;font-weight:500;line-height:1.4}.vision-area-shortcuts small{display:block;font-size:9px;color:var(--muted);margin-top:5px;line-height:1.4}.vision-area-shortcuts>button>svg{position:absolute;top:18px;right:12px;width:14px;color:#869385}.vision-kept-reflections{margin-top:30px;border-top:1px solid var(--line)}.vision-kept-reflections summary{font-size:13px;line-height:1.6;padding:18px 0;cursor:pointer}.vision-kept-reflections summary span{float:right;color:var(--muted)}.vision-kept-reflections article{padding:17px 0;border-top:1px solid var(--line)}.vision-kept-reflections small{font-size:11px;color:var(--muted)}.vision-kept-reflections p{font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.vision-kept-reflections button{font-size:12px;color:var(--action);min-height:36px}.vision-home-footer{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted);line-height:1.6;margin:30px 0 0}.vision-home-footer svg{width:16px;height:16px;flex:none}
body[data-vision-board=true] .prototype-nav,body[data-vision-board=true] .design-notes,body[data-vision-board=true] .studio-bar{display:none}body[data-vision-board=true] .workspace{display:block;width:calc(100% - 48px);max-width:1280px;margin:0 auto;padding:24px 0}body[data-vision-board=true] .app-shell{max-width:none;width:100%;min-height:calc(100svh - 48px)}body[data-vision-board=true] .app-header{min-height:65px;padding:16px 30px 10px}.vision-board-screen{padding:0 30px 12px}.vb-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:15px 0 24px}.vb-heading .eyebrow{font-size:11px;margin-bottom:10px}.vb-heading h1{font-family:var(--serif);font-size:38px;line-height:1.05;font-weight:400;letter-spacing:-.8px}.vb-heading p{font-size:12px;color:var(--muted);margin-top:10px}.vb-home-button{display:flex;align-items:center;gap:6px;font-size:12px;min-height:40px;color:var(--muted);white-space:nowrap}.vb-home-button svg{width:16px;height:16px}.vb-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-bottom:16px}.vb-toolbar>div{display:flex;gap:8px}.vb-toolbar button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 14px;border-radius:11px;font-size:12px;line-height:1.3}.vb-toolbar svg{width:17px;height:17px}.vb-add-button{background:var(--action);color:white}.vb-tool-button{border:1px solid var(--line);background:white;color:var(--muted)}.vb-polish-button{background:#eef4e9;border:1px solid #dce8d5;color:#506b42}.vb-polish-button:disabled{opacity:.5;cursor:default}
.vb-viewport{position:relative;height:clamp(360px,calc(100svh - 410px),780px);min-height:360px;overflow:hidden;border-radius:20px;border:1px solid #dde5d7;background:radial-gradient(circle,#becdbc 1px,transparent 1px) 0 0/24px 24px,#f3f5ee;cursor:grab;touch-action:none;isolation:isolate}.vb-viewport.is-panning{cursor:grabbing}.vb-world{position:absolute;left:0;top:0;width:1px;height:1px;transform-origin:0 0;will-change:transform}.vb-canvas-label{position:absolute;left:17px;bottom:15px;display:flex;gap:7px;align-items:center;font-size:10px;line-height:1.5;color:#7a8c77;pointer-events:none;z-index:-1}.vb-canvas-label svg{width:14px;height:14px}.vb-card{position:absolute;border:1px solid #dfe5d8;border-radius:15px;overflow:hidden;background:#fffefb;box-shadow:0 7px 25px #2d492b0d;cursor:default;transform-origin:center}.vb-card:focus-within{outline:2px solid var(--action);outline-offset:4px;z-index:3}.vb-card-handle{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 5px 14px;min-height:35px;gap:8px;color:#65765e;background:#fffefb}.vb-card-handle>span{font-size:9px;letter-spacing:.9px;text-transform:uppercase}.vb-card-handle button{display:grid;place-items:center;cursor:grab;width:28px;height:28px;min-height:28px;border-radius:7px;background:#f5f7ef}.vb-card-handle svg{width:14px;height:14px}.vb-card-open{display:block;width:100%;text-align:left;padding:0;color:inherit;cursor:pointer}.vb-card-open>img{display:block;width:100%;height:126px;object-fit:cover;pointer-events:none}.vb-card-words{padding:17px 18px 12px}.vb-card h2{font-family:var(--serif);font-size:24px;line-height:1.12;font-weight:400;color:#354d3e;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.vb-card p{font-size:12px;line-height:1.65;color:#6a7968;margin-top:10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.vb-card-bottom{display:flex;justify-content:space-between;align-items:center;padding:11px 18px 15px;font-size:9px;color:#7d8976}.vb-card-bottom svg{width:14px;height:14px;color:#708b64}.vb-root{border-color:#d2ddc7;box-shadow:0 7px 30px #38542b15}.vb-root .vb-card-open>img{height:160px}.vb-root .vb-card-handle{background:#eff3e9}.vb-root .vb-card-handle>span{color:#668158}.vb-root p{font-family:var(--serif);font-size:21px;line-height:1.3;-webkit-line-clamp:3;color:#40573f;margin-top:10px}.vb-root h2{font-size:13px;font-family:var(--sans);font-weight:500}.vb-note{background:#fff1c2;border-color:#ecdda5;border-radius:4px 14px 14px 14px;box-shadow:0 7px 20px #78662412}.vb-note .vb-card-handle{background:transparent;color:#8f7c4c}.vb-note .vb-card-handle button{background:#fffae678}.vb-note .vb-card-words{padding-top:10px}.vb-note h2{font-family:var(--sans);font-size:12px;color:#77643b}.vb-note p{font-family:var(--serif);font-size:25px;line-height:1.2;color:#6b5938;-webkit-line-clamp:4}.vb-note .vb-card-bottom{color:#9a875b}.vb-empty{position:absolute;width:360px;padding:36px;background:#fbfcf7eb;border:1px dashed #bbcdb1;border-radius:25px;text-align:center;cursor:default}.vb-empty>svg{width:39px;height:39px;color:#7d9b64;margin-bottom:19px}.vb-empty h2{font-family:var(--serif);font-size:32px;font-weight:400;line-height:1.1}.vb-empty p{font-size:13px;color:var(--muted);line-height:1.7;margin:17px 0 25px}.vb-empty .text-button{font-size:12px}.vb-canvas-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0}.vb-pan-hint{display:flex;gap:7px;align-items:center;font-size:11px;color:var(--muted)}.vb-pan-hint svg{width:15px;height:15px}.vb-zoom-controls{display:flex;align-items:center;gap:2px;border:1px solid #e2e8de;border-radius:10px;background:white;padding:2px}.vb-zoom-controls .icon-button{width:32px;min-width:32px;height:32px;min-height:32px;border-radius:7px}.vb-zoom-controls svg{width:16px;height:16px}.vb-zoom-controls output{font-size:10px;min-width:38px;text-align:center;color:var(--muted);font-variant-numeric:tabular-nums}.vb-bottom-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:34px}.vb-save-status{font-size:10px;color:var(--muted);line-height:1.5}.vb-undo-button{display:flex;gap:5px;align-items:center;min-height:36px;font-size:11px;color:var(--action)}.vb-undo-button svg{width:14px;height:14px}
.vision-board-dialog{width:min(480px,calc(100vw - 24px));max-height:92svh;padding:28px;border-radius:27px;border:1px solid #e2e8dc;box-shadow:0 20px 100px #163d2833;overflow:auto;scrollbar-width:thin}.vision-board-dialog::backdrop{background:#264e3f55;backdrop-filter:blur(5px)}.vb-dialog-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:22px}.vb-dialog-top .icon-button{width:34px;min-width:34px;height:34px;min-height:34px;background:#f2f5ef}.vb-dialog-top .icon-button svg{width:16px;height:16px}.vision-board-dialog>h2{font-family:var(--serif);font-size:36px;font-weight:400;line-height:1.08;letter-spacing:-.6px;color:#2c463b;margin:0}.vb-dialog-intro{font-size:14px;line-height:1.7;color:var(--muted);margin:16px 0 22px}.vb-area-picker{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:22px}.vb-area-picker button{position:relative;text-align:left;padding:19px 14px;border:1px solid #e1e8dc;border-radius:17px;min-width:0}.vb-area-picker button:hover{background:#fafcf7;border-color:#afc6a3}.vb-area-picker button>span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--area-color);margin-bottom:15px;color:#5b7764}.vb-area-picker svg{width:20px;height:20px}.vb-area-picker strong{font-size:13px;line-height:1.3;display:block;font-weight:500}.vb-area-picker small{font-size:10px;display:block;color:var(--muted);margin-top:7px;line-height:1.4}.vb-area-picker button>svg{width:14px;height:14px;position:absolute;right:13px;top:20px;color:#8a9b82}.vb-dialog-footnote{font-size:11px;line-height:1.65;color:var(--muted);text-align:center;margin:22px 0 0}.vb-field{margin-top:21px}.vb-field label{display:block;font-size:12px;color:#536d5c;font-weight:500;margin-bottom:10px}.vb-field textarea,.vb-field input{width:100%;border:1px solid #dce5d4;border-radius:13px;background:#fbfcf8;padding:15px;font-size:15px;line-height:1.7;color:var(--ink);min-width:0;resize:vertical}.vb-field textarea::placeholder,.vb-field input::placeholder{color:#879284}.vb-dialog-actions{margin-top:25px}.vb-dialog-actions>.primary{min-height:50px}.vb-dialog-actions>.text-button{font-size:12px}.vb-composer-image,.vb-detail-image{position:relative;border-radius:17px;overflow:hidden;margin:22px 0 16px}.vb-composer-image img{width:100%;height:165px;object-fit:cover;display:block}.vb-detail-image img{width:100%;max-height:280px;object-fit:cover;display:block}.vb-composer-image>span,.vb-detail-image>span{position:absolute;right:10px;bottom:10px;font-size:9px;padding:5px 7px;background:#ffffffe0;border-radius:5px;color:#66765d}.vb-area-tag{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#5b735e;padding:6px 9px;border-radius:7px;background:var(--area-color)}.vb-area-tag svg{width:13px;height:13px}.vb-image-disclosure{font-size:10px;line-height:1.65;color:#768371;margin-top:14px}.vb-guided-inline{display:flex;gap:6px;align-items:center;min-height:42px;font-size:12px;color:var(--action);margin-top:7px}.vb-guided-inline svg{width:15px;height:15px}.vb-guide-progress{display:flex;gap:5px;margin:22px 0 0}.vb-guide-progress span{height:4px;border-radius:4px;background:#e8eee1;flex:1}.vb-guide-progress .is-filled{background:#8ca775}.vb-guide-art{display:flex;gap:13px;align-items:center;min-height:80px;border-radius:16px;background:var(--area-color);padding:19px;color:#526c54}.vb-guide-art>svg{width:31px;height:31px;flex:none;stroke-width:1}.vb-guide-art span{font-family:var(--serif);font-size:24px;line-height:1.15}.vb-example{font-size:11px;color:var(--action);min-height:40px;margin-top:3px;text-decoration:underline;text-underline-offset:4px}.vb-feeling-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.vb-feeling-chips button{min-height:36px;padding:8px 12px;border-radius:20px;border:1px solid #dbe4d4;font-size:12px;color:#5c7159}.vb-feeling-chips button[aria-pressed=true]{background:#e5eedc;border-color:#98b284;color:#38562b}.vb-full-statement{font-family:var(--serif);font-size:28px;line-height:1.4;color:#354d3b;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:22px}.vb-full-statement.is-note{padding:25px;background:#fff3c9;border-radius:14px}.vb-practice{padding:18px;background:#f1f6ec;border-radius:13px;margin-top:22px}.vb-practice small{font-size:10px;color:#617957}.vb-practice p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:9px}.vb-field-error{font-size:12px;color:var(--negative);line-height:1.6}.vb-polish-modes{display:flex;gap:7px;border:1px solid #e2e9dc;padding:4px;border-radius:12px;margin-bottom:20px}.vb-polish-modes button{flex:1;min-height:40px;border-radius:9px;font-size:11px;color:#66755f;padding:7px}.vb-polish-modes button[aria-pressed=true]{background:#edf3e6;color:#49643c}.vb-polish-preview{position:relative;background:radial-gradient(circle,#d1dccc .8px,transparent .8px) 0 0/12px 12px,#f3f6ee;border-radius:17px;overflow:hidden;border:1px solid #e2eadb}.vb-polish-mini{position:absolute;background:#fffefb;border:1px solid #dfe7d8;border-radius:5px;overflow:hidden;box-shadow:0 3px 7px #344b2410}.vb-polish-mini img{width:100%;height:61%;object-fit:cover;display:block}.vb-polish-mini span{display:block;font-family:var(--serif);font-size:11px;line-height:1.15;padding:5px;overflow:hidden;max-height:39%}.vb-polish-mini.is-note{background:#ffefbe;padding:7px}.vb-polish-mini.is-note>svg{width:14px;height:14px;color:#8d7c4b}.vb-polish-promises{list-style:none;margin:23px 0 0;padding:0;display:grid;gap:11px}.vb-polish-promises li{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;color:#5b7154}.vb-polish-promises svg{width:15px;height:15px;flex:none}
@media(max-width:720px){.vision-home-heading h1{font-size:39px}.vision-snapshot .vision-portrait-quote{font-size:25px;padding-inline:20px}.vision-snapshot .portrait-words{padding-inline:20px}.vision-guide-invitation{padding:19px;grid-template-columns:26px 1fr;gap:10px}.vision-guide-invitation h2{font-size:25px}.vision-guide-star svg{width:25px}.peek-main{left:7%;width:128px}.peek-prompt{right:7%}.vision-home-footer{font-size:10px}body[data-vision-board=true] .workspace{width:100%;padding:0}body[data-vision-board=true] .app-shell{border:0;border-radius:0;min-height:100svh}body[data-vision-board=true] .app-header{min-height:62px;padding:14px 20px 8px}.vision-board-screen{padding:0 16px 12px}.vb-heading{padding:14px 2px 22px}.vb-heading h1{font-size:31px}.vb-heading .eyebrow{font-size:10px}.vb-heading p{font-size:11px}.vb-home-button{font-size:0;padding:5px}.vb-home-button svg{width:19px;height:19px}.vb-toolbar{gap:7px}.vb-toolbar>div{gap:6px}.vb-toolbar button{padding:10px;font-size:11px;gap:6px;min-height:40px}.vb-toolbar svg{width:15px;height:15px}.vb-viewport{height:calc(100svh - 280px);min-height:380px;border-radius:16px}.vb-pan-hint{font-size:9px;gap:4px}.vb-pan-hint svg{width:12px}.vb-canvas-label{font-size:8px;left:12px}.vb-canvas-label svg{width:11px}.vb-zoom-controls .icon-button{width:28px;min-width:28px;height:30px;min-height:30px}.vb-zoom-controls output{min-width:31px;font-size:9px}.vb-bottom-bar{gap:8px}.vb-save-status{font-size:9px;max-width:45%}.vb-undo-button{font-size:10px}.vision-board-dialog{padding:23px}.vision-board-dialog>h2{font-size:34px}.vb-area-picker{gap:9px}.vb-area-picker button{padding:15px 12px}.vb-area-picker strong{font-size:12px}.vb-area-picker small{font-size:9px}.vb-dialog-intro{font-size:13px}.vb-composer-image img{height:145px}}
@media(max-width:360px){.vision-home-heading h1{font-size:35px}.vision-snapshot-foot{padding-inline:12px;gap:6px}.vision-snapshot-foot>span{font-size:9px}.vision-snapshot-foot button{font-size:10px}.peek-main{width:115px;left:6%;top:32px}.peek-prompt{width:89px;right:6%}.peek-note{left:27%;font-size:13px}.vision-guide-invitation h2{font-size:23px}.vision-area-shortcuts>button{padding:13px 10px}.vision-area-shortcuts strong{font-size:11px}.vb-toolbar button{font-size:10px;padding:9px 8px;gap:4px}.vb-toolbar svg{width:13px}.vision-board-dialog{padding:19px}.vision-board-dialog>h2{font-size:31px}.vb-guide-art span{font-size:22px}.vb-polish-promises li{font-size:11px}.vb-pan-hint{max-width:95px;line-height:1.4}}
@media(prefers-reduced-motion:no-preference){.vision-board-peek:hover .peek-main{transform:rotate(-3deg) translateY(-2px)}.peek-main{transition:transform 300ms var(--ease)}.vb-card-open:hover{background:#f8faf4}}
.vision-snapshot .portrait-player{aspect-ratio:auto;max-height:none}.vision-snapshot .portrait-drawing-frame{height:clamp(235px,30svh,300px);width:100%}.vision-snapshot .portrait-drawing{width:100%;height:100%;aspect-ratio:auto;border-radius:0;box-shadow:none}.vision-snapshot .portrait-player-controls{top:10px;right:10px}.vision-snapshot .portrait-player-controls>summary{width:34px;height:34px;min-height:34px;background:#ffffffe8}.vision-home-heading{position:relative}.vision-home-heading .eyebrow{padding-right:78px;font-size:10px}.vision-board-shortcut{position:absolute;right:0;top:-8px;min-height:36px;padding:7px 11px;border-radius:20px;border:1px solid #dde7d6;background:#f5f8ef;display:flex;gap:5px;align-items:center;font-size:11px;color:#526d44}.vision-board-shortcut svg{width:13px;height:13px}
body[data-vision-board=true] .app-header .back-button{display:none}
@media(max-width:720px){.vb-viewport{height:calc(100svh - 335px);min-height:330px}}
.vision-origin{padding:0 8px;margin-top:12px;color:var(--muted)}.vision-origin summary{padding:8px 0;font-size:11px;cursor:pointer}.vision-origin p{font-family:var(--serif);font-size:21px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;padding:10px 0}.vision-continue{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px;color:var(--action);margin-top:24px}.vision-continue svg{width:16px;height:16px}

.vision-snapshot .vision-portrait-quote{margin:22px 22px 14px;padding:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:720px){.vb-zoom-controls .icon-button{width:44px;min-width:44px;height:44px;min-height:44px}}


/* ======== experience.css ======== */
/* HumanOS experience polish. Calm, readable surfaces with purposeful motion. */
:root {
  --canvas: #f3f5f1;
  --ink: #243e3e;
  --muted: #576b69;
  --surface: #f4f7f4;
  --line: #e3e9e5;
  --inset: 32px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
body { background: var(--canvas); }
body[data-studio='false'] .studio-bar,
body[data-studio='false'] .prototype-nav,
body[data-studio='false'] .design-notes { display: none; }
body[data-studio='false']:not([data-vision-board='true']) .workspace {
  display: block; width: 100%; max-width: 640px; margin: 0 auto; padding: 24px 0;
}
body[data-studio='false']:not([data-vision-board='true']) .app-shell {
  max-width: none; min-height: calc(100svh - 48px); border-radius: 30px;
  border-color: #dde6df; box-shadow: 0 18px 80px #26463709;
}
.app-header { padding: 22px var(--inset) 18px; }
.content, .content.compact, .profile-screen, .content.final-draft { padding: 28px var(--inset); }
.content h1, .content .question-title, .content.mirror-screen > h1, .content.final-draft h1 {
  font-size: 44px; line-height: 1.08; letter-spacing: -.028em; text-wrap: balance;
}
.intro, .final-question .intro, .archetype-call p, .saved-note p,
.vision-board-invitation > p, .discoveries-intro p { font-size: 16px; line-height: 1.65; }
.eyebrow { font-size: 12px; letter-spacing: .035em; }
.primary { border-radius: 17px; min-height: 56px; font-size: 16px; font-weight: 500; box-shadow: 0 4px 10px #007b9b12; }
.secondary { min-height: 52px; border: 1px solid #cbdad7; border-radius: 17px; font-size: 15px; background: #fff; color: var(--ink); margin-top: 10px; }
.text-button, .footer-note, .gentle-note { font-size: 13px; }
.footer-note { text-align: center; line-height: 1.6; }
.content > .footer { margin-bottom: -28px; padding-top: 16px; padding-bottom: max(18px,env(safe-area-inset-bottom)); background: #ffffffed; backdrop-filter: blur(12px); }
.option { min-height: 62px; border-radius: 16px; background: #f8faf8; padding: 16px 18px; border-color: #e0e8e3; }
.option strong { font-size: 16px; font-weight: 400; line-height: 1.45; }
.option.selected { background: #eef8f9; border-color: #6ca9b4; box-shadow: inset 3px 0 0 var(--action); }
.option.selected strong { color: #205661; font-weight: 500; }
.selector { width: 24px; height: 24px; }
.feedback { font-size: 13px; margin-bottom: 20px; }
.stepper { margin-bottom: 30px; }
.stepper span { height: 4px; }
input:not([type='time']), textarea, select { font-size: 16px; }
textarea { line-height: 1.65; }
.icon-button { min-width: 44px; min-height: 44px; }
.profile-link { color: #48645d; font-size: 13px; }
.pause-journey { padding: 10px 0 10px 10px; min-height: 44px; font-size: 12px; color: var(--muted); }
.journey-progress { display: flex; gap: 12px; list-style: none; padding: 6px var(--inset) 22px; margin: 0; border-bottom: 1px solid var(--line); }
.journey-progress li { display: flex; align-items: center; gap: 7px; flex: 1; font-size: 11px; color: #697972; white-space: nowrap; }
.journey-progress li > span { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #dce6df; border-radius: 50%; font-size: 10px; flex: none; }
.journey-progress li > span svg { width: 13px; height: 13px; }
.journey-progress .is-current { color: var(--accent-ink); font-weight: 500; }
.journey-progress .is-current > span { background: var(--action); color: white; border-color: var(--action); box-shadow: 0 0 0 4px #edf6f6; }
.journey-progress .is-complete > span { color: #517d67; background: #edf4ed; border-color: #edf4ed; }
.optional-profile { margin: 22px 0 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.optional-profile summary { cursor: pointer; font-size: 14px; min-height: 44px; padding: 12px 0; }
.optional-profile summary span { float: right; font-size: 12px; color: var(--muted); }
.name-field input { font-family: var(--serif); font-size: 36px; }
.hello-note { font-size: 14px; }
.recognition-correction { display: flex; align-items: center; gap: 8px; color: var(--accent-ink); font-size: 13px; text-align: left; min-height: 48px; margin: 10px 0 18px; }
.recognition-correction svg { width: 14px; height: 14px; }
.reflection-preview { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 20px; color: #527464; font-size: 11px; }
.archetype-call h2 { font-size: 30px; }
.archetype-evidence { background: linear-gradient(130deg,#f0f6f0,#f2f8f9); }
.archetype-evidence dt { font-size: 12px; }
.archetype-evidence dd { font-size: 16px; }

/* The welcome is a small invitation, with its route visible at a glance. */
.content.welcome { padding-top: 24px; }
.welcome-intro h1 { font-size: 53px; max-width: 440px; }
.welcome-intro h1 em { color: #437a68; font-style: italic; }
.welcome-intro .intro { max-width: 460px; }
.welcome-landscape { position: relative; height: 178px; border-radius: 22px; overflow: hidden; margin: 26px 0 0; background: #e8efe6; }
.welcome-landscape > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: saturate(.78); }
.welcome-landscape::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 30%,#f5f8e9db); pointer-events: none; }
.welcome-landscape-caption { position: absolute; z-index: 1; left: 22px; bottom: 18px; color: #3b5f52; font: italic 21px/1.2 var(--serif); }
.welcome-landscape-orbit { position: absolute; right: 22px; top: 20px; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #ffffffc9; border-radius: 50%; color: #446d5e; background: #ffffffe0; box-shadow: 0 4px 20px #416a4c15; }
.welcome-landscape-orbit svg { width: 27px; height: 27px; stroke-width: 1; }
.welcome-path { padding: 0; margin: 26px 0 20px; background: transparent; border: 0; border-radius: 0; }
.path-row { grid-template-columns: 28px 1fr; gap: 15px; padding-bottom: 22px; }
.path-row:last-child { padding-bottom: 0; }
.path-marker { width: 28px; height: 28px; border-color: #d4e0d7; background: #f3f7f1; color: #4d7563; font-size: 11px; }
.path-row h2 { font-size: 16px; line-height: 1.4; font-weight: 500; }
.path-row p { font-size: 14px; line-height: 1.6; margin-top: 4px; }
.content.welcome > .footer { position: static; margin: auto 0 0; padding: 14px 0 0; border: 0; background: none; backdrop-filter: none; }
.content.welcome > .footer::before { display: none; }
.welcome-compass-link { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 10px 0 0; min-height: 44px; font-size: 13px; }
.welcome-compass-link svg { width: 15px; height: 15px; }

/* A clearer next step and a current-chapter map, with the full path on demand. */
.compass-intro { max-width: 420px; font-size: 16px; }
.compass-heading h1 { font-size: 44px; }
.compass-next-step { display: flex; flex-direction: column; align-items: stretch; gap: 20px; background: #f1f6f0; border: 1px solid #dfe9de; border-radius: 22px; padding: 23px; margin: 4px 0 18px; }
.compass-next-step small { font-size: 10px; letter-spacing: .12em; }
.compass-next-step strong { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.15; margin-top: 10px; }
.compass-next-step p { font-size: 14px; line-height: 1.65; margin-top: 9px; }
.compass-next-arrow { display: flex; width: 100%; height: 50px; gap: 12px; border-radius: 14px; justify-content: center; font-size: 14px; font-weight: 500; }
.compass-next-arrow svg { width: 17px; height: 17px; }
.compass-unlock-note { font-size: 12px; margin: 0 0 22px; }
.compass-landscape { margin: 0; }
.compass-trail { height: var(--trail-height,1400px); }
.compass-terrain { background-size: cover; background-position: center; }
.region-heading h2 { font-size: 13px; }
.region-heading p { font-size: 11px; }
.compass-map-toggle { display: flex; align-items: center; gap: 13px; min-height: 76px; width: 100%; margin-top: 12px; padding: 12px 4px; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink); }
.compass-map-toggle > svg { width: 21px; height: 21px; color: #5d8272; flex: none; }
.compass-map-toggle > svg:last-child { margin-left: auto; width: 16px; transition: transform 250ms var(--ease); }
.compass-map-toggle[aria-expanded='true'] > svg:last-child { transform: rotate(-90deg); }
.compass-map-toggle span { font-size: 14px; }
.compass-map-toggle small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.compass-tabs { gap: 24px; }
.compass-tabs button { font-size: 14px; }
.compass-map-note p { font-size: 12px; }

/* My vision reads instantly; the original reveal remains available on replay. */
.vision-snapshot [data-still='true'] .vision-portrait-quote { visibility: visible; }
.vision-portrait:has([data-phase='waiting'],[data-phase='drawing']) .vision-portrait-quote { visibility: visible; }
.portrait-status { position: static; margin: 14px 0 0; text-align: center; font-size: 12px; }
.portrait-skip { display: block; margin: 0 auto; min-height: 44px; font-size: 13px; color: var(--accent-ink); }
.portrait-skip[hidden] { display: none; }
.vision-home-heading > p { font-size: 16px; }
.vision-home-heading .eyebrow { font-size: 12px; }
.vision-snapshot-foot { flex-wrap: wrap; }
.vision-snapshot-foot > span { font-size: 12px; }
.vision-snapshot-foot button { min-height: 44px; font-size: 13px; }
.vision-snapshot .portrait-words summary { font-size: 14px; min-height: 44px; }
.vision-guide-invitation p { font-size: 14px; }
.vision-guide-button { font-size: 14px; }
.vision-overline { font-size: 10px; }
.vision-area-shortcuts strong { font-size: 14px; }
.vision-area-shortcuts small { font-size: 12px; line-height: 1.5; }
.vision-board-shortcut { min-height: 44px; font-size: 12px; }
.vision-home-footer, .vision-continue { font-size: 13px; }
.vision-snapshot-label { font-size: 12px; }
.vision-image-label { font-size: 10px; }
.vb-toolbar button { min-height: 44px; font-size: 13px; }
.vb-card-handle button { min-width: 44px; min-height: 40px; }
.vb-field label { font-size: 14px; }
.vb-field textarea, .vb-field input { font-size: 16px; }
.vb-image-disclosure, .vb-dialog-footnote, .vb-save-status { font-size: 12px; }
.vb-dialog-top .icon-button { min-width: 44px; min-height: 44px; }
.vb-area-picker strong { font-size: 14px; }
.vb-area-picker small { font-size: 12px; }
.vb-feeling-chips button { min-height: 44px; }
.vb-zoom-controls .icon-button { width: 44px; min-width: 44px; height: 44px; }
.vb-home-button { min-height: 44px; }

/* Everyday use: a quiet clock, tactile controls, and visible saved feedback. */
.clock-face { background: radial-gradient(ellipse at 50% 15%,#fffef8,transparent 65%),linear-gradient(150deg,#edf6ef,#e9f4f7); border: 1px solid #e0eae1; overflow: hidden; }
.clock-face::before { content: ''; position: absolute; width: 230px; height: 230px; border: 1px solid #7fa58c22; border-radius: 50%; top: -100px; right: -95px; pointer-events: none; }
.clock-caption, .clock-relative { font-size: 13px; }
.clock-kind { font-size: 16px; }
.clock-practice p { font-size: 16px; }
.clock-practice small, .rhythm-strip span { font-size: 12px; }
.compass-shortcut strong { font-size: 15px; }
.compass-shortcut small { font-size: 12px; }
.schedule-field p { font-size: 14px; }
.schedule-field small, .schedule-notes > p { font-size: 12px; }
.schedule-disclosure { font-size: 11px; }
.toggle { position: relative; min-height: 32px; height: 32px; width: 50px; }
.toggle::before { content: ''; position: absolute; inset: -7px 0; }
.toggle span { top: 5px; left: 5px; }
.bottom-nav { position: sticky; bottom: 0; z-index: 6; background: #fffffff2; backdrop-filter: blur(18px); padding-bottom: max(12px,env(safe-area-inset-bottom)); }
.bottom-nav button { font-size: 12px; min-height: 58px; }
.nav-indicator { height: 58px; background: #eef5f1; }
.nav-indicator::after { background: #507b69; }
.save-feedback { position: fixed; z-index: 120; bottom: calc(98px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%,12px); display: flex; align-items: center; gap: 10px; max-width: min(450px,calc(100vw - 32px)); width: max-content; padding: 14px 18px; color: #fff; background: #2b5147; border: 1px solid #ffffff22; border-radius: 16px; font-size: 13px; line-height: 1.5; box-shadow: 0 8px 35px #233f3824; opacity: 0; pointer-events: none; transition: opacity 180ms ease,transform 280ms var(--ease); }
.save-feedback > span:first-child { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #ffffff16; }
.save-feedback.is-visible { opacity: 1; transform: translate(-50%,0); }
dialog { overscroll-behavior: contain; }
dialog .primary { font-size: 15px; }
dialog p { font-size: 15px; }
.live-secondary-actions button { min-height: 44px; font-size: 13px; }
.live-prototype-note { font-size: 12px; }
.live-current-topic, .live-state { font-size: 13px; }

@media (min-width: 900px) {
  body[data-studio='false'] { background: radial-gradient(ellipse at 15% 20%,#e7ede2,transparent 44%),radial-gradient(ellipse at 85% 80%,#e2eff0,transparent 42%),#f4f5f1; background-attachment: fixed; }
  body[data-studio='false'][data-screen='welcome'] .workspace,
  body[data-studio='false'][data-screen='vision'] .workspace { max-width: 1000px; padding: 32px 0; }
  body[data-studio='false'][data-screen='welcome'] .app-shell,
  body[data-studio='false'][data-screen='vision'] .app-shell { min-height: calc(100svh - 64px); }
  body[data-studio='false'] .content.welcome { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto auto auto; column-gap: 56px; padding: 36px 48px 44px; align-content: center; }
  body[data-studio='false'] .welcome-intro { grid-column: 1; grid-row: 1; }
  body[data-studio='false'] .welcome-intro h1 { font-size: 60px; }
  body[data-studio='false'] .welcome-landscape { grid-column: 1; grid-row: 2 / 4; height: 208px; margin-top: 26px; }
  body[data-studio='false'] .welcome-path { grid-column: 2; grid-row: 1; margin-top: 10px; margin-bottom: 26px; }
  body[data-studio='false'] .path-row { padding-bottom: 30px; }
  body[data-studio='false'] .path-row:last-child { padding-bottom: 0; }
  body[data-studio='false'] .content.welcome > .footer { grid-column: 2; grid-row: 2; margin: 0; align-self: end; padding-top: 8px; }
  body[data-studio='false'] .welcome-compass-link { grid-column: 2; grid-row: 3; margin-top: 8px; align-self: start; }
  body[data-studio='false'][data-screen='compass'] .workspace { max-width: 720px; }
  body[data-studio='false'] .vision-home { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px 32px; align-content: start; align-items: start; }
  body[data-studio='false'] .vision-home-heading { grid-column: 1 / -1; margin-bottom: 4px; }
  body[data-studio='false'] .vision-home-heading h1 br { display: none; }
  body[data-studio='false'] .vision-snapshot { grid-column: 1; grid-row: 2 / span 3; }
  body[data-studio='false'] .vision-board-invitation { grid-column: 2; grid-row: 2; margin-top: 0; }
  body[data-studio='false'] .vision-guide-invitation { grid-column: 2; grid-row: 3; margin-top: 0; }
  body[data-studio='false'] .vision-origin { grid-column: 1; grid-row: 5; margin: 0; }
  body[data-studio='false'] .vision-areas-heading { grid-column: 1 / -1; margin-top: 8px; }
  body[data-studio='false'] .vision-area-shortcuts { grid-column: 1 / -1; grid-template-columns: repeat(3,1fr); margin-top: -6px; }
  body[data-studio='false'] .vision-kept-reflections,
  body[data-studio='false'] .vision-continue,
  body[data-studio='false'] .vision-home-footer { grid-column: 1 / -1; margin-top: 0; }
  body[data-studio='false'][data-screen='vision'] .bottom-nav { padding-inline: calc((100% - 500px) / 2); }
  body[data-studio='false'][data-screen='vision'] .nav-indicator { left: calc((100% - 500px) / 2); width: calc((500px - 8px) / 3); }
  .content.live-call { min-height: 690px; }
}
@media (max-width: 720px) {
  :root { --inset: 24px; }
  body[data-studio='false']:not([data-vision-board='true']) .workspace { padding: 0; }
  body[data-studio='false']:not([data-vision-board='true']) .app-shell { min-height: 100svh; border: 0; border-radius: 0; box-shadow: none; }
  body { background: white; }
  .app-header { min-height: 76px; padding: 16px var(--inset) 12px; }
  .content, .content.compact, .profile-screen, .content.final-draft { padding: 24px var(--inset); }
  .content h1, .content .question-title, .content.mirror-screen > h1, .content.final-draft h1 { font-size: 38px; }
  .content.welcome { padding-top: 22px; }
  .welcome-intro h1 { font-size: 47px; }
  .welcome-landscape { height: 142px; margin-top: 22px; }
  .welcome-landscape-caption { font-size: 19px; left: 18px; bottom: 16px; }
  .welcome-landscape-orbit { width: 40px; height: 40px; right: 18px; top: 16px; }
  .welcome-path { margin-top: 24px; }
  .path-row { padding-bottom: 19px; }
  .path-row h2 { font-size: 15px; }
  .path-row p { font-size: 13px; }
  .content > .footer { margin-bottom: -24px; }
  .journey-progress { gap: 7px; padding-bottom: 20px; }
  .journey-progress li { font-size: 10px; gap: 5px; }
  .journey-progress li > span { width: 20px; height: 20px; font-size: 9px; }
  .compass-heading h1 { font-size: 38px; }
  .compass-emblem { width: 48px; height: 48px; }
  .compass-emblem svg { width: 31px; height: 31px; }
  .compass-next-step { padding: 20px; }
  .compass-next-step strong { font-size: 28px; }
  .vision-home-heading h1 { font-size: 40px; }
  .vision-home-heading .eyebrow { font-size: 11px; }
  .vision-home .vision-areas-heading h2 { font-size: 30px; }
  .vision-area-shortcuts strong { font-size: 13px; }
  .vision-area-shortcuts small { font-size: 11px; }
  .vb-toolbar button { font-size: 12px; padding: 10px; }
  .vb-bottom-bar { flex-wrap: wrap; }
  .vb-save-status { max-width: 100%; font-size: 11px; }
  .vb-pan-hint { font-size: 11px; }
  .vb-undo-button { font-size: 12px; min-height: 44px; }
  .vb-dialog-intro { font-size: 15px; }
  .vb-area-picker strong { font-size: 13px; }
  .vb-area-picker small { font-size: 11px; }
  .vb-dialog-actions > .text-button { font-size: 13px; }
  .vb-field label { font-size: 14px; }
  .vision-board-dialog { max-height: calc(100dvh - 24px); }
}
@media (max-width: 360px) {
  :root { --inset: 20px; }
  .journey-progress { gap: 5px; }
  .journey-progress li { font-size: 9px; gap: 4px; }
  .welcome-intro h1 { font-size: 42px; }
  .content h1, .content .question-title { font-size: 35px; }
  .option strong { font-size: 15px; }
  .compass-tabs { gap: 18px; }
  .compass-tabs button { font-size: 13px; }
}
@media (hover:hover) and (pointer:fine) {
  .vision-area-shortcuts > button:hover, .vb-area-picker button:hover { transform: translateY(-2px); border-color: #a9bfaf; box-shadow: 0 6px 18px #3254430a; }
  .compass-next-arrow:hover { background: var(--accent-hover); }
  .welcome-compass-link:hover svg { transform: translateX(4px); }
  .welcome-landscape:hover .welcome-landscape-orbit { transform: rotate(12deg); }
}
@media (prefers-reduced-motion:no-preference) {
  .welcome-landscape-orbit, .welcome-compass-link svg { transition: transform 600ms var(--ease); }
  .option, .vision-area-shortcuts > button, .vb-area-picker button { transition: background 180ms ease,border-color 180ms ease,box-shadow 250ms ease,transform 250ms var(--ease); }
  .complete-mark { box-shadow: 0 0 0 10px #ecf5ee66; }
  .clock-practice:has([aria-pressed='true']) .action-check { animation: practice-kept 420ms var(--ease); }
  @keyframes practice-kept { 0% { transform: scale(.82); } 55% { transform: scale(1.14); } 100% { transform: scale(1); } }
}
@media (prefers-reduced-motion:reduce) {
  .save-feedback { transition: none; transform: translate(-50%,0); }
  .vision-area-shortcuts > button:hover, .vb-area-picker button:hover { transform: none; }
}


/* ======== phone-board.css ======== */
/* The board is a workspace: persistent chrome, one canvas, sheets above it. */
body[data-vision-board='true'] { overflow: hidden; overscroll-behavior: none; background: #f4f5ef; }
body[data-vision-board='true'] .studio-bar,
body[data-vision-board='true'] .prototype-nav,
body[data-vision-board='true'] .design-notes { display: none; }
body[data-screen][data-vision-board='true'] .workspace { position: fixed; inset: 0; display: block; width: 100%; max-width: none; height: 100dvh; margin: 0; padding: 0; }
body[data-vision-board='true'] .app-shell { width: 100%; height: 100%; min-height: 0; max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; overflow: hidden; }
.vision-board-screen.board-app { width: 100%; height: 100%; min-height: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; padding: 0; background: #f7f8f2; }
.board-appbar { display: flex; align-items: center; gap: 5px; padding: calc(10px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left)); background: #fffefb; border-bottom: 1px solid #e2e7dc; z-index: 2; }
.board-title { flex: 1; min-width: 0; padding-left: 5px; }
.board-title h1 { font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.1; letter-spacing: -.5px; margin: 0; color: #294d3b; }
.board-title p { display: flex; align-items: center; gap: 5px; margin-top: 4px; color: #627265; font-size: 11px; line-height: 1.4; }
.board-saved-dot { width: 5px; height: 5px; border-radius: 50%; background: #82a47c; }
.board-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 10px; border-radius: 50%; color: #41624b; border: 1px solid transparent; }
.board-icon svg { width: 21px; height: 21px; flex: none; }
.board-icon:disabled { opacity: .3; cursor: default; }
.board-zoom-button:disabled { opacity: .35; cursor: default; }
.board-icon:focus-visible,.board-zoom-button:focus-visible,.board-add:focus-visible { outline: 2px solid #41624b; outline-offset: 3px; }
.board-app .vb-viewport { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; margin: 0; background-color: #f4f5ef; background-image: radial-gradient(circle,#cbd4c4 1px,transparent 1px); background-size: 24px 24px; box-shadow: none; isolation: isolate; touch-action: none; cursor: grab; overflow: hidden; }
.board-app .vb-viewport:focus-visible { outline: 2px solid #75936e; outline-offset: -4px; }
.board-app .vb-world { position: absolute; inset: 0; transform-origin: 0 0; }
.board-app .vb-card { display: flex; flex-direction: column; border: 1px solid #e0e5d9; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 25px #344b2410,0 2px 4px #344b2409; background: #fffefb; user-select: none; touch-action: none; }
.board-app .vb-card-handle { flex: none; height: 44px; padding: 0 5px 0 16px; background: #fffefb; border: 0; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.board-app .vb-card-handle > span { font-size: 9px; font-weight: 500; letter-spacing: 1px; color: #63765b; }
.board-app .vb-card-handle button { width: 44px; min-width: 44px; height: 44px; padding: 12px; touch-action: none; }
.board-app .vb-card-handle svg { width: 16px; height: 16px; }
.board-app .vb-card-open { display: flex; flex-direction: column; flex: 1; min-height: 0; width: 100%; padding: 0; border-radius: 0; overflow: hidden; text-align: left; cursor: grab; touch-action: none; }
.board-app .vb-card-open > img { width: 100%; height: 42%; min-height: 0; object-fit: cover; flex: none; pointer-events: none; }
.board-app .vb-card-words { padding: 14px 16px 0; flex: 1; min-height: 0; overflow: hidden; }
.board-app .vb-card-words h2 { margin: 0 0 7px; font-family: var(--serif); font-size: 25px; line-height: 1.08; font-weight: 400; color: #354d3b; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.board-app .vb-card-words p { font-size: 13px; line-height: 1.5; margin: 0; color: #62705b; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.board-app .vb-card-bottom { display: flex; align-items: center; justify-content: space-between; flex: none; font-size: 9px; padding: 13px 16px 12px; color: #65745b; background: linear-gradient(0deg,#fffefb 80%,#fffefb00); }
.board-app .vb-card-bottom svg { width: 14px; height: 14px; }
.board-app .vb-note,.board-app .vb-note .vb-card-handle,.board-app .vb-note .vb-card-open { background: #fff1c9; border-color: #eadeb7; }
.board-app .vb-note .vb-card-bottom { background: #fff1c9; }
.board-app .vb-note .vb-card-words p { font-family: var(--serif); font-size: 22px; line-height: 1.25; color: #6e643e; }
.board-app .vb-card.is-dragging { box-shadow: 0 18px 38px #344b2428; z-index: 5; }
.board-app .vb-card:focus-within { outline-color: #698760; }
.board-app .is-panning,.board-app .is-panning .vb-card-open { cursor: grabbing; }
.board-gesture-tip { position: absolute; inset: 20px 12px auto; text-align: center; color: #6b7a63; font-size: 11px; pointer-events: none; }
.board-gesture-tip[hidden] { display: none; }
.board-card-pager { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 3px; border: 1px solid #dee5d6; border-radius: 30px; background: #fffefbf5; box-shadow: 0 5px 18px #3f563212; }
.board-card-pager > span { min-width: 42px; text-align: center; font-size: 12px; color: #53674d; font-variant-numeric: tabular-nums; }
.board-card-pager .board-icon { width: 44px; }
.board-dock { padding: 12px max(20px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left)); background: #fffefb; border-top: 1px solid #e2e7dc; z-index: 2; }
.board-dock-row { display: flex; gap: 16px; align-items: center; justify-content: center; max-width: 440px; margin-inline: auto; }
.board-dock .board-icon { border-color: #e1e7d9; }
.board-add { min-height: 50px; flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; background: #32553f; color: #fffefb; border-radius: 28px; box-shadow: 0 3px 7px #284a3015; font-size: 14px; font-weight: 500; padding: 12px 20px; }
.board-add svg { width: 18px; height: 18px; }
.board-zoom-button { min-width: 48px; height: 44px; min-height: 44px; font-size: 12px; color: #5c7054; font-variant-numeric: tabular-nums; border-radius: 18px; }
.board-dock-note { text-align: center; margin: 9px 0 0; font-size: 10px; color: #76816b; line-height: 1.4; }
.board-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 25px; pointer-events: none; }
.board-empty-art { width: 240px; height: 165px; position: relative; margin-bottom: 25px; }
.board-empty-art img { position: absolute; width: 120px; height: 142px; object-fit: cover; border: 7px solid #fffefb; border-bottom-width: 26px; box-shadow: 0 5px 15px #43573114; border-radius: 6px; }
.board-empty-art img:first-child { left: 14px; top: 10px; transform: rotate(-11deg); }
.board-empty-art img:nth-child(2) { right: 13px; transform: rotate(10deg); }
.board-empty-art span { position: absolute; bottom: 0; left: 77px; transform: rotate(-4deg); background: #fff1c9; padding: 10px 16px; font-family: var(--serif); font-size: 24px; color: #786c44; box-shadow: 0 3px 8px #43573110; }
.board-empty h2 { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.05; color: #3f5c43; margin: 0; }
.board-empty > p { font-size: 13px; line-height: 1.7; color: #6d7b64; margin: 15px 0; }
.board-empty-guide { pointer-events: auto; display: flex; gap: 7px; align-items: center; min-height: 44px; padding: 8px 12px; color: #42683c; font-size: 12px; border-radius: 22px; }
.board-empty-guide svg { width: 16px; height: 16px; }
/* Sheets keep every edit in the context of the board, including its root vision. */
dialog.vision-board-dialog { position: fixed; inset: auto 0 0; width: min(100%,520px); max-width: none; margin: 0 auto; max-height: calc(var(--board-sheet-height,100dvh) - 20px); padding: 24px 24px calc(24px + env(safe-area-inset-bottom)); border: 1px solid #e0e7d9; border-bottom: 0; border-radius: 28px 28px 0 0; background: #fffefb; box-shadow: 0 -10px 60px #183d2024; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
dialog.vision-board-dialog::backdrop { background: #1f362c50; backdrop-filter: blur(3px); }
.vision-board-dialog .board-sheet-grip { height: 4px; width: 34px; border-radius: 4px; background: #ced7c8; margin: -12px auto 16px; }
.vision-board-dialog .vb-dialog-top { gap: 10px; }
.vision-board-dialog .vb-dialog-top .icon-button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; margin: -7px -8px -7px 0; background: #f0f3eb; border-radius: 50%; }
.vision-board-dialog .vb-dialog-top .vision-overline { font-size: 10px; letter-spacing: 1.25px; }
.vision-board-dialog > h2 { font-size: 35px; line-height: 1.06; margin-top: 18px; letter-spacing: -.7px; }
.vision-board-dialog .vb-dialog-intro { font-size: 14px; line-height: 1.6; margin: 16px 0 22px; }
.vision-board-dialog .vb-dialog-actions { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom)); z-index: 2; margin-top: 24px; padding: 16px 0 calc(12px + env(safe-area-inset-bottom)); background: #fffefbf5; box-shadow: 0 -9px 16px #fffefbd9; }
.vision-board-dialog .vb-dialog-actions > button { min-height: 48px; }
.vision-board-dialog .primary { background: #32553f; }
.vision-board-dialog .primary:hover:not(:disabled) { background: #244630; }
.vision-board-dialog .board-sheet-back { min-height: 44px; margin-top: 10px; }
.vision-board-dialog input,.vision-board-dialog textarea { font-size: 16px; scroll-margin-block: 24px; border-radius: 13px; }
.vision-board-dialog .vb-field { margin-top: 20px; }
.vision-board-dialog .vb-field label { font-size: 13px; margin-bottom: 10px; }
.vision-board-dialog .vb-composer-image { margin-top: 22px; }
.vision-board-dialog .vb-composer-image img { height: 125px; }
.vision-board-dialog .vb-detail-image img { max-height: 225px; }
.vision-board-dialog .vb-full-statement { font-size: 27px; line-height: 1.4; }
.vision-board-dialog .vb-area-picker { gap: 10px; }
.vision-board-dialog .vb-area-picker button { padding: 16px 13px; min-height: 116px; }
.vision-board-dialog .vb-area-picker strong { font-size: 13px; }
.vision-board-dialog .vb-area-picker small { font-size: 11px; }
.vision-board-dialog .vb-feeling-chips button,.vision-board-dialog .vb-example,.vision-board-dialog .vb-guided-inline { min-height: 44px; }
.vision-board-dialog .vb-field-error:empty { display: none; }
.board-sheet-choices { display: grid; gap: 10px; margin-top: 22px; }
.board-sheet-choice { display: flex; align-items: center; gap: 14px; text-align: left; padding: 17px 15px; min-height: 84px; border: 1px solid #e0e7d9; border-radius: 18px; background: #f8f9f3; color: #3d5c40; }
.board-sheet-choice:disabled { opacity: .4; }
.board-choice-icon { display: grid; place-items: center; width: 35px; height: 40px; flex: none; }
.board-choice-icon svg { width: 25px; height: 25px; }
.board-sheet-choice > span:nth-child(2) { flex: 1; min-width: 0; }
.board-sheet-choice strong,.board-sheet-card strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; }
.board-sheet-choice small { display: block; font-size: 12px; line-height: 1.5; color: #74806a; margin-top: 4px; }
.board-sheet-choice > svg,.board-sheet-card > svg { width: 17px; height: 17px; flex: none; }
.board-sheet-choices + .vb-dialog-footnote { margin-top: 24px; font-size: 11px; }
.board-sheet-card-list { display: grid; gap: 10px; margin-top: 24px; }
.board-sheet-card { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid #e1e7db; border-radius: 15px; text-align: left; color: #3d5c40; }
.board-sheet-card > img,.board-list-note { width: 54px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.board-list-note { display: grid; place-items: center; background: #fff1c9; color: #8d7f4f; }
.board-list-note svg { width: 24px; height: 24px; }
.board-sheet-card > span:not(.board-list-note) { flex: 1; overflow-wrap: anywhere; }
.board-sheet-card small { font-size: 11px; color: #75816e; margin-top: 6px; display: block; }
.board-sheet-zoom { display: flex; justify-content: center; align-items: center; gap: 35px; background: #f1f5e9; border-radius: 18px; padding: 16px; margin-top: 25px; }
.board-sheet-zoom output { min-width: 64px; text-align: center; font-size: 26px; font-family: var(--serif); }
.board-sheet-zoom .board-icon { background: #fffefb; }
.board-help-list { display: grid; gap: 20px; margin: 25px 0; }
.board-help-list p { font-size: 14px; line-height: 1.6; color: #718068; }
.board-help-list strong { display: block; color: #3f5d43; font-size: 15px; margin-bottom: 4px; }
body[data-vision-board='true'] .save-feedback { bottom: calc(110px + env(safe-area-inset-bottom)); max-width: calc(100vw - 36px); z-index: 10; }
@media(min-width:721px) { .board-appbar { padding-inline: 24px; }.board-dock { padding-block: 13px; }.board-title h1 { font-size: 30px; }.board-app .vb-viewport { background-color: #f3f5ed; }.board-card-pager { bottom: 22px; } }
@media(max-width:360px) { .board-appbar { padding-inline: 6px; gap: 1px; }.board-title h1 { font-size: 26px; }.board-dock { padding-inline: 14px; }.board-dock-row { gap: 9px; }dialog.vision-board-dialog { padding-inline: 20px; }.vision-board-dialog > h2 { font-size: 32px; } }
@media(max-height:650px) { .board-gesture-tip { top: 12px; }.board-card-pager { bottom: 10px; }.board-empty-art { display: none; }.board-empty h2 { font-size: 32px; } }
@media(hover:hover) and (pointer:fine) { .board-icon:not(:disabled):hover,.board-zoom-button:hover,.board-empty-guide:hover { background: #edf2e6; }.board-add:hover { background: #244630; }.board-sheet-choice:not(:disabled):hover,.board-sheet-card:hover { border-color: #a8bd9c; background: #eff4e8; } }
@media(prefers-reduced-motion:no-preference) { .board-icon,.board-zoom-button,.board-add,.board-sheet-choice,.board-sheet-card { transition: background 180ms,border-color 180ms,transform 180ms; }.board-add:active,.board-icon:not(:disabled):active,.board-sheet-choice:not(:disabled):active { transform: scale(.96); } }


/* ======== voice-input.css ======== */
/* A familiar writing space, with voice as the first action. */
.voice-entry { --voice-accent:#31583f; --voice-space:132px; display:block; width:100%; min-width:0; margin:10px 0 0; padding:0; border:1px solid #d9dfd4; border-radius:15px; background:#fffefa; color:#35533f; text-align:left; scroll-margin-block:20px 24px; }
.voice-entry *, .voice-entry *::before,.voice-entry *::after { box-sizing:border-box; }
.voice-entry.voice-compact { --voice-space:52px; }
.voice-chrome { display:flex; flex-direction:column; gap:12px; padding:18px; }
.voice-entry .voice-native-field { display:none; }
.voice-entry .voice-body { flex:1; min-height:var(--voice-space); max-height:260px; overflow:auto; margin:0; padding:0; font-family:var(--sans,Arial,sans-serif); font-size:16px; line-height:1.65; font-weight:400; letter-spacing:normal; white-space:pre-wrap; overflow-wrap:anywhere; color:#35533f; }
.voice-entry .voice-placeholder { color:#86907d; }
.voice-entry[data-mode='type'] .voice-native-field { display:block; width:100%; max-width:100%; min-height:calc(var(--voice-space) + 18px); margin:0; padding:18px 18px 0; border:0; border-radius:15px 15px 0 0; outline:0; box-shadow:none; background:transparent; font-family:var(--sans,Arial,sans-serif); font-size:16px; line-height:1.65; color:#35533f; resize:vertical; }
.voice-entry[data-mode='type'] .voice-chrome { padding-top:12px; }
.voice-entry.voice-compact[data-mode='type'] .voice-native-field { height:70px; }
.voice-entry [hidden] { display:none; }
.voice-entry button { font-family:var(--sans,Arial,sans-serif); font-weight:400; cursor:pointer; border:0; margin:0; }
.voice-entry button:disabled { opacity:.45; cursor:default; }
.voice-entry svg { width:18px; height:18px; flex:none; }
.voice-entry :is(button,summary,textarea):focus-visible { outline:2px solid #517d56; outline-offset:3px; }
.voice-entry:focus-within { border-color:#94aa84; box-shadow:0 0 0 3px #6683510b; }
.voice-entry:has(.voice-native-field:disabled) { opacity:.5; pointer-events:none; }
.voice-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:auto; }
.voice-confirm,.voice-inline,.voice-type { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:10px 15px; font-size:13px; line-height:1.3; border-radius:24px; background:transparent; white-space:nowrap; }
.voice-entry .voice-confirm { background:var(--voice-accent); color:#fffefa; font-weight:500; }
.voice-inline,.voice-type { color:#728167; padding-inline:7px; }
.voice-record-head,.voice-review-head { display:flex; justify-content:space-between; align-items:center; gap:10px; min-height:24px; }
.voice-status { display:flex; align-items:center; gap:8px; font-size:12px; line-height:1.5; color:#65795a; }
.voice-status i { width:6px; height:6px; flex:none; border-radius:50%; background:#b46b56; }
[data-voice-timer] { font-size:12px; font-variant-numeric:tabular-nums; color:#78836f; }
.voice-entry[data-mode='recording'] { border-color:#a9bda0; }
.voice-entry:is([data-mode='recording'],[data-mode='review'],[data-mode='requesting'],[data-mode='finishing']) .voice-body { min-height:calc(var(--voice-space) - 36px); }
.voice-entry .voice-support { color:#7a8571; font-size:13px; }
.voice-review-head h3 { font-family:var(--sans,Arial,sans-serif); font-size:12px; line-height:1.5; font-weight:400; color:#78836f; margin:0; }
.voice-round { display:grid; place-items:center; flex:none; width:44px; height:44px; padding:12px; border-radius:50%; color:#748469; background:transparent; margin:-10px -10px -10px 0; }
.voice-entry textarea[data-voice-review] { width:100%; min-height:120px; border:0; border-radius:4px; background:transparent; color:#35533f; resize:vertical; }
.voice-review-tools { display:flex; align-items:center; gap:5px; margin-left:-7px; }
.voice-review-options { position:relative; }
.voice-review-options > summary { display:flex; align-items:center; min-height:44px; padding:8px; color:#78836f; cursor:pointer; font-size:12px; list-style:none; border-radius:8px; }
.voice-review-options > summary::-webkit-details-marker { display:none; }
.voice-options-panel { position:absolute; z-index:3; bottom:100%; left:-40px; width:180px; padding:8px; border:1px solid #d9dfd4; border-radius:12px; background:#fffefa; box-shadow:0 8px 30px #263d2515; }
.voice-options-panel .voice-inline { width:100%; justify-content:flex-start; border-radius:7px; text-align:left; }
.voice-insert-mode { border-top:1px solid #e9ede4; padding-top:4px; margin-top:4px; }
.voice-insert-mode button[aria-pressed='true'] { background:#f0f4eb; color:#31583f; }
.voice-entry .voice-limit { color:#9b594d; font-size:12px; line-height:1.5; margin:0; }
.voice-limit:empty { display:none; }
.voice-entry .voice-warning { color:#8d6b44; font-size:12px; line-height:1.6; margin:0; }
.voice-entry .voice-error { color:#7a624e; font-size:14px; }
.voice-kept-status { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:11px; color:#78836f; margin-top:-6px; }
.voice-kept-status .voice-inline { min-height:44px; font-size:11px; }
.name-field .voice-entry { margin-top:12px; }
.voice-preferences details { margin-top:4px; }
.voice-preferences summary { min-height:44px; padding:14px 0; font-size:12px; color:#748469; cursor:pointer; }
.voice-preferences p { font-size:12px; line-height:1.7; color:#748469; margin:0 0 12px; }
.vb-optional-title { margin-top:12px; border-top:1px solid #e5eadf; }
.vb-optional-title > summary { min-height:44px; padding:14px 0 10px; font-size:12px; line-height:1.5; color:#687d5c; cursor:pointer; overflow-wrap:anywhere; }
.vision-board-dialog .vb-optional-title > .vb-field { margin-top:4px; }
.vision-board-dialog:has(voice-note-input) .vb-dialog-actions { position:static; }
@media(max-width:360px) { .voice-chrome { padding:16px; }.voice-entry[data-mode='type'] .voice-native-field { padding:16px 16px 0; }.voice-toolbar { gap:8px; }.voice-confirm { padding-inline:13px; } }
@media(hover:hover) { .voice-type:hover,.voice-inline:hover,.voice-round:hover,.voice-review-options > summary:hover { background:#f0f4eb; }.voice-confirm:not(:disabled):hover { background:#23452f; } }
@media(prefers-reduced-motion:no-preference) {
  .voice-entry { transition:border-color 180ms,box-shadow 180ms; }
  .voice-entry button { transition:background 160ms,transform 160ms; }
  .voice-entry button:not(:disabled):active { transform:scale(.97); }
  .voice-entry[data-mode='recording'] .voice-status i { animation:voice-breathe 1.7s ease-in-out infinite; }
  .voice-entry:not([data-mode='type']) .voice-chrome { animation:voice-appear 180ms ease-out; }
  @keyframes voice-breathe { 50% { opacity:.45; } }
  @keyframes voice-appear { from { opacity:.5;transform:translateY(2px); } to { opacity:1;transform:translateY(0); } }
}

}

/* Aura: the one look of the app, taken from the modality stage (the release player) and carried to every screen.
   A white ground, soft ink, the ink itself for action, pastel light for atmosphere, one sans in two weights of
   voice. Every screen reads these names; none of them fixes a colour, a face or a duration of its own.
   docs/DESIGN_SYSTEM.md explains the system and how a screen uses it. */
@layer tokens {
:root{
  color-scheme:light;

  /* Colour: surfaces */
  --paper:#FFFFFF;          /* the ground: pages, sheets, dock, tab bar */
  --card:#FFFFFF;           /* raised on a tinted ground: canvas cards */
  --surface:#F5F3F8;        /* fills: options, fields, rows, blocks */
  --surface-2:#ECE8F1;      /* secondary button, tracks, pressed rows, time chip off */
  --desk:#F3F0F7;           /* behind the column on desktop only */
  --canvas:#F6F4F9;         /* board */
  --canvas-dot:#DCD6E3;
  --note:#FFF6D6;           /* note cards only */

  /* Colour: ink. The stage's #231f26, and two quieter steps that still pass AA on paper and on a fill */
  --ink:#231F26;            /* titles, body, option labels, anything on the orb */
  --ink-2:#5A5360;          /* echo, support text. Never on the orb */
  --ink-3:#6E6672;          /* placeholder, caption, inactive tab. 5.1:1 on paper, 4.8:1 on a fill */
  --line:#ECE7F0;           /* hairlines, tracks. Decorative only */
  --control:#8F8698;        /* unselected ring, toggle off. 3.4:1 on paper */

  /* Colour: the one action family. It is the ink itself: controls are neutral, as on the stage, and every colour
     in the app is light (the aura, the orb, the glow of a person's own words). No accent hue anywhere. */
  --accent:#231F26;         /* progress fill, focus ring, caret, ticks in a waveform */
  --action:#231F26;         /* THE primary button. Selected ring and indicator. Toggle on. 16:1 under its white label */
  --action-press:#3A3440;   /* under a finger: the ink, lit a little */
  --action-ink:#231F26;     /* text buttons: weight 500 and standing alone, never a word inside a sentence */
  --action-tint:#F1EFF3;    /* selected option fill. Always with the 1.5px action ring */
  --on-action:#FFFFFF;

  /* Colour: semantic */
  --danger:#B4234A;         /* End call, recording stop, destructive text, field error */
  --disabled-bg:#EEEAF2;
  --disabled-ink:#8F8698;
  --toast-bg:#231F26;
  --toast-ink:#FFFFFF;
  --toast-action:#FFFFFF;   /* set in weight 600, so it reads as the button beside the message */
  --scrim:rgba(28,20,36,.30); /* all overlays. No blur, ever */

  /* Colour: the aura. The stage's six lights. Only ever as soft radial light or inside the orb, never as a fill */
  --aura-teal:124,228,205;
  --aura-blue:140,191,237;
  --aura-violet:197,164,239;
  --aura-pink:236,136,221;
  --aura-coral:255,156,158;
  --aura-amber:255,196,133;
  /* The stage's glow, for the few words that are the person's own and for a line that is being drawn */
  --glow:linear-gradient(95deg,#2E9F8B 0%,#7A4FC4 50%,#D4527A 100%);
  /* How much of each light a screen shows. Set by the screen (styles/aura.css); the layer cross-fades between them */
  --aura-crown:0;           /* the page light, from the top */
  --aura-foot:0;            /* the stage light, rising from the foot */

  /* Earlier wash names, read by the board, the map and the results. Now the aura's own pastels */
  --wash-dawn:#FFF1E4;
  --wash-rose:#FBEAF3;
  --wash-sky:#ECF6FA;
  --wash-lilac:#F2EBFB;

  /* Fonts. One family. --serif is kept as a name for older rules and is the same face */
  --sans:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --serif:var(--sans);
  /* DM Sans has no fixed-width figures. Anything that counts (a timer, a step count) reads its digits from here */
  --numerals:'Aura Numerals',var(--sans);

  /* Type: use as font:var(--t-title). Voice is weight 500, structure is 600, reading is 400 */
  --t-clock:500 84px/88px var(--sans);    /* Home clock. --track-display */
  --t-display:600 40px/43px var(--sans);  /* Welcome title. --track-display */
  --t-title:600 28px/33px var(--sans);    /* Every screen title, Home greeting, vision headline. --track-title */
  --t-prompt:500 25px/32px var(--sans);   /* The guide's words in the call. --track-voice */
  --t-voice:500 22px/29px var(--sans);    /* Sheet titles, her moment on the portrait, result headlines, name field */
  --t-quote:500 19px/26px var(--sans);    /* Her words on Home, echo in the call, card titles */
  --t-button:600 16.5px/24px var(--sans); /* Primary, secondary, time chip */
  --t-lead:400 17px/25px var(--sans);     /* Reveal sentence, vision parts */
  --t-body:400 16px/24px var(--sans);     /* All inputs (iOS zooms below 16px), rows */
  --t-option:400 16px/22px var(--sans);   /* Answer options */
  --t-support:400 15px/21px var(--sans);  /* Ack line, helper, status */
  --t-quiet:500 15px/20px var(--sans);    /* Text buttons */
  --t-note:400 13px/18px var(--sans);     /* Captions, disclosures, timer. THE READING FLOOR */
  --t-label:500 13px/18px var(--sans);    /* Part labels, row eyebrows, map chips */
  --t-eyebrow:600 11.5px/16px var(--sans);/* The small capital line above a title. --track-eyebrow, uppercase */
  --t-tab:500 12px/16px var(--sans);      /* Tab labels. The only 12px in the app */
  --topic-size:34px;                      /* Topic name while it arrives */

  /* Tracking. The sans is set tight when it is large, as on the stage */
  --track-display:-.035em;
  --track-title:-.03em;
  --track-voice:-.022em;
  --track-quote:-.015em;
  --track-eyebrow:.09em;
  --title-tracking:var(--track-title);    /* read by .title */

  /* Spacing: nothing else */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-7:32px; --s-8:40px; --s-9:56px;

  /* Layout */
  --column:430px;
  --gutter:24px;
  --safe-top:env(safe-area-inset-top,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-left:env(safe-area-inset-left,0px);
  --safe-right:env(safe-area-inset-right,0px);
  --page-l:max(var(--gutter),var(--safe-left));
  --page-r:max(var(--gutter),var(--safe-right));
  --bar-h:52px;            /* below the safe area */
  --ack-h:40px;            /* the slot above a title. Holds two lines of support text */
  --primary-h:56px;
  --tabs-h:56px;
  --target:44px;
  --kb:0px;                /* written by viewport.js. Keyboard height on iOS. 0 on Android */

  /* Radii: four values. Every button is a pill, as on the stage */
  --r-s:12px;              /* map chips, thumbnails, time chip */
  --r-m:20px;              /* options, fields, rows, blocks, canvas cards */
  --r-l:28px;              /* sheets, portrait frame */
  --r-pill:999px;          /* buttons, chips, toggle, toast */

  /* Elevation: flat by default. Fill separates surfaces, not borders. Shadows are the ink's own colour */
  --e1:0 1px 2px rgba(35,31,38,.04),0 8px 24px rgba(35,31,38,.07);    /* canvas cards */
  --e2:0 2px 6px rgba(35,31,38,.06),0 16px 40px rgba(35,31,38,.13);   /* lifted card, toast, floating Add */
  --e3:0 -8px 40px rgba(35,31,38,.13);                                /* sheets */

  /* Motion: durations */
  --d-press:90ms;   /* press feedback: in with the finger */
  --d-quick:180ms;  /* exits, small fades, tab change */
  --d-base:320ms;   /* most entrances */
  --d-move:460ms;   /* the orb between states, sheets, flights */
  --d-moment:720ms; /* into reveal, into call, onto Home */
  --d-slow:1200ms;  /* atmosphere */
  --d-breath:12000ms; /* the shared clock: 4s in, 2s hold, 6s out */

  /* Motion: easings */
  --ease-settle:cubic-bezier(.22,1,.36,1);   /* entrances. The stage's own curve */
  --ease-exit:cubic-bezier(.4,0,1,1);        /* exits */
  --ease-move:cubic-bezier(.32,.72,0,1);     /* the orb, sheets, FLIP */
  --ease-breath:cubic-bezier(.45,0,.55,1);   /* inhale, exhale, atmosphere */
  --ease-pen:cubic-bezier(.65,0,.35,1);      /* anything drawn: ticks, progress, the Keep line */
  --ease-press:cubic-bezier(.34,1.56,.64,1); /* a press let go: out on a spring */
  --spring-soft:linear(0,.071,.229,.415,.593,.742,.858,.939,.992,1.022,1.035,1.038,1.035,1.029,1.021,1.015,1.009,1.005,1.002,1,.999,.999,.999,.999,.999); /* tick, toggle, tab bead */
  --spring-settle:linear(0,.057,.183,.333,.48,.61,.719,.804,.869,.917,.95,.973,.988,.997,1.002,1.004,1.005,1.005,1.004,1.004,1.003,1.002,1.002,1.001,1.001); /* progress bead, rail */

  /* Aliases so legacy screens match until they are rebuilt. Delete with legacy.css */
  --muted:var(--ink-2); --faint:var(--ink-3); --raised:var(--surface-2);
  --accent-hover:var(--action-press); --accent-ink:var(--action-ink); --accent-ink-hover:var(--action-press);
  --on-accent:var(--on-action); --negative:var(--danger); --ease:var(--ease-settle);
}
@supports not (animation-timing-function:linear(0,1)){
  :root{--spring-soft:cubic-bezier(.34,1.3,.64,1);--spring-settle:cubic-bezier(.34,1.3,.64,1);}
}
@media (max-width:359px){
  :root{--gutter:20px;--t-title:600 26px/31px var(--sans);--t-display:600 36px/40px var(--sans);}
}
@media (max-height:639px){
  :root{--t-clock:500 70px/72px var(--sans);--t-display:600 36px/40px var(--sans);--t-prompt:500 23px/29px var(--sans);--ack-h:20px;}
}
}

/* Reset, fonts, type rules, the one-screen shell and the light behind it. docs/DESIGN_SYSTEM.md. */
@layer base {
/* One family for the whole app: the stage's DM Sans, one variable file for every weight. */
@font-face{font-family:'DM Sans';src:url('../assets/release/dm-sans.woff2') format('woff2');font-style:normal;font-weight:100 1000;font-display:swap}
/* DM Sans has no fixed-width figures, so a running timer would shift with every second. Where digits count
   (var(--numerals)), the figures and the colon alone come from Instrument Sans, which has them. */
@font-face{font-family:'Aura Numerals';src:url('../assets/fonts/InstrumentSans-Regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap;unicode-range:U+0030-003A}
@font-face{font-family:'Aura Numerals';src:url('../assets/fonts/InstrumentSans-Medium.woff2') format('woff2');font-style:normal;font-weight:500 700;font-display:swap;unicode-range:U+0030-003A}

/* ---- Reset ---- */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
*::before,*::after{box-sizing:border-box}
html{height:100%;touch-action:manipulation;-webkit-text-size-adjust:100%;font-synthesis:none;overscroll-behavior:none}
body{height:100%;margin:0;overflow:hidden;background:var(--paper);color:var(--ink);font:var(--t-body);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{margin:0;padding:0;font:inherit;color:inherit;letter-spacing:0}
p,ol,ul,dl,dd,dt,li,figure,blockquote{margin:0;padding:0;font:inherit;color:inherit;letter-spacing:0}
ol,ul{list-style:none}
small{font:inherit;color:inherit}
strong,b{font-weight:600}
em,i,cite{font-style:normal}
label{display:block;margin:0;font:inherit;color:inherit}
button,input,textarea,select{margin:0;font:inherit;color:inherit;letter-spacing:0}
button{padding:0;background:none;border:0;border-radius:0;box-shadow:none;cursor:pointer;touch-action:manipulation}
button,summary,[role=button],[role=switch],.tab,.option,.chip{-webkit-user-select:none;user-select:none}
button:active{transform:none}
button:disabled{cursor:default}
a{color:inherit}
img,svg,canvas,video{display:block;max-width:100%}
svg{flex:none}
details>summary{list-style:none}
details>summary::-webkit-details-marker{display:none}
[hidden]{display:none!important}
h1:focus,h2:focus,[tabindex="-1"]:focus{outline:none}
::selection{background:rgba(var(--aura-blue),.45)}
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---- Type rules. One sans: 600 gives structure, 500 is a voice (the guide's words, the person's own), 400 reads.
   Large type is set tight, as on the stage; each size has its tracking beside it in tokens.css ---- */
.t-serif,.title,.bar-title--serif,.sheet-title,.dialog-title{text-wrap:balance}
.lead,.support,.note,.helper,.option,.row-title{text-wrap:pretty}
.title{font:var(--t-title);letter-spacing:var(--title-tracking);max-width:none}
.title--display{font:var(--t-display);letter-spacing:var(--track-display)}
.title--voice{font:var(--t-voice);letter-spacing:var(--track-voice)}
.lead{font:var(--t-lead)}
.support{font:var(--t-support);color:var(--ink-2)}
.note{font:var(--t-note);color:var(--ink-3)}
.label{font:var(--t-label);color:var(--ink-3)}
.eyebrow{font:var(--t-eyebrow);letter-spacing:var(--track-eyebrow);text-transform:uppercase;color:var(--ink-3)}
.quote{font:var(--t-quote);letter-spacing:var(--track-quote);color:var(--ink);text-wrap:balance}
.voice-words{font:var(--t-voice);letter-spacing:var(--track-voice);color:var(--ink);text-wrap:balance}
/* The person's own words, lit as they are on the stage. Plain action ink where a clipped background is unsupported. */
.glow-words{color:var(--action-ink)}
@supports ((-webkit-background-clip:text) or (background-clip:text)){.glow-words{background:var(--glow);-webkit-background-clip:text;background-clip:text;color:transparent}}
.field-error{font:var(--t-note);color:var(--danger)}
.field-error:empty{display:none}
/* Figures that count keep their width. */
.tabular{font-family:var(--numerals);font-variant-numeric:tabular-nums}

/* ---- Shell ---- */
.app-shell{position:relative;isolation:isolate;display:block;width:100%;max-width:var(--column);height:100vh;height:100dvh;min-height:0;margin-inline:auto;overflow:hidden;background:var(--paper);border:0;border-radius:0;box-shadow:none}
/* The aura: the light every screen stands in. It lives outside #app, so it never restarts when a screen changes:
   each screen only says how much of the page light (from the top) and of the stage light (from the foot) it wants
   (styles/aura.css), and the two cross-fade. Still gradients, moved by opacity and transform only. */
#atmosphere{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none;contain:strict}
#atmosphere i{position:absolute;display:block;opacity:0;transition:opacity var(--d-slow) var(--ease-breath);will-change:opacity}
#atmosphere .aura-crown{inset:0;opacity:var(--aura-crown);
  background:
    radial-gradient(110% 44% at 20% -8%,rgba(var(--aura-amber),.26),transparent 62%),
    radial-gradient(100% 42% at 90% -6%,rgba(var(--aura-teal),.20),transparent 60%),
    radial-gradient(90% 38% at 56% -10%,rgba(var(--aura-coral),.16),transparent 62%)}
#atmosphere .aura-foot{inset:-4% -10% -6%;opacity:var(--aura-foot);
  background:
    radial-gradient(64% 30% at 26% 92%,rgba(var(--aura-violet),.46),transparent 72%),
    radial-gradient(60% 30% at 76% 97%,rgba(var(--aura-coral),.34),transparent 72%),
    radial-gradient(54% 24% at 52% 104%,rgba(var(--aura-amber),.30),transparent 70%),
    radial-gradient(44% 22% at 6% 80%,rgba(var(--aura-teal),.16),transparent 70%),
    radial-gradient(40% 20% at 96% 78%,rgba(var(--aura-pink),.14),transparent 70%);
  animation:aura-drift 19s var(--ease-breath) infinite alternate}
@keyframes aura-drift{to{transform:translate3d(-2.5%,-1.5%,0) scale(1.05)}}
html.motion-paused #atmosphere .aura-foot{animation-play-state:paused}
#presence{position:absolute;left:0;top:0;width:300px;height:300px;z-index:2;transform-origin:0 0;pointer-events:none;opacity:0}
#app{position:absolute;inset:0;z-index:3;display:block;width:auto;max-width:none;min-height:0;margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.screen{height:calc(100% - var(--kb));min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-columns:minmax(0,1fr)}
.bar{grid-row:1;display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:var(--s-2);min-height:calc(var(--bar-h) + var(--safe-top));padding:calc(var(--safe-top) + 4px) var(--page-r) 4px var(--page-l)}
.body{grid-row:2;position:relative;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:var(--s-2) var(--page-r) var(--s-6) var(--page-l);scroll-padding-bottom:var(--s-6)}
/* A 12px gradient softens content under the bar, once something has scrolled there. */
.body::before{content:'';position:sticky;top:calc(-1 * var(--s-2));z-index:2;display:block;height:12px;margin:calc(-1 * var(--s-2)) calc(-1 * var(--page-r)) -4px calc(-1 * var(--page-l));background:linear-gradient(var(--paper),rgba(255,255,255,0));pointer-events:none;opacity:0}
@supports (animation-timeline:scroll()){.body::before{animation:body-top-fade linear both;animation-timeline:scroll(nearest);animation-range:0 16px}}
@keyframes body-top-fade{from{opacity:0}to{opacity:1}}
.dock{grid-row:3;position:relative;display:grid;gap:0;padding:var(--s-3) var(--page-r) max(16px,var(--safe-bottom)) var(--page-l);background:var(--paper)}
.dock::before{content:'';position:absolute;left:0;right:0;bottom:100%;height:24px;background:linear-gradient(rgba(255,255,255,0),var(--paper));pointer-events:none}
.screen:has(.tabs) .dock{padding-bottom:var(--s-3)}

/* Bar variants. .bar--title for Today, Compass, My vision and sheets. */
.bar--title{grid-template-columns:minmax(0,1fr) auto}
.bar--rail{grid-template-columns:minmax(0,1fr) 44px}
.bar--rail-close{grid-template-columns:44px minmax(0,1fr)}
.bar--float{position:absolute;left:0;right:0;top:0;z-index:4;pointer-events:none}
.bar--float>*{pointer-events:auto}
.bar-gap{display:block;min-width:0;min-height:1px}
.bar-middle{min-width:0}
.bar-title{font:var(--t-support);color:var(--ink-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bar-title--serif{font:var(--t-voice);letter-spacing:var(--track-voice);color:var(--ink);white-space:normal;overflow:visible}
.bar-end{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.bar-count{display:block;min-width:40px;text-align:right;font:var(--t-note);font-family:var(--numerals);color:var(--ink-3);font-variant-numeric:tabular-nums}

/* The film is its own surface above the shell, and stays inside the column. */
body.opening-active{overflow:hidden}

/* Desktop: one centred column on the desk. The board may fill the window. */
@media (min-width:521px){
  body{background:var(--desk)}
  body[data-screen="vision"] .app-shell{max-width:none}
  body[data-screen="vision"] .bar--float,
  body[data-screen="vision"] .tabs-inner{max-width:var(--column);margin-inline:auto}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important}
  #atmosphere i{transition-duration:.01ms}
  #atmosphere .aura-foot{animation:none}
}
}

/* Every component in DESIGN_SYSTEM.md section 6, with all its states.
   Components that shared a class name with legacy start from all:unset, so nothing old leaks in. */
@layer components {

/* ---- Buttons ---- */
.primary,.secondary{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;gap:var(--s-2);width:100%;min-height:var(--primary-h);padding:var(--s-3) var(--s-6);border-radius:var(--r-pill);font:var(--t-button);text-align:center;cursor:pointer;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--d-press) linear,color var(--d-quick) linear,transform var(--d-move) var(--ease-press)}
.primary{background:var(--action);color:var(--on-action)}
.primary:active:not(:disabled):not([aria-disabled=true]){background:var(--action-press);transform:scale(.97);transition-duration:var(--d-press);transition-timing-function:ease-out}
.primary:disabled,.primary[aria-disabled=true]{background:var(--disabled-bg);color:var(--disabled-ink);cursor:default}
/* The one sweep. Translate only. Played once per screen by presence-motion.js when a primary enables. */
.primary::after{content:'';position:absolute;inset:0;background:linear-gradient(100deg,rgba(255,255,255,0) 20%,rgba(255,255,255,.18) 50%,rgba(255,255,255,0) 80%);transform:translateX(-100%);pointer-events:none}
.primary svg,.secondary svg{position:static;flex:none;width:22px;height:22px;transition:none;transform:none}
.primary--float{width:auto;padding-inline:var(--s-5) var(--s-6);box-shadow:var(--e2)}
html[data-recording] .dock .primary,html[data-recording] .sheet-foot .primary{background:var(--disabled-bg);color:var(--disabled-ink);cursor:default}
.secondary{background:var(--surface-2);color:var(--ink)}
.secondary:active:not(:disabled){background:var(--line);transform:scale(.97);transition-duration:var(--d-press);transition-timing-function:ease-out}
.secondary:disabled{background:var(--disabled-bg);color:var(--disabled-ink);cursor:default}
.secondary--danger{color:var(--danger)}
.keep-kept{display:inline-flex;align-items:center;gap:var(--s-2)}

.quiet{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-width:var(--target);min-height:var(--target);padding:0;border-radius:var(--r-s);color:var(--action-ink);font:var(--t-quiet);text-align:center;text-decoration:none;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:opacity var(--d-press) linear}
.quiet:active:not(:disabled){opacity:.6}
.quiet:disabled{color:var(--ink-3);cursor:default}
.dock .quiet{justify-self:center}
.destructive{all:unset;box-sizing:border-box;display:inline-flex;align-items:center;min-height:var(--target);margin-top:var(--s-4);color:var(--danger);font:var(--t-quiet);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:opacity var(--d-press) linear}
.destructive:active{opacity:.6}

/* ---- Icon buttons: aligned by their ink. Margin law ---- */
.icon-btn{all:unset;box-sizing:border-box;position:relative;width:44px;height:44px;display:grid;place-items:center start;background:none;border:0;padding:0;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation}
.icon-btn svg{width:24px;height:24px;margin-inline-start:-8px;transition:transform var(--d-press) linear}
.icon-btn::before{content:'';position:absolute;inset:0 0 0 -16px}
.icon-btn:active svg{transform:scale(.92)}
.icon-btn:disabled{opacity:.4;cursor:default}
.icon-btn--end{place-items:center end}
.icon-btn--end svg{margin-inline:0 -5px}
.icon-btn--end::before{inset:0 -16px 0 0}
/* Inline icon box for rows and zoom: glyph centred in its 44px target */
.icon-btn--center{place-items:center}
.icon-btn--center svg{margin:0}
.icon-btn--center::before{inset:0}

/* ---- Answer option ---- */
.options{display:grid;gap:var(--s-2);margin-top:var(--s-4)}
.option{all:unset;box-sizing:border-box;position:relative;display:block;width:100%;min-height:54px;padding:15px 52px 15px 16px;border-radius:var(--r-m);background:var(--surface);color:var(--ink);font:var(--t-option);text-wrap:balance;text-align:left;cursor:pointer;overflow:hidden;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--d-quick) linear,transform 160ms var(--ease-settle)}
.option:active{transform:scale(.985);transition-duration:var(--d-press)}
.option::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px var(--action);opacity:0;transition:opacity var(--d-quick) linear;pointer-events:none}
.option[aria-checked=true],.option[aria-pressed=true]{background:var(--action-tint)}
.option[aria-checked=true]::after,.option[aria-pressed=true]::after{opacity:1}
.option-label{display:block;font-weight:400}
.option-ring{position:absolute;right:16px;top:50%;width:24px;height:24px;margin-top:-12px;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 1.5px var(--control);color:transparent;display:grid;place-items:center}
.option-ring svg{width:16px;height:16px;stroke-width:2.2}
.option[aria-checked=true] .option-ring,.option[aria-pressed=true] .option-ring{background:var(--action);box-shadow:none;color:var(--on-action)}
.option-sub{display:block;font:var(--t-support);color:var(--ink-2)}

/* ---- Chip ---- */
.chips{display:flex;flex-wrap:wrap;gap:var(--s-2)}
.chip{all:unset;box-sizing:border-box;position:relative;display:inline-flex;align-items:center;min-height:var(--target);padding:0 var(--s-4);border-radius:var(--r-pill);background:var(--surface);color:var(--ink);font:var(--t-support);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--d-quick) linear,box-shadow var(--d-quick) linear,transform 160ms var(--ease-settle)}
.chip:active{transform:scale(.97);transition-duration:var(--d-quick),var(--d-quick),var(--d-press)}
.chip[aria-pressed=true],.chip[aria-checked=true]{background:var(--action-tint);box-shadow:inset 0 0 0 1.5px var(--action)}

/* ---- Fields. The voice-or-type field's interior lives in screens/voice.css ---- */
.field{all:unset;box-sizing:border-box;display:block;width:100%;min-width:0;border-radius:var(--r-m);background:var(--surface);color:var(--ink);font:var(--t-body);caret-color:var(--accent);-webkit-user-select:text;user-select:text;transition:background-color var(--d-quick) linear}
.field::placeholder{color:var(--ink-3);opacity:1}
.field:focus{background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--action);outline:none}
.field--line{height:56px;padding:var(--s-4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.field--text{min-height:96px;max-height:168px;padding:12px 56px 12px 16px;resize:none;overflow-y:auto;field-sizing:content;white-space:pre-wrap;overflow-wrap:anywhere}
textarea.field--line{height:auto;min-height:56px;max-height:168px;padding:16px 56px 16px 16px;resize:none;overflow-y:auto;field-sizing:content;white-space:pre-wrap;overflow-wrap:anywhere;text-overflow:clip}
.field--name{display:block;min-height:56px;padding:var(--s-3) 0;border-radius:0;background:transparent;font:var(--t-voice);box-shadow:inset 0 -2px 0 var(--line)}
.field--name:focus{background:transparent;box-shadow:inset 0 -2px 0 var(--action)}
.field-group{display:grid;gap:var(--s-2);margin-top:var(--s-4)}
.field-group--tight{margin-top:var(--s-2)}

/* ---- Toggle ---- */
.toggle{all:unset;box-sizing:border-box;position:relative;display:block;flex:none;width:51px;height:31px;border-radius:var(--r-pill);background:var(--control);cursor:pointer;touch-action:manipulation;transition:background-color var(--d-quick) linear}
.toggle::before{content:'';position:absolute;left:0;right:0;top:-7px;bottom:-7px}
.toggle-thumb{position:absolute;left:2px;top:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(35,31,38,.25);transition:transform 260ms var(--spring-soft)}
.toggle[aria-checked=true]{background:var(--action)}
.toggle[aria-checked=true] .toggle-thumb{transform:translateX(20px)}
.toggle:disabled{opacity:.5;cursor:default}

/* ---- Time chip ---- */
.time-chip{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:var(--target);min-width:92px;padding:0 var(--s-3);border-radius:var(--r-s);background:var(--paper);color:var(--ink);font:var(--t-button);font-variant-numeric:tabular-nums;white-space:nowrap}
.time-chip input{all:unset;box-sizing:border-box;position:absolute;inset:0;width:100%;height:100%;opacity:.01;font-size:16px;cursor:pointer}
.time-chip input:focus-visible{outline:none}
.time-chip:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.time-chip.is-off{color:var(--ink-3)}
.time-chip.is-off input{cursor:default}

/* ---- Segmented control. The only switcher in the app ---- */
.seg{position:relative;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;min-height:var(--target);padding:2px;border-radius:var(--r-pill);background:var(--surface-2)}
.seg-thumb{position:absolute;left:2px;top:2px;bottom:2px;width:calc((100% - 4px) / var(--n,2));border-radius:var(--r-pill);background:var(--paper);box-shadow:var(--e1);transform:translateX(calc(var(--i,0) * 100%));transition:transform 280ms var(--ease-move)}
.seg-btn{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 var(--s-2);border-radius:var(--r-pill);color:var(--ink);font:var(--t-quiet);text-align:center;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.seg-btn::before{content:'';position:absolute;left:0;right:0;top:-2px;bottom:-2px}

/* ---- Rows and blocks ---- */
.rows{display:block;border-radius:var(--r-m);background:var(--surface);overflow:hidden}
.row{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;gap:var(--s-3);width:100%;min-height:56px;padding:var(--s-3) var(--s-4);color:var(--ink);font:var(--t-body);text-align:left;touch-action:manipulation;transition:background-color var(--d-press) linear}
button.row,a.row,summary.row{cursor:pointer;-webkit-user-select:none;user-select:none}
button.row:active,a.row:active,summary.row:active{background:var(--surface-2)}
button.row:disabled{color:var(--ink-3);cursor:default}
.row+.row::before,.row-wrap+.row-wrap>.row::before{content:'';position:absolute;left:var(--s-4);right:0;top:0;height:1px;background:var(--line)}
.row-main{display:block;flex:1;min-width:0}
.row-title{display:block;font:var(--t-body);color:inherit}
.row-sub{display:block;font:var(--t-note);color:var(--ink-3)}
.row-chev{flex:none;width:20px;height:20px;color:var(--ink-3)}
.row--64{min-height:64px}
.row-thumb{flex:none;width:48px;height:48px;border-radius:var(--r-s);object-fit:cover;background:var(--surface-2)}
.row-thumb--note{display:grid;place-items:center;background:var(--note);color:var(--ink)}
.row-thumb--note svg{width:22px;height:22px}
.block{border-radius:var(--r-m);background:var(--surface);padding:var(--s-4)}
.section-gap{margin-top:var(--s-4)}

/* ---- Ack line and helper ---- */
.ack{display:flex;align-items:flex-end;height:var(--ack-h);min-height:var(--ack-h);margin-bottom:var(--s-2);font:var(--t-support);color:var(--ink-2)}
@media (max-height:639px){.ack:not(:empty){height:auto}}
.helper{margin-top:var(--s-2);font:var(--t-support);color:var(--ink-3)}
.title--q{max-width:9em}

/* ---- Progress line. One bar, one line ---- */
.progress{position:relative;display:block;height:12px;width:100%;--p:0}
.progress-track{position:absolute;left:0;right:0;top:4px;height:4px;border-radius:var(--r-pill);background:var(--line);overflow:hidden}
.progress-fill{position:absolute;inset:0;border-radius:inherit;background:var(--accent);transform-origin:0 50%;transform:scaleX(var(--p));transition:transform var(--d-move) var(--spring-settle)}
.progress-bead{position:absolute;left:0;right:0;top:0;height:12px;transform:translateX(calc(var(--p) * 100%));transition:transform var(--d-move) var(--spring-settle);pointer-events:none}
.progress-bead img{position:absolute;left:-6px;top:0;width:12px;height:12px}

/* ---- Rail. The call's only header ---- */
.rail{display:grid;gap:var(--s-1);min-width:0}
.rail-label{font:var(--t-support);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rail-segs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:var(--s-1)}
.rail-seg{position:relative;display:block;height:2px;border-radius:var(--r-pill);background:var(--line);overflow:visible}
.rail-seg::after{content:'';position:absolute;inset:0;border-radius:inherit;background:var(--ink);transform-origin:0 50%;transform:scaleX(0);transition:transform var(--d-move) var(--spring-settle)}
.rail-seg.is-done::after{transform:scaleX(1)}
.rail-seg.is-current::after{transform:scaleX(.5)}
.rail-ember{position:absolute;right:0;top:-3px;width:8px;height:8px;opacity:0;pointer-events:none}
.rail-seg.is-done .rail-ember{opacity:1}
.rail-timer{display:block;width:44px;text-align:right;font:var(--t-note);color:var(--ink-3);font-variant-numeric:tabular-nums}

/* ---- Sheets: two forms, both native dialog. No third form. No centred modal anywhere ---- */
dialog.sheet{position:fixed;inset:auto 0 0 0;display:none;flex-direction:column;margin:0 auto;padding:0;border:0;max-width:none;max-height:none;width:auto;min-height:0;background:var(--paper);color:var(--ink);font:var(--t-body);box-shadow:var(--e3);overflow:hidden;--sheet-pad-l:var(--page-l);--sheet-pad-r:var(--page-r)}
dialog.sheet[open]{display:flex}
dialog.sheet::backdrop{background:var(--scrim);backdrop-filter:none;-webkit-backdrop-filter:none;opacity:var(--scrim-o,1)}
dialog.sheet--tall{top:calc(56px + var(--safe-top));bottom:var(--kb);height:auto;width:min(100%,var(--column));border-radius:var(--r-l) var(--r-l) 0 0}
dialog.sheet--short{top:auto;bottom:max(8px,calc(var(--safe-bottom) + var(--kb)));height:fit-content;width:calc(min(100vw,var(--column)) - 16px);max-height:calc(100dvh - 72px - var(--kb));border-radius:var(--r-l);--sheet-pad-l:calc(var(--gutter) - 8px);--sheet-pad-r:calc(var(--gutter) - 8px)}
.sheet-form{display:flex;flex-direction:column;flex:1;min-height:0}
.sheet-head{flex:none;position:relative;padding:calc(var(--s-3) + 4px) var(--sheet-pad-r) var(--s-1) var(--sheet-pad-l);touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none}
.sheet-grabber{position:absolute;left:50%;top:var(--s-2);width:36px;height:4px;margin-left:-18px;border-radius:var(--r-pill);background:var(--line)}
.sheet-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--s-2);min-height:44px}
.sheet-bar--back{grid-template-columns:44px minmax(0,1fr) auto}
.sheet-title{font:var(--t-voice);color:var(--ink);min-width:0;outline:none}
.sheet-sub{display:block}
.sheet-segs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:var(--s-1);margin-top:var(--s-2)}
.sheet-segs span{display:block;height:2px;border-radius:var(--r-pill);background:var(--line)}
.sheet-segs span.is-on{background:var(--action)}
.sheet-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:var(--s-2) var(--sheet-pad-r) var(--s-6) var(--sheet-pad-l);scroll-padding-bottom:var(--s-6)}
.sheet-foot{flex:none;position:relative;display:grid;gap:var(--s-2);padding:var(--s-3) var(--sheet-pad-r) max(16px,var(--safe-bottom)) var(--sheet-pad-l)}
dialog.sheet--short .sheet-foot{padding-bottom:var(--s-4)}
.sheet-foot::before{content:'';position:absolute;left:0;right:0;bottom:100%;height:24px;background:linear-gradient(rgba(255,255,255,0),var(--paper));pointer-events:none}
.sheet-foot .quiet{justify-self:center}
.sheet-bleed{margin-inline:calc(-1 * var(--sheet-pad-l)) calc(-1 * var(--sheet-pad-r))}
.sheet-section{margin-top:var(--s-4)}
.sheet-foot-note{margin-top:var(--s-3)}
.part{margin-top:var(--s-5)}
.part .label{display:block;margin-bottom:var(--s-1)}

/* ---- Dialog: a Short sheet with role=alertdialog, no grabber, no close ---- */
.dialog-form{display:grid;gap:0;padding:var(--s-6) var(--sheet-pad-r) var(--s-4) var(--sheet-pad-l)}
.dialog-title{font:var(--t-voice);color:var(--ink)}
.dialog-body{margin-top:var(--s-2);font:var(--t-body);color:var(--ink-2)}
.dialog-actions{display:grid;gap:var(--s-2);margin-top:var(--s-6)}

/* ---- Toast. For undo only. Lives above the dock or the tab bar ---- */
.toast{position:absolute;left:var(--page-l);right:var(--page-r);bottom:var(--toast-bottom,12px);z-index:6;display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);min-height:48px;padding:var(--s-1) var(--s-4) var(--s-1) var(--s-5);border-radius:var(--r-pill);background:var(--toast-bg);color:var(--toast-ink);font:var(--t-support);box-shadow:var(--e2)}
.toast-action{all:unset;box-sizing:border-box;position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0 var(--s-1);color:var(--toast-action);font:var(--t-quiet);font-weight:600;cursor:pointer;touch-action:manipulation}
.toast-action:active{opacity:.6}

/* ---- Tab bar ---- */
.tabs{all:unset;box-sizing:border-box;grid-row:4;position:relative;z-index:2;display:block;padding-bottom:var(--safe-bottom);background:var(--paper);box-shadow:inset 0 1px 0 var(--line)}
.kb-open .tabs{display:none}
.tabs-inner{position:relative;display:grid;grid-template-columns:repeat(3,1fr);height:var(--tabs-h)}
.tab{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:var(--tabs-h);color:var(--ink-3);font:var(--t-tab);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:color var(--d-quick) linear}
.tab svg{width:24px;height:24px;transition:transform var(--d-press) linear}
.tab:active svg{transform:scale(.92)}
.tab.active,.tab[aria-current=page]{color:var(--ink)}
.tab-bead{position:absolute;left:0;top:3px;width:calc(100% / 3);height:8px;display:grid;place-items:center;transform:translateX(calc(var(--nav-index,0) * 100%));transition:transform 360ms var(--spring-soft);pointer-events:none}
.tab-bead img{width:8px;height:8px}

/* ---- Pills and circles in the call dock ---- */
.pill{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;justify-content:center;gap:var(--s-2);flex:1;min-width:0;min-height:var(--primary-h);padding:0 var(--s-5);border-radius:var(--r-pill);background:var(--action);color:var(--on-action);font:var(--t-button);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:background-color var(--d-press) linear,transform 160ms var(--ease-settle)}
.pill svg{width:22px;height:22px}
.pill:active{background:var(--action-press);transform:scale(.98)}
.circle{all:unset;box-sizing:border-box;position:relative;display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:50%;background:var(--surface);color:var(--ink);cursor:pointer;touch-action:manipulation;transition:background-color var(--d-press) linear}
.circle svg{width:24px;height:24px}
.circle:active{background:var(--surface-2)}
.circle--48{width:48px;height:48px}
.circle--danger{background:var(--danger);color:#fff}
.circle--danger:active{background:var(--danger)}
.circle[aria-pressed=true]{background:var(--surface-2)}

/* ---- Orb still: the small mark (a bead on the progress line, the tab bar) ---- */
.orb-still{display:block;margin-inline:auto;object-fit:contain;pointer-events:none}

/* ---- The orb at rest (ui-kit.js, auraOrb): the stage's six lights under its soft edge, over its halo. The live
   orb of a call (call-stage.js) and of a release is the same thing in motion, so this one uses the call orb's own
   layout, drift and edge. Sized by its box; everything inside is in container units, so one rule serves a 48px
   orb and a 168px one. Each light is blurred once and then only moved, so nothing is repainted per frame ---- */
.aura-orb{position:relative;display:block;flex:none;width:var(--orb,112px);aspect-ratio:1;margin-inline:auto;container-type:size;pointer-events:none}
.aura-orb-halo{position:absolute;inset:-34%;border-radius:50%;background:radial-gradient(circle,rgba(var(--aura-violet),.30) 0%,rgba(var(--aura-teal),.12) 38%,transparent 64%);animation:aura-orb-breath var(--d-breath) var(--ease-breath) infinite}
.aura-orb-core{position:absolute;inset:0;overflow:hidden;isolation:isolate;background:#fff;
  -webkit-mask:url('../assets/call/breath-soft-mask.webp') center/100% 100% no-repeat;
  mask:url('../assets/call/breath-soft-mask.webp') center/100% 100% no-repeat;
  animation:aura-orb-breath var(--d-breath) var(--ease-breath) infinite}
.aura-orb-core i{position:absolute;display:block;width:82%;aspect-ratio:1;border-radius:50%;filter:blur(20cqw);will-change:transform}
.aura-orb-core i:nth-child(1){z-index:3;left:-27%;bottom:-18%;background:radial-gradient(circle at 58% 36%,#7ce4cd 0%,#80cfde 48%,transparent 72%);animation:cs-cloud-a 5.2s cubic-bezier(.45,0,.55,1) infinite alternate}
.aura-orb-core i:nth-child(2){z-index:2;left:0;bottom:-42%;background:radial-gradient(circle at 45% 42%,#8cbfed 0%,#afa7e9 50%,transparent 73%);animation:cs-cloud-b 5.8s ease-in-out -3.1s infinite alternate}
.aura-orb-core i:nth-child(3){z-index:4;left:-22%;top:-24%;background:radial-gradient(circle at 50% 50%,#ffc485 0%,#f6aa7b 48%,transparent 73%);animation:cs-cloud-c 4.8s ease-in-out -4.7s infinite alternate}
.aura-orb-core i:nth-child(4){z-index:5;right:-21%;top:-16%;background:radial-gradient(circle at 44% 48%,#ff9c9e 0%,#f291b1 49%,transparent 73%);animation:cs-cloud-b 5.4s ease-in-out -1.9s infinite alternate-reverse}
.aura-orb-core i:nth-child(5){z-index:3;right:-30%;bottom:-16%;background:radial-gradient(circle at 40% 38%,#ec88dd 0%,#d994e8 51%,transparent 73%);animation:cs-cloud-c 6s ease-in-out -5.4s infinite alternate-reverse}
.aura-orb-core i:nth-child(6){z-index:2;right:-2%;bottom:-39%;background:radial-gradient(circle at 46% 37%,#c5a4ef 0%,#b99fe8 48%,transparent 73%);animation:cs-cloud-a 5s ease-in-out -2.6s infinite alternate-reverse}
@keyframes aura-orb-breath{0%,100%{transform:scale(.95)}33%,50%{transform:scale(1.04)}}
html.motion-paused .aura-orb :is(.aura-orb-halo,.aura-orb-core,i){animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.aura-orb :is(.aura-orb-halo,.aura-orb-core,i){animation:none}}

/* ---- Focus: on :focus-visible only, everywhere ---- */
:is(button,a,summary,[role=button],[role=switch],[role=radio],[role=checkbox],.tab,.chip,.option,.row,.pill,.circle,.quiet,.primary,.secondary,.icon-btn,.seg-btn,.toggle,.toast-action,.destructive):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.vb-viewport:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}

@media (prefers-reduced-motion:reduce){
  .primary,.secondary,.option,.chip,.quiet,.toggle-thumb,.seg-thumb,.tab-bead,.progress-fill,.progress-bead,.rail-seg::after,.pill,.circle,.icon-btn svg,.tab svg{transition-duration:.01ms}
  .primary:active:not(:disabled),.secondary:active:not(:disabled),.option:active,.chip:active,.pill:active,.icon-btn:active svg,.tab:active svg{transform:none}
}
/* The safety line above a question. Three lines are allowed here, and only here. */
.ack--safety{height:auto;color:var(--ink);padding-top:var(--s-2)}
}

/* Screen group: entry. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* ---- Opening film (owner upgrade): white paper, ink, the one orb ---- */
/* The film stays inside the column, edge to edge, and is the same paper as every page after it. */
.welcome-opening{inset:0;max-width:var(--column);border-radius:0;font-family:var(--sans);color:var(--ink)}
.opening-canvas{background:var(--paper)}
/* One dawn tint at the top, the questions' own --wash-dawn. A dithered image at half size (assets/opening/dawn.png,
   216x468, so it never bands), scaled up; only its opacity moves. */
/* Hidden since the owner's review: even faint, its edge read as a stain on the paper. The film still drives it. */
.opening-dawn{position:absolute;left:0;top:0;width:50%;height:50%;transform:scale(2);transform-origin:0 0;opacity:0;will-change:opacity;display:none;
  background:#fff url(../assets/opening/dawn.png) 0 0/100% 100% no-repeat}

/* The Welcome page waits under the film. Its parts arrive in order as the light lands (the logo's word, then
   the mark taking over from the light, then title, words and actions), each on its own layer, so the reveal
   is transform and opacity only and never repaints the page in one frame. */
body.opening-active #app :is(.brand-lockup-word,.brand-lockup-mark,.body>*,.dock){will-change:transform,opacity}

/* The first screen: the HumanOS mark where the orb will rest, then its name and its line. Her tap starts the
   score; the name lifts away and the mark's light swells into the orb. */
.opening-brand{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;padding-inline:var(--page-l)}
.opening-brand-mark{position:relative;display:block;width:var(--mark);height:var(--mark);max-width:none;will-change:transform,opacity}
.opening-brand-halo{position:absolute;left:50%;top:calc(var(--mark) / 2);width:calc(var(--mark) * 3.2);height:calc(var(--mark) * 3.2);max-width:none;transform:translate(-50%,-50%);opacity:.24;will-change:opacity}
/* The name leads; the line is quieter than it. The wordmark is the Welcome page's lockup size, where the light lands. */
.opening-brand-words{display:flex;flex-direction:column;align-items:center;margin-top:var(--s-7);will-change:transform,opacity}
.opening-brand-word{display:block;width:auto;height:30px;max-width:none}
.opening-brand-line{margin:var(--s-4) 0 0;font:var(--t-title);font-size:20px;line-height:26px;letter-spacing:0;color:var(--ink-2);text-align:center;text-wrap:balance}
/* The mark is the only colour on the opening: Skip is ink like the sound control. */
.opening-control.opening-skip{color:var(--ink-2)}

/* The one orb. Its box is the orb at full lungs and is only ever scaled down, so it never blurs from upscaling. */
.opening-light{position:absolute;left:50%;top:50%;opacity:0;pointer-events:none;will-change:transform,opacity;transform-origin:50% 50%}
.opening-light img{position:absolute;inset:0;width:100%;height:100%;max-width:none;display:block;user-select:none;pointer-events:none;will-change:transform}
.opening-light-glow{opacity:0}
/* The orb is round and soft-edged whatever the image's own rim does, and a touch lighter than the paint, so on
   white paper it reads as light, not as a ball. */
.opening-light-orb{opacity:.9;-webkit-mask-image:radial-gradient(closest-side,#000 68%,transparent 100%);mask-image:radial-gradient(closest-side,#000 68%,transparent 100%)}

/* Sound and Skip sit on the gutter as 44px targets, centred in the bar the welcome page will have. No pill, no blur. */
.opening-controls{left:calc(var(--page-l) - 10px);right:calc(var(--page-r) - 12px);top:calc(var(--safe-top) + 4px)}
.opening-control{min-width:var(--target);min-height:var(--target);padding:0 12px;border-radius:var(--r-pill);font:var(--t-quiet);color:var(--action-ink);transition:opacity var(--d-quick) linear;-webkit-tap-highlight-color:transparent}
.opening-control[data-opening-action=sound]{width:var(--target);padding:0;color:var(--ink-2)}
.opening-control svg{width:22px;height:22px;stroke-width:1.65}
.opening-control:active{opacity:.6}
.opening-sound-hint{bottom:calc(var(--safe-bottom) + var(--s-7));font:var(--t-note);color:var(--ink-3);text-shadow:none}
/* Before her tap the first screen settles in, and the page asks for one tap, which starts the film and its score
   together. Only transform and opacity move; the tap hands over to the film's own values. */
.welcome-opening.is-waiting .opening-brand-mark{animation:opening-gate-mark 1200ms var(--ease-settle) both}
.welcome-opening.is-waiting .opening-brand-halo{animation:opening-gate-from 1800ms ease-out both,opening-gate-halo 6s ease-in-out 1.8s infinite}
.welcome-opening.is-waiting .opening-brand-word{animation:opening-gate-rise 900ms var(--ease-settle) 280ms both}
.welcome-opening.is-waiting .opening-brand-line{animation:opening-gate-rise 900ms var(--ease-settle) 460ms both}
.welcome-opening.is-waiting .opening-sound-hint{font:var(--t-quiet);color:var(--ink-2);animation:opening-gate-in 700ms var(--ease-settle) 1100ms both,opening-gate-hint 4.4s ease-in-out 1.8s infinite}
@keyframes opening-gate-in{from{opacity:0}to{opacity:1}}
@keyframes opening-gate-from{from{opacity:0}}
@keyframes opening-gate-mark{from{opacity:0;transform:scale(.86)}}
@keyframes opening-gate-rise{from{opacity:0;transform:translateY(10px)}}
@keyframes opening-gate-halo{0%,100%{opacity:.24}50%{opacity:.36}}
@keyframes opening-gate-hint{0%,100%{opacity:1}50%{opacity:.7}}
@media (prefers-reduced-motion:reduce){.welcome-opening.is-waiting :is(.opening-brand-mark,.opening-brand-halo,.opening-brand-word,.opening-brand-line,.opening-sound-hint){animation:none}}

/* Captions are the guide's voice: the serif of the call, "Breathe in" included. */
.opening-caption,.opening-pause strong{font:var(--t-title);font-size:30px;line-height:36px;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.opening-caption-line{column-gap:.24em}
.opening-pause p{margin-top:var(--s-2);font:var(--t-support);color:var(--ink-2)}
.opening-again{left:var(--page-l);right:var(--page-r);bottom:max(16px,var(--safe-bottom))}
@media (max-height:699px){.opening-caption,.opening-pause strong{font-size:26px;line-height:32px}}

/* The hairline under the words: one breath in three parts, in, hold and out, each as long as it lasts.
   Quiet ink on a line track, never the bright accent: the orb is what the eye should follow. */
/* The orb's swell is the breath's timer and the captions name each part, so the progress line stays hidden: on
   white paper its three dashes read as a loading bar. */
.opening-progress{position:absolute;left:50%;width:96px;margin-left:-48px;height:2px;display:none;gap:3px;opacity:0;will-change:opacity}
.opening-progress i{flex:1 1 0;height:2px;border-radius:1px;background:var(--line);overflow:hidden}
.opening-progress b{display:block;height:100%;background:var(--ink);opacity:.55;transform:scaleX(0);transform-origin:0 50%}

/* ---- Welcome ---- */
.brand-lockup{display:flex;align-items:center;height:30px}
.brand-lockup img{display:block;height:30px;width:auto;max-width:none}
.brand-lockup-mark{transform-origin:50% 50%}
.welcome-body{display:flex;flex-direction:column;padding-top:var(--s-4);padding-bottom:0}
.welcome-lead{margin-top:var(--s-2);color:var(--ink-2);text-wrap:balance}
.welcome-said{margin-top:var(--s-3)}
.welcome-said+.quote{margin-top:var(--s-1)}
/* The river at dawn in the opening's own colours: paper, a lifted ink, cyan water, a peach sky. It rises out of
   the paper under her words (a long feather, so there is no empty band and no hard top edge), its full-strength
   part stays under 38% of the screen, and it feathers into paper over 64px above the actions. */
.welcome-plate{flex:1 1 0;min-height:0;max-height:56vh;max-height:56dvh;margin:var(--s-2) calc(-1 * var(--page-r)) 0 calc(-1 * var(--page-l));overflow:hidden;-webkit-mask-image:linear-gradient(transparent,rgba(0,0,0,.35) 22%,#000 46%,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(transparent,rgba(0,0,0,.35) 22%,#000 46%,#000 calc(100% - 64px),transparent)}
.welcome-plate img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 0;transform-origin:50% 40%}
@media (max-height:519px){.welcome-plate{display:none}}
/* Returning: her words lead, and the same painting fills the rest of the page as on the first Welcome, so coming
   back feels like the same calm place rather than a page with a hole in it. */
.welcome-body--resume .welcome-plate{margin-top:var(--s-3)}
/* The landscape settles in once, the way a painting comes into focus. Transform and opacity only. */
@media (prefers-reduced-motion:no-preference){
  .welcome-plate img{animation:welcome-plate-settle 1600ms var(--ease-settle) both}
}
/* The outgoing copy of the page holds the painting still; it must not replay the settle as it leaves. */
[data-motion-ghost] .welcome-plate img{animation:none}
@keyframes welcome-plate-settle{from{opacity:0;transform:scale(1.045)}to{opacity:1;transform:none}}
}

/* Screen group: profile. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* ---- Name ---- */
/* Why we ask, under the field: one quiet line, so a careful person knows before typing. */
.name-why{margin-top:var(--s-1)}
.profile-photo{margin-top:24px}
.profile-photo-trigger{display:inline-flex;align-items:center;gap:12px;min-height:52px;border-radius:26px;color:var(--ink-2)}
.profile-photo-avatar{flex:0 0 52px;width:52px;height:52px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--surface);color:var(--control)}
.profile-photo-avatar img{width:100%;height:100%;object-fit:cover}
.profile-photo-avatar svg{width:27px;height:27px}
.profile-photo-caption{font-size:13px;line-height:20px;padding-right:4px}
.profile-photo .support{font-size:13px;line-height:1.4;margin-top:4px}
.profile-photo-status{margin:0;min-height:0}
.profile-photo-status:empty{display:none}
.gender-open{display:grid;gap:var(--s-2);margin-top:var(--s-4)}
/* Gender choices arrive with the screen; the reconciler keeps these nodes when a chip is picked. */
@media (prefers-reduced-motion:no-preference){
  .gender-open>.label,.gender-open .chip{animation:profile-rise var(--d-base) var(--ease-settle) backwards}
  .gender-open .chip:nth-child(2){animation-delay:30ms}
  .gender-open .chip:nth-child(3){animation-delay:60ms}
  .gender-open .chip:nth-child(4){animation-delay:90ms}
  .gender-open .chip:nth-child(5){animation-delay:120ms}
  .details-voice{animation:profile-rise var(--d-base) var(--ease-settle) backwards}
}
@keyframes profile-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---- Your details ---- */
.details-body{display:flex;flex-direction:column;padding-top:var(--s-1)}
.details-body>*{flex:none}
.field-group--first{margin-top:0}
.details-label{margin-bottom:var(--s-2)}
/* How voice works expands in place, so its chevron turns down and back instead of pointing away. */
.details-chev svg{display:block;width:100%;height:100%;transform:rotate(90deg);transition:transform var(--d-base) var(--ease-settle)}
.details-disclose[aria-expanded=true] .details-chev svg{transform:rotate(-90deg)}
.details-voice{margin-top:var(--s-3);max-width:34em}
/* Under the three speeds of Noor's voice: when the choice takes effect. */
.pace-note{margin-top:var(--s-3);font-size:13px;line-height:1.4}
.details-body>.destructive{align-self:flex-start}
/* The lockup signs the content, 40px after Start over, not the dock. */
.details-lockup{display:block;width:auto;height:22px;max-width:none;align-self:flex-start;margin-top:var(--s-8);opacity:.9}
.row-tick{color:var(--action)}
}

/* Screen group: questions. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
.question-chapter{font:var(--t-label);color:var(--action-ink);margin:4px 0 8px}
/* Every title is two lines at every width, reserved. */
.question-title{max-width:9em;min-height:calc(2 * 34px)}
@media (max-width:359px){.question-title{min-height:calc(2 * 32px)}}
.question-body .helper{min-height:20px;transition:color var(--d-quick) linear}
.question-body .helper--limit{color:var(--ink-2)}
/* Seven options at 360x740 overflowed by 14px: a scroll that shows nothing. Below 780 tall every option on every
   question is 2px shorter, so the seven fit there and all six questions keep one rhythm per phone. */
@media (max-height:779px){.question-body .option{min-height:52px;padding-block:14px}}
/* What scrolls under the bar fades out over 28px instead of being cut, so no sliver of an option shows there. */
.question-body::before{height:28px;margin-bottom:-20px}
/* Better, where scroll-driven animation runs: the content itself fades into whatever is behind it (the dawn wash
   too, which a paper-coloured band could not match), and only once it has scrolled: at rest nothing is masked. */
@property --q-top-fade{syntax:'<length>';inherits:false;initial-value:0px}
@supports (animation-timeline:scroll()){
  .question-body{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 var(--q-top-fade));mask-image:linear-gradient(to bottom,transparent 0,#000 var(--q-top-fade));animation:q-top-fade linear both;animation-timeline:scroll(self);animation-range:0 24px}
  .question-body::before{display:none}
}
@keyframes q-top-fade{from{--q-top-fade:0px}to{--q-top-fade:32px}}

/* Selecting: the tint, the edge ring and the indicator's fill arrive together on one frame, 160ms. The tick draws after. */
.question-body .option-ring{transition:background-color var(--d-quick) linear,box-shadow var(--d-quick) linear}

/* The line sits optically centred between the chevron's ink and the count, not between their boxes. */
.screen--question .bar .progress{width:auto;margin:0 6px 0 -18px}

/* The touch light. It fills the option exactly and grows out of the finger by scaling about that point, so it never
   reaches past the option's edges: nothing to clip and nothing added to the option's scroll size. Only on while it plays. */
.question-body .option::before{content:'';position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle farthest-corner at var(--touch-x,50%) var(--touch-y,50%),rgba(var(--aura-teal),.9),rgba(var(--aura-teal),0) 70%);transform-origin:var(--touch-x,50%) var(--touch-y,50%);opacity:0;pointer-events:none}
.question-body .option-label{position:relative}
}

@layer screens {
/* One meaningful illustration, a short reflection, and a thread to carry forward. */
.moment-eyebrow{font:var(--t-label);color:var(--ink-3);margin-bottom:10px}
.moment-title{font:600 32px/37px var(--sans);letter-spacing:var(--track-title);text-wrap:balance}
.moment-copy{color:var(--ink-2);margin-top:16px;text-wrap:pretty;font-size:16px;line-height:24px}
.moment-body{text-align:center;padding-top:24px}
.screen--moment .moment-body{display:flex;flex-direction:column}
.screen--moment .story-art{margin-top:auto;margin-bottom:28px}
.screen--moment .moment-title{max-width:330px;margin-inline:auto;flex:none}
.screen--moment .guide-note{margin:22px auto auto;padding:16px;border:0;border-radius:18px;background:var(--surface);max-width:350px;flex:none}
.screen--moment .guide-note .label{margin-bottom:4px}
.screen--moment .guide-note-copy{font:500 17px/24px var(--sans)}
.moment-next{text-align:center;text-wrap:balance;margin-bottom:12px}
.onboarding-tools{display:flex;align-items:center;gap:5px}
.onboarding-sound{flex:none;opacity:.75;width:40px;height:44px;place-items:center}
.onboarding-sound::before{inset:0}
.onboarding-sound svg{width:19px;height:19px;margin:0}
.onboarding-sound[aria-pressed="false"]{opacity:.45}
.screen--question .bar-middle{min-width:40px}
.story-art{position:relative;isolation:isolate;display:grid;place-items:center;width:300px;max-width:100%;height:210px;margin:6px auto 22px}
.story-art img{position:relative;z-index:1;width:190px;height:190px;object-fit:contain;mix-blend-mode:multiply}
.story-paper{position:absolute;width:174px;height:174px;border-radius:48% 52% 44% 56%;background:#f8efe3;opacity:.65;transform:rotate(-12deg)}
.story-art[data-art="meaning"] .story-paper{background:#e9f2f3}
.story-art[data-art="step"] .story-paper{background:#f2f2e5}
.story-art[data-art="path"] .story-paper{background:#f8eae2}
.story-thread{position:absolute;width:300px;height:200px;inset:auto;overflow:visible;stroke:#b3cdd0;stroke-width:1;z-index:0}
.story-thread circle{fill:#007b9b;stroke:none}.story-thread circle:last-child{fill:#e5ac87}
.story-line{stroke-dasharray:1;stroke-dashoffset:0}
.story-art--compact{height:150px;margin:0 auto 14px}
.story-art--compact img{width:144px;height:144px}
.story-art--compact .story-paper{width:135px;height:135px}
.story-art--compact .story-thread{width:220px;height:147px}
.moment-thread{display:flex;align-items:flex-start;gap:13px;text-align:left;margin-top:26px;padding:18px 0 0;border-top:1px solid var(--line)}
.moment-thread>svg{flex:none;width:23px;height:23px;color:var(--action);margin-top:2px}
.moment-thread .label{display:block;color:var(--ink-3);font-size:12px;line-height:18px;margin-bottom:5px}
.moment-thread p{font:500 19px/26px var(--sans);letter-spacing:var(--track-quote);text-wrap:pretty;color:var(--ink)}
.guide-note{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;text-align:left;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.guide-note>.orb-still{width:28px;height:28px;margin-top:1px}
.guide-note .label{display:block;font-size:12px;line-height:18px;color:var(--ink-3);margin-bottom:5px}
.guide-note-copy{font:500 18px/25px var(--sans);letter-spacing:var(--track-quote);color:var(--ink);text-wrap:pretty}
.guide-typing{display:block;position:relative;text-wrap:wrap}
.guide-reserve{display:block;visibility:hidden}
.guide-live{position:absolute;inset:0}
@media(prefers-reduced-motion:no-preference){
  .story-art img{animation:story-arrive 750ms cubic-bezier(.22,1,.36,1) both}
  .story-paper{animation:paper-open 850ms cubic-bezier(.22,1,.36,1) both}
  .story-line{animation:thread-draw 1000ms ease 150ms both}
  .story-thread circle:last-child{animation:moment-rise 400ms ease 650ms both}
  .screen--moment .story-thread circle:last-child{transform-box:fill-box;transform-origin:center;animation:moment-land 650ms ease 550ms both}
  .moment-thread{animation:moment-rise 550ms var(--ease-settle) 180ms backwards}
}
@media print{.guide-reserve{visibility:visible}.guide-live{display:none}}
@keyframes story-arrive{from{opacity:0;transform:translateY(12px) rotate(-4deg) scale(.92)}to{opacity:1;transform:none}}
@keyframes paper-open{from{opacity:0;transform:rotate(-22deg) scale(.8)}}
@keyframes thread-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes moment-rise{from{opacity:0;transform:translateY(8px)}}
@keyframes moment-land{0%{opacity:0;transform:scale(.5)}55%{opacity:1;transform:scale(1.8)}100%{opacity:1;transform:scale(1)}}
@media(max-height:739px){
  .moment-body{padding-top:8px}.screen--moment .story-art{margin-bottom:20px}
  .screen--moment .guide-note{margin-top:18px;padding:14px}
  .moment-title{font-size:33px;line-height:35px}
  .story-art{height:158px;margin:0 auto 14px}.story-art img{width:150px;height:150px}
  .story-paper{width:135px;height:135px}.story-thread{width:235px;height:157px}
  .moment-copy{margin-top:12px}.moment-thread{margin-top:20px;padding-top:15px}
  .moment-thread p{font-size:21px;line-height:25px}
  .story-art--compact{height:112px;margin-bottom:12px}.story-art--compact img{width:108px;height:108px}
  .story-art--compact .story-paper{width:100px;height:100px}.story-art--compact .story-thread{width:180px;height:120px}
}
@media(max-width:359px){
  .moment-title{font-size:32px;line-height:34px}.onboarding-tools{gap:0}
  .moment-copy{font-size:15px;line-height:23px}
  .moment-thread p{font-size:20px;line-height:25px}
  .bar:has(.onboarding-tools) .bar-title{font-size:13px}
}
/* The pauses have their own composition and motion, separate from the form. */
.screen--moment{background:linear-gradient(155deg,#fff7ed 0%,#fffcf8 36%,#fff 78%)}
.screen--moment .dock{background:transparent}
.screen--moment .dock::before{display:none}
.screen--moment .moment-insight{width:100%;margin:auto auto 0;flex:none}
.screen--moment .story-art{margin-top:0;margin-bottom:24px}
.screen--moment .guide-note{position:relative;background:#fffdf9;border:1px solid #efe8dc;border-radius:22px 22px 22px 6px;box-shadow:0 8px 24px #6b543b05;padding:18px;margin-top:24px}
.screen--moment .guide-note-copy{text-wrap:pretty}
.screen--moment-possibility{background:linear-gradient(175deg,#f4f9f8,#fff 75%)}
.screen--moment-possibility .moment-insight{border-radius:28px;background:#eaf3f1;padding:26px 20px 10px;border:1px solid #dfebe7;position:relative;overflow:hidden}
.screen--moment-possibility .moment-title{font-size:34px;line-height:37px;max-width:310px}
.screen--moment-possibility .story-art{height:160px;margin:18px auto 0}
.screen--moment-possibility .story-art img{width:150px;height:150px}
.screen--moment-possibility .story-paper{background:#fdf9eb;opacity:.8;width:140px;height:140px;transform:rotate(8deg)}
.screen--moment-possibility .story-thread{display:none}
.screen--moment-possibility .guide-note{background:none;border:0;border-radius:0;box-shadow:none;padding:0 4px;margin-top:28px}
.guide-wait{display:none;position:absolute;left:0;top:9px;align-items:center;gap:4px;height:9px}
.guide-wait i{width:4px;height:4px;background:var(--action);border-radius:50%;opacity:.4}
.guide-typing[data-typing]:has(.guide-live:empty) .guide-wait{display:flex}
.guide-typing[data-typing] .guide-live:not(:empty)::after{content:'';display:inline-block;width:1px;height:.85em;margin-left:3px;background:var(--action);vertical-align:-.03em}
@media(prefers-reduced-motion:no-preference){
  .screen--moment .moment-title{animation:ack-words 600ms ease 220ms backwards}
  .screen--moment .story-art img{animation:ack-open 850ms cubic-bezier(.16,1,.3,1) both}
  .screen--moment .story-paper{animation:ack-open 1000ms cubic-bezier(.16,1,.3,1) both}
  .screen--moment .guide-note{animation:ack-words 500ms ease 360ms backwards}
  .screen--moment-possibility .moment-insight{animation:ack-open 700ms cubic-bezier(.16,1,.3,1) both}
  .guide-typing[data-typing] .guide-wait i{animation:guide-dot 650ms ease-in-out infinite alternate}
  .guide-typing[data-typing] .guide-wait i:nth-child(2){animation-delay:110ms}
  .guide-typing[data-typing] .guide-wait i:nth-child(3){animation-delay:220ms}
  .guide-typing[data-typing] .guide-live:not(:empty)::after{animation:guide-caret 650ms step-end infinite}
}
@keyframes ack-open{from{opacity:0;transform:scale(.93)}to{opacity:1;transform:scale(1)}}
@keyframes ack-words{from{opacity:0}to{opacity:1}}
@keyframes guide-dot{to{opacity:.8;transform:translateY(-2px)}}
@keyframes guide-caret{50%{opacity:0}}
@media(max-height:739px){
  .screen--moment .story-art{height:150px;margin-bottom:18px}
  .screen--moment .guide-note{margin-top:18px;padding:14px}
  .screen--moment-possibility .moment-insight{padding:20px 18px 8px}
  .screen--moment-possibility .moment-title{font-size:31px;line-height:33px}
  .screen--moment-possibility .story-art{height:130px;margin:12px auto 0}
  .screen--moment-possibility .story-art img{width:125px;height:125px}
  .screen--moment-possibility .story-paper{width:116px;height:116px}
  .screen--moment-possibility .guide-note{padding:0 4px;margin-top:20px}
}
@media(max-height:620px){
  .screen--moment .moment-body{padding-top:4px;padding-bottom:14px}
  .screen--moment .story-art{height:128px;margin-bottom:12px}
  .screen--moment .story-art img{width:122px;height:122px}
  .screen--moment .story-paper{width:112px;height:112px}
  .screen--moment .story-thread{width:205px;height:137px}
  .screen--moment .moment-title{font-size:30px;line-height:32px}
  .screen--moment .guide-note{margin-top:18px;gap:10px;padding:13px;grid-template-columns:24px minmax(0,1fr)}
  .screen--moment .guide-note>.orb-still{width:24px!important;height:24px!important}
  .screen--moment .guide-note-copy{font-size:18px;line-height:24px}
  .screen--moment-possibility .moment-insight{padding:18px 16px 6px}
  .screen--moment-possibility .moment-title{font-size:29px;line-height:31px}
  .screen--moment-possibility .story-art{height:110px;margin:12px auto 0}
  .screen--moment-possibility .story-art img{width:105px;height:105px}
  .screen--moment-possibility .story-paper{width:100px;height:100px}
  .screen--moment-possibility .guide-note{padding:0 4px}
}
}


/* Screen group: call. The guided call and every later conversation, on one stage: "Chapters of light".
   The room's light is the topic. Built in qa/polish/call-lab/final, judged in CALL_DESIGN.md, moved in here.
   The room is the modality stage's own (call-stage.js, auraLight): a white ground, the six lights at its foot, the
   orb above them; the words are the app's voice and the controls are the stage's round, hairlined ones.
   Everything here stays in @layer screens and is scoped to the stage (.cs) or the call screen. */
@layer screens {

/* ---- the screen: one island, the stage, filling the column. It never shrinks for the keyboard:
   the composer sits at the top, above it, and the room behind stays still. ---- */
.screen.call-screen{position:relative;display:block;height:100%;padding:0;overflow:hidden}
.call-island{position:absolute;inset:0}
/* The one orb: while the stage is mounted, the shell's presence stands down. */
html[data-call-stage] #presence{visibility:hidden}

.cs{
  --soft:var(--ink-2);--tint:#DD7038;--glass:rgba(35,31,38,.05);--glass-strong:rgba(35,31,38,.09);--glass-line:rgba(35,31,38,.12);
  /* What the person has said, kept on the stage (a check-in's notes): paper, a hairline and a soft lift. */
  --note-paper:var(--paper);--note-edge:inset 0 0 0 1px rgba(35,31,38,.09),0 4px 14px rgba(35,31,38,.05);
  --orb-size:220px;
  position:absolute;inset:0;overflow:hidden;isolation:isolate;
  background:var(--paper);color:var(--ink);font-family:var(--sans);font-synthesis:none;
  -webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;
  touch-action:manipulation;user-select:none;-webkit-user-select:none;
}
.cs *{box-sizing:border-box}
/* base.css caps canvases at their box; the stage's light is drawn small and scaled far past it. */
.cs canvas,.cs svg{max-width:none}
.cs p,.cs h2,.cs h3{margin:0;font-weight:400;letter-spacing:0}
.cs-pill,.cs-round,.cs-send{font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;-webkit-user-select:none;user-select:none}
.cs :focus-visible{outline:2px solid var(--accent);outline-offset:2px}

/* ---- the room ---- */
.cs-sky,.cs-sky-slots,.cs-fx{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.cs-sky{z-index:0}
.cs-sky-slot{position:absolute;inset:0;width:100%;height:100%;display:block}
.cs-veil{position:absolute;inset:0;background:#3F2C66;opacity:0}
.cs-overcast{position:absolute;inset:0;background:#ECE8F1;opacity:0}
.cs-wave{position:absolute;display:block;will-change:transform,opacity;opacity:0;pointer-events:none}
.cs-band{position:absolute;left:0;width:100%;display:block}
.cs-paper{position:absolute;inset:0;background:var(--paper);opacity:0}

/* ---- the presence: the owner's orb, six drifting clouds under the soft mask ---- */
.cs-orb{position:absolute;left:0;top:0;width:272px;height:272px;z-index:1;transform-origin:50% 50%;pointer-events:none;transition:opacity .9s ease}
.cs-orb-lean,.cs-orb-gesture,.cs-orb-energy,.cs-orb-float{position:absolute;inset:0;transform-origin:50% 50%}
.cs-orb-float{animation:cs-float 9s ease-in-out infinite}
.cs-halo,.cs-flare{position:absolute;display:block;left:-52%;top:-52%;width:204%;height:204%;pointer-events:none}
.cs-halo{opacity:.38}
.cs-flare{opacity:0}
.cs-core{position:absolute;inset:0;isolation:isolate;overflow:hidden;background:#fff;
  -webkit-mask:url('../assets/call/breath-soft-mask.webp') center/100% 100% no-repeat;
  mask:url('../assets/call/breath-soft-mask.webp') center/100% 100% no-repeat}
.cs-turn{position:absolute;inset:0;transform-origin:50% 50%}
.cs-cloud{position:absolute;display:block;width:82%;aspect-ratio:1;animation:cs-cloud-a 5.2s cubic-bezier(.45,0,.55,1) infinite alternate}
.cs-cloud canvas{position:absolute;left:-100%;top:-100%;width:300%;height:300%;display:block}
.cs-cloud-cyan{z-index:3;left:-27%;bottom:-18%}
.cs-cloud-blue{z-index:2;left:0;bottom:-42%;animation:cs-cloud-b 5.8s ease-in-out -3.1s infinite alternate}
.cs-cloud-amber{z-index:4;left:-22%;top:-24%;animation:cs-cloud-c 4.8s ease-in-out -4.7s infinite alternate}
.cs-cloud-coral{z-index:5;right:-21%;top:-16%;animation:cs-cloud-b 5.4s ease-in-out -1.9s infinite alternate-reverse}
.cs-cloud-pink{z-index:3;right:-30%;bottom:-16%;animation:cs-cloud-c 6s ease-in-out -5.4s infinite alternate-reverse}
.cs-cloud-violet{z-index:2;right:-2%;bottom:-39%;animation:cs-cloud-a 5s ease-in-out -2.6s infinite alternate-reverse}
.is-paused .cs-cloud,.is-paused .cs-orb-float,.is-ended .cs-cloud,.is-ended .cs-orb-float,.is-hidden .cs-cloud,.is-hidden .cs-orb-float{animation-play-state:paused}
.is-paused .cs-orb,.is-ended .cs-orb{opacity:.72}

/* ---- layout: header, the stage and its words, the dock. Controls keep their places in every state ---- */
.cs-ui{position:absolute;inset:0;z-index:2;display:grid;grid-template-rows:auto minmax(0,1fr) auto;
  padding:var(--safe-top) var(--page-r) 0 var(--page-l)}
.cs-head{height:var(--bar-h);display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);transition:opacity .4s ease}
.cs-close[hidden]{display:none}
.cs-close{flex:none}
/* Ended: the title keeps the gutter, and the close takes the timer's place at the trailing edge. */
.is-ended .cs-time{display:none}
.cs-label-wrap{position:relative;flex:1 1 auto;min-width:0;height:28px;display:flex;align-items:center}
.cs-label{text-rendering:geometricPrecision;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;font-family:var(--sans);font-weight:500;font-size:18px;line-height:28px;white-space:nowrap;letter-spacing:var(--track-voice)}
.cs-label-ghost{position:absolute;left:0;top:0}
.cs-progress{display:flex;align-items:center;gap:var(--s-3);flex:none}
.cs-arc{position:relative;width:66px;height:26px;flex:none}
.cs-arc-svg{position:absolute;inset:0;overflow:visible}
.cs-arc-track{fill:none;stroke:var(--ink);stroke-opacity:.2;stroke-width:1.25;stroke-linecap:round}
.cs-arc-done{fill:none;stroke:var(--ink);stroke-opacity:0;stroke-width:1.25;stroke-linecap:round}
.cs-arc-done.is-past{stroke-opacity:.62}
.cs-arc-stop{fill:var(--ink);fill-opacity:.32}
.cs-arc-stop.is-past{fill:var(--stop);fill-opacity:1}
.cs-arm{position:absolute;width:0;height:0;transform-origin:0 0}
.cs-sun{position:absolute;left:-5.5px;top:-5.5px;width:11px;height:11px;border-radius:50%;background:var(--sun);box-shadow:0 0 0 2.5px rgba(255,255,255,.85)}
.cs-bloom{position:absolute;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--sun);opacity:0;pointer-events:none;transform:translate(-50%,-50%)}
.cs-time{display:inline-block;min-width:38px;text-align:right;font:var(--t-note);font-family:var(--numerals);font-variant-numeric:tabular-nums;color:var(--soft)}
.cs-middle{display:flex;flex-direction:column;min-height:0}
.cs-stage-slot{flex:7 1 0;min-height:calc(var(--orb-size) + 14px)}
.cs-caption{position:relative;flex:3 0 auto;min-height:150px;text-align:center;display:flex;flex-direction:column;align-items:center}
.cs-echo{min-height:22px;font:var(--t-support);color:var(--soft);margin-bottom:var(--s-2);max-width:100%;text-wrap:balance}
.cs-echo-ghost{position:absolute;margin:0;pointer-events:none}
.cs-lines{display:grid;width:100%;justify-items:center}
.cs-line{grid-area:1/1;font:var(--t-prompt);letter-spacing:var(--track-voice);text-wrap:balance;max-width:21em;color:var(--ink)}
.cs-word{display:inline-block}
/* The old guided-call rule for .call-prompt still sits in the legacy layer: the stage keeps its own voice. */
.cs .call-prompt{font-weight:500;letter-spacing:var(--track-voice);text-align:center}
.cs-captions-off{font:var(--t-support);color:var(--soft)}
.captions-off .cs-line{display:none}
.cs-notice{margin-top:var(--s-3);font:var(--t-note);color:var(--soft);text-wrap:balance}
.cs-notice[hidden]{display:none}
.cs-dock{position:relative;display:flex;flex-direction:column;align-items:stretch;padding-bottom:max(14px,var(--safe-bottom))}
.cs-statusrow{position:relative;display:flex;align-items:center;justify-content:center;gap:var(--s-3);min-height:20px;margin-bottom:var(--s-3)}
.cs-status{min-height:20px;text-align:center;font:var(--t-support);color:var(--soft)}
.cs-status-intro{position:absolute;left:0;right:0;top:0;color:var(--ink)}
/* The offer under the question: its own quiet chip, a full 44px target, never on the status's baseline. */
.cs-offer{display:flex;justify-content:center;margin-top:var(--s-3)}
.cs-offer:empty{display:none}
.cs-offer .quiet{min-height:var(--target);padding-inline:18px;border-radius:var(--r-pill);background:var(--glass);box-shadow:inset 0 0 0 1px var(--glass-line)}
.cs-interim{position:absolute;left:0;right:0;bottom:calc(100% + 6px);text-align:center;font:var(--t-quote);font-size:20px;line-height:27px;letter-spacing:var(--track-quote);color:var(--ink);text-wrap:balance;max-height:81px;overflow:hidden}
.cs-answer{display:flex;gap:var(--s-3);align-items:stretch;margin-bottom:14px}
.cs-pill{position:relative;flex:1 1 auto;min-width:0;height:56px;border-radius:var(--r-pill);overflow:hidden;background:var(--glass);box-shadow:inset 0 0 0 1px var(--glass-line);isolation:isolate;transition:transform 460ms var(--ease-press),box-shadow .34s ease}
.cs-pill:active,.cs-round:active{transform:scale(.95);transition-duration:var(--d-press);transition-timing-function:ease-out}
.pill-lit .cs-pill{box-shadow:none}
.cs-pill-lit{position:absolute;inset:0;background:var(--action);opacity:0;transition:opacity .42s ease var(--lit-delay,0ms);border-radius:inherit}
.cs-pill-bloom{position:absolute;display:block;pointer-events:none;will-change:transform}
.pill-lit .cs-pill-lit{opacity:1}
.cs-pill-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:var(--s-2);font:var(--t-button);white-space:nowrap;transition:opacity .34s ease var(--lit-delay,0ms)}
.cs-pill-ic{display:grid;place-items:center}
.cs-pill-label svg{width:21px;height:21px;flex:none}
.cs-pill-quiet{color:var(--ink);opacity:1}
.cs-pill-on{color:var(--on-action);opacity:0}
.pill-lit .cs-pill-quiet{opacity:0}
.pill-lit .cs-pill-on{opacity:1}
.cs-strip{position:absolute;inset:0 20px;display:flex;align-items:center;justify-content:space-between;opacity:0;transition:opacity .24s ease}
.cs-strip i{display:block;width:2.5px;height:26px;border-radius:2px;background:var(--action);transform:scaleY(.14)}
.is-recording .cs-strip{opacity:1}
.is-recording .cs-pill{background:var(--glass-strong)}
.is-recording .cs-pill-label{opacity:0}
.cs-round{flex:none;width:56px;height:56px;border-radius:50%;background:var(--glass);box-shadow:inset 0 0 0 1px var(--glass-line);display:grid;place-items:center;color:var(--ink);transition:transform 460ms var(--ease-press)}
.cs-round svg{width:22px;height:22px}
.cs-round[hidden]{display:none}
.cs-key.is-stop{background:var(--danger);box-shadow:none;color:#fff}
.cs-key.is-stop svg path{fill:currentColor}
.cs-call{display:flex;justify-content:center;gap:var(--s-6)}
.cs-call .cs-round{width:48px;height:48px}
.cs-end{background:var(--danger);box-shadow:none;color:#fff}
.cs-more svg{stroke-width:3.4}
/* Mute is its own glyph, the slashed mic, so it never reads as a second "speak". Pressed, it fills. */
.cs-mute{transition:background-color .16s ease,color .16s ease,transform 460ms var(--ease-press)}
.cs [data-action="live-mute"][aria-pressed="true"]{background:var(--ink);box-shadow:none;color:#fff}

/* ---- the name as a title ---- */
.cs-title-layer{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}
.cs-title{position:absolute;left:0;top:0;text-rendering:geometricPrecision;font-family:var(--sans);font-weight:500;letter-spacing:var(--track-voice);line-height:1.15;white-space:nowrap;color:var(--ink);font-kerning:normal;will-change:transform}
.cs-title-measure{display:inline-block}
.cs-title>span:not(.cs-title-measure){position:absolute;display:block;line-height:inherit;transform-origin:50% 60%}
.cs-title-index{position:absolute;text-align:center;font:var(--t-note);letter-spacing:.01em;color:var(--ink)}
.cs-flyer{position:absolute;left:0;top:0;color:var(--ink);pointer-events:none;will-change:transform,opacity}
.cs-flyer-block{white-space:pre-wrap;overflow:hidden;overflow-wrap:anywhere}

/* ---- the path, large, under the name: the header's arc at twice the size ---- */
.cs-path{position:absolute;left:0;top:0;will-change:transform,opacity}
.cs-path svg{position:absolute;left:0;top:0;overflow:visible}
.cs-path-track,.cs-path-done,.cs-path-new{fill:none;stroke:var(--ink);stroke-linecap:round;stroke-width:1}
.cs-path-track{stroke-opacity:.26}
.cs-path-done,.cs-path-new{stroke-opacity:.72}
.cs-path-stop{fill:var(--ink);fill-opacity:.34}
.cs-path-stop.is-past{fill:var(--stop);fill-opacity:1}
.cs-path-arm{position:absolute;width:0;height:0;transform-origin:0 0}
.cs-path-sun{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border-radius:50%;background:var(--sun);box-shadow:0 0 0 4px rgba(255,255,255,.85)}
.cs-path-answer{position:absolute;width:30px;height:30px;border-radius:50%;border:2px solid var(--sun);opacity:0;transform:translate(-50%,-50%)}
.cs-path-index{position:absolute;left:0;right:0;top:26px;text-align:center;font:var(--t-note);color:var(--ink);opacity:0}

/* ---- typing: one tap. The question stays readable beside the small orb, the field above the keyboard ---- */
.cs-compose{position:absolute;z-index:3;left:var(--page-l);right:var(--page-r);top:calc(var(--safe-top) + 60px);display:flex;flex-direction:column;gap:var(--s-3);user-select:text;-webkit-user-select:text}
.cs-compose[hidden]{display:none}
.cs-compose-q{display:flex;align-items:center;gap:14px;min-height:64px}
.cs-compose-slot{flex:none;width:60px;height:60px}
.cs-compose-text{font:var(--t-quote);letter-spacing:var(--track-quote);color:var(--ink);text-wrap:pretty}
.cs-field{position:relative}
.cs-input{display:block;width:100%;min-height:112px;max-height:168px;resize:none;border:0;border-radius:var(--r-m);padding:14px 56px 14px 16px;background:rgba(255,255,255,.9);box-shadow:inset 0 0 0 1px var(--glass-line);font:var(--t-body);color:var(--ink);caret-color:var(--accent);outline:0;user-select:text;-webkit-user-select:text}
.cs-input:focus,.cs-input:focus-visible{outline:0;box-shadow:inset 0 0 0 1.5px var(--action)}
.cs-input::placeholder{color:var(--ink-3);opacity:1}
.cs-send{position:absolute;right:6px;bottom:6px;width:44px;height:44px;border-radius:50%;background:var(--action);color:var(--on-action);display:grid;place-items:center;opacity:0;pointer-events:none}
.cs-send svg{width:20px;height:20px}
.cs-send.is-on{opacity:1;pointer-events:auto}
.cs-compose-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);min-height:var(--target)}
.cs .cs-compose-close{gap:6px;padding-inline:0 10px}
.cs-compose-close svg{width:18px;height:18px;flex:none}
.cs-compose-tag{font:var(--t-note);color:var(--soft);text-align:right}
.cs-compose-tag[hidden]{display:none}
.cs .cs-text{padding-inline:var(--s-3)}
.is-composing .cs-caption{opacity:0;pointer-events:none}
.is-composing .cs-dock{visibility:hidden;pointer-events:none;transition:visibility 0s linear .2s}
.is-composing .cs-orb{z-index:4}

/* ---- ended, breath, the closing reprise. Each primary sits where every primary sits ---- */
.cs-endpanel,.cs-breathpanel,.cs-closepanel{position:absolute;z-index:3;left:var(--page-l);right:var(--page-r);bottom:max(16px,var(--safe-bottom));display:flex;flex-direction:column;align-items:stretch;gap:var(--s-2);text-align:center}
.cs-endpanel[hidden],.cs-breathpanel[hidden],.cs-closepanel[hidden]{display:none}
.cs-endpanel .quiet,.cs-breathpanel .quiet{align-self:center}
.cs-endpanel .quiet{margin-top:var(--s-1)}
/* The close: her thank-you leads at the top, the chapters below the light, the way on at the bottom. */
.cs-closeline{position:absolute;z-index:3;left:var(--page-l);right:var(--page-r);top:calc(var(--safe-top) + 28px);text-align:center;font:var(--t-voice);letter-spacing:var(--track-voice);color:var(--ink);text-wrap:balance}
.cs-closeline[hidden]{display:none}
.cs-chapter{position:absolute;left:var(--page-l);right:var(--page-r);top:0;text-align:center;color:var(--ink);display:flex;flex-direction:column;align-items:center;gap:var(--s-1)}
.cs-chapter-label,.cs-chapter-note{font:var(--t-label);color:color-mix(in srgb,var(--ink) 64%,transparent)}
.cs-chapter-note{font:var(--t-note);margin-top:2px}
.cs-chapter-note:empty{display:none}
.cs-chapter-words{font:500 21px/27px var(--sans);letter-spacing:var(--track-voice);text-wrap:balance;margin:0;max-width:19em;overflow-wrap:anywhere}
.cs-chapter.is-empty .cs-chapter-label{font:var(--t-title);letter-spacing:var(--track-title)}
.cs-endline{font:var(--t-voice);letter-spacing:var(--track-voice);margin-bottom:var(--s-5);text-wrap:balance}
.cs-breathcue{font:var(--t-title);letter-spacing:var(--track-title);margin-bottom:28px;min-height:34px}
.cs-breathcue{text-wrap:balance}
.cs-breathacts{display:flex;flex-direction:column;gap:var(--s-1);min-height:104px;justify-content:flex-end;padding-bottom:var(--s-2)}
.cs-breathacts .quiet{min-height:var(--target);padding-inline:var(--s-4)}
/* The safety line is a message to read: a lead in the guide's voice, then body text in a measure, left-aligned. */
.cs.is-safety .cs-line{font:400 17px/26px var(--sans);letter-spacing:0;text-align:left;max-width:320px;text-wrap:pretty}
.cs.is-safety .cs-lead{display:block;font:var(--t-voice);letter-spacing:var(--track-voice);margin-bottom:var(--s-2)}
.cs.is-safety .cs-offer{width:100%;max-width:320px;justify-content:flex-start}
.cs-offer .cs-help{background:none;padding-inline:0}
.cs.is-safety .cs-orb{opacity:.55}
.is-breath .cs-caption,.is-ended .cs-caption{opacity:0}
/* Faded controls are also gone: nothing invisible can take a tap or a focus. */
.is-breath .cs-head,.is-breath .cs-dock,.is-ended .cs-dock,.is-finish .cs-dock,.is-finish .cs-head{visibility:hidden;transition:visibility 0s linear .3s}

.cs-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* ---- finish ---- */
.is-done{background:var(--paper)}
.is-done .cs-orb{transition:none}
/* After the gather the stage is lifted out of the screen, over the picture: only the point of light is left. */
.cs.is-handoff{position:absolute;inset:0;z-index:5;pointer-events:none;background:transparent}
.cs.is-handoff .cs-sky,.cs.is-handoff .cs-ui,.cs.is-handoff .cs-title-layer,.cs.is-handoff .cs-compose{display:none}

/* ---- sizes ---- */
@media (max-width:359px){
  .cs-label{font-size:17px}
  /* The example tag takes its own line under the field, so neither it nor "Speak instead" wraps. */
  .cs-compose-foot{flex-wrap:wrap;row-gap:0}
  .cs-compose-tag{order:-1;flex-basis:100%;text-align:left}
  .cs-line{font-size:23px;line-height:29px}
  .cs-call{gap:var(--s-5)}
  .cs-progress{gap:var(--s-2)}
}
@media (max-height:759px){
  .cs-caption{min-height:128px}
  .cs-line{font-size:23px;line-height:29px}
  .cs-chapter-words{font-size:20px;line-height:26px}
}
@media (max-height:639px){
  .cs-head{height:48px}
  .cs-caption{min-height:112px;flex-grow:1}
  /* Room for the small orb to lean toward her without touching the words under it. */
  .cs-stage-slot{flex:0 0 calc(var(--orb-size) + 40px)}
  /* The leaning orb never sits behind the small line above the question. */
  .cs:not(.is-safety) .cs-caption{padding-top:24px}
  .cs-echo{min-height:18px;font-size:14px;line-height:18px;margin-bottom:var(--s-1)}
  .cs-line{font-size:21px;line-height:27px}
  .cs-statusrow{margin-bottom:var(--s-2)}
  .cs-answer{margin-bottom:10px}
  .cs-pill,.cs-answer .cs-round{height:52px}
  .cs-answer .cs-round{width:52px}
  .cs-call .cs-round{width:44px;height:44px}
  .cs-dock{padding-bottom:max(10px,var(--safe-bottom))}
  .cs-chapter-words{font-size:19px;line-height:24px}
  .cs-closeline{top:calc(var(--safe-top) + 18px);font-size:20px;line-height:25px}
  .cs.is-safety .cs-line{font-size:16px;line-height:23px}
  .cs.is-safety .cs-lead{font-size:20px;line-height:25px;margin-bottom:var(--s-1)}
}

/* ---- keyframes: the same drift as the original orb ---- */
@keyframes cs-float{0%,100%{transform:translateY(3px)}50%{transform:translateY(-5px)}}
@keyframes cs-cloud-a{0%{transform:translate(-25%,14%) scale(.9)}50%{transform:translate(16%,-22%) scale(1.16)}100%{transform:translate(30%,16%) scale(1)}}
@keyframes cs-cloud-b{0%{transform:translate(24%,-18%) scale(1.1)}50%{transform:translate(-28%,10%) scale(.9)}100%{transform:translate(12%,27%) scale(1.16)}}
@keyframes cs-cloud-c{0%{transform:translate(-15%,-27%) scale(1.15)}50%{transform:translate(29%,18%) scale(.92)}100%{transform:translate(-23%,25%) scale(1.08)}}

/* ---- reduced motion: a still orb, calm crossfades, nothing travels ---- */
@media (prefers-reduced-motion:reduce){
  .cs-cloud,.cs-orb-float{animation:none}
  .cs-orb,.cs-pill-lit,.cs-pill-label,.cs-strip{transition-duration:.2s}
  .cs-pill,.cs-round,.cs-mute{transition-duration:.01ms}
  .cs-pill:active,.cs-round:active{transform:none}
}

/* ---- the conversation sheet: each topic marked with a swatch of its own light ---- */
/* A speaker is named once per turn: 8px inside a turn, 20px at a change, a topic starts a new block. */
.transcript{display:flex;flex-direction:column;margin-top:var(--s-4)}
.transcript-topic{display:flex;align-items:center;gap:10px;margin-top:28px;font:500 15px/20px var(--sans);color:var(--ink)}
.transcript-topic:first-child{margin-top:0}
.transcript-swatch{flex:none;width:12px;height:12px;border-radius:50%}
.transcript-item{margin-top:var(--s-2)}
.transcript-item.is-turn{margin-top:var(--s-5)}
.transcript-topic+.transcript-item{margin-top:var(--s-3)}
.transcript-item .label{display:block;margin-bottom:var(--s-1)}
.transcript-item--guide .quote{font:var(--t-quote);letter-spacing:var(--track-quote);text-wrap:pretty;max-width:none}
.transcript-echo{font:var(--t-support);color:var(--ink-3);text-wrap:pretty}
/* The options sheet: three inset groups, apart. */
#call-options .sheet-group+.sheet-group{margin-top:var(--s-3)}
.row-state{flex:none;font:var(--t-body);color:var(--ink-3)}
.transcript-item--you .block{font:var(--t-body);background:var(--surface);border-radius:var(--r-m);padding:var(--s-3) var(--s-4)}
}

/* Screen group: writing. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* Nothing can scroll this page sideways, not even a focus that fills in an example. */
.screen--write,.screen--write>.body{overflow-x:clip}
/* The one slot under the field. The offer and the tag share a cell, so neither can move what is below. */
.write-help{display:grid;align-items:center;justify-items:start;min-height:var(--target);margin-top:var(--s-1)}
.write-help>*{grid-area:1/1}
.write-help .quiet{transition:opacity var(--d-quick) linear,visibility 0s}
/* It would overwrite her words, so it is only offered to an empty field. Any words at all retire it. */
.write-body:has(#call-answer:not(:placeholder-shown)) .write-help .write-offer{opacity:0;visibility:hidden;transition:opacity var(--d-press) linear,visibility 0s var(--d-press)}
/* An example in the field: the tag, and one more to try. Both go the moment she changes a word. */
.write-example-tag{display:flex;flex-wrap:wrap;align-items:center;column-gap:var(--s-4);animation:write-tag-in var(--d-base) var(--ease-settle) both}
.write-example-tag[hidden]{display:none}
.write-example-tag .quiet{justify-content:flex-start}
@keyframes write-tag-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.write-when{margin-top:var(--s-3)}
/* The safety line carries real weight, so it gets real room above the question. */
.write-body .ack--safety{margin-bottom:var(--s-5);padding-top:var(--s-1);animation:write-safety-in var(--d-base) var(--ease-settle) both}
@keyframes write-safety-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

/* The care moment. Its own calm surface, not an intro paragraph, and the two ways on from it inside. */
.write-safety{margin:var(--s-1) 0 var(--s-3);padding:var(--s-4) var(--s-4) var(--s-1);border-radius:var(--r-m);background:var(--surface-2);outline:none;animation:write-safety-in var(--d-base) var(--ease-settle) both}
.write-safety-text{font:400 15px/22px var(--sans);color:var(--ink);text-wrap:pretty}
.write-safety-actions{display:flex;flex-wrap:wrap;column-gap:var(--s-6);margin-top:var(--s-1)}
.write-safety-actions .quiet{justify-content:flex-start}
/* No example straight after that. The field waits, quietly, until she chooses to keep going. */
.write-body.is-safety .write-help{visibility:hidden}
@media (prefers-reduced-motion:reduce){
  .write-example-tag,.write-body .ack--safety,.write-safety{animation:none}
}
}

/* Screen group: portrait. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* The bar: three real slots, so the title stays centred when Back and More arrive. */
.screen--portrait .bar{grid-template-columns:44px minmax(0,1fr) 44px}
.screen--portrait .bar-title{text-align:center}
/* Once her page has scrolled under the bar, the bar gets its hairline, so nothing is sliced by an invisible edge. */
.screen--portrait{timeline-scope:--portrait-scroll}
.screen--portrait>.body{scroll-timeline:--portrait-scroll block}
.screen--portrait>.bar{position:relative;z-index:3;background:var(--paper)}
.screen--portrait>.bar::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--line);opacity:0;pointer-events:none}
@supports (animation-timeline:scroll()){.screen--portrait>.bar::after{animation:portrait-bar-line linear both;animation-timeline:--portrait-scroll;animation-range:0 12px}}
@keyframes portrait-bar-line{to{opacity:1}}

.portrait-body{padding-top:var(--s-2)}
/* The headline is the most important line on the page: balanced, and never a lone "I" at a line end (see headlineHtml). */
.portrait-title{margin-bottom:var(--s-3);text-wrap:balance}

/* Frame law: canvas aspect equals art aspect. A tall painting clips evenly at top and bottom. */
.portrait-player{position:relative;display:block}
.art-frame{position:relative;width:100%;aspect-ratio:var(--art-ratio);max-height:min(46dvh,408px);margin:0;overflow:hidden;border-radius:var(--r-l);isolation:isolate;background:var(--paper)}
.art-frame canvas,.art-frame img{display:block;position:absolute;inset:auto;left:0;top:50%;width:100%;height:auto;max-width:none;aspect-ratio:var(--art-ratio);transform:translateY(-50%);border-radius:0}
.art-frame img{opacity:0;object-fit:cover;transition:opacity 320ms var(--ease-settle);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
/* While it draws, the frame is a quiet tile on the gutter: the window of light is feathered inside it, never past it. */
.art-frame::before{content:'';position:absolute;inset:0;z-index:1;background:var(--surface);mix-blend-mode:multiply;transition:opacity 320ms var(--ease-settle);pointer-events:none}
/* Done is one move: the photograph comes up over the drawing as the drawing goes, and the tile becomes the picture. */
.portrait-player[data-phase="done"] .art-frame::before{opacity:0}
.portrait-player[data-phase="done"] .art-frame canvas{opacity:0;visibility:hidden;transition:opacity 200ms var(--ease-exit),visibility 0s 320ms}
.portrait-player[data-phase="done"] .art-frame img{opacity:1}
.portrait-player[data-fallback="true"] .art-frame canvas{display:none}
/* A hairline, in the ink's own colour, so a pale sky keeps its corner against the paper. Only on a finished picture. */
.art-frame::after{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(35,31,38,.07);opacity:0;transition:opacity 320ms linear;pointer-events:none}
.portrait-player[data-phase="done"] .art-frame::after{opacity:1}
/* The aha: as the window condenses into a painting, it takes one small breath. */
.portrait-aha .art-frame{animation:portrait-aha 1600ms var(--ease-breath)}
@keyframes portrait-aha{0%,100%{transform:scale(1)}36%{transform:scale(1.012)}}

/* If the picture does not come, the frame keeps its place and its size, so the page keeps its rhythm.
   The drawing's own light, the message in the middle, and a way to ask again. */
.art-broken{display:none}
.portrait-player[data-phase="broken"] .art-frame{background:radial-gradient(90% 60% at 30% 85%,rgba(var(--aura-teal),.30),transparent 70%),radial-gradient(80% 60% at 80% 80%,rgba(var(--aura-coral),.26),transparent 70%),var(--paper)}
.portrait-player[data-phase="broken"] .art-frame canvas,.portrait-player[data-phase="broken"] .art-frame img{visibility:hidden}
.portrait-player[data-phase="broken"] .art-broken{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s-1);padding:var(--s-6);text-align:center;font:var(--t-support);color:var(--ink-2);animation:portrait-broken-in var(--d-base) var(--ease-settle) both}
.art-broken>span{max-width:24ch;text-wrap:balance}
.portrait-player[data-retrying] .art-broken .quiet{opacity:.5;pointer-events:none}
@keyframes portrait-broken-in{from{opacity:0}to{opacity:1}}

/* Status row: one line under the frame. 18px tall, and the Show now target extends outward, never pushing. */
.portrait-status-row{display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);min-height:18px;margin-top:var(--s-2)}
.portrait-status,.portrait-player[data-phase="done"] .portrait-status{position:static;width:auto;height:auto;margin:0;overflow:visible;clip-path:none;white-space:normal;font:var(--t-note);color:var(--ink-3);text-align:left}
.portrait-skip{flex:none;min-height:44px;margin-block:-13px}
/* Broken: the message is in the frame. The status line still says it to a screen reader, and keeps its 18px. */
.portrait-player[data-phase="broken"] .portrait-status{opacity:0}

/* Her words. */
.portrait-reflection{margin-top:var(--s-3)}
.portrait-moment{margin-top:var(--s-2)}
.portrait-moment .w{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.portrait-moment .hang{margin-inline-start:-.36em}
/* Tapping her words opens them for changing. Quiet, because this is reading first. */
.portrait-moment[data-action],.part[data-action]{cursor:pointer;transition:opacity var(--d-press) linear}
.portrait-moment[data-action]:active,.part[data-action]:active{opacity:.6}

/* The rest of the page. It exists once the picture does. */
/* When is a time, not a second sentence: meta text with a small clock, just under her step. */
.part-when{display:flex;align-items:center;gap:6px;margin-top:var(--s-1);font:var(--t-support);color:var(--ink-2)}
.part-when svg{flex:none;width:16px;height:16px;color:var(--ink-3)}
.part-example{margin-top:var(--s-1)}
.portrait-lower>.quiet{margin-top:var(--s-3)}

/* The dock arrives late, the only one that does. It floats until it has landed, in exactly its final place. */
.screen--portrait{position:relative}
.dock--arriving{position:absolute;left:0;right:0;bottom:0;z-index:5}
/* The question sits on its answers. */
.portrait-dock .portrait-ask{text-align:center;margin-bottom:var(--s-1)}

/* Keep. */
.portrait-moment.is-kept{padding-bottom:var(--s-2);border-bottom:1.5px solid var(--action)}
.portrait-kept{margin-top:var(--s-2)}
.primary.is-kept svg{width:20px;height:20px}

/* The More sheet: Sound is a real switch in a row. */
.row--switch .toggle{cursor:inherit}
.row--switch[aria-checked=true] .toggle{background:var(--action)}
.row--switch[aria-checked=true] .toggle-thumb{transform:translateX(20px)}

/* Make it sound like you: the headline grows rather than cutting off. */
@supports not (field-sizing:content){#edit-headline{min-height:80px}}

@media (prefers-reduced-motion:reduce){
  .art-frame img{transition-duration:240ms}
  .portrait-aha .art-frame{animation:none}
  .portrait-player[data-phase="broken"] .art-broken{animation:none}
}
}

/* Screen group: rhythm. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* One quick practical thing, with her step in view. Everything hangs from the gutter; the disclosure rests on the dock. */
.when-body{display:flex;flex-direction:column}
.when-body>*{flex:none}
/* One sentence a line; balance takes over if the first one has to wrap. */
.when-body .helper{text-wrap:balance}

/* Name and controls share the first line. Her words get the whole width under them, so "You said" is never squeezed. */
.when-rows{margin-top:var(--s-4)}
.when-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 var(--s-3);min-height:68px;padding:var(--s-2) var(--s-4) var(--s-3)}
.when-row .row-main{display:contents}
.when-row .row-title{grid-column:1;grid-row:1;font:var(--t-body);transition:color var(--d-quick) linear}
.when-row .when-controls{grid-column:2;grid-row:1}
.when-row .row-sub{grid-column:1/-1;grid-row:2}
.when-row.is-off .row-title{color:var(--ink-2)}
.when-controls{display:flex;align-items:center;gap:var(--s-3);flex:none}

/* The chip. Tabular, so a new time cannot shift the row. Off, the pill stays as an outline with quiet figures,
   so it reads as resting rather than gone; switched back on, it fills again. */
.when-row .time-chip{min-width:96px;box-shadow:inset 0 0 0 1px transparent;transition:background-color 160ms var(--ease-settle),box-shadow 160ms var(--ease-settle),color var(--d-quick) linear,transform 160ms var(--ease-settle)}
.when-row .time-chip:active:not(.is-off){transform:scale(.97);transition-duration:var(--d-press),var(--d-press),var(--d-press),var(--d-press)}
.when-row .time-chip.is-off{background:transparent;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--control) 40%,transparent)}
.when-row .time-chip>span:first-child{display:block}
.when-row .time-chip input::-webkit-datetime-edit,.when-row .time-chip input::-webkit-calendar-picker-indicator{opacity:0}
.when-row .time-chip input{color:transparent}
/* The line between rows runs to the row's edge from the text's edge, and is not cut by the grid. */
.when-row+.when-row::before{left:var(--s-4);right:0}

/* Two lines in one cell. Only opacity moves. */
.when-stack{display:grid;min-width:0}
.when-stack-item{grid-area:1/1;opacity:0;transition:opacity var(--d-quick) linear;text-wrap:balance}
.when-stack-item.is-on{opacity:1;transition:opacity var(--d-base) linear 60ms}
.when-sub .when-stack-item{text-wrap:pretty}

/* How long. Two cards, a real choice: the length drawn, its name, and what it does to the check-in. */
.when-pace{display:grid;gap:var(--s-2);margin-top:var(--s-4)}
.when-pace .label{margin:0}
.pace-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-2)}
/* No all:unset here: it would take the shared focus ring with it. Unselected is a plain surface, like the answer options
   and the rows above. Selected is one layer that fades in: the tint and the 1.5px --action ring every selected option uses. */
.pace-card{appearance:none;box-sizing:border-box;position:relative;isolation:isolate;display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:var(--target);margin:0;padding:var(--s-4);border:0;border-radius:var(--r-m);background:var(--surface);color:var(--ink);font:var(--t-body);text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:transform 160ms var(--ease-settle)}
.pace-card::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--action-tint);box-shadow:inset 0 0 0 1.5px var(--action);opacity:0;transition:opacity 160ms linear}
.pace-card[aria-checked=true]::before{opacity:1}
.pace-card:active{transform:scale(.98);transition-duration:var(--d-press)}
/* The dial sits level with the ring, both 24px. Quiet grey until the card is hers, then the slice takes the action colour. */
.pace-glyph{display:block;width:24px;height:24px;margin-bottom:var(--s-2)}
.pace-dial,.pace-slice{transition:fill 160ms linear,stroke 160ms linear}
.pace-dial{stroke:color-mix(in srgb,var(--control) 40%,transparent)}
.pace-slice{fill:color-mix(in srgb,var(--control) 14%,transparent);stroke:color-mix(in srgb,var(--control) 55%,transparent)}
.pace-card[aria-checked=true] .pace-dial{stroke:color-mix(in srgb,var(--control) 70%,transparent)}
.pace-card[aria-checked=true] .pace-slice{fill:color-mix(in srgb,var(--action) 28%,transparent);stroke:var(--action)}
/* Hers or not, in the corner: the 24px option ring, or a filled one with the tick that scales in. */
.pace-check{position:absolute;top:var(--s-4);right:var(--s-4);width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--control)}
.pace-dot{position:absolute;inset:0;display:grid;place-items:center;border-radius:50%;background:var(--action);color:var(--on-action);opacity:0;transform:scale(.5);transition:opacity 160ms linear,transform 160ms var(--ease-settle)}
.pace-card[aria-checked=true] .pace-dot{opacity:1;transform:none;transition:opacity 160ms linear,transform 260ms var(--spring-soft)}
.pace-dot svg{width:16px;height:16px;stroke-width:2.2}
.pace-name{font-weight:500;text-wrap:balance}
.pace-effect{text-wrap:balance}
/* Under 340 two columns break the name and stack the effect three deep, so the cards stack as rows: dial, words, ring,
   all three on the title's first line (24px tall, like the dial and the ring). */
@media (max-width:339px){
  .pace-cards{grid-template-columns:minmax(0,1fr)}
  .pace-card{display:grid;grid-template-columns:24px minmax(0,1fr);gap:2px var(--s-3);padding-right:calc(var(--s-4) + 24px + var(--s-3))}
  .pace-glyph{grid-row:1/3;margin:0}
  .pace-name,.pace-effect{grid-column:2}
}

/* How long and the disclosure arrive as one, last. The disclosure belongs to the times above it, so it follows
   the pace line. Free space gathers above the dock. */
.when-note{margin-top:var(--s-6);text-wrap:pretty}
/* What she said about when, on one line above the title. */
.screen--when .ack{display:block;align-content:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* On a 664 tall phone, and a 360x740 one where the title takes two lines, the page fits without scrolling and the
   note stays clear of the dock's fade: the rows and the foot give back a little air, and the pace cards tighten.
   Under 340 wide the page scrolls anyway, so it keeps the full foot: cutting it there leaves the note's last line
   under the fade at the end of the scroll. */
@media (max-height:719px) and (min-width:340px),(max-height:759px) and (min-width:340px) and (max-width:379px){.when-body{padding-bottom:var(--s-3)}.when-note{margin-top:var(--s-2)}.when-rows,.when-pace{margin-top:var(--s-3)}.when-row{padding-bottom:var(--s-2)}
  .pace-card{gap:0;padding-block:var(--s-3)}.pace-check{top:var(--s-3)}.pace-glyph{margin-bottom:var(--s-1)}}

@media (prefers-reduced-motion:reduce){
  .when-stack-item,.when-stack-item.is-on,.when-row .time-chip,.when-row .row-title{transition-duration:.01ms;transition-delay:0ms}
  .when-row .time-chip:active:not(.is-off){transform:none}
  /* The cards still crossfade; nothing scales, and the tick has no spring to wait for. */
  .pace-card:active,.pace-dot{transform:none}
  .pace-card[aria-checked=true] .pace-dot{transition:opacity 160ms linear}
}
}

/* Screen group: home. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* Today is a bedside alarm clock. Words on one axis, the face in the middle with both times under it, her step on the gutter.
   Owner decision, 3 November: no orb, no glow, no colour behind the time. Ink, hairlines and air. */

/* Bar */
.today-brand{display:flex;align-items:center;gap:var(--s-2);min-width:0}
.today-brand .mark{display:block;flex:none;width:22px;height:22px;max-width:none;margin:0;border-radius:0}
.today-date{white-space:nowrap}
.today-initial{all:unset;box-sizing:border-box;position:relative;display:grid;place-items:center end;width:44px;height:44px;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.today-initial>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--surface-2);color:var(--ink);font:var(--t-quiet);transition:transform 160ms var(--ease-settle)}
.today-initial:active>span{transform:scale(.94);transition-duration:var(--d-press)}
.today-initial-dot{display:block;width:8px;height:8px;border-radius:50%;background:var(--ink-3)}

/* The page. Nothing scrolls here, so the shell's edge fades have nothing to soften. */
.home-body{display:flex;flex-direction:column;align-items:center;text-align:center;padding-bottom:var(--s-3)}
.home-body::before{display:none}
.screen--home .dock::before{display:none}
/* The dock keeps one height whatever it holds, so the clock never changes size when the state or the day changes. */
.home-dock{min-height:calc(var(--primary-h) + 2 * var(--s-3));align-content:center}
.home-greeting{flex:none;width:100%;text-align:center;text-wrap:balance}
.home-words{all:unset;box-sizing:border-box;display:-webkit-box;flex:none;max-width:100%;min-height:var(--target);margin-top:var(--s-2);-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--ink-2);font:500 17px/24px var(--sans);letter-spacing:var(--track-quote);text-align:center;text-wrap:balance;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:opacity var(--d-quick) linear}
.home-words:active{opacity:.6;transition-duration:var(--d-press)}

/* The clock. It takes the room that is left; the face and the times line under it are one group, centred in it,
   and the face sizes itself to what the line leaves. */
.home-clock{--times-h:48px;flex:1 1 0;min-height:118px;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;container:clock/size}
/* Off, there is no time to hold up: the bell and the line need far less room. */
.home-clock.is-off{min-height:132px}
.ac-face{all:unset;box-sizing:border-box;--d:min(calc(100cqh - var(--times-h)),100cqw,var(--dial-max,320px));display:flex;flex-direction:column;align-items:center;max-width:100%;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
/* A tall phone gives the spare height to the face, not to gaps around it. */
@media (min-height:900px){.home-clock{--dial-max:min(86vw,372px)}}
/* The face: the time holds its exact centre; what it is sits above it. Coloured: only the next bead and the line to it. */
.ac-dial{position:relative;display:grid;grid-template-rows:1fr auto 1fr;justify-items:center;width:var(--d);height:var(--d);transition:transform 160ms var(--ease-settle)}
.ac-face:active .ac-dial{transform:scale(.985);transition-duration:var(--d-press)}
.dial{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.dial path{fill:none;stroke-linecap:round;vector-effect:non-scaling-stroke}
.dial-minor{stroke:var(--line);stroke-width:1.25px}
.dial-major{stroke:var(--control);stroke-width:1.5px}
/* An alarm on the rim. A full-face layer turned from twelve o'clock, so a new time travels round the face. */
.dial-mark{position:absolute;inset:0;pointer-events:none;transform:rotate(var(--a));transition:transform 640ms var(--spring-soft),opacity var(--d-quick) linear}
.dial-mark i{position:absolute;left:calc(50% - 5px);top:calc(10.5% - 5px);width:10px;height:10px;box-sizing:border-box;border-radius:50%;border:1.5px solid var(--control);background:var(--paper);transition:background-color var(--d-base) linear,border-color var(--d-base) linear,transform 300ms var(--spring-soft)}
.dial-mark.is-next i{border-color:var(--action);background:var(--action);transform:scale(1.2)}
.dial-mark.is-off{opacity:0}
/* Now: a short hand on the rim. The time left: a hairline from it to the next bead, on the bead's own circle. */
.dial-now{stroke:var(--ink);stroke-width:2px}
.dial-arc{stroke:var(--action);stroke-width:2px;opacity:.55}
.dial-mark.is-off i{transform:scale(.4)}

/* The figures: serif, tabular, the period hung on their baseline. Sized to the face, never over the token. */
.ac-time{grid-row:2;display:inline-flex;align-items:baseline;color:var(--ink);font:var(--t-clock);font-size:min(88px,calc(var(--d) * .34));line-height:1;letter-spacing:-.02em;white-space:nowrap}
.ac-digits{font-variant-numeric:tabular-nums}
.ac-period{margin-left:5px;font:500 15px/20px var(--sans);letter-spacing:0}
.ac-time--off{display:grid;place-items:center;width:44px;height:44px;color:var(--ink-3)}
.ac-time--off svg{width:36px;height:36px}
.ac-label{grid-row:1;align-self:end;display:inline-flex;align-items:center;gap:6px;margin-bottom:var(--s-2);color:var(--ink-2);font:var(--t-label);white-space:nowrap}
.ac-label svg{flex:none;width:15px;height:15px;color:var(--ink-3)}
.ac-rest{grid-row:3;align-self:start;margin-top:var(--s-2);color:var(--ink-2);font:var(--t-support);font-weight:500;white-space:nowrap}
/* Off, the clock is still a clock, only at rest: the same face, the ticks quieten and the bell sits where the time was. */
.ac-face.is-off .dial{opacity:.5;transition:opacity var(--d-base) linear}
/* Too little room for a face: the time stands alone, at the clock's own size. The line above the figures needs a face
   of about 210px to sit inside the ticks, so that is the floor; with the times line under it, 48px more.
   The resting face holds a bell and one line, so it keeps a smaller dial down to 180px. */
@media (min-height:700px){@container clock (height < 258px){
  .ac-face:not(.is-off){--d:auto}
  .ac-face:not(.is-off) .ac-dial{display:flex;flex-direction:column;align-items:center;height:auto}
  .ac-face:not(.is-off) :is(.dial,.dial-mark){display:none}
  .ac-face:not(.is-off) .ac-label{align-self:center;margin-bottom:var(--s-1)}
  .ac-face:not(.is-off) .ac-time{font:var(--t-clock);letter-spacing:-.02em}
}}
@media (max-height:699px){@container clock (height < 210px){
  .ac-face:not(.is-off){--d:auto}
  .ac-face:not(.is-off) .ac-dial{display:flex;flex-direction:column;align-items:center;height:auto}
  .ac-face:not(.is-off) :is(.dial,.dial-mark){display:none}
  .ac-face:not(.is-off) .ac-label{align-self:center;margin-bottom:var(--s-1)}
  .ac-face:not(.is-off) .ac-time{font:var(--t-clock);letter-spacing:-.02em}
}}
@container clock (height < 228px){
  .ac-face.is-off{--d:auto}
  .ac-face.is-off .ac-dial{display:flex;flex-direction:column;align-items:center;height:auto}
  .ac-face.is-off :is(.dial,.dial-mark){display:none}
}

/* Both check-ins on one quiet line under the face, and the way to change them. One 44px target. */
.home-times{all:unset;box-sizing:border-box;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:var(--s-3);max-width:100%;min-height:var(--target);margin-top:var(--s-1);padding-inline:var(--s-2);color:var(--ink-2);font:var(--t-support);white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.home-times-list{display:inline-flex;align-items:center;gap:var(--s-2);min-width:0;transition:opacity var(--d-press) linear}
.home-time{display:inline-flex;align-items:center;gap:5px}
.home-time svg{flex:none;width:15px;height:15px;color:var(--ink-3)}
.home-time.is-off{color:var(--ink-3)}
.home-times-dot{color:var(--ink-3)}
.home-times-change{color:var(--action-ink);font:var(--t-quiet);transition:opacity var(--d-press) linear}
.home-times:active :is(.home-times-list,.home-times-change){opacity:.6}

/* Gentle: one quiet line, the first thing to go when room is short. */
.home-support{flex:none;margin-top:var(--s-3);color:var(--ink-3)}

/* The rows. Ring, words, chevron: three columns, shared by every row, so the text edge is one line. */
.home-rows{flex:none;width:100%;margin-top:var(--s-2);text-align:left}
.step-row,.home-next{display:flex;align-items:center;gap:var(--s-3);width:100%;min-height:52px}
.home-next{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;gap:var(--s-3);width:100%;min-height:52px;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.home-next::before{content:'';position:absolute;left:36px;right:0;top:0;height:1px;background:var(--line)}
.step-lead{flex:none;display:grid;place-items:center;width:24px;height:24px;color:var(--ink-3)}
/* The next conversation is something to start, so its glyph wears the action colour. */
.home-next .step-lead{color:var(--action-ink)}
.step-lead svg{width:24px;height:24px}
.step-text{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:var(--s-3);flex:1;min-width:0;min-height:48px;padding-block:var(--s-1);text-align:left;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.step-copy{display:block;flex:1;min-width:0;transition:opacity var(--d-press) linear}
.step-copy>.label{display:block}
.step-words{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:var(--ink);text-wrap:pretty;transition:color var(--d-base) linear}
.step-row.is-done .step-words{color:var(--ink-2)}
.step-chev{flex:none;width:20px;height:20px;margin-right:-4px;color:var(--ink-3);transition:transform 160ms var(--ease-settle)}
.step-chev svg{display:block;width:20px;height:20px}
.step-text:active .step-copy,.home-next:active .step-copy{opacity:.6}
.step-text:active .step-chev,.home-next:active .step-chev{transform:translateX(2px);transition-duration:var(--d-press)}

/* "Your small step" and "Done today." share a cell and trade places. */
.step-copy>.step-label{display:grid}
.step-label>span{grid-area:1/1;transition:opacity var(--d-quick) linear}
.step-label-done{opacity:0;color:var(--action-ink)}
.step-row.is-done .step-label-todo{opacity:0}
.step-row.is-done .step-label-done{opacity:1;transition:opacity var(--d-base) linear 60ms}

/* The day her step names: the label says so, in the action colour. Her step stays the row's words. */
.step-row.is-today .step-label-todo{color:var(--action-ink)}

/* The ring. A real 24px circle with a 46px target. Filling it is the one reward on this row: the disc springs, the tick is penned. */
.step-ring{all:unset;box-sizing:border-box;position:relative;display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--control);color:var(--on-action);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:transform 160ms var(--ease-settle)}
.step-ring::before{content:'';position:absolute;inset:-11px}
.step-ring:active{transform:scale(.9);transition-duration:var(--d-press)}
.step-ring-fill,.step-ring-halo{position:absolute;inset:0;border-radius:50%;background:var(--action);pointer-events:none}
.step-ring-fill{opacity:0;transform:scale(.4);transition:opacity 120ms linear,transform 120ms var(--ease-exit)}
.step-ring.is-done .step-ring-fill{opacity:1;transform:none;transition:opacity 80ms linear,transform 300ms var(--spring-soft)}
.step-ring-halo{opacity:0}
.step-ring-mark{position:relative;display:block;width:16px;height:16px}
.step-ring-mark svg{display:block;width:16px;height:16px}
.step-ring-mark path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 80ms linear}
.step-ring.is-done .step-ring-mark path{stroke-dashoffset:0;transition:stroke-dashoffset 220ms var(--ease-pen) 45ms}

/* Short screens: the gentle line goes first, then the step's label, then the times line (the face opens When too).
   Her step and the button always stay. */
@media (max-height:719px){.home-support{display:none}}
/* Under 700 the times line goes before the next conversation; the face still opens When. Off, it stays: it is the way back. */
@media (max-height:699px){.home-clock:not(.is-off){--times-h:0px}.home-clock:not(.is-off) .home-times{display:none}}
@media (max-height:599px){
  .home-next{display:none}
  .step-row:not(.is-today) .step-label{display:none}
  /* The day line belongs to the clock, not to her sentence above it. */
  .home-clock{padding-top:var(--s-2)}
  .home-rows{margin-top:var(--s-1)}
}

/* These start from all:unset, which clears the shared focus ring, so they say it again. */
:is(.today-initial,.home-words,.ac-face,.home-times,.step-ring,.step-text,.home-next):focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ac-face:focus-visible{border-radius:var(--r-m)}
.home-times:focus-visible{border-radius:var(--r-s)}

/* The vision reader, from Home: the latest check-in is one more item under "Since then", not a new section. */
.since-then+.reader-latest{margin-top:var(--s-5)}

/* Your small step, the sheet */
.step-sheet-field{margin-top:0}
.step-sheet-label{margin-top:var(--s-5)}
.step-sheet-label+.options{margin-top:var(--s-2)}

/* Arriving Home, the first time. Runs once. Input is live throughout, since only opacity and transform move.
   It overlaps When's 120ms exit: the words are already most of the way there on the first frame, the face's ticks turn
   into place from 120ms, the beads and the line to the next one are drawn by 560ms. The tab bar is chrome and never moves. */
@keyframes home-rise{from{opacity:.5;transform:translateY(12px)}}
@keyframes home-appear{from{opacity:.4}}
@keyframes home-ticks{from{opacity:0;transform:rotate(-24deg) scale(.96)}}
@keyframes home-bead-in{from{opacity:0;transform:scale(.6)}}
@keyframes home-figures{from{opacity:0;transform:translateY(6px) scale(.97)}}
@keyframes home-pen{from{stroke-dasharray:1;stroke-dashoffset:1}to{stroke-dasharray:1;stroke-dashoffset:0}}
@keyframes home-bead{from{opacity:0;transform:translateY(-6px) scale(.2)}}
.is-arriving .home-greeting{animation:home-rise var(--d-base) var(--ease-settle) backwards}
.is-arriving .home-words{animation:home-rise var(--d-base) var(--ease-settle) 40ms backwards}
.is-arriving .dial{animation:home-ticks 560ms var(--ease-move) 120ms backwards}
.is-arriving .ac-time{animation:home-figures var(--d-move) var(--ease-settle) 160ms backwards}
.is-arriving .ac-label{animation:home-appear var(--d-base) linear 220ms backwards}
/* Each bead is born at its own hour, the next one already filled: only opacity and scale move, never its place on the rim. */
.is-arriving .dial-mark:not(.is-off) i{animation:home-bead-in 280ms var(--spring-soft) 400ms backwards}
.is-arriving .dial-mark--evening:not(.is-off) i{animation-delay:440ms}
.is-arriving .dial-arc{animation:home-pen 420ms var(--ease-pen) 480ms backwards}
.is-arriving .home-times,.is-arriving .home-support,.is-arriving .home-rows{animation:home-rise var(--d-base) var(--ease-settle) 80ms backwards}
.is-arriving .dock>*{animation:home-appear var(--d-base) linear 120ms backwards}
.is-arriving .tab-bead img{animation:home-bead var(--d-move) var(--spring-soft) 320ms backwards}

@media (prefers-reduced-motion:reduce){
  .is-arriving .home-greeting,.is-arriving .home-words,.is-arriving .dial,.is-arriving .ac-time,.is-arriving .ac-label,.is-arriving .home-times,.is-arriving .home-support,.is-arriving .home-rows,.is-arriving .dock>*{animation:home-appear 240ms linear backwards}
  .is-arriving .dial-mark:not(.is-off) i,.is-arriving .tab-bead img,.is-arriving .dial-arc{animation:none}
  .home-times-list,.home-times-change,.dial-mark,.dial-mark i,.ac-dial,.step-ring,.step-ring-fill,.step-ring.is-done .step-ring-fill,.step-ring-mark path,.step-ring.is-done .step-ring-mark path,.step-label>span,.step-row.is-done .step-label-done,.step-words,.step-chev,.today-initial>span{transition-duration:.01ms;transition-delay:0ms}
  .step-ring:active,.ac-face:active .ac-dial,.today-initial:active>span,.step-text:active .step-chev,.home-next:active .step-chev{transform:none}
}
}

/* Screen group: checkin. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* ---- The check-in ---- */
/* Her memory line can run long. It pushes the title down rather than climbing into the bar. */
.checkin-body .ack{height:auto;text-wrap:balance}
/* Her step, as the blueprint has it: --t-support ink-2 at every size, so the screen never changes typeface between phones.
   The label above it is ours, so it is small and plain. */
.checkin-step{display:block;margin-top:var(--s-3)}
.checkin-step-label{display:block;font:var(--t-note);color:var(--ink-3)}
.checkin-step-words{display:block;font:var(--t-support);color:var(--ink-2);text-wrap:pretty}
/* On a tall phone the dock sits far below the answers. One quiet line over Done says how small this is. */
.checkin-reassure{margin:0 0 var(--s-2);text-align:center}
@media (max-height:759px){.checkin-reassure{display:none}}
.checkin-body .options{margin-top:var(--s-5)}
.checkin-body .quiet{margin-top:var(--s-2)}
/* The note is hers, not a fourth answer. Its own label and a wider gap set it apart from the options,
   in the same label-over-words grammar as her step above. */
.checkin-note{gap:var(--s-1);margin-top:var(--s-6)}
.checkin-note .label{font:var(--t-note);color:var(--ink-3)}
/* With the keyboard up the answers scroll under the bar. The shared top fade shows only its last 4px;
   here it is 16px and sits right under the bar, so a card never ends on a hard cut. */
.checkin-body::before{top:0;height:16px;margin-bottom:-8px;background:linear-gradient(var(--paper) 3px,rgba(255,255,255,0))}
.checkin-note .field{scroll-margin-bottom:var(--s-6)}
@media (max-height:639px){
  .checkin-step{margin-top:var(--s-2)}
  .checkin-body .options{margin-top:var(--s-3)}
  .checkin-note{margin-top:var(--s-4)}
}

/* ---- The result, and Saved: no bar, the light in the middle. The headline is the answer's own ---- */
.screen--result{position:relative;isolation:isolate;--result-top:24dvh;--result-orb:120px}
@media (max-height:759px){.screen--result{--result-top:14dvh}}
@media (max-height:639px){.screen--result{--result-top:9dvh;--result-orb:96px}}
/* The light's own colour, on the paper around it. Static. It is only ever faded. */
.result-wash{position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(84% 34% at 50% calc(var(--safe-top) + var(--s-6) + var(--result-top) + var(--result-orb) / 2),var(--wash,var(--wash-dawn)) 0%,rgba(255,255,255,0) 100%)}
.result-body{display:flex;flex-direction:column;padding-top:calc(var(--safe-top) + var(--s-6));background:transparent}
/* The light sits at the same height on every result, however much is said under it. Long words scroll. */
.result-stack{display:grid;justify-items:center;width:100%;margin-top:var(--result-top);text-align:center}
.result-orb{position:relative;z-index:1;width:var(--result-orb);height:var(--result-orb)}
.result-pulse{position:relative;display:block;width:100%;height:100%}
/* The orb breathes on its own clock (components.css, .aura-orb). */
.result-halo{position:absolute;inset:0;border-radius:50%;opacity:0;pointer-events:none;background:radial-gradient(closest-side,rgba(255,255,255,0) 58%,rgba(var(--aura-coral),.6) 76%,rgba(255,255,255,0) 100%)}
.result-title{margin-top:var(--s-5);font:var(--t-voice);color:var(--ink);text-wrap:balance}
.result-words{margin-top:var(--s-2);color:var(--ink-2);text-wrap:balance;overflow-wrap:anywhere}
.result-words--hers{margin-top:var(--s-3);font:var(--t-quote);color:var(--ink-2)}
.result-count{margin-top:var(--s-4)}
/* A centred stack gets a centred answer, and a quiet one: a filled pill here read as a disabled primary and
   outweighed the words. 16px under her step, then the text button's own 44px. */
.result-action{margin-top:var(--s-4)}
.result-action .quiet{padding-inline:var(--s-4)}
/* "About 3 minutes ·" / "Next in your Compass": when it wraps, it wraps between the two, never orphaning "Compass". */
.result-next-part{white-space:nowrap}
.result-next{width:100%;margin-top:var(--s-6);text-align:left}
@media (max-height:639px){.result-title{margin-top:var(--s-3)}.result-action{margin-top:var(--s-2)}.result-next{margin-top:var(--s-4)}}
@keyframes result-breath{0%,100%{transform:scale(.985)}33.333%,50%{transform:scale(1.03)}}
/* "Take a minute first." The light takes the minute with her: same clock, deeper breath. */
.screen--result[data-answer="space"] .result-pulse :is(.aura-orb-core,.aura-orb-halo){animation-name:result-breath-deep}
@keyframes result-breath-deep{0%,100%{transform:scale(.9)}33.333%,50%{transform:scale(1.12)}}

/* What she gave, on its way into the light. Only ever transform and opacity */
.result-flyer{z-index:0;transform-origin:50% 50%;will-change:transform,opacity;contain:layout paint}
.result-flyer-words{padding:12px 16px;overflow:hidden;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--action);white-space:pre-wrap;overflow-wrap:anywhere}
.result-ghost-field{border-radius:var(--r-m);background:var(--surface)}
[data-result-flying]{visibility:hidden}
/* The pill's old word, held on the pill until the new one lands. */
.result-said{display:grid;place-items:center;white-space:nowrap;pointer-events:none}
}

/* Screen group: checkin. The daily check-in as a call (qa/polish/CHECKIN_CALL.md): the notes board the guide
   writes on the stage, the guided moments it adds, and the result that is also the form.
   Everything here stays in @layer screens and is scoped to the stage's room (.cb) or the result. */
@layer screens {

/* ---- the stage's small additions: a quiet way out by the status, replies she can tap, her words warm ---- */
.cs-aside{display:flex;justify-content:center}
.cs-aside:empty{display:none}
.cs-statusrow.has-aside .cs-status:not(.cs-status-intro){display:none}
/* A full target on a 20px line: the row keeps its height, the tap area does not. */
.cs .cs-aside-link{min-height:var(--target);margin-block:-12px;padding-inline:var(--s-3);font:var(--t-quiet);color:var(--action-ink)}
.cs.is-intro .cs-aside{visibility:hidden}
.cs-quick{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--s-2)}
.cs-quick .quiet{min-height:var(--target);padding-inline:18px;border-radius:var(--r-pill);background:var(--glass-strong);color:var(--ink)}
.cs-warm{z-index:0}
.cs.is-warm .cs-echo,.cs.is-warm .cs-offer{opacity:0}
.cs.is-warm .cs-line{color:var(--ink)}

/* ---- the guided moments' rooms ---- */
/* The release: the room settles toward night, not toward grey. The anchor: toward morning paper. */
.cs[data-modality="release"] .cs-overcast{background:#E6EAF5}
.cs[data-modality="anchor"] .cs-overcast{background:#FFF7EE}
/* In the anchor her moment is the words that matter: the cue steps back to a quieter voice. */
.cs[data-modality="anchor"] .cs-breathcue{font:var(--t-quote);color:var(--soft)}
.cb-anchor{position:absolute;inset:0;z-index:0;pointer-events:none;contain:strict}
.cb-anchor[hidden]{display:none}
.cb-anchor-pic{position:absolute;left:0;top:0;width:100%;height:100%;display:block;opacity:0}
.cb-anchor.has-picture .cb-anchor-pic{opacity:1}
.cb-anchor-words{position:absolute;left:var(--page-l);right:var(--page-r);top:0;margin:0;text-align:center;font:500 23px/29px var(--sans);letter-spacing:var(--track-voice);color:var(--ink);text-wrap:balance;overflow-wrap:anywhere}

/* ---- the notes board ---- */
.cb{position:absolute;inset:0;z-index:2;pointer-events:none;contain:layout paint}
.cs.cs-room-pinned .cs-stage-slot{flex:0 0 var(--room-slot)}
.is-composing .cb,.cs.is-finish .cb{visibility:hidden}
/* One board for each chapter that makes room; only the chapter on screen shows its own. */
.cb-board{position:absolute;left:var(--page-l);right:var(--page-r);top:var(--cb-top,0);height:var(--cb-h,0);opacity:0;visibility:hidden}
.cb.is-board .cb-board.is-current,.cb .cb-ghost{opacity:1;visibility:visible}

/* Evening: Done | Still open. Her words in the serif, as if written; a hairline under each. */
.cb--evening .cb-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--s-4);align-content:start}
/* A chapter's lines from earlier chapters take the board's first row, across its columns. */
.cb--evening .cb-board>:not(.cb-col){grid-column:1/-1}
.cb-col{position:relative;min-width:0;display:flex;flex-direction:column}
.cb-head{display:flex;align-items:center;justify-content:space-between;gap:var(--s-2);margin:0 0 10px;padding-bottom:6px;font:var(--t-label);color:var(--soft);box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--ink) 22%,transparent)}
.cb-head{position:relative}
/* The word sits over the column's rule at its end, so it never takes room from "Still open". */
.cb-tag{position:absolute;right:0;top:-2px;padding:0 8px;border-radius:var(--r-pill);background:var(--note-paper);box-shadow:var(--note-edge);font:var(--t-label);color:var(--ink);opacity:0}
.cb.is-tomorrow .cb-tag{opacity:1}
.cb-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.cb-note{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr);column-gap:var(--s-2);padding-bottom:7px}
.cb-note[hidden]{display:none}
/* A note struck out leaves from where it stood, over its list, which has already closed up under it. */
.cb-note.is-leaving{position:absolute;z-index:1}
.cb-note-text{position:relative;z-index:1;font:500 15px/20px var(--sans);letter-spacing:-.005em;color:var(--ink);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.cb-rule{position:absolute;left:24px;right:0;bottom:0;height:1px;background:color-mix(in srgb,var(--ink) 16%,transparent);transform-origin:0 50%}
/* The line drawn through a note she takes back. */
.cb-strike{position:absolute;z-index:2;left:24px;right:0;top:11px;height:1.5px;border-radius:1px;background:color-mix(in srgb,var(--ink) 62%,transparent);transform:scaleX(0);transform-origin:0 50%;pointer-events:none}
/* The words a note had, lifting away as its new words are written. */
.cb-was{position:absolute;left:0;right:0;top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.cb-glyph{position:relative;z-index:1;width:16px;height:16px;margin-top:3px;border-radius:50%;display:grid;place-items:center;color:#fff}
.cb-glyph svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cb-glyph--tray{background:var(--tint)}
/* Done is a tick written in the hour's ink, not a badge: no disc. The hairline under the note is the "as if written". */
.cb-glyph--done{background:none;color:var(--tint)}
.cb-glyph--done svg{stroke-width:1.9}
.cb-glyph--open{box-shadow:inset 0 0 0 1.25px color-mix(in srgb,var(--ink) 42%,transparent)}
.cb-glyph-tomorrow{position:absolute;inset:0;border-radius:50%;background:var(--tint);display:grid;place-items:center;opacity:0}
.cb-note.is-tomorrow .cb-glyph-tomorrow{opacity:1}
/* The glow a done note gives as it is set down: static paint, only ever faded. */
.cb-glow{position:absolute;inset:-6px -10px;border-radius:14px;background:radial-gradient(closest-side,rgba(255,232,196,.95),rgba(255,232,196,0));opacity:0;pointer-events:none;display:none}
.cb-ghost .cb-glow{display:block}
.cb-more{margin:6px 0 0 24px;font:var(--t-note);color:var(--soft)}
/* Nothing in Done, once its question has passed: a quiet line, so the column is not left bare. */
.cb-empty{margin:0;font:var(--t-note);color:var(--soft)}
.cb-empty[hidden]{display:none}
.cb-more[hidden]{display:none}
.cb.is-compact .cb-head{margin-bottom:6px;padding-bottom:4px}
.cb.is-compact .cb-list{gap:6px}
.cb.is-compact .cb-note{padding-bottom:5px}
.cb.is-compact .cb-note-text{font-size:17px;line-height:21px;-webkit-line-clamp:1}
.cb.is-compact .cb-strike{top:10px}
.cb.is-compact .cb-glyph{margin-top:2px}

/* Morning: three cards, Today / In the way / Then I'll. Empty, they are glass outlines waiting to be written. */
.cb--morning .cb-board{display:flex;flex-direction:column;gap:var(--s-2)}
.cb--morning .cb-board>:not(.cb-card){flex:none}
.cb-card{position:relative;flex:1 1 0;min-height:0;max-height:78px;border-radius:16px;padding:8px 14px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
/* The card's glass edge is its own layer, so a card not asked yet can wait without it and gain it by opacity. */
.cb-card::before{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(35,31,38,.10);transition:opacity .4s ease}
.cb-card .cb-card-label{transition:opacity .4s ease}
/* A card the chapter has not asked yet waits without its glass edge, its label half-faded (the board's step). */
.cb-card.is-later::before{opacity:0}
.cb-card.is-later .cb-card-label{opacity:.5}
.cb-card-fill{position:absolute;inset:0;border-radius:inherit;background:var(--note-paper);box-shadow:var(--note-edge);opacity:0}
.cb-card.is-filled .cb-card-fill{opacity:1}
.cb-card-label{position:relative;font:var(--t-label);color:var(--soft)}
.cb-card-words{position:relative;margin:1px 0 0;font:500 15.5px/21px var(--sans);letter-spacing:-.005em;color:var(--ink);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.cb-card-words:empty{display:none}
.cb-card .cb-rule{position:relative;left:auto;right:auto;bottom:auto;display:block;margin-top:5px;width:100%;opacity:0}
.cb-card.is-filled .cb-rule{opacity:1}
/* Through her words: the card's last line of words sits above its padding and its hairline. */
.cb-card .cb-strike{left:14px;right:14px;top:auto;bottom:25px}
.cb-card>.cb-was{left:14px;right:14px;top:auto;bottom:14px;font:500 15.5px/21px var(--sans);letter-spacing:-.005em;color:var(--ink)}
.cb--morning.is-compact .cb-card{padding-block:5px;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:10px}
.cb--morning.is-compact .cb-card-label{flex:none;width:72px}
.cb--morning.is-compact .cb-card-words{flex:1;min-width:0;font-size:17px;line-height:21px;-webkit-line-clamp:1}
.cb--morning.is-compact .cb-card .cb-rule{display:none}
.cb--morning.is-compact .cb-card .cb-strike{left:96px;bottom:15px}
.cb--morning.is-compact .cb-card>.cb-was{left:96px;bottom:5px;font-size:17px;line-height:21px}

/* ---- notes written while she talks ---- */
/* Unsaved, they are a little lighter, with no hairline; the hairline draws when they are saved. */
:is(.cb-note,.cb-card).is-wet :is(.cb-note-text,.cb-card-words),:is(.cb-chip,.cb-own-line,.cb-attached).is-wet :is(.cb-chip-words,.cb-own-words,.cb-attached-words){opacity:.8}
:is(.cb-note,.cb-card).is-wet .cb-rule{transform:scaleX(0)}
/* Chapter 1: one line under the header, in her own words. It folds away as the chapter turns. */
.cb-chips{position:absolute;left:var(--page-l);right:var(--page-r);top:var(--cb-fold-top,0);display:flex;justify-content:center;opacity:0;visibility:hidden;transition:opacity .4s ease,visibility 0s linear .4s}
.cb.is-chip .cb-chips{opacity:1;visibility:visible;transition:opacity .4s ease}
.cb-chips[hidden]{display:none}
.cb-chip{display:flex;align-items:baseline;gap:0;min-width:0;max-width:calc(100% - 32px);margin:0;padding:4px 14px;border-radius:var(--r-pill);background:var(--note-paper);box-shadow:var(--note-edge);white-space:nowrap}
.cb-chip-label{flex:none;font:var(--t-label);color:var(--soft)}
.cb-chip-words{min-width:0;overflow:hidden;text-overflow:ellipsis;font:500 14.5px/22px var(--sans);color:var(--ink)}
/* The step a chapter is on, in plain words, where the definitions give one; its glyph is drawn by the step's kind. */
.cb-step{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;margin:0;font:var(--t-label);color:var(--soft)}
.cb-step-label{min-width:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.cb-step-glyph:empty{display:none}
/* What the other check-in left: a glance, one line, never a note and never tapped. */
.cb-context{display:flex;align-items:baseline;min-width:0;max-width:100%;margin:0;padding:3px 12px;border-radius:var(--r-pill);background:var(--glass);white-space:nowrap;justify-self:start;align-self:flex-start}
.cb-context-label{flex:none;font:var(--t-label);color:var(--soft)}
.cb-context-words{min-width:0;overflow:hidden;text-overflow:ellipsis;font:500 14px/21px var(--sans);color:var(--ink)}
.cb-step[hidden],.cb-context[hidden]{display:none}
/* A note drawn with an item of a list: the first step, under the first thing still open. */
.cb-attached{display:block;grid-column:2;position:relative;z-index:1;margin-top:1px;font:var(--t-note);color:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb.is-compact .cb-attached{display:none}
/* Answers she may tap, in the stage's offer slot (the board is never tapped): one row, never wrapping. */
.cs-offer .cb-hints{display:flex;flex-wrap:nowrap;justify-content:safe center;gap:var(--s-2);max-width:100%;overflow:hidden}
.cs-offer .cb-hint{flex:none;min-height:var(--target);padding-inline:12px;border-radius:var(--r-pill);background:var(--glass-strong);font:var(--t-quiet);color:var(--ink)}

/* ---- checkins-2 (v0.3.22): the step row's glyph and words, the vision row, the plan's cards and columns ---- */
/* The row keeps its line while its words wait for Noor's first caption, so nothing under it moves when they come. */
.cb-step{min-height:18px}
.cb-step-glyph{flex:none;width:16px;height:16px;display:grid;place-items:center;color:var(--soft)}
.cb-step-glyph svg,.cb-context-glyph svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
/* A vision morning's row ends with the first clause of her vision, softly, in the serif. */
.cb-step-words{font:400 14px/20px var(--sans);color:var(--soft)}
.cb-context-glyph{flex:none;align-self:center;width:14px;height:14px;margin-right:5px;display:grid;place-items:center;color:var(--soft)}
.cb-context-glyph svg{width:14px;height:14px}
.cb-context-glyph:empty{display:none}
/* A flex row's label keeps the space after its " · ", which would otherwise collapse at the end of its box. */
.cb-chip-label,.cb-context-label{white-space:pre}
/* A card or a column the plan does not ask today, and that has no words, is not drawn. */
.cb-board>.cb-card[hidden],.cb-board>.cb-col[hidden]{display:none}
/* A short or gentle evening asks only what is still on her mind: that one column has the board's width. */
.cb--evening .cb-board.is-single{grid-template-columns:minmax(0,1fr)}
/* A board under 140 px tall keeps no lines of earlier chapters in its first row (the morning's "One thing · …"). */
.cb.is-tight .cb-board>.cb-rows{display:none}
/* On a short phone a card stays one line, however few cards the plan draws. */
.cb--morning.is-compact .cb-card{flex:none;min-height:31px}
/* On a short phone the step row is one line, cut with an ellipsis. */
.cb.is-compact .cb-step-label{-webkit-line-clamp:1;overflow-wrap:anywhere}
/* Her words in an Arabic script: a Naskh face after the brand serif (which has no Arabic letters) and before the rest of
   the stack, and taller lines, so Nastaliq's tall letters are never clipped where a note is cut to its lines. */
:is(.cb,.cs-chapter) bdi:is(:lang(ur),:lang(ar),:lang(fa)),.cr-field:is(:lang(ur),:lang(ar),:lang(fa)),.cs-offer .cb-hint:is(:lang(ur),:lang(ar),:lang(fa)){
  font-family:'DM Sans','Noto Naskh Arabic','Geeza Pro','Segoe UI',system-ui,sans-serif;line-height:1.7}
.cs-offer .cb-hint:is(:lang(ur),:lang(ar),:lang(fa)){font-family:'Noto Naskh Arabic','Geeza Pro','Segoe UI',var(--sans);line-height:20px}
/* The recap's rows of a daily check-in: a row left out while it is empty is not drawn at all (live-call-stage.js). */
.cs-chapter-words[hidden]{display:none}

/* ---- the ledger: what she said earlier, kept readable under the header for the rest of the call ---- */
.cb-ledger{position:absolute;left:var(--page-l);right:var(--page-r);top:var(--cb-fold-top,0);display:flex;flex-direction:column;align-items:center;gap:6px;opacity:0;visibility:hidden;transition:opacity .4s ease}
.cb.is-ledger .cb-ledger{opacity:1;visibility:visible}
.cb.is-anchor .cb-ledger{opacity:0}
.cb-lines,.cb-own,.cb-rows{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;max-width:100%}
.cb-lines[hidden],.cb-own[hidden],.cb-rows[hidden]{display:none}
/* A line: done's tick or tomorrow's arrow, her words, whole, then "(+2)" for the rest; never a count alone. */
.cb-line{display:flex;align-items:center;gap:6px;min-width:0;max-width:100%;height:30px;margin:0;padding:0 12px;border-radius:var(--r-pill);background:var(--note-paper);box-shadow:var(--note-edge);color:var(--ink);white-space:nowrap}
.cb-line.has-glyph{padding-left:7px}
.cb-line .cb-glyph{flex:none;margin-top:0}
.cb-line-text{min-width:0;overflow:hidden;text-overflow:ellipsis;font:500 14.5px/22px var(--sans)}
.cb-line-label{font:var(--t-label);color:var(--soft)}
.cb-line-more{flex:none;font:var(--t-label);color:var(--soft)}
.cb-line.is-empty .cb-line-text{font:var(--t-note);color:var(--soft)}
/* The morning's lines stay one card, its cards stacked into it: the deck. */
.cb--morning .cb-lines{align-items:stretch;gap:2px;width:min(100%,320px);padding:6px 14px;border-radius:14px;background:var(--note-paper);box-shadow:var(--note-edge),0 5px 0 -2px rgba(35,31,38,.06),0 10px 0 -4px rgba(35,31,38,.04)}
.cb--morning .cb-lines .cb-line{height:auto;min-height:24px;padding:0;border-radius:0;background:none}
/* The chapter's own note, under the lines, in her words: the evening's "Grateful for · …". */
.cb-own-line{max-width:100%;margin:2px 0 0;font:500 14.5px/22px var(--sans);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cb-own-label{font:var(--t-label);color:var(--soft)}
/* In a chapter that makes room, its lines from earlier chapters are the board's first row. */
.cb-board>.cb-rows{align-items:flex-start}

/* A narrow column has no room for the word: the column keeps "Still open", each note keeps its arrow.
   At 320 a column's text is about 108px: at 15px "Finished the report" fits whole rather than "Finished the…". */
@media (max-width:359px){
  .cb-tag{display:none}
  .cb.is-compact .cb-note-text{font-size:15px;line-height:19px}
  .cb.is-compact .cb-strike{top:9px}
  .cb.is-compact .cb-list{gap:4px}
  .cb-line-text,.cb-own-line{font-size:16px}
}
@media (max-height:639px){
  .cs-quick{margin-bottom:8px}
  .cb-anchor-words{font-size:22px;line-height:27px}
}
/* A short phone (the room measures it): the lines are smaller, one note each, so they stay clear of the orb. */
.cb.is-short :is(.cb-ledger,.cb-lines,.cb-own){gap:4px}
.cb.is-short .cb-line{height:24px}
.cb.is-short .cb-line-text{font-size:15px;line-height:20px}
.cb.is-short .cb-own-line{font-size:15px;line-height:20px;margin-top:0}
.cb.is-short .cb-chip{padding-block:2px}
.cb.is-short .cb-chip-words{font-size:15px;line-height:20px}
.cb--morning.is-short .cb-lines{gap:2px;padding:4px 12px}
.cb--morning.is-short .cb-lines .cb-line{min-height:20px}

/* ---- the result: "Your evening", "Your morning". The light, her notes, every one hers to change ---- */
.screen--checkin-result{--result-top:2dvh;--result-orb:88px}
/* Start, not left: an Urdu note sits on the right with its punctuation (each field carries her language and direction). */
.cr-stack{justify-items:stretch;text-align:start}
.cr-stack .result-orb{justify-self:center}
.cr-stack .result-title{text-align:center}
.cr-sub{margin-top:var(--s-1);text-align:center}
.cr-sections{display:flex;flex-direction:column;gap:var(--s-6);margin-top:var(--s-6);padding-bottom:var(--s-4)}
.cr-section{display:flex;flex-direction:column;align-items:stretch}
.cr-label{margin:0 0 var(--s-1)}
.cr-row{display:flex;align-items:flex-start;gap:var(--s-1);box-shadow:inset 0 -1px 0 var(--line)}
/* Her words, all of them, in the serif they were written in on the board. */
.cr-field{flex:1 1 auto;min-width:0;min-height:var(--target);margin:0;padding:9px 0;border:0;border-radius:0;background:transparent;font:var(--t-quote);color:var(--ink);resize:none;field-sizing:content;overflow-wrap:anywhere;outline:0;caret-color:var(--accent)}
.cr-field:focus{box-shadow:inset 0 -2px 0 var(--action)}
.cr-quote{margin:0;padding:9px 0;font:var(--t-quote);color:var(--ink);overflow-wrap:anywhere}
.cs .cr-remove,.cr-remove{flex:none;place-items:center;color:var(--ink-3)}
.cr-remove svg{width:18px;height:18px;margin:0}
.cr-add{align-self:flex-start;gap:6px;padding-inline:0 var(--s-2)}
.cr-add svg{width:18px;height:18px;flex:none}
}

@font-face{font-family:'Release DM Sans';src:url('../assets/release/dm-sans.woff2') format('woff2');font-weight:100 1000;font-style:normal;font-display:swap}
.release-offer{display:flex;flex-direction:column;gap:10px;width:100%}
.release-offer .support{text-align:center;font-size:14px}
.release-offer-links{display:flex;justify-content:center;gap:24px}
.release-offer-links .quiet{font-size:14px}
.release-screen{position:absolute;inset:0;isolation:isolate;background:var(--paper);overflow:hidden}
.release-host{position:absolute;inset:0;container-type:size;--font-aura:'Release DM Sans',sans-serif;opacity:0;transition:opacity 650ms ease}
.release-screen.is-ready .release-host{opacity:1}
.release-wait,.release-error{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:24px;text-align:center}
.release-error{background:var(--paper);z-index:100}
/* While the release opens: the same orb it is about to show. */
.release-wait-light{flex:none}
.release-screen.is-ready .release-wait{visibility:hidden}
/* The player's own button takes the app's action colour in its day look (its night look keeps its light button). */
.release-host .mod-stage.is-day{--mod-primary-bg:var(--action);--mod-primary-ink:var(--on-action)}
/* Layout is relative to the app column. The player's clock, transforms, shader and score are untouched. */
.release-host .mod-orb{--orb-size:min(64cqw,272px,34cqh)}
.release-host .mod-focus{gap:clamp(10px,3cqh,26px);padding-inline:clamp(16px,6cqw,26px)}
.release-host .mod-words{max-width:min(340px,100%)}
.release-host .mod-foot{min-height:clamp(106px,21cqh,178px);flex-shrink:0}
.release-host .rel-land-action{overflow-wrap:anywhere}
.release-host .mod-words.rel-words-land{max-height:29cqh;overflow-y:auto;overscroll-behavior:contain}
@container (max-height:640px){
  .release-host .mod-orb{--orb-size:min(48cqw,210px,29cqh)}
  .release-host .mod-top{min-height:48px;padding-top:calc(env(safe-area-inset-top,0px) + 8px)}
  .release-host .mod-focus{gap:10px}
  .release-host .mod-foot{min-height:106px;gap:8px;padding-bottom:calc(env(safe-area-inset-bottom,0px) + 12px)}
  .release-host .mod-line p{font-size:clamp(19px,5.5cqw,24px)}
  .release-host .rel-land-action{font-size:22px}
}
@container (max-height:440px){
  .release-host .mod-focus{flex-direction:row;padding-inline:20px;gap:24px}
  .release-host .mod-orb{--orb-size:min(23cqw,30cqh)}
  .release-host .mod-words{flex:1;height:100px}
  .release-host .mod-foot{min-height:84px}
  .release-host .rel-land-action{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.release-host{transition:none}}

/* Screen group: compass. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* One map, always whole. The painting stays put behind a scrolling path. No text ever sits on the paint. */
.compass-map{container-type:size;padding:0;background:linear-gradient(var(--wash-dawn),var(--wash-sky));--map-drift:56px;--map-lift:0 1px 2px rgba(35,31,38,.10),0 4px 14px rgba(35,31,38,.07)}
.compass-map::before{display:none}
.map-paint{position:sticky;top:0;z-index:0;height:0;pointer-events:none}
.map-paint img,.map-veil{position:absolute;left:0;top:0;display:block;width:100%;height:100cqh;max-width:none}
.map-paint img{height:calc(100cqh + var(--map-drift));object-fit:cover;-webkit-user-select:none;user-select:none}
.map-veil{background:var(--paper)}
/* The painting dissolves into the bar instead of meeting it at a hard edge. */
.map-mist{position:sticky;top:0;z-index:2;height:0;pointer-events:none}
.map-mist::after{content:'';position:absolute;left:0;right:0;top:0;height:28px;background:linear-gradient(var(--paper),rgba(255,255,255,0))}
/* The land drifts a little as the path scrolls. Off the main thread, and only where the browser can. */
@supports (animation-timeline:scroll()){
  @media (prefers-reduced-motion:no-preference){
    .map-paint img{animation:map-drift linear both;animation-timeline:scroll(nearest block)}
  }
}
@keyframes map-drift{to{transform:translateY(calc(-1 * var(--map-drift)))}}

.map-track{position:relative;z-index:1;width:100%}
.compass-trail,.trail-draw{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.compass-trail path,.trail-draw path{fill:none;stroke-linecap:round}
.trail-under{stroke:rgba(255,255,255,.34);stroke-width:7}
.trail-open{stroke:var(--paper);stroke-width:3;stroke-dasharray:.01 9}
.trail-done{stroke:var(--action);stroke-width:3}
.trail-light{position:absolute;left:0;top:0;z-index:3;width:40px;height:40px;max-width:none;offset-anchor:center;offset-rotate:0deg;pointer-events:none;will-change:transform,offset-distance}

.compass-parts,.compass-stops{position:absolute;inset:0;margin:0;padding:0;list-style:none;pointer-events:none}
.compass-part{position:absolute;left:var(--page-l);top:var(--y)}
/* A part label is a pill, a stop's name is a chip, so a header never reads as a place to tap. */
.compass-part span{display:inline-block;padding:6px 12px;border-radius:var(--r-pill);background:var(--paper);color:var(--ink-2);font:var(--t-label);box-shadow:var(--map-lift)}
.compass-stop{position:absolute;left:var(--x);top:var(--y);width:0;height:0;pointer-events:auto}
.stage-button{all:unset;box-sizing:border-box;position:absolute;left:-28px;top:-28px;display:grid;place-items:center;width:56px;height:56px;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.stage-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:50%}
.stage-node{position:relative;display:grid;place-items:center;border-radius:50%;background:var(--paper);color:var(--ink-3);font:var(--t-note);font-variant-numeric:tabular-nums;box-shadow:var(--map-lift);transition:scale var(--d-quick) var(--ease-settle)}
.stage-chip{position:absolute;top:50%;padding:6px 10px;border-radius:var(--r-s);background:var(--paper);color:var(--ink);font:var(--t-label);white-space:nowrap;translate:0 -50%;box-shadow:var(--map-lift);transition:scale var(--d-quick) var(--ease-settle)}
/* The stop presses as one thing, node and name. In fast, out soft. */
.stage-button:active .stage-node{scale:.92;transition-duration:var(--d-press)}
.stage-button:active .stage-chip{scale:.97;transition-duration:var(--d-press)}
.stop-left .stage-chip{left:calc(50% + 30px);transform-origin:left center}
.stop-right .stage-chip{right:calc(50% + 30px);transform-origin:right center}

.is-kept .stage-node{width:44px;height:44px;background:var(--action);color:var(--on-action)}
.is-kept .stage-node svg{width:22px;height:22px;stroke-width:2.2}

.is-next .stage-node{width:56px;height:56px}
.is-next .stage-node img{width:40px;height:40px;max-width:none;animation:stage-breath var(--d-breath) var(--ease-breath) infinite}
/* The ring and the halo are pseudo-elements so the unlock can bring them in by opacity alone. */
.is-next .stage-node::before{content:'';position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 0 2px var(--action);pointer-events:none}
.is-next .stage-node::after{content:'';position:absolute;inset:-6px;border-radius:50%;box-shadow:0 0 0 2px var(--paper);opacity:0;animation:stage-halo var(--d-breath) var(--ease-breath) infinite;pointer-events:none}
.stage-num{position:absolute;inset:0;display:grid;place-items:center;opacity:0;pointer-events:none}
/* One slow halo and one slow breath on the 12s clock. Transform and opacity only. */
@keyframes stage-halo{0%,100%{opacity:0;transform:scale(.92)}33%,50%{opacity:.9;transform:scale(1)}}
@keyframes stage-breath{0%,100%{transform:scale(.97)}33%,50%{transform:scale(1.03)}}
.is-next .stage-chip{font-weight:500}
.is-next.stop-left .stage-chip{left:calc(50% + 36px)}
.is-next.stop-right .stage-chip{right:calc(50% + 36px)}

.is-locked .stage-node{width:40px;height:40px}
.is-locked .stage-chip{color:var(--ink-3)}
.is-far .stage-node{opacity:.6}
@media (prefers-reduced-motion:reduce){
  .is-next .stage-node::after{animation:none;opacity:.9}
  .is-next .stage-node img{animation:none}
  .stage-node,.stage-chip{transition:none}
  .stage-button:active .stage-node,.stage-button:active .stage-chip{scale:none}
}

/* The Next dock sits over the map with rounded shoulders, lifted off the paint. */
.next-dock{z-index:2;margin-top:calc(-1 * var(--r-l));padding-top:var(--s-4);border-radius:var(--r-l) var(--r-l) 0 0;box-shadow:var(--e3)}
.next-dock::before{display:none}
.next-label{display:block;font-variant-numeric:tabular-nums;word-spacing:.08em}
.next-name{color:var(--ink);margin-top:2px}
/* Her words are never cut mid-word on one line. Two lines, and only a long one at 320 clamps. */
.next-reason{margin-top:2px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.next-line{margin-bottom:var(--s-3)}
.next-dock .quiet{margin-top:var(--s-1)}
.next-dock .primary{margin-top:0}
.next-dock>.next-reason+.primary{margin-top:var(--s-3)}
@media (max-height:639px){.next-reason{display:none}.next-dock--done .next-reason{display:-webkit-box}}

/* Stage sheets */
.stage-question{margin-top:var(--s-3)}
.stage-time{margin-top:var(--s-2)}
.stage-kept{margin-bottom:var(--s-2)}
.stage-words{white-space:pre-line;overflow-wrap:anywhere}

/* What you've said, and past conversations */
.said-body{padding-top:var(--s-1)}
.said-section+.said-section{margin-top:var(--s-7)}
.said-head{display:block;margin-bottom:var(--s-3);color:var(--ink-2)}
.said-head:has(+.said-line){margin-bottom:0}
.said-line{margin-bottom:var(--s-1)}
.said-item+.said-item{margin-top:var(--s-3)}
.said-item .note{display:block;margin-bottom:2px}
.said-chosen{font:var(--t-body)}
/* Her words press like a row. The fill reaches past the text, so the text stays on the gutter. */
.said-edit{all:unset;box-sizing:border-box;position:relative;display:block;width:100%;padding-block:var(--s-2);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none}
.said-edit+.said-edit{margin-top:var(--s-1)}
.said-edit::before{content:'';position:absolute;inset:0 -12px;z-index:-1;border-radius:var(--r-s);background:var(--surface-2);opacity:0;transition:opacity var(--d-quick) linear}
.said-edit:active::before{opacity:1;transition-duration:var(--d-press)}
.said-edit:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--r-s)}
.said-edit .note{display:block;margin-bottom:2px}
.said-edit .quote{display:block;overflow-wrap:anywhere}
.said-section{isolation:isolate}
.said-empty{color:var(--ink-2)}
.log-body{padding-top:var(--s-1)}
.log-date{margin-bottom:var(--s-1)}
.log-words{white-space:pre-line;overflow-wrap:anywhere}
.log-note{margin-top:var(--s-3);white-space:pre-line}
.log-pair{margin-top:var(--s-5)}
.log-pair .label{display:block;margin-bottom:var(--s-1)}
.log-pair .quote+.label{margin-top:var(--s-3)}
.log-pair+.log-pair{margin-top:var(--s-6)}
.since-then,.reader-latest{margin-top:var(--s-6)}
.reader-head{display:block;margin-bottom:var(--s-2);color:var(--ink-2)}
.since-item+.since-item{margin-top:var(--s-3)}
.since-item .note{display:block;margin-bottom:var(--s-1)}
.part--first{margin-top:var(--s-4)}
}

/* Screen group: sessions. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
.session-call .rail-timer{min-height:1px}
.session-call .call-row{min-height:48px}
/* Here the echo slot holds a reason, often two lines, right above the question. They need air between them. */
.session-call .call-echo:not(:empty)+.call-words{margin-top:var(--s-3)}
@media (max-height:639px){.session-call .call-echo:not(:empty)+.call-words{margin-top:var(--s-2)}}
.session-call .call-echo{max-width:20em}
/* Writing a later conversation: the offer and the line that replaces it take the same room, so nothing moves. */
.session-write .ack{height:auto;text-wrap:balance}
.session-write .quiet{margin-top:var(--s-2)}
.session-example-tag{display:flex;align-items:center;min-height:var(--target);margin-top:var(--s-2);animation:session-tag-in var(--d-base) var(--ease-settle)}
@keyframes session-tag-in{from{opacity:0;transform:translateY(4px)}}
@media (prefers-reduced-motion:reduce){.session-example-tag{animation:none}}
.session-safety{margin-bottom:var(--s-3);color:var(--ink)}
/* One topic: the header's arc has nothing to count, and its lone sun read as a record light beside the timer. */
.session-call .cs-arc{display:none}
/* The reason here is two lines under the orb. On smaller stages the orb comes down to meet it, so it gets 16px of its own. */
@media (max-height:759px){.session-call .cs-caption{padding-top:var(--s-4)}}
/* The smallest stage: the orb leans down on her turn, so the gap is measured from where it leans to. */
@media (max-height:639px){.session-call .cs-caption{padding-top:var(--s-6)}}
/* The page holds together around her words, not a short box over a long white page. */
.session-write .field{min-height:160px}
/* "Keep this in your vision?" hugs what it holds: 16px from her words to the foot (4 here, 12 the foot's own). */
.sheet-body:has(.session-save-field){padding-bottom:var(--s-1)}
/* Nothing here scrolls (long words scroll inside the field), so the foot's scroll fade would only wash the field's edge. */
.sheet-body:has(.session-save-field)+.sheet-foot::before{display:none}
.session-save-field .field{min-height:56px}
}
/* Round 2. "Keep this in your vision?" sits over the warm room she just talked in. The shared cold scrim turned the
   peach stage a muddy brown-grey, so this sheet alone gets a warm, light veil. Other sheets keep theirs. */
@layer screens {
#app-sheet:has(.session-save-field)::backdrop{background:rgba(255,255,255,.6)}
/* Her words are in the field now. The stage's pull quote of the same words steps back while the sheet is open,
   so they appear once. filter, not opacity: the stage's own entrance animates opacity. */
.session-call .cs-chapter{transition:filter 160ms linear}
body:has(#app-sheet[open] .session-save-field) .session-call .cs-chapter{filter:opacity(0)}
@media (prefers-reduced-motion:reduce){.session-call .cs-chapter{transition:none}}
/* Her quote in the lead starts its own line, so "Last time you said:" reads as the label it is, and it balances if it wraps. */
.session-write .ack:has(.session-lead-quote){flex-direction:column;justify-content:flex-end;align-items:stretch}
.session-lead-quote{display:block;text-wrap:balance}
/* On the narrowest phones a line of its own costs a third line and pushes the question down: there it runs on,
   full width, and pretty keeps the last line from being a stub. */
@media (max-width:359px){.session-write .ack:has(.session-lead-quote){display:block;text-wrap:pretty}.session-lead-quote{display:inline}}
/* With the keyboard up there is room for the field or for its 160px, not both: its whole border stays above the dock. */
@media (max-height:520px){.session-write .field{min-height:104px}}
}

/* Screen group: board. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* The board stays inside the tab shell. The canvas runs under the bar, down to the tab bar. */
.screen--board .board-body{padding:0;overflow:hidden;overscroll-behavior:none}
.screen--board .board-body::before{display:none}
.screen--board .bar--float{z-index:4}
/* The title is not a control. A drag that starts on it still moves the canvas. */
.screen--board .bar--float .bar-middle{pointer-events:none}
/* Solid behind the title, then a 24px fade for the cards passing under it. */
.screen--board .bar--float::before{content:'';position:absolute;inset:0 0 -24px;z-index:-1;background:linear-gradient(var(--canvas) calc(100% - 24px),transparent);pointer-events:none}

/* ---- The canvas ---- */
.vb-viewport{position:absolute;inset:0;width:auto;height:auto;min-height:0;margin:0;overflow:hidden;border:0;border-radius:0;box-shadow:none;background:var(--canvas);touch-action:none;cursor:grab;isolation:isolate;-webkit-user-select:none;user-select:none}
.vb-viewport.is-panning,.vb-viewport.is-panning .vb-card-open{cursor:grabbing}
/* One layer, moved by transform. 160% still covers the screen at its smallest scale, .75. */
.vb-dots{position:absolute;left:0;top:0;width:160%;height:160%;transform-origin:0 0;background-image:radial-gradient(circle,var(--canvas-dot) 1px,transparent 1px);background-size:24px 24px;pointer-events:none}
.vb-world{position:absolute;inset:0;width:auto;height:auto;transform-origin:0 0;will-change:auto}
.vb-viewport.is-moving .vb-world,.vb-viewport.is-moving .vb-dots{will-change:transform}

/* ---- Cards ---- */
/* The card itself never clips, so the lifted shadow on ::after can show. Its picture is clipped by .vb-card-open. */
.vb-card{position:absolute;display:flex;flex-direction:column;padding:0;border:0;outline:0;overflow:visible;border-radius:var(--r-m);background:var(--paper);box-shadow:var(--e1);transition:transform 240ms var(--spring-soft),rotate 240ms var(--spring-soft);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:none}
.vb-card.is-top{z-index:2}
/* The lifted shadow is its own layer that fades in. A shadow never animates. */
.vb-card::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:var(--e2);opacity:0;transition:opacity var(--d-quick) linear;pointer-events:none}
/* A press dips a moment later, so a quick drag across a card stays a plain pan. */
.vb-card.is-pressed{transform:scale(.985);transition:transform var(--d-press) linear 40ms}
.vb-card.is-lifted{z-index:5;transform:scale(1.03);will-change:transform,translate;transition:transform 240ms var(--spring-soft),rotate 180ms var(--ease-settle)}
.vb-card.is-lifted::after{opacity:1}
.vb-card--leaving{pointer-events:none}

/* The move handle exists for keyboards only. */
.vb-card-handle{all:unset;box-sizing:border-box;position:absolute;left:var(--s-2);top:var(--s-2);z-index:1;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--paper);color:var(--ink);box-shadow:var(--e1);opacity:0;pointer-events:none}
.vb-card-handle svg{width:24px;height:24px}
.vb-card-handle:focus-visible{opacity:1;outline:2px solid var(--accent);outline-offset:2px;pointer-events:auto}

.vb-card-open{all:unset;box-sizing:border-box;position:relative;display:flex;flex-direction:column;flex:1;min-height:0;width:100%;overflow:hidden;border-radius:inherit;text-align:left;cursor:grab;touch-action:none}
.vb-card-open:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
/* The words take what they need and the picture takes the rest, so a short card never ends in a blank. 16:9 is its floor. */
.vb-card-open>img{display:block;flex:1 1 0;min-height:0;width:100%;height:auto;max-width:none;object-fit:cover;object-position:50% 45%;pointer-events:none}
.vb-pic.is-waiting{color:transparent}
.vb-card-words{display:block;flex:none;padding:var(--s-3) var(--s-4) var(--s-4)}
.vb-card-label{display:block;font:var(--t-note);color:var(--ink-3)}
/* The part of life on every card: its mark in a 20px disc of its wash, then its name. */
.vb-card-label--area{display:flex;align-items:center;gap:6px;min-width:0}
.vb-card-label--area>span:last-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* A sample image says so, quietly, in its corner. */
.vb-sample-tag{position:absolute;top:10px;right:10px;z-index:1;padding:1px 8px;border-radius:var(--r-pill);background:rgba(255,255,255,.92);color:var(--ink-3);font:var(--t-note);pointer-events:none}
.vb-photo{position:relative}
.vb-photo .vb-sample-tag{top:8px;right:8px}
.vb-card-title{display:-webkit-box;margin-top:2px;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font:var(--t-quote);color:var(--ink);text-wrap:balance}
.vb-card-title--words{-webkit-line-clamp:5;text-wrap:pretty}
.vb-card-text{display:-webkit-box;margin-top:var(--s-1);-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font:var(--t-support);color:var(--ink-2);text-wrap:pretty}

/* A note is white paper with one small cyan mark, her words in serif. No cream. Its height follows its words. */
.vb-note{background:var(--paper)}
.vb-note .vb-card-open{background:transparent}
.vb-note-pin{display:block;flex:none;width:28px;height:3px;margin:var(--s-5) var(--s-5) 0;border-radius:var(--r-pill);background:var(--accent)}
.vb-note-text{display:-webkit-box;flex:none;margin:var(--s-3) var(--s-5) var(--s-5);-webkit-box-orient:vertical;-webkit-line-clamp:7;overflow:hidden;font:var(--t-quote);color:var(--ink);white-space:pre-line;text-wrap:pretty}
/* A short note is read at the size of a voice, 24/30, up to five lines, so the paper never looks unfinished. */
.vb-note--short .vb-note-text{-webkit-line-clamp:5;font:var(--t-voice);text-wrap:balance}

/* The picture rising from the card into the detail sheet. It lives in the sheet until it lands. */
dialog.sheet.is-flying{overflow:visible}
.vb-flight{position:absolute;z-index:3;margin:0;object-fit:cover;transform-origin:0 0;will-change:transform,opacity;pointer-events:none}

/* ---- What floats over it ---- */
/* The cards pass under the tab bar through a soft 24px fade, as they pass under the title. */
/* The Add pill rests on a soft band of canvas, so no card's words ever sit under it. One layer, painted once. */
.screen--board .board-body::after{content:'';position:absolute;left:0;right:0;bottom:0;z-index:2;height:104px;background:linear-gradient(transparent,color-mix(in srgb,var(--canvas) 86%,transparent) 55%,var(--canvas));pointer-events:none}
/* The hint lives in the header band, on the canvas colour, so cards pass under it and never under its words. */
.board-hint{position:absolute;left:0;right:0;top:calc(var(--bar-h) + var(--safe-top));z-index:5;margin:0;padding:0 var(--page-r) var(--s-3) var(--page-l);background:linear-gradient(var(--canvas) calc(100% - 12px),transparent);color:var(--ink-2);text-wrap:balance;pointer-events:none;transition:opacity var(--d-quick) linear}
.board-hint.is-leaving{opacity:0}
.board-hint[hidden]{display:none}

.board-actions{position:absolute;left:0;right:0;bottom:var(--s-3);z-index:3;display:grid;justify-items:center;gap:var(--s-1);pointer-events:none;transition:transform 280ms var(--ease-move),opacity var(--d-quick) linear}
.board-actions>*{pointer-events:auto}
.primary--float svg{width:22px;height:22px}
/* Carrying a card: the pill steps aside. An Undo toast takes its place, one floating thing at a time. */
.board-body.is-carrying .board-actions{opacity:0;transform:translateY(var(--s-2))}
.app-shell:has(#toast:not([hidden])) .board-actions{opacity:0}
.board-body.is-carrying .board-actions>*,.app-shell:has(#toast:not([hidden])) .board-actions>*{pointer-events:none}

/* ---- Empty ---- */
.board-empty{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--s-2);padding:calc(var(--bar-h) + var(--safe-top)) var(--page-r) 120px var(--page-l);text-align:center;pointer-events:none}
.board-empty-art{position:relative;display:block;flex:none;width:240px;height:165px;margin-bottom:var(--s-4)}
.board-empty-art img{position:absolute;width:120px;height:142px;max-width:none;object-fit:cover;border:7px solid var(--paper);border-bottom-width:26px;border-radius:var(--r-s);box-shadow:var(--e1)}
.board-empty-art img:first-child{left:14px;top:10px;transform:rotate(-11deg)}
.board-empty-art img:nth-child(2){right:13px;top:0;transform:rotate(10deg)}
.board-empty-art span{position:absolute;left:77px;bottom:0;padding:14px var(--s-4) 10px;border-radius:var(--r-s);background:var(--paper);color:var(--ink);font:var(--t-voice);box-shadow:var(--e1);transform:rotate(-4deg)}
.board-empty-art span::before{content:'';position:absolute;left:var(--s-4);top:7px;width:22px;height:3px;border-radius:var(--r-pill);background:var(--accent)}
.board-empty-title{color:var(--ink)}
.board-empty-line{color:var(--ink-2)}
@media (max-height:519px){.board-empty-art{display:none}}

/* ---- Card styles. Each part of life lends a quiet tint and a deep tone to the cards that carry no picture ---- */
:where(.vb-card,.vp-slide){--q-tint:#FFEFE3;--q-ink:#9A4A1F}
[data-area="connection"]{--q-tint:#FBE9F1;--q-ink:#8C2F55}
[data-area="purpose"]{--q-tint:#E7F4FB;--q-ink:#006F8C}
[data-area="home"]{--q-tint:#FCEBCB;--q-ink:#835409}
[data-area="growth"]{--q-tint:#F1EAFB;--q-ink:#5A3D94}
[data-area="adventure"]{--q-tint:#E8EEFB;--q-ink:#2E4A8A}
.vb-root{--q-tint:var(--wash-sky);--q-ink:var(--action-ink)}

/* Her words, as a quote. The mark and the wash carry the part of life; the words stay ink on white. */
.vb-style--quote .vb-card-open{background:radial-gradient(130% 75% at 0% 0%,var(--q-tint) 0%,rgba(255,255,255,0) 62%),var(--paper)}
.vb-quote{display:flex;flex-direction:column;flex:1;min-height:0;padding:var(--s-3) var(--s-5) var(--s-4)}
.vb-quote-mark{display:block;flex:none;height:44px;margin-left:-3px;font:600 64px/76px var(--sans);color:var(--q-ink)}
.vb-quote-words{display:-webkit-box;flex:0 1 auto;min-height:0;margin-block:auto;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;font:var(--t-voice);color:var(--ink);text-wrap:pretty}
.vb-quote-words.is-short{-webkit-line-clamp:4;font:var(--t-title);text-wrap:balance}
.vb-quote-words.is-long{-webkit-line-clamp:7;font:var(--t-quote)}
.vb-quote-foot{display:flex;flex:none;align-items:center;gap:var(--s-2);margin-top:var(--s-3)}
.vb-quote-foot .vb-card-label{margin:0}

/* A photograph: a white border, the picture, a caption in her words. */
.vb-style--photo .vb-card-open{padding:10px 10px 0}
.vb-photo{display:block;flex:1 1 0;min-height:0;overflow:hidden;border-radius:var(--r-s)}
.vb-photo>.vb-pic{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 45%;pointer-events:none}
.vb-pic--empty{display:block;width:100%;height:100%}
.vb-photo-caption{display:flex;flex:none;align-items:center;justify-content:center;gap:var(--s-2);min-width:0;padding:var(--s-3) var(--s-2) var(--s-4);font:var(--t-quote);color:var(--ink)}
.vb-photo-caption>span:last-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}

/* Sizes. Small cards read one step smaller, large ones one step larger, so a card never looks crowded or empty. */
.vb-size--s .vb-card-title{font:500 16px/21px var(--sans);letter-spacing:var(--track-quote)}
.vb-size--s .vb-card-text,.vb-size--s .vb-card-label{font:var(--t-note)}
.vb-size--s .vb-quote-words{font:var(--t-quote)}
.vb-size--s .vb-quote-words.is-short{font:var(--t-voice)}
.vb-size--s .vb-quote-mark{height:36px;font-size:60px;line-height:60px}
.vb-size--s .vb-note-text{font:var(--t-quote)}
.vb-size--s.vb-note--short .vb-note-text{font:var(--t-quote)}
.vb-size--s .vb-photo-caption{font:500 15px/20px var(--sans)}
.vb-size--l .vb-card-title{font:var(--t-voice)}
.vb-size--l .vb-quote-words{font:var(--t-title)}
.vb-size--l .vb-quote-words.is-short{font:var(--t-display)}
.vb-size--l .vb-quote-mark{height:52px;font-size:92px;line-height:92px}
.vb-size--l .vb-note-text,.vb-size--l.vb-note--short .vb-note-text{font:var(--t-title)}
.vb-size--l .vb-photo-caption{font:var(--t-voice)}

/* ---- Play my vision, beside More ---- */
.screen--board .bar--float .bar-end{display:flex;align-items:center;gap:var(--s-1)}
.vb-play-btn{all:unset;box-sizing:border-box;position:relative;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 var(--s-4) 0 var(--s-3);border-radius:var(--r-pill);background:var(--paper);color:var(--ink);font:var(--t-quiet);box-shadow:var(--e1);cursor:pointer;-webkit-user-select:none;user-select:none;transition:transform var(--d-quick) var(--ease-settle)}
.vb-play-btn::before{content:'';position:absolute;inset:-4px -2px}
.vb-play-btn svg{flex:none;width:18px;height:18px;color:var(--action)}
.vb-play-btn:active{transform:scale(.96);transition-duration:var(--d-press)}
.vb-play-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;box-shadow:none}

/* ---- The player: full screen, white paper, the picture above and her words below it ---- */
dialog.vision-play{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;overflow:hidden;background:var(--paper);color:var(--ink);overscroll-behavior:none}
dialog.vision-play::backdrop{background:var(--paper)}
.vp-stage{position:absolute;inset:0;overflow:hidden;background:var(--paper);touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:pointer}
/* A slide is two layers that move apart: its picture (or wash) crossfades, its words leave and arrive in turn. */
.vp-slide{position:absolute;inset:0}
.vp-art{position:absolute;inset:0;opacity:0}
.vp-pic{position:absolute;left:0;right:0;top:0;height:62%;overflow:hidden;background:var(--surface)}
.vp-pic img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transform-origin:50% 45%}
/* The picture meets the paper softly, and lightens under the bar so its controls always read. */
.vp-pic::before{content:'';position:absolute;left:0;right:0;top:0;z-index:1;height:calc(var(--safe-top) + 96px);background:linear-gradient(rgba(255,255,255,.72),rgba(255,255,255,0))}
.vp-pic::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:34%;background:linear-gradient(rgba(255,255,255,0),rgba(255,255,255,.7) 55%,var(--paper))}
.vp-tag{position:absolute;right:var(--page-r);top:calc(var(--safe-top) + var(--bar-h) + 8px);z-index:2;padding:1px 8px;border-radius:var(--r-pill);background:rgba(255,255,255,.92);color:var(--ink-3);font:var(--t-note)}
/* Her words sit in the space under the picture, centred in it, so nothing floats in a blank band. */
.vp-words{position:absolute;left:var(--page-l);right:var(--page-r);top:62%;bottom:calc(max(var(--s-7),var(--safe-bottom)) + var(--s-2));display:flex;flex-direction:column;justify-content:center;max-width:30em;margin-inline:auto}
.vp-label{display:flex;align-items:center;gap:var(--s-2);margin:0;font:var(--t-label);color:var(--ink-3)}
.vp-title{margin:var(--s-2) 0 0;font:600 28px/33px var(--sans);letter-spacing:var(--track-title);color:var(--ink);text-wrap:balance}
.vp-title.is-short{font:var(--t-display);letter-spacing:-.01em}
.vp-sub{margin:var(--s-3) 0 0;font:var(--t-lead);color:var(--ink-2);text-wrap:pretty}
.vp-feel{margin:var(--s-3) 0 0;font:var(--t-support);color:var(--action-ink)}
/* A card with no picture: her words alone, centred, in a cyan wash. A quote keeps one cyan mark on the gutter; a note has none. */
.vp-wash{position:absolute;inset:0;background:radial-gradient(120% 60% at 50% 0%,var(--wash-sky) 0%,rgba(231,244,251,0) 72%),var(--paper)}
.vp-slide--words .vp-words,.vp-slide--end .vp-words{top:calc(var(--safe-top) + var(--bar-h));bottom:calc(max(var(--s-7),var(--safe-bottom)) + var(--s-4))}
.vp-mark{display:block;height:56px;margin:0;font:600 88px/104px var(--sans);color:var(--accent)}
/* The end: the living orb, her headline, and three of her own pictures arriving one after another. */
.vp-slide--end .vp-words{align-items:center;text-align:center}
.vp-orb{display:block;margin:0 auto var(--s-4);animation:vp-breathe 6s var(--ease-breath) infinite alternate}
@keyframes vp-breathe{from{transform:scale(.94)}to{transform:scale(1.04)}}
.vp-slide--end .vp-label{justify-content:center}
.vp-strip{display:flex;justify-content:center;gap:var(--s-2);margin-top:var(--s-6)}
.vp-strip img{display:block;width:72px;height:72px;max-width:none;object-fit:cover;border-radius:var(--r-s);box-shadow:var(--e1)}
.vp-end{display:grid;justify-items:stretch;gap:var(--s-2);width:100%;margin-top:var(--s-7)}
.vp-end .quiet{justify-self:center}
.vp-bar{position:absolute;left:0;right:0;top:0;z-index:3;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:var(--s-3);min-height:calc(var(--bar-h) + var(--safe-top));padding:calc(var(--safe-top) + 4px) var(--page-r) 4px var(--page-l);pointer-events:none}
.vp-bar>*{pointer-events:auto}
.vp-progress{display:flex;gap:var(--s-1);pointer-events:none}
.vp-progress span{flex:1;height:2px;overflow:hidden;border-radius:2px;background:color-mix(in srgb,var(--ink) 16%,transparent)}
.vp-progress i{display:block;height:100%;background:var(--ink);transform:scaleX(0);transform-origin:0 50%}
@media (max-height:639px){.vp-pic{height:54%}.vp-slide--picture .vp-words{top:54%}.vp-title{font:600 24px/29px var(--sans)}.vp-title.is-short{font:600 28px/33px var(--sans)}.vp-orb{--vp-orb:64px}.vp-strip img{width:56px;height:56px}.vp-end{margin-top:var(--s-5)}}

@media (hover:hover) and (pointer:fine){
  .vb-card:hover::after{opacity:.5}
}
@media (prefers-reduced-motion:reduce){
  .vb-card,.vb-card.is-lifted{transition:none}
  .vb-card.is-pressed,.vb-card.is-lifted{transform:none}
  .board-actions,.board-hint{transition-duration:.01ms}
  .vp-pic img{transform:none}
  .vp-orb{animation:none}
}
}

/* Screen group: my vision board (views/life-board.js), and the page before it that keeps it. Layout and details for
   this group only. Everything here stays in @layer screens, and every value is a token. */
@layer screens {

/* ---- The board ----
   One composition that fits the phone: the stage takes the room the page has, at one fixed shape, and every card is a
   share of it (life-board.js, constellation). Nothing pans and nothing zooms: her whole life is on one page. */
.lb-body{display:flex;flex-direction:column;padding-top:var(--s-1);padding-bottom:var(--s-3)}
.lb-fit{flex:1 1 auto;min-height:260px;display:grid;place-items:center;container-type:size}
.lb-stage{position:relative;width:100%;aspect-ratio:var(--lb-ratio);margin:0 auto}
@supports (width:1cqw){.lb-stage{width:min(100cqw,calc(100cqh * var(--lb-ratio)))}}
/* More than ten cards: the board grows downward at its full width, and the page scrolls. */
.lb-fit[data-long]{flex:none;display:block;padding-top:var(--s-2);container-type:normal}
.lb-fit[data-long] .lb-stage{width:100%}

/* The threads from her picture to each part of her life. Drawn under everything, so only what lies between shows. */
.lb-threads{position:absolute;inset:0;z-index:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.lb-threads line{stroke:var(--ink);stroke-opacity:.16;stroke-width:1.25px;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:0}

/* Her Living Vision: the largest thing here, and the middle of it. */
.lb-hero{all:unset;box-sizing:border-box;position:absolute;z-index:1;aspect-ratio:2/3;overflow:hidden;border-radius:var(--r-l);background:var(--surface);box-shadow:var(--e2);cursor:pointer;isolation:isolate;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;touch-action:pan-y;transition:transform var(--d-quick) var(--ease-settle)}
.lb-hero:active{transform:scale(.985);transition-duration:var(--d-press)}
.lb-hero:focus-visible,.lb-card:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.lb-hero .lb-pic{display:block;width:100%;height:100%;object-fit:cover;-webkit-touch-callout:none;transition:opacity var(--d-moment) var(--ease-settle),filter var(--d-moment) var(--ease-settle)}
.lb-hero-wait{position:absolute;inset:0;display:grid;place-items:center}
/* While a new picture is made the one she has stays, under a soft veil that breathes. */
.lb-hero-veil{position:absolute;inset:0;background:var(--paper);opacity:.5;animation:lb-breathe var(--d-breath) var(--ease-breath) infinite;pointer-events:none}

/* A part of her life: a square photograph with a paper edge, tucked against the picture like a print on a board. */
.lb-card{all:unset;box-sizing:border-box;position:absolute;z-index:calc(2 + var(--z,0));aspect-ratio:1;border-radius:var(--r-m);cursor:pointer;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;touch-action:pan-y;transition:transform var(--d-quick) var(--ease-settle)}
.lb-card:active{transform:scale(.96);transition-duration:var(--d-press)}
.lb-face{position:absolute;inset:0;overflow:hidden;border-radius:inherit;background:var(--surface);box-shadow:0 0 0 3px var(--paper),var(--e1);isolation:isolate;container-type:inline-size}
/* Picked up: above everything, a little larger, following the finger with no lag. Put down, it settles. */
.lb-card.is-lifted,.lb-hero.is-lifted{z-index:80;cursor:grabbing;transition:none}
.lb-card.is-lifted .lb-face{box-shadow:0 0 0 3px var(--paper),var(--e2)}
.lb-face .lb-pic{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:cover;-webkit-touch-callout:none;transition:opacity var(--d-moment) var(--ease-settle),filter var(--d-moment) var(--ease-settle)}
/* A picture this phone is still fetching develops in place: out of the soft light, into focus. */
.lb-pic.is-waiting{opacity:0;filter:blur(14px)}

/* Behind a picture that is not there yet: one of the six lights, soft, and the icon the part of life wore in onboarding. */
.lb-wait{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(130% 130% at 22% 14%,rgba(var(--lb-light),.6),rgba(var(--lb-light),0) 70%),var(--surface)}
.lb-wait .lb-icon{width:34%;height:auto;max-width:44px}
.lb-icon--plain{display:grid;place-items:center;aspect-ratio:1;color:var(--ink-3)}
.lb-icon--plain svg{width:100%;height:100%}
/* A card of words alone: her line on paper, in the light of its part of life. */
.lb-card[data-kind="words"] .lb-face{background:radial-gradient(130% 130% at 22% 14%,rgba(var(--lb-light),.45),rgba(var(--lb-light),0) 72%),var(--paper)}
.lb-quote{position:absolute;left:9%;right:9%;top:50%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;transform:translateY(-50%);color:var(--ink);font:var(--t-label);font-size:clamp(11px,10.5cqw,20px);line-height:1.26;letter-spacing:var(--track-quote);text-align:center;text-wrap:balance}
.lb-card[data-kind="words"]:has(.lb-chip) .lb-quote{top:44%;-webkit-line-clamp:4}
[data-light="teal"]{--lb-light:var(--aura-teal)}
[data-light="blue"]{--lb-light:var(--aura-blue)}
[data-light="amber"]{--lb-light:var(--aura-amber)}
[data-light="coral"]{--lb-light:var(--aura-coral)}
[data-light="pink"]{--lb-light:var(--aura-pink)}
[data-light="violet"]{--lb-light:var(--aura-violet)}
.lb-card[data-state="painting"] .lb-wait,.lb-sheet-pic--wait[data-state="painting"] .lb-wait{animation:lb-breathe var(--d-breath) var(--ease-breath) infinite}
@keyframes lb-breathe{0%,100%{opacity:.62}40%{opacity:1}}
/* Being painted. Her own words hold the card's place, and a slow sheen passes over it: something is being made here. */
.lb-wait .lb-quote{top:44%;-webkit-line-clamp:4;color:var(--ink-2)}
.lb-card[data-state="painting"] .lb-wait::after,.lb-sheet-pic--wait[data-state="painting"] .lb-wait::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,color-mix(in srgb,var(--paper) 78%,transparent) 50%,transparent 70%);transform:translateX(-110%);animation:lb-sheen 2800ms var(--ease-breath) infinite;pointer-events:none}
@keyframes lb-sheen{0%{transform:translateX(-110%)}60%,100%{transform:translateX(110%)}}
/* A card that has a picture and is getting a new one keeps it, under the same soft veil as her Living Vision. */
.lb-card[data-state="painting"][data-pictured] .lb-face::after{content:"";position:absolute;inset:0;z-index:1;background:var(--paper);opacity:.5;animation:lb-breathe var(--d-breath) var(--ease-breath) infinite;pointer-events:none}
/* An empty card asks for her words: the plus is the only action colour on the board. */
.lb-plus{position:absolute;z-index:2;right:8px;top:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:var(--r-pill);background:var(--action);color:var(--on-action)}
.lb-plus svg{width:15px;height:15px}
.lb-card[data-state="empty"] .lb-face{box-shadow:0 0 0 3px var(--paper),inset 0 0 0 1.5px var(--line),var(--e1)}

/* Its name: one word on a paper pill, inside the photograph's corner. */
.lb-chip{position:absolute;z-index:3;left:7px;bottom:7px;max-width:calc(100% - 14px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:2px 9px 3px;border-radius:var(--r-pill);background:var(--paper);background:color-mix(in srgb,var(--paper) 93%,transparent);color:var(--ink);font:var(--t-label);pointer-events:none}

/* Her own sentence under her board, and the one quiet line that says what is still coming. */
.lb-words{all:unset;box-sizing:border-box;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;flex:none;max-width:34ch;margin:var(--s-4) auto 0;text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.lb-words:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:var(--r-s)}
.lb-foot{flex:none;display:flex;align-items:center;justify-content:space-between;gap:var(--s-3);min-height:var(--target);margin-top:var(--s-1)}
.lb-status{margin:0;color:var(--ink-3)}
.lb-add{display:inline-flex;align-items:center;gap:6px;flex:none;width:auto;min-height:var(--target);padding:0 var(--s-1)}
.lb-add svg{width:18px;height:18px}
.screen--lifeboard[data-phase="arriving"] .lb-foot{justify-content:center}
@media (max-height:639px){.lb-words{-webkit-line-clamp:2;margin-top:var(--s-3)}}
@media (prefers-reduced-motion:reduce){.lb-card[data-state="painting"] .lb-wait,.lb-sheet-pic--wait .lb-wait,.lb-hero-veil,.lb-card[data-state="painting"] .lb-face::after{animation:none}.lb-wait::after{display:none}.lb-face .lb-pic,.lb-hero .lb-pic{transition:none}}

/* ---- A card, opened (a sheet) ---- */
.lb-sheet-pic{position:relative;margin:0 0 var(--s-2);aspect-ratio:1;overflow:hidden;border-radius:var(--r-l);background:var(--surface)}
.lb-sheet-img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity var(--d-base) var(--ease-settle)}
.lb-sheet-img.is-waiting{opacity:0}
.lb-sheet-pic--wait{aspect-ratio:16/9}
.lb-sheet-pic--hero{aspect-ratio:2/3;width:min(100%,calc(46dvh * 2 / 3));margin-inline:auto}
.lv-picture{margin-top:var(--s-4)}
.lb-sheet-pic--words{aspect-ratio:auto;margin-bottom:var(--s-5);padding:var(--s-8) var(--s-5);background:radial-gradient(130% 130% at 22% 14%,rgba(var(--lb-light),.45),rgba(var(--lb-light),0) 72%),var(--surface)}
.lb-sheet-quote{margin:0;text-align:center;cursor:pointer}
.lb-sheet-size{margin:0 0 var(--s-5)}
.lb-sheet-size .label{margin:0 0 var(--s-2);color:var(--ink-3)}
.lb-row-icon{flex:none;display:grid;place-items:center;width:24px;height:24px;color:var(--ink)}
.lb-row-icon svg{width:24px;height:24px}
.lb-chips-label{margin:var(--s-5) 0 var(--s-2);color:var(--ink-2)}
.lb-optional{color:var(--ink-3);font-weight:400}
.lb-chips{display:flex;flex-wrap:wrap;gap:var(--s-2)}
.lb-none{display:block;margin:var(--s-3) auto 0}
.lb-sheet-caption{margin:0 0 var(--s-4);color:var(--ink-3)}
.lb-sheet-line{margin:0 0 var(--s-5);cursor:pointer}
.lb-ask{margin:0 0 var(--s-4);color:var(--ink-2)}
.lb-sheet-note{margin:var(--s-3) 0 0;color:var(--ink-3)}
.sheet .row--danger .row-title{color:var(--danger)}
.lb-pick-grid{margin-top:0}

/* ---- Before the board: keep it (the account page) ----
   What she is about to get, shown with her own things: her picture, and the parts of life she chose, around it. */
.join-body{display:flex;flex-direction:column}
.join-teaser{position:relative;flex:none;height:clamp(148px,25dvh,212px);margin:var(--s-1) 0 var(--s-5)}
.join-hero{position:absolute;z-index:1;left:50%;top:0;display:block;width:auto;height:100%;aspect-ratio:2/3;transform:translateX(-50%);object-fit:cover;border-radius:var(--r-m);background:var(--surface);box-shadow:var(--e2)}
.join-hero--wait{display:grid;place-items:center}
.join-chips{position:absolute;inset:0;z-index:2;pointer-events:none}
.join-chip{position:absolute;display:inline-flex;align-items:center;gap:6px;padding:5px 12px 5px 7px;border-radius:var(--r-pill);background:var(--paper);box-shadow:var(--e1);color:var(--ink);font:var(--t-label);white-space:nowrap}
.join-chip img{flex:none;width:22px;height:22px}
.join-chip:nth-child(1){right:calc(50% + 34px);top:8%}
.join-chip:nth-child(2){left:calc(50% + 40px);top:20%}
.join-chip:nth-child(3){right:calc(50% + 44px);bottom:16%}
.join-chip:nth-child(4){left:calc(50% + 30px);bottom:5%}
.join-lead{margin:var(--s-3) 0 var(--s-5);color:var(--ink-2)}
.join-field{margin:0}
.join-small{margin:var(--s-3) 0 0;color:var(--ink-3)}

/* ---- Changing a picture, and changing words: one question at a time (v0.7.0) ----
   An open picture offers two things in the sheet's foot: the first leads, the second is quiet under it. */
.lb-acts{display:grid;gap:var(--s-1)}
.lb-acts .lb-act{gap:var(--s-2)}
.lb-acts .lb-act svg{width:20px;height:20px}
.lb-acts .quiet{justify-self:center}
/* Everything else a card can do waits here, closed. */
.lb-more{margin:0 0 var(--s-2)}
.lb-more-head{display:flex;align-items:center;justify-content:space-between;min-height:var(--target);padding:0 var(--s-1);color:var(--ink-2);font:var(--t-quiet);cursor:pointer;list-style:none;-webkit-tap-highlight-color:transparent}
.lb-more-head::-webkit-details-marker{display:none}
.lb-more-head svg{width:20px;height:20px;transform:rotate(90deg);transition:transform var(--d-quick) var(--ease-settle)}
.lb-more[open] .lb-more-head svg{transform:rotate(-90deg)}
.lb-more-head:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:var(--r-s)}
.lb-more[open] .lb-more-head{margin-bottom:var(--s-2)}
/* "Change the picture": the picture she is changing, small; one question; one box; one large microphone. */
.lb-ask-pic{position:relative;width:96px;aspect-ratio:1;margin:0 auto var(--s-4);overflow:hidden;border-radius:var(--r-m);background:var(--surface)}
.lb-ask-pic--hero{width:84px;aspect-ratio:2/3}
.lb-ask-img{display:block;width:100%;height:100%;object-fit:cover;transition:opacity var(--d-base) var(--ease-settle)}
.lb-ask-img.is-waiting{opacity:0}
.lb-ask-pic+.lb-ask{text-align:center}
/* A short screen (a small phone, or a browser with its bars showing): her picture sits beside the question, smaller,
   so the box, the large microphone and the button are all on the screen without scrolling. On the shortest screens
   the picture steps aside: she has just tapped it. */
@media (min-height:601px) and (max-height:720px){
  .lb-ask-head:has(.lb-ask-pic){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:var(--s-4);margin-bottom:var(--s-3)}
  .lb-ask-head .lb-ask-pic{width:56px;margin:0}
  .lb-ask-head .lb-ask-pic--hero{width:44px}
  .lb-ask-head .lb-ask-pic+.lb-ask{margin:0;text-align:left}
}
@media (max-height:600px){
  .lb-ask-head .lb-ask-pic{display:none}
  .lb-ask-head .lb-ask-pic+.lb-ask{text-align:left}
}
/* The box has one microphone, and it is the large one under it. */
.lb-say .voice-mic{display:none}
.lb-say .field{padding-right:var(--s-4)}
.lb-talk{all:unset;box-sizing:border-box;display:grid;justify-items:center;gap:var(--s-2);width:max-content;margin:var(--s-5) auto 0;color:var(--ink);font:var(--t-quiet);cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.lb-talk svg{box-sizing:content-box;width:30px;height:30px;padding:21px;border-radius:50%;background:var(--action);color:var(--on-action);transition:transform var(--d-press) var(--ease-settle),background-color var(--d-quick) linear}
.lb-talk:active svg{transform:scale(.95)}
.lb-talk:focus-visible svg{outline:2px solid var(--accent);outline-offset:3px}
/* While it listens it asks to be tapped again, and breathes so the open microphone is seen from across the room. */
.lb-talk[data-on] svg{background:var(--danger);animation:lb-talk-on 1.6s var(--ease-breath) infinite}
@keyframes lb-talk-on{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--danger) 34%,transparent)}50%{box-shadow:0 0 0 14px color-mix(in srgb,var(--danger) 0%,transparent)}}
@media (prefers-reduced-motion:reduce){.lb-talk[data-on] svg{animation:none}}
.lb-say-note{text-align:center}

/* One way to stop: the large button, which shows a stop mark while it listens. The row under the box (Undo) sits in
   the space above the button, so nothing jumps under her finger; only a message that needs reading makes room. */
.lb-say .voice-rec[data-mode] .voice-stop,.lb-say .voice-below .voice-cancel{display:none}
.lb-say .voice-below:not(:has(.voice-line)){position:absolute;left:0;right:0;top:100%}
.lb-talk{margin-top:calc(var(--target) + var(--s-2))}
.lb-talk .lb-talk-stop{display:none}
.lb-talk[data-on] .lb-talk-mic{display:none}
.lb-talk[data-on] .lb-talk-stop{display:block}

/* ---- Sticky notes: a card of words on one of five papers ---- */
.lb-card[data-kind="words"][data-tone] .lb-face,.lb-sheet-pic--words[data-tone]{background:rgb(var(--lb-paper))}
/* The five papers: the colours sticky notes come in, soft enough for ink to read on (each 11:1 or better). */
[data-tone="sun"]{--lb-paper:255,233,148}
[data-tone="rose"]{--lb-paper:255,208,218}
[data-tone="sky"]{--lb-paper:198,226,251}
[data-tone="mint"]{--lb-paper:198,238,216}
[data-tone="lilac"]{--lb-paper:226,212,251}
.lb-tones{display:flex;flex-wrap:wrap;gap:var(--s-3)}
.lb-tone{all:unset;box-sizing:border-box;width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--surface);cursor:pointer;-webkit-tap-highlight-color:transparent}
.lb-tone[data-tone]:not([data-tone=""]){background:rgb(var(--lb-paper))}
.lb-tone[aria-checked="true"]{outline:2px solid var(--action);outline-offset:2px}
.lb-tone:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.lb-foot-acts{flex:none;display:flex;align-items:center;gap:var(--s-3)}

/* ---- The canvas: the same board, free to arrange (life-board-canvas.js) ----
   The canvas fills the screen; its bar and its tools float over it. The world is one layer moved and scaled by
   transform; a card in it is placed in the canvas's own pixels. */
.screen--canvas{position:relative;display:block;overflow:hidden;background:var(--canvas)}
.cv-viewport{position:absolute;inset:0;overflow:hidden;outline:0;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.cv-viewport.is-moving,.cv-viewport.is-carrying{cursor:grabbing}
.cv-viewport.is-sizing{cursor:nwse-resize}
.cv-dots{position:absolute;inset:0;pointer-events:none;background-image:radial-gradient(circle,var(--canvas-dot) 1px,transparent 1.6px);background-size:var(--cv-pitch,24px) var(--cv-pitch,24px);background-position:var(--cv-x,0px) var(--cv-y,0px)}
.cv-world{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0;will-change:transform}
.cv-world .cv-item{touch-action:none;transition:box-shadow var(--d-quick) linear,scale var(--d-press) var(--ease-settle)}
.cv-world .cv-item.is-lifted{z-index:80;box-shadow:var(--e3);scale:1.03}
.cv-world .cv-item:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* What is selected: a line round it, and the corner that resizes it (a finger-sized target with a small mark). */
.cv-frame{position:absolute;z-index:4;box-sizing:border-box;border:2px solid var(--action);border-radius:var(--r-m);pointer-events:none}
.cv-handle{position:absolute;right:-22px;bottom:-22px;display:grid;place-items:center;width:44px;height:44px;pointer-events:auto;touch-action:none;cursor:nwse-resize}
.cv-handle::after{content:"";width:16px;height:16px;border-radius:50%;border:2px solid var(--action);background:var(--paper);box-shadow:var(--e1)}
.cv-bar{position:absolute;inset:0 0 auto;z-index:6;grid-template-columns:auto minmax(0,1fr) auto;background:linear-gradient(var(--canvas) 58%,transparent);pointer-events:none}
.cv-bar>*{pointer-events:auto}
.cv-done{padding:0 var(--s-1)}
.cv-title{text-align:center}
.cv-bar-end{display:flex;align-items:center;justify-content:flex-end;min-width:88px}
.cv-icon{place-items:center;border-radius:50%}
.cv-icon svg{width:22px;height:22px}
.cv-dock{position:absolute;inset:auto 0 0;z-index:6;display:grid;justify-items:center;gap:var(--s-2);padding:var(--s-5) var(--page-r) max(var(--s-4),var(--safe-bottom)) var(--page-l);background:linear-gradient(transparent,var(--canvas) 62%);pointer-events:none}
.cv-dock>*{pointer-events:auto}
.cv-line{margin:0;max-width:36ch;text-align:center;color:var(--ink-2)}
.cv-tools{display:flex;align-items:center;gap:var(--s-1);padding:6px;border-radius:var(--r-pill);background:var(--paper);box-shadow:var(--e2)}
.cv-tools:empty{display:none}
.cv-tools .primary{width:auto;min-height:44px;padding:0 var(--s-5);gap:var(--s-2)}
.cv-tools .primary svg{width:20px;height:20px}
@media (prefers-reduced-motion:reduce){.cv-world .cv-item{transition:none}}
}

/* Screen group: sheets. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {

/* ---- The frame, on every sheet ---- */
/* Back: the box stays 44 wide and overlaps the title's column, so the chevron's ink sits on the gutter and the title stays close to it. */
.sheet-bar--back{grid-template-columns:20px minmax(0,1fr) auto}
.sheet-bar--back>.icon-btn:first-child{z-index:1}
/* Close stays in one place on every sheet, however many lines the title takes. */
.sheet-bar{align-items:start}
.sheet-title{padding-block:7px}
/* Content softens as it scrolls under the head. Exactly the body's top padding, so nothing is touched at rest. */
.sheet-body::before{content:'';display:block;position:sticky;top:calc(-1 * var(--s-2));z-index:2;height:var(--s-2);margin:calc(-1 * var(--s-2)) calc(-1 * var(--sheet-pad-r)) 0 calc(-1 * var(--sheet-pad-l));background:linear-gradient(var(--paper),rgba(255,255,255,0));pointer-events:none}
/* A sheet changing form: paper under its edge while it settles, so the frame never shows a gap. */
dialog.sheet.is-morphing{overflow:visible}
dialog.sheet.is-morphing::after{content:'';position:absolute;left:0;right:0;top:calc(100% - var(--r-l));height:100vh;z-index:-1;background:var(--paper);pointer-events:none}
.kb-open .sheet-foot .quiet{display:none}

/* ---- Segments: each one fills from the left as she moves on ---- */
.sheet-segs span,.sheet-segs span.is-on{position:relative;overflow:hidden;background:var(--line)}
.sheet-segs span::after{content:'';position:absolute;inset:0;background:var(--action);transform:scaleX(0);transform-origin:0 50%;transition:transform 360ms var(--ease-pen)}
.sheet-segs span.is-on::after{transform:none}

/* ---- Rows ---- */
.row-glyph{flex:none;display:block;width:24px;height:24px;color:var(--action-ink)}
.row-glyph svg{display:block;width:24px;height:24px}
.row--glyph+.row--glyph::before{left:calc(var(--s-4) + 24px + var(--s-3))}
.row--thumb+.row--thumb::before{left:calc(var(--s-4) + 48px + var(--s-3))}
.row--thumb{padding-block:var(--s-2)}
/* A note in All cards: white paper and its small cyan mark, like the note itself. */
#vision-board-dialog .row-thumb--note{position:relative;background:var(--paper);box-shadow:inset 0 0 0 1px var(--line)}
#vision-board-dialog .row-thumb--note::before{content:'';position:absolute;left:10px;top:9px;width:14px;height:2px;border-radius:2px;background:var(--accent)}
/* The Board sheet's tools: one 20px cyan line icon each, and the same chevron. */
.row--tool .row-glyph,.row--tool .row-glyph svg{width:20px;height:20px}
.row--tool .row-glyph{margin-inline:2px}
.row--glyph.row--tool+.row--glyph.row--tool::before{left:calc(var(--s-4) + 24px + var(--s-3))}
/* A row that is a file picker: the real input covers it, so one tap opens the camera or the gallery. */
.row--file{cursor:pointer;-webkit-user-select:none;user-select:none}
.row--file:active{background:var(--surface-2)}
.row--file:has(.pic-file:focus-visible){outline:2px solid var(--accent);outline-offset:-2px}
.row--glyph+.row--file::before{left:calc(var(--s-4) + 24px + var(--s-3))}
.row--thumb .row-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zoom-row{padding-block:var(--s-1)}
/* The plus lands on the chevrons' line above it. */
.zoom-controls{display:flex;align-items:center;flex:none;margin-inline-end:-8px}
.zoom-value{min-width:52px;text-align:center;font:var(--t-body);font-variant-numeric:tabular-nums}
.zoom-controls .icon-btn{border-radius:50%;transition:background-color var(--d-press) linear}
.zoom-controls .icon-btn:active{background:var(--surface-2)}

/* ---- Figures ---- */
.sheet-caption{margin-top:var(--s-2)}
.sheet-figure{margin:0}
.sheet-figure img{display:block;width:100%;max-width:none;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--r-m);background:var(--surface-2)}
.sheet-figure figcaption{margin-top:var(--s-2)}
.sheet-figure.sheet-bleed{margin-inline:calc(-1 * var(--sheet-pad-l)) calc(-1 * var(--sheet-pad-r))}
/* A card's picture in its detail: its own 4:3, inside the gutter, so nothing in it is cut off. */
.detail-figure img{aspect-ratio:4/3;border-radius:var(--r-m)}
.sheet-bleed img{border-radius:0}
.sheet-bleed figcaption{padding-inline:var(--sheet-pad-l) var(--sheet-pad-r)}
.sheet-body>.quiet{margin-top:var(--s-2)}
.detail-text{margin-top:var(--s-3);white-space:pre-line;overflow-wrap:anywhere}
/* Chips write her feelings in lower case, so they read as one phrase. The card shows that phrase as a line of its own. */
#vision-board-dialog .part .lead::first-letter{text-transform:uppercase}
.sheet-preload{display:none}

/* ---- Which part of life? Six tiles, each mark on a 64px disc of its own wash, its name and one quiet line ---- */
.area-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s-3)}
.area-tile{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:var(--s-3);min-height:148px;padding:var(--s-4);border-radius:var(--r-m);background:var(--surface);color:var(--ink);cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:background-color var(--d-press) linear,transform 160ms var(--ease-settle)}
.area-text{display:block;min-width:0}
.area-name{display:block;font:var(--t-quiet);color:var(--ink);text-wrap:balance}
.area-hint{display:block;margin-top:2px;font:var(--t-note);color:var(--ink-3);text-wrap:balance}
.area-tile:active{background:var(--surface-2);transform:scale(.97);transition-duration:var(--d-press)}
.area-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.area-medallion{display:grid;flex:none;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--tint)}
.area-mark{display:block;width:18px;height:18px;overflow:visible}
.area-mark .m-fill{fill:var(--mark-fill);stroke:none}
.area-medallion--lg{width:64px;height:64px}
.area-medallion--lg .area-mark{width:34px;height:34px}
/* The sheet header's mark is 32px with an 18px icon at every size, so the header never grows. */
.area-medallion--sm{width:32px;height:32px}
.area-medallion--sm .area-mark{width:18px;height:18px}
.area-medallion--xs{width:24px;height:24px}
.area-medallion--xs .area-mark{width:15px;height:15px}
.area-medallion--dot{width:20px;height:20px}
.area-medallion--dot .area-mark{width:14px;height:14px}
.area-medallion--dot .area-mark path,.area-medallion--dot .area-mark circle,.area-medallion--dot .area-mark rect{stroke-width:2}
.sheet-title-area{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%}
.sheet-title-area>span:last-child{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
@media (max-width:359px){.area-tile{min-height:136px;padding:var(--s-3)}.area-medallion--lg{width:56px;height:56px}.area-medallion--lg .area-mark{width:30px;height:30px}}
/* On a short screen the six become one list, each a row with its mark, so all six fit without scrolling. */
@media (max-height:699px){.area-tiles{grid-template-columns:minmax(0,1fr);gap:var(--s-2)}.area-tile{flex-direction:row;align-items:center;min-height:60px;padding:var(--s-2) var(--s-3)}.area-medallion--lg{width:44px;height:44px}.area-medallion--lg .area-mark{width:24px;height:24px}.area-hint{margin-top:0}}

/* ---- The card she is making, live: picture on top, the part of life, her words; three choices under it ---- */
.pic-card{position:relative;margin-top:var(--s-1);overflow:hidden;border-radius:var(--r-m);background:var(--paper);box-shadow:var(--e1)}
.pic-figure{position:relative;isolation:isolate;margin:0;aspect-ratio:4/3;max-height:min(42dvh,300px);width:100%;overflow:hidden;background:var(--surface-2);cursor:default}
.pic-img,.pic-layer{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%}
.pic-figure.is-painting{background:#FBFBFA;cursor:pointer}
.pic-glint{position:absolute;inset:0;z-index:2;background:linear-gradient(105deg,rgba(255,255,255,0) 35%,rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 65%);opacity:0;transform:translateX(-110%);pointer-events:none}
.pic-card-words{display:block;padding:var(--s-3) var(--s-4) var(--s-4)}
.pic-name{all:unset;box-sizing:border-box;display:block;width:calc(100% + 16px);min-height:var(--target);margin:2px -8px 0;padding:6px 8px;border-radius:var(--r-s);font:var(--t-quote);color:var(--ink);caret-color:var(--accent);-webkit-user-select:text;user-select:text;transition:background-color var(--d-quick) linear}
.pic-name::placeholder{color:var(--ink-3);opacity:1}
.pic-name:hover,.pic-name:focus{background:var(--surface)}
.pic-name:focus-visible{outline:2px solid var(--accent);outline-offset:0}
.pic-card-text{display:-webkit-box;margin:2px 0 0;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font:var(--t-support);color:var(--ink-2);text-wrap:pretty}
.pic-card-title{margin:var(--s-1) 0 0;font:var(--t-quote);color:var(--ink)}
/* The caption says how the picture was made. While it paints, a small cyan dot pulses beside it (opacity only). */
.pic-caption{display:flex;align-items:center;gap:var(--s-2);min-height:var(--target);margin:var(--s-1) 0 0}
.pic-dot{display:none;flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent)}
.pic-stage.is-painting .pic-dot{display:block;animation:pic-pulse 1s var(--ease-breath) infinite alternate}
@keyframes pic-pulse{from{opacity:.25}to{opacity:1}}
.pic-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--s-2)}
.pic-choice{all:unset;box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;padding:6px 4px;border-radius:var(--r-m);background:var(--surface);color:var(--ink);font:var(--t-note);text-align:center;white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:background-color var(--d-quick) linear,transform 160ms var(--ease-settle)}
.pic-choice svg{flex:none;width:20px;height:20px;color:var(--action-ink)}
.pic-choice::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px var(--action);opacity:0;transition:opacity var(--d-quick) linear;pointer-events:none}
.pic-choice.is-on{background:var(--action-tint)}
.pic-choice.is-on::after{opacity:1}
.pic-choice:active{transform:scale(.97);transition-duration:var(--d-press)}
.pic-choice:focus-visible,.pic-choice:has(.pic-file:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
/* The real file input covers its tile, so one tap opens the camera or the gallery. */
.pic-file{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;font-size:16px}
.pic-error:empty{display:none}
.pic-error{margin-top:var(--s-2)}
/* Short screens: the picture gives way, so the card's words and the three choices always sit above the footer. */
@media (max-height:699px){.pic-figure{max-height:22dvh}.pic-card-words{padding:var(--s-2) var(--s-4) var(--s-3)}.pic-card-text{-webkit-line-clamp:1}.pic-caption{min-height:32px}}
@media (max-height:599px){.pic-figure{max-height:20dvh}.pic-card-text{display:none}.pic-name{min-height:40px}}

/* ---- A card's tools ---- */
.tool-group+.tool-group{margin-top:var(--s-4)}
.tool-label{margin:0 0 var(--s-2)}
.style-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:var(--s-2)}
.style-pick{all:unset;box-sizing:border-box;position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-height:var(--target);padding:10px 4px 8px;border-radius:var(--r-m);background:var(--surface);font:var(--t-note);color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--d-quick) linear,transform 160ms var(--ease-settle)}
.style-pick::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px var(--action);opacity:0;transition:opacity var(--d-quick) linear;pointer-events:none}
.style-pick[aria-checked=true]{background:var(--action-tint)}
.style-pick[aria-checked=true]::after{opacity:1}
.style-pick:active{transform:scale(.96);transition-duration:var(--d-press)}
.style-pick:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.style-pick[aria-disabled=true] .style-swatch{opacity:.5}
.style-swatch{display:flex;flex-direction:column;gap:3px;width:34px;height:44px;padding:5px 5px 4px;border-radius:6px;background:var(--paper);box-shadow:0 1px 2px rgba(35,31,38,.12),0 2px 8px rgba(35,31,38,.06)}
.style-swatch i{display:block;flex:none}
.sw-pic{height:17px;border-radius:2px;background:linear-gradient(165deg,#F6C29E 0%,#F0D9B5 45%,#97D3EC 100%)}
.sw-line{height:3px;border-radius:2px;background:color-mix(in srgb,var(--control) 50%,transparent)}
.sw-line--short{width:60%}
.sw-mark{height:9px;margin-bottom:1px;font:600 18px/20px var(--sans);font-style:normal;color:var(--action-ink)}
.style-swatch--photo{padding:4px 4px 5px}
.style-swatch--photo .sw-pic{flex:1 1 auto;height:auto}
.style-swatch--photo .sw-line{margin-top:2px;align-self:center}
.style-swatch--note{position:relative;padding-top:9px}
.style-swatch--note::before{content:'';position:absolute;left:5px;top:4px;width:10px;height:2px;border-radius:2px;background:var(--accent)}
.step-field{margin-top:var(--s-6)}
.guide-helper{margin-top:var(--s-2)}
.tool-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:var(--s-2)}
.tool-action{all:unset;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:var(--s-2);min-height:80px;padding:var(--s-3);border-radius:var(--r-m);background:var(--surface);color:var(--ink);font:var(--t-support);text-wrap:balance;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color var(--d-press) linear,transform 160ms var(--ease-settle)}
.tool-action svg{flex:none;width:24px;height:24px;color:var(--action-ink)}
.tool-action:active{background:var(--surface-2);transform:scale(.97);transition-duration:var(--d-press)}
.tool-action:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tool-actions+.destructive{margin-top:var(--s-3)}
@media (max-width:359px){.tool-action{min-height:76px;padding:var(--s-3) 10px;font:var(--t-note)}}

/* ---- Three short questions ---- */
/* Two lines are always held, so the field sits at the same place on every question. */
/* The question starts 32px under the progress line on every step and every part of life, however many lines it takes. */
.guide-question{margin-top:var(--s-6)}
.guide-field{margin-top:var(--s-3)}
.guide-field .field--text{min-height:clamp(96px,18dvh,144px)}
.guide-chips{margin-top:var(--s-3)}
.guide-chips .chip{transition:background-color var(--d-quick) linear,transform 160ms var(--ease-settle)}
.guide-chips .chip:active{transform:scale(.96);transition-duration:var(--d-press)}
.guide-line{margin-top:var(--s-2)}
.guide-quiet{margin-top:var(--s-1)}
.guide-quiet[hidden]{display:none}
.field-group--first{margin-top:var(--s-1)}

/* ---- A note: what she types already looks like the card ---- */
.note-field .field{font:var(--t-quote)}
.note-field .field--text{min-height:112px}
.block--note{position:relative;padding-top:var(--s-6)}
.block--note::before{content:'';position:absolute;left:var(--s-4);top:var(--s-3);width:28px;height:3px;border-radius:var(--r-pill);background:var(--accent)}
.block--note .quote{white-space:pre-wrap;overflow-wrap:anywhere}

/* ---- How it works ---- */
.help-pair+.help-pair,.help-keyboard{margin-top:var(--s-4)}
.help-head{font:var(--t-quiet);color:var(--ink)}
.help-keyboard{display:none}
@media (pointer:fine){.help-keyboard{display:block}}

/* ---- Tidy: a small board in a fixed frame. The cards glide, the frame stays ---- */
/* The body is the measure: the preview takes what the switch and the line leave, so the whole sheet reads without scrolling. */
.sheet-body:has(>.tidy-preview){container-type:size}
.tidy-preview{position:relative;width:min(100%,max(144px,calc((100cqh - 124px) * 342 / 380)));aspect-ratio:342/380;margin:var(--s-3) auto 0;border-radius:var(--r-m);overflow:hidden;background-color:var(--canvas);background-image:radial-gradient(var(--canvas-dot) 1px,transparent 1.5px);background-size:12px 12px}
.tidy-card{position:absolute;left:0;top:0;display:flex;flex-direction:column;gap:6%;overflow:hidden;border-radius:var(--r-s);background:var(--paper);box-shadow:var(--e1);transition:transform var(--d-move) var(--ease-move);transition-delay:calc(var(--n,0) * 24ms);will-change:transform}
.tidy-card img{display:block;flex:none;width:100%;height:56%;max-width:none;object-fit:cover}
.tidy-card i{display:block;flex:none;height:4px;margin-inline:10%;border-radius:var(--r-pill);background:var(--line)}
.tidy-card i:last-child{width:50%}
.tidy-card.is-note{justify-content:center}
.tidy-card.is-note::before{content:'';display:block;flex:none;width:18%;height:3px;margin-inline:10%;border-radius:var(--r-pill);background:var(--accent)}
.tidy-card.is-note i{background:color-mix(in srgb,var(--ink) 16%,transparent)}
.tidy-line{margin-top:var(--s-3);text-align:center}
@media (prefers-reduced-motion:reduce){
  .tidy-card,.sheet-segs span::after{transition:none}
  .pic-stage.is-painting .pic-dot{animation:none}
  .area-tile:active,.guide-chips .chip:active{transform:none}
}

/* ---- Make it sound like you: the one long-text sheet ---- */
#vision-edit{min-height:220px;max-height:none}
#editor .sheet-body{display:grid;gap:var(--s-2);align-content:start}
.edit-part{display:grid;gap:var(--s-2)}
.edit-part+.edit-part{margin-top:var(--s-3)}

/* ---- The vision reader. Label over the headline, the art edge to edge, her parts below. It is for reading, so the words stay on the first screen ---- */
.sheet-eyebrow{display:block;margin-bottom:var(--s-1);color:var(--ink-2)}
.sheet-title-words{display:block}
}

/* Screen group: install. The invitation to add the app to the home screen (install-prompt.js). Everything here stays in @layer screens. */
@layer screens {
/* A short sheet: the app's icon beside one line, then either one button or the two or three taps this phone needs. */
.install-lead{display:flex;align-items:center;gap:var(--s-4)}
.install-icon{flex:none;width:56px;height:56px;border-radius:13px;box-shadow:0 0 0 1px var(--line),var(--e1)}
.install-about{margin:0;font:var(--t-body);color:var(--ink-2);text-wrap:pretty}
.install-steps{list-style:none;margin:var(--s-5) 0 0;padding:0;display:grid;gap:var(--s-3);counter-reset:install}
.install-steps li{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start;gap:var(--s-3);counter-increment:install;font:var(--t-body);color:var(--ink)}
.install-steps li::before{content:counter(install);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--surface-2);font:600 14px/1 var(--sans);color:var(--ink)}
.install-steps li>span{padding-top:2px}
.install-steps b{font-weight:600}
.install-steps svg{display:inline-block;width:20px;height:20px;margin:0 1px;vertical-align:-4px;color:var(--ink)}
.install-steps small{display:block;margin-top:2px;font:var(--t-note);color:var(--ink-3)}
}

/* Screen group: voice. Layout and details for this group only. Everything here stays in @layer screens. */
@layer screens {
/* One component across about twenty screens. A real field, always. The mic sits inside it. */
voice-note-input{position:relative;display:grid;grid-template-columns:minmax(0,1fr);width:100%;min-width:0;margin:0;padding:0;border:0;background:none;box-shadow:none;container:voice/inline-size;scroll-margin-block:var(--s-6) var(--s-2)}
voice-note-input>.field{grid-area:1/1}
.voice-chrome{grid-area:1/1;position:relative;display:grid;gap:0;min-height:0;padding:0;pointer-events:none;z-index:1}

/* Idle: a quiet 44px mic flush right, never filled. Tap is the only way a microphone opens. */
.voice-mic{all:unset;box-sizing:border-box;position:absolute;right:6px;top:2px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--ink-3);cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}
voice-note-input[data-size="line"] .voice-mic{top:6px}
.voice-mic svg{width:22px;height:22px;transition:transform var(--d-press) var(--ease-settle),color var(--d-quick) linear}
.voice-mic:active svg{transform:scale(.92);color:var(--action-ink)}
voice-note-input:focus-within .voice-mic{color:var(--ink-2)}
.voice-mic:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.voice-mic.is-back{animation:voice-fade var(--d-base) var(--ease-settle) both}
voice-note-input[data-size="line"] .field--line{padding-right:56px}

/* One panel over the field from the tap until her words land. Its look follows its own data-mode,
   so a fading ghost of it keeps the look it had.
   Waiting: still the idle field. Recording: a danger ring, a beating dot, live ticks, a filled stop.
   Catching: the ring goes back to --action, the stop becomes a small spinner. */
voice-note-input:is([data-mode="recording"],[data-mode="requesting"],[data-mode="finishing"]) .field{visibility:hidden}
.voice-rec{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:96px;max-height:168px;overflow:hidden;border-radius:var(--r-m);background:var(--surface);pointer-events:auto}
voice-note-input[data-size="line"] .voice-rec{min-height:56px}
.voice-rec:is([data-mode="recording"],[data-mode="finishing"]){min-height:96px;background:var(--paper)}
.voice-rec[data-mode="recording"]{box-shadow:inset 0 0 0 1.5px var(--danger)}
.voice-rec[data-mode="finishing"]{box-shadow:inset 0 0 0 1.5px var(--action)}
/* A ghost: out of flow, inert, frozen. Its height follows the chrome while it fades. */
.voice-rec.voice-ghost{position:absolute;inset:0;min-height:0;max-height:none;pointer-events:none}
/* Stop was tapped and her words are being caught: the panel holds still for a beat (no chrome swap). */
.voice-rec[data-stopping] .voice-stop{pointer-events:none}
.voice-rec[data-stopping] .voice-dot{animation-play-state:paused}
.voice-ghost,.voice-ghost *{animation:none!important}

/* Waiting for the mic: the mic stays where it was and breathes. */
.voice-wait{display:none;position:absolute;right:6px;top:2px;width:44px;height:44px;place-items:center;color:var(--ink-3)}
voice-note-input[data-size="line"] .voice-wait{top:6px}
.voice-wait svg{width:22px;height:22px}
.voice-rec[data-mode="requesting"] .voice-wait{display:grid;animation:voice-breathe 1200ms var(--ease-breath) infinite}
/* The first 250ms after the tap: the real field, placeholder and all, stays showing under a clear panel, so a
   quick mic goes straight from idle to recording without a blank frame. Only the mic breathes. */
voice-note-input[data-grace] .field{visibility:visible}
voice-note-input[data-grace] .voice-rec{background:transparent}
voice-note-input[data-grace] :is(.voice-rec-row,.voice-live){visibility:hidden}

/* Her words, inside the field, on the same lines they land on: same font, same padding as the field. */
.voice-live{display:none;flex:1 1 auto;min-height:0;overflow:hidden;margin:0;padding:12px 56px 0 16px;font:var(--t-body);color:var(--ink-2);white-space:pre-wrap;overflow-wrap:anywhere;-webkit-mask-image:linear-gradient(transparent,#000 var(--s-3));mask-image:linear-gradient(transparent,#000 var(--s-3))}
voice-note-input[data-size="line"] .voice-live{padding-top:16px}
.voice-rec:is([data-mode="recording"],[data-mode="finishing"]) .voice-live{display:block}
.voice-rec[data-mode="recording"] .voice-live{animation:voice-fade var(--d-quick) var(--ease-settle) both}
.voice-live.is-prompt{color:var(--ink-3)}
/* Waiting for the mic, a text field keeps showing what it showed (placeholder or her text), so the tap never blanks it. */
voice-note-input[data-size="text"] .voice-rec[data-mode="requesting"] .voice-live{display:block;-webkit-mask-image:none;mask-image:none}
.voice-live.is-value{color:var(--ink)}

.voice-rec-row{flex:none;display:flex;align-items:center;gap:var(--s-2);min-height:56px;padding:2px 10px 10px var(--s-4)}
.voice-rec[data-mode="requesting"] .voice-rec-row{padding:var(--s-1) 6px var(--s-1) var(--s-4)}
.voice-dot{display:none;flex:none;width:8px;height:8px;border-radius:50%;background:var(--danger);transition:background-color var(--d-quick) linear}
.voice-rec:is([data-mode="recording"],[data-mode="finishing"]) .voice-dot{display:block}
/* Live is a beat in scale at full colour, never a fade to pale. */
.voice-rec[data-mode="recording"] .voice-dot{animation:voice-fade var(--d-base) var(--ease-settle) both,voice-beat 1600ms var(--ease-breath) infinite}
.voice-rec[data-mode="finishing"] .voice-dot{background:var(--ink-3)}
.voice-status{display:block;min-width:0;overflow:hidden;font:var(--t-note);color:var(--ink-2);white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;animation:voice-fade var(--d-base) var(--ease-settle) both}
.voice-rec[data-mode="requesting"] .voice-status{color:var(--ink-3)}
[data-voice-clock][hidden]{display:none}
[data-voice-timer]{font:inherit;color:inherit;font-variant-numeric:tabular-nums}
.voice-sep{margin-inline:6px;color:var(--ink-3)}

/* 24 ticks in --ink-3, transform only; JS sets the strip's opacity by energy and breathes them low
   while she is quiet, so the mic never looks dead. Fewer on narrow fields, so none is ever cut in half. */
.voice-ticks{display:none;flex:1 1 0;min-width:0;align-items:center;justify-content:flex-end;gap:3px;height:20px;overflow:hidden;opacity:.5}
.voice-rec:is([data-mode="recording"],[data-mode="finishing"]) .voice-ticks{display:flex}
.voice-rec[data-mode="finishing"] .voice-ticks{opacity:0;transition:opacity var(--d-quick) linear}
.voice-ticks i{flex:none;width:2px;height:100%;border-radius:1px;background:var(--ink-3);transform:scaleY(.16)}
@container voice (max-width:300px){.voice-ticks i:nth-child(n+17){display:none}}
@container voice (max-width:250px){.voice-ticks i:nth-child(n+11){display:none}}

/* A 44px target drawing a 40px disc, 12px in from the field's stroke on both sides, so it sits in the corner
   instead of wedged against it. */
.voice-stop{all:unset;box-sizing:border-box;position:relative;flex:none;display:none;place-items:center;width:44px;height:44px;margin-left:auto;border-radius:50%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;animation:voice-pop var(--d-base) var(--spring-soft) both}
.voice-stop::before{content:'';position:absolute;inset:2px;border-radius:50%;background:var(--danger)}
.voice-rec[data-mode="recording"] .voice-stop{display:grid}
.voice-stop span{position:relative;display:block;width:14px;height:14px;border-radius:3px;background:var(--on-action);transition:transform var(--d-press) var(--ease-settle)}
.voice-stop:active span{transform:scale(.86)}
.voice-stop:focus-visible{outline:2px solid var(--accent);outline-offset:0}
.voice-spin{display:none;flex:none;width:44px;height:44px;margin-left:auto;place-items:center}
.voice-spin::before{content:'';box-sizing:border-box;width:16px;height:16px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--ink-3);animation:voice-spin 900ms linear infinite}
.voice-rec[data-mode="finishing"] .voice-spin{display:grid;animation:voice-fade var(--d-quick) linear both}

/* After recording: one soft wash on the field where the words just landed. */
voice-note-input[data-landed] .field{animation:voice-land 900ms var(--ease-settle)}

/* Under the field: permission, Cancel, Undo, errors, the limit. A quiet link's text sits about 12px
   under the field and starts on the gutter; a line of text gets its own 8px. */
.voice-below{grid-area:2/1;display:grid;justify-items:start;gap:var(--s-1);margin-top:0}
.voice-below[hidden]{display:none}
.voice-below>.quiet{justify-content:flex-start;padding-inline:0}
.voice-line{margin:0;padding-top:var(--s-2);font:var(--t-note);color:var(--ink-3);text-wrap:pretty}
.voice-error{display:flex;align-items:flex-start;gap:6px;color:var(--ink-2)}
.voice-error svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--danger)}
.voice-error-lead{color:var(--danger)}
.voice-limit{justify-self:end;text-align:right;color:var(--danger)}
.voice-below>:is(.voice-permission,.voice-error,.voice-cancel,.voice-retry,.voice-undo,.voice-info){animation:voice-fade var(--d-base) var(--ease-settle) both}
.voice-undo{transition:opacity var(--d-quick) var(--ease-exit)}
.voice-undo[data-leaving]{opacity:0}

/* While a mic is open: the page primary goes grey in one 160ms step, and example offers step back
   (their space kept, so nothing moves). They return with the 160ms fade their screens give them. */
html[data-recording] :is(.dock,.sheet-foot) .primary{transition-duration:var(--d-quick)}
html[data-recording] :is(.write-help .quiet,.guide-quiet,.quiet[data-action="example"]){opacity:0;visibility:hidden;transition:opacity var(--d-press) linear,visibility 0s var(--d-press)}

@keyframes voice-fade{from{opacity:0}}
@keyframes voice-pop{from{transform:scale(.6);opacity:0}}
@keyframes voice-beat{50%{transform:scale(1.25)}}
@keyframes voice-breathe{50%{opacity:.4}}
@keyframes voice-spin{to{transform:rotate(1turn)}}
@keyframes voice-land{from{background-color:var(--action-tint)}}

@media (prefers-reduced-motion:reduce){
  .voice-live,.voice-dot,.voice-status,.voice-stop,.voice-mic.is-back,.voice-below>*,voice-note-input[data-landed] .field{animation:none}
  .voice-rec[data-mode] :is(.voice-dot,.voice-live,.voice-wait,.voice-stop,.voice-spin){animation:none}
  .voice-rec[data-mode="requesting"] .voice-wait{opacity:.6}
  .voice-ticks{opacity:.5}
}
}

@layer screens {
  .live-signin{display:grid;gap:18px;padding:28px;max-width:480px;margin:auto}
  .live-signin label{display:grid;gap:8px;min-height:0}
  .live-signin input.field{display:block;box-sizing:border-box;width:100%;min-height:52px;height:52px;padding:12px 16px;font-size:16px;line-height:1.4;flex:none}
  .live-signin{max-height:85dvh;overflow-y:auto}
  .cs-duplex .cs-line{opacity:1;max-height:34vh;overflow:auto}
  .cs-duplex .cs-closepanel{display:grid;gap:8px}
  /* Processing changes the presence, never the microphone controls. Reserve the
     status height so beginning and ending a thought cannot nudge the dock. */
  .cs-duplex .cs-status{min-height:34px;padding:4px 14px;line-height:26px;border-radius:22px;transition:background-color .25s,color .25s}
  .cs-duplex.is-thinking .cs-status,.live-thinking{color:var(--ink);font:500 18px/26px var(--sans);text-align:center}
  .cs-duplex.is-thinking .cs-status{background:var(--glass);box-shadow:inset 0 0 0 1px var(--glass-line)}
  .cs-duplex.is-thinking .cs-status::before,.live-thinking::before{content:'';display:inline-block;width:8px;height:8px;margin-right:9px;border-radius:50%;background:var(--action);vertical-align:2px}
  .cs-duplex .cs-orb-float::after{content:'';position:absolute;inset:6%;border:2px solid transparent;border-top-color:rgba(var(--aura-teal),.7);border-right-color:rgba(var(--aura-coral),.3);border-radius:50%;opacity:0;pointer-events:none;transition:opacity .35s ease}
  .cs-duplex.is-thinking .cs-orb-float::after{opacity:1}
  @media(prefers-reduced-motion:no-preference){
    .cs-duplex.is-thinking .cs-core{animation:live-thinking-orbit 7s linear infinite}
    .cs-duplex.is-thinking .cs-orb-float::after{animation:live-thinking-orbit 3.4s linear infinite}
    .cs-duplex.is-thinking .cs-status::before,.live-thinking::before{animation:live-thinking-pulse 1.8s ease-in-out infinite}
  }
  .cs-duplex.is-paused .cs-orb-float::after,.cs-duplex.is-ended .cs-orb-float::after{opacity:0}
  .cs-duplex.is-paused .cs-core,.cs-duplex.is-ended .cs-core,.cs-duplex.is-hidden .cs-core,.cs-duplex.is-hidden .cs-orb-float::after,.cs-duplex.is-hidden .cs-status::before,html.motion-paused .cs-duplex .cs-core,html.motion-paused .cs-duplex .cs-orb-float::after,html.motion-paused .cs-duplex .cs-status::before{animation-play-state:paused}
  @keyframes live-thinking-orbit{to{transform:rotate(360deg)}}
  @keyframes live-thinking-pulse{50%{opacity:.4;transform:scale(.8)}}
  .cs-duplex .cs-chapter-words{font-size:clamp(20px,5.6vw,24px);line-height:1.4;text-wrap:pretty;max-width:none}
  .cs-duplex.cs-review-scroll .cs-title-layer{top:var(--review-top);bottom:var(--review-bottom);overflow-y:auto;overscroll-behavior:contain;pointer-events:auto;display:flex;flex-direction:column;gap:24px;padding:16px var(--page-r) 20px var(--page-l);scrollbar-width:thin;mask-image:linear-gradient(to bottom,transparent,#000 12px,#000 calc(100% - 12px),transparent)}
  .cs-duplex.cs-review-scroll .cs-chapter{position:relative;inset:auto;flex:none;width:100%;transform:none!important;align-items:flex-start;text-align:left;gap:7px}
  .cs-duplex.cs-review-scroll .cs-chapter+.cs-chapter{padding-top:20px;border-top:1px solid color-mix(in srgb,var(--ink) 12%,transparent)}
  .cs-duplex.cs-review-scroll .cs-chapter-label{font:500 12px/18px var(--sans);letter-spacing:.045em;text-transform:uppercase;color:color-mix(in srgb,var(--ink) 70%,transparent)}
  @media(max-height:700px){
    .cs-duplex.cs-review-scroll .cs-title-layer{gap:18px}
    .cs-duplex.cs-review-scroll .cs-chapter+.cs-chapter{padding-top:14px}
  }
  .live-review-actions{display:flex;align-items:center;justify-content:center;gap:20px}
  .live-picture-wait{display:grid;place-items:center;align-content:center;min-height:220px;padding:30px;text-align:center;background:linear-gradient(145deg,rgba(var(--aura-teal),.14),rgba(var(--aura-amber),.14));border-radius:var(--r-l);gap:20px}
  .live-picture-wait .support{max-width:30ch}
  .live-picture-presence{position:relative;display:block;width:24px;height:24px;margin:12px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#fff 0%,#d0f1f4 30%,#93cbd8 63%,#b6a8d8 100%);box-shadow:0 0 16px 4px rgba(125,190,211,.2);pointer-events:none}
  .live-picture-presence::before{content:'';position:absolute;inset:-17px;border-radius:50%;background:radial-gradient(circle,rgba(122,191,211,.28),rgba(184,159,211,.12) 46%,transparent 72%)}
  @media(prefers-reduced-motion:no-preference){
    .live-picture-presence{animation:live-picture-drift 3.6s ease-in-out infinite}
    .live-picture-presence::before{animation:live-thinking-pulse 2.8s ease-in-out infinite}
  }
  html.motion-paused .live-picture-presence,html.motion-paused .live-picture-presence::before{animation-play-state:paused}
  @keyframes live-picture-drift{0%,100%{transform:translate(-3px,3px)}50%{transform:translate(3px,-3px)}}
}

@layer screens {
  .welcome-version{display:block;grid-column:1/-1;text-align:center;font-size:10px;line-height:1.3;letter-spacing:.06em;opacity:.5;margin-top:5px}
  dialog.intro-video{position:fixed;inset:0;margin:0;padding:0;width:100%;max-width:100%;height:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:var(--paper);color:var(--ink);overflow:hidden}
  .intro-video::backdrop{background:transparent}
  .intro-video-stage{width:100%;height:100%;position:relative;isolation:isolate}
  /* Keep the film inside the viewport; its intrinsic height must not size a grid track. */
  .intro-video video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;pointer-events:none}
  .intro-video video::-webkit-media-controls,.intro-video video::-webkit-media-controls-start-playback-button{display:none!important}
  .intro-video-skip{position:absolute;top:max(16px,calc(env(safe-area-inset-top) + 8px));right:max(16px,calc(env(safe-area-inset-right) + 8px));display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff80;border-radius:50%;background:#fffef830;color:#203d4ec7;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:pointer;z-index:2;transition:background 160ms ease,color 160ms ease}
  .intro-video-skip svg{width:18px;height:18px}
  .intro-video-skip:hover,.intro-video-skip:focus-visible{background:#ffffff80;color:var(--ink)}
  .intro-video-skip:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
  .intro-video-skip:active{background:#fffef8b3}
  @media (prefers-reduced-motion:reduce){.intro-video-skip{transition:none}}
  .intro-video.is-leaving .intro-video-skip{visibility:hidden}
  .intro-video-recovery{position:absolute;inset:30% 20px auto;display:grid;justify-items:center;gap:16px;padding:24px;background:rgba(255,255,255,.93);border-radius:var(--r-m);text-align:center}
  .intro-video-recovery[hidden]{display:none}
}

/* Onboarding: Welcome through the photo step. The same tokens as every other screen; what is its own is
   the layout of its pages: hairline answer rows with a colour icon, the shelf of book covers and the photo step.
   (The checkpoint, what matters and the page with Begin are styles/screens/awaken.css.) Colour comes only from the icons, the covers and the aura.
   Rules inside a page use the page body's class (.question-body …), so the inert copies presence-motion.js leaves
   beside the screen during a transition match too. Last layer, so these win over the older screen files. */
@layer skin {

/* ---- Shared by these pages ---- */
/* One journey: every step from the name to what matters has the same bar (ui-kit.js, journeyBar) and opens
   with a small capital line that says which part this is, so each title sits at the same height as the last. */
.journey-chapter,.question-body .question-chapter{font:var(--t-eyebrow);letter-spacing:var(--track-eyebrow);text-transform:uppercase;color:var(--ink-3);margin:6px 0 16px}
@media (max-height:700px){.name-body .journey-chapter{display:none}}
.moment-title{letter-spacing:var(--track-title)}
.primary--onward svg{width:18px;height:18px;stroke-width:2.1;margin-right:-2px;transition:transform 140ms var(--ease-settle)}
.primary--onward:active:not(:disabled) svg{transform:translateX(3px)}
.primary--onward:disabled svg{opacity:.6}
.option-lead{flex:none;display:grid;place-items:center;width:34px;height:34px;transition:transform 120ms var(--ease-settle)}
.option-art{display:block;width:34px;height:34px;max-width:none;-webkit-user-drag:none;user-select:none;-webkit-touch-callout:none;pointer-events:none}
/* The sound toggle is a full 44px target; the negative margins keep the bar's layout exactly as it was. */
.onboarding-sound{width:44px;margin-inline:-2px}

/* ---- Questions: title, one helper line, then rows: icon, label, indicator, hairline ---- */
.question-body .question-title{min-height:calc(2 * 33px);max-width:none}
.question-body .helper{font:400 14px/20px var(--sans);color:var(--ink-3)}
.question-body .helper--limit{color:var(--ink)}
.question-body .options{gap:0;margin-top:14px;box-shadow:inset 0 1px 0 var(--line)}
.question-body .option{display:flex;align-items:center;gap:14px;min-height:62px;padding:12px 38px 12px 0;border-radius:0;background:none;box-shadow:inset 0 -1px 0 var(--line);color:var(--ink);font:400 16px/22px var(--sans);transition:none}
.question-body .option::after{display:none}
.question-body .option:active{transform:none}
.question-body .option[aria-checked=true]{background:none}
.question-body .option-label{flex:1;min-width:0}
.question-body .option[aria-checked=true] .option-label{font-weight:600}
.question-body .option:active .option-lead{transform:scale(.9)}
/* The indicator: a square for "choose up to two", a circle for "choose one"; both fill with violet when picked. */
.question-body .option-ring{right:0;width:22px;height:22px;margin-top:-11px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--control)}
.question-body .option[role=checkbox] .option-ring{border-radius:6px}
.question-body .option[aria-checked=true] .option-ring{background:var(--action);box-shadow:none;color:var(--on-action)}
.question-body .option-ring svg{width:15px;height:15px;stroke-width:2.6}
/* The touch light from the finger, in the aura's teal. */
.question-body .option::before{background:radial-gradient(circle farthest-corner at var(--touch-x,50%) var(--touch-y,50%),rgba(var(--aura-teal),.9),rgba(var(--aura-teal),0) 70%)}
/* A statement to react to: the ask in a quiet line, then the statement itself, large, in quotes. One heading. */
.question-body .question-title--statement{min-height:0}
.question-body .question-prompt{display:block;margin-bottom:8px;font:500 15px/20px var(--sans);letter-spacing:0;color:var(--ink)}
.question-body .question-statement{display:block;text-wrap:balance}
@media (max-height:779px){.question-body .option{min-height:56px;padding-block:10px}}
/* Short phones (SE-sized): all seven choices still fit without scrolling. The chapter line goes (the bar already
   says where she is), rows and icons tighten a little. */
@media (max-height:700px){
  .question-body{padding-bottom:var(--s-3)}
  .question-body .question-chapter{display:none}
  .question-body .options{margin-top:10px}
  .question-body .option{min-height:50px;padding-block:8px}
  .question-body :is(.option-lead,.option-art){width:30px;height:30px}
}
@media (max-width:359px){.question-body .option{gap:12px}.question-body :is(.option-lead,.option-art){width:30px;height:30px}}
/* Smaller phones still (320x568: the first SE, or a later SE with Display Zoom): rows, icons and the title take one
   more step down, rows staying at least 44px tall. */
@media (max-height:600px){
  .question-body{padding-top:4px}
  .question-body .question-title{font-size:26px;line-height:30px;min-height:calc(2 * 30px)}
  .question-body .helper{margin-top:4px}
  .question-body .options{margin-top:6px}
  .question-body .option{min-height:46px;padding-block:6px}
  .question-body :is(.option-lead,.option-art){width:26px;height:26px}
}
/* Seven rows still cannot all sit above the dock at 320x568 (the reply, title and helper leave too little room for
   even 40px rows), and on a shorter screen, such as Safari with its bars on an SE, any question can run under it.
   While part of the page is hidden below, a quiet chevron over the dock says so; it fades once she has scrolled to
   the end. app.js measures that (data-more-below on #app) instead of a scroll timeline, so the cue also shows in
   Safari before 26, which has none: the first SE, the phone this size stands for, stops at iOS 15. */
.screen--question>.dock::after{content:'';position:absolute;left:50%;bottom:100%;width:32px;height:22px;margin-left:-16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6672' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/20px no-repeat;opacity:0;pointer-events:none;transition:opacity 160ms linear}
#app[data-more-below]>.screen--question>.dock::after{opacity:1}

/* ---- Name ---- */
.name-body .field--name{font:500 24px/32px var(--sans);letter-spacing:-.01em}
.name-body .chip{background:var(--paper);box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);font:500 15px/20px var(--sans)}
.name-body .chip[aria-pressed=true]{background:var(--action);box-shadow:none;color:var(--on-action)}
.name-body .profile-photo-avatar{background:var(--surface);color:var(--control)}
.name-body .profile-photo-trigger{color:var(--ink-2)}

/* ---- Welcome ---- */
.welcome-body .welcome-eyebrow{display:block;margin:0 0 10px;font:var(--t-eyebrow);letter-spacing:var(--track-eyebrow);text-transform:uppercase;color:var(--ink-3)}
.welcome-body .title--display{--title-tracking:-.028em}
/* The promise: the claim, then the idea under it, and the painting takes the rest of the page. "superconscious" is one
   long word, so the claim scales with the screen width: 42px on a 375px phone, never wider than the column. */
.welcome-body--promise .welcome-lead{margin-top:var(--s-3);max-width:32ch}
.welcome-body .welcome-promise{font-size:clamp(24px,11.2vw,44px);line-height:1.06;hyphens:manual}
.welcome-body .welcome-lead{color:var(--ink-2)}
/* The demo stamp stays small and quiet, but readable: the quiet grey at full strength is 5.1:1 (half-strength ink was 3.5:1). */
.screen--welcome .welcome-version{opacity:1;color:var(--ink-3)}



/* ---- Your portrait: one optional photo before the call. A round frame that is also the button ---- */
.photo-body{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:var(--s-7)}
.photo-step-frame{all:unset;box-sizing:border-box;position:relative;display:grid;place-items:center;flex:none;width:168px;height:168px;border-radius:50%;background:var(--surface);color:var(--control);cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:transform 140ms var(--ease-settle)}
.photo-step-frame:not(.has-photo)::before{content:'';position:absolute;inset:6px;border-radius:50%;border:1.5px dashed color-mix(in srgb,var(--control) 55%,transparent);pointer-events:none}
.photo-step-frame:active{transform:scale(.97)}
.photo-step-frame:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.photo-step-person{width:92px;height:92px}
/* The photo fills the circle whatever its shape: phone photos are portrait, and in the grid's auto row a tall image
   grew the row and spilled over the title. Taken out of the flow, it is the frame's size; cropped a little high,
   where a face usually is. (No overflow:hidden on the frame: it would clip the badge at its edge.) */
.photo-step-frame img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 35%}
/* A small violet badge: + until there is a photo, then a tick. */
.photo-step-frame::after{content:'';position:absolute;right:8px;bottom:8px;width:36px;height:36px;border-radius:50%;background:var(--action) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/18px no-repeat;box-shadow:0 0 0 4px var(--paper)}
.photo-step-frame.has-photo::after{display:none}
.photo-step-tick{position:absolute;right:8px;bottom:8px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--action);color:var(--on-action);box-shadow:0 0 0 4px var(--paper)}
.photo-step-tick svg{width:18px;height:18px;stroke-width:2.6}
.photo-body .photo-step-optional{margin:var(--s-6) 0 8px;font:var(--t-eyebrow);letter-spacing:var(--track-eyebrow);text-transform:uppercase;color:var(--ink-3)}
.photo-body .photo-step-title{max-width:11em;margin:0 auto;text-wrap:balance}
.photo-step-frame + .photo-step-title{margin-top:var(--s-5)}
.photo-body .photo-step-lead{max-width:30ch;margin:var(--s-3) auto 0;color:var(--ink-2);text-wrap:pretty}
/* Why the photo is asked, then what happens to it: said in the page, beside the photo, not over the buttons. */
.photo-body .photo-step-privacy{max-width:30ch;margin:var(--s-3) auto 0;text-wrap:balance}
.photo-body .profile-photo-status{margin:var(--s-3) 0 0;min-height:20px}
.photo-body .profile-photo-status:empty{margin-top:0;min-height:0}
@media (prefers-reduced-motion:no-preference){.photo-step-frame.has-photo img{animation:mono-photo-in 380ms var(--ease-settle) both}}
@keyframes mono-photo-in{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@media (max-height:700px){.photo-body{padding-top:var(--s-4)}.photo-step-frame{width:136px;height:136px}.photo-step-person{width:76px;height:76px}.photo-body .photo-step-optional{margin-top:var(--s-4)}}
/* At 320x568 the privacy line takes two lines: a little less air keeps "Photo added." in view without a scroll. */
@media (max-height:600px){.photo-body{padding-top:var(--s-2)}.photo-step-frame{width:80px;height:80px}.photo-step-person{width:48px;height:48px}.photo-body .photo-step-optional{margin-top:var(--s-2)}.photo-body .photo-step-title{font-size:26px;line-height:30px}.photo-body .photo-step-lead{margin-top:10px;font-size:15px;line-height:21px}.photo-body .photo-step-privacy{margin-top:var(--s-2)}.photo-body .profile-photo-status{margin-top:var(--s-2)}}

/* ---- Awaken Noor: one introduction and the two connected moments, without explaining the later practice. ---- */
/* Centred while there is room; once there is not, it starts at the top, where centring would push the orb out of reach. */

/* ---- Books: a shelf of the real covers, four across, each book its own shape, all standing on one line. A pick
   lifts the book, rings it in violet and fills its tick; "None of these yet" is the last tile, in words. ---- */
.question-body .options--covers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 12px;margin-top:16px;box-shadow:none}
.question-body .option--cover{position:relative;display:flex;align-items:flex-end;justify-content:center;aspect-ratio:2/3;min-height:0;padding:0;border-radius:6px;background:none;box-shadow:none;overflow:visible}
/* The cover's own frame, in its own proportions (--cover, width over height), as large as the 2:3 tile allows: 150% of
   the tile's width is its height. The tick sits on the frame's top corner, so it rides with the book and never covers
   the author's name along the bottom, nor hangs below the last row into the dock's fade. */
.question-body .option--cover .cover-frame{position:relative;display:block;flex:none;width:min(100%,calc(150% * var(--cover,.6667)));aspect-ratio:var(--cover,.6667);transition:transform 160ms var(--ease-settle)}
.question-body .option--cover .cover-art{-webkit-touch-callout:none;pointer-events:none;display:block;width:100%;height:100%;object-fit:cover;border-radius:3px;box-shadow:0 1px 2px rgba(35,31,38,.18),0 8px 14px -8px rgba(35,31,38,.4);transition:box-shadow 160ms var(--ease-settle)}
.question-body .option--cover[aria-checked=true] .cover-frame{transform:translateY(-4px)}
.question-body .option--cover[aria-checked=true] .cover-art{box-shadow:0 0 0 2.5px var(--paper),0 0 0 4.5px var(--action),0 12px 18px -10px rgba(35,31,38,.45)}
.question-body .option--cover .option-ring{top:-6px;right:-6px;bottom:auto;margin:0;width:22px;height:22px;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--control),0 0 0 2px var(--paper)}
.question-body .option--cover[aria-checked=true] .option-ring{background:var(--action);box-shadow:0 0 0 2px var(--paper);color:var(--on-action)}
.question-body .option--cover-none{align-items:stretch;background:var(--surface)}
.question-body .cover-none{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;padding:8px 6px;text-align:center;font:600 13px/17px var(--sans);color:var(--ink)}
.question-body .cover-none .option-art{width:28px;height:28px}
.question-body .cover-none .option-label{flex:none}
@media (max-width:359px){.question-body .cover-none{font-size:12px;line-height:15px}.question-body .cover-none .option-art{width:24px;height:24px}}
.question-body .option--cover-none[aria-checked=true]{background:var(--action-tint);box-shadow:inset 0 0 0 2px var(--action)}
@media (max-height:700px){.question-body .options--covers{gap:10px 10px;margin-top:10px}}
@media (prefers-reduced-motion:reduce){.question-body .option--cover :is(.cover-frame,.cover-art){transition:none}}

@media (prefers-reduced-motion:reduce){.option-lead,.primary--onward svg{transition:none}.question-body .option:active .option-lead{transform:none}}

/* Large phones (Pro Max, Plus, XR): the same layout, with text a step larger so it never reads small on a big screen. */
@media (min-width:414px) and (min-height:820px){
  .question-body .question-chapter{font-size:13px;line-height:17px}
  .question-body .question-title{font-size:30px;line-height:35px;min-height:calc(2 * 35px)}
  .question-body .question-prompt{font-size:16.5px;line-height:22px}
  .question-body .helper{font-size:15.5px;line-height:22px}
  .question-body .option{font-size:17.5px;line-height:24px}
  .name-body .field--name{font-size:26px;line-height:34px}
  .name-body .chip{font-size:16px;line-height:21px}
  .photo-body .photo-step-lead{font-size:18px;line-height:26px}
}
}

@layer skin {
/* A clear invitation, a contained glimpse of the future, and one leading action. */
.screen--welcome-first .welcome-body{padding-top:24px;gap:0}
.screen--welcome-first .welcome-eyebrow{flex:none;margin:0 0 14px;color:var(--ink-2)}
.screen--welcome-first .welcome-promise{flex:none;font-size:clamp(32px,9.7vw,42px);line-height:1.1;max-width:10.5em;text-wrap:balance}
.screen--welcome-first .welcome-lead{flex:none;margin-top:16px;max-width:32ch;font-size:17px;line-height:25px;text-wrap:pretty}
.screen--welcome-first .welcome-plate{flex:1 1 180px;min-height:110px;max-height:300px;margin:28px 0 8px;border-radius:24px;-webkit-mask-image:none;mask-image:none}
.screen--welcome-first .welcome-plate img{object-position:center 46%}
.screen--welcome-first .dock{padding-top:12px}
.welcome-next{margin:0 0 14px;text-align:center;font:var(--t-support);font-size:14px;color:var(--ink-2)}
.screen--welcome-first .dock .quiet{margin-top:5px}
.name-body .name-field{margin-top:28px;gap:10px}
.name-body .field--name{min-height:68px;padding:16px 18px;border-radius:16px;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--control);font:500 22px/30px var(--sans);transition:box-shadow 140ms ease}
.name-body .field--name:focus{background:var(--paper);box-shadow:inset 0 0 0 2px var(--action),0 0 0 4px var(--action-tint)}
:is(.screen--name,.screen--gender) .dock .quiet{margin-top:5px}
@media (max-height:700px){
  .screen--welcome-first .welcome-body{padding-top:14px}
  .screen--welcome-first .welcome-plate{margin-top:18px;min-height:85px}
  .screen--welcome-first .welcome-promise{font-size:34px}
  .screen--welcome-first .welcome-lead{margin-top:12px;font-size:16px;line-height:23px}
  .screen--welcome-first .welcome-eyebrow{margin-bottom:10px}
  .welcome-next{margin-bottom:10px}
  .name-body .name-field{margin-top:22px}
}
@media (max-height:560px){.screen--welcome-first .welcome-plate{display:none}.screen--welcome-first .welcome-body{padding-bottom:16px}}
}

@layer skin {
/* One question at a time: name, then visible, easily tapped gender choices. */
.name-body,.gender-body{padding-top:28px}
.gender-choices{margin-top:24px}
.gender-body .chips{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.gender-body .chip{position:relative;width:100%;min-height:52px;padding:12px 48px 12px 16px;border-radius:14px;text-align:left;font:500 16px/22px var(--sans);color:var(--ink);background:var(--paper);box-shadow:inset 0 0 0 1px var(--line)}
.gender-body .chip::after{content:'';position:absolute;right:16px;top:50%;width:18px;height:18px;border-radius:50%;transform:translateY(-50%);box-shadow:inset 0 0 0 1.5px var(--control)}
.gender-body .chip[aria-pressed=true]{color:var(--ink);background:var(--action-tint);box-shadow:inset 0 0 0 1.5px var(--action)}
.gender-body .chip[aria-pressed=true]::after{background:var(--action);border:4px solid var(--action-tint);box-shadow:0 0 0 1.5px var(--action)}
.gender-body .field-group--tight{margin-top:14px}
@media (max-height:600px){.name-body,.gender-body{padding-top:16px}.gender-choices{margin-top:18px}.gender-body .chips{gap:8px}.gender-body .chip{min-height:46px;padding-block:10px}}
}

@layer skin {
/* Cover concept: the image is the atmosphere of the page, not a card within it. */
.screen--promise-cover{isolation:isolate;background:var(--paper)}
.promise-cover{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.promise-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.promise-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.9) 0,rgba(255,255,255,.2) 13%,rgba(255,255,255,0) 31%,rgba(255,255,255,.88) 53%,#fff 75%)}
.screen--promise-cover>.bar{background:none}
.screen--promise-cover .promise-body{display:flex;flex-direction:column;justify-content:flex-end;padding-top:24px;padding-bottom:20px}
.screen--promise-cover .promise-title{font:600 clamp(34px,10vw,43px)/1.04 var(--sans);letter-spacing:-.035em;text-wrap:initial}
.promise-title>span{display:block}
.promise-title>span:first-child{margin-bottom:7px}
.screen--promise-cover .promise-lead{font:400 17px/25px var(--sans);max-width:28ch;color:var(--ink-2);margin-top:20px;text-wrap:pretty}
.screen--promise-cover>.dock{background:transparent;padding-top:0}
.screen--promise-cover>.dock::before{display:none}
.screen--promise-cover .dock .quiet{margin-top:8px}
@media (max-height:620px){
 .screen--promise-cover .promise-body{padding-bottom:18px}
 .screen--promise-cover .promise-title{font-size:34px}
 .screen--promise-cover .promise-lead{font-size:16px;line-height:23px;margin-top:14px}
 .promise-cover::after{background:linear-gradient(180deg,rgba(255,255,255,.9) 0,rgba(255,255,255,.1) 16%,rgba(255,255,255,0) 25%,rgba(255,255,255,.92) 46%,#fff 73%)}
}
@media (prefers-reduced-motion:no-preference){.promise-cover img{animation:promise-light-arrive 1.8s var(--ease-settle) both}}
@keyframes promise-light-arrive{from{opacity:.5;transform:scale(1.025)}to{opacity:1;transform:none}}
}

/* Awaken Noor in onboarding: the checkpoint after the questions, the step that asks what matters, and the page
   before the experience, where Begin is (views/matters.js), and the layer the experience runs in
   (awaken-handoff.js). The experience's own look is vendor/awaken-noor/qa/awaken-breath/noor.css, loaded when it
   is needed. "What matters" is a question screen (styles/onboarding.css); only its cards are its own. */
@layer skin {

/* ---- The checkpoint (checkpointView): straight after the last question. A tick lands, a little light goes out
   from it, and two lines say thank you and what comes next. One page in two states, said by data-checkpoint on
   the screen: `arriving`, while it plays (under two seconds), and `settled`: as it ends, on Back and on a reload.
   Continue never waits for it. The page's own style carries the times (.checkpoint-body; checkpoint-moment.js,
   checkpointStyle): the mark begins at --t-rise, the tick is down at --t-land, then the two lines. As on the page
   before Awaken Noor, whatever moves while arriving ends exactly as it rests when settled, so nothing jumps when
   the animations go; and the words move inside their own block, because the block itself rises in with the page. ---- */
.checkpoint-body{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:var(--s-4)}
.checkpoint-mark{--mark:min(216px,58vw);position:relative;flex:none;width:var(--mark);aspect-ratio:1;margin:auto auto 0}

/* The light behind the tick: the app's own pastels, turning slowly (its ::before, which never stops). It opens as
   the tick lands (the element itself) and stays. */
.checkpoint-glow{position:absolute;inset:13%;border-radius:50%;opacity:.9;pointer-events:none}
.checkpoint-glow::before{content:'';position:absolute;inset:0;border-radius:50%;filter:blur(20px);animation:break-turn 18s linear infinite;
  background:conic-gradient(from 200deg,rgba(var(--aura-amber),.9),rgba(var(--aura-coral),.75),rgba(var(--aura-pink),.55),rgba(var(--aura-blue),.8),rgba(var(--aura-teal),.9),rgba(var(--aura-amber),.9))}
[data-checkpoint=arriving] .checkpoint-glow{animation:checkpoint-glow 900ms var(--ease-settle) calc(var(--t-land) - 90ms) both}
@keyframes checkpoint-glow{from{opacity:0;transform:scale(.55)}to{opacity:.9;transform:scale(1)}}

/* The mark itself is the app's own tick, the one on every answer she picked, as large as the page's light: an ink
   disc and a white tick. The disc arrives on a small spring and the tick is drawn into it. */
.checkpoint-disc{position:absolute;inset:27%;display:grid;place-items:center;border-radius:50%;background:var(--action);color:var(--on-action);box-shadow:0 14px 28px -12px rgba(35,31,38,.55)}
.checkpoint-disc svg{display:block;width:66%;height:66%;overflow:visible}
.checkpoint-tick{stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:0}
[data-checkpoint=arriving] .checkpoint-disc{animation:checkpoint-pop 500ms var(--ease-press) var(--t-rise) both,break-fade 170ms linear var(--t-rise) both}
[data-checkpoint=arriving] .checkpoint-tick{animation:checkpoint-draw 300ms cubic-bezier(.65,0,.35,1) calc(var(--t-land) - 230ms) both}
@keyframes checkpoint-pop{from{transform:scale(.4)}to{transform:scale(1)}}
@keyframes checkpoint-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}

/* As the tick lands two rings leave the disc and fade, one after the other, once. */
.checkpoint-ripple{position:absolute;inset:27%;border-radius:50%;border:1.5px solid color-mix(in srgb,var(--ink) 62%,transparent);opacity:0;pointer-events:none}
[data-checkpoint=arriving] .checkpoint-ripple{animation:checkpoint-ripple 950ms var(--ease-settle) var(--t-land) both}
[data-checkpoint=arriving] .checkpoint-ripple+.checkpoint-ripple{animation-delay:calc(var(--t-land) + 170ms)}
@keyframes checkpoint-ripple{0%{opacity:0;transform:scale(1)}12%{opacity:.34}100%{opacity:0;transform:scale(1.64)}}

/* And small lights fly out all round it and are gone: strokes and dots by turns, in the colours of the icons she
   has been choosing (assets/onboarding/atelier). --a is each one's direction. */
.checkpoint-sparks{position:absolute;inset:0;pointer-events:none}
.checkpoint-sparks i{--a:calc(360deg*var(--i)/var(--n) + 18deg);position:absolute;left:50%;top:50%;width:4px;height:14px;margin:-7px 0 0 -2px;border-radius:2px;background:#13B3A3;opacity:0}
.checkpoint-sparks i:nth-child(5n+2){background:#FFAD19}
.checkpoint-sparks i:nth-child(5n+3){background:#F14C87}
.checkpoint-sparks i:nth-child(5n+4){background:#326EF0}
.checkpoint-sparks i:nth-child(5n+5){background:#F28213}
.checkpoint-sparks i:nth-child(even){width:6px;height:6px;margin:-3px 0 0 -3px;border-radius:50%}
[data-checkpoint=arriving] .checkpoint-sparks i{animation:checkpoint-spark 640ms cubic-bezier(.2,.7,.3,1) calc(var(--t-land) + var(--i)*9ms) both}
[data-checkpoint=arriving] .checkpoint-sparks i:nth-child(even){animation-name:checkpoint-spark-far}
@keyframes checkpoint-spark{
  0%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--mark)*-.25)) scaleY(.4)}
  20%{opacity:1}
  100%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--mark)*-.41)) scaleY(1)}}
@keyframes checkpoint-spark-far{
  0%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--mark)*-.25)) scale(.5)}
  20%{opacity:1}
  100%{opacity:0;transform:rotate(var(--a)) translateY(calc(var(--mark)*-.47)) scale(1)}}

/* The two lines: thank you, then what comes next, each rising into its place as the tick has landed. The thanks
   stays on one line where it fits; where it does not, her name takes the second line (no balancing, which would
   break it after "for"). */
.checkpoint-words{width:100%;margin:var(--s-4) 0 auto}
.checkpoint-body .checkpoint-title{margin:0 auto;text-wrap:wrap}
.checkpoint-body .checkpoint-lead{max-width:30ch;margin:var(--s-3) auto 0;color:var(--ink-2);text-wrap:balance}
[data-checkpoint=arriving] .checkpoint-title{animation:checkpoint-word 520ms var(--ease-settle) var(--t-words) both}
[data-checkpoint=arriving] .checkpoint-lead{animation:checkpoint-word 520ms var(--ease-settle) var(--t-line) both}
@keyframes checkpoint-word{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* A phone browser with its bars, and smaller phones: the mark gives up a little room. */
@media (max-height:719px){.checkpoint-mark{--mark:min(184px,52vw)}}
@media (max-height:619px){.checkpoint-mark{--mark:min(150px,46vw)}.checkpoint-words{margin-top:var(--s-2)}}
html.motion-paused :is(.checkpoint-glow,.checkpoint-disc,.checkpoint-tick,.checkpoint-ripple,.checkpoint-sparks i,.checkpoint-title,.checkpoint-lead),html.motion-paused .checkpoint-glow::before{animation-play-state:paused}

/* ---- The page before Awaken Noor (readyView), after the photo. (Its parts are named `break-…`: until v0.7.2 it
   was the break straight after the questions.) One page in two states, said by data-break on the screen:
   `gathering`, while her answers come together, and `ready`, when the page has turned to what is ahead and Begin
   can be tapped. The page's own style carries
   the times (.break-body; ready-moment.js, readyStyle): --n answers, and when each thing happens.
   Two rules keep the turn seamless. A thing that moves while gathering ends exactly as it rests when ready, so
   nothing jumps when the animations go. And nothing is both animated and transitioned: what the turn itself
   changes (the words, the lines, the ring letting go) is only ever a transition.
   The page is one composition, centred in the room it has (auto margins: on a short phone they are nothing, so it
   simply scrolls). The lines take their place while they are still unseen, so nothing moves when they appear ---- */
.break-body{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:var(--s-4)}
.break-stage{--stage:min(236px,62vw);--mote:38px;position:relative;flex:none;width:var(--stage);aspect-ratio:1;margin:auto auto 0}

/* Keep the original soft pastel glow, painted at rest. Only its gathering opacity changes;
   there is no continuously rotating filtered surface while the person reads. */
.break-glow{position:absolute;inset:19%;border-radius:50%;opacity:.85;pointer-events:none}
.break-glow::before{content:'';position:absolute;inset:0;border-radius:50%;filter:blur(18px);
  background:conic-gradient(from 20deg,rgba(var(--aura-teal),.9),rgba(var(--aura-blue),.8),rgba(var(--aura-pink),.6),rgba(var(--aura-coral),.8),rgba(var(--aura-amber),.9),rgba(var(--aura-teal),.9))}
@keyframes break-turn{to{transform:rotate(1turn)}}
[data-break=gathering] .break-glow{animation:break-glow-rise calc((var(--n) - 1)*var(--t-gap) + 320ms) ease-in calc(var(--t-leave) + var(--t-travel)*.82) both}
@keyframes break-glow-rise{from{opacity:0}to{opacity:.85}}

/* The ring fills while they gather: quickly at first, a held breath near the end, then whole. Ready, it lets go.
   (The times come from the page: .break-body's style, ready-moment.js readyStyle.) */
.break-ring{position:absolute;left:21%;top:21%;width:58%;height:58%;overflow:visible;transform:rotate(-90deg);pointer-events:none}
.break-ring circle{fill:none;stroke-width:1.5}
.break-ring-track{stroke:var(--line)}
.break-ring-fill{stroke:var(--accent);stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:0}
[data-break=gathering] .break-ring-fill{animation:break-fill calc(var(--t-total) - var(--t-appear) - 240ms) linear var(--t-appear) both}
@keyframes break-fill{0%{stroke-dashoffset:100}10%{stroke-dashoffset:88}28%{stroke-dashoffset:72}40%{stroke-dashoffset:66}58%{stroke-dashoffset:44}72%{stroke-dashoffset:29}80%{stroke-dashoffset:25}93%{stroke-dashoffset:7}100%{stroke-dashoffset:0}}
[data-break=ready] .break-ring{opacity:0;transform:rotate(-90deg) scale(1.14);transition:opacity 520ms linear 60ms,transform 760ms var(--ease-settle)}

/* The orb that waits. It is the experience's own orb as Awaken Noor opens: ink on the page (the same twelve values
   as .orb-ink and .halo-ink in vendor/awaken-noor/qa/awaken-breath/noor.css), so the light she breathes life
   into later is the one she has already seen. It grows as it takes her answers in, with a small beat for each. */
.break-orb{position:absolute;inset:29%;display:block}
.break-beat{display:block;width:100%;height:100%}
.aura-orb--ink .aura-orb-core{background:#201C23}
.aura-orb--ink .aura-orb-core i:nth-child(1){background:radial-gradient(circle at 58% 36%,#3B3640 0%,#2F2B33 48%,transparent 72%)}
.aura-orb--ink .aura-orb-core i:nth-child(2){background:radial-gradient(circle at 45% 42%,#17141A 0%,#1C191F 50%,transparent 73%)}
.aura-orb--ink .aura-orb-core i:nth-child(3){background:radial-gradient(circle at 50% 50%,#4D4752 0%,#3A353E 48%,transparent 73%)}
.aura-orb--ink .aura-orb-core i:nth-child(4){background:radial-gradient(circle at 44% 48%,#2A262E 0%,#231F27 49%,transparent 73%)}
.aura-orb--ink .aura-orb-core i:nth-child(5){background:radial-gradient(circle at 40% 38%,#131115 0%,#18151A 51%,transparent 73%)}
.aura-orb--ink .aura-orb-core i:nth-child(6){background:radial-gradient(circle at 46% 37%,#332F38 0%,#29252D 48%,transparent 73%)}
.aura-orb--ink .aura-orb-halo{background:radial-gradient(circle,rgba(35,31,38,.14) 0%,rgba(35,31,38,.05) 38%,transparent 64%)}
/* This small waiting orb needs only one painted surface and one gentle scale animation. Keep the shared
   orb's soft edge and ink palette, but do not run its six blurred, independently moving clouds here.
   The live call and Awaken Noor still use their own full orb. */
.screen--ready .aura-orb-core{background:radial-gradient(ellipse at 34% 28%,#48424e 0%,transparent 62%),radial-gradient(ellipse at 74% 80%,#131115 0%,transparent 65%),#201c23}
.screen--ready .aura-orb-core i{display:none;animation:none;filter:none;will-change:auto}
.screen--ready .aura-orb-halo{animation:none}
[data-break=gathering] .break-orb{animation:break-fade 640ms linear calc(var(--t-appear) - 160ms) both,break-grow calc((var(--n) - 1)*var(--t-gap) + 320ms) cubic-bezier(.3,0,.3,1) calc(var(--t-leave) + var(--t-travel)*.82) both}
[data-break=gathering] .break-beat{animation:break-beat var(--t-gap) ease-out calc(var(--t-leave) + var(--t-travel)*.82 - 30ms) var(--n) both}
@keyframes break-fade{from{opacity:0}to{opacity:1}}
@keyframes break-grow{from{transform:scale(.7)}to{transform:scale(1)}}
@keyframes break-beat{0%{transform:scale(1)}32%{transform:scale(1.075)}100%{transform:scale(1)}}

/* Ready: a ring leaves the orb and fades, again and again, slowly. Something is waiting. */
.break-ripple{position:absolute;inset:27%;border-radius:50%;border:1px solid color-mix(in srgb,var(--ink) 55%,transparent);opacity:0;pointer-events:none}
[data-break=ready] .break-ripple{animation:break-ripple 4400ms var(--ease-settle) infinite}
[data-break=ready] .break-ripple+.break-ripple{animation-delay:2200ms}
@keyframes break-ripple{0%{opacity:0;transform:scale(.94)}10%{opacity:.34}68%,100%{opacity:0;transform:scale(1.66)}}

/* Her answers: each appears on the ring in turn, waits there, then goes in on a curve and is taken up. --a is its
   place on the ring; the two turns keep its picture upright while it travels. At rest (and ready) they are gone. */
.break-mote{--a:calc(360deg*var(--i)/var(--n) - 90deg);--r:calc(var(--stage)*.39);position:absolute;left:50%;top:50%;display:grid;place-items:center;width:var(--mote);height:var(--mote);margin:calc(var(--mote)/-2) 0 0 calc(var(--mote)/-2);opacity:0;pointer-events:none}
.break-mote img{display:block;width:34px;height:34px}
.break-mote--cover img{width:27px;height:40px;border-radius:3px;object-fit:cover;filter:none;box-shadow:var(--e1)}
[data-break=gathering] .break-mote{animation:break-mote-in 460ms var(--ease-settle) calc(var(--t-appear) + var(--i)*var(--t-each)) both,break-mote-go var(--t-travel) cubic-bezier(.6,0,.4,1) calc(var(--t-leave) + var(--i)*var(--t-gap)) forwards}
@keyframes break-mote-in{
  from{opacity:0;transform:rotate(calc(var(--a) - 18deg)) translateX(calc(var(--r)*1.2)) rotate(calc(18deg - var(--a))) scale(.55)}
  to{opacity:1;transform:rotate(var(--a)) translateX(var(--r)) rotate(calc(0deg - var(--a))) scale(1)}}
@keyframes break-mote-go{
  from{opacity:1;transform:rotate(var(--a)) translateX(var(--r)) rotate(calc(0deg - var(--a))) scale(1)}
  60%{opacity:1;transform:rotate(calc(var(--a) + 30deg)) translateX(calc(var(--r)*.46)) rotate(calc(-30deg - var(--a))) scale(.84)}
  to{opacity:0;transform:rotate(calc(var(--a) + 58deg)) translateX(0px) rotate(calc(-58deg - var(--a))) scale(.3)}}

/* What is happening, small, under the ring: one line, then the other. Ready, it is gone. */
.break-status{display:grid;justify-items:center;min-height:18px;margin:var(--s-3) 0 0;font:var(--t-note);color:var(--ink-3)}
.break-status span{grid-area:1/1}
.break-status span:first-child{opacity:0}
[data-break=gathering] .break-status span:first-child{animation:break-status-a var(--t-total) linear both}
[data-break=gathering] .break-status span+span{animation:break-status-b var(--t-total) linear both}
@keyframes break-status-a{0%,46%{opacity:1}54%,100%{opacity:0}}
@keyframes break-status-b{0%,54%{opacity:0}62%,100%{opacity:1}}
[data-break=ready] .break-status{opacity:0;visibility:hidden;transition:opacity 200ms linear,visibility 0s linear 200ms}

/* The words. "Almost there." and the question share one place, so the turn moves nothing: one leaves, the other
   arrives. Then the three small lines, one after another. */
.break-words{width:100%;margin:var(--s-2) 0 auto}
.break-head{display:grid;justify-items:center}
.break-head>*{grid-area:1/1}
.break-great{align-self:center;margin:0;font:var(--t-title);letter-spacing:var(--track-title);color:var(--ink);opacity:0;transform:translateY(-8px);transition:opacity 220ms linear,transform 320ms var(--ease-exit)}
[data-break=gathering] .break-great{opacity:1;transform:none;transition:none}
.break-body .break-title{max-width:11em;margin:0 auto;text-wrap:balance;transition:opacity 480ms var(--ease-settle) 260ms,transform 620ms var(--ease-settle) 260ms}
[data-break=gathering] .break-title{opacity:0;transform:translateY(10px);transition:none}
.break-list{display:grid;gap:var(--s-2);width:fit-content;max-width:100%;margin:var(--s-5) auto 0;padding:0;list-style:none;text-align:left}
.break-list li{display:flex;align-items:center;gap:var(--s-3);font:var(--t-support);font-weight:500;color:var(--ink);transition:opacity 460ms var(--ease-settle),transform 560ms var(--ease-settle);transition-delay:calc(480ms + var(--i)*120ms)}
[data-break=gathering] .break-list li{opacity:0;transform:translateY(8px);transition:none}
.break-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--surface);color:var(--ink)}
.break-icon svg{width:19px;height:19px}
/* A phone browser with its bars, and smaller phones: the stage gives up room so nothing has to scroll. */
@media (max-height:719px){
  .break-body{padding-top:var(--s-2)}
  .break-stage{--stage:min(196px,56vw);--mote:34px}
  .break-mote img{width:30px;height:30px}
  .break-mote--cover img{width:24px;height:36px}
  .break-list{margin-top:var(--s-4)}
}
/* Under Begin stand its line and the way round the voice, so the page has less room than it had as the break:
   the stage steps down once more for a phone browser with its bars, and again for the smallest phones. */
@media (max-height:679px){
  .break-stage{--stage:min(150px,46vw);--mote:28px}
  .break-mote img{width:24px;height:24px}
  .break-mote--cover img{width:19px;height:28px}
}
@media (max-height:619px){
  .break-body{padding-bottom:var(--s-2)}
  .break-stage{--stage:min(116px,38vw);--mote:24px}
  .break-mote img{width:20px;height:20px}
  .break-mote--cover img{width:16px;height:24px}
  .break-status{margin-top:var(--s-2)}
  .break-list{gap:6px;margin-top:var(--s-3)}
  .break-icon{width:30px;height:30px}
  .break-icon svg{width:17px;height:17px}
}
html.motion-paused :is(.break-glow,.break-ripple,.break-mote,.break-mote img,.break-orb,.break-beat,.break-ring-fill,.break-status span),html.motion-paused .break-glow::before{animation-play-state:paused}

/* ---- What matters most: ten areas, two across, each a colour icon and its name. Picked is the ring and the tick,
   never the fill alone; with four picked the others step back, and a tap on one of them only says how to swap ---- */
.matters-body .question-title{min-height:0}
.matters-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:var(--s-4);padding:0 0 var(--s-2)}
.matter{all:unset;box-sizing:border-box;position:relative;display:flex;align-items:center;gap:10px;min-height:80px;padding:14px var(--s-3);border-radius:var(--r-m);background:var(--surface);color:var(--ink);font:var(--t-support);font-weight:500;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--d-quick) linear,opacity var(--d-quick) linear,transform 160ms var(--ease-settle)}
.matter:active{transform:scale(.97);transition-duration:var(--d-press)}
/* The touch light from the finger (views/questions.js plays it), as on every answer. */
.matter::before{content:'';position:absolute;inset:0;border-radius:inherit;background:radial-gradient(circle farthest-corner at var(--touch-x,50%) var(--touch-y,50%),rgba(var(--aura-teal),.9),rgba(var(--aura-teal),0) 70%);opacity:0;pointer-events:none}
.matter::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1.5px var(--action);opacity:0;transition:opacity var(--d-quick) linear;pointer-events:none}
.matter[aria-checked=true]{background:var(--action-tint)}
.matter[aria-checked=true]::after{opacity:1}
.matter[aria-checked=true] .matter-label{font-weight:600}
.matter.is-dim{opacity:.45}
.matter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.matters-body .matter .matter-art{flex:none;width:30px;height:30px}
.matter-label{flex:1;min-width:0;text-wrap:balance}
/* The tick rides on the card's corner, as it does on a book cover. */
.matters-body .matter .matter-ring{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;width:20px;height:20px;margin:0;border-radius:50%;background:var(--action);color:var(--on-action);box-shadow:0 0 0 2px var(--paper);opacity:0;transform:scale(.6);transition:opacity var(--d-quick) linear,transform var(--d-base) var(--ease-press)}
.matters-body .matter[aria-checked=true] .matter-ring{opacity:1;transform:none}
.matters-body .matter .matter-ring svg{width:13px;height:13px;stroke-width:2.8}
/* Keep comfortable cards on short phones; the body scrolls and Continue stays reachable. */
@media (max-height:719px){
  .matters-grid{gap:10px;margin-top:14px;padding-bottom:var(--s-3)}
  .matter{min-height:76px;padding-block:12px}
}
@media (max-width:359px){.matter{gap:var(--s-2);padding-inline:10px}}

/* ---- Under Begin, on the page before Awaken Noor: what Begin opens, once, small; and the way round the voice,
   kept low. They arrive together with the page's turn, after the three lines, and cannot be reached before it:
   while her answers gather there is nothing to read under a button that is still waiting. Their room is kept, so
   the button never moves. It is their block that arrives (.begin-under), not the text button itself, whose own
   quick change under a finger must stay quick; and the block can be reached only from the moment it begins to
   show, never while it is still unseen under a button that has just woken. ---- */
.begin-under{display:grid;justify-items:center;transition:opacity 460ms var(--ease-settle) 840ms,visibility 0s linear 840ms}
.screen--ready[data-break=gathering] .begin-under{opacity:0;visibility:hidden;transition:none}
.begin-note{margin:var(--s-2) 0 0;font:var(--t-note);color:var(--ink-3);text-align:center;text-wrap:balance}
.begin-under>.begin-write{min-height:36px;color:var(--ink-2)}
@media (max-height:719px){.begin-note{margin-top:6px}}

/* ---- The experience's layer: above every screen, outside what the renderer redraws. It arrives over the page
   the person began from; when the call has the room it fades away over the call, so only the orb carries on ---- */
/* No double-tap zoom on a phone: three quick taps are the hidden way on to the breaths (awaken-handoff.js). */
.awaken-layer{position:absolute;inset:0;z-index:5;display:flex;justify-content:center;background:var(--paper);opacity:0;touch-action:manipulation;transition:opacity var(--d-base) linear}
.awaken-layer.is-in{opacity:1}
.awaken-layer.is-leaving{opacity:0;pointer-events:none;transition:opacity 720ms var(--ease-breath)}
/* Its last words and its close button go at once: the call's own words are arriving under them. The orb stays where
   it is while the layer fades, and the call's orb holds the same place (call-stage.js, restore): one orb throughout. */
.awaken-layer.is-leaving :is(.noor-bar,.noor-words,.noor-cue,.noor-dock){opacity:0;transition:opacity 140ms linear}
.awaken-root{display:flex;justify-content:center;width:100%;height:100%}
/* Under the layer the app shows a plain page. */
.screen--awaken{background:var(--paper)}

@media (prefers-reduced-motion:reduce){
  .matter,.matters-body .matter .matter-ring,.awaken-layer,.awaken-layer.is-leaving{transition-duration:.01ms}
  /* The checkpoint is the settled page at once (checkpoint-moment.js): nothing arrives, flies out or turns. */
  .screen--checkpoint[data-checkpoint] :is(.checkpoint-glow,.checkpoint-disc,.checkpoint-tick,.checkpoint-ripple,.checkpoint-sparks i,.checkpoint-title,.checkpoint-lead),.screen--checkpoint .checkpoint-glow::before{animation:none}
  /* The page before Awaken Noor shows what it turns to, at once (ready-moment.js): nothing gathers, turns or ripples. */
  .screen--ready[data-break] :is(.break-glow,.break-ripple,.break-mote,.break-mote img,.break-orb,.break-beat,.break-ring-fill,.break-status span),.screen--ready .break-glow::before{animation:none}
  .screen--ready[data-break] :is(.break-ring,.break-status,.break-great,.break-title,.break-list li,.begin-under){transition:none}
}
}

/* Aura across the app: the light each screen stands in, and the few things every screen shares that are not a
   component. The colours, faces and timings themselves are tokens (styles/tokens.css); the light is drawn once
   in the shell (styles/base.css, #atmosphere). docs/DESIGN_SYSTEM.md. Last layer, so one table decides. */
@layer skin {

/* ---- The light each screen stands in ----
   Two lights, both outside #app, so they never restart when a screen changes; they cross-fade (1.2s).
   --aura-crown: the page light from the top, for screens that are read and answered.
   --aura-foot:  the stage light rising from the foot, for the moments with the orb.
   A screen that paints its own ground (the call's sky, the map, the board) asks for neither. */
.app-shell{--aura-crown:.55;--aura-foot:0}
.app-shell:has(.screen--welcome){--aura-crown:.9}
/* The page light gathers a little with each answer: by the last question it is at full strength. */
.app-shell:has(.screen--name){--aura-crown:.4}
.app-shell:has(.screen--question){--aura-crown:.46}
.app-shell:has(.screen--question[data-q="2"]){--aura-crown:.54}
.app-shell:has(.screen--question[data-q="3"]){--aura-crown:.62}
.app-shell:has(.screen--question[data-q="4"]){--aura-crown:.7}
.app-shell:has(.screen--question[data-q="5"]){--aura-crown:.78}
.app-shell:has(.screen--question[data-q="6"]){--aura-crown:.86}
.app-shell:has(.screen--question[data-q="7"]){--aura-crown:.94}
.app-shell:has(.screen--checkpoint,.screen--matters,.screen--photo,.screen--ready){--aura-crown:1}
/* Every result is the stage: the orb above, the light at the foot. */
.app-shell:has(.screen--moment){--aura-crown:.35;--aura-foot:1}
/* Awaken Noor draws its own room in its own layer; under it the stage light is already up for the call it opens. */
.app-shell:has(.screen--awaken){--aura-crown:0;--aura-foot:1}
.app-shell:has(.screen--result){--aura-crown:.3;--aura-foot:.9}
.app-shell:has(.release-screen){--aura-crown:0;--aura-foot:1}
/* The call paints its own sky from the same lights; the shell's stays lit under it, so leaving is seamless. */
.app-shell:has(.call-screen){--aura-crown:0;--aura-foot:1}
.app-shell:has(.screen--write){--aura-crown:.7}
.app-shell:has(.screen--portrait){--aura-crown:.7}
.app-shell:has(.screen--when){--aura-crown:.6}
.app-shell:has(.screen--home){--aura-crown:.8}
.app-shell:has(.screen--checkin){--aura-crown:.6}
.app-shell:has(.screen--details,.screen--said,.screen--log){--aura-crown:.45}
.app-shell:has(.screen--compass,.screen--board){--aura-crown:0;--aura-foot:0}
/* My vision board is home: the page light, quiet, so her pictures are the colour on the page. */
.app-shell:has(.screen--lifeboard){--aura-crown:.5;--aura-foot:0}
.app-shell:has(.screen--join){--aura-crown:1}
/* The opening film is plain paper with the one orb: the light arrives with the Welcome page under it. */
body.opening-active .app-shell{--aura-crown:0;--aura-foot:0}

/* ---- On the stage the light runs under the controls: the dock is clear, and nothing fades over it ---- */
.screen--result>.dock{background:transparent}
.screen--result>.dock::before{display:none}

}
