/* ==========================================================================
   IRONHAUL AUCTIONS — "THE CONDITION REPORT"
   --------------------------------------------------------------------------
   Used equipment sells on evidence, not atmosphere. Every lot is presented the
   way a machine is actually assessed: a graded score, wear meters, service
   history, disclosed faults and the transport figures needed to book a lowboy.

   Blueprint blue carries the interface so the page reads as a technical
   document. Orange is reserved strictly for time pressure, and the
   green/amber/red scale means condition and nothing else — if a colour is
   warm here, something is either closing or wearing out.
   ========================================================================== */

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface-alt);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* --- Tokens --------------------------------------------------------------- */
:root {
  --wrap: 1340px;
  --r: 3px;
  --header-h: 62px;
  --ease: cubic-bezier(.2,.7,.3,1);
  --sh: 0 1px 2px rgba(23,25,27,.05);
}

/* Every figure is monospaced — it reads as instrumentation, and columns line up. */
.mono, .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* The label voice: condensed, spaced, uppercase. Used for every field name. */
.lab {
  font-family: var(--font-display); font-weight: 600;
  font-size: .7rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--muted);
}

/* --- Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 26px; }
.wrap-narrow { max-width: 880px; }
.wrap-tight { max-width: 580px; }

.section { padding-block: clamp(34px, 4vw, 56px); }
.section-sm { padding-block: clamp(22px, 2.6vw, 34px); }
.section-alt { background: var(--surface-alt); }
.section-white { background: var(--surface); }
.section-ink, .section-dark { background: var(--ink); color: #fff; }
.section-ink h1, .section-ink h2, .section-ink h3,
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-ink .muted, .section-dark .muted { color: rgba(255,255,255,.66); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.stack > * + * { margin-top: var(--stack-gap, 14px); }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* --- Type ----------------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; }
.h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-transform: uppercase; letter-spacing: .005em; }
.h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); text-transform: uppercase; letter-spacing: .008em; }
.h3 { font-size: clamp(1.18rem, 1.8vw, 1.42rem); text-transform: uppercase; letter-spacing: .01em; }
.h4 { font-size: 1.05rem; letter-spacing: .01em; }

.eyebrow {
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.section-ink .eyebrow, .section-dark .eyebrow { color: #8FB4E0; }

.lede { font-size: 1.04rem; color: var(--muted); line-height: 1.62; max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* --- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--r);
  background: var(--surface); color: var(--ink);
  white-space: nowrap;
  transition: background .14s, border-color .14s, color .14s;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #000; }
.btn-hot { background: var(--hot); color: #fff; border-color: var(--hot); }
.btn-ghost { background: var(--surface); border-color: #C7C9CC; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .84rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* --- Panels --------------------------------------------------------------- */
.panel, .card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--r); box-shadow: var(--sh);
}
.panel-pad, .card-pad { padding: clamp(18px, 2.2vw, 24px); }
.card-hover { transition: border-color .14s; }
.card-hover:hover { border-color: #B9BDC2; }

/* --- Tags ----------------------------------------------------------------- */
.tag, .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px;
  font-family: var(--font-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .06em;
  border: 1px solid var(--rule); border-radius: var(--r);
  background: var(--surface); color: var(--ink-soft);
}
.tag-live, .badge-live {
  background: var(--hot); color: #fff; border-color: var(--hot);
  font-weight: 700; letter-spacing: .08em;
}
.tag-blue, .badge-info { background: var(--blue-soft); color: var(--blue); border-color: #C9DAEE; }
.tag-ink, .badge-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag-good, .badge-success { background: var(--good); color: #fff; border-color: var(--good); }
.tag-fair, .badge-warn { background: var(--fair); color: #fff; border-color: var(--fair); }
.tag-poor { background: var(--poor); color: #fff; border-color: var(--poor); }
.tag-muted, .badge-muted { background: var(--surface-alt); color: var(--muted); }
.badge-accent { background: var(--blue-soft); color: var(--blue); border-color: #C9DAEE; }

.dot, .led { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.dot-pulse, .led-pulse { animation: pulse 1.5s steps(2,end) infinite; }
@keyframes pulse { 0%,60% { opacity: 1; } 61%,100% { opacity: .3; } }

/* ==========================================================================
   HEADER — utility strip, masthead, filter strip
   ========================================================================== */
.util {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  min-height: 34px; padding-block: 6px;
  background: var(--ink); color: rgba(255,255,255,.72);
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em;
}
.util b { color: #fff; font-weight: 500; }
.util a { color: rgba(255,255,255,.72); }
.util a:hover { color: #fff; }
.util .r { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 9px; flex: none; }
.logo-mark {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  background: var(--blue); color: #fff; border-radius: var(--r);
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .02em;
}
.logo-mark .ico { width: 19px; height: 19px; }
.logo-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.34rem;
  letter-spacing: .01em; text-transform: uppercase;
}
.logo-sub {
  font-family: var(--font-mono); font-size: .54rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }

.nav { display: flex; gap: 20px; margin-left: 8px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft); padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--blue); border-bottom-color: var(--blue); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.header-phone { display: flex; flex-direction: column; line-height: 1.15; }
.header-phone .k { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.header-phone .v { font-family: var(--font-mono); font-size: .9rem; font-weight: 500; }

.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 6px; }
.nav-toggle .ico { width: 22px; height: 22px; }

.usermenu { position: relative; }
.usermenu-btn {
  display: flex; align-items: center; gap: 8px; padding: 5px 11px 5px 5px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
}
.usermenu-btn:hover { border-color: var(--ink); }
.avatar {
  width: 26px; height: 26px; flex: none; border-radius: var(--r);
  display: grid; place-items: center; background: var(--blue); color: #fff;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600;
}
.usermenu-panel {
  position: absolute; right: 0; top: calc(100% + 7px);
  min-width: 240px; padding: 5px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
  box-shadow: 0 8px 28px rgba(23,25,27,.14); z-index: 60;
}
.usermenu-panel a, .usermenu-panel button {
  display: flex; align-items: center; gap: 9px; width: 100%;
  padding: 9px 11px; border: 0; background: none; font-size: .9rem; text-align: left;
  border-radius: var(--r);
}
.usermenu-panel a:hover, .usermenu-panel button:hover { background: var(--blue-soft); }
.usermenu-head { padding: 9px 11px; border-bottom: 1px solid var(--rule); margin-bottom: 4px; }
.usermenu-divider { height: 1px; background: var(--rule); margin: 4px 0; }

/* Filter strip — the search console, always directly under the masthead. */
.strip {
  background: var(--surface); border-bottom: 1px solid var(--rule);
  padding-block: 13px;
}
.strip-inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.strip .field {
  display: flex; align-items: center; height: 38px; padding: 0 13px; margin: 0;
  background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r);
  font-size: .86rem; color: var(--ink-soft);
}
.strip .field-grow { flex: 1; min-width: 210px; }
.strip .field-grow input { width: 100%; border: 0; background: none; outline: none; }
.strip select.field { appearance: none; padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B6F73' d='M1.2 0 5 3.8 8.8 0 10 1.2 5 6.2 0 1.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
.strip .count { margin-left: auto; font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }

.density { display: flex; align-items: center; gap: 6px; }
.density .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.density button {
  border: 1px solid var(--rule); background: var(--surface); border-radius: var(--r);
  padding: 5px 12px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
}
.density button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   THE LOT SHEET — the signature component
   ========================================================================== */
.sheets { display: flex; flex-direction: column; gap: 16px; }

.sheet {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--r); overflow: hidden; transition: border-color .14s;
}
.sheet:hover { border-color: #B9BDC2; }

.sheet-top {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 9px 16px; background: var(--panel); border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: .72rem; color: var(--muted);
}
.sheet-top .lotno { color: var(--ink); font-weight: 700; }
.sheet-top .live { color: var(--hot); font-weight: 700; letter-spacing: .06em; }
.sheet-top .ends { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sheet-top .ends b { color: var(--hot); font-weight: 700; font-size: .82rem; }
.sheet-top .ends.is-cold b { color: var(--muted); }
.sheet-top .watch { color: var(--blue); font-weight: 500; }
.sheet-top form { display: inline; }
.sheet-top .watch-btn { background: none; border: 0; padding: 0; color: var(--blue); font-family: inherit; font-size: inherit; }

.sheet-body { display: grid; grid-template-columns: 268px minmax(0,1fr) 252px; }

/* Media column */
.col-media { border-right: 1px solid var(--rule); padding: 14px; display: flex; flex-direction: column; }
.col-media .big { width: 100%; flex: 1; min-height: 170px; object-fit: cover; border-radius: var(--r); background: var(--surface-alt); }
.col-media .empty { display: grid; place-items: center; flex: 1; min-height: 170px; background: var(--surface-alt); border-radius: var(--r); color: var(--muted); }
.col-media .empty .ico { width: 48px; height: 48px; opacity: .35; }
.strip-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 5px; }
.strip-thumbs img { width: 100%; height: 40px; object-fit: cover; border-radius: 2px; }
.strip-thumbs .more {
  display: grid; place-items: center; height: 40px;
  background: var(--ink); color: #fff; border-radius: 2px;
  font-family: var(--font-mono); font-size: .66rem;
}
.insp-link {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 9px; padding: 7px; border: 1px solid var(--blue); border-radius: var(--r);
  color: var(--blue);
  font-family: var(--font-display); font-weight: 600; font-size: .84rem;
  letter-spacing: .07em; text-transform: uppercase;
}
.insp-link:hover { background: var(--blue-soft); }
.insp-link .ico { width: 15px; height: 15px; }

/* Detail column */
.col-detail { padding: 16px 20px; min-width: 0; }
.mname {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .005em; line-height: 1.05; margin-bottom: 3px;
}
.mname a:hover { color: var(--blue); }
.msub { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); margin-bottom: 13px; }

/* Headline spec bar — the five figures buyers filter on */
.specbar {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin-bottom: 15px;
}
.specbar > div { padding: 8px 10px; border-right: 1px solid var(--rule); min-width: 0; }
.specbar > div:last-child { border-right: 0; }
.specbar .k {
  font-family: var(--font-display); font-weight: 600; font-size: .66rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--muted);
}
.specbar .v { font-family: var(--font-mono); font-size: .88rem; font-weight: 500; margin-top: 3px; white-space: nowrap; }

/* Condition report — the centrepiece */
.cond {
  border: 1px solid var(--rule); border-left: 3px solid var(--blue);
  border-radius: var(--r); padding: 12px 14px; margin-bottom: 14px; background: #FCFCFA;
}
.cond-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 11px; }
.cond-head .t { font-family: var(--font-display); font-weight: 600; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.grade {
  font-family: var(--font-mono); font-weight: 700; font-size: .95rem;
  padding: 1px 8px; border-radius: var(--r); color: #fff;
}
.grade-good { background: var(--good); }
.grade-fair { background: var(--fair); }
.grade-poor { background: var(--poor); }
.cond-head .when { margin-left: auto; font-family: var(--font-mono); font-size: .68rem; color: var(--muted); }

.bars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 22px; }
.bar { display: grid; grid-template-columns: 106px 1fr 38px; align-items: center; gap: 9px; }
.bar .n {
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
}
.bar .track { display: block; height: 7px; background: #E8E6E0; border-radius: 2px; overflow: hidden; }
.bar .fill { display: block; height: 100%; border-radius: 2px; }
.fill-good { background: var(--good); }
.fill-fair { background: var(--fair); }
.fill-poor { background: var(--poor); }
.bar .p { font-family: var(--font-mono); font-size: .76rem; font-weight: 500; text-align: right; }

/* Facts */
.facts { display: grid; grid-template-columns: 112px 1fr; gap: 6px 14px; font-size: .86rem; }
.facts dt {
  font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px;
}
.facts dd { margin: 0; color: var(--ink-soft); }
.facts .flag { color: var(--fair); font-weight: 600; }

/* Bid column */
.col-bid {
  border-left: 1px solid var(--rule); padding: 16px; background: var(--panel);
  display: flex; flex-direction: column;
}
.bid-k { font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bid-v { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; line-height: 1.1; margin-top: 2px; }
.bid-sub { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-top: 3px; }
.col-bid .btn { margin-top: 10px; }
.assur { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); display: grid; gap: 6px; }
.assur div { display: flex; gap: 7px; align-items: flex-start; font-size: .78rem; color: var(--ink-soft); line-height: 1.4; }
.assur .tick { color: var(--good); font-weight: 700; }
.freight {
  margin-top: 12px; padding: 9px 10px; background: var(--blue-soft);
  border-radius: var(--r); font-size: .76rem; color: var(--blue); line-height: 1.45;
}
.freight b { font-family: var(--font-mono); }

/* Compact density — same design, less of it. */
.compact .cond, .compact .facts, .compact .strip-thumbs,
.compact .insp-link, .compact .assur, .compact .freight { display: none; }
.compact .sheet-body { grid-template-columns: 196px minmax(0,1fr) 232px; }
.compact .col-media .big, .compact .col-media .empty { min-height: 106px; }
.compact .mname { font-size: 1.24rem; }
.compact .specbar { margin-bottom: 0; }
.compact .grade-inline { display: inline-flex; }
.grade-inline {
  display: none; align-items: center; vertical-align: middle;
  padding: 1px 7px; border-radius: var(--r); color: #fff;
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700; margin-left: 8px;
}

/* ==========================================================================
   Inventory & pagination
   ========================================================================== */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  flex-wrap: wrap; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted);
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;
  font-family: var(--font-mono); font-size: .72rem;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
  color: var(--ink-soft);
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .x { font-weight: 700; }

.pagination { display: flex; gap: 5px; justify-content: center; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; padding: 0 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
  font-family: var(--font-mono); font-size: .84rem;
}
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination .is-disabled { opacity: .35; pointer-events: none; }

.empty { text-align: center; padding: clamp(40px, 6vw, 68px) 22px; }
.empty .ico { width: 50px; height: 50px; color: var(--muted); margin: 0 auto 14px; opacity: .4; }

/* Category rail */
.rail-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 9px;
  padding: 7px 12px; margin: 0 -12px; font-size: .88rem; border-radius: var(--r);
}
.rail-list a:hover { background: var(--surface-alt); }
.rail-list a.is-active { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.rail-list .n { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); }
.rail-list a.is-active .n { color: var(--blue); }

/* ==========================================================================
   Lot detail
   ========================================================================== */
.lot-layout { display: grid; gap: 24px; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); align-items: start; }

.gallery-main { position: relative; aspect-ratio: 4/3; background: var(--surface-alt); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
}
.gallery-nav:hover { border-color: var(--ink); }
.gallery-prev { left: 11px; } .gallery-next { right: 11px; }
.gallery-count {
  position: absolute; right: 11px; bottom: 11px; padding: 3px 9px;
  background: var(--ink); color: #fff; border-radius: var(--r);
  font-family: var(--font-mono); font-size: .72rem;
}
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px,1fr)); gap: 6px; margin-top: 6px; }
.thumb { aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface-alt); padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border: 2px solid var(--blue); }

.bidbox { position: sticky; top: calc(var(--header-h) + 14px); }
.bidbox-head { padding: 16px 18px; background: var(--ink); color: #fff; border-radius: var(--r) var(--r) 0 0; }
.bidbox-body { padding: 18px; background: var(--surface); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--r) var(--r); }
.bid-amount { font-family: var(--font-mono); font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 700; line-height: 1; }
.bid-label { font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.62); }

.countdown { display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; margin-top: 13px; }
.countdown-unit { text-align: center; padding: 8px 3px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 2px; }
.countdown-unit .n { font-family: var(--font-mono); font-size: 1.16rem; font-weight: 600; line-height: 1; }
.countdown-unit .l { font-family: var(--font-mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; opacity: .58; margin-top: 4px; }
.countdown.is-urgent .countdown-unit { background: rgba(229,96,26,.34); border-color: rgba(229,96,26,.5); }

.buynow-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 11px;
  padding: 13px 15px; margin-top: 14px; background: var(--panel);
  border: 1px solid var(--rule); border-radius: var(--r);
}

.spec-table { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.spec-table tr { border-bottom: 1px solid var(--rule); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(even) { background: var(--panel); }
.spec-table th, .spec-table td { padding: 10px 14px; text-align: left; font-size: .88rem; vertical-align: top; }
.spec-table th {
  width: 40%; font-family: var(--font-display); font-weight: 600; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border-right: 1px solid var(--rule);
}
.spec-table td { font-family: var(--font-mono); font-size: .84rem; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px,1fr)); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.trust-item { padding: 13px 11px; text-align: center; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.trust-item .ico { width: 18px; height: 18px; color: var(--blue); margin: 0 auto 6px; }
.trust-item .l { font-family: var(--font-mono); font-size: .68rem; line-height: 1.35; }

.bid-history { max-height: 320px; overflow-y: auto; }
.bid-row { display: flex; justify-content: space-between; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px dashed var(--rule); font-size: .86rem; }
.bid-row:last-child { border-bottom: 0; }
.bid-row.is-you { background: var(--blue-soft); margin-inline: -12px; padding-inline: 12px; }
.bid-row .amt { font-family: var(--font-mono); font-weight: 600; }

/* ==========================================================================
   Steps, values, reviews, FAQ
   ========================================================================== */
.steps { display: grid; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.step { display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 16px; padding: 20px; border-bottom: 1px solid var(--rule); }
.step:last-child { border-bottom: 0; }
.step-n { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; color: var(--blue); line-height: 1; }

.value-card { padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.value-card::before { content: ""; display: block; width: 28px; height: 3px; background: var(--blue); margin-bottom: 13px; }

.stars { display: inline-flex; gap: 1px; color: var(--fair); }
.stars .ico { width: 14px; height: 14px; }

.review-card { padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); display: flex; flex-direction: column; }
.review-body { margin: 12px 0 16px; line-height: 1.62; flex: 1; }
.review-item { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; margin-bottom: 14px; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r); font-family: var(--font-mono); font-size: .7rem; color: var(--muted); }
.review-who { display: flex; align-items: center; gap: 10px; padding-top: 13px; border-top: 1px solid var(--rule); }

.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  width: 100%; padding: 17px 0; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem;
  text-transform: uppercase; letter-spacing: .01em;
}
.faq-q:hover { color: var(--blue); }
.faq-q .icon { flex: none; display: grid; place-items: center; width: 22px; height: 22px; background: var(--blue-soft); color: var(--blue); border-radius: var(--r); transition: transform .2s var(--ease); }
.faq-q .icon .ico { width: 14px; height: 14px; }
.faq-item[open] .faq-q .icon { transform: rotate(45deg); }
.faq-a { padding: 0 0 19px; max-width: 76ch; color: var(--muted); line-height: 1.66; }

/* ==========================================================================
   Forms, alerts
   ========================================================================== */
.field { margin-bottom: 16px; }
.label {
  display: block; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: .74rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.label .req { color: var(--hot); }
.hint { margin-top: 5px; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.input, .select, .textarea {
  width: 100%; padding: 10px 13px; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--r);
  transition: border-color .14s, box-shadow .14s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,137,.13);
}
.textarea { min-height: 120px; resize: vertical; }
.select {
  appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236B6F73' d='M1.2 0 5 3.8 8.8 0 10 1.2 5 6.2 0 1.2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input-error { border-color: var(--danger); }
.error-text { margin-top: 5px; font-size: .8rem; color: var(--danger); font-weight: 500; }
.input-money { position: relative; }
.input-money .input { padding-left: 28px; font-family: var(--font-mono); }
.input-money::before { content: "$"; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); color: var(--muted); pointer-events: none; z-index: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.check span { font-size: .9rem; line-height: 1.5; }
.field-row { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px;
  border: 1px solid var(--rule); border-left: 4px solid; border-radius: var(--r);
  background: var(--surface); font-size: .9rem; line-height: 1.5;
}
.alert-success { border-left-color: var(--good); background: #F1F8F4; }
.alert-error   { border-left-color: var(--poor); background: #FCF0EF; }
.alert-warning { border-left-color: var(--fair); background: #FDF7EC; }
.alert-info    { border-left-color: var(--blue); background: var(--blue-soft); }
.flashes { position: sticky; top: calc(var(--header-h) + 6px); z-index: 40; }
.flashes .alert { box-shadow: 0 4px 16px rgba(23,25,27,.1); }
.flashes .alert + .alert { margin-top: 7px; }

/* ==========================================================================
   Account & admin
   ========================================================================== */
.acct-layout { display: grid; gap: 22px; grid-template-columns: 218px minmax(0,1fr); align-items: start; }
.acct-nav { position: sticky; top: calc(var(--header-h) + 14px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.acct-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 13px; font-size: .88rem; border-bottom: 1px solid var(--rule); }
.acct-nav a:last-child { border-bottom: 0; }
.acct-nav a:hover { background: var(--surface-alt); }
.acct-nav a.is-active { background: var(--blue); color: #fff; font-weight: 600; }
.acct-nav .ico { width: 16px; height: 16px; }
.acct-nav .count { margin-left: auto; font-family: var(--font-mono); font-size: .68rem; padding: 1px 6px; background: var(--hot); color: #fff; border-radius: 2px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(166px,1fr)); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.stat { padding: 16px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.stat .l { font-family: var(--font-display); font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

.progress-steps { display: flex; flex-wrap: wrap; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--surface); margin-bottom: 20px; }
.pstep { flex: 1; min-width: 145px; padding: 13px 15px; border-right: 1px solid var(--rule); }
.pstep:last-child { border-right: 0; }
.pstep .n { width: 22px; height: 22px; display: grid; place-items: center; background: var(--surface-alt); border-radius: 2px; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; margin-bottom: 8px; }
.pstep.is-done { background: #F1F8F4; }
.pstep.is-done .n { background: var(--good); color: #fff; }
.pstep.is-current { background: var(--blue-soft); }
.pstep.is-current .n { background: var(--blue); color: #fff; }
.pstep .t { font-size: .86rem; font-weight: 600; }
.pstep .d { font-size: .76rem; color: var(--muted); margin-top: 2px; }

.data-table { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.data-table th {
  padding: 10px 13px; text-align: left; background: var(--panel);
  font-family: var(--font-display); font-weight: 600; font-size: .68rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--rule); white-space: nowrap;
}
.data-table td { padding: 11px 13px; border-bottom: 1px solid var(--rule); font-size: .87rem; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: var(--panel); }
.data-table a { font-weight: 600; }
.data-table a:hover { color: var(--blue); }
.table-scroll { overflow-x: auto; }
.thumb-sm { width: 54px; height: 40px; object-fit: cover; border: 1px solid var(--rule); border-radius: 2px; flex: none; }

.upload-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px,1fr)); gap: 13px; }
.upload-tile { position: relative; padding: 20px 16px; text-align: center; background: var(--surface); border: 2px dashed var(--rule); border-radius: var(--r); }
.upload-tile:hover { border-color: var(--blue); background: var(--blue-soft); }
.upload-tile.is-done { border-style: solid; border-color: var(--good); background: #F1F8F4; }
.upload-tile input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { display: block; width: 38px; height: 38px; margin: 0 auto 10px; color: var(--muted); }
.upload-icon .ico { width: 100%; height: 100%; }
.upload-tile.is-done .upload-icon { color: var(--good); }
.upload-preview { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 10px; border: 1px solid var(--rule); border-radius: 2px; background: var(--surface-alt); }
.upload-name { font-family: var(--font-display); font-weight: 700; font-size: .96rem; text-transform: uppercase; }
.upload-hint { font-size: .76rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* ==========================================================================
   Signing
   ========================================================================== */
.sign-shell { min-height: 100vh; background: var(--surface-alt); }
.sign-bar { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; padding: 11px 0; }
.sign-doc { max-width: 840px; margin: 24px auto; padding: clamp(24px,4vw,50px); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.sign-doc h2 { font-size: 1rem; letter-spacing: .05em; padding-bottom: 6px; margin: 30px 0 13px; border-bottom: 2px solid var(--blue); text-transform: uppercase; }
.sign-doc h2:first-of-type { margin-top: 0; }
.sign-doc p { margin-bottom: 12px; line-height: 1.68; font-size: .92rem; text-align: justify; }
.sign-doc .doc-head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--ink); margin-bottom: 26px; }
.doc-table { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.doc-table tr { border-bottom: 1px solid var(--rule); }
.doc-table tr:last-child { border-bottom: 0; }
.doc-table tr:nth-child(even) { background: var(--panel); }
.doc-table th, .doc-table td { padding: 9px 13px; text-align: left; font-size: .86rem; }
.doc-table th { width: 40%; font-family: var(--font-display); font-weight: 600; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--rule); }
.doc-table td { font-family: var(--font-mono); font-size: .82rem; }
.doc-total { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 18px; margin: 18px 0; background: var(--blue-soft); border-left: 3px solid var(--blue); border-radius: var(--r); }
.doc-total .v { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; }
.sig-panel { max-width: 840px; margin: 0 auto 36px; }
.sig-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.sig-tab { padding: 9px 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); font-family: var(--font-display); font-weight: 700; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; }
.sig-tab.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.sig-pad-wrap { position: relative; background: var(--surface); border: 2px dashed var(--rule); border-radius: var(--r); overflow: hidden; }
.sig-pad { display: block; width: 100%; height: 180px; touch-action: none; cursor: crosshair; }
.sig-pad-line { position: absolute; left: 30px; right: 30px; bottom: 42px; border-bottom: 1px solid var(--rule); pointer-events: none; }
.sig-pad-hint { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--font-mono); font-size: .76rem; color: var(--muted); pointer-events: none; }
.sig-typed { width: 100%; padding: 24px 16px; text-align: center; font-family: 'Brush Script MT','Segoe Script',cursive; font-size: 2rem; color: var(--ink); border: 2px dashed var(--rule); border-radius: var(--r); background: var(--surface); }

/* ==========================================================================
   Footer
   ========================================================================== */
.cta-band { background: var(--blue); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .wrap { padding-block: clamp(28px,3.6vw,44px); display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.cta-band .lede { color: rgba(255,255,255,.8); }

.footer { background: var(--ink); color: rgba(255,255,255,.64); padding-block: 42px 20px; }
.footer h4 { font-family: var(--font-display); font-weight: 600; font-size: .7rem; letter-spacing: .15em; color: #fff; margin-bottom: 12px; text-transform: uppercase; }
.footer a { color: rgba(255,255,255,.64); font-size: .87rem; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1.7fr repeat(3,1fr); }
.footer-links li + li { margin-top: 7px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--font-mono); font-size: .74rem; }

/* --- Utilities ------------------------------------------------------------ */
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-5{margin-top:42px}
.mb-0{margin-bottom:0}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}.mb-5{margin-bottom:42px}
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cat-tile .ico { width: 30px; height: 30px; }
.feature-mark .ico { width: 22px; height: 22px; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .sheet-body, .compact .sheet-body { grid-template-columns: 220px minmax(0,1fr); }
  .col-bid { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); }
  .col-bid .btn { max-width: 260px; }
  .assur { grid-template-columns: repeat(2,1fr); display: grid; }
}
@media (max-width: 1080px) {
  .lot-layout { grid-template-columns: 1fr; }
  .bidbox { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .specbar { grid-template-columns: repeat(3,1fr); }
  .bars { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .acct-layout { grid-template-columns: 1fr; }
  .acct-nav { position: static; display: flex; overflow-x: auto; }
  .acct-nav a { white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--rule); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 0; background: var(--surface);
    border-bottom: 1px solid var(--rule); box-shadow: 0 8px 24px rgba(23,25,27,.12);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 26px; border-bottom: 1px solid var(--rule); border-left: 3px solid transparent; }
  .nav a.is-active { border-bottom-color: var(--rule); border-left-color: var(--blue); background: var(--blue-soft); }
  .header-actions { margin-left: 0; }
  .header-phone { display: none; }
  .util .hide-sm { display: none; }
}
@media (max-width: 720px) {
  .sheet-body, .compact .sheet-body { grid-template-columns: 1fr; }
  .col-media { border-right: 0; border-bottom: 1px solid var(--rule); }
  .col-media .big { min-height: 190px; }
  .specbar { grid-template-columns: repeat(2,1fr); }
  .specbar > div { border-bottom: 1px solid var(--rule); }
  .facts { grid-template-columns: 1fr; gap: 2px 0; }
  .facts dd { margin-bottom: 8px; }
}
@media (max-width: 620px) {
  :root { --header-h: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-inline, .row .btn, .col-bid .btn { width: auto; }
  .col-bid .btn { width: 100%; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .progress-steps, .stat-grid { flex-direction: column; }
  .pstep, .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .pstep:last-child, .stat:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .util, .strip, .footer, .cta-band, .sign-bar, .sig-panel, .btn, .flashes { display: none !important; }
  .sign-doc { border: 0; margin: 0; max-width: none; padding: 0; }
}

/* ==========================================================================
   Page head, breadcrumbs, inventory rail
   ========================================================================== */
.pagehead { padding: 22px 0 20px; background: var(--surface); border-bottom: 1px solid var(--rule); }
.crumbs { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-bottom: 11px; }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { opacity: .5; }
.crumbs .current { color: var(--ink); }

.inv-layout { display: grid; gap: 22px; grid-template-columns: 232px minmax(0,1fr); align-items: start; }
.rail { position: sticky; top: calc(var(--header-h) + 14px); }
.rail-group { padding: 15px 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.rail-group + .rail-group { margin-top: 12px; }
.rail-title {
  font-family: var(--font-display); font-weight: 600; font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue);
  padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid var(--rule);
}
.rail-group .field { margin-bottom: 12px; }
.rail-group .field:last-child { margin-bottom: 0; }

.searchbar {
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  height: 46px; margin-bottom: 16px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r);
}
.searchbar .input { border: 0; padding: 0; background: none; }
.searchbar .input:focus { box-shadow: none; }
.searchbar .ico { color: var(--muted); }

@media (max-width: 900px) {
  .inv-layout { grid-template-columns: 1fr; }
  .rail { position: static; }
}

/* ==========================================================================
   Mini card — the sheet reduced to a tile, for watchlists and related lots
   ========================================================================== */
.mini { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; transition: border-color .14s; }
.mini:hover { border-color: #B9BDC2; }
.mini-media { position: relative; aspect-ratio: 4/3; background: var(--surface-alt); }
.mini-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-media .empty { display: grid; place-items: center; height: 100%; color: var(--muted); }
.mini-media .empty .ico { width: 44px; height: 44px; opacity: .35; }
.mini-flags { position: absolute; top: 9px; left: 9px; display: flex; gap: 5px; flex-wrap: wrap; }
.mini-grade { position: absolute; right: 9px; bottom: 9px; padding: 2px 8px; border-radius: var(--r); color: #fff; font-family: var(--font-mono); font-size: .74rem; font-weight: 700; }
.mini-body { padding: 13px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mini-top { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .05em; color: var(--muted); text-transform: uppercase; }
.mini-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; line-height: 1.12; }
.mini-name a:hover { color: var(--blue); }
.mini-specs { display: flex; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft); }
.mini-price { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule); }
.mini-price .k { font-family: var(--font-display); font-weight: 600; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.mini-price .v { font-family: var(--font-mono); font-size: 1.16rem; font-weight: 700; line-height: 1.1; }
.mini-timer { font-family: var(--font-mono); font-size: .72rem; color: var(--hot); font-weight: 500; }
.mini-timer.is-cold { color: var(--muted); }

/* Condition summary on the lot page — the grade as the headline number */
.cond-summary { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 26px; align-items: start; }
.grade-big {
  display: inline-flex; align-items: baseline; gap: 2px;
  padding: 10px 16px; border-radius: var(--r); color: #fff;
  font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700; line-height: 1;
}
.grade-big span { font-size: 1rem; opacity: .75; }
.grade-none { background: var(--surface-alt); color: var(--muted); }
.cond-summary-meta .facts { grid-template-columns: 92px 1fr; }
@media (max-width: 560px) { .cond-summary { grid-template-columns: 1fr; gap: 16px; } }

/* Ink-coloured surfaces re-point the legacy accent aliases at a tint that
   actually reads on a dark ground. Custom properties inherit, so anything
   nested inside picks this up without touching the markup. */
.section-dark, .section-ink, .footer, .sign-bar, .admin-side, .bidbox-head, .util, .cta-band {
  --accent: var(--accent-light);
  --accent-ink: var(--accent-light);
  --accent-dark: var(--accent-light);
}

/* Small holdovers used on the buy-now and order pages. */
.h-display { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .005em; line-height: 1.05; }
.lot-meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.lot-specs { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); }
.lot-specs span { display: inline-flex; align-items: center; gap: 6px; }
.lot-specs .ico { width: 13px; height: 13px; color: var(--muted); }

/* ==========================================================================
   HOME — hero band, trust row, search console, process, FAQ, alerts
   ========================================================================== */

/* The hero says what the yard is and how much of it is open right now. */
.hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  border-bottom: 3px solid var(--hot);
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: 40px; align-items: center; padding-block: clamp(34px, 4.5vw, 60px);
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem); text-transform: uppercase;
  letter-spacing: -.005em; line-height: .96; color: #fff;
}
.hero h1 .hl { color: var(--hot); display: block; }
.hero .lede { color: rgba(255,255,255,.76); margin-top: 16px; max-width: 46ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r);
}
.hero-float {
  position: absolute; left: -14px; bottom: -14px;
  background: var(--surface); color: var(--ink);
  border-left: 4px solid var(--hot); border-radius: var(--r);
  padding: 13px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.hero-float .k { font-family: var(--font-display); font-weight: 600; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-float .v { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; line-height: 1; margin-top: 4px; }
.hero-float .d { font-size: .78rem; color: var(--muted); margin-top: 4px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 26px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); }
.hero-stat { background: var(--ink); padding: 12px 14px; }
.hero-stat .n { font-family: var(--font-mono); font-size: 1.42rem; font-weight: 700; line-height: 1; }
.hero-stat .l { font-family: var(--font-display); font-weight: 600; font-size: .64rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 6px; }

/* Trust row — the same promises the purchase agreement makes. */
.trustrow { background: var(--panel); border-bottom: 1px solid var(--rule); }
.trustrow-inner { display: flex; flex-wrap: wrap; gap: 10px 30px; padding-block: 12px; justify-content: space-between; }
.trustrow span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: .74rem; color: var(--ink-soft); }
.trustrow .ico { width: 15px; height: 15px; color: var(--blue); }

/* Search console with the five fields the reference site leads on */
.console { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 20px; }
.console-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.console-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; align-items: end; }
.console-grid .field { margin: 0; }
.console-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center; }

/* Numbered process cards, mirroring the inquiry-to-delivery block */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard { background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--hot); border-radius: 0 0 var(--r) var(--r); padding: 20px 18px; }
.pcard .n { font-family: var(--font-mono); font-size: 2.1rem; font-weight: 700; color: var(--rule); line-height: 1; }
.pcard h3 { font-size: 1.06rem; text-transform: uppercase; margin: 10px 0 8px; }
.pcard p { font-size: .86rem; color: var(--muted); line-height: 1.55; }

/* Split block: photograph on one side, the promises on the other */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.split img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.split-body { padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; justify-content: center; }
.ticks { display: grid; gap: 11px; margin: 20px 0 24px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; align-items: start; font-size: .93rem; }
.ticks .box { width: 22px; height: 22px; display: grid; place-items: center; background: var(--hot); color: #fff; border-radius: 2px; font-size: .74rem; font-weight: 700; }

/* Rating summary above the reviews */
.rating-sum { display: flex; align-items: center; gap: 12px; }
.rating-sum .score { font-family: var(--font-mono); font-size: 2.1rem; font-weight: 700; line-height: 1; }

/* Alerts strip */
.alerts { background: var(--blue); color: #fff; }
.alerts .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; }
.alerts h3 { color: #fff; font-size: 1.24rem; text-transform: uppercase; }
.alerts p { color: rgba(255,255,255,.78); font-size: .88rem; margin-top: 4px; }
.alerts form { display: flex; gap: 8px; flex-wrap: wrap; }
.alerts .input { min-width: 250px; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; }
.alerts .input::placeholder { color: rgba(255,255,255,.62); }

/* Chips on the related-equipment cards */
.mini-chips { display: flex; gap: 4px; flex-wrap: wrap; }
.mini-chips span {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 7px; border: 1px solid var(--rule); border-radius: 2px; color: var(--muted); background: var(--panel);
}

/* Lot page: the promises strip and the walkthrough-video dialog */
.promise-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); border-radius: var(--r); overflow: hidden; }
.promise-strip > div { padding: 13px 12px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.promise-strip > div:last-child { border-right: 0; }
.promise-strip .n { font-family: var(--font-mono); font-size: 1.16rem; font-weight: 700; color: var(--hot); line-height: 1; }
.promise-strip .l { font-family: var(--font-display); font-weight: 600; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.66); margin-top: 5px; }

dialog.modal { width: min(560px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--rule); border-top: 3px solid var(--hot); border-radius: var(--r); background: var(--surface); color: var(--ink); }
dialog.modal::backdrop { background: rgba(23,25,27,.6); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--rule); }
.modal-body { padding: 22px 18px; }
.modal-close { background: var(--ink); color: #fff; border: 0; border-radius: 2px; width: 26px; height: 26px; line-height: 1; }

@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-float { left: auto; right: 10px; bottom: 10px; }
  .console-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split img { min-height: 240px; }
}
@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .console-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process { grid-template-columns: 1fr; }
  .promise-strip { grid-template-columns: repeat(2, 1fr); }
  .promise-strip > div { border-bottom: 1px solid rgba(255,255,255,.12); }
}

/* ==========================================================================
   THE BOARD — home page
   --------------------------------------------------------------------------
   Scanning a yard and studying a machine are two different jobs. The home page
   is the first: photograph, clock, name, grade, price — a wall of iron you can
   read in one pass. The full condition report still runs the inventory page,
   where a buyer has already decided what they are looking at.
   ========================================================================== */

/* The masthead goes dark so the page opens on the machines, not on chrome. */
.header { background: var(--ink); border-bottom: 0; }
.header .logo-name { color: #fff; }
.header .logo-sub { color: rgba(255,255,255,.5); }
.header .logo-mark { background: var(--hot); }
.nav a { color: rgba(255,255,255,.68); }
.nav a:hover { color: #fff; }
.nav a.is-active { color: #fff; border-bottom-color: var(--hot); }
.header-phone .k { color: rgba(255,255,255,.45); }
.header-phone .v { color: #fff; }
.usermenu-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.usermenu-btn:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); }
.usermenu-panel { color: var(--ink); }
.header .btn-ghost { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.header .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.util { background: #000; }

.pill-live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 2px;
  background: var(--hot); color: #fff;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .06em;
}

/* ---- The board ---------------------------------------------------------- */
.board { padding-block: 22px 40px; }
.board-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 14px;
}
.board-head h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .01em;
}
.board-head .sort { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }

.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.cell {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--r); overflow: hidden; transition: border-color .14s;
}
.cell:hover { border-color: var(--ink); }
.cell.lead { grid-column: span 2; grid-row: span 2; }

.cell figure { position: relative; margin: 0; background: var(--surface-alt); }
.cell figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cell.lead figure img { aspect-ratio: 16/11; }
.cell .empty { display: grid; place-items: center; aspect-ratio: 4/3; color: var(--muted); }
.cell .empty .ico { width: 44px; height: 44px; opacity: .3; }

.cell-flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 5px; flex-wrap: wrap; }
.cell-watch {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); border: 0; border-radius: 2px; color: var(--ink);
}
.cell-watch:hover { background: #fff; color: var(--hot); }

.clock {
  position: absolute; left: 10px; bottom: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 2px;
  background: rgba(23,25,27,.86); color: #fff;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 500;
}
.clock.hot { background: var(--hot); }
.clock.is-cold { background: rgba(23,25,27,.55); }
.cell.lead .clock { font-size: 1.02rem; padding: 7px 14px; }

.cgrade {
  position: absolute; right: 10px; bottom: 10px;
  padding: 3px 9px; border-radius: 2px; color: #fff;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 700;
}
.cell.lead .cgrade { font-size: .9rem; padding: 5px 12px; }
.cviews {
  position: absolute; right: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 2px;
  background: rgba(23,25,27,.72); color: rgba(255,255,255,.9);
  font-family: var(--font-mono); font-size: .64rem;
}
.cviews .ico { width: 11px; height: 11px; }

.cbody { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.cell.lead .cbody { padding: 18px 20px 20px; }
.ctag {
  font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.cname {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  text-transform: uppercase; letter-spacing: .005em; line-height: 1.14; margin: 6px 0 10px;
}
.cell.lead .cname { font-size: 1.7rem; }
.cname a:hover { color: var(--blue); }

.cspec-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-bottom: 10px; }
.cspec-row div { min-width: 0; }
.cspec-row .k {
  font-family: var(--font-display); font-weight: 600; font-size: .6rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.cspec-row .v { font-family: var(--font-mono); font-size: .76rem; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* The lead cell has room for the wear meters, so it shows them. */
.cbars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px 20px; margin-bottom: 12px; }
.cbar { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 8px; }
.cbar .n { font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.cbar .track { display: block; height: 6px; background: #E8E6E0; border-radius: 2px; overflow: hidden; }
.cbar .fill { display: block; height: 100%; border-radius: 2px; }
.cbar .p { font-family: var(--font-mono); font-size: .72rem; text-align: right; }

.cfoot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 10px;
  margin-top: auto; padding-top: 10px; border-top: 1px solid var(--rule);
}
.cfoot .k { font-family: var(--font-display); font-weight: 600; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cfoot .v { font-family: var(--font-mono); font-size: 1.06rem; font-weight: 700; margin-top: 2px; }
.cell.lead .cfoot .v { font-size: 1.8rem; }
.cnext { font-family: var(--font-mono); font-size: .66rem; color: var(--muted); margin-top: 6px; }
.cactions { display: flex; gap: 6px; margin-top: 10px; }
.cactions .btn { flex: 1; }

/* The hero overlay sits inside the photograph, as on the car board. */
.hero-float {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border-radius: var(--r);
  background: rgba(23,25,27,.88); color: #fff; border-left: 3px solid var(--hot);
  box-shadow: none;
}
.hero-float .k { color: rgba(255,255,255,.55); }
.hero-float .v { font-size: 1.32rem; color: #fff; }
.hero-float .t { font-family: var(--font-mono); font-size: .84rem; color: var(--hot); font-weight: 500; margin-top: 3px; }

@media (max-width: 1200px) {
  .board-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 940px) {
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .cell.lead { grid-column: span 2; grid-row: span 1; }
  .cbars { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .board-grid { grid-template-columns: 1fr; }
  .cell.lead { grid-column: span 1; }
  .cactions .btn { width: auto; }
}

/* The menu button belongs to the dark masthead now. */
.nav-toggle { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.nav-toggle:hover { background: rgba(255,255,255,.12); }
@media (max-width: 820px) {
  .nav { background: var(--ink); border-bottom-color: rgba(255,255,255,.14); box-shadow: none; }
  .nav a { border-bottom-color: rgba(255,255,255,.1); }
  .nav a.is-active { background: rgba(255,255,255,.08); border-bottom-color: rgba(255,255,255,.1); border-left-color: var(--hot); }
}
.util .rating { letter-spacing: .05em; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

/* A photographed banner rather than a flat page head — this is the one page
   that exists to be persuasive. */
.t-hero {
  position: relative; overflow: hidden;
  background: var(--ink) center/cover no-repeat;
  color: #fff;
}
.t-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,16,20,.92) 0%, rgba(16,16,20,.78) 42%, rgba(16,16,20,.25) 100%);
}
.t-hero .wrap { position: relative; z-index: 2; padding-block: clamp(40px, 6vw, 76px); }
.t-hero h1 { color: #fff; max-width: 16ch; }
.t-hero .lede { color: rgba(255,255,255,.78); margin-top: 14px; }
.t-hero .crumbs { color: rgba(255,255,255,.6); }
.t-hero .crumbs a { color: rgba(255,255,255,.6); }
.t-hero .crumbs a:hover { color: #fff; }
.t-hero .crumbs .current { color: #fff; }

.t-score { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.t-score .n { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.t-score .stars .ico { width: 17px; height: 17px; }
.t-score .l { font-family: var(--font-mono); font-size: .74rem; color: rgba(255,255,255,.66); margin-top: 5px; }

/* The lead testimonial gets the room a hand-picked quote deserves. */
.t-lead {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 26px; align-items: center;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--ink); color: #fff;
}
.t-lead .quote { font-size: clamp(1.05rem, 1.7vw, 1.32rem); line-height: 1.6; }
.t-lead .stars { margin-bottom: 14px; }
.t-badge {
  display: grid; place-items: center; gap: 2px;
  padding: 18px 26px; text-align: center;
  background: var(--hot); color: #fff;
}
.t-badge .n { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.t-badge .l { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; }

.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.t-card {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 20px; background: var(--surface);
  border: 1px solid var(--line, var(--rule)); border-top: 3px solid var(--hot);
}
.t-card .mark {
  position: absolute; top: 14px; right: 16px;
  font-family: Georgia, serif; font-size: 2.6rem; line-height: 1;
  color: var(--line, var(--rule));
}
.t-card .quote { margin: 12px 0 16px; line-height: 1.65; flex: 1; font-size: .92rem; }
.t-item {
  display: flex; align-items: center; gap: 8px; padding: 8px 11px; margin-bottom: 14px;
  border: 1px solid var(--line, var(--rule));
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--muted);
}
.t-item .ico { width: 14px; height: 14px; flex: none; }
.t-who { display: flex; align-items: center; gap: 11px; }
.t-who .avatar { width: 38px; height: 38px; font-size: .8rem; }
.t-who .name { font-weight: 700; font-size: .92rem; }
.t-who .where { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); margin-top: 2px; }

@media (max-width: 980px) { .t-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 700px) {
  .t-grid { grid-template-columns: 1fr; }
  .t-lead { grid-template-columns: 1fr; }
}

/* A reviewer avatar carries a photograph when one is on file. */
.avatar.has-photo { padding: 0; overflow: hidden; background: var(--surface-alt); }
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Hero slider
   --------------------------------------------------------------------------
   The lots closing soonest, one after another. Auto-advance is a convenience,
   never the only way through: the arrows, the dots and the keyboard all work,
   and it stops the moment a pointer or the keyboard focus is on it.
   ========================================================================== */
.slider { position: relative; aspect-ratio: 4/3; border-radius: var(--r); overflow: hidden; }
.slide {
  position: absolute; inset: 0; display: block;
  opacity: 0; visibility: hidden;
  transition: opacity .55s ease, visibility .55s;
}
.slide.is-on { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: #17191B;
  border: 0; border-radius: var(--r); font-size: 1.1rem; line-height: 1;
}
.slider-nav:hover { background: #fff; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

.slider-dots {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 10px;
  display: flex; gap: 6px; justify-content: center;
}
.slider-dots button {
  width: 26px; height: 4px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.slider-dots button[aria-current="true"] { background: var(--hot); }

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

/* ==========================================================================
   Phone layout
   --------------------------------------------------------------------------
   The masthead cannot hold a logo, a live count, a phone number and two
   buttons in 390px, and trying makes the whole document scroll sideways. On a
   phone the auth buttons move into the collapsed menu and the extras go away.
   ========================================================================== */
.nav-auth { display: none; }

@media (max-width: 860px) {
  .header-actions .btn,
  .header-actions .header-phone { display: none; }

  .nav-auth { display: flex; flex-direction: column; }
  .nav-auth a {
    padding: 13px 24px;
    font-family: var(--font-display); font-weight: 700;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .nav-auth a:last-child { color: var(--hot); }
}

@media (max-width: 620px) {
  /* Nothing should ever be able to push the page wider than the screen. */
  html, body { overflow-x: hidden; }
  .wrap { padding-inline: 16px; }

  .header-inner { gap: 10px; }
  .logo-mark { width: 26px; height: 26px; }
  .logo-name { font-size: 1.1rem; }
  .logo-sub { display: none; }
  .pill-live { font-size: .6rem; padding: 3px 8px; }

  /* Forms that were laid out for a desktop row */
  .alerts .wrap { align-items: stretch; }
  .alerts form { flex-direction: column; align-items: stretch; }
  .alerts .input { min-width: 0; width: 100%; }
  .alerts form .btn { width: 100%; }
  .console-actions { flex-direction: column; align-items: stretch; }
  .console-actions .btn,
  .console-actions .input { width: 100%; max-width: none; margin-left: 0; }
  .searchbar { flex-wrap: wrap; height: auto; padding: 10px 12px; gap: 8px; }
  .searchbar .ico { flex: 0 0 auto; }
  .searchbar .input { flex: 1 1 0; min-width: 0; }
  .searchbar .btn { flex: 1 1 100%; width: 100%; }

  /* Anything with a hard minimum has to give way */
  .strip-inner .field-grow,
  .boardbar .fld-grow { min-width: 0; flex: 1 1 100%; }
  input, select, textarea { max-width: 100%; }

  /* Wide content scrolls inside itself rather than stretching the page */
  .table-scroll, .spec-table, .data-table, .doc-table { max-width: 100%; }

  .row-between { gap: 12px; }
  .toolbar { font-size: .72rem; }
}

@media (max-width: 620px) {
  /* Two 190px columns cannot share a phone screen; stack them. */
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  /* The strip wrapped to two lines to repeat what the footer already says. */
  .util { display: none; }

  /* Menu button last, where a thumb reaches it. */
  .nav-toggle { order: 3; margin-left: 0; }
  .header-actions { order: 2; margin-left: auto; }
  .nav { top: var(--header-h, 56px); }

  /* Caption: name first, then the money and the clock on one line under it. */
  .hero-float {
    flex-direction: column; align-items: stretch; gap: 8px;
    left: 8px; right: 8px; bottom: 8px; padding: 11px 13px;
  }
  .hero-float > div:last-child {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 10px; text-align: left !important;
  }
  .hero-float .v { font-size: 1.05rem; }
  .hero-float .t { margin-top: 0; }

  /* Smaller arrows, lifted clear of the caption. */
  .slider-nav { width: 28px; height: 28px; top: 34%; }
  .slider-dots { bottom: auto; top: 10px; justify-content: flex-end; padding-right: 10px; }
  .slider-dots button { width: 18px; }
}

@media (max-width: 620px) {
  /* Two calls to action of different widths look accidental; stack them. */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}

/* The serial/VIN box trails the buttons on a wide console, and takes the full
   width on a phone where it sits on its own line. */
.console-find { max-width: 270px; margin-left: auto; }
@media (max-width: 620px) { .console-find { max-width: none; margin-left: 0; } }

/* The filter rail folds away on a phone so the stock is the first thing on
   the page. On a desktop the summary is hidden and the panel is always open,
   so nothing about that layout changes. */
.filters-toggle { display: none; }
.filters-collapse > summary::-webkit-details-marker { display: none; }

@media (max-width: 900px) {
  .filters-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 16px; margin-bottom: 12px; cursor: pointer; list-style: none;
    background: var(--surface); border: 1px solid var(--line, var(--rule));
    border-radius: var(--radius, var(--r));
    font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  }
  .filters-collapse[open] .filters-toggle { margin-bottom: 14px; }
  .filters-collapse[open] .filters-toggle .chev { transform: rotate(45deg); }
  .filters-toggle .chev { transition: transform .18s; color: var(--hot); font-size: 1.2rem; line-height: 1; }
}

@media (max-width: 860px) {
  /* Signing in lives in the menu on a phone; the masthead has no room. */
  .header-signin { display: none; }
}
