/* ==========================================================================
   ONBOARDING (v141, 2026-09-28): the first-run sheet, "Meet the new
   Go. Limit. Less.", the first-full-stop tip, and What's new's "Earlier" fold.
   Driven by js/onboarding.js (and js/whatsnew.js for the fold). Since v142
   also the look-around walkthrough, "Show me around" (js/tour.js).

   Built only from the Full Stop tokens (css/fullstop.css section 1 and the
   room's glass tokens in section 19), so it follows whatever the look sets.
   The one exception is the three light previews: a preview has to show a
   theme that is not the current one, so those swatches carry the logo's own
   colours (espresso, sand gold, steel blue, paper, ink).

   Rules kept here, the same as the gate's (demo/stub/verify-fullstop.mjs):
   type on the scale (11 12 13 15 17 20 22 24 30 34 44 56 72), text 4.5:1,
   44px targets, no italics, no em dashes or typed arrows, a 4px grid, motion
   under 300ms with no bounce, and none of it when motion is reduced. Glass
   only on the sheet, which floats; solid when more contrast is asked for.

   Load after css/fullstop.css. Every rule is scoped like Full Stop's, so it
   wins over the shared .btn and input rules by order, not by !important.
   ========================================================================== */

/* ---------- the overlay and the one sheet ---------- */
:root[data-look="fullstop"] .ob-overlay {
  position: fixed;
  inset: 0;
  z-index: 238; /* over the bar, the dock and every other card; under the undo countdown */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
/* The scrim is its own layer, and the overlay itself never fades: an
   ancestor with opacity is a backdrop root, and the sheet's glass would then
   blur nothing but the scrim. */
:root[data-look="fullstop"] .ob-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--fs-scrim);
  opacity: 0;
  transition: opacity 200ms var(--fs-ease);
}
:root[data-look="fullstop"] .ob-overlay.is-in::before { opacity: 1; }
:root[data-look="fullstop"] .ob-overlay.is-out { pointer-events: none; }
:root[data-look="fullstop"] .ob-overlay.is-out::before { opacity: 0; }

:root[data-look="fullstop"] .ob-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: min(480px, 100%);
  /* One steady shape: the same height on every card, so nothing jumps.
     560 is the tallest card (the install steps, or the time picker open)
     with room to spare; more left a band of nothing on a laptop. */
  height: min(560px, calc(100vh - 48px));
  height: min(560px, calc(100dvh - 48px));
  border-radius: var(--fs-r-l);
  background: var(--fs-s2);
  box-shadow: var(--fs-e3), inset 0 0 0 1px var(--fs-line);
  color: var(--fs-t1);
  font-family: var(--fs-font);
  font-optical-sizing: auto;
  font-variant-numeric: proportional-nums;
  letter-spacing: -0.011em;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: transform 260ms var(--fs-ease), opacity 200ms var(--fs-ease);
}
:root[data-look="fullstop"][data-theme="light"] .ob-sheet {
  background: var(--fs-s1);
  box-shadow: var(--fs-e3);
}
:root[data-look="fullstop"] .ob-overlay.is-in .ob-sheet { opacity: 1; transform: none; }
:root[data-look="fullstop"] .ob-overlay.is-out .ob-sheet { opacity: 0; }

/* The same glass as the app's other sheets (fullstop.css section 19): it
   floats, so it may be glass. !important only because Full Stop switches
   backdrop-filter off for everything with !important and names what floats. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root[data-look="fullstop"] .ob-sheet,
  :root[data-look="fullstop"][data-theme="light"] .ob-sheet {
    background: var(--fs-glass-sheet, var(--fs-s2));
    -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
    backdrop-filter: blur(28px) saturate(150%) !important;
    box-shadow: var(--fs-e3), inset 0 0 0 1px var(--fs-line), var(--fs-glass-edge, 0 0 #0000);
  }
}
@media (prefers-contrast: more) {
  :root[data-look="fullstop"] .ob-sheet,
  :root[data-look="fullstop"][data-theme="light"] .ob-sheet {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: var(--fs-s2);
  }
}

@media (max-width: 600px) {
  :root[data-look="fullstop"] .ob-overlay { align-items: flex-end; padding: 0; }
  :root[data-look="fullstop"] .ob-sheet {
    width: 100%;
    height: min(680px, calc(100vh - 16px));
    height: min(680px, calc(100dvh - 16px));
    border-radius: var(--fs-r-l) var(--fs-r-l) 0 0;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(100%);
  }
}

/* ---------- the top row: Back, the three squares, Skip ---------- */
:root[data-look="fullstop"] .ob-top {
  flex: none;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 88px;
  align-items: center;
  min-height: 60px;
  padding: 8px 8px 0;
}
:root[data-look="fullstop"] .ob-back,
:root[data-look="fullstop"] .ob-skip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: var(--fs-r-m);
  background: transparent;
  color: var(--fs-t1);
  cursor: pointer;
  transition: background-color 120ms var(--fs-ease), transform 120ms var(--fs-ease);
}
:root[data-look="fullstop"] .ob-back { justify-self: start; justify-content: center; padding: 0; }
:root[data-look="fullstop"] .ob-skip {
  justify-self: end;
  justify-content: center;
  padding: 0 12px;
  color: var(--fs-t2);
  font: 620 15px/20px var(--fs-font);
  letter-spacing: -0.005em;
}
/* Hidden keeps its place, so the squares never slide sideways. */
:root[data-look="fullstop"] .ob-back[hidden],
:root[data-look="fullstop"] .ob-skip[hidden] { display: inline-flex; visibility: hidden; }
:root[data-look="fullstop"] .ob-steps {
  justify-self: center;
  display: flex;
  gap: 8px;
}
:root[data-look="fullstop"] .ob-steps[hidden] { display: flex; visibility: hidden; }
:root[data-look="fullstop"] .ob-steps i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.5px var(--fs-line-strong);
  transition: background-color 200ms var(--fs-ease);
}
:root[data-look="fullstop"] .ob-steps i.is-on {
  background: var(--fs-kept-fill);
  box-shadow: none;
}

/* ---------- a card: its words scroll, its buttons stay put ---------- */
:root[data-look="fullstop"] .ob-card {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
:root[data-look="fullstop"] .ob-card.ob-enter { animation: ob-in 220ms var(--fs-ease) both; }
@keyframes ob-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
:root[data-look="fullstop"] .ob-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px 24px 16px;
}
:root[data-look="fullstop"] .ob-foot {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 24px 24px;
}
:root[data-look="fullstop"] .ob-foot .btn {
  width: 100%;
  min-height: 52px;
  font-size: 17px;
  line-height: 22px;
}
:root[data-look="fullstop"] .ob-foot .btn[hidden] { display: none; }
@media (max-width: 600px) {
  :root[data-look="fullstop"] .ob-body { padding: 8px 16px 16px; }
  :root[data-look="fullstop"] .ob-foot { padding: 12px 16px 16px; }
}

/* ---------- words ---------- */
:root[data-look="fullstop"] .ob-title {
  margin: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 720;
  font-stretch: 94%;
  letter-spacing: -0.02em;
  color: var(--fs-t1);
  text-wrap: balance;
  outline: none;
}
/* The title takes focus on every card so a screen reader reads it out; it is
   not a control, so it wears no ring (the same call as #shell-title in
   fullstop.css, and with its !important, since the ring rule carries one). */
:root[data-look="fullstop"] .ob-title:focus,
:root[data-look="fullstop"] .ob-title:focus-visible { outline: none !important; }
:root[data-look="fullstop"] .ob-lede {
  margin: 0;
  font-size: 17px;
  line-height: 24px;
  color: var(--fs-t2);
  text-wrap: pretty;
}
:root[data-look="fullstop"] .ob-kicker {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 560;
  font-stretch: 100%;
  letter-spacing: -0.011em;
  color: var(--fs-t2);
}
:root[data-look="fullstop"] .ob-task-name { display: block; overflow-wrap: anywhere; }
@media (max-width: 360px) {
  :root[data-look="fullstop"] .ob-title { font-size: 24px; line-height: 30px; }
}

/* ---------- controls that are not .btn ---------- */
:root[data-look="fullstop"] :is(.ob-light, .ob-goal, .ob-opt, .ob-chip) {
  border: 0;
  color: var(--fs-t1);
  font-family: var(--fs-font);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms var(--fs-ease), background-color 120ms var(--fs-ease), box-shadow 120ms var(--fs-ease);
}
:root[data-look="fullstop"] :is(.ob-light, .ob-goal, .ob-opt, .ob-chip, .ob-back, .ob-skip):active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  :root[data-look="fullstop"] :is(.ob-back, .ob-skip):hover { background: var(--fs-s3); }
  :root[data-look="fullstop"] :is(.ob-opt, .ob-chip):hover { background: var(--fs-line); }
  :root[data-look="fullstop"] :is(.ob-light, .ob-goal):hover { background: var(--fs-s2); }
}

/* Pick your light: three big squares, each a small room in that light. */
:root[data-look="fullstop"] .ob-lights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
:root[data-look="fullstop"] .ob-light {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 16px 8px 12px;
  border-radius: 16px;
  background: var(--fs-s1);
  box-shadow: inset 0 0 0 1px var(--fs-line);
}
:root[data-look="fullstop"] .ob-light[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--fs-t1); }
:root[data-look="fullstop"] .ob-swatch {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 88px;
  aspect-ratio: 1;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--fs-line-strong);
}
:root[data-look="fullstop"] .ob-swatch i {
  width: 28%;
  aspect-ratio: 1;
  border-radius: 3px;
}
/* The logo's colours: fixed on purpose (see the header). */
:root[data-look="fullstop"] .ob-swatch-dark { background: #190d07; }
:root[data-look="fullstop"] .ob-swatch-dark i { background: #d8bd8e; }
:root[data-look="fullstop"] .ob-swatch-space { background: #050912; }
:root[data-look="fullstop"] .ob-swatch-space i { background: #b0c4ee; }
:root[data-look="fullstop"] .ob-swatch-light { background: #fbf6ee; }
:root[data-look="fullstop"] .ob-swatch-light i { background: #367697; }
:root[data-look="fullstop"] .ob-light-name {
  font-size: 15px;
  line-height: 20px;
  font-weight: 620;
  color: var(--fs-t1);
}

/* What have you been putting off? */
:root[data-look="fullstop"] .ob-form { display: flex; flex-direction: column; gap: 12px; }
:root[data-look="fullstop"] .ob-form .ob-input {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
}
:root[data-look="fullstop"] .ob-chips { display: flex; flex-wrap: wrap; gap: 8px; }
:root[data-look="fullstop"] .ob-chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 22px;
  background: var(--fs-s3);
  font-size: 15px;
  line-height: 20px;
  font-weight: 560;
}
:root[data-look="fullstop"] .ob-err {
  margin: 0;
  min-height: 20px;
  font-size: 15px;
  line-height: 20px;
  color: var(--fs-t2);
}

/* Limi's line, then When should I check on it? */
:root[data-look="fullstop"] .ob-limi { display: flex; flex-direction: column; gap: 8px; }
:root[data-look="fullstop"] .ob-limi-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  font-weight: 640;
  color: var(--fs-t2);
}
:root[data-look="fullstop"] .ob-limi-mark {
  /* No mark beside Limi's name (fullstop.css section 19): her name stands alone. */
  display: none;
}
:root[data-look="fullstop"] .ob-limi-line {
  margin: 0;
  min-height: 26px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 560;
  letter-spacing: -0.015em;
  color: var(--fs-t1);
  text-wrap: pretty;
}
:root[data-look="fullstop"] .ob-typing { display: inline-flex; align-items: center; gap: 6px; height: 26px; }
:root[data-look="fullstop"] .ob-typing i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--fs-icon);
  animation: ob-dot 1.2s ease-in-out infinite;
}
:root[data-look="fullstop"] .ob-typing i:nth-child(2) { animation-delay: 0.2s; }
:root[data-look="fullstop"] .ob-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes ob-dot {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
:root[data-look="fullstop"] .ob-when {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
:root[data-look="fullstop"] .ob-opt {
  min-height: 56px;
  padding: 8px 12px;
  border-radius: var(--fs-r-m);
  background: var(--fs-s3);
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  text-align: center;
}
:root[data-look="fullstop"] .ob-opt[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--fs-t1); }
:root[data-look="fullstop"] .ob-pick { display: grid; gap: 8px; }
:root[data-look="fullstop"] .ob-pick[hidden] { display: none; }
:root[data-look="fullstop"] .ob-pick-label {
  font-size: 13px;
  line-height: 18px;
  font-weight: 620;
  color: var(--fs-t2);
}
:root[data-look="fullstop"] .ob-pick-row { display: flex; gap: 8px; }
:root[data-look="fullstop"] .ob-pick .ob-time {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 52px;
  padding: 0 12px;
  border: 1px solid var(--fs-line);
  border-radius: var(--fs-r-m);
  background: var(--fs-s1);
  color: var(--fs-t1);
  font: 17px/22px var(--fs-font);
}
:root[data-look="fullstop"] .ob-pick .ob-set {
  flex: none;
  min-height: 52px;
  padding: 0 20px;
  font-size: 17px;
  line-height: 22px;
}
:root[data-look="fullstop"] .ob-pick-when {
  margin: 0;
  min-height: 20px;
  font-size: 15px;
  line-height: 20px;
  color: var(--fs-t2);
}

/* Pick another: their open tasks, one per row. */
:root[data-look="fullstop"] .ob-list { display: flex; flex-direction: column; gap: 8px; }
:root[data-look="fullstop"] .ob-opt.ob-opt-task {
  padding: 12px 16px;
  font-weight: 560;
  text-align: left;
  overflow-wrap: anywhere;
}

/* The nudge preview: what the phone actually shows. */
:root[data-look="fullstop"] .ob-note {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border-radius: var(--fs-r-l);
  background: var(--fs-s1);
  box-shadow: inset 0 0 0 1px var(--fs-line);
}
:root[data-look="fullstop"] .ob-note-icon { display: block; width: 40px; height: 40px; border-radius: 10px; }
:root[data-look="fullstop"] .ob-note-words { min-width: 0; }
:root[data-look="fullstop"] .ob-note-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
}
:root[data-look="fullstop"] .ob-note-head strong {
  font-size: 15px;
  line-height: 20px;
  font-weight: 700;
  color: var(--fs-t1);
}
:root[data-look="fullstop"] .ob-note-head span {
  font-size: 13px;
  line-height: 18px;
  color: var(--fs-t2);
}
:root[data-look="fullstop"] .ob-note-text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 20px;
  color: var(--fs-t1);
  overflow-wrap: anywhere;
}
:root[data-look="fullstop"] .ob-fine {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--fs-t2);
}
:root[data-look="fullstop"] .ob-status {
  margin: 0;
  font-size: 15px;
  line-height: 20px;
  font-weight: 560;
  color: var(--fs-t1);
}
:root[data-look="fullstop"] .ob-status:empty { display: none; }

/* Add to Home Screen: the Share button, drawn. */
:root[data-look="fullstop"] .ob-share-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  margin: 0 4px;
  border-radius: 6px;
  background: var(--fs-s3);
  color: var(--fs-t1);
  vertical-align: middle;
}
:root[data-look="fullstop"] .ob-install {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ob-step;
}
:root[data-look="fullstop"] .ob-install[hidden] { display: none; }
:root[data-look="fullstop"] .ob-install li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 24px;
  color: var(--fs-t2);
}
:root[data-look="fullstop"] .ob-install li .ob-share-ic { margin: 0; }
:root[data-look="fullstop"] .ob-install li::before {
  counter-increment: ob-step;
  content: counter(ob-step);
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--fs-s3);
  color: var(--fs-t1);
  font: 680 13px/28px var(--fs-font);
  text-align: center;
}

/* Meet the new Go. Limit. Less.: the logo, lit. */
:root[data-look="fullstop"] .ob-logo {
  width: 208px;
  max-width: 100%;
  height: 91px;
  margin: 8px 0;
  background: url("/icons/go-limit-less-wordmark.png") no-repeat left center / contain;
}
:root[data-look="fullstop"][data-theme="light"] .ob-logo {
  background-image: url("/icons/go-limit-less-wordmark-ink.png");
}
:root[data-look="fullstop"] .ob-overlay.is-hello .ob-logo { animation: ob-lit 600ms var(--fs-ease) both; }
@keyframes ob-lit {
  from { opacity: 0.2; transform: scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* How many a day? Each number shows its own row of full stops. */
:root[data-look="fullstop"] .ob-goals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
:root[data-look="fullstop"] .ob-goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 104px;
  padding: 12px 4px;
  border-radius: 16px;
  background: var(--fs-s1);
  box-shadow: inset 0 0 0 1px var(--fs-line);
}
:root[data-look="fullstop"] .ob-goal[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--fs-t1); }
:root[data-look="fullstop"] .ob-goal-n {
  font-size: 30px;
  line-height: 36px;
  font-weight: 720;
  color: var(--fs-t1);
}
:root[data-look="fullstop"] .ob-goal-squares {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-width: 48px;
  min-height: 6px;
}
:root[data-look="fullstop"] .ob-goal-squares i {
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: var(--fs-kept-fill);
}

/* Want a quick look around? What the walkthrough covers, one line each,
   each behind an open square: a promise not kept yet. */
:root[data-look="fullstop"] .ob-peek {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
:root[data-look="fullstop"] .ob-peek li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  line-height: 24px;
  color: var(--fs-t1);
}
:root[data-look="fullstop"] .ob-peek li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.5px var(--fs-line-strong);
}
@media (forced-colors: active) {
  :root[data-look="fullstop"] .ob-peek li::before { border: 1px solid CanvasText; }
}

/* ---------- Day: a paper room needs its surfaces told apart ---------- */
:root[data-look="fullstop"][data-theme="light"] :is(.ob-opt, .ob-chip) {
  background: var(--fs-s2);
  box-shadow: inset 0 0 0 1px var(--fs-line);
}
:root[data-look="fullstop"][data-theme="light"] .ob-opt[aria-expanded="true"] { box-shadow: inset 0 0 0 2px var(--fs-t1); }
:root[data-look="fullstop"][data-theme="light"] .ob-share-ic,
:root[data-look="fullstop"][data-theme="light"] .ob-install li::before { background: var(--fs-s2); }

/* ---------- the first full stop: one line, once ---------- */
:root[data-look="fullstop"] .ob-tip {
  position: fixed;
  left: 50%;
  bottom: calc(var(--fs-nav-h, 60px) + 16px + env(safe-area-inset-bottom));
  z-index: 170;
  box-sizing: border-box;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--fs-r-m);
  background: var(--fs-s3);
  box-shadow: var(--fs-e2), inset 0 0 0 1px var(--fs-line);
  color: var(--fs-t1);
  font: 620 15px/20px var(--fs-font);
  letter-spacing: -0.005em;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 200ms var(--fs-ease), transform 200ms var(--fs-ease);
}
:root[data-look="fullstop"] .ob-tip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  background: var(--fs-kept-fill);
  vertical-align: 1px;
}
:root[data-look="fullstop"] .ob-tip.is-in { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) {
  :root[data-look="fullstop"] .ob-tip { bottom: 24px; }
}

/* ==========================================================================
   THE WALKTHROUGH (v142, js/tour.js): "Show me around", on the real app.
   A dim layer with holes cut around the real elements (an SVG mask, so a
   stop can light two things at once), a ring just outside each hole, and one
   glass card. Not the old .tour-* rules in styles.css and fullstop.css: those
   belonged to the three-stop lap and are unused now.

   The card is the only glass (it floats); the dim is flat. The ring sits
   wholly outside its hole, on the dim, in the room's first text colour, so
   it keeps 3:1 against whatever the dim covers, in every light.
   ========================================================================== */
:root[data-look="fullstop"] { --walk-scrim: rgba(12, 6, 3, 0.72); }
:root[data-look="fullstop"][data-theme="space"] { --walk-scrim: rgba(2, 4, 10, 0.74); }
:root[data-look="fullstop"][data-theme="light"] { --walk-scrim: rgba(33, 19, 12, 0.46); }

:root[data-look="fullstop"] .walk {
  position: fixed;
  inset: 0;
  z-index: 280; /* over the bar, the dock, the + button and every sheet */
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
:root[data-look="fullstop"] .walk.is-out { pointer-events: none; }
/* The dim fades on its own; the overlay itself never does (an ancestor with
   opacity would make the card's glass blur nothing but the dim). */
:root[data-look="fullstop"] .walk-shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 200ms var(--fs-ease);
}
:root[data-look="fullstop"] .walk.is-in .walk-shade { opacity: 1; }
:root[data-look="fullstop"] .walk.is-out .walk-shade { opacity: 0; }
:root[data-look="fullstop"] .walk-dim { fill: var(--walk-scrim); }
:root[data-look="fullstop"] .walk-ring {
  fill: none;
  stroke: var(--fs-t1);
  stroke-width: 2px;
}

/* ---------- the one card ---------- */
:root[data-look="fullstop"] .walk-card {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  width: 360px;
  max-width: calc(100vw - 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 20px 20px;
  border-radius: var(--fs-r-l);
  background: var(--fs-s2);
  box-shadow: var(--fs-e3), inset 0 0 0 1px var(--fs-line);
  color: var(--fs-t1);
  font-family: var(--fs-font);
  font-optical-sizing: auto;
  font-variant-numeric: proportional-nums;
  letter-spacing: -0.011em;
  touch-action: manipulation;
  opacity: 1;
  transition: opacity 160ms var(--fs-ease);
}
:root[data-look="fullstop"][data-theme="light"] .walk-card {
  background: var(--fs-s1);
  box-shadow: var(--fs-e3);
}
:root[data-look="fullstop"] .walk-card.is-leaving { opacity: 0; pointer-events: none; }
:root[data-look="fullstop"] .walk.is-out .walk-card { opacity: 0; }
/* Glass, the same as every sheet (fullstop.css section 19): at least 93%
   tint. !important only because Full Stop switches backdrop-filter off for
   everything with !important and names what floats. */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  :root[data-look="fullstop"] .walk-card,
  :root[data-look="fullstop"][data-theme="light"] .walk-card {
    background: var(--fs-glass-sheet, var(--fs-s2));
    -webkit-backdrop-filter: blur(28px) saturate(150%) !important;
    backdrop-filter: blur(28px) saturate(150%) !important;
    box-shadow: var(--fs-e3), inset 0 0 0 1px var(--fs-line), var(--fs-glass-edge, 0 0 #0000);
  }
}
@media (prefers-contrast: more) {
  :root[data-look="fullstop"] .walk-card,
  :root[data-look="fullstop"][data-theme="light"] .walk-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: var(--fs-s2);
  }
  :root[data-look="fullstop"][data-theme="light"] .walk-card { background: var(--fs-s1); }
}

/* The top row: eight squares, one per stop, and Skip. */
:root[data-look="fullstop"] .walk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-right: -12px;
}
:root[data-look="fullstop"] .walk-steps { display: flex; gap: 8px; }
:root[data-look="fullstop"] .walk-steps i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1.5px var(--fs-line-strong);
}
:root[data-look="fullstop"] .walk-steps i.is-on {
  background: var(--fs-kept-fill);
  box-shadow: none;
}
:root[data-look="fullstop"] .walk-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--fs-r-m);
  background: transparent;
  color: var(--fs-t2);
  font: 620 15px/20px var(--fs-font);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 120ms var(--fs-ease);
}
@media (hover: hover) and (pointer: fine) {
  :root[data-look="fullstop"] .walk-skip:hover { background: var(--fs-s3); color: var(--fs-t1); }
}

:root[data-look="fullstop"] .walk-title {
  margin: 0;
  font-size: 20px;
  line-height: 26px;
  font-weight: 680;
  letter-spacing: -0.015em;
  color: var(--fs-t1);
  text-wrap: balance;
}
:root[data-look="fullstop"] .walk-text {
  margin: 0;
  /* three lines kept free, so the card holds one shape from stop to stop */
  min-height: 72px;
  font-size: 17px;
  line-height: 24px;
  color: var(--fs-t2);
  text-wrap: pretty;
}
:root[data-look="fullstop"] .walk-acts {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
:root[data-look="fullstop"] .walk-acts .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  font-size: 17px;
  line-height: 22px;
}
/* Back keeps its place on the first stop, so Next never jumps. */
/* (!important only to outrank Full Stop's own [hidden] rule, which has one.) */
:root[data-look="fullstop"] .walk-acts .walk-back[hidden] { display: inline-flex !important; visibility: hidden; }
:root[data-look="fullstop"] .walk-live {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
:root[data-look="fullstop"] .walk-card :is(.walk-skip, .btn):active { transform: scale(0.97); }

/* Windows Contrast themes: the dim steps back, the ring and every edge stay. */
@media (forced-colors: active) {
  :root[data-look="fullstop"] .walk-shade { forced-color-adjust: none; }
  :root[data-look="fullstop"] .walk-dim { fill: Canvas; fill-opacity: 0.6; }
  :root[data-look="fullstop"] .walk-ring { stroke: Highlight; stroke-width: 3px; }
  :root[data-look="fullstop"] .walk-card { border: 1px solid CanvasText; }
  :root[data-look="fullstop"] .walk-steps i { border: 1px solid CanvasText; }
  :root[data-look="fullstop"] .walk-steps i.is-on { background: CanvasText; }
}

/* Reduced motion: nothing fades, nothing moves; the stops simply change. */
@media (prefers-reduced-motion: reduce) {
  :root[data-look="fullstop"] :is(.walk-shade, .walk-card, .walk-skip) { transition: none; }
  :root[data-look="fullstop"] .walk-card :is(.walk-skip, .btn):active { transform: none; }
}

/* ---------- What's new opens on the newest release ---------- */
:root[data-look="fullstop"] .wn-earlier { margin-top: 8px; }
:root[data-look="fullstop"] .wn-earlier > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 620;
  color: var(--fs-t2);
  cursor: pointer;
  list-style: none;
}
:root[data-look="fullstop"] .wn-earlier > summary::-webkit-details-marker { display: none; }
:root[data-look="fullstop"] .wn-earlier > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 160ms var(--fs-ease);
}
:root[data-look="fullstop"] .wn-earlier[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }

/* ---------- Windows Contrast themes: every edge stays ---------- */
@media (forced-colors: active) {
  :root[data-look="fullstop"] .ob-sheet { border: 1px solid CanvasText; }
  :root[data-look="fullstop"] :is(.ob-light, .ob-goal, .ob-opt, .ob-chip, .ob-note) { border: 1px solid ButtonText; }
  :root[data-look="fullstop"] :is(.ob-light, .ob-goal)[aria-checked="true"],
  :root[data-look="fullstop"] .ob-opt[aria-expanded="true"] { outline: 3px solid Highlight; outline-offset: -3px; }
  :root[data-look="fullstop"] .ob-steps i { border: 1px solid CanvasText; }
  :root[data-look="fullstop"] .ob-steps i.is-on,
  :root[data-look="fullstop"] .ob-goal-squares i { background: CanvasText; }
  :root[data-look="fullstop"] .ob-swatch { forced-color-adjust: none; }
}

/* ---------- reduced motion: nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  :root[data-look="fullstop"] :is(.ob-sheet, .ob-tip, .ob-steps i, .ob-light, .ob-goal, .ob-opt, .ob-chip, .ob-back, .ob-skip) { transition: none; }
  :root[data-look="fullstop"] .ob-overlay::before { transition: none; }
  :root[data-look="fullstop"] .ob-sheet,
  :root[data-look="fullstop"] .ob-overlay.is-in .ob-sheet { opacity: 1; transform: none; }
:root[data-look="fullstop"] .ob-overlay.is-out .ob-sheet { opacity: 0; }
  :root[data-look="fullstop"] :is(.ob-card.ob-enter, .ob-overlay.is-hello .ob-logo, .ob-typing i) { animation: none; }
  :root[data-look="fullstop"] :is(.ob-light, .ob-goal, .ob-opt, .ob-chip, .ob-back, .ob-skip):active { transform: none; }
  :root[data-look="fullstop"] .wn-earlier > summary::after { transition: none; }
  :root[data-look="fullstop"] .ob-tip { transform: translate(-50%, 0); }
}
