:root {
  font-family: "Inter", "Helvetica Neue", system-ui, sans-serif;
  color: #f7f5f5;
  background: #070708;
  --text: #f7f5f5;
  --muted: #c1b7ba;
  --line: #403136;
  --red: #c21923;
  --panel: #100e11;
}
body { background: #070708; }
* { box-sizing: border-box; }
body { margin: 0; background: #070708; min-height: 100svh; display: flex; flex-direction: column; padding-top: env(safe-area-inset-top); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: progress; opacity: .65; }
a { color: inherit; text-decoration: none; }
p { margin: 0; line-height: 1.55; }
h1, h2 { margin: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.55rem); line-height: .99; letter-spacing: -.072em; font-weight: 760; }
h1:focus { outline: none; }
h1 em { font-style: normal; color: #babac2; }
h2 { font-size: clamp(1.22rem, 3vw, 1.65rem); letter-spacing: -.035em; }
:focus-visible { outline: 2px solid #ff9cae; outline-offset: 4px; }
.top { position: relative; z-index: 1; display: flex; justify-content: center; padding: 17px 16px 14px; }
.brand { display: grid; gap: 2px; width: min(310px, 100%); text-align: center; }
.brand img { display: block; width: 100%; height: auto; }
.brand-tagline {
  padding-left: 28%; font-size: clamp(.58rem, 2.6vw, .7rem); font-weight: 650;
  color: #e5e2e6; text-transform: uppercase; letter-spacing: .11em;
}
#app { width: min(1152px, 100% - 48px); margin: 0 auto; flex: 1; padding: 44px 0 54px; }
.footer { border-top: 1px solid #302126; color: var(--muted); padding: 20px max(24px, calc((100vw - 1152px) / 2)); display: flex; justify-content: space-between; gap: 16px; font-size: .74rem; letter-spacing: .05em; }
#nav { display: flex; justify-content: center; }
#nav:empty { display: none; }
#nav > .preview { margin: 0 0 10px; }
.has-app-nav #nav {
  position: fixed; inset: auto 0 0; z-index: 2; justify-content: center;
  padding: 3px 12px calc(3px + env(safe-area-inset-bottom)); border-top: 1px solid #3f3d42;
  background: #0c090b; border-color: #46232c; box-shadow: 0 -8px 28px #0007;
}
.nav-button, .quiet { border: 0; background: transparent; color: var(--muted); padding: 8px 0; font-size: .89rem; font-weight: 650; min-height: 44px; }
.quiet:hover, .nav-button:hover { color: var(--text); }
.nav-button { display: grid; justify-items: center; align-content: center; gap: 3px; flex: 0 1 150px; min-height: 53px; font-size: .75rem; }
.nav-button svg { width: 20px; height: 20px; }
.nav-button[aria-current] { color: #ff6a73; box-shadow: inset 0 -2px var(--red); }
.has-app-nav .footer { margin-bottom: calc(60px + env(safe-area-inset-bottom)); }
.has-app-nav .status { bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 3; }
body[data-screen="home"] #app { width: min(660px, 100% - 32px); padding: 8px 0 calc(80px + env(safe-area-inset-bottom)); }
body[data-screen="home"] .footer { display: none; }
.kicker { color: #f1a3a7; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 750; margin-bottom: 10px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 6px; vertical-align: .07em; }
.pill { display: inline-flex; align-items: center; width: fit-content; border: 1px solid #59545a; color: #e8e3e8; border-radius: 100px; padding: 6px 10px; font-size: .68rem; letter-spacing: .055em; white-space: nowrap; }
.preview { color: #f6c6a5; border-color: #6e5445; }
.wave { display: flex; align-items: center; justify-content: center; gap: 4px; width: 88%; height: 116px; }
.bar { display: block; flex: 0 1 3px; min-width: 1px; height: var(--amp); border-radius: 7px; background: linear-gradient(#ff8c9d,#c8102e); opacity: .82; }
.b0,.b14 { --amp: 10%; } .b1,.b13 { --amp: 22%; } .b2,.b12 { --amp: 31%; } .b3,.b11 { --amp: 16%; }
.b4,.b10 { --amp: 42%; } .b5,.b9 { --amp: 66%; } .b6,.b8 { --amp: 49%; } .b7 { --amp: 96%; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; padding: 10px 17px; border: 1px solid transparent; border-radius: 4px; font-weight: 750; color: white; background: var(--red); }
.primary:hover { background: #ad0c27; }
.secondary { color: var(--text); background: #232328; border-color: #4f4e55; }
.secondary:hover { background: #34343a; }
.panel { background: var(--panel); border: 1px solid var(--line); }
.home-card { padding: 22px 24px; }
.home-card p:not(.kicker) { margin-top: 8px; color: var(--muted); }
.dashboard { display: grid; gap: 13px; }
.dashboard-greeting {
  border-left: 2px solid var(--red); padding: 1px 0 1px 11px; margin: 3px 0 2px;
  font-size: clamp(1.05rem, 4.7vw, 1.45rem); font-weight: 740; line-height: 1.25;
}
.dashboard-panel {
  min-width: 0; border: 1px solid #555459; border-radius: 16px;
  background: linear-gradient(145deg, #28282b, #171719 57%, #19191c);
  box-shadow: inset 0 1px #ffffff1a, 0 5px 14px #0004;
}
.dashboard-mission {
  display: flex; flex-direction: column; align-items: flex-start;
}
.dashboard-mission h1 { max-width: 16ch; font-size: clamp(1.45rem, 6vw, 2.25rem); line-height: 1.12; letter-spacing: -.035em; }
.dashboard-mission p { max-width: 24ch; margin: 7px 0 22px; color: #e3e0e4; font-size: .92rem; line-height: 1.35; }
.mission-start { width: 100%; margin-top: auto; gap: 9px; }
.mission-start svg { width: 20px; height: 20px; flex: none; }
.dashboard-insights { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; }
.dashboard-coach {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 5px;
  min-height: 188px; padding: 13px; color: var(--text); text-align: left;
  border-bottom-color: #9a2037; background: #101012;
}
.dashboard-coach-portrait, .dashboard-coach::after {
  position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.dashboard-coach-portrait { object-fit: cover; object-position: center 20%; z-index: -2; }
.dashboard-coach::after { content: ''; background: linear-gradient(0deg, #10090e 2%, #0b090b70 40%, transparent 68%); z-index: -1; }
.dashboard-coach:hover { border-color: #e9778c; }
.dashboard-coach small { display: block; color: #eeebef; font-size: .74rem; margin-bottom: 4px; }
.dashboard-coach strong { display: block; font-size: clamp(.95rem, 3.8vw, 1.3rem); line-height: 1.12; text-shadow: 0 1px 5px #000; }
.dashboard-coach svg { flex: none; width: 16px; height: 18px; }
#coach-selector {
  color: var(--text); background: var(--panel); border: 1px solid #555459; border-radius: 16px;
  width: min(440px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: clamp(15px, 5vw, 25px);
  box-shadow: 0 20px 65px #0009;
}
#coach-selector::backdrop { background: #09090bd9; }
#coach-choice > p { color: var(--muted); margin: 7px 0 15px; }
.coach-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.coach-option {
  display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 56px; padding: 8px 12px; cursor: pointer;
  background: #222226; border: 1px solid #4f4e55; border-radius: 8px;
}
.coach-preview-status:empty { display: none; }
.coach-option:has(input:checked) { background: #331c25; border-color: #e9778c; }
.coach-option img { flex: none; width: 48px; height: 60px; border-radius: 5px; object-fit: contain; background: #101012; }
.coach-option input[type="radio"] {
  flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #ff5b72;
}
.coach-option small { display: block; margin-top: 3px; color: #ccc7ce; font-size: .79rem; font-weight: 400; }
#coach-choice .coach-save-error { color: #ff9cae; }
.coach-save-error:empty { display: none; }
#coach-choice .actions { margin-bottom: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dashboard-growth { padding: 13px; overflow-wrap: anywhere; }
.dashboard-growth h2 { font-size: clamp(.88rem, 3.5vw, 1.13rem); padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid #57555a; }
.dashboard-growth strong { display: block; margin: 2px 0; font-size: clamp(1.04rem, 4.5vw, 1.4rem); line-height: 1.13; }
.dashboard-growth p { color: #c7c3ca; font-size: .78rem; line-height: 1.4; }
.dashboard-growth .last-score { margin-top: 9px; }
.last-score span { font-weight: 700; color: var(--text); }
.dashboard-journey, .habit { display: flex; align-items: center; gap: 10px; color: var(--text); text-align: left; }
.dashboard-journey { width: 100%; padding: 12px 14px; min-height: 61px; }
.dashboard-journey:hover, button.habit:hover { background-color: #2a2529; border-color: #8c828b; }
.dashboard-journey span { flex: 1; }
.dashboard-journey svg, .habit svg { width: 21px; height: 21px; flex: none; color: #d4d0d7; }
.dashboard-journey strong, .dashboard-journey small, .habit small, .habit strong { display: block; }
.dashboard-journey small, .habit small { color: #c8c4cb; margin-top: 2px; font-size: .78rem; }
.dashboard-habits { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 0; }
.habit { background: transparent; border: 0; padding: 4px 12px; min-height: 46px; min-width: 0; }
.habit + .habit { border-left: 1px solid #4c4b50; }
.habit strong { margin-top: 2px; font-size: .96rem; }
.narrow { width: min(720px, 100%); margin: 0 auto; }
.narrow h1 { font-size: clamp(2.55rem, 7vw, 4.35rem); }
.intro { margin: 17px 0 25px; color: var(--muted); font-size: 1.06rem; max-width: 57ch; }
body[data-screen="auth"] { background: #080809; }
body[data-screen="auth"] .brand-tagline { display: none; }
body[data-screen="auth"] #app { width: min(1040px, 100% - 48px); padding: 24px 0 38px; }
.entry {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  border: 1px solid #2c2628; border-radius: 12px; overflow: hidden; background: #0c0b0d;
}
.entry-story {
  display: flex; align-items: flex-end; min-height: 490px; padding: clamp(24px, 4vw, 46px);
  background: linear-gradient(0deg, #070608 0%, #070608b8 25%, #08060808 86%),
    url('/assets/scene-auth.webp') center / cover no-repeat #10080b;
}
.entry-story-copy { max-width: 440px; }
.entry-headline { font-size: clamp(2.25rem, 5.5vw, 4.15rem); font-weight: 780; line-height: .98; letter-spacing: -.06em; text-wrap: balance; }
.entry-headline span { color: #ed303b; }
.entry-description { color: #c4bec0; margin-top: 14px; max-width: 44ch; font-size: .95rem; line-height: 1.52; }
.entry-description strong { display: block; color: var(--text); font-weight: 680; margin-bottom: 4px; }
.entry-form { display: grid; gap: 15px; align-content: center; padding: clamp(24px, 4vw, 45px); }
.entry-form-heading { margin-bottom: 4px; }
.entry-form h1 { font-size: clamp(1.8rem, 3.5vw, 2.55rem); line-height: 1.08; letter-spacing: -.045em; }
.entry-form-heading p { margin-top: 8px; color: #c0b9bd; font-size: .9rem; line-height: 1.45; }
.entry-form input { min-height: 46px; font-size: 1rem; background: #131113; border-color: #51474b; border-radius: 5px; }
.entry-form .entry-submit {
  width: 100%; margin-top: 3px; min-height: 50px; border-color: #db3037; border-radius: 6px;
  background: #b7161d; font-size: .9rem; text-transform: uppercase; letter-spacing: .09em;
}
.entry-form .entry-submit:hover { background: #a1131a; }
.entry-switch { display: flex; align-items: center; justify-content: center; gap: 8px; color: #e0dadc; }
.entry-switch svg { width: 14px; height: 15px; flex: none; color: #f34d54; }
.form-stack { padding: clamp(20px, 4vw, 34px); display: grid; gap: 16px; }
.first-run { max-width: 520px; }
.first-run h1 { font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.05; margin: 12px 0 18px; }
.first-run .kicker { margin-bottom: 8px; }
.first-run progress { display: block; height: 5px; width: 100%; accent-color: var(--red); }
.first-run input[name="answer"]:not([type="radio"]) { font-size: 1rem; }
.practice-choices { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.practice-choices label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 12px; border: 1px solid #55525a; border-radius: 8px; cursor: pointer; }
.practice-choices small { display: block; margin-top: 4px; color: var(--muted); font-size: .81rem; font-weight: 400; }
.practice-choices label:has(input:checked) { background: #331c25; border-color: #e9778c; }
.practice-choices input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #ff5b72; }
.coach-intro { max-width: 400px; }
.coach-intro-portrait {
  display: block; width: 100%; height: clamp(208px, 62vw, 280px);
  object-fit: cover; object-position: center 24%; border: 1px solid var(--line); border-radius: 10px;
}
.coach-intro-description { margin-top: 14px; font-weight: 650; }
.coach-intro-note, .coach-intro .coach-preview-status { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.coach-intro .actions > .primary { flex: 1 1 175px; }
.coach-presence {
  display: grid; grid-template-columns: clamp(64px, 21vw, 94px) minmax(0, 1fr) auto; gap: 11px; align-items: center;
  margin: 14px 0; padding: 7px 11px 7px 7px; border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(115deg, #29161c, var(--panel) 54%);
}
.coach-presence img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 5px; }
.coach-presence small { display: block; font-size: .7rem; color: var(--muted); }
.coach-presence strong { display: block; font-size: .93rem; line-height: 1.2; }
.coach-presence .quiet, .dashboard-page-intro { font-size: .78rem; }
.dashboard-page-intro { justify-self: start; min-height: 44px; }
.first-mission-detail { display: grid; gap: 12px; padding: 18px; overflow-wrap: anywhere; }
.first-mission-detail strong { display: block; margin-bottom: 3px; }
label { display: grid; gap: 7px; font-weight: 680; font-size: .9rem; color: #e5e0e5; }
input, select, textarea { color: var(--text); width: 100%; min-height: 45px; padding: 9px 11px; background: #111114; border: 1px solid #55525a; border-radius: 4px; }
textarea { resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0 0; }
.actions .quiet { padding: 8px 6px; }
.briefing, .result { padding: clamp(19px, 4vw, 29px); }
dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 23px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
dt { text-transform: uppercase; font-size: .66rem; letter-spacing: .1em; color: var(--muted); margin-bottom: 5px; }
dd { margin: 0; font-size: .93rem; font-weight: 650; }
.briefing h2 + p { color: var(--muted); margin-top: 7px; }
.coach-note { margin-top: 18px; padding: 12px 14px; border-left: 2px solid var(--red); background: #262228; }
.coach-note strong { display: block; margin-bottom: 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: .065em; }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.narrow > .actions + .result { margin-top: 14px; }
.score { font-size: 2.3rem; letter-spacing: -.065em; color: #ff9cae; }
.score small { font-size: .94rem; letter-spacing: 0; color: var(--muted); }
.score-breakdown { border-block-start: 1px solid var(--line); margin-top: 20px; padding-top: 14px; }
.result-grade { display: grid; gap: 4px; text-align: right; }
.result-grade > span { color: var(--muted); font-size: .8rem; }
.score-breakdown summary { color: var(--text); font-weight: 650; cursor: pointer; }
.score-breakdown li small { display: block; color: var(--muted); margin-top: 3px; }
.journey-next { margin-bottom: 16px; }
.journey-next p { margin: 0 0 12px; }
.journey-next details { margin-top: 12px; }
.journey-next details p { margin: 8px 0 0; }
.debrief-details:not(:has(details)) { display: none; }
.score-breakdown h4 { color: var(--text); font-size: .93rem; margin: 14px 0 4px; }
.score-breakdown ul { list-style: none; margin: 0; padding: 0; }
.score-breakdown li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .84rem; }
.score-breakdown strong { flex: none; color: var(--text); }
details { margin-top: 18px; color: var(--muted); }
summary { cursor: pointer; font-size: .88rem; }
blockquote { margin-left: 0; }
.coach-analysis { padding-top: 16px; border-top: 1px solid var(--line); }
.coach-analysis > summary { color: var(--text); font-weight: 750; }
.coach-analysis section { margin-top: 17px; }
.coach-analysis h3 { margin: 0 0 4px; color: var(--text); font-size: .96rem; }
.coach-analysis blockquote { margin: 8px 0; padding-left: 10px; border-left: 2px solid var(--line); overflow-wrap: anywhere; }
.coach-analysis blockquote span { color: #e4afb0; font-size: .8rem; font-weight: 700; }
.coach-example { margin-top: 10px; padding: 10px 12px; background: #222226; }
.coach-analysis ol { margin: 6px 0 8px; padding-left: 24px; }
.coach-analysis li + li { margin-top: 4px; }
.call-visual { display: grid; place-items: center; border: 1px solid var(--line); background: radial-gradient(ellipse at center, #402126,#19181c); padding: 12px 16px 20px; }
.call-visual .wave { height: 72px; }
.fine { color: var(--muted); font-size: .76rem; margin-top: 4px; }
.turns { display: grid; gap: 8px; margin: 15px 0; max-height: 36svh; overflow-y: auto; }
.turn { background: #1d1d22; border: 1px solid var(--line); padding: 9px 13px; }
.turn.seller { border-left: 2px solid var(--red); }
.turn strong { font-size: .75rem; color: #e4afb0; }
.turn p { overflow-wrap: anywhere; }
.reply { display: grid; gap: 10px; }
.reply button { justify-self: end; }
.history { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.history-row { background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 15px; display: flex; align-items: center; justify-content: space-between; text-align: left; width: 100%; gap: 14px; }
.history-row:hover { border-color: #e9778c; }
.history-row small { display: block; margin-top: 4px; color: var(--muted); }
.history-row > span:last-child { white-space: nowrap; }
.journey-skills { display: grid; gap: 10px; margin: 20px 0 25px; }
.journey-skills .fine { margin: -5px 0 0; }
.journey-skills select { width: 100%; }
.journey-skill { display: grid; gap: 10px; padding: 14px; }
.buyer-challenge { display: grid; gap: 12px; margin: 18px 0; padding: 16px;
  background: linear-gradient(115deg, #351720, #150e13 75%); border: 1px solid #8f4659; border-radius: 8px; }
.buyer-challenge p { color: #eadbe0; }
.buyer-challenge button { justify-self: start; }
.buyer-challenge blockquote { margin: 0; padding-inline-start: 12px; border-inline-start: 2px solid #f07b90; }
.challenge-result strong { display: block; }
.journey-challenges { margin: 20px 0; }
.journey-challenges .buyer-challenge { display: block; margin: 8px 0; }
.buyer-challenge summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.buyer-challenge summary::-webkit-details-marker { display: none; }
.buyer-challenge summary small { display: block; color: var(--muted); margin-top: 3px; }
.buyer-challenge summary::after { content: ''; width: 7px; height: 7px; flex: none; border-right: 2px solid #ed8b9e; border-bottom: 2px solid #ed8b9e; transform: rotate(45deg); }
.buyer-challenge summary > span:first-child { flex: 1; }
.buyer-challenge[open] summary::after { transform: rotate(225deg); }
.challenge-details { display: grid; gap: 9px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.challenge-guidance { border-left: 2px solid var(--red); padding-left: 12px; }
.challenge-guidance p { margin: 0 0 8px; }
.challenge-guidance strong { display: block; }
.challenge-guidance .quiet { min-height: 44px; }
.challenge-details h3 { margin: 0; font-size: 1rem; }
.challenge-steps { margin: 0 0 4px; padding-inline-start: 1.4rem; display: grid; gap: 8px; }
.challenge-steps blockquote { margin-top: 4px; overflow-wrap: anywhere; }
.skill-progress-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.skill-progress-heading h3, .skill-goal h4 { margin: 0; }
.skill-progress-heading .pill { flex: none; }
.skill-latest { color: var(--muted); font-size: .85rem; }
.skill-latest strong { color: var(--text); font-size: 2rem; margin-right: 6px; }
.skill-latest small, .skill-trend { color: var(--muted); font-size: .85rem; }
.skill-bars { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.skill-attempt { display: grid; width: 100%; min-height: 44px; padding: 7px 4px; gap: 5px; background: #1d1319; border: 1px solid #513743; color: var(--text); border-radius: 5px; }
.skill-attempt:hover, .skill-attempt:focus-visible { border-color: #ff9cae; }
.skill-attempt meter { width: 100%; height: 8px; appearance: none; }
.skill-attempt meter::-webkit-meter-bar { background: #3d2a32; border: 0; border-radius: 3px; }
.skill-attempt meter::-webkit-meter-optimum-value { background: #e26178; }
.skill-attempt meter::-moz-meter-bar { background: #e26178; }
.skill-goal { display: grid; gap: 5px; border-top: 1px solid var(--line); padding-top: 12px; }
.skill-goal h4:not(:first-child) { margin-top: 7px; }
.skill-goal p, .older-skill-scores p { color: var(--muted); font-size: .9rem; }
.older-skill-scores { margin-top: 6px; }
.older-skill-scores ul { list-style: none; padding: 0; margin: 0; }
.journey-history-title { margin-top: 16px; }
.status { position: fixed; bottom: calc(15px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(90vw, 520px); border: 1px solid #a46d6d; border-radius: 5px; background: #301d23; padding: 12px 16px; z-index: 2; box-shadow: 0 5px 24px #0008; }
.status:empty { display: none; }
.loading-indicator {
  color: #fff; background: #221318; border: 1px solid #e14b65;
  border-radius: 12px; font-size: 1rem; font-weight: 720;
}
.loading-stack { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.loading-stack:has(#page-loading:not(:empty)) { z-index: 5; background: #080608d9; }
.loading-indicator:not(:empty) {
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.loading-indicator:empty,
.loading-stack:has(#page-loading:not(:empty)) #audio-loading { display: none; }
.loading-indicator:not(:empty)::before {
  content: ''; flex: none; width: 24px; height: 24px; border: 3px solid #a66976;
  border-top-color: #fff; border-radius: 50%; animation: loading-spin .75s linear infinite;
}
#page-loading, #app > .loading-indicator {
  flex-direction: column; width: min(360px, calc(100% - 40px)); padding: 30px 18px;
  font-size: 1.18rem; text-align: center; box-shadow: 0 18px 64px #000a, 0 0 28px #b21b3638;
}
#page-loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
#app > .loading-indicator { margin: clamp(44px, 16vh, 160px) auto 0; }
#page-loading:not(:empty)::before, #app > .loading-indicator::before {
  width: 42px; height: 42px; border-width: 4px; border-top-color: #ff6680;
}
#audio-loading {
  position: absolute; top: calc(10px + env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  width: min(520px, calc(100% - 24px)); min-height: 58px; padding: 12px 16px; text-align: center;
  background: #94142c; border-color: #ff8195; box-shadow: 0 6px 28px #000b;
}
@keyframes loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .loading-indicator:not(:empty)::before { animation: none; }
}
@media (max-width: 690px) {
  #app { width: calc(100% - 32px); padding: 34px 0; }
  .footer { padding-inline: 16px; }
  body[data-screen="auth"] #app { width: min(460px, 100%); padding: 0 0 24px; }
  .entry { grid-template-columns: minmax(0, 1fr); border: 0; border-radius: 0; background: #080809; }
  .entry-story {
    min-height: 246px; padding: 48px 22px 20px;
    background-image: linear-gradient(0deg, #0d090c 1%, #080608b5 32%, #08060822 86%),
      url('/assets/scene-auth.webp');
    background-position: center, center 56%;
  }
  .entry-headline { font-size: clamp(2.1rem, 9.5vw, 2.8rem); max-width: 13ch; }
  .entry-description { margin-top: 9px; }
  .entry-form { gap: 13px; padding: 14px 22px 0; }
  .home-card { padding: 17px; }
  .primary { min-height: 49px; }
}
@media (max-width: 355px) {
  .dashboard-insights { gap: 8px; }
  .dashboard-coach, .dashboard-growth { padding: 10px; }
  .habit { gap: 7px; padding-inline: 8px; }
  .habit svg { width: 17px; height: 17px; }
}

.narrow h1, .dashboard-mission h1 { letter-spacing: -.055em; text-wrap: balance; }
.primary, .entry-form .entry-submit {
  background: linear-gradient(175deg, #ce242a, #a90f19 78%); border: 1px solid #ed5255;
  border-radius: 5px; min-height: 49px; font-size: .88rem; letter-spacing: .07em; text-transform: uppercase;
  box-shadow: inset 0 1px #ffffff25, 0 4px 18px #8e0c1c38;
}
.primary:hover, .entry-form .entry-submit:hover { background: linear-gradient(175deg, #ed353c, #b3101b 78%); }
.secondary { background: #1a1216; border-color: #69414a; }
.secondary:hover { background: #2d181f; }
.panel, .dashboard-panel {
  background: linear-gradient(150deg, #1a1418f7, #100d10fa 64%);
  border-color: #4d353e; border-radius: 9px; box-shadow: inset 0 1px #ffffff0b, 0 14px 32px #0007;
}
.entry { background: #0d090c; border-color: #422d34; }
.entry-form { background: radial-gradient(ellipse at top right, #290e1570, transparent 66%), #100a0e; }
input, select, textarea, .entry-form input { background: #0c090c; border-color: #6b4b55; }
.practice-choices label, .coach-option { background: #191116; border-color: #64434d; }
.practice-choices label:has(input:checked), .coach-option:has(input:checked) {
  background: #38151e; border-color: #f16a76; box-shadow: inset 3px 0 #cc293c;
}
#coach-selector { background: #120c11; border-color: #713e4a; border-radius: 10px; }

body[data-screen] {
  --scene: url('/assets/scene-boardroom.webp');
  --scene-position: center 42%;
  --scene-height: clamp(290px, 53vw, 440px);
}
body[data-screen="home"] { --scene: url('/assets/scene-motion.webp'); }
body[data-screen="coach-intro"] { --scene: url('/assets/scene-coach.webp'); }
body[data-screen="first-mission"] { --scene: url('/assets/scene-first-mission.webp'); }
body[data-screen="profile"] { --scene: url('/assets/scene-profile.webp'); }
body[data-screen="briefing"] { --scene: url('/assets/scene-chess.webp'); --scene-position: right 40%; }
body[data-screen="voice-ready"] { --scene: url('/assets/scene-motion.webp'); }
body[data-screen="voice"] { --scene: url('/assets/scene-voice.webp'); --scene-height: 230px; }
body[data-screen="text"] { --scene: url('/assets/scene-text.webp'); }
body[data-screen="debrief"] { --scene: url('/assets/scene-debrief.webp'); }
body[data-screen="journey"] { --scene: url('/assets/scene-journey.webp'); --scene-position: center 53%; }
body[data-screen]:not([data-screen="auth"]) {
  background: linear-gradient(180deg, #080608 6%, #0b070b 48%, #070708 90%) #070708;
}
body[data-screen]:not([data-screen="auth"]) #app::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none; top: 0; right: 0; left: 0;
  height: var(--scene-height);
  background: linear-gradient(180deg, #070708a6 0%, #07070824 33%, #07070873 69%, #070708 100%),
    linear-gradient(90deg, #070708d9 0%, #07070833 73%), var(--scene);
  background-position: center, center, var(--scene-position);
  background-size: cover; background-repeat: no-repeat; opacity: .94;
}
body[data-screen]:not([data-screen="auth"]) #app { isolation: isolate; }
.dashboard-mission {
  background: linear-gradient(90deg, #090709ed 0%, #0c080bcf 36%, #0c080b26 100%),
    linear-gradient(0deg, #0d090d 4%, #0d090d13 92%), url('/assets/scene-city.webp') center 53% / cover no-repeat #0d080b;
  min-height: clamp(230px, 52vw, 295px); padding: clamp(19px, 5vw, 31px);
}
.dashboard-mission h1 { font-size: clamp(2rem, 7.5vw, 3rem); line-height: 1; }
.dashboard-mission p { color: #ebe2e5; margin-block: 11px 24px; }
.mission-guidance { margin: 14px 0 20px; }
.mission-guidance h2 { font-size: 1.125rem; margin-bottom: 10px; }
.dashboard-mission .mission-guidance p { max-width: 56ch; margin: 8px 0 0; overflow-wrap: anywhere; }
.dashboard-greeting { border-color: #f04756; }
.dashboard-coach { background: #0b080a; }
.dashboard-growth { background: linear-gradient(130deg, #28141d, #100b0f 74%); }
.coach-intro-portrait { border-color: #593c46; }
.coach-presence {
  background: linear-gradient(105deg, #271119ee 0%, #110b10f7 64%); border-color: #6a3b49;
  box-shadow: 0 9px 24px #0006;
}
.coach-note { background: #26141c; }
.call-visual {
  background: linear-gradient(150deg, #231016, #0d090c 70%);
  border-color: #71404d; border-radius: 9px;
}
.voice-conversation { max-width: 540px; }
body[data-screen="voice"] .brand { width: min(214px, 75vw); }
body[data-screen="voice"] .brand-tagline { display: none; }
body[data-screen="voice"] #app { padding-top: 20px; }
.voice-conversation h1 { font-size: clamp(2rem, 8vw, 3rem); }
.voice-conversation .call-visual { margin-top: 15px; min-height: 98px; padding: 14px 12px; text-align: center; }
.voice-conversation .wave { width: min(260px, 85%); height: 42px; }
.voice-conversation:not([data-call="active"]) .wave { display: none; }
.voice-conversation #voice-issue:empty, .voice-conversation .turns:empty { display: none; }
.voice-conversation .coach-presence {
  grid-template-columns: 38px minmax(0, 1fr); width: fit-content; max-width: 100%;
  border: 0; box-shadow: none; background: transparent; padding: 0; margin: 12px 0;
}
.voice-conversation .coach-presence img { aspect-ratio: 1; object-position: center 14%; }
.voice-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.voice-controls > button { width: 100%; padding-inline: 8px; }
.voice-conversation:not([data-call="active"]) .voice-controls :is([data-action="mute"], [data-action="finish"]),
.voice-conversation:not([data-call="disconnected"]) .voice-controls [data-action="reconnect"],
.voice-conversation[data-call="active"] .voice-controls [data-action="text"],
.voice-conversation:not([data-call="active"]) .call-options [data-action="text"],
.voice-conversation[data-call="active"] .call-options [data-action="finish"],
.voice-conversation:not([data-audio-blocked]) [data-action="buyer-audio"] { display: none; }
.voice-conversation[data-call="connecting"] .voice-controls { grid-template-columns: 1fr; }
.call-options { margin-top: 6px; }
.call-options > summary { min-height: 44px; padding-block: 12px; width: fit-content; }
.call-options .actions { margin-top: 3px; }
.turn, .history-row { background: #181015; border-color: #513743; border-radius: 6px; }
.turn.seller { background: #25141c; }
.history-row:hover { background: #2d151f; }
.coach-example { background: #25151d; }

@media (max-width: 690px) {
  .entry-form { padding-bottom: 18px; }
  body[data-screen]:not([data-screen="auth"]) #app::before {
    background-image: linear-gradient(180deg, #070708c7 0%, #07070826 30%, #07070873 64%, #070708 100%),
      linear-gradient(90deg, #0707088c, #07070830), var(--scene);
  }
}

/* Core training experience: one playable next move, with detail on demand. */
body:is([data-screen="home"], [data-screen="journey"], [data-screen="debrief"]) .top { padding: 18px 20px 12px; }
body:is([data-screen="home"], [data-screen="journey"], [data-screen="debrief"]) .brand { width: 224px; }
body:is([data-screen="home"], [data-screen="journey"], [data-screen="debrief"]) .brand-tagline { font-size: .51rem; letter-spacing: .1em; }
body:is([data-screen="home"], [data-screen="journey"], [data-screen="debrief"]) #app { width: min(820px, calc(100% - 40px)); padding: 16px 0 calc(100px + env(safe-area-inset-bottom)); }
body:is([data-screen="home"], [data-screen="journey"], [data-screen="debrief"]) #app::before { display: none; }
body:is([data-screen="home"], [data-screen="journey"], [data-screen="debrief"]) .footer { display: none; }
.experience { --soft-line: #ffffff1c; display: grid; gap: 22px; }
.experience h1 { font-size: clamp(2.25rem, 7vw, 3.8rem); line-height: 1.04; letter-spacing: -.055em; text-wrap: balance; }
.experience h2 { font-size: 1.35rem; line-height: 1.2; letter-spacing: -.025em; }
.experience h3 { font-size: 1.12rem; line-height: 1.3; }
.experience p { overflow-wrap: anywhere; }
.experience .accent { color: #f43b45; }
.experience svg { width: 20px; height: 20px; flex: none; }
.experience .primary, .replay-briefing > .actions .primary { min-height: 54px; border-radius: 9px; text-transform: none; letter-spacing: 0; font-size: 1rem; }
.experience .primary svg { width: 18px; height: 18px; }
.experience .secondary { min-height: 48px; border-radius: 8px; font-size: .94rem; }
.experience .quiet { font-size: .88rem; }
.eyebrow { color: #f0a0a3; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 750; }
.streak-chip { display: inline-flex; gap: 5px; align-items: center; color: #f1cbaf; font-size: .8rem; white-space: nowrap; }
.streak-chip svg { width: 15px; height: 19px; }

body[data-screen="home"] { isolation: isolate; }
body[data-screen="home"] .top { padding-bottom: 6px; }
body[data-screen="home"] .brand { position: relative; gap: 0; }
body[data-screen="home"] .brand-tagline { position: absolute; top: 74%; left: 28%; right: 0; padding: 0; line-height: 1.15; }
body[data-screen="home"]::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, #080509 0%, #08050912 25%, transparent 77%, #080509 100%),
    radial-gradient(ellipse at 0% 39%, #a4143432, transparent 49%),
    var(--scene) right -80px / clamp(620px, 100vw, 960px) auto no-repeat,
    var(--scene) right 44% / max(100vw, 133svh) auto no-repeat;
  background-blend-mode: normal, normal, screen, normal;
  filter: hue-rotate(-16deg) saturate(1.16);
}
body[data-screen="home"] .nav-button[aria-current] { color: #fa527b; box-shadow: inset 0 -2px #d91c4b; }
.experience.home-experience { width: min(100%, 640px); margin-inline: auto; gap: 12px; }
.home-experience .accent { color: #ff3c54; }
.home-rail {
  position: relative; isolation: isolate; display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: 10px; min-height: clamp(248px, 69vw, 420px); min-width: 0;
}
.home-backdrop {
  position: absolute; z-index: -1; inset: -15px -16px -13px;
  width: calc(100% + 32px); height: calc(100% + 28px); object-fit: cover; object-position: center top;
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 89%, transparent);
}
.home-panel, .home-mission {
  position: relative; border: 1px solid #776973; border-radius: 18px;
  background: radial-gradient(ellipse at 17% -7%, #b2a5b650, transparent 52%),
    radial-gradient(ellipse at 100% 112%, #8307273f, transparent 57%),
    linear-gradient(145deg, #201921, #0b080de8 65%);
  box-shadow: inset 0 1px #fff3, 0 7px 18px #0008;
}
.home-panel::before, .home-mission::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  pointer-events: none;
  background: linear-gradient(143deg, #faf3fa 1%, #c3b3c68f 15%, #45313f66 38%,
    #44172566 48%, #ed2f536e 65%, #56445266 81%, #faeaf6cf 97%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}
.home-coach { position: relative; display: flex; flex-direction: column; justify-content: end; min-width: 0; padding: 8px 6px 9px 5px; }
.home-greeting {
  position: absolute; top: 6px; left: 5px; z-index: 1; width: min(55vw, 300px);
  padding: 1px 0 2px 9px; border-left: 2px solid #db0c38; text-shadow: 0 1px 8px #000;
}
.home-experience .home-greeting h1 {
  font-size: clamp(1.04rem, 4.95vw, 1.75rem); max-width: 23ch;
  font-weight: 790; line-height: 1.08; letter-spacing: -.027em; text-wrap: initial;
}
.home-coach-select {
  display: flex; align-items: center; justify-content: space-between; gap: 5px; width: 100%; min-height: 45px;
  border: 1px solid #e5445b; border-top-color: #fddde4; border-radius: 7px;
  background: linear-gradient(160deg, #200b13f5, #090608f0);
  box-shadow: inset 0 1px #fff6, 0 3px 11px #e60c3e50;
  color: var(--text); text-align: left; padding: 5px 8px;
}
.home-coach-label {
  color: #eee4e8; font-size: clamp(.58rem, 2.45vw, .78rem); font-weight: 730;
  padding-left: 6px; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .11em; text-shadow: 0 1px 6px #000;
}
.home-coach-select strong { font-size: clamp(.73rem, 3.05vw, 1.16rem); font-weight: 820; line-height: 1.15; text-transform: uppercase; letter-spacing: .035em; }
.home-coach-select svg { width: 14px; height: 14px; transform: rotate(90deg); }
.home-coach .home-coach-intro {
  position: absolute; bottom: 53px; right: 0; display: grid; place-items: center;
  width: 44px; min-height: 44px; padding: 0; color: #f6e9ed;
}
.home-coach-intro svg { width: 16px; height: 16px; filter: drop-shadow(0 1px 4px #000); }
.home-progress {
  display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: clamp(54px, 15vw, 80px) 0 9px;
  padding: 13px 11px 10px; color: var(--text); text-align: left;
}
.home-panel-label {
  display: flex; align-items: center; gap: 5px; padding-bottom: 7px; border-bottom: 1px solid #ffffff38;
  font-size: clamp(.64rem, 2.7vw, .84rem); text-transform: uppercase; letter-spacing: .09em; font-weight: 800; color: #f3ebee;
}
.home-panel-label svg { width: 15px; height: 15px; color: #ff718e; }
.home-progress-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin-top: 5px; }
.home-progress-score strong { font-size: clamp(1.5rem, 7.1vw, 2.35rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.042em; }
.home-progress-score small { font-size: .55em; font-weight: 650; letter-spacing: 0; color: #bfb4b9; }
.home-progress-change { font-size: .68rem; color: #d8cbd0; font-weight: 750; }
.home-progress-change.is-up { color: #ff86a0; }
.home-progress-skill { color: #c9bdc3; font-size: .68rem; line-height: 1.22; }
.home-progress-empty { color: #c9bdc3; font-size: .79rem; line-height: 1.4; margin-block: auto; }
.home-score-bars { display: flex; flex: 1; align-items: end; gap: 5px; min-height: 50px; margin-bottom: 3px; border-bottom: 1px solid #6c555e; }
.home-score-bars > span { position: relative; display: block; min-width: 0; flex: 1; max-width: 40px; height: clamp(48px, 13vw, 80px); }
.home-score-bars progress {
  display: block; box-sizing: border-box; width: 100%; height: 100%; writing-mode: vertical-lr; direction: rtl;
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: #ab969f; border-radius: 3px; overflow: hidden;
}
.home-score-bars progress::-webkit-progress-bar { background: #ffffff0a; }
.home-score-bars progress::-webkit-progress-value { background: linear-gradient(#dbcbd0, #4a3d46); border-top: 1px solid #f4e9eb; border-radius: 3px 3px 0 0; }
.home-score-bars progress::-moz-progress-bar { background: linear-gradient(#dbcbd0, #4a3d46); border-top: 1px solid #f4e9eb; border-radius: 3px 3px 0 0; }
.home-score-bars > span:last-child progress::-webkit-progress-value { background: linear-gradient(#ff557b, #650d2a); border-color: #ffc6d5; }
.home-score-bars > span:last-child progress::-moz-progress-bar { background: linear-gradient(#ff557b, #650d2a); border-color: #ffc6d5; }
.home-progress-link { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding-top: 5px; margin-top: auto; }
.home-progress-link small, .home-progress-link strong { display: block; }
.home-progress-link small { color: #c9bdc3; font-size: .65rem; }
.home-progress-link strong { color: #ff89a2; font-size: .78rem; line-height: 1.2; }
.home-progress-link svg { color: #d0a8af; width: 13px; height: 13px; }
.home-mission { isolation: isolate; overflow: clip; border-bottom-color: #b23a58; }
.home-mission::after {
  background: linear-gradient(133deg, #fff6ff 0%, #b8a9b97d 13%, #45283444 39%,
    #87586770 58%, #ec255391 72%, #c2315866 80%, #ddc7d6bc 100%);
}
.home-mission-copy { padding: clamp(15px, 4.4vw, 26px); position: relative; }
.home-mission-status { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; margin-bottom: 9px; }
.home-mission-status svg { color: #ff2b4e; width: 19px; height: 19px; }
.home-mission-status strong { color: #f2dce4; font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.home-mission-status span { border-left: 1px solid #70444b; padding-left: 11px; color: #c9bfc2; font-size: .77rem; }
.home-mission h2 { max-width: 16ch; font-size: clamp(1.54rem, 6.75vw, 2.8rem); line-height: .99; letter-spacing: -.031em; }
.home-mission-instruction { max-width: 36ch; color: #f1e9ee; margin: 9px 0 0; line-height: 1.32; font-size: .9rem; text-shadow: 0 1px 8px #000; }
.home-mission-scene { position: absolute; inset: 0; z-index: -1; }
.home-mission-scene img { display: block; margin-left: auto; width: 70%; height: 100%; object-fit: cover; object-position: right 22%; }
.home-mission-scene::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0a0609 1%, #0a0609f2 32%, #0a060973 57%, transparent 89%),
    linear-gradient(0deg, #0a0609 5%, #0a0609d9 25%, transparent 89%);
}
.home-mission-copy .primary {
  display: grid; grid-template-columns: 18px 1fr 18px; width: 100%;
  padding-inline: 15px; margin-top: 16px; min-height: 49px; border-radius: 100px;
  border-color: #fc4a63; background: linear-gradient(180deg, #f12747 0%, #b6092a 23%, #570817 73%, #a30729 100%);
  box-shadow: inset 0 1px #ffd3da, inset 0 -1px #ff3157, 0 5px 20px #cd0c454e;
  text-transform: uppercase; font-size: .87rem; letter-spacing: .085em;
}
.home-mission-copy .primary:hover { filter: brightness(1.12); }
.home-mission-copy .primary:active { transform: scale(.985); }
.home-mission-action { display: grid; gap: 3px; line-height: 1.05; }
.home-mission-action small { color: #ffe2e8; font-size: .68rem; font-weight: 620; text-transform: none; letter-spacing: 0; }
.home-drill {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 9px;
  padding: 10px 12px; min-height: 65px; color: var(--text); text-align: left;
}
.home-drill strong, .home-drill small { display: block; }
.home-drill strong { font-size: .93rem; }
.home-drill small { color: var(--muted); font-size: .69rem; margin-top: 3px; }
.home-drill > svg:first-child, .home-drill-streak svg { color: #ff668a; width: 22px; height: 22px; }
.home-drill > svg:last-child { color: #dcb5ba; width: 13px; }
.home-drill-streak { display: flex; gap: 6px; align-items: center; border-left: 1px solid #ffffff30; padding-left: 9px; }
.home-drill-streak small { margin: 0; }
.home-drill-streak strong { font-size: .95rem; }
.home-panel:is(button):hover, .home-coach-select:hover { border-color: #ec8d98; }

.action-caption { margin-top: 9px; font-size: .78rem; color: #c9babf; line-height: 1.45; }
.reason-disclosure { border: 0; color: #c7bdc1; }
.reason-disclosure > summary { font-size: .88rem; min-height: 44px; padding: 12px 0; cursor: pointer; }
.reason-disclosure > p { font-size: .9rem; margin: 0 0 10px; }
.coach-strip { display: flex; gap: 13px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--text); width: 100%; text-align: left; min-height: 66px; }
.coach-strip img { width: 56px; height: 64px; border-radius: 10px; object-fit: cover; object-position: center 18%; border: 1px solid #ffffff20; }
.coach-strip > span:nth-child(2) { flex: 1; }
.coach-strip small { display: block; color: #b9aeb3; margin-bottom: 3px; font-size: .75rem; }
.coach-strip strong { display: block; font-size: 1rem; }
.coach-strip .quiet { padding-inline: 8px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-heading > span { font-size: .75rem; color: var(--muted); }
.experience .history-row { border-color: var(--soft-line); padding: 16px; border-radius: 10px; background: #141013; }
.experience .history-row > span:first-child { min-width: 0; }
.experience .history-row > span:first-child > strong { font-size: .95rem; line-height: 1.35; display: block; }
.experience .history-row small { font-size: .72rem; line-height: 1.4; }
.experience .history-row > span:last-child { position: relative; text-align: right; padding-right: 18px; }
.experience .history-row > span:last-child > strong { font-size: 1.25rem; }
.experience .history-row > span:last-child strong small { display: inline; }
.experience .history-row svg { position: absolute; right: -4px; top: 12px; width: 16px; }
.empty-note { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--soft-line); padding-top: 16px; }
.journey-header { padding: 34px 26px 30px; border-radius: 16px; background: linear-gradient(90deg, #090709c9 20%, #09070940), linear-gradient(0deg, #090709c7, transparent), url('/assets/scene-journey.webp') center 48% / cover; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; }
.journey-header h1 { margin: 10px 0 14px; max-width: 10ch; }
.journey-header > p:last-child { font-size: .82rem; color: #e9e0e3; }
.journey-header > p:last-child > span { margin-inline: 8px; color: #de6c77; }
.journey-next { border-left: 3px solid #ef3d4d; background: linear-gradient(110deg, #28131b, #110c10); border-radius: 0 14px 14px 0; padding: 22px; display: grid; gap: 12px; }
.journey-next > p:not(.eyebrow) { color: #ded3d7; font-size: .95rem; }
.journey-next > .primary { justify-self: start; margin-top: 3px; }
.journey-next .reason-disclosure { margin: -4px 0 -12px; }
.experience .journey-skills { gap: 0; margin: 8px 0 0; }
.skill-selector { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 6px; margin-bottom: 14px; }
.skill-node { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 1px solid transparent; background: #151014; color: #c9bdc4; min-width: 0; border-radius: 12px; padding: 12px 2px; min-height: 94px; }
.skill-node strong { font-size: .76rem; line-height: 1.2; font-weight: 600; }
.skill-node-level { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #65505a; border-radius: 50%; font-size: .85rem; }
.skill-node[aria-pressed="true"] { border-color: #eb6975; color: #fff; background: #35151f; }
.skill-node[aria-pressed="true"] .skill-node-level { color: #fff; border-color: #f27a84; background: #982438; box-shadow: 0 0 15px #cd273344; }
.skill-node:hover { background: #301923; }
.experience .journey-skill { background: #151015; border: 1px solid #4a323f; border-radius: 14px; padding: 22px; gap: 18px; }
.skill-progress-heading { align-items: start; }
.skill-progress-heading h3 { margin-top: 5px; max-width: 25ch; }
.skill-number { flex: none; text-align: right; color: #fff; font-size: 2rem; line-height: 1.1; font-weight: 750; letter-spacing: -.05em; }
.skill-number small { font-size: .75rem; letter-spacing: 0; color: #b9a9b4; }
.skill-number > span { display: block; font-size: .66rem; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-top: 5px; }
.level-track { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.level-track li { font-size: .7rem; color: #b8a9b3; padding-top: 10px; border-top: 3px solid #40323b; display: flex; align-items: center; gap: 5px; }
.level-track li > span:first-child { display: grid; place-items: center; width: 18px; height: 18px; background: #352831; border-radius: 50%; font-size: .66rem; }
.level-track li.earned { border-color: #eb6473; color: #ffe7eb; }
.level-track li.earned > span:first-child { background: #a6253b; }
.experience .skill-goal { border: 0; padding: 0; gap: 9px; }
.experience .skill-goal h4 { font-size: 1rem; margin: 0; }
.experience .skill-goal p { font-size: .9rem; }
.buyer-qualifiers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.buyer-qualifiers > span { border: 1px solid #54424c; border-radius: 6px; font-size: .74rem; padding: 6px 9px; color: #c5b8c0; }
.buyer-qualifiers > .earned { border-color: #637f75; color: #c3ecdb; background: #182c26; }
.buyer-qualifiers small { color: var(--muted); font-size: .74rem; }
.skill-practice { border-left: 2px solid #ab485c; padding-left: 12px; margin: 4px 0 8px; }
.skill-practice > strong { display: block; margin-bottom: 4px; font-size: .8rem; color: #f8d1d9; }
.skill-goal > button { justify-self: start; }
.skill-recent > summary, .older-skill-scores > summary { cursor: pointer; padding-block: 12px; min-height: 44px; font-size: .85rem; color: #e8c9d3; }
.skill-recent .fine { margin: 0 0 8px; }
.experience .journey-challenges { margin: 2px 0; }
.section-description { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.experience .buyer-challenge { padding: 16px; border-color: var(--soft-line); background: #130f13; box-shadow: none; border-radius: 11px; margin: 8px 0; }
.experience .buyer-challenge summary { min-height: 44px; font-size: 1rem; }
.experience .buyer-challenge summary small { font-size: .74rem; line-height: 1.4; }
.experience .buyer-challenge .pill { font-size: .65rem; padding: 6px 8px; color: #dfbfc8; border-color: #71505c; letter-spacing: 0; }
.experience .buyer-challenge[open] { border-color: #a55a70; }
.experience .challenge-details { font-size: .94rem; }
.mission-archive { border-top: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); }
.mission-archive > summary { min-height: 76px; padding: 18px 0; cursor: pointer; font-weight: 700; font-size: 1.12rem; }
.mission-archive > summary small { font-size: .78rem; font-weight: 400; color: var(--muted); margin-left: 10px; }
.mission-archive .history { margin-block: 12px 20px; }
.debrief-header { background: linear-gradient(90deg, #090709d9 30%, #09070966), linear-gradient(0deg, #090709, transparent), url('/assets/scene-debrief.webp') right center / cover; padding: 28px 24px 22px; border-radius: 16px; }
.debrief-header h1 { margin: 12px 0 14px; }
.debrief-header > p:last-child { color: #d6cbd1; max-width: 50ch; font-size: 1rem; }
.score-snapshot { display: grid; grid-template-columns: 1fr 1fr; padding: 20px; border: 1px solid var(--soft-line); border-radius: 14px; background: linear-gradient(115deg, #24141b, #130e12); }
.score-snapshot > div { padding-inline: 6px; }
.score-snapshot > div + div { border-left: 1px solid #72516270; padding-left: 24px; }
.score-snapshot span { font-size: .86rem; color: #efe0e6; }
.score-snapshot strong { display: block; font-size: 3rem; letter-spacing: -.06em; line-height: 1.25; }
.score-snapshot strong small { font-size: .9rem; letter-spacing: 0; color: #c4b2bd; font-weight: 500; }
.score-snapshot p { font-size: .75rem; color: #bbacb6; }
.score-snapshot .skill-display strong { color: #f3b3bd; }
.score-explainer { margin-block: -18px -18px; }
.debrief-experience > .coach-strip { margin-top: 2px; flex-wrap: wrap; }
.debrief-experience > .coach-strip > [data-action="stop-coach"] { margin-left: auto; }
.mastery-notice { padding: 12px 14px; border-left: 3px solid #e4a96d; background: #2c2119; color: #f2d7bc; font-size: .85rem; }
.next-move { background: linear-gradient(120deg, #30141e, #160f15); border: 1px solid #954353; border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.next-move > h2 { font-size: 1.55rem; }
.next-instruction { color: #f4e8ee; font-size: 1.05rem; }
.try-line { border-top: 1px solid #79516166; border-bottom: 1px solid #79516166; }
.try-line > summary { min-height: 48px; padding: 13px 0; font-size: .92rem; font-weight: 650; color: #ffbdc6; cursor: pointer; }
.try-line blockquote { margin: 10px 0 12px; font-size: 1.12rem; line-height: 1.5; color: #fff; border-left: 2px solid #ee7b8a; padding-left: 14px; }
.try-line > p:last-child { color: #d1bcc8; font-size: .88rem; padding-bottom: 16px; }
.replay-action > .primary { width: 100%; justify-content: space-between; }
.keep-move { display: flex; gap: 14px; padding: 8px 2px; }
.keep-move h2 { font-size: 1rem; margin-bottom: 6px; }
.keep-move p { color: #cabcC5; font-size: .93rem; }
.move-mark { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #19342b; color: #bbebd6; }
.keep-move summary { color: #d3d9d6; min-height: 44px; padding-block: 12px; font-size: .84rem; cursor: pointer; }
.experience blockquote { overflow-wrap: anywhere; }
.keep-move blockquote, .debrief-detail-stack blockquote { margin: 8px 0; padding-left: 12px; border-left: 2px solid #815769; line-height: 1.5; }
.result-unlock { padding: 22px; border: 1px solid #694654; border-radius: 14px; background: #1c1219; }
.result-unlock h2 { margin: 8px 0 18px; }
.result-unlock.round-cleared { border-color: #648774; background: linear-gradient(110deg, #1c3027, #111b17); }
.result-unlock details > summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-size: .84rem; }
.debrief-detail-stack { border-block: 1px solid var(--soft-line); }
.debrief-detail-stack > details { border: 0; padding: 0; margin: 0; }
.debrief-detail-stack > details + details { border-top: 1px solid var(--soft-line); }
.debrief-detail-stack > details > summary { padding: 19px 2px; min-height: 56px; cursor: pointer; color: #e2d4dc; font-size: .95rem; font-weight: 650; }
.debrief-detail-stack > details[open] { padding-bottom: 18px; }
.debrief-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.replay-briefing > .actions { margin: 18px 0; }
.replay-briefing > .actions svg { width: 20px; }
body[data-screen="briefing"] .brand { width: min(224px, 75vw); }
body[data-screen="briefing"] #app { padding-top: 20px; }
.replay-briefing h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
@media (max-width: 480px) {
  body:is([data-screen="home"], [data-screen="journey"], [data-screen="debrief"]) #app { width: calc(100% - 32px); padding-top: 10px; }
  .experience { gap: 18px; }
  .hero-instruction { font-size: .95rem; }
  .journey-header { padding: 22px; min-height: 190px; }
  .journey-next { padding: 18px; }
  .journey-next > .primary { width: 100%; }
  .section-heading { align-items: flex-start; }
  .section-heading > span { text-align: right; max-width: 13ch; }
  .experience .journey-skill { padding: 18px 16px; }
  .skill-progress-heading h3 { font-size: 1.05rem; }
  .skill-node { padding-block: 10px; min-height: 86px; }
  .skill-node strong { font-size: .75rem; }
  .skill-number { font-size: 1.8rem; }
  .skill-number > span { max-width: 9ch; margin-left: auto; line-height: 1.3; }
  .level-track li { font-size: .65rem; gap: 4px; }
  .experience .buyer-challenge { padding: 14px 12px; }
  .experience .buyer-challenge summary { gap: 8px; font-size: .94rem; }
  .experience .buyer-challenge summary .pill { padding: 5px 6px; font-size: .62rem; }
  .experience .buyer-challenge summary small { font-size: .68rem; }
  .debrief-header { padding: 22px 16px 12px; }
  .score-snapshot { padding: 16px 12px; }
  .score-snapshot > div + div { padding-left: 18px; }
  .score-snapshot strong { font-size: 2.7rem; }
  .score-snapshot p { font-size: .7rem; }
  .next-move { padding: 22px 18px; }
  .debrief-experience > .coach-strip .quiet { font-size: .79rem; }
  .debrief-footer { gap: 12px; }
}
@media (max-width: 355px) {
  .coach-strip { gap: 9px; }
  .coach-strip strong { font-size: .9rem; }
  .skill-selector { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .skill-node strong { font-size: .76rem; }
}

.coach-strip:has([data-action="stop-coach"]:not([hidden])) [data-action="debrief-audio"] { display: none; }

.score-snapshot .preview-grade { font-size: 1.65rem; line-height: 2.2; letter-spacing: -.03em; }
.historical-coach { color: var(--muted); font-size: .78rem; margin-block: -8px 4px; }

/* Daily Drill shares the training look while keeping a single reply in focus. */
body[data-screen="daily"] .top { padding: 18px 20px 12px; }
body[data-screen="daily"] .brand { width: 224px; }
body[data-screen="daily"] .brand-tagline { font-size: .51rem; }
body[data-screen="daily"] #app { width: min(720px, calc(100% - 32px)); padding: 16px 0 calc(100px + env(safe-area-inset-bottom)); }
body[data-screen="daily"] #app::before, body[data-screen="daily"] .footer { display: none; }
.daily-footnote { color: #bfaeb7; font-size: .76rem; line-height: 1.5; }
.daily-cleared { background: linear-gradient(115deg, #1b3027, #111a16); border-color: #6b927f; }
.daily-cleared .eyebrow { color: #afdbc5; }
.daily-header { padding: 10px 0 4px; }
.daily-header h1 { margin: 10px 0 12px; font-size: clamp(2.1rem,6vw,3.2rem); }
.daily-header > p:last-child { color: var(--muted); font-size: .9rem; }
.daily-scene { display: grid; gap: 12px; padding: 23px; background: #181116; border: 1px solid #5d3948; border-radius: 14px; }
.daily-scene > p:not(.eyebrow):not(.daily-footnote) { color: #e1d6dc; font-size: .95rem; }
.daily-scene blockquote { margin: 4px 0; background: #0807098c; border-left: 3px solid #e96579; border-radius: 0 8px 8px 0; padding: 16px; line-height: 1.5; font-size: 1.1rem; }
.daily-scene blockquote > span { display: block; font-size: .65rem; color: #eaa9b6; letter-spacing: .1em; margin-bottom: 8px; }
.daily-win h2 { font-size: 1.15rem; }
.daily-win ol { padding-left: 22px; display: grid; gap: 8px; margin-block: 14px; font-size: .93rem; line-height: 1.5; }
.daily-win > p { color: #bfaeb8; font-size: .8rem; }
.daily-win > p > strong { color: #f0d9e2; }
.daily-reply { display: grid; gap: 10px; }
.daily-reply > label { font-size: 1.25rem; font-weight: 750; }
.daily-reply > p:not(.daily-footnote) { font-size: .88rem; color: var(--muted); }
.daily-reply textarea { width: 100%; min-height: 135px; padding: 14px; border-radius: 10px; font-size: 1rem; resize: vertical; }
.daily-reply button { justify-content: space-between; }
.daily-verdict { border: 1px solid #664152; border-radius: 15px; padding: 24px; display: grid; gap: 18px; background: #191017; }
.daily-verdict.daily-cleared { border-color: #6b927f; background: linear-gradient(120deg,#182820,#101713); }
.daily-result-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.daily-result-title > strong { font-size: 1.25rem; }
.daily-result-title > span { font-size: 2.5rem; font-weight: 750; letter-spacing: -.05em; white-space: nowrap; }
.daily-result-title small { font-size: .78rem; color: var(--muted); letter-spacing: 0; }
.daily-verdict > p { color: var(--muted); font-size: .83rem; }
.daily-checks { padding: 0; margin: 0; list-style: none; display: grid; gap: 18px; }
.daily-score-detail { border-top: 1px solid #49313b; margin-top: 20px; }
.daily-score-detail > summary { cursor: pointer; padding: 16px 0; min-height: 48px; font-size: .9rem; color: #ecd1db; }
body[data-screen="reminders"] .top { padding: 18px 20px 12px; }
body[data-screen="reminders"] .brand { width: 224px; }
body[data-screen="reminders"] .brand-tagline { font-size: .51rem; }
body[data-screen="reminders"] #app { width: min(720px, calc(100% - 32px)); padding: 16px 0 calc(100px + env(safe-area-inset-bottom)); }
body[data-screen="reminders"] #app::before, body[data-screen="reminders"] .footer { display: none; }
.reminder-experience { max-width: 700px; margin-inline: auto; gap: 14px; }
.reminder-experience h1 { font-size: clamp(2.5rem, 9vw, 4rem); line-height: 1.02; margin: 0; }
.reminder-experience > .intro { font-size: 1rem; margin: 2px 0; }
.reminder-preview { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(130deg,#2b1722,#151115); border: 1px solid #76515f; border-radius: 22px; padding: 22px; margin-block: 10px 0; }
.reminder-preview img { border-radius: 13px; object-fit: cover; flex-shrink: 0; }
.reminder-preview small { font-size: .65rem; letter-spacing: .1em; color: #d4abb8; }
.reminder-preview h2 { font-size: .95rem; margin: 8px 0; }
.reminder-preview p { font-size: 1rem; line-height: 1.55; }
.reminder-state { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.reminder-controls { margin-top: 12px; padding: 22px; }
.reminder-controls .form-stack { margin-block: 24px; }
.reminder-private { display: flex; align-items: center; gap: 12px; line-height: 1.5; min-height: 44px; }
.reminder-private input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #dc273b; }
.reminder-setup { padding: 18px; margin-top: 20px; background: #24151c; border-radius: 12px; }
.reminder-setup h3 { font-size: 1.1rem; margin-bottom: 10px; }
.reminder-setup li { margin-top: 10px; }
.reminder-success { color: #b6e5c4; margin-block: 14px; }
@media(max-width:400px){.reminder-preview{padding:16px;gap:12px}.reminder-preview img{width:42px;height:50px}.reminder-preview h2{font-size:.9rem}}
.daily-checks li { display: flex; gap: 11px; }
.check-symbol { color: #edb1bc; font-size: 1.15rem; }
.daily-checks strong { display: block; font-size: .93rem; }
.daily-checks strong small { color: #cdafbc; font-size: .78rem; font-weight: 500; margin-left: 6px; }
.daily-checks p { color: #c6b7bf; font-size: .88rem; margin-top: 5px; }
.daily-checks summary { cursor: pointer; min-height: 44px; padding-block: 12px; font-size: .8rem; color: #e8cbd5; }
.daily-checks blockquote { margin: 0; padding-left: 10px; border-left: 2px solid #755466; font-size: .9rem; }
.daily-next-tip { border-left: 3px solid #e67787; padding: 12px 14px; background: #33172180; }
.daily-next-tip > strong { font-size: .85rem; color: #f4bec9; }
.daily-next-tip > p { margin-top: 5px; font-size: .95rem; }
.daily-verdict > .actions { margin: 0; }
.tomorrow-card, .daily-journey { display: grid; gap: 12px; padding: 22px; border: 1px solid #4a3942; border-radius: 12px; background: #120e12; }
.tomorrow-card > p:not(.eyebrow), .daily-journey > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; }
.tomorrow-card > button, .daily-journey > button { justify-self: start; }
.daily-scene-review > summary { min-height: 48px; padding-block: 14px; cursor: pointer; }
.daily-scene-review > p, .daily-scene-review blockquote { font-size: .9rem; color: var(--muted); line-height: 1.5; }
.daily-scene-review blockquote { margin: 12px 0; padding-left: 12px; border-left: 2px solid #775064; }
@media(max-width:480px) {
 .daily-verdict { padding: 22px 18px; }
 .daily-scene { padding: 20px 16px; }
 .daily-verdict .actions { display: grid; }
 .daily-result-title > strong { font-size: 1.08rem; }
}

.daily-week { list-style: none; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 6px; padding: 0; margin: 8px 0 0; }
.daily-week li { display: grid; justify-items: center; gap: 7px; color: #b8a6b0; font-size: .65rem; }
.daily-week strong { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; border: 1px solid #65515d; font-size: 1rem; font-weight: 500; }
.daily-week .earned strong { background: #234536; color: #c3f5dc; border-color: #74ad91; }
.daily-week .today:not(.earned) strong { border-color: #ed6d80; color: #ffd2da; }
