/* Soundings demo (#47): "Clear water". Light, calm and reassuring, with one moment of
   delight: a sonar blip when the participant uncovers a fact. */
@font-face { font-family: "Figtree"; src: url("/static/vendor/fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/vendor/fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/vendor/fonts/figtree-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/static/vendor/fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/static/vendor/fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/static/vendor/fonts/newsreader-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/static/vendor/fonts/public-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/static/vendor/fonts/public-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("/static/vendor/fonts/public-sans-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/vendor/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/static/vendor/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/vendor/fonts/figtree-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/vendor/fonts/figtree-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --bg: #f6fafb;
  --surface: #ffffff;
  --ink: #0f2b3a;
  --soft: #557080;
  --teal: #0e8c7f;
  --teal-deep: #0a6f65;
  --sky: #dcf0f2;
  --mist: #eaf4f5;
  --line: #e1ebee;
  --coral: #ff6b4a;
  --glow: #3fd9c2;
  --radius: 20px;
  --shadow: 0 18px 44px -26px rgba(15, 43, 58, 0.45);
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
/* What the page hides stays hidden, whatever display a class gives it (#347) */
[hidden] { display: none !important; }
html { color-scheme: light; }
body {
  margin: 0;
  min-height: 100vh;
  font: 400 1.0625rem/1.55 var(--font);
  color: var(--ink);
  background: radial-gradient(110% 70% at 0% 0%, #dff3f1 0%, var(--bg) 55%) fixed, var(--bg);
}
main { min-height: 100vh; display: grid; }
.stage { padding: 3.5rem 1.5rem 6rem; display: grid; place-items: center; }  /* the 6rem keep the "How this works" bar off the content (#377) */
.stage[hidden] { display: none; }
.hello-sounding { display: none; }  /* Hide the wavy decorative graphic between greeting and content */

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: 1.3rem; font-weight: 800; margin-top: 2rem; }
h3 { font-size: 1.12rem; font-weight: 800; }
p { margin: 0; }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: -0.02em; }
.wordmark::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #bff0e8, var(--teal)); box-shadow: 0 0 0 4px rgba(14, 140, 127, 0.14); }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--soft); margin-top: 1rem; }
.small { font-size: 0.93rem; color: var(--soft); }

button {
  font: 600 1rem var(--font);
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  border: 0;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
}
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.55; cursor: progress; }
button.primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(15, 43, 58, 0.9); }
button.primary:hover { background: #18405a; }
button.quiet { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); padding: 0.6rem 1.15rem; }
button.quiet:hover { box-shadow: inset 0 0 0 1.5px var(--soft); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
summary:focus-visible { outline-offset: 4px; border-radius: 8px; }
.actions[hidden] { display: none; }
.actions { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; margin-top: 2rem; }

/* 1. Arrival */
.arrival-grid { width: 100%; max-width: 68rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3rem; align-items: center; }
.arrival { max-width: 36rem; }
.arrival .wordmark { margin-bottom: 1.75rem; }
.start-row { display: flex; align-items: flex-end; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.4rem; }
.start-row .name-field { margin-top: 0; flex: 1 1 14rem; }
.brief-actions { display: flex; gap: 0.75rem; align-items: center; }
.hero-scope { justify-self: center; }
.modes { border: 0; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.75rem; }
.modes legend { font-weight: 800; margin-bottom: 0.75rem; }
.modes legend .small { font-weight: 400; margin-left: 0.35rem; }
@media (min-width: 901px) { .modes { grid-template-columns: 1fr 1fr; } .mode { align-content: start; } .modes.parts { grid-template-columns: 1fr; } }
.mode {
  display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; row-gap: 0.15rem;
  padding: 1rem 1.15rem; border-radius: 16px; cursor: pointer; background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow 160ms ease;
}
.mode:hover { box-shadow: inset 0 0 0 1.5px #b7d5d9; }
.mode:has(input:checked) { box-shadow: inset 0 0 0 2px var(--teal); }
.mode:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.mode input:focus-visible { outline: none; }
.mode input { grid-row: span 2; margin-top: 0.3rem; accent-color: var(--teal); width: 1.05rem; height: 1.05rem; }
.mode-name { font-weight: 800; }
.mode-name em { font-style: normal; font-weight: 600; font-size: 0.8rem; color: var(--teal-deep); background: var(--sky); padding: 0.1rem 0.5rem; border-radius: 999px; margin-left: 0.35rem; vertical-align: 0.1em; }
.mode-text { color: var(--soft); font-size: 0.97rem; }
.name-field { display: grid; gap: 0.4rem; margin-top: 1.5rem; max-width: 20rem; font-weight: 800; }
.name-field input, .intake .field input, textarea {
  font: 400 1.0625rem var(--font); padding: 0.8rem 1rem; border: 0; border-radius: 12px; background: var(--surface);
  color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow 150ms ease;
}
.name-field input:focus, .intake .field input:focus, textarea:focus { outline: none; background: rgba(14, 140, 127, 0.06); box-shadow: inset 0 0 0 2.5px var(--teal), 0 0 0 3px rgba(14, 140, 127, 0.15); }
.notice { margin: 1.25rem 0 0; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--mist); }
.notice h2 { margin: 0 0 0.4rem; font-size: 1rem; }
.notice ul { margin: 0; padding-left: 1.15rem; color: var(--ink); }
.notice li + li { margin-top: 0.25rem; }
.terms { margin: 2rem 0 0; display: grid; grid-template-columns: 8rem 1fr; gap: 0.9rem 1.25rem; background: var(--surface); padding: 1.4rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.terms dt { font-weight: 800; }
.terms dd { margin: 0; color: var(--soft); }

/* 1c to 1f. What to practise on, intake, preparing */
.kinds { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
.kind { display: grid; gap: 0.25rem; text-align: left; padding: 1.1rem 1.25rem; border-radius: 16px; background: var(--surface); color: var(--ink);
  font: inherit; box-shadow: inset 0 0 0 1.5px var(--line); }
.kind:disabled, .kind:disabled:hover { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.kind:hover { box-shadow: inset 0 0 0 2px var(--teal), 0 12px 28px -20px rgba(14, 140, 127, 0.8); }
.kind-name { font-weight: 800; font-size: 1.08rem; }
.kind-text { color: var(--soft); }
.kind-mark { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--sky); margin: 0 0 0.5rem 0; }
.kind-mark .icon { width: 1.8rem; height: 1.8rem; color: var(--teal); }
.intake { max-width: 40rem; }
.intake .field { display: grid; gap: 0.4rem; margin-top: 1.1rem; font-weight: 800; }
.intake .field input, .intake .field textarea { width: 100%; font-weight: 400; }
.intake .field textarea { resize: vertical; }
#own-text { font: 0.92rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
#own-text::placeholder { font-family: var(--font); }
.upload { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; font-weight: 600; color: var(--teal-deep); margin-top: 0.4rem; }
.upload input { font: 400 0.93rem var(--font); color: var(--ink); }
.chosen-file { display: flex; align-items: center; gap: 0.75rem; margin: 0.4rem 0 0; font-weight: 600; }
.chosen-file[hidden] { display: none; }
.github-panel { margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--mist); }
.github-panel .actions { margin-top: 0.6rem; }
.github-files { margin-top: 1.4rem; border: 0; padding: 0; }
.github-files legend { font-weight: 800; }
.file-list { max-height: 16rem; overflow-y: auto; margin-top: 0.6rem; padding: 0.6rem 0.9rem; border-radius: 14px; background: var(--mist); }
.file-list label { display: flex; gap: 0.6rem; align-items: center; padding: 0.2rem 0; font: 400 0.93rem var(--font); overflow-wrap: anywhere; }
.file-list input { accent-color: var(--teal); flex: none; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1.4rem; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--mist); }
.consent input { accent-color: var(--teal); width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; flex: none; }
.form-error { margin-top: 1rem; color: #c4442a; font-weight: 700; }
.form-error[hidden] { display: none; }
.preparing { text-align: center; }
.preparing .lede { margin-left: auto; margin-right: auto; }
.brief-tip { margin: -0.5rem 0 1.25rem; padding: 0.7rem 0.95rem; border-radius: 12px; background: var(--mist); font-weight: 600; color: var(--teal-deep); }
.brief-tip[hidden], .brief-work[hidden] { display: none; }
.mentor-note { margin: 0 0 1rem; padding: 0.6rem 0.85rem; border-radius: 12px; background: var(--mist); font-weight: 600; color: var(--teal-deep); font-size: 0.93rem; }
.mentor-note[hidden] { display: none; }
.mentor-feedback { padding: 1rem 1.25rem; border-radius: 16px; border: 1.5px solid var(--teal); margin-bottom: 1.25rem; }
.mentor-feedback h2 { font-size: 1rem; margin: 0 0 0.4rem; }
.mentor-feedback p { margin: 0 0 0.4rem; white-space: pre-wrap; }
.brief-work { margin: -0.5rem 0 1.25rem; }
.brief-work summary, .notes-brief summary { cursor: pointer; font-weight: 800; }
.brief-work pre, #notes-work-text { max-height: 16rem; overflow: auto; margin: 0.6rem 0 0; padding: 0.8rem 0.9rem; border-radius: 12px;
  background: var(--mist); font: 0.85rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; word-break: break-word; }
#notes-soundings[hidden], #call-soundings[hidden] { display: none; }

/* 2. The brief */
.memo { max-width: 42rem; width: 100%; background: var(--surface); border-radius: 24px; padding: 2.5rem; box-shadow: var(--shadow); }
.memo-meta { display: inline-block; color: var(--teal-deep); background: var(--sky); font-weight: 600; font-size: 0.9rem; padding: 0.2rem 0.75rem; border-radius: 999px; margin-bottom: 1rem; }
.memo h1 { font-size: 2.1rem; }
.memo-body { font-size: 1.15rem; line-height: 1.65; margin: 1.5rem 0; }
.memo-body p + p { margin-top: 1rem; }
.memo footer { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.memo footer p { max-width: 24rem; color: var(--soft); font-size: 0.97rem; }

/* The sonar scope around Eve: it shows only THAT someone is speaking (the orb
   swells with loudness), never how. A blip appears for each fact uncovered. */
.scope { position: relative; width: 16rem; height: 16rem; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(63, 217, 194, 0.10), transparent 64%); }
.scope-prep { width: 12rem; height: 12rem; margin: 1.5rem auto; }
.scope-prep .orb { width: 4.5rem; height: 4.5rem; }
.scope::before, .scope::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(14, 140, 127, 0.18); }
.scope::before { inset: 0; }
.scope::after { inset: 17%; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63, 217, 194, 0.28), transparent 20%); animation: sweep 5s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.orb {
  position: relative; width: 6.5rem; height: 6.5rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #c6f3ec, #4cc3b5 55%, var(--teal));
  box-shadow: 0 18px 40px -16px rgba(14, 140, 127, 0.7), 0 0 0 calc(var(--level, 0) * 18px) rgba(63, 217, 194, 0.18);
  transform: scale(calc(1 + var(--level, 0) * 0.12));
  transition: transform 90ms linear, box-shadow 90ms linear;
  display: grid; place-items: center; color: var(--surface); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.02em;  /* the persona's initials (#183, #362) */
}
/* Eve's state: slow sweep while she listens, quicker sweep and pulses while she thinks,
   a gentle breath while she speaks. */
.scope[data-state="listening"] .sweep { animation-duration: 9s; opacity: 0.7; }
.scope[data-state="thinking"] .sweep { animation-duration: 1.8s; }
.pulse { position: absolute; inset: 30%; border-radius: 50%; border: 2px solid rgba(14, 140, 127, 0.35); opacity: 0; pointer-events: none; }
.scope[data-state="thinking"] .pulse { animation: think 1.2s ease-out infinite; }
@keyframes think { from { transform: scale(0.8); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }
.scope[data-state="speaking"] .orb { animation: speak 2.4s ease-in-out infinite; }
@keyframes speak { 50% { filter: brightness(1.08) saturate(1.1); } }
/* Before the call: the mic check shows only the orb; then Eve "rings". */
.scope[data-state="check"] .sweep { opacity: 0; }
.scope[data-state="calling"] .sweep { opacity: 0; }
.scope[data-state="calling"] .pulse { animation: ring 1.4s ease-out infinite; border-color: rgba(14, 140, 127, 0.5); }
@keyframes ring { 0% { transform: scale(0.85); opacity: 0.9; } 70%, 100% { transform: scale(2.3); opacity: 0; } }
.mic-skip { margin-top: 0.75rem; padding: 0.4rem 0.9rem; font-size: 0.9rem; }
.mic-skip[hidden] { display: none; }
.eve-state { margin-top: 0.15rem; min-height: 1.4em; font-size: 0.85rem; font-weight: 700; color: var(--teal-deep); letter-spacing: 0.01em; }
.orb.ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--coral); animation: ripple 1.5s ease-out forwards; }
@keyframes ripple { from { transform: scale(1); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.blip { position: absolute; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.18), 0 0 16px 3px rgba(255, 107, 74, 0.55); animation: blip 900ms cubic-bezier(.2, .9, .3, 1.4); }
@keyframes blip { from { transform: scale(3.2); opacity: 0; } }

/* 3. The call */
#room { place-items: stretch; padding: 0; align-content: start; }
.room-bar { display: flex; align-items: center; gap: 1.25rem; padding: 1rem 1.5rem; }
.room-title { font-weight: 800; flex: 1; }
.clock { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--coral); background: #fff1ed; padding: 0.3rem 0.8rem; border-radius: 999px; opacity: 0; transition: opacity 600ms ease; }
.clock.shown { opacity: 1; }
/* Desktop-first: conversation takes 70%, notes/brief 30% */
.room-grid { display: grid; grid-template-columns: minmax(0, 1.33fr) minmax(18rem, 1fr); gap: 2rem; padding: 1.5rem 2rem; min-height: calc(100vh - 4.5rem); }
.presence { display: flex; flex-direction: column; align-items: center; padding: 0.75rem 1rem 2rem; }
/* A compact header: a small scope beside the persona's name, role and speaking state, so the
   conversation has the room (#73). The scope still shows only THAT someone is speaking. */
.presence-head { display: flex; align-items: center; gap: 1.1rem; width: 100%; max-width: 40rem; }
.presence-head .scope { width: 5.75rem; height: 5.75rem; flex: none; }
.presence-head .orb { width: 2.6rem; height: 2.6rem; font-size: 0.95rem; }
.presence-head .anchor { width: 1rem; height: 1rem; left: calc(50% - 0.5rem); bottom: 3%; }
.presence-text { min-width: 0; }
.persona-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.persona-role { color: var(--soft); font-weight: 400; font-size: 1rem; letter-spacing: 0; margin-left: 0.35rem; }
.status { margin-top: 0.15rem; color: var(--teal-deep); font-weight: 600; min-height: 1.4em; font-size: 0.93rem; }
/* Captions as message bubbles: Eve on the left, you on the right, newest at the bottom.
   The list fills the space under the scope and scrolls inside itself, never the page. */
.presence { min-height: 0; }
@media (min-width: 901px) {
  .room-grid { height: calc(100dvh - 4.5rem); min-height: 34rem; }
  .presence { height: 100%; padding-bottom: 0; }
  .notes { max-height: calc(100% - 1rem); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 0; }
  /* The brief scrolls; the decision stays in view, so the participant sees it land (#179). */
  .decision-dock { position: sticky; bottom: 0; background: var(--surface); padding: 0.2rem 0 1.5rem; box-shadow: 0 -1px 0 var(--line); margin-top: 1.4rem; }
  .decision-dock h2 { margin-top: 0.9rem; }
}
.captions { list-style: none; margin: 1rem 0 0; padding: 1rem 0.9rem 1.1rem; width: 100%; max-width: 40rem;
  flex: 1 1 0; min-height: 9rem; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 0.2rem;
  background: rgba(255, 255, 255, 0.72); border-radius: 26px; box-shadow: var(--shadow); scroll-behavior: smooth; }
.captions:empty { display: none; }
/* When the voice fails (#213): a calm note above the captions, where the persona's words now appear. */
.voice-note { max-width: 40rem; width: 100%; margin: 0.8rem auto 0; padding: 0.7rem 0.9rem; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 3px 0 0 var(--teal), inset 0 0 0 1px var(--line); color: var(--ink); font-size: 0.95rem; }
.voice-note[hidden] { display: none; }
.captions { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.captions li { display: flex; flex-direction: column; max-width: 80%; animation: bubble 240ms cubic-bezier(.2, .9, .3, 1.2); }
@keyframes bubble { from { opacity: 0; transform: translateY(8px) scale(0.97); } }
.captions li.persona { align-self: flex-start; align-items: flex-start; }
.captions li.you { align-self: flex-end; align-items: flex-end; }
.captions .who { font-size: 0.74rem; font-weight: 700; color: var(--soft); margin: 0.6rem 0.85rem 0.2rem; }
.captions li.persona + li.persona .who, .captions li.you + li.you .who { display: none; }
.decision-options { margin: 1rem 0 0; padding: 1rem 0.9rem; max-width: 40rem; background: rgba(3, 33, 71, 0.05); border-radius: 20px; border-left: 3px solid var(--brand-yellow); animation: slide-in 300ms ease-out; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-10px); } }
.decision-intro { font-size: 0.8rem; color: var(--ink); margin: 0 0 0.6rem 0; line-height: 1.5; }
.decision-list { list-style: none; margin: 0; padding: 0; font-size: 0.8rem; }
.decision-list li { margin: 0.5rem 0; color: var(--ink); line-height: 1.5; }
.decision-list strong { color: var(--brand-yellow); font-weight: 700; }
.decision-note { font-size: 0.75rem; color: var(--soft); margin: 0.8rem 0 0 0; line-height: 1.5; font-style: italic; }
.decision-feedback { margin: 0.75rem 0 0; padding: 0.8rem 0.9rem; background: rgba(74, 222, 128, 0.1); border-radius: 16px; border-left: 3px solid #4ade80; animation: pulse-in 400ms ease-out; }
@keyframes pulse-in { from { opacity: 0; transform: scale(0.95); } }
.decision-confirmed { font-weight: 700; color: #16a34a; margin: 0 0 0.3rem 0; font-size: 0.85rem; }
.decision-type { font-weight: 600; color: var(--ink); margin: 0.3rem 0; font-size: 0.8rem; }
.decision-type strong { color: var(--brand-yellow); }
.decision-reason { font-size: 0.75rem; color: var(--soft); margin: 0.3rem 0 0 0; font-style: italic; }
.decisions-made { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1rem; }
.decisions-made h2 { font-size: 0.9rem; font-weight: 700; color: var(--ink); margin: 0 0 0.75rem 0; }
.decisions-list { list-style: none; margin: 0; padding: 0; }
.decisions-list li { padding: 0.6rem 0.7rem; margin: 0.5rem 0; background: rgba(236, 173, 10, 0.08); border-radius: 12px; border-left: 3px solid var(--brand-yellow); font-size: 0.8rem; line-height: 1.4; }
.decision-item-type { font-weight: 700; color: var(--brand-yellow); margin-bottom: 0.2rem; }
.decision-item-reason { color: var(--ink); margin: 0.2rem 0; }
.decision-item-time { font-size: 0.7rem; color: var(--soft); margin-top: 0.2rem; }
.captions .said { padding: 0.55rem 0.95rem 0.6rem; border-radius: 20px; font-size: 1rem; line-height: 1.42; overflow-wrap: anywhere; }
.captions .persona .said { background: var(--mist); color: var(--ink); border-bottom-left-radius: 6px; }
.captions .you .said { background: var(--teal-deep); color: #fff; border-bottom-right-radius: 6px; }
.captions li.persona:has(+ li.persona) .said { border-bottom-left-radius: 20px; }
.captions li.you:has(+ li.you) .said { border-bottom-right-radius: 20px; }
.captions li.you.interim .said { background: var(--sky); color: var(--teal-deep); }

.notes { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; align-self: start; position: sticky; top: 1rem; }
.notes h2 { font-size: 1rem; margin-top: 1.6rem; }
.notes-brief summary { cursor: pointer; font-weight: 800; }
/* The brief stays open beside the call (#179): reference, not something to memorise. */
.call-card h2:first-child { margin-top: 0; }
.call-card p, .call-card #notes-brief { font-size: 0.97rem; margin-top: 0.4rem; }
.call-card #card-who, .call-card #notes-brief { color: var(--soft); }
.call-card #notes-brief p + p { margin-top: 0.6rem; }
.notes-brief div { font-size: 0.97rem; margin-top: 0.75rem; color: var(--soft); }
.notes-brief div p + p { margin-top: 0.6rem; }
.empty { color: var(--soft); font-size: 0.95rem; margin-top: 0.4rem; }

.soundings { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; gap: 0.75rem; }
.soundings li { background: var(--surface); border-radius: 14px; padding: 0.8rem 1rem; box-shadow: inset 4px 0 0 var(--coral), 0 10px 26px -20px rgba(15, 43, 58, 0.6); }
.notes .soundings li { background: #fffaf8; }
.soundings .topic { font-weight: 800; font-size: 0.9rem; color: #d24a2b; }
.soundings .fact { margin-top: 0.15rem; }
.soundings li.arriving { animation: arrive 650ms cubic-bezier(.2, .9, .3, 1.3); }
@keyframes arrive { from { opacity: 0; transform: translateY(14px) scale(0.96); } }
/* The decision lands: an anchor settles at the foot of the scope and stays. */
.anchor { position: absolute; left: calc(50% - 0.9rem); bottom: 5%; width: 1.8rem; height: 1.8rem; opacity: 0;
  fill: none; stroke: var(--teal-deep); stroke-width: 1.8; stroke-linecap: round; }
.scope.anchored .anchor { opacity: 1; animation: settle 1.1s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes settle { 0% { transform: translateY(-2.5rem); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.decision-tag { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--teal-deep); background: var(--sky); padding: 0.1rem 0.6rem; border-radius: 999px; margin-bottom: 0.4rem; }
.decision.landed { animation: arrive 650ms cubic-bezier(.2, .9, .3, 1.3); }
.fact-flight { position: fixed; z-index: 30; pointer-events: none; opacity: 0; background: #fffaf8; border-radius: 14px; padding: 0.8rem 1rem;
  box-shadow: inset 4px 0 0 var(--coral), 0 22px 44px -18px rgba(15, 43, 58, 0.55); }
.fact-flight .topic { font-weight: 800; font-size: 0.9rem; color: #d24a2b; }
.fact-flight .fact { margin-top: 0.15rem; }
.decision { margin-top: 0.75rem; background: var(--mist); border-radius: 14px; padding: 0.8rem 1rem; }
.decision strong { display: block; }
.decision:empty { display: none; }

/* 4. After */
.after { max-width: 48rem; width: 100%; align-self: start; }
.after .wordmark { margin-bottom: 1.5rem; }
.phase[hidden] { display: none; }
.confidence { border: 0; padding: 0; margin: 0; }
.confidence-card { margin: 1.75rem 0 0; padding: 1.25rem 1.4rem; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.confidence-card[hidden] { display: none; }
.confidence-card .small { margin-top: 0.6rem; }
.confidence legend { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.9rem; }
.scale { display: flex; gap: 0.7rem; }
.scale label { cursor: pointer; }
.scale input { position: absolute; opacity: 0; }
.scale span { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 800; font-size: 1.15rem; transition: all 160ms ease; }
.scale label:hover span { box-shadow: inset 0 0 0 1.5px var(--teal); }
.scale input:checked + span { background: var(--teal); color: #fff; box-shadow: 0 10px 22px -12px rgba(14, 140, 127, 0.9); transform: scale(1.06); }
.scale input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 3px; }
.scale-ends { display: flex; justify-content: space-between; max-width: 19.3rem; margin-top: 0.5rem; color: var(--soft); font-size: 0.93rem; }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.7rem; }
.steps li { padding-left: 1.8rem; position: relative; color: var(--soft); }
.steps li::before { content: ""; position: absolute; left: 0.1rem; top: 0.42rem; width: 0.75rem; height: 0.75rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #b7d5d9; }
.steps li.now { color: var(--ink); opacity: 1; font-weight: 600; }
.steps li.now::before { background: var(--teal); box-shadow: 0 0 0 5px rgba(14, 140, 127, 0.16); animation: pulse 1.4s ease-in-out infinite; }
.steps li.done { opacity: 1; }
.steps li.done::before { background: var(--sky); box-shadow: inset 0 0 0 1.5px var(--teal); }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(14, 140, 127, 0.06); } }
/* The waits are a pause, not a page: centre them, with the scope as the focus. */
#phase-scoring, #phase-waiting { text-align: center; }
.after:has(#phase-scoring:not([hidden])) > .wordmark, .after:has(#phase-waiting:not([hidden])) > .wordmark { display: flex; justify-content: center; width: fit-content; margin-inline: auto; }
#phase-scoring .lede { max-width: 34rem; margin-left: auto; margin-right: auto; }
#phase-scoring .steps { width: fit-content; margin: 2rem auto 0; text-align: left; }
.saving-steps { list-style: none; margin: 2rem auto 0; padding: 0; width: fit-content; text-align: left; }
.saving-steps li { margin: 0.75rem 0; color: var(--soft); display: flex; align-items: center; gap: 0.75rem; opacity: 0.6; transition: all 300ms ease-out; }
.saving-steps li.step-active { color: var(--ink); opacity: 1; }
.step-check { display: inline-flex; width: 1.25rem; height: 1.25rem; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.75rem; font-weight: 700; opacity: 0; }
.saving-steps li.step-active .step-check { display: inline-flex; opacity: 1; background: var(--brand-yellow); color: var(--ink); animation: pulse-check 400ms ease-out; }
@keyframes pulse-check { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.result-meta { color: var(--soft); margin-top: 0.6rem; }
.tabs { display: flex; gap: 0.3rem; padding: 0.3rem; border-radius: 999px; background: var(--sky); width: fit-content; margin-top: 1.75rem; position: sticky; top: 0.75rem; z-index: 2; box-shadow: 0 8px 20px -14px rgba(15, 43, 58, 0.5); }
.tabs button { background: transparent; color: var(--ink); padding: 0.55rem 1.15rem; font-weight: 600; opacity: 0.75; box-shadow: none; }
.tabs button[aria-selected="true"] { background: var(--surface); opacity: 1; box-shadow: 0 6px 16px -8px rgba(15, 43, 58, 0.45); }
.tabpanel { margin-top: 1.5rem; animation: rise 300ms ease-out; }
.tabpanel[hidden] { display: none; }

.outcome { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); margin-bottom: 1.25rem; }
.outcome.critical { box-shadow: inset 5px 0 0 var(--coral), var(--shadow); }
.outcome h2 { margin: 0 0 0.45rem; color: #d24a2b; }
blockquote { margin: 0.65rem 0; font-style: italic; font-size: 1.1rem; line-height: 1.45; color: var(--ink); }

.dimensions { list-style: none; padding: 0.5rem 1.5rem; margin: 0; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.dimension { padding: 1.35rem 0; }
.dimension + .dimension { border-top: 1px solid var(--line); }
.dim-head { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.dim-head h3, .dim-head h4 { flex: 1 1 12rem; margin: 0; font-size: 1.05rem; }
.level { font-weight: 800; color: var(--teal-deep); }
.dimension.review .level { color: var(--soft); font-weight: 600; }
.scale-track { display: inline-flex; gap: 5px; }
.scale-track span { width: 30px; height: 8px; border-radius: 99px; background: var(--sky); }
.scale-track span.past, .scale-track span.at { background: var(--teal); }
.dimension > p { margin-top: 0.45rem; }
.next { color: var(--soft); }
.next span { font-weight: 800; color: var(--teal-deep); margin-right: 0.45rem; }

.profile { margin-top: 1.75rem; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 1.75rem 1.75rem 1.5rem; }
.profile-heading { margin: 0 0 0.4rem; font-size: 0.9rem; font-weight: 700; color: var(--soft); }

.target { margin-top: 1.5rem; padding: 1.25rem 1.4rem; background: linear-gradient(135deg, var(--ink), #164b63); color: #fff; border-radius: 18px; }
.target-label { font-size: 0.9rem; font-weight: 600; opacity: 0.8; }
.target .about { font-weight: 800; color: var(--glow); margin-top: 0.15rem; }
.target .action { font-size: 1.3rem; line-height: 1.4; margin-top: 0.35rem; font-weight: 600; letter-spacing: -0.01em; }

@media (max-width: 640px) {
  .profile { padding: 1.25rem; }
  .target .action { font-size: 1.12rem; }
}
.confidence-note { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 16px; background: #fff1ed; }
.review { margin-top: 1.25rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--mist); }
.review p { margin-bottom: 0.75rem; }
.versions { margin-top: 1.75rem; }
/* One calm line about privacy; the detail and the actions one click away. */
.panel-note { padding: 0.85rem 1.25rem; border-radius: 16px; background: var(--mist); margin-bottom: 1.25rem; }
.panel-note summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.panel-note summary::-webkit-details-marker { display: none; }
.panel-note .more { flex: none; font-size: 0.9rem; font-weight: 700; color: var(--teal-deep); display: inline-flex; align-items: center; gap: 0.4rem; }
.panel-note .more::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 200ms ease; }
.panel-note[open] .more::after { transform: rotate(-135deg) translateY(-2px); }
.panel-note[open] { padding-bottom: 1.25rem; }
.panel-note[open] > p { margin-top: 0.75rem; }
.panel-note .actions { margin-top: 1rem; }
.dispute { margin-top: 1rem; background: var(--surface); border-radius: 16px; padding: 0.9rem 1.1rem; }
.dispute summary { cursor: pointer; font-weight: 800; color: var(--teal-deep); }
.dispute .small { margin-top: 0.6rem; }
.dispute fieldset { border: 0; padding: 0; margin: 0.9rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.4rem 1rem; }
.dispute legend { font-weight: 800; margin-bottom: 0.5rem; }
.dispute label { display: flex; gap: 0.5rem; align-items: center; }
.dispute input[type="checkbox"] { accent-color: var(--teal); width: 1rem; height: 1rem; }
.dispute textarea { width: 100%; margin-bottom: 0.8rem; }
.reviewed { margin-top: 1rem; background: var(--surface); border-radius: 16px; padding: 0.9rem 1.1rem; box-shadow: inset 4px 0 0 var(--teal); }
.raised { display: inline-block; margin-top: 0.4rem; font-size: 0.85rem; font-weight: 700; color: var(--teal-deep); background: var(--sky); padding: 0.1rem 0.6rem; border-radius: 999px; }

.charts { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.chart { margin: 0; background: var(--surface); border-radius: 18px; padding: 1rem 1.1rem 0.6rem; box-shadow: var(--shadow); }
.chart figcaption { font-weight: 800; font-size: 0.97rem; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .row { stroke: var(--line); stroke-dasharray: 2 4; }
.chart .row-label { font: 600 10.5px var(--font); fill: var(--soft); text-anchor: end; }
.chart .trend { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart .earlier { fill: var(--teal); }
.chart .replay { fill: var(--surface); stroke: var(--teal); stroke-width: 1.8; }
.chart .today { fill: var(--coral); stroke: #fff; stroke-width: 2; }
.legend { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 0.9rem; font-size: 0.9rem; color: var(--soft); }
.legend span::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; margin-right: 0.4rem; vertical-align: -0.05em; }
.legend .l-earlier::before { background: var(--teal); }
.legend .l-replay::before { box-shadow: inset 0 0 0 1.8px var(--teal); }
.legend .l-today::before { background: var(--coral); }

@media (max-width: 640px) {
  /* The call header on a phone: one line, the title trimmed, the button whole. */
  .room-bar { gap: 0.75rem; padding: 0.75rem 1rem; }
  .room-bar .wordmark { font-size: 0; gap: 0; }
  .room-title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.95rem; }
  .room-bar #end { white-space: nowrap; padding: 0.5rem 0.95rem; font-size: 0.92rem; }
  .room-grid { padding: 0 1rem 1rem; gap: 1rem; }
  .presence { padding-top: 0.5rem; }
  .persona-name { font-size: 1.15rem; }
  .persona-role { display: block; margin-left: 0; }
  .captions { padding: 0.8rem 0.7rem 0.9rem; }
  .captions li { max-width: 86%; }
  .tabs button { padding: 0.5rem 0.8rem; font-size: 0.92rem; white-space: nowrap; }
}

@media (max-width: 900px) {
  .arrival-grid { grid-template-columns: 1fr; }
  .hero-scope { display: none; }
  .room-grid { grid-template-columns: minmax(0, 1fr); }
  .presence, .notes { min-width: 0; }
  .notes { position: static; }
  .captions { flex: none; height: max(14rem, calc(100dvh - 15rem)); }
  .memo { padding: 1.75rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* An overseer set this evidence result aside (note 005): the participant is told, with the reason. */
.set-aside { margin: 0.75rem 0 1rem; padding: 0.95rem 1.1rem; border-radius: 14px; background: #fff6f2; box-shadow: inset 3px 0 0 var(--coral); }
.set-aside .actions { margin-top: 0.75rem; }

/* Every stage fits the screen: no stage may widen the page beyond it. */
main { grid-template-columns: minmax(0, 1fr); }
.stage { min-width: 0; grid-template-columns: minmax(0, 1fr); }

/* Over time: one calm row per dimension instead of a card per chart. */
.trends { list-style: none; padding: 0.4rem 1.2rem; margin: 1.1rem 0 0; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.trend-row { display: grid; grid-template-columns: minmax(8rem, 11rem) minmax(8rem, 1fr) 10.5rem; gap: 1.1rem; align-items: center; padding: 0.7rem 0; }
.trend-row + .trend-row { border-top: 1px solid var(--line); }
.trend-name { font-weight: 800; font-size: 0.97rem; }
.trend-row svg { width: 100%; max-width: 340px; height: auto; overflow: visible; }
.trend-row .row { stroke: var(--line); stroke-dasharray: 2 4; }
.trend-row .trend { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trend-row .earlier { fill: var(--teal); }
.trend-row .replay { fill: var(--surface); stroke: var(--teal); stroke-width: 1.6; }
.trend-row .today { fill: var(--coral); stroke: #fff; stroke-width: 1.8; }
.trend-now { font-weight: 800; font-size: 0.95rem; display: grid; text-align: right; }
.trend-now span { font-weight: 600; font-size: 0.82rem; color: var(--soft); }
@media (max-width: 640px) {
  .trend-row { grid-template-columns: 1fr auto; gap: 0.3rem 0.8rem; }
  .trend-row svg { grid-column: 1 / -1; grid-row: 2; max-width: none; }
}
.charts:has(.trends) { display: block; }

/* ---- The sign-in splash: a sonar scope sweeps slowly behind a frosted card ---- */
.splash { position: relative; overflow: hidden; min-height: 100dvh;
  background: radial-gradient(ellipse at 50% 45%, #e6f6f3 0%, var(--bg) 62%); }
.splash-scope { position: absolute; left: 50%; top: 50%; width: min(130vmin, 1150px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 217, 194, 0.12), transparent 66%); pointer-events: none; }
.splash-scope .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(14, 140, 127, 0.16); }
.splash-scope .ring:nth-child(1) { inset: 0; }
.splash-scope .ring:nth-child(2) { inset: 14%; }
.splash-scope .ring:nth-child(3) { inset: 28%; border-color: rgba(14, 140, 127, 0.2); }
.splash-scope .ring:nth-child(4) { inset: 42%; border-color: rgba(14, 140, 127, 0.24); }
.splash-scope .sweep { animation-duration: 11s; opacity: 0.75; }
.splash-scope .blip { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; animation: blip 900ms ease-out, blip-fade 3.6s ease-in forwards; }
@keyframes blip-fade { 60% { opacity: 1; } to { opacity: 0; } }
.glass { position: relative; z-index: 1; max-width: 26rem; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.7); box-shadow: 0 30px 80px -40px rgba(15, 43, 58, 0.55); gap: 0.9rem; }
.glass h1 { font-size: 2.1rem; margin: 0.2rem 0 0; }
.gate-text { color: var(--soft); margin: -0.3rem 0 0.3rem; }
.glass button[type="submit"] { justify-self: stretch; }
.demo-note { text-align: center; margin-top: -0.2rem; }
@media (prefers-reduced-motion: reduce) { .splash-scope .sweep { animation: none; opacity: 0.4; } }

/* The participant's start page and homepage. */
.splash.stage { place-items: center; padding: 2rem 1.25rem; }
.splash .glass { display: grid; width: 100%; padding: 2.25rem; border-radius: 24px; }
.splash .glass .name-field, .splash .glass .name-field input { max-width: none; width: 100%; }
.notice-lines { list-style: none; padding: 0.9rem 0 0; margin: 0.2rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.45rem; font-size: 0.9rem; color: var(--soft); }
.notice-lines li { display: grid; grid-template-columns: 0.9rem 1fr; gap: 0.45rem; }
.notice-lines li::before { content: ""; width: 0.4rem; height: 0.4rem; margin-top: 0.55rem; border-radius: 50%; background: var(--teal); }
.home-p .lede { max-width: 38rem; }
.mode-switch { display: inline-flex; gap: 0.25rem; padding: 0.25rem; margin-top: 1.5rem; border-radius: 999px; background: var(--mist); }
.mode-switch label { position: relative; }
.mode-switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mode-switch span { display: inline-block; padding: 0.5rem 1.05rem; border-radius: 999px; font-weight: 700; color: var(--soft); }
.mode-switch em { font-style: normal; font-weight: 600; font-size: 0.78rem; color: var(--teal-deep); margin-left: 0.25rem; }
.mode-switch input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 6px 16px -10px rgba(15, 43, 58, 0.45); }
.mode-switch input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.mode-note { margin-top: 0.6rem; color: var(--soft); font-size: 0.93rem; }
.kinds[hidden] { display: none; }

/* Homepage groups: the written role plays, then bring your own. */
.kinds-label { margin: 1.6rem 0 0.6rem; font-weight: 800; font-size: 0.92rem; color: var(--soft); }
.case-kinds { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.kind-tag { font-size: 0.78rem; font-weight: 700; color: var(--teal-deep); }
.kinds-label + .kinds { margin-top: 0; }
.kinds-hint { margin: -0.2rem 0 0.7rem; font-size: 0.9rem; color: var(--soft); }
.kinds-hint + .kinds { margin-top: 0; }

/* Start page: the notice in one quiet line, details a click away. */
.notice-more { font-size: 0.9rem; color: var(--soft); text-align: left; }
.notice-more summary { cursor: pointer; list-style: none; padding: 0.5rem 0.7rem; border-radius: 10px; background: rgba(0, 0, 0, 0.03); transition: all 150ms ease; }
.notice-more summary::-webkit-details-marker { display: none; }
.notice-more summary span { color: var(--ink); font-weight: 600; margin-right: 0.3rem; }
.notice-more summary:hover { color: var(--teal-deep); background: rgba(0, 0, 0, 0.06); }
.notice-more summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.notice-more ul { text-align: left; margin: 0.6rem 0 0; padding: 0.8rem 0 0 1.1rem; border-top: 1px solid var(--line); display: grid; gap: 0.4rem; }
.brief-kept { margin-bottom: 0.6rem; }

/* Landing: a short hero beside the sign-in, over the sonar. One orchestrated moment:
   the conversation bubbles arrive in turn, as captions do on a call. */
.landing { position: relative; z-index: 1; width: 100%; max-width: 72rem; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.landing-hero { display: grid; gap: 1.1rem; }
.landing-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0.4rem 0 0; text-wrap: balance; }
.landing-sub { font-size: 1.15rem; color: var(--soft); max-width: 34rem; margin: 1rem 0 0; line-height: 1.5; }
.landing-roles { margin: 0.4rem 0 0; font-size: 0.95rem; color: var(--soft); max-width: 32rem; }
.sign-card { justify-self: end; width: 100%; max-width: 24rem; }
.sign-card h2 { font-size: 1.6rem; margin: 0 0 0.2rem; }
@media (max-width: 900px) {
  .landing { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .sign-card { justify-self: stretch; max-width: none; }
  .landing-hero h1 { font-size: 2.1rem; }
}


/* The logo is a home link; a console link sits top right of the start page. */
a.wordmark { text-decoration: none; border-radius: 10px; }
a.wordmark:hover { color: var(--teal-deep); }
a.wordmark:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.org-link { position: absolute; top: max(1rem, env(safe-area-inset-top)); right: 1.25rem; z-index: 2; font-weight: 700; font-size: 0.92rem; color: var(--teal-deep);
  text-decoration: none; padding: 0.5rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.75); box-shadow: inset 0 0 0 1.5px var(--line); }
.org-link:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.home-p .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.home-p .quiet-link { font-weight: 700; color: var(--teal-deep); text-decoration: none; padding: 0.6rem 1rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.home-p .quiet-link:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
/* Results: on wide screens the detail is simply shown; on phones it folds under "Why this level". */
.dim-more summary { cursor: pointer; font-weight: 700; color: var(--teal-deep); font-size: 0.92rem; margin-top: 0.4rem; list-style: none; }
.dim-more summary::-webkit-details-marker { display: none; }
.dim-more summary::after { content: " +"; }
.dim-more[open] summary::after { content: " −"; }
@media (max-width: 640px) { .target { padding: 1.05rem 1.1rem; } .target .action { font-size: 1.05rem; line-height: 1.45; } }

/* The console's own link: top right on wide screens, hidden on phones. */
@media (max-width: 900px) {
  .org-link { display: none; }
}
@media (max-width: 480px) {
  .splash .glass { padding: 1.6rem 1.4rem; }
}

/* The same repository over time (#63) */
.open-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem 2rem; margin-top: 1.5rem; }
.open-points[hidden] { display: none; }
.open-points h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.open-points ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }

/* The choose page: what every session is about, before the choice (#79). The six lenses are
   one family of line icons, reused on the brief and in the results. */
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.home-p { max-width: 62rem; }
.purpose { margin: 0.6rem 0 0; max-width: 40rem; font-size: clamp(1.3rem, 2.1vw, 1.7rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.brief-listen ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 0.55rem; }
.brief-listen li { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 999px; background: var(--mist); }
.home-p #practice-kinds > .kinds:not(.case-kinds) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.brief-listen { margin: 0 0 1.25rem; }
.brief-listen p { margin: 0 0 0.5rem; font-size: 0.9rem; font-weight: 700; color: var(--soft); }
.brief-listen li { padding: 0.25rem 0.7rem 0.25rem 0.45rem; font-size: 0.88rem; color: var(--ink); }
.brief-listen .icon, .dim-head h3 .icon, .dim-head h4 .icon { width: 1.1rem; height: 1.1rem; color: var(--teal-deep); }
.dim-head h3, .dim-head h4 { display: flex; align-items: center; gap: 0.5rem; }
@media (max-width: 900px) {
  .home-p #practice-kinds > .kinds:not(.case-kinds) { grid-template-columns: minmax(0, 1fr); }
}

/* Each lens has its own colour, taken from nautical charts, where soundings are marked (#80):
   chart blue, lighthouse amber, buoy red, chart magenta, deep-water indigo, sea green.
   Each icon is at least 4.2:1 on its tint; text stays ink. */
[data-lens="information_gathering"] { --lens: #2a6fb5; --lens-tint: #e4eefa; }
[data-lens="risk_reading"] { --lens: #9a6400; --lens-tint: #fbefd4; }
[data-lens="decision"] { --lens: #c23b2e; --lens-tint: #fce5e1; }
[data-lens="reasoning"] { --lens: #a1327f; --lens-tint: #f7e3f0; }
[data-lens="defence"] { --lens: #3d4fa8; --lens-tint: #e6e9f8; }
[data-lens="handling_the_person"] { --lens: #0b7d6c; --lens-tint: #dcf1ec; }
.brief-listen li[data-lens] { background: var(--lens-tint); }
.brief-listen li[data-lens] .icon, .dim-head h3[data-lens] .icon, .dim-head h4[data-lens] .icon { color: var(--lens); }

/* Why Soundings (#82) */
.why { max-width: 44rem; }
.why-part { margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.why-part:first-of-type { margin-top: 1.6rem; border-top: none; padding-top: 0; }
.why-part h2 { display: flex; align-items: center; gap: 0.65rem; font-size: 1.2rem; margin: 0 0 0.6rem; font-weight: 700; padding-bottom: 0.6rem; border-bottom: 3px solid var(--coral); }
.why-part h2 .icon { width: 1.35rem; height: 1.35rem; color: var(--teal-deep); }
.why-part p, .why-part li { line-height: 1.6; text-wrap: pretty; }
.why-part ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.why > .small { margin-top: 1.8rem; color: var(--soft); }
.landing-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin: 1.6rem 0 0; font-size: 0.9rem; opacity: 0.7; }
.landing-links .quiet-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--teal-deep); cursor: pointer; }
.landing-links .quiet-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.landing-links .quiet-link { text-align: left; }
.landing-links .quiet-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* Why judgement matters, front and centre (#84) */
.landing-why { list-style: none; margin: 0.2rem 0 0; padding: 0; display: grid; gap: 0.15rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--ink); }
.landing-why li:last-child { color: var(--teal-deep); }
.brief-why, .results-why { margin: 0 0 1rem; color: var(--soft); font-size: 0.95rem; }
.results-why { margin-top: 0.4rem; }

/* When to practise, on the sign-in page (#84) */
.when { margin-top: 0.4rem; }
.when h2 { margin: 0 0 0.7rem; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.when ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem 1.4rem; max-width: 34rem; }
.when li { display: grid; gap: 0.15rem; align-content: start; padding: 0.6rem 0.8rem 0.6rem 1rem; border-left: 3px solid var(--glow); border-radius: 8px; background: rgba(255, 255, 255, 0.3); }
.when li:nth-child(1) { background: rgba(255, 230, 220, 0.4); }
.when li:nth-child(2) { background: rgba(220, 245, 235, 0.4); }
.when li:nth-child(3) { background: rgba(220, 240, 255, 0.4); }
.when li:nth-child(4) { background: rgba(250, 235, 255, 0.4); }
.when strong { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.when span { font-size: 0.92rem; line-height: 1.4; color: var(--soft); }
@media (max-width: 640px) { .when ul { grid-template-columns: minmax(0, 1fr); } }

/* Explainer video on the sign-in page, served from the laptop */
.explainer { margin: 1.2rem 0 0; max-width: 34rem; }
.explainer video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--mist, #eef5f3); box-shadow: 0 12px 40px rgba(17, 42, 58, 0.18); }
.explainer figcaption { margin-top: 0.4rem; font-size: 0.9rem; color: var(--soft); }

/* Sign-in page above the fold (9 Oct): words left, film and sign-in right, when to practise across the foot */
@media (min-width: 901px) {
  .splash.stage { padding: 1.5rem 2rem; }
  .landing { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 1.6rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .landing-hero { gap: 0.9rem; }
  .landing-hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.3rem); }
  .landing-why { margin: 0; }
  .landing-sub { font-size: 1.05rem; }
  .landing-side { display: grid; gap: 1rem; justify-items: stretch; }
  .landing-side .explainer { max-width: none; margin: 0; }
  .landing-side .explainer figcaption { display: none; }
  .landing-foot { grid-column: 1 / -1; display: grid; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid rgba(14, 140, 127, 0.16); }
  .landing-foot .when { margin: 0; }
  .landing-foot .when h2 { margin-bottom: 0.4rem; }
  .landing-foot .when ul { max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .landing-foot .landing-roles { margin: 0; max-width: none; }
}

/* The brief: who you'll meet, on a disc of initials (never a face, #183), and how the call goes as a timeline
   (restored in #358 after the return to the Clear water theme removed it) */
.brief-side { display: grid; gap: 1rem; margin: 1.4rem 0 0; }
.brief-meet { display: grid; gap: 0.5rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.brief-person { display: flex; align-items: center; gap: 0.75rem; margin: 0; color: var(--soft); }
.brief-person strong { color: var(--ink); }
.disc { width: 3rem; height: 3rem; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
  color: var(--teal-deep); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--sky); }
.meet-line { margin: 0; font-size: 0.95rem; line-height: 1.45; color: var(--soft); }
.meet-line strong { color: var(--ink); font-weight: 600; }
.brief-shape-title { margin: 0 0 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--soft); }
.brief-shape ol { list-style: none; margin: 0; padding: 1.45rem 0 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.brief-shape ol::before { content: ""; position: absolute; left: 0; right: 0; top: 1.45rem; border-top: 1.5px solid var(--line); }
.brief-shape li { position: relative; padding: 0.75rem 0.2rem 0; text-align: center; font-size: 0.85rem; line-height: 1.3; color: var(--ink); }
.brief-shape li::before { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 0 3px var(--surface); }
.brief-shape li:nth-child(3)::before { background: var(--teal-deep); width: 12px; height: 12px; top: -6px; margin-left: -6px; }
.brief-shape .shape-end { position: absolute; top: 0; padding: 0; font-size: 0.8rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.brief-shape .shape-end::before { top: calc(1.45rem - 6px); width: 0; height: 12px; margin: 0; border-radius: 0; background: none;
  border-left: 1.5px solid var(--soft); box-shadow: none; }
.brief-shape .shape-end:first-child { left: 0; text-align: left; }
.brief-shape .shape-end:first-child::before { left: 0; }
.brief-shape .shape-end:last-child { right: 0; text-align: right; }
.brief-shape .shape-end:last-child::before { left: auto; right: 0; }
.brief-shape .shape-end > span:last-child { display: none; }

/* Sign in: one button in the top row; the form drops down beneath it, over the page (#197; restored in #347
   after the return to the Clear water theme removed it) */
.landing-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.landing-top .wordmark { margin-bottom: 0; }
.landing-top .sign-in { position: relative; display: flex; align-items: center; }
.landing-top .sign-card { position: absolute; top: calc(100% + 0.6rem); right: 0; width: 24rem; max-width: none; padding: 1.35rem 1.5rem 1.5rem;
  border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); animation: sign-in-drop 160ms ease-out; }
.landing-top .sign-card .name-field { margin-top: 1rem; max-width: none; font-size: 0.95rem; }
.landing-top .sign-card [type="submit"] { margin-top: 1.1rem; }
@keyframes sign-in-drop { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 640px) {
  .landing-top .sign-in { position: static; }
  .landing-top .sign-card { left: 0; right: 0; width: auto; }
}
@media (prefers-reduced-motion: reduce) { .landing-top .sign-card { animation: none; } }
.field-hint { margin: 0.6rem 0 0; font-size: 0.85rem; line-height: 1.4; color: var(--soft); }

/* Choose page (9 Oct): choices first, then the six lenses as one line of chips, then practise or evidence */
.choose-lenses { margin: 1.6rem 0 0.4rem; }
.choose-lenses h2 { margin: 0 0 0.8rem; font-size: 0.95rem; font-weight: 700; color: var(--soft); }
.choose-lenses ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.choose-lenses li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.6rem; align-content: start; }
.choose-lenses .icon { grid-row: span 2; box-sizing: border-box; width: 1.9rem; height: 1.9rem; padding: 0.4rem; border-radius: 10px; color: var(--lens); background: var(--lens-tint); }
.choose-lenses strong { font-size: 0.92rem; color: var(--ink); }
.choose-lenses span { font-size: 0.85rem; line-height: 1.35; color: var(--soft); }
.choose-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; margin: 1.1rem 0 0.4rem; }
.choose-roles p { margin: 0; font-size: 0.88rem; font-weight: 700; color: var(--soft); }
.choose-roles ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.choose-roles li { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.75rem 0.25rem 0.5rem; border-radius: 999px; background: var(--mist); font-size: 0.86rem; font-weight: 600; color: var(--teal-deep); }
.choose-roles .icon { width: 1rem; height: 1rem; }
.session-types { margin: 2rem 0 0; font-size: 1.15rem; color: var(--ink); }
.session-types + #practice-kinds > .kinds:first-child, .session-types ~ #evidence-kinds { margin-top: 0.75rem; }
#choose .mode-switch { margin-top: 1.6rem; }
.home-p .case-kinds { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.home-p .kind { align-content: start; }
.case-kinds .kind { grid-template-rows: auto auto auto 1fr auto; }  /* "Practised on" sits at the foot, whatever the text's length (#377) */
@media (max-width: 640px) { .home-p .case-kinds { grid-template-columns: minmax(0, 1fr); } }

/* Ending a call early: one kind check */
.end-check { max-width: min(26rem, calc(100vw - 32px)); padding: 1.4rem 1.5rem; border: 0; border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px -24px rgba(15, 43, 58, 0.55); }
.end-check::backdrop { background: rgba(15, 43, 58, 0.35); }
.end-check h2 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.end-check p { margin: 0 0 0.4rem; color: var(--soft); }
.end-check .actions { margin-top: 1rem; }

/* #104: the version record stays, folded away */
.tech { margin-top: 1rem; }
.tech summary { cursor: pointer; font-size: 0.85rem; color: var(--soft); }
.tech .versions { margin-top: 0.4rem; }
.bookmark { margin-top: 0.2rem; color: var(--soft); }

/* #104: hidden in the trial; these classes set display, which would override [hidden] */
.mode-switch[hidden], .upload[hidden] { display: none; }
.brief-how { color: var(--ink); font-weight: 600; }
.notice-more summary em { font-style: normal; color: var(--teal-deep); font-weight: 600; }

/* The choose page, one choice per screen (#147) */
.step-count { margin: 1.2rem 0 0; font-size: 0.85rem; font-weight: 700; color: var(--teal-deep); }
.wizard-step[hidden], #step-pick [data-path][hidden] { display: none; }
.paths legend h2 { margin: 0; }
.paths .kinds-hint { margin: 0 0 0.3rem; }
.session-types:focus { outline: none; }
.choose-lenses summary { cursor: pointer; font-weight: 700; color: var(--soft); font-size: 0.95rem; }
.choose-lenses[open] summary { margin-bottom: 0.9rem; }
.modes.paths { grid-template-columns: minmax(0, 1fr); max-width: 40rem; }  /* three choices, one above the other */
.modes-list { display: grid; gap: 0.75rem; }  /* the occasions (#407): two columns on a wide screen */
@media (min-width: 901px) { .modes.paths.occasions, #path-choice { max-width: 52rem; } .modes-list { grid-template-columns: 1fr 1fr; } }
.result-occasion { margin: 0.4rem 0 0; }
.lens-aside { margin: 0; padding: 0; }
.lens-diagram { display: none; margin: 0; padding: 0; }
.lens-diagram svg { display: block; width: 100%; height: auto; max-width: 100%; }

/* Lens diagram SVG styling (six lenses hexagon) - explicitly teal and gray, never black */
.ld-outer { fill: none; stroke: var(--teal); stroke-width: 2; }
.ld-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.ld-axis { fill: none; stroke: var(--line); stroke-width: 1; }
.ld-node { fill: var(--sky); stroke: var(--teal); stroke-width: 1.5; }
.ld-name { fill: var(--ink); font-family: var(--font); font-size: 12px; font-weight: 600; }
/* Color hexagon icons and backgrounds by lens */
g[data-lens="information_gathering"] .icon { color: #2a6fb5; }
g[data-lens="information_gathering"] .ld-node { fill: #e4eefa; stroke: #2a6fb5; }
g[data-lens="risk_reading"] .icon { color: #9a6400; }
g[data-lens="risk_reading"] .ld-node { fill: #fbefd4; stroke: #9a6400; }
g[data-lens="decision"] .icon { color: #c23b2e; }
g[data-lens="decision"] .ld-node { fill: #fce5e1; stroke: #c23b2e; }
g[data-lens="reasoning"] .icon { color: #a1327f; }
g[data-lens="reasoning"] .ld-node { fill: #f7e3f0; stroke: #a1327f; }
g[data-lens="defence"] .icon { color: #3d4fa8; }
g[data-lens="defence"] .ld-node { fill: #e6e9f8; stroke: #3d4fa8; }
g[data-lens="handling_the_person"] .icon { color: #0b7d6c; }
g[data-lens="handling_the_person"] .ld-node { fill: #dcf1ec; stroke: #0b7d6c; }
/* Hide details disclosure triangle */
.choose-lenses summary::marker { display: none; }
.choose-lenses summary { list-style: none; cursor: default; }


/* TEMPORARY: Hide content below the fold on landing page only */
.landing-below { display: none !important; }

/* Placement by screen (#377). Last time, or how a session goes for a first session, shows beside the greeting only;
   the pick step's group heading becomes the page title, so it isn't said twice. */
#step-pick .session-types, #step-pick .kinds-hint { display: none; }


/* Try that moment again (#156) */
.again { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1rem; }
.again[hidden] { display: none; }
.again .form-error { flex-basis: 100%; margin: 0; }
/* The prep note on results (#144) */
.prep { margin: 1.6rem 0 0; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line); }
.prep[hidden] { display: none; }
.prep h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.prep h3 { margin: 1rem 0 0.3rem; font-size: 0.92rem; color: var(--soft); }
.prep ul { margin: 0; padding-left: 1.2rem; }
.prep #prep-download { margin-top: 1rem; }

/* Coming back (#158) */
/* Coming back: last session card shown at top of choose page when returning */

/* Your progress (#164). Light theme; lens colours come from [data-lens]. */
.mine { max-width: 56rem; }
.mine-banner { margin-top: 1rem; }
.mine-banner[hidden], #mine-switch[hidden] { display: none; }
#mine-body.is-example .mine-block, #mine-body.is-example .mine-tile { outline: 2px dashed var(--line); outline-offset: -2px; }
.mine-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 0.9rem; margin: 1.4rem 0; }
.mine-tile { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.2rem; }
.mine-tile p { margin: 0; }
.mine-tile .tile-label { font-size: 0.82rem; font-weight: 700; color: var(--soft); }
.mine-tile .tile-value { font-size: 2.2rem; font-weight: 800; line-height: 1.1; margin-top: 0.3rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.mine-block { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem 1.4rem; margin: 0 0 1rem; }
.mine-block h2 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.mine-block > .small { margin: 0 0 0.9rem; color: var(--soft); }
.mine-lenses { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.mine-lenses li { display: grid; grid-template-columns: auto 11rem 1fr; align-items: center; gap: 0.75rem; }
.mine-lenses .icon { width: 1.8rem; height: 1.8rem; padding: 0.35rem; border-radius: 10px; color: var(--lens); background: var(--lens-tint); }
.mine-lens-name { font-weight: 700; }
.mine-change em { font-style: normal; font-size: 0.82rem; color: var(--soft); margin-left: 0.3rem; }
.mine-more { margin-top: 0.9rem; }
.mine-more summary { cursor: pointer; font-weight: 700; color: var(--teal-deep); }
.mine-spot { font-size: 1.05rem; margin: 0 0 0.4rem; }
.mine-tried, .mine-pairs, .mine-prep, .mine-habits { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.mine-tried li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.6rem; }
.mine-tried .pill { font-size: 0.75rem; }
.mine-retry { list-style: none; margin: 0.3rem 0 0; padding: 0; display: grid; gap: 0.25rem; }
.mine-retry .icon { width: 1.1rem; height: 1.1rem; color: var(--lens); margin-right: 0.4rem; vertical-align: -3px; }
.mine-prep p { margin: 0.2rem 0; }
.mine-prep ul { margin: 0.2rem 0 0; padding-left: 1.2rem; }
.mine-privacy { width: 100%; border-collapse: collapse; margin: 0.4rem 0 0.8rem; font-size: 0.92rem; }
.mine-privacy th { text-align: left; font-size: 0.8rem; color: var(--soft); padding: 0.4rem 0.6rem 0.4rem 0; }
.mine-privacy td { padding: 0.55rem 0.6rem 0.55rem 0; border-top: 1px solid var(--line); vertical-align: top; }
.mine-privacy td .small { display: block; color: var(--soft); }
@media (max-width: 640px) {
  .mine-lenses li { grid-template-columns: auto 1fr; }
  .mine-privacy thead { display: none; }
  .mine-privacy tr { display: grid; border-top: 1px solid var(--line); padding: 0.5rem 0; }
  .mine-privacy td { border: 0; padding: 0.1rem 0; }
}
.mine-banner { background: var(--sky); color: var(--ink); border-radius: 14px; padding: 0.8rem 1rem; }
.mine-privacy .quiet-link { background: none; border: 0; box-shadow: none; padding: 0; font: inherit; font-weight: 700; color: var(--teal-deep); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* The sounding chart (#173): a navy chart plotter inside the light page, after Brian's deck. */
/* ---- One look, continued (#440): preparing, the brief, the call and the after-call frame open on the dark ground ---- */
#preparing .wordmark, #brief .stage-mark, .room-bar .wordmark, #after .after > .wordmark { color: var(--surface); text-decoration: none; }
#preparing .wordmark::before, #brief .stage-mark::before, .room-bar .wordmark::before, #after .after > .wordmark::before { background: #3fd9c2; box-shadow: 0 0 0 4px rgba(63, 217, 194, 0.2); }
/* Preparing: the whole screen is the ground; the sonar is as it was. */
#preparing { padding: 0; place-items: stretch; }
#preparing .preparing { max-width: none; min-height: 100dvh; display: grid; place-content: center; justify-items: center; padding: 2rem 1.25rem;
  background: var(--ink) url("/static/contours.svg") center / cover; color: var(--surface); }
#preparing h1 { color: var(--surface); }
#preparing .lede { color: var(--sky); }
#preparing :focus-visible { outline-color: var(--surface); }
#preparing .scope::before, #preparing .scope::after { border-color: rgba(255, 255, 255, 0.18); }
/* The call: its bar is the band. Nothing in it moves. */
.room-bar { background: var(--ink) url("/static/contours.svg") center / cover; color: var(--surface); }
.room-bar .room-title { color: var(--surface); }
.room-bar :focus-visible { outline-color: var(--surface); }
.room-bar #end { min-height: 44px; }
/* The brief: a band behind the top of the page, the memo rising out of it. */
#brief { position: relative; align-content: start; padding-top: 5.75rem; }
#brief::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 13rem; background: var(--ink) url("/static/contours.svg") center / cover; }
#brief .stage-mark { position: absolute; top: 1.25rem; left: clamp(1.25rem, 4vw, 3.25rem); min-height: 44px; margin: 0; }
#brief .memo { position: relative; }
/* After the call: a bar with the wordmark; what follows is unchanged. */
#after { position: relative; padding-top: 1.1rem; }
#after::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4.75rem; background: var(--ink) url("/static/contours.svg") center / cover; }
#after .after { position: relative; }
#after .after > .wordmark { min-height: 2.55rem; margin-bottom: 3.5rem; }
#after .after > .wordmark:focus-visible { outline-color: var(--surface); }
/* ---- end of one look, continued ---- */
/* ---- Results (#428): the heading on the dark ground, the one thing to try first, the six lenses in their pairs ---- */
#after { overflow-x: clip; }
#after .after > .wordmark { position: relative; z-index: 1; }
/* The heading carries the ground to the window's edges and up behind the wordmark, so the bar and the heading are one band. */
#after .results-head { position: relative; margin: -7.15rem 0 0; margin-inline: calc(50% - 50vw); padding: 6.4rem 0 2.25rem; padding-inline: calc(50vw - 50%);
  background: var(--ink) url("/static/contours.svg") center / cover; color: var(--sky); }
#after .results-head h1 { color: var(--surface); }
#after .results-head .result-meta, #after .results-head .bookmark, #after .results-head .results-why, #after .results-head .sounding-firsts { color: var(--sky); }
#after .results-head .result-occasion { color: var(--surface); }
#after .results-head .results-why { margin-bottom: 0; }
@media (min-width: 760px) { #after .results-head { display: grid; grid-template-columns: minmax(0, 1fr) 9rem; column-gap: 2rem; } #after .results-head > :not(.results-shape) { grid-column: 1; } }
#outcome:not(:empty) { margin-top: 1.75rem; }
.try-first { margin-top: 1.75rem; }
.try-first .target { margin-top: 0; padding: 1.5rem 1.6rem; border-radius: 24px; background: var(--ink) url("/static/contours.svg") center / cover; box-shadow: var(--shadow); }
.try-first .target blockquote { margin: 0.9rem 0 0; padding-left: 0.85rem; border-left: 3px solid #3fd9c2; color: var(--surface); font-size: 1.05rem; line-height: 1.45; }
.try-first .target .checked-label { margin: 0.9rem 0 -0.5rem; color: var(--sky); }
.try-first .target .action { margin-top: 0.9rem; }
.try-first .again .small { color: var(--soft); }
#target .tn-mark { position: relative; }
#target .tn-mark::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 2px #3fd9c2; opacity: 0; animation: results-ping 1.8s ease-out 0.4s 1; }
@keyframes results-ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(2.1); opacity: 0; } }
/* The pairs: a name, then its two lenses as cards side by side where there is room. */
.result-pairs { display: grid; gap: 1.5rem; margin-top: 1.25rem; }
.result-pair .pair-name { margin: 0 0 0.6rem; font-size: 0.85rem; font-weight: 800; }
.result-pair .dimensions { display: grid; gap: 0.9rem; padding: 0; background: none; box-shadow: none; border-radius: 0; }
@media (min-width: 760px) { .result-pair .dimensions { grid-template-columns: 1fr 1fr; align-items: start; } }
.result-pair .dimension { padding: 1.15rem 1.25rem; background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.result-pair .dimension + .dimension { border-top: 0; }
#after .dim-more summary { display: flex; align-items: center; min-height: 44px; margin-top: 0.2rem; }
#after .dim-more summary::after { margin-left: 0.35rem; }
@media (prefers-reduced-motion: reduce) { #target .tn-mark::after { animation: none; } }
/* ---- end of results ---- */
/* A document control that is closed shows nothing, whatever else shows or hides it (#435). */
.add-document[data-closed] { display: none; }
/* The way to the console, on the landing band (#443). */
.landing-top #console-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 1rem; color: var(--sky); font-size: 0.9rem; }
.landing-top #console-link:focus-visible { outline-color: var(--surface); }
/* ---- Set-up (#428): a shallower band with the three steps and the question; choices as cards; the six lenses alongside ---- */
#own, #decision, #strategy { padding: 0; place-items: stretch; }
.setup, #choose .setup, form.setup { width: 100%; max-width: none; min-height: 100dvh; background: var(--bg); }
.setup-band { background: var(--ink) url("/static/contours.svg") center / cover; color: var(--surface); padding: 0 clamp(1.25rem, 4vw, 3.25rem) 1.75rem; }
.setup-inner { max-width: 70rem; margin: 0 auto; }
.setup-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 1.25rem 0 0; }
.setup-band .wordmark { min-height: 44px; color: var(--surface); text-decoration: none; margin-bottom: 0; }
.setup-band .wordmark::before { background: #3fd9c2; box-shadow: 0 0 0 4px rgba(63, 217, 194, 0.2); }
.setup-band :focus-visible { outline-color: var(--surface); }
.setup-steps { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; font-size: 0.88rem; font-weight: 600; }
.setup-steps li { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem 0.4rem 0.5rem; border-radius: 999px; color: var(--sky); box-shadow: inset 0 0 0 1px #5b7f8c; }
.setup-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; font-size: 0.75rem; box-shadow: inset 0 0 0 1px var(--sky); }
.setup-steps li[aria-current="step"] { background: var(--surface); color: var(--ink); box-shadow: none; }
.setup-steps li[aria-current="step"] span { background: var(--ink); color: var(--surface); box-shadow: none; }
.setup-band .page-head { margin: 1.5rem 0 0; }
.setup-band h1 { margin: 0; color: var(--surface); font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.08; letter-spacing: -0.02em; }
.setup-band .purpose, .setup-band .lede { margin: 0.6rem 0 0; max-width: 44rem; color: var(--sky); font-size: 1.1rem; font-weight: 400; }
.setup-band .intake-head { display: flex; align-items: flex-start; gap: 1rem; }
.setup-band .intake-mark { background: rgba(255, 255, 255, 0.12); color: var(--surface); }
.setup-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; align-items: start; box-sizing: content-box; max-width: 70rem; margin: 0 auto; padding: 1.75rem clamp(1.25rem, 4vw, 3.25rem) 6rem; }
@media (min-width: 901px) {
  .setup-columns { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
}
.setup .modes { margin-top: 0; }
.setup .modes-list { gap: 0.6rem; }
.setup .modes.paths, .setup .modes.paths.occasions, .setup #path-choice { max-width: none; }
.setup #path-choice { margin-top: 0.75rem; }
.setup .mode { min-height: 44px; padding-top: 0.7rem; padding-bottom: 0.7rem; background: var(--surface); }
.setup .mode-text { font-size: 0.92rem; }
.setup .actions { margin-top: 1.25rem; }
.setup .actions button { min-height: 48px; }
.setup .mode-note { margin-top: 0.9rem; }
.setup .see-all { margin: 0.75rem 0 0; }
.setup .see-all:has(button[hidden]) { display: none; }  /* no gap left where the link isn't offered */
.setup .see-all .quiet-link { min-height: 44px; padding: 0; background: none; box-shadow: none; border-radius: 0; font-weight: 600; color: var(--teal-deep); }
/* The course card (#436): its own label, and the three stages beneath once it is chosen. */
.mode.course .course-main { display: contents; cursor: pointer; }
.stages { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.35rem; }
.mode.course:has(.stages:not([hidden])) .mode-text { display: none; }  /* the stages take the line's place, so step 1 still fits a laptop screen */
.stages[hidden] { display: none; }
.course-stage { min-height: 44px; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0 0.75rem; font-size: 0.95rem; border-radius: 999px; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.course-stage:has(input:checked) { box-shadow: inset 0 0 0 2px var(--teal); }
.course-stage input { position: absolute; width: 1px; height: 1px; opacity: 0; }  /* the pill is the control: its ring shows the choice, and focus */
.course-stage:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
/* Did AI play a part (#432): three short answers in a row, the optional line beneath. */
.setup .modes.ai-part { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.4rem; }
.setup .modes.ai-part legend, .setup .modes.ai-part .field { grid-column: 1 / -1; }
.setup .modes.parts { margin-top: 1.4rem; }
@media (max-width: 480px) { .setup .modes.ai-part { grid-template-columns: minmax(0, 1fr); } }
.setup .case-kinds { grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
.setup-lenses { background: var(--surface); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.setup-lenses .choose-lenses { margin: 0; }
.setup-lenses .choose-lenses summary { display: grid; margin-bottom: 0.2rem; }
.setup-lenses .lenses-title { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.setup-lenses .lenses-sub { font-size: 0.88rem; font-weight: 400; color: var(--soft); }
.setup-lenses h3 { margin: 0.9rem 0 0.45rem; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--soft); }
.setup-card { background: var(--surface); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.setup-body .what-next { margin: 0; }
.setup-card > :first-child { margin-top: 0; }
/* ---- end of set-up ---- */
/* ---- The home (#428): the landing's dark ground and contour lines, white cards rising out of it, the lenses in pairs ---- */
#choose { padding: 0; place-items: stretch; }  /* the home and set-up both run to the window's edges */
#choose[data-screen="welcome"] .home-p { display: none; }
.home { min-height: 100dvh; background: var(--bg); }
.home-band { position: relative; background: var(--ink) url("/static/contours.svg") center / cover; color: var(--surface); padding: 0 clamp(1.25rem, 4vw, 3.25rem) 7.5rem; }
.home-inner, .home-body { max-width: 70rem; margin: 0 auto; }
.home-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; padding: 1.25rem 0; }
.home-band .wordmark { min-height: 44px; color: var(--surface); text-decoration: none; margin-bottom: 0; }
.home-band .wordmark::before { background: #3fd9c2; box-shadow: 0 0 0 4px rgba(63, 217, 194, 0.2); }
.home-band :focus-visible { outline-color: var(--surface); }
.home-nav { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.5rem; font-size: 0.95rem; font-weight: 600; }
.home-nav a, .home-nav button { min-height: 44px; display: inline-flex; align-items: center; padding: 0; background: none; box-shadow: none; border-radius: 0; font: inherit; color: var(--sky); text-decoration: none; }
.home-nav a:hover, .home-nav button:hover { color: var(--surface); }
.home-nav [aria-current="page"] { color: var(--surface); box-shadow: inset 0 -2px 0 #3fd9c2; }
.home-nav .home-account { padding: 0 1rem; border-radius: 999px; color: var(--surface); box-shadow: inset 0 0 0 1px #5b7f8c; }
.home-account-menu { position: absolute; z-index: 3; top: calc(100% + 0.4rem); right: 0; width: 19rem; max-width: calc(100vw - 2.5rem); display: grid; justify-items: start; gap: 0.6rem; padding: 1.1rem 1.25rem;
  border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-weight: 400; }
.home-account-menu p { margin: 0; overflow-wrap: anywhere; }
.home-nav .home-account-menu button { color: var(--ink); padding: 0 1.15rem; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.home-nav .home-account-menu button.quiet-link { color: var(--teal-deep); padding: 0; box-shadow: none; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 3rem; align-items: center; padding: 2rem 0 1.5rem; }
.home-hero h1 { margin: 0; font-size: clamp(2.2rem, 4.2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.02em; }
.home-purpose { margin: 1rem 0 0; max-width: 30rem; font-size: 1.2rem; line-height: 1.5; color: var(--sky); }
.home-start { margin: 1.75rem 0 0; }
.home-band button.primary { min-height: 48px; background: var(--surface); color: var(--ink); }
.home-band button.primary:hover { background: var(--sky); }
.home-private { margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--sky); }
.home-shape { justify-self: center; width: 100%; max-width: 30rem; }
.home-shape svg { display: block; width: 100%; height: auto; overflow: visible; }
.home-rings polygon, .home-rings line { fill: none; stroke: #5b7f8c; stroke-width: 1; }
.home-sweep { transform-origin: 180px 165px; animation: home-sweep 9s linear infinite; }
.home-sweep path { fill: rgba(63, 217, 194, 0.16); }
.home-sweep line { stroke: #3fd9c2; stroke-width: 1.5; }
.home-levels { fill: rgba(63, 217, 194, 0.22); stroke: #3fd9c2; stroke-width: 2.5; stroke-linejoin: round; }
.home-dots circle { fill: var(--surface); }
.home-names text { fill: var(--sky); font: 600 13px var(--font); }
.home-ping { fill: none; stroke: var(--coral); stroke-width: 2; animation: home-ping 3s ease-out infinite; }
@keyframes home-sweep { to { transform: rotate(360deg); } }
@keyframes home-ping { 0% { r: 5; opacity: 0.9; } 70%, 100% { r: 18; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .home-sweep, .home-ping { animation: none; } }
.home-body { position: relative; box-sizing: content-box; margin-top: -6rem; padding: 0 clamp(1.25rem, 4vw, 3.25rem) 6rem; }  /* the 6rem below keep "How this works" off the lenses */
.home-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.25rem; }
.home.is-new .home-band { padding-bottom: 3rem; }  /* no cards yet: the band ends under the start, the lenses follow */
.home.is-new .home-body { margin-top: 0; }
.home-card { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.home-label { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--soft); }
.home-card h2 { display: flex; align-items: center; gap: 0.75rem; margin: 0; font-size: 1.5rem; font-weight: 800; }
.home-card p { margin: 0.85rem 0 0; line-height: 1.5; color: #40596a; }
.home-card .home-label { margin: 0 0 0.75rem; color: var(--soft); }
.home-card-actions { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.home-card .quiet-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0; background: none; box-shadow: none; border-radius: 0; font-weight: 600; color: var(--teal-deep); text-decoration: none; }
.home-card .quiet-link:hover { color: var(--ink); }
.home-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--lens-tint, var(--sky)); color: var(--lens, var(--ink)); }
.home-ico .icon { width: 1.3rem; height: 1.3rem; }
.home-counts { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; margin: 0; }
.home-counts div { display: flex; flex-direction: column; }
.home-counts dd { margin: 0; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.home-counts dt { margin-top: 0.4rem; font-size: 0.9rem; color: var(--soft); }
.home-lenses h2 { margin: 2.75rem 0 1.1rem; font-size: 1.4rem; font-weight: 800; }
.home-pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; }
.home-pair h3 { margin: 0 0 0.6rem; font-size: 0.85rem; font-weight: 800; }
.home-pair ul { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.home-pair li { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem; background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.home-pair li.is-focus { box-shadow: inset 0 0 0 1.5px var(--lens); }
.home-lens-text { flex: 1; min-width: 0; display: grid; }
.home-lens-line { font-size: 0.9rem; color: var(--soft); }
.home-lens-focus { font-size: 0.82rem; font-weight: 600; color: var(--lens); }
.home-pair .level-chip { flex: none; margin: 0; padding: 0.2rem 0.7rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.home-pair .level-chip.lv-3 { background: var(--ink); color: var(--surface); }
@media (max-width: 760px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); padding-top: 1rem; }
  .home-nav { gap: 0 1.1rem; }
}
/* ---- end of the home ---- */
:root { --chart-navy: #123a54; --chart-deep: #0f3048; --chart-coral: #fa735c; --chart-coral-text: #ff9682; --chart-line: rgba(255, 255, 255, 0.22); --mono: "IBM Plex Mono", ui-monospace, monospace; }
.sounding-panel { position: relative; background: radial-gradient(ellipse at 50% 45%, #18435f 0%, var(--chart-navy) 55%, var(--chart-deep) 100%);
  color: #fff; border-radius: 20px; padding: 1.2rem 1.2rem 1rem; overflow: hidden; }
.sounding-panel .profile-heading { color: rgba(255, 255, 255, 0.78); font-family: var(--mono); font-weight: 500; letter-spacing: 0.01em; }
.sounding-chart { display: block; width: 100%; height: auto; max-width: 640px; margin: 0 auto; font-family: var(--mono); }
.sc-contours path { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.sc-ring { fill: none; stroke: var(--chart-line); stroke-width: 1; }
.sc-outer { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.5; }
.sc-axis { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.sc-ring-label { fill: rgba(255, 255, 255, 0.75); font-size: 10.5px; }
.sc-ghost { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5; stroke-dasharray: 4 5; }
.sc-shape { fill: none; stroke: var(--chart-coral); stroke-width: 2.4; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(250, 115, 92, 0.55)); }
.sc-dot { fill: var(--chart-coral); stroke: #fff; stroke-width: 1.5; }
.sc-hit { fill: transparent; }
.sc-point { cursor: pointer; outline: none; }
.sc-point:focus-visible .sc-dot, .sc-point:hover .sc-dot, .sc-point.is-open .sc-dot { r: 9; }
.sc-point:focus-visible .sc-hit { stroke: #fff; stroke-width: 1.5; }
.sc-centre circle, .sc-centre line { fill: none; stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.2; }
.sc-label text { fill: #fff; font-size: 14px; }
.sc-label .sc-name { font-weight: 500; }
.sc-label .sc-level { fill: var(--chart-coral-text); font-size: 12.5px; }
.sounding-detail { min-height: 1.4em; margin: 0.4rem 0 0; font-size: 0.95rem; color: #fff; text-align: center; }
.sounding-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; margin: 0.6rem 0 0; font-family: var(--mono); font-size: 0.78rem; color: rgba(255, 255, 255, 0.8); }
.sounding-legend span[hidden] { display: none; }
.sounding-legend .l-now::before, .sounding-legend .l-before::before { content: ""; display: inline-block; width: 22px; height: 0; margin-right: 0.45rem; vertical-align: middle; border-top: 2.4px solid var(--chart-coral); }
.sounding-legend .l-before::before { border-top: 1.5px dashed rgba(255, 255, 255, 0.7); }
.sounding-note { margin: 0.35rem 0 0; text-align: center; font-family: var(--mono); font-size: 0.76rem; color: rgba(255, 255, 255, 0.75); }
.sounding-firsts { margin: 0.7rem auto 0; max-width: 34rem; color: rgba(255, 255, 255, 0.92); font-size: 0.92rem; text-align: center; }
.sounding-firsts[hidden] { display: none; }
.sounding-key { display: none; list-style: none; margin: 0.6rem 0 0; padding: 0; gap: 0.35rem; }
.sounding-key li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.sounding-key .icon { width: 1.1rem; height: 1.1rem; color: var(--lens); background: rgba(255, 255, 255, 0.92); border-radius: 6px; padding: 2px; }
.sounding-key strong { margin-left: auto; color: var(--chart-coral-text); font-family: var(--mono); font-weight: 500; }
.sounding-chart.is-mini .sc-shape { stroke-width: 2; }
.mine-sounding { margin-bottom: 1rem; }
/* The reveal, once: a sonar ping, the rings drawn out, the shape rising from the centre, the points settling. */
.is-reveal .sc-ping { fill: none; stroke: var(--chart-coral); stroke-width: 2; transform-box: view-box; transform-origin: var(--ox) var(--oy); animation: sc-ping 1400ms ease-out forwards; }
.is-reveal .sc-ring { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: sc-draw 900ms ease-out forwards; animation-delay: calc(var(--k) * 120ms + 200ms); }
.is-reveal .sc-shape, .is-reveal .sc-glow { transform-box: view-box; transform-origin: var(--ox) var(--oy); animation: sc-rise 900ms cubic-bezier(.2, .8, .2, 1) 700ms backwards; }
.is-reveal .sc-point { animation: sc-settle 500ms ease-out backwards; animation-delay: calc(var(--n) * 90ms + 1300ms); transform-box: fill-box; transform-origin: center; }
.is-reveal .sc-label, .is-reveal .sc-ring-label { animation: sc-fade 600ms ease-out 1100ms backwards; }
@keyframes sc-ping { from { transform: scale(0.05); opacity: 0.9; } to { transform: scale(1); opacity: 0; } }
@keyframes sc-draw { to { stroke-dashoffset: 0; } }
@keyframes sc-rise { from { transform: scale(0); opacity: 0; } }
@keyframes sc-settle { from { transform: scale(0); opacity: 0; } }
@keyframes sc-fade { from { opacity: 0; } }
.sc-ping { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .is-reveal .sc-ping, .is-reveal .sc-ring, .is-reveal .sc-shape, .is-reveal .sc-glow, .is-reveal .sc-point, .is-reveal .sc-label, .is-reveal .sc-ring-label { animation: none; stroke-dashoffset: 0; }
}
@media (max-width: 640px) {
  .sounding-panel { padding: 1rem 0.8rem 0.9rem; }
  .sc-label { display: none; }
  .sounding-key { display: grid; }
}

/* Keyframes can't be nested inside body.paper, so the sounding line's live out here. */
@keyframes sign-in-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes stage-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes contour-wait { 50% { opacity: 0.7; } }
@keyframes sw-bob { 50% { transform: translateY(-3px); } }
.sw-bob { animation: sw-bob 2s ease-in-out infinite; }
@keyframes sw-sound { 0% { transform: translateY(28px); opacity: 0; } 12% { opacity: 1; } 75% { transform: translateY(180px); opacity: 1; } 92%, 100% { transform: translateY(180px); opacity: 0; } }
@keyframes halo { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.35); opacity: 0; } }
@keyframes echo { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(2.1); opacity: 0; } }

/* ---- Components built under the paper theme, in Clear water's tokens (#360) ----
   Your progress, the results charts and the call card were styled inside body.paper, which the return to Clear
   water (24c08c3) removed with the theme. Only their component rules are back: the paper look (its dark header
   bands, type and colours) stays gone. */
:root {
  --level-1: #dcf0f2; --level-2: #9fd6cf; --level-3: #3fa596; --level-4: #0a6f65;  /* the level scale, in teal */
  --ring-1: #7fbfb6; --ring-2: #5aa99f;
  --ochre: #8d5e00; --ochre-tint: #f9edd9;  /* a lens's first at Proficient or Advanced */
  --green: #3a714f; --green-tint: #e4efe7; --sea: #3f8370; --mint-tint: #e3f0ea;
  --clay: #c0583f; --salmon: #f29a86; --peach-tint: #fce6d2; --sand: #ead9c3;
}
.kind-face { font-family: var(--font); font-size: 1.1rem; font-weight: 500; letter-spacing: 0.02em; }
.kind-last { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.45rem; padding-top: 0.55rem; border-top: 1px solid var(--line); color: var(--teal-deep); font-size: 0.92rem; font-weight: 600; }
.kind-last-shape { flex: none; width: 3.4rem; margin: -0.3rem 0; }
.kind-last-shape .sounding-chart { display: block; width: 100%; }
.kind-line { color: var(--soft); font-size: 0.95rem; }
.optional { color: var(--soft); font-weight: 400; }
.dim-head .level-chip { margin: 0; padding: 0.25rem 0.75rem; border-radius: 999px; font-size: 0.92rem; color: var(--ink); }
.level-chip.lv-0 { background: var(--mist); box-shadow: inset 0 0 0 1px var(--ring-1); }
.level-chip.lv-1 { background: var(--level-1); }
.level-chip.lv-2 { background: var(--level-2); }
.dim-head .level-chip.lv-3 { background: var(--ink); color: var(--surface); }
.mine-hero { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(15rem, 1fr); gap: 1.2rem 2rem; align-items: center; }
.mine-hero .mine-sounding { margin: 0; padding: 0; }
.mine-hero .sounding-chart { max-width: none; }
.mine-hero-side .mine-lenses { gap: 0.85rem; }
.mine-hero-side .mine-lenses li { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0; }
.mine-hero-side .mine-lenses .icon { grid-row: span 2; }
.mine-hero-side .mine-change { grid-column: 2; color: var(--soft); }
.mine-hero-side .mine-change strong { color: var(--teal-deep); font-weight: 600; }
@media (max-width: 900px) {
  .mine-hero { grid-template-columns: minmax(0, 1fr); }
}
.mine-multiples { list-style: none; margin: 0.8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.mine-multiples li { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); padding: 0.75rem 0.9rem 0.6rem; }
.mm-head { display: flex; align-items: baseline; gap: 0.45rem; margin: 0 0 0.35rem; font-size: 0.92rem; }
.mm-head .icon { width: 1rem; height: 1rem; color: var(--soft); align-self: center; flex: none; }
.mm-name { font-weight: 600; color: var(--ink); }
.mm-head strong { margin-left: auto; color: var(--teal-deep); font-weight: 600; white-space: nowrap; }
.mm-chart { display: block; width: 100%; height: auto; }
.mm-plot { position: relative; }
.mm-hit { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; }
.mm-hit:hover { box-shadow: inset 0 0 0 2px var(--teal-deep); }
.mm-hit::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); white-space: nowrap; font: 600 0.8rem/1 var(--font); color: var(--surface); background: var(--ink); padding: 0.35rem 0.5rem; border-radius: 6px; display: none; pointer-events: none; z-index: 2; }
.mm-hit:hover::after { display: block; }
.mm-hit.is-start::after { left: 0; transform: none; }
.mm-hit.is-end::after { left: auto; right: 0; transform: none; }
.mm-rule { stroke-width: 1.2; }
.mm-rule.mm-l0 { stroke: var(--ring-1); }
.mm-rule.mm-l1 { stroke: var(--ring-2); }
.mm-rule.mm-l2 { stroke: var(--level-3); stroke-dasharray: 3 3; }
.mm-rule.mm-l3 { stroke: var(--level-4); stroke-dasharray: 3 3; }
.mm-line { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.mm-point { fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; }
.mm-latest { fill: var(--ink); stroke: var(--surface); stroke-width: 2; }
.mm-dates { display: flex; justify-content: space-between; margin: 0.1rem 0 0; font-size: 0.75rem; color: var(--soft); }
.mm-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--soft); }
.mm-key span { display: inline-flex; align-items: center; gap: 0.4rem; }
.mm-key i { width: 18px; height: 0; border-top: 2px solid; }
.mm-key i.mm-l0 { border-color: var(--ring-1); }
.mm-key i.mm-l1 { border-color: var(--ring-2); }
.mm-key i.mm-l2 { border-color: var(--level-3); border-top-style: dashed; }
.mm-key i.mm-l3 { border-color: var(--level-4); border-top-style: dashed; }
.mm-chart .mm-first { fill: var(--ochre-tint); stroke: var(--ochre); stroke-width: 1.5; }
.mm-key i.mm-first { width: 0.55rem; height: 0.55rem; border: 0; background: var(--ochre); transform: rotate(45deg); margin: 0 0.15rem; }
.mm-change { margin: 0.2rem 0 0; font-size: 0.82rem; color: var(--soft); }
@media (max-width: 900px) {
  .mine-multiples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .mine-multiples { gap: 0.6rem; }
  .mine-multiples li { padding: 0.65rem 0.7rem 0.5rem; }
  .mm-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.4rem; }
  .mm-head strong { grid-column: 2; margin-left: 0; }
}
.mine-step { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem 2rem; align-items: center; margin-top: 0.6rem; }
.step-shape { display: block; width: 12rem; margin: 0 auto; }
.step-shape .sounding-chart { width: 100%; }
.step-shape .sc-shape { stroke-width: 3; }
.step-shape .sc-ghost { stroke-width: 2.2; }
.mine-step .sounding-legend { margin-top: 0.3rem; font-family: var(--font); }
.step-which { margin: 0 0 0.8rem; display: grid; gap: 0.1rem; }
.step-which span { color: var(--soft); font-size: 0.92rem; }
.step-lenses { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem 1.6rem; }
.step-lenses li { grid-template-columns: auto minmax(0, 1fr); column-gap: 0.6rem; row-gap: 0; align-content: start; }
.step-lenses .icon { grid-row: span 2; }
.step-lenses .mine-change { grid-column: 2; color: var(--soft); font-size: 0.92rem; }
.step-lenses .mine-change strong { color: var(--teal-deep); font-weight: 600; }
.mine-change .level-chip { display: inline-block; padding: 0.08rem 0.55rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.mine-change .level-chip.lv-3 { background: var(--ink); color: var(--surface); }
.mine-change .level-chip.is-from { background: var(--surface); color: var(--soft); box-shadow: inset 0 0 0 1px var(--ring-2); }
.mine-change .level-chip.lv-none { padding-inline: 0; color: var(--soft); font-weight: 400; }
.mine-change .chip-arrow { margin: 0 0.35rem; color: var(--soft); }
.step-lenses em { font-style: normal; font-size: 0.8rem; margin-left: 0.25rem; }
@media (max-width: 760px) {
  .mine-step { grid-template-columns: minmax(0, 1fr); }
  .step-lenses { grid-template-columns: minmax(0, 1fr); }
}
.mine-untried { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.mine-untried li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.2rem 1rem; background: var(--surface); box-shadow: inset 0 3px 0 var(--level-3), inset 0 0 0 1px var(--line); border-radius: var(--radius); padding: 0.9rem 1rem 0.8rem; }
.mine-untried li { grid-template-columns: 2.8rem minmax(0, 1fr) auto; column-gap: 0.9rem; }
.mine-untried .kind-mark { grid-column: 1; grid-row: 1 / span 2; }
.mine-untried .kind-tag { grid-column: 2; }
.mine-untried strong { grid-column: 2; color: var(--ink); }
.mine-untried button { grid-column: 3; grid-row: 1 / span 2; }
@media (max-width: 640px) {
  .mine-untried li { grid-template-columns: 2.8rem minmax(0, 1fr); }
  .mine-untried button { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 0.5rem; }
}
.retry-card { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; display: grid; gap: 0.7rem; }
.retry-title { margin: 0; }
.retry-shapes { display: flex; align-items: center; gap: 0.6rem; }
.retry-shape { margin: 0; display: grid; justify-items: center; gap: 0.2rem; }
.retry-shape > span { display: block; width: 7.5rem; }
.retry-shape .sounding-chart { width: 100%; }
.retry-shape .sounding-legend { margin: 0; font-family: var(--font); font-size: 0.82rem; display: grid; justify-items: center; gap: 0; }
.retry-date { color: var(--soft); }
.retry-shape.is-before .sc-shape { stroke: var(--clay); stroke-dasharray: 4 3; }
.retry-shape.is-before .sc-dot { fill: var(--clay); }
.retry-arrow { color: var(--soft); font-size: 1.3rem; }
.retry-card .small { margin: 0; }
.time-step { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), inset 0 3px 0 var(--level-3); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 0.4rem 0 1.4rem; }
.time-step h3 { margin: 0 0 0.2rem; font-family: var(--font); font-weight: 500; font-size: 1.2rem; }
.time-step > .small { margin: 0 0 0.9rem; color: var(--soft); }
.time-step > .small strong { color: var(--ink); font-weight: 600; }
.time-step .mine-lens-name { font-size: 0.95rem; font-weight: 600; }
.time-step-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2rem; align-items: center; }
@media (max-width: 760px) {
  .time-step-body { grid-template-columns: minmax(0, 1fr); }
  .time-step .retry-shapes { justify-content: center; }
}
.retry-lenses { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
@container (min-width: 640px) {
  .retry-card { grid-template-columns: auto minmax(0, 1fr); column-gap: 2rem; align-items: center; }
  .retry-title { grid-column: 1 / -1; }
  .retry-card .small { grid-column: 2; }
}
.mine-tried .tried-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; column-gap: 0.9rem; row-gap: 0.15rem; background: var(--surface); border-radius: var(--radius); padding: 0.8rem 0.9rem; box-shadow: 0 1px 0 rgba(28, 43, 58, 0.06); }
.tried-card > :not(.tried-shape) { grid-column: 2; }
.tried-card .kind-tag { font-size: 0.75rem; }
.tried-shape { grid-column: 1; grid-row: 1 / span 3; width: 64px; height: 64px; }
.tried-shape .sounding-chart { width: 64px; }
.tried-card .tried-title { font-weight: 600; font-size: 0.98rem; line-height: 1.3; text-align: left; color: var(--ink); }
.tried-card button.tried-title { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; color: var(--teal-deep); }
.rh-chart { display: block; width: 100%; max-width: 21rem; height: auto; margin-top: 0.6rem; }
@media (min-width: 760px) {
  .rh-chart { max-width: 25rem; }
}
.rh-cell { fill: var(--line); }
.rh-cell.is-one { fill: var(--level-3); }
.rh-cell.is-more { fill: var(--ink); }
.rh-cell.is-today { stroke: var(--ink); stroke-width: 2; }
.rh-month, .rh-day { fill: var(--soft); font-family: var(--font); font-size: 10.5px; }
.rh-month { font-weight: 600; }
.rh-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--soft); }
.rh-key span { display: inline-flex; align-items: center; gap: 0.4rem; }
.rh-key i { width: 12px; height: 12px; border-radius: 2px; background: var(--line); }
.rh-key i.is-one { background: var(--level-3); }
.rh-key i.is-more { background: var(--ink); }
.rh-key i.is-today { box-shadow: inset 0 0 0 2px var(--ink); }
.rh-bar { fill: var(--level-3); }
.rh-base { stroke: var(--line); stroke-width: 1; }
.rh-mins { fill: var(--soft); font-family: var(--font); font-size: 9.5px; font-weight: 600; }
.rh-key i.is-bar { width: 8px; height: 13px; border-radius: 2px 2px 0 0; background: var(--level-3); }
@media (min-width: 760px) and (max-width: 1099px) {
  .rh-wrap { display: flex; align-items: center; gap: 2.5rem; }
  .rh-wrap .rh-chart { flex: none; width: 25rem; }
  .rh-wrap .rh-key { flex-direction: column; gap: 0.7rem; margin: 0; padding-left: 1.5rem; border-left: 1px solid var(--line); font-size: 0.88rem; }
}
.mine-timeline { list-style: none; margin: 0.4rem 0 0; padding: 0 0 0.6rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(9rem, 1fr); gap: 0 0.6rem; overflow-x: auto; scroll-snap-type: x proximity; position: relative; }
.mine-timeline li { position: relative; display: grid; justify-items: center; align-content: start; gap: 0.3rem; text-align: center; scroll-snap-align: start; padding: 0 0.2rem; }
.mine-timeline li::before { content: ""; position: absolute; left: -0.3rem; right: -0.3rem; top: calc(1.5rem + 55px); border-top: 1.5px solid var(--ring-2); z-index: 0; }
.mine-timeline li:first-child::before { left: 50%; }
.mine-timeline li:last-child::before { right: 50%; }
.tl-date { font-size: 0.82rem; font-weight: 600; color: var(--teal-deep); line-height: 1.2rem; }
.tl-shape { position: relative; z-index: 1; width: 110px; height: 110px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.tl-shape .sounding-chart { width: 100px; }
.is-latest .tl-shape { background: var(--ink) url("/static/contours.svg") center / 300% auto; box-shadow: none; }
.is-latest .tl-shape .is-mini .sc-ring { stroke: rgba(255, 255, 255, 0.35); }
.is-latest .tl-shape .sc-axis { stroke: rgba(255, 255, 255, 0.2); }
.is-latest .tl-shape .sc-shape { stroke: var(--surface); }
.is-latest .tl-shape .sc-dot { fill: var(--surface); }
.is-latest .tl-date { color: var(--ink); }
.tl-first { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; font-weight: 600; color: var(--ochre); }
.tl-first::before { content: ""; width: 0.5rem; height: 0.5rem; background: var(--ochre); transform: rotate(45deg); }
.mine-change .tl-first { margin-left: 0.6rem; }
.tl-kind { font-size: 0.75rem; color: var(--soft); }
.mine-timeline .tl-title { font-size: 0.88rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.mine-timeline button.tl-title { text-align: inherit; background: none; border: 0; padding: 0; font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; color: var(--teal-deep); }
@media (max-width: 640px) {
  .mine-timeline { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; gap: 0.9rem; }
  .mine-timeline li { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 0.9rem; row-gap: 0.1rem; }
  .mine-timeline li > :not(.tl-shape) { grid-column: 2; }
  .mine-timeline .tl-shape { grid-column: 1; grid-row: 1 / span 5; width: 72px; height: 72px; }
  .tl-shape .sounding-chart { width: 66px; }
  .mine-timeline li::before { left: 36px; right: auto; top: 0; bottom: -0.9rem; border-top: 0; border-left: 1.5px solid var(--ring-2); }
  .mine-timeline li:first-child::before { left: 36px; top: 36px; }
  .mine-timeline li:last-child::before { right: auto; bottom: auto; height: 36px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.what-next { background: var(--ink) url("/static/contours.svg") center / cover; color: var(--surface); border-radius: var(--radius); padding: 1.3rem 1.4rem 1.4rem; margin: 2rem 0 0; }
.what-next h2 { margin: 0 0 1rem; font-size: 1.05rem; color: var(--surface); }
.what-next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.what-next li { position: relative; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 0.9rem; }
.what-next li:not(:last-child)::before { content: ""; position: absolute; left: 1.25rem; top: 2.5rem; bottom: -1.3rem; border-left: 1.5px dashed var(--sky); opacity: 0.6; }
.wn-mark { grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--level-1); }
.what-next li:nth-child(1) .wn-mark { background: var(--peach-tint); }
.what-next li:nth-child(2) .wn-mark { background: var(--mint-tint); }
.wn-mark .icon { width: 1.25rem; height: 1.25rem; }
.wn-mark .wn-hex { color: var(--teal-deep); }
.what-next strong { font-size: 0.95rem; margin-top: 0.2rem; color: var(--surface); }
.what-next li > span:last-child { font-size: 0.88rem; line-height: 1.4; color: var(--sky); }
.intake-mark { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%; margin-top: 0.2rem; background: var(--surface); color: var(--ink); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.18); }
.intake-mark .icon { width: 1.6rem; height: 1.6rem; }
@media (max-width: 640px) {
  .intake-mark { width: 2.6rem; height: 2.6rem; }
  .intake-mark .icon { width: 1.3rem; height: 1.3rem; }
}
.call-words { margin: 0 0 2rem; }
.call-line { list-style: none; margin: 0.8rem -6px 0; padding: 6px; display: flex; justify-content: space-between; gap: 0.5rem; position: relative; overflow-x: auto; }
.call-line::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; border-top: 1.5px solid var(--line); }
.call-line li { position: relative; flex: none; }
.call-mark { display: inline-flex; align-items: center; gap: 0.3rem; min-width: 2.75rem; min-height: 2.75rem; justify-content: center; padding: 0 0.3rem; border-radius: 999px; background: var(--surface); color: var(--soft); box-shadow: inset 0 0 0 1.5px var(--green); }
.call-disc { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; flex: none; background: var(--mist); box-shadow: inset 0 0 0 1px var(--ring-2); color: var(--soft); }
.call-disc[data-level="1"] { background: var(--level-1); box-shadow: none; }
.call-disc[data-level="2"] { background: var(--level-2); box-shadow: none; color: var(--ink); }
.call-disc[data-level="3"] { background: var(--ink); box-shadow: none; color: var(--surface); }
.call-disc .icon { width: 1.05rem; height: 1.05rem; }
.call-mark:hover { box-shadow: inset 0 0 0 2.5px var(--green); }
.call-mark[aria-pressed="true"] { background: var(--green-tint); box-shadow: inset 0 0 0 2.5px var(--green); }
.call-ends { display: flex; justify-content: space-between; margin: 0 0 1rem; font-size: 0.85rem; color: var(--soft); }
.call-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.3rem 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.call-quote-lens { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.call-quote-lens > span { display: inline-flex; align-items: center; gap: 0.4rem; }
.call-quote-lens .call-disc { width: 1.9rem; height: 1.9rem; }
.call-quote-lens .icon { width: 1rem; height: 1rem; }
.call-quote-lens .level-chip { padding: 0.08rem 0.55rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.call-quote-lens .level-chip.lv-3 { background: var(--ink); color: var(--surface); }
.call-card-count { font-size: 0.85rem; color: var(--soft); }
.call-card .checked-label { margin: 0.8rem 0 0; }
.call-quote { margin: 0.35rem 0 0; padding: 0; border: 0; font-size: clamp(1.2rem, 2.2vw, 1.4rem); line-height: 1.4; }
.checked-label { color: var(--green); font-size: 0.85rem; font-weight: 600; margin: 0.6rem 0 -0.2rem; }
section.call-card .call-meet { padding: 1rem 1.1rem 1.1rem; border-radius: 14px; background: var(--ink) url("/static/contours.svg") center / cover; }
section.call-card .call-meet h2 { margin-top: 0; color: var(--surface); }
section.call-card .call-meet p, section.call-card .call-meet #card-who { color: var(--sky); }
section.call-card .call-meet .card-person { color: var(--surface); }
section.call-card .call-meet #card-stance strong { color: var(--surface); font-weight: 600; }
section.call-card .call-meet + h2 { margin-top: 1.3rem; }
.moment { margin: 1.2rem 0 1.6rem; }
.moment-label { color: var(--soft); font-size: 0.9rem; font-weight: 600; }
.moment blockquote { font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.3; margin: 0.4rem 0 0; }
.moment-where { color: var(--soft); font-size: 0.9rem; margin-top: 0.5rem; padding-left: calc(0.85rem + 3px); }
.account-box { display: grid; gap: 0.7rem; margin-bottom: 0.4rem; }
.google-button { display: flex; justify-content: center; align-items: center; min-height: 2.75rem; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1px var(--soft); }
.google-button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.landing-band .google-button { color: var(--ink); text-decoration: none; }
.landing-band .account-box .quiet-link { color: var(--teal-deep); background: none; box-shadow: none; }
.or { display: flex; align-items: center; gap: 0.6rem; color: var(--soft); font-size: 0.85rem; margin: 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.3rem; padding: 0.25rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.account-tab { border: 0; border-radius: 999px; padding: 0.45rem 0.6rem; background: transparent; color: var(--soft); font: inherit; font-weight: 600; cursor: pointer; }
.account-tab[aria-pressed="true"] { background: var(--teal-deep); color: var(--surface); }
.forgot-link { justify-self: start; font-size: 0.9rem; padding: 0; }
.signed-in-as { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.signed-in-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.account-message { margin: 0; padding: 0.6rem 0.8rem; border-radius: 6px; background: var(--mist); box-shadow: inset 3px 0 0 var(--teal-deep); color: var(--ink); font-size: 0.92rem; }
.agree { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); font-size: 0.95rem; margin: 0.2rem 0 0.6rem; }
.results-shape { display: none; }
@media (min-width: 760px) {
  .results-shape { display: block; grid-column: 2; grid-row: 1 / span 5; align-self: center; width: 9rem; height: 9rem; }
  .results-shape .sounding-chart { width: 100%; height: 100%; }
}
.results-shape .is-mini .sc-ring { stroke: rgba(255, 255, 255, 0.35); }
.results-shape .sc-ring.sc-outer { stroke: var(--sky); }
.results-shape .sc-axis { stroke: rgba(255, 255, 255, 0.2); }
.results-shape .sc-shape { stroke: var(--surface); stroke-width: 2.6; filter: none; }
.results-shape .sc-dot { fill: var(--salmon); stroke: var(--ink); }
.results-shape .sc-contours { display: none; }
.hs-surface { fill: none; stroke: var(--surface); stroke-opacity: 0.7; stroke-width: 1.5; }
.hs-contour { fill: none; stroke: var(--level-2); stroke-width: 1.25; }
.hs-contour.is-deep { stroke: var(--level-1); stroke-dasharray: 4 4; }
.hs-line { stroke: var(--sky); stroke-width: 1.2; }
.hs-lead { fill: var(--salmon); }
.mine-start { display: flex; align-items: center; gap: 1.6rem; margin: 1.1rem 0 1rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.mine-start[hidden] { display: none; }
.mine-start .hello-sounding { width: 10rem; }
.mine-start p { margin: 0; max-width: 34rem; }
.mine-start .actions { margin-top: 0.9rem; }
.why-lenses .lens-diagram { display: block; max-width: 32rem; margin: 1.2rem 0 0; }
.mine-tile:nth-child(1) .tile-marks i:not(.is-empty) { background: var(--sea); }
.mine-tile .tile-hexes svg { fill: var(--peach-tint); stroke: var(--clay); }
.tn-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem; align-items: center; }
.tn-mark { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 2px var(--ochre); color: var(--soft); }
.tn-mark .icon { width: 1.35rem; height: 1.35rem; }
.target .level-chip { padding: 0.12rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.target .level-chip.lv-3 { background: var(--ink); color: var(--surface); }
.tile-marks { display: flex; flex-wrap: wrap; gap: 4px; margin: 0.45rem 0 0.2rem; max-width: 9rem; }
.tile-marks i { width: 8px; height: 8px; border-radius: 50%; background: var(--level-4); }
.tile-marks i.is-empty { background: none; box-shadow: inset 0 0 0 1.5px var(--soft); }
.tile-bars { display: block; margin: 0.45rem 0 0.2rem; fill: var(--level-3); }
.tile-hexes { display: flex; flex-wrap: wrap; gap: 3px; margin: 0.4rem 0 0.2rem; max-width: 9rem; }
.tile-hexes svg { width: 11px; height: 11px; fill: var(--level-2); stroke: var(--level-4); stroke-width: 1; }
.tile-shape { display: block; width: 56px; height: 56px; margin: 0.25rem 0 0 -4px; }
.tile-shape .sounding-chart { width: 56px; height: 56px; }
.tile-shape .sc-shape { stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.tile-shape .sc-outer { stroke: var(--soft); stroke-width: 2; }
.tile-shape .sc-dot, .tile-shape .sc-contours { display: none; }
.mine-spot-card { background: var(--ochre-tint); box-shadow: inset 4px 0 0 var(--ochre); border-radius: var(--radius); padding: 1rem 1.2rem 1.1rem 1.4rem; }
.mine-spot-card p { margin: 0; }
.mine-spot-card .target-label { color: var(--soft); font-size: 0.85rem; font-weight: 600; }
.mine-spot-card .about { color: var(--ochre); font-weight: 600; margin-top: 0.2rem; }
.mine-spot-card .mine-spot { margin-top: 0.3rem; }
.mine-spot-card .actions { margin-top: 0.8rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; }
button.try-moment { background: var(--surface); color: var(--ochre); font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--ochre); }
button.try-moment:hover { background: var(--mist); }
.mine-firsts { position: relative; list-style: none; margin: 0; padding: 0 0 0 1.7rem; display: grid; gap: 1rem; }
.mine-firsts li:not(:last-child)::before { content: ""; position: absolute; left: calc(-1.22rem - 1px); top: 0.7rem; bottom: -1.7rem; border-left: 2px solid var(--ring-2); }
.mine-firsts li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.15rem 0.7rem; align-items: center; }
.fl-mark { position: absolute; left: -1.62rem; top: 0.3rem; width: 0.8rem; height: 0.8rem; background: var(--ochre); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--mist); }
.mine-firsts .tl-date { font-weight: 600; }
.fl-icons { display: inline-flex; gap: 0.35rem; color: var(--soft); }
.fl-icons .icon { width: 1.05rem; height: 1.05rem; }
.fl-words { grid-column: 1 / -1; display: grid; gap: 0.3rem; color: var(--ink); line-height: 1.4; }
.fl-lead { color: var(--ochre); font-weight: 600; margin-right: 0.15rem; }
.fl-words .level-chip { display: inline-block; margin-right: 0.3rem; padding: 0.04rem 0.55rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.fl-words .level-chip.lv-3 { background: var(--ink); color: var(--surface); }
.sure-chart { margin: 0.7rem 0 0; background: var(--surface); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); padding: 0.9rem 1rem 0.7rem; }
.sure-plot { max-width: 36rem; }
.sure-chart svg { display: block; width: 100%; height: auto; }
.sure-grid { stroke: var(--line); stroke-width: 1; }
.sure-axis { fill: var(--soft); font-family: var(--font); font-size: 15px; }
.sure-said { fill: none; stroke: var(--sea); stroke-width: 2.2; stroke-dasharray: 6 4; stroke-linejoin: round; }
.sure-sound { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.sure-said-dot { fill: var(--surface); stroke: var(--sea); stroke-width: 2.2; }
.sure-sound-dot { fill: var(--ink); }
.sure-key { display: flex; flex-wrap: wrap; gap: 0.3rem 1.4rem; margin-top: 0.4rem; font-size: 0.85rem; color: var(--soft); }
.sure-key span::before { content: ""; display: inline-block; width: 1.4rem; margin-right: 0.45rem; vertical-align: middle; border-top: 2.4px solid var(--ink); }
.sure-key .k-sure::before { border-top: 2.2px dashed var(--sea); }
.mine-numbers { margin-top: 0.8rem; }
.mine-numbers summary { cursor: pointer; color: var(--teal-deep); font-weight: 600; font-size: 0.92rem; }
.mine-numbers[open] summary { margin-bottom: 0.4rem; }
.mine-sure { border-collapse: collapse; margin: 0.2rem 0 0; font-size: 0.92rem; }
.mine-sure th { text-align: left; font-size: 0.8rem; font-weight: 600; color: var(--soft); padding: 0 2rem 0.4rem 0; }
.mine-sure tbody th { font-size: 0.85rem; padding: 0.45rem 2rem 0.45rem 0; white-space: nowrap; }
.mine-sure td { padding: 0.45rem 2rem 0.45rem 0; border-top: 1px solid var(--line); vertical-align: middle; }
.mine-sure tbody th { border-top: 1px solid var(--line); }
.mine-sure td .small { display: block; color: var(--soft); margin-top: 0.15rem; }
.mine-dots, .mine-squares { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 0.6rem; }
.mine-dots i, .mine-squares i { width: 11px; height: 11px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--soft); }
.mine-dots i { border-radius: 50%; }
.mine-squares i { border-radius: 2px; }
.mine-dots i.on, .mine-squares i.on { background: var(--teal-deep); box-shadow: none; }
.mine-count { color: var(--soft); white-space: nowrap; }
.habit-mark { grid-row: span 2; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--level-1); color: var(--ink); }
.habit-mark .icon { width: 1.35rem; height: 1.35rem; }
.mine-habit { font-weight: 600; color: var(--ink); }
#mine-body > .mine-jump { grid-column: 1 / -1; max-width: none; margin: 0 0 1.4rem; }
.mine-jump ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem 0.5rem; }
.mine-jump a { display: inline-block; padding: 0.35rem 0.85rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--teal-deep); font-weight: 600; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
.mine-jump a:hover { box-shadow: inset 0 0 0 1.5px var(--teal-deep); }
.dl-caption { margin: 1.1rem 0 0.5rem; font-size: 0.88rem; font-weight: 600; color: var(--soft); }
.decision-line { list-style: none; margin: 0; padding: 0 0 0.3rem; display: flex; gap: 0.9rem; overflow-x: auto; }
.decision-line li { position: relative; flex: none; display: grid; justify-items: center; gap: 0.3rem; min-width: 3rem; }
.decision-line li + li::before { content: ""; position: absolute; top: 1.1rem; right: 50%; width: calc(100% + 0.9rem); height: 2px; background: var(--ring-2); z-index: 0; }
.dl-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--level-1); color: var(--ink); box-shadow: 0 0 0 3px var(--mist); }
.dl-mark .icon { width: 1.1rem; height: 1.1rem; }
.decision-line .is-latest .dl-mark { background: var(--ink); color: var(--surface); }
.dl-date { font-size: 0.8rem; color: var(--teal-deep); white-space: nowrap; }
.decision-line .is-latest .dl-date { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  .decision-line { gap: 0.35rem; }
  .decision-line li { min-width: 2.6rem; }
  .decision-line li + li::before { width: calc(100% + 0.35rem); }
  .dl-date { font-size: 0.72rem; }
}
.mine-marks { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.mine-marks i { position: relative; width: 18px; height: 18px; border-radius: 3px; background: var(--level-3); }
.mine-marks i.is-latest { background: var(--ink); }
.mine-marks i:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.mine-marks i::after { content: attr(data-date); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; font-weight: 600; font-size: 0.8rem; line-height: 1; color: var(--surface); background: var(--ink); padding: 0.35rem 0.5rem; border-radius: 6px; opacity: 0; pointer-events: none; z-index: 2; }
.mine-marks i:hover::after, .mine-marks i:focus-visible::after { opacity: 1; }
@media (max-width: 640px) {
  .mine-sure th, .mine-sure td, .mine-sure tbody th { padding-right: 0.9rem; }
  .mine-dots, .mine-squares { display: flex; margin: 0 0 0.2rem; }
}
.trend-row .row.tr-l0 { stroke: var(--ring-1); }
.trend-row .row.tr-l1 { stroke: var(--ring-2); }
.trend-row .row.tr-l2 { stroke: var(--level-3); stroke-dasharray: 3 3; }
.trend-row .row.tr-l3 { stroke: var(--level-4); stroke-dasharray: 3 3; }
.trend-plot { display: block; min-width: 0; }
.trend-plot svg { display: block; }
.trend-dates { display: flex; justify-content: space-between; max-width: 340px; margin-top: 0.2rem; font-size: 0.75rem; color: var(--soft); }
.trend-key { margin-top: 0.9rem; }
@media (max-width: 640px) {
  .trend-plot { grid-column: 1 / -1; grid-row: 2; }
  .trend-dates { max-width: none; }
}
.trend-row .tr-first { fill: var(--ochre-tint); stroke: var(--ochre); stroke-width: 1.5; }
.legend .l-first::before { width: 0.55rem; height: 0.55rem; border-radius: 0; background: var(--ochre); transform: rotate(45deg); margin-right: 0.5rem; }
.trend-now .tl-first { justify-content: flex-end; margin-top: 0.15rem; }
.trend-same { margin: 0.7rem 0 0; font-size: 0.9rem; color: var(--soft); }
.trend-same strong { color: var(--ink); font-weight: 600; }
.trend-same::before { content: ""; display: inline-block; width: 0.7rem; height: 0.7rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: -0.05em; box-shadow: inset 0 0 0 1.8px var(--ink); background: var(--surface); }
.sounding-wait { display: block; width: 21rem; max-width: 100%; height: auto; margin: 2.2rem auto 0; overflow: hidden; }
.contour-wait { height: 9rem; max-width: 21rem; margin: 1.8rem auto 0; border-radius: var(--radius); background: var(--ink) url("/static/contours.svg") center / cover; animation: contour-wait 2.4s ease-in-out infinite; }
.contour-wait { position: relative; }
.contour-wait::before { content: ""; position: absolute; left: 50%; top: 0; height: 42%; border-left: 1.5px solid var(--sky); }
.contour-wait::after { content: ""; position: absolute; left: calc(50% - 8px); top: 42%; width: 17px; height: 24px; background: var(--salmon); clip-path: polygon(0 0, 100% 0, 100% 25%, 50% 100%, 0 25%); }
#mine-body .contour-wait { max-width: none; margin: 0 0 0.8rem; }
#mine-body > .contour-wait { grid-column: 1 / -1; }
.sounding-rest { display: block; width: 17rem; max-width: 100%; height: auto; margin: 0 auto 1.6rem; }
.sounding-wait { background: var(--ink) url("/static/contours.svg") center / cover; border-radius: var(--radius); }
.sounding-rest { background: var(--ink) url("/static/contours.svg") center / cover; border-radius: var(--radius); }
.sw-surface { fill: none; stroke: var(--surface); stroke-opacity: 0.8; stroke-width: 1.6; }
.sw-floor { fill: var(--level-3); fill-opacity: 0.55; }
.sw-contour { fill: none; stroke: var(--sky); stroke-opacity: 0.4; stroke-width: 1.4; transition: stroke 600ms ease, stroke-opacity 600ms ease; }
.sw-line { stroke: var(--sky); stroke-width: 1.3; }
.sw-lead { fill: var(--salmon); }
.sw-weight { transform: translateY(66px); transition: transform 1.4s cubic-bezier(0.3, 0.7, 0.4, 1); }
.sounding-wait[data-step="1"] .sw-weight { transform: translateY(104px); }
.sounding-wait[data-step="2"] .sw-weight { transform: translateY(142px); }
.sounding-wait[data-step="3"] .sw-weight { transform: translateY(180px); }
.sounding-wait[data-step="0"] .sw-contour:nth-child(-n+1), .sounding-wait[data-step="1"] .sw-contour:nth-child(-n+2), .sounding-wait[data-step="2"] .sw-contour:nth-child(-n+3), .sounding-wait[data-step="3"] .sw-contour { stroke: var(--level-1); stroke-opacity: 1; }
.sounding-saving .sw-weight { transform: translateY(50px); }
.sounding-prep .sw-weight { animation: sw-sound 7s cubic-bezier(0.45, 0, 0.35, 1) infinite; }
@media (min-width: 1100px) {
  #phase-scoring .sounding-wait { width: 24rem; margin: 2.4rem 0 0; }
}
.sc-ring.sc-l0 { stroke: var(--ring-1); stroke-width: 1.5; }
.sc-ring.sc-l1 { stroke: var(--ring-2); stroke-width: 1.5; }
.sc-ring.sc-l2 { stroke: var(--level-3); stroke-width: 1.5; }
.sc-ring.sc-l3 { stroke: var(--level-4); stroke-width: 2; }
.is-mini .sc-ring.sc-l0 { stroke: var(--level-1); }
.is-mini .sc-ring.sc-l1, .is-mini .sc-ring.sc-l2, .is-mini .sc-ring.sc-l3 { stroke: var(--level-2); }
.sc-ring-label.sc-l0 line { stroke: var(--ring-1); }
.sc-ring-label.sc-l1 line { stroke: var(--ring-2); }
.sc-ring-label.sc-l2 line { stroke: var(--level-3); }
.sc-ring-label.sc-l3 line { stroke: var(--level-4); }
.sounding-detail.is-peek { color: var(--soft); }
.landing-band { background: var(--ink) url("/static/contours.svg") center / cover; color: var(--surface); padding: 1rem 1.25rem clamp(2.5rem, 6vw, 4.5rem); }
.landing-band .landing { margin: 0 auto; }
/* The sonar scope behind the band (#379): the sign-in page's sweep from October, on navy. The field clips it to the band
   without clipping the sign-in dropdown; the band's content is positioned above it. */
.landing-band { position: relative; }
.scope-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.landing-band .splash-scope { background: radial-gradient(circle, rgba(63, 217, 194, 0.1), transparent 66%); }
.landing-band .splash-scope .ring { border-color: rgba(255, 255, 255, 0.1); }
.landing-band .splash-scope .ring:nth-child(3) { border-color: rgba(255, 255, 255, 0.13); }
.landing-band .splash-scope .ring:nth-child(4) { border-color: rgba(255, 255, 255, 0.16); }
.landing-band .wordmark { color: var(--surface); text-decoration: none; }
.landing-band .wordmark::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='22' viewBox='0 0 12 22'%3E%3Cline x1='6' y1='0' x2='6' y2='9.5' stroke='%23BECAD2' stroke-width='1'/%3E%3Cpath d='M3 9 H9 Q10.5 9 10.5 11.5 L6 21 L1.5 11.5 Q1.5 9 3 9 Z' fill='%23F29A86'/%3E%3C/svg%3E") no-repeat center; }
.private-line { color: var(--sky); }
.landing-band a, .landing-band .quiet-link, .landing-band .landing-links .quiet-link { color: var(--surface); }
.landing-band :focus-visible { outline-color: var(--surface); }
.landing-band .glass { color: var(--ink); }
/* The band is navy (#380): the hero lines and the button would keep the light page's colours, navy on navy. */
.landing-band .landing-why { color: var(--surface); }
.landing-band .landing-why li:last-child { color: var(--level-2); }  /* 9.1:1 on the band; --teal-deep was 2.4:1 */
.landing-band button.primary { background: var(--surface); color: var(--ink); }
.landing-band button.primary:hover { background: var(--sky); }
.landing-band .landing-sub { color: var(--sky); }  /* --soft is below AA on navy */
.private-line { margin: 0; font-size: 0.95rem; }
.landing-start { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.2rem; }
.landing-start .primary { padding: 0.75rem 2.8rem; font-size: 1.05rem; font-weight: 600; }
.sign-in-open { background: rgba(255, 255, 255, 0.06); color: var(--surface); font-weight: 600; padding: 0.6rem 1.2rem; box-shadow: inset 0 0 0 1.5px var(--sky); border-radius: 8px; }
.sign-in-open:hover, .sign-in-open[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1.5px var(--surface); }
.when-mark { grid-row: span 2; width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink); box-shadow: 0 2px 8px rgba(17, 42, 58, 0.1); }
.when-mark .icon { width: 1.5rem; height: 1.5rem; }
.when li:nth-child(1) .when-mark { background: var(--peach-tint); }
.when li:nth-child(2) .when-mark { background: var(--mint-tint); }
.when li:nth-child(3) .when-mark { background: var(--level-1); }
.when li:nth-child(4) .when-mark { background: var(--sand); }
.session-steps { max-width: 72rem; margin: 0 auto 3rem; }
.session-steps h2 { margin: 0 0 1.9rem; font-size: 1.5rem; color: var(--ink); }
.session-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.session-steps li { position: relative; display: grid; gap: 0.5rem; align-content: start; }
.session-steps li:not(:last-child)::after { content: ""; position: absolute; top: calc(1.15rem + 2.75rem - 1px); left: 2.75rem; right: -4.75rem; border-top: 2px solid var(--ring-2); }
.ss-mark { position: relative; z-index: 1; width: 5.5rem; height: 5.5rem; margin: 1.15rem 0 1.5rem 0; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.session-steps li:nth-child(1) .ss-mark { background: var(--peach-tint); box-shadow: 0 0 0 6px var(--mist), 0 0 0 7.5px var(--ring-2); }
.session-steps li:nth-child(2) .ss-mark { background: var(--mint-tint); box-shadow: 0 0 0 6px var(--mist), 0 0 0 7.5px var(--ring-2), 0 0 0 12px var(--mist), 0 0 0 13.5px var(--level-3); }
.session-steps li:nth-child(3) .ss-mark { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--level-1), 0 0 0 6px var(--mist), 0 0 0 7.5px var(--ring-2), 0 0 0 12px var(--mist), 0 0 0 13.5px var(--level-3), 0 0 0 18px var(--mist), 0 0 0 19.5px var(--level-4); }
.ss-mark .icon { width: 2.1rem; height: 2.1rem; }
.ss-mark svg:not(.icon) { width: 4.2rem; height: 4.2rem; overflow: visible; }
.ss-axis { fill: none; stroke: var(--line); stroke-width: 0.8; }
.ss-ring { fill: none; stroke-width: 1; }
.ss-r1 { stroke: var(--ring-1); }
.ss-r2 { stroke: var(--ring-2); }
.ss-r3 { stroke: var(--level-3); }
.ss-r4 { stroke: var(--level-4); stroke-width: 1.4; }
.ss-shape { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.ss-points { fill: var(--ink); }
.session-steps strong { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.session-steps li > span:last-child { font-size: 0.98rem; line-height: 1.5; color: var(--soft); max-width: 20rem; }
@media (max-width: 760px) {
  .session-steps h2 { margin-bottom: 1.4rem; }
  .session-steps ol { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .session-steps li { grid-template-columns: 4rem minmax(0, 1fr); column-gap: 1.4rem; row-gap: 0.15rem; padding-left: 0.9rem; }
  .ss-mark { grid-row: span 2; width: 4rem; height: 4rem; margin: 0; }
  .ss-mark .icon { width: 1.55rem; height: 1.55rem; }
  .ss-mark svg:not(.icon) { width: 3rem; height: 3rem; }
  .session-steps li:nth-child(1) .ss-mark { box-shadow: 0 0 0 4px var(--mist), 0 0 0 5.5px var(--ring-2); }
  .session-steps li:nth-child(2) .ss-mark { box-shadow: 0 0 0 4px var(--mist), 0 0 0 5.5px var(--ring-2), 0 0 0 8.5px var(--mist), 0 0 0 10px var(--level-3); }
  .session-steps li:nth-child(3) .ss-mark { box-shadow: inset 0 0 0 1.5px var(--level-1), 0 0 0 4px var(--mist), 0 0 0 5.5px var(--ring-2), 0 0 0 8.5px var(--mist), 0 0 0 10px var(--level-3), 0 0 0 13px var(--mist), 0 0 0 14.5px var(--level-4); }
  .session-steps li:not(:last-child)::after { top: 2rem; bottom: -4rem; left: calc(0.9rem + 2rem - 1px); right: auto; border-top: 0; border-left: 2px solid var(--ring-2); }
}
.mine-timeline.more-before { mask-image: linear-gradient(to right, transparent, #000 4rem); }
.mine-timeline.more-after { mask-image: linear-gradient(to left, transparent, #000 4rem); }
.mine-timeline.more-before.more-after { mask-image: linear-gradient(to right, transparent, #000 4rem, #000 calc(100% - 4rem), transparent); }
.mine-timeline li > .small { font-size: 0.75rem; color: var(--soft); }
.guide-bar button { box-shadow: inset 0 0 0 1px var(--soft), 0 6px 18px -14px rgba(28, 43, 58, 0.5); }
.guide-bar .guide-toggle[aria-pressed="true"] { background: var(--ink); color: var(--surface); box-shadow: none; }
.guide-bar .guide-tour { color: var(--ink); }
.guide-marker { opacity: 1; color: var(--soft); background: var(--surface); box-shadow: inset 0 0 0 1px var(--soft); }
.guide-marker:hover, .guide-marker:focus-visible, .guide-marker[aria-expanded="true"] { background: var(--teal-deep); color: var(--surface); box-shadow: none; }
.guide-tip { border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line), 0 12px 28px -18px rgba(28, 43, 58, 0.45); border-top: 3px solid var(--teal-deep); }
@media (max-width: 640px) {
  .guide-bar { position: absolute; top: 3rem; bottom: auto; right: 1.5rem; }
}
.guide-tip h2 { font-family: var(--font); font-weight: 500; font-size: 1rem; }
.guide-tip .guide-text { color: var(--soft); }
.guide-tip .guide-step { color: var(--soft); font-weight: 600; letter-spacing: 0.02em; }
.guide-tip .guide-step:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.7rem; margin-bottom: 0.45rem; }
.guide-trail { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 3px; }
.guide-trail i { width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--soft); }
.guide-trail i.is-seen { background: var(--level-3); box-shadow: none; }
.guide-trail i.is-now { width: 16px; border-radius: 4px; background: var(--teal-deep); box-shadow: none; }
.guide-tip.touring { border-top: 0; padding-top: 0; overflow: hidden; }
.guide-tip.touring .guide-step:not([hidden]) { margin: 0 -0.9rem 0.7rem; padding: 0.55rem 0.9rem; background: var(--ink) url("/static/contours.svg") center / cover; color: var(--surface); }
.guide-tip.touring .guide-trail i { box-shadow: inset 0 0 0 1.5px var(--sky); }
.guide-tip.touring .guide-trail i.is-seen { background: var(--level-2); box-shadow: none; }
.guide-tip.touring .guide-trail i.is-now { background: var(--surface); box-shadow: none; }
.guide-tip.touring h2 { font-size: 1.1rem; }
@media (max-width: 640px) {
  .guide-tip.touring .guide-step:not([hidden]) { margin: 0 -1.25rem 0.85rem; padding: 0.75rem 1.25rem; }
  .guide-tip.touring .guide-trail { gap: 4px; }
  .guide-tip.touring .guide-trail i { width: 8px; height: 8px; }
  .guide-tip.touring .guide-trail i.is-now { width: 20px; }
  .guide-tip.touring h2 { font-size: 1.3rem; margin-bottom: 0.35rem; }
  .guide-tip.touring .guide-text { font-size: 0.95rem; }
}
.guide-actions button { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--soft); }
.guide-actions .guide-next { background: var(--teal-deep); color: var(--surface); box-shadow: none; }
.guide-ring { border-radius: calc(var(--radius) + 2px); box-shadow: 0 0 0 2px var(--teal-deep), 0 0 0 9999px rgba(28, 43, 58, 0.2); }
.guide-ring { transition: width 300ms ease, height 300ms ease; }
.brief-meet .brief-role { color: var(--sky); }
.brief-meet .brief-role { display: block; }
.brief-meet .brief-role { font-size: 0.95rem; line-height: 1.35; margin-top: 0.1rem; }
.brief-meet .brief-comma { display: none; }
@media (min-width: 1100px) {
  #brief .brief-shape .shape-at { order: 2; font-size: 0.8rem; color: var(--soft); }
}
.call-shape { display: none; }
@media (min-width: 901px) {
  .captions:empty + .call-shape:not([hidden]) { display: block; width: 100%; max-width: 36rem; margin: 2.2rem auto 0; padding: 1.4rem 1.75rem 1.3rem; border-radius: 22px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
  .call-shape-note { margin: 1.4rem 0 0; padding-top: 0.9rem; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--soft); text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sw-weight { transition: none; animation: none; }
  .sounding-prep .sw-weight { animation: none; }
  .sw-contour { transition: none; }
  .contour-wait { animation: none; }
  .guide-ring { transition: none; }
}

/* One look (#428): the landing's dark ground runs to the window's edges at every width. The stage gives up its own
   padding, the band fills the window and carries that space inside, and the hero stays centred below the top bar. */
#arrival.stage.splash { padding: 0; place-items: stretch; }
#arrival .landing-band { display: flex; flex-direction: column; gap: 1.25rem; box-sizing: border-box; min-height: 100dvh; padding: 1.5rem clamp(1.25rem, 4vw, 3.25rem) clamp(2.5rem, 6vw, 4.5rem); }
#arrival .landing-band .landing { margin: auto; }

/* ---- The mentor's code, on the course card at step 1 of set-up (#427, note 021) ---- */
.course-code { grid-column: 2; margin-top: 0.7rem; display: grid; gap: 0.35rem; }
.course-code[hidden] { display: none; }
.course-code label { font-weight: 700; font-size: 0.95rem; }
.course-code .optional { font-weight: 400; color: var(--soft); }
.course-code-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.course-code input { flex: 1; min-width: 10rem; min-height: 44px; font: 400 1rem var(--font); color: var(--ink); padding: 0.5rem 0.75rem; border: 0; border-radius: 12px; background: #fbfdfd; box-shadow: inset 0 0 0 1.5px var(--line); }
.course-code input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal); }
.course-code .field-hint, .course-code .form-error { margin: 0; }
.mentor-told { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--teal-deep); }
/* The notice of a change of mentor arrives where a refusal would: it is news, so it does not look like a fault. */
.is-notice { color: var(--ink); font-weight: 600; padding: 0.8rem 1rem; border-radius: 14px; background: var(--sky); }
