/* HowToFix board overlay: dark "Neon control room" (DESIGN-NEW, 2026-11-10).
   Dark-only: no light theme, no theme switch. One violet accent. Colour tokens
   below are the board's own names (--board, --ink, --line, --amber, --commit)
   expressed from the app's dark palette in web/src/styles/theme.css.
   Pills 30px, nav pill 60px, inputs 10px, overlays 20px; elevation is glow. */
html.hf-board,
:root.hf-board,
html.hf-board body,
html.hf-board.dark,
:root.hf-board.dark,
html.hf-board.dark body {
  /* 2026-11-10 (DESIGN-NEW.md): one dark palette. Midnight canvas, carbon
     panels, hairline borders, voltage blue for actions, signal violet for
     accents. The design has no light theme, so the old light block is gone and
     these values apply whether or not `.dark` is set. Mirrors
     web/src/styles/theme.css. */
  --board: #0e0e0e;
  --board-2: #191919;
  --flap: #1f1f20;
  --ink: #ffffff;
  --ink-strong: #ffffff;
  --muted: #1f1f20;
  --muted-foreground: #a7a9ac;
  --line: rgb(255 255 255 / 10%);
  --amber: #dafa9c;
  --commit: #dafa9c;
  --commit-lo: #c6ec7f;
  --cancel: #ff6b6b;
  --ok: #dafa9c;
  --background: #0e0e0e;
  --foreground: #ffffff;
  --card: #191919;
  --card-foreground: #ffffff;
  --popover: #191919;
  --popover-foreground: #ffffff;
  --primary: #dafa9c;
  --primary-foreground: #0f0f0f;
  --secondary: #232324;
  --secondary-foreground: #ffffff;
  --accent: #242838;
  --accent-foreground: #ffffff;
  --destructive: #ff6b6b;
  --border: rgb(255 255 255 / 10%);
  --input: #58595b;
  --ring: #dafa9c;
  --sidebar: #131313;
  --sidebar-foreground: #d1d3d4;
  --sidebar-primary: #dafa9c;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #242838;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: rgb(255 255 255 / 10%);
  --sidebar-ring: #dafa9c;
  --chart-1: #dafa9c;
  --chart-2: #3dd6f5;
  --chart-3: #dafa9c;
  --chart-4: #b3bdff;
  --chart-5: #d1d3d4;
  /* Pills, and glow instead of the old pressed-key lift. */
  --btn-radius: 30px;
  --btn-lift: 0 0 0 transparent;
  --btn-lift-sm: 0 0 0 transparent;
  color-scheme: dark;
}

html.hf-board,
html.hf-board body,
html.hf-board #root,
html.hf-board .bg-background {
  background: var(--board) !important;
  color: var(--ink) !important;
}

/* The board's own face belongs to the static pages. In the SPA the app sets
   `--font-body` (Public Sans) on <body>, and forcing Inter here replaced it on
   every public page, which read as a flatter, wider page than the console. */
body.hf-lp,
body.hf-doc,
body.hf-legal {
  /* Inter is not shipped with the bundle, so naming it first meant every one of
     these pages rendered in the fallback while the inspector (correctly) saw a
     typeface declared and never loaded. Public Sans is the app's face and is
     installed. */
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html.hf-board ::selection {
  background: var(--amber);
  color: #111;
}

html.hf-board :focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

body.hf-lp a,
body.hf-doc a,
body.hf-legal a {
  color: var(--amber);
}

body.hf-lp h1,
body.hf-lp h2,
body.hf-lp h3 {
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink) !important;
  background: none !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.hf-board a[href="/"] img,
html.hf-board header img[alt="logo"],
html.hf-board header img[alt="Logo"] {
  object-fit: contain !important;
  background: transparent !important;
}

/* The wordmark only. `:not(:empty)` keeps this off the menu's three empty
   burger bars, which sit inside the same container and were picking up the
   weight, tracking and caps meant for the text. */
html.hf-board header a[href="/"]:not(nav a) span:not(:empty) {
  font-size: 16px !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: var(--ink) !important;
}

html.hf-board header.hf-top:not([data-floating-nav="true"]) {
  border-bottom: 1px solid var(--line);
}

body.hf-lp header a,
body.hf-lp header button,
body.hf-doc header a,
body.hf-doc header button {
  color: var(--muted-foreground) !important;
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
  letter-spacing: 0.08em;
  border-radius: 2px !important;
}

html.hf-board label {
  color: var(--muted-foreground) !important;
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

html.hf-board form {
  background: var(--board-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 28px 24px;
  box-shadow: 0 0 0 transparent;
}

/* Auth screens (data-auth-panel in AuthLayout): one narrow column with no
   card, so the form inside it must not draw the board's form card either. */
html.hf-board [data-auth-panel] form {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
/* Auth fields: filled, framed, roomy. Radius, type and focus ring come from the
   app's own tokens so the form matches the dashboard it signs into — the
   board's 2px corners and monospace are for the public marketing surface, not
   for a control the user types into. */
/* :where() keeps the exclusions weightless, so the hover, focus and invalid
   states below can override this base. */
html.hf-board [data-auth-panel] input:where(:not([type="checkbox"]):not([hidden])) {
  min-height: 52px !important;
  padding-inline: 16px !important;
  background: var(--flap) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius, 10px) !important;
  font-family: var(--font-sans, "Public Sans", ui-sans-serif, system-ui, sans-serif) !important;
  font-size: 16px !important;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
html.hf-board [data-auth-panel] input::placeholder {
  font-family: var(--font-sans, "Public Sans", ui-sans-serif, system-ui, sans-serif) !important;
  color: var(--muted-foreground) !important;
  opacity: 0.8;
}
html.hf-board [data-auth-panel] input:hover:not(:focus):not(:disabled) {
  border-color: oklch(from var(--muted-foreground) l c h / 45%) !important;
}
html.hf-board [data-auth-panel] input:focus,
html.hf-board [data-auth-panel] input:focus-visible {
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px oklch(from var(--primary) l c h / 22%) !important;
}
html.hf-board [data-auth-panel] input[aria-invalid="true"] {
  border-color: var(--destructive) !important;
}
/* Password fields: room for the show-password button. */
html.hf-board [data-auth-panel] .relative.rounded-md > input {
  padding-right: 3rem !important;
}
html.hf-board [data-auth-panel] .relative.rounded-md > button[type="button"] {
  right: 10px !important;
}
/* The Gmail step's "Gmail / Account" progress strip read as two tabs; the
   label, field and Google button below it already say what to do. */
html.hf-board [data-auth-panel] .hf-steps {
  display: none !important;
}
/* Secondary actions on auth screens: the switch to sign-in/sign-up, OAuth and
   passkey buttons, resend. Outlined, in the app's face at the app's radius —
   the board's condensed uppercase voice belongs to the marketing surface, not
   to a control inside a form. */
html.hf-board [data-auth-secondary] {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius, 10px) !important;
  color: var(--ink) !important;
  font-family: var(--font-sans, "Public Sans", ui-sans-serif, system-ui, sans-serif) !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 14px !important;
  min-height: 40px;
}
html.hf-board [data-auth-panel] [data-auth-secondary] {
  min-height: 48px;
}
html.hf-board [data-auth-secondary]:hover:not(:disabled) {
  background: var(--flap) !important;
  border-color: var(--commit) !important;
  color: var(--ink-strong, var(--ink)) !important;
}

html.hf-board input,
html.hf-board textarea,
html.hf-board select {
  background: var(--flap) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 2px !important;
  font-family: var(--font-sans, "Geist Variable", system-ui, sans-serif) !important;
  letter-spacing: 0;
  text-transform: none !important;
}

html.hf-board input::placeholder {
  color: #6f6b62 !important;
  opacity: 1;
}

html.hf-board button[type="submit"],
/* An auth screen's main action that is not a form submit (a link button) */
html.hf-board [data-auth-panel] [data-auth-primary] {
  background: var(--primary) !important;
  border: 0 !important;
  color: var(--primary-foreground, #ffffff) !important;
  border-radius: var(--radius, 10px) !important;
  font-family: var(--font-sans, "Public Sans", ui-sans-serif, system-ui, sans-serif) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

html.hf-board .text-muted-foreground {
  color: var(--muted-foreground) !important;
}

html.hf-board .semi-layout,
html.hf-board .semi-layout-content,
html.hf-board main {
  background: var(--board) !important;
}

html.hf-board .semi-layout-sider,
html.hf-board .semi-navigation-vertical,
html.hf-board aside {
  background: var(--board) !important;
  border-right: 1px solid var(--line) !important;
}

html.hf-board .semi-navigation-item,
html.hf-board .semi-navigation-item-text,
html.hf-board .semi-navigation-item-icon {
  color: var(--muted-foreground) !important;
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

html.hf-board .semi-navigation-item-selected,
html.hf-board .semi-navigation-item-selected .semi-navigation-item-text {
  background: var(--flap) !important;
  color: var(--amber) !important;
  box-shadow: inset 3px 0 0 var(--amber);
}

html.hf-board .semi-card,
html.hf-board .semi-table-wrapper,
html.hf-board .semi-modal-content {
  background: var(--board-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 2px !important;
  color: var(--ink) !important;
}

html.hf-board .semi-table,
html.hf-board table {
  font-family: var(--font-sans, "Geist Variable", system-ui, sans-serif) !important;
  letter-spacing: 0;
  color: var(--ink) !important;
}

html.hf-board .semi-button-primary {
  background: var(--commit) !important;
  color: #ffffff !important;
  border-radius: var(--btn-radius) !important;
  box-shadow: var(--btn-lift-sm) !important;
}

html.hf-board .semi-input-wrapper,
html.hf-board .semi-select,
html.hf-board .semi-input {
  background: var(--flap) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

html.hf-board .semi-tag-green { color: var(--ok) !important; }
html.hf-board .semi-tag-orange { color: var(--amber) !important; }
html.hf-board .semi-tag-red { color: var(--cancel) !important; }

html.hf-board ::-webkit-scrollbar { width: 10px; height: 10px; }
html.hf-board ::-webkit-scrollbar-track { background: var(--flap); }
html.hf-board ::-webkit-scrollbar-thumb { background: #3a3f48; }

/* Landing: hide New API marketing, show concourse.
   The fullscreen mobile nav drawer (bg-background/98 + backdrop-blur) is exempt:
   it is the hamburger's target, not marketing. */
html.hf-landing .bg-background > section,
html.hf-landing .bg-background > div.border-y,
html.hf-landing .bg-background > footer,
html.hf-landing .bg-background > div.fixed.inset-0:not([class*="bg-background/98"]) {
  display: none !important;
}

#hf-concourse {
  position: fixed;
  inset: 64px 0 0 0;
  z-index: 30;
  overflow: auto;
  padding: 2.25rem 1.5rem 3rem;
  background: var(--board, #ffffff);
  color: var(--ink, oklch(0.2 0.012 55));
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
}

#hf-concourse .hf-strip {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  max-width: 1120px;
  margin: 0 auto 1.75rem;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--line, #e2e2e3);
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground, #67676c);
}

#hf-concourse .hf-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) 1.4fr;
  gap: 2rem;
  align-items: start;
}

#hf-concourse h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: 0.06em;
}

#hf-concourse p.hf-sub { margin: 0 0 1.25rem; max-width: 46ch; color: var(--muted-foreground, #67676c); font-size: 0.95rem; letter-spacing: 0.03em; }
#hf-concourse p.hf-sub a { color: var(--amber, #dafa9c); }
#hf-concourse p.hf-lede {
  margin: 0 0 1.5rem;
  max-width: 34ch;
  color: var(--muted-foreground, #67676c);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

#hf-concourse .hf-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

#hf-concourse .hf-actions a {
  display: inline-block;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#hf-concourse .hf-actions a.hf-go {
  background: var(--commit, #dafa9c);
  color: #ffffff;
  border-radius: var(--btn-radius);
  box-shadow: var(--btn-lift);
}

#hf-concourse .hf-actions a.hf-alt {
  background: transparent;
  color: var(--ink, oklch(0.2 0.012 55));
  border: 1px solid var(--line, #e2e2e3);
  border-radius: var(--btn-radius);
}

#hf-concourse table {
  width: 100%;
  border-collapse: collapse;
  background: var(--flap, #f6f6f7);
  border: 1px solid var(--line, #e2e2e3);
}

#hf-concourse th,
#hf-concourse td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--line, #e2e2e3);
}

#hf-concourse th {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--muted-foreground, #67676c);
  background: var(--board-2, #ffffff);
}

#hf-concourse td {
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}

#hf-concourse td.hf-dest {
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

#hf-concourse .hf-ontime { color: var(--ok, #7dba6a); }
#hf-concourse .hf-open { color: var(--amber, #dafa9c); }

/* Landing footer: the SPA's own footer is hidden on /, so mirror the handbook
   footer (.hf-foot in site.css) here so the page does not end mid-air. */
#hf-concourse .hf-foot {
  max-width: 1120px;
  margin: 2.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line, #e2e2e3);
}
#hf-concourse .hf-foot-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted-foreground, #67676c);
}
#hf-concourse .hf-foot-in span:last-child { display: flex; flex-wrap: wrap; gap: 16px; }
#hf-concourse .hf-foot a { color: var(--muted-foreground, #67676c); text-decoration: none; }
#hf-concourse .hf-foot a:hover { color: var(--ink, oklch(0.2 0.012 55)); }
#hf-concourse .hf-foot code {
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--amber, #dafa9c);
  letter-spacing: 0;
}

@media (max-width: 840px) {
  #hf-concourse .hf-grid { grid-template-columns: 1fr; }
}

#hf-captcha label {
  display: block;
  margin: 0;
}
#hf-captcha .hf-captcha-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
}

/* Slider puzzle: the track is the gesture surface, the slot marks the target
   the knob must reach, and the knob is the only focusable element (role
   slider) so keyboard users can nudge it with arrows. */
#hf-captcha-track {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line, #e2e2e3);
  cursor: grab;
  touch-action: none;
  user-select: none;
  line-height: 0;
  width: 100%;
  /* The background keeps its 2:1 ratio and fills the form column, so the
     puzzle is legible on a phone and does not sit tiny on a wide screen. */
  aspect-ratio: 2 / 1;
}
#hf-captcha-track:active { cursor: grabbing; }
#hf-captcha-bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
#hf-captcha-piece {
  position: absolute;
  left: 0;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  cursor: grab;
  filter: drop-shadow(0 0 0 transparent);
  touch-action: none;
}
#hf-captcha-piece.dragging { cursor: grabbing; }
#hf-captcha-piece:focus-visible {
  outline: 2px solid var(--ink, #f2efe6);
  outline-offset: 2px;
}
#hf-captcha-q {
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}
#hf-captcha-a {
  width: 100% !important;
  min-width: 0;
  text-align: center;
}
#hf-captcha-a::placeholder {
  color: #8f8a7e !important;
  opacity: 1;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
#hf-captcha-go {
  justify-self: start;
  background: var(--commit, #dafa9c) !important;
  color: #ffffff !important;
  border: 0 !important;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--btn-lift-sm);
}
#hf-captcha-go:hover { filter: brightness(1.05); }
#hf-captcha-go:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #1f9d6b;
}
#hf-captcha-msg {
  margin: 0;
  align-self: center;
  min-height: 1.2em;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted-foreground, #67676c);
}

/* The GSI iframe paints its own light frame when its painted box is wider than
   the slot; clip the overhang (Google's -10px margins stay, so the button is
   still edge-aligned with the field) and force a dark colour scheme. */
#hf-google-btn > div {
  overflow: hidden !important;
}
#hf-google-btn iframe {
  color-scheme: dark !important;
}

/* EMAIL and HUMAN CHECK were boxed cards nested inside the form card. Flatten
   them to plain form sections: a hairline above, no second frame, and no
   negative margins (those belonged to the old full-bleed card and made the
   block 14px wider than every other field). */
#hf-google,
#hf-captcha {
  display: grid;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 1.1rem 0 0;
  border: 0;
  border-top: 1px solid var(--line, #e2e2e3);
  background: transparent;
}
#hf-google label,
#hf-captcha label {
  display: block;
  margin: 0;
  font-family: var(--font-sans, "Public Sans", ui-sans-serif, system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--ink);
}
#hf-email {
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
  margin: 0;
}
#hf-google-btn {
  min-height: 40px;
}
#hf-google-face {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius, 10px) !important;
  font-family: var(--font-sans, "Public Sans", ui-sans-serif, system-ui, sans-serif);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none !important;
}
#hf-google-face:hover { border-color: var(--amber) !important; }
#hf-google-face .hf-g {
  display: inline-flex;
  width: 16px;
  height: 16px;
}
#hf-google-msg {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted-foreground, #67676c);
  letter-spacing: 0.02em;
}


#hf-consent {
  position: fixed;
  /* A corner card, not a centred bar: centred, it sat on top of the hero
     buttons on short viewports, so "Get a key" could not be clicked until the
     banner was dismissed. Bottom-right belongs to the mascot. */
  left: 1rem;
  right: auto;
  bottom: 1rem;
  z-index: 80;
  width: min(360px, calc(100vw - 2rem));
  max-width: 360px;
  margin: 0;
  padding: .85rem .95rem;
  /* Was a hard-coded white: in dark mode the panel stayed white while its text
     took `--ink`, which is near-white there, so the consent text vanished. */
  background: var(--board, #ffffff);
  border: 1px solid var(--line, #e2e2e3);
  color: var(--ink, oklch(0.2 0.012 55));
  font-family: 'Archivo Variable', 'Geist Variable', sans-serif;
  letter-spacing: .04em;
  box-shadow: 0 0 0 transparent;
}
#hf-consent p { margin: 0 0 .6rem; color: var(--ink, oklch(0.2 0.012 55)); font-size: 13px; line-height: 1.5; }

/* On phones there is no room for a corner card, and the hero stacks, so the
   full-width bar at the bottom no longer lands on a button. */
@media (max-width: 719px) {
  #hf-consent { right: 1rem; width: auto; max-width: none; padding: 1rem 1.1rem; }
  #hf-consent p { font-size: 14px; margin-bottom: .75rem; }
}
#hf-consent a {
  color: #c6ceff;
  text-decoration: underline;
  text-decoration-color: #dafa9c;
  text-underline-offset: 2px;
}
#hf-consent .hf-consent-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
#hf-consent button {
  border: 0;
  padding: .55rem .9rem;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  font-family: inherit;
  border-radius: var(--btn-radius, 8px);
}
#hf-consent .hf-ok { background: var(--commit, #dafa9c); color: #ffffff; box-shadow: none; }
#hf-consent .hf-more { background: var(--flap, #ffffff); color: var(--ink, oklch(0.2 0.012 55)); border: 1px solid var(--line, #e2e2e3) !important; border-radius: var(--btn-radius); }

/* Mobile fixes */

/* Auth pages are a 1fr grid track whose auto minimum is the form's
   min-content (445px on /sign-up), so the card cannot center on phones.
   Cap the track on small screens only. */
@media (max-width: 600px) {
  .grid.h-svh {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* An auth card taller than the viewport was clipped by the fixed 100svh grid:
   the submit button sat past the fold and the page could not scroll to it.
   The old escape hatch was gated on `max-height: 560px`, but /sign-up is 749px
   tall, so every laptop between 576px and 749px still lost the button and the
   "already have an account" line -- and the document could not scroll because
   html and body were pinned to the viewport. Grow instead of pinning: the grid
   is at least the viewport, and taller when the form needs it. */
.grid.h-svh:has(> .container form) {
  height: auto !important;
  min-height: 100svh;
}
/* Keep the column centred when it fits, and let it start below the header when
   it does not. The extra top padding is what clears the absolutely positioned
   brand row; a container that is exactly as tall as its content has nothing to
   centre, so the form starts there and the page scrolls. */
.grid.h-svh:has(> .container form) > .container {
  padding-top: 6rem !important;
}

/* Placeholder text was 3.66:1 on the field surface (floor is 4.5:1). */
html.hf-board form input::placeholder {
  color: #8f8a7e !important;
  opacity: 1;
}

/* Focus ring: New API ships a 50%-alpha inset ring; give keyboard focus a
   solid, unambiguous ring in the accent. */
html.hf-board form input:focus-visible,
html.hf-board form button:focus-visible,
#hf-captcha input:focus-visible,
#hf-captcha button:focus-visible {
  outline: 2px solid var(--amber, #dafa9c) !important;
  outline-offset: 2px !important;
}

/* Auth form controls. The reveal button was pinned at top:16px inside a 32px
   wrapper, so its lower half hung outside the field. Tailwind v4 sets the
   standalone `translate` property, which stacks with `transform`; override
   both so the button centres once. */
html.hf-board .grid.h-svh form .relative.rounded-md > button[type="button"] {
  top: 50% !important;
  bottom: auto !important;
  translate: 0 -50% !important;
  transform: none !important;
  min-width: 32px !important;
  min-height: 32px !important;
}
html.hf-board .grid.h-svh form input {
  min-height: 40px !important;
}
/* The rule above is (0,3,2) and silently beat the auth field's 52px, because
   `:where()` contributes no specificity. Restated here at (0,4,2) so the auth
   column keeps the taller field the design asks for. */
html.hf-board .grid.h-svh [data-auth-panel] form input {
  min-height: 52px !important;
}
/* The primary action was 32px against 40px fields; match the form's own
   control height so the column reads as one system. */
html.hf-board .grid.h-svh form button[type="submit"],
html.hf-board [data-auth-panel] [data-auth-primary] {
  min-height: 40px !important;
}
/* The rule above is (0,4,3) and beat the auth column's own (0,4,2), leaving the
   submit 12px shorter than every field beside it. Restated at (0,5,3). */
html.hf-board .grid.h-svh [data-auth-panel] button[type="submit"],
html.hf-board .grid.h-svh [data-auth-panel] [data-auth-primary],
html.hf-board [data-auth-panel] button[type="submit"],
html.hf-board [data-auth-panel] [data-auth-primary] {
  min-height: 52px !important;
}
#hf-captcha-a {
  min-height: 40px !important;
  width: 100% !important;
}
#hf-captcha-go {
  min-height: 40px !important;
}

/* Phones: fields and the reveal button reach the 44px touch target. Keyed to
   the viewport as well as the pointer, since pointer queries miss some
   touch browsers. The primary action gets 48px: it was 32px, shorter than
   every field around it. */
@media (max-width: 600px), (pointer: coarse) {
  html.hf-board .grid.h-svh form input,
  #hf-captcha-a,
  #hf-captcha-go {
    min-height: 44px !important;
  }
  html.hf-board .grid.h-svh form button[type="submit"] {
    min-height: 48px !important;
  }
  html.hf-board .grid.h-svh form .relative.rounded-md > button[type="button"] {
    min-width: 44px !important;
    min-height: 44px !important;
  }
  html.hf-board .grid.h-svh form input[type="password"] {
    padding-right: 56px !important;
  }
}

/* Phones: New API centers the auth heading below sm but leaves the line under
   it left-aligned, so "Already have an account? Sign in." hangs off-axis.
   Match the heading. */
@media (max-width: 639px) {
  html.hf-board .grid.h-svh h2 + p,
  html.hf-board .grid.h-svh h2 ~ p {
    text-align: center !important;
  }
}

/* The consent banner is fixed over the foot of the page and was covering the
   submit button; reserve exactly its height as scroll room (JS sets the
   variable, so it tracks wrapping and orientation). */
html.hf-board:has(#root form):has(#hf-consent) body {
  padding-bottom: calc(var(--hf-consent-h, 120px) + 24px);
}

/* The same banner sits over every page, not only form pages. On the handbook
   and marketing pages it covered the footer call to action and, on About, the
   licence notice -- which the licence requires to be visible, so hiding it
   behind an overlay is a compliance problem and not just a layout one. Reserve
   its height wherever the banner is present. Keyed on html:has() alone so it
   also applies when the board overlay is not the thing drawing the page. */
html:has(#hf-consent) body {
  padding-bottom: calc(var(--hf-consent-h, 120px) + 24px);
}

/* Phones: the banner ate a fifth of the screen and wrapped its links; tighten
   it so it costs less of the viewport and reads as one block. */
@media (max-width: 480px) {
  #hf-consent {
    padding: 0.75rem 0.85rem;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
  #hf-consent p {
    font-size: 0.82rem;
    line-height: 1.4;
    margin-bottom: 0.55rem;
  }
  #hf-consent .hf-consent-actions {
    gap: 0.4rem;
  }
  #hf-consent button,
  #hf-consent .hf-more,
  #hf-consent .hf-consent-actions a {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
}

/* Short viewports (phone landscape): the form is taller than the screen, so
   one banner-height of scroll room is not enough to lift the CTA clear of the
   fixed banner. Compact the banner and reserve room for both. */
@media (max-height: 560px) {
  html.hf-board:has(#root form):has(#hf-consent) body {
    padding-bottom: calc(var(--hf-consent-h, 100px) * 2 + 40px);
  }
  /* content pages, where the banner is the only thing overhanging: give it the
     same double allowance rather than the single-page value */
  html:has(#hf-consent) body {
    padding-bottom: calc(var(--hf-consent-h, 100px) * 2 + 40px);
  }
  #hf-consent {
    padding: 0.6rem 0.8rem;
  }
  #hf-consent p {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 0.5rem;
  }
  #hf-consent .hf-consent-actions {
    gap: 0.4rem;
  }
  #hf-consent button,
  #hf-consent .hf-more,
  #hf-consent .hf-consent-actions a {
    padding: 0.45rem 0.7rem !important;
    min-height: 40px;
  }
}

html.hf-board header nav,
body.hf-legal header nav {
  flex-wrap: nowrap;
  align-items: center;
}

body.hf-legal > header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 0.4rem 1.5rem;
  background: var(--board, #ffffff);
  border-bottom: 1px solid var(--line);
}

body.hf-legal > header .brand,
body.hf-legal > header nav {
  display: flex;
  align-items: center;
}

body.hf-legal > header nav {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.25rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

body.hf-legal > header nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 0.7rem;
  color: var(--muted-foreground);
}

body.hf-legal > header nav a[aria-current="page"],
body.hf-legal > header nav a[href="/sign-in"] {
  color: var(--ink);
}

body.hf-legal > header nav a[href="/sign-in"] {
  background: var(--commit);
  color: #ffffff;
  box-shadow: var(--btn-lift-sm);
}

html.hf-board .container {
  min-width: 0;
  box-sizing: border-box;
}

html.hf-board form,
html.hf-board form * {
  min-width: 0 !important;
}

#hf-google,
#hf-captcha {
  max-width: 100%;
  box-sizing: border-box;
}

/* Do not clamp the GSI iframe: Google renders it 20px wider with -10px side
   margins so the button's painted edges line up with the field. A max-width
   clamp breaks that compensation and shifts the button 10px left. */

#hf-captcha .hf-captcha-row {
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  html.hf-board .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  html.hf-board .container > .mx-auto {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html.hf-board form {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  #hf-concourse table th,
  #hf-concourse table td {
    padding: 0.45rem 0.5rem;
    font-size: 11px;
  }
  #hf-concourse td.hf-dest {
    font-size: 0.9rem;
  }
  #hf-concourse h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
}

html.hf-board:has(#hf-google) body,
html.hf-board:has(#hf-captcha) body {
  overflow-x: hidden;
}

body.hf-legal main {
  max-width: 100%;
  box-sizing: border-box;
}

body.hf-legal td,
body.hf-legal th,
body.hf-legal code {
  overflow-wrap: anywhere;
}

body.hf-legal {
  overflow-x: hidden;
}

@media (max-width: 480px) {
  body.hf-legal main {
    padding: 2.5rem 1rem 4rem;
  }
  body.hf-legal table th,
  body.hf-legal table td {
    padding: 0.5rem 0.55rem;
    font-size: 0.9rem;
  }
  body.hf-legal pre {
    padding: 0.75rem;
    font-size: 12px;
  }
}

/* Public catalog (Models, Rankings). The New API card grid and
   rounded chart cards stay in the markup; on the board they read as one
   flap table. Scoped to these routes so the signed-in console is untouched.
   The floating header is excluded: its hover pill and active underline are
   absolute decorations, and its menu is a list. */


















/* Models page only. The welded flap slab reads as a rigid table of shouted
   ids. Cards stay on the board, but each model is its own row: a gap, the
   id in its real spelling, and a title that does not track across the page.
   Rankings keeps the tight list. */
/* Each card is wrapped in a motion element for its entrance, so the grid's
   direct children are wrappers, not cards: the :has() test looks at
   descendants and the card rules apply at any depth. */
html.hf-pricing .grid:has([data-slot="card"]) {
  gap: 0.75rem !important;
  border: 0 !important;
  background: transparent !important;
}

html.hf-pricing .grid:has([data-slot="card"]) [data-slot="card"] {
  border: 1px solid var(--line) !important;
  border-radius: 2px !important;
  background: var(--board-2) !important;
  letter-spacing: 0;
}

html.hf-pricing .grid:has([data-slot="card"]) [data-slot="card"]:hover {
  border-color: var(--amber) !important;
}

html.hf-pricing [data-slot="card"] h3 {
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html.hf-pricing [data-slot="card"] p,
html.hf-pricing [data-slot="card"] span,
html.hf-pricing [data-slot="card"] dd,
html.hf-pricing [data-slot="card"] dt {
  letter-spacing: 0;
}

/* Status bars and the rate figure keep the color the card already computed
   from the real success rate. Do not repaint them. */



#hf-google .hf-steps {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 0.35rem;
  padding: 0;
  list-style: none;
}
#hf-google .hf-steps li {
  flex: 1;
  padding: 0 0 0.4rem;
  border-bottom: 2px solid var(--line);
  color: var(--muted-foreground);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}
#hf-google .hf-steps li.done {
  border-bottom-color: var(--ok);
  color: var(--ink);
}

#hf-google-msg,
#hf-captcha-msg {
  min-height: 1.2em;
}

/* Human check popup — the check moved out of the form column so sign-up
   reads as one short stack. Opens from Create account or the Human check
   step; sits above the consent banner (z 80). */
#hf-cap-pop, #hf-logincap {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1rem;
}
#hf-cap-pop[hidden], #hf-logincap[hidden] {
  display: none;
}
.hf-cap-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.72);
}
.hf-cap-panel {
  position: relative;
  width: min(440px, 100%);
  background: var(--board, #f6f6f7);
  border: 1px solid var(--line, #e2e2e3);
  box-shadow: 0 0 0 transparent;
  padding: 1.1rem 1.2rem 1.25rem;
}
.hf-cap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
#hf-cap-title {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted-foreground, #9aa0a8);
}
.hf-cap-x {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line, #e2e2e3);
  color: var(--ink, oklch(0.2 0.012 55));
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.hf-cap-x:hover {
  border-color: var(--amber, #dafa9c);
  color: var(--amber, #dafa9c);
}
/* Inside the panel the form-section chrome (top hairline, section margins)
   would read as a second frame; the panel already carries it. */
#hf-cap-pop #hf-captcha, #hf-logincap #hf-logincap-host {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.hf-cap-hint {
  margin: 0.6rem 0 0;
  color: var(--muted-foreground, #9aa0a8);
  font-size: 0.8rem;
  line-height: 1.45;
}
/* The stepper's Human check step opens the popup; show it as a control. */
#hf-step-human {
  cursor: pointer;
}
#hf-step-human:hover {
  color: var(--amber, #dafa9c);
}
/* Lock page scroll while the dialog is open. */
html.hf-cap-open,
html.hf-cap-open body {
  overflow: hidden;
}

/* --- polish pass: contrast + target size --- */

/* Header CTAs carry their own text colour (white on commit, dark on the light
   variant); the blanket `header a` rule above must not repaint them muted. */
html.hf-board header a.text-primary-foreground,
html.hf-board header button.text-primary-foreground {
  color: var(--primary-foreground) !important;
}
html.hf-board header a.text-background,
html.hf-board header button.text-background {
  color: var(--background) !important;
}

/* Standalone link reaches the 24px target minimum (WCAG 2.5.8); inline links
   inside sentences stay inline and are exempt. */
html.hf-board form a[href="/forgot-password"] {
  display: inline-block;
  padding-block: 4px;
}

/* `text-muted` is an icon/text utility in the app: keep it on the light tone
   now that --muted holds the dark chip surface. */
html.hf-board .text-muted {
  color: var(--muted-foreground) !important;
}

/* --primary is a FILL token (darkened for white-on-orange contrast); as
   foreground text it only clears 3.7:1 on the board. Accent text stays on
   the amber lamp (8.9:1) — the brief reserves orange for the one commit
   fill. :class~= matches the exact token, never text-primary-foreground. */
html.hf-board [class~="text-primary"] {
  color: var(--primary) !important;
}
html.hf-board [class*=":text-primary"]:hover {
  color: var(--primary) !important;
}

/* Light-filled controls (mobile drawer Sign in) invert: the amber link rule
   fails on oklch(0.2 0.012 55), so text-background wins on the light fill and
   text-foreground on the dark one. */
html.hf-board a.bg-foreground,
html.hf-board button.bg-foreground {
  color: var(--background) !important;
}
html.hf-board a.bg-background,
html.hf-board button.bg-background {
  color: var(--foreground) !important;
}

/* ============================================================================
   The board — #hf-concourse.

   A section of the page that air.js appends on the home route. Headings are
   weight 500 (DESIGN-NEW), sentence case, six type sizes: 12, 13, 14, 16, 24, 30.
   ============================================================================ */

#hf-concourse {
  /* A section of the page, not a fixed slab over it. The slab was `position:
     fixed; inset: 64px 0 0 0; overflow: auto`, which produced a second scroll
     container inside the document and is why the hero did not move with the
     page. */
  position: relative !important;
  inset: auto !important;
  z-index: 1 !important;
  overflow: visible !important;
  padding: 64px 24px 80px !important;
  background: var(--board, #ffffff) !important;
  color: var(--ink, oklch(0.2 0.012 55)) !important;
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
}

/* The one shell width, used by every band on the board. */
#hf-concourse .hf-strip,
#hf-concourse .hf-grid,
#hf-concourse .hf-foot {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* --- departure strip: a label, not a heading ------------------------------- */
#hf-concourse .hf-strip {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  margin-bottom: 44px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--line, #e2e2e3) !important;
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  /* 12px — size 1 of 6 */
  font-size: 12px !important;
  letter-spacing: .06em !important;
  text-transform: none !important;
  color: var(--muted-foreground, #67676c) !important;
}
#hf-concourse .hf-strip > span:first-child { color: var(--ink, oklch(0.2 0.012 55)) !important; }
#hf-concourse #hf-clock {
  color: var(--muted-foreground, #67676c) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em !important;
}

/* --- the two bands --------------------------------------------------------- */
#hf-concourse .hf-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) !important;
  gap: 56px !important;
  align-items: start !important;
}

/* The headline: 30px, weight 600, sentence case. Held to a measure so it wraps
   as two lines rather than three. */
#hf-concourse h2,
#hf-concourse .hf-grid h2 {
  margin: 0 0 16px !important;
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-size: 30px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
  color: var(--ink-strong, #f5f5f4) !important;
  -webkit-text-fill-color: var(--ink-strong, #f5f5f4) !important;
  max-width: 20ch;
}

#hf-concourse p.hf-lede,
#hf-concourse .hf-grid p.hf-lede {
  margin: 0 0 28px !important;
  max-width: 40ch !important;
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  /* 16px — size 2 of 6 */
  font-size: 16px !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  color: var(--ink, oklch(0.2 0.012 55)) !important;
}

#hf-concourse p.hf-sub {
  margin: 0 0 20px !important;
  max-width: 46ch !important;
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  /* 14px — size 3 of 6 */
  font-size: 14px !important;
  line-height: 1.6 !important;
  letter-spacing: normal !important;
  color: var(--muted-foreground, #67676c) !important;
}
#hf-concourse p.hf-sub a { color: var(--amber, #dafa9c) !important; }

/* --- actions: the only place the accent is spent --------------------------- */
#hf-concourse .hf-actions {
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
#hf-concourse .hf-actions a {
  display: inline-flex !important;
  align-items: center !important;
  height: 40px !important;
  padding: 0 18px !important;
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  /* 14px — same size as the body, emphasised by weight not by case */
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-decoration: none !important;
  border-radius: 6px !important;
}
#hf-concourse .hf-actions a.hf-go {
  background: var(--commit, #dafa9c) !important;
  color: #ffffff !important;
  border: 1px solid var(--commit, #dafa9c) !important;
}
#hf-concourse .hf-actions a.hf-go:hover { background: var(--commit-lo, #c6ec7f) !important; border-color: var(--commit-lo, #c6ec7f) !important; }
#hf-concourse .hf-actions a.hf-alt {
  background: rgba(255, 255, 255, .04) !important;
  color: var(--ink-strong, #f5f5f4) !important;
  border: 1px solid var(--line, #e2e2e3) !important;
}
#hf-concourse .hf-actions a.hf-alt:hover { border-color: var(--muted-foreground, #67676c) !important; }

/* --- the table: the board's own metaphor, kept ------------------------------ */
#hf-concourse table {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  background: var(--flap, #f6f6f7) !important;
  border: 1px solid var(--line, #e2e2e3) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
  /* 13px — size 4 of 6 */
  font-size: 13px !important;
  letter-spacing: 0 !important;
}
#hf-concourse th,
#hf-concourse td {
  padding: 11px 14px !important;
  text-align: left !important;
  vertical-align: middle !important;
  border-bottom: 1px solid var(--line, #e2e2e3) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
#hf-concourse th {
  background: rgba(255, 255, 255, .03) !important;
  color: var(--muted-foreground, #67676c) !important;
  /* 12px, matching the strip — the board's two label sizes agree */
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
#hf-concourse td { color: var(--ink, oklch(0.2 0.012 55)) !important; }
#hf-concourse tr:last-child td { border-bottom: 0 !important; }
#hf-concourse td.hf-dest {
  font-weight: 600 !important;
  color: var(--ink-strong, #f5f5f4) !important;
}
/* Status reads as state: one green for running, one amber for open. */
#hf-concourse .hf-ontime { color: var(--ok, #7dba6a) !important; }
#hf-concourse .hf-open { color: var(--amber, #dafa9c) !important; }

/* --- board footer ----------------------------------------------------------- */
#hf-concourse .hf-foot {
  margin-top: 56px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--line, #e2e2e3) !important;
}
#hf-concourse .hf-foot-in {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 12px 24px !important;
  /* 14px — the smallest reading size on the board */
  font-size: 14px !important;
  color: var(--muted-foreground, #67676c) !important;
}
#hf-concourse .hf-foot-in span:last-child { display: flex !important; flex-wrap: wrap !important; gap: 16px !important; }
#hf-concourse .hf-foot a {
  color: var(--muted-foreground, #67676c) !important;
  text-decoration: none !important;
}
#hf-concourse .hf-foot a:hover { color: var(--ink-strong, #f5f5f4) !important; }
#hf-concourse .hf-foot code {
  padding: 2px 6px !important;
  border-radius: 4px !important;
  background: rgba(255, 255, 255, .05) !important;
  color: var(--ink, oklch(0.2 0.012 55)) !important;
  font-size: 12px !important;
}

/* --- narrow ----------------------------------------------------------------- */
@media (max-width: 900px) {
  #hf-concourse { padding: 44px 16px 64px !important; }
  #hf-concourse .hf-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }
  #hf-concourse h2,
  #hf-concourse .hf-grid h2 { max-width: none !important; font-size: 24px !important; }
  #hf-concourse .hf-strip { margin-bottom: 28px !important; }
  #hf-concourse th,
  #hf-concourse td { padding: 10px 11px !important; font-size: 12.5px !important; }
  #hf-concourse .hf-foot { margin-top: 40px !important; }
}

/* ============================================================================
   One landing at a time.

   The page served at howtofix.id/ is a static document that already contains a
   full landing (`.hf-lp-manifest`, `.hf-lp-hero`, `.hf-lp-split`, `.hf-lp-start`,
   `.hf-lp-cli`, `.hf-lp-notes`, `.hf-foot` — ~2415px of content). air.js then
   runs on that same page and *appends* its own board (`#hf-concourse`) to
   document.body when it considers the home route to be showing:

     function ensureBoard() {
       if (!isHome() && !homeTemplateMounted()) { ...remove...; return; }
       document.documentElement.classList.add("hf-landing");
       ...
       document.body.appendChild(el);
     }

   Append, not replace. So the reader gets two landings stacked — H1 "One key.
   Every model." at y=163 from the static page, then H2 "HOWTOFIX MODEL ACCESS"
   at y=2554 from the board — 3118px of page with two heroes and two footers.

   That also explains the type census: thirteen distinct sizes, with the odd ones
   (15.2, 16.32, 16.8, 17.2, 21.6) all coming from the static page's own blocks.
   No amount of restyling the board fixes that, because the problem was never
   styling — it was two compositions rendering at once.

   air.js marks the html element with `hf-landing` exactly when the board is
   live. The static page's own blocks are therefore hidden only under that
   marker, so the page still renders correctly if the board never mounts.
   ============================================================================ */



/* ============================================================================
   The board's leftover slab.

   #hf-concourse was a fixed, full-viewport panel (`position: fixed; inset: 64px
   0 0 0; overflow: auto`) and carried a min-height with it. Turning it into a
   normal section removed the positioning but not that height, so the section
   stayed 703px tall around ~250px of content and left an empty band under the
   footer — visible as a large blank panel below "HowToFix · howtofix.id · API".

   The min-height is dropped so the section sizes to its content, and the
   footer's top rule is restored to full strength so the last line reads as a
   footer rather than as text floating in space.
   ============================================================================ */

#hf-concourse {
  min-height: 0 !important;
  height: auto !important;
}

/* The footer sits inside the section, so it needs the section's own padding
   removed beneath it to avoid a second empty band. */
#hf-concourse .hf-foot {
  margin-top: 48px !important;
  margin-bottom: 0 !important;
  padding-top: 20px !important;
  padding-bottom: 0 !important;
  border-top: 1px solid var(--line, #e2e2e3) !important;
}

#hf-concourse .hf-foot-in {
  padding-bottom: 0 !important;
}

/* The section's own bottom padding is the last thing before the page ends. */
html.hf-landing body.hf-lp #hf-concourse {
  padding-bottom: 64px !important;
}

/* ============================================================================
   Dark-only guard (DESIGN-NEW, 2026-11-10).

   The block here used to be a light-theme selector that pinned a white canvas,
   a green --ok and 8px buttons whenever .dark was absent. air.js only adds
   .dark when a stored theme says dark, so a visitor with no cookie got a light
   page. The design has no light theme. Re-declare the canonical dark tokens
   for EVERY hf-board document so no light value can ever win.
   ============================================================================ */
html.hf-board,
html.hf-board body,
html.hf-board body.hf-lp,
html.hf-board body.hf-doc {
  --board: #0e0e0e;
  --board-2: #191919;
  --flap: #1f1f20;
  --ink: #ffffff;
  --ink-strong: #ffffff;
  --muted-foreground: #a7a9ac;
  --muted: #1f1f20;
  --line: rgb(255 255 255 / 10%);
  --line-soft: rgb(255 255 255 / 6%);
  --primary: #dafa9c;
  --primary-foreground: #0f0f0f;
  --amber: #dafa9c;          /* kept under the old name so existing rules follow */
  --ok: #dafa9c;             /* one violet accent; no green success colour */
  --commit: #dafa9c;
  --commit-lo: #c6ec7f;
  --btn-radius: 30px;
  --btn-lift: 0 0 0 transparent;
  --btn-lift-sm: 0 0 0 transparent;

  background: var(--board) !important;
  color: var(--ink) !important;
  letter-spacing: normal !important;
  color-scheme: dark;
}

html.hf-board ::selection { background: color-mix(in oklch, var(--primary) 22%, transparent); color: #1c1c1e; }

/* --- the board (landing) --------------------------------------------------- */
html.hf-board #hf-concourse {
  background: var(--board) !important;
  color: var(--ink) !important;
  padding: 56px 24px 72px !important;
}
html.hf-board #hf-concourse .hf-strip {
  border-bottom: 1px solid var(--line) !important;
  color: var(--muted-foreground) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 13px !important;
}
html.hf-board #hf-concourse .hf-strip > span:first-child { color: var(--ink) !important; }
html.hf-board #hf-concourse #hf-clock { color: var(--muted-foreground) !important; }

html.hf-board #hf-concourse h2 {
  color: var(--ink-strong, #1c1c1e) !important;
  -webkit-text-fill-color: var(--ink-strong, #1c1c1e) !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -.02em !important;
  text-transform: none !important;
}
html.hf-board #hf-concourse p.hf-lede { color: var(--ink) !important; font-size: 16px !important; line-height: 1.6 !important; }
html.hf-board #hf-concourse p.hf-sub  { color: var(--muted-foreground) !important; font-size: 14px !important; line-height: 1.6 !important; }
html.hf-board #hf-concourse p.hf-sub a { color: var(--amber, #dafa9c) !important; }

html.hf-board #hf-concourse .hf-actions a {
  font-size: 14px !important; font-weight: 500 !important;
  text-transform: none !important; letter-spacing: normal !important;
  border-radius: 8px !important;
}
html.hf-board #hf-concourse .hf-actions a.hf-go {
  background: var(--commit, #dafa9c) !important; border-color: var(--commit, #dafa9c) !important; color: #ffffff !important;
  box-shadow: none !important;
}
html.hf-board #hf-concourse .hf-actions a.hf-go:hover { background: var(--commit-lo, #c6ec7f) !important; border-color: var(--commit-lo, #c6ec7f) !important; }
html.hf-board #hf-concourse .hf-actions a.hf-alt {
  background: var(--board-2) !important; color: var(--ink) !important; border: 1px solid var(--line) !important;
}
html.hf-board #hf-concourse .hf-actions a.hf-alt:hover { background: #ececed !important; }

html.hf-board #hf-concourse table {
  background: var(--board) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  letter-spacing: normal !important;
}
html.hf-board #hf-concourse th,
html.hf-board #hf-concourse td {
  padding: 8px 16px !important;
  border-bottom: 1px solid var(--line) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}
html.hf-board #hf-concourse th {
  background: var(--board-2) !important;
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
html.hf-board #hf-concourse td { color: var(--ink) !important; }
html.hf-board #hf-concourse td.hf-dest { color: var(--ink-strong, #1c1c1e) !important; font-weight: 600 !important; }
html.hf-board #hf-concourse .hf-ontime { color: #1f9d6b !important; }
html.hf-board #hf-concourse .hf-open { color: #b4761b !important; }

html.hf-board #hf-concourse .hf-foot {
  border-top: 1px solid var(--line) !important;
  color: var(--muted-foreground) !important;
}
html.hf-board #hf-concourse .hf-foot-in { color: var(--muted-foreground) !important; font-size: 14px !important; }
html.hf-board #hf-concourse .hf-foot a { color: var(--muted-foreground) !important; }
html.hf-board #hf-concourse .hf-foot a:hover { color: var(--ink) !important; }
html.hf-board #hf-concourse .hf-foot code {
  background: var(--board-2) !important; color: var(--ink) !important; border-radius: 4px !important;
}

/* --- header ---------------------------------------------------------------- */
/* Only the masthead. A bare `header` selector also matched the page's own
   <header> elements -- the price board's first screen, for one -- and closed
   them with a rule and a board-coloured background they never asked for. */
html.hf-board header.hf-top,
html.hf-board .hf-top {
  background: var(--board) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: none !important;
}
html.hf-board header a[href="/"]:not(nav a) span,
html.hf-board .hf-brand { color: var(--ink-strong, #1c1c1e) !important; }
html.hf-board header nav a,
html.hf-board header nav [data-slot="navigation-menu-trigger"],
html.hf-board .hf-top-nav a {
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
html.hf-board header nav a:hover,
html.hf-board header nav [data-slot="navigation-menu-trigger"]:hover,
html.hf-board header nav [data-slot="navigation-menu-trigger"][data-popup-open],
html.hf-board .hf-top-nav a:hover { color: var(--ink-strong, #1c1c1e) !important; }
html.hf-board .hf-top-nav a[aria-current="page"],
html.hf-board header nav a[aria-current="page"],
html.hf-board header nav [data-slot="navigation-menu-trigger"][aria-current] { color: var(--ink-strong, #1c1c1e) !important; }

/* --- generic surfaces inside the SPA --------------------------------------- */
html.hf-board .bg-background,
html.hf-board .semi-layout,
html.hf-board .semi-layout-content,
html.hf-board .semi-layout-sider,
html.hf-board .semi-navigation-vertical,
html.hf-board aside,
html.hf-board .semi-card,
html.hf-board .semi-modal-content {
  background: var(--board) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
html.hf-board .semi-layout-sider,
html.hf-board .semi-navigation-vertical,
html.hf-board aside {
  border-right: 1px solid var(--line) !important;
}
html.hf-board .semi-navigation-item,
html.hf-board .semi-navigation-item-text {
  color: var(--muted-foreground) !important;
  letter-spacing: normal !important;
}
html.hf-board .semi-navigation-item-selected,
html.hf-board .semi-navigation-item-selected .semi-navigation-item-text { color: var(--ink-strong, #1c1c1e) !important; }

/* --- headings and prose ---------------------------------------------------- */
/* The static board keeps its own face; the docs article renders inside the SPA
   and must inherit `--font-body`, or the handbook reads in a different typeface
   from the rest of the product. */
html.hf-board body.hf-lp h1, html.hf-board body.hf-lp h2, html.hf-board body.hf-lp h3, html.hf-board body.hf-lp h4 {
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
html.hf-board body.hf-lp h1, html.hf-board body.hf-lp h2, html.hf-board body.hf-lp h3, html.hf-board body.hf-lp h4,
html.hf-board body.hf-doc h1, html.hf-board body.hf-doc h2, html.hf-board body.hf-doc h3, html.hf-board body.hf-doc h4,
html.hf-board article.hf-doc-article h1, html.hf-board article.hf-doc-article h2, html.hf-board article.hf-doc-article h3, html.hf-board article.hf-doc-article h4 {
  color: var(--ink-strong, #1c1c1e) !important;
  -webkit-text-fill-color: var(--ink-strong, #1c1c1e) !important;
  text-transform: none !important;
  letter-spacing: -.01em !important;
  font-weight: 600 !important;
}
html.hf-board body.hf-lp h1, html.hf-board body.hf-doc h1, html.hf-board article.hf-doc-article h1 { font-size: 32px !important; line-height: 1.25 !important; letter-spacing: -.02em !important; }
html.hf-board body.hf-lp h2, html.hf-board body.hf-doc h2, html.hf-board article.hf-doc-article h2 { font-size: 20px !important; line-height: 1.4 !important; }
html.hf-board body.hf-lp h3, html.hf-board body.hf-doc h3, html.hf-board article.hf-doc-article h3 { font-size: 16px !important; line-height: 1.5 !important; }

html.hf-board body.hf-lp a:not(.go):not([class*="btn"]):not([class*="sign"]),
html.hf-board body.hf-doc a:not(.go):not([class*="btn"]):not([class*="sign"]) {
  color: var(--ink-strong, #1c1c1e);
  text-decoration-color: color-mix(in oklch, var(--amber) 55%, transparent);
}
html.hf-board body.hf-lp a:not(.go):not([class*="btn"]):not([class*="sign"]):hover,
html.hf-board body.hf-doc a:not(.go):not([class*="btn"]):not([class*="sign"]):hover {
  color: var(--ink-strong, #1c1c1e);
  text-decoration-color: var(--amber);
}

/* --- tables ---------------------------------------------------------------- */
html.hf-board table {
  background: var(--board) !important;
  border: 1px solid var(--line) !important;
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: normal !important;
}
html.hf-board th {
  background: var(--board-2) !important;
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  border-bottom: 1px solid var(--line) !important;
}
html.hf-board td {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--line) !important;
  font-size: 14px !important;
}

/* --- inputs and buttons ----------------------------------------------------- */
html.hf-board input,
html.hf-board textarea,
html.hf-board select {
  background: var(--board) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
html.hf-board input::placeholder { color: var(--muted-foreground) !important; }
html.hf-board :focus-visible { outline: 2px solid var(--amber, #dafa9c); outline-offset: 1px; }

html.hf-board button,
html.hf-board .semi-button {
  border-radius: 8px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
/* The floating header is a 60px pill; the buttons inside it stay 30px pills.
   The old calc(var(--radius) * 1.4) resolved to a boxy corner and beat the
   app's layered pill utility, so it is gone (CDP getMatchedStylesForNode). */
html.hf-board header[data-floating-nav] nav button {
  border-radius: 8px !important;
}
html.hf-board button[type="submit"],
html.hf-board .semi-button-primary {
  background: var(--commit, #dafa9c) !important;
  border-color: var(--commit, #dafa9c) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* --- code ------------------------------------------------------------------ */
html.hf-board article.hf-doc-article code,
html.hf-board .hf-doc-body code {
  background: var(--board-2) !important;
  color: var(--amber, #dafa9c) !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
  font-family: "Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}
html.hf-board article.hf-doc-article pre,
html.hf-board .hf-doc-body pre {
  background: var(--board-2) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
}
html.hf-board article.hf-doc-article pre code,
html.hf-board .hf-doc-body pre code { background: none !important; color: inherit !important; padding: 0 !important; }

/* --- the dark-mode class Tailwind adds needs to stop mattering -------------- */
html.hf-board.dark,
html.hf-board.dark body {
  /* The light block above is the one place the accent fill is declared, and it
     is now dark enough for a white label. Dark surfaces need the opposite: the
     brighter orange, with ink on it. */
  --primary: #dafa9c;
  --primary-foreground: #0f0f0f;
  --amber: #dafa9c;
  --ok: #dafa9c;
  --commit: #dafa9c;
  --commit-lo: #c6ec7f;

  background: var(--board) !important;
  color: var(--ink) !important;
}

/* The light-filled controls in the dark theme: ink on the brighter orange. */
html.hf-board.dark button[type="submit"],
html.hf-board.dark .semi-button-primary,
html.hf-board.dark #hf-consent button,
html.hf-board.dark .hf-consent button,
html.hf-board.dark [class*="cookie"] button,
html.hf-board.dark [class*="cookie"] .hf-ck-ok,
html.hf-board.dark header a[href="/sign-in"],
html.hf-board.dark header a[href="/sign-up"] {
  background: var(--commit) !important;
  border-color: var(--commit) !important;
  color: var(--primary-foreground, #ffffff) !important;
}
html.hf-board.dark button[type="submit"] *,
html.hf-board.dark .semi-button-primary *,
html.hf-board.dark #hf-consent button *,
html.hf-board.dark header a[href="/sign-in"] *,
html.hf-board.dark header a[href="/sign-up"] * {
  color: var(--primary-foreground, #ffffff) !important;
}

/* ============================================================================
   The last dark surfaces under the light theme.

   Three things stayed dark after the theme flipped, all of them with a
   background set as a flat colour on a specific element rather than inherited
   from the tokens, so the earlier block did not reach them:

     .hf-foot      the footer band, painted near-black behind the whole row
     .hf-cookie    the consent panel, same
     .hf-top       the header carried a dark shadow

   Each becomes a light surface with the reference's hairline rule, which is how
   that site separates a band from the page — a 1px #e2e2e3 line, no fill and no
   shadow. The footer keeps its single line of text; it does not need to be a
   slab to read as a footer when the rule above it does that work.
   ============================================================================ */

html.hf-board #hf-concourse .hf-foot,
html.hf-board .hf-foot,
html.hf-board footer.hf-foot {
  background: var(--board) !important;
  border-top: 1px solid var(--line) !important;
  color: var(--muted-foreground) !important;
}
html.hf-board .hf-foot * { color: var(--muted-foreground) !important; }
html.hf-board .hf-foot a { color: var(--muted-foreground) !important; text-decoration: none !important; }
html.hf-board .hf-foot a:hover { color: var(--ink-strong, #1c1c1e) !important; }
html.hf-board .hf-foot code,
html.hf-board .hf-foot kbd {
  background: var(--board-2) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  padding: 2px 6px !important;
}

/* The consent panel: a light card with a hairline, centred and quiet. */
html.hf-board .hf-cookie,
html.hf-board #hf-cookie,
html.hf-board [class*="cookie"] {
  background: var(--board) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  box-shadow: 0 0 0 transparent !important;
}
html.hf-board .hf-cookie *,
html.hf-board [class*="cookie"] * { color: var(--ink) !important; }
html.hf-board [class*="cookie"] a { color: var(--amber, #dafa9c) !important; }
html.hf-board [class*="cookie"] button,
html.hf-board [class*="cookie"] a[class*="btn"],
html.hf-board [class*="cookie"] .hf-ck-ok {
  background: var(--commit, #dafa9c) !important;
  border: 1px solid var(--commit, #dafa9c) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
html.hf-board [class*="cookie"] button * { color: #ffffff !important; }

/* Header shadow was tuned for the dark page; the light page uses a rule.
   Scoped to the masthead's own class: a bare `header` also matched page-level
   <header> elements, which then got a board background and a closing rule. */
html.hf-board header.hf-top,
html.hf-board .hf-top {
  box-shadow: none !important;
  background: var(--board) !important;
  border-bottom: 1px solid var(--line) !important;
}

/* The wordmark and the sign-in chip. */
html.hf-board .hf-brand,
html.hf-board header a[href="/"]:not(nav a) {
  color: var(--ink-strong, #1c1c1e);
  letter-spacing: normal;
  text-transform: none;
}
/* ============================================================================
   Consent panel, the docs shell, and the dashboard shell under the light theme.

   The consent panel is #hf-consent, painted rgb(14,16,20). The earlier block
   guessed at a class containing "cookie" and missed it; this one targets the id
   that actually exists. Consent UI is the wrong place for a dark slab anyway: it
   is a legal notice, and it should read as a quiet card on the page.

   The docs pages and the dashboard are two more shells that were built dark.
   Both follow the reference's geometry:

     docs        a 688px article column with a rail beside it and a rule under
                 the header; the rail's rows are 14px, muted, and go solid on
                 the active row rather than turning a colour
     dashboard   a white sider with a hairline right rule, 14px nav rows, a
                 white content surface, cards separated by hairlines
   ============================================================================ */

/* --- consent --------------------------------------------------------------- */
html.hf-board #hf-consent,
html.hf-board .hf-consent {
  background: var(--board) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 transparent !important;
}
html.hf-board #hf-consent *,
html.hf-board .hf-consent * { color: var(--ink) !important; }
html.hf-board #hf-consent a,
html.hf-board .hf-consent a {
  color: #c6ceff !important;
  text-decoration: underline !important;
  text-decoration-color: var(--amber, #dafa9c) !important;
  text-underline-offset: 2px !important;
}
/* The panel takes its background from --board, so in dark mode it is a dark card
   and the light-surface ink above would sit at 2.23 on it. */
html.hf-board.dark #hf-consent a,
html.hf-board.dark .hf-consent a {
  color: #dafa9c !important;
  text-decoration-color: #dafa9c !important;
}
html.hf-board #hf-consent button,
html.hf-board .hf-consent button {
  background: var(--commit, #dafa9c) !important; border: 1px solid var(--commit, #dafa9c) !important;
  color: #ffffff !important; border-radius: 8px !important; font-weight: 500 !important;
}
html.hf-board #hf-consent button *,
html.hf-board .hf-consent button * { color: #ffffff !important; }
html.hf-board #hf-consent button + button,
html.hf-board #hf-consent a[href*="privacy"],
html.hf-board .hf-consent button + button {
  background: var(--board) !important; color: var(--ink) !important; border-color: var(--line) !important;
}

/* --- docs shell ------------------------------------------------------------- */
html.hf-board body.hf-doc,
html.hf-board .hf-doc {
  background: var(--board) !important;
  color: var(--ink) !important;
}
html.hf-board .hf-doc-shell,
html.hf-board [class*="doc-shell"],
html.hf-board [class*="handbook"] {
  background: var(--board) !important;
  border-color: var(--line) !important;
}
html.hf-board .hf-doc-rail,
html.hf-board [class*="doc-rail"],
html.hf-board [class*="doc-nav"] {
  background: var(--board) !important;
  border-right: 1px solid var(--line) !important;
}
html.hf-board .hf-doc-rail a,
html.hf-board [class*="doc-rail"] a,
html.hf-board [class*="doc-nav"] a {
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  border-radius: 6px !important;
}
html.hf-board .hf-doc-rail a:hover,
html.hf-board [class*="doc-rail"] a:hover { color: var(--ink-strong, #1c1c1e) !important; background: var(--board-2) !important; }
html.hf-board .hf-doc-rail a[aria-current="page"],
html.hf-board [class*="doc-rail"] a[aria-current="page"],
html.hf-board [class*="doc-rail"] a[class*="active"] {
  color: var(--ink-strong, #1c1c1e) !important;
  background: var(--board-2) !important;
  font-weight: 500 !important;
}
html.hf-board .hf-doc-toc,
html.hf-board [class*="doc-toc"] {
  background: var(--board) !important;
  border-left: 1px solid #e2e2e3 !important;
}
html.hf-board .hf-doc-toc a,
html.hf-board [class*="doc-toc"] a { color: var(--muted-foreground) !important; font-size: 13px !important; }
html.hf-board .hf-doc-toc a:hover,
html.hf-board [class*="doc-toc"] a:hover { color: var(--ink-strong, #1c1c1e) !important; }

/* The article column: 688px, the reference's reading measure. */
html.hf-board .hf-doc-body,
html.hf-board [class*="doc-body"],
html.hf-board article.hf-doc-article {
  max-width: 688px !important;
  margin: 0 auto !important;
  background: var(--board) !important;
  color: var(--ink) !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}
html.hf-board .hf-doc-body p,
html.hf-board [class*="doc-body"] p,
html.hf-board article.hf-doc-article p {
  color: var(--ink) !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  margin: 16px 0 !important;
}
html.hf-board .hf-doc-body h1,
html.hf-board article.hf-doc-article h1 {
  color: var(--ink-strong, #1c1c1e) !important; font-size: 32px !important;
  font-weight: 600 !important; line-height: 1.25 !important; letter-spacing: -.02em !important;
}
html.hf-board .hf-doc-body h2,
html.hf-board article.hf-doc-article h2 {
  color: var(--ink-strong, #1c1c1e) !important; font-size: 20px !important;
  font-weight: 600 !important; line-height: 1.4 !important;
  margin: 40px 0 12px !important; border-bottom: 1px solid var(--line) !important; padding-bottom: 8px !important;
}
html.hf-board .hf-doc-body h3,
html.hf-board article.hf-doc-article h3 {
  color: var(--ink-strong, #1c1c1e) !important; font-size: 16px !important; font-weight: 600 !important; margin: 28px 0 8px !important;
}
html.hf-board .hf-doc-body a,
html.hf-board article.hf-doc-article a { color: var(--amber, #dafa9c) !important; text-decoration: none !important; }
html.hf-board .hf-doc-body a:hover,
html.hf-board article.hf-doc-article a:hover { color: var(--commit-lo, #c6ec7f) !important; text-decoration: underline !important; }
html.hf-board .hf-doc-body code,
html.hf-board article.hf-doc-article code {
  background: var(--board-2) !important; color: var(--amber, #dafa9c) !important;
  border: 1px solid #ececed !important; border-radius: 4px !important; padding: 2px 6px !important; font-size: 14px !important;
}
html.hf-board .hf-doc-body pre,
html.hf-board article.hf-doc-article pre {
  background: var(--board-2) !important; color: var(--ink) !important;
  border: 1px solid var(--line) !important; border-radius: 12px !important; padding: 16px !important; overflow-x: auto !important;
}
html.hf-board .hf-doc-body pre code,
html.hf-board article.hf-doc-article pre code {
  background: none !important; border: 0 !important; color: inherit !important; padding: 0 !important;
}
html.hf-board .hf-doc-body blockquote,
html.hf-board article.hf-doc-article blockquote {
  background: var(--board-2) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  padding: 12px 16px !important; border-radius: 6px !important; margin: 20px 0 !important;
}
html.hf-board .hf-doc-body table,
html.hf-board article.hf-doc-article table {
  width: 100% !important; border-collapse: collapse !important;
  border: 1px solid var(--line) !important; border-radius: 12px !important; overflow: hidden !important;
}
html.hf-board .hf-doc-body hr,
html.hf-board article.hf-doc-article hr { border: 0 !important; border-top: 1px solid var(--line) !important; margin: 32px 0 !important; }

/* --- dashboard shell -------------------------------------------------------- */
html.hf-board .hf-dash,
html.hf-board body.hf-dash {
  background: var(--board) !important;
  color: var(--ink) !important;
}
html.hf-board .hf-dash-side,
html.hf-board [class*="dash-side"],
html.hf-board .semi-layout-sider {
  background: var(--board) !important;
  border-right: 1px solid var(--line) !important;
}
html.hf-board .hf-dash-side a,
html.hf-board .semi-navigation-item {
  color: var(--muted-foreground) !important;
  font-size: 14px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  border-radius: 6px !important;
}
html.hf-board .hf-dash-side a:hover,
html.hf-board .semi-navigation-item:hover {
  background: var(--board-2) !important; color: var(--ink-strong, #1c1c1e) !important;
}
html.hf-board .hf-dash-side a[aria-current="page"],
html.hf-board .semi-navigation-item-selected {
  background: var(--board-2) !important; color: var(--ink-strong, #1c1c1e) !important; font-weight: 500 !important;
}

/* Cards read as hairlined surfaces, not as elevated panels. */
html.hf-board .semi-card,
html.hf-board .hf-card {
  background: var(--board) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
html.hf-board .semi-card-header,
html.hf-board .semi-card-body { background: transparent !important; border-color: var(--line) !important; }

/* Statistic blocks: label quiet, number solid. */
html.hf-board .semi-statistic-title { color: var(--muted-foreground) !important; font-size: 13px !important; }
html.hf-board .semi-statistic-content-value { color: var(--ink-strong, #1c1c1e) !important; font-weight: 600 !important; }

/* Charts and tables inherit the light surface. */
html.hf-board .semi-table,
html.hf-board .semi-table-wrapper,
html.hf-board .recharts-surface { background: transparent !important; }
html.hf-board .semi-table-thead th {
  background: var(--board-2) !important; color: var(--muted-foreground) !important;
  font-weight: 600 !important; font-size: 14px !important; text-transform: none !important; letter-spacing: normal !important;
}

/* The sidebar toggle the dashboard adds, and any floating control on it. */
html.hf-board .hf-drawer,
html.hf-board [class*="drawer"] {
  background: var(--board) !important;
  border-color: var(--line) !important;
}
html.hf-board [class*="drawer"] a { color: var(--muted-foreground) !important; font-size: 14px !important; text-transform: none !important; }
html.hf-board [class*="drawer"] a:hover { background: var(--board-2) !important; color: var(--ink-strong, #1c1c1e) !important; }

/* ============================================================================
   Case, one last time.

   air.css sets `text-transform: uppercase` in 13 places. Some of them are
   legitimate — a table header eyebrow, a keyboard hint — but the ones on
   headings, labels and navigation are the loudest remaining difference from the
   reference, which sets almost nothing in caps.

   Specificity is the whole difficulty here. air.js puts `hf-board` on <html> on
   every page, and air.css guards its rules with that same class, so a rule has
   to carry it too or it loses however late it is declared. Every selector below
   names `html.hf-board` for exactly that reason.

   Sentence case is applied rather than `none`: `none` would render whatever the
   markup contains, and some of these elements are written in caps in the source
   (`.hf-top-nav` labels, the sign-in chip). `capitalize` is wrong too — it
   capitalises every word. The elements that render literal caps in their markup
   are fixed at the source separately; here the styling is simply cleared so
   lower-case text stays lower-case.
   ============================================================================ */

/* Headings — the reference sets its h1 in sentence case at 32px. */
html.hf-board body.hf-lp h1,
html.hf-board body.hf-lp h2,
html.hf-board body.hf-lp h3,
html.hf-board body.hf-lp h4,
html.hf-board body.hf-lp h5,
html.hf-board body.hf-lp h6,
html.hf-board body.hf-doc h1,
html.hf-board body.hf-doc h2,
html.hf-board body.hf-doc h3,
html.hf-board body.hf-doc h4,
html.hf-board body.hf-doc h5,
html.hf-board body.hf-doc h6,
html.hf-board .hf-title,
html.hf-board .semi-typography h1,
html.hf-board .semi-typography h2,
html.hf-board .semi-typography h3 {
  text-transform: none !important;
  letter-spacing: -.01em !important;
}

/* Labels and buttons: `Username or email`, not `USERNAME OR EMAIL`. */
html.hf-board label,
html.hf-board .semi-form-field-label,
html.hf-board .semi-form-field-label-text,
html.hf-board button,
html.hf-board .semi-button,
html.hf-board .semi-button span,
html.hf-board a.semi-button,
html.hf-board .semi-tabs-tab,
html.hf-board .semi-select,
html.hf-board .semi-input {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Navigation, in the header and in any rail. */
html.hf-board nav a,
html.hf-board .hf-top-nav a,
html.hf-board .hf-index a,
html.hf-board .semi-navigation-item,
html.hf-board .semi-navigation-item-text,
html.hf-board aside a {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* The header's nav and the sign-in chip are written in caps in the markup, so
   clearing the transform is not enough on its own — they are also the two
   places where caps read as shouting next to a sentence-case page. */
html.hf-board .hf-top-nav a,
html.hf-board .hf-brand,
html.hf-board header a {
  text-transform: lowercase !important;
}
html.hf-board .hf-top-nav a::first-letter,
html.hf-board header a::first-letter {
  text-transform: uppercase !important;
}
html.hf-board .hf-brand span,
html.hf-board header a[href="/"]:not(nav a) span {
  text-transform: none !important;
}

/* Table headers are the one place an eyebrow is right — but the reference sets
   them in sentence case at 600 weight, not in caps, so follow that. */
html.hf-board th,
html.hf-board .semi-table-thead th,
html.hf-board table thead th {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 600 !important;
}

/* Card titles in the dashboard. */
html.hf-board .semi-card-header-title,
html.hf-board .semi-descriptions-key {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ============================================================================
   Correction to the case rules.

   The previous block used `html.hf-board header a { text-transform: lowercase }`
   with a `::first-letter { uppercase }` companion, intending to fix the header's
   nav, whose labels are written in caps in the markup. That selector is too
   broad: the consent panel and the cookie links also sit inside `header`, so
   they were lowercased and then re-capitalised character by character — which is
   how `Cookies` rendered as `COOKIES`, since `::first-letter` has no effect on
   text that follows an inline sibling.

   The narrow fix: only the elements that actually carry caps in their markup,
   named one by one. Everything else goes back to inheriting its own case.
   ============================================================================ */

/* Restore normal inheritance first — undo the broad rule. */
html.hf-board header a,
html.hf-board .hf-top-nav a,
html.hf-board .hf-brand {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* The header's nav labels are authored in caps; these three selectors cover
   exactly them and nothing that lives further down the header. */
html.hf-board .hf-top-nav > a,
html.hf-board .hf-top-in .hf-top-nav a,
html.hf-board header .hf-top-nav a {
  text-transform: lowercase !important;
}
html.hf-board .hf-top-nav > a::first-letter,
html.hf-board .hf-top-in .hf-top-nav a::first-letter {
  text-transform: uppercase !important;
}

/* The sign-in chip in the header. */
html.hf-board .hf-top-in > a[class*="sign"],
html.hf-board .hf-top-in > a[href="/sign-in"],
html.hf-board .hf-top-in > a[href="/sign-up"] {
  text-transform: lowercase !important;
}
html.hf-board .hf-top-in > a[class*="sign"]::first-letter,
html.hf-board .hf-top-in > a[href="/sign-in"]::first-letter,
html.hf-board .hf-top-in > a[href="/sign-up"]::first-letter {
  text-transform: uppercase !important;
}

/* The brand wordmark is a proper noun and stays as authored. */
html.hf-board .hf-brand span { text-transform: none !important; }

/* The consent panel's buttons are already sentence case in the markup; they must
   not be transformed at all. */
html.hf-board #hf-consent a,
html.hf-board .hf-consent a,
html.hf-board #hf-consent button,
html.hf-board .hf-consent button,
html.hf-board header #hf-consent a,
html.hf-board header #hf-consent button {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* ============================================================================
   Header nav: capitalising the first letter properly.

   `::first-letter` cannot do this job. On an inline element it only selects the
   first letter of the first line box, and the header's nav labels are plain
   inline anchors, so the rule matched for exactly one of them and the rest
   rendered as authored — lower case.

   `capitalize` is the correct tool: it upper-cases the first letter of every
   word and leaves the rest alone. The labels are single words, so it produces
   `Home`, `Console`, `Models`, `Docs`. The nav labels themselves are
   authored in caps in the markup, which is why the transform is needed at all;
   the two-word label is the one case that needs care, and `capitalize` handles
   it where a single-letter rule would not.
   ============================================================================ */

html.hf-board .hf-top-nav > a,
html.hf-board .hf-top-in .hf-top-nav a,
html.hf-board header .hf-top-nav a {
  text-transform: none !important;
  font-variant-caps: normal !important;
}
html.hf-board .hf-top-nav > a::first-letter,
html.hf-board .hf-top-in .hf-top-nav a::first-letter { text-transform: none !important; }

/* Apply sentence case through the element's own text via a nested span is not
   available, so the property does the work on the whole label. */
html.hf-board .hf-top-nav a {
  text-transform: capitalize !important;
  letter-spacing: normal !important;
}

html.hf-board .hf-top-in > a[href="/sign-in"],
html.hf-board .hf-top-in > a[href="/sign-up"],
html.hf-board .hf-top-in > a[class*="sign"] {
  text-transform: capitalize !important;
  letter-spacing: normal !important;
}
html.hf-board .hf-top-in > a[href="/sign-in"]::first-letter,
html.hf-board .hf-top-in > a[href="/sign-up"]::first-letter { text-transform: none !important; }

/* ============================================================================
   Landing: the text the dark theme tuned to be dim.

   The static page was designed against #ffffff, where a muted grey reads as
   quiet. On #ffffff the same values fall below a readable contrast: the step
   list and the CLI section came out at roughly 2:1, and the manifest's labels
   nearly vanish.

   Measured against the reference palette, which keeps exactly two text weights
   on white — body at oklch(0.2 0.012 55) (12.6:1) and secondary at #67676c (6.0:1) — these
   are set to the secondary weight. Anything that is a heading or a label people
   need to read goes to the body weight instead.

   The `!important` flags are required: air.css guards its own rules with
   `html.hf-board`, and air.js puts that class on <html> for every page.
   ============================================================================ */

/* The manifest strip: a label row, so both weights need to be legible. */
html.hf-board body.hf-lp .hf-lp-manifest,
html.hf-board body.hf-lp .hf-lp-manifest-in { color: var(--muted-foreground) !important; }
html.hf-board body.hf-lp .hf-lp-manifest-in .hf-lp-tag,
html.hf-board body.hf-lp .hf-lp-manifest-in > span { color: var(--ink) !important; }
html.hf-board body.hf-lp .hf-lp-manifest-in .hf-lp-sep { color: #c2c2c4 !important; }
html.hf-board body.hf-lp .hf-lp-clock-wrap,
html.hf-board body.hf-lp #hf-clock { color: var(--muted-foreground) !important; }

/* The step list: the numbers are a marker, the text is the content. */
html.hf-board body.hf-lp .hf-lp-steps,
html.hf-board body.hf-lp .hf-lp-steps li { color: var(--ink) !important; }
html.hf-board body.hf-lp .hf-lp-steps li::marker,
html.hf-board body.hf-lp .hf-lp-steps li > strong { color: var(--muted-foreground) !important; }

/* The CLI section: the paragraph and the trailing note were the dimmest text
   on the page. Both carry real information, so both go to body weight. */
html.hf-board body.hf-lp .hf-lp-cli > p,
html.hf-board body.hf-lp .hf-lp-cli .hf-lp-foot-note { color: var(--ink) !important; }
html.hf-board body.hf-lp .hf-lp-cli a { color: #1f9d6b !important; }

/* The two columns of the integration panel. */
html.hf-board body.hf-lp .hf-lp-col,
html.hf-board body.hf-lp .hf-lp-col p { color: var(--ink) !important; }
html.hf-board body.hf-lp .hf-lp-col h2,
html.hf-board body.hf-lp .hf-lp-col > p:first-of-type { color: var(--ink-strong, #1c1c1e) !important; }
html.hf-board body.hf-lp .hf-lp-col table td { color: var(--ink) !important; }

/* The notes: the lead sentence is bold and should read as the emphasis, the
   rest is body. */
html.hf-board body.hf-lp .hf-lp-note p { color: var(--ink) !important; }
html.hf-board body.hf-lp .hf-lp-note strong { color: var(--ink-strong, #1c1c1e) !important; }

/* The lede under the hero. */
html.hf-board body.hf-lp .hf-lp-lede { color: var(--ink) !important; }

/* The code sample: dark ink on the panel surface, readable at 14px. */
html.hf-board body.hf-lp pre.hf-lp-code,
html.hf-board body.hf-lp pre.hf-lp-code code { color: var(--ink) !important; }

/* Inline code that appears in a sentence. */
html.hf-board body.hf-lp p code,
html.hf-board body.hf-lp li code { color: #1f9d6b !important; }

/* --- dark: handbook pages and landing ---------------------------------------
   The handbook pages carry their own light palette on `html.hf-board body.hf-doc`
   and the landing on `html.hf-board body.hf-lp`, with no dark counterpart, so
   Dark left them white. These selectors carry one extra class over those blocks,
   so they win without `!important`. Values are this stylesheet's own dark block,
   so the static pages match the application pages exactly. */
html.hf-board.dark body.hf-doc,
html.hf-board.dark body.hf-lp {
  --board: #0e0e0e;
  --board-2: #191919;
  --flap: #1f1f20;
  --ink: #ffffff;
  --ink-strong: #ffffff;
  --muted: #1f1f20;
  --muted-foreground: #a7a9ac;
  --line: rgb(255 255 255 / 10%);
  --line-soft: rgb(255 255 255 / 6%);
  color-scheme: dark;
}

/* Surfaces that the light blocks paint with a literal rather than a token:
   the handbook header and sheet, the landing header, and the board footer. */
html.hf-board.dark body.hf-doc .hf-top,
html.hf-board.dark body.hf-doc .hf-sheet,
html.hf-board.dark body.hf-lp .hf-top {
  background: var(--board) !important;
  border-color: var(--line) !important;
}
html.hf-board.dark body.hf-doc .hf-top {
  border-bottom: 1px solid var(--line) !important;
}
html.hf-board.dark ::selection { background: oklch(0.75 0.17 55 / 28%); color: oklch(0.985 0 0); }

/* --- dark: handbook header and CTA ------------------------------------------
   The handbook palette's dark half above covers the surfaces and body text.
   Three elements keep a colour the light block fixes directly, and on a dark
   header they measured at 1.16 ("the current nav item"), 2.34 ("Sign in") and
   2.39 ("Get a key"). `--ink-strong` in particular was still near-black on a
   near-black header. Give the dark palette the remaining tokens and repaint the
   filled button for a dark surface. */
html.hf-board.dark body.hf-doc {
  --ink-strong: oklch(0.985 0.004 65);
  --primary: #dafa9c;
  --primary-foreground: #0f0f0f;
  --commit: #dafa9c;
  --amber: #dafa9c;
}

html.hf-board.dark body.hf-doc .hf-top-nav a:hover,
html.hf-board.dark body.hf-doc .hf-signin:hover {
  background: oklch(1 0 0 / 8%) !important;
}

/* The filled "Get a key" button: an ink-on-accent pair, not cream on green. */
html.hf-board.dark body.hf-doc .hf-sheet .actions .go,
html.hf-board.dark body.hf-doc .actions .go {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
}
html.hf-board.dark body.hf-doc .hf-sheet .actions a:not(.go) {
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

/* --- dark: sign-in chip -----------------------------------------------------
   The last element on the handbook header still on the light palette: measured
   2.40 against a 30,30,30 header while every sibling link reads 8.33 - 13.75.
   Paint it explicitly for the dark surface rather than inheriting a value that
   the light block fixes for a white header. */
html.hf-board.dark body.hf-doc .hf-top .hf-signin {
  color: oklch(0.985 0 0) !important;
  background: transparent !important;
  border-color: oklch(1 0 0 / 22%) !important;
}
html.hf-board.dark body.hf-doc .hf-top .hf-signin:hover {
  background: oklch(1 0 0 / 8%) !important;
  border-color: oklch(1 0 0 / 38%) !important;
  color: oklch(1 0 0) !important;
}

/* --- handbook accent: repeated class, wins on specificity --------------------
   The index's current-page link is styled by each page's <style> with
   `color: var(--amber) !important` (`--amber: #dafa9c`), a green on an amber tint
   (`rgba(218, 250, 156,.10)` -> #fdf7ea over white) measuring 2.35.

   Two earlier attempts failed for different reasons: repeating the `body` element
   asked for two nested bodies and matched nothing; `:is(.hf-doc)` matches but
   contributes no specificity beyond the class that was already there, so the
   page's rule still won the source-order tiebreak.

   A repeated class does add weight and can legally sit on one element:
   `body.hf-doc.hf-doc` matches the single body and carries (0,4,3) against the
   page's (0,3,3), so this wins wherever the sheet is loaded from. */
html.hf-board body.hf-doc.hf-doc { --index-accent: #dafa9c; }
html.hf-board.dark body.hf-doc.hf-doc { --index-accent: #dafa9c; }

html.hf-board body.hf-doc.hf-doc .hf-index a[aria-current="page"] {
  color: var(--index-accent) !important;
}
html.hf-board body.hf-doc.hf-doc .hf-index a:hover {
  color: var(--index-accent) !important;
}
html.hf-board body.hf-doc.hf-doc .hf-sheet a {
  color: var(--index-accent) !important;
  text-decoration-color: color-mix(in oklab, var(--index-accent) 45%, transparent);
}

/* --- code and consent: accent readable on light surfaces ---------------------
   Inline <code> in the handbook and the consent panel's secondary button paint
   the accent on a near-white surface. They use the same per-theme token as the
   index link, so the light palette takes the darker orange and the dark surfaces
   keep the bright orange. */
html.hf-board body.hf-doc.hf-doc .hf-sheet code {
  color: var(--index-accent) !important;
}
html.hf-board #hf-consent .hf-more {
  color: var(--index-accent) !important;
  background: var(--board, #ffffff) !important;
  border-color: var(--line, #e2e2e3) !important;
}
html.hf-board #hf-consent .hf-more:hover {
  color: var(--ink-strong, #1c1c1e) !important;
}
html.hf-board #hf-consent .hf-ok {
  background: var(--commit, #dafa9c) !important;
  color: #ffffff !important;
}

/* --- CTA: label must read on the accent fill -------------------------------- */
html.hf-board body.hf-doc.hf-doc .hf-sheet .actions .go,
html.hf-board body.hf-doc.hf-doc .actions .go {
  color: #ffffff !important;
  background: var(--primary, #dafa9c) !important;
  text-shadow: none !important;
}
html.hf-board body.hf-doc.hf-doc .hf-sheet .actions .go:hover,
html.hf-board body.hf-doc.hf-doc .actions .go:hover {
  color: #ffffff !important;
  background: var(--commit-lo, #c6ec7f) !important;
}

/* --- SPA header: icon controls need a target size --------------------------
   The header's rule gives every anchor and button `border-radius: 2px` but no
   size, so the SPA's icon controls (theme, language, notifications) collapse to
   zero width and the nav's right edge runs past the Sign in chip. Size them like
   the rest of the SPA's controls and let the clusters breathe. */
html.hf-board body.hf-lp header nav,
html.hf-board body.hf-doc header nav {
  margin-right: 12px;
}

/* --- handbook article in the SPA -------------------------------------------
   The handbook used to be static HTML on `body.hf-doc`; it now renders inside
   the app at /docs, /cli, /overview and the legal pages, where the only hook is
   `article.hf-doc-article`. The article rules further up cover paragraphs,
   headings, code and pre, but not lists, table cells, the lede, the note or the
   closing actions, so those fell back to the reset: no bullets, no spacing,
   cells pressed together, and "Get a key" running into "CLI handbook".

   Colours come from the board tokens so both themes follow. Link and code text
   are re-picked for contrast: the accent green on white reads 2.3, so light
   links use ink with an accent underline, the same treatment bare anchors get
   elsewhere in the skin. */
html.hf-board article.hf-doc-article > h1 {
  margin: 0 0 16px !important;
}
/* The page header inside the article (title, description) is the page's own
   masthead, not a heading in the body: it takes the larger display size and
   the body's first heading keeps its own scale below it. */
/* Article blocks reveal as they arrive. The classes are added by
   features/handbook/lib/use-article-reveal.ts, so a reader without script or
   with reduced motion gets the plain article. */
@media (prefers-reduced-motion: no-preference) {
  html.hf-board article.hf-doc-article .hf-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }
  html.hf-board article.hf-doc-article .hf-reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
/* A heading reached from the table of contents must not land under the
   floating header, so the scroll target stops short of the top edge. */
html.hf-board article.hf-doc-article h2[id],
html.hf-board article.hf-doc-article h3[id] {
  scroll-margin-top: 6.5rem;
}

@media print {
  html.hf-board article.hf-doc-article .hf-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

html.hf-board article.hf-doc-article .hf-doc-head h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  margin: 0 !important;
}
html.hf-board article.hf-doc-article .hf-doc-head p {
  margin: 12px 0 0 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--muted-foreground) !important;
}
html.hf-board article.hf-doc-article .hf-doc-head .hf-doc-kicker {
  margin: 0 0 12px !important;
  font-size: 11px !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--muted-foreground) !important;
}
/* Left-aligned in its column: `margin: 0 auto` centred the 688px measure
   inside a three-column grid and left a dead gutter on both sides. */
html.hf-board article.hf-doc-article {
  margin: 0 !important;
}
html.hf-board article.hf-doc-article .lede {
  color: var(--ink-strong, #1c1c1e) !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  margin: 0 0 16px !important;
}
html.hf-board article.hf-doc-article .hf-note {
  background: var(--board-2) !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  margin: 20px 0 !important;
  font-size: 15px !important;
}
html.hf-board article.hf-doc-article h2:first-child,
html.hf-board article.hf-doc-article .lede + h2 { margin-top: 32px !important; }
html.hf-board article.hf-doc-article h2,
html.hf-board article.hf-doc-article h3 {
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}
html.hf-board article.hf-doc-article strong { color: var(--ink-strong, #1c1c1e) !important; font-weight: 600 !important; }

html.hf-board article.hf-doc-article ul,
html.hf-board article.hf-doc-article ol {
  margin: 12px 0 16px !important;
  padding-left: 24px !important;
}
html.hf-board article.hf-doc-article ul { list-style: disc !important; }
html.hf-board article.hf-doc-article ol { list-style: decimal !important; }
html.hf-board article.hf-doc-article li {
  color: var(--ink) !important;
  line-height: 1.7 !important;
  margin: 6px 0 !important;
  padding-left: 4px !important;
}
html.hf-board article.hf-doc-article li::marker { color: var(--muted-foreground) !important; }

html.hf-board article.hf-doc-article table {
  margin: 16px 0 20px !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
}
html.hf-board article.hf-doc-article th,
html.hf-board article.hf-doc-article td {
  padding: 10px 14px !important;
  text-align: left !important;
  vertical-align: top !important;
  line-height: 1.55 !important;
}
/* A long URL may break only when it cannot fit at all; `anywhere` would shrink
   the column to its narrowest and split "QuotaForNewUser" or "Credential". */
html.hf-board article.hf-doc-article td code { overflow-wrap: break-word !important; }
@media (max-width: 640px) {
  /* On a phone the table scrolls sideways instead of shrinking its cells: a
     URL broken across two lines ("https://howt / ofix.id") is worse to read
     than a table the reader can push. The code keeps `break-word`, so a cell
     still wraps at a space rather than mid-token. */
  html.hf-board article.hf-doc-article table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  html.hf-board article.hf-doc-article th,
  html.hf-board article.hf-doc-article td { padding: 8px 10px !important; }
}
html.hf-board article.hf-doc-article th { font-size: 13px !important; }
html.hf-board article.hf-doc-article tr:last-child td { border-bottom: 0 !important; }

html.hf-board article.hf-doc-article pre {
  margin: 12px 0 20px !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
html.hf-board article.hf-doc-article code { border-color: var(--line) !important; font-size: 13px !important; }
html.hf-board article.hf-doc-article :not(pre) > code { color: #dafa9c !important; }

html.hf-board article.hf-doc-article a:not(.go) {
  color: #dafa9c !important;
  text-decoration: underline !important;
  text-decoration-color: color-mix(in oklch, var(--amber) 70%, transparent) !important;
  text-underline-offset: 3px !important;
}
html.hf-board article.hf-doc-article a:not(.go):hover { text-decoration: underline !important; }

/* Closing actions: a filled "Get a key" beside an outlined secondary link. */
html.hf-board article.hf-doc-article .actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 40px 0 8px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--line) !important;
}
html.hf-board article.hf-doc-article .actions a {
  display: inline-flex !important;
  align-items: center !important;
  height: 40px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  border: 1px solid var(--line) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  color: var(--ink-strong, #1c1c1e) !important;
  background: transparent !important;
}
html.hf-board article.hf-doc-article .actions a:hover { background: var(--board-2) !important; text-decoration: none !important; }
/* The article's links stay violet and underlined; action links do not. */
html.hf-board article.hf-doc-article .actions a:not(.go) {
  color: var(--ink-strong, #1c1c1e) !important;
  text-decoration: none !important;
}
html.hf-board article.hf-doc-article .actions .go {
  border-color: transparent !important;
  background: var(--amber, #dafa9c) !important;
  color: var(--primary-foreground, #ffffff) !important;
}
html.hf-board article.hf-doc-article .actions .go:hover {
  background: color-mix(in oklch, var(--amber, #dafa9c) 88%, black) !important;
  color: var(--primary-foreground, #ffffff) !important;
}

/* --- shadcn card parts ------------------------------------------------------
   `[class*="card"]` above was written for Semi's `.semi-card`, but it also
   matches the parts of the app's own Card: their classes carry `group/card`
   and `…/card:` variants. So a card's header, title, content and footer each
   got a background, a border and a radius of their own, and every card read as
   a stack of boxes. The parts are marked with `data-slot="card-…"`; hand them
   back their component styles. The card surface (`data-slot="card"`) keeps the
   hairline above. */
html.hf-board [data-slot^="card-"] {
  background: revert-layer !important;
  border: revert-layer !important;
  border-radius: revert-layer !important;
  box-shadow: revert-layer !important;
}

/* The catalog rule `.pointer-events-none.absolute { display: none }` is aimed at
   the decorative glow behind the page, but an icon laid over an input carries
   the same two classes — the Models page's search field lost its magnifier to it.
   Icons are never decoration of that kind; keep them. */
html.hf-catalog svg.pointer-events-none.absolute {
  display: block !important;
}

/* --- signed-in console: the app's own design system -------------------------
   The board skin above was written for the landing, the auth pages and the
   handbook, but its element rules reach the console too: every <form> became a
   padded card with a drop shadow, inputs went monospace, labels went to caps,
   every class containing "card" (`bg-card`, `@container/card`, …) grew a border
   of its own, tables gained a second border, and the header's icon rule shrank
   the search field to 32px so its label spilled out.

   AuthenticatedLayout puts `hf-console` on <html>. Under it, each property the
   skin forces is handed back with `revert-layer`: Tailwind's utilities live in
   cascade layers and air.css does not, so reverting the unlayered layer lands on
   the component's own classes. `.hf-console` adds a class over every
   `html.hf-board …` rule it undoes, so the reset wins without touching their
   specificity on the pages they were written for. Tokens, the consent panel and
   brand renames are left alone. */
html.hf-board.hf-console,
html.hf-board.hf-console body,
html.hf-board.hf-console #root,
html.hf-board.hf-console .bg-background,
html.hf-board.hf-console main,
html.hf-board.hf-console aside,
html.hf-board.hf-console [class*="drawer"] {
  background: revert-layer !important;
  color: revert-layer !important;
  font-family: revert-layer !important;
  border-color: revert-layer !important;
  border-right: revert-layer !important;
}
html.hf-board.hf-console :is(p, li, span, div) { color: revert-layer; }
html.hf-board.hf-console :is(a, a:hover),
html.hf-board.hf-console [class*="drawer"] :is(a, a:hover) {
  color: revert-layer !important;
  background: revert-layer !important;
  font-size: revert-layer !important;
  text-decoration-color: revert-layer !important;
  text-transform: revert-layer !important;
}
html.hf-board.hf-console :is(h1, h2, h3, h4, h5, h6),
html.hf-board [data-htf-home] :is(h1, h2, h3, h4, h5, h6) {
  font-family: revert-layer !important;
  font-size: revert-layer !important;
  font-weight: revert-layer !important;
  line-height: revert-layer !important;
  letter-spacing: revert-layer !important;
  text-transform: revert-layer !important;
  color: revert-layer !important;
  -webkit-text-fill-color: revert-layer !important;
  background: revert-layer !important;
}
html.hf-board.hf-console label,
html.hf-board [data-htf-home] label {
  color: revert-layer !important;
  font-family: revert-layer !important;
  text-transform: revert-layer !important;
  letter-spacing: revert-layer !important;
}
html.hf-board.hf-console form,
html.hf-board [data-htf-home] form {
  background: revert-layer !important;
  border: revert-layer !important;
  border-radius: revert-layer !important;
  padding: revert-layer !important;
  box-shadow: revert-layer !important;
}
html.hf-board.hf-console :is(form, form *),
html.hf-board [data-htf-home] :is(form, form *) { min-width: revert-layer !important; }
html.hf-board.hf-console :is(input, textarea, select),
html.hf-board [data-htf-home] :is(input, textarea, select) {
  background: revert-layer !important;
  color: revert-layer !important;
  border: revert-layer !important;
  border-radius: revert-layer !important;
  box-shadow: revert-layer !important;
  font-family: revert-layer !important;
  letter-spacing: revert-layer !important;
  text-transform: revert-layer !important;
}
html.hf-board.hf-console :is(input, textarea)::placeholder,
html.hf-board [data-htf-home] :is(input, textarea)::placeholder {
  color: revert-layer !important;
  opacity: revert-layer;
}
html.hf-board.hf-console :focus-visible,
html.hf-board [data-htf-home] :focus-visible { outline: revert-layer; outline-offset: revert-layer; }
html.hf-board.hf-console :is(button, button[type="submit"], a.bg-foreground, button.bg-foreground, a.bg-background, button.bg-background),
html.hf-board [data-htf-home] :is(button, button[type="submit"], a) {
  background: revert-layer !important;
  border: revert-layer !important;
  border-color: revert-layer !important;
  border-radius: revert-layer !important;
  box-shadow: revert-layer !important;
  color: revert-layer !important;
  font-family: revert-layer !important;
  font-weight: revert-layer !important;
  letter-spacing: revert-layer !important;
  text-transform: revert-layer !important;
}
html.hf-board.hf-console :is(.text-muted-foreground, [class~="text-muted-foreground"], .text-primary, [class~="text-primary"], [class*=":text-primary"]:hover, .text-muted),
html.hf-board [data-htf-home] :is(.text-muted-foreground, [class~="text-muted-foreground"], .text-primary, [class~="text-primary"], [class*=":text-primary"]:hover, .text-muted) {
  color: revert-layer !important;
}
html.hf-board.hf-console [class*="card"],
html.hf-board [data-htf-home] [class*="card"] {
  background: revert-layer !important;
  border: revert-layer !important;
  border-radius: revert-layer !important;
  box-shadow: revert-layer !important;
}
html.hf-board.hf-console :is(table, th, td),
html.hf-board [data-htf-home] :is(table, th, td) {
  background: revert-layer !important;
  border: revert-layer !important;
  border-bottom: revert-layer !important;
  color: revert-layer !important;
  font-family: revert-layer !important;
  font-size: revert-layer !important;
  font-weight: revert-layer !important;
  letter-spacing: revert-layer !important;
  text-transform: revert-layer !important;
}
html.hf-board.hf-console :is(code, pre, pre code),
html.hf-board [data-htf-home] :is(code, pre, pre code) {
  background: revert-layer !important;
  color: revert-layer !important;
  border: revert-layer !important;
  border-radius: revert-layer !important;
  padding: revert-layer !important;
  font-family: revert-layer !important;
}
html.hf-board.hf-console header {
  background: revert-layer !important;
  border-bottom: revert-layer !important;
  box-shadow: revert-layer !important;
  color: revert-layer !important;
}
html.hf-board.hf-console header :is(a, button) {
  width: revert-layer !important;
  height: revert-layer !important;
  min-width: revert-layer !important;
  min-height: revert-layer !important;
  padding: revert-layer !important;
  display: revert-layer !important;
  align-items: revert-layer !important;
  justify-content: revert-layer !important;
  margin-left: revert-layer !important;
}
html.hf-board.hf-console header :is(a, button) svg {
  width: revert-layer !important;
  height: revert-layer !important;
  color: revert-layer !important;
  flex: revert-layer !important;
}
html.hf-board.hf-console header nav { margin-right: revert-layer !important; }
html.hf-board.hf-console header nav ~ * { column-gap: revert-layer !important; }
/* The corner-dot rule above is for the bell's count; an inline label badge
   (the version chip's "Update available") sits in the row at its own size. */
html.hf-board.hf-console header button [class*="badge"]:not(.absolute) {
  font-size: revert-layer !important;
  line-height: revert-layer !important;
  min-width: revert-layer !important;
  width: revert-layer !important;
  height: revert-layer !important;
  padding: revert-layer !important;
  top: revert-layer !important;
  right: revert-layer !important;
  transform: revert-layer !important;
  border: revert-layer !important;
}

/* The human check is a modal step after Create account, not a block in the
   form: inlined it pushed the button off screen and made the form read as two
   halves. The backdrop is a scrim over the page; the card is the only thing
   that takes input while it is open. */
#hf-cap-inline {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: oklch(0 0 0 / 62%);
  backdrop-filter: blur(2px);
}
#hf-cap-inline[hidden] {
  display: none;
}
#hf-cap-inline .hf-cap-card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px;
  background: var(--board-2, #232323);
  border: 1px solid var(--line, #3a3a3a);
  border-radius: var(--radius, 10px);
  box-shadow: 0 0 0 transparent;
}
#hf-cap-inline h2 {
  margin: 0 0 4px;
  font-family: var(--font-sans, "Geist Variable", system-ui, sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink, #f5f5f5);
}
#hf-cap-inline .hf-cap-hint {
  margin: 0 0 16px;
}
#hf-cap-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--muted-foreground, #9aa0a8);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
#hf-cap-close:hover {
  color: var(--ink, #f5f5f5);
  background: oklch(1 0 0 / 8%);
}
#hf-cap-close:focus-visible {
  outline: 2px solid var(--primary, #dafa9c);
  outline-offset: 2px;
}
/* The card arrives rather than appearing; the backdrop fades with it. Both
   are dropped when the reader asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  #hf-cap-inline:not([hidden]) {
    animation: hf-cap-fade 0.18s ease-out;
  }
  #hf-cap-inline:not([hidden]) .hf-cap-card {
    animation: hf-cap-rise 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  }
}
@keyframes hf-cap-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes hf-cap-rise {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

/* Button feedback. The board's buttons had no hover or press state, so a
   click gave no sign it registered. Primary: a touch brighter and raised on
   hover, pressed down on click (in light mode the lift shadow shortens, like
   a key going down). Secondary: see the outline rule above. All: dimmed and
   inert while disabled. Motion is dropped for reduced-motion users. */
html.hf-board button[type="submit"],
html.hf-board [data-auth-primary],
html.hf-board [data-auth-secondary] {
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
  cursor: pointer;
}
html.hf-board button[type="submit"]:hover:not(:disabled),
html.hf-board [data-auth-primary]:hover:not(:disabled) {
  filter: brightness(1.08);
}
html.hf-board button[type="submit"]:active:not(:disabled),
html.hf-board [data-auth-primary]:active:not(:disabled),
html.hf-board [data-auth-secondary]:active:not(:disabled) {
  filter: brightness(0.95);
}
html.hf-board button[type="submit"]:disabled,
html.hf-board [data-auth-primary][aria-disabled="true"],
html.hf-board [data-auth-secondary]:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed;
  filter: none;
  transform: none !important;
}
@media (prefers-reduced-motion: no-preference) {
  html.hf-board button[type="submit"]:hover:not(:disabled),
  html.hf-board [data-auth-primary]:hover:not(:disabled),
  html.hf-board [data-auth-secondary]:hover:not(:disabled) {
    transform: translateY(-1px);
  }
  html.hf-board button[type="submit"]:active:not(:disabled),
  html.hf-board [data-auth-primary]:active:not(:disabled),
  html.hf-board [data-auth-secondary]:active:not(:disabled) {
    transform: translateY(2px);
  }
  html.hf-board button[type="submit"]:active:not(:disabled),
  html.hf-board [data-auth-primary]:active:not(:disabled) {
    box-shadow: var(--btn-lift-sm) !important;
    transform: translateY(3px);
  }
}

/* ============================================================================
   Redesigned HowToFix Cookie & Privacy Card (#hf-consent)
   Placed after .hf-console revert-layer rules so it stays crisp and styled
   identically across public pages and the signed-in console in both themes.
   ============================================================================ */
html.hf-board #hf-consent,
html.hf-board.hf-console #hf-consent,
#hf-consent {
  position: fixed !important;
  left: 1rem !important;
  right: auto !important;
  bottom: 1rem !important;
  z-index: 80 !important;
  width: min(370px, calc(100vw - 2rem)) !important;
  max-width: 370px !important;
  margin: 0 !important;
  padding: 1.05rem 1.15rem !important;
  background: var(--card, var(--board, #ffffff)) !important;
  border: 1px solid var(--border, var(--line, #e2e2e3)) !important;
  border-radius: 8px !important;
  color: var(--foreground, var(--ink, #1c1c1e)) !important;
  font-family: 'Archivo Variable', 'Geist Variable', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: normal !important;
  box-shadow: 0 0 0 transparent !important;
  backdrop-filter: blur(16px) !important;
}

html.hf-board.dark #hf-consent,
html.hf-board.hf-console.dark #hf-consent {
  background: oklch(0.205 0.008 55 / 96%) !important;
  border-color: rgb(255 255 255 / 10%) !important;
  box-shadow: 0 0 0 transparent !important;
}

html.hf-board #hf-consent .hf-consent-head,
html.hf-board.hf-console #hf-consent .hf-consent-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  margin-bottom: 0.65rem !important;
}

html.hf-board #hf-consent .hf-consent-title-wrap,
html.hf-board.hf-console #hf-consent .hf-consent-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  min-width: 0 !important;
}

html.hf-board #hf-consent .hf-consent-icon,
html.hf-board.hf-console #hf-consent .hf-consent-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 10px !important;
  background: color-mix(in oklch, var(--primary, #dafa9c) 14%, transparent) !important;
  border: 1px solid color-mix(in oklch, var(--primary, #dafa9c) 26%, transparent) !important;
  color: var(--primary, #dafa9c) !important;
  flex-shrink: 0 !important;
}

html.hf-board #hf-consent .hf-consent-title,
html.hf-board.hf-console #hf-consent .hf-consent-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  color: var(--foreground, var(--ink-strong, #1c1c1e)) !important;
}

html.hf-board #hf-consent .hf-consent-badge,
html.hf-board.hf-console #hf-consent .hf-consent-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  background: color-mix(in oklch, var(--primary, #dafa9c) 12%, transparent) !important;
  color: var(--primary, #dafa9c) !important;
  border: 1px solid color-mix(in oklch, var(--primary, #dafa9c) 22%, transparent) !important;
}

html.hf-board #hf-consent p,
html.hf-board.hf-console #hf-consent p {
  margin: 0 0 0.85rem !important;
  color: var(--muted-foreground, #52525b) !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  letter-spacing: normal !important;
}

html.hf-board #hf-consent .hf-consent-actions,
html.hf-board.hf-console #hf-consent .hf-consent-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.5rem !important;
}

html.hf-board #hf-consent button,
html.hf-board.hf-console #hf-consent button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  padding: 0 0.9rem !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  font-family: inherit !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: filter 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
}

html.hf-board #hf-consent button.hf-ok,
html.hf-board.hf-console #hf-consent button.hf-ok {
  background: var(--primary, #dafa9c) !important;
  color: var(--primary-foreground, #ffffff) !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

html.hf-board #hf-consent button.hf-ok:hover,
html.hf-board.hf-console #hf-consent button.hf-ok:hover {
  filter: brightness(1.06) !important;
}

html.hf-board #hf-consent button.hf-no,
html.hf-board.hf-console #hf-consent button.hf-no {
  background: var(--muted, #f4f4f5) !important;
  color: var(--foreground, #1c1c1e) !important;
  border: 1px solid var(--border, #e2e2e3) !important;
  box-shadow: none !important;
}

html.hf-board.dark #hf-consent button.hf-no,
html.hf-board.hf-console.dark #hf-consent button.hf-no {
  background: oklch(0.26 0.008 55) !important;
  color: oklch(0.95 0.004 65) !important;
  border-color: oklch(1 0 0 / 14%) !important;
}

html.hf-board #hf-consent button.hf-no:hover,
html.hf-board.hf-console #hf-consent button.hf-no:hover {
  border-color: color-mix(in oklch, var(--primary, #dafa9c) 45%, var(--border, #e2e2e3)) !important;
}

html.hf-board #hf-consent .hf-consent-links,
html.hf-board.hf-console #hf-consent .hf-consent-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin-top: 0.7rem !important;
  padding-top: 0.6rem !important;
  border-top: 1px solid var(--border, var(--line, #e2e2e3)) !important;
}

html.hf-board.dark #hf-consent .hf-consent-links,
html.hf-board.hf-console.dark #hf-consent .hf-consent-links {
  border-top-color: oklch(1 0 0 / 10%) !important;
}

html.hf-board #hf-consent .hf-consent-links a,
html.hf-board.hf-console #hf-consent .hf-consent-links a {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: var(--muted-foreground, #67676c) !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  transition: color 0.15s ease !important;
}

html.hf-board #hf-consent .hf-consent-links a:hover,
html.hf-board.hf-console #hf-consent .hf-consent-links a:hover {
  color: var(--primary, #dafa9c) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

html.hf-board #hf-consent .hf-consent-dot,
html.hf-board.hf-console #hf-consent .hf-consent-dot {
  color: var(--muted-foreground, #a1a1aa) !important;
  opacity: 0.55 !important;
  font-size: 11px !important;
}

@media (max-width: 719px) {
  html.hf-board #hf-consent,
  html.hf-board.hf-console #hf-consent,
  #hf-consent {
    right: 1rem !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* ============================================================================
   Comprehensive Mobile Responsiveness (< 768px & < 480px)
   Ensures zero horizontal overflow and clean stacking on all phone viewports.
   ============================================================================ */
@media (max-width: 768px) {
  html.hf-board #hf-concourse {
    padding: 36px 16px 56px !important;
  }
  html.hf-board #hf-concourse .hf-strip {
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    margin-bottom: 24px !important;
    font-size: 12px !important;
  }
  html.hf-board #hf-concourse .hf-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
  html.hf-board #hf-concourse h2,
  html.hf-board #hf-concourse .hf-grid h2 {
    font-size: clamp(24px, 6.5vw, 30px) !important;
    max-width: none !important;
  }
  html.hf-board #hf-concourse p.hf-lede,
  html.hf-board #hf-concourse p.hf-sub {
    max-width: none !important;
  }
  html.hf-board #hf-concourse table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  html.hf-board #hf-concourse th,
  html.hf-board #hf-concourse td {
    padding: 9px 12px !important;
    font-size: 12.5px !important;
    white-space: nowrap !important;
  }
  html.hf-board #hf-concourse .hf-foot {
    margin-top: 36px !important;
  }
  html.hf-board article.hf-doc-article table,
  html.hf-board .hf-doc-body table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
}

@media (max-width: 480px) {
  html.hf-board #hf-concourse {
    padding: 28px 14px 48px !important;
  }
  html.hf-board #hf-concourse .hf-actions {
    width: 100% !important;
  }
  html.hf-board #hf-concourse .hf-actions a {
    flex: 1 1 auto !important;
    justify-content: center !important;
    text-align: center !important;
  }
  html.hf-board #hf-consent,
  html.hf-board.hf-console #hf-consent,
  #hf-consent {
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: max(0.75rem, env(safe-area-inset-bottom)) !important;
    padding: 0.9rem 1rem !important;
    border-radius: 14px !important;
  }
}

/* ============================================================================
   Dark Mode & Typography Architecture for Handbook & Legal (.hf-doc-article)
   ============================================================================ */
html.hf-board article.hf-doc-article,
html.hf-board .hf-doc-body {
  background: transparent !important;
  max-width: 860px !important;
  border: none !important;
  box-shadow: none !important;
}

html.hf-board.dark article.hf-doc-article,
html.hf-board.dark .hf-doc-body {
  background: transparent !important;
  color: #f1f5f9 !important;
  max-width: 860px !important;
  border: none !important;
  box-shadow: none !important;
}

html.hf-board.dark article.hf-doc-article h1,
html.hf-board.dark article.hf-doc-article h2,
html.hf-board.dark article.hf-doc-article h3,
html.hf-board.dark article.hf-doc-article h4,
html.hf-board.dark article.hf-doc-article strong,
html.hf-board.dark article.hf-doc-article .lede,
html.hf-board.dark .hf-doc-body h1,
html.hf-board.dark .hf-doc-body h2,
html.hf-board.dark .hf-doc-body h3,
html.hf-board.dark .hf-doc-body h4,
html.hf-board.dark .hf-doc-body strong,
html.hf-board.dark .hf-doc-body .lede {
  color: #f8fafc !important;
-webkit-text-fill-color: #f8fafc !important;
}

html.hf-board.dark article.hf-doc-article h2,
html.hf-board.dark .hf-doc-body h2 {
  border-bottom: 0 !important;
  padding-bottom: 8px !important;
  margin-top: 36px !important;
}

html.hf-board.dark article.hf-doc-article p,
html.hf-board.dark article.hf-doc-article li,
html.hf-board.dark .hf-doc-body p,
html.hf-board.dark .hf-doc-body li {
  color: #d4d4d4 !important;
  line-height: 1.75 !important;
}

html.hf-board.dark article.hf-doc-article a:not(.go),
html.hf-board.dark .hf-doc-body a:not(.go) {
  color: #dafa9c !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(218, 250, 156, 0.4) !important;
  text-underline-offset: 3px !important;
}

html.hf-board.dark article.hf-doc-article a:not(.go):hover,
html.hf-board.dark .hf-doc-body a:not(.go):hover {
  color: #7dd3fc !important;
  text-decoration-color: #dafa9c !important;
}

html.hf-board.dark article.hf-doc-article table,
html.hf-board.dark .hf-doc-body table {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin: 20px 0 !important;
}

html.hf-board.dark article.hf-doc-article th,
html.hf-board.dark .hf-doc-body th {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #f8fafc !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  font-weight: 600 !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

html.hf-board.dark article.hf-doc-article td,
html.hf-board.dark .hf-doc-body td {
  color: #cbd5e1 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
}

html.hf-board.dark article.hf-doc-article tr:hover td,
html.hf-board.dark .hf-doc-body tr:hover td {
  background: rgba(255, 255, 255, 0.03) !important;
}

html.hf-board.dark article.hf-doc-article code,
html.hf-board.dark .hf-doc-body code {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #dafa9c !important;
  border-radius: 6px !important;
  padding: 2px 6px !important;
  font-size: 12.5px !important;
}

html.hf-board.dark article.hf-doc-article pre,
html.hf-board.dark .hf-doc-body pre {
  background: #090b10 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  color: #f1f5f9 !important;
  margin: 18px 0 !important;
}

html.hf-board.dark article.hf-doc-article pre code,
html.hf-board.dark .hf-doc-body pre code {
  background: transparent !important;
  border: none !important;
  color: inherit !important;
  padding: 0 !important;
}

html.hf-board.dark article.hf-doc-article blockquote,
html.hf-board.dark article.hf-doc-article .hf-note,
html.hf-board.dark .hf-doc-body blockquote,
html.hf-board.dark .hf-doc-body .hf-note {
  background: rgba(218, 250, 156, 0.08) !important;
  border: 1px solid #dafa9c !important;
  border-radius: 12px !important;
  color: #cbd5e1 !important;
  padding: 12px 16px !important;
  margin: 20px 0 !important;
}

/* ============================================================================
   2026-11-06 redesign: compact consent.
   The notice was a 370px card with an icon, a title, two full-width buttons and
   a link row: on a phone it covered the hero's primary action. It is now a
   small dark card in the corner (one sentence, two buttons, links inline).
   The doubled id outranks every earlier consent rule.
   ============================================================================ */
html body #hf-consent#hf-consent,
html.hf-board body #hf-consent#hf-consent {
  position: fixed !important;
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
  width: min(400px, calc(100vw - 32px)) !important;
  max-width: none !important;
  padding: 14px 16px !important;
  background: oklch(0.19 0.012 55) !important;
  color: oklch(0.96 0.006 70) !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 transparent !important;
  font-family: var(--font-sans, "Geist Variable", system-ui, sans-serif) !important;
  z-index: 60 !important;
}
html body #hf-consent#hf-consent *,
html.hf-board body #hf-consent#hf-consent * { color: inherit !important; }
html body #hf-consent#hf-consent .hf-consent-head { display: none !important; }
html body #hf-consent#hf-consent p {
  margin: 0 0 12px !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: oklch(0.96 0.006 70 / .78) !important;
}
html body #hf-consent#hf-consent .hf-consent-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  align-items: center !important;
}
html body #hf-consent#hf-consent button,
html.hf-board body #hf-consent#hf-consent button {
  flex: 0 0 auto !important;
  width: auto !important;
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: none !important;
  background: oklch(0.96 0.006 70) !important;
  color: oklch(0.19 0.012 55) !important;
  border: 0 !important;
}
html body #hf-consent#hf-consent button *,
html.hf-board body #hf-consent#hf-consent button * { color: oklch(0.19 0.012 55) !important; }
html body #hf-consent#hf-consent button + button,
html body #hf-consent#hf-consent button.hf-no,
html.hf-board body #hf-consent#hf-consent button + button {
  background: oklch(1 0 0 / .1) !important;
  color: oklch(0.96 0.006 70) !important;
}
html.hf-board body #hf-consent#hf-consent button + button * { color: oklch(0.96 0.006 70) !important; }
html body #hf-consent#hf-consent .hf-consent-links {
  display: flex !important;
  gap: 6px !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 12px !important;
  justify-content: flex-start !important;
}
html body #hf-consent#hf-consent .hf-consent-links a,
html.hf-board body #hf-consent#hf-consent .hf-consent-links a {
  color: oklch(0.96 0.006 70 / .6) !important;
  text-decoration: underline !important;
  text-decoration-color: oklch(0.96 0.006 70 / .25) !important;
  text-underline-offset: 3px !important;
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
}

/* 2026-11-06: the docs quickstart sits inside article.hf-doc-article but is an
   interface, not prose. Undo the article's code/pre/list styling inside it. */
html.hf-board article.hf-doc-article [data-hf-workbench][data-hf-workbench] code {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: inherit !important;
}
html.hf-board article.hf-doc-article [data-hf-workbench][data-hf-workbench] pre {
  background: transparent !important;
  color: inherit !important;
  border: 0 !important;
  margin: 0 !important;
  padding: .5rem 1.25rem 1.25rem !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
html.hf-board article.hf-doc-article [data-hf-workbench][data-hf-workbench] ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.hf-board article.hf-doc-article [data-hf-workbench][data-hf-workbench] li {
  margin: 0 !important;
  padding: 0 !important;
}
html.hf-board article.hf-doc-article [data-hf-workbench][data-hf-workbench] a { text-decoration: none !important; }

/* 2026-11-09: the header over the home hero's dark field.
   PublicHeader adds `.dark` while it is transparent over the hero. The older
   header rules above pin colours through these tokens with !important, so the
   tokens are redefined for that one state instead of fighting each selector. */
html.hf-board header.dark {
  --ink-strong: oklch(0.97 0.006 70);
  --ink: oklch(0.97 0.006 70);
  --foreground: oklch(0.97 0.006 70);
  --muted-foreground: oklch(0.97 0.006 70 / .7);
  --board: transparent;
  --line: oklch(1 0 0 / .22);
  --border: oklch(1 0 0 / .22);
}


/* ============================================================================
   2026-11-10 (DESIGN-NEW.md): shape and elevation, written last so it settles
   the older rules above. Pills for actions and tags, 10px inputs, glow instead
   of drop shadow, weight-500 headings. Colour comes from the token block at the
   top of this file.
   ============================================================================ */
html.hf-board [data-auth-panel] [data-auth-primary],
html.hf-board [data-auth-secondary],
html.hf-board .hf-consent button,
html.hf-board #hf-consent#hf-consent button,
html.hf-board body.hf-doc .hf-cta,
html.hf-board body.hf-doc a.hf-btn {
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
}
html.hf-board [data-auth-panel] [data-auth-primary]:hover:not(:disabled) {
  box-shadow: 0 0 0 transparent !important;
  filter: brightness(1.1);
}
html.hf-board [data-auth-secondary] {
  border-color: rgb(218 250 156 / 55%) !important;
  background: transparent !important;
}
html.hf-board [data-auth-secondary]:hover:not(:disabled) {
  border-color: #dafa9c !important;
  background: rgb(218 250 156 / 12%) !important;
}
/* The auth form sits straight on the canvas: no card, no rule. The glow
   belongs to the focused field and the primary action. */
html.hf-board [data-auth-panel] form {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html.hf-board [data-auth-panel] input:where(:not([type="checkbox"]):not([hidden])),
html.hf-board select {
  border-radius: 10px !important;
  background: #0e0e0e !important;
  border-color: #58595b !important;
}
html.hf-board [data-auth-panel] input:focus-visible {
  border-color: #dafa9c !important;
  box-shadow: 0 0 0 0 transparent !important;
}
html.hf-board ::selection { background: rgb(218 250 156 / 55%); color: #ffffff; }
html.hf-board :focus-visible { outline-color: #dafa9c; }
html.hf-board ::-webkit-scrollbar-track { background: #0e0e0e; }
html.hf-board ::-webkit-scrollbar-thumb { background: #414042; border-radius: 8px; }
/* The floating nav pill draws its own border and ground; the older header
   rules must not add a rule under it or repaint it. */
html.hf-board header[data-public-nav="true"] {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
html.hf-board #hf-consent#hf-consent#hf-consent,
#hf-consent#hf-consent#hf-consent {
  border-radius: 8px !important;
  background: #191919 !important;
  border: 1px solid rgb(255 255 255 / 10%) !important;
  box-shadow: 0 12px 32px rgb(0 0 0 / 45%) !important;
  color: #d1d3d4 !important;
}
html.hf-board #hf-consent#hf-consent#hf-consent #hf-consent-ok,
#hf-consent#hf-consent#hf-consent #hf-consent-ok {
  background: #dafa9c !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
html.hf-board #hf-consent#hf-consent#hf-consent #hf-consent-no,
#hf-consent#hf-consent#hf-consent #hf-consent-no {
  background: transparent !important;
  border: 1px solid rgb(218 250 156 / 55%) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
}
html.hf-board #hf-consent#hf-consent#hf-consent a { color: #dafa9c !important; }
/* Every action inside the auth card is a pill, whatever the older rules set. */
html.hf-board [data-auth-panel] button[data-slot="button"]:not([data-slot="input-group"] *) {
  border-radius: 8px !important;
}

/* ============================================================================
   2026-11-10 (DESIGN-NEW.md): final shape, elevation and type pass.
   air.css is unlayered, so these late `!important` declarations win over every
   earlier rule in this file AND over the app's layered utility classes. This is
   the single place the pill language is enforced, so the old scattered 2/4/6/8px
   radii and black drop shadows above can never paint a user-facing surface.
   The [data-htf-home] / hf-console revert-layer rules are deliberately NOT
   overridden here: the SPA keeps ownership of its own component shapes.
   ============================================================================ */
/* Buttons, tags and action links: 30px pills. Inputs: 10px. */
html.hf-board :is(button, [role="button"], .semi-button, .hf-btn, .hf-cta),
html.hf-board #hf-consent button,
html.hf-board .hf-consent button,
html.hf-board .hf-cookie button,
html.hf-board [class*="cookie"] button,
html.hf-board [class*="cookie"] .hf-ck-ok,
html.hf-board #hf-concourse .hf-actions a,
html.hf-board article.hf-doc-article .actions a,
html.hf-board body.hf-doc .hf-sheet .actions a,
html.hf-board body.hf-doc .actions a,
html.hf-board .hf-lp-actions a,
html.hf-board .hf-lp-cta a,
html.hf-board .hf-signin {
  border-radius: 8px !important;
}
html.hf-board :is(input, textarea, select) {
  border-radius: 10px !important;
}
/* The floating navigation pill: 60px, and the buttons inside it stay 30px. */
html.hf-board header[data-floating-nav],
html.hf-board header[data-floating-nav="true"],
html.hf-board [data-floating-nav] {
  border-radius: 60px !important;
}
html.hf-board header[data-floating-nav] nav button,
html.hf-board [data-floating-nav] nav button {
  border-radius: 8px !important;
}
/* Overlays and cards: 20px / 30px, hairline border, glow-only elevation. */
html.hf-board #hf-consent,
html.hf-board .hf-consent,
html.hf-board .hf-cookie,
html.hf-board #hf-cookie,
html.hf-board [class*="cookie"],
html.hf-board #hf-concourse,
html.hf-board .semi-card,
html.hf-board article.hf-doc-article blockquote,
html.hf-board .hf-doc-body blockquote,
html.hf-board article.hf-doc-article .hf-note,
html.hf-board .hf-doc-body .hf-note,
html.hf-board article.hf-doc-article table,
html.hf-board .hf-doc-body table,
html.hf-board article.hf-doc-article :is(pre, code),
html.hf-board .hf-doc-body :is(pre, code) {
  border-radius: 12px !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 0 0 transparent !important;
}
/* The general form card keeps 20px, a hairline and no black drop shadow. */
html.hf-board form {
  border-radius: 12px !important;
  box-shadow: 0 0 0 transparent !important;
}
/* Headline weight: 500 per DESIGN-NEW (RouteFix owns the TSX; this retires the
   `!important` 600 overrides so a font-medium component actually lands). */
html.hf-board :is(h1, h2, h3, h4, h5, h6),
html.hf-board article.hf-doc-article :is(h1, h2, h3),
html.hf-board .hf-doc-body :is(h1, h2, h3),
html.hf-board #hf-concourse :is(h1, h2, h3) {
  font-weight: 500 !important;
}
/* Focus stays visible everywhere air.css touches. */
html.hf-board :focus-visible {
  outline: 2px solid var(--amber, #dafa9c) !important;
  outline-offset: 2px !important;
}

/* ============================================================================
   2026-11-10 palette: soot + lime. Every fill that used to be voltage blue is
   now lime (#dafa9c), so the text on it is soot, not white. Kept last so it
   wins over the older white-on-blue rules above.
   ============================================================================ */
:root, html.dark, html.hf-board, html.hf-board.dark {
  --commit: #dafa9c;
  --commit-lo: #c6ec7f;
  --primary-foreground: #0f0f0f;
}
#hf-concourse .hf-actions a.hf-go,
#hf-captcha-go,
html.hf-board button[type="submit"],
html.hf-board button[type="submit"] *,
html.hf-board .semi-button-primary,
html.hf-board .semi-button-primary *,
html.hf-board [class*="cookie"] .hf-ck-ok,
html.hf-board #hf-consent .hf-ok,
html.hf-board #hf-consent .hf-ok *,
html.hf-board #hf-consent#hf-consent#hf-consent #hf-consent-ok,
#hf-consent#hf-consent#hf-consent #hf-consent-ok,
html.hf-board body.hf-doc.hf-doc .actions .go,
html.hf-board.dark header a[href="/sign-in"],
html.hf-board.dark header a[href="/sign-in"] *,
html.hf-board.dark header a[href="/sign-up"],
html.hf-board.dark header a[href="/sign-up"] * {
  color: #0f0f0f !important;
}

/* Lime fills carry soot text everywhere, including the auth panel's submit
   rules above, which are more specific than the block before this one. */
html.hf-board.hf-board.dark body :is(
  button[type="submit"],
  [data-auth-primary],
  .bg-primary,
  [data-slot="button"].bg-primary
):not(:disabled),
html.hf-board.hf-board.dark body :is(
  button[type="submit"],
  [data-auth-primary],
  .bg-primary,
  [data-slot="button"].bg-primary
):not(:disabled) * {
  color: var(--primary-foreground, #0f0f0f) !important;
}

/* Consent card: links on one aligned row, and a compact card on phones so it
   never covers half the first screen. */
html.hf-board #hf-consent#hf-consent#hf-consent .hf-consent-links,
#hf-consent#hf-consent#hf-consent .hf-consent-links {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 10px !important;
}
#hf-consent#hf-consent#hf-consent .hf-consent-links a {
  margin: 0 !important;
  line-height: 1.4 !important;
  vertical-align: baseline !important;
}
@media (max-width: 640px) {
  html.hf-board #hf-consent#hf-consent#hf-consent,
  #hf-consent#hf-consent#hf-consent {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
    max-width: none !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }
  #hf-consent#hf-consent#hf-consent button {
    min-height: 40px !important;
    padding: 0 16px !important;
  }
}

/* Docs and handbook: no glow, tables and code scroll inside their own box on
   a phone instead of being cut, and headings read in sentence case. */
html.hf-board article.hf-doc-article table {
  display: block !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}
html.hf-board article.hf-doc-article th {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 14px !important;
}
html.hf-board article.hf-doc-article pre {
  max-width: 100% !important;
  overflow-x: auto !important;
  box-shadow: none !important;
}
html.hf-board article.hf-doc-article :not(pre) > code {
  background: #1f1f1f !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #dafa9c !important;
}
html.hf-board :is(code, pre, table, blockquote, aside, .hf-callout) {
  box-shadow: none !important;
}

/* A lime product field keeps soot type, whatever the article text colour. */
html.hf-board.dark body article :is(.ld-product-white, .ld-product-white *),
html.hf-board.dark body :is(.ld-product-white, .ld-product-white *) {
  color: #0f0f0f !important;
}

/* Table headers everywhere (docs, legal, console): sentence case, no tracking. */
html.hf-board th,
html.hf-board.dark body th,
body.hf-legal th {
  text-transform: none !important;
  letter-spacing: normal !important;
}
