/* Instrument finish: a matte console and an orthographic, animated circuit board. */
:root {
  color-scheme: dark;
  --bg: #141818;
  --ink: #eff3ed;
  --muted: #b4beb9;
  --line: #363e3b;
  --green: #97f4d2;
  --panel: #171e1d;
  --surface: #202624;
  --well: #141918;
  --mint: #97f4d2;
  --copper: #ffb27e;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --display: "Unbounded", "Golos Text", sans-serif;
  font-family: "Golos Text", "Segoe UI", sans-serif;
  letter-spacing: 0;
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--ink);
}
.shell {
  min-height: calc(100dvh - 68px);
}
button,
.btn,
input,
select {
  font-family: inherit;
  color: var(--ink);
}
button,
.btn {
  background: #242a28;
  border: 1px solid #4a5450;
  border-radius: 4px;
}
button:hover:not(:disabled),
.btn:hover {
  background: #323b36;
  border-color: #85958b;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.primary,
.btn.primary {
  background: var(--mint);
  border: 1px solid #a5f8dc;
  color: #10231c;
  font-weight: 650;
}
.primary:hover:not(:disabled),
.btn.primary:hover {
  background: #bdffe5;
  border-color: #d7ffed;
}
.icon,
.op-next {
  filter: invert(0.91);
}
.primary .icon,
.btn.primary .icon,
.family-icon .model-logo,
.brandfilters .model-logo,
.google-btn img,
.identity-source img:not(.icon) {
  filter: none;
}
.pause-motion {
  --i: url(/icons/pause.svg);
}
.play-motion {
  --i: url(/icons/play.svg);
}
.mast {
  background: #101413;
  border-bottom: 1px solid #38403c;
  padding-inline: 28px;
}
.mast-inner {
  min-height: 67px;
  gap: clamp(24px, 4%, 60px);
}
.mast .brand {
  font-family: var(--display);
  font-weight: 630;
  font-size: 21px;
  gap: 11px;
}
.mast .brand img {
  width: 33px;
  height: 33px;
}
.mast nav a {
  font-size: 13px;
  gap: 8px;
  color: #bfc8c1;
  padding-inline: 15px;
}
.mast nav a.active {
  background: #202725;
  color: #e4fff2;
  border-bottom-color: var(--mint);
}
.mast nav a:hover {
  background: #252c29;
}
.mast-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 17px;
}
.mast .sync {
  font-size: 10px;
  color: #bbc8bf;
}
.mast .sync.ok:before {
  background: var(--mint);
}
.mast .sync.err:before {
  background: var(--copper);
}
.motion-control {
  width: 31px;
  height: 31px;
  padding: 0;
  min-height: 0;
  background: none;
  display: grid;
  place-items: center;
}
.motion-control .ic {
  width: 14px;
  height: 14px;
  color: #e6f5ec;
}
.motion-control:disabled {
  opacity: 0.65;
}
.skip {
  background: var(--mint);
  color: #10231c;
}
main,
footer {
  max-width: 1376px;
  width: 100%;
  padding-inline: 38px;
}
main {
  padding-top: 36px;
}
.page-head {
  gap: 8px 22px;
  margin-bottom: 25px;
}
.eyebrow,
.minor,
.prices {
  color: #a7b9ad;
  font-family: var(--mono);
}
.eyebrow {
  font-size: 10px;
  font-weight: 400;
}
.eyebrow:before {
  background: var(--copper);
  width: 11px;
  height: 3px;
  border-radius: 0;
}
.page-head h1 {
  font-family: var(--display);
  font-weight: 530;
  font-size: 44px;
  line-height: 1.18;
  margin: 10px 0 8px;
}
.page-head .sub {
  font-size: 15px;
  color: #b4bfba;
  line-height: 1.6;
}
.page-head .trace-rule {
  height: 10px;
  color: #778a7d;
}
.trace-rule i {
  background: var(--line);
}
.trace-rule svg {
  width: 65px;
}
.section-head h2,
.journal h2,
.keys-panel h2,
.docs-grid h2,
.usage-sheet h2,
.gate h2,
dialog h2,
.banner h2,
.rail .banner h2 {
  font-family: var(--display);
  font-weight: 500;
}
.section-head h2,
.journal h2,
.keys-panel h2,
.docs-grid h2 {
  font-size: 20px;
}
.usage-sheet h2,
.banner h2,
.rail .banner h2 {
  font-size: 17px;
}
.sub,
.muted,
.fine,
.field,
.pair label,
.history small,
.gate-inner > p,
.journal-empty p,
.usage-metrics span,
.account-meta,
.period,
.op-type small,
.prices,
.family small,
.table-foot,
.key-list small,
.key-list code,
.key-empty,
.entry-data dt,
.keys-panel .count {
  color: var(--muted);
}
.section-head .prices {
  font: 11px var(--mono);
  color: #b5c6ba;
}
.count,
.keys-panel .count {
  background: #2d3632;
  color: #c0dfd0;
  border: 1px solid #48544e;
  font: 11px var(--mono);
}
.tablebox,
.tablebox table,
.tablebox td,
.grouptable td {
  background: #1b201e;
  color: var(--ink);
}
.tablebox th,
.grouptable th,
.ledger-head {
  background: #252d29;
  color: #bfcac2;
  border-bottom-color: #445047;
}
.tablebox td,
.grouptable td,
.ledger-row,
.history > div,
.docs-methods li,
.key-list li {
  border-color: var(--line);
}
.tablebox .modelrow:hover td,
.tablebox .modelrow:focus-within td {
  background: #27332d;
}
.model-link {
  color: #edf2ed;
}
.model-link,
.model-link:hover:not(:disabled),
.chev,
.chev:hover:not(:disabled) {
  background: transparent;
  border: 0;
}
.family small {
  font-size: 11px;
}
.family-icon {
  background: #edf0e9;
  border-color: #a5aba4;
}
.family-icon.cl {
  background: #f4e5dc;
  border-color: #c5a795;
}
.brandfilters button {
  background: #202523;
  border-color: #424d46;
  color: #d4dcd6;
}
.brandfilters button.on {
  background: #254037;
  color: #d7ffea;
  border-color: #648f7c;
}
.brandfilters b {
  color: inherit;
}
.brandfilters img[src="/openai.svg"] {
  filter: invert(0.91);
}
.brandfilters button:hover:not(:disabled) {
  background: #303c35;
  border-color: #779883;
}
.tabs {
  background: #141917;
  border: 1px solid #3b4640;
}
.tabs button {
  background: transparent;
  color: #bbc8c0;
  border: 0;
}
.tabs button.on {
  background: #35443b;
  box-shadow: none;
  color: #e8fff1;
}
.tabs button:hover:not(:disabled) {
  background: #2b352f;
}
.sort > span,
.rail-doc p,
.usage-axis small,
.docs-methods li span,
.balance-sheet .account-kicker,
.gate-inner .account-kicker {
  color: #b3c8ba;
}
input,
select,
.secret-field {
  background: #131917;
  border-color: #46514a;
  color: var(--ink);
}
input::placeholder {
  color: #91a197;
}
.secret-field input {
  background: transparent;
  color: var(--ink);
}
.secret-field:focus-within {
  outline-color: var(--mint);
}
.secret-field .iconbtn:hover {
  background: #2d3931;
}
.search .icon {
  opacity: 0.8;
}
.search input {
  background: #181d1b;
}
.rail,
.docs-methods,
.panel,
.journal-empty,
.account-meta,
.account-overview,
.keys-panel,
.key-list,
.rail-doc a,
.usage-axis,
.usage-metrics > div + div,
.entry-data,
footer,
.google-alternative {
  border-color: var(--line);
}
.rail-doc a:hover,
.quicklink:hover,
.account-meta > a:hover,
footer a:hover {
  color: var(--mint);
}
.spec-id code,
.keyform .field,
.email-form > .field,
.account-meta code,
.account-meta a,
.op-type strong,
.doc-methods code,
.identity-line h2 {
  color: var(--ink);
}
.docs-methods li span {
  color: var(--mint);
}
.key-out,
.journal-empty,
.snippet-bar {
  background: #202a25;
  border-color: #3c5044;
}
.key-out {
  color: #c1f9d8;
}
.code-wrap {
  background: #111715;
  color: #e2ede3;
  border: 1px solid #3c493f;
}
.snippet-bar .iconbtn:hover:not(:disabled) {
  background: #3a453c;
}
.history > div,
.payment-note,
.entry-data dd {
  color: #d6dfd7;
}
.grouptable {
  background: var(--well);
}
.grouptable td:last-child,
.tablebox td.rate,
.op-sum {
  font-variant-numeric: tabular-nums;
}
.grouptable th:last-child,
.grouptable td:last-child {
  white-space: normal;
}
dialog {
  background: #1d2420;
  color: var(--ink);
  border: 1px solid #65746a;
  box-shadow: 0 18px 70px #0008;
}
dialog::backdrop {
  background: #080d0abf;
}
.error,
.off {
  color: #ffad8f;
}
.error:empty {
  display: none;
}
.google-btn {
  background: #f4f6f1;
  color: #222823;
}
.google-btn:hover {
  background: white;
  color: #19241b;
}
.identity-avatar,
.op-icon.topups {
  background: #32483b;
  color: var(--mint);
}
.identity-source {
  color: #d1dbd4;
}
.op-icon {
  background: #313b35;
}
.ledger-row {
  background: #1a211d;
  color: var(--ink);
}
.ledger-row:hover:not(:disabled) {
  background: #29372d;
}
.ledger-head {
  border-color: var(--line);
}
.ledger-list {
  border-color: var(--line);
}
.status-badge {
  background: #364039;
  color: #d6e1d8;
}
.s-open,
.s-pending,
.open-payment {
  background: #3c3023;
  color: #ffcf9f;
}
.open-payment small {
  color: #edcaa5;
}
.s-paid,
.s-settled {
  background: #284034;
  color: #b3eac9;
}
.credit {
  color: #a9ecc8;
}
.account-meta .iconbtn,
.quiet,
.legacy-link,
.auth-secondary {
  color: #d2ded5;
}
.legacy-link:hover:not(:disabled),
.auth-secondary:hover:not(:disabled) {
  color: var(--mint);
  background: transparent;
}
.usage-axis svg rect {
  fill: var(--mint);
}
.balance-sheet .funding-off:disabled {
  color: #dee7de;
  border-color: #607166;
}
.gate-inner h2 {
  font-size: 26px;
  line-height: 1.33;
}
.gate-inner {
  padding: 37px 40px;
  max-width: 550px;
  width: 100%;
  justify-self: center;
}
.gate {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: #1e2521;
  border-color: #465249;
  border-radius: 6px;
}
.gate-inner .email-tabs {
  margin-bottom: 18px;
}
.email-form {
  margin-top: 12px;
}
.email-form > input,
.email-form .secret-field {
  height: 44px;
}
.email-form > .field {
  font-size: 13px;
  margin-top: 13px;
  color: #dee9e0;
}
.email-form .fine {
  color: #a6b8aa;
}
.email-form .primary {
  min-height: 43px;
  padding-inline: 19px;
}
.gate-inner .actions {
  gap: 12px;
}
.gate-signal,
.banner,
.rail .banner,
main[data-page="connect"] > .banner,
.balance-sheet {
  background-color: #131c19;
  border-color: #43534a;
  color: #eff7ef;
}
.balance-sheet .balance {
  color: #d4ffe7;
}
.gate-signal {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px 26px 19px;
  min-width: 0;
  border-left: 1px solid #415047;
  overflow: hidden;
  background-image:
    linear-gradient(#718c7920 1px, transparent 1px),
    linear-gradient(90deg, #718c7920 1px, transparent 1px);
  background-size: 27px 27px;
  background-position: center;
}
.gate-signal .trace-art {
  width: 100%;
  max-width: 580px;
  align-self: center;
  justify-self: center;
  padding: 0;
  margin: 12px 0;
}
.plate-datum,
.plate-ruler {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-content: space-between;
  width: 100%;
  color: #a2b5a8;
  font: 10px/1.2 var(--mono);
}
.plate-datum b {
  width: 22px;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    #b59c7e 0 3px,
    transparent 3px 5px
  );
}
.plate-ruler i {
  height: 5px;
  width: 72px;
  opacity: 0.65;
  background: repeating-linear-gradient(
    90deg,
    #789384 0 1px,
    transparent 1px 6px
  );
}
.rail .banner,
.banner,
main[data-page="connect"] > .banner {
  border-radius: 5px;
}
.rail .trace-art,
.banner .trace-art {
  border: 0;
  padding: 0;
}
.rail .banner .trace-art {
  margin: 1px 0 0;
}
.banner .trace-art {
  width: 100%;
}
.banner .address {
  background: #1e2922;
  border-color: #4f6054;
}
.address code {
  color: #d6fce4;
}
.switches {
  border-color: #4c6151;
}
.switches button.on {
  background: var(--mint);
  color: #143222;
}
.switches button:not(.on) {
  color: #c1d4c5;
}
.trace-art {
  width: 100%;
  line-height: 0;
  isolation: isolate;
  container: trace / inline-size;
}
.trace-art > .pcb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480/272;
  overflow: visible;
}
.pcb path,
.pcb rect,
.pcb circle {
  stroke-linejoin: round;
}
.pcb .pcb-shadow {
  fill: #0b100e;
  stroke: #050805;
  stroke-width: 2;
}
.pcb .substrate {
  fill: #243832;
  stroke: #708b79;
  stroke-width: 1.5;
}
.pcb .rim {
  fill: none;
  stroke: #546b5d;
  stroke-width: 0.8;
}
.pcb .pcb-trace {
  fill: none;
  stroke: #587766;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.pcb .pcb-trace.is-mint {
  stroke: #73c3a4;
  stroke-width: 1.9;
}
.pcb .pcb-trace.is-copper {
  stroke: #ba8961;
  stroke-width: 1.8;
}
.pcb .pcb-packet {
  fill: none;
  stroke: #d0ffdf;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 7 93;
  animation: transmit 4.8s linear infinite;
}
.pcb .pcb-packet.is-copper {
  stroke: #ffd8ac;
}
.pcb .phase-1 {
  animation-delay: -1.3s;
}
.pcb .phase-2 {
  animation-delay: -2.45s;
}
.pcb .phase-3 {
  animation-delay: -3.55s;
}
.pcb .connector,
.pcb .pin,
.pcb .test-pad {
  fill: #cfaa7e;
  stroke: #edd1a4;
  stroke-width: 0.45;
}
.pcb .via {
  fill: #18261f;
  stroke: #94b39d;
  stroke-width: 1.2;
}
.pcb .boss {
  fill: #132019;
  stroke: #96a791;
  stroke-width: 1.4;
}
.pcb .bore {
  fill: #0e1510;
  stroke: #536657;
  stroke-width: 1;
}
.pcb .slot {
  stroke: #829578;
  stroke-width: 1;
}
.pcb .carrier {
  fill: #0e1813;
  stroke: #14291b;
  stroke-width: 2;
}
.pcb .socket {
  fill: #313c33;
  stroke: #7b8b77;
  stroke-width: 1;
}
.pcb .lid {
  fill: #cbd2bf;
  stroke: #f2f5e9;
  stroke-width: 1.5;
}
.pcb .chip-logo {
  fill: none;
  stroke: #1c3529;
  stroke-width: 3.2;
}
.pcb .polarity {
  fill: var(--copper);
}
.pcb .silk,
.pcb .part-no,
.pcb .die-text {
  font: 6px var(--mono);
  fill: #c1d2bc;
  stroke: none;
}
.pcb .part-no {
  font-size: 8px;
}
.pcb .die-text {
  font: 5.6px var(--mono);
  fill: #253b2c;
  text-anchor: middle;
}
.pcb .smd-body {
  fill: #1c201c;
  stroke: #677363;
  stroke-width: 0.5;
}
.pcb .smd-end {
  fill: #b9bbaa;
}
.balance-sheet .trace-art {
  justify-self: end;
  max-width: 275px;
}
.balance-sheet .balance {
  font-size: 34px;
}
.primary:active:not(:disabled) {
  transform: translateY(1px);
}
#notice:not(:empty) {
  background: #d8fce9;
  color: #11251b;
}
.tablebox td {
  padding-block: 10px;
}
.rail-doc h2 {
  color: var(--ink);
}
footer {
  color: #9eafa2;
}
footer a {
  color: #cfd9d0;
}
.key-list,
.panel h3 {
  color: var(--ink);
}
@keyframes transmit {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -100;
  }
}
html[data-motion="off"] .pcb-packet {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .pcb .pcb-packet {
    animation: none !important;
    stroke-dashoffset: 48;
  }
  .primary:active:not(:disabled) {
    transform: none;
  }
}
@container trace (max-width:245px) {
  .pcb .pcb-detail,
  .pcb .end-fine {
    display: none;
  }
  .pcb .pcb-trace {
    stroke-width: 2.2;
  }
  .pcb .pcb-packet {
    stroke-width: 4.3;
  }
  .pcb .rim {
    stroke-width: 1.3;
  }
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .gate {
    min-height: 450px;
  }
  .gate-signal .trace-art {
    max-width: 620px;
  }
}
@media (max-width: 1050px) {
  main,
  footer {
    padding-inline: 23px;
  }
  .mast {
    padding-inline: 23px;
  }
  .mast-inner {
    gap: 22px;
  }
  .mast nav a {
    padding-inline: 11px;
  }
  .gate-inner {
    padding: 28px 24px;
  }
  .gate-signal {
    padding: 17px;
  }
  .mast-tools {
    gap: 9px;
  }
  .page-head h1 {
    font-size: 36px;
  }
}
@media (max-width: 820px) {
  .mast-inner {
    gap: 14px;
  }
  .mast nav a {
    padding-inline: 8px;
  }
  .mast .brand {
    font-size: 18px;
  }
  .mast .sync {
    font-size: 9px;
  }
  .mast-tools {
    gap: 6px;
  }
  .gate {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.87fr);
  }
  .gate-inner {
    padding: 24px 18px;
  }
  .gate-inner h2 {
    font-size: 20px;
  }
  .gate-signal {
    padding: 14px;
  }
  .balance-sheet .balance {
    font-size: 27px;
  }
  .section-head h2,
  .journal h2,
  .keys-panel h2,
  .docs-grid h2 {
    font-size: 17px;
  }
}
@media (max-width: 610px) {
  .mast {
    padding-inline: 15px;
  }
  .mast-inner {
    min-height: 77px;
    gap: 0 10px;
  }
  .mast .brand {
    font-size: 18px;
  }
  .mast .brand img {
    width: 27px;
    height: 27px;
  }
  .mast-tools {
    grid-row: 1;
    grid-column: 2;
    align-self: center;
    gap: 8px;
    margin-top: 6px;
  }
  .mast .sync {
    margin: 0;
    font-size: 9px;
  }
  .motion-control {
    width: 27px;
    height: 27px;
  }
  .mast nav {
    gap: 15px;
    min-height: 37px;
  }
  .mast nav a {
    font-size: 12px;
    padding: 4px 1px 3px;
    gap: 4px;
  }
  .mast nav a.active {
    background: transparent;
  }
  .shell {
    min-height: calc(100dvh - 77px);
  }
  main,
  footer {
    padding-inline: 15px;
  }
  main {
    padding-top: 22px;
  }
  .page-head {
    gap: 6px 10px;
    margin-bottom: 18px;
  }
  .page-head h1 {
    font-size: 27px;
    margin: 7px 0 6px;
  }
  .page-head .sub {
    font-size: 13px;
  }
  .page-head .trace-rule {
    height: 8px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .gate {
    grid-template-columns: 1fr;
  }
  .gate-inner {
    max-width: none;
    padding: 18px 16px 21px;
  }
  .gate-inner h2 {
    font-size: 21px;
  }
  .gate-inner .email-tabs {
    margin-bottom: 12px;
  }
  .email-form {
    margin-top: 8px;
  }
  .email-form > .field {
    margin-top: 10px;
  }
  .gate-signal {
    border-left: 0;
    border-top: 1px solid #415047;
    padding: 8px 13px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    min-height: 109px;
  }
  .plate-datum,
  .plate-ruler {
    position: absolute;
    width: auto;
    pointer-events: none;
  }
  .plate-datum {
    top: 9px;
    left: 11px;
  }
  .plate-datum b,
  .plate-ruler i {
    display: none;
  }
  .plate-ruler {
    bottom: 9px;
    right: 10px;
  }
  .plate-datum,
  .plate-ruler {
    font-size: 8px;
  }
  .gate-signal .trace-art {
    width: clamp(165px, 60%, 240px);
    margin: 0;
  }
  .rail .banner .trace-art,
  .banner .trace-art {
    width: min(100%, 242px);
    justify-self: center;
  }
  .balance-sheet .trace-art {
    width: 100%;
  }
  .tablebox .model-link {
    font-size: 13px;
  }
  .family small {
    font-size: 10px;
  }
  .prices,
  .section-head .prices {
    font-size: 10px;
  }
  .usage-sheet h2 {
    font-size: 16px;
  }
  .section-head h2,
  .journal h2,
  .keys-panel h2,
  .docs-grid h2 {
    font-size: 16px;
  }
  .balance-sheet .balance {
    font-size: 25px;
  }
  .docs-methods code,
  .code-wrap pre {
    font-size: 12px;
  }
  .key-list small {
    font-size: 10px;
  }
  .gate .email-form .actions {
    gap: 6px 10px;
  }
  footer {
    font-size: 10px;
  }
}
@media (max-width: 370px) {
  .page-head h1 {
    font-size: 24px;
  }
  .mast .brand {
    font-size: 16px;
  }
  .mast .sync {
    font-size: 8px;
  }
  .mast nav {
    gap: 12px;
  }
  .mast-tools {
    gap: 5px;
  }
  .gate-inner {
    padding-inline: 12px;
  }
  .usage-metrics strong {
    font-size: 21px;
  }
  .gate-inner h2 {
    font-size: 19px;
  }
  .tablebox .model-link {
    font-size: 12px;
  }
  .family small {
    font-size: 9px;
  }
  .spec-id code {
    font-size: 10px;
  }
  .brandfilters button {
    font-size: 11px;
  }
  .brandfilters {
    gap: 4px;
  }
  .balance-sheet .balance {
    font-size: 21px;
  }
  .google-btn {
    font-size: 12px;
  }
}
.pcb .ground-track {
  stroke: #668373;
  stroke-width: 0.8;
  fill: none;
}
.pcb .stitch {
  fill: #93a392;
}
.pcb .silk-bars {
  fill: #bfccb9;
}
.pcb .lid {
  fill: #d1d7ce;
  stroke: #f2f5ef;
}
.pcb .chip-logo {
  stroke: #20372c;
}
.gate-signal {
  background-size: 24px 24px;
}
.iconbtn:hover:not(:disabled) {
  border-color: #94ac9e;
}
body:has(dialog[open]) .pcb-packet {
  animation-play-state: paused;
}
/* Keep the arrow and the divider on the same SVG baseline at every width. */
.page-head .trace-rule {
  display: block;
  height: 11px;
  padding-inline-end: 1px;
}
.page-head .trace-rule svg {
  display: block;
  width: 100%;
  height: 11px;
  overflow: visible;
  color: #64786e;
}
.trace-rule marker path {
  stroke: #a0b8ac;
  stroke-width: 1.1;
}
.pv-picker {
  position: relative;
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  font-size: 13px;
}
.pv-picker-trigger {
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #46524b;
  background: #19201c;
  border-radius: 4px;
  padding: 7px 10px;
  color: #e4ede6;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}
.pv-picker-trigger .pv-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font: inherit;
  color: inherit;
}
.pv-picker-trigger .pick-chevron,
.pv-options .pick-check {
  width: 15px;
  height: 15px;
  flex: none;
  background: currentColor;
  mask: center / contain no-repeat url("/icons/chevron-down.svg");
  color: #a7b9ae;
}
.pv-picker.open {
  z-index: 6;
}
.pv-picker.open .pv-picker-trigger {
  border-color: #79a291;
  background: #24352c;
}
.pv-picker.open .pick-chevron {
  transform: rotate(180deg);
  color: var(--mint);
}
.pv-options {
  box-sizing: border-box;
  position: absolute;
  z-index: 4;
  inset-inline-end: 0;
  top: calc(100% + 5px);
  margin: 0;
  display: grid;
  gap: 2px;
  width: max-content;
  min-width: 100%;
  max-width: min(25rem, calc(100vw - 32px));
  max-height: 172px;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
  padding: 4px;
  border: 1px solid #58665d;
  background: #202823;
  border-radius: 5px;
  box-shadow: 0 6px 18px #0005;
  scrollbar-width: thin;
}
.pv-options[hidden] {
  display: none;
}
.pv-picker.above .pv-options {
  top: auto;
  bottom: calc(100% + 5px);
}
.pv-picker.left-align .pv-options {
  inset-inline-end: auto;
  inset-inline-start: 0;
}
.pv-options [role="option"] {
  -webkit-tap-highlight-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 36px;
  padding: 6px 9px;
  border-radius: 3px;
  color: #e1e9e3;
  font:
    13px/1.4 "Golos Text",
    sans-serif;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.pv-options [role="option"].is-active {
  background: #314438;
}
.pv-options [role="option"]:hover {
  background: #3c4c42;
}
.pv-options [role="option"][aria-selected="true"] {
  color: #b0f3d4;
}
.pv-options .pick-check {
  mask-image: url("/icons/check.svg");
  color: var(--mint);
  visibility: hidden;
}
.pv-options [aria-selected="true"] .pick-check {
  visibility: visible;
}
.sort .pv-picker {
  width: 158px;
}
.docs-example .pv-picker {
  width: 99px;
}
.tier-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.tier-field label {
  color: var(--muted);
  font-size: 13px;
}
.tier-field .pv-picker {
  width: 210px;
  max-width: 100%;
}
.tier-field .pv-options {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.tier-field .pv-picker-trigger {
  font-weight: 500;
}
@media (max-width: 610px) {
  .sort .pv-picker {
    width: 144px;
  }
  .pv-picker-trigger {
    min-height: 36px;
    gap: 5px;
    padding-inline: 8px;
    font-size: 12px;
  }
  .pv-options [role="option"] {
    min-height: 40px;
  }
  .docs-example .pv-picker {
    width: 93px;
  }
  .mast-inner {
    grid-template-columns: 1fr;
  }
  .mast nav {
    grid-column: 1/-1;
  }
  .page-head .trace-rule {
    height: 11px;
  }
}
.cc-panel,
.stats-panel {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.cc-panel .section-head,
.stats-panel .section-head,
.cc-picks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cc-panel .eyebrow {
  margin-bottom: 4px;
}
.cc-panel .btn {
  font-size: 13px;
}
.cc-picks {
  justify-content: flex-start;
  align-items: flex-end;
  margin: 14px 0;
}
.cc-picks .tier-field {
  min-width: 0;
}
.cc-picks .tier-field .pv-picker {
  max-width: 100%;
  width: 210px;
}
.cc-picks .tier-field:last-child .pv-picker {
  width: 260px;
}
.cc-fields {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 7px 10px;
  align-items: center;
  margin: 13px 0;
  font-size: 13px;
}
.cc-fields dd,
.stats-cells dd {
  margin: 0;
}
.cc-fields dt,
.stats-cells dt {
  color: var(--muted);
}
.cc-fields code {
  overflow-wrap: anywhere;
}
.cc-fields .iconbtn {
  margin-left: 8px;
  min-height: 26px;
  width: 27px;
  vertical-align: middle;
  padding: 4px;
}
.stats-cells {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 15px 0 0;
  border-top: 1px solid var(--line);
}
.stats-cells > div {
  padding: 12px 4px 11px 0;
  border-bottom: 1px solid var(--line);
}
.stats-cells dt {
  font-size: 12px;
}
.stats-cells dd {
  padding-top: 4px;
  font: 18px var(--mono);
  overflow-wrap: anywhere;
}
.stats-table {
  margin-top: 14px;
  overflow-x: auto;
}
.stats-table th,
.stats-table td {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  font-size: 12px;
}
.stats-table th {
  color: var(--muted);
}
.cache-pref {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.cache-pref label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
}
.cache-pref input {
  accent-color: var(--mint);
  width: 16px;
  height: 16px;
  flex: none;
  margin: 2px 0 0;
}
.trace-data {
  margin-top: 0;
}
.entry-data.trace-data {
  grid-template-columns: minmax(110px, 1fr) minmax(90px, 1fr);
}
.usage-sheet .pv-picker-trigger {
  font-size: 11px;
  min-height: 30px;
}
.stats-panel h2,
.cc-panel h2 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
}
@media (max-width: 610px) {
  .cc-picks {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .cc-picks .tier-field .pv-picker,
  .cc-picks .tier-field:last-child .pv-picker {
    width: 100%;
  }
  .stats-cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-cells dd {
    font-size: 16px;
  }
  .stats-panel h2,
  .cc-panel h2 {
    font-size: 17px;
  }
  .cc-panel .section-head .btn {
    font-size: 12px;
  }
  .cc-fields {
    grid-template-columns: 62px minmax(0, 1fr);
  }
  .cc-panel,
  .stats-panel {
    padding-block: 18px;
  }
}
.s-cached {
  color: #b3efce;
  background: #254335;
}
.cache-pref > p.fine {
  max-width: 85ch;
}
.cache-pref .section-head strong {
  font: 12px var(--mono);
  color: var(--mint);
}
.cache-pref .actions {
  justify-content: space-between;
}
.cache-pref .actions button {
  font-size: 12px;
  min-height: 32px;
}
