/* חותמת – the garage's working screens: dashboard, sign-up/login, admin.
   Same world as the marketing site (plate yellow, navy ink, Heebo Black + Plex),
   held to type, palette, density and one signature move: the status stamp. */

@font-face { font-family: 'Display'; font-weight: 900; font-display: swap; src: url('../fonts/Heebo-Black.ttf') format('truetype'); }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plex-hebrew-400.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plex-hebrew-600.woff2') format('woff2'); unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/plex-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plex-latin-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --plate: #FFCB05;
  --plate-wash: #FFF3C2;
  --black: #0C0D10;
  --navy: #0D2478;
  --navy-hover: #0A1B5C;
  --navy-wash: #E7EBF6;
  --paper: #FFFFFF;
  --ground: #F2F3F6;
  --line: #D5D9E1;
  --muted: #4E5666;
  --ok: #17663F;
  --ok-wash: #E3F2EA;
  --err: #A61B12;
  --err-wash: #FBE7E5;

  --display: 'Display', 'Heebo', sans-serif;
  --text: 'Plex', 'Heebo', 'Segoe UI', system-ui, sans-serif;
  --m: clamp(16px, 3vw, 32px);

  color-scheme: light;
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--ground);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { min-height: 100dvh; background: var(--ground); }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
p, li, dd { text-wrap: pretty; } /* no last word left alone on a line ("…והקישור שלכם / עובד.") */
ul, ol { list-style: none; }
a { color: var(--navy); text-underline-offset: 3px; }
::selection { background: var(--plate); color: var(--black); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.num, [dir="ltr"] { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- shell */
.topbar { background: var(--navy); color: var(--paper); }
.topbar-inner { max-width: 1040px; margin: 0 auto; padding: 0 var(--m); display: flex; align-items: center; gap: 24px; min-height: 64px; }
.wordmark { font-family: var(--display); font-size: 24px; line-height: 1; color: var(--plate); text-decoration: none; letter-spacing: -0.02em; }
/* the drawn logo (assets/logo, small-size cut) as a mask, so it takes the colour of wherever it sits */
.wordmark-art { display: block; height: 1.15em; aspect-ratio: 516.12 / 130; background: currentColor;
  -webkit-mask: url(/img/logo-wordmark.svg) center / contain no-repeat; mask: url(/img/logo-wordmark.svg) center / contain no-repeat; }
.topbar .garage { font-weight: 600; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .spacer { flex: 1; }
.topbar .link-btn { color: var(--paper); }
.tabs { max-width: 1040px; margin: 0 auto; padding: 0 var(--m); display: flex; gap: 4px; overflow-x: auto; }
.tabs a {
  padding: 12px 16px 10px; color: #C9D1EA; text-decoration: none; font-weight: 600; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.tabs a:hover { color: var(--paper); }
.tabs a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--plate); }

.page { max-width: 1040px; margin: 0 auto; padding: 32px var(--m) 96px; display: grid; gap: 24px; }
.panel { background: var(--paper); padding: clamp(20px, 3vw, 32px); }
.panel h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.panel .sub { margin-top: 4px; color: var(--muted); max-width: 62ch; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border: 2px solid transparent; cursor: pointer;
  font-weight: 600; text-decoration: none; white-space: nowrap; background: none;
  transition: background-color .12s, border-color .12s, color .12s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--navy-hover); }
.btn-plate { background: var(--plate); color: var(--black); }
.btn-plate:hover { background: #F2BE00; }
.btn-line { border-color: var(--line); background: var(--paper); color: var(--navy); }
.btn-line:hover { border-color: var(--navy); }
.btn-danger { border-color: var(--line); background: var(--paper); color: var(--err); }
.btn-danger:hover { border-color: var(--err); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }
.link-btn { border: 0; background: none; padding: 4px 0; cursor: pointer; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- the link: a plate */
.link-panel { background: var(--paper); padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; }
.plate-link {
  display: flex; align-items: stretch; direction: ltr; background: var(--plate); color: var(--black);
  min-height: 72px; overflow: hidden;
}
.plate-link .strip { flex: none; width: 34px; background: #1C3F9E; color: var(--paper); display: grid; place-items: end center; padding-bottom: 8px; font-size: 12px; font-weight: 600; }
.plate-link .url {
  flex: 1; min-width: 0; display: flex; align-items: center; padding: 8px 18px;
  font-family: var(--display); font-size: clamp(20px, 3.2vw, 34px); letter-spacing: -0.01em; line-height: 1.1;
  overflow-wrap: anywhere;
}
.plate-link.off { background: #E4E6EB; color: #7A8190; }
.plate-link.off .strip { background: #9AA1AF; }

/* ---------------------------------------------------------------- the signature: status stamp */
.stamp {
  display: inline-grid; justify-items: center; gap: 2px; padding: 8px 14px 7px; rotate: -4deg;
  border: 3px solid currentColor; color: var(--navy); background: transparent;
  font-family: var(--display); font-size: 20px; line-height: 1; white-space: nowrap;
}
.stamp small { font-family: var(--text); font-weight: 600; font-size: 13px; direction: ltr; }
.stamp.ok { color: var(--navy); }
.stamp.warn { color: #8A5A00; }
.stamp.off { color: var(--err); }
.stamp.wait { color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .stamp.fresh { animation: stamp-in 420ms cubic-bezier(.16, 1, .3, 1) both; }
}
@keyframes stamp-in { from { opacity: 0; scale: 1.5; } to { opacity: 1; scale: 1; } }

/* ---------------------------------------------------------------- notices */
.notice { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; background: var(--plate-wash); }
.notice p { max-width: 60ch; }
.notice strong { display: block; font-size: 18px; }
.notice.err { background: var(--err-wash); }
.notice.ok { background: var(--ok-wash); }
.msg { padding: 10px 14px; font-size: 15px; }
.msg.err { background: var(--err-wash); color: var(--err); }
.msg.ok { background: var(--ok-wash); color: var(--ok); }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-weight: 600; }
.field .hint { font-size: 14px; color: var(--muted); }
.field .error { font-size: 14px; color: var(--err); font-weight: 600; }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px; background: var(--paper);
  border: 2px solid var(--line); border-radius: 0; transition: border-color .12s;
}
.input:hover { border-color: #AEB5C2; }
.input[dir="ltr"] { text-align: right; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--plate); }
.input[aria-invalid="true"] { border-color: var(--err); }
.input::placeholder { color: #6B7280; } /* 4.8:1 on white – an example still reads as an example */
.input-affix { display: flex; align-items: stretch; direction: ltr; border: 2px solid var(--line); background: var(--paper); }
.input-affix:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px var(--plate); }
.input-affix span { display: flex; align-items: center; padding: 0 0 0 12px; color: var(--muted); white-space: nowrap; }
/* what is typed goes on right after the fixed part (an LTR address), not at the far end of the box */
.input-affix .input { border: 0; box-shadow: none; padding-inline-start: 2px; text-align: left; }
@media (max-width: 480px) {
  /* "hotemet.shaikahlon-ai.com/g/" takes most of a phone's width: it gets a line of its own above the input */
  .input-affix { flex-wrap: wrap; }
  .input-affix span { flex-basis: 100%; padding: 8px 12px 0; font-size: 14px; }
  .input-affix .input { padding-inline-start: 12px; }
}
.field .hint bdi, bdi.email { white-space: nowrap; } /* an address never breaks at its hyphen */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
/* Two fields side by side, one with a hint (pay form, new password): both take the rows label · hint ·
   input · error of the row they share, so the two inputs stay on one line, error or not. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .grid-2:has(> .field > .hint) > .field { grid-row: span 4; grid-template-rows: subgrid; }
    .grid-2:has(> .field > .hint) > .field > label { grid-row: 1; }
    .grid-2:has(> .field > .hint) > .field > .hint { grid-row: 2; }
    .grid-2:has(> .field > .hint) > .field > :is(.input, .input-affix) { grid-row: 3; }
    .grid-2:has(> .field > .hint) > .field > .error { grid-row: 4; }
  }
}
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 16px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
legend { font-weight: 600; padding: 0; margin-bottom: 4px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- numbers & tables */
.figures { display: flex; gap: 40px; flex-wrap: wrap; }
.figure b { display: block; font-family: var(--display); font-size: 44px; line-height: 1; font-variant-numeric: tabular-nums; }
.figure span { color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: start; font-weight: 600; color: var(--muted); padding: 8px 10px 8px 0; border-bottom: 2px solid var(--line); }
.table td { padding: 10px 10px 10px 0; border-bottom: 1px solid #E6E8ED; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .end { text-align: end; }
.empty { padding: 28px 0 8px; color: var(--muted); max-width: 52ch; }
.empty strong { display: block; color: var(--black); font-size: 17px; margin-bottom: 4px; }
.qr { width: 132px; height: 132px; background: var(--paper); flex: none; }
.link-row { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.link-row .actions { flex: 1; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; }

.toast { position: fixed; inset-inline: 0; bottom: 24px; margin: 0 auto; width: fit-content; max-width: calc(100% - 32px); background: var(--black); color: var(--paper); padding: 12px 18px; z-index: 30; box-shadow: 0 10px 30px -10px rgba(12, 13, 16, .5); }
.spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.loading { padding: 64px var(--m); text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- auth pages */
.auth { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.auth-side { background: var(--plate); padding: 32px var(--m); display: grid; grid-template-rows: auto 1fr auto; position: sticky; top: 0; height: 100dvh; }
.auth-side .wordmark { color: var(--black); font-size: 28px; }
.auth-side .say { align-self: center; font-family: var(--display); font-size: clamp(44px, 5.6vw, 92px); line-height: .92; letter-spacing: -0.035em; }
.auth-side .note { max-width: 34ch; font-size: 17px; }
.auth-main { background: var(--paper); padding: clamp(32px, 6vw, 80px) var(--m); display: grid; align-content: center; }
.auth-card { width: min(100%, 460px); margin: 0 auto; display: grid; gap: 24px; }
.auth-card h1 { font-family: var(--display); font-size: 36px; line-height: 1.05; letter-spacing: -0.02em; }
.auth-card .sub { color: var(--muted); margin-top: 6px; }
.auth-alt { color: var(--muted); }
.price-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--ground); }
.price-line b { font-variant-numeric: tabular-nums; }
/* sign-up: the boxes the garage ticks (the terms are required, the rest start unticked) and the privacy notice */
.consents { display: grid; gap: 10px; }
.consents .check { align-items: flex-start; min-height: 0; padding-block: 4px; font-weight: 400; }
.consents .check input { margin: 2px 0 0; }
.consents .check input[aria-invalid="true"] { outline: 2px solid var(--err); outline-offset: 2px; }
.consents .hint, .consents .error { padding-inline-start: 30px; }
.fine { font-size: 14px; color: var(--muted); max-width: 62ch; }
@media (max-width: 860px) {
  .auth { grid-template-columns: 1fr; }
  .auth-side { grid-template-rows: auto; gap: 12px; padding: 20px var(--m) 24px; position: static; height: auto; }
  .auth-side .say { font-size: 40px; }
  .auth-side .note { display: none; }
  .auth-main { align-content: start; padding-top: 28px; }
}

/* ---------------------------------------------------------------- admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: start; border-bottom: 1px solid #E6E8ED; white-space: nowrap; }
.admin-table th { color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--line); position: sticky; top: 0; background: var(--paper); }
.admin-table tr:hover td { background: var(--plate-wash); }
/* a long heading ("לא הגיעו 30 יום") takes two lines, so its column is as wide as its numbers */
.admin-table th { white-space: normal; vertical-align: bottom; }
/* two facts in one cell: the owner with the mobile and e-mail under the name, the sign-up date with its source */
.admin-table .stack { display: inline-grid; justify-items: start; gap: 2px; }
.admin-table .stack small, .admin-table .stack a { font-size: 13px; }
@media (min-width: 821px) {
  /* the row's actions stay in view when the table is wider than the screen */
  .admin-table th:last-child, .admin-table td.row-actions {
    position: sticky; inset-inline-end: 0; z-index: 1; background: var(--paper); border-inline-start: 1px solid #E6E8ED;
  }
}
.scroll-x { overflow-x: auto; }
.pill { display: inline-block; padding: 1px 8px; font-weight: 600; font-size: 13px; background: var(--ground); }
.pill.ok { background: var(--ok-wash); color: var(--ok); }
.pill.off { background: var(--err-wash); color: var(--err); }

/* ---------------------------------------------------------------- legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 48px var(--m) 96px; }
.doc h1 { font-family: var(--display); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
.doc .updated { margin-top: 8px; color: var(--muted); }
.doc h2 { margin-top: 40px; font-size: 21px; }
.doc p, .doc li { margin-top: 12px; font-size: 17px; line-height: 1.7; }
.doc ul { list-style: disc; padding-inline-start: 22px; }

/* grid children may shrink below their content (long URLs, button rows) */
.page > *, .split > * { min-width: 0; }
@media (max-width: 640px) {
  .page { padding-top: 20px; gap: 16px; }
  .link-row { flex-direction: column; align-items: stretch; }
  .link-row .actions { flex-direction: column; }
  .link-row .actions .btn { width: 100%; }
  .link-row .qr { align-self: center; }
  .panel-head { flex-direction: column-reverse; }
  .topbar .garage { display: none; }
}
.page.wide { max-width: 1440px; }

/* ---------------------------------------------------------------- admin: launch readiness, sign-ups, failed deliveries */
.pill.warn { background: var(--plate-wash); color: #8A5A00; }
.stamp small.he { direction: rtl; } /* the stamp's small line is LTR for dates; this one is words */
.link-btn[disabled] { opacity: .55; cursor: progress; }
.quiet { color: var(--muted); }

.ready-list { display: grid; }
.ready-item {
  display: grid; grid-template-columns: 5.5rem minmax(8rem, 13rem) minmax(0, 1fr); gap: 2px 16px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid #E6E8ED;
}
.ready-list > .ready-item:first-child { border-top: 0; }
.ready-item .pill { justify-self: start; }
.ready-item .what { font-weight: 600; }
.ready-item .now { color: var(--muted); overflow-wrap: anywhere; }
.ready-item .todo { grid-column: 3; max-width: 72ch; margin-top: 4px; }
.ready-item code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .88em; padding: 1px 5px;
  background: var(--ground); color: var(--black); overflow-wrap: anywhere;
}
.ready-more { border-top: 1px solid #E6E8ED; }
.ready-more > summary { width: fit-content; padding: 12px 0; cursor: pointer; font-weight: 600; color: var(--navy); }
.ready-more > summary::marker { color: var(--navy); }
.ready-more > summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.ready-more[open] > summary { padding-bottom: 4px; }
.ready-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 12px; color: var(--muted); font-size: 14px; }

.leads { display: grid; margin-top: 12px; }
.lead {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 16px 0; border-top: 1px solid #E6E8ED;
}
.leads > .lead:first-child { border-top: 0; }
.lead .who { min-width: 0; }
.lead h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.lead .meta { display: flex; flex-wrap: wrap; gap: 2px 16px; margin-top: 4px; color: var(--muted); font-size: 15px; }
.lead .meta a { overflow-wrap: anywhere; }
.lead .actions { align-items: center; gap: 12px 20px; }

.panel > h2 + .scroll-x { margin-top: 12px; }
.fails { display: inline-grid; justify-items: start; gap: 2px; }
.fails small { max-width: 26ch; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 12px; }

/* phones and narrow tablets: every garage becomes a stack of label / value lines */
@media (max-width: 820px) {
  .scroll-x { overflow: visible; }
  .admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; }
  .admin-table tr { padding: 14px 0; border-top: 1px solid var(--line); }
  .admin-table tbody tr:first-child { border-top: 0; padding-top: 4px; }
  .admin-table td {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 3px 0; border: 0; white-space: normal; text-align: end;
  }
  .admin-table td::before { content: attr(data-label); flex: none; color: var(--muted); text-align: start; }
  .admin-table td.title { font-size: 17px; font-weight: 600; padding-bottom: 6px; }
  .admin-table td.row-actions { padding-top: 8px; }
  .admin-table td.title::before, .admin-table td.row-actions::before { content: none; }
  .admin-table td > * { min-width: 0; overflow-wrap: anywhere; }
  .admin-table tr:hover td { background: none; }
  .fails { justify-items: end; }
  .fails small { max-width: none; white-space: normal; }
  .admin-table .stack { justify-items: end; }
  /* a thumb's worth of target for the admin's text buttons */
  .admin-table td.row-actions .link-btn, .lead .actions .link-btn { min-height: 44px; }
}
@media (max-width: 640px) {
  .ready-item { grid-template-columns: auto minmax(0, 1fr); }
  .ready-item .now, .ready-item .todo { grid-column: 1 / -1; }
  .lead .actions { width: 100%; }
  .lead .actions .btn { flex: 1; }
}

/* ---------------------------------------------------------------- payments through Make: the pay form, back from Grow, the history */
/* the form opens in place of the button that asked for it: inside a notice it takes the whole row */
.notice .pay-form { flex-basis: 100%; }
.pay-form { display: grid; gap: 16px; max-width: 640px; }
.panel .pay-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid #E6E8ED; }
.pay-form .terms { display: grid; gap: 4px; }
.pay-form .check { align-items: flex-start; }
.pay-form .check input { margin-top: 2px; }
.pay-form .error { font-size: 14px; color: var(--err); font-weight: 600; }
.pay-form > .hint { font-size: 14px; color: var(--muted); max-width: 60ch; }
.notice .hint { color: inherit; } /* on the notice's wash: the text's own colour, smaller */
.notice.confirming { justify-content: flex-start; flex-wrap: nowrap; }
.notice.confirming .spinner { flex: none; width: 20px; height: 20px; border-width: 3px; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .notice.confirming .spinner { animation-duration: 2.4s; } }

.table.history { margin-top: 12px; }
.table.history .ref { color: var(--muted); font-size: 14px; }
.table.history .pill { margin-inline-start: 8px; }
.lead code {
  font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .88em; padding: 1px 5px;
  background: var(--ground); color: var(--black); overflow-wrap: anywhere;
}
@media (max-width: 420px) {
  .table.history { font-size: 14px; }
  .table.history th, .table.history td { padding-inline-end: 6px; }
}
