/* Forma, the "rich and expensive" edition (owner, October 14, 2026): dark, bold,
 * substantive, modern, sophisticated; old-Italian in spirit, not cursive.
 * Loads last and only restyles; no screens or behaviour change.
 *
 * Type: Bodoni Moda (Italian Didone, upright, optical sizes) for headlines;
 * Hanken Grotesk for the interface. Older CSS names ('DM Sans', 'Manrope')
 * are mapped to Hanken Grotesk so it is used everywhere, including the
 * growth share image. Italic Bodoni only for the odd accent word.
 * Colour: warm near-black ground, ivory text, deep bottle green for the one
 * hero card and selections, muted sage for small green text, antique brass
 * for a few fine details. Nothing glows; edges are hairlines.
 */
@font-face{font-family:'Bodoni Moda';font-style:normal;font-weight:400 900;font-display:swap;src:url('/fonts/bodoni-moda-latin-standard-normal.woff2') format('woff2')}
@font-face{font-family:'Bodoni Moda';font-style:italic;font-weight:400 900;font-display:swap;src:url('/fonts/bodoni-moda-latin-standard-italic.woff2') format('woff2')}
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2')}

:root{
  --bg:#0b0b09;          /* warm near-black ground */
  --rail:#080807;        /* side rail, bottom bar */
  --paper:#121310;       /* quiet cards */
  --paper-2:#181a16;     /* raised / hover */
  --line:#24251f;        /* hairlines */
  --line-2:#34362d;      /* stronger edges */
  --ink:#ebe4d3;         /* ivory */
  --ink-2:#d6d0c1;       /* softer ivory for body */
  --muted:#9a9586;       /* warm grey */
  --bottle:#14291d;      /* deep bottle green */
  --bottle-line:#2a4434;
  --sage:#aaa395;        /* small meta text: warm, not green (green means growth) */
  --brass:#b59a62;       /* antique brass, sparingly */
  --display:'Bodoni Moda',Didot,'Bodoni 72',Georgia,serif;
  --ui:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  --serif:'Bodoni Moda',Didot,Georgia,serif;
  --radius:10px;
  font-family:var(--ui);
}
body{background:var(--bg);color:var(--ink);font-family:var(--ui);-webkit-font-smoothing:antialiased;font-feature-settings:'kern','liga'}
button,input,textarea,select{font-family:var(--ui)}

/* ---- Grounds: flat, no circles or glows ---- */
.shell,.life-shell,.intro-shell,.welcome-shell,.account-shell{background:var(--bg)!important}
.focus-card:before{display:none}
.foundation-intro{background:var(--bg)!important}
.constellation{background:#0f100d!important;border-color:var(--line)!important}

/* ---- Type ---- */
/* Lower optical size: sturdier hairlines so the ivory does not dissolve into the black. */
h1,h2,h3,.brand{font-family:var(--display);font-optical-sizing:none;font-variation-settings:'opsz' 14}
h1{font-weight:600;letter-spacing:-.015em;line-height:1.04;color:var(--ink)}
.greeting h1{font-size:clamp(42px,5.4vw,68px)}
.life-main h1,.intro-main h1,.account-shell h1{font-weight:600;letter-spacing:-.015em;line-height:1.06}
h2{font-weight:600;letter-spacing:-.015em}
h3{font-weight:600;letter-spacing:-.015em}
h1 em,h2 em,.life-main h1 em,.intro-main h1 em,.account-shell h1 em,.growth-info h2 em,.intro-shell h1 em,.foundation-name{font-family:var(--serif)!important;font-style:normal!important;font-weight:inherit!important;font-size:1em!important;letter-spacing:inherit;color:#cdb07a!important;font-variation-settings:'opsz' 14}
.brand{font-family:var(--display);font-weight:700;letter-spacing:-.015em}
.brand .dot{color:var(--brass)}
.eyebrow,.nav-label,.intro-overline{font-family:var(--ui);font-weight:500;letter-spacing:.16em;color:var(--muted)}
.greeting p,.life-description,.intro-description{color:var(--muted)}
.focus-area{color:var(--sage);font-weight:500}

/* ---- Side rail and bottom bar ---- */
.sidebar{background:var(--rail);border-right:1px solid var(--line)}
.nav button{border-radius:8px;color:#a29d8e;font-weight:400}
.nav button:hover{background:#121310;color:var(--ink)}
.nav button.active{background:#141510;color:var(--ink);font-weight:500;box-shadow:inset 2px 0 0 var(--brass)}
.nav button.active:after{background:var(--brass)}
.mobile-nav{background:#080807f5;border-top:1px solid var(--line)}
.mobile-nav button.active{background:#16170f;color:var(--ink)}
.mobile-nav button.active svg{color:var(--brass)}
.sidebar-note{border-top-color:var(--line)}
.topbar{border-bottom:1px solid var(--line)}
.avatar{background:#1a1b15;color:var(--brass);border:1px solid #3a3426}

/* ---- Buttons: ivory on dark, quiet outlines ---- */
.btn{border-radius:8px;font-weight:500;letter-spacing:0}
.btn.primary,.chat-form .icon-button{background:var(--ink);color:#11130f;box-shadow:none}
.btn.primary:hover{background:#f6f1e4}
.btn.outline{border:1px solid var(--line-2);background:transparent;color:var(--ink)}
.btn.outline:hover{background:var(--paper-2);border-color:#4a4c40}
.icon-button{border-radius:8px}
:focus-visible{outline:1.5px solid var(--brass);outline-offset:3px}

/* ---- The hero: your next action ---- */
.step-target,.roadmap-detail,.period-card{background:radial-gradient(120% 140% at 100% 0%,#b59a621f,transparent 46%),linear-gradient(160deg,#18301f 0%,#112419 55%,#0d1c13 100%);border:1px solid #b59a6252;border-radius:14px;padding:30px 30px 24px;box-shadow:0 30px 70px #000c,inset 0 1px 0 #d9c08a26;position:relative}
.step-target:after,.roadmap-detail:after,.period-card:after{content:'';position:absolute;left:24px;right:24px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#d4b97acc,transparent);pointer-events:none}
.step-target .eyebrow,.roadmap-detail .eyebrow,.period-card .eyebrow{color:#c9ad72;font-size:12px}
.roadmap-detail h2,.period-card h2{font-family:var(--display);font-weight:600;font-size:clamp(24px,2.6vw,32px);letter-spacing:-.015em;line-height:1.15;color:var(--ink);margin:14px 0 10px}
.roadmap-detail p,.period-card p,.roadmap-detail li{color:#cdd2c2}
.roadmap-detail,.period-card{margin:18px 0}
.step-target h3{font-family:var(--display);font-weight:600;font-size:clamp(28px,3vw,40px);letter-spacing:-.015em;line-height:1.15;color:var(--ink);margin:14px 0 12px}
.step-target p{color:#cdd2c2}
/* Breathing room between the person's message and Forma's status line. */
.ai-status{margin-top:18px}
.ai-message.from-user+.ai-status,.ai-message+.ai-status{margin-top:22px}
.route-chip{color:var(--sage);font-weight:500}
.step-actions{gap:10px;margin-top:20px}
.step-actions .text-link{border:1px solid #b59a6238;background:transparent;border-radius:8px;padding:0 15px;min-height:42px;color:var(--ink-2);font-weight:500;font-size:14px}
.step-actions .text-link:hover{background:#b59a6214;border-color:#b59a6270;color:var(--ink)}
.step-actions .btn.primary{min-height:44px}

/* ---- Quiet cards ---- */
.card,.capacity-card,.talk-card,.closure-summary,.choice,.reason-list button,.chat-suggestions button,
.quiet-review,.rhythm-preview,.commitment-followup,.life-area,.today-row,.intro-choice,.time-options button{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.intro-choice:hover,.path-preview:hover,.reason-list button:hover{background:var(--paper-2);border-color:var(--line-2)}
.life-area.selected,.push-choice.selected,.choice.selected,.energy-options button.selected,.path-card.active-path{background:linear-gradient(160deg,#16291d,#0f1e15);border-color:#b59a6260}
.today-row-mark,.pill.soft,.coming,.path-icon{background:#1a1b15;color:var(--brass)}
.life-reflection{background:var(--paper);border-left-color:var(--brass)}
.intro-strip,.first-day-note,.note-box,.tour-example{background:#121a14;border-color:#26352a;color:#d3d6c6}
.day-footer{border-top-color:var(--line)}

/* ---- Conversation ---- */
.ai-message span{color:var(--muted);letter-spacing:.16em;font-weight:500}
.ai-message p{color:var(--ink)}
.ai-message.from-user{background:var(--paper-2);border:1px solid var(--line);border-radius:12px}
.ai-message.from-user p{color:var(--ink-2)}
.ai-followups button,.life-switcher-links button{background:var(--paper);border-color:var(--line-2);color:var(--ink)}
.life-main textarea,.field input,.field textarea,.field select,textarea.input,
.daily-check .field input,.daily-check .field select,.dialog-body .field input,.dialog-body .field select,.dialog-body .field textarea,
.account-shell .account-form .input{background:#0e0f0c;border:1px solid var(--line-2);border-radius:10px;color:var(--ink)}
.life-main textarea:focus,.field input:focus,textarea.input:focus,.account-shell .account-form .input:focus{border-color:var(--brass);outline:none;box-shadow:0 0 0 3px #b59a621a}

/* ---- Dialogs, plans, growth, walkthrough ---- */
dialog{background:#10110e;border:1px solid var(--line-2);border-radius:16px}
dialog::backdrop{background:#000000d6}
.dialog-head .icon-button{background:var(--paper-2)}
.plan-card{background:var(--paper);border-color:var(--line-2);border-radius:12px}
.plan-card.selected{background:var(--bottle);border-color:var(--brass);box-shadow:0 0 0 1px var(--brass)}
.plan-card .plan-price{font-family:var(--display);font-weight:600;letter-spacing:-.015em}
.plan-badge{background:var(--brass);color:#14120c}
.plan-trial{background:#121a14;border-color:#26352a}
.growth-view{background:var(--bg);color:var(--ink)}
/* Your sphere, edge to edge: the drawing floats on the page; green is growth,
 * gold is achievement, ivory is you. */
.growth-stage svg{border-radius:0;max-width:820px}
.growth-eyebrow{font-family:var(--ui);font-weight:500;letter-spacing:.16em;color:var(--muted)}
.growth-close{color:var(--ink)}
.growth-caption{color:#a9bb9c}
.growth-info h2{font-family:var(--display);font-weight:600;letter-spacing:-.015em}
.growth-points{color:var(--muted)}
.growth-bar{height:5px;background:#ffffff10;border-radius:3px}
.growth-bar span{background:linear-gradient(90deg,#3f7a52,#8fc49a);box-shadow:0 0 12px #8fc49a55}
.growth-next{color:var(--muted)}
.growth-how,.growth-recent{border-top-color:var(--line)}
.growth-how summary{color:var(--ink-2)}
.growth-how li,.growth-recent p{color:var(--ink-2);border-bottom:1px solid #ffffff08}
.growth-how li b,.growth-recent b{color:#d2b77e;font-weight:600}
.growth-recent h3{font-family:var(--ui);font-weight:500;letter-spacing:.16em;font-size:12px;color:var(--muted)}
.growth-card,.tour-card{background:#11120f;border-color:#b59a6240}
.growth-badge{background:#11120f;border-color:#b59a6255;color:var(--ink)}
.growth-badge:hover{background:#16170f;border-color:#b59a6299}
.growth-badge-text small{color:#d2b77e}
.growth-badge-text strong{font-family:var(--ui);font-weight:500}
.tour-card h3{font-family:var(--display);font-weight:600;letter-spacing:-.015em}
.tour-spot{box-shadow:0 0 0 200vmax #000000c8,0 0 0 1px #b59a62cc}

.account-card{margin-bottom:48px!important}
.account-card h3{margin-bottom:6px}
.account-card>p{color:var(--muted)}

.sources-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin:14px 0 0;font-size:12px;line-height:1.5}
.sources-line span{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.sources-line a{color:#d2b77e;text-decoration:underline;text-decoration-color:#b59a6266;text-underline-offset:3px;overflow-wrap:anywhere}
.sources-line a:hover{text-decoration-color:currentColor}
.ai-message .sources-line{margin-top:10px}

.share-forma{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}
.share-forma h4{font-family:var(--display);font-weight:600;font-size:18px;margin:0 0 6px;color:var(--ink)}
.share-forma p{color:var(--muted);margin:0 0 12px}
.share-row{display:flex;gap:10px;align-items:center;max-width:560px}
.share-row .input{flex:1;min-width:0;font-size:14px;padding:10px 12px}
.plan-gift{border:1px solid #b59a6255;background:#b59a6212;color:#e2d3ad;border-radius:10px;padding:10px 14px;margin:0 0 14px;font-size:14px}

@media(max-width:600px){
  .account-card{margin-bottom:36px!important}
  .greeting h1{font-size:40px}
  .step-target,.roadmap-detail,.period-card{padding:24px 20px 20px}
  .step-target:after,.roadmap-detail:after,.period-card:after{left:20px;right:20px}
  .step-actions .text-link{flex:1 1 auto;justify-content:center}
}

/* Email and password sign-in (October 16, 2026) */
.account-shell .password-row{position:relative}
.account-shell .password-row .input{width:100%;padding-right:64px}
.account-shell .show-password{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--brass)}
.account-shell .account-switch{font-size:14px;color:#a9a294;margin:10px auto 0;max-width:420px;text-align:center}
.account-shell .account-switch .text-link{color:var(--ink);text-decoration:underline;text-decoration-color:#b59a6280;text-underline-offset:3px}
.account-shell .switch-gap{display:inline-block;width:18px}
.account-shell .account-note:empty{display:none}
/* Owner, November 16, 2026: the small second way on the email screens ("Use a code instead", "Stay here for now"). */
.account-shell .account-note.oob-small{margin-top:14px;font-size:13px}
.account-shell .account-note.oob-small .text-link{font-size:13px}

/* The daily loop (October 16, 2026) */
.opening-note{position:relative;margin:4px 0 22px;padding:20px 52px 18px 22px;border-left:2px solid var(--brass);background:linear-gradient(100deg,#15140f,#0f100d 70%);border-radius:0 var(--radius) var(--radius) 0}
.opening-note p{margin:0;color:var(--ink-2);font-size:16px;line-height:1.6}
.opening-note p+p{margin-top:4px}
.opening-note .opening-hello{font-family:var(--display);font-variation-settings:'opsz' 14;font-weight:600;font-size:24px;color:var(--ink);margin-bottom:8px}
.opening-note .opening-close{position:absolute;top:10px;right:10px;width:32px;height:32px;color:var(--muted);border:0}
.checkin-card{margin:0 0 22px;padding:22px;border:1px solid #b59a6255;border-radius:var(--radius);background:linear-gradient(160deg,#16291d,#0f1e15)}
.checkin-card .checkin-close{position:absolute;top:10px;right:10px;width:32px;height:32px;display:grid;place-items:center;padding:0;font-size:24px;line-height:1;color:#ebe4d3d9;background:none;border:0;z-index:1}
.checkin-card .checkin-close:hover,.checkin-card .checkin-close:focus-visible{color:var(--ink)}
.checkin-card:not(.done) h3{padding-right:30px}
.checkin-card h3{font-family:var(--display);font-variation-settings:'opsz' 14;font-weight:600;font-size:24px;letter-spacing:-.015em;color:var(--ink);margin:0 0 14px}
.checkin-card.done h3{font-size:20px;margin:0}
.checkin-moods{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px}
.checkin-mood{min-height:46px;border:1px solid var(--bottle-line);border-radius:10px;background:#0d1a12;color:var(--ink-2);font-size:16px;font-weight:500;transition:border-color .2s ease,box-shadow .2s ease,color .2s ease,background-color .2s ease}
.checkin-mood:hover{border-color:#b59a6280}
.checkin-mood.selected{border-color:var(--brass);box-shadow:0 0 0 1px var(--brass);color:var(--ink);background:linear-gradient(160deg,#1d3324,#132519)}
.checkin-card textarea.input{width:100%;min-height:58px;background:#0b140e;border:1px solid var(--bottle-line);color:var(--ink);border-radius:10px;font-size:16px;padding:11px 13px;resize:vertical}
.checkin-card textarea.input:focus{border-color:var(--brass);outline:none}
.checkin-actions{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;margin-top:12px}
.checkin-actions .btn{transition:opacity .2s ease}
.checkin-actions .btn[disabled]{opacity:.45;cursor:default}
.checkin-step{margin-top:14px;padding-top:14px;border-top:1px solid #2a443480}
.checkin-step p,.checkin-notify{margin:0;color:var(--ink-2);font-size:14px}
.checkin-step .checkin-actions{margin-top:6px}
.checkin-card .text-link{color:var(--ink)}
.checkin-notify{margin-top:14px;color:var(--muted);font-size:14px}
.checkin-notify .text-link.quiet{color:var(--muted)}
.daily-card h3{margin-bottom:6px}
.daily-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.daily-row:last-child{border-bottom:0;padding-bottom:4px}
.daily-row h4{font:600 14px var(--ui);color:var(--ink);margin:0 0 3px}
.daily-row p{margin:0;font-size:14px;line-height:1.5;color:var(--muted);max-width:440px}
.daily-row .btn{white-space:nowrap;flex-shrink:0}
.daily-row .text-link{white-space:nowrap;flex-shrink:0;color:var(--ink)}
.daily-time{width:auto;min-width:112px;padding:9px 12px;background:#0e0f0c;border:1px solid var(--line-2);border-radius:10px;color:var(--ink);font-size:14px;flex-shrink:0}
.daily-tick{color:var(--brass);font-size:18px}
.ios-share{display:inline-block;color:var(--brass);font-size:16px;transform:translateY(1px)}
.account-slot+.daily-card{margin-bottom:22px}
.growth-daylight{font-size:14px;line-height:1.5;color:#bfb9ac;margin:10px 0 0}
.closed-wrap.rest-day .closed-orb{border-color:#b59a6260}
@media(max-width:600px){.daily-row{flex-wrap:wrap}.opening-note{padding:18px 46px 16px 18px}.checkin-card{padding:18px}}

/* Forma on the home screen: keep clear of the notch and the home bar */
html.standalone .intro-shell,html.standalone .life-shell{padding-top:env(safe-area-inset-top)}
html.standalone .growth-view{padding-top:env(safe-area-inset-top)}
html.standalone .shell{padding-top:env(safe-area-inset-top)}

/* Phones: an app-shell layout. The page itself doesn't scroll; the content
   area does, and the bottom bar is the last row of the screen, not a
   position:fixed layer. iOS 26 Safari can misplace fixed bars after the
   keyboard closes (WebKit bug 297779), which left the bar floating mid-screen. */
@media(max-width:600px){
  html:has(.shell .mobile-nav),html:has(.shell .mobile-nav) body{height:100%;overflow:hidden}
  .shell{display:flex!important;flex-direction:column;height:100dvh;overflow:hidden}
  .shell>.main{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding-bottom:28px}
  .shell>.mobile-nav{position:relative;flex:0 0 auto;bottom:auto}
}
/* iPhone home-screen app (October 21, 2026, third attempt): iOS 26 shortens a
   home-screen app's viewport by the status bar's height when the page is no
   taller than the screen (WebKit bug 301108), so 100dvh and 100% stop short and
   a band shows under the tab bar; Talk was fine because its page is longer
   than the screen. Fix used by other installed web apps and checked on iOS 26
   iPhones: size the frame to the large viewport (100lvh: the full screen, as
   nothing in the installed app collapses) and lift the html/body lock, which
   clipped anything below the short edge (why the October 19 attempt cut the
   tab bar off). iPhone, installed app, phone widths only. */
@media(max-width:600px){
  html.ios.standalone:has(.shell .mobile-nav),html.ios.standalone:has(.shell .mobile-nav) body{height:auto;min-height:100lvh;overflow:visible}
  html.ios.standalone .shell{height:100lvh}
}
.opening-note .opening-lead{font-family:var(--display);font-variation-settings:'opsz' 14;font-weight:600;font-size:18px;line-height:1.5;color:var(--ink);margin-bottom:8px}

/* Asking for notifications on Today */
.notify-card{margin:0 0 22px;padding:20px 22px;border:1px solid var(--line-2);border-radius:var(--radius);background:var(--paper)}
.notify-card h3{font-family:var(--display);font-variation-settings:'opsz' 14;font-weight:600;font-size:20px;color:var(--ink);margin:0 0 6px}
.notify-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.notify-card .text-link.quiet{color:var(--muted)}
.ios-dots{display:inline-flex;align-items:center;justify-content:center;width:26px;height:18px;border:1px solid #b59a6280;border-radius:9px;vertical-align:-3px;margin:0 2px}
.ios-dots svg{width:14px;height:14px;fill:var(--brass)}
.tour-card .ios-dots{border-color:#c8daa980}.tour-card .ios-dots svg{fill:#dbe7cf}
.notify-card h3{margin:0}
.notify-card .checkin-actions{margin-top:14px}

/* Talk: choose what to talk about, then a full-screen conversation on phones */
.talk-options{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.talk-option{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;text-align:left;padding:18px 20px;border:1px solid var(--line-2);border-radius:12px;background:var(--paper);color:var(--ink)}.talk-option:focus-visible{border-color:#b59a6280;background:linear-gradient(160deg,#16291d,#0f1e15)}
.talk-option strong{font-family:var(--display);font-variation-settings:'opsz' 14;font-weight:600;font-size:18px;line-height:1.3;letter-spacing:-.015em}
.talk-kind{font-size:12px;color:var(--brass);letter-spacing:0;display:flex;align-items:center;gap:6px}
.talk-kind svg{width:14px;height:14px}
.talk-new strong{font-family:var(--ui);font-weight:500;font-size:16px;color:var(--ink-2)}
.talk-about{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px;font-size:14px;color:var(--ink-2);margin:0 0 6px}
.talk-about span{color:var(--brass);font-size:12px}
.talk-about .text-link{font-size:14px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){
  dialog.talk-sheet{width:100%;max-width:none;height:100dvh;max-height:none;margin:0;inset:0;border:0;border-radius:0;padding-top:env(safe-area-inset-top);background:var(--bg)}
  dialog.talk-sheet[open]{display:flex;flex-direction:column}
  dialog.talk-sheet .dialog-head{flex:0 0 auto}
  dialog.talk-sheet .dialog-body{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;padding-bottom:0}
  dialog.talk-sheet .dialog-body h2{font-size:28px}
  dialog.talk-sheet .chat-log{flex:1 1 auto;max-height:none;min-height:38dvh;margin:12px 0}
  dialog.talk-sheet .chat-form{position:sticky;bottom:0;background:var(--bg);padding:10px 0 calc(12px + env(safe-area-inset-bottom));margin:0 -2px;z-index:2}
  dialog.talk-sheet .chat-form textarea{min-height:52px;font-size:16px}
  dialog.talk-sheet .message{font-size:16px}
  dialog.talk-picking .dialog-body h2{font-size:34px;line-height:1.15}
}

/* No plan yet: Today, conversations, decisions */
.talk-home{margin:6px 0 24px;padding:26px 24px;border:1px solid #b59a6255;border-radius:var(--radius);background:linear-gradient(160deg,#16291d,#0f1e15)}
.talk-home .eyebrow{color:var(--brass)}
.talk-home h2{font-family:var(--display);font-variation-settings:'opsz' 14;font-weight:600;font-size:28px;line-height:1.15;color:var(--ink);margin:12px 0 10px}
.talk-home p{color:var(--ink-2);font-size:16px;line-height:1.6;margin:0;max-width:520px}
.talk-home-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.talks-list{margin:8px 0 24px}
.talks-list .life-caption{margin:6px 0 12px}
.talk-item{display:flex;justify-content:space-between;align-items:baseline;gap:14px;width:100%;text-align:left;padding:15px 18px;border:1px solid var(--line-2);border-radius:10px;background:var(--paper);color:var(--ink);margin-bottom:8px}
.talk-item strong{font-weight:500;font-size:16px;line-height:1.5}
.talk-item small{color:var(--muted);font-size:12px;white-space:nowrap}
.talk-item:hover{border-color:#b59a6280}
.ai-done{display:block;margin-top:6px;color:var(--muted)!important}
.decision-offer .life-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
@media(max-width:600px){.talk-home{padding:22px 20px}.talk-home h2{font-size:28px}.talk-home-actions .btn{flex:1 1 100%}}

/* Links inside Forma's replies, and the little confirmation at the bottom (new theme) */
.inline-link{color:var(--ink);text-decoration:underline;text-decoration-color:#b59a6299;text-underline-offset:3px}
.inline-link:hover{text-decoration-color:var(--brass)}
.message .sources-line{margin-top:10px}
#toast{background:#141510;color:var(--ink);border:1px solid #b59a6266;border-radius:12px;box-shadow:0 18px 40px #00000080;font-family:var(--ui);font-size:14px}
/* Forma's reply to a report, on Today under the action (October 17, 2026) */
.step-target .forma-reply{margin:.5rem 0 1rem;padding:12px 14px;border-radius:14px;background:#0b0b0966;border:1px solid #ebe4d31f}
.step-target .forma-reply .eyebrow{display:block;margin:0 0 5px;color:#c9ad72;font-size:12px;letter-spacing:.16em}
.step-target .forma-reply p{margin:0;color:var(--ink);font-size:16px;line-height:1.6}
.step-target .forma-reply .text-link{display:inline-flex;margin-top:8px}
.step-target .forma-reply.pending p{opacity:.72}
.report-cancel{display:block;margin:12px auto 0}
/* A suggestion inside a conversation: a small card, not the whole action (October 17, 2026) */
.message-about{align-self:flex-end;margin:6px 4px -4px;color:#b59a62;font-size:12px;letter-spacing:0;max-width:85%;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-proposal{margin:14px 0 16px;padding:14px 16px 12px;border:1px solid #b59a6255;border-radius:16px;background:#14291d}
.chat-proposal>.eyebrow{display:block;margin-bottom:6px;color:#c9ad72;font-size:12px;letter-spacing:.16em}
.chat-proposal .chat-goal{margin:0 0 6px;color:#ebe4d3b3;font-size:14px}
.chat-proposal .chat-step h3{margin:0 0 4px;font-family:var(--serif,"Bodoni Moda",Georgia,serif);font-size:20px;line-height:1.3;color:var(--ink)}
.chat-proposal .chat-step p{margin:0;color:#ebe4d3d9;font-size:14px;line-height:1.5}
.chat-proposal .chat-more{margin-top:8px}
.chat-proposal .chat-more summary{cursor:pointer;color:#c9ad72;font-size:14px}
.chat-proposal .dialog-actions{margin-top:12px;gap:8px}
.chat-proposal .dialog-actions .btn{min-height:42px;padding:8px 14px;font-size:14px}
/* Room between Forma's suggestion and the message box (October 17, 2026) */
.chat-proposal{margin:18px 0 26px;padding:16px 16px 14px;box-shadow:0 10px 26px #00000040}
.chat-proposal .dialog-actions{display:flex;flex-wrap:wrap;margin-top:14px}
.chat-proposal .dialog-actions .btn{flex:1 1 140px}
.dialog-body .chat-form{margin-top:10px}
.rest-offer{margin:12px 0 18px}
/* October 17, 2026 live-test fixes */
.plan-card .plan-price{flex-wrap:nowrap;white-space:nowrap}
.plan-legal{font-size:12px;line-height:1.5;text-align:center;color:var(--ink-2);opacity:.75;margin:2px 0 6px}
.plan-legal a{color:#c9ad72;text-underline-offset:3px}
.plan-hunt{text-align:center;color:var(--ink-2);margin:10px auto 0}.plan-hunt strong{color:#dcc58f;font-weight:600;letter-spacing:.04em}
.ai-compose textarea,.chat-form textarea{resize:none;overflow-y:auto;max-height:220px}
@media(max-width:420px){
  .plan-card .plan-price{font-size:24px}
  .account-main.welcome h1{font-size:min(38px,10.2vw)}
}

/* Calm speaker distinction, comfortable controls, and compact phone actions. */
.message{background:#191914;color:var(--ink);border:1px solid var(--line)}
.message.user{background:#302a1e;color:var(--ink);border-color:#b59a6255}
.chat-form .mic{background:var(--paper-2);color:var(--ink);border:1px solid var(--line)}
.action-detail>summary,.action-options>summary,.quiet-review>summary,.growth-how>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;padding-block:10px}
.step-actions .text-link{min-height:44px}
.top-tools .icon-button{min-width:44px;min-height:44px}
@media(max-width:600px){
  .step-target{padding:20px 18px 16px}
  .step-target h3{font-size:24px;line-height:1.15;margin:10px 0}
  .step-target>p{font-size:14px;line-height:1.5;margin-block:8px}
  .step-actions{gap:6px}
  .chat-form .icon-button{width:44px;height:44px}
}

.ai-compose .mic{width:44px;min-width:44px;height:44px;align-self:flex-end;background:var(--paper-2);color:var(--ink);border:1px solid var(--line)}

/* ---- Full sweep fixes, October 17, 2026 ---- */
/* Readable floor: nothing a person reads is smaller than 12px. */
.eyebrow,.growth-eyebrow,.intro-overline,.star-number,.life-caption,.week-day small,.today-row-copy small,.back-entry small,
.ai-message span,.message-about,.sources-line span,.growth-recent h3,.plan-badge,.mobile-nav button,.nav-label,.growth-badge-text small,
.growth-badge-text strong,.intro-footer,.intro-footer button,.intro-top-right,.prototype-label,.life-breakdown span,.life-reflection span,
.life-conversation-mark,.memory-reviewed,.focus-card .pill,.section-heading>span,.coming{font-size:12px!important}
/* Tap targets of at least 44px on phones. */
.growth-badge{min-height:44px}
.daily-time,select.input{min-height:44px}
.account-links a,.intro-footer .account-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 6px}
[data-action="memory-remove"],[data-action="memory-review"],[data-action="about"]{min-height:44px;padding-left:8px;padding-right:8px}
.about-account,.plan-account{margin-top:14px}
.about-account .text-link,.plan-account .text-link{min-height:44px}
/* Counter near a message box's limit. */
.char-count{display:block;margin-top:6px;font-size:12px;color:var(--muted)}
/* A moment card never hides the last controls on Today. */
body:has(.growth-card.in) .main,body:has(.growth-card.in) main{padding-bottom:120px}
/* Laptop and desktop: the opening (orbit, "A life that takes your shape.", Tap to begin)
   fits the window with no scrolling. The orbit shrinks with the window's height
   (never below 220px); phones keep their own sizing. */
@media(min-width:900px){.welcome-shell.splash-stage .cinematic-orbit{width:min(110vw,54dvh,480px,max(220px,calc(100dvh - 470px)));height:min(110vw,54dvh,480px,max(220px,calc(100dvh - 470px)));margin-left:calc(min(110vw,54dvh,480px,max(220px,calc(100dvh - 470px))) / -2)}}

/* The route caption stays clear of the first star. */
.constellation-label{font-size:12px!important;letter-spacing:0!important}

/* ---- Message boxes and sent messages (owner, October 17, 2026) ---- */
/* The box starts one line tall and grows as you type; the microphone sits inside it. */
.compose-field{position:relative;flex:1;min-width:0;display:flex}
.compose-field textarea,.compose-field textarea.input{flex:1;min-width:0;width:100%;min-height:52px!important;height:52px;max-height:220px;padding:14px 52px 14px 16px!important;line-height:1.5;resize:none!important;box-sizing:border-box}
.compose-field .mic,.ai-compose .compose-field .mic,.chat-form .compose-field .mic{position:absolute;right:4px;bottom:4px;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--muted)!important;display:grid;place-items:center;align-self:auto}
.compose-field .mic:hover,.compose-field .mic:focus-visible{color:var(--ink)!important}
.ai-compose,.chat-form{align-items:flex-end}
.ai-compose>button[type=submit],.chat-form>button[type=submit]{width:52px!important;min-width:52px!important;height:52px!important;padding:0!important;display:grid;place-items:center;flex-shrink:0}
dialog.talk-sheet .chat-form .compose-field textarea{min-height:52px!important}
/* What you sent: no box, on the right; Forma's replies on the left. */
.ai-message.from-user{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:16px 0!important;margin-left:auto!important;margin-right:0!important;width:fit-content;max-width:min(85%,560px);text-align:right}
.ai-message.from-user p{text-align:right}
.ai-message.from-user p{color:var(--ink-2)}
/* The Talk sheet reads the same way: no boxes, a small "YOU" or "FORMA" above each message. */
.chat-log .message,.message,.message.user{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:6px 0!important;align-self:flex-start!important;margin-left:0!important;max-width:94%;width:auto}
.chat-log .message.user,.message.user{align-self:flex-end!important;margin-left:auto!important;max-width:85%;width:fit-content;text-align:right}
.message{color:var(--ink)!important}.message.user{color:var(--ink-2)!important}
.message-who{display:block;font-size:12px;letter-spacing:.16em;color:var(--muted);font-weight:500;margin-bottom:4px;white-space:normal}
.message-about{align-self:flex-end!important;text-align:right!important;margin:10px 0 -6px!important}
/* Zoomed route: sideways swipes move between milestones; up and down still scroll the page. */
.route-map.zoomed{touch-action:pan-y;user-select:none;-webkit-user-select:none}

/* ---- Goal box and route map in the current theme (owner, October 17, 2026) ---- */
/* The goal starts one line tall and grows with its words. */
.life-main #proposal-outcome,#proposal-outcome{min-height:52px!important;height:52px;resize:none!important;overflow-y:hidden;line-height:1.5;padding:13px 16px!important}
/* The route: a sharp, near-black card with a gold hairline, like the next-action card. */
.constellation,.route-map{background:radial-gradient(120% 140% at 100% 0%,#b59a6214,transparent 46%),#0e0e0b!important;border:1px solid #b59a6252!important;border-radius:10px!important;box-shadow:inset 0 1px 0 #d4b97a2e!important}
.constellation:before{filter:grayscale(1) sepia(.35) brightness(1.1);opacity:.7}
.constellation>svg,.route-sky>svg{stroke:#b59a628c!important}
.star-node{color:#a69f8f}
.route-map .star-node.later{opacity:.55}
.star-node.selected{background:#b59a6214!important;color:#f3ecdc!important;box-shadow:0 0 0 1px #b59a6299,0 0 22px #b59a6224!important}
.star-node.selected .star-point{text-shadow:0 0 14px #d4b97a66!important}
.star-node:hover{background:#b59a621f!important}
.route-map .star-node.current{color:#eee7d7;box-shadow:0 0 0 1px #b59a6277,0 0 22px #b59a621f!important}
.route-map .star-node.reached{color:#d4b97a!important}
.route-map .star-node.reached .star-point{text-shadow:0 0 12px #d4b97a80!important}
.constellation-label{color:#a69f8f!important}
/* "Tap a star…" sits right under the map it describes. */
.route-hint{margin:-10px 0 18px!important}
/* A new message appears in place: no scroll animation from the top of the talk. */
.ai-conversation,.chat-log{scroll-behavior:auto!important}
/* Footer: "Saved to your account." and "About Forma" sit on one line. */
.intro-footer,.life-shell .intro-footer{align-items:center!important}
.intro-footer>span,.intro-footer>button{line-height:1.5}

/* ---- Route map: continuous swipe and refined milestones (owner, October 17, 2026) ---- */
.route-map{--z:1.9}
@media(max-width:600px){.route-map{--z:1.6}}
.route-sky{transform-origin:0 0!important;transition:transform .45s cubic-bezier(.22,.68,.22,1)!important}
.route-map.zoomed .route-sky{transform:translate(calc(50% - var(--sx) * 1% * var(--z) + var(--dx, 0px)),calc(50% - var(--sy) * 1% * var(--z))) scale(var(--z))!important}
.route-map.zoomed{cursor:grab}
.route-map.zoomed .star-node{transform:translate(-50%,-50%) scale(calc(1 / var(--z)))}
/* A fine gold line instead of dashes. */
.constellation>svg,.route-sky>svg{stroke-dasharray:none!important}
.constellation>svg path:not(.route-trail){stroke:#b59a62;stroke-opacity:.5;stroke-width:1.2px;vector-effect:non-scaling-stroke;fill:none}
.route-sky>svg path.route-trail{fill:none;stroke-width:2px;vector-effect:non-scaling-stroke;stroke-linecap:round}
/* Milestones (design B, owner's pick): crisp four-point stars centred on the trail;
   muted ahead, ivory for where you are, gold once reached, large with a warm halo in view. */
.star-node{isolation:isolate;justify-content:center!important;min-width:46px;min-height:46px;padding:0!important}
.star-node,.star-node.selected,.star-node:hover,.route-map .star-node.current,.route-map .star-node.later,.route-map .star-node.selected{background:none!important;box-shadow:none!important;outline-offset:6px}
.star-node:not(.reached){filter:none!important}
.star-point{position:relative;font-size:0!important;line-height:0!important;display:block;width:18px;height:18px;background:#b59a62aa;clip-path:polygon(50% 0,57% 43%,100% 50%,57% 57%,50% 100%,43% 57%,0 50%,43% 43%);text-shadow:none!important;transition:width .3s,height .3s,background .3s}
.star-number{position:absolute;top:calc(50% + 14px);left:50%;transform:translateX(-50%);margin:0!important;font-size:12px!important;font-variant-numeric:tabular-nums;color:#a69f8f}
.route-map .star-node.current .star-point{width:22px;height:22px;background:#ebe4d3}
.route-map .star-node.reached .star-point{background:#d4b97a}
.route-map .star-node.reached{filter:drop-shadow(0 0 6px #d4b97a99)!important}
.star-node.selected .star-point{width:34px;height:34px;background:#fbf4e4}
.star-node.selected .star-number{top:calc(50% + 22px);color:#ebe4d3}
.star-halo{display:none}
.star-node.selected .star-halo{display:block;position:absolute;left:50%;top:50%;width:96px;height:96px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#d4b97a55,#d4b97a14 45%,transparent 70%);pointer-events:none;z-index:-1}
.star-node:hover .star-point{background:#d4b97a}
.star-node.selected:hover .star-point{background:#fbf4e4}
@media(prefers-reduced-motion:reduce){.route-sky{transition:none!important}}

/* ---- Transitions everywhere (owner, October 17, 2026) ----
   Screen changes are animated from app.js (old view fades out, new one rises in).
   Re-renders inside a screen no longer replay an entrance, so nothing flickers. */
.page-enter{animation:none!important}
@keyframes formaSheetIn{from{opacity:0;transform:translateY(18px) scale(.985)}to{opacity:1;transform:none}}
@keyframes formaBackdropIn{from{opacity:0}to{opacity:1}}
dialog[open]{animation:formaSheetIn .42s cubic-bezier(.22,.68,.22,1)}
dialog[open]::backdrop{animation:formaBackdropIn .32s ease}
@media(max-width:760px){@keyframes formaTalkIn{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}dialog.talk-sheet[open]{animation:formaTalkIn .46s cubic-bezier(.22,.68,.22,1)}}
@media(prefers-reduced-motion:reduce){dialog[open],dialog[open]::backdrop{animation:none}}

/* Forma's replies type in word by word (owner, October 17, 2026). */
@keyframes formaWordIn{from{opacity:0;filter:blur(2px)}to{opacity:1;filter:none}}
forma-w.tw{display:inline;font:inherit;letter-spacing:inherit;color:inherit;opacity:0;animation:formaWordIn .32s ease forwards}
@media(prefers-reduced-motion:reduce){forma-w.tw{opacity:1;animation:none}}

/* Bottom tabs: the original highlight, switching quickly on touch. */
.mobile-nav button{transition:background-color .22s ease,color .22s ease}
.mobile-nav button svg{transition:color .22s ease}

/* The welcome shown already open (after sign-in) appears once, without a second delayed fade. */
.welcome-shell.welcome-static .welcome-copy{animation:none}
/* "I'm ready": ivory like every other main button (was the old sage green). */
.welcome-shell .intro-cta .btn{background:#ebe4d3;color:#1a1916;border:1px solid #f3ecdc;box-shadow:0 6px 30px #d4b97a14}
.welcome-shell .intro-cta .btn:hover{background:#f3ecdc;box-shadow:0 8px 40px #d4b97a22}

/* Bottom tabs: only the box lights up on the chosen tab, with no glow outside it (owner). */
.mobile-nav button,.mobile-nav button.active{box-shadow:none}
/* Talk on a phone opens like a tab: the sheet stops above the bottom bar. */
@media(max-width:600px){
  dialog.talk-sheet.tab-sheet{position:fixed;inset:0 0 var(--navh,76px) 0;height:auto;max-height:none;z-index:15;padding-bottom:0}
  dialog.talk-sheet.tab-sheet .chat-form{padding-bottom:12px}
  dialog.talk-sheet.tab-sheet[open]{animation:formaSheetIn .38s cubic-bezier(.22,.68,.22,1)}
}
/* First conversation (bug report, October 18, 2026): the conversation was a
   small box with its own scrolling, so earlier messages slid out of sight
   above it on phones and looked as if they had vanished. It now flows with
   the page, like Talk. */
.life-main .ai-conversation{max-height:none;overflow:visible}
/* A message written while Forma replies (owner, October 18, 2026): shown
   where it will go, quieter until it is sent; tapping it sends it now. */
button.queued-message{display:block;margin-left:auto!important;margin-right:0;width:fit-content;max-width:min(85%,560px);text-align:right;background:none;border:0;padding:16px 0;font:inherit;color:inherit;cursor:pointer;opacity:.62;transition:opacity .2s ease}
button.queued-message:hover,button.queued-message:focus-visible{opacity:.9}
button.queued-message p{text-align:right;color:var(--ink-2)}
button.queued-message small{display:block;margin-top:6px;font-size:12px;letter-spacing:0;color:var(--muted)}

/* Owner, October 18, 2026: the hint inside the message box stays on one line, ending in … if it doesn't fit. */
#ai-onboard-input::placeholder,#chat-input::placeholder{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Owner, Oct 19 2026: text links in Your space cards line up with the text above them (browsers pad buttons by default). */
.card .account-actions .text-link,.card>.text-link{padding-left:0;padding-right:0}
.knows-part{margin-top:24px;padding-top:20px;border-top:1px solid var(--line-2)}.knows-part .eyebrow{color:var(--brass);font-size:12px}
.knows-row{display:flex;gap:10px;align-items:center}.knows-row input{flex:1;min-width:0}.knows-row .btn{min-height:46px;padding:0 18px;flex-shrink:0}
#context-form{margin-top:14px}#context-form input{padding:12px 14px;border:1px solid var(--line-2);border-radius:12px;background:transparent;color:var(--ink);font-size:16px}
.knows-list{list-style:none;margin:12px 0 0;padding:0}.knows-list li{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid var(--line-2);font-size:14px;line-height:1.5;color:var(--ink)}.knows-list li span{flex:1;overflow-wrap:anywhere}.knows-list .icon-button{width:32px;height:32px;font-size:18px;color:var(--muted);flex-shrink:0}.knows-list .icon-button:hover{color:var(--ink)}
.knows-card .field{margin:14px 0 0}
.knows-part>.text-link{padding-left:0;padding-right:0}
/* Forma's read of the person as short lines (owner, November 18, 2026): two in Your space, all of it on its own screen. */
.knows-part.understanding .understanding-text{margin:10px 0 0}
.knows-part.understanding .read-all{margin-top:12px}
.knows-part.understanding .privacy-note{margin-top:12px}
.read-lines .understanding-text{margin:0 0 12px;color:#f2ebda;font-size:15px;line-height:1.55}
.read-lines+.privacy-note{margin-top:18px}

/* Owner, Oct 19 2026: example prompts under the first message box. */
.prompt-examples{margin:14px 0 4px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.prompt-examples-label{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 2px}
.prompt-example{text-align:left;font-size:14px;line-height:1.5;color:var(--ink-2);background:transparent;border:1px solid var(--line-2);border-radius:14px;padding:10px 15px;min-height:40px;max-width:100%;transition:border-color .2s ease,color .2s ease}
.prompt-example:hover,.prompt-example:focus-visible{border-color:#b59a6280;color:var(--ink)}

/* Owner, Oct 19 2026: on desktop the name at the bottom of the sidebar is the way into Your space; it shows when you're there. */
.profile-btn{border-radius:12px}.profile-btn.active{background:#16170f}.profile-btn.active .avatar{box-shadow:0 0 0 1px var(--brass)}

/* Owner, Oct 19 2026: the breadcrumb above each page is gone; the badge and (i) stay on the right. */
.topbar .top-tools{margin-left:auto}

/* Owner, Oct 19 2026: one conversations list (Your life, Past conversations). */
.talk-option small{color:var(--muted);font-size:12px}
.talk-option.talk-done-area .talk-kind{color:var(--muted)}
.talks-list .talk-options{margin-top:0}
.talks-list>.text-link,.past-convos,.convo-more{padding-left:0;padding-right:0}
.flow-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.flow-top .flow-return{margin:0}
.flow-top .past-convos{display:inline-flex;color:var(--muted);font-size:14px;white-space:nowrap}

/* Owner, Oct 19 2026 (a friend's test): the proposed action is the main thing to tap when there is one. */
.ai-conversation+.review-proposal,.review-proposal{display:flex;width:100%;max-width:420px;margin:16px 0 4px;min-height:52px}

/* Owner, Oct 19 2026: the next step is proposed on the action card. */
.next-proposal{flex:1 1 100%;margin:4px 0 0;padding:18px 20px;border:1px solid #b59a6255;border-radius:14px;background:#0f1e1599}
.next-proposal .chat-step h3{margin:8px 0 6px}
.next-proposal.pending p{margin:8px 0 0;color:var(--muted)}
.next-proposal-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}

/* Owner, Oct 19 2026: the milestone check sits just above the card's buttons, in the card's own style. */
.milestone-check{margin:18px 0 6px;padding:18px 20px;border:1px solid #b59a6255;border-radius:14px;background:#0f1e1599}
.milestone-check .eyebrow{display:flex;align-items:center;gap:8px;color:var(--brass)}.milestone-check .eyebrow svg{width:14px;height:14px}
.milestone-check p{margin:8px 0 0;color:var(--ink);font-size:16px;line-height:1.5}
.milestone-check-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}

/* Owner, Oct 19 2026: a project or habit conversation opened from Your life fills the page like Talk. */
dialog.talk-sheet.talk-page{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;border:0;border-radius:0;background:var(--bg);padding:env(safe-area-inset-top) 0 0;overflow-y:auto;box-shadow:none}
dialog.talk-sheet.talk-page[open]{display:flex;flex-direction:column}
dialog.talk-page::backdrop{background:var(--bg)}
dialog.talk-page .dialog-head{display:none}
dialog.talk-page .dialog-body{width:100%;max-width:680px;margin:0 auto;padding:28px 24px 0;flex:1 1 auto;display:flex;flex-direction:column;min-height:0}
dialog.talk-page .dialog-body h2{font-size:28px;margin-top:8px}
dialog.talk-page .chat-log{flex:1 1 auto;max-height:none;min-height:30dvh;overflow:visible}
dialog.talk-page .chat-form{position:sticky;bottom:0;background:var(--bg);padding:10px 0 calc(14px + env(safe-area-inset-bottom));z-index:2}
@media(max-width:600px){dialog.talk-sheet.talk-page.tab-sheet{inset:0 0 var(--navh,76px) 0;height:auto}dialog.talk-page .dialog-body{padding:18px 20px 0}}
/* Last seven days, easier to read (friend's review, October 20, 2026): ivory
   words at a heavier weight, and every day's dot has a gold rim so it stands
   off the green card. Finished days keep their green fill. */
.week-strip .eyebrow{color:#f2ebda;font-weight:700}
.week-strip .life-caption{color:#f2ebda;font-weight:600}
.week-day small{color:#f2ebda!important;font-weight:700}
.week-day span{border-color:#c9ad72;border-width:1.5px}
.week-day.done span,.week-day.partial span{border-color:#c9ad72}
.week-day.tried span{border-color:#c9ad72;border-style:dashed}
.week-day.rest span{border-color:#c9ad72}
/* Every green box carries the main action card's gold tint (owner, October 20,
   2026): the same gradient, gold rim, gold line along the top and depth as
   .step-target. Cards on the page get the full effect; boxes inside a sheet and
   selected choices get the same tint and rim without the deep shadow. */
.week-strip,.checkin-card,.talk-home,.chat-proposal,.daily-direction,.life-switcher,.intro-recommendation{background:radial-gradient(120% 140% at 100% 0%,#b59a621f,transparent 46%),linear-gradient(160deg,#18301f 0%,#112419 55%,#0d1c13 100%);border:1px solid #b59a6252;box-shadow:0 30px 70px #000c,inset 0 1px 0 #d9c08a26;position:relative}
.week-strip:after,.checkin-card:after,.talk-home:after,.chat-proposal:after,.daily-direction:after,.life-switcher:after,.intro-recommendation:after{content:'';position:absolute;left:24px;right:24px;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#d4b97acc,transparent);pointer-events:none}
.checkin-card .eyebrow,.talk-home .eyebrow,.chat-proposal .eyebrow,.daily-direction .eyebrow{color:#c9ad72}
.note-box,.intro-strip,.first-day-note,.plan-trial,.tour-example{background:radial-gradient(120% 140% at 100% 0%,#b59a621f,transparent 46%),linear-gradient(160deg,#18301f 0%,#112419 55%,#0d1c13 100%);border:1px solid #b59a6252;box-shadow:inset 0 1px 0 #d9c08a26}
/* Selected choices keep their own gold selection rim; only the fill changes. */
.life-area.selected,.push-choice.selected,.choice.selected,.energy-options button.selected,.path-card.active-path,.checkin-mood.selected,.intro-choice.selected,.talk-option:focus-visible{background:radial-gradient(120% 140% at 100% 0%,#b59a621f,transparent 46%),linear-gradient(160deg,#18301f 0%,#112419 55%,#0d1c13 100%)}
/* The rest of a milestone Forma has just planned (October 21, 2026). */
.chat-more .milestone-rest-label{margin:12px 0 4px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:#c9ad72}
.chat-more .milestone-rest{margin-top:0}

/* Trying Forma before an account (owner, October 23, 2026): Sign in on the
   opening, the 18+ line on the name page, and the free-week account sheet. */
.welcome-shell .intro-top-right .intro-signin{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);border:0;padding:0 2px;min-height:44px;text-decoration:underline;text-decoration-color:#b59a6280;text-underline-offset:6px;position:relative;z-index:3}
.welcome-shell .intro-age{max-width:400px;margin:26px auto 0;padding:0;text-align:left;align-items:flex-start;gap:12px;color:var(--ink-2);font-size:14px;line-height:1.55}
.welcome-shell .intro-age input{margin-top:3px;flex:none}
.welcome-shell .intro-age a{color:var(--ink);text-underline-offset:3px}
.welcome-shell .intro-age-note{max-width:400px;margin:8px auto 0;padding-left:30px;text-align:left;font-size:12px;line-height:1.5;color:var(--muted)}
.welcome-shell .intro-error{max-width:400px;margin:8px auto 0;text-align:left;padding-left:30px;color:#e2b48f;font-size:13px}
.welcome-shell .intro-error:empty{display:none}
.intro-have-account{margin:2px 0 0;font-size:13px;color:var(--muted)}
.intro-have-account .text-link{border:0;padding:0 2px;min-height:40px;font-size:13px;color:var(--ink);text-decoration:underline;text-decoration-color:#b59a6280;text-underline-offset:4px}
.google-button{display:flex;align-items:center;justify-content:center;gap:11px;width:100%;max-width:380px;margin:22px auto 0;min-height:50px;border-radius:12px;background:#f2eee5;color:#1b1a17;border:1px solid #f2eee5;font-size:15px;font-weight:500}
.google-button:hover{background:#fff}
.google-button .google-g{width:18px;height:18px;flex:none}
.or-line{display:flex;align-items:center;gap:12px;max-width:380px;margin:18px auto 0;color:var(--muted);font-size:12px;letter-spacing:.06em}
.or-line:before,.or-line:after{content:'';flex:1;height:1px;background:var(--line-2)}
.or-line+.account-form{margin-top:12px}
dialog.account-sheet h2 em{font-family:var(--display);font-style:italic;font-weight:400}
dialog.account-sheet .account-form,dialog.account-sheet .account-note{margin-left:0;margin-right:0;max-width:none}
dialog.account-sheet .google-button,dialog.account-sheet .or-line{max-width:none}
dialog.account-sheet .account-switch{font-size:14px;color:var(--muted);margin-top:14px}
dialog.account-sheet .account-form .input{background:#0e0f0c;border:1px solid var(--line-2);border-radius:10px;color:var(--ink);padding:0 16px}
dialog.account-sheet .account-form .input::placeholder{color:#aea99e}
dialog.account-sheet .account-form .input:focus{border-color:var(--brass);outline:none;box-shadow:0 0 0 3px #b59a621a}
dialog.account-sheet .password-row{position:relative}
dialog.account-sheet .password-row .input{width:100%;padding-right:64px}
dialog.account-sheet .show-password{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:14px;color:var(--brass);border:0;min-height:40px;padding:0 4px;text-decoration:none}

/* Owner, October 23, 2026: the proposed action button was oversized and sat
   on top of the "keep this in mind" note. A sized-to-text button with room
   around it; the note below is a quieter aside, clearly separate. */
.life-main .ai-conversation+.review-proposal,.life-main .review-proposal{display:inline-flex;width:auto;max-width:none;min-height:46px;padding:0 24px;margin:26px 0 30px;gap:10px;font-size:15px;border-radius:99px}
.life-main .review-proposal svg{width:17px;height:17px}
.life-main .about-offer{max-width:560px;margin:0 0 18px;padding:14px 18px 6px;border:1px solid var(--line-2);border-left:2px solid #b59a6280;border-radius:12px;background:transparent}
.life-main .about-offer p{font-size:13px;color:var(--muted);margin:0 0 6px}
.life-main .about-offer .about-quote{font-size:15px;line-height:1.5;color:var(--ink-2);font-style:italic;margin:0 0 4px}
.life-main .about-offer .life-actions .text-link{border:0;padding:0;min-height:36px;font-size:13px;color:var(--muted);text-decoration:underline;text-decoration-color:#b59a6260;text-underline-offset:3px}

/* Owner, October 23, 2026: no scrolling on the opening screens (name, sign
   in, code) on phones or laptops. The orbit, headline and gaps are sized to
   the screen's height; short screens drop the extra line. */
.welcome-shell.welcome-revealed .intro-main.welcome{padding-top:clamp(4px,2vh,24px);padding-bottom:clamp(8px,2.5vh,28px)}
.welcome-shell.welcome-revealed .cinematic-orbit{width:clamp(84px,14vh,132px);height:clamp(84px,14vh,132px);margin:0 auto clamp(10px,2.6vh,26px)}
.welcome-shell.welcome-revealed .intro-overline{margin-bottom:clamp(8px,1.4vh,14px)}
.welcome-shell.welcome-revealed h1{font-size:clamp(32px,min(5.4vh,7.4vw),56px);line-height:1.1}
.welcome-shell.welcome-revealed .intro-description{margin-top:clamp(8px,1.6vh,16px);font-size:15px;line-height:1.5}
.welcome-shell.welcome-revealed .time-label{margin:clamp(12px,2.4vh,24px) 0 0}
.welcome-shell.welcome-revealed .intro-input{margin-top:clamp(2px,.8vh,8px);font-size:clamp(20px,2.8vh,26px);padding:clamp(8px,1.4vh,14px) 0 clamp(8px,1.2vh,12px)}
.welcome-shell .intro-age{margin-top:clamp(12px,2vh,22px)}
.welcome-shell .intro-age-note{margin-top:4px}
.welcome-shell.welcome-revealed .intro-cta{margin-top:clamp(14px,2.4vh,26px);gap:8px}
.welcome-shell.welcome-revealed .intro-cta .btn{min-height:48px;padding:12px 25px}
.welcome-shell.welcome-revealed .intro-header{padding-top:clamp(14px,2.6vh,29px);padding-bottom:clamp(8px,1.6vh,20px)}
.welcome-shell.welcome-revealed .intro-footer{padding-top:clamp(8px,1.4vh,20px);padding-bottom:clamp(10px,1.8vh,26px)}
.account-shell.welcome-revealed .account-form{margin-top:clamp(12px,2.2vh,22px)}
.welcome-shell.welcome-revealed #intro-name{display:block;max-width:440px;margin-left:auto;margin-right:auto}
/* Tap to begin on phones: the orbit shrinks on short screens (laptops keep their own sizing above). */
@media (max-width:899px){.welcome-shell.splash-stage .cinematic-orbit{width:min(190px,24vh);height:min(190px,24vh);margin-left:calc(min(190px,24vh) / -2)}} /* centred: the half-width offset must match this smaller size (owner, October 25, 2026) */
@media (max-height:720px){
  .welcome-shell.welcome-revealed .intro-description{display:none}
  .welcome-shell.welcome-revealed .intro-overline{display:none}
}

/* Reaching Sphere 2 (Momentum) or Sphere 3 (Expansion): the same full-screen
   moment as Sphere 1, over the app, then their sphere opens (owner, October 23, 2026). */
.sphere-chapter{position:fixed;inset:0;z-index:300;cursor:pointer;outline:none}
.sphere-chapter .sphere-chapter-note{margin-top:22px;font-size:13px;letter-spacing:.04em;color:var(--muted);animation:chapterWords 1s 1.4s both}
@media(prefers-reduced-motion:reduce){.sphere-chapter .sphere-chapter-note{animation:none}}

/* Continue with Apple (owner, October 23, 2026): Apple's white button style, above Google. */
.apple-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;max-width:380px;margin:22px auto 0;min-height:50px;border-radius:12px;background:#fff;color:#000;border:1px solid #fff;font-size:15px;font-weight:500}
.apple-button:hover{background:#f2f2f2}
.apple-button .apple-logo{width:19px;height:19px;flex:none;margin-top:-2px}
.apple-button+.google-button{margin-top:10px}
dialog.account-sheet .apple-button{max-width:none}
/* Switching focus on Today (owner, October 25, 2026): a short, smooth move, not a snap. */
.focus-leave{opacity:0!important;transform:translateY(-8px);transition:opacity .2s ease,transform .2s ease}
.focus-arrive{animation:focusArrive .44s cubic-bezier(.2,.7,.2,1) both}
@keyframes focusArrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.focus-leave,.focus-arrive{transition:none;animation:none}}
/* Owner, October 25, 2026: no green outlines. Nothing is outlined after a tap or
 * a click (or when a sheet opens); a thin brass ring appears only for someone
 * moving with the keyboard. Text boxes show focus with a soft gold underline. */
:focus,:focus-visible{outline:none!important}
html.kb :focus-visible{outline:1.5px solid var(--brass)!important;outline-offset:3px!important}
html.kb input:focus-visible,html.kb textarea:focus-visible{outline:none!important}
.intro-input{border-bottom:1px solid #4a473d!important;transition:border-color .25s ease,box-shadow .25s ease;caret-color:#d9c08a}
.intro-input:focus{border-bottom-color:#d9c08a!important;box-shadow:0 1px 0 0 #d9c08a,0 10px 18px -16px #d9c08a99!important;outline:none!important}
/* About Forma: sign out and delete sit on the left under the text, set apart by a hairline. */
.about-account{display:flex;align-items:center;flex-wrap:wrap;gap:4px 14px;margin:20px 0 0!important;max-width:none!important;padding-top:12px;border-top:1px solid var(--line)}
.about-account .text-link{padding-left:0!important;padding-right:0!important}
/* Your space: the same breathing room between the check-in card and the cards below (owner, October 25, 2026). */
.profile-grid{margin-top:16px}
/* Situation tips (owner, October 25, 2026): one quiet line, never a box. */
.forma-tip{display:flex;gap:9px;align-items:baseline;margin:14px 2px 2px;font-size:13px;line-height:1.55;color:var(--muted);max-width:560px;animation:formaTip .6s .25s ease both}
.forma-tip>span:first-child{color:var(--brass);font-size:11px;flex:none}
@keyframes formaTip{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.forma-tip{animation:none}}
/* Take two (owner, October 25, 2026): Forma's note after a quiet stretch, with one-tap ways back. */
.taketwo-card{position:relative;margin:0 0 22px;padding:22px 22px 16px;border:1px solid #b59a6266;border-radius:var(--radius);background:radial-gradient(120% 140% at 100% 0%,#b59a6224,transparent 46%),linear-gradient(160deg,#18301f 0%,#112419 55%,#0d1c13 100%);animation:takeTwoIn .5s ease both}
.taketwo-card .eyebrow{color:#c9ad72;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.taketwo-message{margin:10px 0 16px;font-family:var(--display);font-variation-settings:'opsz' 14;font-weight:500;font-size:20px;line-height:1.45;color:var(--ink);text-wrap:pretty}
.taketwo-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.taketwo-choice{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;min-height:62px;padding:11px 13px;border:1px solid var(--bottle-line);border-radius:10px;background:#0d1a12;color:var(--ink);font:inherit;cursor:pointer;transition:border-color .15s,background .15s}
.taketwo-choice strong{font-size:15px;font-weight:600}
.taketwo-choice small{font-size:13px;line-height:1.35;color:var(--ink-2);overflow-wrap:anywhere}
.taketwo-choice:hover{border-color:#b59a6299;background:#11221a}
.taketwo-keep{display:block;margin:12px auto 0;color:var(--muted)!important;font-size:14px}
@keyframes takeTwoIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:600px){.taketwo-card{padding:18px 16px 14px}.taketwo-message{font-size:18px}.taketwo-choices{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.taketwo-card{animation:none}}
/* Pausing an area. */
.pause-goal{font-family:var(--display);font-weight:600;font-size:19px;color:var(--ink);margin:0 0 6px}
.pause-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0 10px}
.pause-choice{min-height:44px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--ink-2);font:inherit;font-size:15px;cursor:pointer}
.pause-choice[aria-checked="true"]{border-color:var(--brass);box-shadow:0 0 0 1px var(--brass);color:var(--ink)}
.pause-custom{display:flex;align-items:center;gap:10px;margin:2px 0 8px}
.pause-custom label{font-size:14px;color:var(--muted)}
.pause-custom .pause-days{width:92px;min-height:38px;padding:6px 10px;font-size:16px;border-radius:8px}
.pause-until{min-height:22px;margin:4px 0 0;font-size:14px;color:#a9c79a}
.paused-card{opacity:.92;border-style:dashed}
.paused-card h3{color:var(--ink-2)}
@media(max-width:600px){.pause-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pause-custom .pause-days{-moz-appearance:textfield;appearance:textfield}
.pause-custom .pause-days::-webkit-inner-spin-button,.pause-custom .pause-days::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* The wordmark: "forma." stays one word; the gap in .brand is only for the mark (owner, October 25, 2026). */
.brand-word{white-space:nowrap}
/* "That's all for now. Take me to Forma" reads as a link (owner, October 25, 2026): a soft gold, no underline. */
.ai-done{color:#c9ad72!important;text-decoration:none!important;font-weight:500;display:inline-flex;align-items:center;gap:6px;transition:color .15s}
.ai-done:after{content:'→';font-size:.95em;transition:transform .15s}
.ai-done:hover{color:#e0c88f!important}
.ai-done:hover:after{transform:translateX(3px)}
.ai-done:disabled{opacity:.5}
/* Talk keeps the bottom bar on phones (owner, October 25, 2026). */
@media(max-width:600px){.life-shell.in-shell .intro-footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))}.flow-nav{z-index:30}}
@media(min-width:601px){.flow-nav{display:none}}
/* Owner, October 25, 2026: on phones the bottom bar is the way out of Talk, so no "Back to Today" at the top. */
@media(max-width:600px){.life-shell.in-shell .flow-return,#dialog.tab-sheet .talk-page-top .flow-return{display:none}.life-shell.in-shell .flow-top,#dialog.tab-sheet .talk-page-top{justify-content:flex-end}}
/* The name page: "I'm ready" waits for the 18+ box (owner, October 25, 2026). */
.intro-cta [data-action="intro-name-done"][aria-disabled="true"]{opacity:.45;box-shadow:none;cursor:not-allowed}
/* ---- Phones: tighter Today (owner, October 26, 2026: "things are looking very big and covering too much space on mobile") ---- */
@media(max-width:600px){
  .shell .greeting{margin-bottom:16px}
  .shell .greeting .eyebrow{margin-bottom:6px}
  .shell .greeting p{margin-top:4px}
  .opening-note{margin:0 0 16px;padding:14px 42px 12px 16px}
  .focus-area{margin:0 0 8px;font-size:14px}
  .step-target{margin:10px 0 16px;padding:18px 16px 12px}
  .step-target h3{margin:8px 0 6px}
  .step-target .rhythm-when{margin:0 0 4px;font-size:14px}
  .step-actions{margin-top:12px;gap:6px}
  .step-actions .btn.primary{width:100%;justify-content:center;min-height:44px}
  .step-actions .text-link{min-height:38px;padding:0 10px;font-size:13px!important}
  .action-options>summary{min-height:38px;padding-block:6px}
  .today-also{margin-top:6px}
  .today-row{padding:10px 12px;gap:10px;margin:0 0 8px;border-radius:12px}
  .today-row-mark{width:26px;height:26px;font-size:12px}
  .today-row-copy small{font-size:12px}
  .today-row-copy em{font-size:12px}
  .week-strip{padding:14px 16px}
  .day-footer{margin-top:18px;padding-top:12px}
}
/* Your life: the area in focus names its step and links to Today (owner, October 26, 2026). */
/* ---- Phone review fixes (owner, October 26, 2026: "fix all of them") ---- */
/* 1. Nothing in Your space runs off the screen. */
.profile-grid>*{min-width:0}
.knows-card,.knows-card form,.knows-card .field{min-width:0;max-width:100%}
.knows-row input,.knows-card input{min-width:0;width:100%}
/* 2, 5, 6. Your space ends with one quiet row of links, then the account. */
.space-foot{margin:22px 0 8px;padding-top:16px;border-top:1px solid var(--line)}
.space-foot .space-links{display:flex;flex-wrap:wrap;gap:4px 18px;margin:0 0 10px}
.space-foot .space-links .text-link{padding:6px 0}
.space-foot .privacy-note{margin:12px 0 4px}
/* 3. The check-in settings: one short line each, the control beside it. */
.daily-card .daily-intro{margin:2px 0 6px}
.daily-card .daily-row p{font-size:13px}
/* 7. The evening check-in: the note and Save appear once a mood is picked. */
.checkin-card:not(.picked):not(.done) textarea,.checkin-card:not(.picked):not(.done) .checkin-actions{display:none}
.checkin-card.picked textarea{animation:formaRise .25s ease both}
@keyframes formaRise{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:600px){
  /* Your space */
  .shell .account-card,.shell .daily-card,.shell .knows-card,.shell .recap-space{padding:18px 16px}
  .daily-row{flex-wrap:nowrap!important;padding:11px 0;gap:12px}
  .daily-row h4{margin:0 0 1px}
  .daily-row .daily-time{width:auto;min-width:96px;min-height:38px;padding:4px 10px}
  .daily-row .btn{min-height:36px;padding:0 12px}
  .knows-part{margin-top:16px;padding-top:14px}
  .knows-row .btn{min-height:44px;padding:0 14px}
  /* 7, 8. Today */
  .greeting-filler{display:none}
  .checkin-card{padding:16px;margin:0 0 14px}
  .checkin-card h3{font-size:19px!important;margin:0 0 10px}
  .checkin-mood{min-height:40px;font-size:15px}
  /* 9. Take two: the four choices two by two. */
  .taketwo-card{padding:16px 14px 10px}
  .taketwo-message{font-size:17px;margin:8px 0 12px}
  .taketwo-choices{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}
  .taketwo-choice{min-height:0;padding:9px 10px;gap:2px}
  .taketwo-choice strong{font-size:14px}
  .taketwo-choice small{font-size:12px;line-height:1.3}
  .taketwo-keep{margin-top:8px}
  /* 10. Talk: the message box near the top. */
  .life-shell.in-shell .intro-overline,.life-shell.in-shell .ai-intro-symbol{display:none}
  .life-shell.in-shell .life-main h1 br{display:none}
  .life-shell.in-shell .life-main h1 em::before{content:" "}
  .life-shell.in-shell .life-main{padding-top:0;margin-top:0;margin-bottom:auto}
  .life-shell.in-shell .life-main h1{margin:4px 0 6px}
  .life-shell.in-shell .life-description{margin:0 0 12px;font-size:15px!important}
  .life-shell.in-shell .flow-top{margin:0 0 6px;min-height:0}
  .life-shell .intro-header{padding-bottom:6px}
  /* 11. Inside a conversation: one slim header line. */
  dialog.talk-sheet.tab-sheet .dialog-body>h2{display:none}
  dialog.talk-sheet.tab-sheet .dialog-head{padding-bottom:4px}
  dialog.talk-sheet.tab-sheet .talk-about{flex-wrap:nowrap;align-items:center;white-space:nowrap;margin:0 0 4px;line-height:1.5}
  dialog.talk-sheet.tab-sheet .talk-about>span:first-child{flex:none}
  dialog.talk-sheet.tab-sheet .talk-about .talk-goal{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--ink-2);font-size:14px}
  dialog.talk-sheet.tab-sheet .talk-about .text-link{flex:none}
  .checkin-card:not(.picked):not(.done) .checkin-moods{margin-bottom:0}
  dialog.talk-sheet.tab-sheet .chat-log{min-height:0;margin:6px 0}
  dialog.talk-sheet.tab-sheet .chat-caption{display:none}
  /* 12. Plans: the choice and the button come sooner. */
  .plans .plan-trial{padding:14px 16px}
  .plans .plan-trial>strong{font-size:16px}
  .plan-steps{margin-top:8px}
  .plan-steps li{padding:3px 0;font-size:14px}
  .plans .plan-card{padding:14px 12px}
  .plans .plan-note{font-size:12px;line-height:1.4}
  .plans .plan-terms{font-size:13px;margin-top:8px}
  .plans .plan-features{margin:12px 0 6px;font-size:14px}
  .plans .plan-features li{margin:2px 0}
  /* 13. The name page: a smaller orbit, so the name and "I'm ready" sit higher. */
  /* Owner, October 26, 2026: 72px was too small; a little bigger, shrinking on short phones so "I'm ready" stays in view. */
  .welcome-shell.welcome-revealed .cinematic-orbit{width:clamp(80px,11.5vh,104px);height:clamp(80px,11.5vh,104px);margin:0 auto 16px}
  .welcome-shell.welcome-revealed .intro-main{padding-top:4px}
  /* 15. "What happened": a shorter box, buttons on one line each. */
  #action-report-form textarea{min-height:76px}
  #action-report-form .dialog-actions{flex-direction:column;align-items:stretch;gap:8px}
  #action-report-form .dialog-actions .btn{width:100%;justify-content:center;min-height:44px}
}
.talk-about .talk-goal{color:var(--ink-2);font-size:14px}
/* 14. Your sphere on a phone: the picture takes less height, so the details come up. */
@media(max-width:600px){.growth-stage svg{max-height:38dvh}.growth-info{padding-top:4px}}
/* ---- Owner, October 26, 2026: what is hidden or rearranged on phones is the same on desktop (only sizes differ). ---- */
.greeting-filler{display:none}
.growth-badge{padding:3px;gap:0}
.life-shell.in-shell .intro-overline,.life-shell.in-shell .ai-intro-symbol{display:none}
.life-shell.in-shell .life-main h1 br{display:none}
.life-shell.in-shell .life-main h1 em::before{content:" "}
dialog.talk-sheet .dialog-body>h2{display:none}
dialog.talk-sheet .talk-about{flex-wrap:nowrap;align-items:center;white-space:nowrap;line-height:1.5}
dialog.talk-sheet .talk-about>span:first-child{flex:none}
dialog.talk-sheet .talk-about .talk-goal{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}
dialog.talk-sheet .talk-about .text-link{flex:none}
dialog.talk-sheet .chat-caption{display:none}
/* Talk inside the app frame (owner, October 26, 2026): it takes the page's place, nothing more. */
.shell .life-shell.in-shell{min-height:0;display:block}
.life-shell.in-shell .life-main{max-width:760px;margin:0;padding:0}
.life-shell.in-shell .flow-top{justify-content:flex-end}
/* Owner, October 26, 2026: a short page (Talk) keeps its top bar at the top, like the other tabs. */
.shell>.main{margin-top:0;margin-bottom:0}
/* Owner, October 26, 2026: the whole growth card opens the moment; the opening page starts from a tap anywhere. */
.growth-card{cursor:pointer}
.splash-stage .splash-tap{position:fixed;inset:0;border-radius:0}
.splash-stage .intro-footer{position:relative;z-index:2}
/* Owner, October 26, 2026: the "only want to stop being charged?" box in Delete account: the sentence, then the link on its own line. */
.note-box.delete-alt p{margin:0 0 10px}
.note-box.delete-alt .text-link{display:inline-flex;align-items:center;gap:6px;padding:0;min-height:0}
/* Owner, October 26, 2026: on the plans page, the terms, what's included and the legal line sit together on a faint panel. */
.plans .plan-info{margin:14px 0 0;padding:16px 18px;border-radius:14px;background:#ebe4d308;border:1px solid #ebe4d314}
.plans .plan-info>:first-child{margin-top:0}.plans .plan-info>:last-child{margin-bottom:0}

/* Owner, October 27, 2026 (Google Play): any Forma reply can be reported. Quiet, small, the same on every screen size. */
.message .message-report,.ai-message .message-report{display:block;margin-top:8px;padding:0;min-height:0;background:none;border:0;font-size:12px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--muted);text-decoration:none;cursor:pointer}
.message .message-report:hover,.ai-message .message-report:hover{color:var(--ink-2)}
.message .message-report.done,.ai-message .message-report.done{cursor:default}
/* Owner, October 27, 2026 (the Android app): screens keep clear of the phone's bottom bar, as they already do of the status bar. */
html.standalone .intro-footer{margin-bottom:env(safe-area-inset-bottom)}
html.standalone .life-shell.in-shell .intro-footer{margin-bottom:0}
/* The app shrinks the page for the keyboard; the tab bar steps aside while it is up (dist/native.js). */
html.keyboard-open .mobile-nav{display:none!important}
html.keyboard-open .life-shell.in-shell .intro-footer{padding-bottom:12px}
/* Fingerprint sign-in in the app: the mark breathes while the phone's own prompt is open. Existing gold, brass and ivory only. */
.quick-signin{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:24px}
.quick-signin .bio-mark{width:96px;height:96px;border-radius:50%;border:1px solid #b59a6255;background:#ebe4d308;color:#c9ad72;display:grid;place-items:center;padding:0;min-height:0;cursor:pointer;position:relative;transition:transform .3s,border-color .3s,background .3s}
.quick-signin .bio-mark svg{width:52px;height:52px}
.quick-signin .bio-mark::after{content:'';position:absolute;inset:-10px;border-radius:50%;border:1px solid #c9ad7240;animation:bio-breathe 2.6s ease-in-out infinite;pointer-events:none}
.quick-signin .bio-mark.asking{border-color:#c9ad72aa;background:#c9ad7214}
.quick-signin .bio-mark.done{transform:scale(1.06);border-color:#c9ad72;background:#c9ad7224;box-shadow:0 0 34px #c9ad7233}
.quick-signin .bio-mark.done::after{animation:none;opacity:0;transition:opacity .3s}
@keyframes bio-breathe{0%,100%{opacity:.25;transform:scale(.96)}50%{opacity:.9;transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){.quick-signin .bio-mark::after{animation:none}}
.quick-signin .quick-what{margin:4px 0 8px;color:var(--ink-2)}

/* Owner, October 28, 2026: the opening says what Forma is, offers the free week and a clear way in
   (the whole screen stays tappable; the orbit's motion is unchanged). Existing colours only. */
.splash-copy .splash-sub{display:block;margin:16px auto 0;max-width:30ch;font-size:16px;line-height:1.5;letter-spacing:0;text-transform:none;color:#c5bfb1}
.splash-copy .splash-cta{margin-top:28px;pointer-events:none}
.welcome-shell .intro-age-note{padding-left:0;text-align:center;margin-top:14px}
/* Owner, October 28, 2026: the 18+ line under the opening's button; taps on it still start Forma, its links open. */
.splash-copy .splash-legal{display:block;position:relative;z-index:2;pointer-events:none;max-width:34ch;margin:18px auto 0;font-size:12px;line-height:1.5;letter-spacing:0;text-transform:none;color:var(--muted)}
.splash-copy .splash-legal a{pointer-events:auto;text-decoration:underline;text-underline-offset:2px}
/* Owner, October 28, 2026: the extra-week offer on the locked plans page: a line, then the link under it. */
.winback-line{margin:18px 0 0;text-align:center}.winback-line .account-note{margin:0 0 6px}
.winback-line .text-link{display:inline-flex;align-items:center;gap:6px}

/* Owner, October 28, 2026: the walkthrough lit the whole row; "More choices" is only as wide as its words. */
.action-options>summary{width:fit-content;max-width:100%}
/* Streaming replies (owner, October 28, 2026): each group of words fades in softly; the
   "mapping your route" line under them is the same small pulsing line as before the words. */
/* The words take the reply's own size (the 12px floor for labels above is for .ai-message span). */
.ai-message .live-words,.message .live-words{font:inherit!important;font-size:inherit!important;line-height:inherit!important;letter-spacing:inherit!important;font-weight:inherit!important;color:inherit!important;text-transform:none!important;animation:live-words .55s cubic-bezier(.2,.6,.2,1) both}
@keyframes live-words{from{opacity:0;filter:blur(1.5px)}to{opacity:1;filter:none}}
@media (prefers-reduced-motion:reduce){.ai-message .live-words,.message .live-words{animation:none}}
.live-text{white-space:pre-wrap}
.live-after{font-size:12px;color:var(--muted);line-height:1.6;margin-top:14px;letter-spacing:0;text-transform:none}
/* The proposal card in a new conversation (owner, October 28, 2026). Same card as the
   suggestions in an area's chat; a route shows its stars and must be opened first. */
.draft-proposal .draft-stars{margin:2px 0 8px;color:#c9ad72;letter-spacing:.35em;font-size:14px;line-height:1}
.draft-proposal .draft-first{margin:0 0 2px!important;font-size:12px!important;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)!important}
.draft-proposal .draft-when{margin-top:8px!important;display:flex;gap:6px;align-items:center;color:#c9ad72!important}
.draft-proposal .draft-when svg{width:14px;height:14px;flex:none}
.draft-proposal .dialog-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start}
.draft-proposal .dialog-actions .text-link{font-size:14px}
/* Owner, October 28, 2026: before the app every screen fits the phone (dist/fit.js scales the middle
   down when needed). Nothing is wider than the screen: the account pages took their width from the
   password checklist and ran off the right edge. */
.account-shell .welcome-copy{width:100%;box-sizing:border-box;min-width:0}
.rule-list{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.rule-list li{white-space:normal;min-width:0}
/* The first conversation: the page stays still and only the conversation scrolls. */
.life-shell.talk-fit{height:100dvh;min-height:0;overflow:hidden}
.life-shell.talk-fit .life-main{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;width:100%;box-sizing:border-box}
.life-shell.talk-fit .life-main>*{flex:none}
.life-shell.talk-fit .life-main .ai-conversation{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:auto;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 28px);mask-image:linear-gradient(to bottom,transparent 0,#000 28px);padding-top:12px}
.life-shell.talk-fit .ai-intro-symbol{margin-bottom:12px}
@media(max-height:740px){.life-shell.talk-fit .ai-intro-symbol{display:none}}
.life-shell.talk-fit .life-main{padding-bottom:6px}
.life-shell.talk-fit .ai-build{align-self:flex-start}.life-shell.talk-fit .ai-build+.ai-done{align-self:flex-end;margin-top:-44px}
.life-shell.talk-fit .intro-footer{padding-top:8px;padding-bottom:calc(10px + env(safe-area-inset-bottom))}
@media(max-height:740px){.life-shell.talk-fit .life-main>.intro-overline{display:none}.life-shell:not(.talk-fit) .ai-intro-symbol{display:none}}
@media(max-width:380px){.life-shell.talk-fit .ai-build,.life-shell.talk-fit .ai-done{font-size:13.5px!important;gap:5px;padding-left:0;padding-right:0}}
/* Owner, October 28, 2026: the password checklist appears only while the password is being typed. */
.rule-list:not(.open){display:none}
.rule-list.open{animation:rules-in .28s ease both}
@keyframes rules-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.rule-list.open{animation:none}}
/* Owner, October 28, 2026: Privacy bottom left, Terms bottom right. */
.intro-footer.legal-footer{display:flex;justify-content:space-between!important;align-items:center}
.intro-footer.legal-footer a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:underline;text-decoration-color:#b59a6266;text-underline-offset:3px}
/* Owner, October 28, 2026: Talk inside the app fits the phone: the conversation scrolls between the
   top and the message box, and the message box always sits just above the tab bar. */
@media(max-width:600px){
  .shell>.main:has(>.life-shell.talk-fit),.shell>.main:has(.life-shell.in-shell.talk-fit){overflow:hidden;display:flex;flex-direction:column;padding-bottom:0}
  .shell>.main:has(.life-shell.in-shell.talk-fit)>:has(.life-shell.talk-fit){flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
  .shell>.main:has(.life-shell.in-shell.talk-fit)>:not(:has(.life-shell.talk-fit)){flex:none}
  .shell>.main .life-shell.in-shell.talk-fit{height:auto;flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
  .life-shell.in-shell.talk-fit .life-main{padding-bottom:10px}
}
html.keyboard-open dialog.talk-sheet.talk-page.tab-sheet{bottom:0}
/* Owner, October 28, 2026 ("the conversation is hidden when typing"; iPhone and Android): while the
   keyboard is up, Talk is pinned to exactly the visible area above it (--vvh/--vvtop from fit.js:
   Android shrinks the page, an iPhone slides it instead), and only the conversation and the message
   box stay: the top bar, "New conversation", the status line and the two links step aside until the
   keyboard goes down. */
html.keyboard-open .shell:has(.life-shell.talk-fit),html.keyboard-open #app>.life-shell.talk-fit{position:fixed!important;left:0;right:0;top:var(--vvtop,0px)!important;height:var(--vvh,100dvh)!important;min-height:0!important;bottom:auto!important}
html.keyboard-open dialog.talk-sheet.talk-page{top:var(--vvtop,0px)!important;height:var(--vvh,100dvh)!important;bottom:auto!important;inset:auto 0 auto 0}
html.keyboard-open .shell>.main:has(.life-shell.talk-fit)>:not(:has(.life-shell)),
html.keyboard-open .life-shell.talk-fit .intro-header,html.keyboard-open .life-shell.talk-fit .intro-footer,
html.keyboard-open .life-shell.talk-fit .flow-top,html.keyboard-open .life-shell.talk-fit .intro-overline,html.keyboard-open .life-shell.talk-fit .ai-intro-symbol,
html.keyboard-open .life-shell.talk-fit .ai-status:empty,html.keyboard-open .life-shell.talk-fit .ai-build,html.keyboard-open .life-shell.talk-fit .ai-done,
html.keyboard-open dialog.talk-page .talk-page-top,html.keyboard-open dialog.talk-page .talk-about{display:none!important}
html.keyboard-open .life-shell.talk-fit .life-main{padding-top:10px;padding-bottom:8px}
html.keyboard-open .life-shell.talk-fit .ai-compose{margin-top:8px}
/* Owner, October 29, 2026: the chosen example lights while its words are written into the box. */
.prompt-example{transition:border-color .2s ease,color .2s ease,background-color .2s ease}
.prompt-example.picked{border-color:var(--brass)!important;color:var(--ink)!important;background:#b59a6214}
.checkin-talk{margin:12px 0 0}.checkin-talk .btn{width:auto}
/* Owner, October 29, 2026: when a habit, step or route appeared in Talk, the conversation shrank to a
   sliver above the card. Now the whole middle scrolls as one (the conversation, any card or offer),
   with the message box held at the bottom; Forma keeps it at the newest unless the person scrolls up. */
.life-shell.talk-fit .life-main{overflow-y:auto;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24px);mask-image:linear-gradient(to bottom,transparent 0,#000 24px)}
.life-shell.talk-fit .life-main .ai-conversation{flex:none;min-height:0;max-height:none;overflow:visible;-webkit-mask-image:none;mask-image:none}
.life-shell.talk-fit .ai-compose{position:sticky;bottom:0;z-index:2;background:var(--bg);padding-top:10px;padding-bottom:6px;box-shadow:0 -14px 18px -6px var(--bg),0 16px 0 0 var(--bg)}
/* Owner, October 30, 2026 (iPhone): Safari's bars change the screen height and 100dvh can lag, leaving an
   empty band under the footer. --app-h is the real height, kept current by fit.js. */
html:not(.standalone) .intro-shell,html:not(.standalone) #app>.life-shell:not(.talk-fit){min-height:var(--app-h,100dvh)}
html:not(.standalone) #app>.life-shell.talk-fit{height:var(--app-h,100dvh)}
@media(max-width:600px){html:not(.standalone) .shell{height:var(--app-h,100dvh)}}

/* iPhone home-screen app (owner, October 30, 2026): the opening screens (welcome, sign in, create account,
   "What's on your mind?") stopped short of the bottom, like the app frame did before October 21 (WebKit bug
   301108). They now fill the full screen too. */
@media(max-width:600px){html.ios.standalone .intro-shell,html.ios.standalone #app>.life-shell:not(.talk-fit):not(.in-shell){min-height:100lvh}}

/* Owner, October 30, 2026 (iPhone): with the keyboard up, "Forma is preparing your reply…" was hidden with the
   rest of the chrome, so Forma looked stuck. It now stays, as one small line right above the message box. */
html.keyboard-open .life-shell.talk-fit .ai-status:not(:empty){display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:14px}

/* Your life: the milestone card as a compact checklist, and the action sheet (owner, October 30, 2026). */
.roadmap-detail.milestone-card{padding:18px 18px 14px}
.milestone-card h2{font-size:21px;margin:8px 0 4px}
.milestone-card .ms-sub{font-size:14px;line-height:1.45;color:#a9b2a3;margin:0}
.ms-actions{list-style:none;margin:14px 0 2px;padding:0;border-top:1px solid #ffffff14}
.ms-actions li{border-bottom:1px solid #ffffff14}
.ms-row{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;padding:11px 2px;font-family:var(--ui);font-size:15px;line-height:1.35;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
.ms-row:focus-visible{outline:2px solid #d4b97a;outline-offset:2px;border-radius:6px}
.ms-dot{flex:0 0 16px;height:16px;box-sizing:border-box;border:1.4px solid #6f7d68;border-radius:50%}
.ms-row.is-now .ms-dot{border-color:#d4b97a;background:radial-gradient(circle,#d4b97a 0 3px,transparent 3.5px)}
.ms-row.is-done .ms-dot{background:#9fbf8f;border-color:#9fbf8f}
.ms-row.is-done .ms-text{color:#9a9586;text-decoration:line-through;text-decoration-color:#9a958688}
.ms-text{flex:1;min-width:0}
.ms-tag{flex:none;font-size:11px;letter-spacing:.12em;color:#d4b97a;border:1px solid #d4b97a66;border-radius:99px;padding:2px 8px}
.ms-chev{flex:none;color:#6f7d68;font-size:18px;line-height:1}
.ms-links{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;font-size:14px}
.ms-links .text-link,.as-links .text-link{font-size:14px;text-decoration:none;color:#c9ad72;padding:4px 0}
.ms-links .text-link.ms-quiet,.as-links .text-link.ms-quiet,.action-cancel.ms-quiet{color:#9a9586}
#dialog.action-sheet h2{font-size:23px;line-height:1.2;margin:4px 0 8px}
.as-detail{font-size:15px;line-height:1.5;color:#b9b4a6;margin:0}
.as-done{color:#9fbf8f;font-size:14px;margin:0 0 6px}
.as-buttons{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.as-buttons .btn{width:100%;justify-content:center}
.as-links{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.action-form label{display:block;font-size:13px;color:#9a9586;letter-spacing:.04em;margin:14px 0 6px}
.action-form label:first-child{margin-top:4px}
.action-form .input{display:block;width:100%;box-sizing:border-box;font-size:15px;line-height:1.45;resize:vertical}
.action-form #local-action-name{min-height:0}
.action-form .btn.primary{width:100%;justify-content:center;margin-top:18px}
.action-form .action-cancel{display:block;margin:12px auto 0;font-size:14px;text-decoration:none}

/* Today: more room between the action card and what follows it (owner, October 30, 2026). */
.today-also{margin-top:34px}
.today-also.solo{margin:26px 0 8px;text-align:center}
.today-also.solo .text-link{font-size:15px;color:#9a9586;text-decoration:none;padding:8px 4px}

/* A pop-up closing: its dark backdrop fades out with it (owner, October 30, 2026). */
@keyframes formaBackdropOut{from{opacity:1}to{opacity:0}}
dialog[open].closing::backdrop{animation:formaBackdropOut .24s cubic-bezier(.4,0,.2,1) forwards}
@media(prefers-reduced-motion:reduce){dialog[open].closing::backdrop{animation:none}}

/* Today's card: the milestone line lines up with the title and buttons (a button's own side padding pushed it in; owner, October 30, 2026). */
.route-chip{padding-left:0;padding-right:0;margin-left:0;text-align:left}

/* Today's card, simplified (owner, October 30, 2026): title, goal line, "I finished it", then How to do it · More. */
.step-target .title-link{all:unset;cursor:pointer;-webkit-tap-highlight-color:transparent}
.step-target .title-link:focus-visible{outline:2px solid #d4b97a;outline-offset:3px;border-radius:4px}
.goal-line{display:flex!important;align-items:baseline;gap:6px;width:100%;max-width:100%;min-height:0!important;margin:6px 0 2px;padding:4px 0!important;font-size:14px!important;font-weight:400!important;color:#a9b2a3!important;text-align:left;text-decoration:none}
.goal-line .gl-mark{flex:none;font-size:12px;color:#c9ad72}
.goal-line .gl-goal{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.goal-line .gl-ms{flex:none;white-space:nowrap}
.step-target.card-open .step-actions{display:block;margin-top:18px}
.step-target.card-open .step-actions .btn.primary{width:100%;justify-content:center;gap:8px}
.step-target.card-open .step-actions .text-link{margin-top:10px}
.card-links{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.card-links .text-link{min-height:40px;padding:0;font-size:15px;color:var(--ink);text-decoration:none}
.card-links .card-more{color:#9a9586}
#dialog.more-sheet .dialog-body>h2{font-size:22px;margin:0 0 4px}
.more-list small{display:block;font-size:11px;letter-spacing:.14em;color:#9a9586;margin:16px 0 4px}
.more-list small:first-child{margin-top:4px}
.more-item{all:unset;box-sizing:border-box;display:block;width:100%;padding:12px 0;border-bottom:1px solid #ffffff12;font-family:var(--ui);font-size:15px;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
.more-item:focus-visible{outline:2px solid #d4b97a;outline-offset:2px;border-radius:4px}

/* More: compact (owner, October 30, 2026). */
#dialog.more-sheet .dialog-head{padding:16px 18px 0 22px}
#dialog.more-sheet .dialog-body{padding:0 22px 10px}
#dialog.more-sheet .dialog-body>h2:empty{display:none}
#dialog.more-sheet .more-list small:first-child{margin-top:0}
#dialog.more-sheet .more-list small{margin:14px 0 2px}
#dialog.more-sheet .more-item{padding:13px 0}
#dialog.more-sheet .more-item:last-child,#dialog.more-sheet .more-item:has(+ small){border-bottom:0}

/* Reloading into a new version (owner, October 30, 2026). */
.update-veil{position:fixed;inset:0;z-index:2147483000;background:#0b0b09;display:grid;place-items:center;animation:formaVeil .2s ease}
.update-veil p{margin:0;font-family:var(--ui);font-size:14px;letter-spacing:.03em;color:#9a9586}
@keyframes formaVeil{from{opacity:0}}

/* Your life: the conversation cards sit as far below CONVERSATIONS as the area cards do below PROJECTS (owner, October 30, 2026). */
.talks-list>.eyebrow{display:block}
.talks-list .talk-options{margin-top:16px}

/* Voice input: a bar at the top while listening (owner, October 30, 2026). */
.voice-bar{position:fixed;z-index:2147482000;left:50%;top:calc(env(safe-area-inset-top,0px) + 10px);transform:translateX(-50%);display:flex;align-items:center;gap:10px;max-width:calc(100% - 24px);padding:8px 8px 8px 14px;border-radius:999px;background:#1b1d18;border:1px solid #b59a6252;box-shadow:0 12px 40px #000a;font-family:var(--ui);font-size:14px;color:var(--ink);animation:vbIn .22s cubic-bezier(.22,.68,.22,1)}
.voice-bar.leaving{opacity:0;transition:opacity .2s}
.vb-dot{width:9px;height:9px;border-radius:50%;background:#d4b97a;flex:none;animation:vbPulse 1.2s ease-in-out infinite}
.vb-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.voice-bar button{all:unset;cursor:pointer;flex:none;padding:7px 12px;border-radius:999px;font-size:14px;-webkit-tap-highlight-color:transparent}
.voice-bar .vb-cancel{color:#9a9586}
.voice-bar .vb-done{background:#ebe4d3;color:#141410;font-weight:500}
@keyframes vbIn{from{opacity:0;transform:translate(-50%,-8px)}}
@keyframes vbPulse{0%,100%{opacity:.35;transform:scale(.85)}50%{opacity:1;transform:scale(1.1)}}
@media(prefers-reduced-motion:reduce){.voice-bar,.vb-dot{animation:none}}

/* The report sheet, shorter (owner, October 30, 2026). */
.report-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:4px;font-size:15px;line-height:1.45;resize:vertical}
.report-form .btn.primary{width:100%;justify-content:center;margin-top:14px}
.report-form .report-log{display:block;margin:10px auto 0;font-size:14px;color:var(--muted);text-decoration:none}
.report-lead{margin:0 0 10px;color:var(--muted)}

/* Owner, October 31, 2026: a small × in the top right corner of each area in Your life removes it (after a confirm). */
.life-area-wrap{position:relative}
.life-area-wrap .life-area{padding-right:44px}
.life-area-remove{all:unset;box-sizing:border-box;position:absolute;top:8px;right:8px;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-family:var(--ui);font-size:18px;line-height:1;color:#9a9586;cursor:pointer;-webkit-tap-highlight-color:transparent}
.life-area-remove:hover{color:var(--ink);background:#ffffff0d}
.life-area-remove:focus-visible{outline:2px solid #d4b97a;outline-offset:2px}
/* Owner, October 31, 2026: the two buttons under "Forma suggests next" line up (same width, wrap together), and "Talk it through" has an edge that shows on the green card. */
.next-proposal-actions .btn{flex:1 1 160px;justify-content:center}
.next-proposal-actions .btn.outline{border-color:#b59a6266;background:#0b0b0966}

/* Today's card links: How to do it and More both clearly visible, with a slow gold glint every 6 s (owner,
   November 3, 2026; was a grey More). Same size and place; reduced motion: no glint. */
.card-links .text-link,.card-links .card-more{font-weight:500;
  background:linear-gradient(100deg,var(--ink) 0%,var(--ink) 38%,#ffd978 47%,#fff4cf 50%,#ffd978 53%,var(--ink) 62%,var(--ink) 100%);background-size:280% 100%;background-position:100% 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:var(--ink);animation:cardGlint 6s ease-in-out 1.2s infinite}
.card-links .card-more{animation-delay:1.7s}
@keyframes cardGlint{0%,70%{background-position:100% 0}90%,100%{background-position:0% 0}}
@media(prefers-reduced-motion:reduce){.card-links .text-link,.card-links .card-more{animation:none;-webkit-text-fill-color:currentColor;background:none}}

/* Home-screen web app (iPhone and Android): no mic button, since speech input doesn't work there (owner, November 3, 2026). */
html.home-app [data-voice-target]{display:none!important}

/* Owner, November 3, 2026: on a phone a card lit up green while a finger merely scrolled over it (a touch counts as
   hover). Hover looks only on devices with a real pointer; a tap still opens it. */

/* Your life (owner, November 3, 2026): an empty group's "+ Add a habit" / "+ Add a project", and a quiet centred
   "+ Add another area" under the groups. */
.life-add{all:unset;box-sizing:border-box;display:block;width:100%;margin:12px 0 0;padding:16px 18px;border:1px dashed #b59a6252;border-radius:14px;font-family:var(--ui);font-size:15px;color:#c9ad72;cursor:pointer;-webkit-tap-highlight-color:transparent}
.life-add:focus-visible{outline:2px solid #d4b97a;outline-offset:2px}
.add-area-quiet{display:block!important;margin:22px auto 30px;font-size:15px;color:#9a9586;text-decoration:none;text-align:center}

/* Today: "+ Add another area" sits halfway between the action card and what follows (owner, November 3, 2026:
   it looked low; measured 28px above and below the words). */
.today-also.solo{margin:12px 0 14px}

/* The email-code screen's buttons (owner, November 4, 2026): a visible press, no tap delay, and a clear
   working / done state ("Sending…", "Sent ✓", "One moment…"). */
.account-switch .text-link{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:opacity .12s ease,transform .12s ease,color .2s ease}
.account-switch .text-link:active{opacity:.55;transform:scale(.97)}
.account-switch .text-link.working{opacity:.7;cursor:default}
.account-switch .text-link.done{color:#9fbf8f;text-decoration-color:#9fbf8f80}
.account-switch .text-link:disabled{cursor:default}
/* "Find it for me" (owner, November 5, 2026): one gold link in the card's link row, then up to three
   options inside the card. Tap a row to pick it; the small arrow opens the option's own page. */
.card-links{gap:14px}
.card-links .find-it{color:#c9ad72;-webkit-text-fill-color:#c9ad72;background:none;animation:none}
.card-links .find-it[disabled]{color:#9a9586;-webkit-text-fill-color:#9a9586;cursor:default}
.step-target .found{margin:12px 0 4px;border-top:1px solid #ebe4d31f}
.step-target .found .eyebrow{display:block;margin:12px 0 2px;color:#c9ad72;font-size:12px;letter-spacing:.16em}
.found-row{display:flex;align-items:center;gap:10px;border-bottom:1px solid #ffffff12;border-radius:8px}
.found-row:last-child{border-bottom:0}
.found-row.picked{background:linear-gradient(90deg,#b59a621f,transparent)}
.found-pick{all:unset;box-sizing:border-box;flex:1;min-width:0;padding:11px 0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.found-pick:focus-visible,.found-link:focus-visible{outline:2px solid #d4b97a;outline-offset:2px;border-radius:6px}
.found-pick strong{display:block;font-family:var(--ui);font-weight:500;font-size:15px;color:var(--ink)}
.found-pick small{display:block;color:#9a9586;font-size:13px;margin-top:2px}
.found-link,.found-mark{flex:none;display:grid;place-items:center;width:36px;height:36px;color:#9a9586;font-size:15px;text-decoration:none}
.found-mark{color:#c9ad72}
.found-q{display:block;margin:12px 0 8px;color:var(--ink);font-size:15px}
.found-ask{display:flex;gap:8px}
.found-ask .input{flex:1;min-width:0}
.found-none{margin:12px 0 0;color:#9a9586;font-size:14px}
.found-ask .input{background:#0e0f0c;border:1px solid var(--line-2);color:var(--ink);border-radius:10px;min-height:44px;padding:9px 12px;font-size:15px}
/* "Draft it for me" and "Add to my calendar" (owner, November 5, 2026). */
.draft-box .draft-subject{margin:4px 0 8px;color:var(--ink);font-size:15px;font-weight:500}
.draft-box .draft-text{display:block;width:100%;box-sizing:border-box;background:#0e0f0c;border:1px solid var(--line-2);color:var(--ink);border-radius:10px;padding:10px 12px;font-size:15px;line-height:1.5;resize:vertical;min-height:120px}
.draft-actions{display:flex;gap:10px;margin:10px 0 4px}
.draft-actions .btn{flex:1 1 0;justify-content:center;min-height:42px;border-color:#b59a6266;background:#0b0b0966}
.cal-pick{display:flex;gap:10px;margin:14px 0 6px}
.cal-pick .input{flex:1 1 0;min-width:0}
.draft-actions a.btn{text-decoration:none}
/* Plan it for me, Make the list, Work it out (owner, November 5, 2026). */
.prep-plan,.prep-work{margin:6px 0 4px;padding-left:22px;color:var(--ink);font-size:15px;line-height:1.5}
.prep-plan li,.prep-work li{margin:0 0 6px}
.prep-plan li::marker{color:#c9ad72}
.prep-work{list-style:none;padding-left:0;color:#9a9586;font-size:14px}
.prep-result{margin:6px 0 8px;color:var(--ink);font-size:16px;font-weight:500}
.prep-tick{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;padding:10px 0;border-bottom:1px solid #ffffff12;font-family:var(--ui);font-size:15px;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
.prep-tick:last-child{border-bottom:0}
.prep-tick:focus-visible{outline:2px solid #d4b97a;outline-offset:2px;border-radius:6px}
.prep-tick.ticked{color:#9a9586;text-decoration:line-through}
.prep-box{flex:none;display:grid;place-items:center;width:22px;height:22px;border:1px solid #b59a6288;border-radius:6px;color:#c9ad72;font-size:13px}
.prep-tick.ticked .prep-box{background:#b59a6233}

/* Owner, November 5, 2026: on a computer, hovering made project cards darker and conversation cards greener.
   Now every card keeps its own colour and simply lifts a little with a gold edge. Phones get no hover look. */
@media(hover:hover){.life-area,.talk-option,.today-row{transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.life-area:hover,.talk-option:hover,.today-row:hover{border-color:#b59a6299;transform:translateY(-1px);box-shadow:0 10px 26px #0007}}

/* Your life: "+ Add a habit / project" is shaped like an area card (same size beside one), dashed and quiet. */
.life-area.life-add{all:revert;box-sizing:border-box;width:100%;display:grid;grid-template-columns:24px 1fr;gap:3px 10px;text-align:left;margin:12px 0;padding:18px;border:1px dashed #b59a6266;border-radius:var(--radius,17px);background:transparent;color:#c9ad72;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.life-area.life-add span{grid-row:span 2;color:#c9ad72;font-size:20px;line-height:1.2}
.life-area.life-add strong{font-family:var(--display);font-weight:600;font-size:inherit;line-height:1.3;color:#d9c08a}
.life-area.life-add small{color:var(--muted)}

/* Owner, November 5, 2026: Your space settings answer the tap at once */
.daily-row .text-link,.daily-row .btn{touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:opacity .12s,transform .12s}
.daily-row .text-link:active,.daily-row .btn:active{opacity:.55;transform:scale(.96)}
.daily-row .is-working{opacity:.6;pointer-events:none}

/* Owner, November 7, 2026: the check-in, calmer. The step question lives in the action card; the day question is a slim strip. */
.step-target .ci-ask{margin:4px 0 14px;font-size:15px;color:var(--muted)}
.step-target .ci-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;width:100%}
.step-target .ci-row .checkin-mood{min-height:46px;font-size:15px}
.checkin-card.slim{margin:0 0 18px;padding:14px 16px 16px;border:1px solid #b59a6238;border-radius:14px;background:#0f1411}
.checkin-card.slim:after{display:none}
.checkin-card.slim h3{font-family:var(--ui)!important;font-weight:500!important;font-size:15px!important;line-height:1.4!important;letter-spacing:0!important;font-variation-settings:normal!important;color:var(--ink-2);margin:0 0 10px!important;padding-right:26px}
.checkin-card.slim.done h3{margin:0;padding-right:0}
.checkin-card.slim .checkin-moods{margin-bottom:0}
.checkin-card.slim.picked .checkin-moods{margin-bottom:10px}
.checkin-card.slim .checkin-mood{min-height:40px;font-size:15px}
.checkin-card.slim .checkin-close{top:4px;right:6px;font-size:20px}
.checkin-card.slim .checkin-talk{margin:10px 0 0}

/* Owner, November 8, 2026: the check-in is lined in gold while it asks (not once answered); from the notification it glows once. */
.step-target.asking,.checkin-card.slim{border-color:#c9ad72b3!important;box-shadow:0 0 0 1px #c9ad7240,0 10px 32px #c9ad7214}
.checkin-card.slim .ci-label{display:block;font-size:11px;letter-spacing:.16em;color:#c9ad72;margin:0 0 6px;font-weight:600;padding-right:26px}
.checkin-card.slim.done .ci-label{display:none}
.ci-arrive{animation:ciArrive 1.6s ease-out .35s 1}
@keyframes ciArrive{0%{box-shadow:0 0 0 1px #c9ad7240,0 10px 32px #c9ad7214}40%{box-shadow:0 0 0 2px #c9ad72cc,0 0 38px #c9ad7259}100%{box-shadow:0 0 0 1px #c9ad7240,0 10px 32px #c9ad7214}}
@media(prefers-reduced-motion:reduce){.ci-arrive{animation:none}}

/* Owner, November 9, 2026: the × on every check-in step: the asking action card and the "Thank you" card */
.step-target.asking{position:relative}
.step-target.asking .checkin-close{position:absolute;top:12px;right:12px;width:32px;height:32px;display:grid;place-items:center;padding:0;font-size:20px;line-height:1;color:#ebe4d3d9;background:none;border:0;z-index:1}
.checkin-card.slim.done{position:relative}
.checkin-card.slim.done h3{padding-right:30px!important}

/* Owner, November 9, 2026: the check-in × in gold, a little larger, so it is easy to see */
.checkin-card .checkin-close,.checkin-card.slim .checkin-close,.step-target.asking .checkin-close{color:#d9bd7e;font-size:24px}
.checkin-card .checkin-close:hover,.step-target.asking .checkin-close:hover,.checkin-card .checkin-close:focus-visible{color:#ecd4a0}

/* Owner, November 9, 2026: the day check-in keeps its gold lining through "Thank you" until it is closed or goes away */
/* The free plan (owner, November 11, 2026; FORMA_FREE_PLAN.md): calm lines offering Forma Plus, easy to see and
   clearly tappable; resting goals and habits dimmed under Resting; the quiet weekly count in Talk. */
.plus-note{margin:10px 2px 0;font-size:13px;line-height:1.5;color:var(--muted)}
.plus-note .plus-line,.put-away-line .plus-line,.life-resting .plus-line{display:inline;padding:0;min-height:0;font-size:13px;font-weight:500;color:#c9ad72;text-align:left;text-decoration:underline;text-decoration-color:rgba(201,173,114,.5);text-underline-offset:3px}
.plus-note .plus-line svg,.put-away-line .plus-line svg,.life-resting .plus-line svg{width:14px;height:14px;vertical-align:-2px}
.today-main>.plus-note,.step-target+.plus-note{max-width:560px;margin:12px auto 0;text-align:center}
.weekly-count{margin:8px 2px 0;font-size:12px;line-height:1.5;color:var(--muted);text-align:center;opacity:.85}
.put-away-line{margin:8px 2px;font-size:13px;line-height:1.5;color:var(--muted)}
.life-resting .life-area{opacity:.55}
.life-resting .life-area:hover{opacity:.75}
.life-resting>.life-caption{margin:2px 0 10px}
.orbit-body.resting{opacity:.4}
.talk-option.talk-resting{opacity:.6}
.report-lead.plus-note{margin:0 0 12px;text-align:left}
.step-target+.plus-note{text-align:center;padding:0 12px}
.step-target+.plus-note .plus-line{text-align:center;text-decoration-color:rgba(201,173,114,.35)}
/* Owner, November 12, 2026: the habit tracker as gold segments inside the habit's own card. */
.habit-bar{margin:10px 0 16px}
.habit-bar-top{display:flex;justify-content:space-between;font-size:12px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#b9b3a3;margin-bottom:8px}
.habit-bar-top span:last-child{color:#dcc58f}
.habit-bar-row{display:flex;gap:6px}
.habit-bar-row i{flex:1;height:7px;border-radius:99px;background:#c9ad7226}
.habit-bar-row i.on{background:linear-gradient(90deg,#b59a62,#dcc58f);box-shadow:0 0 8px #c9ad7255}
/* Owner, November 15, 2026: a habit done in part is half a segment. */
.habit-bar-row i.half{background:linear-gradient(90deg,#b59a62 0,#cdb478 50%,#c9ad7226 50%)}

/* Owner, November 12, 2026: a short message never sits on top of the growth notice; it shows just above it. */
body:has(.growth-card) #toast{bottom:112px}
@media(max-width:600px){body:has(.growth-card) #toast{bottom:164px}}

/* Owner, November 12, 2026: the step's check-in is its own card: dark with the gold edge, the question as the
   headline, the step inside it as a small green card. The dark is an inner shadow so it can fade back to the
   ordinary step card. */
.step-target.asking{box-shadow:0 0 0 1px #c9ad7240,0 10px 32px #c9ad7214,inset 0 0 0 999px #12130f!important}
.step-target.asking.ci-arrive{animation-name:ciArriveStep}
@keyframes ciArriveStep{0%,100%{box-shadow:0 0 0 1px #c9ad7240,0 10px 32px #c9ad7214,inset 0 0 0 999px #12130f}40%{box-shadow:0 0 0 2px #c9ad72cc,0 0 38px #c9ad7259,inset 0 0 0 999px #12130f}}
.step-target.asking h3{padding-right:30px}
.step-target .ci-step{margin:4px 0 16px;padding:14px 16px;border:1px solid #c9ad7233;border-radius:14px;background:linear-gradient(160deg,#1c3324,#14291d)}
.step-target .ci-step strong{display:block;font-family:var(--display);font-weight:600;font-size:19px;line-height:1.25;letter-spacing:-.01em;color:var(--ink)}
.step-target .ci-step .rhythm-when{margin:8px 0 0!important}
/* Owner, November 12, 2026: every button and control changes smoothly, and answers a press. */
button,a,.btn,.text-link,.icon-button,.life-area,.talk-option,.plan-option,.plan-free,.choice,input,textarea,select{transition:background-color .2s ease,border-color .2s ease,color .2s ease,opacity .2s ease,box-shadow .2s ease,transform .16s ease}
.btn:active:not(:disabled),.plan-free:active,.plan-option:active,.life-area:active,.talk-option:active,.choose-area:active{transform:scale(.985)}
.text-link:active,.icon-button:active{opacity:.6}
.forma-reply.pending .live-text{opacity:1}
/* Bug (owner's screenshot, November 12, 2026): on the Talk page a long conversation spilled over the rest offer, the
   message box and the lines under it: the conversation was allowed to shrink to the screen but its text overflowed.
   On the page (which scrolls as a whole) nothing shrinks; the conversation pushes everything below it down. */
dialog.talk-sheet.talk-page .dialog-body{flex:1 0 auto;min-height:auto}
dialog.talk-sheet.talk-page .chat-log{flex:1 0 auto;min-height:30dvh;overflow:visible}
dialog.talk-sheet.talk-page .dialog-body>*{flex-shrink:0}

/* Owner, November 14, 2026: Meet me halfway on Today is one slim line; its choices sit under Forma's message in the conversation. */
.taketwo-line{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 14px;padding:11px 14px;border:1px solid #b59a6266;border-radius:12px;background:transparent;color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer;transition:border-color .2s,background .2s}
.taketwo-line.is-new{animation:takeTwoIn .5s ease both}
.taketwo-line span:nth-child(2){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.taketwo-line .taketwo-mark{color:#c9ad72}
.taketwo-line svg{width:16px;height:16px;color:#c9ad72;flex:none}
.taketwo-line:hover{border-color:#b59a62aa;background:#ffffff06}
/* A second thing the person mentioned, kept by Forma (owner, November 17, 2026): one slim line under the step, with a way to cross it. */
.kept-row{display:flex;align-items:center;gap:6px;margin:14px 0 0}
.kept-row .taketwo-line{margin:0;flex:1;min-width:0}
.kept-row.is-new{animation:takeTwoIn .5s ease both}
.kept-row.leaving{opacity:0;transition:opacity .22s ease}
.kept-x{flex:none;width:32px;height:32px;display:grid;place-items:center;padding:0;font-size:20px;line-height:1;color:#ebe4d3d9;background:none;border:0;border-radius:8px;cursor:pointer}
.kept-x:hover,.kept-x:focus-visible{color:var(--ink)}
.aside-card{margin-top:18px}
@media(prefers-reduced-motion:reduce){.kept-row.is-new{animation:none}.kept-row.leaving{transition:none}}
.taketwo-chat{margin-top:4px}
.taketwo-preview{margin:6px 0 10px;font-size:13px;line-height:1.4;color:var(--muted)}
@media(prefers-reduced-motion:reduce){.taketwo-line{animation:none}}
@media(max-width:380px){.taketwo-line{font-size:13px;padding:10px 12px;gap:8px}}
/* Meet me halfway inside the conversation (owner, November 14, 2026): part of the chat, with a divider marking where it starts. */
.halfway-divider{display:flex;align-items:center;gap:12px;margin:26px 0 4px;color:#c9ad72;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.halfway-divider::before,.halfway-divider::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,#b59a6266,transparent)}
.halfway-divider.is-new,.halfway-message.is-new,.halfway-message.is-new+.taketwo-chat{animation:takeTwoIn .6s ease both}
.taketwo-chat{margin-top:2px}
@media(prefers-reduced-motion:reduce){.halfway-divider.is-new,.halfway-message.is-new,.halfway-message.is-new+.taketwo-chat{animation:none}}
.taketwo-chat button{border-color:#b59a6299!important}
.taketwo-chat button:hover{border-color:#c9ad72!important}
.taketwo-hint{margin:8px 2px 0;font-size:13px;color:var(--muted)}
.halfway-message.is-new~.taketwo-hint{animation:takeTwoIn .6s ease both}
