/* Liberty Distributors order status portal, layout B (tables).
   The page layout of the original mockup (summary tiles, an orders table, an order page with an items table and
   cards underneath) with the shared Liberty look: Public Sans, a white header with the full-colour logo and a
   navy/red brand rule, white cards on a light gray page, navy headings and buttons, status pills. */
@font-face { font-family: "Public Sans"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #181E71;
  --navy-hover: #232A8C;
  --navy-tint: #EEF0F8;
  --red: #CC3333;
  --red-dark: #A82828;
  --ground: #F4F5F9;
  --surface: #FFFFFF;
  --ink: #1A1D2E;
  --muted: #4A4F63;
  --line: #DCDFE8;
  --line-soft: #E6E8EF;
  --header-fade: #C9CDEB;
  --bo: #8A4A00;
  --focus: #8C95D9;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--ground); color: var(--ink);
  font-family: "Public Sans", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.5;
}
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.2; color: var(--navy); }
h1 { font-size: 2rem; font-weight: 700; }
h2 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
b, strong { font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.main { flex: 1; padding-top: 2.25rem; padding-bottom: 3rem; display: flex; flex-direction: column; gap: 1.5rem; }

/* ---- header: white with the full-colour logo. The rule under it: navy bar on top and a red line below
   (class "accent-brand", the default), or one navy line ("accent-navy"). */
.site-header { background: var(--surface); border-top: 6px solid var(--navy); border-bottom: 3px solid var(--red); }
.site-header.accent-navy { border-top: 0; border-bottom: 4px solid var(--navy); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.75rem 1.5rem; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand img { display: block; height: 44px; width: auto; }
.header-phone { color: var(--navy); text-decoration: none; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.header-phone:hover { text-decoration: underline; }
.account { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.account-who { display: flex; flex-direction: column; text-align: right; line-height: 1.3; }
.account-name { color: var(--navy); font-weight: 600; }
.account-num { color: var(--muted); font-size: 0.875rem; }

/* ---- footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem;
  padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: 0.875rem; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* ---- buttons and forms: navy, solid for the main action, outlined for the rest */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.25rem;
  border: 1px solid transparent; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-hover); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--navy); border-color: var(--navy); font-weight: 600; }
.btn-ghost:hover { background: var(--navy-tint); color: var(--navy); }
.btn-small { min-height: 44px; padding: 0 1rem; font-size: 0.95rem; }
.btn-text { border: 0; background: none; padding: 0; min-height: 44px; color: var(--navy); font: inherit;
  font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

input[type="text"], input:not([type]), input[type="search"], input[type="password"] {
  min-height: 46px; width: 100%; padding: 0 0.75rem; border: 1px solid #A9AEC0; border-radius: 8px;
  background: var(--surface); color: var(--ink); font: inherit; }
input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--navy); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label, .link-label { font-weight: 600; font-size: 0.9rem; }
.hint { font-size: 0.85rem; color: var(--muted); }
.check { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }
.alert { background: #FDEBD3; color: #6B3900; border-radius: 8px; padding: 0.75rem 0.9rem; font-weight: 600; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.card.pad { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.form { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; box-shadow: 0 1px 2px rgba(20, 24, 60, 0.06); }
.narrow { width: 100%; max-width: 470px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 1.25rem; }
.intro { display: flex; flex-direction: column; gap: 0.6rem; }
.lede { font-size: 1.05rem; color: var(--muted); }
.aside { font-size: 0.95rem; color: var(--muted); text-align: center; }
.fine { font-size: 0.85rem; color: var(--muted); text-align: center; margin-top: -0.35rem; }
.h-xl { font-size: 2.15rem; }

/* ---- orders page: summary tiles, then one card with the tabs, search and the orders table */
.page-head { display: flex; flex-direction: column; gap: 0.35rem; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; gap: 0.2rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
a.tile:hover { border-color: var(--navy); color: var(--muted); }
.tile-num { font-size: 1.9rem; line-height: 1.2; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.tile-label { font-size: 0.9rem; }
.tile-navy { background: var(--navy); border-color: var(--navy); color: var(--header-fade); }
.tile-navy .tile-num { color: #fff; }
a.tile-navy:hover { background: var(--navy-hover); color: var(--header-fade); }
.tile-bo .tile-num { color: var(--bo); }
.tile-quiet .tile-num { color: #8A8FA3; }
.tile.active { box-shadow: 0 0 0 3px var(--focus); }

.list-card { overflow: hidden; }
.list-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
.tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 8px;
  border: 1px solid var(--navy); background: var(--surface); color: var(--navy); font-weight: 600; text-decoration: none; }
.tabs a:hover { background: var(--navy-tint); }
.tabs a[aria-current="page"] { background: var(--navy); color: #fff; }
.find { display: flex; flex-direction: column; gap: 0.25rem; flex: 0 1 320px; min-width: 220px; }
.find label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.find-box { position: relative; }
.find-box svg { position: absolute; left: 12px; top: 13px; color: #5A5F73; pointer-events: none; }
.find-box input { min-height: 44px; padding-left: 2.4rem; }
.list-note { padding: 0.75rem 1.25rem; background: var(--navy-tint); color: var(--ink); font-size: 0.95rem;
  border-bottom: 1px solid var(--line-soft); }
.list-note a { font-weight: 600; margin-left: 0.35rem; }
.list-card .empty { border: 0; border-radius: 0; }

table { border-collapse: collapse; width: 100%; }
th { text-align: left; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--muted); background: #F7F8FB; padding: 0.75rem 0.5rem; white-space: nowrap; }
td { padding: 0.85rem 0.5rem; border-top: 1px solid var(--line-soft); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 1.25rem; }
th:last-child, td:last-child { padding-right: 1.25rem; }
th.num, td.num { text-align: right; }
.m-only { display: none; }

.orders-table td { font-size: 0.95rem; }
.orders-table tbody tr { cursor: pointer; }   /* the whole row opens the order (static/orders.js) */
.orders-table tbody tr:hover { background: #F6F7FB; }
.c-num { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-po { overflow-wrap: break-word; }
.c-via { white-space: nowrap; }
.c-po.is-empty, .soft { color: #8A8FA3; }
.c-shipto { min-width: 9rem; }
.c-ordered { color: var(--muted); white-space: nowrap; }
.c-status { min-width: 12rem; }
.c-status .d-only { display: flex; flex-direction: column; gap: 0.1rem; margin-top: 0.35rem; }
.c-status .d-only:empty { display: none; }
.sub { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.sub-bo { color: var(--bo); font-weight: 600; }
.c-when { white-space: nowrap; }
.when { font-weight: 600; display: inline-flex; align-items: center; gap: 0.4rem; }
.when.soft { font-weight: 400; }
.when-q { display: block; font-size: 0.8rem; color: var(--muted); }
.c-done .ok-icon { color: #1F5E36; flex: 0 0 auto; }
.c-inv { font-variant-numeric: tabular-nums; }
.c-proof { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
th.c-view, td.c-view { text-align: right; }
.btn-view { display: inline-flex; align-items: center; gap: 2px; min-height: 40px; padding: 0 0.55rem 0 0.9rem;
  border: 1px solid var(--navy); border-radius: 8px; background: var(--surface); color: var(--navy); font-size: 0.9rem;
  font-weight: 600; text-decoration: none; white-space: nowrap; }
.btn-view:hover, .btn-view:focus-visible, .orders-table tbody tr:hover .btn-view { background: var(--navy); color: #fff; }

.help-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.help-bar a { font-weight: 600; }

.pill { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.2rem 0.7rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-lg { font-size: 0.95rem; padding: 0.3rem 0.85rem; }
.tone-neutral { background: #ECEEF3; color: #3F4458; }
.tone-blue { background: #E3ECFB; color: #1D4E9E; }
.tone-navy { background: var(--navy); color: #fff; }
.tone-navy-light { background: #E0E4F5; color: var(--navy); }
.tone-green { background: #E3F1E8; color: #1F5E36; }
.tone-orange { background: #FDEBD3; color: var(--bo); }
.note-bo { color: var(--bo); font-size: 0.95rem; font-weight: 600; }

/* ---- order page */
.back { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: 0.35rem;
  font-weight: 600; text-decoration: none; margin-bottom: -0.5rem; }
.back:hover span { text-decoration: underline; text-underline-offset: 2px; }
.order-top { display: flex; flex-direction: column; gap: 1.1rem; }
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem 1.5rem; }
.facts div { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.facts dt { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.dd-sub { display: block; font-weight: 400; color: var(--muted); font-size: 0.9rem; }

/* Progress tracker: a bar over each step, a round marker (check when done, ring when current, clock when
   waiting on stock), the step name and a short detail line. */
.tracker { padding: 1.5rem; }
.track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem; }
.step { flex: 1 1 200px; display: flex; flex-direction: column; gap: 0.8rem; }
.step .bar { height: 6px; border-radius: 3px; background: var(--line-soft); }
.step.done .bar { background: var(--navy); }
.step.current .bar { background: #C9CDEB; }
.step.waiting .bar { background: #F2C892; }
.step-body { display: flex; gap: 0.75rem; align-items: flex-start; }
.dot { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--line); background: var(--surface); color: #fff; }
.step.done .dot { background: var(--navy); border-color: var(--navy); }
.step.current .dot { border-color: var(--navy); }
.step.current .pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.step.waiting .dot { border-color: var(--bo); color: var(--bo); }
.step-text { display: flex; flex-direction: column; gap: 0.15rem; padding-top: 0.2rem; min-width: 0; }
.step-title { font-weight: 700; color: var(--ink); line-height: 1.3; }
.step.todo .step-title { color: var(--muted); font-weight: 600; }
.step.waiting .step-title { color: var(--bo); }
.step-detail { font-size: 0.875rem; line-height: 1.45; color: var(--muted); }

.items-card { overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 1rem;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line-soft); }
.card-head h2 { font-size: 1.25rem; margin: 0; }
.items-table td { font-size: 0.95rem; }
.c-sku { font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-desc { overflow-wrap: anywhere; min-width: 14rem; }
.c-q { white-space: nowrap; font-variant-numeric: tabular-nums; }
.c-q.bo { color: var(--bo); font-weight: 700; }
.c-lstatus { min-width: 13rem; }
.lstat { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; }
.when-sm { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

.detail-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.info-head { display: flex; align-items: center; gap: 0.6rem; }
.info-head h2 { font-size: 1.05rem; color: var(--ink); margin: 0; }
.info-icon { flex: 0 0 auto; }
.tone-text-green .info-icon { color: #1F5E36; }
.tone-text-navy .info-icon { color: var(--navy); }
.tone-text-orange .info-icon { color: var(--bo); }
.tone-text-orange .info-head h2 { color: var(--bo); }
.info-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; overflow-wrap: anywhere; }
.track-links a { font-weight: 600; }
.card-link { font-weight: 600; font-size: 0.95rem; min-height: 44px; display: inline-flex; align-items: center; gap: 2px;
  margin-bottom: -0.6rem; text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.help-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1.25rem; display: flex;
  flex-direction: column; gap: 0.5rem; }
.help-box h2 { color: #fff; font-size: 1.05rem; margin: 0; }
.help-box p { color: #DDE0F3; font-size: 0.95rem; line-height: 1.55; overflow-wrap: anywhere; }
.help-box a { color: #fff; font-weight: 700; }
.updated { color: var(--muted); text-align: center; font-size: 0.85rem; }

/* ---- staff page */
.staff-head { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
main > .card:not(.form):not(.tracker):not(.items-card):not(.list-card) { padding: 1.25rem 1.5rem; }
.card h2 { margin-bottom: 0.6rem; }
.card .search { display: flex; flex-direction: column; gap: 0.3rem; }
.card .search label { font-weight: 600; }
.search-row { display: flex; gap: 0.5rem; }
.empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; color: var(--muted); }
.files { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.files .stale strong, .flag { color: var(--bo); }
.flag { display: block; font-weight: 600; }
.customer-card { border-top: 1px solid var(--line-soft); margin-top: 1rem; padding-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.customer-name { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.link-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.link-box { flex: 1 1 300px; font-size: 0.9rem; }
.new-link { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* ---- narrower screens: drop the order date column */
@media (max-width: 1060px) {
  .orders-table .c-ordered { display: none; }
}

/* ---- phones and small tablets: each order and each item becomes a card */
@media (max-width: 760px) {
  h1 { font-size: 1.6rem; }
  .h-xl { font-size: 1.85rem; }
  .main { padding-top: 1.25rem; gap: 1.25rem; }
  .brand img { height: 36px; }
  .account { width: 100%; justify-content: space-between; }
  .account-who { text-align: left; }
  .form { padding: 1.25rem; }
  .m-only { display: inline; }
  .d-only { display: none !important; }

  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .tile { padding: 0.85rem 1rem; }
  .tile-num { font-size: 1.5rem; }
  .tile-label { font-size: 0.82rem; line-height: 1.35; }

  .list-head { padding: 0.9rem 1rem; }
  .tabs { width: 100%; gap: 0; border: 1px solid var(--navy); border-radius: 10px; overflow: hidden; }
  .tabs a { flex: 1 1 0; justify-content: center; border: 0; border-radius: 0; padding: 0 0.5rem; }
  .tabs a + a { border-left: 1px solid var(--navy); }
  .find { flex-basis: 100%; }
  .list-note { padding: 0.75rem 1rem; }

  /* orders: a card per row. Top: order number and status. Then PO · ship to · ship via on one line, the
     driver or backorder note, and the date with Details at the bottom. */
  .orders-table thead { display: none; }
  .orders-table, .orders-table tbody { display: block; }
  .orders-table tr { display: flex; flex-wrap: wrap; align-items: center; padding: 0.85rem 1rem 0.1rem;
    border-top: 1px solid var(--line-soft); }
  .orders-table tr::before { content: ""; order: 3; flex-basis: 100%; height: 0.2rem; }
  .orders-table tr::after { content: ""; order: 5; flex-basis: 100%; height: 0; }
  .orders-table tbody tr:hover { background: none; }
  .orders-table td { display: block; border: 0; padding: 0; font-size: 0.9rem; }
  .orders-table td:first-child, .orders-table td:last-child { padding: 0; }
  .orders-table .c-num { order: 1; flex: 1 1 auto; margin-right: 0.75rem; font-size: 1rem; }
  .orders-table .c-status, .orders-table .c-inv { order: 2; min-width: 0; }
  .orders-table .c-inv { color: var(--muted); font-size: 0.85rem; }
  .orders-table .c-po, .orders-table .c-shipto, .orders-table .c-via, .orders-table .c-proof { order: 4; color: var(--muted);
    margin-right: 0.35rem; font-size: 0.88rem; }
  .orders-table .c-po:not(.is-empty) ~ .c-shipto::before,
  .orders-table .c-po:not(.is-empty) ~ .c-via::before, .orders-table .c-shipto ~ .c-via::before { content: "· "; }
  .orders-table .c-proof { flex-basis: 100%; }
  .orders-table .c-po.is-empty, .orders-table .c-ordered, .orders-table .c-proof.is-empty { display: none; }
  .orders-table .c-shipto ~ .c-via { display: none; }   /* PO · ship to is enough on a phone */
  .orders-table .c-sub { order: 5; flex-basis: 100%; padding-top: 0.2rem; }
  .orders-table .c-when, .orders-table .c-view { order: 6; border-top: 1px solid var(--line-soft); margin-top: 0.6rem;
    min-height: 60px; display: flex; align-items: center; align-self: stretch; }
  .orders-table .c-when { flex: 1 1 0; min-width: 0; flex-wrap: wrap; gap: 0 0.3rem; white-space: normal; padding-right: 0.5rem; }
  .orders-table .c-when.is-empty .soft { display: none; }
  .orders-table .c-view { order: 7; justify-content: flex-end; }
  .when-label { color: var(--muted); }
  .btn-view { min-height: 44px; }

  /* items: a card per line */
  .card-head { padding: 0.9rem 1rem; }
  .items-table thead { display: none; }
  .items-table, .items-table tbody { display: block; }
  .items-table tr { display: flex; flex-wrap: wrap; gap: 0.15rem 1rem; padding: 0.8rem 1rem; border-top: 1px solid var(--line-soft); }
  .items-table td { display: block; border: 0; padding: 0; }
  .items-table td:first-child, .items-table td:last-child { padding: 0; }
  .items-table .c-sku { display: none; }
  .items-table .c-desc { flex: 1 1 100%; min-width: 0; font-size: 0.92rem; }
  .sku-m { display: block; color: var(--muted); font-size: 0.8rem; }
  .items-table .c-q { text-align: left; font-size: 0.88rem; }
  .items-table .c-q .m-only { color: var(--muted); }
  .items-table .c-q.zero { display: none; }   /* "Backordered 0" on every line is noise on a phone */
  .items-table .c-lstatus { flex: 1 1 100%; min-width: 0; padding-top: 0.3rem; }

  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; }
  .tracker { padding: 1.1rem; }
  .track { flex-direction: column; gap: 0.9rem; }
  .step { flex-basis: auto; gap: 0; }
  .step .bar { display: none; }
  .help-bar { padding: 1rem; }
}

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