/* fleetmux portal — one stylesheet, no framework, no external font.
   The content security policy forbids third-party origins, and a private tool
   should not phone a CDN on every page load to find out what a button looks
   like. */

/* Each token is declared once, with both values, using light-dark(). The theme
   switch then changes one property — color-scheme — instead of overriding
   twenty variables, and the whole palette follows. The server writes
   data-theme onto <html> from a cookie, so there is no flash of the wrong
   theme and no inline script for the policy to forbid. */
:root {
  color-scheme: light dark;

  --paper:       light-dark(#fbfaf8, #15171a);
  --card:        light-dark(#ffffff, #1c1f23);
  --raised:      light-dark(#f4f2ee, #23272c);
  --ink:         light-dark(#1b1c1e, #eceef1);
  --ink-soft:    light-dark(#55585f, #b3b8c0);
  --ink-faint:   light-dark(#82868e, #8b919b);
  --line:        light-dark(#e3e0da, #2c3036);
  --accent:      light-dark(#0f5c57, #6fd3c7);
  --accent-soft: light-dark(#e6f0ee, #17302e);
  --accent-ink:  light-dark(#0b423e, #a9e7de);
  --on-accent:   light-dark(#ffffff, #10211f);
  --warn:        light-dark(#8a4b12, #e0b184);
  --warn-soft:   light-dark(#fbeee0, #33261a);
  --danger:      light-dark(#9b2c2c, #f3a2a2);
  --danger-soft: light-dark(#fbeaea, #341d1d);

  --shadow: light-dark(
    0 1px 2px rgba(20, 20, 20, .05),
    0 1px 2px rgba(0, 0, 0, .3));
  --shadow-lift: light-dark(
    0 8px 24px -18px rgba(20, 20, 20, .35),
    0 10px 30px -20px rgba(0, 0, 0, .8));
  --radius: 10px;
  --measure: 68ch;
  --rail: 236px;

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* Browsers without light-dark() (pre-Chrome 123 / Safari 17.5 / Firefox 120)
   compute every token above as invalid, which leaves backgrounds transparent
   and text unstyled — a broken-looking page rather than a plain one. They get
   the light palette as literals. Dark mode is the thing they lose, not the
   site. */
@supports not (color: light-dark(#000, #fff)) {
  :root {
    --paper: #fbfaf8;
    --card: #ffffff;
    --raised: #f4f2ee;
    --ink: #1b1c1e;
    --ink-soft: #55585f;
    --ink-faint: #82868e;
    --line: #e3e0da;
    --accent: #0f5c57;
    --accent-soft: #e6f0ee;
    --accent-ink: #0b423e;
    --on-accent: #ffffff;
    --warn: #8a4b12;
    --warn-soft: #fbeee0;
    --danger: #9b2c2c;
    --danger-soft: #fbeaea;
    --track: #d7e6e3;
    --shadow: 0 1px 2px rgba(20, 20, 20, .05);
    --shadow-lift: 0 8px 24px -18px rgba(20, 20, 20, .35);
  }
}

/* The two explicit choices. Everything above resolves from color-scheme. */
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent-ink); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3, h4 { font-family: var(--sans); font-weight: 650; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .4em; }
h1 { font-size: 2rem; letter-spacing: -.01em; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }

code, pre { font-family: var(--mono); font-size: .87em; }
pre {
  background: var(--accent-soft);
  padding: .9rem 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
}
code:not(pre code) { background: var(--accent-soft); padding: .1em .35em; border-radius: 4px; }
/* The generator's draft is prose arriving in a <pre>, so it wraps. */
pre[data-output-body] { white-space: pre-wrap; }

.gap { height: 1rem; }

/* Visible to a screen reader, not to an eye. Used for the labels on controls
   whose purpose is obvious from their placeholder but not from their markup. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- the signed-in shell ---------- */

.shell {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--card);
}

.sidebar .brand {
  display: flex;
  gap: 10px;
  padding: 18px 18px 14px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.02em;
}
.sidebar .brand small {
  display: block;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.nav { flex: 1; overflow-y: auto; padding: 4px 10px; }
.nav-group { margin-bottom: 14px; }
.nav-label {
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-faint);
  padding: 8px 8px 4px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav a:hover { background: var(--raised); color: var(--ink); }
.nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 2px 0 0 var(--accent);
}
.nav .ico { flex: none; width: 1.1em; text-align: center; opacity: .85; }

.sidebar-foot { border-top: 1px solid var(--line); padding: 10px; }
.whoami {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}
.whoami:hover { background: var(--raised); }
.whoami .who { min-width: 0; flex: 1; }
.whoami .who strong { display: block; font-size: .88rem; }
.whoami .who span {
  display: block;
  font-size: .75rem;
  color: var(--ink-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .85rem;
}
.sidebar-foot form { padding: 4px 8px 0; }

/* The mobile menu: a checkbox, a label and a sibling selector. */
.nav-toggle { position: absolute; left: -9999px; }
.mobile-bar { display: none; }
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  padding: .4rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  margin: 0;
}
.bars, .bars::before, .bars::after {
  display: block;
  width: 14px; height: 2px;
  background: currentColor;
}
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; }
.bars::before { top: -5px; }
.bars::after { top: 5px; }
.nav-toggle:focus-visible + .mobile-bar .nav-button { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .mobile-bar {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--card);
  }
  .sidebar { display: none; }
  .nav-toggle:checked ~ .sidebar {
    display: flex;
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand { display: none; }
}

/* ---------- the signed-out shell ---------- */

.site { display: flex; flex-direction: column; min-height: 100vh; }

.topbar {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 85%, transparent);
  position: sticky;
  top: 0;
  z-index: 20;
  /* Recomputed against scrolling content, on the page that takes cold mobile
     traffic — the first thing to drop if a mobile trace implicates it. */
  backdrop-filter: blur(8px);
}

.topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: .7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.brand-mark { flex: none; }

nav.main { display: flex; gap: .25rem; flex-wrap: wrap; margin-right: auto; }
.topbar .account { display: flex; align-items: center; gap: .9rem; font-size: .88rem; color: var(--ink-faint); }

main { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
/* Signed in, the main area fills what the sidebar leaves; the public pages keep the column. */
.shell > main { max-width: none; margin: 0; }

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2.5rem;
  color: var(--ink-faint);
  font-size: .85rem;
}
footer.site-footer .inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.page-head { margin-bottom: 1.6rem; }
.page-head p { margin: .2rem 0 0; max-width: var(--measure); }

/* ---------- components ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow), var(--shadow-lift);
}
.card h3 { margin-bottom: .2rem; }
.card .meta { color: var(--ink-faint); font-size: .82rem; }
/* A heading that names a card, not the page. Cards also hold full-size h2s. */
.card-title { font-size: 1rem; }
.card + .card { margin-top: 14px; }

.grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .grid.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.measure { max-width: var(--measure); }
/* The code carries its own white background: a theme that inverted it would be
   a code no scanner reads. */
.qr { width: 192px; margin: 0 0 1rem; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.qr svg { display: block; width: 100%; height: auto; }
.section { margin-top: 2.4rem; }
.section > h2 { margin-bottom: 1rem; }
/* A block set off from its neighbours without being a whole page section. */
.spaced { margin: 1.5rem 0; }

.empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.25rem;
  text-align: center;
}
.empty p { margin: 0 auto .9rem; }

.tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: border-color .12s ease, transform .12s ease;
}
.tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.tile h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; }
.tile p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.tile .meta { margin-top: .5rem; }

.pill {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  padding: .55rem 1.05rem;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { filter: brightness(1.07); }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn.secondary { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.secondary:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); }
.btn.quiet { background: transparent; color: var(--ink-faint); border-color: transparent; padding: .35rem .5rem; font-weight: 500; font-size: .85rem; }
.btn.quiet:hover { color: var(--danger); filter: none; }
.btn.danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn.danger:hover { background: var(--danger-soft); filter: none; }
.btn.small { padding: .35rem .7rem; font-size: .85rem; }

label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .25rem; }
label .optional { font-weight: 400; color: var(--ink-faint); }
.field + .field { margin-top: 1.1rem; }
.field .help { color: var(--ink-faint); font-size: .84rem; margin: .3rem 0 0; }

input[type="text"], input[type="email"], input[type="password"], input[type="search"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .6rem .75rem;
}
input:disabled { background: var(--raised); color: var(--ink-faint); }
textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
input:focus-visible, select:focus-visible, textarea:focus-visible,
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-ink);
  padding: .7rem .9rem;
  border-radius: 8px;
  font-size: .92rem;
}
.notice.demo,
.notice.warn { border-left-color: var(--warn); background: var(--warn-soft); color: var(--warn); }
.notice.error { border-left-color: var(--danger); background: var(--danger-soft); color: var(--danger); }
.notice a { color: inherit; }

.subnav {
  display: flex;
  gap: .3rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: .6rem;
  margin-bottom: .4rem;
}
.subnav a {
  padding: .3rem .7rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .9rem;
}
.subnav a:hover { background: var(--accent-soft); color: var(--accent-ink); }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .92rem;
}
.facts li:last-child { border-bottom: 0; }
.facts span { font-weight: 600; color: var(--ink); }

.danger-zone { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }

fieldset.field { border: 0; padding: 0; margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
fieldset.field legend { font-weight: 600; margin-bottom: .4rem; }

.auth-page { margin: 2rem auto 0; }

.copy-card .copy-target {
  flex: 1 1 22rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: .5rem .7rem;
}

/* ---------- figures: stat tiles ---------- */

/* A KPI row, not a chart. Four current values with no comparison to draw
   between them, so there is nothing for a chart to add. */
.kpi {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.stat-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink-faint);
  font-weight: 600;
}
/* Proportional figures on purpose: tabular-nums gives every digit the width of
   a zero, which looks loose at this size. Tabular is for columns. */
.stat-value {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--ink);
}
/* The one number the page leads with. Exactly one per view. */
.stat-value.hero { font-size: 3rem; letter-spacing: -.02em; }
.stat-of { font-size: 1rem; font-weight: 500; color: var(--ink-faint); }
.stat-note { font-size: .82rem; color: var(--ink-soft); }

/* ---------- list controls, tables and the pager ---------- */

.controls {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.control { flex: 0 0 auto; }
.control.grow { flex: 1 1 16rem; }
.controls select, .controls input[type="search"] { padding: .45rem .6rem; font-size: .92rem; }
.result-count { margin-left: auto; white-space: nowrap; }

.table-scroll { overflow-x: auto; }
.grid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.grid-table th, .grid-table td {
  text-align: left;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.grid-table thead th {
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-faint);
  background: var(--raised);
}
:root[data-density="compact"] .grid-table th, :root[data-density="compact"] .grid-table td { padding: .35rem .6rem; font-size: .85rem; }
.grid-table tbody tr:last-child td { border-bottom: 0; }
.grid-table tbody tr:hover { background: var(--accent-soft); }
.grid-table tr.is-suspended { opacity: .62; }
/* Tabular here, and only here: a column of numbers has to line up. */
.grid-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.cell-strong { display: block; font-weight: 600; color: var(--ink); }
.cell-sub { display: block; font-size: .82rem; color: var(--ink-faint); }
.grid-table .actions { white-space: nowrap; }
.grid-table .actions form { display: inline; }

.tags { display: inline-flex; gap: .3rem; flex-wrap: wrap; margin-top: .2rem; }
.tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .08rem .45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
}
.tag.accent { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.tag.danger { border-color: var(--danger); color: var(--danger); background: var(--danger-soft); }

.inline-danger { display: inline-block; }
.inline-danger summary { cursor: pointer; font-size: .85rem; color: var(--ink-faint); padding: .35rem .5rem; }
.inline-danger summary:hover { color: var(--danger); }
.inline-danger[open] {
  display: block;
  margin-top: .4rem;
  padding: .7rem;
  border: 1px solid var(--danger);
  border-radius: 8px;
  background: var(--danger-soft);
  white-space: normal;
  min-width: 18rem;
}

.pager {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.page-numbers { display: flex; gap: .2rem; flex-wrap: wrap; }
.page-link, .page-num {
  padding: .3rem .65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .88rem;
}
.page-link:hover, .page-num:hover { border-color: var(--accent); color: var(--accent-ink); background: var(--accent-soft); }
.page-link.disabled { opacity: .4; border-color: transparent; }
.page-num.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

/* ---------- prose ---------- */

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 1.8rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote {
  margin: 0 0 1em;
  padding: .5rem 0 .5rem 1rem;
  border-left: 3px solid var(--line);
  color: var(--ink-soft);
  font-style: italic;
}
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: .93rem; }
.prose th, .prose td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; background: var(--accent-soft); color: var(--accent-ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6rem 0; }

/* ---------- landing ---------- */

.hero { padding: 3rem 0 2.5rem; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.hero .lede { font-size: 1.18rem; color: var(--ink-soft); }
.hero .row { margin-top: 1.6rem; }
.hero .small { margin-top: .6rem; }

.plan { display: flex; flex-direction: column; gap: .6rem; }
.plan ul { list-style: none; margin: 0; padding: 0; font-size: .92rem; color: var(--ink-soft); }
.plan li { padding-left: 1.3rem; position: relative; margin-bottom: .3rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.plan .price { font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus {
  left: 1rem; top: .5rem;
  position: fixed;
  z-index: 50;
  background: var(--card);
  padding: .5rem .8rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
}

[hidden] { display: none !important; }

/* Waitlist form extras. */
.choices { display: grid; gap: .35rem; margin-top: .2rem; }
.choice {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 400;
  font-size: .94rem;
  margin: 0;
  padding: .45rem .7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  cursor: pointer;
}
.choice:hover { border-color: var(--accent); }
.choice input { accent-color: var(--accent); margin: 0; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .6rem;
  font-weight: 400;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.consent input { accent-color: var(--accent); margin-top: .25rem; width: auto; }

/* The honeypot. Hidden from people without display:none, which some bots read
   as "skip this one". */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* One-handed writing on a phone. The pages already read on a small screen; this
   is about operating the forms with a thumb — a comfortable tap target on every
   control, and the tool generator's primary action spanning the width rather
   than sitting in a corner the hand has to reach for. */
@media (max-width: 700px) {
  input[type="text"], input[type="email"], input[type="password"],
  input[type="search"], select, textarea {
    padding: .7rem .8rem;
  }
  .btn { padding: .7rem 1.1rem; }
  form[data-generator] .row .btn { flex: 1 1 100%; justify-content: center; }
}
