/* The coin page, Studio v2 WP-B (views/coin.js): one dominant button, the why line inline, History, the looks.
   Tokens only from studio.css (--ink, --panel, --rule, --soft, --muted, --warn, --focus ...), so dark mode follows. */

/* the status card: the chip, the one sentence why, one big button */
.journey .cs .cs-headline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.journey .cs #cs-next { margin: 8px 0 0; color: var(--ink); font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.journey .cs #cs-next[hidden] { display: none; }
.journey .cs #cs-next .tip { margin-left: 4px; }
.journey .cs .cs-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 4px; }
.journey .cs .cs-act .primary { min-width: 14rem; }
.journey .cs .cs-wait { margin: 0; color: var(--muted); }
.journey .cs #cs-blocked { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 560px) { .journey .cs .cs-act .primary { width: 100%; } }

/* a heading inside the History */
.journey .h-sub { margin: 14px 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.journey .history > div:first-child .h-sub, .journey .history > .h-sub:first-child { margin-top: 0; }
.journey .history .steps-done .step { padding: 8px 10px; }
.journey .history .cs-parts { margin-top: 4px; }
.journey .history .kf-todo { margin: 8px 0 0; }

/* the grade's lead: what it is first, the suggested grade and its confidence beside it */
.journey .g-lead-wrap { display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.journey .chip.g-lead { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--panel)); border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--rule)); }

/* the viewer (owner 2026-10-29, views/stagebar.js): icons on the stage, ONE row under it ([3D | Obverse | Reverse]
   [Colour | Detail | Light] ⋯ ?), the menus, the Light view's dome. The stage is always dark, so its icons are too */
/* its own stacking context: the icons and the lab viewer's rail stay under the sticky top bar (z-index 2) */
.journey .stage-box { position: relative; width: 100%; isolation: isolate; }
.journey .stage-hud { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.journey .stage-hud > * { pointer-events: auto; }
/* top right on a side (its height and slope bars sit bottom right), bottom right on the 3D view (the viewer's own rail
   is top right) */
.journey .stage-hud .stage-tools { position: absolute; right: 10px; top: 10px; width: auto; display: flex; gap: 6px; }
.journey .stage-hud[data-kind="solid"] .stage-tools { top: auto; bottom: 10px; }
.journey .stage-hud .stage-tools:empty { display: none; }
.journey button.icon { width: 34px; height: 34px; padding: 0; display: inline-grid; place-items: center; border-radius: 8px; line-height: 1; }
.journey .stage-tools button.icon { background: color-mix(in srgb, #1a1a1a 78%, transparent); color: #f2f2f2;
  border: 1px solid color-mix(in srgb, #f2f2f2 22%, transparent); }
.journey .stage-tools button.icon:hover:not(:disabled) { background: color-mix(in srgb, #1a1a1a 94%, transparent); border-color: color-mix(in srgb, #f2f2f2 40%, transparent); }
.journey .stage-tools button.icon[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: transparent; }
.journey .stage-tools button.icon:disabled { opacity: .4; cursor: default; }
.journey .stage-tools button.icon:focus-visible { outline: 2px solid #f2f2f2; outline-offset: 1px; }
.journey .stage-tools .i-text { font: 600 12.5px/1 var(--mono); letter-spacing: -.02em; }
.journey .stage-hud .stage-approx { position: absolute; left: 10px; top: 10px; display: flex; }
.journey .stage-hud[data-kind="solid"] .stage-approx { top: 38px; }
/* beside the Toning switch when it is shown (viewerfirst.js) */
.journey .stage-hud:has(.vf-tn:not([hidden])) .stage-approx, .journey .stage-hud[data-kind="solid"]:has(.vf-tn:not([hidden])) .stage-approx { top: 16px; left: 212px; }
.journey .stage-hud .stage-approx:empty { display: none; }
.journey button.tip.approx { width: auto; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: color-mix(in srgb, #1a1a1a 78%, transparent); color: #f2f2f2; border: 1px solid color-mix(in srgb, #f2f2f2 25%, transparent); }
.journey button.tip.approx:hover:not(:disabled), .journey button.tip.approx[aria-expanded="true"] { background: #1a1a1a; color: #fff; border-color: #f2f2f2; }
.journey .stage-hud .drag-hint { position: absolute; left: 50%; bottom: 54px; transform: translateX(-50%); pointer-events: none; white-space: nowrap;
  padding: 4px 12px; border-radius: 999px; font-size: 12.5px; color: #f2f2f2; background: color-mix(in srgb, #1a1a1a 80%, transparent);
  opacity: 0; transition: opacity .7s ease; }
.journey .stage-hud .drag-hint.show { opacity: 1; transition-duration: .2s; }
.journey .stage-hud .drag-hint:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .journey .stage-hud .drag-hint { transition: none; } }

.journey .stage-row { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; max-width: 100%; }
.journey .stage-row .seg { margin-top: 0; }
.journey .stage-row .stage-look { margin-top: 0; display: flex; }
.journey .stage-row .stage-look[hidden], .journey .stage-row .more-btn[hidden] { display: none; }
.journey .stage-row .seg button { white-space: nowrap; }
.journey .stage-row .more-btn { width: 32px; height: 32px; border-radius: 9px; background: var(--soft); color: var(--ink2); border: 1px solid var(--rule); }
.journey .stage-row .more-btn:hover:not(:disabled) { background: var(--panel); color: var(--ink); }
.journey .stage-row .viewer-tip { display: inline-flex; }
.journey .stage-row .viewer-tip:empty { display: none; }
.journey .look-seg button.unavail { opacity: .5; }
.journey .look-seg button.unavail:hover { opacity: .8; }
.journey .seg button:disabled { opacity: .45; }
.journey .seg-note { margin: 6px 0 0; text-align: center; }
.journey .seg-note[hidden] { display: none; }
.journey .stage-cap .cap-lead { color: var(--warn); font-weight: 600; }
/* Light's caption: its sources as toggles (Presentation | Average of N light captures | Single lights), its '?', and a
   side without light photos: the words and its Build (the Colour view removed, VIEWER-FIRST.md section 9) */
.journey .stage-cap .cap-lead.cap-presentation { color: var(--ink); }
.journey .stage-cap:has(.cap-toggle) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; margin-inline: auto; }
.journey .stage-cap .cap-toggle { font: inherit; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--soft); color: var(--ink2); cursor: pointer; }
.journey .stage-cap .cap-toggle:hover { color: var(--ink); }
.journey .stage-cap .cap-toggle[aria-pressed="true"] { background: var(--ink); color: var(--panel); border-color: var(--ink); }
.journey .stage-cap .cap-seg { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.journey .stage-cap .cap-toggle:disabled { opacity: .5; cursor: default; }
.journey .stage-cap .cap-text:empty { display: none; }
.journey .stage-cap .cap-text.cap-sr-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
@media (max-width: 560px) {
  .journey .stage-row { gap: 5px; }
  .journey .stage-row .seg { padding: 2px; gap: 1px; }
  .journey .stage-row .seg button { padding: 5px 8px; font-size: 13px; }
  .journey .stage-row .more-btn { width: 30px; height: 30px; }
}
/* a phone: Obverse and Reverse said Obv and Rev (their names stay the buttons' names), so the row stays one row */
@media (max-width: 440px) {
  .journey .stage-row .seg button[data-short] .t-full { display: none; }
  .journey .stage-row .seg button[data-short]::after { content: attr(data-short); }
  .journey .stage-row .seg button { padding: 5px 7px; }
}

/* the menus (⋯, download) and the Light button's why: placed under their button (tips.js place) */
.journey .stage-menu { position: fixed; inset: auto; margin: 0; padding: 6px; min-width: 210px; max-width: min(320px, calc(100vw - 32px));
  background: var(--panel); color: var(--ink); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); }
.journey .stage-menu:popover-open { display: grid; gap: 2px; }
.journey .stage-menu .menu-item { display: block; width: 100%; text-align: left; background: transparent; color: var(--ink); border: 0;
  padding: 8px 10px; border-radius: 6px; font-size: 13.5px; font-weight: 400; text-decoration: none; cursor: pointer; }
.journey .stage-menu .menu-item:hover:not(:disabled), .journey .stage-menu .menu-item:focus-visible { background: var(--soft); }
.journey .stage-menu .menu-item[aria-checked="true"] { font-weight: 600; }
.journey .stage-menu .menu-item[aria-checked="true"]::after { content: " ✓"; color: var(--muted); }
.journey .stage-menu .menu-item:disabled { color: var(--muted); cursor: default; }
.journey .stage-menu .menu-item[aria-busy="true"] { color: var(--muted); }
.journey .stage-menu .menu-sep { border: 0; border-top: 1px solid var(--rule); margin: 4px 2px; }
.journey .stage-menu .menu-none { margin: 6px 8px; }
.journey .stage-pop { padding: 10px 12px; gap: 8px; font-size: 13.5px; }
.journey .stage-pop p { margin: 0; }
.journey .stage-pop button { justify-self: start; }

/* the Light view: the photographs on a canvas (a disc), the light's mark on the rim; the dome and its controls under
   the row */
.journey .stage-light { position: relative; display: grid; place-items: center; }
.journey .stage-light > * { grid-area: 1 / 1; }
.journey .stage-light .lv-cv { width: 94%; height: auto; aspect-ratio: 1; padding: 0; touch-action: none; cursor: grab; outline: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 calc(var(--lv-r, 97.5%) + 0.5%), transparent calc(var(--lv-r, 97.5%) + 2%));
  mask-image: radial-gradient(circle closest-side, #000 calc(var(--lv-r, 97.5%) + 0.5%), transparent calc(var(--lv-r, 97.5%) + 2%)); }
.journey .stage-light .lv-cv.drag { cursor: grabbing; }
.journey .stage-light .lv-cv:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
.journey .stage-light .lv-rim { width: 94%; height: auto; aspect-ratio: 1; pointer-events: none; overflow: visible; }
.journey .stage-light .lv-sun { fill: #f2c14e; stroke: #000; stroke-width: 1; }
.journey .stage-light .lv-load { position: relative; z-index: 1; align-self: end; margin-bottom: 14px; font-size: 12px; color: #c9ced6; background: rgba(11, 12, 14, .78); padding: 2px 9px; border-radius: 10px; }
.journey .stage-light .lv-load:empty { display: none; }
.journey .light-panel { width: 100%; margin-top: 12px; }
.journey .light-panel[hidden] { display: none; }
.journey .lv { display: flex; gap: 14px 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.journey .lv-dome { width: 136px; height: 136px; flex: none; touch-action: none; cursor: crosshair; border-radius: 50%; }
.journey .lv-dome:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.journey .lv-dome .lv-sky { fill: #14161a; stroke: #2c3138; }
.journey .lv-dome .lv-ring { fill: none; stroke: #3b3f47; stroke-dasharray: 2 3; }
.journey .lv-dome .lv-lbl { font: 9px var(--sans); fill: #8b9099; }
.journey .lv-dome .lv-dot { fill: #6b6f77; }
.journey .lv-dome .lv-dot.on { fill: #f2c14e; }
.journey .lv-dome .lv-dot.one { stroke: #fff; stroke-width: 1.6; }
.journey .lv-dome .lv-you { fill: none; stroke: #fff; stroke-width: 2; }
.journey .lv-side { display: grid; gap: 8px; justify-items: start; min-width: 0; max-width: 100%; }
.journey .lv-mode { margin-top: 0; flex-wrap: wrap; }
.journey .lv-mode button.ghost { background: transparent; color: var(--ink2); border: 0; padding: 5px 12px; border-radius: 7px; font-size: 13px; font-weight: 400; }
.journey .lv-mode button.ghost.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); font-weight: 500; }
.journey .lv-acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.journey .lv-acts .lv-orbit { padding: 4px 14px; font-size: 13px; }
.journey .lv-acts a.link { color: var(--ink2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.journey .lv-note { margin: 0; max-width: 36ch; }
@media (max-width: 560px) { .journey .lv-dome { width: 120px; height: 120px; } .journey .lv-side { justify-items: center; text-align: center; } }

/* the swap's confirmation: the two sides' pictures with what each becomes */
.journey .swap-dlg { max-width: min(520px, calc(100vw - 32px)); border: 1px solid var(--rule); border-radius: 12px; background: var(--panel); color: var(--ink); padding: 18px; }
.journey .swap-dlg::backdrop { background: rgba(0, 0, 0, .45); }
.journey .swap-dlg h2 { margin: 0 0 12px; font-size: 17px; }
.journey .swap-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.journey .swap-pics figure { margin: 0; display: grid; gap: 6px; justify-items: center; }
.journey .swap-pic { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--stage); display: grid; place-items: center; overflow: hidden; }
.journey .swap-pic img { width: 92%; height: 92%; object-fit: contain; }
.journey .swap-pics figcaption { font-size: 13.5px; color: var(--ink2); }
.journey .swap-msg { margin: 12px 0 0; }
.journey .swap-msg:empty { display: none; }
.journey .swap-acts { display: flex; gap: 12px; align-items: center; margin-top: 14px; }
.journey .kf dd .tipped:has(.g-lead-wrap), .journey .lc-grade-tile .tipped:has(.g-lead-wrap) { display: block; white-space: normal; }
.journey .kf dd .g-lead-wrap, .journey .lc-grade-tile .g-lead-wrap { display: inline; }
.journey .kf dd .g-lead-wrap > *, .journey .lc-grade-tile .g-lead-wrap > * { margin-right: 6px; }

/* two columns: the status rail is first in the page's order (Tab reaches the one next action before the stage's
   tools) and sits on the right */
.journey .j-grid > .stage-wrap { grid-column: 1; grid-row: 1; }
.journey .j-grid > .rail-wrap { grid-column: 2; grid-row: 1; }

/* v0.1.45 (the canvas's "Coin page"): the rail is two cards, Next (ACTION) then Facts (EVIDENCE), each its own panel;
   the steps a person still works through sit lower, with the record's sections, unnumbered */
.journey .j-grid #steps { padding: 0; background: transparent; border: 0; box-shadow: none; display: flex; flex-direction: column; gap: 16px; }
.journey .j-grid #cs-box, .journey .j-grid #kf-box { background: var(--panel); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm); padding: 16px 20px; }
.journey .j-grid #kf-box { border-top: 1px solid var(--rule); }
.journey .j-grid #cs-box:empty, .journey .j-grid #kf-box:empty { display: none; }
.journey .j-grid #cs-box .cs { padding: 0; }
.journey .nx-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.journey .nx-h { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.journey .nx .cs-headline { margin: 0; }
.journey .nx #cs-next { margin: 0 0 10px; font-size: 14px; color: var(--ink2); }
.journey .nx .cs-act { margin: 0 0 6px; }
.journey .nx .cs-act .big { width: 100%; min-width: 0; height: 44px; padding: 0 16px; font-size: 15px; }
.journey .nx .bar-track { margin: 8px 0 2px; }
.journey .nx-list { list-style: none; margin: 8px 0 0; padding: 0; }
.journey .nx-item { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.journey .nx-mark { flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 50%; border: 1.6px solid var(--muted); display: grid; place-items: center;
  font-size: 10px; line-height: 1; }
.journey .nx-mark.done { border: 0; background: var(--ok); color: var(--panel); font-weight: 700; }
.journey .nx-mark.warn { border-color: var(--warn); }
.journey .nx-body { display: flex; flex-direction: column; min-width: 0; }
.journey .nx-t { font-weight: 500; color: var(--ink); }
.journey .nx-t.link { font-weight: 500; text-align: left; }
.journey .nx-item.is-done .nx-t { font-weight: 400; color: var(--ink2); }
.journey .nx-d { font-size: 13px; color: var(--ink2); overflow-wrap: anywhere; }
.journey .nx-item.is-warn .nx-d { color: var(--warn); }
.journey .nx-item.is-active .nx-mark { border-color: var(--accent, var(--ink)); box-shadow: inset 0 0 0 3px var(--panel), inset 0 0 0 8px var(--accent, var(--ink)); }
.journey .nx-prog { margin: 8px 0 0; color: var(--ink); }
.journey .nx-prog .bar-track { display: block; margin: 6px 0 0; }
.journey .nx-cancel { margin: 8px 0 0; color: var(--ink2); }
.journey .nx-cancel button.link { color: var(--ink2); }
.journey .nx-later { margin: 8px 0 0; padding-top: 10px; border-top: 1px solid var(--rule); color: var(--ink2); }
.journey .nx-later button.link { color: var(--ink2); }
.journey .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the Facts panel: a label column, the value, its source in a few words beside it */
.journey .fx-list { margin: 0; }
.journey .fx-list .fact { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.journey .fx-list .fact:last-child { border-bottom: 0; }
.journey .fx-list .fk { color: var(--ink2); font-size: 13px; margin: 0; }
.journey .fx-list .fv { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0; min-width: 0; }
.journey .fx-list .fval { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.journey .fx-list .fval.muted { color: var(--ink2); }
.journey .fx-list .q { font-size: 12.5px; color: var(--ink2); }
.journey .fx-list .pill { flex: none; font-size: 11.5px; line-height: 18px; padding: 0 7px; border-radius: 9px; border: 1px dashed var(--muted); color: var(--ink2); white-space: nowrap; }
.journey .fx-list .dev { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: 12.5px; color: var(--ink2); }
.journey .fx-list .devn { color: var(--warn); font-weight: 500; font-variant-numeric: tabular-nums; }
.journey .fx-list button.why { font: inherit; font-size: 12.5px; border: 0; background: transparent; color: var(--ink2); text-decoration: underline;
  text-underline-offset: 3px; padding: 0 2px; cursor: pointer; box-shadow: none; min-height: 0; height: auto; }
.journey .fx-list button.why:hover { color: var(--ink); }
.journey .fx-list .whynote { flex-basis: 100%; font-size: 12.5px; color: var(--ink2); background: var(--soft); border-radius: 8px; padding: 8px 10px; margin-top: 6px; }
.journey .fx-list .whynote[hidden] { display: none; }

/* the steps still open, lower down with the record's sections: a ring, never a number */
.journey .steps-panel { padding: 6px; }
.journey .steps-panel[hidden] { display: none; }
.journey .steps-panel #steps-box { border-top: 0; padding-top: 0; }
.journey #steps-box .step .num:empty { background: var(--panel); border: 1.6px solid var(--muted); width: 16px; height: 16px; margin: 4px; box-shadow: none; }
.journey #steps-box .step.next .num:empty, .journey #steps-box .step.active .num:empty { border-color: var(--ink); }

/* one column (phone and narrow windows), the canvas's "Phone · Coin page": the coin first (never missing), then the
   Next card and its one button, then the facts; the weight question while side A scans sits under the Next card */
@media (max-width: 860px) {
  .journey .j-grid { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .journey .j-grid > .rail-wrap, .journey .j-grid #steps { display: contents; }
  .journey .j-grid #j-error { order: -5; }
  .journey .j-grid > .stage-wrap { order: -4; }
  .journey .j-grid #cs-box { order: -3; }
  .journey .j-grid #while-scan, .journey .j-grid #scan-level { order: -2; }     /* the scan level first (the page's order) */
  .journey .j-grid #scan-level .scan-level { margin: 0; }
  .journey .j-grid #while-scan .while-scan { margin: 0; }
  .journey .j-grid #kf-box { order: 1; }
  .journey .j-grid #scanner-pick { order: 3; }
  .journey .j-grid #cs-box, .journey .j-grid #kf-box { padding: 14px 16px; }
  .journey .j-grid #while-scan:empty { display: none; }
}
@media (max-width: 560px) {
  .journey .fx-list .fact { grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
  .journey .fx-list .fx-wide { display: none; }
  /* a phone says each item on one line: "Scan quality · 7 of 9 checks passed" */
  .journey .nx-body { display: block; }
  .journey .nx-d::before { content: " · "; }
  .journey .nx-item { padding: 5px 0; }
}

/* the catalogue type and this coin's identification, one plain line under the name (v0.1.40, statusview.js
   identityWords): reviewed in green, awaiting review in the page's ink, a rejected type in red */
.journey .j-sub .j-idwords { font-size: 13px; color: var(--ink2); }
.journey .j-sub .tipped:has(.j-idwords) { white-space: normal; max-width: 100%; min-width: 0; }
.journey .j-sub .j-idwords.tone-ok { color: var(--ok); }
.journey .j-sub .j-idwords.tone-bad { color: var(--bad, var(--accent)); }
/* weighing and calipering: optional, said quietly under what needs the person */
.journey .kf-optional dt, .journey .kf-optional .opt-v, .journey .kf-optional .opt-v button.link { color: var(--muted); }
/* Toning (customer finding) and Diagnostics (RELIEF developers): docs/design/quant/TONING-SLICE.md. Plain on purpose */
.journey .tn-side { margin: 0 0 14px; }
.journey .tn-side .h-sub { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.journey .tn-statement { margin: 4px 0 8px; color: var(--ink); }
.journey .tn-map { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin: 6px 0; }
.journey .tn-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
.journey .tn-map .tn-hl[hidden] { display: none; }
.journey .tn-limit { color: var(--ink2); border-top: 1px solid var(--rule); padding-top: 8px; }
.journey .dx-view { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 12px; margin: 8px 0; }
.journey .dx-pic { position: relative; aspect-ratio: 1; align-self: start; }
.journey .dx-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.journey .dx-pic .dx-region[hidden] { display: none; }
.journey .dx-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; margin: 0; }
.journey .dx-dl dd { margin: 0; overflow-wrap: anywhere; }
.journey .dx-table tr[data-dx-row] { cursor: pointer; }
.journey .dx-table tr.on td { background: var(--soft); }
.journey .dx-table td.mono { white-space: nowrap; }
.journey .sx-view { margin: 8px 0; }
.journey .sx-pic { position: relative; max-width: 560px; }
.journey .sx-pic img { display: block; width: 100%; height: auto; }
.journey .sx-ring { position: absolute; transform: translate(-50%, -50%); border: 2px solid #ffd54a; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); pointer-events: none; }
.journey .sx-marks tr[data-sx-mark] { cursor: pointer; }
.journey .sx-marks tr.on td { background: var(--soft); }
.journey .dx-more { margin-top: 8px; }
@media (max-width: 640px) { .journey .dx-view { grid-template-columns: minmax(0, 1fr); } }
/* Condition profile (customer, design C2) and RTS (developers, board M4): docs/design/quant/RTS.md */
.journey .rp-dims { list-style: none; margin: 0 0 10px; padding: 0; }
.journey .rp-dim { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 2px 12px; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.journey .rp-dim .rp-words { grid-column: 1 / -1; }
.journey .rp-dim[data-status="assessed"] .rp-st, .journey .rp-dim[data-status="described"] .rp-st { color: var(--ink); }
.journey .rp-dim .rp-st { color: var(--muted); }
.journey .rp-grade { margin: 10px 0 6px; color: var(--ink); }
.journey .rx-table td.num, .journey .rx-table th.num { text-align: right; }
.journey .rx-table tr.rx-total td { border-top: 1px solid var(--rule); }
/* Findings on the stage (findingstage.js, docs/design/quant/TONING-SLICE.md section 13): the card beside the stage, per
   side, and the selected finding's highlight laid on the stage's picture exactly as the picture is laid */
/* v0.1.50: the right column is Next, Findings, the Condition profile, Facts (#steps, a flex column with its own gap) */
.journey .j-grid #findings, .journey .j-grid #profile-d { background: var(--panel); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow-sm); padding: 16px 20px; display: grid; gap: 10px; }
.journey .j-grid #findings[hidden], .journey .j-grid #profile-d[hidden] { display: none; }
.journey .j-grid #profile-d .nx-head { margin: 0; }
.journey .j-grid #profile-d .d-state { text-transform: none; letter-spacing: 0; font-weight: 400; }
.journey .fd-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.journey .fd-head .nx-h { margin: 0; }
.journey .fd-list { display: flex; flex-wrap: wrap; gap: 6px; }
.journey .fd-chip { min-height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13.5px; }
.journey .fd-chip.on { border-color: var(--ink); color: var(--ink); background: var(--soft); }
.journey .fd-tag { font-size: 11px; color: var(--ink2); margin-left: 4px; }
.journey .fd-tag.warn { color: var(--warn); }
.journey .fd-hl button { min-height: 28px; padding: 0 10px; font-size: 12.5px; }
.journey .fd-hl button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--soft); }
.journey .fd-note { margin: 0; color: var(--ink2); }
.journey .fd-one { display: grid; gap: 6px; border-top: 1px solid var(--rule); padding-top: 10px; }
.journey .fd-one p, .journey .fd-one ul { margin: 0; }
.journey .fd-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.journey .fd-pill { font-size: 11.5px; line-height: 18px; padding: 0 7px; border-radius: 9px; border: 1px dashed var(--muted); color: var(--ink2); }
.journey .fd-pill.exp { border-style: solid; border-color: var(--warn); color: var(--warn); }
.journey .fd-pill.warn { border-style: solid; border-color: var(--bad, var(--warn)); color: var(--bad, var(--warn)); }
.journey .fd-pill.ok { border-style: solid; border-color: var(--ok); color: var(--ok); }
.journey .fd-statement { color: var(--ink); font-weight: 500; }
.journey .fd-detail, .journey .fd-m { color: var(--ink2); font-size: 13.5px; }
.journey .fd-k { color: var(--ink2); margin-right: 4px; }
.journey .fd-limits { padding-left: 18px; color: var(--ink2); }
.journey .fd-limit { color: var(--ink2); border-top: 1px solid var(--rule); padding-top: 6px; }
.journey .fd-other { margin: 0; }
.journey .stage-pic .fd-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; box-sizing: border-box;
  pointer-events: none; display: block; }
.journey .stage-light .fd-layer-light { position: static; width: 94%; height: auto; aspect-ratio: 1; padding: 0; }
@media (max-width: 860px) {
  /* a phone: under the Next card (and the weight question while side A scans), then the profile, then the Facts */
  .journey .j-grid #findings { order: -1; padding: 14px 16px; }
  .journey .j-grid #profile-d { order: 0; padding: 14px 16px; }
}
/* Regions (RELIEF developers): generic regions, a type template's names and the template tool, docs/design/quant/TYPE-TEMPLATES.md */
.journey .regions-card { min-width: 0; max-width: 100%; overflow: hidden; }
.journey .regions-card .table-wrap { max-width: 100%; }
.journey .rg-view > * { min-width: 0; }
.journey .rg-view { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 12px; margin: 8px 0; }
.journey .rg-pic { position: relative; aspect-ratio: 1; align-self: start; background: #000; border-radius: var(--radius); overflow: hidden; }
.journey .rg-pic img, .journey .rg-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey .rg-svg polygon { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.journey .rg-svg polygon.ok { stroke: #5ae678; }
.journey .rg-svg polygon.low { stroke: #ff9628; stroke-dasharray: 5 4; }
.journey .rg-btns, .journey .rg-nudge { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.journey .rg-table td.rg-acts { white-space: nowrap; }
.journey .rg-photo { background: transparent; cursor: crosshair; }
.journey .rg-photo img { object-fit: fill; }
.journey .rg-svg polyline.draw { fill: none; stroke: #4fb3ff; stroke-width: 2; vector-effect: non-scaling-stroke; }
.journey .rg-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.journey .rg-form label { display: grid; gap: 2px; font-size: 12px; color: var(--ink2); }
.journey .rg-comps { margin: 0 0 8px; padding-left: 18px; font-size: 13px; }
@media (max-width: 640px) { .journey .rg-view { grid-template-columns: minmax(0, 1fr); } }

/* the loupe (views/loupe.js, docs/design/studio/LOUPE-NOTES.md): a round magnifier over the stage, never in the
   pointer's way; it moves with the pointer only, no transition (reduced motion changes nothing else) */
.journey .stage-box .lp { position: absolute; z-index: 3; pointer-events: none; border-radius: 50%; overflow: hidden;
  background: #0b0c0e; box-shadow: 0 0 0 2px #f2f2f2, 0 0 0 4px rgba(0, 0, 0, .55), 0 8px 24px rgba(0, 0, 0, .45); }
.journey .stage-box .lp[hidden] { display: none; }
.journey .stage-box .lp:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.journey .stage-box .lp .lp-cv { display: block; width: 100%; height: 100%; }
.journey .stage-box .lp .lp-z { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font: 600 11px/1 var(--mono);
  color: #f2f2f2; background: rgba(0, 0, 0, .6); padding: 3px 6px; border-radius: 8px; }
.journey #stage.lp-holding, .journey #stage.lp-holding * { -webkit-touch-callout: none; user-select: none; touch-action: none; }
.journey .stage img { -webkit-touch-callout: none; }

/* the notes' pins (views/coinnotes.js): blue and dashed, round pins; never the findings' gold */
.journey .stage-pic .cn-layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; box-sizing: border-box;
  pointer-events: none; }
.journey .stage-light .cn-layer.fd-layer-light { position: static; width: 94%; height: auto; aspect-ratio: 1; padding: 0; }
.journey .stage-box .cn-pins { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.journey .stage-box .cn-pin { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; pointer-events: auto; cursor: pointer; }
.journey .stage-box .cn-pin:hover { box-shadow: 0 0 0 2px color-mix(in srgb, #6cb4ff 70%, transparent); }
.journey .stage-box .cn-pin:focus-visible { outline: 2px solid #f2f2f2; outline-offset: 1px; }
.journey .stage-box .cn-pin[aria-expanded="true"] { box-shadow: 0 0 0 2px #6cb4ff; }
.journey .stage-box .cn-catch { position: absolute; inset: 0; z-index: 1; cursor: crosshair; touch-action: none; }
.journey .stage-box .cn-catch[hidden], .journey .stage-box .cn-bar[hidden], .journey .stage-box .cn-pop[hidden] { display: none; }
.journey .stage-box .cn-bar { position: absolute; left: 10px; bottom: 10px; z-index: 3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, #1a1a1a 88%, transparent); color: #f2f2f2;
  border: 1px dashed #6cb4ff; }
.journey .stage-box .cn-bar .link { color: #9ccfff; }
.journey .stage-box .cn-bar .seg button { color: #f2f2f2; }
.journey .stage-box .cn-bar .seg button[aria-pressed="true"] { background: #6cb4ff; color: #0b0c0e; }
.journey .stage-box .cn-pop { position: absolute; z-index: 4; box-sizing: border-box; padding: 10px 12px 10px; border-radius: 10px;
  background: var(--panel); color: var(--ink); border: 1px dashed #6cb4ff; box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.journey .stage-box .cn-pop .cn-x { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; padding: 0; font-size: 16px; line-height: 1; }
.journey .stage-box .cn-pop .cn-who { margin: 0 24px 4px 0; color: #6cb4ff; font-weight: 600; }
.journey .stage-box .cn-pop .cn-text { margin: 0 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.journey .stage-box .cn-pop .cn-inc { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; }
.journey .stage-box .cn-pop .cn-acts { display: flex; gap: 10px; align-items: center; }
.journey .stage-box .cn-pop textarea { width: 100%; box-sizing: border-box; margin: 4px 0 8px; resize: vertical; font: inherit; }
.journey .stage-box .cn-pop .cn-k { font-weight: 600; color: #6cb4ff; }
.journey .stage-box .cn-pop .cn-msg { color: var(--bad); margin: 0 0 6px; }

/* the rename pencil beside the title (owner 2026-10-29) */
.journey .title-row .rn-btn { align-self: center; width: 30px; height: 30px; padding: 0; color: var(--muted); }
.journey .title-row .rn-btn:hover { color: var(--ink); }
.journey .title-row[hidden], .journey #rename-box[hidden] { display: none; }
.journey .rn-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 4px; }
.journey .rn-form input { flex: 1 1 16rem; min-width: 0; font-size: 22px; font-weight: 600; padding: 4px 8px; }
.journey .rn-form .rn-hint, .journey .rn-form .rn-msg { flex-basis: 100%; margin: 0; }
.journey .rn-form .rn-msg:empty { display: none; }
.journey .rn-form .rn-msg { color: var(--bad); }

/* ---- the examination workspace (views/examspace.js, docs/design/studio/EXAM-WORKSPACE.md): the header's specimen id
   and status chip; the viewer sticky beside Facts, Next and the Findings on a desktop; the Condition profile and the
   Featured examinations full width; the detailed evidence and the history grouped under their own headings.
   Tokens and the v0.1.45 components only (panels, .chip, .fd-pill, .ghost, .h-sub) */
.journey .j-sub .j-ref { font-size: 12px; color: var(--ink2); letter-spacing: .04em; padding: 1px 6px; border: 1px solid var(--rule); border-radius: 6px; }
.journey .ws-h { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.journey .ws-h .d-state { text-transform: none; letter-spacing: 0; font-weight: 400; }
.journey .ws-sec { background: var(--panel); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 2px); box-shadow: var(--shadow-sm);
  padding: 16px 20px; margin-top: 22px; }
.journey .ws-sec[hidden] { display: none; }
.journey .ws-sec .nx-head { margin: 0; }
.journey .ws-group { margin-top: 26px; }
.journey .ws-gh { margin: 0 0 8px 2px; }
.journey .ws-group .j-more { margin-top: 0; }
@media (min-width: 861px) {
  /* the viewer stays in sight while the right column scrolls; it is never taller than the window under the top bar */
  .journey .ws-top > .stage-wrap { position: sticky; top: calc(var(--bar-h, 58px) + 12px); }
  .journey .ws-top .stage-box { max-width: max(320px, calc(100vh - var(--bar-h, 58px) - 150px)); }
}
/* the Condition profile: five tiles, then the grade line */
.journey .cp-tiles { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .journey .cp-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .journey .cp-tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.journey .cp-tile { border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.journey .cp-tile:has(.cp-tile-btn.on) { border-color: var(--ink); background: var(--soft); }
.journey .cp-tile p { margin: 0; }
.journey button.cp-tile-btn { display: grid; gap: 4px; width: 100%; height: auto; min-height: 0; padding: 0; margin: 0; border: 0; background: transparent;
  box-shadow: none; color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.journey button.cp-tile-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.journey .cp-tile-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.journey .cp-name { font-weight: 600; font-size: 15px; }
.journey .cp-st { font-size: 13.5px; color: var(--muted); }
.journey .cp-tile[data-status="assessed"] .cp-st, .journey .cp-tile[data-status="described"] .cp-st { color: var(--ink); }
.journey .cp-m { color: var(--ink2); }
.journey .cp-why { color: var(--ink2); }
.journey .cp-grade { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); display: grid; gap: 6px; }
.journey .cp-grade p { margin: 0; }
.journey .cp-grade .rp-grade { margin: 0; }
.journey .cp-est .fact { border-bottom: 0; padding: 4px 0; }
.journey .cp-sheldon { color: var(--ink2); }
/* the Featured examinations: one module each; Toning's three views per side */
.journey .fx-mod + .fx-mod { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.journey .fx-mh { margin: 10px 0 4px; font-size: 16px; }
.journey .tx-lede { margin: 0 0 10px; }
.journey .tx-sides { display: grid; gap: 14px; }
.journey .tx-side { border: 1px solid var(--rule); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 10px; min-width: 0; }
.journey .tx-side.on { border-color: var(--ink); }
.journey .tx-side p { margin: 0; }
.journey .tx-top { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; }
.journey .tx-h { margin: 0; font-size: 15px; }
.journey .tx-show { margin-left: auto; min-height: 30px; padding: 0 12px; font-size: 13px; }
.journey .tx-show[aria-pressed="true"] { border-color: var(--ink); background: var(--soft); }
.journey .tx-statement { color: var(--ink); font-weight: 500; }
.journey .tx-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.journey .tx-view { margin: 0; display: grid; gap: 4px; min-width: 0; }
.journey .tx-view figcaption { display: grid; font-size: 13px; line-height: 1.3; }
.journey button.tx-pic { position: relative; display: block; width: 100%; height: auto; min-height: 0; padding: 0; margin: 0; border: 1px solid var(--rule);
  border-radius: var(--radius); background: var(--stage); overflow: hidden; cursor: zoom-in; box-shadow: none; }
.journey button.tx-pic:disabled { cursor: default; }
.journey button.tx-pic:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.journey .tx-turn { position: absolute; inset: 0; display: block; }
.journey .tx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; }
.journey .tx-wait, .journey .tx-empty { position: absolute; inset: auto 8px 8px; text-align: center; color: var(--stage-ink, #cfd3d8); }
.journey .tx-wait:empty { display: none; }
.journey .tx-cross { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; border: 2px solid #f2c14e;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .7); pointer-events: none; }
.journey .tx-cross[hidden] { display: none; }
.journey .tx-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.journey .tx-col { display: grid; gap: 4px; align-content: start; }
.journey .tx-col .h-sub { margin: 0 0 2px; }
.journey .tx-obs { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.journey .tx-rv { display: grid; gap: 6px; border-top: 1px solid var(--rule); padding-top: 8px; }
.journey .tx-acts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.journey .tx-acts button { min-height: 32px; }
.journey .tx-correct { display: grid; gap: 6px; }
.journey .tx-correct textarea { width: 100%; box-sizing: border-box; font: inherit; }
@media (max-width: 640px) { .journey .tx-cols { grid-template-columns: minmax(0, 1fr); } .journey .tx-views { gap: 6px; } }
/* the reports and the notes as lists */
.journey .ws-list { list-style: none; margin: 0; padding: 0; }
.journey .ws-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.journey .ws-item:last-child { border-bottom: 0; }
.journey .ws-item > span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.journey .ws-item button { flex: none; }
/* a phone: the viewer, the Facts, Next (and the weight question), the Findings; then the sections in the page's order */
@media (max-width: 860px) {
  .journey .ws-top #kf-box { order: -3; }
  .journey .ws-top #cs-box { order: -2; }
  .journey .ws-top #while-scan, .journey .ws-top #scan-level { order: -1; }
  .journey .ws-top #findings { order: 0; }
  .journey .ws-sec { margin-top: 12px; padding: 14px 16px; }
  .journey .ws-group { margin-top: 18px; }
}
/* the grade estimate's rows under the Condition profile wrap on a phone (the blind check's words are long) */
.journey .cp-est .tipped { white-space: normal; flex-wrap: wrap; max-width: 100%; min-width: 0; }
/* the Captured colour's two pictures: the average of all lights, or the one most colourful real photograph */
.journey .tx-cmode { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.journey .tx-cmode button { min-height: 28px; padding: 0 8px; font-size: 12px; }
.journey .tx-cmode button[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); background: var(--soft); }
/* the Toning regions view's legend: only the bands present, each with its rounded share */
.journey .tx-legend { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; font-size: 12.5px; color: var(--ink2); }
.journey .tx-band { display: inline-flex; align-items: center; gap: 5px; }
.journey .tx-band i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.journey .tx-views { align-items: start; }


/* ---- the viewer first (views/viewerfirst.js, docs/design/studio/VIEWER-FIRST.md): the Toning switch and its measured
   line top left, the mode line (and the modelled edge's words) bottom left, the inspector at the click (a bottom sheet
   on a phone). The stage is always dark: its own ink */
.journey .stage-hud .vf-top { position: absolute; left: 10px; top: 10px; display: grid; gap: 6px; justify-items: start; max-width: calc(100% - 170px); pointer-events: none; }
.journey .stage-hud .vf-top > * { pointer-events: auto; }
.journey .vf-tn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; font: 600 13.5px/1 var(--sans, inherit);
  color: #f2f2f2; background: color-mix(in srgb, #1a1a1a 82%, transparent); border: 1px solid color-mix(in srgb, #f2f2f2 28%, transparent); cursor: pointer; }
.journey .vf-tn:hover:not(:disabled) { background: #1a1a1a; border-color: color-mix(in srgb, #f2f2f2 50%, transparent); }
.journey .vf-tn:focus-visible { outline: 2px solid #f2f2f2; outline-offset: 2px; }
.journey .vf-tn:disabled { opacity: .55; cursor: default; }
.journey .vf-tn .vf-knob { width: 30px; height: 18px; border-radius: 999px; background: #50555d; position: relative; flex: none; transition: background .15s; }
.journey .vf-tn .vf-knob::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #f2f2f2; transition: transform .15s; }
.journey .vf-tn[aria-checked="true"] .vf-knob { background: #c99a2e; }
.journey .vf-tn[aria-checked="true"] .vf-knob::after { transform: translateX(12px); }
.journey .vf-tn .vf-tag { font-size: 11px; font-weight: 500; color: #c9cdd3; border: 1px solid color-mix(in srgb, #f2f2f2 25%, transparent); border-radius: 6px; padding: 1px 5px; }
.journey .vf-tline { margin: 0; padding: 4px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.35; color: #f2f2f2;
  background: color-mix(in srgb, #1a1a1a 80%, transparent); max-width: 44ch; }
/* on the 3D view above the viewer's own scale bar (bottom left of its canvas) */
.journey .stage-hud[data-kind="solid"] .vf-foot { bottom: 34px; }
.journey .stage-hud .vf-foot { position: absolute; left: 10px; bottom: 10px; display: grid; gap: 4px; justify-items: start; max-width: calc(100% - 150px); pointer-events: none; }
.journey .vf-mode { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.journey .vf-mode .vf-part { padding: 3px 9px; border-radius: 999px; font-size: 12px; line-height: 1.3; color: #e8eaed; background: color-mix(in srgb, #1a1a1a 82%, transparent);
  border: 1px solid color-mix(in srgb, #f2f2f2 18%, transparent); }
.journey .vf-mode .vf-part[data-register="presentation"] { border-color: color-mix(in srgb, #d4a14a 60%, transparent); }
.journey .vf-mode .vf-part[data-register="presentation"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #d4a14a; vertical-align: 1px; }
.journey .vf-mode .vf-part[data-register="evidence"]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #7fb6a0; vertical-align: 1px; }
.journey .vf-edge { margin: 0; padding: 3px 9px; border-radius: 999px; font-size: 12px; color: #e8eaed; background: color-mix(in srgb, #1a1a1a 82%, transparent);
  border: 1px dashed color-mix(in srgb, #f2f2f2 35%, transparent); }
.journey .vf-edge[hidden], .journey .vf-tline[hidden], .journey .vf-tn[hidden] { display: none; }
/* the light's words are the mode line's now: kept for a screen reader under the stage, not shown twice */
.journey .stage-cap.cap-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.journey .vf-card { position: absolute; z-index: 4; width: min(300px, calc(100% - 16px)); padding: 10px 12px; border-radius: 10px; display: grid; gap: 6px;
  background: var(--panel); color: var(--ink); border: 1px solid var(--rule); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); font-size: 13px; }
.journey .vf-card[hidden] { display: none; }
.journey .vf-card p { margin: 0; }
.journey .vf-card-h { display: flex; align-items: center; gap: 8px; }
.journey .vf-card-h .vf-x { margin-left: auto; width: 28px; height: 28px; font-size: 18px; }
.journey .vf-where { font-weight: 600; }
.journey .vf-photo canvas { display: block; width: 120px; height: 120px; border-radius: 8px; background: #0b0c0e; }
.journey .vf-photo[hidden] { display: none; }
.journey .vf-areas { margin: 0; padding-left: 16px; display: grid; gap: 3px; }
.journey .vf-limit { font-size: 11.5px; }
.journey .vf-dev table { border-collapse: collapse; font: 11px/1.3 var(--mono); }
.journey .vf-dev td { padding: 1px 6px 1px 0; }
@media (max-width: 560px) {
  .journey .vf-tn { height: 32px; font-size: 13px; }
  .journey .vf-tline { font-size: 12px; max-width: 30ch; }
  .journey .stage-hud .vf-foot { max-width: calc(100% - 20px); }
  .journey .stage-hud[data-kind="solid"] .vf-foot { max-width: calc(100% - 130px); }
  .journey .vf-mode .vf-part, .journey .vf-edge { font-size: 11px; padding: 2px 7px; }
  .journey .vf-card.sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 60vh; overflow: auto; z-index: 90;
    border-radius: 14px 14px 0 0; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 28px rgba(0, 0, 0, .45); }
}

/* ---- the Astra review (owner 2026-10-29, VIEWER-FIRST.md section 6): the headline, the identity line beside the viewer,
   Facts folded below the viewer, a compact profile, the examination's four parts, the comparison in place */
.journey .j-headline { margin: 4px 0 2px; font-size: 16px; }
.journey .j-headline .j-hl { font-size: inherit; text-align: left; color: var(--ink); text-decoration-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.journey .j-headline[hidden] { display: none; }
.journey .id-line { margin: 0; font-size: 14px; color: var(--ink2); }
.journey .id-line:empty { display: none; }
.journey .facts-d { margin-top: 16px; }
.journey .facts-d > summary { cursor: pointer; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.journey .facts-d .facts-sum { font-size: 14px; color: var(--ink2); }
.journey .facts-d #kf-box { margin-top: 10px; }
.journey .cp-tile.compact { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 2px 0; }
.journey .cp-tile.compact .cp-tile-btn { display: inline-flex; gap: 10px; align-items: center; width: auto; }
.journey .cp-tile.compact .cp-tile-top { display: inline-flex; gap: 6px; }
.journey .cp-tile .cp-why { font-size: 14px; color: var(--ink2); margin: 0; }
.journey .cp-details > summary { cursor: pointer; font-size: 14px; }
.journey .tx-cmode-row { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; margin: 4px 0 8px; }
.journey .tx-part-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.journey .tx-view figcaption .small { font-size: 13px; color: var(--ink2); }
.journey .tx-toned { display: block; margin-top: 2px; color: var(--ink2); }
.journey .tx-statement { font-size: 15px; margin: 4px 0; }
.journey .tx-limits { margin: 8px 0; }
.journey .tx-limits > summary, .journey .tx-ev > summary, .journey .tx-prev > summary { cursor: pointer; }
.journey .tx-ev dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; margin: 6px 0 0; }
.journey .tx-ev dd { margin: 0; }
.journey .tx-scope { margin: 8px 0 4px; font-size: 14px; }
.journey .tx-side.tx-flash { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 10px; transition: outline-color 1.2s; }
.journey .tx-compare { position: relative; margin: 10px 0; padding: 10px; border: 1px solid var(--rule); border-radius: 10px; background: var(--panel); }
.journey .tx-cmp-h { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.journey .tx-cmp-h [data-tx-cmp-close] { margin-left: auto; }
.journey .tx-cmp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.journey .tx-cmp-pane { margin: 0; display: grid; gap: 4px; }
.journey .tx-cmp-pic { overflow: hidden; border-radius: 8px; background: #0b0c0e; }
.journey .tx-cmp-cv { display: block; width: 100%; height: auto; cursor: crosshair; touch-action: none; }
.journey .tx-loupe { position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 2px solid #f2f2f2; box-shadow: 0 6px 20px rgba(0, 0, 0, .5);
  pointer-events: none; z-index: 5; }
.journey .tx-loupe[hidden] { display: none; }
@media (max-width: 560px) { .journey .tx-cmp-row { grid-template-columns: minmax(0, 1fr); } .journey .tx-loupe { width: 130px; height: 130px; } }
.journey .j-grid #id-line { order: -3; }

/* ---- Present (the default) and Examine (owner 2026-10-29, the mockup images/27.png, VIEWER-FIRST.md section 8). Present:
   the page is the coin on near-black, a top bar (the mark, the title and its headline, Present | Examine, full screen), a
   floating pill at the bottom and the lighting's name bottom left; nothing else */
.journey .pm-mark, .journey .pm-fs, .journey .present-pill, .journey .present-label { display: none; }
.journey .j-mode { display: flex; gap: 10px; align-items: center; margin: 8px 0 4px; }
.journey .pm-seg button { padding: 6px 16px; }
.journey .pm-seg button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--accent); }
.journey .next-chip { text-decoration: none; display: inline-block; margin-top: 4px; }
.journey.mode-examine .next-chip { display: none; }
body:has(.journey.mode-present) { background: #050506; }
body:has(.journey.mode-present) .bar { display: none; }
.journey.mode-present .ws-top ~ *, .journey.mode-present #steps, .journey.mode-present #while-scan, .journey.mode-present #scan-level, .journey.mode-present #scanner-pick,
.journey.mode-present .j-sub, .journey.mode-present .stage-cap, .journey.mode-present .stage-row, .journey.mode-present #seg-note,
.journey.mode-present #light-panel, .journey.mode-present .back, .journey.mode-present .rn-btn, .journey.mode-present #title-tip,
.journey.mode-present .vf-top, .journey.mode-present .vf-foot, .journey.mode-present .stage-tools, .journey.mode-present .stage-approx,
.journey.mode-present .v3d-host .ctrl, .journey.mode-present .v3d-host .grid2,
/* the phone-photo card, Same coin? and the merge notice load a moment after the page: Examine's, never Present's */
.journey.mode-present .phone-card, .journey.mode-present .same-coin, .journey.mode-present .merge-card { display: none !important; }
.journey.mode-present { color: #f2f2f2; }
.journey.mode-present .j-head { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 18px;
  padding: 14px 22px; margin: 0; text-align: left; }
body:has(.journey.mode-present) #view { max-width: none; padding: 0; margin: 0; }
.journey.mode-present .pm-mark { display: inline-flex; align-items: center; gap: 8px; color: #f2f2f2; text-decoration: none; font-weight: 600; letter-spacing: .12em;
  padding-right: 18px; border-right: 1px solid #2a2d33; white-space: nowrap; }
.journey.mode-present .pm-mark .sub { font-weight: 400; letter-spacing: 0; color: #a9aeb6; }
.journey.mode-present .j-titles { min-width: 0; flex: 1 1 auto; }
.journey.mode-present .title-row { justify-content: flex-start; }
.journey.mode-present #coin-title { font-size: 20px; font-weight: 500; color: #f2f2f2; }
.journey.mode-present .j-headline { margin: 2px 0 0; font-size: 14px; }
.journey.mode-present .j-headline .j-hl { color: #b9bec6; text-decoration: none; }
.journey.mode-present .j-headline .j-hl:hover { color: #fff; text-decoration: underline; }
.journey.mode-present .j-mode { margin: 0; }
.journey.mode-present .pm-seg { background: transparent; border: 1px solid #2a2d33; border-radius: 999px; padding: 2px; }
.journey.mode-present .pm-seg button { color: #a9aeb6; background: transparent; border-radius: 999px; }
.journey.mode-present .pm-seg button[aria-pressed="true"] { color: #fff; box-shadow: inset 0 0 0 1.5px #e0574f; }
.journey.mode-present .pm-fs { display: inline-grid; color: #f2f2f2; }
.journey.mode-present .ws-top { display: block; margin: 0; }
.journey.mode-present .ws-top > .stage-wrap { position: relative; top: 0; max-width: none; margin: 0; padding-bottom: 76px; }
.journey.mode-present .stage-box { width: min(100%, calc(100vh - 170px)); margin: 0 auto; }
.journey.mode-present .stage { background: transparent; border: 0; box-shadow: none; }
.journey.mode-present .present-pill { display: flex; justify-content: center; position: absolute; left: 0; right: 0; bottom: 14px; pointer-events: none; }
.journey.mode-present .pp { pointer-events: auto; display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, #15171b 88%, transparent); border: 1px solid #2a2d33; box-shadow: 0 8px 28px rgba(0, 0, 0, .5); }
.journey.mode-present .pp-b { background: transparent; color: #a9aeb6; border: 0; border-radius: 0; padding: 8px 14px; font-size: 14px; }
.journey.mode-present .pp-b.on { color: #fff; box-shadow: inset 0 -2px 0 #e0574f; }
.journey.mode-present .pp-b:disabled { opacity: .4; }
.journey.mode-present .pp-i { width: 34px; height: 34px; border-radius: 50%; background: #1d2025; border: 1px solid #2a2d33; color: #f2f2f2; display: inline-grid; place-items: center; padding: 0; margin: 0 2px; }
.journey.mode-present .pp-i[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px #e0574f; }
.journey.mode-present .pp-i:disabled { opacity: .35; }
.journey.mode-present .pp-sep { width: 1px; height: 20px; background: #2a2d33; margin: 0 8px; }
.journey.mode-present .present-label { display: block; position: absolute; left: 20px; bottom: 22px; margin: 0; font-size: 13px; color: #8d929a; }
@media (max-width: 700px) {
  .journey.mode-present .j-head { flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; }
  .journey.mode-present .pm-mark { border-right: 0; }
  .journey.mode-present .pm-mark { padding-right: 12px; font-size: 13px; }
  .journey.mode-present .j-titles { flex-basis: 100%; order: 3; }
  .journey.mode-present .j-mode { margin-left: auto; }
  .journey.mode-present .stage-box { width: 100%; }
  .journey.mode-present .ws-top > .stage-wrap { padding-bottom: 96px; }
  .journey.mode-present .present-label { left: 0; right: 0; bottom: 6px; text-align: center; font-size: 12px; }
  .journey.mode-present .present-pill { bottom: 30px; }
  .journey.mode-present .pp-b { padding: 8px 9px; font-size: 13px; }
  .journey.mode-present .pp-sep { margin: 0 4px; }
}
.journey .j-grid #id-line { order: -3; }
/* a phone never scrolls sideways (the 1880-S at 390: the Next card's long work item, a wide table in the evidence) */
.journey .cs-work-i { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
.journey .disclose-body table, .journey .ws-sec table { display: block; max-width: 100%; overflow-x: auto; }
/* Present on the 3D model: the coin on the page's near-black, none of the lab viewer's chrome */
.journey.mode-present .v3d-host .viewport { background: #050506 !important; border: 0 !important; box-shadow: none !important; }
.journey.mode-present .v3d-host .vrail, .journey.mode-present .v3d-host .fsbtn, .journey.mode-present .v3d-host .v3d-ruler,
.journey.mode-present .v3d-host .vhud, .journey.mode-present .v3d-host .vpop { display: none !important; }

/* the story kit (mediakit.js): the Download item in the top bar, its menu, Present's opening clip over the stage */
.journey .mk-btn { padding: 5px 10px; font-size: 13px; }
.journey.mode-present .mk-btn { padding: 4px 8px; font-size: 12.5px; }
.journey .mk-menu { min-width: 250px; }
.journey .mk-menu .mk-head { display: grid; gap: 2px; }
.journey .mk-menu .mk-includes { margin-top: 0; }
.journey .media-intro { position: absolute; inset: 0; z-index: 5; background: #0e0f11; display: grid; place-items: center; cursor: pointer; }
.journey .media-intro video { width: 100%; height: 100%; object-fit: contain; display: block; }
.journey .media-intro-cap { position: absolute; left: 12px; bottom: 8px; margin: 0; color: var(--muted); }
