:root {
  color-scheme: dark;
  --page: #0b0b0d;
  --raised: #131316;
  --raised-2: #16161a;
  --ink: #ececef;
  --heading: #f4f4f6;
  --copy: #a1a1a8;
  --link: #8c8c94;
  --status: #77777f;
  --muted: #a1a1a8;
  --faint: #6c6c74;
  --blue: #4f78ff;
  --blue-mark: #6f93ff;
  --blue-soft: #9fb8ff;
  --blue-area: #23409e;
  --blue-pale: #c9d7ff;
  --blue-tint: rgba(107, 140, 255, 0.08);
  --blue-tint-2: rgba(107, 140, 255, 0.14);
  --blue-line: rgba(107, 140, 255, 0.35);
  --on-blue: #ffffff;
  --gray-mark: #8c8c94;
  --gray-track: #1d1d22;
  --dot: #4a4a52;
  --fall: #4cc06d;
  --fall-bg: rgba(76, 192, 109, 0.12);
  --fall-line: rgba(76, 192, 109, 0.3);
  --live: #4cc06d;
  --error: #ff6b61;
  --rest: 0.75;
  --hairline: rgba(255, 255, 255, 0.09);
  --line: #2c2c32;
  --line-strong: rgba(255, 255, 255, 0.24);
  --wash: rgba(255, 255, 255, 0.04);
  --wash-2: rgba(255, 255, 255, 0.07);
  --glow: rgba(107, 140, 255, 0.08);
  --lift: 0 1px 2px rgba(0, 0, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.35);
  --primary: linear-gradient(rgb(107, 145, 255) 0%, rgb(56, 107, 255) 36.79%, rgb(56, 107, 255) 60.86%, rgb(85, 129, 255) 100%);
  --primary-hover: linear-gradient(rgb(96, 136, 255) 0%, rgb(44, 96, 250) 36.79%, rgb(44, 96, 250) 60.86%, rgb(74, 120, 255) 100%);
  --primary-line: rgba(0, 65, 255, 0.68);
  --secondary: linear-gradient(#2a2a2e 0%, #222226 36.79%, #222226 60.86%, #2a2a2e 100%);
  --secondary-hover: linear-gradient(#323237 0%, #29292e 36.79%, #29292e 60.86%, #323237 100%);
  --secondary-line: #34343a;
  --secondary-ink: #e4e4e8;
  --tip-glass: rgba(20, 20, 24, 0.72);
  --tip-line: rgba(255, 255, 255, 0.1);
  --tip-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  --selection: rgba(107, 140, 255, 0.35);
  --scrollbar: #2c2c32;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 5l3 3 3-3' fill='none' stroke='%23a1a1a8' stroke-width='1.4'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.6L12 5.4' fill='none' stroke='%230b0b0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --donut-1: #1f45e6;
  --donut-2: #3f6bff;
  --donut-3: #6f93ff;
  --donut-4: #9fb8ff;
  --donut-5: #c9d7ff;
  --donut-6: #e8eeff;
  --donut-7: #5a5f6e;
  --compare-1: #d0d2da;
  --compare-2: #8e919c;
  --series-1: #e08a5a;
  --series-2: #4fb3a5;
  --series-3: #9a82d9;
  --series-4: #d4a24c;
  --series-5: #d77a8f;
  --series-6: #79b86a;
  --series-7: #58b4d1;
  --series-8: #8f9bb0;
  --series-9: #b5c95a;
  --series-10: #c97ad0;
  --series-11: #c9b48a;
  --series-12: #b08968;
  --sans: -apple-system, "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", "Source Serif Pro", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --flow-blue: #b9ccff;
  --flow-glow: rgba(185, 204, 255, 0.4);
  --t-h1: 400 23.5px/28px var(--serif);
  --t-h2: 500 14px/20px var(--sans);
  --t-body: 400 13px/18px var(--sans);
  --t-small: 400 12px/16px var(--sans);
  --t-meta: 400 11px/16px var(--sans);
  --t-num: 400 12px/16px var(--sans);
  --t-tick: 400 11px/14px var(--sans);
  --t-figure: 500 18px/22px var(--sans);
  --section-gap: 24px;
  --chart-gap: 10px;
  --note-gap: 8px;
  --control-radius: 6px;
  --popover-radius: 6px;
  --sidebar: 168px;
  --inset: 12px;
  --content: 700px;
  --top: 40px;
  --left: 120px;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/ui/newsreader.woff2?v=e4a1548433") format("woff2");
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

::selection { background: var(--selection); }

html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }

body {
  margin: 0;
  font-variant-numeric: tabular-nums;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

:is(.sidebar, main) {
  border: 0;
  border-radius: 0;
  background: var(--page);
  box-shadow: none;
}

.sidebar {
  position: fixed;
  top: var(--top);
  bottom: var(--top);
  left: var(--left);
  width: var(--sidebar);
  padding: 44px 14px 16px;
  display: flex;
  flex-direction: column;
}

.home { display: flex; align-items: center; height: 28px; margin-bottom: 20px; }

.mark { width: 15px; height: 15px; fill: none; stroke: var(--link); stroke-width: 1.2; stroke-linecap: round; }
.home:hover .mark { stroke: var(--ink); }

.menu { display: none; }

.sidebar nav { display: flex; flex-direction: column; flex: 1; }

.sidebar ul { list-style: none; margin: 0; padding: 0; }

.sidebar li a,
.sidebar li button {
  display: block;
  width: calc(100% + 16px);
  margin: 0 -8px;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 13px;
  line-height: 22px;
  color: var(--link);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.sidebar li a:hover,
.sidebar li button:hover,
.sidebar li a:focus-visible,
.sidebar li button:focus-visible {
  background: var(--raised-2);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--hairline), 0 2px 10px var(--glow);
}

.sidebar li a[aria-current="page"] { color: var(--ink); }

.sidebar .account { margin-top: 18px; }

.sidebar .session { display: flex; gap: 8px; margin-top: 14px; }

.status {
  margin-top: auto;
  font-size: 11px;
  line-height: 18px;
  color: var(--status);
}

.status p { margin: 0; display: flex; align-items: center; gap: 7px; }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); flex: none; }

.fresh .dot { background: var(--blue); }
.loading .dot { background: var(--page); box-shadow: inset 0 0 0 1px var(--gray-mark); }
.state.loading { animation: late 0s 0.5s both; }

@keyframes late {
  from { visibility: hidden; }
}
.stale .dot { background: var(--gray-mark); }
.live-icon { display: inline-block; flex: none; width: 12px; height: 12px; margin-right: 5px; vertical-align: -2px; fill: none; stroke: var(--live); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.live-mark, .live-count, .rows .pair.live .value { color: var(--live); }
.live-count { margin-left: 10px; font: var(--t-small); }
p.live-count { margin: 0 0 10px; }

main {
  position: relative;
  margin: var(--top) var(--inset) var(--top) calc(var(--left) + var(--sidebar) + var(--inset));
  max-width: var(--content);
  height: calc(100vh - 2 * var(--top));
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  padding: 44px 28px 36px;
}

h1 {
  margin: 0 0 16px;
  font: var(--t-h1);
  color: var(--heading);
}

main p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 18px;
  color: var(--copy);
}

.actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 27px;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0.28px;
  white-space: nowrap;
  flex: none;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--primary);
  border-color: var(--primary-line);
  color: var(--on-blue);
  box-shadow: none;
}

.button.secondary {
  background: var(--secondary);
  border-color: var(--secondary-line);
  color: var(--secondary-ink);
}

.button.primary:hover { background: var(--primary-hover); }
.button.secondary:hover { background: var(--secondary-hover); }
.button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; box-shadow: none; }
.button:disabled, .button:disabled:hover { background: var(--secondary); border-color: var(--secondary-line); color: var(--faint); cursor: not-allowed; box-shadow: none; }

.rows { list-style: none; margin: 20px 0 0; padding: 0; }

.rows li { border-bottom: 1px solid var(--hairline); }

.rows a,
.rows .pair,
.rows .state {
  position: relative;
  isolation: isolate;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin: 0;
  padding: 8px 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--copy);
  text-decoration: none;
}

.rows a:hover,
.rows a:focus-visible { color: var(--ink); }

.rows a:hover::before,
.rows a:focus-visible::before {
  content: "";
  position: absolute;
  inset: 3px -6px 2px;
  z-index: -1;
  border-radius: 6px;
  background: var(--raised-2);
  box-shadow: 0 0 0 1px var(--hairline), 0 4px 14px var(--glow);
}

.rows a:focus-visible { outline: none; }
.rows a:focus-visible::before { outline: 2px solid var(--blue); outline-offset: -2px; }
:is(#connection, #routes, #runs) a { opacity: var(--rest); }
:is(#connection, #routes, #runs) a:is(:hover, :focus-visible) { opacity: 1; }
:is(#connection, #routes, #runs) a:is(:hover, :focus-visible)::before { background: var(--wash); box-shadow: none; }

.rows .label { min-width: 0; overflow-wrap: anywhere; }
.rows .value { flex: none; text-align: right; }
.rows .value .dot { display: inline-block; margin-right: 7px; vertical-align: 1px; }
.rows .badge { margin-left: 8px; }
.rows .flag { margin-left: 8px; font-size: 13px; color: var(--ink); }
.rows .meta { margin-left: 8px; color: var(--faint); }
.rows .state { color: var(--gray-mark); }
.rows .state.failed { color: var(--ink); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--raised-2);
  font-size: 11px;
  line-height: 17px;
  color: var(--copy);
  vertical-align: 1px;
}

.wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 36px;
  margin-top: 24px;
  padding: 0 14px 0 18px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--raised);
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
}

.wide + .wide { margin-top: 8px; }
.wide:hover,
.wide:focus-visible { background: var(--raised-2); color: var(--heading); box-shadow: 0 0 0 3px var(--glow); }

.arrow { width: 10px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }

main p.state { display: flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--gray-mark); }
main p.state.failed { color: var(--ink); }

.prices { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.price { display: flex; flex-direction: column; min-width: 142px; }
.price .label { margin-bottom: 2px; font-size: 12px; line-height: 16px; color: var(--copy); }
.price .figure { display: flex; align-items: baseline; gap: 6px; }
.amount { font: var(--t-figure); letter-spacing: -0.01em; color: var(--heading); }
.rate .amount { color: var(--link); }
.amount.none { font-size: 13px; font-weight: 400; color: var(--link); }
.unit { font-size: 12px; color: var(--link); }
.unit:empty { display: none; }

.price .badge { align-self: center; margin-left: 2px; }
.badge.change { background: var(--fall-bg); border-color: var(--fall-line); color: var(--fall); }
.badge.change.up,
.badge.change.flat { background: var(--raised-2); border-color: var(--hairline); color: var(--copy); }
.tri { width: 6px; height: 5px; fill: currentColor; }

.chart { margin: 28px 0 0; }
.chart svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.panel { fill: var(--page); stroke: none; }
.gridline { stroke: var(--hairline); }
.line { fill: none; stroke: var(--blue-mark); stroke-width: 1.5; opacity: 0.8; }
.chart:hover .line, .chart:focus-within .line { opacity: 1; }
.tick { font-size: 11px; fill: var(--link); }
.axis { font-size: 12px; fill: var(--copy); }
.form { max-width: 400px; margin-top: 20px; }
.form input, .form textarea, .form select { margin-bottom: 14px; }
.form .actions { margin-top: 2px; }

.notice {
  margin: 0 0 14px;
  padding: 8px 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--raised);
  font-size: 12px;
  line-height: 17px;
  color: var(--ink);
}

.form label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; line-height: 18px; }

.form input,
.form textarea,
.form select {
  display: block;
  width: 100%;
  height: 31px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--raised);
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}

.form input::placeholder { color: var(--faint); }

.form input:hover,
.form textarea:hover,
.form select:hover { border-color: var(--line-strong); background: var(--raised-2); }

.form input:focus-visible,
.form textarea:focus-visible,
.form select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); box-shadow: 0 0 0 4px var(--glow); }

.form textarea { height: auto; padding: 6px 10px; line-height: 18px; resize: vertical; font-family: var(--sans); }
.form select { appearance: none; background-image: var(--chevron); background-repeat: no-repeat; background-position: right 10px center; background-size: 12px; }
.form input:read-only { background: var(--wash); color: var(--copy); }
.form .actions.top { align-items: center; margin: 0 0 18px; }
.form .block { margin-top: 8px; }
.form .block h2 { margin-bottom: 10px; }
.form .block h2 .meta { margin-left: 6px; font-weight: 400; color: var(--link); }
.form#job { max-width: none; }
.form#credentials { max-width: 360px; }
#credentials label { margin-bottom: 6px; font-weight: 400; color: var(--copy); }
#credentials input { height: 32px; background: var(--page); }
.field .error { margin: -8px 0 14px; font-size: 12px; line-height: 17px; color: var(--error); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--error); }
main p code { font-family: var(--mono); font-size: 11px; color: var(--copy); }
.grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }

.block { margin-top: var(--section-gap); }
.block h2 { margin: 0 0 4px; font: var(--t-h2); color: var(--heading); }
.block .rows { margin-top: 0; }
.block h2.later { margin-top: 18px; }
.block .wide { margin-top: 24px; }
.rows .pair .label { flex: 0 0 auto; max-width: 55%; }
.rows .pair .value { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }

.facts li { border: 0; }
.facts .pair { justify-content: flex-start; align-items: baseline; gap: 12px; padding: 2px 0; }
.facts .pair .label { flex: 0 0 150px; max-width: none; color: var(--link); }
.facts .pair .value { flex: 1 1 auto; text-align: left; color: var(--ink); }
.facts .mono .value { font: 11px/18px ui-monospace, SFMono-Regular, Menlo, monospace; }

main p#launch { display: block; }
#run { max-width: 100%; height: auto; min-height: 22px; padding: 4px 9px; line-height: 1.3; white-space: normal; text-align: left; }
.prices + .actions { margin-top: 22px; }

.log {
  margin: 4px 0 0;
  max-height: 280px;
  overflow: auto;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--wash);
  font: 11px/17px var(--mono);
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.log.empty { font-family: var(--sans); font-size: 13px; color: var(--gray-mark); }

.rows .pair.failed .dot { background: var(--error); }

.sign-in { max-width: 360px; }
.back { display: inline-block; margin-bottom: 12px; font-size: 12px; color: var(--copy); text-decoration: none; }
.back:hover, .back:focus-visible { color: var(--ink); }
.sign-in .form input { height: 28px; }
.sign-in .button.secondary { gap: 8px; }
button.text-link { border: 0; background: none; font-family: inherit; cursor: pointer; }
.demo-start { margin-top: 16px; font-size: 13px; }
.demo-start .text-link { color: var(--faint); }
.sidebar .session.demo { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 13px; }

.google { width: 15px; height: 15px; }

.separator { display: flex; align-items: center; gap: 20px; margin: 20px 0 19px; font-size: 11px; line-height: 14px; color: var(--status); }
.separator::before, .separator::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }



.list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.block .list-head h2 { margin: 0; }
.list-head .button { height: 22px; padding: 0 10px; font-size: 12px; }

.cards { list-style: none; margin: 20px 0 14px; padding: 0; }
.block .cards { margin-top: 0; }
.cards + .facts { margin-top: 6px; }
.cards .state { display: flex; margin: 0; padding: 8px 0; font-size: 13px; line-height: 18px; color: var(--gray-mark); }
.cards .state.failed { color: var(--ink); }

.row-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 6px;
  padding: 7px 6px 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--raised);
  color: var(--copy);
  opacity: 0.88;
}

.row-card:first-child { margin-top: 0; }
.row-card:hover,
.row-card:focus-within { background: var(--raised-2); color: var(--ink); box-shadow: 0 2px 10px var(--glow); opacity: 1; }
.row-card.stale { opacity: 0.7; }

.row-card .fields { display: flex; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.row-card .label { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.row-card .value { flex: none; text-align: right; }
.row-card .value .dot { display: inline-block; margin-right: 7px; vertical-align: 1px; }
.row-card .meta { margin-left: 8px; color: var(--faint); }
.row-card .badge { margin-left: 8px; }
.row-card .fields > input { flex: 1 1 0; }

.row-card input {
  display: block;
  width: 100%;
  height: 28px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--raised);
  font: inherit;
  font-size: 13px;
  color: var(--ink);
  min-width: 0;
}
.row-card input.mono { font-family: var(--mono); font-size: 12px; }
.row-card input::placeholder { color: var(--faint); }
.row-card input:hover { border-color: var(--line-strong); background: var(--raised-2); }
.row-card input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); box-shadow: 0 0 0 4px var(--glow); }

.row-card .more { position: relative; flex: none; }
.row-card .spacer { flex: none; width: 26px; }
.row-card > .button { height: 26px; padding: 0 9px; font-size: 13px; }
.button.secondary.danger { color: var(--error); }
.button.secondary.danger:focus-visible { outline-color: var(--error); }

.dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  color: var(--gray-mark);
  cursor: pointer;
}
.dots:hover,
.dots[aria-expanded="true"],
.dots:focus-visible { border-color: var(--hairline); background: var(--raised-2); color: var(--ink); }
.ellipsis { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.popover { position: absolute; top: calc(100% + 4px); right: 0; z-index: 2; display: flex; flex-direction: column; min-width: 128px; padding: 4px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--raised-2); box-shadow: var(--lift); }
.popover button {
  display: block;
  width: 100%;
  padding: 0 8px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 12px;
  line-height: 24px;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}
.popover button:hover,
.popover button:focus-visible { background: var(--wash-2); color: var(--ink); outline: none; }

.toolbar { display: flex; gap: 8px; margin-top: 18px; }
.toolbar + .rows { margin-top: 10px; }
.pager { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.pager > span { margin-right: auto; }
.search,
.toolbar select {
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--raised);
  font: inherit;
  font-size: 13px;
  color: var(--ink);
}
.search { flex: 1 1 auto; min-width: 0; appearance: none; -webkit-appearance: none; }
.search::placeholder { color: var(--faint); }
.search::-webkit-search-cancel-button { -webkit-appearance: none; }
.toolbar select { flex: none; max-width: 160px; padding-right: 26px; appearance: none; background-image: var(--chevron); background-repeat: no-repeat; background-position: right 8px center; background-size: 12px; color: var(--muted); }
.search:hover,
.toolbar select:hover { border-color: var(--line-strong); background-color: var(--raised-2); color: var(--ink); }
.search:focus-visible,
.toolbar select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); box-shadow: 0 0 0 4px var(--glow); background-color: var(--raised-2); color: var(--ink); }

.chip { display: inline-flex; flex: none; align-items: center; gap: 4px; align-self: center; height: 22px; padding: 0 4px 0 8px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--raised); font-size: 12px; color: var(--copy); }
.chip:hover { border-color: var(--line-strong); }
.chip:focus-within { outline: 2px solid var(--blue); outline-offset: 1px; }
.toolbar .chip select { field-sizing: content; height: 20px; max-width: 140px; padding: 0 16px 0 0; border: 0; background-color: transparent; background-position: right 2px center; background-size: 10px; font-size: 12px; color: var(--ink); }
.toolbar .chip select:hover, .toolbar .chip select:focus-visible { outline: none; box-shadow: none; background-color: transparent; }
.chip .clear { width: 14px; padding: 0; border: 0; background: none; font: inherit; font-size: 12px; line-height: 1; color: var(--copy); cursor: pointer; }
.chip .clear:hover, .chip .clear:focus-visible { color: var(--ink); }
.readout { align-self: center; font: var(--t-num); color: var(--status); }

.toolbar + .prices { margin-top: 20px; }
.cheapest { margin-top: 14px; color: var(--copy); }
.cheapest + .prices { margin-top: 14px; }
.cheapest:empty::before, .amount:empty::before, #catalog-source:empty::before, #rate-source:empty::before { content: "\200b"; }
#history-block .state.loading { min-height: 380px; align-items: flex-start; }
.updated { margin: 6px 0 0; font-size: 11px; line-height: 16px; color: var(--status); }
.ranges { display: flex; flex-wrap: wrap; gap: 2px; width: max-content; max-width: 100%; margin-top: 18px; padding: 2px; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised); }
.ranges button { height: 20px; padding: 0 9px; border: 0; border-radius: 4px; background: none; font: inherit; font-size: 11px; color: var(--link); cursor: pointer; }
.ranges button:hover { color: var(--ink); }
.ranges button[aria-pressed="true"] { background: var(--hover); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.chart { position: relative; margin-top: 10px; border-radius: 6px; cursor: crosshair; }
.chart svg { overflow: visible; }
.step { stroke: var(--blue-pale); stroke-dasharray: 4 3; }
.compare { stroke-width: 1.5; opacity: 0.55; }
.marker { fill: var(--blue-mark); stroke: var(--page); stroke-width: 1.5; }
.marker .tag rect { fill: var(--blue-mark); stroke: none; }
.tag rect { fill: var(--heading); }
.tag text { font-size: 11px; fill: var(--page); stroke: none; }
.marker .tag text { fill: var(--on-blue); }
.crosshair { pointer-events: none; }
.chart svg:has(.crosshair) .marker .tag { visibility: hidden; }
.crosshair line { stroke-dasharray: 3 3; stroke: var(--gray-mark); stroke-width: 1; }
.crosshair .notch { stroke-dasharray: none; stroke-width: 1.5; }
.pin .hit { fill: transparent; }
.pin:focus-visible .hit { stroke: var(--blue); stroke-width: 1.5; }
.tip { position: absolute; top: 8px; left: 0; z-index: 1; display: flex; flex-direction: column; gap: 2px; min-width: 170px; padding: 6px 9px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--raised-2); box-shadow: var(--lift); font-size: 11px; line-height: 16px; color: var(--copy); white-space: nowrap; pointer-events: none; }
.tip .when { color: var(--ink); font-weight: 500; }
.tip .row { display: flex; justify-content: space-between; gap: 14px; }
.tip .value { color: var(--ink); font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 11px; line-height: 16px; color: var(--copy); }
.legend .index, .tip .index { --swatch: var(--blue-mark); }
.legend .rate, .tip .rate { --swatch: var(--blue-pale); }
.legend li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: -1px; background: var(--swatch); }
.legend button { padding: 0; border: 0; border-radius: 6px; background: none; font: inherit; color: inherit; cursor: pointer; }
.legend button:hover { color: var(--ink); }
.legend li:has(> [aria-pressed="false"]) { opacity: 0.4; }
.legend .all::before { display: none; }
.legend .value { display: inline-block; min-width: 7ch; margin-left: 5px; color: var(--ink); font-variant-numeric: tabular-nums; }
.day-readout { height: 16px; margin: 0 0 4px; font-size: 11px; line-height: 16px; color: var(--copy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.step.solid { stroke-dasharray: none; }
.chart .line.index { stroke-width: 2.5; opacity: 1; }
.chart[data-hot] .line:not(.hot) { opacity: 0.2; }
.chart .line.hot { stroke-width: 3; opacity: 1; }
.hover-label { font-size: 11px; font-weight: 500; paint-order: stroke; stroke: var(--page); stroke-width: 3px; stroke-linejoin: round; }
.legend li.hot { color: var(--ink); background: var(--wash-2); border-radius: 4px; }
.tip .key::before { content: ""; display: inline-block; width: 12px; margin-right: 6px; border-top: 2px solid var(--swatch); vertical-align: 3px; }
.tip .rate .key::before { border-top-style: dashed; }

.ticker {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 34px;
  margin: -44px -28px 10px;
  padding: 0 14px 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 12px;
  line-height: 20px;
  color: var(--status);
  white-space: nowrap;
}
.ticker .source { margin-right: 6px; font-size: 11px; }
.ticker a {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0 8px;
  border-radius: 0;
  color: var(--link);
  text-decoration: none;
  opacity: 0.7;
}
.ticker a:hover,
.ticker a:focus-visible { background: var(--raised-2); color: var(--ink); opacity: 1; box-shadow: 0 0 0 1px var(--hairline), 0 2px 10px var(--glow); }
.ticker .value { color: var(--heading); font-variant-numeric: tabular-nums; }
.ticker .unit { margin-left: -4px; font-size: 11px; }
.ticker .change { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-variant-numeric: tabular-nums; }
.ticker .down { color: var(--fall); }

.block .chart { margin-top: 6px; }
.zero { stroke: var(--gray-mark); stroke-dasharray: 2 3; }
.spread .line { stroke: var(--gray-mark); opacity: 0.6; }
.spread:hover .line, .spread:focus-visible .line { opacity: 1; }

.tip .series .key::before { width: 7px; height: 7px; margin-right: 6px; border: 0; border-radius: 50%; background: var(--swatch); vertical-align: 0; }


@media (prefers-reduced-motion: no-preference) {
  a, .button, .wide, .sidebar li button, .rows a::before, .mark, .line, .form input, .form textarea, .form select, .row-card, .row-card input, .dots, .popover button, .search, .toolbar select, .ticker a, .pin, .ranges button, .combo-trigger, .chev {
    transition: color 0.15s, background-color 0.15s, border-color 0.15s, box-shadow 0.15s, opacity 0.15s, stroke 0.15s, r 0.15s, fill 0.15s;
  }
  .stops .rail { transition: left 0.2s ease-out, width 0.2s ease-out; }
  .screen.active { transition: opacity 0.2s ease-out; }
  .cursor { transition: transform 0.4s ease-out, opacity 0.2s ease-out; }
  .cursor.snap { transition: none; }
  .cursor.enter { transition-duration: 0.3s, 0.2s; }
  .cursor svg { transition: transform 0.12s ease-out; }
  .screen .reveal { transition: opacity 0.25s ease-out, transform 0.25s ease-out; }
  .screen tr.reveal td, .screen tr.reveal th { transition: border-color 0.25s ease-out; }
  .screen .fill { transition: width 0.4s ease-out; }
}

@media (max-width: 760px), (max-height: 500px) {
  body { display: flex; flex-direction: column; }
  .sidebar {
    position: static;
    flex: none;
    width: auto;
    margin: var(--inset);
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .home { height: 40px; margin: 0; }
  .menu {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border: 1px solid var(--hairline);
    border-radius: 6px;
    background: var(--raised);
    color: var(--ink);
    font: inherit;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
  }
  .sidebar nav { display: none; }
  .sidebar nav.open { display: flex; position: fixed; inset: 76px var(--inset) var(--inset); z-index: 4; overflow-y: auto; padding: 0 14px 14px; background: var(--page); }
  .sidebar li a, .sidebar li button { line-height: 40px; }
  .ticker { margin: -24px -16px 16px; padding: 0 8px 0 16px; }
  .form input { min-height: 40px; }
  main { flex: 1; margin: 0 var(--inset) var(--inset); max-width: none; height: auto; min-height: 0; padding: 24px 16px; }
  .rows a, .rows .pair { flex-direction: column; align-items: flex-start; gap: 2px; }
  .rows .meta { display: block; margin: 0; }
  .rows .value { text-align: left; }
  .rows .badge { margin: 0 0 0 6px; }
  .rows .pair .label { max-width: none; }
  .facts .pair { flex-direction: row; }
  .facts .pair .label { flex-basis: 110px; }
  .run .block .rows .pair { flex-direction: row; align-items: center; }
  .grid { grid-template-columns: 1fr; }
  .actions { flex-wrap: wrap; }
  .toolbar { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .row-card .fields { flex-wrap: wrap; }
  .row-card .meta { display: block; margin: 0; }
  .row-card .value { text-align: left; }
  #history-block .state.loading { min-height: 260px; }
}

.source { font-size: 11px; line-height: 16px; color: var(--status); }
.price .source { max-width: 210px; margin-top: 3px; }
#estimate-source { width: 0; min-width: 100%; }
p.source { margin: 8px 0 0; }
.toolbar .source { align-self: center; margin-left: auto; font-size: 11px; }
.rows .meta.source { font-size: 11px; }
.text-link,
.rows a.text-link { display: inline; position: static; margin: 0; padding: 0; font-size: inherit; line-height: inherit; color: var(--link); text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 2px; }
.rows a.text-link:hover::before,
.rows a.text-link:focus-visible::before { content: none; }
.rows a.text-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.source a:hover,
.text-link:hover,
.text-link:focus-visible { color: var(--blue); text-decoration-color: currentColor; }

main::-webkit-scrollbar { display: none; }
::-webkit-scrollbar { width: 8px; height: 8px; background: transparent; }
::-webkit-scrollbar-thumb { border-radius: 4px; background: var(--scrollbar); }
* { scrollbar-color: var(--scrollbar) transparent; }

.offers { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
.offers th { padding: 4px 8px 6px 0; border-bottom: 1px solid var(--hairline); color: var(--muted); font-weight: 400; text-align: left; white-space: nowrap; }
.offers td { padding: 5px 8px 5px 0; border-bottom: 1px solid var(--hairline); color: var(--copy); white-space: nowrap; }
.offers td:first-child { min-width: 180px; color: var(--ink); white-space: normal; }
.offers td:nth-child(2) { color: var(--ink); text-align: right; padding-right: 16px; }
.offers th:nth-child(2) { text-align: right; padding-right: 16px; }
.offers.providers :is(td:nth-child(4), td:last-child) { min-width: 88px; white-space: normal; }
.offers tr { background: var(--page); }
.offers tr.top { background: var(--blue-tint); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.runs { width: 100%; margin-top: 10px; border-collapse: collapse; }
.runs th { padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line); font: var(--t-meta); color: var(--status); text-align: left; white-space: nowrap; }
.runs td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); font: var(--t-meta); font-variant-numeric: tabular-nums; color: var(--copy); white-space: nowrap; }
.runs :is(th, td):last-child { padding-right: 0; }
.runs td:first-child { width: 100%; font: var(--t-body); color: var(--ink); white-space: normal; }
.runs :is(th, td):nth-child(n + 3) { text-align: right; }
.runs td:first-child a { text-decoration: none; }
.runs .meta { display: block; margin-top: 1px; font: var(--t-meta); color: var(--faint); }
.runs .meta a:hover { color: var(--copy); text-decoration: underline; }
.runs tbody tr { cursor: pointer; }
.runs tbody tr:is(:hover, :focus-within) { background: var(--wash); }
.runs tbody tr.end { cursor: default; background: none; }
.runs tr.end td { color: var(--faint); }
.runs .status { display: inline-flex; align-items: center; gap: 6px; font: inherit; color: inherit; }
.runs .status:is(.live, .done) .dot { background: var(--live); }
.runs .status.live .dot { box-shadow: 0 0 0 3px var(--fall-bg); }
.runs .status.failed .dot { background: var(--error); }
.runs .status.stale { color: var(--status); }
.badge.passed { background: var(--fall-bg); border-color: var(--fall-line); color: var(--fall); }
.badge.failed { color: var(--error); }
.badge.live { color: var(--blue); border-color: var(--blue-line); }
.badge.stale { color: var(--status); }
.badge.quote { color: var(--ink); border-color: var(--line-strong); }
.sources { overflow-x: auto; }
#run-table, .job-list { max-height: 420px; overflow-y: auto; }
#run-table thead th, .job-list .columns { position: sticky; top: 0; z-index: 1; background: var(--page); }
@media (max-width: 760px), (max-height: 500px) {
  #run-table, .job-list { max-height: 360px; }
  .sources thead { display: none; }
  .sources tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--hairline); }
  .sources :is(.offers, .runs) td { white-space: normal; padding: 0; border: 0; text-align: left; }
  .sources :is(.offers, .runs) td:first-child { grid-column: 1 / -1; }
  .sources td[data-label]::before { content: attr(data-label); display: block; color: var(--muted); font-size: 11px; }
  .providers-list .columns { display: none; }
  .providers-list .row, .providers-list .sub { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "who who rate" "tier region observed"; }
  .providers-list .who-cell { grid-area: who; }
  .providers-list .rate-cell { grid-area: rate; }
  .providers-list .tier { grid-area: tier; }
  .providers-list .region { grid-area: region; }
  .providers-list .observed { grid-area: observed; }
  .providers-list .sub { padding-left: 12px; }
}

.offer-details { margin-top: 10px; }
.offer-details summary { cursor: pointer; font-size: 12px; color: var(--copy); }
.offer-details summary:hover { color: var(--ink); }
.offer-details :is(table, tbody) { display: block; }
.offer-details tbody { content-visibility: auto; contain-intrinsic-size: auto 2800px; }
@media (min-width: 761px) and (min-height: 501px) {
  .offer-details :is(thead, tbody) { display: grid; grid-template-columns: 182px 96px 73px 88px 60px minmax(88px, 1fr); }
  .offer-details table:has(th:nth-child(7)) :is(thead, tbody) { grid-template-columns: 180px 96px 73px 88px 68px 60px minmax(88px, 1fr); }
  .offer-details tbody { contain-intrinsic-size: auto 1000px; }
  .offer-details tr { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
  .offer-details :is(th, td) { align-content: center; }
}
.source-list { columns: 2 280px; column-gap: 32px; margin: 8px 0 0; padding: 0; list-style: none; }
.source-list .source { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; min-height: 22px; break-inside: avoid; font: var(--t-body); color: var(--copy); }
.source-list .when { font: var(--t-meta); color: var(--status); white-space: nowrap; }
.source-list .live .dot { background: var(--live); }
@media (max-width: 760px), (max-height: 500px) {
  .source-list { columns: 1; }
  .offer-details summary { padding: 12px 0; }
  .text-link { padding: 14px 0; }
}

.inline-form { display: flex; gap: 8px; max-width: 420px; margin-top: 18px; }
.inline-form input { flex: 1; height: 27px; padding: 0 10px; border: 1px solid var(--hairline); border-radius: 6px; font: inherit; font-size: 13px; color: var(--ink); background: var(--raised); }
.inline-form input:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.links { margin-top: 18px; font-size: 12px; color: var(--copy); }
.links a { color: var(--copy); text-decoration: none; }
.links a:hover { color: var(--ink); }
.links button { padding: 0; border: 0; background: none; font: inherit; color: var(--copy); cursor: pointer; }
.links button:hover { color: var(--ink); }

.usage { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 6px 12px; margin: 14px 0 0; font: var(--t-small); }
.usage dt { color: var(--status); }
.usage dd { margin: 0; }
.usage code { font-family: var(--mono); font-size: 12px; color: var(--ink); white-space: nowrap; }
.usage a { color: var(--copy); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.usage a:hover { color: var(--ink); }
#keys, #hooks { margin-top: 14px; border-top: 1px solid var(--line); }
:is(#keys, #hooks) > li { border-bottom: 1px solid var(--line); }
:is(#keys, #hooks) .row-card { margin: 0; padding: 8px 0; border: 0; border-radius: 0; background: none; }
:is(#keys, #hooks) .row-card:is(:hover, :focus-within) { background: var(--wash); box-shadow: none; }
:is(#keys, #hooks) .meta { display: block; margin: 1px 0 0; font: var(--t-meta); }
#keys .value { font: var(--t-meta); }
#webhooks { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
#webhooks .hook-note { margin: 4px 0 0; font: var(--t-small); color: var(--copy); }
.hook-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hook-panel { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--raised); }
.hook-fields { display: flex; gap: 12px; align-items: flex-end; }
.hook-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hook-field.grow { flex: 1 1 auto; }
.hook-label { font: var(--t-small); color: var(--copy); }
.hook-field input, .hook-field select { height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--page); font: var(--t-body); color: var(--ink); }
.hook-field select { width: 132px; padding-right: 28px; appearance: none; background: var(--page) var(--chevron) no-repeat right 10px center / 12px; }
.hook-field input::placeholder { color: var(--faint); }
.hook-field input:hover, .hook-field select:hover { border-color: var(--line-strong); }
.hook-field input:focus-visible, .hook-field select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
#secret { font: 12px/18px var(--mono); }
.hook-events { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin: 16px 0 0; padding: 0; border: 0; }
.hook-events legend { padding: 0; margin-bottom: 10px; }
.hook-check { position: relative; display: flex; align-items: center; gap: 10px; cursor: pointer; }
.hook-check input { position: absolute; opacity: 0; pointer-events: none; }
.hook-check .box { flex: none; width: 16px; height: 16px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--page); }
.hook-check input:checked + .box { border-color: var(--ink); background: var(--ink) var(--check) center / 14px no-repeat; }
.hook-check input:focus-visible + .box { outline: 2px solid var(--blue); outline-offset: 1px; }
.hook-check:hover .box { border-color: var(--ink); }
.hook-check .text { display: flex; align-items: baseline; gap: 8px; font: var(--t-body); color: var(--ink); }
.hook-check .id { font: var(--t-meta); color: var(--status); }
.hook-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.hook-hint { margin-left: auto; font: var(--t-meta); color: var(--status); }
#new-secret { margin-top: 8px; }
#new-secret .hook-note { margin-top: 8px; }
.hooks { list-style: none; padding: 0; }
.hooks .state { display: flex; margin: 0; padding: 8px 0; font: var(--t-body); color: var(--gray-mark); }
.hooks .state.failed { color: var(--ink); }
.hook { padding: 10px 0; }
.hook.off .hook-url { color: var(--copy); }
.hook-line { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.hook-expand { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 20px; height: 20px; margin-left: -4px; padding: 0; border: 0; border-radius: 4px; background: none; color: var(--status); cursor: pointer; }
.hook-expand:hover { background: var(--wash-2); color: var(--ink); }
.hook-expand:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.hook-chev { transform: rotate(-90deg); }
.hook-expand[aria-expanded="true"] .hook-chev { transform: none; }
.hook-url { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: var(--t-body); color: var(--ink); }
.hook-last { flex: none; font: var(--t-meta); color: var(--status); white-space: nowrap; }
.hook-last.ok { color: var(--copy); }
.hook-last.err, .hook-last.retry { color: var(--error); }
.hook-pill { display: inline-flex; flex: none; align-items: center; gap: 6px; height: 20px; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; font: var(--t-meta); color: var(--ink); white-space: nowrap; }
.hook-pill .dot, .hook-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--dot); }
.hook-pill.ok .dot, .hook-status.ok .dot { background: var(--live); }
.hook-pill.off { color: var(--copy); }
.hook-why { flex: none; font: var(--t-meta); color: var(--error); }
.hook-ask { flex: 1 1 auto; min-width: 0; font: var(--t-body); color: var(--ink); overflow-wrap: anywhere; }
.hook-more { position: relative; flex: none; }
.hook-more .button svg { fill: currentColor; }
.hook-more .popover { min-width: 148px; border-color: var(--line); border-radius: 12px; }
.hook-more .popover button { padding: 6px 10px; font: var(--t-body); color: var(--ink); }
.hook-more .popover .danger { color: var(--error); }
.hook-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0 26px; }
.hook-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid var(--hairline); border-radius: 4px; font: var(--t-meta); color: var(--copy); white-space: nowrap; }
.hook-chip.format { color: var(--ink); border-color: var(--line); }
.hook-log-wrap { margin: 10px 0 2px 26px; }
.hook-log-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; font: var(--t-small); color: var(--ink); }
.hook-log-meta { font: var(--t-meta); color: var(--status); }
.hook-log { width: 100%; border-collapse: collapse; font: var(--t-small); color: var(--copy); }
.hook-log th { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); text-align: left; font: var(--t-meta); color: var(--status); white-space: nowrap; }
.hook-log td { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--hairline); vertical-align: middle; white-space: nowrap; }
.hook-log tr:last-child td { border-bottom: 0; }
.hook-log .time { width: 72px; color: var(--status); }
.hook-log .event { width: 110px; color: var(--ink); }
.hook-log .code { width: 64px; color: var(--ink); }
.hook-log tr.err .code { color: var(--error); }
.hook-log .tries { width: 56px; }
.hook-log .why { max-width: 0; width: 100%; padding-right: 0; overflow: hidden; text-overflow: ellipsis; color: var(--status); }
.hook-log tr.err .why, .hook-log tr.retry .why { color: var(--copy); }
.hook-status { display: inline-flex; align-items: center; gap: 6px; color: var(--copy); }
.hook-status.err .dot { background: var(--error); }
.hook-status.retry .dot { background: var(--blue); }
.hook-retry { margin-left: 8px; padding: 0; border: 0; background: none; font: var(--t-small); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; cursor: pointer; }
.hook-retry:hover { text-decoration-color: var(--ink); }
.hook-retry:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
.hook-retry:disabled { color: var(--status); text-decoration: none; cursor: default; }
.connect { max-width: 640px; margin-top: 14px; }
.connect summary { cursor: pointer; font: var(--t-small); color: var(--copy); }
.connect summary:hover { color: var(--ink); }
.snippet { margin-top: 10px; }
.snippet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: var(--t-meta); color: var(--copy); }
.snippet-head .button { flex: none; height: 22px; padding: 0 9px; font-size: 12px; }
.snippet pre { margin: 6px 0 0; padding: 8px 10px; overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised); font: 400 11px/16px var(--mono); color: var(--ink); }
.snippet .hook-note { margin-top: 4px; }
#mcp { max-width: 640px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
#mcp .hook-note { margin: 4px 0 0; font: var(--t-small); color: var(--copy); }
#mcp .guide + .hook-note { margin-top: 14px; }
#mcp code:not(pre code) { font: 400 12px/16px var(--mono); color: var(--ink); }
.guide { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: step; }
.guide > li { position: relative; margin-top: 16px; padding-left: 26px; counter-increment: step; }
.guide > li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border: 1px solid var(--line-strong); border-radius: 50%; font: 500 11px/18px var(--sans); text-align: center; color: var(--copy); }
.guide h3 { margin: 0; font: var(--t-body); font-weight: 500; color: var(--heading); }
.prompts { margin: 6px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.prompts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font: var(--t-small); color: var(--copy); }
.prompts q { font: var(--t-body); color: var(--ink); }

@media (max-width: 760px), (max-height: 500px) {
  .hook-fields { flex-wrap: wrap; }
  .hook-field.grow { flex-basis: 100%; }
  .hook-events { grid-template-columns: 1fr; }
  .hook-line { flex-wrap: wrap; row-gap: 6px; }
  .hook-url { flex-basis: calc(100% - 26px); }
  .hook-more { margin-left: auto; }
  .hook-tags, .hook-log-wrap { margin-left: 0; }
  .hook-log-wrap { overflow-x: auto; }
  .hook-log .why { max-width: none; width: auto; }
  .hook-log-head .hook-log-meta { display: none; }
}

.intro .tagline { margin-top: -6px; font-size: 13px; color: var(--copy); }
.intro .tagline + .tagline { margin-top: -10px; }

.module { margin: var(--section-gap) 0 0; }
.module h2 { margin: 0; font: var(--t-h2); color: var(--heading); }
.subtitle { margin: 0; font: var(--t-small); color: var(--copy); }
main p.subtitle { margin: 0; font: var(--t-small); }
.module.bleed { margin-left: -28px; margin-right: -28px; }
.module.bleed > h2, .module.bleed > p, .module.bleed > .chart-key { padding: 0 28px; }
.num { font: var(--t-num); font-variant-numeric: tabular-nums; color: var(--ink); }

.paint-lead { --paint: var(--blue-mark); }
.paint-mark { --paint: var(--blue-mark); }
.paint-soft { --paint: var(--blue-soft); }
.paint-area { --paint: var(--blue-area); }
.paint-gray { --paint: var(--gray-mark); }
.paint-tint { --paint: var(--blue-tint); }
.chart-key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: var(--note-gap) 0 0; padding: 0; list-style: none; font: var(--t-meta); color: var(--copy); }
.chart-key .key::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: -1px; background: var(--paint); opacity: var(--rest); }
.chart-key .paint-lead::before { opacity: 1; }
.chart-key .paint-tint::before { opacity: 1; box-shadow: inset 0 0 0 1px var(--hairline); }
.chart-key .hollow::before { background: var(--page); box-shadow: inset 0 0 0 1px var(--paint); opacity: 1; }

.ranked { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) auto; margin: var(--chart-gap) 0 0; padding: 0; list-style: none; font: var(--t-small); }
.ranked li { display: contents; }
.ranked a { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: center; gap: 0 10px; min-height: 18px; margin: 0 -6px; padding: 3px 6px; border-radius: var(--popover-radius); color: var(--copy); text-decoration: none; }
.ranked .name { overflow-wrap: anywhere; }
.ranked .track { display: block; width: 100%; height: 12px; background: var(--gray-track); }
.ranked .fill { display: block; height: 100%; background: var(--paint); opacity: var(--rest); }
.ranked .hollow { background: var(--page); box-shadow: inset 0 0 0 1px var(--paint); opacity: 1; }
.ranked .leader .fill { opacity: 1; }
.ranked .range { position: relative; }
.ranked .band { position: absolute; top: 0; height: 100%; background: var(--paint); opacity: var(--rest); }
.ranked .cleared { position: absolute; top: -2px; width: 2px; height: 16px; margin-left: -1px; background: var(--paint); }
.ranked .value { text-align: right; white-space: nowrap; }
.ranked .value .num { color: inherit; }
.ranked .value.none { color: var(--status); }
.ranked .leader { color: var(--ink); }
.ranked .value .badge { margin-left: 6px; padding: 0; border: 0; background: none; font-size: 11px; color: var(--status); }
.ranked.priced { grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 84px 76px; }
.ranked.priced a { min-height: 28px; padding: 0 6px; }
.ranked.priced .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ranked.priced .value { font-variant-numeric: tabular-nums; }
.ranked.priced .tags { font-size: 11px; color: var(--status); white-space: nowrap; }
.ranked.spans { grid-template-columns: fit-content(260px) minmax(0, 1fr) 84px 140px; }
.ranked .span { position: absolute; top: 2px; height: 8px; box-sizing: border-box; border-inline: 1px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat; opacity: 0.7; }
.ranked a[data-active], .ranked a:focus-visible { background: var(--blue-tint-2); color: var(--ink); box-shadow: 0 2px 10px var(--glow); }
.ranked a[data-active] .fill, .ranked a:focus-visible .fill { opacity: 1; }
.ranked:has(a[data-active]) a:not([data-active]) { opacity: 0.6; }
.comparison .ranked a { min-height: 26px; padding: 4px 6px; }
.comparison .ranked .track { height: 6px; border-radius: 3px; }
.comparison .ranked .fill { border-radius: 3px; }
.comparison .ranked .paint-lead, .comparison .ranked + .chart-key .paint-lead { --paint: var(--blue); }
.comparison .ranked .paint-area, .comparison .ranked + .chart-key .paint-area { --paint: var(--gray-mark); }
.comparison .ranked .cleared { top: -3px; height: 12px; }
.comparison .ranked .span { top: -1px; }
@media (prefers-reduced-motion: no-preference) {
  .ranked .fill { transform-origin: left; animation: grow 0.3s ease-out; }
}
.badge.best { margin-left: 6px; border-color: transparent; background: var(--blue-tint); color: var(--blue); }
.providers-list { list-style: none; margin: 8px 0 0; padding: 0; font-variant-numeric: tabular-nums; }
.providers-list li { display: grid; grid-template-columns: minmax(0, 1fr) 96px 84px 100px 128px; column-gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 12px; line-height: 18px; color: var(--copy); }
.providers-list .columns { padding: 0 0 6px; border-bottom-color: var(--line); font-size: 11px; color: var(--status); white-space: nowrap; }
.providers-list .columns > :nth-child(2), .providers-list .columns > :last-child { text-align: right; }
.providers-list .row:not(.single) { cursor: pointer; }
.providers-list .row:hover { color: var(--ink); }
.providers-list .who { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink); cursor: inherit; }
.providers-list .row:not(.single) .who::before { content: "›"; display: inline-block; width: 12px; color: var(--status); }
.providers-list .who[aria-expanded="true"]::before { transform: rotate(90deg); }
.providers-list .single .who { padding-left: 12px; }
.providers-list .who-cell { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.providers-list .count { font-size: 11px; color: var(--status); white-space: nowrap; }
.providers-list .badge { margin-left: 6px; padding: 0 6px; border-color: var(--line); border-radius: 6px; background: none; line-height: 16px; }
.providers-list .badge.live { color: var(--copy); }
.providers-list .badge.live::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--live); }
.providers-list .rate-cell { color: var(--ink); text-align: right; white-space: nowrap; }
.providers-list .first .rate-cell { color: var(--blue); }
.providers-list .observed { font-size: 11px; color: var(--status); text-align: right; white-space: nowrap; }
.providers-list .sub { padding-left: 24px; font-size: 11px; }
.providers-list .sub .rate-cell { color: var(--copy); }
#providers-block, #auction-block, #spread-block, #provider-prices .module { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline); }
#provider-prices .module h2 { margin-bottom: 2px; }
#provider-prices .subtitle, #auction-block .subtitle, #spread-block .subtitle { color: var(--status); }
#provider-prices .ranked a { min-height: 26px; padding: 4px 6px; }
#provider-prices .ranked .track, #auction-block .ranked .track { height: 6px; border-radius: 3px; }
#provider-prices .ranked .fill, #auction-block .ranked .band { border-radius: 3px; }
#provider-prices .paint-area, #auction-block .paint-area { --paint: var(--gray-mark); }
#provider-prices .ranked a[data-active], #provider-prices .ranked a:focus-visible { box-shadow: none; }
#auction-block .ranked .cleared { top: -3px; height: 12px; }
#provider-prices .chart-key, #auction-block .chart-key { margin-top: 10px; }
#provider-prices .chart-key .key::before, #auction-block .chart-key .key::before { border-radius: 2px; }
#spread-legend { gap: 6px 16px; margin-top: 12px; }
#spread-legend li::before { width: 8px; height: 8px; border-radius: 2px; }
#spread-stats .pair { padding: 10px 0; }
#spread-stats .value { font-size: 12px; color: var(--ink); }
#spread-stats .meta { display: block; margin: 2px 0 0; font-size: 11px; color: var(--status); }

.plot { margin-top: var(--chart-gap); }
.quadrant { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--sans); }
.quadrant.phone { display: none; }
.attractive { fill: var(--blue-tint); }
.zone { font: var(--t-tick); fill: var(--blue); text-transform: uppercase; letter-spacing: 0.04em; }
.rule { stroke: var(--gray-mark); stroke-dasharray: 3 3; }
.rule-label { font: var(--t-tick); fill: var(--gray-mark); text-transform: uppercase; letter-spacing: 0.04em; }
.baseline { stroke: var(--gray-mark); }
.axis-tick { font: var(--t-tick); fill: var(--status); }
.axis-name { font: var(--t-meta); fill: var(--copy); }
.frontier-line { fill: none; stroke: var(--blue); stroke-width: 1; }
.pin { opacity: 0.8; }
.quadrant:hover .pin, .quadrant:focus-within .pin { opacity: 1; }
.quadrant:has(.pin[data-active]) .pin:not([data-active]) { opacity: 0.6; }
.pin circle { fill: var(--blue-soft); }
.pin.frontier circle { fill: var(--page); stroke: var(--blue); stroke-width: 1.5; }
.pin.recommended circle { fill: var(--blue); }
.pin.estimated circle { fill: var(--page); stroke: var(--gray-mark); stroke-width: 1.2; }
.pin.few circle { fill: var(--page); stroke: var(--blue-mark); stroke-width: 1.2; }
.pin.unknown circle { fill: var(--page); stroke: var(--gray-mark); stroke-width: 1; stroke-dasharray: 2 2; }
.twin { stroke: var(--gray-mark); stroke-width: 1; stroke-dasharray: 2 2; }
.zone.unknown { fill: var(--status); }
.fact { margin: var(--note-gap) 0 0; font: var(--t-small); color: var(--copy); }
.pin-label { font: var(--t-meta); fill: var(--ink); }
.pin:focus-visible { outline: none; }
.pin:focus-visible circle { stroke: var(--blue); stroke-width: 2; }
.value-label { font: var(--t-tick); fill: var(--gray-mark); }
.spend-line { fill: none; stroke: var(--blue-mark); stroke-width: 1.5; }
.pin.day circle { fill: var(--blue-mark); }

.module .ranges { margin-top: var(--chart-gap); }
.ranges a { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 4px; font-size: 11px; color: var(--link); text-decoration: none; }
.ranges a:hover { color: var(--ink); }
.ranges a[aria-current] { background: var(--hover); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.sample-switch { margin: 0; }
.segment-select { display: none; }

.tip.floating { position: fixed; top: 0; left: 0; z-index: 10; min-width: 180px; max-width: 320px; border-radius: var(--popover-radius); font: var(--t-meta); }
.tip.floating .key::before { content: none; }
.tip.floating .value { font-family: var(--sans); text-align: right; white-space: normal; }
.tip .head { color: var(--ink); font-weight: 500; }
.tip .head::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; vertical-align: -1px; background: var(--swatch); }
.tip .source { color: var(--status); }
.tip .source .value { color: var(--status); }

@keyframes grow {
  from { transform: scaleX(0); }
}

.context { position: sticky; top: -44px; z-index: 2; display: flex; gap: 8px; margin: 0 -28px; padding: 8px 28px; background: var(--page); }
.context select,
#spread-reference,
#spread-provider,
.segment-select { min-width: 0; height: 26px; max-width: 200px; padding: 0 26px 0 10px; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised) var(--chevron) no-repeat right 8px center / 12px; font: var(--t-body); color: var(--muted); appearance: none; }
.spread-pickers { display: flex; gap: 8px; }
.context #route { max-width: 260px; }
.context .button { height: 26px; }
.context select:hover,
#spread-reference:hover,
#spread-provider:hover,
.segment-select:hover { border-color: var(--line-strong); color: var(--ink); }
.context select:focus-visible,
#spread-reference:focus-visible,
#spread-provider:focus-visible,
.segment-select:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); color: var(--ink); }

@media (max-width: 760px), (max-height: 500px) {
  .context { top: -24px; margin: 0 -16px; padding: 8px 16px; }
  .context select { flex: 1 1 50%; max-width: none; }
  .module.bleed { margin-left: -16px; margin-right: -16px; }
  .module.bleed > h2, .module.bleed > p, .module.bleed > .chart-key { padding: 0 16px; }
  .ranked { grid-template-columns: minmax(0, 1fr) auto; }
  .ranked .name { grid-column: 1 / -1; }
  .ranked.priced { grid-template-columns: minmax(0, 1fr) 84px 64px; }
  .ranked.spans { grid-template-columns: minmax(0, 1fr) 56px 92px; }
  .ranked.spans .tags { white-space: normal; }
  .ranked a { min-height: 40px; }
  .ranked.priced a { min-height: 40px; padding: 4px 6px; }
  .quadrant.desktop { display: none; }
  .quadrant.phone { display: block; }
  .ranges.segments { display: none; }
  .segment-select { display: block; width: 100%; max-width: none; height: 40px; margin-top: var(--chart-gap); }
  .ranges a, .ranges button { height: 40px; }
}

#job { max-width: 600px; }
#job .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 12px; }
#job .grid .field:has(.mid, input[type="checkbox"]) { grid-column: span 2; }
#job .field { display: flex; flex-direction: column; gap: 5px; min-width: 0; margin-bottom: 12px; }
#job .field > label { margin: 0; font-size: 12px; font-weight: 400; line-height: 16px; color: var(--copy); }
#job .field > .error { margin: 0; }
#job :is(label, h2) .meta { margin-left: 6px; font-weight: 400; color: var(--faint); }
#job input, #job select, #job textarea { margin: 0; height: 28px; font-size: 13px; }
#job :is(input, select, textarea), #job :is(input, select, textarea):hover { background-color: var(--page); }
#job :is(input, select, textarea):focus-visible { outline-offset: 0; box-shadow: none; }
#job textarea { height: auto; min-height: 44px; padding: 5px 10px; }
#job :is(#image, #command, #output_dir) { font-family: var(--mono); font-size: 12px; }
#job #command { field-sizing: content; max-height: 240px; }
#job input[type="number"] { appearance: textfield; }
#job input[type="number"]::-webkit-inner-spin-button { appearance: none; }
#job input[type="checkbox"] { width: 14px; height: 14px; padding: 0; accent-color: var(--blue); }
#job .wide, #job .mid, #job .short { width: 100%; }
#job .with-unit { display: flex; align-items: center; gap: 6px; }
#job .unit { font-size: 12px; color: var(--status); }
#job .with-unit:has(input[type="number"]) { position: relative; }
#job .with-unit:has(input[type="number"]) input { padding-right: 38px; }
#job .with-unit:has(input[type="number"]) .unit { position: absolute; right: 10px; pointer-events: none; color: var(--faint); }
#job .fold { margin: 6px 0 0; }
#job .fold summary .meta { margin-left: 4px; color: var(--status); }
#job .fold summary { cursor: pointer; list-style: none; font-size: 13px; color: var(--copy); }
#job .fold summary::before { content: "›"; display: inline-block; width: 12px; }
#job .fold[open] summary::before { transform: rotate(90deg); }
#job .fold summary:hover { color: var(--ink); }
#job .fold[open] { padding-bottom: 4px; }
#job .fold > :not(summary):first-of-type { margin-top: 10px; }
@media (max-width: 760px), (max-height: 500px) {
  #job .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.run-head { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.run-head h1 { margin: 0; }
.run-head p { grid-column: 1 / -1; margin: 8px 0 0; }
.run-head .button { grid-area: 1 / 2; justify-self: start; height: 22px; padding: 0 10px; font-size: 12px; }
.run-head .combo,
.run-head > .combo-trigger { grid-area: 1 / 2; justify-self: start; }
.run-head .combo-trigger { height: 28px; max-width: 240px; }
#job.run-form { max-width: 560px; margin-top: 20px; }
#job.run-form textarea { min-height: 0; height: auto; resize: vertical; }
#job.run-form :is(#env, #inputs, #gpus, #expected_output_files, #metrics_file) { font-family: var(--mono); font-size: 12px; }
.run-bar { display: flex; align-items: flex-end; gap: 12px; margin-top: 2px; }
.run-bar .field label { white-space: nowrap; }
#job .run-bar .with-unit input { width: 80px; }
#job .run-bar .money input { width: 100px; }
#job .run-bar .with-unit:has(input[type="number"]) input { padding-right: 32px; }
#job .run-bar .money input { padding: 0 8px 0 20px; }
#job .run-bar .money .unit { left: 9px; right: auto; }
#job .run-bar :is(.field, .button, .state) { margin-bottom: 10px; }
.run-bar .state { margin-left: auto; font-size: 12px; color: var(--status); }
.run-bar .state:empty + .button { margin-left: auto; }
.run-pair { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
#job .fold-head { margin: 6px 0 8px; padding-top: 10px; border-top: 1px solid var(--hairline); font-size: 12px; font-weight: 400; line-height: 16px; color: var(--faint); }
#job .grid .field:has(input[type="checkbox"]) .with-unit { height: 28px; }
.live-job { max-width: 560px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--hairline); }
main .jobs-head { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--hairline); font: var(--t-h2); color: var(--heading); }
.jobs-head .count { margin-left: 10px; font: var(--t-meta); color: var(--faint); }
.job-list { max-width: 760px; margin-top: 12px; }
.job-list :is(a, .columns) { display: grid; grid-template-columns: minmax(0, 1fr) 96px 118px 68px 116px 60px; column-gap: 12px; align-items: center; padding: 10px 0; font: var(--t-body); }
.job-list .columns { padding: 0 0 8px; font: var(--t-meta); color: var(--faint); }
.job-list .empty { display: block; }
.job-list .empty a { display: inline; padding: 0; font-size: inherit; }
.job-list .empty a::before { content: none; }
.job-list :is(a, .columns) > * { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.job-list .job { font-weight: 500; color: var(--ink); }
.job-list .status { font: inherit; color: inherit; }
.job-list .status .dot { display: inline-block; margin-right: 6px; vertical-align: 1px; }
.job-list .fresh .dot { background: var(--live); }
.job-list .live .dot { background: var(--blue); }
.job-list .failed .dot { background: var(--error); }
.job-list .cost, .job-list .saved { font-variant-numeric: tabular-nums; }
.job-list .cost { color: var(--ink); }
.job-list time { font: var(--t-meta); color: var(--faint); }
.job-list a:hover::before, .job-list a:focus-visible::before, .job-list a[aria-current]::before { content: ""; position: absolute; inset: 0 -8px; z-index: -1; border-radius: 6px; background: var(--wash); box-shadow: none; }
.route-list a { display: grid; grid-template-columns: minmax(0, 1fr) 118px 96px 60px; column-gap: 12px; align-items: center; padding: 10px 0; font: var(--t-body); }
.route-list a > * { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.route-list .job { font-weight: 500; color: var(--ink); }
.route-list .cost { font-variant-numeric: tabular-nums; color: var(--ink); }
.route-list time { font: var(--t-meta); color: var(--faint); }
.route-list a:is(:hover, :focus-visible)::before { content: ""; position: absolute; inset: 0 -8px; z-index: -1; border-radius: 6px; background: var(--wash); box-shadow: none; }
.live-job h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: var(--t-h2); color: var(--heading); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; padding: 0 0 10px 18px; font-size: 13px; line-height: 18px; color: var(--ink); }
.timeline > li::before { content: ""; position: absolute; left: 2.5px; top: 12px; bottom: -2px; border-left: 1px solid var(--hairline); }
.timeline > li:last-child::before { display: none; }
.timeline > li > .dot { position: absolute; left: 0; top: 6px; }
.timeline .detail { color: var(--copy); font-size: 12px; }
.timeline .meta { margin-left: auto; font: var(--t-meta); color: var(--faint); }
.timeline .waiting { color: var(--faint); }
.timeline .waiting > .dot { background: var(--page); box-shadow: inset 0 0 0 1px var(--gray-mark); }
.timeline > li > .live-icon { position: absolute; left: -3px; top: 3px; margin: 0; }
.timeline .failed > .dot { background: var(--error); }
.timeline .gpus, .timeline .why { flex-basis: 100%; }
.timeline .gpus { list-style: none; margin: 4px 0 0; padding: 0; }
.timeline .gpus li { display: flex; gap: 12px; max-width: 220px; font: var(--t-num); color: var(--copy); }
.timeline .gpus .name { width: 44px; }
.timeline .gpus .num { margin-left: auto; font-variant-numeric: tabular-nums; }
.timeline .gpus .won { color: var(--ink); }
.timeline .gpus .pending { color: var(--faint); }
main .timeline .why { margin: 2px 0 0; font: var(--t-small); color: var(--faint); }
main .live-job .summary { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 2px; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--hairline); font-size: 12px; color: var(--copy); }
.live-job .summary .fact:first-child { color: var(--ink); }
.live-job .summary .sep { margin: 0 6px; color: var(--faint); }
@media (max-width: 760px), (max-height: 500px) {
  .run-bar { flex-wrap: wrap; row-gap: 0; }
  .job-list .columns { display: none; }
  .job-list :is(a, .columns) { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "job status" "gpu gpu"; align-items: baseline; row-gap: 2px; }
  .job-list .job { grid-area: job; }
  .job-list .status { grid-area: status; }
  .job-list .hardware { grid-area: gpu; color: var(--copy); }
  .job-list .hardware::after { content: " · " attr(data-cost); }
  .job-list :is(.cost, .saved, time) { display: none; }
  .route-list a { display: block; }
  .route-list .job { display: block; margin-bottom: 2px; }
  .route-list :is(.cost, time) { font: inherit; color: var(--copy); }
  .route-list :is(.cost, time):not(:empty)::before { content: " · "; }
}

.quote-form { max-width: 560px; margin: 12px 0 20px; }
.quote-form .field { display: grid; grid-template-columns: 140px 1fr; align-items: center; margin-bottom: 8px; }
.quote-form .field[hidden] { display: none; }
.quote-form .field > label { margin: 0; font-size: 12px; font-weight: 400; line-height: 16px; color: var(--copy); }
.quote-form input, .quote-form select { margin: 0; height: 28px; font-size: 13px; }
.quote-form .wide { width: 320px; }
.quote-form .mid { width: 200px; }
.quote-form .short { width: 80px; }
.quote-form .with-unit { display: flex; align-items: center; gap: 6px; }
.quote-form .unit { font-size: 12px; color: var(--status); }
.quote-form .actions { margin-top: 14px; padding-left: 140px; }
@media (max-width: 760px), (max-height: 500px) {
  .quote-form .field { grid-template-columns: 1fr; row-gap: 4px; }
  .quote-form .wide, .quote-form .mid { width: 100%; }
  .quote-form .actions { padding-left: 0; }
}

.stats { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 14px 0 6px; padding: 0; list-style: none; }
.stats li { display: flex; flex-direction: column; gap: 2px; }
.stats .label { font-size: 11px; line-height: 13px; color: var(--status); }
.stats .value { font-size: 13px; line-height: 17px; font-weight: 500; color: var(--heading); }
.stats .value .num { font: inherit; color: inherit; }
.stats .note { display: none; }
.stats-line { margin: 10px 0 0; font: var(--t-meta); color: var(--status); }
.stats-line .num { color: var(--copy); }
.bench .lede { margin: 0 0 10px; max-width: 640px; font-size: 13px; line-height: 19px; color: var(--copy); }
#bench { max-width: 640px; margin-top: 4px; }
#bench .field { display: grid; grid-template-columns: 140px 1fr; align-items: center; margin-bottom: 8px; }
#bench .field > label, #bench .field > .label { margin: 0; font-size: 12px; font-weight: 400; line-height: 16px; color: var(--copy); }
#bench input[type="number"] { margin: 0; height: 28px; font-size: 13px; }
#bench .short { width: 80px; }
#bench .with-unit { display: flex; align-items: center; gap: 6px; }
#bench .unit { font-size: 12px; color: var(--status); }
#bench .choices { display: flex; flex-wrap: wrap; gap: 6px 14px; }
#bench .choice, #bench .confirm { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 400; color: var(--ink); cursor: pointer; }
#bench input[type="checkbox"] { width: 14px; height: 14px; margin: 0; padding: 0; accent-color: var(--blue); }
#bench .cap { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
#bench .confirm { margin: 6px 0 0 140px; }
#bench .actions { margin-top: 14px; padding-left: 140px; }
.bench .state { margin-top: 10px; }
.bench .offers td:nth-child(2), .bench .offers th:nth-child(2) { text-align: right; }
@media (max-width: 760px), (max-height: 500px) {
  .bench .offers td:nth-child(2) { text-align: left; }
}
@media (max-width: 760px), (max-height: 500px) {
  #bench .field { grid-template-columns: 1fr; row-gap: 4px; }
  #bench .confirm, #bench .actions { margin-left: 0; padding-left: 0; }
}
#bench-run { max-width: 100%; height: auto; min-height: 32px; white-space: normal; text-align: left; }

.donut-wrap { display: flex; align-items: center; gap: 28px; margin-top: 10px; }
.donut { width: 140px; height: 140px; flex: none; transform: rotate(-90deg); }
.donut .arc { fill: none; stroke-width: 18; opacity: var(--rest); }
.donut .arc:hover { opacity: 1; }
.donut text { transform: rotate(90deg); transform-origin: 70px 70px; text-anchor: middle; }
.donut .total { font-family: var(--sans); font-size: 18px; fill: var(--ink); }
.donut .caption { font-size: 11px; fill: var(--status); }
.donut-key { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-size: 12px; color: var(--copy); }
.donut-key li { display: grid; grid-template-columns: 10px 1fr auto 38px; align-items: center; gap: 8px; }
.donut-key .swatch { width: 9px; height: 9px; border-radius: 2px; opacity: var(--rest); }
.donut-key .num { font-family: var(--sans); color: var(--ink); }
.donut-key .share { font-family: var(--sans); color: var(--status); text-align: right; }

.tip.floating { gap: 0; min-width: 0; max-width: 240px; padding: 4px 7px; border: 1px solid var(--tip-line); border-radius: 0; background: var(--tip-glass); box-shadow: var(--tip-shadow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 11px; line-height: 14px; }
.tip.floating .head { font-size: 11px; font-weight: 500; }
.tip.floating .head::before { width: 6px; height: 6px; margin-right: 5px; vertical-align: 1px; }
.tip.floating .row { gap: 10px; font-size: 11px; }
.tip.floating.line { flex-direction: row; gap: 6px; overflow: hidden; }
.tip.floating.line .head { flex: 0 3 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tip.floating.line .value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--copy); }

.combo { position: relative; min-width: 0; }
.combo-trigger { position: relative; display: block; max-width: 200px; height: 26px; padding: 0 28px 0 10px; overflow: hidden; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised); font: var(--t-body); color: var(--muted); text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.combo-trigger::after { content: ""; position: absolute; top: 50%; right: 8px; width: 12px; height: 12px; margin-top: -6px; background: var(--chevron) no-repeat center / 12px; }
.combo-trigger:hover,
.combo-trigger[aria-expanded="true"] { border-color: var(--line-strong); color: var(--ink); }
.combo-trigger[aria-expanded="true"]::after { transform: rotate(180deg); }
.combo-trigger:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); color: var(--ink); }
.combo-trigger:disabled { color: var(--faint); cursor: default; }
.context #route-picker { max-width: 260px; }
.combo-pop { position: absolute; top: calc(100% + 4px); left: 0; z-index: 3; display: flex; flex-direction: column; width: max-content; min-width: max(100%, 280px); max-width: min(360px, calc(100vw - 32px)); overflow: hidden; border: 1px solid var(--line); border-radius: var(--popover-radius); background: var(--raised-2); box-shadow: var(--lift); }
:is(#job, .combo) .combo-filter { flex: none; width: auto; height: 34px; margin: 0; padding: 0 12px; border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; background: transparent; box-shadow: none; font: var(--t-body); color: var(--ink); outline: none; }
.combo-filter::placeholder { color: var(--faint); }
.combo-list { position: relative; max-height: 300px; padding: 4px; overflow-y: auto; scrollbar-width: thin; }
.combo-group + .combo-group,
.combo-option + .combo-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--hairline); }
.combo-head { position: sticky; top: -4px; z-index: 1; padding: 4px 8px 2px; background: var(--raised-2); font: var(--t-meta); color: var(--status); }
.combo-option { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 4px; font: var(--t-body); color: var(--muted); cursor: pointer; }
.combo-option.active { background: var(--wash-2); color: var(--ink); }
.combo-option[aria-selected="true"] { color: var(--ink); }
.combo-option[aria-disabled="true"] { color: var(--faint); cursor: default; }
.combo-option .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo-option .meta { flex: none; font: var(--t-num); color: var(--status); }
.combo-option.described { flex-wrap: wrap; height: auto; min-height: 28px; padding: 5px 8px; row-gap: 1px; }
.combo-option .detail { flex-basis: 100%; padding-left: 20px; font: var(--t-small); color: var(--status); white-space: normal; }
.combo-option .tick { position: relative; flex: none; width: 12px; height: 12px; }
.combo-option[aria-selected="true"] .tick::after { content: ""; position: absolute; top: 1px; left: 4px; width: 3px; height: 7px; border: solid var(--blue); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.combo-list[aria-multiselectable] .tick { border: 1px solid var(--line-strong); border-radius: 3px; }
.combo-list[aria-multiselectable] [aria-selected="true"] .tick { border-color: var(--blue); background: var(--blue); }
.combo-list[aria-multiselectable] [aria-selected="true"] .tick::after { top: 0; left: 3px; border-color: var(--on-blue); }
.combo-empty { padding: 6px 8px; font: var(--t-small); color: var(--status); }
@media (max-width: 760px), (max-height: 500px) {
  .context { flex-wrap: wrap; }
  .context .combo,
  .context select { position: static; flex: 1 1 40%; }
  .context .combo-trigger { max-width: none; width: 100%; }
  .context .combo-pop { right: 16px; left: 16px; top: calc(100% - 4px); width: auto; min-width: 0; max-width: none; }
  .run-head { position: relative; }
  .run-head .combo { position: static; }
  .run-head .combo-pop { top: auto; right: 0; left: 0; margin-top: 4px; width: auto; min-width: 0; max-width: none; }
}

.art { height: 176px; margin: 36px 0 0; }
.art canvas { display: block; width: 100%; height: 100%; }
main p.proof { margin: 18px 0 0; font: var(--t-meta); color: var(--status); }
main p.proof + p.proof { margin-top: 4px; }
main p.pitch { margin: 0; font: var(--t-meta); color: var(--status); }
:is(.proof, .pitch) .num { font: inherit; color: var(--copy); }
.landing:has(#view:not([hidden])) :is(.art, .proof) { display: none; }
.actions .button[aria-selected="true"] { background: var(--primary); border-color: var(--primary-line); color: var(--on-blue); }
.actions .button[aria-selected="true"]:hover { background: var(--primary-hover); }
.view { margin-top: var(--section-gap); }
.view:focus-visible { outline-offset: 4px; }
.view[aria-busy="true"], #modules[aria-busy="true"] { opacity: 0.5; }
@media (max-width: 760px), (max-height: 500px) {
  .art { height: 128px; margin-top: 28px; }
}

.stage-head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
main p.sample-note { margin: 0; font: var(--t-meta); color: var(--status); }
.walk { --stage-h: 416px; position: relative; }
.stops { position: relative; display: flex; gap: 22px; margin: 10px 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--hairline); }
.stops button { height: 26px; padding: 0; border: 0; background: none; font: var(--t-small); color: var(--status); cursor: pointer; }
.stops button:hover { color: var(--copy); }
.stops button[aria-current] { color: var(--ink); }
.stops button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 3px; }
.stops .rail { position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--ink); }
.frame { position: relative; height: var(--stage-h); margin-top: 8px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--page); }
.frame > .bar { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 6px 0 14px; border-bottom: 1px solid var(--hairline); background: var(--raised); font: var(--t-small); color: var(--status); }
.bar .path { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .counter { flex: none; font: var(--t-meta); }
main .bar p.what { flex: 0 1 auto; min-width: 0; margin: 0; font: var(--t-small); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; border: 1px solid var(--hairline); border-radius: 6px; background: none; color: var(--copy); cursor: pointer; }
.chev + .chev { margin-left: -4px; }
.chev:hover { background: var(--wash-2); color: var(--ink); }
.chev:disabled, .chev:disabled:hover { background: none; color: var(--faint); cursor: not-allowed; }
.chev:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.chev svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.screens { position: absolute; inset: 33px 0 0; }
.screen { position: absolute; inset: 0; padding: 14px 20px 16px; overflow: hidden; opacity: 0; }
.screen.active { opacity: 1; }
.screen > :first-child { margin-top: 0; }
.screen .block + .block { margin-top: 18px; }
.screen .run-head { display: block; }
.screen #job { margin-top: 12px; }
.screen .prices { margin-bottom: 4px; }
main .screen p.source { margin-top: 6px; font: var(--t-meta); color: var(--faint); }
.screen .bench .lede { margin-bottom: 6px; }
.screen .bench-ranking .top td { color: var(--ink); }
.screen #bench-best { margin-top: 12px; }
.screen .rows.facts .pair { padding: 3px 0; }
.screen:not(.done) #facts .reveal:not(.in) { display: none; }
.screen .log { max-height: none; }
.screen .rows .meta { display: block; margin: 1px 0 0; font: var(--t-meta); }
.screen .measures { margin-top: 10px; }
.measures { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
.measure { display: grid; gap: 2px; justify-items: start; padding: 10px 12px; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised); }
.measure-label { font: var(--t-meta); color: var(--status); }
.measure-num { font: var(--t-figure); color: var(--ink); }
.measure-num .num { font: inherit; }
.measure-num .badge { margin-left: 6px; vertical-align: 3px; }
.screen #replay-row { margin: 14px 0 0; }
.screen .hover.primary { background: var(--primary-hover); }
.screen .hover.secondary { background: var(--secondary-hover); }
.screen .hover.combo-trigger { border-color: var(--line-strong); color: var(--ink); }
.screen .fill { animation: none; }
.screen .reveal { opacity: 0; transform: translateY(3px); }
.screen .reveal.in, .screen.done .reveal { opacity: 1; transform: none; }
.screen tr.reveal { transform: none; }
.screen tr.reveal td, .screen tr.reveal th { border-bottom-color: transparent; }
.screen tr.reveal.in td, .screen.done tr.reveal td, .screen tr.reveal.in th, .screen.done tr.reveal th { border-bottom-color: var(--hairline); }
.cursor { position: absolute; top: 0; left: 0; z-index: 5; width: 16px; height: 16px; opacity: 0; pointer-events: none; }
.cursor svg { width: 16px; height: 16px; fill: var(--ink); stroke: var(--page); stroke-width: 1; stroke-linejoin: round; }
.cursor.on { opacity: 1; }
.cursor.press svg { transform: scale(0.82); transform-origin: 3px 2px; }
.screen .badge.done { color: var(--live); border-color: var(--fall-line); }
@media (max-width: 900px) {
  .donut-wrap { flex-direction: column; align-items: flex-start; }
  .donut-key { grid-auto-flow: row; grid-template-rows: none; grid-template-columns: 1fr; }
}
@media (max-width: 760px), (max-height: 500px) {
  .sample-switch { gap: 4px; }
  .sample-switch a { height: 20px; }
  .walk { --stage-h: max(260px, calc(100dvh - 3 * var(--inset) - 161px)); }
  .stops { gap: 14px; overflow-x: auto; scrollbar-width: none; border-bottom: 0; box-shadow: inset 0 -1px var(--hairline); }
  .stops button { height: 40px; font: var(--t-meta); }
  .stops .rail { bottom: 0; }
  .frame { display: grid; grid-template-rows: auto 1fr; }
  .frame > .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; height: auto; padding: 6px 6px 6px 14px; row-gap: 4px; }
  .bar .counter { grid-column: 2 / 4; justify-self: end; }
  main .bar p.what { grid-column: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal; }
  .screens { position: relative; top: 0; }
  .screen { padding: 12px 14px 14px; overflow-y: auto; scrollbar-width: none; }
  .frame .combo-pop { max-height: calc(var(--stage-h) - 120px); }
  .measures { gap: 10px; }
  .chev { width: 26px; height: 26px; }
}

.rows.account .pair { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 16px; padding: 7px 0; }
.rows.account .pair .label { flex: 0 0 100px; max-width: none; font-size: 12px; color: var(--copy); }
.rows.account .pair .value { flex: 1 1 auto; text-align: left; color: var(--ink); }
.rows.account .meta { margin-left: 8px; font-size: 12px; }
@media (max-width: 760px), (max-height: 500px) { .rows.account .meta { display: block; margin: 0; } }
.rows.account a.connected { display: inline-flex; flex-wrap: wrap; gap: 2px 16px; padding: 0; color: var(--copy); }
.rows.account a.connected:hover { color: var(--ink); }
.rows.account a.connected::before { content: none; }
.rows.account a.connected .dot { display: inline-block; margin-right: 7px; vertical-align: 1px; }
.rows.account a.connected:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.rows.account + .actions { margin-top: 16px; }

.run h1 { margin-bottom: 8px; }
.run .facts { margin-top: 6px; }
.run .facts .pair { padding: 4px 0; }
.run .facts .pair .label { flex-basis: 136px; color: var(--status); }
.run .block { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.run .list-head { align-items: baseline; margin-bottom: 10px; }
.run .log { margin: 0; border-color: var(--line); background: var(--raised); color: var(--copy); }
.run .block .rows { border-top: 1px solid var(--line); }
.run .block .rows .pair { align-items: center; }
.run .block .rows li { border-color: var(--line); }
.run .block .rows .label { color: var(--ink); }
.run .block .rows .meta { display: block; margin: 1px 0 0; font: var(--t-meta); }
.run .block .rows .badge { margin: 0; }
.run .badge.done { color: var(--live); border-color: var(--fall-line); }

.docs-body { --sidebar: 216px; }
.docs-sidebar { padding-bottom: 0; }
.docs-sidebar .home { gap: 8px; text-decoration: none; }
.docs-mark { font: var(--t-small); color: var(--copy); }
.docs-sidebar .home:hover .docs-mark { color: var(--ink); }
.docs-nav { min-height: 0; overflow-y: auto; scrollbar-width: none; margin: 0 -10px; padding: 0 10px 24px; }
.docs-nav::-webkit-scrollbar { display: none; }
.docs-search { position: relative; display: block; margin-bottom: 6px; }
.docs-search input { width: 100%; height: 28px; padding: 0 40px 0 8px; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised); font: var(--t-small); color: var(--ink); outline: none; }
.docs-search input::placeholder { color: var(--faint); }
.docs-search input:hover { background: var(--raised-2); }
.docs-search input:focus-visible { border-color: var(--blue-line); box-shadow: 0 0 0 3px var(--glow); }
.docs-search input::-webkit-search-cancel-button { display: none; }
.docs-search kbd { position: absolute; top: 5px; right: 5px; height: 18px; padding: 0 5px; border-radius: 4px; background: var(--wash-2); font: 400 11px/18px var(--mono); color: var(--faint); }
.docs-group { margin: 18px 0 4px; font: var(--t-meta); color: var(--faint); }
.docs-nav li a { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.docs-nav li a span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.docs-ref summary { display: flex; align-items: center; justify-content: space-between; margin: 0 -8px; padding: 0 8px; border-radius: 6px; font-size: 13px; line-height: 22px; color: var(--link); cursor: pointer; list-style: none; }
.docs-ref summary::-webkit-details-marker { display: none; }
.docs-ref summary::after { content: ""; width: 12px; height: 12px; background: var(--chevron) center / 12px no-repeat; transform: rotate(-90deg); opacity: 0.7; }
.docs-ref[open] summary::after { transform: none; }
.docs-ref summary:hover { background: var(--raised-2); color: var(--ink); box-shadow: 0 0 0 1px var(--hairline); }
.docs-ref[open] summary { color: var(--ink); }
.docs-ref ul { margin: 2px 0 6px 8px; padding-left: 8px; border-left: 1px solid var(--hairline); }
.docs-ref:first-of-type { margin-top: 2px; }

.method { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 44px; padding: 0 6px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--wash); font: 500 11px/17px var(--mono); color: var(--copy); }
.method.get { color: var(--blue-soft); background: var(--blue-tint); border-color: var(--blue-line); }
.method.post { color: var(--fall); background: var(--fall-bg); border-color: var(--fall-line); }
.method.patch { color: var(--series-4); }
.method.delete { color: var(--error); }
.method.nav-method { min-width: 40px; padding: 0; border: 0; background: none; line-height: 22px; justify-content: flex-start; }

main.docs { max-width: 990px; }
main.docs.endpoint-page { max-width: 1110px; }
.docs-page { display: grid; grid-template-columns: minmax(0, var(--content)) 200px; gap: 32px; align-items: start; }
.endpoint-page .docs-page { display: block; }
.docs-article { min-width: 0; }
.docs-article .eyebrow, .docs-rail .eyebrow, .pager .eyebrow { display: block; margin: 0 0 6px; font: var(--t-meta); color: var(--status); }
.docs-article h1 { margin: 0 0 6px; }
main .docs-article p { line-height: 20px; }
main .docs-article p.lede { max-width: 640px; margin: 0 0 24px; font-size: 14px; line-height: 20px; color: var(--copy); }
main .docs-article p.lede:empty { display: none; }
.docs-article h2 { position: relative; margin: var(--section-gap) 0 8px; padding-top: 20px; border-top: 1px solid var(--hairline); font: var(--t-h2); color: var(--heading); scroll-margin-top: 12px; }
.docs-article h3 { position: relative; margin: 18px 0 6px; font: 500 13px/18px var(--sans); color: var(--ink); scroll-margin-top: 12px; }
.docs-article .anchor { margin-left: 6px; color: var(--faint); text-decoration: none; opacity: 0; }
.docs-article :is(h2, h3):hover .anchor, .docs-article .anchor:focus-visible { opacity: 1; }
.docs-article :is(p, td, :not(.rows) > li) a:not(.button) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.docs-article :is(p, td, :not(.rows) > li) a:not(.button):hover { text-decoration-color: var(--ink); }
.docs-article :is(p, td, h2, h3, :not(.rows) > li) code:not(pre code) { padding: 1px 4px; border-radius: 4px; background: var(--wash-2); font: 400 12px/16px var(--mono); color: var(--ink); }
.docs-article :is(ul, ol):not(.rows, .step-list) { margin: 0 0 12px; padding-left: 18px; color: var(--copy); line-height: 20px; }
.docs-article table { width: 100%; margin: 8px 0 16px; border-collapse: collapse; font-size: 12px; }
.docs-article th { padding: 6px 12px 6px 0; border-bottom: 1px solid var(--line); font-weight: 400; color: var(--status); text-align: left; }
.docs-article td { padding: 7px 12px 7px 0; border-bottom: 1px solid var(--hairline); color: var(--copy); vertical-align: top; }
.docs-article > pre, .docs-article :not(.endpoint-code) > .code-panel { margin: 10px 0 16px; }
.docs-article > pre { padding: 10px 12px; overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised); font: 400 12px/18px var(--mono); color: var(--copy); }
.docs-article .note strong { font-weight: 500; color: var(--ink); }
.step-list { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: step; }
.step-list > li { position: relative; padding: 0 0 8px 34px; counter-increment: step; }
.step-list > li::before { content: counter(step); position: absolute; left: 0; top: 18px; width: 20px; height: 20px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--page); font: 500 11px/18px var(--sans); text-align: center; color: var(--ink); }
.step-list > li::after { content: ""; position: absolute; left: 10px; top: 42px; bottom: 0; width: 1px; background: var(--line); }
.step-list > li:last-child::after { content: none; }
.step-list > li > h2 { margin-top: 16px; padding-top: 16px; }

.docs-rail { position: sticky; top: 0; padding-top: 4px; }
.docs-rail ul { margin: 0; padding: 0; list-style: none; }
.docs-rail li a { display: block; padding: 3px 0 3px 10px; border-left: 1px solid var(--hairline); font: var(--t-small); color: var(--link); text-decoration: none; }
.docs-rail li.sub a { padding-left: 20px; }
.docs-rail li a:hover { color: var(--ink); }
.docs-rail li a[aria-current] { border-left-color: var(--ink); color: var(--ink); }

.pager { display: flex; gap: 8px; margin-top: 40px; }
.pager-card { display: flex; flex: 1 1 0; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 10px 14px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--raised); text-decoration: none; color: var(--muted); }
.pager-card.next { margin-left: auto; text-align: right; }
.pager-card.previous { flex-direction: row-reverse; }
.pager-card.previous .arrow { transform: rotate(-90deg); }
.pager-card:only-child.next { max-width: calc(50% - 4px); }
.pager-card:only-child.previous { max-width: calc(50% - 4px); }
.pager .eyebrow { margin: 0 0 2px; }
.pager-title { display: block; overflow: hidden; font-size: 13px; color: var(--heading); text-overflow: ellipsis; white-space: nowrap; }
.pager-card:hover, .pager-card:focus-visible { background: var(--raised-2); color: var(--heading); box-shadow: 0 0 0 3px var(--glow); }

.url-bar { display: flex; align-items: center; gap: 10px; height: 36px; margin: 0 0 8px; padding: 0 10px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--raised); }
.url-bar:hover { background: var(--raised-2); box-shadow: 0 0 0 3px var(--glow); }
.url-path { flex: 1; min-width: 0; overflow: hidden; font: 400 12px/16px var(--mono); color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.url-path .param, .endpoint-path .param { color: var(--blue-soft); }
.docs-article .ref-section h2 { display: flex; align-items: baseline; gap: 8px; }
.section-meta { font: var(--t-meta); color: var(--faint); }
.field { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
.field:last-child { border-bottom: 0; }
.field-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.field-name { font: 500 12px/18px var(--mono); color: var(--heading); }
.field-type, .field-required, .field-default { padding: 0 6px; border-radius: 4px; background: var(--wash-2); font: 400 11px/18px var(--mono); color: var(--status); }
.field-required { color: var(--error); }
.field-default { color: var(--faint); }
main .docs-article p.field-description { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--copy); }
main .docs-article p.field-fact { margin: 4px 0 0; font: var(--t-small); color: var(--status); overflow-wrap: anywhere; }
.field-children { margin-top: 8px; }
.field-children > summary { display: inline-flex; align-items: center; gap: 4px; font: var(--t-small); color: var(--link); cursor: pointer; list-style: none; }
.field-children > summary::-webkit-details-marker { display: none; }
.field-children > summary::before { content: ""; width: 12px; height: 12px; background: var(--chevron) center / 12px no-repeat; transform: rotate(-90deg); }
.field-children[open] > summary::before { transform: none; }
.field-children > summary:hover { color: var(--ink); }
.field-children > .field { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line); border-bottom-color: var(--hairline); }
.field-children > .field:first-of-type { margin-top: 6px; }
.error-codes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.error-code { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--hairline); border-radius: 6px; background: var(--raised); font: 400 11px/16px var(--mono); color: var(--copy); }

.endpoint { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--section-gap); align-items: start; }
.endpoint-code { position: sticky; top: 0; display: flex; flex-direction: column; gap: 12px; max-height: calc(100vh - 2 * var(--top) - 80px); min-width: 0; }
.endpoint-code .code-panel { display: flex; flex: 0 1 auto; flex-direction: column; min-height: 0; }
.endpoint-code .code-panel:first-child { flex: none; max-height: 45%; }
.endpoint-code .code-panel pre { min-height: 0; overflow: auto; }
.code-panel { overflow: hidden; border: 1px solid var(--hairline); border-radius: var(--control-radius); background: var(--raised); }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 32px; padding: 0 6px 0 4px; border-bottom: 1px solid var(--hairline); background: var(--raised-2); }
.code-tabs { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.code-tabs button { height: 31px; padding: 0 8px; border: 0; border-bottom: 1px solid transparent; background: none; font: var(--t-small); color: var(--status); cursor: pointer; }
.code-tabs button:hover { color: var(--ink); }
.code-tabs button[aria-selected="true"] { border-bottom-color: var(--ink); color: var(--heading); }
.code-head .button { flex: none; height: 22px; padding: 0 9px; font-size: 12px; }
.code-panel pre { margin: 0; padding: 10px 12px; overflow-x: auto; font: 400 12px/18px var(--mono); color: var(--ink); white-space: pre; }
.tok-str { color: var(--series-2); }
.tok-num { color: var(--series-4); }
.tok-key { color: var(--blue-soft); }

.rows.endpoints { margin-top: 8px; }
.rows.endpoints a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; }
.rows.endpoints .endpoint-title { overflow: hidden; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.rows.endpoints .endpoint-path { font: 400 11px/16px var(--mono); color: var(--status); }
.rows.endpoints .badge { margin: 0; }

@media (max-width: 1100px) {
  .docs-page { display: block; }
  .docs-rail { display: none; }
  .endpoint { grid-template-columns: minmax(0, 1fr); }
  .endpoint-code { position: static; max-height: none; }
}

@media (max-width: 760px), (max-height: 500px) {
  .docs-nav.open { margin: 0; padding-top: 4px; }
  .docs-ref summary { line-height: 40px; }
  .rows.endpoints a { grid-template-columns: 52px minmax(0, 1fr); }
  .rows.endpoints .endpoint-path { grid-column: 2; }
  .rows.endpoints .badge { display: none; }
  .pager { flex-direction: column; }
  .pager-card:only-child.next, .pager-card:only-child.previous { max-width: none; }
}
