/* NAVI docs — public site stylesheet.
   Ink Elevated palette (indigo accent on a cool near-neutral ground; shared with the console) + component styling, arranged in a Mintlify-style
   three-column shell (top bar / left grouped nav / content / right "On this page"). Theme-aware: system preference
   by default, with an explicit [data-theme] toggle that wins in both directions. Code token colors map to the
   tempest/highlight `.hl-*` classes emitted at render time. */

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #f1f2f8;
  --border: #e5e7f0;
  --border-strong: #d3d6e4;
  --ink: #111218;
  --ink-2: #474b5a;
  --muted: #71768a;
  --brand: #4d5ae0;
  --brand-600: #4d5ae0;   /* resting accent (eyebrow/active/link) must be the exact palette accent */
  --brand-700: #3b47c9;   /* darker shade, used only for hover */
  --brand-tint: #ecedfc;
  --link: #4d5ae0;
  --amber: #9a6410; --amber-tint: #fbf1de;
  --red: #bd352e; --red-tint: #fbebe9;
  --green: #1c7d4d; --green-tint: #e4f4ea;
  --blue: #2f7fd1; --blue-tint: #eaf2fb;
  --code-bg: #0f101a; --code-ink: #d6d9e6; --code-border: #20222f;
  --th-bg: #4d5ae0; --th-ink: #ffffff; --zebra: #f6f7fb;
  --shadow-sm: 0 1px 2px rgba(16,52,44,.05);
  --shadow: 0 1px 2px rgba(16,52,44,.04), 0 10px 30px rgba(16,52,44,.07);
  --radius: 12px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --nav-w: 270px;
  --toc-w: 220px;
  --maxw: 820px;
  --header-h: 57px;
  --shell-max: 1440px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090a0e; --surface: #15171e; --surface-2: #1c1f28; --border: #262a35; --border-strong: #363b48;
    --ink: #f0f1f5; --ink-2: #b3b8c4; --muted: #7c828f;
    --brand: #4d5ae0; --brand-600: #7c8cff; --brand-700: #9aa6ff; --brand-tint: rgba(77,90,224,.24); --link: #7c8cff;
    --amber: #d69a3d; --amber-tint: rgba(214,154,61,.14); --red: #e8756c; --red-tint: rgba(232,117,108,.14);
    --green: #5fc98a; --green-tint: rgba(95,201,138,.14); --blue: #6ba6e6; --blue-tint: rgba(107,166,230,.14);
    --code-bg: #0d0e13; --code-ink: #d3d6df; --code-border: #22252f;
    --th-bg: #2b3170; --th-ink: #eceeff; --zebra: rgba(255,255,255,.025);
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35); --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  }
}
:root[data-theme="light"] {
  --bg:#f6f7fb;--surface:#fff;--surface-2:#f1f2f8;--border:#e5e7f0;--border-strong:#d3d6e4;
  --ink:#111218;--ink-2:#474b5a;--muted:#71768a;--brand:#4d5ae0;--brand-600:#4d5ae0;--brand-700:#3b47c9;
  --brand-tint:#ecedfc;--link:#4d5ae0;--amber:#9a6410;--amber-tint:#fbf1de;--red:#bd352e;--red-tint:#fbebe9;
  --green:#1c7d4d;--green-tint:#e4f4ea;--blue:#2f7fd1;--blue-tint:#eaf2fb;
  --code-bg:#0f101a;--code-ink:#d6d9e6;--code-border:#20222f;--th-bg:#4d5ae0;--th-ink:#fff;--zebra:#f6f7fb;
  --shadow-sm:0 1px 2px rgba(16,52,44,.05);--shadow:0 1px 2px rgba(16,52,44,.04),0 10px 30px rgba(16,52,44,.07);
}
:root[data-theme="dark"] {
  --bg:#090a0e;--surface:#15171e;--surface-2:#1c1f28;--border:#262a35;--border-strong:#363b48;
  --ink:#f0f1f5;--ink-2:#b3b8c4;--muted:#7c828f;--brand:#4d5ae0;--brand-600:#7c8cff;--brand-700:#9aa6ff;
  --brand-tint:rgba(77,90,224,.24);--link:#7c8cff;--amber:#d69a3d;--amber-tint:rgba(214,154,61,.14);
  --red:#e8756c;--red-tint:rgba(232,117,108,.14);--green:#5fc98a;--green-tint:rgba(95,201,138,.14);
  --blue:#6ba6e6;--blue-tint:rgba(107,166,230,.14);--code-bg:#0d0e13;--code-ink:#d3d6df;--code-border:#22252f;
  --th-bg:#2b3170;--th-ink:#eceeff;--zebra:rgba(255,255,255,.025);
  --shadow:0 1px 2px rgba(0,0,0,.3),0 10px 30px rgba(0,0,0,.35);--shadow-sm:0 1px 2px rgba(0,0,0,.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

/* ---------- Top bar ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--border); }
.sh-bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); max-width: var(--shell-max); margin: 0 auto; padding: 0 22px; }
.sh-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; }
.sh-logo:hover { text-decoration: none; opacity: .85; }
.sh-logo .mk {
  width: 30px; height: 30px; border-radius: 8px; flex: none; display: grid; place-items: center;
  background: linear-gradient(150deg, #5563d8, #232a5e); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 10px rgba(35,42,94,.34);
}
.sh-logo .mk svg { width: 17px; height: auto; display: block; }
.sh-logo .nm span { display: block; font-size: 10.5px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.sh-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Version selector */
.ver-select {
  appearance: none; -webkit-appearance: none;
  font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 9px; padding: 7px 34px 7px 12px; cursor: pointer; box-shadow: var(--shadow-sm);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238B958F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
}
.ver-select:hover { border-color: var(--brand); }
.ver-select:focus-visible { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

/* Theme switcher (System / Light / Dark). The trigger shows the active mode's icon; the dropdown lets
   you pick. "System" clears the stored preference so the OS setting drives the page (via prefers-color-scheme). */
.theme-switch { position: relative; flex: none; }
.theme-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.theme-btn:hover { background: var(--surface-2); }
.theme-btn svg { width: 18px; height: 18px; display: none; }
/* Trigger icon reflects the current choice (set on .theme-switch via data-mode) */
.theme-switch[data-mode="system"] .theme-btn .i-system,
.theme-switch[data-mode="light"] .theme-btn .i-light,
.theme-switch[data-mode="dark"] .theme-btn .i-dark { display: block; }

.theme-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; z-index: 60; }
.theme-menu[hidden] { display: none; }
.tm-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-align: left; }
.tm-item:hover { background: var(--surface-2); }
.tm-item .lead { width: 16px; height: 16px; flex: none; color: var(--muted); }
.tm-item .lbl { flex: 1; }
.tm-item .chk { width: 15px; height: 15px; flex: none; color: var(--brand-600); opacity: 0; }
.tm-item[aria-checked="true"] { color: var(--brand-600); font-weight: 650; }
.tm-item[aria-checked="true"] .lead { color: var(--brand-600); }
.tm-item[aria-checked="true"] .chk { opacity: 1; }

.menu-btn { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; flex: none; }

/* ---------- Shell ---------- */
.shell { display: grid; grid-template-columns: var(--nav-w) minmax(0, 1fr) var(--toc-w); align-items: start; max-width: var(--shell-max); margin: 0 auto; }
@media (max-width: 1200px) { .shell { grid-template-columns: var(--nav-w) minmax(0, 1fr); } }

/* ---------- Sidebar ---------- */
.side {
  position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto;
  border-right: 1px solid var(--border); background: var(--surface);
  padding: 22px 16px 40px; display: flex; flex-direction: column; gap: 2px;
}
.nav-group { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); font-weight: 800; padding: 16px 10px 8px; margin-top: 8px; }
.side .nav-group:first-child { padding-top: 2px; margin-top: 0; }
.side a.nav { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.35; border: 1px solid transparent; }
.side a.nav:hover { background: var(--surface-2); text-decoration: none; color: var(--ink); }
.side a.nav.active { background: var(--brand-tint); color: var(--brand-600); font-weight: 650; }
.side-foot { margin-top: auto; padding: 14px 10px 0; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--border); }

/* ---------- Landing (product index) ---------- */
.main-plain { min-width: 0; padding: 0 clamp(20px, 4vw, 48px); }
.main-plain .wrap { max-width: 960px; margin: 0 auto; padding: 56px 0 96px; }
.landing-lead { font-size: 17px; color: var(--ink-2); max-width: 62ch; margin: 8px 0 36px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.product-card { display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 18px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .12s, box-shadow .12s, transform .12s; }
.product-card:hover { text-decoration: none; border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card .pc-name { font-size: 18px; font-weight: 720; letter-spacing: -.01em; color: var(--ink); }
.product-card .pc-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.product-card .pc-go { margin-top: 10px; font-size: 13px; font-weight: 650; color: var(--brand-600); }

/* ---------- Content ---------- */
main { min-width: 0; padding: 0 clamp(20px, 3vw, 48px); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 40px 0 96px; }
.page-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); }
.page-title { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 8px 0 24px; font-weight: 780; text-wrap: balance; }

.md-content { font-size: 16px; }
.md-content h2 { font-size: 26px; letter-spacing: -.02em; margin: 40px 0 6px; font-weight: 740; text-wrap: balance; scroll-margin-top: calc(var(--header-h) + 16px); }
.md-content h3 { font-size: 18.5px; letter-spacing: -.01em; margin: 30px 0 6px; font-weight: 680; scroll-margin-top: calc(var(--header-h) + 16px); }
.md-content h4 { font-size: 14.5px; margin: 22px 0 4px; font-weight: 680; }
.md-content p { margin: 12px 0; }
.md-content ul, .md-content ol { padding-left: 22px; }
.md-content li { margin: 5px 0; }
.md-content hr { height: 1px; background: var(--border); border: 0; margin: 30px 0; }
.md-content a { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--link) 42%, transparent); text-underline-offset: 2px; text-decoration-thickness: 1.5px; }
.md-content a:hover { color: var(--brand-700); text-decoration-color: currentColor; }

/* Images */
.md-content img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); display: block; margin: 18px 0; }

/* Heading anchors */
.heading-anchor { margin-left: 8px; color: var(--muted); font-weight: 400; opacity: 0; text-decoration: none; transition: opacity .12s; }
.md-content h2:hover .heading-anchor, .md-content h3:hover .heading-anchor { opacity: 1; }

/* Inline code */
.md-content :not(pre) > code { font-family: var(--mono); font-size: .88em; background: var(--brand-tint); color: var(--brand-600); padding: 1px 6px; border-radius: 5px; border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); }

/* Callouts */
.note { border-radius: 11px; padding: 14px 16px; margin: 18px 0; border: 1px solid var(--border); background: var(--surface-2); font-size: 14.5px; }
.note > :first-child { margin-top: 0; } .note > :last-child { margin-bottom: 0; }
.note.tip { border-color: color-mix(in srgb, var(--brand) 35%, var(--border)); background: var(--brand-tint); }
.note.warn { border-color: color-mix(in srgb, var(--amber) 40%, var(--border)); background: var(--amber-tint); }
.note.danger { border-color: color-mix(in srgb, var(--red) 40%, var(--border)); background: var(--red-tint); }
.note.success { border-color: color-mix(in srgb, var(--green) 40%, var(--border)); background: var(--green-tint); }

/* Card grid (:::cards) */
.md-content .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
@media (max-width: 640px) { .md-content .grid-2 { grid-template-columns: 1fr; } }
.md-content .mini { border: 1px solid var(--border); border-radius: 11px; padding: 15px 16px; background: var(--surface); }
.md-content .mini h4 { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; }
.md-content .mini p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* Screenshot frame placeholder */
.shot-frame { border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); margin: 20px 0; }
.shot-bar { padding: 9px 13px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--muted); font-family: var(--mono); }
.shot-body { display: grid; place-items: center; min-height: 120px; font-size: 30px; color: var(--border-strong); background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px); }

/* Code blocks (tempest/highlight tokens) */
.code-block { position: relative; margin: 18px 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--code-border); background: var(--code-bg); box-shadow: 0 6px 22px rgba(3,10,24,.22); }
.code-block::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #6f9fe0, #3fb6c0); z-index: 1; }
.code-head { display: flex; align-items: center; padding: 9px 14px; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); }
.code-lang { font-size: 11.5px; color: #9db4d4; font-family: var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.code-copy { margin-left: auto; font-family: var(--sans); font-size: 12px; font-weight: 600; color: #dce9fb; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 7px; padding: 4px 11px; cursor: pointer; }
.code-copy:hover { background: rgba(255,255,255,.16); }
.code-copy .copy-done { display: none; } .code-copy.copied .copy-idle { display: none; } .code-copy.copied .copy-done { display: inline; }
.code-block pre { margin: 0; padding: 16px 18px; overflow-x: auto; }
.code-block code { font-family: var(--mono); font-size: 13.5px; line-height: 1.72; color: var(--code-ink); white-space: pre; }
.hl-comment { color: #7089a8; font-style: italic; }
.hl-keyword, .hl-operator { color: #c99bf0; }
.hl-string, .hl-value { color: #8fe3a2; }
.hl-number, .hl-literal { color: #f4a55f; }
.hl-property, .hl-attribute { color: #7cc7ff; }
.hl-type, .hl-generic { color: #9fd3ff; }
.hl-variable { color: #e6c07b; }
.hl-injection { color: #f4a55f; }

/* Tables (wrapped in .table-wrap by docs.js for horizontal scroll) */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-sm); }
.md-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.md-content thead th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--th-ink); font-weight: 800; padding: 13px 16px; background: var(--th-bg); white-space: nowrap; }
.md-content td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--ink-2); vertical-align: top; }
.md-content tbody tr:nth-child(even) td { background: var(--zebra); }
.md-content tbody tr:hover td { background: var(--brand-tint); }
.md-content tr:last-child td { border-bottom: 0; }

/* Prev / next footer */
.page-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.page-nav a { flex: 1 1 0; border: 1px solid var(--border-strong); border-radius: 11px; padding: 14px 16px; background: var(--surface); box-shadow: var(--shadow-sm); }
.page-nav a:hover { border-color: var(--brand); text-decoration: none; }
.page-nav .dir { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.page-nav .ttl { font-size: 15px; font-weight: 650; color: var(--ink); margin-top: 3px; }
.page-nav .next { text-align: right; }

/* ---------- Right "On this page" TOC ---------- */
.toc { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 40px 18px 40px 14px; }
.toc .h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 700; margin: 0 0 10px 12px; }
.toc a { display: block; padding: 4px 12px; border-left: 2px solid var(--border); color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.lvl-3 { padding-left: 24px; font-size: 12px; }
.toc a.active { color: var(--brand-600); border-left-color: var(--brand); font-weight: 650; }
@media (max-width: 1200px) { .toc { display: none; } }

/* ---------- Mobile ---------- */
.scrim { display: none; position: fixed; inset: 0; background: rgba(6,16,12,.4); z-index: 65; }
@media (max-width: 940px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; top: 0; left: 0; height: 100vh; width: 84%; max-width: 320px; z-index: 70; transform: translateX(-102%); transition: transform .22s ease; box-shadow: var(--shadow); }
  :root[data-nav="open"] .side { transform: translateX(0); }
  .menu-btn { display: grid; }
  :root[data-nav="open"] .scrim { display: block; }
}
@media (prefers-reduced-motion: reduce) { .side { transition: none; } }

/* ---------- Search trigger + palette ---------- */
.search-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); font-family: var(--sans); font-size: 13px; cursor: pointer; box-shadow: var(--shadow-sm); }
.search-trigger:hover { border-color: var(--brand); color: var(--ink-2); }
.search-trigger svg { width: 15px; height: 15px; flex: none; }
.search-trigger kbd { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 5px; padding: 1px 6px; }
@media (max-width: 600px) { .search-trigger .lbl, .search-trigger kbd { display: none; } }

.copy-page { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 9px; padding: 7px 12px; cursor: pointer; box-shadow: var(--shadow-sm); }
.copy-page:hover { background: var(--surface-2); color: var(--ink); }
.copy-page.copied { color: var(--brand-600); border-color: var(--brand); }
@media (max-width: 700px) { .copy-page { display: none; } }

.search-modal { position: fixed; inset: 0; z-index: 85; background: rgba(6,14,24,.5); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 20px 20px; }
.search-modal[hidden] { display: none; }
.search-box { width: min(620px, 100%); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; max-height: 70vh; }
.search-input-row { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.search-input-row svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search-input-row input { flex: 1; border: 0; outline: 0; background: transparent; font-family: var(--sans); font-size: 16px; color: var(--ink); }
.search-input-row kbd { font-family: var(--sans); font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: 5px; padding: 2px 6px; }
.search-results { overflow-y: auto; padding: 8px; }
.s-item { display: block; padding: 9px 11px; border-radius: 9px; text-decoration: none; cursor: pointer; }
.s-item:hover, .s-item.sel { background: var(--brand-tint); text-decoration: none; }
.s-title { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.s-sub { font-size: 12px; color: var(--muted); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-bc { color: var(--brand-600); font-weight: 600; }
.s-item mark { background: transparent; color: var(--brand-600); font-weight: 700; }
.s-empty { padding: 18px; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(18px); z-index: 90; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 9px; box-shadow: var(--shadow); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
