/* Layout: white page, navy and warm bands; the hero sends buyers and sellers to their door, open sales come first, then why, how, and the worked proxy example. */
:root {
  --navy: #13294b;
  --navy-deep: #0b1a33;
  --gold: #c9a24a;
  --gold-text: #8a6a24;
  --on-navy: #ffffff;
  --charcoal: #1e1e1e;
  --ink-muted: #5b5b5b;
  --surface: #ffffff;
  --surface-warm: #f7f4ec;
  --rule: #d9d4c7;
  --on-navy-muted: #e4e9f1;
  --font-display: "Zilla Slab", Rockwell, Georgia, serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 32px; --space-5: 64px;
  --radius-sm: 4px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--surface); color: var(--charcoal); font-family: var(--font-body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.band-navy a:focus-visible { outline-color: var(--gold); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: var(--space-5); }
.band-warm { background: var(--surface-warm); }
.band-navy { background: var(--navy); color: var(--on-navy); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--navy); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.02; letter-spacing: 0.005em; }
h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; }
h3 { font-size: 24px; line-height: 1.2; }
.band-navy h2, .band-navy h3 { color: var(--on-navy); }
.eyebrow { font-family: var(--font-label); font-weight: 600; font-size: 16px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); margin: 0; }
.band-navy .eyebrow { color: var(--gold); }
p { margin: 0; }
.lead { font-size: 20px; line-height: 1.5; max-width: 34em; }
.muted { color: var(--ink-muted); }
.section-head { display: grid; gap: var(--space-2); max-width: 44em; margin-bottom: var(--space-4); }
.section-head p:last-child { color: var(--ink-muted); }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: var(--radius-sm); font-family: var(--font-label); font-weight: 600; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--navy); }
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-secondary { background: transparent; color: var(--navy); }
.btn-secondary:hover { background: var(--surface-warm); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b360; border-color: #d8b360; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--surface); }
.site-header .wrap { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-3) var(--space-4); padding-block: 14px; }
.site-header .logo { flex: 0 0 auto; }
.site-header .logo img { height: 52px; width: auto; }
.site-nav { display: flex; flex-wrap: nowrap; gap: 6px 20px; flex: 1 1 auto; justify-content: flex-end; }
/* One line at every width (Paul, November 2, 2026): below the width the links fit, a Menu button opens them. rules.html
   has its own copy of these styles. */
.nav-toggle { display: none; font-family: var(--font-label); font-weight: 600; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); background: none; border: 2px solid var(--navy); border-radius: 2px; padding: 6px 14px; cursor: pointer; }
@media (max-width: 1279px) {
  .site-header .wrap { flex-wrap: nowrap; justify-content: space-between; position: relative; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; flex-direction: column; gap: 0; padding: 4px 16px 12px; background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 3px solid var(--gold); }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding-block: 12px; }
}
.site-nav a { white-space: nowrap; font-family: var(--font-label); font-weight: 600; font-size: 17px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; color: var(--charcoal); padding-block: 6px; }
.site-nav a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Hero */
.hero { background: var(--surface-warm); border-bottom: 1px solid var(--rule); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; }
.hero-copy { flex: 999 1 480px; min-width: 0; display: grid; gap: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.hero-card { flex: 1 1 340px; min-width: 0; max-width: 420px; margin-inline: auto; }

/* Example sealed bid card */
.bidcard { background: var(--surface); border: 1px solid var(--rule); position: relative; }
.bidcard-top { background: var(--navy); color: var(--on-navy); padding: 14px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bidcard-top .lot { font-family: var(--font-display); font-size: 26px; }
.bidcard-top .tag { font-family: var(--font-label); letter-spacing: 0.2em; font-size: 15px; color: var(--gold); text-transform: uppercase; }
.bidcard-body { padding: 20px; display: grid; gap: 16px; }
.bidcard dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; font-size: 15px; }
.bidcard dt { color: var(--ink-muted); }
.bidcard dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bidcard .lbl { font-size: 15px; color: var(--ink-muted); display: block; margin-bottom: 6px; }
.bidfield { display: flex; align-items: center; border: 1px solid var(--ink-muted); border-radius: var(--radius-sm); padding: 10px 14px; font-family: var(--font-display); font-size: 30px; color: var(--navy); font-variant-numeric: tabular-nums; }
.bidfield span { color: var(--ink-muted); margin-right: 6px; }
.bidnote { font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
.stamp { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--rule); padding-top: 14px; font-size: 14px; }
.stamp .seal { flex: 0 0 auto; width: 44px; height: 44px; }
.example-flag { position: absolute; top: -12px; right: 14px; background: var(--gold); color: var(--navy); font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; padding: 2px 10px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-4); counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; border-top: 3px solid var(--navy); padding-top: 18px; }
.steps .num { font-family: var(--font-label); font-weight: 600; font-size: 15px; letter-spacing: 0.25em; color: var(--gold-text); text-transform: uppercase; }
.steps p { color: var(--ink-muted); }

/* Proxy example */
.proxy { display: grid; gap: var(--space-4); }
.envelopes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-3); }
.env { border: 1px solid var(--rule); background: var(--surface); padding: 18px 20px; display: grid; gap: 4px; }
.env .who { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 15px; color: var(--ink-muted); }
.env .amt { font-family: var(--font-display); font-size: 34px; color: var(--navy); font-variant-numeric: tabular-nums; }
.env.win { border: 2px solid var(--navy); }
.env.win .who { color: var(--gold-text); }
.result { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); background: var(--navy); color: var(--on-navy); padding: 22px 24px; }
.result .price { font-family: var(--font-display); font-size: 44px; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
.result p { flex: 1 1 300px; min-width: 0; color: var(--on-navy-muted); }
.result strong { color: var(--on-navy); }

/* Two audiences */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-5); }
.split > div { display: grid; gap: var(--space-3); align-content: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.ticks svg { margin-top: 4px; }

/* Services */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-3); }
.tier { background: var(--surface); border: 1px solid var(--rule); padding: 24px; display: grid; gap: 12px; align-content: start; }
.tier.featured { border: 2px solid var(--navy); }
.tier .kind { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; font-size: 15px; color: var(--gold-text); }
.tier ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--charcoal); }
.tier .not-included { font-size: 15px; background: var(--surface-warm); padding: 10px 12px; }
.tier .fit { font-size: 15px; color: var(--ink-muted); border-top: 1px solid var(--rule); padding-top: 12px; }
.tiers-note { margin-top: var(--space-3); color: var(--ink-muted); font-size: 15px; }
.pricing-cta { margin-top: var(--space-4); background: var(--surface); border: 2px solid var(--navy); padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-4); }
.pricing-copy { flex: 1 1 360px; min-width: 0; display: grid; gap: 6px; }
.pricing-copy p { color: var(--ink-muted); max-width: 40em; }

/* Commitments on navy */
.commit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-4); }
.commit div { display: grid; gap: 8px; align-content: start; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 18px; }
.commit p { color: var(--on-navy-muted); }

/* Hero paths: one door for buyers, one for sellers */
.paths { flex: 1 1 340px; min-width: 0; display: grid; gap: var(--space-3); }
.path { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--navy); padding: 20px 22px; text-decoration: none; color: var(--charcoal); }
.path:hover { border-color: var(--navy); }
.path:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.path .kind { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; font-size: 15px; color: var(--gold-text); }
.path h2 { font-size: 26px; }
.path p { color: var(--ink-muted); }
.path .go { font-family: var(--font-label); font-weight: 600; font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); margin-top: 4px; }
.hero-copy { flex-basis: 440px; }

/* Proxy section: the example bid card beside the worked result */
.proxy-grid { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: flex-start; }
.proxy-card { flex: 1 1 320px; max-width: 420px; min-width: 0; display: grid; gap: 18px; }
.proxy-work { flex: 999 1 420px; min-width: 0; display: grid; gap: var(--space-3); }
.proxy-work .envelopes { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.card-cap { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 15px; color: var(--ink-muted); }

/* Why Sealed Bid Livestock */
.band-navy .section-head p.why-lead { color: var(--on-navy); opacity: .94; font-size: 19px; max-width: 40em; }
.commit-title { font-size: 22px; margin-bottom: var(--space-3); }

/* Launch switch: set data-live="yes" on <html> when the app's links go live. */
html[data-live="no"] .live-only { display: none !important; }
html:not([data-live="no"]) .prelaunch-only { display: none !important; }

/* Current sales: the empty box (shown before launch and when nothing is listed) */
.sales-empty { border: 1px dashed var(--ink-muted); padding: var(--space-4); display: grid; gap: 12px; justify-items: start; background: var(--surface); }

/* FAQ */
.faq { display: grid; border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-display); font-size: 21px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-family: var(--font-body); font-size: 26px; color: var(--gold-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; max-width: 42em; color: var(--charcoal); }

/* Contact + footer */
.contact .wrap { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; }
.contact-copy { flex: 1 1 420px; min-width: 0; display: grid; gap: 12px; }
.contact-copy p { color: var(--on-navy-muted); max-width: 36em; }
.contact-lines { display: grid; gap: 8px; font-size: 19px; }
.contact-lines a { color: var(--on-navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }
.contact-lines span { font-family: var(--font-label); letter-spacing: 0.2em; text-transform: uppercase; font-size: 14px; color: var(--gold); display: block; }
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-4); align-items: center; justify-content: space-between; padding-block: var(--space-4); font-size: 14px; }
.site-footer img { height: 46px; width: auto; }
.site-footer p { max-width: 36em; }
/* Build 4B (Paul, November 12, 2026): the footer reads just the tagline, with the copyright line small beneath it. */
.site-footer .foot-tag strong { display: block; color: var(--on-navy); font-size: 17px; letter-spacing: .3px; }
.site-footer .foot-tag small { display: block; margin-top: 4px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--on-navy); text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Nav: the current page */
.site-nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Page intro (Sales, Buyers, Sellers) */
.page-intro { background: var(--surface-warm); border-bottom: 1px solid var(--rule); }
.page-intro .wrap { padding-block: 56px 48px; display: grid; gap: 16px; }
.page-intro .lead { max-width: 38em; }
.page-intro .note { font-size: 15px; color: var(--ink-muted); max-width: 44em; }

/* Reading pages */
.content { display: grid; gap: var(--space-3); max-width: 760px; }
.content p, .content li { max-width: 42em; }
.content h2 { font-size: 28px; margin-top: var(--space-2); }
.content h3 { font-size: 21px; }
.content ul, .content ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.callout { background: var(--surface-warm); border-left: 4px solid var(--gold); padding: 14px 18px; max-width: 42em; }
.callout strong { color: var(--navy); }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-4); align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); }
table.plain { border-collapse: collapse; width: 100%; font-size: 16px; }
table.plain th { text-align: left; background: var(--surface-warm); font-family: var(--font-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 14px; color: var(--ink-muted); padding: 10px 14px; white-space: nowrap; }
table.plain td { padding: 10px 14px; border-top: 1px solid var(--rule); vertical-align: top; }
table.plain td:first-child { font-weight: 600; white-space: nowrap; }

/* Timeline (Sellers page) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 18px; padding-block: 18px; border-top: 1px solid var(--rule); }
.timeline li:first-child { border-top: 3px solid var(--navy); }
.timeline .when { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; font-size: 15px; color: var(--gold-text); padding-top: 4px; }
.timeline h3 { font-size: 20px; }
.timeline p { color: var(--ink-muted); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; } }

/* The framed sale page (sale.html; Build 3, November 2026): no note above the frame. The frame fills the screen below the
   website header (--head, measured by the page; 81px until then), so on a phone the frame's edge is the screen's edge,
   the sale page's bar sits at the top of the screen, and the page scrolls once, inside the frame. The footer follows. */
.frame-page main { display: flex; flex-direction: column; min-height: 0; }
.sale-frame { width: 100%; height: calc(100vh - var(--head, 81px)); height: calc(100svh - var(--head, 81px)); min-height: 420px; border: 0; display: block; background: var(--surface); }
.frame-missing { padding: var(--space-5) 0; min-height: calc(100svh - var(--head, 81px)); }
/* The header slides away (fix build, chat three; Sale page and bid page headers handoff, 4.1; Paul, November 13, 2026): once
   the sale page in the frame has been scrolled down, sale.html adds head-away to <body>: the header's space closes in about
   0.2 s and the frame takes the whole screen; scrolled back to the top, both return. Its links are hidden once it has slid
   away (and inert at once), so they leave the tab order. Every device alike; at once with reduced motion. Only sale.html
   carries the class; every other page's header is unchanged. */
.frame-page .site-header { transition: margin-top .2s ease, visibility 0s linear 0s; }
.frame-page .sale-frame { transition: height .2s ease; }
.frame-page.head-away .site-header { margin-top: calc(-1 * var(--head, 81px)); visibility: hidden; transition: margin-top .2s ease, visibility 0s linear .2s; }
.frame-page.head-away .sale-frame { height: 100vh; height: 100svh; }
@media (prefers-reduced-motion: reduce) { .frame-page .site-header, .frame-page.head-away .site-header, .frame-page .sale-frame { transition: none; } }

/* Item 84 (Paul, November 6, 2026): the main area is at least one screen tall, so on a short page the footer starts
   below the first screen and shows only when scrolled to. Long pages don't change. */
main { min-height: 100vh; min-height: 100svh; }

/* ===== The sale schedule (Build 3): the Sales page's three lists and the home page's open sales ===== */
.sch-sec { padding-block: 32px 36px; }
.sch-sec.sch-first { padding-bottom: 4px; }
.sch-sec.sch-first + .sch-sec { padding-top: 24px; }
@media (min-width: 900px) { .sch-sec { padding-block: 52px 56px; } .sch-sec.sch-first { padding-bottom: 6px; } .sch-sec.sch-first + .sch-sec { padding-top: 36px; } }
.sch-head { margin-bottom: 18px; }
.sch-head h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.05; }
.sch-head h2 { font-size: clamp(27px, 3.4vw, 36px); }
.sch-head .note { font-size: 15px; color: var(--ink-muted); }
.sch-headrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0 24px; }
.sch-headrow .section-head { margin-bottom: 18px; }
.sch-all { font-weight: 600; margin-bottom: 18px; }
/* Tabs by type of livestock */
.sch-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--rule); }
.sch-tabs::-webkit-scrollbar { display: none; }
.sch-tab { display: flex; align-items: center; white-space: nowrap; border: 0; background: none; padding: 10px 13px 8px; margin-bottom: -2px; border-bottom: 3px solid transparent; font-family: var(--font-label); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: #4a4a4a; cursor: pointer; }
.sch-tab:hover { color: var(--navy); }
.sch-tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); }
.sch-tab:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }
@media (max-width: 599px) { .sch-tabs { -webkit-mask-image: linear-gradient(90deg, #000 84%, transparent); mask-image: linear-gradient(90deg, #000 84%, transparent); padding-right: 30px; } }
/* Breed and Category, once a type is chosen */
.sch-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding-top: 14px; }
.sch-filters[hidden] { display: none; }
.sch-filters label { display: grid; gap: 3px; font-size: 14px; font-weight: 600; color: var(--ink-muted); flex: 1 1 140px; max-width: 260px; }
.sch-filters select { font-family: var(--font-body); font-size: 16px; padding: 8px 10px; border: 1.5px solid #8a8a8a; border-radius: 4px; background: #fff; color: var(--charcoal); }
.sch-clear { border: 0; background: none; color: var(--navy); font-family: var(--font-body); font-size: 16px; font-weight: 600; text-decoration: underline; padding: 9px 0; cursor: pointer; }
/* The date tile */
.sch-date { display: block; width: 62px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; text-align: center; overflow: hidden; line-height: 1; }
.sch-date b { display: block; background: var(--navy); color: #fff; font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 0 3px; }
.sch-date i { display: block; font-family: var(--font-display); font-weight: 700; font-size: 28px; font-style: normal; color: var(--navy); padding: 6px 0 2px; }
.sch-date small { display: block; font-size: 12px; color: var(--ink-muted); padding-bottom: 6px; }
.sch-date.up { border-style: dashed; background: transparent; }
.sch-date.up b { background: #e3dfd4; color: var(--navy); }
.sch-date.closed b { background: #77787a; }
/* The state */
.sch-pill { font-family: var(--font-label); font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px 4px; border-radius: 2px; white-space: nowrap; }
.sch-pill.open { background: var(--gold); color: var(--navy); }
.sch-pill.reg { background: var(--navy); color: #fff; }
.sch-pill.up { border: 1px solid #9a968a; color: #4a4a4a; padding: 4px 7px 3px; }
.sch-pill.closed { background: #e6e2d8; color: #4a4a4a; }
.sch-st { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 8px; font-size: 15px; }
.sch-st .w { font-weight: 600; }
.sch-st .tm { font-size: 14px; color: var(--ink-muted); flex-basis: 100%; }
.sch-st .mv { font-size: 14px; font-weight: 700; color: var(--navy); flex-basis: 100%; }   /* fix build, chat four (E5): a moved close */
/* The livestock line, the seller line and the who-can-bid tag */
.sch-ls { font-size: 15px; line-height: 1.45; color: #333; }
.sch-ty { font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.sch-sl { font-size: 15px; color: var(--ink-muted); }
.sch-rt { font-size: 13px; font-weight: 600; color: var(--navy); background: var(--surface-warm); border: 1px solid var(--rule); padding: 1px 8px; margin-top: 2px; }
.btn.sch-btn { min-height: 42px; padding: 7px 14px; font-size: 16px; line-height: 1.15; border-radius: 2px; justify-content: center; text-align: center; }
/* The home page's table of open sales */
.sch-t { border-top: 2px solid var(--navy); }
.sch-r { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 12px; grid-template-areas: "d a x" "d b x" "d c x"; gap: 3px 14px; align-items: start; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.sch-r .sch-date { width: 56px; }
.sch-r .sch-date b { font-size: 13px; padding: 3px 0 2px; }
.sch-r .sch-date i { font-size: 24px; padding: 4px 0 1px; }
.sch-r .sch-date small { font-size: 11px; padding-bottom: 4px; }
.sch-r > .sch-date, .sch-r .dh { grid-area: d; }
.sch-r .c1 { grid-area: a; display: grid; gap: 1px; justify-items: start; }
.sch-r .c2 { grid-area: b; }
.sch-r .c3 { grid-area: c; }
.sch-r .c4 { grid-area: e; display: none; }
.sch-r .chev { grid-area: x; align-self: center; font-size: 28px; line-height: 1; color: #9a968a; }
.sch-nm { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--navy); text-decoration: none; }
.sch-nm:hover { text-decoration: underline; }
.sch-r.th { display: none; }
@media (max-width: 899px) {
  .sch-r .tm, .sch-r .lots, .sch-r .cl { display: none; }
  .sch-r .sch-nm { font-size: 18px; }
  /* On a phone the whole row opens the sale. */
  .sch-r .sch-nm::after { content: ""; position: absolute; inset: 0; }
}
@media (min-width: 900px) {
  .sch-r { grid-template-columns: 56px minmax(0, 1.9fr) minmax(0, 1.35fr) minmax(0, 1.15fr) 190px; grid-template-areas: "d a b c e"; gap: 0 22px; align-items: center; padding: 10px 0; }
  .sch-r .sch-st { display: grid; justify-items: start; gap: 2px; }
  .sch-r .c4 { display: flex; justify-content: flex-end; }
  .sch-r .c4 .btn { width: 100%; }
  .sch-r .chev { display: none; }
  .sch-r.th { display: grid; padding: 9px 0 7px; font-family: var(--font-label); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
}
/* The Sales page's rows (option A) */
.sch-cards { display: grid; gap: 12px; }
.sch-cd { display: grid; grid-template-columns: 62px minmax(0, 1fr) 44px; grid-template-areas: "d m l" "s s s"; gap: 12px 14px; background: #fff; border: 1px solid var(--rule); border-left: 4px solid var(--navy); border-radius: 4px; padding: 14px; }
.sch-cd.open { border-left-color: var(--gold); }
.sch-cd.up, .sch-cd.closed { border-left-color: #b9b4a7; }
.sch-cd > .sch-date { grid-area: d; align-self: start; }
.sch-cd .sch-logo { grid-area: l; }
.sch-cd .m { grid-area: m; display: grid; gap: 3px; justify-items: start; align-content: start; min-width: 0; }
.sch-cd .s { grid-area: s; display: grid; gap: 10px; }
.sch-cd h3 { font-size: 21px; line-height: 1.2; }
.sch-cd h3 a { color: var(--navy); text-decoration: none; }
.sch-cd h3 a:hover { text-decoration: underline; }
.sch-logo { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.sch-logo.in { background: var(--surface-warm); border: 1px solid var(--rule); color: var(--navy); }
.sch-logo.img { border-radius: 6px; background: #fff; border: 1px solid var(--rule); overflow: hidden; }
.sch-logo.img img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.sch-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.sch-cd .sch-acts .btn { flex: 1 1 auto; }
@media (min-width: 900px) {
  .sch-cd { grid-template-columns: 62px 60px minmax(0, 1fr) 300px; grid-template-areas: "d l m s"; align-items: center; gap: 0 20px; padding: 16px 18px; }
  .sch-logo { width: 60px; height: 60px; font-size: 21px; }
  .sch-cd .s { justify-items: end; }
  .sch-cd .sch-st { justify-content: flex-end; text-align: right; }
  .sch-cd .sch-acts { justify-content: flex-end; }
  .sch-cd .sch-acts .btn { flex: 0 0 auto; }
}
/* Filtering: a row that doesn't match is hidden; a list with nothing left says so, or (Upcoming) hides. */
[data-row][hidden] { display: none; }
[data-grp].sch-none:not([data-e]) { display: none; }
[data-grp].sch-none .sch-list { display: none; }
.sch-gempty, .sch-empty { display: none; padding: 18px; background: var(--surface-warm); border: 1px solid var(--rule); color: #333; }
.band-warm .sch-gempty { background: #fff; }
[data-grp].sch-none .sch-gempty { display: block; }
.sch-empty:not([hidden]) { display: block; margin-top: 14px; }
.sch-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 18px; }
.sch-more .btn { min-width: 280px; justify-content: center; }
@media (max-width: 599px) { .sch-more .btn { width: 100%; } }

/* Reading pages with tables that stack on a phone (How bidding works) */
.hbw { display: grid; gap: var(--space-3); max-width: 860px; }
.hbw > p, .hbw li { max-width: 42em; }
.hbw h2 { font-size: 28px; margin-top: var(--space-3); }
.hbw h3 { font-size: 21px; margin-top: var(--space-2); }
.hbw ol.close-steps { margin: 0; padding-left: 24px; display: grid; gap: 10px; }
.hbw ol.close-steps b { color: var(--navy); }
/* The example as a ladder graphic (the revision build, R6; How bidding works - ladder graphic handoff, Option B; Paul,
   November 14, 2026): the bidder cards, Step 1's ladder of every bid and Step 2's ladder for each lot, as page elements in a
   band at the site's full content width. From 900 px the cards sit four across, with Step 1 on the left and Step 2 on the
   right; narrower, one column, the cards two across (one on a small phone) and each result under its rung. A rung's look:
   won, filled navy; backup, white between navy lines; skipped, warm with dashed gray lines. Every rung's result is written
   beside or under it, so no look depends on color alone. */
.hbw-graphic { display: grid; gap: var(--space-4); margin-block: var(--space-3) var(--space-4); font-variant-numeric: tabular-nums; }
.hbw-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hbw-card { background: var(--surface-warm); padding: 12px 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: 14px; line-height: 20px; }
.hbw-who, .hbw-max { display: grid; align-content: start; }
.hbw-card .nm { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--navy); }
.hbw-max b { line-height: 22px; font-weight: 600; color: var(--navy); }
.hbw-max ul { list-style: none; margin: 0; padding: 0; }
.hbw-max .v { display: inline-block; min-width: 3.4em; text-align: right; }
.hbw-max .v.none { color: var(--ink-muted); }
.hbw-steps { display: grid; gap: var(--space-4); }
.hbw-step { display: grid; gap: 10px; align-content: start; }
.hbw-step > p { margin: 0; font-size: 15px; line-height: 22px; max-width: 36em; }
.hbw-label { font-family: var(--font-label); font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 -6px; }
.hbw-step h3 { font-size: 24px; line-height: 30px; margin: 0; }
.hbw-lot h4 { font-family: var(--font-display); font-size: 20px; line-height: 24px; color: var(--navy); margin: 8px 0 6px; }
.hbw-ladder { --rail: 8px; list-style: none; margin: 6px 0 0; padding: 24px 0; position: relative; display: grid; gap: 20px; }
.hbw-ladder.short { padding: 8px 0; gap: 12px; margin-top: 0; }
.hbw-ladder::before, .hbw-ladder::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--rail); background: var(--navy); }
.hbw-ladder::before { left: 0; }
.hbw-ladder::after { right: 0; }
.hbw-ladder li { margin: 0 var(--rail); display: grid; gap: 6px; }
.hbw-ladder .rung { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 14px; font-size: 15px; line-height: 20px; }
.hbw-ladder.short .rung { min-height: 40px; }
.hbw-ladder .rung .bid { font-size: 16px; font-weight: 600; }
.hbw-ladder .won .rung { background: var(--navy); color: var(--on-navy); }
.hbw-ladder .backup .rung { background: var(--surface); color: var(--navy); border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); }
.hbw-ladder .skip .rung { background: var(--surface-warm); color: var(--ink-muted); border-top: 2px dashed var(--ink-muted); border-bottom: 2px dashed var(--ink-muted); }
.hbw-ladder .res { display: grid; padding: 0 14px 4px; font-size: 13px; line-height: 18px; color: var(--charcoal); }
.hbw-ladder .res b { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--navy); justify-self: start; }
.hbw-ladder .skip .res b { color: var(--ink-muted); }
.hbw-ladder .res b.tag { background: var(--gold); color: var(--navy); padding: 0 8px; }
@media (min-width: 520px) { .hbw-cards { gap: 16px; } }
@media (max-width: 519px) { .hbw-cards { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  .hbw-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hbw-steps { grid-template-columns: minmax(0, 9fr) minmax(0, 8fr); gap: 0; }
  .hbw-step + .hbw-step { border-left: 1px solid var(--rule); padding-left: var(--space-4); margin-left: var(--space-4); }
  /* Beside each rung, its result, with a short gray line from the ladder's right rail. The ladder is only as wide as its rungs. */
  .hbw-ladder { --rung: min(232px, 21vw); margin-right: auto; }
  .hbw-ladder.short { --rung: min(208px, 17vw); }
  .hbw-ladder::after { right: auto; left: calc(var(--rail) + var(--rung)); }
  .hbw-ladder li { grid-template-columns: var(--rung) minmax(0, 1fr); column-gap: calc(var(--rail) + 24px); align-items: start; margin-right: 0; position: relative; }
  .hbw-ladder li::after { content: ""; position: absolute; left: calc(var(--rung) + var(--rail)); top: 21px; width: 16px; height: 2px; background: var(--ink-muted); }
  .hbw-ladder.short li::after { top: 19px; }
  .hbw-ladder .res { padding: 0; margin-top: -4px; }
}
.hbw .takeaway { background: var(--navy); color: var(--on-navy); padding: 20px 22px; max-width: none; }
.hbw .takeaway b { color: var(--gold); }

/* The "didn't get my code?" page (code-help.html; fix build, chat three, E2): the How bidding works page's column. */
.help { display: grid; gap: var(--space-3); max-width: 860px; }
.help > p, .help li { max-width: 42em; }
.help h2 { font-size: 28px; margin-top: var(--space-3); }
.help-steps { display: grid; gap: 10px; padding-left: 1.4em; margin: 0; }
