/* Self-hosted fonts (was Google Fonts CDN — removed for privacy + perf).
   Manrope is the brand face (brand guide §8) — one VARIABLE file spans 200-800, so the four weights
   the site uses (500 body, 600 headings, 700 emphasis, 800 display) cost a single 24 KB request
   instead of the five that static Inter cuts needed. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url("fonts/manrope-latin.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/ibm-plex-mono-v20-latin-regular.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/ibm-plex-mono-v20-latin-500.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/ibm-plex-mono-v20-latin-600.woff2") format("woff2")}

/* TradeMint — the brand palette. Every hex below is a stop from docs/brand/brand-guide.html; none of
   them was picked here. Two seeds (ink #17263F, accent #3F86FF) and everything else derived from them
   in CIELAB, so the ramp steps are perceptually even rather than evenly spaced in RGB.

   The accent is BLUE and that is load-bearing: green already means "up" in this category, and a green
   brand colour sitting beside a P&L figure makes the reader decide whether the green is the company or
   the number. Measured, up-green and the accent are 50.4 ΔE apart — far enough that they cannot be
   confused. Do not reopen it without reading brand guide §6. */
:root{
  /* surfaces */
  --bg:#F3F6FF; --bg1:rgba(255,255,255,.4); --line:#D1D7E9; --line2:#B7BED3;
  /* text — heading / body / muted, straight off the ink ramp (15.16:1, 10.39:1, 5.01:1 on white) */
  --ink:#17263F; --mut:#33405A; --dim:#656F89;
  /* brand */
  --accent:#3F86FF;      /* accent 500 — the brand colour. 3.46:1 on white: fills and large text only */
  --accent-h:#196CDA;    /* accent 600 — hover, and the accent whenever it has to BE text (4.51:1 AA) */
  --accent-a:#1054AD;    /* accent 700 — active/pressed */
  --accent-100:#E7EAFF; --accent-200:#CED5FF; --accent-300:#ABBBFF;
  --accent-rgb:63,134,255;
  /* the one gradient that exists: 45°, large surfaces only, never behind body copy, never on the mark */
  --grad:linear-gradient(100deg,#1B3F9E,#3F86FF);
  /* semantic. Two tokens per direction on purpose — a colour saturated enough to read as a FILL is not
     legible as TEXT. --green/--red are the text-weight siblings; --green-f/--red-f are the fills.
     Never encode direction by hue alone: under deuteranopia the two fills are ΔE 6.84 apart.
     The text three are re-solved against --bg #F3F6FF rather than reused from the brand guide, whose
     siblings are measured on WHITE and land at 4.17:1 on this canvas. A tone is a contrast, not a
     colour. Solved on the darkest ground they can land on, so they clear AA on white cards too. */
  --green:#088250; --green-f:#07C076;
  --red:#DA2444;   --red-f:#F0455E;
  --amber:#9A6708; --amber-f:#F2A413;
  --r:24px;
  --font:"Manrope",-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,Menlo,monospace;
  --shadow:0 1px 3px rgba(23,38,63,.06),0 4px 14px rgba(23,38,63,.05);
}
*{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg);color:var(--ink);font:15px/1.65 var(--font);-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-decoration:none}
.num{font-family:var(--mono);font-variant-numeric:tabular-nums}
.mut{color:var(--mut)} .dim{color:var(--dim)} .up{color:var(--green)} .down{color:var(--red)}
[data-ico]{display:inline-grid;place-items:center}
[data-ico] svg{width:100%;height:100%}
.ico-slot{width:38px;height:38px;border-radius:10px;background:#E7EAFF;color:var(--accent);padding:9px}

.nav{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.35);backdrop-filter:blur(24px) saturate(1.6);border-bottom:1px solid var(--line)}
.nav-in{max-width:1160px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:26px}
/* Both halves are the SHIPPED artwork. The logotype is `tradeMint` — lowercase t, `trade` in ink and
   `Mint` in accent — and re-typesetting it from a live font is the one thing the brand guide forbids
   outright ("Fonts hint, hheas differ across versions, and two exports set from Manrope SemiBold six
   months apart are not guaranteed to be the same drawing"). This used to be the name typed in Manrope
   800, which was that mistake.

   The mark is INLINE because it is 515 bytes and its ink spine has to follow `currentColor` onto three
   different grounds. The wordmark is a background-image because it is 4.6 KB: inlined into 24 pages,
   twice each, it measured +2 KB gzipped per page against a 3.5 KB page — a 58% weight increase to
   avoid one cached request. As a background it costs nothing per page and still themes cleanly.
   gap:9px against a ~13px-wide mark clears the one-chip-width clear-space rule with room to spare. */
.logo{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none}
.logo-mark{width:23px;height:23px;flex:none;display:block}
.logo-word{width:97.5px;height:17px;flex:none;background:url(brand/trademint-wordmark.svg) left center/contain no-repeat}
.nav-links{display:flex;gap:20px;font-size:13.5px}
.nav-links a{color:var(--mut)} .nav-links a:hover{color:var(--ink)}
.nav-cta{margin-left:auto;display:flex;gap:10px;align-items:center}

.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:8px;font:600 13.5px var(--font);
  border:1px solid var(--line2);color:var(--ink);background:var(--bg);cursor:pointer;transition:.15s;box-shadow:var(--shadow)}
.btn:hover{border-color:var(--accent);color:var(--accent)}
.btn.primary{background:var(--accent);color:#fff;border-color:var(--accent);box-shadow:0 4px 14px rgba(63,134,255,.3)}
.btn.primary:hover{background:var(--accent-h);color:#fff}
.btn.ghost{border-color:transparent;color:var(--mut);box-shadow:none}
.btn.sm{padding:6px 13px;font-size:12.5px}

.wrap{max-width:1160px;margin:0 auto;padding-inline:24px}
section{padding:64px 0}
/* No rule between sections (operator 2026-09-28: "it appears too much"); spacing alone separates them. */
.eyebrow{font:700 11.5px var(--font);letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:14px}
h1{font:800 clamp(38px,5vw,58px)/1.06 var(--font);letter-spacing:-.04em}
h1 .hl{color:var(--accent)}
h2{font:800 clamp(25px,3.2vw,36px)/1.12 var(--font);letter-spacing:-.03em}
.lede{font-size:16.5px;color:var(--mut);max-width:580px;margin-top:18px}

.hero{padding:90px 0 64px;background:transparent}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:stretch}
.hero .wrap>div:first-child{display:flex;flex-direction:column;justify-content:center}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.hero-note{font-size:12px;color:var(--dim);margin-top:12px}
/* 2026-08-01: three MATCHED pills, not three content-width ones. Sized by content they read as a
   ragged list of afterthoughts; on equal columns they read as one set of three promises. Grid also
   equalises their height, so a chip whose text wraps does not make the row look broken. */
.hero-chips{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:26px;max-width:560px}
.hero-chips .chip{justify-content:center;text-align:center;white-space:nowrap}
/* A phone keeps the three side by side (operator 2026-10-03: stacked, they read "one on top of each other" and
   awkward). A third of 312px will not hold "In your own account" on one line, so the label may wrap to two short
   lines, the pill rounds less, and the dot goes. */
@media(max-width:560px){.hero-chips{gap:6px}
  .hero-chips .chip{white-space:normal;text-wrap:balance;font-size:11.5px;line-height:1.3;padding:7px 6px;border-radius:12px}
  .hero-chips .chip .dot{display:none}}
.chip{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border-radius:99px;border:1px solid rgba(255,255,255,.6);background:rgba(255,255,255,.35);backdrop-filter:blur(14px);font-size:12.5px;color:var(--mut);box-shadow:var(--shadow)}
.chip .dot{width:6px;height:6px;border-radius:50%;background:var(--accent)}

.mock{background:rgba(255,255,255,.38);backdrop-filter:blur(26px) saturate(1.7);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 24px 60px rgba(23,38,63,.1)}
.mock-bar{display:flex;align-items:center;gap:8px;padding:11px 16px;border-bottom:1px solid var(--line);background:var(--bg1)}
.mock-bar .b{width:9px;height:9px;border-radius:50%}
/* browser-chrome dots — deliberately NEUTRAL. They are decoration, and the semantic three are on duty
   elsewhere on this page; spending red/amber/green on window furniture is the "recoloured" misuse. */
.mock-bar .b:nth-child(1){background:#B7BED3}.mock-bar .b:nth-child(2){background:#CED5FF}.mock-bar .b:nth-child(3){background:#D1D7E9}
.mock-bar .url{margin-left:10px;font:11px var(--mono);color:var(--dim);background:#fff;padding:3px 12px;border-radius:99px;border:1px solid var(--line)}
.mock-body{padding:20px}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px}
.stat{background:rgba(255,255,255,.35);border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.stat .k{font-size:10px;color:var(--dim);text-transform:uppercase;letter-spacing:.08em}
.stat .v{font:700 18px var(--mono);margin-top:4px}
/* The mocks' activity feed: what the engine did and why, never a P&L curve (2026-11-16). */
.feed-card{background:rgba(255,255,255,.35);border:1px solid var(--line);border-radius:10px;padding:12px 16px 6px}
.feed-head{display:flex;justify-content:space-between;margin-bottom:2px;font-size:12px;color:var(--mut)}
.feed-card .p-row{padding:7px 0}
.feed-card .p-row .l{font-size:12px;min-width:0}
.feed-card .p-row .l b{font:600 11.5px var(--mono);color:var(--ink);margin-right:6px}
.feed-card .p-row .r{font-size:11px}
.pos-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:14px}
.pos-table th{text-align:left;color:var(--dim);font-weight:500;font-size:10.5px;text-transform:uppercase;letter-spacing:.07em;padding:7px 8px;border-bottom:1px solid var(--line)}
.pos-table td{padding:8px;border-bottom:1px solid var(--line);font-family:var(--mono);font-size:11.5px}
.pos-table tr:last-child td{border-bottom:none}
.pill{display:inline-block;padding:2px 9px;border-radius:99px;font:600 10px var(--mono)}
.pill.open{background:#E6F9F1;color:var(--green)}
.pill.watch{background:#FEF6E7;color:#A16C08}
.pill.paper{background:#E7EAFF;color:var(--accent)}

.proof{border:none;background:rgba(255,255,255,.3);backdrop-filter:blur(20px) saturate(1.6);margin-top:56px}
.proof-in{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:8px 0}
.proof-item .n{font:800 25px var(--font);letter-spacing:-.03em;color:var(--accent)}
.proof-item .l{font-size:12.5px;color:var(--mut);margin-top:2px}

.step,.feat{background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);border:1px solid var(--line);border-radius:var(--r);padding:26px;box-shadow:var(--shadow);transition:.18s}
.step:hover,.feat:hover{box-shadow:0 8px 30px rgba(23,38,63,.1);transform:translateY(-2px)}
.step .num-badge{font:700 12px var(--mono);color:var(--accent);margin-bottom:14px}
.step h3,.feat h3{font:700 16px var(--font);margin-bottom:8px}
.step p,.feat p{font-size:13px;color:var(--mut)}
.feat .ico-slot{margin-bottom:14px}

.code-card{margin-top:40px;background:#17263F;border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.code-card .hd{padding:11px 18px;border-bottom:1px solid rgba(255,255,255,.08);font:11px var(--mono);color:#B2B5BB;display:flex;gap:16px}
.code-card pre{padding:20px 22px;font:12.5px/1.8 var(--mono);color:#CED1D9;overflow-x:auto}
.code-card .c1{color:#B2B5BB}.code-card .c2{color:#C3CDFF}.code-card .c3{color:#A5D8FE}.code-card .c4{color:#FFE1EE}

.band{background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);border:1px solid var(--line);border-radius:16px;
  padding:48px 52px;display:grid;grid-template-columns:1fr auto;gap:28px;align-items:center;box-shadow:var(--shadow)}

.price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:44px}
.price{background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);border:1px solid var(--line);border-radius:var(--r);padding:28px;display:flex;flex-direction:column;box-shadow:var(--shadow)}
.price.hot{border:2px solid var(--accent);box-shadow:0 8px 40px rgba(63,134,255,.14)}
.price .tag{font:700 10px var(--font);letter-spacing:.1em;color:var(--accent);margin-bottom:8px;text-transform:uppercase}
.price .tier{font-size:12.5px;color:var(--mut);font-weight:600}
.price .amount{font:800 34px var(--font);margin:8px 0 2px;letter-spacing:-.03em}
.price .per{font-size:12px;color:var(--dim)}
.price ul{list-style:none;margin:20px 0 26px;flex:1}
.price li{font-size:13px;color:var(--mut);padding:5px 0 5px 20px;position:relative}
.price li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}
.price li.na{color:var(--dim)} .price li.na::before{content:"—";color:var(--dim)}

footer{border-top:1px solid var(--line);padding:48px 0 38px;margin-top:24px;background:var(--bg1)}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px}
.foot-grid h4{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:var(--dim);margin-bottom:12px}
.foot-grid a{display:block;color:var(--mut);font-size:13px;padding:3px 0}
.foot-grid a:hover{color:var(--ink)}
.legal{margin-top:34px;padding-top:20px;border-top:1px solid var(--line);font-size:12px;color:var(--mut);line-height:1.75}
/* The footer disclaimer ends with "Cookie preferences", the only link in this block. It sits in a wall
   of var(--mut) 12px copy, which is exactly where a link most needs to answer the pointer. */
.legal a{color:var(--accent);transition:color .12s ease}
.legal a:hover{color:var(--accent-h);text-decoration:underline;text-underline-offset:3px}
@media(max-width:960px){
  .hero .wrap,.price-grid,.proof-in{grid-template-columns:1fr}
  .band{grid-template-columns:1fr;padding:30px}
  .nav-links{display:none}
  .stat-row{grid-template-columns:1fr 1fr}
}


/* Liquid Glass — wet refractive surfaces */
body::before{background:
  radial-gradient(800px 500px at 15% 0%,rgba(165,180,252,.35),transparent 60%),
  radial-gradient(700px 500px at 90% 30%,rgba(103,232,249,.30),transparent 55%),
  radial-gradient(900px 600px at 50% 110%,rgba(196,181,253,.30),transparent 60%);content:"";position:fixed;inset:0;pointer-events:none;z-index:-1}
.mock,.step,.feat,.price,.band,.stat,.feed-card,.chip{
  border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 -8px 24px rgba(120,130,220,.08),0 12px 40px rgba(63,134,255,.10)}
.mock,.band{position:relative;overflow:hidden}
.mock::before,.band::before{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(115deg,rgba(255,255,255,.55) 0%,transparent 25%,transparent 70%,rgba(255,255,255,.25) 100%)}
.gloss{position:absolute;top:0;left:-60%;width:45%;height:100%;pointer-events:none;z-index:2;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent);
  transform:skewX(-18deg);animation:gloss 7s ease-in-out infinite}
@keyframes gloss{0%,55%{left:-60%}90%,100%{left:130%}}
.btn{border-radius:99px;background:rgba(255,255,255,.4);backdrop-filter:blur(14px);box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 4px 14px rgba(63,134,255,.12)}
.btn.primary{background:var(--grad);border:none;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 6px 24px rgba(63,134,255,.35)}
.btn.primary:hover{background:var(--grad);border:none;color:#fff;filter:brightness(1.06)}
.mock-bar{background:rgba(255,255,255,.3)}
h1 .hl{background:linear-gradient(95deg,#1B3F9E,#3F86FF);-webkit-background-clip:text;background-clip:text;color:transparent}



/* ---- site chrome + page patterns (Liquid) ---- */
.page-hero{padding-block:80px 40px;text-align:left}   /* block only: the `0` sides of the old shorthand cancelled .wrap's 24px gutter, so on a phone every page hero ran to the screen edge (operator 2026-10-03) */
.page-hero .lede{max-width:640px}
.toc-rail{display:grid;grid-template-columns:220px 1fr;gap:44px;align-items:start}
.toc-rail .rail-nav{position:sticky;top:90px;border:1px solid var(--line);border-radius:var(--r);padding:14px;background:var(--bg1)}
.toc-rail .rail-nav a{display:block;padding:7px 12px;border-radius:8px;color:var(--mut);font-size:13px}
.toc-rail .rail-nav a:hover,.toc-rail .rail-nav a.on{background:#E7EAFF;color:var(--accent)}
.toc-rail .rail-nav .sec{font:600 10px var(--mono);text-transform:uppercase;letter-spacing:.1em;color:var(--dim);padding:12px 12px 4px}
.article h2{font-size:24px;margin:36px 0 10px;letter-spacing:-.02em}
.article h3{font-size:19px;margin:32px 0 8px;letter-spacing:-.01em;font-weight:700}
/* The config reference is 57 keys deep and the h3 IS the key you are looking for, so it has to win
   against the h2 above it at a glance. 16.5px sat only 2.5px above body text and the page scanned
   as one long column (operator 2026-08-15). 19px against the 24px h2 keeps the hierarchy. */
.article p,.article li{font-size:14.5px;color:var(--mut);line-height:1.75}
/* The reset is `*{margin:0}`, and tables and callouts set their own margins back while paragraphs and
   lists never did. So consecutive <p> touched, and a paragraph that happened to end mid-line read as a
   broken line rather than a finished thought — "TradeMint can trade through." sitting directly above
   "Which brokers those are…" looked like one mangled sentence (operator 2026-08-07). */
.article p{margin:0 0 14px}
.article ul,.article ol{margin:0 0 14px;padding-left:20px}
.article p:last-child,.article ul:last-child,.article ol:last-child{margin-bottom:0}
.article li{margin:6px 0}
.article code{font:12.5px var(--mono);background:#E7EAFF;color:#083E82;padding:1px 6px;border-radius:5px}
.article pre{background:#17263F;color:#CED1D9;padding:16px 18px;border-radius:10px;font:12.5px/1.8 var(--mono);overflow-x:auto;margin:14px 0}
.article table{width:100%;border-collapse:collapse;font-size:13px;margin:14px 0}
.article th{text-align:left;color:var(--dim);font:600 10.5px var(--mono);text-transform:uppercase;letter-spacing:.07em;padding:7px 10px;border-bottom:1px solid var(--line2)}
.article td{padding:8px 10px;border-bottom:1px solid var(--line);color:var(--mut)}
.callout{border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:10px;background:var(--bg1);padding:14px 18px;margin:16px 0;font-size:13.5px;color:var(--mut)}
.doc-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}
.doc-card{border:1px solid var(--line);border-radius:var(--r);padding:22px;background:var(--bg1);transition:.18s}
.doc-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.doc-card h3{font-size:15.5px;margin-bottom:6px}
.doc-card p{font-size:13px;color:var(--mut)}
.timeline{margin-top:36px;border-left:2px solid var(--line2);padding-left:26px}
.tl-item{position:relative;padding:0 0 26px}
.tl-item::before{content:"";position:absolute;left:-33px;top:5px;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--accent)}
.tl-item .t{font:600 12px var(--mono);color:var(--accent)}
.tl-item h3{margin:4px 0 4px}
.tl-item p{font-size:13.5px;color:var(--mut);max-width:620px}
.faq-group{margin-top:36px}
.faq-group>h3{font-size:13px;text-transform:uppercase;letter-spacing:.1em;color:var(--dim);margin-bottom:6px}
.faq-item{border-bottom:1px solid var(--line);padding:16px 0}
.faq-item .q{font-weight:600;font-size:15px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px}
.faq-item .q::after{content:"+";color:var(--accent);font-weight:700;flex:none}
.faq-item.open .q::after{content:"–"}
.faq-item .a{display:none;padding-top:10px;font-size:14px;color:var(--mut);max-width:680px}
.faq-item.open .a{display:block}
@media(max-width:960px){.toc-rail{grid-template-columns:1fr}.toc-rail .rail-nav{position:relative;top:0}.doc-cards{grid-template-columns:1fr}}

/* grid containers (site) */
.steps,.feat-grid,.price-grid{display:grid;gap:16px;margin-top:44px}
.steps{grid-template-columns:repeat(3,1fr)}
.feat-grid{grid-template-columns:repeat(3,1fr)}
@media(max-width:960px){.steps,.feat-grid,.price-grid{grid-template-columns:1fr}}

/* config reference: the required/default line under each key.
   The markdown twin (docs/manual/config-yaml.md) has carried this since it was written and documents
   it in "How to read this page"; the hand-authored HTML had dropped every one of them. Ported back
   2026-08-15 — 54 keys. */
.keymeta{margin:-8px 0 12px;font:12.5px/1.5 var(--font);color:var(--dim);display:flex;align-items:baseline;gap:7px;flex-wrap:wrap}
.keymeta::before{content:"\25B8";color:var(--accent);font-size:15px;font-weight:700;line-height:1.35}
.keymeta .req{font-weight:700;color:var(--mut)}
.keymeta .sep{margin:0 1px;opacity:.4}
.keymeta code{font-size:11.5px;padding:1px 6px}
.keymeta .dv{color:var(--mut);font-weight:600}
.keymeta .dv code{background:none;border:none;padding:0;color:inherit}

/* The reading column sits on white in light mode (operator 2026-08-15). The page ground is a tinted
   surface, which is right for the cards on the marketing pages and wrong under 600 lines of prose —
   long-form text wants the highest contrast the palette has. Dark mode is untouched: it already puts
   the article on its own raised surface. */
.docs-article{background:#fff;padding-block:28px}   /* no border/radius: the reading pane now spans the
   full column, and the rails already draw a divider on each side — a third line just boxes it in */
/* LIGHT MODE: the whole docs page is white, and the header is the one band that is not (operator
   2026-08-15). Scoped with `html:not(.dark)` rather than overridden afterwards, so dark mode is
   untouched by any of it — the site signals dark with `html.dark` (tm.js sets it, 41 other rules key
   off it), and an earlier attempt here used prefers-color-scheme and [data-theme] instead: the first
   stripped the white for anyone whose OS was dark even in light mode, the second matched nothing.
   The rails stay transparent, so they take the white from the body; their dividers still separate the
   three columns, which is what was doing the work the tint used to do. */
html:not(.dark) body.docs-shell{background:#fff}
html:not(.dark) body.docs-shell .nav{background:var(--bg)}
html.dark .docs-article{background:transparent}
@media(max-width:760px){.docs-article{padding:20px 18px}}

/* Docs reading scale (operator 2026-08-15, matched against a competitor's docs).
   Body text was 14.5px, which is a UI size, not a reading size — this reference runs 600 lines and is
   read end to end. 16px/1.7 is the standard documentation scale. SCOPED TO .docs-article on purpose:
   .article is shared with privacy, terms, cookies, disclosures and security, and those were not asked
   for. Inline code and tables move with the body or they shrink against it. */
/* Heading vs text contrast (operator 2026-10-04: "the subtext is quite large relative to the header ... especially
   in mobile"). Was h1 28 / h2 27 / h3 21 over 16px text at every width: h3 was 1.3x its paragraph, and h1 and h2
   were the same size. Now each step is clearly a step: h3 1.53x its text on a desktop, 1.57x on a phone. */
.docs-article p,.docs-article li{font-size:15px;line-height:1.7}
.docs-article h1{font-size:32px;line-height:1.15}
.docs-article h2{font-size:28px;line-height:1.2;margin:44px 0 12px}
.docs-article h3{font-size:23px;line-height:1.25;margin:34px 0 10px}
@media(max-width:640px){
  .docs-article p,.docs-article li{font-size:14px;line-height:1.65}
  .docs-article .callout{font-size:14px}
  .docs-article h1{font-size:29px}
  .docs-article h2{font-size:26px;margin:36px 0 10px}
  .docs-article h3{font-size:22px;margin:28px 0 8px}
}
.docs-article code{font-size:14px}
.docs-article table{font-size:14.5px}
.docs-article pre{font-size:13.5px;line-height:1.75}
.docs-article .keymeta{font-size:13.5px}
.docs-article .callout{font-size:15.5px;line-height:1.65}

/* Reading measure and outer air (operator 2026-08-15).
   `.docs-layout` is a top-level grid with no wrap around it, so both rails sat flush against the
   viewport edges. Three numbers, and they are related:
     padding-inline 24px  — the outer air, set to match `.docs-side`'s own padding-left so the space
                            outside the right rail equals the space inside the left one.
     max-width 1348px     — 230 rail + 860 article + 210 toc + 48 padding. WITHOUT this the centre
                            column takes every spare pixel and the rails drift away from the text on a
                            wide monitor; with it the whole block centres and the rails stay beside it.
     article 860px        — the reading measure at the 16px body size.
   The cap lifts at 1100px, where the right rail hides and the grid needs the room; at 820px the
   padding and the measure both go, or the two together would eat a phone. */
.docs-layout{padding-inline:16px;max-width:1422px;margin-inline:auto}   /* 262 + 860 + 268 + 32 */
.docs-article{padding-inline:max(0px,(100% - 860px)/2)}   /* measure via padding: the SCROLL BOX stays
   full-column so its scrollbar rides the divider, instead of a max-width box parking the bar mid-column */
@media(max-width:1100px){.docs-layout{max-width:none}}
@media(max-width:820px){.docs-layout{padding-inline:0}.docs-article{max-width:none}}

/* gitdocs three-column layout */
.docs-hero{padding:56px 0 8px}
.docs-layout{display:grid;grid-template-columns:262px minmax(0,1fr) 268px;gap:0;align-items:start;padding-bottom:80px}
.docs-side{position:sticky;top:57px;height:calc(100vh - 57px);overflow:auto;padding:24px 44px 24px 18px;border-right:1px solid var(--line)}
.docs-side a{display:block;padding:6px 10px;border-radius:8px;color:var(--mut);font-size:13.5px;
  text-decoration:none;overflow-wrap:anywhere}   /* wrap rather than force a horizontal bar */
.docs-side a:hover{background:#E7EAFF;color:var(--accent)}
.docs-side a.on{background:#E7EAFF;color:var(--accent);font-weight:600}
.docs-side .sec{font:600 10.5px var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--dim);margin:18px 10px 6px}
.docs-article{padding:32px 44px;min-width:0}
.docs-article h1{letter-spacing:-.02em;margin-bottom:14px}   /* size set with the other headings above */
.docs-toc{position:sticky;top:57px;height:calc(100vh - 57px);overflow:auto;padding:0 18px 24px 44px;border-left:1px solid var(--line)}
.docs-toc .t{font:600 10.5px var(--mono);text-transform:uppercase;letter-spacing:.08em;color:var(--dim);margin-bottom:10px}
.docs-toc a{display:block;color:var(--dim);font-size:12.5px;text-decoration:none;padding:3px 0 3px 18px;
  border-left:2px solid transparent;margin-left:-1px;overflow-wrap:anywhere}   /* wrap, never a bar */
/* Top-level (h2) rail entries carry the section; children are the light rows under them.
   `:where()` contributes ZERO specificity, so this stays at (0,1,1) — below the :hover rule
   that follows. Writing it as `a:not(.l3):not(.l4)` would raise it to (0,3,1) and beat :hover,
   killing the accent on section rows, which is the trap the previous comment here warned about.
   .l4 MUST be excluded: without it every h4 child (the order algos, the trailing types) rendered
   at 650 weight with a section's top margin, i.e. indistinguishable from a parent. */
.docs-toc a:not(:where(.l3,.l4)){font-weight:650;color:var(--mut);margin-top:6px}
.docs-toc a:hover,.docs-toc a.on{color:var(--accent);border-left-color:var(--accent)}
.docs-article h2{scroll-margin-top:24px}
@media(max-width:1100px){.docs-layout{grid-template-columns:248px minmax(0,1fr)}.docs-toc{display:none}}
@media(max-width:820px){.docs-layout{grid-template-columns:1fr}.docs-side{position:relative;height:auto;border-right:none;border-bottom:1px solid var(--line);padding:16px 20px}.docs-article{padding:24px 20px}}

/* ---- 2026-07-21 pass: a11y, mobile nav, native-details FAQ, page patterns ---- */
.page-hero h1{font-size:clamp(30px,4vw,44px);letter-spacing:-.03em;font-weight:800;line-height:1.1}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.nav-links a[aria-current="page"]{color:var(--ink);font-weight:600}
/* Nav hover bar (2026-08-01). A ::after underline rather than border-bottom, because a border would
   add 2px to the link box and nudge the whole header down on hover. scaleX from 0 keeps the bar's
   width tied to the link, so it works for "How it works" and "Docs" alike without per-item widths.
   The current page keeps its bar permanently — the same affordance doing double duty as a location
   cue, alongside the existing ink/600 treatment. Applies on the docs origin too, same nav markup. */
.nav-links a{position:relative}
.nav-links a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;border-radius:2px;
  background:var(--accent);transform:scaleX(0);transition:transform .18s ease}
.nav-links a:hover::after,.nav-links a[aria-current="page"]::after{transform:scaleX(1)}
@media (prefers-reduced-motion: reduce){.nav-links a::after{transition:none}}
/* mobile nav: <details> disclosure, zero JS */
.nav-menu{display:none}
.nav-menu>summary{list-style:none;cursor:pointer;padding:8px 10px;border:1px solid var(--line2);border-radius:8px;font:600 13px var(--font);color:var(--ink)}
.nav-menu>summary::-webkit-details-marker{display:none}
.nav-menu[open]>summary{border-color:var(--accent);color:var(--accent)}
.nav-menu .menu-panel{position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow);padding:10px 24px 16px;display:flex;flex-direction:column;gap:2px}
.nav-menu .menu-panel a{padding:9px 10px;border-radius:8px;color:var(--mut);font-size:14.5px}
.nav-menu .menu-panel a:hover{background:#E7EAFF;color:var(--accent)}
@media(max-width:960px){
  .nav{position:sticky}
  .nav-in{position:relative}
  .nav-menu{display:block}
  .nav-cta .btn.ghost{display:none}
  /* the burger is the last thing on the right at every width it shows; at 641-960 it sat mid-bar */
  .nav-cta{order:1}
  .nav-menu{order:2;margin-left:4px}
}
/* phone: the burger holds the pages and both buttons. "Request access" wrapped to two lines and pushed the
   page sideways at 390px, and "Menu" floated mid-bar away from the theme icon (operator, 2026-10-03). The
   docs theme icon stays in the bar beside the burger; the burger is the last thing on the right. */
.menu-cta{display:none}
.nav-menu>summary svg{display:block;width:18px;height:18px}
@media(max-width:640px){
  .nav-in{gap:8px}
  .nav-cta .btn{display:none}
  .menu-cta{display:flex;flex-direction:column;gap:8px;margin-top:8px;padding-top:12px;border-top:1px solid var(--line)}
  .menu-cta .btn{justify-content:center}
  .nav-menu .menu-panel .menu-cta a.btn.primary{color:#fff}
  /* the four footer columns ran 53px off a 390px screen */
  .foot-grid{grid-template-columns:1fr 1fr}
  .foot-grid>div:first-child{grid-column:1/-1}
}
/* FAQ as native <details>: keyboard + screen-reader semantics for free */
details.faq-item{border-bottom:1px solid var(--line);padding:0}
details.faq-item>summary{list-style:none;font-weight:600;font-size:15px;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 0}
details.faq-item>summary::-webkit-details-marker{display:none}
details.faq-item>summary::after{content:"+";color:var(--accent);font-weight:700;flex:none}
details.faq-item[open]>summary::after{content:"\2013"}
details.faq-item .a{padding:0 0 16px;font-size:14px;color:var(--mut);max-width:680px}
/* hero mock honesty caption */
.mock-note{padding:8px 16px 12px;font-size:11px;color:var(--mut);border-top:1px solid var(--line);background:var(--bg1)}
/* classes replacing repeated inline styles */
.feat-grid.cols-2{grid-template-columns:1fr 1fr}
@media(max-width:960px){.feat-grid.cols-2{grid-template-columns:1fr}}
.band .lede{margin-top:10px}
.foot-blurb{font-size:13px;max-width:300px;margin-top:12px;color:var(--mut)}
/* The footer wordmark was invisible, and had been since the footer was built. `.foot-grid a` sets
   display:block for the link columns, and at 0,1,1 it outranks `.logo`'s own 0,1,0 display:flex — so
   the logo link stopped being a flex container, `.logo-word` stayed an inline <span>, and an inline
   box ignores width/height, leaving the 97.5x17 background image nothing to paint into. The mark
   survived only because it is an <svg> with intrinsic size. Two classes (0,2,0) win the row back. */
.foot-grid .logo{display:flex;padding:0;color:var(--ink)}
.btn.lg{padding:14px 26px}
@media (prefers-reduced-motion: reduce){
  .gloss{animation:none}
  .step,.feat,.price,.doc-card,.btn{transition:none}
}

/* ---- homepage-only components (2026-07-21 rework) ---- */
/* broker band — one shared block, used on the homepage and on how-it-works step 04.
   Every mark ships desaturated so the row reads as one set rather than four competing brand
   colours, and hover restores the real thing. grayscale() works on an <img> and on coloured text
   alike, so a wordmark placeholder behaves the same as a logo file and can be swapped for one
   with no CSS change. */
.brokers{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.3);backdrop-filter:blur(20px) saturate(1.6);margin-top:56px;padding:26px 0}
.brokers-label{font:700 11px var(--font);letter-spacing:.13em;text-transform:uppercase;color:var(--mut);text-align:center;margin-bottom:18px}
/* 2x2 at every width (operator 2026-09-27). Four across made each card a narrow strip with its
   badge stacked over the mark; two across gives the mark room and the badge a corner of its own. */
.brokers-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:24px}
.bk{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;
  min-height:124px;padding:22px 18px;border:1px solid var(--line);border-radius:16px;
  background:rgba(255,255,255,.42);backdrop-filter:blur(22px) saturate(1.6);
  box-shadow:var(--shadow);transition:transform .18s,box-shadow .18s,border-color .18s}
.bk:hover{border-color:var(--accent);transform:translateY(-3px);box-shadow:0 12px 34px rgba(63,134,255,.16)}
.bk .bk-logo,.bk .bk-mark{filter:grayscale(1);opacity:.6;transition:filter .2s ease,opacity .2s ease}
.bk:hover .bk-logo,.bk:hover .bk-mark{filter:none;opacity:1}
/* The broker you can connect TODAY is drawn in full colour at rest; the rest stay desaturated until
   hovered. That contrast is the message, so it is carried by an attribute on the one card rather than
   by the order of the grid, which a reader may not scan left to right. */
.bk[data-state=available] .bk-logo,.bk[data-state=available] .bk-mark{filter:none;opacity:1}
/* The status sits in the card's top-right corner, on ONE line: "Available today" wrapped to two in a
   narrow card and pushed the mark off-centre. Absolute, so the mark centres in the whole card. */
.bk .badge{position:absolute;top:12px;right:12px;white-space:nowrap}
.bk-logo{height:27px;width:auto;display:block;max-width:100%}
.bk-logo.sq{height:46px}   /* Schwab's mark is a square badge: at a wordmark's height its words are unreadable */
.bk-mark{font:700 19px var(--font);letter-spacing:-.025em;color:var(--bkc,var(--ink));line-height:1}
.badge{font:700 9.5px var(--font);letter-spacing:.09em;text-transform:uppercase;color:var(--mut);background:var(--bg);border:1px solid var(--line2);border-radius:99px;padding:2px 10px}
.badge.on{color:#fff;background:var(--green);border-color:var(--green)}
@media (prefers-reduced-motion: reduce){.bk,.bk .bk-logo,.bk .bk-mark{transition:none}}
.pos-table td.tick{font-weight:600;color:var(--accent)}

/* hero: larger type to fill the matched column height */
/* 68px was solved for "Your rules." (357px) over "Enforced all day." (543px), both comfortably inside
   the 557px text column. The headline is now enjambed — line 1 is a fragment that line 2 completes — and
   "Automate the trades" is 550px at 54px and 692px at 68px, so the old cap wrapped it to three lines and
   destroyed the break the sentence depends on. Capped at 52px, measured 529/459 against 557: enough
   margin that a font swap or a browser's rounding cannot tip it.
   The floor drops with it. Below 820px the hero stacks single-column and the text has the full width, so
   the floor is bounded by small phones rather than by the two-column grid. */
.hero h1{font-size:clamp(38px,4.3vw,52px)}
.hero .lede{font-size:18.5px;max-width:560px}
/* "Automate the trades" is 8.9 font-sizes wide: at 38px it needs 339px and a 360px phone has 312, so "trades"
   dropped to its own line (operator 2026-10-03). Scale it to the column on a phone, never above 38. */
@media(max-width:520px){.hero h1{font-size:min(38px,calc((100vw - 48px) / 9.6))}
  /* 18.5px under a ~33px title read as a second headline (operator 2026-10-03) */
  .hero .lede{font-size:15.5px;line-height:1.6}}
.bk-logo{height:26px;width:auto;display:block}

/* docs app shell: the page itself does not scroll; each column scrolls on its own */
body.docs-shell{height:100vh;display:flex;flex-direction:column;overflow:hidden}
body.docs-shell .nav{flex-shrink:0}
body.docs-shell .docs-layout{flex:1;min-height:0;padding-bottom:0}
body.docs-shell .docs-side{position:relative;top:0;height:100%;overflow:hidden;display:flex;flex-direction:column}
body.docs-shell .docs-side .ds-tree,body.docs-shell .docs-side .ds-results{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}
body.docs-shell .docs-article{height:100%;overflow-y:auto;overscroll-behavior:contain}
body.docs-shell .docs-toc{position:relative;top:0;height:100%;overflow-y:auto;overscroll-behavior:contain}
/* overflow was `hidden` here, which silently CLIPPED the list: this page's own contents run 57 entries
   and everything past the fold was unreachable. The title is pinned rather than scrolled away — it is
   the label for what is moving underneath it, so it has to stay put to keep meaning anything. */
/* The whole rail scrolls as one — title with the list, not pinned above it (operator 2026-08-15,
   reversing the fixed header tried earlier the same day). Nothing is sticky here now, so nothing can
   pass behind anything: the clipped-highlight problem the pinning was meant to solve disappears with
   the pin. `.toc-list` stays as the list container; it simply does not scroll independently. */
body.docs-shell .docs-toc{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
  padding:26px 18px 24px 44px}   /* 44 = content to its own divider; the base rule matches */
body.docs-shell .docs-toc .t{margin:0 0 12px;padding:0}
/* Two rows, not one (operator 2026-08-08). It was nine items and a revision date strung together on a
   single line with middots, which reads as one long sentence you have to parse to find the one link you
   wanted. Split by KIND: the legal set on its own row, page and site metadata on the next, with the
   copyright and cookie preferences pushed right so the row has two ends instead of a queue.
   Separators are drawn by CSS between the links rather than typed into the markup, so the row cannot
   end up with a leading or trailing middot when a link is added or removed.

   NOT fixed to the viewport, which was the other option considered. The article is its own scroller
   here, so a pinned footer would cost every page ~44px of reading height, permanently, to keep six
   legal links and a date on screen. A second copy of that date used to sit in the sticky rail
   (.toc-rev); it was removed 2026-08-18 — hand-maintained and stuck at 2026-08-08 across all
   18 pages, so it was advertising staleness rather than freshness. The footer copy remains. */
.doc-foot{margin-top:48px;padding:18px 0 8px;border-top:1px solid var(--line);font-size:12px;color:var(--mut);
  display:flex;flex-direction:column;gap:8px}
.doc-foot a{color:var(--mut)} .doc-foot a:hover{color:var(--accent)}
.df-links{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px}
.df-links a+a{position:relative}
.df-links a+a::before{content:"·";position:absolute;left:-9px;color:var(--dim);opacity:.55}
.df-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 18px;
  color:var(--dim)}
@media(max-width:820px){body.docs-shell{height:auto;overflow:auto}body.docs-shell .docs-article{height:auto;overflow:visible}body.docs-shell .docs-side{height:auto}}

/* docs rails: section headers POP relative to their pages */
.docs-side .sec{font:800 11.5px var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--ink);margin:36px 10px 6px}
.ds-tree>.sec:first-of-type{margin-top:30px}
.docs-toc .t{font:800 11.5px var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--ink);margin-bottom:12px;padding-bottom:8px}
/* prev / next pager */
.doc-pager{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:44px}
.pg{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:14px;padding:14px 18px;background:var(--bg1);transition:.15s;text-decoration:none}
.pg:hover{border-color:var(--accent);transform:translateY(-1px)}
.pg.next{align-items:flex-end;text-align:right}
.pg.empty{border:none;background:none}
.pg-k{font:600 10.5px var(--font);letter-spacing:.08em;text-transform:uppercase;color:var(--mut)}
.pg-t{font:600 14.5px var(--font);color:var(--ink)}
.pg:hover .pg-t{color:var(--accent)}
/* docs search */
.doc-search{width:calc(100% - 8px);margin:0 4px;box-sizing:border-box;padding:8px 12px;border:1px solid var(--line2);border-radius:8px;background:#fff;font:500 13px var(--font);color:var(--ink);outline:none}
.doc-search:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(63,134,255,.12)}
.ds-results{padding:8px 4px}
.ds-results a{display:block;padding:8px 10px;border-radius:8px;text-decoration:none}
.ds-results a:hover{background:#E7EAFF}
.ds-results .r-t{display:block;font:600 13px var(--font);color:var(--ink)}
.ds-results .r-s{display:block;font-size:11px;color:var(--mut)}
.ds-results .r-none{font-size:12.5px;color:var(--mut);padding:8px 10px}
/* copy-code + heading anchors */
.docs-article pre{position:relative}
.copy-btn{flex:none;font:600 10.5px var(--font);letter-spacing:.04em;padding:4px 10px;border-radius:6px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#CED1D9;cursor:pointer;transition:.15s}
/* the box carries the frame; the head spans it whatever the code's width, and only the code scrolls */
.code-box{margin:14px 0;border-radius:10px;overflow:hidden;background:#17263F}
.article .code-box pre{margin:0;border-radius:0}
.code-head{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:36px;padding:5px 8px 5px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);font:600 11px var(--mono);color:#B5B8BF;letter-spacing:.04em}
.copy-btn:hover{color:#fff;border-color:rgba(255,255,255,.5)}
.h-anchor{position:relative;display:inline-flex;vertical-align:middle;margin-left:8px;padding:3px;border-radius:6px;
  color:var(--dim);text-decoration:none;transition:.15s}   /* always visible (operator 2026-10-04: "should be visible at all times") */
.h-anchor svg{width:.7em;height:.7em;min-width:13px;min-height:13px}
/* It was --line2, a pale grey that all but vanished on the dark page (operator 2026-10-04: "a bit more pronounced") */
html.dark .h-anchor{color:#A3ACC0}
.h-anchor:hover,html.dark .h-anchor:hover{color:var(--accent);background:rgba(var(--accent-rgb),.12)}
.h-anchor.tip::after{content:attr(data-tip);position:absolute;left:50%;bottom:calc(100% + 6px);transform:translateX(-50%);
  white-space:nowrap;padding:4px 8px;border-radius:6px;background:#17263F;color:#fff;font:600 11px var(--font);letter-spacing:0;pointer-events:none}
/* long key names (cancelClosingOrderOnLatestEntry) are one word: let a heading break inside it rather than run 13px
   past a 360px screen */
.docs-article h1,.docs-article h2,.docs-article h3,.docs-article h4{overflow-wrap:anywhere}

/* vertical section rail: a line beside each section's pages, an accent segment marks the current page */
.sec-pages{position:relative;margin:6px 0 2px 12px;padding-left:12px;border-left:2px solid var(--line)}
.sec-pages a{display:block;position:relative;padding:6px 10px;border-radius:8px;color:var(--mut);font-size:13.5px;text-decoration:none}
.sec-pages a:hover{background:#E7EAFF;color:var(--accent)}
.sec-pages a.on{background:#E7EAFF;color:var(--accent);font-weight:600}
.sec-pages a.on::before{content:"";position:absolute;left:-14px;top:5px;bottom:5px;width:2px;border-radius:2px;background:var(--accent)}
/* nested h3 entries in the page TOC */
.docs-toc a.l3{padding-left:26px;font-size:12.5px}   /* matches .docs-side .sec-pages a */
/* h4 rows sit one step under .l3. Indent is the ONLY signal that survives here: colour and weight
   both fall through to the base rule, which is what makes them read as children. */
.docs-toc a.l4{padding-left:36px;font-size:12px}
/* smooth anchor scrolling within the article */
.docs-article{scroll-behavior:smooth}
.docs-article h3{scroll-margin-top:24px}
/* h4 groups sub-topics inside one h3 (the entry-filter families). Nothing styled h4 in an article, so
   it fell back to the browser default and rendered smaller than the body text it introduced. */
.docs-article h4{font-size:18px;line-height:1.3;font-weight:700;margin:26px 0 8px;letter-spacing:-.01em;scroll-margin-top:24px}
/* was 14.5px, SMALLER than the 15px text under it, so "Normal" and "adjust every 6s" read as one line (operator 2026-10-04) */
@media(max-width:640px){.docs-article h4{font-size:17px;margin:22px 0 6px}}
/* print: the article IS the document */
@media print{
  .nav,.docs-side,.docs-toc,.doc-pager,.copy-btn,.h-anchor{display:none!important}
  body.docs-shell{height:auto;overflow:visible;display:block}
  body.docs-shell .docs-article{height:auto;overflow:visible;padding:0}
  .docs-layout{display:block}
}

.ds-foot{margin-top:auto;flex-shrink:0;padding:12px 4px 4px;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.ds-ver{font:600 11px var(--mono);color:var(--dim);white-space:nowrap;text-align:center}
.theme-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:8px 14px;border:1px solid var(--line2);border-radius:8px;background:transparent;color:var(--mut);font:600 12.5px var(--font);cursor:pointer}
.theme-toggle svg{width:14px;height:14px}
/* In the header it is an icon, so the label the script writes is hidden rather than removed — the
   button keeps an accessible name from aria-label, and the rail version (if it ever returns) is
   unaffected. Moved out of the sidebar footer 2026-08-15, taking the v0.9 badge with it. */
.nav-cta .theme-toggle{width:34px;height:34px;padding:0;gap:0;border-radius:9px;flex:0 0 auto}
.nav-cta .theme-toggle span{display:none}
.nav-cta .theme-toggle svg{width:16px;height:16px}
.nav-cta .theme-toggle:hover{border-color:var(--accent);color:var(--accent)}
/* the search field answers the pointer like every other control */
.doc-search:hover{border-color:var(--accent)}
.doc-search:hover::placeholder{color:var(--mut)}
.theme-toggle:hover{border-color:var(--accent);color:var(--accent)}
/* reading progress */
.read-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:80;pointer-events:none}
.read-progress span{display:block;height:100%;width:0;background:var(--grad)}
/* ---- product-UI illustration, 2026-08-07 --------------------------------------------------------
   A still of a card from the dashboard, drawn in CSS rather than screenshotted. A screenshot of this
   card would be a maintenance liability twice over: it ages the moment a label changes, and the card in
   question holds an account number and a username, so every retake is a chance to publish one. Drawn,
   it re-themes with the page and carries no data that ever existed.
   It is a picture, not a form: no inputs, no buttons, and an aria-label on the container that says what
   the picture shows, so a screen reader is told rather than walked through dead controls. */
.ui-mock{border:1px solid var(--line);border-radius:12px;background:var(--bg1);overflow:hidden;margin:16px 0;font-size:13px}
.ui-mock-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:10px 16px;border-bottom:1px solid var(--line);background:rgba(63,134,255,.05)}
.ui-mock-t{font:700 12px var(--font);letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.ui-mock-pill{font:600 10.5px var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--accent);
  border:1px solid var(--accent);border-radius:999px;padding:2px 8px}
.ui-mock-body{padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.ui-row{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;align-items:center}
.ui-lab{font:600 12.5px var(--font);color:var(--ink);min-width:0}
.ui-lab span{display:block;font:400 11.5px var(--font);color:var(--dim);margin-top:2px}
.ui-lab b{color:var(--mut)}
/* The field is a still of an input, so it borrows the input's shape and none of its behaviour. */
.ui-in{border:1px solid var(--line2);border-radius:8px;padding:7px 10px;background:var(--bg);
  font:400 12.5px var(--mono);color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ui-btn{border-radius:8px;padding:7px 10px;background:var(--accent);color:#fff;
  font:600 12.5px var(--font);text-align:center}
.ui-seg{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line2);border-radius:8px;overflow:hidden;
  font:600 12px var(--font);color:var(--dim);text-align:center}
.ui-seg span{padding:6px 0}
.ui-seg .on{background:var(--accent);color:#fff}
.ui-cap{font-size:12.5px!important;color:var(--dim)!important;margin-top:-8px!important}
@media(max-width:560px){.ui-row{grid-template-columns:1fr;gap:6px}}
/* ---- Telegram replies, drawn as phones, 2026-08-07 -----------------------------------------------
   Every reply below is the engine's real output, copied out of telegram_service.py, so the reader can
   see what a command ACTUALLY returns before wiring anything up. Drawn rather than screenshotted for
   the same two reasons as the Broker card: a screenshot of a chat holds live account figures, and it
   goes stale silently the next time a line changes.
   The frame is deliberately generic. It is a phone, not a re-creation of Telegram's chrome: the point
   is the shape of our message, and imitating another product's UI in our documentation would be a
   claim we have no business making. */
/* Two up, and every phone the same height (operator 2026-08-07). Two things had to be true for that:
   a fixed 2-column track, because auto-fit gave three across and left the fourth orphaned on a row of
   its own, and `grid-auto-rows:1fr`, because grid sizes each row independently — equalising within a
   row still left row two shorter than row one. The phone is a flex column with .tg-thread{flex:1}, so
   the extra height lands in the chat area and the captions line up across all four. */
.tg-phones{display:grid;grid-template-columns:1fr;gap:18px;margin:18px 0;grid-auto-rows:1fr}
@media(min-width:760px){.tg-phones{grid-template-columns:1fr 1fr}}
.tg-phone{border:1px solid var(--line2);border-radius:22px;overflow:hidden;background:#0F1419;
  box-shadow:var(--shadow);display:flex;flex-direction:column}
.tg-top{display:flex;align-items:center;gap:9px;padding:11px 14px;background:#17212B;
  border-bottom:1px solid rgba(255,255,255,.06)}
.tg-av{width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;flex:none;
  display:grid;place-items:center;font:700 11px var(--font)}
.tg-who{font:600 12.5px var(--font);color:#E8ECF1;line-height:1.25}
.tg-who span{display:block;font:400 10.5px var(--font);color:#7E8D9C}
.tg-thread{padding:14px 12px;display:flex;flex-direction:column;gap:9px;background:#0F1419;flex:1}
.tg-out,.tg-in{max-width:88%;padding:8px 11px;border-radius:14px;
  font:400 11.5px/1.65 var(--mono);white-space:pre-wrap;word-break:break-word}
.tg-out{align-self:flex-end;background:#2B5278;color:#EAF0F6;border-bottom-right-radius:5px}
.tg-in{align-self:flex-start;background:#1D2733;color:#D6DEE7;border-bottom-left-radius:5px}
.tg-in b{color:#fff;font-weight:700}
.tg-in .up{color:#61C877}
.tg-in .dn{color:#E86A6A}
.tg-in .mut{color:#7E8D9C}
.tg-keys{display:flex;gap:6px;margin-top:9px}
.tg-key{flex:1;text-align:center;padding:6px 4px;border-radius:8px;background:#25313D;color:#8FB8E0;
  font:600 11px var(--font)}
.tg-cap{padding:9px 14px;border-top:1px solid rgba(255,255,255,.06);background:#17212B;
  font:400 11px var(--font);color:#8697A6}
.tg-cap b{color:#C6D2DE;font-weight:600}
/* ---- the marketing mocks, borrowed by a docs page, 2026-08-07 -----------------------------------
   .builder / .view / .botcard were drawn for the marketing site, which is light-only, so several of
   their surfaces are literal white rather than a token. On the docs shell, which is dark by default,
   that put a white slab in the middle of the page. Re-pointed at the tokens here rather than at the
   source, because the marketing pages want the literal white: --bg1 there is a translucent white over
   a tinted ground, and swapping it would change eight pages to fix one. */
html.dark body.docs-shell .builder{background:var(--bg1);backdrop-filter:none}
html.dark body.docs-shell .ctl{background:#1F2227}
html.dark body.docs-shell .ctl.acc{background:rgba(63,134,255,.12);border-color:var(--accent);color:var(--accent)}
html.dark body.docs-shell .botcard{background:#1F2227}
html.dark body.docs-shell .pill.paper{background:rgba(63,134,255,.18);color:var(--accent)}
html.dark body.docs-shell .v-now{color:#0E1116}
/* The h1 badge: same shape as the nav's Soon chip, sized for a heading it must not out-shout. */
.soon-h1{display:inline-block;vertical-align:middle;margin-left:10px;
  font:700 10.5px var(--font);letter-spacing:.08em;text-transform:uppercase;
  color:#A16C08;background:#FEF6E7;border-radius:999px;padding:4px 10px}
html.dark body.docs-shell .soon-h1{color:#F0C46B;background:rgba(240,196,107,.14)}
/* image lightbox (ready for future doc images) */
.docs-article img{cursor:zoom-in;max-width:100%}
.lightbox{position:fixed;inset:0;z-index:90;background:rgba(10,12,18,.85);display:flex;align-items:center;justify-content:center;cursor:zoom-out;padding:4vh 4vw}
.lightbox img{max-width:100%;max-height:100%;border-radius:10px;box-shadow:0 20px 80px rgba(0,0,0,.6)}
/* navigation layout-shift fix: reserve scrollbar gutters everywhere */
html{scrollbar-gutter:stable}
/* ...except on the docs shell, where the ROOT never scrolls — body is `height:100vh;overflow:hidden`
   and the article is the scroller. The gutter is reserved anyway, and a reserved gutter narrows the
   initial containing block, so every `position:fixed` element on a docs page is 15px short of the
   window's right edge. Measured: a 1424px viewport gives the reading-progress bar 1409px, which is why
   it visibly stopped before the end at 100% scroll (operator 2026-08-07) — and why the image lightbox
   left a blank strip down its right side. Nothing scrolls at the root here, so nothing shifts. */
html:has(body.docs-shell){scrollbar-gutter:auto}
body.docs-shell .docs-article,body.docs-shell .docs-side{scrollbar-gutter:stable}
/* ---- docs dark mode (scoped to the docs shell; marketing pages stay light) ----
   The surfaces are the app dashboard's solved ladder (dashboard guide §3/§18): page, card, raised,
   overlay. Reused rather than re-picked so the docs and the product read as one dark surface — and
   because every step in that ladder measures Lc 0.00, which is what makes elevation a GROUPING cue
   that never competes with the text sitting on it.
   --accent stays #3F86FF for FILLS but is only 4.38:1 on dark, so anywhere the accent has to be TEXT
   the rules below use #C3CDFF — the accent re-solved to the text floor for a dark ground. */
html.dark body.docs-shell{--bg:#14151A;--bg1:rgba(31,34,39,.65);--ink:#E5E7EF;--mut:#CCCFD7;--dim:#B3B6BD;--line:#272A30;--line2:#32353B;--shadow:0 1px 3px rgba(0,0,0,.5)}
html.dark body.docs-shell{background:var(--bg);color:var(--ink)}
html.dark body.docs-shell::before{opacity:.18;filter:saturate(.5) brightness(.45)}
html.dark body.docs-shell .nav{background:rgba(20,21,26,.82)}
html.dark body.docs-shell .logo,html.dark body.docs-shell .nav-links a:hover{color:var(--ink)}
/* On dark the wordmark switches to the shipped ONE-COLOUR white file rather than the two-tone: `trade`
   is ink #17263F, which is all but invisible on #14151A. The guide sanctions this directly — the
   one-colour files "are not a fallback; they are the correct form anywhere the accent cannot be
   reproduced faithfully", and "at one colour it is still the logo". The mark keeps its accent chips
   either way, since its ink half rides currentColor. */
html.dark body.docs-shell .logo-word{background-image:url(brand/derived/trademint-wordmark-reversed.svg)}   /* white "trade", blue "Mint", as the reversed lockup draws it; the -white file whitened "Mint" too */
html.dark body.docs-shell .nav-menu .menu-panel{background:#1F2227}
html.dark body.docs-shell .btn:not(.primary){background:rgba(255,255,255,.05);color:var(--ink);border-color:var(--line2)}
html.dark body.docs-shell .btn:not(.primary):hover{background:rgba(63,134,255,.14);border-color:var(--accent);color:#C3CDFF}
html.dark body.docs-shell .btn.ghost{background:transparent;color:var(--mut)}
html.dark body.docs-shell .btn.ghost:hover{color:#C3CDFF;background:rgba(63,134,255,.14)}
html.dark body.docs-shell .doc-search{background:#1F2227;color:var(--ink);border-color:var(--line2)}
html.dark body.docs-shell .sec-pages a:hover,html.dark body.docs-shell .sec-pages a.on,
html.dark body.docs-shell .ds-results a:hover,html.dark body.docs-shell .docs-side a:hover,
html.dark body.docs-shell .docs-side a.on{background:rgba(63,134,255,.18)}
html.dark body.docs-shell .article code{background:rgba(63,134,255,.16);color:#C3CDFF}
html.dark body.docs-shell .callout{background:rgba(63,134,255,.08)}
/* `:not(.empty)` is load-bearing. The pager is a two-column grid and the first and last pages fill the
   missing side with `<span class="pg empty">`, which `.pg.empty{border:none;background:none}` makes
   invisible — on LIGHT. This rule carries two extra element selectors, so unqualified it out-specifies
   that and paints the placeholder back in: on dark, Introduction showed a borderless 392x67 slab in the
   bottom-left, reading as a disabled Previous button on the one page that has no previous. */
html.dark body.docs-shell .pg:not(.empty),html.dark body.docs-shell .doc-card{background:var(--bg1)}
html.dark body.docs-shell .pg-t{color:var(--ink)}

/* yaml highlighting in doc code blocks */
.article pre .y-key{color:#C3CDFF}
.article pre .y-str{color:#A5D8FE}
.article pre .y-num{color:#FFE1EE}
.article pre .y-bool{color:#E6E9F1}
.article pre .y-com{color:#B2B5BB}
.article pre .y-dash{color:#B5B8BF}

/* code-block filename titles (GitLab-style) */
.article pre .pre-title{margin:-16px -18px 12px;padding:8px 18px;border-bottom:1px solid rgba(255,255,255,.08);font:600 11px var(--mono);color:#B5B8BF;letter-spacing:.04em}
/* keyboard-selected search result */
.ds-results a.kb{background:#E7EAFF;outline:1px solid var(--accent)}
html.dark body.docs-shell .ds-results a.kb{background:rgba(63,134,255,.22);outline-color:#C3CDFF}
/* tier / status badges (GitLab-style feature badges) */
.doc-badge{display:inline-block;vertical-align:middle;margin-left:10px;padding:2px 9px;border-radius:99px;font:700 10px var(--font);letter-spacing:.07em;text-transform:uppercase}
.doc-badge.exp{background:#FEF6E7;color:#A16C08;border:1px solid #F2A413}
.doc-badge.paper{background:#E7EAFF;color:var(--accent);border:1px solid #CED5FF}
html.dark body.docs-shell .doc-badge.exp{background:rgba(245,158,11,.12);border-color:rgba(245,158,11,.35)}
html.dark body.docs-shell .doc-badge.paper{background:rgba(63,134,255,.15);border-color:rgba(63,134,255,.4)}

/* themed scrollbars: native controls follow the shell's scheme, thumbs use theme tokens */
body.docs-shell{color-scheme:light}
html.dark body.docs-shell{color-scheme:dark}
body.docs-shell .docs-article,body.docs-shell .docs-side .ds-tree,body.docs-shell .docs-side .ds-results,body.docs-shell .docs-toc{scrollbar-width:thin;scrollbar-color:var(--line2) transparent}
body.docs-shell .docs-article::-webkit-scrollbar,body.docs-shell .ds-tree::-webkit-scrollbar,body.docs-shell .ds-results::-webkit-scrollbar,body.docs-shell .docs-toc::-webkit-scrollbar{width:10px}
body.docs-shell .docs-article::-webkit-scrollbar-thumb,body.docs-shell .ds-tree::-webkit-scrollbar-thumb,body.docs-shell .ds-results::-webkit-scrollbar-thumb,body.docs-shell .docs-toc::-webkit-scrollbar-thumb{background:var(--line2);border-radius:6px;border:2px solid transparent;background-clip:content-box}
body.docs-shell .docs-article::-webkit-scrollbar-thumb:hover,body.docs-shell .ds-tree::-webkit-scrollbar-thumb:hover,body.docs-shell .docs-toc::-webkit-scrollbar-thumb:hover{background:var(--dim);background-clip:content-box;border:2px solid transparent}
body.docs-shell ::-webkit-scrollbar-track{background:transparent}

/* pricing page (2026-07-22 v2): elevated tier cards with grouped features, trust chips,
   included-everywhere icon band, one-engine trio, DIY-stack value split, 2-col FAQ, closing band */
.chips-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
/* TWO tiers as of 2026-08-23 (Paper and Desk removed), so the four-column grid left them squeezed
   into the left half of the page. Two columns, wider, and centred as a pair rather than stretched
   to the full width — a 1100px card is harder to read than a 460px one. */
.price-grid.v2{align-items:stretch;margin-top:36px;grid-template-columns:repeat(2,minmax(0,460px));gap:22px;justify-content:center}
.price-grid.v2 .price{padding:22px}
.price .per s{opacity:.5;margin-right:4px}
.price .founding{font-size:11.5px;color:var(--accent);font-weight:600;margin:2px 0 6px}
@media(max-width:1000px){.price-grid.v2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.price-grid.v2{grid-template-columns:1fr}}
.price .micro{font-size:11px;color:var(--dim);margin-top:8px;text-align:center}
.price .tag.plan{color:var(--mut)}
.price.hot{position:relative;border:1px solid rgba(63,134,255,.45);padding-top:34px;
  box-shadow:0 18px 60px rgba(63,134,255,.16),0 2px 8px rgba(63,134,255,.08);
  /* gradient strip as a BACKGROUND layer so it clips to the card's 24px radius (a ::before bar
     poked square corners past the curve); the floating badge stays unclipped */
  background:linear-gradient(90deg,#1B3F9E,var(--accent) 55%,var(--accent-300)) top/100% 4px no-repeat,rgba(255,255,255,.38)}
.price.hot .tag{position:absolute;top:-11px;left:50%;transform:translateX(-50%);background:var(--accent);
  color:#fff;padding:4px 12px;border-radius:99px;box-shadow:0 4px 14px rgba(63,134,255,.35);margin:0;white-space:nowrap}
/* CTA alignment: buttons pinned to one shared baseline across all three cards */
.price-grid.v2 .price ul{flex:none;margin:6px 0 14px}
/* The first list has no .fgroup above it since 2026-08-23 (the 'Live execution' header came out),
   so its 6px top margin was sitting straight under .outcome prose and reading as one block. */
.price-grid.v2 .price .outcome + ul{margin-top:16px}
.price-grid.v2 .price .btn{margin-top:auto;width:100%;justify-content:center}
.price .amount-row{display:flex;align-items:baseline;gap:7px;margin:8px 0 2px}
.price .amount{margin:0}
.price .outcome{font-size:13px;font-weight:600;color:var(--ink);margin-top:12px;line-height:1.5}
.fgroup{font:700 9.5px var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--dim);
  margin:16px 0 2px;padding-left:20px}
.price ul{margin:6px 0 22px}
.plan-flag{font:700 9px var(--font);letter-spacing:.08em;color:var(--mut);text-transform:uppercase;border:1px solid var(--line);border-radius:4px;padding:1px 5px;margin-left:6px;vertical-align:1px}
.incl-band{background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);border:1px solid var(--line);
  border-radius:16px;padding:34px 38px;box-shadow:var(--shadow);margin-top:44px}
.incl-band>.k{font:700 11px var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--dim);margin-bottom:22px}
/* The trial, stated once for both plans and sitting where the reader is already looking at what every
   plan includes (operator 2026-09-27). It moved here from a small note under the two cards. */
.incl-lead{font-size:14px;color:var(--mut);max-width:880px;margin:-8px 0 26px;line-height:1.6}
.incl-lead b{color:var(--ink)}
.incl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 32px}
.incl{display:flex;gap:13px;align-items:flex-start}
.incl .ico-slot{flex:none;width:34px;height:34px;padding:8px}
.incl b{display:block;font-size:13.5px;margin-bottom:3px}
.incl p{font-size:12.5px;color:var(--mut);line-height:1.55}
.engine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.engine-cell{background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);border:1px solid var(--line);border-radius:var(--r);padding:24px;box-shadow:var(--shadow)}
.engine-cell .ico-slot{width:34px;height:34px;padding:8px;margin-bottom:12px}
.engine-cell h3{font-size:14.5px;margin-bottom:8px}
.engine-cell p{font-size:13.5px;color:var(--mut);line-height:1.65}
.meter-line{text-align:center;font-size:13px;color:var(--mut);margin-top:18px}
.diy-list{list-style:none;margin-top:14px}
.diy-list li{font-size:13.5px;color:var(--mut);padding:7px 0 7px 24px;position:relative;border-bottom:1px dashed var(--line)}
.diy-list li:last-child{border-bottom:0}
.diy-list li::before{content:"×";position:absolute;left:2px;color:var(--red);font-weight:700}
.diy-card{background:rgba(255,255,255,.5);border:1px solid var(--line);border-radius:12px;padding:22px 24px;text-align:center}
.diy-card .k{font:700 10px var(--font);letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}
.diy-card .big{font:800 30px var(--font);letter-spacing:-.03em;margin:8px 0 2px}
.diy-card .s{font-size:12px;color:var(--mut)}
.diy-card .ok{margin-top:14px;text-align:left}
.diy-card .ok div{font-size:12.5px;color:var(--mut);padding:4px 0 4px 20px;position:relative}
.diy-card .ok div::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}
.faq-cols{display:grid;grid-template-columns:1fr 1fr;gap:0 44px;margin-top:36px}
.risk-plain{max-width:680px}
.risk-plain p{font-size:14.5px;color:var(--mut);line-height:1.75;margin-top:12px}
.cta-band .micro{font-size:11.5px;color:var(--dim);margin-top:10px}
.cta-band h2{font-size:26px;letter-spacing:-.02em;margin-bottom:8px}
.cta-band p{font-size:14.5px;color:var(--mut);max-width:460px}
@media(max-width:960px){
  .engine-grid,.incl-grid,.faq-cols{grid-template-columns:1fr}
  .price.hot{transform:none}
}

/* pricing v2.1: centered hero variant; native <details> FAQ (the .a display:none rule expects the
   JS toggle used on faq.html — details[open] must win here); summary styled to match */
.page-hero.center{text-align:center}
.page-hero.center .lede{margin-left:auto;margin-right:auto}
.page-hero.center .chips-row{justify-content:center}
details.faq-item summary{list-style:none;cursor:pointer;font-weight:600;font-size:15px;display:flex;justify-content:space-between;align-items:center;gap:14px}
details.faq-item summary::-webkit-details-marker{display:none}
details.faq-item summary::after{content:"+";color:var(--accent);font-weight:700;flex:none;transition:transform .22s ease}
details.faq-item[open] summary::after{transform:rotate(45deg)}
details.faq-item[open] .a{display:block;animation:faq-in .28s ease}
@keyframes faq-in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}

/* auth page (2026-07-22) */
.auth-wrap{display:grid;place-items:center;min-height:calc(100vh - 220px);padding:48px 24px}
.auth-card{width:100%;max-width:400px;background:rgba(255,255,255,.45);backdrop-filter:blur(24px) saturate(1.6);
  border:1px solid var(--line);border-radius:16px;padding:36px 34px;box-shadow:var(--shadow);text-align:center}
.auth-card h1{font:800 24px var(--font);letter-spacing:-.02em;margin-top:18px}
.auth-sub{font-size:13.5px;color:var(--mut);margin:6px 0 22px}
.auth-label{display:block;text-align:left;font:600 11.5px var(--font);color:var(--mut);margin:14px 0 5px;text-transform:uppercase;letter-spacing:.06em}
.auth-input{width:100%;padding:11px 14px;border-radius:8px;border:1px solid var(--line2);background:#fff;
  color:var(--ink);font:500 14px var(--font);outline:none}
.auth-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(63,134,255,.12)}
.auth-card .btn.primary{margin-top:20px}
.auth-note{font-size:12px;color:var(--mut);margin-top:18px;line-height:1.65}
/* .wl-x outlived the waitlist modal it was named for — consent.js reuses it as the preferences
   dialog's close button, so the name is now a misnomer rather than dead code. */
.wl-x{position:absolute;top:10px;right:14px;background:none;border:0;font:400 22px var(--font);color:var(--dim);cursor:pointer;padding:4px}
.wl-x:hover{color:var(--ink)}
html.dark body.docs-shell .auth-input{background:#17263F;border-color:var(--line2)}

/* split brand pane (2026-07-22): the login page's gradient half. The waitlist modal shared it
   until the waitlist was retired 2026-08-01; auth.py is now the only consumer. */
/* the ONE brand gradient, on the one surface large enough to earn it (brand guide §6) */
.brand-pane{position:relative;overflow:hidden;background:linear-gradient(45deg,#1B3F9E 0%,#3F86FF 100%);
  color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:38px 36px}
.brand-pane::before{content:"";position:absolute;inset:0;opacity:.16;
  background-image:linear-gradient(rgba(255,255,255,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.35) 1px,transparent 1px);
  background-size:44px 44px}
.brand-pane .bp-lockup{position:relative;display:block;height:34px;width:auto}
.brand-pane .bp-tag{position:relative;font:800 26px/1.2 var(--font);letter-spacing:-.02em;max-width:300px}
.brand-pane .bp-sub{position:relative;font-size:13px;color:rgba(255,255,255,.75);margin-top:10px;max-width:300px}
.brand-pane svg.bp-curve{position:absolute;left:0;right:0;bottom:0;width:100%;height:42%;opacity:.9}


/* brand-pane tagline: centered, larger (2026-07-22) */
.brand-pane .bp-mid{position:relative;z-index:1;flex:1;display:grid;place-content:center;text-align:center;padding-bottom:16%}
.brand-pane .bp-tag{font:800 clamp(28px,2.6vw,38px)/1.15 var(--font);letter-spacing:-.03em;max-width:360px;margin:0 auto}
.brand-pane .bp-sub{font-size:13.5px;color:rgba(255,255,255,.78);margin:14px auto 0;max-width:300px}

/* "coming soon" nav tag for the docs sidebar (2026-07-22: Normal mode UI not shipped yet).
   The row is a FLEX line so the label and the badge cannot break apart: as inline content the badge is
   a separate wrapping opportunity, and "Normal mode" plus SOON is the widest entry in this sidebar —
   it dropped the badge onto a second line, which reads as a nav item of its own. flex + nowrap keeps
   them on one line; `flex:none` stops the badge being squeezed instead of the label. */
.docs-side .sec-pages a{display:flex;align-items:center;white-space:nowrap}
/* ---- sidebar density, 2026-08-06: sixteen entries have to fit without a scrollbar ---------------
   The nav grew from twelve pages to sixteen, and the sidebar is `height:calc(100vh - 57px)` with
   `overflow:auto`, so it started scrolling — on a nav, that hides the very entries it exists to show.
   Measured before touching anything (the arithmetic, not an eyeball):

     24+24 padding · 35 search · 4x(36+6) section headers · 4x(6+2) group margins
     · 16x(6+6+18) rows · ~72 foot                                   = ~891px

   which needs a 948px-tall window. The single biggest line there is 144px of section-header top
   margin, so that is where most of this comes from — spacing first, type size second, because
   shrinking 13.5px text buys ~16px total and costs legibility on every row.

     18px headers · 3px row padding · 13px rows · 16px page padding  = ~675px

   Comfortable at 768px tall (711 available) with room for a seventeenth page. The overflow:auto stays:
   it is the safety net for a short window, not the normal state. */
.docs-side{padding-top:10px;padding-bottom:10px}
.docs-side .sec-pages{margin:2px 0 2px 12px}
.docs-side .sec-pages a.child{font-size:12px}
/* ...and then SPENDS whatever is left over, because tight is not the same as right (operator
   2026-08-07). Those values fit the rows at their tightest, and the rail has `100vh - 191px` to give:
   nothing spare on a 768px window, but 190px on a 1080px one, where the nav reads as a cramped list
   stranded at the top of an empty column. `--ds-fill` is exactly that surplus, zero when there is none,
   and the two rules below divide it 70/30 between the rows and the gaps above section headers.

     712px = 191px of fixed chrome (header, padding, search, foot, gaps)
           + the 508px TWENTY rows occupy at their tightest (507.2 measured in headless Chromium 2026-11-02, the
             last time the rail had twenty rows; from 2026-11-16 the twentieth is "Coming from another engine".
             691 = 191 + 487 + 13 for nineteen rows, 2026-09-20 to 11-02 and 11-09 to 11-16; 670 = 191 + 466 + 13
             before 2026-09-20)
           + 13px of guard. Spending the surplus exactly landed content and room on the same number, and
             sub-pixel rounding on the row paddings tipped that into a scrollbar.
     /57.1 = 0.7 x fill spread over 40 half-paddings (20 rows, two sides each)
     /10   = 0.3 x fill spread over 3 section gaps. The first is pinned below rather than allowed to
             grow with the fill — but it is pinned at 30px, not the old 6px (operator 2026-08-15, asked
             three times before anyone noticed WHY it was not moving: a `.sec:first-child` rule was being
             added at line ~319 and losing to this one every time. Fixed gap, deliberately larger.

   THE ROW COUNT IS IN BOTH CONSTANTS, and the 466 and the 51.4 move together every time a page is added
   or removed. The test asserts len(NAV) so that adding one fails here rather than silently scrolling.

   Eighteen rows no longer fit a 720px-tall window: 466px of content against 434px of room, and the
   tightest layout is already the tightest honest layout. It fits from 768px up, which is the classic
   laptop floor, and below that `overflow:auto` does its job. Shrinking the type further to buy back
   32px would cost every reader legibility to spare a shrinking minority a scrollbar. */
.docs-side{--ds-fill:clamp(0px, 100vh - 712px, 420px)}
.docs-side .sec{font-size:11px;margin:calc(7px + var(--ds-fill)/10) 10px 2px}
.docs-side .ds-tree>.sec:first-of-type{margin-top:30px}
.docs-side .sec-pages a{padding-top:calc(2px + var(--ds-fill)/57.1);padding-bottom:calc(2px + var(--ds-fill)/57.1);font-size:12.5px;line-height:1.35}
/* Below 820px the rail stops being a fixed-height column and stacks above the article, so there is no
   surplus to spend: 100vh would just wedge empty space between the nav and the page. */
@media(max-width:820px){.docs-side{--ds-fill:0px}}
.docs-side .doc-search{padding-top:6px;padding-bottom:6px;font-size:12.5px}
/* The foot is fixed furniture — a theme button and a version string — so every pixel taken off it is a
   pixel the sixteen nav rows get back. */
.docs-side .ds-foot{padding-top:8px;gap:4px}
.docs-side .theme-toggle{padding-top:6px;padding-bottom:6px;font-size:12px}
/* Sub-pages of a parent entry (IBKR Setup and Other brokers sit under Brokers, 2026-08-06). Indent
   plus a smaller face, so the hierarchy reads without a second nesting container and without the
   left rule moving — the rule marks the SECTION, and a child is still in that section.
   INDENT ONLY, no connector tick. The obvious version of that tick is an `a.child::before`, and
   `a.on::before` is already the current-page accent bar on the same pseudo-element — at one class more
   specific AND later in the sheet, the tick would win and the two child pages would be the only pages
   in the sidebar that could not show they were the page you were on. */
.docs-side .sec-pages a.child{padding-left:24px;font-size:13px}
/* ---- every link in an article answers the pointer, 2026-08-06 ------------------------------------
   The base rule is `a{color:var(--accent);text-decoration:none}` — colour only, and nothing whatsoever
   changed on hover. Prose links were the largest group on the page and the only one with no feedback
   at all: the sidebar, the pager, the TOC and the footer each had their own :hover and the body copy
   had none, so the one place a reader is actually reading was the one place a link did not look live.

   Underline on hover rather than a colour shift alone: these links sit mid-sentence, and colour is
   already spent identifying them at rest. `:focus-visible` inherits the global outline, so keyboard
   users get the same affordance without a second rule.

   .pg is excluded because the pager cards are inside the article and already lift on hover — adding an
   underline would put one under a whole two-line card. Same for .btn and the heading anchor. */
.docs-article a{transition:color .12s ease,text-decoration-color .12s ease}
.docs-article a:not(.pg):not(.btn):not(.h-anchor):hover{color:var(--accent-h);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
/* Inside a callout the accent is on a tinted ground, so shift the WEIGHT of the underline rather than
   the colour — accent-hover on that fill reads as a different tint rather than a response. */
.docs-article .callout a:hover{color:var(--accent);text-decoration-thickness:2px}
/* The wordmark is a link home on every page and behaved like plain text under the pointer. */
.logo{transition:opacity .12s ease}
.logo:hover{opacity:.78}
/* DARK. --accent-h is #196CDA — accent 600, solved for hover on a WHITE ground. Used unqualified it
   would make a hovered link DARKER than its rest state on a #14151A page, which is the affordance
   backwards. So the hover goes the other way: lighter, and along the accent's OWN hue.

   A link on dark is var(--accent) — the brand blue itself, no re-solve. These rules previously used
   #C3CDFF, borrowed from the note above the dark block, on the stated grounds that plain #3F86FF is
   4.38:1 and under the 4.5:1 floor for body text. Re-measured against the ground these links actually
   sit on: #3F86FF is 5.27:1 on the #14151A page, 4.87:1 on a pager card, 4.82:1 inside a callout. All
   AA. The 4.38 belongs to some other surface, and the cost of the caution was visible — #C3CDFF is hue
   230 against the brand's 217.8, which is far enough round the wheel to read as lavender rather than
   TradeMint blue (operator 2026-08-07).

   The one ground where #3F86FF would fail is the inline-code tint, 4.31:1 — and no link in the docs
   wraps a <code>, checked. If one ever does, lighten to #498CFF (same hue, 4.60:1 there) rather than
   reaching back for the pastel.

   #7CADFF for hover is the same hue at 74.5% lightness: 8.05:1, unmistakably a lift, still the brand. */
html.dark body.docs-shell .docs-article a:not(.pg):not(.btn):not(.h-anchor){color:var(--accent)}
html.dark body.docs-shell .docs-article a:not(.pg):not(.btn):not(.h-anchor):hover{color:#7CADFF}
html.dark body.docs-shell .docs-article .callout a:hover{color:#7CADFF}
/* The footer is furniture: six legal links a reader is not looking for. It has always been var(--mut)
   on light; on dark the prose-link rule above reached it first and painted it the loudest thing on the
   page. The three :not()s are not decoration — each one counts as a class, so the rule above scores
   (0,6,2) and a plain `.doc-foot a` override at (0,3,2) loses. Matching them, plus .docs-article, puts
   this at (0,7,2). Ugly, and cheaper than restructuring a selector eleven rules depend on. */
html.dark body.docs-shell .docs-article .doc-foot a:not(.pg):not(.btn):not(.h-anchor){color:var(--mut)}
html.dark body.docs-shell .docs-article .doc-foot a:not(.pg):not(.btn):not(.h-anchor):hover{color:#7CADFF}
.docs-side .sec-pages a .soon{flex:none;font:700 8.5px var(--font);letter-spacing:.06em;text-transform:uppercase;
  color:#A16C08;background:#FEF6E7;border:1px solid #F2A413;border-radius:99px;padding:1px 5px;margin-left:7px;vertical-align:1px}
html.dark body.docs-shell .docs-side .sec-pages a .soon{color:#F2A413;background:rgba(251,191,36,.1);border-color:rgba(251,191,36,.3)}

/* button hover polish (2026-07-24) — lift + clearer ghost/primary hover, site-wide */
.btn{transition:transform .15s,box-shadow .18s,background .18s,color .15s,border-color .15s,filter .15s}
.btn:hover{transform:translateY(-1px)}
.btn.ghost:hover{color:var(--accent);background:rgba(63,134,255,.09);border-color:transparent}
.btn.primary:hover{filter:brightness(1.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 9px 30px rgba(63,134,255,.42)}

/* ============================================================================
   2026-08-01 marketing rework — homepage platform/automate/connect sections,
   how-it-works 4-step arc, legal index, contact, and the cookie-consent UI.
   ========================================================================= */

/* ---- homepage: "automate your strategy" (numbered steps beside an app mock) ---- */
.auto-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:44px;align-items:center;margin-top:44px}
.auto-steps{display:flex;flex-direction:column;gap:14px}
.auto-step{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start}
.auto-step .n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
  font:700 13px var(--mono);color:#fff;background:var(--grad);box-shadow:0 4px 14px rgba(63,134,255,.3)}
.auto-step h3{font:700 16px var(--font);margin-bottom:4px}
.auto-step p{font-size:13.5px;color:var(--mut);max-width:420px}

/* The dashboard overview: the same browser chrome as the hero mock, but the body is an app shell
   (rail + content) rather than a single column. Illustration only — no real numbers. */
.appmock .mock-body{padding:0;display:grid;grid-template-columns:132px 1fr;min-height:330px}
.appmock .am-rail{border-right:1px solid var(--line);padding:14px 10px;display:flex;flex-direction:column;gap:3px;background:var(--bg1)}
.appmock .am-rail .am-brand{display:flex;align-items:center;gap:7px;padding:2px 8px 12px}
.appmock .am-rail .am-brand svg{width:15px;height:15px;flex:none;color:var(--ink)}
.appmock .am-rail .am-brand span{font:800 12px var(--font);letter-spacing:-.02em}
.appmock .am-nav{display:flex;align-items:center;gap:8px;padding:6px 9px;border-radius:7px;font-size:11.5px;color:var(--mut)}
.appmock .am-nav i{width:6px;height:6px;border-radius:2px;background:var(--line2);flex:none;font-style:normal}
.appmock .am-nav.on{background:#E7EAFF;color:var(--accent);font-weight:600}
.appmock .am-nav.on i{background:var(--accent)}
.appmock .am-main{padding:16px 18px;min-width:0}
.appmock .am-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.appmock .am-head .am-t{font:700 13px var(--font)}
.appmock .stat-row{grid-template-columns:repeat(3,1fr);margin-bottom:12px}
.appmock .stat .v{font-size:15px}
.appmock .pos-table{margin-top:12px}
@media(max-width:960px){
  .auto-grid{grid-template-columns:1fr}
  .appmock .mock-body{grid-template-columns:1fr}
  .appmock .am-rail{flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid var(--line);padding:10px}
  .appmock .am-rail .am-brand{display:none}
}

/* ---- homepage: "connect your broker, start on paper" ---- */
.connect-grid{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center;margin-top:40px}
.connect-list{list-style:none;margin-top:22px}
.connect-list li{font-size:13.5px;color:var(--mut);padding:8px 0 8px 26px;position:relative}
.connect-list li::before{content:"✓";position:absolute;left:2px;color:var(--green);font-weight:700}
.connect-list li b{color:var(--ink);font-weight:600}
@media(max-width:960px){.connect-grid{grid-template-columns:1fr}}

/* ---- how it works: sticky rail (title + step menu) beside the step sections ---- */
/* The rail is position:sticky rather than fixed so it still sits INSIDE .wrap's column and cannot
   overlap the content at any width; align-items:start on the grid is what lets it stick at all. */
/* The rail must not drift before it sticks. A sticky box only holds still if its natural offset
   already equals its `top`, so the two numbers below are a matched pair: the sticky nav is ~69px
   tall, plus this grid's 28px top padding puts the rail's resting edge at ~97px — which is what
   `top` is set to. Change one and change the other, or the rail slides on the first scroll. */
/* The rail must not drift before it sticks, which happens unless its resting offset already equals
   its `top`. That offset is (sticky nav height + this grid's top padding), and the nav's height is a
   rendered value, not a constant — so tm.js measures it into --navh and the two stay in lockstep at
   any zoom or font size. The fallback matches the nav at default settings. */
.hiw-shell{display:grid;grid-template-columns:320px minmax(0,1fr);gap:56px;align-items:start;padding-block:28px 8px}   /* block only, as .page-hero */
.hiw-rail{position:sticky;top:calc(var(--navh,69px) + 28px);
  max-height:calc(100vh - var(--navh,69px) - 44px);overflow-y:auto;scrollbar-width:thin}
.hiw-rail h1{font-size:clamp(27px,2.8vw,36px);letter-spacing:-.03em}
.hiw-rail .lede{font-size:14.5px;margin-top:14px;max-width:none}
.hiw-menu{display:flex;flex-direction:column;gap:1px;margin:26px 0 20px;border-left:2px solid var(--line)}
.hiw-menu a{display:flex;align-items:baseline;gap:11px;padding:10px 14px;margin-left:-2px;
  border-left:2px solid transparent;border-radius:0 8px 8px 0;color:var(--mut);font-size:14px;transition:.15s}
.hiw-menu a .k{font:700 11px var(--mono);color:var(--dim);flex:none}
.hiw-menu a:hover{color:var(--ink);background:rgba(255,255,255,.45)}
.hiw-menu a.on{border-left-color:var(--accent);background:#E7EAFF;color:var(--accent);font-weight:600}
.hiw-menu a.on .k{color:var(--accent)}
.hiw-subs{display:flex;flex-direction:column}
.hiw-subs a{display:flex;align-items:baseline;gap:9px;padding:6px 14px 6px 30px;margin-left:-2px;
  border-left:2px solid transparent;border-radius:0 8px 8px 0;color:var(--dim);font-size:12.5px;transition:.15s}
.hiw-subs a .k{font:700 9.5px var(--mono);color:var(--line2);flex:none}
.hiw-subs a:hover{color:var(--ink)}
.hiw-subs a.on{border-left-color:var(--accent);color:var(--accent);font-weight:600}
.hiw-subs a.on .k{color:var(--accent)}
.hiw-sec{padding:0 0 68px;scroll-margin-top:calc(var(--navh,69px) + 20px)}
/* The FAQ page reuses the how-it-works rail; its groups are the anchors, so they need the same offset
   or a click on a subject lands the heading under the sticky nav. */
.faq-shell .faq-group{scroll-margin-top:calc(var(--navh,69px) + 20px)}
/* `section + section` already draws the rule between steps; without top padding the
   next heading sits straight on that line. */
.hiw-sec + .hiw-sec{padding-top:56px}
.hiw-sec .step-k{font:700 11px var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--accent);margin-bottom:10px}
.hiw-sec h2{font-size:clamp(23px,2.6vw,30px)}
.hiw-sec .lede{font-size:15.5px;margin-top:14px;max-width:620px}
.hiw-sub{font:700 13px var(--font);letter-spacing:.02em;margin:30px 0 2px;color:var(--ink);
  scroll-margin-top:calc(var(--navh,69px) + 40px)}
.hiw-sub .n{font:700 10.5px var(--mono);color:var(--accent);margin-right:8px}
.hiw-list{list-style:none;margin-top:20px}
.hiw-list li{font-size:13.5px;color:var(--mut);padding:7px 0 7px 26px;position:relative}
.hiw-list li::before{content:"\2192";position:absolute;left:0;color:var(--accent);font-weight:700}
.hiw-links{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px;font-size:13.5px}
@media(max-width:1000px){
  .hiw-shell{grid-template-columns:minmax(0,1fr);gap:28px;padding-top:36px}   /* minmax: a bare 1fr let the rail's content push it 5px past a 360px screen */
  .hiw-rail{position:relative;top:0}
  .hiw-menu{flex-direction:row;flex-wrap:wrap;border-left:0;margin-left:0}
  .hiw-menu a{border-left:0;border-radius:99px;border:1px solid var(--line2);margin-left:0}
  .hiw-subs{display:none}   /* the sub-rail is a desktop affordance; as pills it is noise */
  .hiw-rail{max-height:none;overflow:visible}
  .hiw-menu a.on{border-color:var(--accent)}
}

/* the strategy builder mock — a form, drawn rather than screenshotted */
.builder{border:1px solid var(--line);border-radius:var(--r);background:rgba(255,255,255,.42);
  backdrop-filter:blur(22px) saturate(1.6);box-shadow:var(--shadow);overflow:hidden;margin-top:16px}
.b-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 20px;
  border-bottom:1px solid var(--line);background:var(--bg1)}
.b-title{font:700 13.5px var(--font)}
.b-body{padding:4px 20px 14px}
/* Four groups in a 2x2 — Position Details / Entry Filters over Position Entry / Exit Options — with
   hairlines between them rather than four separate cards, so it reads as one form. */
/* Three groups, not four: entry filters moved out to the template, where they are set once and
   inherited, rather than making every strategy form look like a control panel. Exit options take
   the whole right column so the row heights stay even. */
.bgrid{display:grid;grid-template-columns:1fr 1fr}
.bgroup{padding:18px 22px 16px;min-width:0}
.bgroup.gd{border-right:1px solid var(--line)}
.bgroup.ge{border-right:1px solid var(--line);border-top:1px solid var(--line)}
.bgroup.gf{border-top:1px solid var(--line)}
/* the inherited-filters quadrant: same ticks, no Setting column, and read-only styling — it is
   showing what the strategy PICKS UP from its template, not another thing to configure here */
.frow.ro{grid-template-columns:16px 1fr;padding:7px 0;border-bottom:0}
.frow.ro .fn{color:var(--mut);font-size:12.5px}
.frow.ro .fc{background:var(--green-f);opacity:.85}
.ginherit{font-size:11.5px;color:var(--dim);margin-top:12px;line-height:1.55}
.bgroup h4{font:700 14.5px var(--font);letter-spacing:-.01em;margin-bottom:10px}
.field{display:grid;grid-template-columns:104px minmax(0,1fr);gap:14px;align-items:center;
  padding:7px 0}
.field .fl{font-size:12.5px;color:var(--mut)}
/* the filter checklist */
.fhead{display:grid;grid-template-columns:16px 1fr auto;gap:11px;padding:2px 0 7px;
  border-bottom:1px solid var(--line2);font:600 9.5px var(--mono);letter-spacing:.08em;
  text-transform:uppercase;color:var(--dim)}
.fhead .fr{text-align:right}
.frow{display:grid;grid-template-columns:16px 1fr auto;gap:11px;align-items:center;
  padding:9px 0;border-bottom:1px solid var(--line)}
.frow:last-child{border-bottom:0}
.frow .fc{width:16px;height:16px;border-radius:4px;background:var(--green);display:grid;place-items:center}
.frow .fc::after{content:"\2713";color:#fff;font:700 10px var(--font);line-height:1}
.frow .fc.off{background:transparent;border:1.5px solid var(--line2)}
.frow .fc.off::after{content:""}
.frow .fn{font-size:12.5px;color:var(--ink);min-width:0}
.frow .fv{font:600 11.5px var(--mono);color:var(--mut);text-align:right;white-space:nowrap}
.frow.off .fn{color:var(--dim)}
.ctl{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 12px;
  border-radius:8px;border:1px solid var(--line2);background:#fff;font:600 12.5px var(--mono);color:var(--ink)}
.ctl.sel::after{content:"\25be";color:var(--dim);font:400 11px var(--font)}
.ctl.acc{color:var(--accent);border-color:var(--accent-300);background:#F7F9FF}
.ctl.code{font-size:11.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.fpair{display:grid;grid-template-columns:1fr 1fr;gap:8px}

/* the bots the strategy fans out into */
.botrow{display:grid;grid-template-columns:minmax(0,1fr) 56px 56px 58px 74px;gap:10px;align-items:center;
  padding:10px 0;border-bottom:1px solid var(--line);font:12.5px var(--mono)}
.botrow:last-child{border-bottom:0}
.botrow .bn{font-family:var(--font);font-size:13px;font-weight:600;color:var(--ink)}
.botrow .bv{color:var(--mut);text-align:right}
.botrow .bq{color:var(--accent);text-align:right;font-weight:600}
.botrow .bp{text-align:right;font-weight:600}
.botrow.tot{border-top:1px solid var(--line2);border-bottom:0;padding-top:11px}
.botrow.tot .bn{font-weight:700}
.botrow.bh{border-bottom:1px solid var(--line2);padding-bottom:7px}
.botrow.bh span{font:600 9.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
/* step 03's session log: what each bot did and why, with prices but no dollar outcomes (2026-11-16) */
.botrow.log{grid-template-columns:minmax(0,1fr) 104px 104px minmax(0,1.1fr)}
.botrow.log:not(.bh) .br{font-family:var(--font);font-size:12.5px;color:var(--mut)}
@media(max-width:640px){
  .botrow.log{grid-template-columns:1fr 1fr;row-gap:4px}
  .botrow.log .bn,.botrow.log .br{grid-column:1/-1}
  .botrow.log .bv{text-align:left}
  .botrow.log.bh span:first-child,.botrow.log.bh .br{display:none}}

/* the two configuration views, side by side */
.views{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.view{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  background:rgba(255,255,255,.42);backdrop-filter:blur(22px) saturate(1.6);box-shadow:var(--shadow);
  display:flex;flex-direction:column}
.v-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 16px;
  border-bottom:1px solid var(--line);background:var(--bg1);
  font:700 10.5px var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--dim)}
.v-soon{font:700 9px var(--font);letter-spacing:.07em;text-transform:uppercase;color:#A16C08;
  background:#FEF6E7;border:1px solid #F2A413;border-radius:99px;padding:2px 8px}
.v-now{font:700 9px var(--font);letter-spacing:.07em;text-transform:uppercase;color:#fff;
  background:var(--green);border:1px solid var(--green);border-radius:99px;padding:2px 8px}
.view pre{flex:1;margin:0;background:#17263F;color:#CED1D9;padding:16px 18px;font:11.5px/1.75 var(--mono);overflow-x:auto}
.view pre .c1{color:#B2B5BB}.view pre .c2{color:#C3CDFF}.view pre .c3{color:#A5D8FE}.view pre .c4{color:#FFE1EE}
.v-body{flex:1;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.botcard{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 14px}
.botcard .bc-t{font:700 12.5px var(--font)}
.botcard .bc-m{font:11px var(--mono);color:var(--mut);margin-top:5px;line-height:1.7}
.v-note{padding:12px 16px;border-top:1px solid var(--line);background:var(--bg1);font-size:11.5px;color:var(--dim)}
@media(max-width:820px){.views,.bgrid{grid-template-columns:1fr}
  .bgrid > .bgroup{border-right:0;border-top:1px solid var(--line)}
  .bgrid > .bgroup:first-child{border-top:0}
  .field{grid-template-columns:1fr;gap:5px}}

/* Panel used as the visual beside each how-it-works step: a titled card holding rows of plain text.
   Deliberately schematic rather than a screenshot — screenshots of a pre-launch UI go stale weekly. */
.panel{background:rgba(255,255,255,.42);backdrop-filter:blur(22px) saturate(1.6);border:1px solid var(--line);
  border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.panel .p-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 18px;border-bottom:1px solid var(--line);background:var(--bg1);
  font:700 10.5px var(--mono);letter-spacing:.09em;text-transform:uppercase;color:var(--dim)}
.panel .p-body{padding:8px 18px 14px}
.p-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}
.p-row:last-child{border-bottom:0}
.p-row .l{font-size:13px;color:var(--mut)}
.p-row .r{font:600 12.5px var(--mono);color:var(--ink);text-align:right}
.p-row .r.acc{color:var(--accent)}
.p-row .r.ok{color:var(--green)}
.p-note{padding:12px 18px;border-top:1px solid var(--line);background:var(--bg1);font-size:11.5px;color:var(--dim)}

/* ---- FAQ: contact card at the end, and a link back to the full list ---- */
.faq-more{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  margin-top:40px;padding:26px 30px;border:1px solid var(--line);border-radius:var(--r);
  background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);box-shadow:var(--shadow)}
.faq-more h3{font:700 17px var(--font);margin-bottom:4px}
.faq-more p{font-size:13.5px;color:var(--mut)}

/* ---- legal index ---- */
.legal-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:36px}
.legal-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);
  padding:24px 26px;background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);
  box-shadow:var(--shadow);transition:.18s}
.legal-card:hover{border-color:var(--accent);transform:translateY(-2px)}
.legal-card h3{font:700 16px var(--font);color:var(--ink);margin-bottom:6px}
.legal-card p{font-size:13px;color:var(--mut);flex:1}
.legal-card .read{margin-top:16px;font:600 12.5px var(--font);color:var(--accent)}
.legal-card .upd{font:600 10.5px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim);margin-bottom:10px}
@media(max-width:960px){.legal-cards{grid-template-columns:1fr}}
/* The note leads the grid and spans both columns, as wide as the pair of cards beneath it. */
.legal-cards .legal-note{grid-column:1/-1;margin:0;font-size:14px;line-height:1.6}
.legal-note p{margin-top:10px;font-size:13.5px}

/* ---- contact ---- */
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:start;margin-top:40px}
.contact-form{border:1px solid var(--line);border-radius:var(--r);padding:28px 30px;
  background:rgba(255,255,255,.42);backdrop-filter:blur(22px) saturate(1.6);box-shadow:var(--shadow)}
.contact-form select,.contact-form textarea{width:100%;padding:11px 14px;border-radius:8px;border:1px solid var(--line2);
  background:#fff;color:var(--ink);font:500 14px var(--font);outline:none}
.contact-form textarea{min-height:132px;resize:vertical;line-height:1.6}
.contact-form select:focus,.contact-form textarea:focus,.contact-form .auth-input:focus{
  border-color:var(--accent);box-shadow:0 0 0 3px rgba(63,134,255,.12)}
.contact-form .btn{width:100%;justify-content:center;margin-top:18px}
.contact-routes{display:flex;flex-direction:column;gap:12px}
.route{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--line);border-radius:16px;
  padding:18px 20px;background:rgba(255,255,255,.38);backdrop-filter:blur(22px) saturate(1.6);box-shadow:var(--shadow)}
.route .ico-slot{flex:none;width:34px;height:34px;padding:8px}
.route b{display:block;font-size:13.5px;margin-bottom:3px}
.route p{font-size:12.5px;color:var(--mut);line-height:1.55}
.route a{font-weight:600}
@media(max-width:960px){.contact-grid{grid-template-columns:1fr}}

/* ---- cookie consent (hand-rolled: the site loads nothing from a third party, and a consent
   banner pulled off a CDN would be the one script that broke that promise) ---- */
.cc-banner{position:fixed;z-index:100;right:20px;bottom:20px;width:min(420px,calc(100vw - 40px));
  background:rgba(255,255,255,.72);backdrop-filter:blur(26px) saturate(1.7);
  border:1px solid rgba(255,255,255,.7);border-radius:16px;padding:22px 24px;
  box-shadow:0 20px 60px rgba(23,38,63,.18)}
.cc-banner h2{font:800 17px var(--font);letter-spacing:-.02em}
.cc-banner p{font-size:13px;color:var(--mut);margin-top:8px;line-height:1.6}
.cc-acts{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
.cc-acts .btn{flex:1 1 auto;justify-content:center;padding:9px 14px;font-size:12.5px}
.cc-link{background:none;border:0;padding:0;margin-top:12px;font:600 12px var(--font);color:var(--accent);
  cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.cc-link:hover{color:var(--accent-h)}
/* The banner's and the modal's PROSE links — the cookie policy, the privacy policy, the privacy
   mailbox. They are built by consent.js and were the last links on the site with no hover state at
   all: the surrounding copy is var(--mut), so the only thing marking them as links was the accent, and
   nothing changed under the pointer. Underline on hover, same idiom as the article body. */
.cc-banner a,.cc-card a{color:var(--accent);transition:color .12s ease}
.cc-banner a:not(.btn):not(.cc-link):hover,.cc-card a:not(.btn):hover{color:var(--accent-h);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
/* `margin:auto` is what centres a modal <dialog>, and it is a UA default — which the `*{margin:0}`
   reset at the top of this sheet removes along with everyone else's. Without it showModal() lays the
   dialog out at inset 0 and it renders hard against the TOP-LEFT of the viewport. Restated here rather
   than exempting <dialog> from the reset: the reset is doing its job, this element just needs the one
   declaration back, and scoping it keeps any future dialog from silently depending on it. */
dialog.cc-modal{border:0;border-radius:16px;padding:0;background:transparent;max-width:min(560px,94vw);width:560px;
  margin:auto}
dialog.cc-modal::backdrop{background:rgba(23,38,63,.45);backdrop-filter:blur(6px)}
.cc-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  max-height:min(84vh,720px);display:flex;flex-direction:column}
.cc-card header{display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:20px 26px;border-bottom:1px solid var(--line)}
.cc-card header h2{font:800 19px var(--font);letter-spacing:-.02em}
.cc-body{padding:6px 26px 18px;overflow-y:auto}
.cc-cat{border-bottom:1px solid var(--line);padding:16px 0}
.cc-cat:last-child{border-bottom:0}
.cc-cat-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.cc-cat-head b{font-size:14px}
.cc-cat p{font-size:12.5px;color:var(--mut);margin-top:6px;line-height:1.6;max-width:420px}
.cc-card footer{display:flex;gap:9px;flex-wrap:wrap;padding:16px 26px;border-top:1px solid var(--line);background:var(--bg1)}
.cc-card footer .btn{flex:1 1 auto;justify-content:center;font-size:12.5px}
/* the switch: a real checkbox, restyled — keyboard and screen readers get it for free */
.cc-sw{position:relative;flex:none;width:42px;height:24px}
.cc-sw input{position:absolute;inset:0;opacity:0;margin:0;width:100%;height:100%;cursor:pointer}
.cc-sw .track{position:absolute;inset:0;border-radius:99px;background:var(--line2);transition:.18s;pointer-events:none}
.cc-sw .track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(23,38,63,.3);transition:.18s}
.cc-sw input:checked + .track{background:var(--accent)}
.cc-sw input:checked + .track::after{transform:translateX(18px)}
.cc-sw input:disabled + .track{background:var(--accent-300);cursor:not-allowed}
.cc-sw input:focus-visible + .track{outline:2px solid var(--accent);outline-offset:2px}
.cc-locked{font:600 10px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
@media(max-width:520px){.cc-banner{right:12px;left:12px;bottom:12px;width:auto;padding:14px 16px;max-height:calc(100vh - 24px);overflow-y:auto}
  /* it took 40% of a 700px screen (operator 2026-10-03: "make the a note about cookies popup fit in mobile") */
  .cc-banner h2{font-size:15px}.cc-banner p{font-size:12.5px;line-height:1.5;margin-top:6px}
  .cc-acts{margin-top:12px;flex-wrap:nowrap}.cc-acts .btn{flex:1 1 0;padding:8px 10px}.cc-link{margin-top:10px}
  .cc-card header,.cc-card footer{padding-left:18px;padding-right:18px}.cc-body{padding:4px 18px 14px}}
@media (prefers-reduced-motion: reduce){.cc-sw .track,.cc-sw .track::after{transition:none}}
html.dark body.docs-shell .cc-banner{background:rgba(31,34,39,.9);border-color:var(--line2)}
html.dark body.docs-shell .cc-card{background:#1F2227;border-color:var(--line2)}

/* ---- FAQ, 2026-08-01: one bordered panel per group, chevrons, per-row hover ----
   These rules deliberately come last in the file. Two earlier blocks style
   `details.faq-item > summary::after` as a "+" at the same specificity, and rather than hunt them
   down and edit three places, the later rule wins the cascade. If you delete this block the page
   falls back to the old plus-sign FAQ rather than to nothing. */
.faq-group{margin-top:34px}
/* Section headers are real headings now, not eyebrow labels: with five groups on /faq the reader
   is navigating between them, and a 11.5px uppercase tag in --dim reads as a caption for the panel
   below rather than as a landmark you can scan for. */
.faq-group > h3{font:800 20px var(--font);letter-spacing:-.02em;text-transform:none;
  color:var(--ink);margin-bottom:14px}
.faq-group + .faq-group{margin-top:42px}
.faq-panel{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;
  background:rgba(255,255,255,.42);backdrop-filter:blur(22px) saturate(1.6);box-shadow:var(--shadow)}
details.faq-item{border-bottom:1px solid var(--line);padding:0;transition:background .16s ease}
details.faq-item:last-child{border-bottom:0}
details.faq-item:hover{background:rgba(255,255,255,.6)}
details.faq-item[open]{background:rgba(231,234,255,.42)}
details.faq-item > summary{padding:16px 22px;gap:18px;font-size:14.5px;color:var(--ink);
  transition:color .15s ease}
details.faq-item:hover > summary{color:var(--accent-h)}
/* a chevron drawn from two borders — no glyph, so it cannot be substituted by a fallback font,
   and it rotates through a real 180° instead of swapping one character for another */
details.faq-item > summary::after{content:"";flex:none;width:8px;height:8px;margin:0 2px 3px 0;
  border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);border-radius:1px;
  transform:rotate(45deg);transform-origin:center;transition:transform .26s cubic-bezier(.4,0,.2,1)}
details.faq-item[open] > summary::after{transform:rotate(-135deg)}
details.faq-item .a{padding:0 22px 18px;max-width:none;font-size:14px}
details.faq-item[open] .a{animation:faq-open .3s cubic-bezier(.4,0,.2,1)}
@keyframes faq-open{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){
  details.faq-item,details.faq-item > summary,details.faq-item > summary::after{transition:none}
  details.faq-item[open] .a{animation:none}
}
/* the copyright + cookie link sit on their own line under the disclaimer (2026-08-01) */
.legal-line2{margin-top:8px}
/* Dark mode for the nav hover bar. --accent #3F86FF is a FILL colour and only reaches 4.38:1 on the
   dark shell, which is thin for a 2px rule; the docs theme already re-solves the accent to #C3CDFF
   wherever it has to carry meaning on dark, so the bar uses that. Same rule covers the current-page
   bar, since both are painted by the same ::after. */
html.dark body.docs-shell .nav-links a::after{background:#C3CDFF}
html.dark body.docs-shell .nav-links a[aria-current="page"]{color:var(--ink)}

/* Arrows on links lean toward where they lead (operator 2026-09-28). Wrapped in .arr on the pages; a path-style
   "Settings → System" link is not wrapped, because there the arrow is a separator, not a direction. */
.arr{display:inline-block;transition:transform .18s ease}
a:hover .arr,a:focus-visible .arr{transform:translateX(3px)}
a:hover .arr.back,a:focus-visible .arr.back{transform:translateX(-3px)}
@media (prefers-reduced-motion: reduce){.arr{transition:none}a:hover .arr,a:focus-visible .arr{transform:none}}

/* docs on a phone or tablet: a floating glass bar replaces the rails (operator 2026-10-03: "we need a way to
   navigate the getting started left side bar and right side bar which is not visible at all ... a hovering
   bottom liquid glass bar similar to what is on the dashboard"). Below 1100px the contents rail was
   display:none and below 820px the page tree sat above the article; now both open as bottom sheets from
   the bar, which tm.js builds once from the page's own pager. Same glass as the dashboard's #mnav. */
:root{--dnav-fill:rgba(250,252,255,.62);--dnav-line:rgba(63,69,85,.14);--dnav-spec:rgba(255,255,255,.85);
  --dnav-lens:rgba(63,134,255,.12);--dnav-lensline:rgba(63,134,255,.28);--dnav-shadow:rgba(23,38,63,.18);
  --dnav-scrim:rgba(23,38,63,.28);--dnav-sheet:rgba(255,255,255,.9)}
html.dark{--dnav-fill:rgba(28,29,31,.58);--dnav-line:rgba(255,255,255,.10);--dnav-spec:rgba(255,255,255,.16);
  --dnav-lens:rgba(63,134,255,.22);--dnav-lensline:rgba(111,168,255,.42);--dnav-shadow:rgba(0,0,0,.55);
  --dnav-scrim:rgba(8,8,9,.45);--dnav-sheet:rgba(31,34,39,.94)}
#dnav,.dnav-scrim{display:none}
@media(max-width:1100px){
  #dnav{display:flex;position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));
    z-index:70;height:56px;padding:6px;gap:4px;align-items:center;border-radius:30px;border:1px solid var(--dnav-line);
    background:var(--dnav-fill);-webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);
    box-shadow:0 10px 36px var(--dnav-shadow),inset 0 1px 0 var(--dnav-spec);max-width:520px;margin-inline:auto}
  #dnav .dn-it{flex:1;min-width:0;height:44px;border:1px solid transparent;border-radius:24px;background:transparent;
    display:flex;align-items:center;justify-content:center;gap:7px;color:var(--mut);font:600 13px var(--font);
    cursor:pointer;text-decoration:none;-webkit-tap-highlight-color:transparent;padding:0 8px}
  #dnav .dn-it span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #dnav .dn-it svg{width:18px;height:18px;flex:none}
  #dnav .dn-arr{flex:0 0 44px;padding:0}
  #dnav .dn-it:hover{color:var(--accent)}
  #dnav .dn-it.on{background:var(--dnav-lens);border-color:var(--dnav-lensline);color:var(--accent);
    box-shadow:inset 0 1px 0 var(--dnav-spec)}
  #dnav .dn-it[aria-disabled="true"]{opacity:.35;pointer-events:none}
  body.docs-shell .docs-article{padding-bottom:96px}
  .dnav-scrim{display:block;position:fixed;inset:0;z-index:65;background:var(--dnav-scrim);opacity:0;pointer-events:none;transition:opacity .25s}
  body.dn-open .dnav-scrim{opacity:1;pointer-events:auto}
  /* the rails become sheets that rise above the bar */
  body.docs-shell .docs-toc{display:flex;flex-direction:column;position:fixed;left:12px;right:12px;
    top:auto;bottom:calc(80px + env(safe-area-inset-bottom,0px));height:auto;max-height:min(66vh,560px);max-width:520px;margin-inline:auto;
    z-index:69;padding:18px 16px;border:1px solid var(--dnav-line);border-radius:20px;background:var(--dnav-sheet);
    -webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:0 18px 48px var(--dnav-shadow);
    transform:translateY(16px);opacity:0;visibility:hidden;transition:transform .25s ease,opacity .2s ease,visibility 0s .25s}
  body.docs-shell .docs-toc{overflow:hidden;padding-right:8px}
  body.docs-shell .docs-toc .toc-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:8px}
  body.docs-shell .docs-toc a{padding-top:7px;padding-bottom:7px}
  body.dn-toc .docs-toc{transform:none;opacity:1;visibility:visible;transition:transform .25s ease,opacity .2s ease}
}
@media(max-width:820px){
  /* the page tree leaves the top of the article and lives in the Pages sheet */
  body.docs-shell .docs-side.dn-sheet{display:flex;flex-direction:column;position:fixed;left:12px;right:12px;
    top:auto;bottom:calc(80px + env(safe-area-inset-bottom,0px));height:auto;max-height:min(66vh,560px);max-width:520px;margin-inline:auto;
    z-index:69;padding:18px 16px;border:1px solid var(--dnav-line);border-radius:20px;background:var(--dnav-sheet);
    -webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:0 18px 48px var(--dnav-shadow);
    transform:translateY(16px);opacity:0;visibility:hidden;transition:transform .25s ease,opacity .2s ease,visibility 0s .25s}
  body.dn-side .docs-side.dn-sheet{transform:none;opacity:1;visibility:visible;transition:transform .25s ease,opacity .2s ease}
  body.docs-shell .docs-article h2,body.docs-shell .docs-article h3{scroll-margin-top:72px}
  /* a wide table scrolls inside itself instead of dragging the page sideways (settings, tickers: 449/485px at 360) */
  .article table{display:block;overflow-x:auto}
}
@media(min-width:821px){#dnav .dn-pages{display:none}}
@media(prefers-reduced-motion:reduce){body.docs-shell .docs-toc,body.docs-shell .docs-side.dn-sheet,.dnav-scrim{transition:none}}

/* How it works and FAQ: the same bar below 1001px, where their rail stops being a column. The section list
   becomes a sheet (with step 2's sub-steps, which the pill row had to hide) and the arrows step section by
   section (operator 2026-10-03: "needs a liquid glass menu to handle the different sections and side menu on
   that page like in docs"). */
@media(min-width:1001px){#dnav.dn-hiw{display:none}}
@media(max-width:1000px){
  body.dn-hiw-page{padding-bottom:84px}
  body.dn-hiw-page .hiw-rail > .btn{margin-top:20px}   /* the section list used to sit between the lede and this button */
  .hiw-menu.dn-sheet{display:flex;flex-direction:column;flex-wrap:nowrap;gap:1px;position:fixed;left:12px;right:12px;bottom:calc(80px + env(safe-area-inset-bottom,0px));
    max-height:min(66vh,560px);max-width:520px;margin:0 auto;z-index:69;padding:12px;overflow-y:auto;overscroll-behavior:contain;
    border:1px solid var(--dnav-line);border-radius:20px;background:var(--dnav-sheet);
    -webkit-backdrop-filter:blur(22px) saturate(160%);backdrop-filter:blur(22px) saturate(160%);box-shadow:0 18px 48px var(--dnav-shadow);
    transform:translateY(16px);opacity:0;visibility:hidden;transition:transform .25s ease,opacity .2s ease,visibility 0s .25s}
  body.dn-toc .hiw-menu.dn-sheet{transform:none;opacity:1;visibility:visible;transition:transform .25s ease,opacity .2s ease}
  .hiw-menu.dn-sheet a{border:0;border-radius:10px;padding:10px 12px}
  .hiw-menu.dn-sheet .hiw-subs{display:flex}
  .hiw-menu.dn-sheet .hiw-subs a{padding:7px 12px 7px 34px}
}
@media(prefers-reduced-motion:reduce){.hiw-menu.dn-sheet{transition:none}}
/* a CTA band on a phone: one centred column, a normal-sized button (operator 2026-10-03) */
@media(max-width:640px){
  .band{text-align:center;padding:28px 20px;gap:18px}
  .band .lede,.band p{margin-left:auto;margin-right:auto}
  .band > .btn{justify-self:center;justify-content:center;padding:11px 22px!important;font-size:13px}
}

/* "Who logs in where" — the IBKR account map (2026-10-05). */
.acct-map{margin:22px 0 18px}
.acct-map .am-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--r)}
.acct-map .am-svg{display:block;width:100%;min-width:600px;height:auto;font-family:var(--font)}
.acct-map figcaption{font-size:13px;color:var(--dim);margin-top:10px;line-height:1.6}
.am-frame{fill:var(--am-frame-fill);stroke:var(--line2);stroke-width:1.5;stroke-dasharray:6 5}
.am-card{fill:var(--am-card);stroke:var(--line);stroke-width:1.2}
.am-card-hi{stroke:var(--accent);stroke-width:2}
.am-card-paper{fill:var(--am-paper);stroke:var(--accent);stroke-width:1.2}
.am-eyebrow{font-size:11px;font-weight:700;letter-spacing:.09em;fill:var(--dim)}
.am-h{font-size:17px;font-weight:800;fill:var(--ink);letter-spacing:-.01em}
.am-t{font-size:13.5px;fill:var(--mut)}
.am-strong{font-size:13.5px;font-weight:700;fill:var(--ink)}
.am-tag{font-size:13px;font-weight:700;fill:var(--am-green)}
.am-dim{font-size:12.5px;fill:var(--dim)}
.am-line{stroke:var(--accent);stroke-width:2.5;fill:none}
.am-line-red{stroke:var(--am-red);stroke-width:2;stroke-dasharray:7 6;fill:none}
.am-fill-accent{fill:var(--accent)}
.am-fill-red{fill:var(--am-red)}
.am-lab{font-size:13px;font-weight:700;fill:var(--am-accent-text)}
.am-lab-red{font-size:13px;font-weight:700;fill:var(--am-red)}
.am-lab-dim{font-size:12.5px;fill:var(--dim)}
.am-table{width:100%;border-collapse:collapse;margin:6px 0 18px;font-size:14px}
.am-table th,.am-table td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--line);color:var(--mut);line-height:1.55}
.am-table thead th{color:var(--ink);font-weight:800;font-size:13.5px}
.am-table tbody th{color:var(--ink);font-weight:700;width:30%}
.am-pill{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.04em;padding:1px 8px;border-radius:99px;border:1px solid var(--line2);color:var(--dim);margin-left:4px;vertical-align:1px}
.am-pill-hi{border-color:var(--accent);color:var(--am-accent-text)}
body.docs-shell{--am-card:#FFFFFF;--am-paper:#EEF2FF;--am-frame-fill:rgba(255,255,255,.35);--am-green:#088250;--am-red:#DA2444;--am-accent-text:#196CDA}
html.dark body.docs-shell{--am-card:#1C1E24;--am-paper:#1A2238;--am-frame-fill:rgba(31,34,39,.35);--am-green:#3FD08C;--am-red:#FF6B7F;--am-accent-text:#7FB0FF}
