/* Vitals Bio console: the app parts, on top of the vitalsbio.pages.dev system (tokens.css + kit.css, unchanged).
 * Same palette (navy #0A1A33, slate #5F6F86, hairline #E3E8EF, brand blue #2732D6), Geist, 4 px buttons, 8 px cards,
 * light 300-weight headings. Status colours come from tokens.css and are only used for status. */

body.app, body.docs { background: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
code, .mono { font-family: var(--font-mono); font-size: .88em; }
:not(pre) > code { background: var(--soft); border: 1px solid var(--rail); border-radius: 4px; padding: 1px 5px; color: var(--navy); overflow-wrap: anywhere; }
.muted { color: var(--slate); }
.ic { width: 16px; height: 16px; flex: none; }
.btn .ic { width: 15px; height: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn.danger { background: var(--alert); }
.btn.danger:hover { background: #8C2118; }
[hidden] { display: none !important; }

/* ------------------------------------------------- top bar */
.cbar { position: sticky; top: 0; z-index: 40; height: 58px; display: flex; align-items: center; gap: 28px; padding: 0 24px;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.8) blur(12px); -webkit-backdrop-filter: saturate(1.8) blur(12px); border-bottom: 1px solid var(--rail); }
.cbar .brand svg { height: 18px; }
.cbar-links { display: flex; gap: 22px; }
.cbar-links a { font-size: 15px; color: var(--navy); white-space: nowrap; }
.cbar-links a:hover, .cbar-links a[aria-current=page] { color: var(--blue); }
.cbar-end { margin-left: auto; display: flex; align-items: center; gap: 14px; min-width: 0; }
.who, .anon { display: flex; align-items: center; gap: 10px; }
.who-mail { font-size: 14px; color: var(--slate); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.backend { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--slate); white-space: nowrap; }
.backend i { width: 8px; height: 8px; border-radius: 50%; background: var(--missing); }
.backend.up i { background: #1F9D5B; }
.backend.down i { background: #C9A227; }

/* ------------------------------------------------- shell */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: calc(100vh - 58px);
  background: linear-gradient(90deg, var(--soft) 235px, var(--rail) 235px, var(--rail) 236px, #fff 236px); }
.side { position: sticky; top: 58px; align-self: start; height: calc(100vh - 58px); overflow-y: auto; padding: 22px 14px 32px; background: var(--soft); border-right: 1px solid var(--rail); }
.sgroup + .sgroup { margin-top: 22px; }
.sgroup p { font-size: 12.5px; font-weight: 500; color: var(--slate); padding: 0 10px 6px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; font-size: 14.5px; color: var(--navy); }
.side a .ic { color: var(--slate); }
.side a:hover { background: #EDF1F6; }
.side a[aria-current=page] { background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(10,26,51,.10), 0 0 0 1px var(--line); }
.side a[aria-current=page] .ic { color: var(--blue); }
.main { padding: 34px 44px 72px; min-width: 0; max-width: 1240px; }
.docmenu { display: none; }

/* ------------------------------------------------- page parts */
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.phead .lede { margin-top: 8px; max-width: 46em; font-size: 16.5px; }
.h1.sm { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.panel { border: 1px solid var(--line); border-radius: var(--card-r); background: #fff; padding: 22px 24px; margin-top: 18px; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.panel .h3, .h3 { font-size: 19px; }
.panel.soon { background: var(--soft); }
.panel.danger { border-color: #EBC3BD; }
.panel p + p { margin-top: .7em; }
.cols2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cols2 > .panel { margin-top: 18px; }
.note { margin-top: 4px; margin-bottom: 18px; padding: 13px 16px; border-radius: var(--card-r); background: var(--soft); border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.note.watch { background: var(--watch-bg); border-color: #EBD7AE; color: #4A3200; }
.note.blue { background: var(--blue-100); border-color: var(--blue-200); color: var(--blue-900); }
.note b { font-weight: 500; }
.small { font-size: 14px; }
.label { font-size: 13px; font-weight: 500; color: var(--slate); margin: 0 0 8px; }

/* stat tiles (hero numbers) */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile { border: 1px solid var(--line); border-radius: var(--card-r); padding: 18px 20px 20px; background: #fff; min-width: 0; }
.tile .k { display: block; font-size: 13.5px; color: var(--slate); }
.tile b { display: block; margin-top: 6px; font-size: 30px; font-weight: 300; letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .s { display: block; margin-top: 2px; font-size: 13px; color: var(--slate); }
.meter { margin-top: 10px; height: 6px; border-radius: 3px; background: var(--rail); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }

/* badges: status only */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; vertical-align: middle; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.live { background: var(--ok-bg); color: var(--ok); }
.badge.preview, .badge.off { background: #EEF1F5; color: var(--missing); }
.badge.pending { background: var(--watch-bg); color: var(--watch); }
.badge.revoked { background: var(--alert-bg); color: var(--alert); }
h1 .badge { font-size: 14px; margin-left: 8px; }
.caplist { list-style: none; margin: 0; padding: 0; }
.caplist li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rail); font-size: 15px; color: var(--navy); }
.caplist li:last-child { border-bottom: 0; }
.panel .caplist + .small { margin-top: 12px; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 14px; color: var(--ink); }
.steps-list b { font-weight: 500; color: var(--navy); }
.steps-list .link { display: inline-block; margin-left: 4px; }
.steps-list li.done b::after { content: " Done"; color: var(--ok); font-weight: 500; font-size: 13px; }

/* tables */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.grid { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.grid th { text-align: left; font-size: 13px; font-weight: 500; color: var(--slate); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.grid td { padding: 11px 12px; border-bottom: 1px solid var(--rail); color: var(--ink); vertical-align: top; }
table.grid tr:last-child td { border-bottom: 0; }
table.grid th:first-child, table.grid td:first-child { padding-left: 0; }
table.grid th:last-child, table.grid td:last-child { padding-right: 0; }
table.grid .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.grid td.nowrap { white-space: nowrap; }
table.grid tbody tr.click { cursor: pointer; }
table.grid tbody tr.click:hover td { background: var(--soft); }
.st { font: 500 13px var(--font-mono); padding: 2px 7px; border-radius: 4px; }
.st.ok { background: var(--ok-bg); color: var(--ok); }
.st.err { background: var(--alert-bg); color: var(--alert); }
.st.warn { background: var(--watch-bg); color: var(--watch); }
.rowbtns { display: flex; gap: 8px; justify-content: flex-end; }
.more { margin-top: 14px; display: flex; justify-content: center; }

/* forms */
.inline-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 320px; }
.field input[type=password], .field input[type=number], .field select, .filters select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #D5DCE6; border-radius: var(--radius); background: #fff; color: var(--navy); font: 16px var(--font-sans); }
.field input[readonly] { background: var(--soft); color: var(--slate); }
.field input:focus, .field select:focus, .filters select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39,50,214,.18); }
.field .hint { display: block; }
.field.compact { gap: 6px; margin-top: 14px; }
.field.compact label { font-size: 13.5px; }
.form .btn { justify-self: start; }
.formerr { color: var(--alert); background: var(--alert-bg); padding: 10px 12px; border-radius: 6px; font-size: 14.5px; }
.filters { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.filters label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--navy); min-width: 200px; }
.reveal-key { margin-top: 18px; padding: 16px 18px; border-radius: var(--card-r); background: var(--blue-100); border: 1px solid var(--blue-200); display: grid; gap: 12px; justify-items: start; }
.reveal-key b { font-weight: 500; color: var(--blue-900); }
.secret { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; width: 100%; }
.secret code { flex: 1 1 280px; font-size: 14px; padding: 10px 12px; background: #fff; border: 1px solid var(--blue-200); border-radius: 6px; word-break: break-all; }

/* plans */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 4px; }
.plan { border: 1px solid var(--line); border-radius: var(--card-r); padding: 22px 20px; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.plan .price { margin-top: 12px; color: var(--slate); font-size: 14.5px; }
.plan .price b { display: block; font-size: 28px; font-weight: 300; color: var(--navy); letter-spacing: -0.02em; }
.plan .d { margin-top: 10px; color: var(--ink); font-size: 14.5px; }
.plan ul, ul.plain { margin: 14px 0 0; padding-left: 18px; display: grid; gap: 7px; font-size: 14.5px; color: var(--ink); }
.plan-foot { margin-top: auto; padding-top: 18px; }
.plan .small { margin-top: 8px; font-size: 13px; color: var(--slate); }

/* chart */
.chart { position: relative; height: 240px; }
.chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; background: #fff; border-radius: 6px; padding: 8px 10px; font-size: 13px; color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(10,26,51,.35), 0 0 0 1px var(--line); white-space: nowrap; transform: translate(-50%, -100%); }
.chart .tip b { display: block; color: var(--navy); font-weight: 500; }

/* logs drawer, toast */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(11,18,53,.35); display: flex; justify-content: flex-end; }
.drawer-in { width: min(560px, 100%); height: 100%; background: #fff; padding: 22px; overflow: auto; box-shadow: -20px 0 60px -20px rgba(10,26,51,.4); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--navy-bg); color: #fff; padding: 11px 16px; border-radius: 6px; font-size: 14.5px; box-shadow: 0 20px 40px -16px rgba(10,26,51,.5); max-width: calc(100vw - 32px); }

/* code and JSON (the site's dark code blocks) */
pre.json, .code-pre { margin: 0; background: #0F1A45; color: #D6DCF0; border: 1px solid rgba(169,176,255,.18); border-radius: 8px; padding: 16px 18px; font: 12.5px/1.65 var(--font-mono); overflow: auto; white-space: pre; tab-size: 2; }
pre.json { max-height: 520px; }
pre.json.tall, .code-pre.tall { max-height: 640px; }
.doc .code-pre { margin: 14px 0 18px; }
.codegroup .label { margin-top: 18px; }

/* ------------------------------------------------- playground */
body[data-page=playground] .main { max-width: 1500px; }
.pg { display: grid; gap: 22px 26px; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: start; }
.pg-side { grid-column: 1 / -1; }
.clips { display: grid; gap: 8px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pg-controls { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 130px minmax(0, 1.4fr); gap: 14px; align-items: end; margin-top: 14px; }
.pg-controls .field.compact { margin-top: 0; }
.pg-controls .upload { align-self: stretch; align-items: center; }
.runbox { display: grid; gap: 6px; }
.runbox .small { margin: 0 !important; font-size: 13px; line-height: 1.4; }
.clip { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; text-align: left; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font: inherit; color: var(--navy); }
.clip:hover { border-color: #C9CDF5; }
.clip[aria-pressed=true] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.clip img, .clip .thumb { width: 64px; height: 40px; border-radius: 4px; object-fit: cover; background: #0B1235; }
.clip b { display: block; font-weight: 500; font-size: 14px; line-height: 1.25; }
.clip span { display: block; font-size: 12.5px; color: var(--slate); margin-top: 2px; }
.upload { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px dashed #C5CCD8; border-radius: 8px; cursor: pointer; color: var(--navy); font-size: 14px; background: var(--soft); }
.upload:hover { border-color: var(--blue); }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload .ic { margin-top: 2px; color: var(--blue); }
.upload small { display: block; color: var(--slate); font-size: 12.5px; margin-top: 2px; }
.upload.active { border-style: solid; border-color: var(--blue); }
.pg-side .btn { width: 100%; justify-content: center; }
.provenance { margin-bottom: 10px; padding: 10px 14px; border-radius: 8px; font-size: 14.5px; display: flex; gap: 10px; align-items: flex-start; }
.provenance b { font-weight: 500; }
.provenance.pre { background: var(--watch-bg); color: #4A3200; border: 1px solid #EBD7AE; }
.provenance.live { background: var(--ok-bg); color: #0B4A29; border: 1px solid #BFE2CC; }
.provenance.err { background: var(--alert-bg); color: #7A1E16; border: 1px solid #EFC6C0; }
.provenance i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 7px; background: currentColor; }
.stage { position: relative; aspect-ratio: 16 / 9; background: #0B1235; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10,26,51,.45), 0 0 0 1px rgba(10,26,51,.08); }
.stage video, .stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage video { object-fit: contain; }
.stage canvas { pointer-events: none; }
.stage-empty, .stage-busy { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: #C3C8D3; font-size: 15px; text-align: center; padding: 20px; }
.stage-busy { background: rgba(11,18,53,.72); color: #fff; }
.spin { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.25); border-top-color: #fff; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-bar { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.stage-bar input[type=range] { flex: 1; accent-color: var(--blue); }
.stage-bar .btn { min-width: 74px; justify-content: center; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; font-size: 14px; color: var(--navy); }
.toggles input { accent-color: var(--blue); margin-right: 4px; }
.legend-line { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; color: var(--slate); }
.legend-line i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.credit { margin-top: 10px; color: var(--slate); line-height: 1.5; }
.credit a { text-decoration: underline; text-decoration-color: rgba(95,111,134,.4); }
.tabs, .codetabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 12px; overflow-x: auto; }
.tabs button, .codetabs button { font: inherit; font-size: 14px; color: var(--slate); background: none; border: 0; padding: 9px 12px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected=true], .codetabs button[aria-selected=true] { color: var(--navy); border-bottom-color: var(--blue); }
.codetabs { border-bottom: 0; margin-bottom: 8px; }
.codetabs button { border: 1px solid transparent; border-radius: 6px; padding: 5px 10px; margin: 0; }
.codetabs button[aria-selected=true] { border-color: var(--line); background: var(--soft); }
.codebox { position: relative; }
.codebox .copy { position: absolute; top: 8px; right: 8px; z-index: 1; background: rgba(255,255,255,.92); }
.codebox .code-pre { padding-top: 46px; max-height: 420px; }
.tabpanel .panel-h { margin-bottom: 8px; }

/* ------------------------------------------------- docs */
.doc { max-width: 900px; }
.doc .eyebrow { margin-bottom: 8px; }
.doc .lede { margin-top: 14px; max-width: 40em; }
.doc h2 { font-size: 24px; font-weight: 300; letter-spacing: -0.015em; margin: 42px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 18px; font-weight: 400; margin: 26px 0 8px; }
.doc h4, .doc h5 { font-size: 16px; font-weight: 500; margin: 22px 0 8px; color: var(--navy); }
.doc p { margin-top: 10px; max-width: 44em; }
.doc table.grid { margin: 12px 0 8px; }
.doc .note { margin: 18px 0; }
.doc ul.plain { font-size: 15.5px; gap: 9px; max-width: 46em; }
.doc .card-md ul { padding-left: 18px; display: grid; gap: 6px; }
.doc .card-md table.grid { font-size: 13.5px; }
.doc .card-md table.grid td { padding: 8px 10px; }
.ep { font-size: .8em !important; padding: 3px 10px !important; }
.legend-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 18px 0 6px; font-size: 14px; color: var(--slate); }
.legend-row > span { display: inline-flex; gap: 8px; align-items: center; }
table.caps td:first-child { width: 28%; }
table.caps td:first-child b { font-weight: 500; color: var(--navy); }
table.caps td:nth-child(2) { width: 120px; }
.tsts { display: flex; flex-wrap: wrap; gap: 6px; }
.tst { font-size: 12.5px; border: 1px solid var(--line); border-radius: 4px; padding: 2px 7px; color: var(--ink); background: var(--soft); }
.tst.pass { border-color: #BFE2CC; color: var(--ok); background: var(--ok-bg); }
.tst.fail { border-color: #EFC6C0; color: var(--alert); background: var(--alert-bg); }
.tst.pending { border-color: #EBD7AE; color: var(--watch); background: var(--watch-bg); }
ul.checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; }
ul.checks b { font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; }
.log { display: grid; }
.log .entry { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.log .date { font: 500 13px var(--font-mono); color: var(--blue); padding-top: 4px; }
.log h3 { margin: 0 0 6px; }
.log ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 5px; }
.docfoot { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--rail); font-size: 13.5px; color: var(--slate); }

/* ------------------------------------------------- sign in */
body.authpage { background: var(--soft); }
.authwrap { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 26px; padding: 40px 16px; }
.authwrap > .brand svg { height: 22px; }
.authcard { width: min(420px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 30px 28px; box-shadow: 0 30px 60px -30px rgba(10,26,51,.25); }
.authcard .h2 { font-size: 28px; }
.authcard .form { margin-top: 20px; gap: 16px; }
.authcard .btn { width: 100%; justify-content: center; }
.authcard > .small { margin-top: 18px; }
.authfoot { color: var(--slate); }

/* ------------------------------------------------- responsive */
@media (max-width: 1360px) {
  .pg { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
  .clips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pg-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .pg { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbar-links { display: none; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); background: #fff; }
  .side { position: sticky; top: 58px; z-index: 30; height: auto; padding: 8px 12px; display: flex; gap: 4px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--rail); scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .sgroup { display: flex; gap: 4px; }
  .sgroup + .sgroup { margin-top: 0; padding-left: 6px; border-left: 1px solid var(--line); }
  .sgroup p { display: none; }
  .side a { white-space: nowrap; padding: 7px 10px; font-size: 14px; }
  .main { padding: 24px 16px 56px; }
  .pg { grid-template-columns: minmax(0, 1fr); }
  .clips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.docs .side { display: none; }
  .docmenu { display: block; border-bottom: 1px solid var(--rail); background: var(--soft); }
  .docmenu summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px 16px; cursor: pointer; color: var(--navy); font-size: 15px; }
  .docmenu summary::-webkit-details-marker { display: none; }
  .docmenu nav { display: grid; padding: 0 8px 10px; }
  .docmenu nav a { padding: 9px 8px; color: var(--navy); border-radius: 4px; }
  .log .entry { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  table.caps td:first-child { width: auto; }
}
@media (max-width: 560px) {
  .cbar { padding: 0 16px; gap: 12px; }
  .cbar .brand span { display: none; }
  .backend span { display: none; }
  .who-mail { display: none; }
  .tiles { gap: 10px; }
  .tile { padding: 14px 14px 16px; }
  .tile b { font-size: 24px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px 16px; }
  .phead { margin-bottom: 18px; }
  .clips { grid-template-columns: minmax(0, 1fr); }
  .pg-controls { grid-template-columns: minmax(0, 1fr); }
  .filters label { min-width: 0; flex: 1 1 140px; }
  pre.json, .code-pre { font-size: 11.5px; padding: 14px; }
  table.caps, table.caps tbody, table.caps tr, table.caps td { display: block; width: 100% !important; }
  table.caps thead { display: none; }
  table.caps tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  table.caps td { border: 0; padding: 4px 0; }
}
.pg > *, .pg-main, .pg-json, .tabpanel { min-width: 0; }
.plan .price.text b { font-size: 24px; }
.plan .badge { white-space: normal; line-height: 1.25; }
.docfoot { background: none; padding: 20px 0 0; border-top: 1px solid var(--rail); }
table.grid td:first-child code { white-space: nowrap; overflow-wrap: normal; }
