/* Home page v4 (design reference: design/home-v4 branch). Fonts are served from /fonts. */
@font-face { font-family: Figtree; font-weight: 300; font-display: swap; src: url(/fonts/figtree-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 400; font-display: swap; src: url(/fonts/figtree-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 500; font-display: swap; src: url(/fonts/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 600; font-display: swap; src: url(/fonts/figtree-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(/fonts/figtree-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-display: swap; src: url(/fonts/instrument-serif-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-display: swap; src: url(/fonts/instrument-serif-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Great Vibes"; font-display: swap; src: url(/fonts/great-vibes-latin-400-normal.woff2) format("woff2"); }

:root {
  --bg: #080B17;
  --text: #F2F0FA;
  --soft: #CDD0E4;
  --muted: #B7BAD2;
  --faint: #8C90A8;
  --line: rgba(242, 240, 250, .16);
  --line-soft: rgba(242, 240, 250, .08);
  --panel: rgba(15, 18, 36, .96);
  --card: rgba(16, 20, 40, .9);
  --violet: #B9A9FF;
  --mint: #9FD8C8;
  --gold: #D9B77A;
  --serif: "Instrument Serif", Georgia, serif;
  --script: "Great Vibes", cursive;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font: 16px/1.5 Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
button, input, textarea { font-family: inherit; color: inherit; }
a { color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Background glows */
.glow { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.g1 { top: -160px; left: 8%; width: 720px; height: 600px; background: radial-gradient(closest-side, rgba(124,108,240,.32), rgba(124,108,240,0)); filter: blur(40px); animation: drift 18s ease-in-out infinite; }
.g2 { top: 60px; right: -4%; width: 640px; height: 560px; background: radial-gradient(closest-side, rgba(86,128,220,.26), rgba(86,128,220,0)); filter: blur(44px); animation: drift 22s ease-in-out infinite reverse; }
.g3 { top: 520px; left: 30%; width: 560px; height: 400px; background: radial-gradient(closest-side, rgba(110,190,180,.14), rgba(110,190,180,0)); filter: blur(46px); }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -20px); } }

/* Top bar and logo */
.top { position: relative; z-index: 3; display: flex; align-items: center; gap: 22px; padding: 24px 40px; }
.icon-btn { width: 40px; height: 40px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: #E6E4F2; cursor: pointer; font-size: 16px; }
.icon-btn:hover { background: rgba(255,255,255,.05); }
.logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--text); }
.logo-art { position: relative; display: block; height: 72px; width: 262px; }
.wm { position: absolute; left: 0; top: 0; font-family: var(--script); font-size: 54px; line-height: 58px; white-space: nowrap; }
.rule { position: absolute; left: 94px; top: 54px; color: var(--text); transform-origin: left center; }
.pen { position: absolute; left: 182px; top: 2px; height: 56px; width: auto; }
.powered { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .06em; color: #A9ADC6; }
.powered img { height: 14px; width: auto; }
@keyframes write { 0% { clip-path: inset(0 100% 0 0); } 70%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes pen { 0% { transform: translate(-170px,-10px) rotate(-10deg); } 12% { transform: translate(-145px,2px) rotate(4deg); } 24% { transform: translate(-120px,-8px) rotate(-6deg); } 36% { transform: translate(-94px,4px) rotate(5deg); } 48% { transform: translate(-66px,-6px) rotate(-4deg); } 60% { transform: translate(-40px,0) rotate(2deg); } 72% { transform: translate(-90px,0) rotate(0); } 100% { transform: translate(0,0) rotate(0); } }
@keyframes rule { 0%, 62% { transform: scaleX(0); } 100% { transform: scaleX(1); } }
.wm { animation: write 3.6s cubic-bezier(.45,.05,.4,1) .3s both; }
.pen { animation: pen 3.6s cubic-bezier(.45,.05,.4,1) .3s both; }
.rule { animation: rule 3.6s cubic-bezier(.45,.05,.4,1) .3s both; }
@media (prefers-reduced-motion: reduce) { .wm, .pen, .rule, .g1, .g2 { animation: none; } }
.spacer { flex: 1; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 15px; color: #C9CCE0; }
.nav-links a:hover { color: var(--text); }
.quota { color: var(--faint); font-size: 13px; white-space: nowrap; }
.signin { min-height: 40px; padding: 0 18px; border-radius: 99px; border: 0; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }

/* Sidebar */
.scrim { position: fixed; inset: 0; z-index: 9; background: rgba(4, 6, 14, .55); }
.sidebar {
  position: fixed; z-index: 10; top: 0; bottom: 0; left: 0; width: 272px; max-width: 86vw; overflow-y: auto;
  background: rgba(14,17,34,.98); border-right: 1px solid rgba(242,240,250,.07);
  padding: 20px 14px; display: flex; flex-direction: column; gap: 14px;
}
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.side-mark { font-family: var(--script); font-size: 30px; line-height: 1; }
.side-new { min-height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.04); font-size: 15px; font-weight: 600; text-align: left; padding: 0 14px; cursor: pointer; }
.side-section { display: flex; flex-direction: column; gap: 2px; }
.side-head { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7E82A0; padding: 6px 10px; }
.side-item { padding: 7px 10px; font-size: 14px; color: #8F93AE; background: none; border: 0; text-align: left; }
.side-live { color: var(--soft); cursor: pointer; border-radius: 10px; }
.side-live:hover { background: rgba(255,255,255,.05); }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: 12.5px; color: #A9ADC6; }
.side-foot img { height: 20px; width: auto; }
.soon-tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; background: rgba(242,240,250,.08); color: #A9ADC6; white-space: nowrap; }

/* Main column */
main { position: relative; z-index: 1; max-width: 864px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding: 106px 0 30px; }
.hero h1 { margin: 0; font-size: 72px; line-height: 1.02; font-weight: 600; letter-spacing: -.035em; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; background: linear-gradient(90deg, #C7BCFF, var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.subhead { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 600px; }
main.chatting .hero, main.chatting .panels, main.chatting .more-wrap, main.chatting .more { display: none !important; }
main.home .thread { display: none; }

/* Ask box */
.composer-wrap { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
main.chatting .composer-wrap { position: sticky; bottom: 0; background: linear-gradient(rgba(8,11,23,0), var(--bg) 30%); padding-top: 18px; }
.composer { border-radius: 28px; padding: 1px; background: linear-gradient(120deg, rgba(185,169,255,.6), rgba(159,216,200,.45)); }
.composer-inner { border-radius: 27px; background: var(--panel); padding: 14px 12px 12px 22px; display: flex; flex-direction: column; gap: 12px; }
.composer-row { display: flex; align-items: flex-start; gap: 12px; }
.composer textarea {
  flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: transparent; color: var(--text);
  font-size: 19px; line-height: 1.45; max-height: 40vh; padding: 9px 0;
}
.composer textarea::placeholder { color: var(--faint); }
.send { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--violet), var(--mint)); color: var(--bg); display: grid; place-items: center; }
.send:disabled { opacity: .4; cursor: default; }
.modes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mode {
  min-height: 36px; padding: 0 14px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--soft); border: 1px solid rgba(242,240,250,.2);
}
.mode:hover { background: rgba(255,255,255,.05); }
.mode[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.mode .it { border-bottom: 3px double currentColor; padding-bottom: 1px; }
.mode .quill { height: 20px; width: auto; margin-left: -4px; margin-top: -8px; }
.badge { font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 2px 6px; border-radius: 99px; background: var(--gold); color: var(--bg); }
.badge.free { background: var(--mint); }

/* Under the box */
.panels { margin-top: 20px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.suggestion {
  min-height: 36px; padding: 0 15px; border-radius: 99px; border: 1px solid rgba(242,240,250,.18); background: transparent;
  color: #DADCEC; font-size: 14px; cursor: pointer;
}
.suggestion:first-child { border-color: rgba(159,216,200,.45); background: rgba(159,216,200,.08); color: #CFEDE5; }
.suggestion:hover { background: rgba(255,255,255,.06); }
.panel-text { margin: 0; text-align: center; font-size: 15px; color: var(--muted); }
.panel-text .soon-tag { margin-left: 6px; vertical-align: 2px; }
.card { border-radius: 22px; background: rgba(20,24,46,.95); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.card p { margin: 0; }
.coach-card { border: 1px solid rgba(217,183,122,.35); }
.coach-who { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #E8D3A6; }
.coach-dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #F5E3B8, var(--gold) 70%); }
.coach-card p { font-size: 17px; line-height: 1.55; color: #E6E4F2; }
.coach-start { margin-top: 4px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: linear-gradient(90deg, #C9BDFF, #A8DCCB); color: #121430; font-weight: 600; font-size: 15px; cursor: pointer; }
.gold-btn { min-height: 46px; padding: 0 22px; border-radius: 99px; border: 0; background: var(--gold); color: var(--bg); font-size: 15px; font-weight: 600; cursor: pointer; }
.sheet-status[data-state="failed"] { color: #fca5a5 !important; }
.battle-card { border: 1px solid rgba(185,169,255,.35); gap: 8px; }
.battle-title { font-size: 20px; font-weight: 600; }
.battle-card p { font-size: 16px; line-height: 1.55; color: #E6E4F2; }
.battle-plan { font-size: 14px; color: #E8D3A6; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.more-wrap { display: flex; justify-content: center; padding: 40px 0 40px; }
.more-btn { min-height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; }
.more-btn:hover { color: var(--text); }
.more-btn::after { content: " ⌄"; }
.more-btn[aria-expanded="true"]::after { content: " ⌃"; }

/* Expanded sections (wider than the ask box) */
.more { width: min(1180px, calc(100vw - 64px)); margin-left: 50%; transform: translateX(-50%); padding-bottom: 110px; }
.sec { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; padding-top: 70px; }
.sec:first-child { padding-top: 10px; }
.sec-head { display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); }
.sec h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1.08; max-width: 860px; text-align: center; }
.sec > h2 { align-self: center; }
.sec-body { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 720px; }
.today { margin: 0; text-align: center; font-size: 14px; color: #A9ADC6; }
.stats { border-radius: 22px; background: var(--card); border: 1px solid var(--line-soft); padding: 22px 28px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 18px; align-items: center; }
.stats-intro { font-size: 15px; line-height: 1.5; color: var(--soft); }
.stat { display: flex; flex-direction: column; }
.stat b { font-size: 38px; font-weight: 600; line-height: 1; }
.stat span { font-size: 13.5px; color: #A9ADC6; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.job { border-radius: 20px; background: #0E1226; border: 1px solid rgba(242,240,250,.07); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.job b { font-size: 19px; font-weight: 600; }
.job span { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.tag { margin-top: 4px; align-self: flex-start; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 99px; color: var(--text); }
.tone-mint { background: rgba(159,216,200,.18); } .tone-violet { background: rgba(185,169,255,.2); } .tone-gold { background: rgba(217,183,122,.22); }
.source-line { text-align: center; font-size: 12px; color: #7E82A0; }
.promise { border-radius: 22px; background: var(--card); border: 1px solid var(--line-soft); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.promise i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; font-style: normal; }
.promise i.tone-violet { background: rgba(185,169,255,.16); } .promise i.tone-mint { background: rgba(159,216,200,.16); } .promise i.tone-gold { background: rgba(217,183,122,.16); }
.promise b { font-size: 22px; font-weight: 600; }
.promise span { font-size: 15px; line-height: 1.55; color: var(--muted); }
.squire-box { border-radius: 28px; background: linear-gradient(135deg, rgba(124,108,240,.16), rgba(16,20,40,.95) 55%); border: 1px solid rgba(185,169,255,.25); padding: 44px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.squire-left { display: flex; flex-direction: column; gap: 16px; }
.squire-left img { height: 96px; width: auto; align-self: flex-start; }
.squire-left .big { font-family: var(--serif); font-size: 40px; line-height: 1.1; }
.squire-right { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.55; color: var(--soft); }
.squire-right b { color: var(--text); }
.squire-right .today { text-align: left; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { border-radius: 22px; background: rgba(16,20,40,.92); border: 1px solid rgba(242,240,250,.1); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.plan.violet { background: rgba(22,26,52,.95); border-color: rgba(185,169,255,.5); }
.plan.gold { border-color: rgba(217,183,122,.4); } .plan.gold-outline { border-color: rgba(217,183,122,.6); }
.plan-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 18px; font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan-price b { font-size: 40px; font-weight: 600; line-height: 1; }
.plan-price small { font-size: 14px; color: var(--faint); }
.plan-later { font-size: 13px; color: var(--faint); margin-top: -4px; }
.plan-tagline { font-family: var(--serif, inherit); font-style: italic; font-size: 17px; color: var(--gold, inherit); }
.plan-text { font-size: 14.5px; line-height: 1.6; color: #C2C5DA; }
.plan-btn { margin-top: auto; min-height: 44px; border-radius: 99px; font-size: 14.5px; font-weight: 600; cursor: pointer; border: 1px solid rgba(242,240,250,.25); background: transparent; }
.plan.violet .plan-btn { background: var(--violet); color: var(--bg); border: 0; }
.plan.gold .plan-btn { background: var(--gold); color: var(--bg); border: 0; }
.plan.gold-outline .plan-btn { border-color: var(--gold); color: #E8D3A6; }
.fine { text-align: center; font-size: 13px; color: var(--faint); margin: 0; }
.plans-head .eyebrow { color: var(--gold); }

/* Conversation */
.thread { flex: 1; padding: 8px 0 24px; min-height: 50vh; }
.msg { margin: 18px 0; }
.msg.user { display: flex; justify-content: flex-end; }
.msg.user .bubble { background: rgba(185,169,255,.12); border: 1px solid rgba(185,169,255,.18); border-radius: 20px 20px 6px 20px; padding: 10px 16px; max-width: 85%; white-space: pre-wrap; word-wrap: break-word; }
.msg.ai .answer { word-wrap: break-word; line-height: 1.6; }
.answer p { margin: 0 0 .8em; }
.answer ul, .answer ol { padding-left: 1.3em; margin: 0 0 .8em; }
.answer code { background: #151a33; padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.answer pre { background: #0E1226; padding: 12px; border-radius: 10px; overflow-x: auto; }
.answer a { color: var(--violet); }
.answer h1, .answer h2, .answer h3 { font-size: 1.05em; margin: 1em 0 .4em; }
.status { color: var(--faint); font-size: 14px; display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.status .orb { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--mint)); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .status .orb { animation: none; } }
.sources { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 10px; scrollbar-width: thin; }
.source { flex: none; max-width: 220px; border: 1px solid var(--line-soft); border-radius: 12px; padding: 8px 10px; font-size: 12.5px; color: var(--soft); text-decoration: none; background: rgba(16,20,40,.8); }
.source:hover { background: rgba(26,30,56,.9); }
.source .host { color: var(--faint); display: block; }
.source .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cite { font-size: 11px; vertical-align: super; text-decoration: none; color: var(--violet); margin-left: 1px; }
.msg-error { color: #fca5a5; }
.msg-note { color: var(--faint); font-size: 12.5px; margin: 4px 0 0; }

/* Sheets (sign-in, profile) */
.sheet { width: min(420px, calc(100vw - 32px)); border: 1px solid var(--line); border-radius: 24px; background: #0E1124; color: var(--text); padding: 28px 24px 22px; text-align: center; }
.sheet::backdrop { background: rgba(4,6,14,.7); backdrop-filter: blur(4px); }
.sheet-quill { height: 48px; width: auto; }
.sheet h2 { font-weight: 600; font-size: 22px; margin: 10px 0 8px; }
.sheet p { color: var(--muted); margin: 0 0 18px; }
.sheet-close { position: absolute; right: 10px; top: 6px; }
.sheet-close button { background: none; border: 0; font-size: 26px; color: var(--muted); cursor: pointer; }
.primary, .secondary { width: 100%; border-radius: 999px; padding: 12px 16px; cursor: pointer; font-weight: 600; }
.primary { border: 0; background: linear-gradient(135deg, var(--violet), var(--mint)); color: var(--bg); }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.04); margin-top: 8px; }
.or { color: var(--muted); font-size: 13px; margin: 12px 0; }
.email-form input { width: 100%; border: 1px solid var(--line); background: rgba(8,11,23,.6); border-radius: 999px; padding: 12px 16px; font-size: 15px; }
.sheet-status { min-height: 1.2em; margin: 12px 0 0 !important; color: var(--violet) !important; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 20; background: #1A1E38; border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-size: 14px; max-width: calc(100vw - 32px); text-align: center; }
/* The shape interview: a full-screen chat with the coach (web/dna.js). Trait colours match the
   design record (design/coach-c0). */
:root { --t-openness: #B9A9FF; --t-conscientiousness: #D9B77A; --t-extraversion: #F2A07B; --t-agreeableness: #EFA3C4;
  --t-emotional_stability: #9FD8C8; --t-drive: #8FB8FF; --grad: linear-gradient(90deg, #C9BDFF, #A8DCCB); --card-solid: #10142A; }
.dna-sheet { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; text-align: left;
  background: radial-gradient(70% 40% at 50% 0%, rgba(124,108,240,.18), transparent 70%), var(--bg); overflow: hidden; }
.dna-sheet[open] { display: flex; flex-direction: column; }
.dna-sheet .sheet-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 10px); right: max(12px, env(safe-area-inset-right, 0px)); z-index: 5; }
.dna-sheet p { margin: 0; color: inherit; }
#dna-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dna-bar { flex: none; height: 4px; margin: calc(env(safe-area-inset-top, 0px) + 26px) 64px 0 max(16px, env(safe-area-inset-left, 0px)); border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.dna-bar::after { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--grad); border-radius: inherit; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.dna-thread { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 10px;
  padding: 20px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); }
.dna-thread > * { width: 100%; max-width: 680px; margin-inline: auto; }
.dna-msg { display: flex; gap: 10px; align-items: flex-end; animation: dna-rise .35s cubic-bezier(.2,.7,.2,1) both; }
.dna-msg.you { justify-content: flex-end; }
.dna-orb { flex: none; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF4D6, #E2C07E 45%, #9A7A3E); box-shadow: 0 0 12px rgba(217,183,122,.35); }
.dna-msg.cont .dna-orb { visibility: hidden; }
.dna-bubble { padding: 10px 15px; border-radius: 20px 20px 20px 6px; background: var(--card); border: 1px solid var(--line-soft); max-width: min(560px, 86%); font-size: 16.5px; line-height: 1.45; }
.dna-bubble.big { font-family: var(--serif); font-size: clamp(23px, 6vw, 29px); line-height: 1.15; padding: 13px 18px 15px; }
.dna-msg.you .dna-bubble { background: var(--grad); color: #121430; border: 0; border-radius: 20px 20px 6px 20px; font-weight: 500; }
.dna-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.dna-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dna-dot 1s infinite; }
.dna-typing i:nth-child(2) { animation-delay: .15s; } .dna-typing i:nth-child(3) { animation-delay: .3s; }
.dna-q { padding: 13px 18px 15px; border-radius: 20px 20px 20px 6px; border: 1px solid rgba(185,169,255,.35); background: linear-gradient(160deg, rgba(185,169,255,.14), rgba(16,20,40,.9) 60%); max-width: min(560px, 86%); }
.dna-q small { display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 4px; }
.dna-q p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 6.4vw, 31px); line-height: 1.12; }
.dna-pill { align-self: center; width: auto !important; display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 99px; font-size: 14.5px;
  border: 1px solid rgba(217,183,122,.45); background: rgba(217,183,122,.08); animation: dna-rise .4s both; }
.dna-pill .star { color: var(--gold); }
.dna-pill.mint { border-color: rgba(159,216,200,.5); background: rgba(159,216,200,.08); }
.dna-card { padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-soft); animation: dna-rise .4s both; }
.dna-card h4 { margin: 0 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dna-howrow { padding-left: 36px; }
.dna-how, .dna-tips { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: var(--soft); font-size: 14.5px; }
.dna-meters { display: grid; gap: 10px; }
.dna-meter { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 12px; font-size: 14.5px; }
.dna-meter b { color: var(--c); font-weight: 600; }
.dna-meter .track { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.dna-meter .track i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c); box-shadow: 0 0 12px var(--c); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.dna-sheet .dna-caption { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); min-height: 1.4em; }
.dna-trait { display: grid; gap: 4px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.dna-trait:last-child { border-bottom: 0; }
.dna-trait .t { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.dna-trait .t b { color: var(--c); font-weight: 600; }
.dna-trait .t span { color: var(--soft); font-size: 13.5px; }
.dna-trait p { margin: 0; font-size: 14px; color: var(--soft); }
.dna-bands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.dna-bands i { height: 5px; border-radius: 99px; background: var(--line-soft); }
.dna-bands i.lit { background: var(--c); box-shadow: 0 0 10px var(--c); }
.dna-sheet .dna-because { margin: 0; font-size: 13px !important; color: var(--muted) !important; }
.dna-dock { flex: none; display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 712px; margin-inline: auto;
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 14px) max(16px, env(safe-area-inset-left, 0px)); }
.dna-dock:empty { display: none; }
.dna-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dna-opts.stack { flex-direction: column; }
.dna-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.dna-opt { position: relative; min-height: 48px; padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card-solid); font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s; }
.dna-scale .dna-opt { border-radius: 16px; padding: 8px 10px; }
.dna-scale .dna-opt b { display: none; }
.dna-opts.stack .dna-opt { border-radius: 16px; text-align: left; }
@media (hover: hover) { .dna-opt:hover:not(:disabled) { border-color: rgba(185,169,255,.55); } }
.dna-opt.on { border-color: var(--violet); background: rgba(185,169,255,.16); box-shadow: 0 0 0 4px rgba(185,169,255,.12), 0 0 30px rgba(185,169,255,.3); }
.dna-opt:disabled { opacity: .4; cursor: default; }
.dna-opt .sw { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-right: 8px; box-shadow: 0 0 10px var(--c); }
.dna-opt.pop { animation: dna-pop .42s cubic-bezier(.2,.7,.2,1); }
.dna-spark { position: absolute; left: 26px; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; pointer-events: none; animation: dna-spark .7s forwards; }
.dna-back { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--muted); font-size: 14px; cursor: pointer; }
.dna-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.dna-row .primary, .dna-row .secondary { flex: 1; min-width: 140px; margin-top: 0; }
.dna-cta { min-height: 52px; padding: 0 26px; border-radius: 99px; border: 0; background: var(--grad); color: #121430; font-weight: 600; font-size: 16px; cursor: pointer; align-self: flex-start; box-shadow: 0 10px 30px rgba(185,169,255,.25); }
.dna-cta:disabled { opacity: .45; cursor: default; box-shadow: none; }
.dna-link { background: none; border: 0; padding: 0; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; font-size: 14.5px; cursor: pointer; align-self: flex-start; }
.dna-textrow { display: flex; gap: 8px; }
.dna-textrow input { flex: 1; min-width: 0; height: 52px; border-radius: 99px; border: 1px solid var(--line); background: var(--card-solid); padding: 0 20px; font-size: 16px; }
.dna-textrow input:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 4px rgba(185,169,255,.14); }
.dna-send { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--grad); color: #121430; font-size: 20px; font-weight: 700; cursor: pointer; }
.dna-send:disabled { opacity: .4; cursor: default; }
.dna-takeover { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; overflow-y: auto;
  padding: 24px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px));
  background: radial-gradient(80% 60% at 50% 30%, rgba(124,108,240,.35), transparent 70%), radial-gradient(70% 50% at 50% 100%, rgba(110,190,180,.18), transparent 70%), #070A16; animation: dna-fade .4s both; }
.dna-takeover .in, .dna-profile { width: 100%; max-width: 460px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dna-profile { margin: 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 40px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(16px, env(safe-area-inset-left, 0px)); overflow-y: auto; max-width: 520px; }
.dna-profile .dna-card { width: 100%; text-align: left; }
.dna-profile .dna-row { width: 100%; }
.reveal { position: relative; }
.dna-shape { width: 260px; max-width: 100%; height: auto; overflow: visible; }
.dna-shape .ring { fill: none; stroke: rgba(242,240,250,.12); stroke-width: 1; }
.dna-shape .fill { fill: rgba(185,169,255,.24); stroke: #B9A9FF; stroke-width: 2.5; stroke-linejoin: round; transform-origin: 130px 125px; animation: dna-grow 1s .2s cubic-bezier(.2,.7,.2,1) both; filter: drop-shadow(0 0 16px rgba(185,169,255,.6)); }
.dna-shape .node { transform-box: fill-box; transform-origin: center; animation: dna-node .4s calc(.8s + var(--d)) both; }
.dna-shape text { font: 600 11px Figtree, system-ui, sans-serif; }
.dna-burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.dna-burst i { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; opacity: 0; animation: dna-fly 1.4s var(--d) cubic-bezier(.15,.7,.3,1) forwards; }
.dna-burst i.long { width: 3px; height: 13px; border-radius: 2px; }
.dna-takeover .kicker, .dna-profile .kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.dna-takeover .arch, .dna-profile .arch { margin: 0; font-family: var(--serif); font-size: clamp(52px, 15vw, 78px); line-height: .95; animation: dna-rise .6s 1s both; }
.dna-profile .arch { font-size: clamp(40px, 11vw, 56px); animation-delay: 0s; }
.dna-takeover .pair { margin: 0; font-size: 15px; color: var(--soft); animation: dna-rise .6s 1.15s both; }
.dna-takeover .portrait, .dna-profile .portrait { margin: 0; font-family: var(--serif); font-size: clamp(21px, 5.6vw, 26px); line-height: 1.2; animation: dna-rise .6s 1.3s both; }
.dna-profile .portrait { animation-delay: 0s; }
.dna-takeover .dna-cta { align-self: center; margin-top: 10px; animation: dna-rise .6s 1.5s both; }
.dna-saved, .dna-promise { margin: 0; font-size: 13.5px; color: var(--muted); }
.dna-confirm { width: 100%; padding: 14px; border: 1px solid #5b2330; border-radius: 16px; }
.dna-confirm p { margin: 0 0 10px; }
@keyframes dna-rise { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes dna-fade { from { opacity: 0; } }
@keyframes dna-dot { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
@keyframes dna-pop { 35% { transform: scale(1.04); box-shadow: 0 0 0 7px rgba(185,169,255,.18), 0 0 44px rgba(185,169,255,.45); } }
@keyframes dna-spark { 0% { opacity: 1; transform: translate(0, 0) scale(1.2); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.5); } }
@keyframes dna-fly { 0% { opacity: 1; transform: translate(0,0) rotate(0) scale(.6); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(260deg) scale(1); } }
@keyframes dna-grow { from { transform: scale(0) rotate(-40deg); opacity: 0; } }
@keyframes dna-node { from { transform: scale(0); } 70% { transform: scale(1.5); } }
@media (max-width: 560px) {
  .dna-scale { grid-template-columns: 1fr; gap: 7px; }
  .dna-scale .dna-opt { min-height: 46px; text-align: left; padding-left: 18px; display: flex; align-items: center; gap: 12px; }
  .dna-scale .dna-opt b { display: inline; color: var(--faint); font-weight: 600; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .dna-sheet *, .dna-takeover * { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
.danger { border: 1px solid #5b2330; background: transparent; color: #fca5a5; }
.noscript { text-align: center; padding: 120px 16px; }

/* Daily allowance meter (sidebar) */
.side-meter { display: flex; flex-direction: column; gap: 6px; padding: 4px 10px 2px; font-size: 12.5px; color: #A9ADC6; }
.meter-bar { height: 6px; border-radius: 99px; background: rgba(242,240,250,.08); overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--violet), var(--mint)); }
.meter-bar span.full { background: var(--gold); }
.redeem { display: flex; gap: 8px; }
.redeem input { flex: 1; min-width: 0; border: 1px solid var(--line); background: rgba(8,11,23,.6); border-radius: 999px; padding: 11px 14px; font-size: 15px; text-transform: uppercase; }
.redeem button { width: auto !important; padding: 0 18px !important; margin-top: 0 !important; }

/* Welcome and account sheets */
.form-sheet { text-align: left; width: min(460px, calc(100vw - 32px)); }
.form-sheet h2 { margin-top: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.field span { font-size: 13px; color: var(--muted); }
.field input { border: 1px solid var(--line); background: rgba(8,11,23,.6); border-radius: 14px; padding: 11px 14px; font-size: 15px; }
.field input[readonly] { color: var(--muted); border-style: dashed; }
.plan-pill { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 99px; background: rgba(185,169,255,.18); }
.row-btns { display: flex; gap: 8px; margin-top: 6px; }
.row-btns > * { flex: 1; margin-top: 0 !important; }
.sheet-divider { border: 0; border-top: 1px solid var(--line-soft); margin: 18px 0; }
.sheet-note { font-size: 13px !important; color: var(--faint) !important; margin: 6px 0 0 !important; }
.form-sheet .danger { width: 100%; border-radius: 999px; padding: 12px 16px; cursor: pointer; font-weight: 600; margin-top: 8px; }
.form-sheet .danger:disabled { opacity: .4; cursor: default; }

/* Tablet */
@media (max-width: 960px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .squire-box { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats-intro { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .top { padding: 16px; gap: 12px; }
  main { padding: 0 16px; }
  .hero { padding: 56px 0 24px; gap: 14px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .subhead { font-size: 16.5px; }
  .grid3 { grid-template-columns: 1fr; }
  .more { width: calc(100vw - 32px); }
  .sec h2 { font-size: 34px; }
  .squire-left .big { font-size: 30px; }
}
/* Phone */
@media (max-width: 520px) {
  .logo-art { transform: scale(.72); transform-origin: left top; height: 52px; width: 190px; }
  .powered { font-size: 11px; }
  .quota { display: none; }
  .signin { min-height: 36px; padding: 0 14px; }
  .composer-inner { padding: 12px 10px 10px 16px; gap: 10px; }
  .composer textarea { font-size: 17px; min-height: 3.4em; }
  .send { width: 42px; height: 42px; }
  .mode { min-height: 34px; padding: 0 11px; font-size: 13.5px; gap: 6px; }
  .suggestion { font-size: 13.5px; }
  .plans { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; padding: 18px; gap: 12px; }
  .stat b { font-size: 30px; }
  .more-btn { font-size: 13px; padding: 8px 14px; line-height: 1.3; }
  .more-wrap { padding: 30px 0; }
}

/* Saved chats in the sidebar */
.side-chats { display: flex; flex-direction: column; gap: 2px; min-height: 0; }
.side-chats .side-head { gap: 8px; }
.chats-all { background: none; border: 0; color: #7E82A0; font-size: 11px; letter-spacing: 0; text-transform: none; cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.chats-all:hover { color: var(--soft); background: rgba(255,255,255,.05); }
.chat-list { display: flex; flex-direction: column; gap: 1px; max-height: 38vh; overflow-y: auto; }
.chat-row { display: flex; align-items: center; gap: 2px; border-radius: 10px; }
.chat-row.active { background: rgba(255,255,255,.07); }
.chat-title { flex: 1; min-width: 0; padding: 7px 10px; font-size: 14px; background: none; border: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-act { flex: none; width: 30px; height: 30px; background: none; border: 0; color: #7E82A0; cursor: pointer; border-radius: 8px; font-size: 15px; opacity: .55; }
.chat-row:hover .chat-act, .chat-act:focus-visible { opacity: 1; }
.chat-act:hover { color: var(--soft); background: rgba(255,255,255,.06); }
.chat-rename { box-sizing: border-box; flex: 1; min-width: 0; width: 100%; margin: 2px 0; padding: 6px 8px; font: inherit; font-size: 14px; color: var(--soft); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; }
.switch-row input { width: 40px; height: 22px; accent-color: var(--violet, #B9A9FF); cursor: pointer; }
@media (hover: none) { .chat-act { opacity: 1; } }

/* Today and the coach conversation (web/today.js). Same look as the shape interview. */
.today-sheet #today-body, .talk-sheet #talk-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.today-sheet #today-body { overflow-y: auto; }
.today-wrap { width: 100%; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 28px) max(16px, env(safe-area-inset-left, 0px)); }
.today-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-right: 40px; }
.today-head h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; }
.today-head span { color: var(--muted); font-size: 14px; }
.dna-sheet .today-note { margin: 0; color: var(--muted); font-size: 13.5px; }
.today-goals { display: flex; flex-direction: column; gap: 8px; }
.today-goal { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-soft); }
.today-goal .text { flex: 1; min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
.today-goal.done .text { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(159,216,200,.6); }
.today-check { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.today-check svg { width: 18px; height: 18px; fill: none; stroke: #121430; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.today-check.on { border-color: transparent; background: linear-gradient(135deg, #C9BDFF, #A8DCCB); animation: dna-pop .42s; }
.today-check.on svg { opacity: 1; }
.today-x { flex: none; width: 32px; height: 32px; border: 0; background: none; color: var(--faint); font-size: 20px; cursor: pointer; border-radius: 50%; }
.today-card { padding: 16px 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 8px; }
.today-card h4 { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.today-streak { flex-direction: row; align-items: center; gap: 16px; }
.today-streak .num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--gold); min-width: 48px; text-align: center; }
.today-miles { display: flex; gap: 6px; margin-top: 6px; }
.today-miles i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--faint); }
.today-miles i.on { border-color: rgba(217,183,122,.6); color: var(--gold); }
.today-big .big { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.today-bar { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.today-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #C9BDFF, #A8DCCB); }
.today-big input[type="text"] { height: 46px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-solid); padding: 0 14px; font-size: 16px; }
.today-range { display: grid; gap: 6px; font-size: 14px; color: var(--soft); }
.today-range input { width: 100%; accent-color: #B9A9FF; }
.today-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.today-seg button { min-height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-solid); cursor: pointer; font-size: 14.5px; }
.today-seg button[aria-pressed="true"] { border-color: var(--violet); background: rgba(185,169,255,.16); }
.today-talk { align-self: stretch; text-align: center; }
.today-delete { align-self: center; color: var(--faint); font-size: 13px; }
.today-confetti { position: fixed; z-index: 40; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 2px; pointer-events: none; opacity: 0; animation: dna-fly 1.4s cubic-bezier(.15,.7,.3,1) forwards; }
.talk-sheet #talk-body { overflow: hidden; }
.talk-head { flex: none; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 18px) 64px 10px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line-soft); }
.talk-row textarea { flex: 1; min-width: 0; min-height: 52px; max-height: 140px; border-radius: 26px; border: 1px solid var(--line); background: var(--card-solid); padding: 14px 20px; font-size: 16px; resize: none; }
.talk-row textarea:focus { border-color: var(--violet); outline: none; }
.talk-note { font-size: 12.5px !important; }
.today-country { display: grid; gap: 6px; margin-top: 6px; font-size: 14px; color: var(--soft); }
.today-country select { height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--card-solid); padding: 0 12px; font-size: 15px; }

/* The first session (web/session.js). */
.dna-opt small { display: block; font-size: 12.5px; color: var(--muted); }
.dna-divider { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 10px 0; }
.dna-divider::before, .dna-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.dna-sheet .session-plan { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.session-goals { display: grid; gap: 8px; }
.session-goals label { display: flex; align-items: center; gap: 10px; }
.session-goals .n { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--gold); border: 1px solid rgba(217,183,122,.5); }
.session-goals input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-solid); padding: 0 12px; font-size: 15.5px; }
.session-goals input[readonly] { border-color: transparent; background: transparent; padding-left: 0; }
.session-win { background: transparent; border: 0; padding: 4px 0; }
.session-bigwin { align-self: center; width: auto !important; text-align: center; display: grid; gap: 4px; padding: 10px 0; animation: dna-rise .5s both; }
.session-bigwin b { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 12vw, 60px); line-height: 1; background: linear-gradient(90deg, #C9BDFF, #A8DCCB); -webkit-background-clip: text; background-clip: text; color: transparent; }
.session-bigwin span { color: var(--gold); font-size: 14px; }

/* The brain dump (web/coach-dump.js) */
.dump-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.dump-timer { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.dump-timer.up { color: var(--gold); }
.dump-mic { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--card-solid); font-size: 15px; font-weight: 600; cursor: pointer; }
.dump-mic .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.dump-mic.live { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(185,169,255,.14); }
.dump-mic.live .dot { background: #F2A07B; animation: dump-pulse 1s ease-in-out infinite; }
@keyframes dump-pulse { 50% { transform: scale(1.5); opacity: .6; } }
.dump-text { width: 100%; box-sizing: border-box; min-height: 140px; resize: vertical; border-radius: 16px; border: 1px solid var(--line); background: var(--card-solid); padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.45; color: inherit; }
.dump-text:focus { border-color: var(--violet); outline: none; box-shadow: 0 0 0 4px rgba(185,169,255,.14); }
.dump-note { margin: 8px 0 0 !important; font-size: 13px; color: var(--faint) !important; }
.dump-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.dump-src { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.dump-piles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dump-pile { border-radius: 14px; border: 1px solid var(--line-soft); padding: 8px; min-height: 64px; --c: var(--gold); }
.dump-pile.todo { --c: var(--mint); }
.dump-pile.worry { --c: #EFA3C4; }
.dump-pile.idea { --c: var(--violet); }
.dump-pile h5 { display: flex; justify-content: space-between; margin: 0 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--c); font-weight: 600; }
.dump-list { display: flex; flex-direction: column; gap: 5px; }
.dump-chip { display: inline-block; padding: 5px 10px; border-radius: 12px; background: var(--card-solid); border: 1px solid var(--line); font-size: 13.5px; line-height: 1.3; transition: opacity .3s, border-color .3s; }
.dump-pile .dump-chip { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.dump-chip.top { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(217,183,122,.18); font-weight: 600; }
.dump-chip.parked { opacity: .45; }
@media (min-width: 640px) { .dump-piles { grid-template-columns: repeat(4, 1fr); } }

/* Every pick sparkles the same way (buttons too), and the reading bars wait for the top trait. */
.dna-cta { position: relative; }
.dna-meters.hold .track { animation: dna-hold 1.2s ease-in-out infinite; }
@keyframes dna-hold { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .dna-meters.hold .track { animation: none; } }
