/* agentoffice.work — layout and components. Colours, type and spacing come
   from tokens.css; the site's only switch lives in config.css. */

/* ---- Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--ao-space-5);
}

body {
  margin: 0;
  background: var(--ao-paper);
  color: var(--ao-ink);
  font-family: var(--ao-font-sans);
  font-size: var(--ao-text-md);
  line-height: var(--ao-leading);
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  line-height: var(--ao-leading-tight);
  font-weight: var(--ao-weight-bold);
  letter-spacing: -0.01em;
  margin: 0 0 var(--ao-space-4);
  text-wrap: balance;
}
h1 { font-size: var(--ao-text-3xl); letter-spacing: -0.02em; }
h2 { font-size: var(--ao-text-2xl); margin-top: var(--ao-space-7); }
h3 { font-size: var(--ao-text-xl); margin-top: var(--ao-space-6); }
h4 { font-size: var(--ao-text-md); margin-top: var(--ao-space-5); }
h2:first-child, h3:first-child, h4:first-child { margin-top: 0; }

p, ul, ol, dl, table, pre, figure, blockquote { margin: 0 0 var(--ao-space-4); }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: var(--ao-space-2); }
li > ul, li > ol { margin-top: var(--ao-space-2); margin-bottom: 0; }

a {
  color: var(--ao-brand);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--ao-brand-strong); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--ao-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

strong { font-weight: var(--ao-weight-bold); }
small, .fine { font-size: var(--ao-text-sm); color: var(--ao-ink-muted); }

hr {
  border: 0;
  border-top: 1px solid var(--ao-line);
  margin: var(--ao-space-7) 0;
}

code, kbd, samp, pre { font-family: var(--ao-font-mono); font-size: 0.92em; }
code {
  background: var(--ao-sunken);
  padding: 0.08em 0.35em;
  border-radius: var(--ao-radius-sm);
}
pre {
  background: var(--ao-sunken);
  padding: var(--ao-space-4);
  border-radius: var(--ao-radius);
  overflow-x: auto;
  line-height: 1.5;
}
pre code { background: none; padding: 0; }

/* ---- Layout -------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--ao-wide);
  margin-inline: auto;
  padding-inline: var(--ao-space-4);
}
@media (min-width: 40rem) { .wrap { padding-inline: var(--ao-space-5); } }

.prose { max-width: var(--ao-measure); }
.prose-wide { max-width: 56rem; }

.section { padding-block: var(--ao-space-7); }
.section + .section { border-top: 1px solid var(--ao-line); }
.section-band { background: var(--ao-surface); border-block: 1px solid var(--ao-line); }
.section-band + .section { border-top: 0; }
@media (min-width: 48rem) { .section { padding-block: var(--ao-space-8); } }

.grid { display: grid; gap: var(--ao-space-5); }
.grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 44rem) {
  .grid-2, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64rem) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: var(--ao-space-6); }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
  .split-even { grid-template-columns: 1fr 1fr; }
}

/* ---- Skip link ----------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--ao-space-4);
  top: -10rem;
  z-index: 10;
  background: var(--ao-brand);
  color: var(--ao-on-brand);
  padding: var(--ao-space-2) var(--ao-space-4);
  border-radius: var(--ao-radius);
}
.skip-link:focus { top: var(--ao-space-3); color: var(--ao-on-brand); }

/* ---- Header -------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--ao-line);
  background: var(--ao-paper);
  position: relative;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--ao-space-4);
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ao-brand);
  text-decoration: none;
  padding-block: var(--ao-space-2);
  margin-right: auto;
}
.brand:hover { color: var(--ao-brand-strong); }
.brand-mark { width: 1.75rem; height: 1.75rem; flex: none; }
.brand-mark rect { fill: currentColor; }
.brand-mark path { stroke: var(--ao-paper); }
.brand-wordmark { width: 9.6rem; height: auto; flex: none; }
@media (max-width: 22rem) { .brand-wordmark { width: 8.2rem; } }

.nav-desktop { display: none; }
.nav-desktop ul, .nav-mobile ul { list-style: none; margin: 0; padding: 0; }
.nav-desktop ul { display: flex; gap: var(--ao-space-1); }
.nav-desktop li + li, .nav-mobile li + li { margin-top: 0; }
.nav-desktop a, .nav-mobile a {
  display: block;
  color: var(--ao-ink);
  text-decoration: none;
  padding: var(--ao-space-2) var(--ao-space-3);
  border-radius: var(--ao-radius-sm);
  font-size: var(--ao-text-sm);
  font-weight: 550;
}
.nav-desktop a:hover, .nav-mobile a:hover { background: var(--ao-sunken); color: var(--ao-ink); }
.nav-desktop a[aria-current="page"], .nav-mobile a[aria-current="page"] {
  color: var(--ao-brand);
  box-shadow: inset 0 -2px 0 var(--ao-brand);
  border-radius: 0;
}
.header-inner .nav-cta { display: none; }

.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--ao-space-2);
  padding: var(--ao-space-2) var(--ao-space-3);
  border: 1px solid var(--ao-line-strong);
  border-radius: var(--ao-radius);
  font-size: var(--ao-text-sm);
  font-weight: 600;
  color: var(--ao-ink);
  background: var(--ao-surface);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary::before {
  content: "";
  width: 1rem;
  height: 0.75rem;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
}
.nav-mobile[open] > summary { background: var(--ao-sunken); }
.nav-mobile > nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  background: var(--ao-surface);
  border-bottom: 1px solid var(--ao-line);
  box-shadow: 0 12px 24px -12px rgb(0 0 0 / 0.25);
  padding: var(--ao-space-3) var(--ao-space-4) var(--ao-space-5);
}
.nav-mobile > nav a { font-size: var(--ao-text-md); padding: var(--ao-space-3); }
.nav-mobile > nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ao-brand); }

@media (min-width: 64rem) {
  .nav-desktop { display: block; }
  .header-inner .nav-cta { display: inline-flex; }
  .nav-mobile { display: none; }
}

/* ---- Buttons ------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ao-space-2);
  min-height: 2.75rem;
  padding: var(--ao-space-2) var(--ao-space-5);
  border: 2px solid var(--ao-brand);
  border-radius: var(--ao-radius);
  background: var(--ao-brand);
  color: var(--ao-on-brand);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--ao-dur-fast) var(--ao-ease), border-color var(--ao-dur-fast) var(--ao-ease);
}
.button:hover { background: var(--ao-brand-strong); border-color: var(--ao-brand-strong); color: var(--ao-on-brand); }
.button-secondary { background: transparent; color: var(--ao-brand); }
.button-secondary:hover { background: var(--ao-brand-tint); color: var(--ao-brand-strong); }
.button-small { min-height: 2.25rem; padding: var(--ao-space-1) var(--ao-space-4); font-size: var(--ao-text-sm); }
.actions { display: flex; flex-wrap: wrap; gap: var(--ao-space-3); align-items: center; margin-top: var(--ao-space-5); }

/* ---- Page intro and hero --------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--ao-space-3);
  margin: 0 0 var(--ao-space-3);
  color: var(--ao-accent);
  font-size: var(--ao-text-xs);
  font-weight: 700;
  letter-spacing: var(--ao-tracking-caps);
  text-transform: uppercase;
}
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: 0; }
.actions + .fine { margin-top: var(--ao-space-3); }
.eyebrow::before {
  content: "";
  width: 1.75rem;
  border-top: 2px solid var(--ao-accent-rule);
}

.page-intro { padding-block: var(--ao-space-7) var(--ao-space-6); }
.page-intro h1 { max-width: 22em; }
.lead { font-size: var(--ao-text-lg); line-height: 1.55; color: var(--ao-ink); max-width: 38em; }
.page-intro .lead { color: var(--ao-ink-muted); }

.hero { padding-block: var(--ao-space-7) var(--ao-space-6); }
@media (min-width: 48rem) { .hero { padding-top: var(--ao-space-8); } }
.hero h1 { max-width: 20em; }
.hero .lead { margin-top: var(--ao-space-4); }
.hero-shot { margin-top: var(--ao-space-6); }

/* ---- Cards, lists, steps --------------------------------------------- */
.card {
  background: var(--ao-surface);
  border: 1px solid var(--ao-line);
  border-radius: var(--ao-radius);
  padding: var(--ao-space-5);
}
.card > :last-child { margin-bottom: 0; }
.card h3, .card h4 { margin-top: 0; }
.card-link { display: inline-block; margin-top: var(--ao-space-2); font-weight: 600; }
.section-band .card { background: var(--ao-paper); }

.num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: var(--ao-space-3);
  border: 2px solid var(--ao-brand);
  border-radius: 50%;
  color: var(--ao-brand);
  font-weight: 700;
  font-size: var(--ao-text-sm);
}

.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.45em;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--ao-brand);
  border-bottom: 2px solid var(--ao-brand);
  transform: rotate(-45deg);
}
.xlist { list-style: none; padding-left: 0; }
.xlist li { position: relative; padding-left: 1.75rem; }
.xlist li::before, .xlist li::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.75em;
  width: 0.8rem;
  border-top: 2px solid var(--ao-ink-muted);
  transform: rotate(45deg);
}
.xlist li::after { transform: rotate(-45deg); }

.toc {
  background: var(--ao-surface);
  border: 1px solid var(--ao-line);
  border-radius: var(--ao-radius);
  padding: var(--ao-space-4) var(--ao-space-5);
  font-size: var(--ao-text-sm);
}
.toc h2 { font-size: var(--ao-text-sm); margin: 0 0 var(--ao-space-2); letter-spacing: var(--ao-tracking-caps); text-transform: uppercase; color: var(--ao-ink-muted); }
.toc ol, .toc ul { margin: 0; padding-left: 1.2em; }
.toc li + li { margin-top: var(--ao-space-1); }
@media (min-width: 40rem) { .toc ol, .toc ul { columns: 2; column-gap: var(--ao-space-6); } .toc li { break-inside: avoid; } }

/* ---- Callouts and badges ----------------------------------------------- */
.callout {
  border: 1px solid var(--ao-line);
  border-left: 4px solid var(--ao-brand);
  background: var(--ao-brand-tint);
  border-radius: var(--ao-radius);
  padding: var(--ao-space-4) var(--ao-space-5);
  margin: 0 0 var(--ao-space-5);
}
.callout > :last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; margin-bottom: var(--ao-space-2); }
.callout-warn { background: var(--ao-warn-bg); border-color: var(--ao-warn-line); color: var(--ao-ink); }
.callout-quiet { background: var(--ao-surface); border-left-color: var(--ao-line-strong); }

.draft-banner {
  background: var(--ao-warn-bg);
  border: 2px solid var(--ao-warn-line);
  border-radius: var(--ao-radius);
  padding: var(--ao-space-4) var(--ao-space-5);
  margin: 0 0 var(--ao-space-6);
}
.draft-banner strong { color: var(--ao-warn-ink); font-size: var(--ao-text-lg); display: block; margin-bottom: var(--ao-space-1); }
.draft-banner p { margin: 0; }

.badge {
  display: inline-block;
  padding: 0.1em 0.55em;
  border-radius: 999px;
  font-size: var(--ao-text-xs);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  vertical-align: 0.12em;
  white-space: nowrap;
}
.badge-built { background: var(--ao-ok-bg); color: var(--ao-ok-ink); }
.badge-coming { background: var(--ao-warn-bg); color: var(--ao-warn-ink); }
.badge-gap { background: var(--ao-risk-bg); color: var(--ao-risk-ink); }
.badge-draft { background: var(--ao-warn-bg); color: var(--ao-warn-ink); border: 1px solid var(--ao-warn-line); }

/* ---- Tables ------------------------------------------------------------ */
/* A table that is wider than its box scrolls inside it. The shading at an
   edge appears only while there is more table beyond that edge: the two
   "local" covers move with the table and hide the shading once the reader
   reaches the end (CSS only, so it works under the site's CSP). */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 var(--ao-space-5);
  border: 1px solid var(--ao-line);
  border-radius: var(--ao-radius);
  background:
    linear-gradient(to right, var(--ao-surface) 40%, transparent) left center / 2.5rem 100% no-repeat local,
    linear-gradient(to left, var(--ao-surface) 40%, transparent) right center / 2.5rem 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, var(--ao-scroll-shade), transparent) left center / 0.9rem 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, var(--ao-scroll-shade), transparent) right center / 0.9rem 100% no-repeat scroll,
    var(--ao-surface);
}
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: var(--ao-text-sm); margin: 0; }
th, td { text-align: left; vertical-align: top; padding: var(--ao-space-3) var(--ao-space-4); border-bottom: 1px solid var(--ao-line); }
thead th { background: var(--ao-sunken); font-weight: 700; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 650; }
caption { caption-side: top; text-align: left; padding: var(--ao-space-3) var(--ao-space-4) 0; font-weight: 700; }
td.num-cell, th.num-cell { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---- Price cards --------------------------------------------------------- */
.tiers { display: grid; gap: var(--ao-space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-bottom: var(--ao-space-5); }
.tier { display: flex; flex-direction: column; }
.tier h3 { font-size: var(--ao-text-lg); margin-bottom: var(--ao-space-1); }
.tier .who { color: var(--ao-ink-muted); font-size: var(--ao-text-sm); margin-bottom: var(--ao-space-4); }
.price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.price-unit { font-size: var(--ao-text-sm); color: var(--ao-ink-muted); margin: var(--ao-space-1) 0 var(--ao-space-4); }
.tier ul { font-size: var(--ao-text-sm); margin-bottom: 0; }
.tag-proposed { margin: 0 0 var(--ao-space-2); }

/* ---- Screenshots ------------------------------------------------------------ */
.shot { margin: 0 0 var(--ao-space-5); }
.shot-frame {
  position: relative;
  border: 1px solid var(--ao-line);
  border-radius: var(--ao-radius);
  overflow: hidden;
  background: var(--ao-shot-bg);
}
.shot-frame img { width: 100%; }
.shot-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: var(--ao-space-5);
  text-align: center;
  color: var(--ao-ink-muted);
  font-size: var(--ao-text-sm);
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgb(127 127 127 / 0.06) 14px 28px),
    var(--ao-shot-bg);
}
.shot-placeholder span { max-width: 28em; }
.shot-placeholder strong { display: block; color: var(--ao-ink); margin-bottom: var(--ao-space-1); }
.shot figcaption { font-size: var(--ao-text-sm); color: var(--ao-ink-muted); margin-top: var(--ao-space-3); max-width: var(--ao-measure); }

/* ---- Forms -------------------------------------------------------------- */
.form { display: grid; gap: var(--ao-space-5); max-width: 40rem; }
.field { display: grid; gap: var(--ao-space-2); }
.field-row { display: grid; gap: var(--ao-space-5); }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
label, legend { font-weight: 650; }
.hint { font-size: var(--ao-text-sm); color: var(--ao-ink-muted); margin: 0; }
.req { color: var(--ao-ink-muted); font-weight: 400; font-size: var(--ao-text-sm); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: var(--ao-space-2) var(--ao-space-3);
  font: inherit;
  color: var(--ao-ink);
  background: var(--ao-surface);
  border: 1px solid var(--ao-line-strong);
  border-radius: var(--ao-radius-sm);
}
textarea { min-height: 7rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }
fieldset { border: 1px solid var(--ao-line); border-radius: var(--ao-radius); padding: var(--ao-space-4) var(--ao-space-5); margin: 0; }
.form-status:empty { display: none; }
.form-status { border-left: 4px solid var(--ao-brand); background: var(--ao-brand-tint); padding: var(--ao-space-3) var(--ao-space-4); border-radius: var(--ao-radius-sm); }
.form-status p { margin: 0; }
.form-copy:empty { display: none; }
.form-copy { display: grid; gap: var(--ao-space-2); }
.form-copy textarea { font-family: var(--ao-font-mono); font-size: var(--ao-text-sm); }

/* ---- Definition lists (facts at a glance) ---------------------------------- */
.facts { display: grid; gap: 0; margin: 0 0 var(--ao-space-5); border: 1px solid var(--ao-line); border-radius: var(--ao-radius); background: var(--ao-surface); }
.facts > div { display: grid; gap: var(--ao-space-1) var(--ao-space-5); padding: var(--ao-space-3) var(--ao-space-4); border-bottom: 1px solid var(--ao-line); }
.facts > div:last-child { border-bottom: 0; }
@media (min-width: 40rem) { .facts > div { grid-template-columns: 11rem 1fr; } }
.facts dt { font-weight: 650; }
.facts dd { margin: 0; }

/* ---- Legal texts ------------------------------------------------------------- */
.legal-text { max-width: 46rem; }
.legal-text h2 { font-size: var(--ao-text-xl); margin-top: var(--ao-space-6); }
.legal-text .caps { font-size: var(--ao-text-sm); }
.legal-text ol.clauses { list-style: none; padding-left: 0; }
.legal-text pre, pre.notice { white-space: pre-wrap; }
pre.notice { font-size: var(--ao-text-xs); }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  margin-top: var(--ao-space-8);
  background: var(--ao-surface);
  border-top: 1px solid var(--ao-line);
  font-size: var(--ao-text-sm);
}
.footer-grid {
  display: grid;
  gap: var(--ao-space-6);
  padding-block: var(--ao-space-7) var(--ao-space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
}
.footer-about { grid-column: 1 / -1; max-width: 30rem; }
@media (min-width: 64rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-about { grid-column: auto; } }
.site-footer .brand { margin-bottom: var(--ao-space-3); }
.site-footer .brand-mark path { stroke: var(--ao-surface); }
.site-footer h2 { font-size: var(--ao-text-xs); letter-spacing: var(--ao-tracking-caps); text-transform: uppercase; color: var(--ao-ink-muted); margin: 0 0 var(--ao-space-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: var(--ao-space-2); }
.site-footer a { color: var(--ao-ink); }
.site-footer a:hover { color: var(--ao-brand); }
.footer-base { border-top: 1px solid var(--ao-line); padding-block: var(--ao-space-4) var(--ao-space-6); color: var(--ao-ink-muted); }
.footer-base p { margin: 0; }

/* ---- Utilities -------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.muted { color: var(--ao-ink-muted); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* The price switch (set in config.css): elements marked .if-draft show only
   while the prices are a draft. Every .if-draft element is block-level. */
.if-draft { display: var(--price-draft, block); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header nav, .nav-mobile, .nav-cta, .skip-link, .site-footer nav { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .section { padding-block: var(--ao-space-5); }
}
.section.pt-0 { padding-top: 0; }

/* A .wrap that is also a reading column stays aligned with the page edge:
   the page keeps its width and the children keep the reading measure. */
.wrap.prose, .wrap.prose-wide { max-width: var(--ao-wide); }
.wrap.prose > * { max-width: var(--ao-measure); }
.wrap.prose-wide > * { max-width: 56rem; }
.grid + p, .grid + .prose, .tiers + p { margin-top: var(--ao-space-4); }
.grid + .prose-wide { margin-top: var(--ao-space-6); }

/* Wide tables become labelled rows on phones, tablets and half-width
   windows, instead of scrolling sideways; above 52rem they fit their box.
   The breakpoint is in rem, so it moves with the reader's text size. */
@media (max-width: 52rem) {
  .table-wide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .table-wide tr { display: block; padding: var(--ao-space-3) var(--ao-space-4); border-bottom: 1px solid var(--ao-line); }
  .table-wide tbody tr:last-child { border-bottom: 0; }
  .table-wide th, .table-wide td { display: block; padding: var(--ao-space-1) 0; border: 0; text-align: left; white-space: normal; }
  .table-wide th[scope="row"] { font-size: var(--ao-text-md); padding-bottom: var(--ao-space-2); }
  .table-wide td[data-label]::before { content: attr(data-label) ": "; font-weight: 650; }
  .table-wide th[data-label]::before { content: attr(data-label) " "; }
  .table-wide td.num-cell { text-align: left; }
}
.shot-frame picture { display: block; }

/* Each screenshot links to its full-size file (readable on a phone by zooming). */
.shot-link { display: block; cursor: zoom-in; }
.shot-link:focus-visible { outline-offset: -3px; }

/* "Back to contents" at the end of each part of a long page. */
.back-to-toc { margin: var(--ao-space-5) 0 0; font-size: var(--ao-text-sm); }

/* A proposed term shown only while the price switch is off. */
.draft-note { font-size: var(--ao-text-sm); color: var(--ao-ink); background: var(--ao-warn-bg); border-left: 4px solid var(--ao-warn-line); border-radius: var(--ao-radius-sm); padding: var(--ao-space-2) var(--ao-space-3); }
