/*
 * docs-site/assets/site.css: docs.b7r.app, style A, dark only
 *
 * From the approved mockup board (Dhia, 2026-11-20): three columns on a
 * desktop (sidebar, prose, sticky code panel), one column on a phone with a
 * sticky section bar and the code under each section. Brand blues from the
 * logo only. Fonts are self-hosted (latin subsets, OFL), with the system
 * stack as fallback. Phone first: the base rules are the 390 px layout.
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-wght.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-latin-400.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-latin-500.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --brand: #019ce6;
  --brand-dark: #015cb5;
  --tint: rgba(1, 156, 230, 0.14);
  --tint-2: rgba(1, 156, 230, 0.24);
  --bg: #080f17;
  --surface: #0d1620;
  --surface-2: #121d29;
  --card: #0f1924;
  --text: #e5ecf3;
  --text-2: #b0bdca;
  --muted: #8495a8;
  --border: #1d2a38;
  --border-2: #2a3a4b;
  --link: #019ce6;
  --btn: #015cb5;
  --btn-text: #ffffff;
  --code-bg: #050c14;
  --code-head: #0a1622;
  --code-text: #d7e4f1;
  --code-str: #019ce6;
  --code-key: #ffffff;
  --code-muted: #7f93a8;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35);
  --dots: rgba(1, 156, 230, 0.28);
  --sans:
    'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
    sans-serif;
  --mono:
    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hdr: 56px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: calc(var(--hdr) + 56px);
}
html,
body {
  margin: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: var(--link);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
pre:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
code,
pre,
kbd {
  font-family: var(--mono);
}
h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 10px;
}
h3 {
  font-size: 16px;
  margin: 20px 0 8px;
}
p,
li {
  color: var(--text-2);
}
p {
  margin: 0 0 12px;
}
ul,
ol {
  margin: 0 0 14px;
  padding-inline-start: 22px;
}
li {
  margin: 4px 0;
}
:not(pre) > code {
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
  overflow-wrap: break-word;
  color: var(--text);
}
.skip {
  position: absolute;
  inset-inline-start: 8px;
  top: -40px;
  z-index: 60;
  background: var(--btn);
  color: var(--btn-text);
  padding: 6px 10px;
  border-radius: 6px;
}
.skip:focus {
  top: 8px;
}

/* header */
.hdr {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--hdr);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  flex: none;
}
.brand img {
  height: 26px;
  width: auto;
}
.brand span {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  border-inline-start: 1px solid var(--border-2);
  padding-inline-start: 8px;
}
.tabs {
  display: none;
  gap: 4px;
  margin-inline-start: 18px;
}
.tabs a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 7px;
}
.tabs a.on {
  color: var(--link);
  font-weight: 600;
  background: var(--tint);
}
.sp {
  flex: 1;
}
.search {
  display: none;
  align-items: center;
  gap: 8px;
  height: 34px;
  width: 260px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 13px;
  text-align: start;
}
.search svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.search span {
  flex: 1;
}
.search kbd,
.sbox .ibtn {
  font-family: var(--sans);
  font-size: 11px;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  padding: 0 5px;
  background: var(--surface);
}
.ibtn {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  flex: none;
}
.ibtn svg {
  width: 17px;
  height: 17px;
}

/* phone section bar */
.secbar {
  position: sticky;
  top: var(--hdr);
  z-index: 15;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.secbar summary {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  list-style: none;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-2);
  text-transform: uppercase;
}
.secbar summary::-webkit-details-marker {
  display: none;
}
.secbar summary span {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.secbar summary b {
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.secbar summary svg {
  width: 16px;
  height: 16px;
  margin-inline-start: auto;
  flex: none;
  transition: transform 0.15s;
}
.secbar[open] summary svg {
  transform: rotate(180deg);
}
.secbar .sheet {
  position: absolute;
  inset-inline: 0;
  top: 44px;
  max-height: calc(100vh - var(--hdr) - 60px);
  overflow: auto;
  padding: 14px 12px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--shadow);
}

/* nav */
.side {
  display: none;
}
.nav h4 {
  margin: 18px 0 6px;
  padding-inline-start: 10px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
}
.nav h4:first-child {
  margin-top: 0;
}
.nav a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
  line-height: 1.35;
}
.nav a:hover {
  color: var(--text);
}
.nav a.on {
  background: var(--tint);
  color: var(--link);
  font-weight: 600;
}

/* main column */
.main {
  min-width: 0;
  padding: 20px 16px 40px;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.pageacts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 20px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  text-decoration: none;
}
.pill svg {
  width: 14px;
  height: 14px;
}
.pill.done {
  color: var(--brand);
  border-color: var(--tint-2);
}
.row {
  display: block;
  min-width: 0;
}
.row + .row,
.step + .row,
.row + .step,
.step + .step {
  margin-top: 32px;
}
.prose {
  min-width: 0;
}
.codecol {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  min-width: 0;
}
.endpoint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-family: var(--mono);
  font-size: 14px;
  padding: 8px 12px;
  margin: 2px 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow-x: auto;
}
.endpoint span:last-child {
  white-space: nowrap;
}
.meth {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 4px;
  border: 1px solid var(--brand);
  color: var(--link);
  flex: none;
}
.meth.post {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--btn-text);
}
.callout {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--tint);
  border: 1px solid var(--tint-2);
  margin: 0 0 16px;
}
.callout svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--link);
  margin-top: 3px;
}
.callout p {
  margin: 0;
  color: var(--text);
}

/* code panels: dark, scroll inside themselves */
.code {
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
  background: var(--code-bg);
  border: 1px solid var(--border);
  color: var(--code-text);
}
.code .ch {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 40px;
  padding: 0 6px 0 10px;
  background: var(--code-head);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--code-muted);
  overflow-x: auto;
  scrollbar-width: none;
}
.code .ttl {
  font-size: 12px;
  font-weight: 600;
  padding: 0 6px;
  color: var(--btn-text);
  white-space: nowrap;
}
.code .tb,
.code .cp {
  flex: none;
  border: 0;
  background: none;
  color: var(--code-muted);
  font-size: 12.5px;
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.code .tb.on {
  color: var(--btn-text);
  background: rgba(1, 156, 230, 0.22);
}
.code .grow {
  flex: 1;
}
.code .cp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}
.code .cp svg {
  width: 14px;
  height: 14px;
}
.code .cp.done {
  color: var(--brand);
}
.code pre {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  overflow-x: auto;
  tab-size: 2;
  display: none;
}
.code pre.on {
  display: block;
}
/* Each token is its own bidi island, so an Arabic value keeps its quotes and
   the comma after it in place inside left-to-right code. */
.code pre span {
  unicode-bidi: isolate;
}
.t-s {
  color: var(--code-str);
}
.t-k {
  color: var(--code-key);
  font-weight: 500;
}
.t-c,
.t-p {
  color: var(--code-muted);
}
.t-c {
  font-style: italic;
}
.t-n {
  color: var(--code-text);
}

/* parameters */
.params {
  border-top: 1px solid var(--border);
  margin: 4px 0 18px;
}
.param {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.param .pn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.param .pn b {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  overflow-wrap: anywhere;
}
.param .pn i {
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}
.param .req {
  font-size: 11px;
  color: var(--link);
  border: 1px solid var(--tint-2);
  background: var(--tint);
  border-radius: 5px;
  padding: 0 6px;
}
.param p {
  margin: 6px 0 0;
  font-size: 14px;
}
.param .kids {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--surface);
}
.param .kids > summary {
  cursor: pointer;
  padding: 7px 0;
  font-size: 12.5px;
  color: var(--text-2);
}
.param .kids[open] > summary {
  border-bottom: 1px solid var(--border);
}
.param .kids .param:last-child {
  border-bottom: 0;
}

/* tables on a card */
.tcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13.5px;
  margin: 4px 0 18px;
}
.tcard .tools {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.tcard .tools input {
  flex: 1;
  min-width: 140px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 10px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
}
.tcard .cnt {
  font-size: 12px;
  color: var(--muted);
}
.tscroll {
  overflow-x: auto;
}
table.t {
  width: 100%;
  border-collapse: collapse;
}
table.t th {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: start;
  padding: 9px 12px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.t td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-2);
}
table.t tr:last-child td {
  border-bottom: 0;
}
table.t td.c code {
  white-space: nowrap;
  background: var(--tint);
  border-color: var(--tint-2);
}
table.t td.c a {
  text-decoration: none;
}
.http {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
}
.rt {
  font-size: 11.5px;
  border-radius: 999px;
  padding: 1px 8px;
  white-space: nowrap;
  border: 1px solid var(--border-2);
  color: var(--muted);
}
.rt.y {
  border-color: var(--tint-2);
  background: var(--tint);
  color: var(--link);
}
.et {
  color: var(--text);
  font-weight: 500;
}
table.errs tr:target td {
  background: var(--tint);
}

/* other tables as stacked rows on a phone: each cell under its column name */
table.stack thead {
  display: none;
}
table.stack tr {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
table.stack tr:last-child {
  border-bottom: 0;
}
table.stack td {
  display: block;
  padding: 2px 0;
  border: 0;
}
table.stack td::before {
  content: attr(data-label);
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

/* the error catalogue as cards on a phone */
table.errs thead {
  display: none;
}
table.errs tr {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 4px 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
table.errs tr:last-child {
  border-bottom: 0;
}
/* The filter hides rows with the hidden attribute; the display rules above
   would otherwise show them. */
table.errs tr[hidden] {
  display: none;
}
table.errs td {
  display: block;
  padding: 0;
  border: 0;
}
table.errs td:nth-child(4),
table.errs td:nth-child(5) {
  grid-column: 1 / -1;
}
table.errs td:nth-child(5)::before {
  content: 'Fix: ';
  color: var(--text);
  font-weight: 600;
}

/* steps */
.steps {
  counter-reset: step;
}
.step {
  position: relative;
  padding-inline-start: 44px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--surface);
  border: 1.5px solid var(--brand);
  color: var(--link);
}
.step::after {
  content: '';
  position: absolute;
  inset-inline-start: 14.5px;
  top: 34px;
  bottom: -28px;
  width: 1.5px;
  background: var(--border-2);
}
.step:last-child::after {
  display: none;
}
/* On a phone a step's code uses the full width, under the number line. */
.step .codecol {
  margin-inline-start: -44px;
}

/* home */
.hero {
  position: relative;
  padding: 28px 16px 24px;
  margin: -20px -16px 22px;
  background: radial-gradient(var(--dots) 1.2px, transparent 1.3px) 0 0 / 14px
    14px;
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0, var(--bg) 92%);
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero h1 {
  font-size: 30px;
}
.eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--link);
  margin-bottom: 10px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  background: var(--btn);
  color: var(--btn-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
.btn.ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.herohint {
  margin-top: 10px;
  font-size: 13px;
}
.tasks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}
.tasks h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.tasks a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  text-decoration: none;
}
.tryit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.tryit h2 {
  margin-bottom: 6px;
}
.tryit .opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tryit .opts button {
  min-height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 13.5px;
  white-space: nowrap;
  color: var(--text-2);
}
.tryit .opts button.on {
  border-color: var(--brand);
  color: var(--link);
  font-weight: 600;
  background: var(--tint);
}
.trypane {
  display: none;
  gap: 12px;
}
.trypane.on {
  display: grid;
}
.agentbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 12px 14px;
  border: 1px dashed var(--border-2);
  border-radius: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  margin-top: 24px;
}
.agentbar svg {
  width: 18px;
  height: 18px;
  color: var(--link);
}
.footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
}
.footer a {
  color: var(--text-2);
  text-decoration: none;
}

/* search */
.sdlg {
  width: min(640px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 80px));
  margin: 64px auto auto;
  padding: 0;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.sdlg::backdrop {
  background: rgba(5, 12, 20, 0.6);
}
.sbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.sbox svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex: none;
}
.sbox input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.sbox .ibtn {
  width: auto;
  height: 26px;
  padding: 0 8px;
}
.sres {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 400px;
  overflow: auto;
}
.sres li {
  margin: 0;
}
.sres a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
}
.sres a small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.sres a.on,
.sres a:hover {
  background: var(--tint);
}
.sres .none {
  padding: 10px;
  color: var(--muted);
  font-size: 14px;
}
.shint {
  margin: 0;
  padding: 8px 14px 12px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* desktop */
@media (min-width: 900px) {
  :root {
    --hdr: 60px;
  }
  html {
    scroll-padding-top: calc(var(--hdr) + 16px);
  }
  .hdr {
    padding: 0 24px;
    gap: 10px;
  }
  .tabs,
  .search {
    display: flex;
  }
  .s-only,
  .secbar {
    display: none;
  }
  h1 {
    font-size: 34px;
  }
  .shell {
    display: grid;
    grid-template-columns: 256px minmax(0, 1fr);
    /* The sidebar's colour and edge run the page's full height; the
       sticky sidebar itself is one screen tall. */
    background: linear-gradient(
      to right,
      var(--surface) 255px,
      var(--border) 255px,
      var(--border) 256px,
      transparent 256px
    );
  }
  .side {
    display: block;
    position: sticky;
    top: var(--hdr);
    height: calc(100vh - var(--hdr));
    overflow: auto;
    padding: 24px 16px;
  }
  .main {
    padding: 40px 48px 64px;
    max-width: 1320px;
  }
  .row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
  .step .codecol {
    margin-inline-start: 0;
  }
  .row .codecol {
    position: sticky;
    top: calc(var(--hdr) + 24px);
    margin-top: 0;
  }
  .row.full {
    display: block;
  }
  .row.full .prose {
    max-width: 760px;
  }
  .row.full .prose.wide {
    max-width: none;
  }
  table.errs thead,
  table.stack thead {
    display: table-header-group;
  }
  table.stack tr {
    display: table-row;
    padding: 0;
    border: 0;
  }
  table.stack td {
    display: table-cell;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
  }
  table.stack tr:last-child td {
    border-bottom: 0;
  }
  table.stack td::before {
    content: none;
  }
  table.errs tr {
    display: table-row;
    padding: 0;
    border: 0;
  }
  table.errs td {
    display: table-cell;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
  }
  table.errs tr:last-child td {
    border-bottom: 0;
  }
  table.errs td:nth-child(5)::before {
    content: none;
  }
  body.home .shell {
    display: block;
    background: none;
  }
  body.home .main {
    max-width: 1180px;
    margin: 0 auto;
  }
  .hero {
    padding: 56px 48px 40px;
    margin: -40px -48px 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
  .hero h1 {
    font-size: 44px;
  }
  .tasks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
  }
  .tryit {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
  }
  .tryit .opts {
    flex-direction: column;
    flex-wrap: nowrap;
    overflow: visible;
  }
  .tryit .opts button {
    text-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .secbar summary svg {
    transition: none;
  }
}
