/* Mock stylesheet — throttlebodyservice.com. Prefix: tb- */
:root {
  color-scheme: light dark;
  --plate: #edeff0;
  --ink: #171b1d;
  --ink-soft: #4a5257;
  --bore: #0d1113;
  --on-bore: #eef1f2;
  --charge: #a84300;
  --part: #0e6d8c;
  --rule: rgb(23 27 29 / 0.2);
  --focus: #0e6d8c;
  --sans: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  scrollbar-width: thin;
}
@media (prefers-color-scheme: dark) {
  :root {
    --plate: #14181a;
    --ink: #e6e9ea;
    --ink-soft: #a7b0b4;
    --bore: #080b0c;
    --charge: #e8833f;
    --part: #4fb3d4;
    --rule: rgb(230 233 234 / 0.22);
    --focus: #4fb3d4;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plate);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
}
h1, h2, h3 { margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: inherit; text-decoration-color: var(--ink-soft); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.tb-skip {
  position: absolute; inset-inline-start: 1rem; inset-block-start: -3rem;
  background: var(--bore); color: #fff; padding: .5rem 1rem; z-index: 10;
}
.tb-skip:focus { inset-block-start: 1rem; }
.tb-shell { max-width: 1120px; margin-inline: auto; padding-inline: 1.25rem; }

.tb-header { border-block-end: 1px solid var(--rule); }
.tb-header .tb-shell { display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem 1.5rem; padding-block: 1rem; }
.tb-mark { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; text-decoration: none; }
.tb-nav {
  display: block; position: static; inset: auto; inline-size: auto; block-size: auto;
  margin: 0 0 0 auto; padding: 0; border: 0; overflow: visible;
  background: none; color: inherit;
}
.tb-nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.tb-nav a { text-decoration: none; padding-block: .3rem; border-block-end: 3px solid transparent; }
.tb-nav a:hover { border-block-end-color: var(--ink-soft); }
.tb-nav a[aria-current="page"] { border-block-end-color: var(--charge); }
.tb-menu-button { display: none; margin-inline-start: auto; font: inherit; background: none; color: inherit; border: 1px solid var(--rule); padding: .35rem .8rem; border-radius: 6px; }

.tb-hero { border-block-end: 1px solid var(--rule); }
.tb-hero .tb-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 2.5rem; align-items: center; padding-block: 2.5rem 3rem; }
.tb-hero p { max-width: 46ch; }
.tb-lead { font-size: 1.15rem; color: var(--ink-soft); }
.tb-gauge { margin: 0; }
.tb-gauge svg { display: block; width: 100%; height: auto; }
.tb-gauge figcaption { font-size: .82rem; color: var(--ink-soft); max-width: 46ch; }
.tb-plate { transform-origin: 180px 180px; transform: rotate(160deg); }
@media (prefers-reduced-motion: no-preference) {
  .tb-plate { animation: tb-swing 1.1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes tb-swing { from { transform: rotate(200deg); } to { transform: rotate(160deg); } }
}
.tb-gauge .tb-lbl { font: 600 11px var(--mono); fill: var(--ink); }
.tb-gauge .tb-lbl-soft { font: 500 10px var(--mono); fill: var(--ink-soft); }

.tb-main { padding-block: 2.5rem 3rem; }
.tb-main > * + h2 { margin-block-start: 2.2rem; }
.tb-main h2 { padding-block-start: .4rem; border-block-start: 1px solid var(--rule); }

.tb-figures { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tb-charge { color: var(--charge); }
.tb-part { color: var(--part); }
.tb-note { font-size: .85rem; color: var(--ink-soft); }
.tb-note.is-key { border-inline-start: 3px solid var(--ink); padding-inline-start: .8rem; color: var(--ink); }

.tb-tw { margin-block: 1.5rem; overflow: auto; max-block-size: 70vh; container-type: inline-size; }
.tb-tw table { border-collapse: collapse; inline-size: 100%; font-size: .95rem; }
.tb-tw caption { text-align: start; font-size: .85rem; color: var(--ink-soft); padding-block-end: .5rem; }
.tb-tw th, .tb-tw td { text-align: start; padding: .5rem .75rem; border-block-end: 1px solid var(--rule); vertical-align: top; }
.tb-tw thead th { background: var(--bore); color: var(--on-bore); }
.tb-tw tbody th { font-weight: 600; }
@container (width < 600px) {
  .tb-tw table, .tb-tw thead, .tb-tw tbody, .tb-tw tr, .tb-tw th, .tb-tw td { display: block; }
  .tb-tw thead { display: none; }
  .tb-tw tr { border: 1px solid var(--rule); border-radius: 6px; margin-block-end: 1rem; }
  .tb-tw tbody th { background: var(--bore); color: var(--on-bore); border-radius: 6px 6px 0 0; }
  .tb-tw th, .tb-tw td { border-block-end: 0; }
  .tb-tw caption { display: block; inline-size: 100%; }
  .tb-tw td::before { content: attr(data-l); display: block; color: var(--ink-soft); font-family: var(--sans); font-size: .8rem; }
}

.tb-accordion details { border-block-end: 1px solid var(--rule); }
.tb-accordion summary { display: flex; align-items: flex-start; gap: .5ch; padding-block: .8rem; list-style: none; font-weight: 600; cursor: pointer; line-height: 1.35; }
.tb-accordion summary::-webkit-details-marker { display: none; }
.tb-accordion summary::before {
  content: ""; inline-size: 1.1em; block-size: 1.1em; flex-shrink: 0; background: currentColor;
  margin-block-start: .15em;
  clip-path: polygon(22% 34%, 50% 62%, 78% 34%, 88% 44%, 50% 82%, 12% 44%); rotate: -90deg;
}
.tb-accordion details[open] > summary::before { rotate: 0deg; }
.tb-accordion p { padding-block-end: .8rem; }

.tb-footer { border-block-start: 1px solid var(--rule); background: var(--bore); color: var(--on-bore); }
.tb-footer .tb-shell { padding-block: 2rem; font-size: .9rem; }
.tb-footer a { text-decoration-color: currentColor; }

@media (max-width: 860px) {
  .tb-hero .tb-shell { grid-template-columns: 1fr; }
  .tb-gauge { order: 1; }
  .tb-hero-copy { order: 2; }
  .tb-nav { display: none; }
  .tb-nav:popover-open, .tb-nav.\:popover-open { display: block; }
  .tb-menu-button { display: inline-block; }
  .tb-nav { position: fixed; inset: auto 1rem auto auto; inset-block-start: 4rem; margin: 0; border: 1px solid var(--rule); border-radius: 6px; background: var(--plate); padding: .75rem; }
  .tb-nav ul { flex-direction: column; }
  h1 { font-size: 1.9rem; }
}

.tb-crumbs { border-block-end: 1px solid var(--rule); }
.tb-crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding-block: .6rem; font-size: .82rem; color: var(--ink-soft); }
.tb-crumbs li + li::before { content: "/"; margin-inline-end: .4rem; }
.tb-page-head { padding-block: 2rem 0; }
.tb-byline { font-size: .88rem; color: var(--ink-soft); margin-block: -.2em 1.1em; }
.tb-byline time { font-variant-numeric: tabular-nums; color: var(--ink); }
.tb-answer { border-inline-start: 4px solid var(--charge); padding: .2rem 0 .2rem 1rem; margin-block-end: 1rem; }
.tb-answer .tb-lead { margin: 0; }
.tb-answer-label { font-size: .85rem; font-weight: 700; color: var(--charge); margin: 0 0 .25rem; }
.tb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 0 3rem; align-items: start; }
.tb-layout > .tb-rail { grid-column: 2; grid-row: 1; position: sticky; top: 1rem; padding-block: 2.5rem 1rem; max-block-size: 100vh; overflow-y: auto; }
.tb-layout > .tb-main { grid-column: 1; grid-row: 1; }
.tb-rail-h { font-size: .85rem; font-weight: 700; margin: 0 0 .5rem; }
.tb-toc ol { margin: 0 0 1.6rem; padding-inline-start: 1.2rem; font-size: .9rem; line-height: 1.4; }
.tb-toc li + li { margin-block-start: .4rem; }
.tb-toc a { text-decoration: none; }
.tb-toc a:hover { text-decoration: underline; }
.tb-keys dl { margin: 0; display: grid; gap: .9rem; }
.tb-keys div { border-block-start: 1px solid var(--rule); padding-block-start: .6rem; }
.tb-keys dt { font-size: .82rem; color: var(--ink-soft); }
.tb-keys dd { margin: 0; }
.tb-keys dd .tb-figures { display: block; font-size: 1.15rem; font-weight: 700; }
.tb-keys small { display: block; font-size: .8rem; color: var(--ink-soft); line-height: 1.35; }
.tb-after { padding-block: 0 3rem; }
.tb-after h2 { font-size: 1.25rem; padding-block-start: .6rem; border-block-start: 1px solid var(--rule); margin-block: 2rem .8rem; }
.tb-sources ol { margin: 0; padding-inline-start: 1.4rem; font-size: .92rem; }
.tb-sources li { margin-block-end: .35rem; }
.tb-sources li span { color: var(--ink-soft); font-size: .85rem; }
.tb-next ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.tb-next li { border: 1px solid var(--rule); padding: 1rem; }
.tb-next li a { font-weight: 700; }
.tb-next li p { margin: .4rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.tb-cite p { font-size: .9rem; color: var(--ink-soft); overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .tb-layout { grid-template-columns: minmax(0, 1fr); }
  .tb-layout > .tb-rail { grid-column: 1; grid-row: 1; position: static; max-block-size: none; padding-block: 1.5rem 0; }
  .tb-layout > .tb-main { grid-row: 2; }
  .tb-toc { display: none; }
  .tb-keys dl { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
}
.tb-foot-note { margin-block-end: .8rem; }
.tb-foot-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; list-style: none; margin: 0; padding: 0; }
