:root {
  --paper: #fbfaf7; --paper-2: #f3f1ec; --paper-3: #ebe8e1; --ink: #16171b; --ink-2: #4a4c55; --ink-3: #74767f;
  --rule: #e3e0d8; --rule-2: #cfcbc1; --ember: #ff5a1f; --ember-text: #b8400f; --ok: #15803d; --warn: #a16207; --bad: #b91c1c;
  --ok-bg: #e7f4ea; --warn-bg: #fdf3dc; --bad-bg: #fbe9e7; --r: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #111215; --paper-2: #181a1f; --paper-3: #20232a; --ink: #ecebe7; --ink-2: #b9b8b2; --ink-3: #8d8c87;
    --rule: #2a2c33; --rule-2: #3a3d45; --ember-text: #ff8a5c; --ok: #4ade80; --warn: #fbbf24; --bad: #f87171;
    --ok-bg: #12261a; --warn-bg: #2a2210; --bad-bg: #2c1515; }
}
* { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15.5px/1.55 var(--font); overflow-x: hidden; }
a { color: inherit; text-decoration-color: var(--rule-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ember); }
img, video, canvas { display: block; max-width: 100%; height: auto; }
.num, .mono, code, pre, kbd { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code { font-size: .88em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
h1 { font: 700 clamp(28px, 4.6vw, 44px)/1.08 var(--font); letter-spacing: -.022em; margin: 0 0 12px; text-wrap: balance; }
h2 { font: 650 22px/1.25 var(--font); letter-spacing: -.012em; margin: 0 0 12px; }
h3 { font: 650 16px/1.3 var(--font); margin: 18px 0 8px; }
p { margin: 0 0 12px; }
.muted { color: var(--ink-3); } .ink2 { color: var(--ink-2); } .small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ap-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; height: 56px; padding: 0 20px;
  background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule); font: 500 14px/1 var(--font); }
.ap-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 650; white-space: nowrap; }
.ap-brand .mark { width: 22px; height: 22px; }
.ap-brand span { color: var(--ink-3); font-weight: 500; }
.ap-user { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.chip-bal, .chip-free { font: 500 12.5px/1 var(--mono); padding: 7px 10px; border: 1px solid var(--rule-2); border-radius: 999px; white-space: nowrap; background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer; }
.avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule-2); background: var(--paper-3); padding: 0; cursor: pointer; overflow: hidden; font: 600 12px/1 var(--font); color: var(--ink); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.menu { position: absolute; right: 16px; top: 52px; min-width: 210px; background: var(--paper); border: 1px solid var(--rule-2); border-radius: var(--r); box-shadow: 0 10px 30px rgb(0 0 0 / .14); padding: 6px; display: none; }
.menu.open { display: block; }
.menu a, .menu button { display: block; width: 100%; text-align: left; padding: 9px 10px; border-radius: 6px; text-decoration: none; background: none; border: 0; font: inherit; color: var(--ink); cursor: pointer; }
.menu a:hover, .menu button:hover { background: var(--paper-2); }
.menu .who { padding: 8px 10px; color: var(--ink-3); font-size: 12.5px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; overflow-wrap: anywhere; }
@media (max-width: 820px) { .chip-free { display: none; } }
.banner { background: var(--paper-2); border-bottom: 1px solid var(--rule); padding: 9px 20px; font-size: 13.5px; color: var(--ink-2); text-align: center; }
.banner b { color: var(--ink); }
.banner.mock { background: var(--warn-bg); color: var(--ink); }
.banner.staff { background: color-mix(in srgb, var(--ember) 10%, var(--paper)); color: var(--ink); }
main.ap { max-width: 1160px; margin: 0 auto; padding: 32px 20px 56px; }
.ap-foot { border-top: 1px solid var(--rule); padding: 22px 20px 34px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; font-size: 13px; color: var(--ink-3); }
.ap-foot a { color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: color-mix(in srgb, var(--ink) 86%, var(--ember)); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { min-height: 32px; padding: 0 11px; font-size: 13px; }
.btn.ember { background: var(--ember); border-color: var(--ember); color: #160800; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; min-height: 48px; font-size: 15px; }
.link { background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; text-decoration: underline; text-decoration-color: var(--rule-2); cursor: pointer; }
input[type=text], input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; font: 14.5px/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1px solid var(--rule-2); border-radius: 8px; padding: 9px 11px; }
textarea { min-height: 84px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
label.f { display: block; font: 600 13px/1.3 var(--font); margin: 0 0 6px; }
.field { margin: 0 0 16px; }
.hint { font-size: 12.5px; color: var(--ink-3); margin-top: 5px; display: flex; justify-content: space-between; gap: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule-2); border-radius: 8px; overflow: hidden; }
.seg button { border: 0; background: var(--paper); color: var(--ink-2); font: 500 13.5px/1 var(--font); padding: 9px 13px; cursor: pointer; border-right: 1px solid var(--rule); }
.seg button:last-child { border-right: 0; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.rangebox { display: flex; gap: 10px; align-items: center; } .rangebox input[type=range] { flex: 1; accent-color: var(--ember); }
.rangebox input[type=number] { width: 84px; }
.drop { border: 1.5px dashed var(--rule-2); border-radius: var(--r); padding: 18px; text-align: center; color: var(--ink-2); font-size: 13.5px; cursor: pointer; }
.drop.over { border-color: var(--ember); background: var(--paper-2); }
.drop b { color: var(--ink); }
details.more summary { cursor: pointer; font-weight: 600; font-size: 13.5px; margin: 4px 0 12px; color: var(--ink-2); }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.toolbar input[type=search] { max-width: 260px; }
.toolbar select { width: auto; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.chip { display: inline-flex; align-items: center; gap: 5px; font: 500 12px/1 var(--font); padding: 5px 9px; border-radius: 999px; border: 1px solid var(--rule-2); color: var(--ink-2); background: var(--paper); white-space: nowrap; }
.chip.free { border-color: color-mix(in srgb, var(--ok) 45%, transparent); color: var(--ok); }
.chip.amber { border-color: color-mix(in srgb, var(--warn) 50%, transparent); color: var(--warn); background: var(--warn-bg); }
.chip.ember { border-color: color-mix(in srgb, var(--ember) 50%, transparent); color: var(--ember-text); }
.chip.tier { font-family: var(--mono); font-size: 11.5px; color: var(--ink); background: var(--paper-2); }
.strip .v.chips { margin: 0; } .slot { margin-top: 28px; border-style: dashed; }
button.chip { cursor: pointer; } button.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.claim { font: 600 10.5px/1 var(--mono); color: var(--ember-text); border: 1px dashed currentColor; padding: 2px 4px; border-radius: 4px; vertical-align: middle; margin-left: 4px; white-space: nowrap; }
.draft { font: 600 10.5px/1 var(--mono); color: var(--warn); border: 1px dashed currentColor; padding: 2px 4px; border-radius: 4px; vertical-align: middle; margin-left: 4px; white-space: nowrap; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.tabs a, .tabs button { flex: none; padding: 10px 12px; border: 0; background: none; font: 500 14px/1 var(--font); color: var(--ink-2); text-decoration: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs [aria-selected="true"], .tabs [aria-current] { color: var(--ink); border-bottom-color: var(--ember); }
.tabs .ct { font-family: var(--mono); color: var(--ink-3); font-size: 12px; margin-left: 4px; }

.hero { padding: 18px 0 26px; max-width: 860px; }
.hero .sub { font-size: 17px; color: var(--ink-2); max-width: 720px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.kicker { font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ember-text); margin: 0 0 14px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 8px 0 34px; }
.tile { border: 1px solid var(--rule); border-radius: var(--r); padding: 16px; background: var(--paper-2); }
.tile .big { font: 650 28px/1 var(--mono); letter-spacing: -.02em; margin-bottom: 8px; }
.tile p { font-size: 13px; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

.mlist { border-top: 1px solid var(--rule); }
.mrow { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.mrow h3 { margin: 0; font-size: 17px; } .mrow h3 a { text-decoration: none; } .mrow h3 a:hover { text-decoration: underline; }
.mrow .by { color: var(--ink-3); font-weight: 500; }
.mrow p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; max-width: 760px; }
.stat { font: 13px/1.5 var(--mono); color: var(--ink-2); margin-top: 6px; }
.stat b { color: var(--ink); font-weight: 600; }
.idcopy { display: inline-flex; gap: 6px; align-items: center; font: 12.5px/1 var(--mono); color: var(--ink-3); background: var(--paper-2); border: 1px solid var(--rule); border-radius: 6px; padding: 5px 8px; cursor: pointer; white-space: nowrap; }
.idcopy:hover { color: var(--ink); }
.empty { border: 1px dashed var(--rule-2); border-radius: var(--r); padding: 28px; text-align: center; color: var(--ink-2); }

table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th { text-align: left; font: 600 12.5px/1.2 var(--font); color: var(--ink-2); border-bottom: 1px solid var(--ink); padding: 8px 10px 8px 0; white-space: nowrap; }
table.t td { border-bottom: 1px solid var(--rule); padding: 10px 10px 10px 0; vertical-align: top; }
table.t td.n, table.t th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.t tr.click { cursor: pointer; } table.t tr.click:hover td { background: var(--paper-2); }
@media (max-width: 720px) {
  table.t.stack thead { display: none; }
  table.t.stack tr { display: block; border: 1px solid var(--rule); border-radius: var(--r); padding: 8px 12px; margin: 0 0 10px; }
  table.t.stack td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 5px 0; text-align: right; }
  table.t.stack td::before { content: attr(data-l); font: 600 12.5px/1.4 var(--font); color: var(--ink-3); text-align: left; flex: none; }
  table.t.stack td.n { white-space: normal; }
}

.panel { border: 1px solid var(--rule); border-radius: var(--r); padding: 18px; background: var(--paper); }
.panel.soft { background: var(--paper-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 860px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--ink-3); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.bignum { font: 650 38px/1.05 var(--mono); letter-spacing: -.02em; }
.meter { height: 6px; background: var(--paper-3); border-radius: 3px; overflow: hidden; margin: 6px 0 2px; }
.meter i { display: block; height: 100%; background: var(--ember); }
.meters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.meters .m { font-size: 13px; } .meters .m b { font-family: var(--mono); }

.mc-hero { padding: 6px 0 18px; }
.mc-id { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 8px; }
.credit { color: var(--ink-2); margin: 0 0 16px; }
.strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin: 0 0 14px; }
.strip > div { padding: 12px 14px; border-right: 1px solid var(--rule); min-width: 0; }
.strip > div:last-child { border-right: 0; }
.strip .l { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.strip .v { font: 500 14px/1.35 var(--font); overflow-wrap: anywhere; }
@media (max-width: 720px) { .strip { grid-template-columns: 1fr 1fr; } .strip > div:nth-child(2) { border-right: 0; } .strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); } }
.secnav { position: sticky; top: 56px; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin: 8px 0 22px; }
.secnav a { flex: none; padding: 11px 12px; text-decoration: none; color: var(--ink-2); font-size: 14px; }
.secnav a:hover { color: var(--ink); }
section.mc { padding: 8px 0 34px; scroll-margin-top: 110px; }
.tryit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 22px; align-items: start; }
@media (max-width: 959px) { .tryit { grid-template-columns: 1fr; } }
.priceline { font-size: 14px; margin: 6px 0 10px; padding: 10px 12px; background: var(--paper-2); border-radius: 8px; }
.priceline b { font-family: var(--mono); }
.out { border: 1px solid var(--rule); border-radius: var(--r); background: var(--paper-2); min-height: 260px; display: flex; flex-direction: column; overflow: hidden; }
.out .stage { flex: 1; display: grid; place-items: center; background: #0d0e10; min-height: 220px; position: relative; }
.out .stage video, .out .stage img, .out .stage canvas { width: 100%; height: auto; max-height: 520px; object-fit: contain; }
.out .stage .ph { color: #9a9a96; font-size: 13.5px; padding: 30px; text-align: center; }
.out .lbl { position: absolute; left: 10px; top: 10px; font: 600 11.5px/1 var(--font); color: #fff; background: rgb(0 0 0 / .62); padding: 6px 8px; border-radius: 6px; }
.receipt { padding: 12px 14px; font: 13px/1.55 var(--mono); color: var(--ink-2); border-top: 1px solid var(--rule); }
.receipt b { color: var(--ink); font-weight: 600; }
.receipt .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-family: var(--font); }
.progress { height: 4px; background: var(--paper-3); } .progress i { display: block; height: 100%; width: 0; background: var(--ember); transition: width .4s; }
.stages { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 14px 0; font: 12px/1 var(--mono); color: var(--ink-3); }
.stages .on { color: var(--ink); } .stages .done { color: var(--ok); }
.exgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ex { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.ex video, .ex img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #0d0e10; }
.ex .b { padding: 10px 12px 12px; font-size: 13px; color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ex .b .mono { color: var(--ink); font-size: 12.5px; }
.ex .b .btn { align-self: flex-start; }

.code { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin: 0 0 16px; background: var(--paper-2); }
.code .tabs { margin: 0; padding: 0 6px; background: var(--paper); }
.code .bar { display: flex; align-items: center; }
.code .bar .tabs { flex: 1; border-bottom: 0; }
.code .bar .btn { margin-right: 8px; }
.code pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-size: 12.8px; line-height: 1.55; white-space: pre; color: var(--ink); border-top: 1px solid var(--rule); }
.endpoint { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font: 13.5px/1.4 var(--mono); }
.endpoint .verb { font-weight: 700; color: var(--ember-text); }

.docs { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 34px; }
.docs nav { position: sticky; top: 76px; align-self: start; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.docs nav a { text-decoration: none; color: var(--ink-2); padding: 5px 0; }
.docs section { scroll-margin-top: 76px; padding: 0 0 26px; }
.docs h2 { padding-top: 6px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .docs nav { display: none; } }

.strip90 { display: grid; grid-template-columns: repeat(90, 1fr); gap: 1px; height: 26px; margin: 8px 0 4px; }
.strip90 i { background: var(--ok); opacity: .85; border-radius: 1px; } .strip90 i.d { background: var(--warn); } .strip90 i.x { background: var(--bad); } .strip90 i.n { background: var(--paper-3); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.dot.busy, .dot.degraded { background: var(--warn); } .dot.paused { background: var(--ink-3); } .dot.down { background: var(--bad); }

dialog { border: 1px solid var(--rule-2); border-radius: 14px; padding: 22px; max-width: min(520px, calc(100vw - 32px)); width: 100%; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(0 0 0 / .45); }
dialog .acts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); background: var(--paper); border-left: 1px solid var(--rule-2); box-shadow: -12px 0 30px rgb(0 0 0 / .14); z-index: 40; padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .2s; }
.drawer.open { transform: none; }
.drawer pre { font-size: 12px; background: var(--paper-2); padding: 12px; border-radius: 8px; overflow-x: auto; }
.toasts { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 60; width: min(560px, calc(100vw - 24px)); }
.toast { background: var(--ink); color: var(--paper); padding: 12px 14px; border-radius: 10px; font-size: 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 8px 24px rgb(0 0 0 / .2); }
.toast .rid { font: 11.5px/1 var(--mono); opacity: .7; }
.toast .btn { margin-left: auto; background: var(--paper); color: var(--ink); border-color: var(--paper); min-height: 30px; }
.toast.err { background: var(--bad-bg); color: var(--ink); border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); }
.toast.err .btn { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.keypanel { background: var(--ok-bg); border: 1px solid color-mix(in srgb, var(--ok) 35%, transparent); border-radius: var(--r); padding: 16px; margin: 0 0 18px; }
.keypanel code { display: block; padding: 10px; margin: 8px 0; font-size: 13px; background: var(--paper); }
.chart svg { width: 100%; height: auto; display: block; }
.chart .ax { stroke: var(--rule-2); } .chart text { fill: var(--ink-3); font: 11px var(--mono); }
.hatch { fill: url(#hatch); }
.signin-cta { text-align: center; padding: 48px 20px; }
.gate[hidden], [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.mrow { grid-template-columns: minmax(0, 1fr) auto; }
.chip.ember { white-space: normal; }
@media (max-width: 860px) { .docs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .mrow { grid-template-columns: minmax(0, 1fr); }
  .mrow > div:last-child { order: -1; }
  .toolbar input[type=search] { max-width: none; flex: 1 1 100%; }
  .toolbar .seg { margin-left: 0 !important; }
}
.endpoint span { overflow-wrap: anywhere; min-width: 0; }
#demo { margin: 26px 0 30px; } #demo .exgrid { margin-top: 14px; } #demo[data-state="open"] .exgrid { display: none; }
.demo-out img, .demo-out video { width: 100%; max-width: 520px; border-radius: var(--r); display: block; margin: 0 0 10px; }
.dot[data-state="down"] { background: var(--bad); } .dot[data-state="no_data"] { background: var(--ink-3); }
.chip.soon { border-style: dashed; color: var(--ink-2); }
details.schema { margin-top: 12px; } details.schema pre { max-height: 320px; overflow: auto; font-size: 12px; }
.chatout { width: 100%; max-height: 420px; overflow: auto; padding: 14px; text-align: left; align-self: stretch; }
.chatout .u { color: var(--ink-2); border-left: 3px solid var(--line); padding-left: 10px; margin: 0 0 12px; white-space: pre-wrap; }
.chatout .a { white-space: pre-wrap; margin: 0; overflow-wrap: anywhere; }
.voice { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 14px; }
.docs-pages { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 22px; }
.docs-pages a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; }
.docs-pages a[aria-current="page"] { border-color: var(--ember, #ff5a1f); color: var(--ember, #ff5a1f); }
.demo-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
table.fields td:first-child code { white-space: nowrap; }
.pack { border-top: 1px solid var(--rule); padding-top: 18px; margin-top: 22px; }
#tts-tags .chip { font-family: var(--mono); font-size: 11.5px; min-height: 32px; }
#tts-pre .chip { min-height: 32px; font-size: 13px; }
.tts-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 4px; }
.tts-f label { display: grid; gap: 4px; } .tts-f select { width: 100%; min-width: 0; }
@media (max-width: 600px) { .tts-f { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.out .stage audio { width: calc(100% - 32px); }
#tts .field > span.f { display: block; } #tts .hint .mono { white-space: nowrap; }
