/* jobaware.ai: calm and premium, white and frosted (DESIGN.md, from Stripe, Mercury, Ramp and
   Plaid). Tokens first; pages use names, never raw values. Blur only where content passes beneath
   (the sticky nav and the section rail) or frames live data (the home page's live window). Light
   only. */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/static/jobaware/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
/* Attention Head's display face, for its wordmark only (docs/design/ATTENTIONHEAD.md). */
@font-face {
  font-family: "Funnel Display";
  src: url("/static/attentionhead/funnel-display.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
/* Portrait's display face, for its wordmark only (docs/design/PORTRAIT.md). */
@font-face {
  font-family: "Nunito";
  src: url("/static/portrait/nunito.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}

/* Left Join's mono, for its wordmark only (docs/design/LEFTJOIN.md). */
@font-face {
  font-family: "Red Hat Mono";
  src: url("/static/leftjoin/red-hat-mono.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}
/* Level Select's pixel face, for its wordmark only (docs/design/LEVELSELECT.md). */
@font-face {
  font-family: "Oxanium";
  src: url("/static/levelselect/oxanium.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0b1b2e; --slate: #4a5a70; --muted: #5f6e83; --line: #e4e9f0;
  --page: #ffffff; --tint: #f5f7fa; --live: #12805c;
  --warn: #9a4d00; --alert: #b42318;
  --attentionhead: #9b5700; --portrait: #b93219; --leftjoin: #0a7552; --levelselect: #5a34c9;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(11, 27, 46, 0.04), 0 24px 48px -24px rgba(11, 27, 46, 0.18);
  --r-pill: 999px; --r-panel: 16px; --r-mark: 8px;
  --width: 76rem; --gutter: clamp(16px, 4vw, 40px); --measure: 38rem;
  --section: clamp(64px, 9vw, 128px);
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}
[data-site="attentionhead"] { --c: var(--attentionhead); }
[data-site="portrait"] { --c: var(--portrait); }
[data-site="leftjoin"] { --c: var(--leftjoin); }
[data-site="levelselect"] { --c: var(--levelselect); }

/* ---------- base ---------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 400 1.0625rem/1.6 var(--font);
       font-kerning: normal; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(11, 27, 46, 0.12); }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.22em;
    text-decoration-color: rgba(11, 27, 46, 0.3); }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-weight: 450; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
li, dd, td { text-wrap: pretty; }
strong { font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -48px; z-index: 30; padding: 8px 16px; border-radius: var(--r-pill);
        background: var(--ink); color: var(--page); }
.skip:focus { top: 10px; }
input, button { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ---------- buttons ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
       border-radius: var(--r-pill); border: 1px solid transparent; font-size: 0.9375rem; font-weight: 500;
       text-decoration: none; white-space: nowrap; transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease); }
.btn-primary { background: var(--ink); color: var(--page); }
.btn-primary:hover { background: #1d3150; }
.btn-secondary { background: var(--page); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--slate); }
.btn-quiet { color: var(--slate); padding-inline: 12px; }
.btn-quiet:hover { color: var(--ink); text-decoration: underline; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex: none; }

/* ---------- the frame ---------- */

/* The nav is glass: the page passes beneath it. */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.72);
       -webkit-backdrop-filter: blur(16px) saturate(1.8); backdrop-filter: blur(16px) saturate(1.8);
       border-bottom: 1px solid rgba(228, 233, 240, 0.8); }
.nav-in { width: min(var(--width), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center;
          gap: 8px 28px; min-height: 68px; }
.wordmark { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.nav nav { display: flex; gap: 4px; margin-left: auto; font-size: 0.9375rem; }
.nav nav a { padding: 10px 12px; border-radius: var(--r-pill); text-decoration: none; color: var(--slate); }
.nav nav a:hover { color: var(--ink); background: rgba(11, 27, 46, 0.04); }
.nav nav a[aria-current] { color: var(--ink); }
.nav-cta { min-height: 40px; padding: 0 18px; }
@media (max-width: 860px) {
  .nav-in { flex-wrap: wrap; padding-block: 6px; }
  .nav-cta { margin-left: auto; }
  .nav nav { order: 3; width: 100%; margin: 0 -12px; overflow-x: auto; scrollbar-width: none; }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav nav a { white-space: nowrap; }
}

main, .foot-in { width: min(var(--width), 100% - 2 * var(--gutter)); margin-inline: auto; }
main > section + section { margin-top: var(--section); }
section > h2, .pay-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); line-height: 1.1; letter-spacing: -0.025em; }

.foot { margin-top: var(--section); padding: 48px 0 64px; background: var(--tint); border-top: 1px solid var(--line);
        font-size: 0.875rem; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 48px; align-items: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; grid-column: 2; }
.foot nav a { color: var(--slate); text-decoration: none; padding: 4px 0; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot p { grid-column: 2; }
.foot .wordmark { grid-row: 1 / span 3; color: var(--ink); }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } .foot nav, .foot p, .foot .wordmark { grid-column: 1; grid-row: auto; } }

/* ---------- hero ---------- */

.hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 88px) 64px; align-items: center;
        padding-top: clamp(40px, 8vw, 112px); }
.live { font-size: 0.9375rem; color: var(--slate); text-align: center; }
.live .live-dot { display: inline-block; margin-right: 10px; vertical-align: 1px; }
.live strong { color: var(--ink); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(18, 128, 92, 0.14); flex: none; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; }
.hero h1 span { color: var(--slate); }
/* The search is the first thing on the page: centred, large, and above the headline. */
.find-wrap { grid-column: 1 / -1; justify-self: center; width: 100%; max-width: 52rem; display: grid; gap: 18px; justify-items: center; }
.find { width: 100%; display: grid; gap: 18px; justify-items: center; scroll-margin-top: 120px; }
.find input { width: 100%; height: clamp(60px, 5vw + 36px, 76px); padding: 0 clamp(24px, 3vw, 36px); border-radius: var(--r-pill);
              border: 1px solid var(--line); background: var(--page); font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
              letter-spacing: -0.01em; box-shadow: var(--shadow); scroll-margin-top: 160px; transition: border-color 200ms var(--ease); }
.find input::placeholder { color: var(--muted); }
.find input:hover { border-color: var(--slate); }
.find input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-color: var(--ink); }
.find-sites { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.find-in { font-size: 0.9375rem; color: var(--slate); margin-right: 4px; }
.btn-site { background: var(--page); border-color: var(--line); color: var(--ink); }
.btn-site:hover, .btn-site:focus-visible { background: var(--ink); border-color: var(--ink); color: var(--page); }

/* The hand-off dialog: a site's search button leaves for that site's own domain, so say so first. */
.go { width: min(30rem, 100% - 2 * var(--gutter)); max-height: calc(100% - 2 * var(--gutter)); padding: 0; border: 1px solid var(--line);
      border-radius: var(--r-panel); background: var(--page); color: var(--ink); box-shadow: var(--shadow); animation: go-in 180ms var(--ease); }
.go::backdrop { background: color-mix(in srgb, var(--ink) 32%, transparent); }
.go-body { padding: clamp(24px, 5vw, 36px); display: grid; gap: 16px; }
.go-mark { font-size: 1.125rem; }
.go h2 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.02em; }
.go p { color: var(--slate); }
.go p strong { color: var(--ink); }
.go .go-query { color: var(--ink); }
.go-query span { font-weight: 500; overflow-wrap: anywhere; }
.go-actions { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; }
.go .btn { white-space: normal; text-align: center; padding-block: 10px; overflow-wrap: anywhere; }
@keyframes go-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .go { animation: none; } }

/* The live window: the product itself, framed in glass over a faint field of the real pay bands. */
.window { position: relative; border-radius: 20px; isolation: isolate; display: grid; }
.window-field { position: absolute; inset: -24px; z-index: -1; display: grid; align-content: center; gap: 22px; }
.window-field span { display: block; height: 26px; margin-left: var(--lo); width: calc(var(--hi) - var(--lo)); border-radius: var(--r-pill);
                     background: var(--c); opacity: 0.42; }
.window-glass { grid-area: 1 / 1; padding: 24px 24px 12px; border-radius: 20px; background: rgba(255, 255, 255, 0.62);
                -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6);
                border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--shadow); }
.window-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 12px; }
.window-head h2 { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.window-head p { display: inline-flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-top: 1px solid rgba(11, 27, 46, 0.08); }
.feed a { text-decoration: none; grid-column: 1; min-width: 0; }
.feed a:hover .feed-title { text-decoration: underline; text-underline-offset: 0.2em; }
.feed-title { font-weight: 500; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-meta { grid-column: 1; font-size: 0.875rem; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-side { grid-column: 2; grid-row: 1 / span 2; display: grid; justify-items: end; align-content: center; gap: 2px; font-size: 0.875rem; text-align: right; }
.feed-site { display: inline-flex; align-items: center; gap: 6px; color: var(--slate); }
.feed-pay { font-weight: 500; font-variant-numeric: tabular-nums; }
.feed-ago { color: var(--muted); font-size: 0.8125rem; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .window-field { inset: -12px; }
}

/* ---------- counters ---------- */

.counters dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counters dl > div { padding: 28px 24px 28px 0; }
.counters dl > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.counters dt { font-size: 0.875rem; color: var(--slate); }
.counters dd { margin: 8px 0 0; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); font-weight: 450; letter-spacing: -0.02em; line-height: 1.1;
               }
.counters > p { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.counters > p a { color: var(--slate); }
@media (max-width: 860px) {
  .counters dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counters dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .counters dl > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

/* ---------- our sites: rows, not cards ---------- */

.sites ul { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.sites li { display: grid; grid-template-columns: 13rem minmax(0, 1fr) 11rem auto; gap: 12px 32px; align-items: center;
            padding: 28px 0; border-bottom: 1px solid var(--line); }
.site-mark { text-decoration: none; }
.site-offer { color: var(--slate); max-width: var(--measure); }
.site-count { font-size: 0.9375rem; color: var(--slate); }
.site-count strong { color: var(--ink); }
@media (max-width: 860px) {
  .sites li { grid-template-columns: minmax(0, 1fr) auto; }
  .site-offer { grid-column: 1 / -1; }
  .site-count { grid-column: 1; }
  .sites .btn { grid-column: 2; grid-row: 1; }
}
/* On a phone a wordmark and a "Visit" button don't fit on one line: the button follows the count. */
@media (max-width: 560px) {
  .sites li { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sites .btn { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* The sites' own wordmarks, as on their sites (static/brand.css). */
.wm { font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; font-size: 1.375rem; }
.wm-name { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.22em; }
.wm-kind { font-size: max(0.625rem, 0.5em); font-weight: 600; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
/* A site's kind of job, in small capitals under its name wherever the name is a label ("AI jobs"). */
.sitekind { display: block; margin-top: 2px; font-size: 0.625rem; font-weight: 600; line-height: 1.3; letter-spacing: 0.08em;
            text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.wm-attentionhead { display: inline-flex; align-items: center; gap: 8px; font-family: "Funnel Display", var(--font); font-weight: 600; letter-spacing: -0.02em; }
.wm-attentionhead .wm-mark { width: 1.05em; height: 0.95em; fill: currentColor; color: var(--attentionhead); flex: none; }
.wm-portrait { display: inline-flex; align-items: center; gap: 6px; font-family: "Nunito", var(--font); font-weight: 800; letter-spacing: -0.02em; }
.wm-portrait .wm-mark { width: 0.86em; height: 1.04em; flex: none; overflow: visible; }
.wm-portrait .wm-phone { fill: none; stroke: currentColor; stroke-width: 2.2; }
.wm-portrait .wm-badge { fill: var(--portrait); stroke: var(--page); stroke-width: 2; }
.wm-leftjoin { display: inline-flex; align-items: center; gap: 9px; font-family: "Red Hat Mono", var(--mono); font-size: 1.125rem; font-weight: 600; letter-spacing: 0.04em; }
.wm-leftjoin .wm-mark { width: 1.6em; height: 1em; flex: none; overflow: visible; }
.wm-leftjoin .wm-left { fill: var(--leftjoin); }
.wm-leftjoin .wm-right { fill: none; stroke: currentColor; stroke-width: 1.5; }
.wm-levelselect { display: inline-flex; align-items: center; gap: 8px; font-family: "Oxanium", var(--font); font-weight: 700; letter-spacing: 0.01em; }
.wm-levelselect .wm-mark { width: 1em; height: 1em; flex: none; }
.wm-levelselect .wm-tile { fill: none; stroke: currentColor; stroke-width: 2; }
.wm-levelselect .wm-picked { fill: var(--levelselect); stroke: var(--levelselect); }
@media (forced-colors: active) { .wm-attentionhead .wm-mark { color: CanvasText; } .wm-portrait .wm-badge { fill: CanvasText; stroke: Canvas; } .wm-leftjoin .wm-left { fill: CanvasText; } .wm-levelselect .wm-picked { fill: CanvasText; stroke: CanvasText; } }

/* ---------- what employers say they pay ---------- */

.pay-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px 64px; align-items: end; margin-bottom: 40px; }
.pay-head p { color: var(--slate); max-width: var(--measure); }
@media (max-width: 860px) { .pay-head { grid-template-columns: 1fr; } }
.paychart { width: 100%; border-collapse: collapse; }
.paychart th, .paychart td { padding: 0; text-align: left; font-weight: 400; }
.paychart thead th { font-size: 0.875rem; color: var(--muted); padding-bottom: 12px; vertical-align: bottom; }
.paychart thead th:first-child { width: 9rem; }
.paychart .n { text-align: right; width: 7rem; padding-left: 24px; font-variant-numeric: tabular-nums; }
.paychart .axis { position: relative; height: 1.6em; }
.paychart .tickmark { position: absolute; left: var(--at); bottom: 12px; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.paychart tbody { border-top: 1px solid var(--line); }
.paychart .level th { padding: 20px 0 6px; font-weight: 500; }
.paychart tbody th[scope="row"] { padding: 10px 12px 10px 0; color: var(--slate); }
.paychart th .count { display: none; }
.paychart td.median { font-weight: 500; padding-block: 10px; }
.paychart .range { display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
.paychart .roles { color: var(--muted); font-variant-numeric: proportional-nums; }
.paychart .track { position: relative; height: 48px; }
.paychart .grid { position: absolute; left: var(--at); top: 0; bottom: 0; width: 1px; background: var(--line); }
.paychart .band { position: absolute; left: var(--lo); width: calc(var(--hi) - var(--lo)); top: calc(50% - 6px); height: 12px;
                  border-radius: var(--r-pill); background: var(--c); }
.paychart .tick { position: absolute; left: var(--at); top: calc(50% - 11px); height: 22px; width: 2px; margin-left: -1px;
                  background: var(--ink); box-shadow: 0 0 0 2px var(--page); border-radius: 1px; }
.note { margin-top: 20px; font-size: 0.875rem; color: var(--muted); max-width: 44rem; }
.note a { color: var(--slate); }
@media (forced-colors: active) { .paychart .band { background: Highlight; } .paychart .tick { background: CanvasText; } }
@media (max-width: 600px) {
  .paychart thead th:first-child { width: 5.25rem; }
  .paychart .roles, .paychart .range { display: none; }
  .paychart th .count { display: block; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
  .paychart .n { width: 4.25rem; padding-left: 10px; }
  .paychart .tickmark.minor { display: none; }
}

/* ---------- since 2010 ---------- */

.since { padding: clamp(40px, 6vw, 72px); border-radius: 24px; background: var(--tint); display: grid;
         grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 64px; align-items: start; }
.since-lede { font-size: 1.25rem; line-height: 1.55; color: var(--slate); max-width: var(--measure); }
.since-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 860px) { .since { grid-template-columns: 1fr; } .since-links { grid-column: 1; } }

/* ---------- pages of text (about, methodology, bot, employers, press, privacy, status) ---------- */

.doc { display: grid; grid-template-columns: minmax(0, 38rem) 15rem; justify-content: center; gap: 96px;
       align-items: start; padding-top: clamp(40px, 6vw, 80px); }
.doc:not(:has(.toc)) { grid-template-columns: minmax(0, 38rem); }
.prose { max-width: 38rem; }
.prose h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 24px; }
.prose > h1 + p { font-size: 1.25rem; line-height: 1.55; color: var(--slate); padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.prose h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; margin: 56px 0 14px; scroll-margin-top: 96px; }
.prose p, .prose ul, .prose ol, .prose table, .prose pre, .prose dl { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.prose thead th { color: var(--muted); font-size: 0.875rem; white-space: nowrap; }
.prose tbody th { color: var(--ink); }
.prose td:last-child:not(:first-child) { text-align: right; padding-right: 0; }
.prose code { font-family: var(--mono); font-size: 0.875em; padding: 0.1em 0.4em; border-radius: 6px; background: var(--tint); border: 1px solid var(--line); }
.prose pre { padding: 18px 20px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line); overflow-x: auto; }
.prose pre code { padding: 0; border: 0; background: none; font-size: 0.875rem; line-height: 1.6; }
.prose .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* The page's sections, beside it: glass, so the text passes beneath as it scrolls. */
.toc { position: sticky; top: 96px; padding: 20px 22px; border-radius: var(--r-panel); font-size: 0.875rem;
       background: rgba(245, 247, 250, 0.72); border: 1px solid var(--line);
       -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.toc p { color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; color: var(--slate); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 960px) {
  .doc { grid-template-columns: minmax(0, 1fr); gap: 0; justify-content: stretch; }
  .toc { display: none; }
}

.readings { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); border-top: 1px solid var(--line); }
.readings > div { padding: 18px 16px 14px 0; border-bottom: 1px solid var(--line); }
.readings dt { font-size: 0.875rem; color: var(--slate); }
.readings dd { margin: 6px 0 0; font-size: 1.5rem; font-weight: 450; letter-spacing: -0.02em; }

/* ---------- operations (/admin/status): rows and hairlines, one dot per state ---------- */

.ops { padding-top: clamp(40px, 6vw, 80px); }
.ops-head { max-width: 48rem; }
.ops-head h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; margin-bottom: 20px; }
.ops-head p { font-size: 1.25rem; line-height: 1.55; color: var(--slate); }
.ops-verdict { margin-top: 40px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--page); box-shadow: var(--shadow); }
.ops-verdict-line { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.ops-verdict h2 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.ops-read { margin-left: auto; font-size: 0.875rem; color: var(--muted); }
.ops-problems { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ops-problems li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ops-problems li:last-child { border-bottom: 0; padding-bottom: 0; }
.ops-problems a { color: var(--slate); }
.ops-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ops-jump a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
              font-size: 0.875rem; color: var(--slate); text-decoration: none; }
.ops-jump a:hover { color: var(--ink); border-color: var(--slate); }
.ops-sec { margin-top: 72px; scroll-margin-top: 96px; }
.ops-sec > h2 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); line-height: 1.15; letter-spacing: -0.025em; margin-bottom: 20px; }
.ops h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; margin: 40px 0 12px; }
.ops-note { margin: -4px 0 16px; max-width: 48rem; font-size: 0.875rem; color: var(--muted); }
.ops code { font-family: var(--mono); font-size: 0.8125rem; }

/* A state's dot: green is well, a ring is running, amber needs a look, red is failing, a grey ring is idle. */
.state { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--live); }
.state.is-running { background: var(--page); box-shadow: inset 0 0 0 2px var(--live); }
.state.is-warn { background: var(--warn); }
.state.is-fail { background: var(--alert); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.14); }
.state.is-idle { background: var(--page); box-shadow: inset 0 0 0 2px var(--muted); }
.ops-verdict-line .state { width: 12px; height: 12px; }
.ops-verdict-word.is-warn, .ops-readings .is-warn dd { color: var(--warn); }
.ops-verdict-word.is-fail, .ops-readings .is-fail dd, .ops-sign-in .is-fail { color: var(--alert); }
.ops-verdict-word.is-idle { color: var(--muted); }
@media (forced-colors: active) { .state { border: 2px solid CanvasText; } }

.ops-services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ops-services li { display: grid; grid-template-columns: 10px 12rem minmax(0, 1fr); gap: 4px 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ops-services span:last-child { color: var(--slate); }
@media (max-width: 640px) { .ops-services li { grid-template-columns: 10px minmax(0, 1fr); } .ops-services span:last-child { grid-column: 2; } }

.ops-readings { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); border-top: 1px solid var(--line); }
.ops-readings > div { padding: 18px 16px 16px 0; border-bottom: 1px solid var(--line); }
.ops-readings dt { font-size: 0.875rem; color: var(--slate); }
.ops-readings dd { margin: 6px 0 0; font-size: 1.5rem; font-weight: 450; letter-spacing: -0.02em; line-height: 1.15; }

.ops-scroll { overflow-x: auto; }
.ops-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9375rem; }
.ops-table th, .ops-table td { text-align: left; padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.ops-table th:last-child, .ops-table td:last-child { padding-right: 0; }
.ops-table thead th { color: var(--muted); font-size: 0.875rem; white-space: nowrap; border-top: 1px solid var(--line); }
.ops-table thead th[rowspan] { vertical-align: bottom; }
.ops-table thead tr + tr th { border-top: 0; }
.ops-table tbody th { color: var(--ink); font-weight: 500; }
.ops-table .n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ops-table .nowrap, .ops-table time { white-space: nowrap; }
/* Durations and ages in proportional figures: the face's tabular point and colon sit wide. */
.ops-table .d { font-variant-numeric: normal; }
.ops-jobs { min-width: 64rem; }
.ops-name { display: inline-flex; align-items: center; gap: 10px; }
.ops-sub { display: block; margin-top: 2px; font-size: 0.8125rem; font-weight: 400; color: var(--muted); }
.ops-msg { color: var(--slate); overflow-wrap: anywhere; }
.ops-table .ops-msg { min-width: 16rem; }
.ops-sub.ops-msg { color: var(--muted); }

.ops-sign-in { display: grid; gap: 12px; max-width: 24rem; margin-top: 8px; }
.ops-sign-in label { font-size: 0.875rem; color: var(--slate); }
.ops-sign-in input { height: 48px; padding: 0 20px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--page); }
.ops-sign-in input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ops-sign-in .btn { justify-self: start; }

/* Sponsored boxes' review queue (operators only). */
.sb-problem { margin-top: 32px; padding: 14px 18px; border: 1px solid var(--alert); border-radius: var(--r-mark); color: var(--alert); }
.sb-card { margin-top: 20px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--page); box-shadow: var(--shadow); }
.sb-card h3 { margin: 0 0 16px; }
.sb-preview { max-width: 36rem; padding: 14px 16px; border: 1px dashed var(--slate); border-radius: var(--r-mark); background: var(--tint); }
.sb-preview p { margin: 0; }
.sb-preview-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px !important; }
.sb-preview-title { font-weight: 500; }
.sb-preview-meta, .sb-preview-line { font-size: 0.875rem; color: var(--slate); }
.sb-warn, .sb-flag { color: var(--warn); }
.sb-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 12px 24px; margin: 20px 0; }
.sb-facts dt { font-size: 0.8125rem; color: var(--muted); }
.sb-facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.sb-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 24px; }
.sb-reason { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; }
.sb-reason label { flex-basis: 100%; font-size: 0.875rem; color: var(--slate); }
.sb-reason input, .sb-form input, .sb-form select { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-mark); background: var(--page); font: inherit; }
.sb-reason input { min-width: 16rem; }
.sb-inline { flex-wrap: nowrap; }
.sb-inline input { min-width: 10rem; min-height: 36px; }
.sb-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 16px 24px; max-width: 56rem; }
.sb-form label { display: grid; gap: 6px; font-size: 0.875rem; color: var(--slate); }
.sb-form .btn { justify-self: start; align-self: end; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; } }
