/* Auction-only styles, built from Web Designer's --ssp-* tokens (site/assets/css/tokens.css). No new colors. */
.auction-steps { padding-left: var(--ssp-s5); line-height: 1.6; }
.auction-narrow { max-width: 560px; }
.auction-photo-placeholder { aspect-ratio: 4 / 3; background: var(--ssp-line); border-radius: var(--ssp-radius-lg); position: relative; }
.auction-photo { aspect-ratio: 4 / 3; border-radius: var(--ssp-radius-lg); overflow: hidden; position: relative; background: var(--ssp-line); }
.auction-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.auction-photo .badge, .auction-photo-placeholder .badge { position: absolute; top: var(--ssp-s3); left: var(--ssp-s3); }
/* No photo yet (Oct 16, 2026): a visible "Photo coming soon" panel, never a blank box. Screen readers get the box's
   aria-label; chips and badges inside are absolutely placed, so only this text is centered. */
.auction-photo-placeholder { display: flex; align-items: center; justify-content: center; text-align: center; }
.auction-photo-placeholder::after { content: "Photo coming soon"; color: var(--ssp-muted); font-size: var(--ssp-fs-sm); font-weight: 700; padding: var(--ssp-s2); }
/* v3 (Short, Oct 16, 2026 6:43 PM): the placeholder is only rendered for open/upcoming lots of real sales. Closed and
   practice lots with no photo get no photo box at all; these keep their layout tidy (no empty column, no gap). */
.split.lot-split-single { grid-template-columns: minmax(0, 1fr); }
.lot-split-single > .panel { max-width: 40rem; }
/* #183 N2: the one-column bid panel is centered on desktop (on a phone it already fills the width). */
@media (min-width: 48rem) { .lot-split-single > .panel { margin-inline: auto; width: 100%; } }
/* #183 N1: no layout jump; lot.js removes this once the photo column and open/closed are known (3 s at most). */
.split.lot-pending { visibility: hidden; }
#lot-badges { margin: 0 0 var(--ssp-s3); }
/* #183 v2 (EAR_NOTCH_PUBLIC): the breed/description under the "Lot N · notch" title, smaller. */
.lot-desc { margin: 0 0 var(--ssp-s3); font-size: 1.05rem; color: var(--ssp-ink); }
.card .lot-desc { font-size: 0.95rem; margin: 0 0 var(--ssp-s2); }
.sale-preview-desc { display: block; font-size: 0.85rem; }
.lot-desc.hidden { display: none; }
#lot-badges.hidden, #bid-rules.hidden, #final-price-line.hidden { display: none; }
.sale-lot-textonly .sale-lot-no { margin: 0 0 var(--ssp-s1); }
.sale-preview-item.sale-preview-textonly { padding: var(--ssp-s2) 0; border-top: 1px solid var(--ssp-line); }
.bid-box .countdown { font-family: var(--ssp-font-head); font-variant-numeric: tabular-nums; font-size: var(--ssp-fs-lg); }
.bid-box .countdown.closing { color: var(--ssp-red); }
.bid-box .amt { font-family: var(--ssp-font-head); font-weight: 800; }
.lot-foot { display: flex; justify-content: space-between; gap: var(--ssp-s3); }
.auction-session { display: flex; justify-content: flex-end; align-items: center; gap: var(--ssp-s3); margin-bottom: var(--ssp-s4); }
/* N7 video facade: a button with a self-hosted thumbnail; the iframe replaces it only after a click. */
.auction-video { margin-top: var(--ssp-s4); }
.auction-video-play { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.auction-video-play img { display: block; width: 100%; height: auto; border-radius: var(--ssp-radius-lg); }
.auction-video-label { position: absolute; left: var(--ssp-s3); bottom: var(--ssp-s3); }
.auction-video-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--ssp-radius-lg); }

/* Bid increments table (Short, Oct 4): lot page and terms page. Compact; fits a phone screen without scrolling sideways. */
.auction-increments { width: 100%; max-width: 24rem; border-collapse: collapse; margin: var(--ssp-s3) 0 var(--ssp-s2); font-size: var(--ssp-fs-sm); }
.auction-increments caption { text-align: left; font-weight: 700; padding-bottom: var(--ssp-s1); }
.auction-increments th, .auction-increments td { padding: var(--ssp-s1) var(--ssp-s2); text-align: left; border-bottom: 1px solid var(--ssp-line); }
.auction-increments th:first-child, .auction-increments td:first-child { padding-left: 0; }
.auction-increments th:last-child, .auction-increments td:last-child { padding-right: 0; }
.auction-increments .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Admin: "Close sale now" (irreversible) stands out. */
.btn.btn-danger { background: #8b1e1e; border-color: #8b1e1e; color: #fff; }

/* Invoices + payment choice (Oct 1). */
.auction-invoice { width: 100%; border-collapse: collapse; margin: .5rem 0; }
.auction-invoice td, .auction-invoice th { padding: .25rem 0; text-align: left; border-bottom: 1px solid var(--color-border, #ddd); }
.auction-invoice .num { text-align: right; font-variant-numeric: tabular-nums; }
.auction-invoice tr.total th { border-bottom: 0; }
.auction-pay-option, .auction-receipt { margin-top: 1rem; }
.auction-preline { white-space: pre-line; }

/* Turnstile (Oct 1): reserve the widget's height right above the button so it's visible on a phone (no collapse). */
.turnstile-box { min-height: 65px; margin: 0.75rem 0; max-width: 100%; overflow: visible; }
.turnstile-box:focus { outline: 2px solid currentColor; outline-offset: 2px; }

/* Checkboxes (Short, Oct 1: "big blue box with bold text"): the shared form rule makes every input 100% wide, 44px
   tall and its label bold. Here a checkbox is a normal 20px native box on the same line as its text (top-aligned),
   regular weight, the whole label row is the tap target (>= 44px), checked state in the site red, visible focus ring.
   Native input only (no fake box), so screen readers and keyboard work as usual. Visual only: no text changes. */
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0;
  border: 0; box-shadow: none; accent-color: var(--ssp-red); cursor: pointer; vertical-align: -0.2em; }
input[type="checkbox"]:focus { box-shadow: none; }
input[type="checkbox"]:focus-visible { outline: 3px solid var(--ssp-red); outline-offset: 2px; }
/* The text stays one normal inline paragraph (a flex row would split text and <span>s into columns). */
label:has(> input[type="checkbox"]) { display: block; position: relative; min-height: 44px; padding: 0.55rem 0 0.55rem 2rem;
  font-weight: 400; font-size: 1rem; line-height: 1.45; cursor: pointer; margin-bottom: 0; }
label:has(> input[type="checkbox"]) > input[type="checkbox"] { position: absolute; left: 0; top: calc(0.55rem + 0.1em); }
label.small:has(> input[type="checkbox"]) { font-size: var(--ssp-fs-sm); }

/* Upcoming / Previous Auctions + one auction's lots (Oct 9, 2026; src/public-ui, sales-pages.js). Tokens only. */
.sale-list { display: grid; gap: var(--ssp-s5); }
.sale-card { background: var(--ssp-white); border: 1px solid var(--ssp-line); border-radius: var(--ssp-radius-lg); padding: var(--ssp-s5); }
.sale-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ssp-s2) var(--ssp-s4); }
.sale-card-title { margin: 0; font-size: 1.5rem; overflow-wrap: anywhere; }
.sale-card-title a { color: inherit; }
.sale-badges { display: flex; flex-wrap: wrap; gap: var(--ssp-s2); margin: 0; }
.badge-practice { background: var(--ssp-ink); color: var(--ssp-white); }
.sale-times { display: grid; grid-template-columns: max-content 1fr; gap: var(--ssp-s1) var(--ssp-s4); margin: var(--ssp-s4) 0; }
.sale-times dt { font-weight: 700; }
.sale-times dd { margin: 0; }
.sale-preview { list-style: none; padding: 0; margin: var(--ssp-s4) 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--ssp-s3); }
.sale-preview-item { display: flex; flex-direction: column; gap: var(--ssp-s1); font-size: var(--ssp-fs-sm); }
.sale-preview-title { overflow-wrap: anywhere; }
.sale-empty { padding: var(--ssp-s5); border: 1px dashed var(--ssp-line); border-radius: var(--ssp-radius-lg); }
.sale-lot-desc { margin: var(--ssp-s2) 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.sale-lot-links { display: flex; gap: var(--ssp-s4); }
.sale-lot .card-img .chip { bottom: .7rem; }
.auction-example-note { background: var(--ssp-example-bg); color: var(--ssp-example-ink); padding: var(--ssp-s2) var(--ssp-s3); border-radius: var(--ssp-radius-sm); font-weight: 700; }

/* Online Auctions dropdown: a copy of Web Designer's .nav-dd block (MENU-MARKUP-for-auction-worker.md §3, Oct 9, 2026), so
   the auction pages look right even if the Worker is deployed before the main site's new /css/style.css. Identical
   rules; once the static menu is uploaded both copies apply and agree. Delete this block after that upload if you like. */
.nav-dd{position:relative}
.nav-dd > summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.3rem;min-height:44px;-webkit-tap-highlight-color:transparent;color:var(--ssp-white);font-weight:700;
  font-size:var(--ssp-fs-sm);letter-spacing:var(--ssp-tracking-caps);text-transform:uppercase;padding:.55rem .75rem;border-radius:var(--ssp-radius-sm);border-bottom:3px solid transparent}
.nav-dd > summary::-webkit-details-marker{display:none}
.nav-dd > summary::after{content:"";flex:none;width:.4rem;height:.4rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-.25rem;transition:transform .15s ease}
.nav-dd[open] > summary::after{transform:rotate(-135deg);margin-top:.2rem}
.nav-dd > summary:hover{background:var(--ssp-charcoal)}
.nav-dd > summary.active{border-bottom-color:var(--ssp-red);border-radius:0}
.nav-dd-menu{position:absolute;top:100%;left:0;z-index:60;display:flex;flex-direction:column;min-width:15rem;margin-top:.35rem;padding:var(--ssp-s2) 0;
  background:var(--ssp-charcoal);border-top:3px solid var(--ssp-red);border-radius:0 0 var(--ssp-radius-sm) var(--ssp-radius-sm);box-shadow:0 12px 24px rgba(0,0,0,.35)}
.site-nav .nav-dd-menu a{display:block;padding:.75rem 1rem;border-radius:0;border-bottom:0;white-space:nowrap}
.site-nav .nav-dd-menu a:hover{background:var(--ssp-black)}
.site-nav .nav-dd-menu a[aria-current="page"]{box-shadow:inset 4px 0 0 var(--ssp-red)}
@media (min-width:901px){.site-nav a,.nav-dd > summary{padding-left:.55rem;padding-right:.55rem}.site-nav .nav-dd-menu a{padding-left:1rem;padding-right:1rem}}
@media (max-width:900px){
  .nav-dd > summary{padding:.9rem .25rem;border-bottom:1px solid var(--ssp-line-dark);border-radius:0;font-size:1rem}
  .nav-dd > summary::after{margin-left:auto;margin-right:.5rem}
  .nav-dd > summary.active{border-bottom:1px solid var(--ssp-line-dark);box-shadow:inset 4px 0 0 var(--ssp-red);padding-left:.9rem}
  .nav-dd-menu{position:static;min-width:0;margin:0;padding:0;background:transparent;border-top:0;border-radius:0;box-shadow:none}
  .site-nav .nav-dd-menu a{padding:.8rem .25rem .8rem 1.5rem;border-bottom:1px solid var(--ssp-line-dark);font-size:.95rem;white-space:normal}
}

/* Vaccinations on lot DETAIL (Short 2026-10-27; match Buy Now / mock Option A). Hide via .hidden when empty. */
.vaccinations { margin: var(--ssp-s4) 0 0; padding-top: var(--ssp-s3); border-top: 1px solid var(--ssp-line); }
.vaccinations h2 { font-size: 1.125rem; margin: 0 0 var(--ssp-s2); font-weight: 650; }
.vaccinations-lead { margin: 0 0 var(--ssp-s2); }
.vaccinations-list { list-style: none; margin: 0; padding: 0; }
.vaccinations-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; border-bottom: 1px solid var(--ssp-line); font-size: 0.95rem;
}
.vaccinations-list li:last-child { border-bottom: none; }
