/* Connection guides reuse the kit's tool-page components.
   TASK-source-detail.md, 2026-11-17: neutral palette overrides the amber defaults. */
/* SaveSlot design tokens: the website column of DESIGN.md 4.1. Spec: ../../DESIGN.md.
   src/brand.css repeats the paper-layer values for the site pages; scripts/check-palette.mjs fails the build when the two differ.
   The console (agentx/saveslot-cloud apps/console, src/app/styles/workbench/paper.css) uses the workbench column of 4.1 under its older
   variable names; ink, brand, state and radius values are shared, the grounds are not. */

:root {
  /* paper layer */
  --bg: #fafaf8;            /* page ground */
  --bg-2: #f3f2ef;          /* icon wells, scene & template stage light neutral ground */
  --bg-deep: #efeeea;       /* outer ring of the studio gradient, idle step badge, slot number badge */
  --surface: #f6f5f2;       /* big panel; inner card inside a white panel */
  --card: #ffffff;          /* card, chat window, form */
  --row: #f8f7f5;           /* row inside a white card */
  --line: #efeeea;          /* divider inside a white card */
  --line-strong: #e6e4df;   /* divider on the page ground, input outline */
  --ink: #161a2b;           /* headings, strong text, dark button */
  --ink-2: #525563;         /* body text (7.1:1 on paper) */
  --ink-3: #6e717e;         /* sources, times, footnotes (4.6:1 on paper) */
  --ink-3-text: #6e717e;    /* kept as an alias of --ink-3 */

  /* hairlines: three tiers only (2026-11-20, tuned 2026-11-24) */
  --line-1: rgba(22, 26, 43, 0.075);  /* dividers: between sections, list rows, FAQ */
  --line-2: rgba(22, 26, 43, 0.11);   /* card, stage, dropdown edge */
  --line-3: rgba(22, 26, 43, 0.18);   /* secondary button, pickable option, hover */

  /* brand: amber is the only accent */
  --brand: #f2b33d;
  --brand-soft: #fbe3a6;
  --brand-ink: #8a5a08;

  /* four trust states, paper layer: text / ground */
  --ok: #146c39;   --ok-bg: #dcf3e4;
  --inf: #6a3fc0;  --inf-bg: #ece3fb;
  --unk: #1f55b8;  --unk-bg: #dde8fb;
  --bad: #b3281d;  --bad-bg: #fbe0dd;

  /* four trust states, screen layer: ground / text */
  --scr-ok: #3ddc84;   --scr-ok-ink: #0b2a17;
  --scr-inf: #b48cff;  --scr-inf-ink: #1f1238;
  --scr-unk: #4cc1ff;  --scr-unk-ink: #06263a;
  --scr-bad: #ff5a4e;  --scr-bad-ink: #3a0905;

  /* screen layer */
  --scr-bg: #0f1220;
  --scr-black: #0b0d14;
  --scr-row: #181c2e;
  --scr-line: #23283d;
  --scr-dash: #2c3250;
  --scr-text: #ffffff;
  --scr-text-2: #9aa0bd;
  --scr-text-3: #8e94b3;
  --scr-gold: #ffd36b;
  --scr-cyan: #8de0ff;

  /* type */
  --sans: 'Geist', 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --display: 'Roboto Serif', 'Noto Serif SC', 'Songti SC', serif;   /* display headings only (DESIGN.md 5.1) */
  --pixel: 'Silkscreen', monospace;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
  --wordmark: 'Anton', 'Impact', sans-serif;

  /* radius: five steps only — 999 / 20 / 16 / 10 / 6 (2026-11-20). Inner radius = outer radius - gap. */
  --r-pill: 999px;   /* tag, state pill, chip link — never a button (2026-11-24) */
  --r-panel: 20px;   /* stage, facade, closing object frame */
  --r-card: 16px;    /* card, chat window, state table, pricing */
  --r-mid: 16px;
  --r-small: 10px;   /* button, input, segmented switch; row, icon ground, thumbnail */
  --r-tiny: 6px;     /* item inside a segmented switch, button under 32px; gem, step badge */

  /* layout */
  --gut: max(80px, calc((100vw - 1200px) / 2));   /* 1200px content column */
  --section-y: 72px;                              /* section padding, 52px on phones */

  /* motion: two interaction speeds */
  --t-fast: 0.12s;   /* colour, background, border */
  --t-base: 0.2s;    /* movement, underline */
  --out: cubic-bezier(0.22, 1, 0.36, 1);

  /* shadow: cards do not cast shadows; a 1px hairline ring is the edge.
     Real shadows are only for things floating over content, and stay warm brown. */
  --sh-hairline: 0 0 0 1px var(--line-2);
  --sh-ground: var(--sh-hairline);   /* info card (was a warm drop shadow before 2026-11-20) */
  --sh-lift: 0 12px 26px -16px rgba(60, 40, 20, 0.45);                                 /* chip, list item */
  --sh-float: 0 30px 60px -30px rgba(60, 40, 20, 0.35);                                /* chat window, state table */
  --sh-form: 0 1px 0 rgba(0, 0, 0, 0.04), 0 10px 30px -12px rgba(60, 40, 20, 0.18);    /* email form */
  --sh-key: inset 0 -3px 0 rgba(0, 0, 0, 0.18);                                        /* gem, sticker: a pressable key */

  /* studio ground: one soft light, upper right */
  --studio: radial-gradient(120% 90% at 70% 40%, #ffffff 0%, #fafaf8 55%, #efeeea 100%);
}
/* SaveSlot components. Copy this file with tokens.css, or copy single blocks.
   Values are lifted from the site prototype (saveslot-site-redesign/proto/index.html); only the variable names
   and the small-text colours follow DESIGN.md. Every class is prefixed ss- so it can sit beside existing CSS.
   Open kit.html to see each block rendered with its markup. */

.ss, .ss * { box-sizing: border-box; }
.ss { font-family: var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.6; }

/* ---------- ground ---------- */
.ss-studio { background: var(--studio); }                 /* hero, story, any facade page */
/* section: full-bleed, one paper ground; neighbours are split by a full-bleed 1px hairline (13.2 #53) */
.ss-panel { position: relative; background: var(--bg); padding: var(--section-y) var(--gut); }
.ss-panel + .ss-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-1); }
.ss-panel.is-white { background: var(--bg); }   /* kept for old markup; sections no longer alternate grounds */
.ss-panel.is-closing { background: var(--ink); color: #fff; padding: 120px var(--gut) 112px; }
.ss-panel.is-closing::before { display: none; }
.ss-panel.is-closing h2 { font-size: clamp(40px, 4.6vw, 60px); line-height: 1.14; letter-spacing: -0.03em; }
.ss-panel.is-closing p { margin-top: 22px; color: #b9bccb; font-size: 19px; }

/* ---------- type ---------- */
/* display headings: Roboto Serif 500 (zh 600); others 560/600 (2026-11-23) */
.ss-h-hero { font-family: var(--display); font-variation-settings: "opsz" 100; font-size: clamp(44px, 5.1vw, 70px); font-weight: 500; letter-spacing: -0.022em; line-height: 1.02; margin: 0; }
.ss-h-panel { font-family: var(--display); font-variation-settings: "opsz" 100; font-size: clamp(32px, 3.45vw, 44px); font-weight: 500; letter-spacing: -0.022em; line-height: 1.1; margin: 0; }
.ss-h-story { font-family: var(--display); font-variation-settings: "opsz" 100; font-size: 42px; font-weight: 500; letter-spacing: -0.022em; line-height: 1.15; margin: 0; }
:lang(zh) :is(.ss-h-hero, .ss-h-panel, .ss-h-story) { font-weight: 600; letter-spacing: 0; line-height: 1.2; }
.ss-h-page { font-size: 32px; font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }      /* product page title */
.ss-h-facade { font-size: 40px; font-weight: 560; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }    /* product facade page title */
.ss-h-card { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; margin: 14px 0 8px; }
.ss-lead { margin: 16px 0 0; max-width: 560px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.ss-lead strong, .ss-body strong, .ss-lead b, .ss-body b { color: var(--ink); font-weight: 500; }   /* one key phrase per paragraph */
.ss-body { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); margin: 0; }
.ss-fine { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.ss-wordmark { font-family: var(--wordmark); font-size: 300px; line-height: 0.86; letter-spacing: -0.01em; color: var(--ink); text-transform: uppercase; }

/* ---------- optional amber tag for product facade / story screens; website sections use no eyebrow (13.2 #50) ---------- */
.ss-tag { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; color: var(--brand-ink); background: var(--brand-soft); padding: 7px 14px; border-radius: var(--r-pill); margin-bottom: 20px; }
/* section head: title on the left, lead + inline link bottom- and right-aligned on desktop (2026-11-24) */
.ss-head2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 16px 56px; align-items: end; margin-bottom: 32px; }
.ss-head2 > :last-child { justify-self: end; text-align: right; max-width: 480px; padding-bottom: 0.15em; }
.ss-head2 .ss-lead { margin-top: 0; max-width: none; font-size: 16px; line-height: 1.68; }
.ss-lead-link { margin-left: 10px; font-weight: 600; color: var(--brand-ink); white-space: nowrap; text-decoration: underline 1px color-mix(in srgb, currentColor 34%, transparent); text-underline-offset: 5px; transition: text-decoration-color var(--t-fast); }
.ss-lead-link:hover { text-decoration-color: currentColor; }
/* text link: soft underline, only the arrow moves */
.ss-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--brand-ink); text-decoration: underline 1px color-mix(in srgb, currentColor 34%, transparent); text-underline-offset: 6px; transition: text-underline-offset var(--t-base) var(--out), text-decoration-color var(--t-fast); }
.ss-link:hover { text-underline-offset: 3.5px; text-decoration-color: currentColor; }
.ss-link .arr { display: inline-block; font-weight: 400; color: color-mix(in srgb, currentColor 60%, transparent); transition: transform var(--t-base) var(--out); }
.ss-link:hover .arr { transform: translateX(2px); }

/* ---------- buttons: flat, 10px radius (6px under 32px or inside segmented switch; 2026-11-24) ---------- */
.ss-btn{ font-family: var(--sans); font-weight: 700; font-size: 16px; border-radius:var(--r-small); padding: 14px 24px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 0; background: var(--brand); color: var(--ink); }
.ss-btn.is-dark { background: var(--ink); color: #fff; font-size: 14px; padding: 11px 20px; }
.ss-btn.is-line { background: #fff; color: var(--ink); border: 1px solid var(--line-3); padding: 13px 23px; transition: border-color var(--t-fast); }
.ss-btn.is-line:hover { border-color: rgba(22, 26, 43, 0.28); }
.ss-btn.is-small { font-size: 14px; padding: 9px 16px; }
.ss-btn.is-line.is-small { padding: 7px 14px; }
.ss-btn:focus-visible, .ss-seg button:focus-visible, .ss-option:focus-visible, .ss-link:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- email form ---------- */
.ss-form{ display: flex; width: 460px; max-width: 100%; background: var(--card); border-radius:var(--r-card); padding: 6px; box-shadow: var(--sh-form); }
.ss-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0 18px; font: 500 16px var(--sans); color: var(--ink); }
.ss-form .ss-btn { padding: 15px 22px; }

/* ---------- text input (product forms). The pill form above is only for a single email field with its button ---------- */
.ss-field { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.ss-input { width: 100%; font: 500 15px var(--sans); color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-small); padding: 11px 14px; outline: 0; }
.ss-input::placeholder { color: var(--ink-3); }
.ss-input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- sticky entry ---------- */
.ss-sticky{ display: inline-flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 8px 8px 8px 20px; border-radius:var(--r-card); box-shadow: 0 16px 40px -18px rgba(60, 40, 20, 0.45); font-size: 14px; color: var(--ink-2); }

/* ---------- nav ---------- */
.ss-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 48px; }
.ss-nav .ss-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.ss-logo-word { display: block; height: 22px; width: auto; } /* inline design/assets/logo/saveslot-wordmark-currentcolor.svg */

/* ---------- logo mark: the pinwheel (DESIGN.md 4.7) ----------
   Nine <i> cells, only 1/3/5/7/9 drawn: lavender top, green right, amber centre, blue left, coral bottom.
   Size with --s (one cell); the whole mark is 3 cells + 2 gaps. No ink, no other colours, same on every page. */
.ss-logo-mark { --s: 7px; display: inline-grid; grid-template-columns: repeat(3, var(--s)); grid-template-rows: repeat(3, var(--s)); gap: calc(var(--s) / 7); flex: none; }
.ss-logo-mark i { border-radius: calc(var(--s) * 0.3); }
.ss-logo-mark i:nth-child(2n) { display: none; }
.ss-logo-mark i:nth-child(1) { grid-area: 1 / 1 / 2 / 3; background: #bcaaf2; }
.ss-logo-mark i:nth-child(3) { grid-area: 1 / 3 / 3 / 4; background: #92daa8; }
.ss-logo-mark i:nth-child(5) { grid-area: 2 / 2 / 3 / 3; background: #f2b33d; }
.ss-logo-mark i:nth-child(7) { grid-area: 2 / 1 / 4 / 2; background: #8dcfe7; }
.ss-logo-mark i:nth-child(9) { grid-area: 3 / 2 / 4 / 4; background: #f9806b; }
/* Loading: one turn, then rest. Used for boot screens and long waits, never as decoration. */
/* A quarter turn and a rest, four times; the cycle ends on a full turn so the colours don't jump back. */
.ss-logo-mark.is-loading { animation: ss-logo-turn 6.4s cubic-bezier(.6, 0, .3, 1) infinite; }
@keyframes ss-logo-turn { 0% { transform: rotate(0); } 15%, 25% { transform: rotate(90deg); } 40%, 50% { transform: rotate(180deg); } 65%, 75% { transform: rotate(270deg); } 90%, 100% { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ss-logo-mark.is-loading { animation: none; } }
.ss-nav ul { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.ss-nav.is-solid { background: rgba(250, 250, 248, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-1); }

/* ---------- segmented switch ---------- */
.ss-seg { display: inline-flex; background: var(--card); border-radius: var(--r-small); padding: 4px; box-shadow: inset 0 0 0 1px var(--line-2); }
.ss-seg button{ border: 0; background: transparent; padding: 9px 20px; border-radius:var(--r-tiny); font: 700 15px var(--sans); color: var(--ink-2); cursor: pointer; }
.ss-seg button.is-on { background: var(--ink); color: #fff; }

/* ---------- list option: numbered, one selected ---------- */
.ss-options { display: grid; gap: 10px; width: 400px; max-width: 100%; }
.ss-option { text-align: left; border: 0; background: rgba(255, 255, 255, 0.55); border-radius: var(--r-mid); padding: 12px 16px; cursor: pointer; display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; opacity: 0.62; font-family: var(--sans); color: var(--ink); transition: background 0.3s, box-shadow 0.3s, opacity 0.3s; }
.ss-option.is-on { background: var(--card); box-shadow: 0 12px 26px -16px rgba(60, 40, 20, 0.5); opacity: 1; }
.ss-option .ss-n { grid-row: span 2; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: var(--ink); }
.ss-option .ss-n.is-bad { background: #e0483b; } .ss-option .ss-n.is-unk { background: #2f6fe0; } .ss-option .ss-n.is-ok { background: #1f9d55; } .ss-option .ss-n.is-inf { background: #8a5cd6; }
.ss-option strong { font-size: 16px; font-weight: 700; }
.ss-option span { font-size: 13px; color: var(--ink-2); }

/* ---------- state pill (paper layer): colour plus a mark, never colour alone ---------- */
.ss-pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: var(--r-pill); white-space: nowrap; line-height: 1.4; }
.ss-pill.is-ok { color: var(--ok); background: var(--ok-bg); }
.ss-pill.is-inf { color: var(--inf); background: var(--inf-bg); }
.ss-pill.is-unk { color: var(--unk); background: var(--unk-bg); }
.ss-pill.is-bad { color: var(--bad); background: var(--bad-bg); }
.ss-pill.is-soft { color: var(--ink-3-text); background: var(--bg); font-size: 12px; padding: 3px 10px; }   /* "planned", "recommended" */

/* ---------- state gem (screen layer) ---------- */
.ss-gem { display: inline-grid; place-items: center; font-family: var(--pixel); font-size: 13px; min-width: 38px; height: 30px; border-radius: 6px; padding: 0 8px; box-shadow: var(--sh-key); flex: none; }
.ss-gem.is-ok { background: var(--scr-ok); color: var(--scr-ok-ink); }
.ss-gem.is-inf { background: var(--scr-inf); color: var(--scr-inf-ink); font-size: 20px; }
.ss-gem.is-unk { background: var(--scr-unk); color: var(--scr-unk-ink); }
.ss-gem.is-bad { background: var(--scr-bad); color: var(--scr-bad-ink); }

/* ---------- pixel sticker: facade pages only, tilted, at most four on a screen ---------- */
.ss-sticker { display: inline-block; font-style: normal; font-family: var(--pixel); font-size: 21px; line-height: 1; padding: 12px 16px; border-radius: 16px; border: 5px solid #fff; white-space: nowrap; box-shadow: 0 16px 30px -14px rgba(60, 40, 20, 0.55), inset 0 -4px 0 rgba(0, 0, 0, 0.15); transform: rotate(var(--tilt, -7deg)); }
.ss-sticker.is-ok { background: var(--scr-ok); color: var(--scr-ok-ink); }
.ss-sticker.is-unk { background: var(--scr-unk); color: var(--scr-unk-ink); }
.ss-sticker.is-bad { background: var(--scr-bad); color: #fff; }
.ss-sticker.is-save { background: #1b1630; color: var(--scr-gold); font-size: 17px; }
.ss-sticker.is-small { font-size: 13px; padding: 7px 10px; border-width: 3px; border-radius: 10px; }
.ss-sticker .ss-zh { font-family: var(--sans); font-weight: 700; }   /* Silkscreen has no Chinese glyphs */

/* ---------- slot number badge: the one pixel mark the product always carries ---------- */
.ss-slotno { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r-tiny); background: var(--bg-deep); font-family: var(--pixel); font-size: 12px; color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12); }
.ss-slotno.is-on { background: var(--brand); }

/* ---------- info card ---------- */
.ss-grid { display: grid; gap: 18px; }
.ss-grid.is-4 { grid-template-columns: repeat(4, 1fr); } .ss-grid.is-3 { grid-template-columns: repeat(3, 1fr); } .ss-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
.ss-card { background: var(--card); border-radius: var(--r-card); padding: 24px; box-shadow: var(--sh-hairline); }
.ss-card.is-inner { background: var(--surface); box-shadow: none; }                 /* inside a white panel: change the ground, drop the shadow */
.ss-card.is-rec { box-shadow: 0 0 0 2px var(--brand); }
.ss-card ul { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); line-height: 2; }
.ss-card ul li::before { content: '▪ '; color: var(--ok); }
.ss-mark { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; font-family: var(--pixel); font-size: 15px; background: var(--bg); }
.ss-price { margin-top: 10px; font-size: 40px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ss-price small { font-size: 15px; color: var(--ink-3-text); font-weight: 500; }
.ss-tbd { display: inline-block; font-family: var(--pixel); font-size: 11px; color: var(--ink-3-text); border: 2px dashed #d6d4ce; padding: 4px 8px; border-radius: 6px; }   /* not announced yet */

/* ---------- note: the only way to call something out. Whole block, four equal corners, never a bar on one side ---------- */
.ss-note { background: var(--brand-soft); color: var(--ink); border-radius: var(--r-small); padding: 12px 16px; font-size: 14px; line-height: 1.6; }
.ss-note.is-quiet { background: var(--surface); }
.ss-note.is-bad { background: var(--bad-bg); }

/* ---------- chat window ---------- */
.ss-chat { background: var(--card); border-radius: 16px; padding: 18px; width: 340px; max-width: 100%; box-shadow: var(--sh-float), 0 0 0 1px rgba(0, 0, 0, 0.03); font-size: 14px; }
.ss-chat-hd { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 700; }
.ss-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 16px; flex: none; }
.ss-chat-hd .ss-dots { margin-left: auto; color: #b6aea2; letter-spacing: 2px; }
.ss-bubble-u { margin: 16px 0 12px auto; width: fit-content; max-width: 90%; background: #f2eee8; padding: 10px 16px; border-radius: 16px 16px 4px 16px; line-height: 1.6; }
.ss-bubble-a { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; line-height: 1.6; }
.ss-bubble-a h5 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.ss-line { display: flex; gap: 10px; align-items: center; margin-top: 8px; padding: 9px 10px; background: var(--row); border-radius: var(--r-small); font-size: 13px; line-height: 1.35; }
.ss-line .ss-ico { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; font-size: 14px; flex: none; }
.ss-line .ss-pill { margin-left: auto; }
.ss-wrong { margin-top: 10px; display: inline-block; font-size: 12px; font-weight: 700; color: var(--bad); background: var(--bad-bg); padding: 5px 10px; border-radius: 6px; line-height: 1.5; }

/* ---------- state table ---------- */
.ss-table { width: 410px; max-width: 100%; background: var(--card); border-radius: 16px; padding: 18px 18px 14px; box-shadow: var(--sh-hairline); }
.ss-table h5 { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin: 0; }
.ss-table h5 small { margin-left: auto; font-family: var(--pixel); font-weight: 400; font-size: 11px; color: var(--ink-3); }
.ss-thead, .ss-trow { display: grid; grid-template-columns: 82px 1fr 88px; gap: 10px; align-items: center; }
.ss-thead { margin-top: 12px; padding: 0 10px 8px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--ink-3-text); }
.ss-trow { padding: 10px; border-radius: var(--r-small); margin-top: 6px; background: var(--row); font-size: 13px; }
.ss-trow .ss-k { font-weight: 700; }
.ss-trow .ss-v b { display: block; font-size: 14px; }
.ss-trow .ss-v small { color: var(--ink-3-text); font-size: 11.5px; }
.ss-trow s { color: var(--ink-3); }
.ss-trow .ss-pill { justify-self: end; }

/* ---------- data fragments: raw inputs before they are saved. Scatter them, never line them up ---------- */
.ss-frag { display: inline-grid; gap: 6px; justify-items: start; }
.ss-frag .ss-cap { font-size: 11px; font-weight: 700; color: var(--ink-3-text); letter-spacing: 0.06em; }
.ss-frag .ss-fbody { background: var(--card); box-shadow: var(--sh-lift); font-size: 14px; white-space: nowrap; padding: 10px 14px; border-radius: 10px; }
.ss-frag.is-chat .ss-fbody { border-radius: 16px 16px 16px 4px; }
.ss-frag.is-json .ss-fbody { border-radius: 10px; font-family: var(--mono); font-size: 12.5px; background: #1d1a2e; color: #c9c2ff; }
.ss-frag.is-json .ss-fbody i { color: #8ff0a4; font-style: normal; }
.ss-frag.is-sheet .ss-fbody { display: flex; padding: 0; border-radius: 6px; overflow: hidden; font-size: 13px; }
.ss-frag.is-sheet .ss-fbody span { padding: 8px 12px; border-right: 1px solid #eee; }
.ss-frag.is-sheet .ss-fbody span:first-child { background: #e7f6ec; color: var(--ok); font-weight: 700; }
.ss-frag.is-log .ss-fbody { padding: 9px 14px; border-radius: 6px; font-family: var(--mono); font-size: 12.5px; background: #111; color: #ffb4ab; }
.ss-frag.is-note .ss-fbody { border-radius: 4px; background: #fff7c9; transform: rotate(-2deg); }

/* ---------- save file (screen layer): the saved state itself ---------- */
.ss-save { position: relative; width: 470px; max-width: 100%; background: var(--scr-bg); border-radius: 16px; padding: 22px; overflow: hidden; color: #e9e4ff; box-shadow: 0 0 0 10px #ebe2d2, 0 0 0 11px #dcd0bb, 0 40px 70px -34px rgba(40, 25, 10, 0.7); }
.ss-save-bar { display: flex; justify-content: space-between; font-family: var(--pixel); font-size: 13px; color: var(--scr-gold); }
.ss-save-bar .ss-status { color: var(--scr-cyan); }
.ss-save-prog { margin: 12px 0 14px; height: 8px; background: var(--scr-line); border-radius: 2px; overflow: hidden; }
.ss-save-prog b { display: block; height: 100%; background: repeating-linear-gradient(90deg, #3ddc84 0 10px, #23a560 10px 12px); }
.ss-save-row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin-bottom: 9px; background: var(--scr-row); border-radius: 10px; border: 2px solid var(--scr-line); }
.ss-save-row .ss-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--scr-line); border-radius: 6px; font-size: 18px; }
.ss-save-row .ss-kv { flex: 1; min-width: 0; }
.ss-save-row .ss-k { display: block; font-size: 12px; color: var(--scr-text-2); }
.ss-save-row .ss-v { display: block; font-size: 16px; font-weight: 700; color: var(--scr-text); margin-top: 1px; white-space: nowrap; }
.ss-save-row .ss-meta { display: block; font-size: 10.5px; color: var(--scr-text-3); margin-top: 3px; letter-spacing: 0.02em; }
.ss-save-hist { display: flex; gap: 12px; align-items: center; font-family: var(--pixel); font-size: 11px; color: var(--scr-text-2); border: 2px dashed var(--scr-dash); border-radius: 10px; padding: 10px 12px; }
.ss-save-hist .ss-hv { color: #cfd3ea; font-family: var(--sans); font-size: 13px; }
.ss-save-hist .ss-undo { margin-left: auto; color: var(--scr-gold); }
/* every screen-layer surface carries glass: highlight, vignette, scanlines */
.ss-glass { position: absolute; inset: 0; z-index: 20; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.03) 28%, rgba(255, 255, 255, 0) 40%), radial-gradient(130% 120% at 50% 50%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0 1px, rgba(0, 0, 0, 0) 1px 3px); }

/* ---------- pixel scene with HUD (inside the handheld screen) ---------- */
.ss-screen { position: relative; overflow: hidden; background: var(--scr-black); border-radius: 6px; aspect-ratio: 16 / 10; }
.ss-screen > img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; display: block; }
.ss-hud { position: absolute; font-family: var(--pixel); color: #fff; text-shadow: 2px 2px 0 #1b1030; letter-spacing: 0.02em; font-size: 18px; }
.ss-hud.is-alert { left: 50%; top: 14px; transform: translateX(-50%); font-size: 15px; padding: 4px 10px; white-space: nowrap; background: #8a1f2a; box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5); }
.ss-hud .ss-bar { display: block; height: 12px; width: 160px; border: 2px solid #fff; background: #2b1d3a; margin: 4px 0 3px; box-shadow: 2px 2px 0 #1b1030; }
.ss-hud .ss-bar b { display: block; height: 100%; }

/* ---------- step indicator ---------- */
.ss-steps { display: flex; gap: 40px; flex-wrap: wrap; }
.ss-step { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; color: var(--ink-3); }
.ss-step b { font-family: var(--pixel); font-weight: 400; font-size: 12px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: var(--r-tiny); background: var(--bg-deep); color: var(--ink-3-text); }
.ss-step.is-on { color: var(--ink); } .ss-step.is-on b { background: var(--brand); color: var(--ink); }

/* ---------- loop track ---------- */
.ss-loop { background: var(--card); border-radius: var(--r-card); padding: 24px 30px 18px; }
.ss-loop-track { position: relative; margin-top: 8px; height: 176px; }
.ss-loop-track svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ss-loop-node { position: absolute; top: 0; width: 22%; transform: translateX(-50%); text-align: center; }
.ss-loop-node .ss-ni { width: 68px; height: 68px; margin: 0 auto; border-radius: 20px; display: grid; place-items: center; font-size: 30px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.08), 0 0 0 6px #fff; }
.ss-loop-node b { display: block; margin-top: 10px; font-size: 17px; } .ss-loop-node span { font-size: 13px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.ss-faq { max-width: 980px; }
.ss-faq details { border-bottom: 1px solid var(--line-strong); }
.ss-faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 700; position: relative; }
.ss-faq summary::-webkit-details-marker { display: none; }
.ss-faq summary::after { content: '+'; position: absolute; right: 6px; top: 18px; font-family: var(--pixel); font-size: 22px; color: var(--brand-ink); transition: transform 0.3s; }
.ss-faq details[open] summary::after { transform: rotate(45deg); }
.ss-faq details p { margin: 0; padding: 0 40px 24px 0; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }

/* ---------- quote: a whole card with a brand quote mark. No line down the left ---------- */
/* quote: a plain paragraph, no card, no big quote mark, no side bar */
.ss-quote { font-size: 16px; line-height: 1.85; color: var(--ink-2); margin: 0; }
.ss-who { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-size: 16px; }
.ss-who .ss-av { width: 50px; height: 50px; border-radius: 16px; background: var(--brand-soft); display: grid; place-items: center; font-size: 26px; }

/* ---------- the save card and the handheld: always the supplied images, never redrawn ---------- */
.ss-object { display: block; height: auto; user-select: none; -webkit-user-drag: none; }
.ss-object.is-float { animation: ss-bob 3.2s ease-in-out infinite alternate; }
@keyframes ss-bob { from { transform: translateY(-4px); } to { transform: translateY(4px); } }

/* ---------- product screens ---------- */
/* page header: tag, then a heavy title, then one line of plain text */
.ss-pagehead .ss-tag { margin-bottom: 12px; }
.ss-pagehead p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }
/* empty state: the card, one sentence, one action */
.ss-empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 48px 24px; border-radius: var(--r-card); background: var(--studio); }
.ss-empty .ss-object { width: 200px; }
.ss-empty h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ss-empty p { margin: 0; max-width: 380px; font-size: 14.5px; color: var(--ink-2); }
/* facade hero: text left, object right, on the studio ground */
.ss-facade { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px; padding: 40px 44px; border-radius: var(--r-panel); background: var(--studio); position: relative; overflow: hidden; }
.ss-facade .ss-object { width: 260px; }
.ss-facade .ss-sticker { position: absolute; }

/* ---------- product screens: shared parts (DESIGN.md section 16) ---------- */
/* section heading: sits above its card, never inside it. Every sibling section on a page uses this one size */
.ss-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 40px 0 14px; }
.ss-sechead h2 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.ss-sechead p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
/* quiet button: an action that repeats on every row. Filled, no outline, so a column of them stays calm */
.ss-btn.is-quiet { background: var(--bg-deep); font-size: 14px; padding: 9px 16px; }
.ss-btn.is-quiet:hover { background: var(--brand-soft); }
/* icon button: copy, close, more. One look everywhere: no ring, no fill until hover */
.ss-iconbtn { width: 32px; height: 32px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); cursor: pointer; }
.ss-iconbtn:hover { background: rgba(22, 26, 43, 0.06); color: var(--ink); }
.ss-iconbtn:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ss-iconbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* list card: one white card, rows split by a hairline. Rows carry no outline of their own */
.ss-list { background: var(--card); border-radius: var(--r-card); box-shadow: var(--sh-hairline); padding: 6px 0; }
.ss-list-row { display: flex; align-items: center; gap: 14px; padding: 14px 22px; }
.ss-list-row + .ss-list-row { border-top: 1px solid var(--line); }
.ss-list-row .ss-grow { flex: 1; min-width: 0; }
.ss-list-row h3 { margin: 0; font-size: 15px; font-weight: 700; }
.ss-list-row p { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
/* third-party mark: the official logo in a tile. Same tile on every page */
.ss-tile { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: var(--r-small); background: var(--bg); }
.ss-tile img, .ss-tile svg { width: 22px; height: 22px; }
/* navigation row and its selected state: white lift on cream, amber wash on white. Never an ink bar */
.ss-navrow { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: var(--r-small); font-size: 14px; color: var(--ink-2); text-decoration: none; }
.ss-navrow svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ss-navrow small { margin-left: auto; font-size: 12px; color: var(--ink-3-text); }
.ss-navrow.is-active { background: var(--card); color: var(--ink); font-weight: 700; box-shadow: var(--sh-lift); }
.ss-card .ss-navrow.is-active, .ss-navrow.is-active.on-white { background: var(--brand-soft); box-shadow: none; }
/* command line with a copy button */
.ss-cmd { display: flex; align-items: center; gap: 12px; background: var(--row); border-radius: var(--r-small); padding: 10px 10px 10px 16px; font: 13.5px/1.5 var(--mono); color: var(--ink); }
.ss-cmd code { flex: 1; min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 980px) {
  .ss-head2 { grid-template-columns: 1fr; gap: 12px; align-items: start; margin-bottom: 28px; }
  .ss-head2 > :last-child { justify-self: start; text-align: left; max-width: none; padding-bottom: 0; }
}
@media (max-width: 720px) {
  .ss-panel { padding: 52px 20px; }
  .ss-h-hero { font-size: clamp(36px, 10vw, 44px); } .ss-h-panel, .ss-h-story { font-size: clamp(26px, 7.4vw, 32px); } .ss-h-facade { font-size: 28px; } .ss-h-page { font-size: 26px; }
  .ss-grid.is-4, .ss-grid.is-3, .ss-grid.is-2 { grid-template-columns: 1fr; }
  .ss-facade { grid-template-columns: 1fr; padding: 28px 22px; } .ss-facade .ss-object { width: 180px; justify-self: center; }
  .ss-form{ flex-direction: column; border-radius: 16px; gap: 6px; } .ss-form input { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ss-object.is-float { animation: none; } }
/* Shared connection-step illustrations for the website and console. */
.sd-illustration{margin:0;min-width:0;align-self:center;max-width:100%}
.sd-phone{width:264px;height:410px;background:#fdfcfa;border:6px solid #e6e6e3;border-radius:36px;overflow:hidden;box-shadow:0 10px 25px -20px rgba(60,40,20,.25);color:var(--ink);font-family:var(--sans)}
.sd-phone>div{height:100%;display:flex;flex-direction:column;position:relative}
.sd-sim-statusbar{display:flex;justify-content:space-between;flex:none;padding:9px 16px 3px;font-size:9px;font-weight:700;line-height:1.4}
.sd-sim-brand{display:flex;align-items:center;justify-content:space-between;flex:none;padding:8px 14px;font-size:13px;font-weight:900;border-bottom:1px solid #eeefec}
.sd-sim-avatar{display:grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#eee;font-size:9px;font-weight:500}
.sd-sim-content{flex:1;padding:12px 13px;min-height:0}
.sd-phone h4{font-family:var(--sans);font-size:16px;font-weight:900;line-height:1.4;margin:0 0 13px;letter-spacing:-.02em}
.sd-sim-search{background:#fff;border:1px solid #e8e8e5;border-radius:999px;color:var(--ink-3);font-size:10px;padding:7px 11px;margin-bottom:16px}
.sd-sim-label{font-size:10px;font-weight:700;line-height:1.4;margin:9px 0}
.sd-sim-list{background:#fff;border:1px solid #e8e8e5;border-radius:16px;overflow:hidden}
.sd-sim-source{display:flex;align-items:center;gap:7px;min-height:54px;padding:10px 8px;background:#fff}
.sd-sim-source+div{border-top:1px solid #eeefec}
.sd-sim-source img{width:23px;height:23px;object-fit:contain;flex:none}
.sd-sim-source b{font-size:10px;font-weight:700;flex:1;line-height:1.5}
.sd-sim-button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#2b2824;color:#fff;font-size:9px;font-weight:700;line-height:1.5;padding:6px 9px;white-space:nowrap}
.sd-sim-quiet{border-radius:999px;background:#f3f3f0;color:var(--ink-2);font-size:9px;line-height:1.5;padding:6px 8px;white-space:nowrap}
.sd-sim-source.is-selected{background:#f7f7f5}
.sd-sim-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));flex:none;padding:5px 5px 0;border-top:1px solid #ecece9;background:#fff;gap:2px}
.sd-sim-tabs>span{display:flex;align-items:center;flex-direction:column;gap:2px;color:var(--ink-3);font-size:8px;white-space:nowrap;line-height:1.5}
.sd-sim-tabs i{display:grid;place-items:center;width:38px;height:26px;border-radius:999px;font-style:normal}
.sd-sim-tabs svg{width:15px;height:15px}
.sd-sim-tabs .is-active{color:var(--ink);font-weight:700}
.sd-sim-tabs .is-active i{background:#eeefec}
.sd-sim-home{flex:none;width:76px;height:3px;background:#282824;border-radius:999px;align-self:center;margin:9px 0 6px}
.sd-sim-download{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:20px;text-align:center;background:#fff}
.sd-sim-download>img{border-radius:12px}
.sd-sim-download>b{font-size:23px;font-weight:900;letter-spacing:-.03em}
.sd-step .sd-sim-download p{font-size:11px;line-height:1.7;color:var(--ink-3)}
.sd-sim-download .sd-sim-button{font-size:11px;padding:9px 18px}
.sd-sim-download small{font-size:9px;color:var(--ink-3)}
.sd-sim-systembar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 13px;font-size:10px;border-bottom:1px solid #e8e8e5}
.sd-sim-permission{flex:1;padding:18px 16px;text-align:center}
.sd-sim-permission>img{display:block;object-fit:contain;margin:0 auto 9px}
.sd-sim-permission h4{font-size:17px;margin:0 0 9px}
.sd-step .sd-sim-permission p{font-size:11px;line-height:1.7;color:var(--ink-3);margin:0 0 13px}
.sd-sim-options{border:1px solid #e8e8e5;background:#fff;border-radius:16px;padding:0 10px;margin-bottom:14px}
.sd-sim-options>div{display:flex;align-items:center;justify-content:space-between;padding:9px 0;font-size:11px}
.sd-sim-options>div+div{border-top:1px solid #eee}
.sd-sim-toggle{width:26px;height:16px;border-radius:999px;background:#44453e;position:relative}
.sd-sim-toggle:after{content:"";position:absolute;width:12px;height:12px;right:2px;top:2px;border-radius:999px;background:#fff}
.sd-sim-permission>.sd-sim-button{display:flex;font-size:11px;padding:9px 16px}
.sd-sim-field{border:1px solid #e4e4df;background:#fff;border-radius:12px;text-align:left;font-size:10px;color:var(--ink-3);padding:10px;margin-bottom:10px}
.sd-sim-import{text-align:center;background:#f7f7f5;border:1px solid #e8e8e5;border-radius:16px;padding:12px;margin-top:10px}
.sd-sim-import>span{display:block;font-size:18px;line-height:1.2;margin-bottom:5px}
.sd-sim-import>b{font-size:11px;display:block}
.sd-sim-import small{font-size:9px;color:var(--ink-3)}
.sd-sim-progress{height:4px;background:#e6e6df;border-radius:999px;margin:10px 0 4px}
.sd-sim-progress i{display:block;width:100%;height:100%;background:#54554e;border-radius:999px}
.sd-sim-records{display:flex;gap:5px;font-size:9px;color:var(--ink-3)}
.sd-sim-records span{padding:4px 8px;background:#f1f2ef;border-radius:999px}
@media(max-width:620px){.sd-questions li{gap:12px}.sd-phone{width:264px}.sd-download{font-size:12px}}

/* Garmin is a browser-only authorization flow, with desktop console simulations. */
.sd-step-web{min-height:480px}
.sd-web-illustration{width:100%;justify-self:stretch}
.sd-web{container-type:inline-size;width:100%;aspect-ratio:1.65;background:#fff;border:1px solid #e4e4e0;border-radius:16px;overflow:hidden;color:var(--ink);box-shadow:0 10px 25px -23px rgba(60,40,20,.2)}
.sd-web>div{height:100%;display:flex;flex-direction:column;font-size:clamp(8px,1.75cqi,11px);line-height:1.5}
.sd-web-browser{display:flex;align-items:center;gap:14px;flex:none;height:25px;padding:4px 10px;border-bottom:1px solid #e9e9e5;background:#fafaf8;font-size:.85em;color:var(--ink-3)}
.sd-web-browser i{font-style:normal;letter-spacing:3px}
.sd-web-layout{display:flex;flex:1;min-height:0;background:#fdfcfa}
.sd-web-sidebar{display:flex;flex-direction:column;flex:none;width:21%;gap:8px;padding:12px 8px;border-right:1px solid #ecece7;background:#fdfcfa;font-size:.9em;white-space:nowrap}
.sd-web-sidebar>b{font-size:1.3em;margin-bottom:10px;letter-spacing:-.02em}
.sd-web-sidebar strong{font-weight:700;background:#edeeeb;border-radius:7px;padding:5px;margin:0 -3px}
.sd-web-content{flex:1;min-width:0;padding:16px 14px;background:#fff}
.sd-web h4{font-family:var(--sans);font-size:1.65em;line-height:1.4;font-weight:900;letter-spacing:-.02em;margin:0 0 18px}
.sd-step .sd-web p{font-size:1em;line-height:1.5;margin:0 0 10px;color:var(--ink-2)}
.sd-web-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.sd-web-head p{font-weight:700;margin:0!important}
.sd-web-head>span{font-size:.85em;color:var(--ink-3);border:1px solid #e8e8e3;border-radius:999px;padding:5px 10px}
.sd-web-content>small{font-size:.9em;font-weight:700;display:block;margin-bottom:10px}
.sd-web-sources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sd-web-source{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;padding:14px 10px;border:1px solid #e8e8e3;border-radius:16px;background:#fff;font-size:1em}
.sd-web-source img{width:22px;height:22px;object-fit:contain}
.sd-web-source b{font-weight:700;line-height:1.5}
.sd-web-source .sd-web-button,.sd-web-source .sd-web-quiet{grid-column:2;justify-self:start}
.sd-web-button,.sd-web-quiet{display:inline-flex;align-items:center;justify-content:center;padding:5px 12px;background:#2b2824;border-radius:999px;color:#fff;font-size:.9em;white-space:nowrap}
.sd-web-quiet{background:#f3f3f0;color:var(--ink-2)}
.sd-web-source.is-selected{border-color:#bfc0b9;background:#fafaf8}
.sd-web-consent{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;width:min(64%,260px);margin:10px auto;padding:14px 20px;border:1px solid #e5e5df;border-radius:16px;background:#fff}
.sd-web-consent>img{width:28px;height:28px;object-fit:contain}
.sd-web-consent>b{font-size:1.4em;margin-bottom:4px}
.sd-web-field{width:100%;padding:7px 10px;border:1px solid #e5e5df;border-radius:7px;font-size:.9em;color:var(--ink-3)}
.sd-web-checks{display:flex;flex-direction:column;align-self:stretch;gap:5px;font-size:.9em}
.sd-web-consent>.sd-web-button{align-self:stretch;margin-top:4px}
.sd-web-connected{border:1px solid #e5e5df;border-radius:16px;padding:14px;background:#fff}
.sd-web-connected>div:first-child{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.sd-web-connected img{width:23px;height:23px;object-fit:contain}
.sd-web-connected>div>span{margin-left:auto;font-size:.9em;white-space:nowrap}
.sd-step .sd-web-connected p{font-size:1em;margin:10px 0 8px}
.sd-web-progress{height:5px;border-radius:999px;background:#f0f0eb;margin-bottom:12px}
.sd-web-progress i{display:block;width:100%;height:100%;background:#66695e;border-radius:999px}
.sd-web-connected small{font-size:.9em;color:var(--ink-3);display:block}
.sd-web-date{font-size:1em;display:block;margin-top:4px}
.sd-step-notes{list-style:none;margin:12px 0 0;padding:0;color:var(--ink-3-text);font-size:13px;line-height:1.9}
.sd-step-notes li:before{content:'· ';}
@container(max-width:380px){.sd-web-content{padding:10px}.sd-web h4{margin-bottom:10px}.sd-web-head{margin-bottom:10px}.sd-web-head>span{padding:3px 7px}.sd-web-sidebar{gap:6px;padding:9px 6px}.sd-web-sidebar>b{margin-bottom:5px}.sd-web-source{grid-template-columns:16px minmax(0,1fr);gap:5px;padding:8px 6px;border-radius:12px}.sd-web-source img{width:16px;height:16px}.sd-web-button,.sd-web-quiet{padding:4px 8px}.sd-web-consent{gap:5px;margin:6px auto;padding:7px 12px}.sd-web-consent>img{width:18px;height:18px}.sd-web-consent>b{font-size:1.2em;margin-bottom:0}.sd-web-field{padding:4px 7px}.sd-web-checks{gap:3px}.sd-web-connected{padding:10px}.sd-web-connected>div:first-child{gap:5px;margin-bottom:7px}.sd-web-connected img{width:17px;height:17px}.sd-web-progress{margin-bottom:6px}}
@media(max-width:620px){.sd-web{aspect-ratio:1.45}}


.sd-phone-preview{position:relative;width:193.18px;height:300px;flex:none;max-width:100%}
.sd-phone-preview .sd-phone{position:absolute;top:0;left:0;transform:scale(.7317073171);transform-origin:top left}

.sd-page{--bg:#f8f5f0;--bg-deep:#f0f0ed;--surface:#fafaf8;--card:#fff;--row:#fafafa;--line:#e7e7e3;--line-strong:#dcdcd7;--ink:#2b2824;--ink-2:#66645f;--ink-3-text:#6b6862;--brand:#2b2824;--brand-soft:#efefec;--brand-ink:#484640;--site-paper:var(--bg);--site-card:var(--card);--site-ink:var(--ink);--site-muted:var(--ink-2);--site-sage:var(--brand-ink);--site-line:var(--line);--site-soft:var(--surface);--site-serif:var(--sans);font-family:var(--sans);color:var(--ink);background:var(--bg)}
.sd-page .site-nav{font-family:var(--sans);border:1px solid var(--line);box-shadow:none;border-radius:var(--r-card)}
.sd-page .site-nav .site-start{background:var(--ink);color:var(--card);border:0;border-radius:10px}
.sd-page .ss-btn{background:var(--ink);color:var(--card)}
.sd-page .ss-tag{background:var(--bg-deep);color:var(--ink-2)}
.sd-page .ss-list{border:1px solid var(--line);box-shadow:none}

.sd-page .site-main{max-width:1148px;padding-top:32px}
.sd-page .site-breadcrumb{flex-wrap:wrap;margin-bottom:32px;gap:8px}
.sd-page .site-breadcrumb span:last-child{max-width:100%}
.sd-detail{max-width:1100px;margin:0 auto}
.sd-detail a:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.sd-header{display:block;margin-bottom:28px}
.sd-header-copy{min-width:0}
.sd-brand{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px;font-weight:700;margin-bottom:18px}
.sd-brand img{object-fit:contain;flex:none;border-radius:var(--r-tiny)}
.sd-header h1{font-family:var(--display,var(--sans));font-size:34px;font-weight:500;line-height:1.3;letter-spacing:-.02em;margin:0;max-width:620px;text-wrap:balance}
.sd-header.ss-pagehead p{max-width:560px;font-size:16px;line-height:1.8;margin-top:14px}
.sd-chips{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:20px 0 24px;list-style:none;font-size:12px;color:var(--ink-2)}
.sd-chips li{background:var(--bg-deep);padding:5px 11px;border-radius:var(--r-pill)}
.sd-step-number{display:inline-grid;place-items:center;background:var(--brand-soft);color:var(--brand-ink);border-radius:var(--r-tiny);font:600 13px/1 var(--sans);font-variant-numeric:tabular-nums;width:30px;height:30px;flex:none}
.sd-toc{display:flex;flex-wrap:wrap;gap:8px 20px;padding:12px 0 6px;font-size:13px}
.sd-toc a{display:inline-flex;align-items:center;gap:7px;min-height:36px;text-decoration:none;color:var(--ink-2)}
.sd-toc a:first-child{color:var(--ink);font-weight:700}
.sd-toc b{font:600 12px var(--sans);font-variant-numeric:tabular-nums;color:var(--brand-ink)}
.sd-toc a:hover,.sd-text-link:hover,.sd-references a:hover{color:var(--brand-ink);text-decoration:underline;text-underline-offset:4px}
.sd-detail .sd-section{margin-top:40px}
.sd-detail h2{font-family:var(--sans);font-size:20px;font-weight:600;line-height:1.5;letter-spacing:-.02em;margin:0 0 14px;scroll-margin-top:24px}
.sd-detail h3{font-family:var(--sans);font-size:18px;font-weight:700;line-height:1.5;letter-spacing:-.01em}
.sd-sub{font-size:14px;line-height:1.8;color:var(--ink-2);max-width:760px;margin:0 0 20px}
.sd-steps{display:grid;grid-template-columns:repeat(var(--sd-columns),minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0;max-width:100%;min-width:0}
.sd-step{display:flex;flex-direction:column;gap:10px;min-width:0;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:24px;scroll-margin-top:20px}
.sd-step h3{margin:0;font-size:16px;line-height:1.5;min-width:0}
.sd-step p{font-size:14px;line-height:1.85;color:var(--ink-2);margin:0;max-width:560px}
.sd-illustration{margin:0;min-width:0;align-self:center;max-width:100%}
.sd-table{overflow-x:auto;padding:8px 16px}
.sd-table table{border-collapse:collapse;width:100%;text-align:left;font-size:14px;line-height:1.8}
.sd-table th,.sd-table td{padding:16px;vertical-align:top}
.sd-table thead th{font-size:12px;color:var(--ink-3-text);font-weight:500}
.sd-table tbody th{width:23%;color:var(--ink);font-weight:700}
.sd-table td{width:38.5%;color:var(--ink-2)}
.sd-table tbody tr{border-top:1px solid var(--line)}
.sd-section>.ss-note{margin-top:16px}
.sd-questions{list-style:none;padding:6px 0;margin:0 0 12px}
.sd-questions li{display:flex;align-items:center;gap:20px;padding:18px 24px;font-size:15px;line-height:1.8}.sd-questions li>span{flex:1;min-width:0}.sd-questions .ap-copy{width:42px;height:42px;border-radius:10px;font-size:12px}.sd-questions .ap-copy:hover{background:var(--bg-deep)}
.sd-questions li+li{border-top:1px solid var(--line)}
.sd-text-link{display:inline-flex;align-items:center;min-height:36px;font-size:14px;font-weight:500;text-underline-offset:4px}
.sd-detail .sd-faq{border:1px solid var(--line);max-width:none;padding:4px 24px}
.sd-faq details{border-bottom:0}
.sd-faq details+details{border-top:1px solid var(--line)}
.sd-faq summary{font-weight:700;font-size:15px;line-height:1.7;padding:20px 30px 20px 0}
.sd-faq p{font-size:14px;line-height:1.85;max-width:800px}
.sd-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 14px;gap:0 14px}
.sd-related>a{display:flex;align-items:center;gap:12px;min-width:0;padding:16px 12px;text-decoration:none;font-size:15px;font-weight:700;border-radius:var(--r-small)}
.sd-related>a:hover{background:var(--surface)}
.sd-related img{object-fit:contain;flex:none;border-radius:var(--r-tiny)}
.sd-related>a>span:first-of-type{flex:1;min-width:0}
.sd-related small{display:block;font-size:12px;line-height:1.7;font-weight:400;color:var(--ink-3-text);margin-top:3px}
.sd-references{margin-top:20px;color:var(--ink-3-text);font-size:12px;line-height:1.8}
.sd-references summary{cursor:pointer;min-height:36px;display:list-item;width:fit-content}
.sd-references ul{padding-left:20px}
.sd-references a{display:inline-block;min-height:36px;max-width:100%;overflow-wrap:anywhere}
.sd-cta{margin-top:48px;background:var(--surface);border-radius:var(--r-card);padding:30px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.sd-cta h2{margin:0;font-size:20px}
.sd-cta p{margin:6px 0 0;font-size:14px;color:var(--ink-2)}
@media(max-width:860px){.sd-header h1{font-size:32px}.sd-header.ss-pagehead p{font-size:15px}.sd-table{padding:6px}.sd-table th,.sd-table td{padding:13px}}
@media(max-width:620px){.sd-page .site-main{padding:24px 18px 64px}.sd-page .site-breadcrumb{font-size:12px;margin-bottom:24px}.sd-header h1{font-size:30px}.sd-header .ss-tag{margin-bottom:16px}.sd-brand{font-size:13px}.sd-brand img{width:32px;height:32px}.sd-header-copy>.ss-btn{width:100%;justify-content:center}.sd-toc{gap:4px 16px;font-size:12px}.sd-detail .sd-section{margin-top:32px}.sd-step p{font-size:14px}.sd-table table{min-width:0;font-size:12px;table-layout:fixed}.sd-table th,.sd-table td{padding:12px 8px;overflow-wrap:break-word}.sd-table tbody th{width:22%}.sd-table th:nth-child(2),.sd-table th:nth-child(3){width:39%}.sd-table td{width:39%}.sd-questions li{padding:18px 20px}.sd-detail .sd-faq{padding:4px 20px}.sd-related{grid-template-columns:minmax(0,1fr);padding:6px 10px}.sd-cta{align-items:stretch;flex-direction:column;padding:24px 20px}.sd-cta>.ss-btn{justify-content:center}}

/* Four concise steps, each with a simulated mobile screenshot. */
.sd-step .sd-result{margin-top:auto;padding-top:4px;color:var(--ink-3-text);font-size:12px;line-height:1.6}
.sd-download{display:inline-flex;align-items:center;gap:10px;min-height:42px;margin-top:18px;padding:9px 16px;border:1px solid var(--line-strong);border-radius:10px;background:var(--card);color:var(--ink);font-size:13px;font-weight:700;text-decoration:none}
.sd-download:hover{background:var(--bg-deep)}
.sd-data-note{margin-top:14px;margin-bottom:0}
/* Supplement 4: parallel cards; the data table above is intentionally unchanged. */
.sd-header h1{max-width:none}
.sd-header.ss-pagehead p{max-width:760px}
.sd-step-heading{display:flex;align-items:flex-start;gap:8px;min-height:44px}
.sd-step-number{width:26px;height:26px;font-size:12px}
.sd-step .sd-step-action{min-height:64px;font-size:13px;line-height:1.65}
.sd-step-download{min-height:38px}
.sd-step-download .sd-download{margin:0;min-height:38px;padding:7px 10px;font-size:12px;gap:5px;max-width:100%}
.sd-phone-preview{position:relative;width:193.18px;height:300px;flex:none;max-width:100%}
.sd-phone-preview .sd-phone{position:absolute;top:0;left:0;transform:scale(.7317073171);transform-origin:top left}
.sd-simulation-note{margin:8px 0 0;color:var(--ink-3-text);font-size:12px;line-height:1.6}
@media(max-width:900px){.sd-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  .sd-steps{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding-bottom:12px;align-items:stretch;touch-action:pan-x pan-y}
  .sd-step{scroll-snap-align:start;scroll-snap-stop:always}
  .sd-step:last-child{scroll-snap-align:end}
  .sd-step-heading{min-height:44px}
  .sd-step .sd-step-action{min-height:64px;font-size:13px}
}
@media(min-width:901px) and (max-width:1030px){
  .sd-phone-preview{width:161px;height:250px}
  .sd-phone-preview .sd-phone{transform:scale(.6097560976)}
}
/* Supplement 6: actionable steps share the primary CTA destination. */
.sd-step-button{width:100%;max-width:100%;min-height:38px;justify-content:center;padding:8px 10px;font-size:12px;line-height:1.45;white-space:normal;text-align:center}
.sd-page .sd-step-button.is-secondary{background:var(--card);color:var(--ink);border:1px solid var(--line-strong)}
.sd-steps .sd-web{min-height:205px}

.sd-header-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px}
.site-page .sd-detail .ss-btn{max-width:100%;white-space:normal;text-align:center;padding-block:10px}
.sd-header-actions .is-secondary{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-strong)}
.sd-page .ss-btn:disabled{background:var(--bg-deep);color:var(--ink-2);cursor:default;opacity:1}
.sd-header.ss-pagehead .sd-availability{font-size:14px;line-height:1.8;color:var(--ink-2);margin-top:14px}
.sd-key-label{display:block;width:100%;text-align:left;font-size:12px;color:var(--ink-2)}
.sd-key-label .sd-web-field{display:block;margin:5px 0 12px;overflow-wrap:anywhere}
.sd-relay-content{padding:24px 16px;display:flex;flex-direction:column;gap:16px}
.sd-relay-content>img{object-fit:contain;border-radius:7px}
.sd-relay-content h4{font-size:16px;margin:0;min-height:0}
.sd-relay-content p,.sd-relay-content small{font-size:12px;line-height:1.7;margin:0}
.sd-relay-content .sd-sim-options{width:100%;margin:0}
.sd-detail button:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
