@font-face {
  font-family: Norwester;
  src: url("/assets/norwester.woff2") format("woff2"),
       url("/assets/norwester.woff") format("woff");
  font-display: swap;
}
/* Body text: Source Sans 3 (SIL OFL, public/source-sans-3-LICENSE.txt). It
   replaced Sansation, whose I, l and 1 look alike (Will, 2026-11-03). */
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:where(:root) {
  --maroon: #521912;
  --blue: #6dbfd6;
}
:root {
  --maroon-hover: #6b2218;
  --maroon-dark: #3d120d;
  --paper: #f9f6f1;
  --white: #fff;
  --ink: #1a1a1a;
  --muted: #60636c;
  --line: #e2e5ec;
  --row-hover: #fcfaf7;
  --row-open: #faf7f2;
  --focus: #1f7391; /* 4.97:1 on the cream page; WCAG 2.1 AA focus ring */
  --field-border: #80848c; /* 3.75:1 on white; WCAG 2.1 AA UI border */
  --green: #14804a;
  --green-bg: #edf7f0;
  --green-border: #b7dfc4;
  --red: #b42318;
  --red-hover: #912018;
  --warning: #b54708;
  --warning-bg: #fef6ee;
  --surface-photo: #ede9e2;
  --badge-bg: #f5ebe8;
  --badge-border: rgba(82, 25, 18, 0.25);
  --scrim: rgba(0, 0, 0, 0.8);
  --scrim-soft: rgba(0, 0, 0, 0.53);
  --scroll-shadow: rgba(0, 0, 0, 0.16);
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.2);
  --shadow-bar: 0 -4px 14px rgba(0, 0, 0, 0.12);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --body-font: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.5 var(--body-font);
}
h1,
h2 {
  font-family: Norwester, sans-serif;
  font-size-adjust: cap-height from-font;
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 18px;
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 4vw, 58px);
}
h2 {
  font-size: 29px;
}
h3 {
  font-family: var(--body-font);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
  font-size: 22px;
}
p {
  margin: 0 0 18px;
  max-width: 70ch;
}
.small,
.auction-dates,
.closes-at,
.auction-date,
.lot-together,
.search-group-meta,
.page-heading p,
.catalog-summary p,
.auction-heading p {
  max-width: none;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  background: var(--maroon);
  border: 1px solid var(--maroon);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
button:not(:disabled):not(.secondary):not(.btn-secondary):not(.btn-danger):not(.text-button):not(.photo-enlarge):not(.lot-video-play):not(.faq-toggle-all):not(.operator-tab):not(.watch-button):not(.menu-toggle):hover {
  background: var(--maroon-hover);
  border-color: var(--maroon-hover);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
button[aria-busy="true"]:disabled {
  cursor: wait;
}
button.secondary,
.btn-secondary {
  background: var(--white);
  color: var(--maroon);
  border: 1px solid var(--maroon);
}
button.secondary:hover:not(:disabled),
.btn-secondary:hover:not(:disabled),
.watch-button:hover:not(:disabled),
.app-header .menu-toggle:hover:not(:disabled) {
  background: var(--badge-bg);
  filter: none;
}
.btn-danger,
#removal button[data-choice="all"],
#removal button[data-removal-confirm] {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-danger:hover:not(:disabled),
#removal button[data-choice="all"]:hover:not(:disabled),
#removal button[data-removal-confirm]:hover:not(:disabled) {
  background: var(--red-hover);
  border-color: var(--red-hover);
  filter: none;
}
.btn-compact {
  padding: 6px 12px;
  font-size: 13px;
  margin-top: 6px;
}
.text-button {
  background: transparent;
  color: var(--maroon);
  border: 0;
  padding: 10px 0;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-button:hover {
  filter: none;
  text-decoration: underline;
}
input:not([type="checkbox"]):not([type="radio"]),
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  caret-color: var(--maroon);
}
input::placeholder {
  color: var(--muted);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
::selection {
  background: var(--blue);
  color: var(--ink);
}
label {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
label :where(input:not([type="checkbox"]):not([type="radio"]), select) {
  margin-top: 6px;
}
input[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: var(--red);
}
.field-hint {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
form {
  display: grid;
  gap: 18px;
}
form button {
  margin-top: 6px;
}
.demo-bar {
  background: var(--maroon);
  color: var(--white);
  padding: 9px 4%;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.demo-bar span {
  font-weight: 400;
  letter-spacing: 0;
}
header {
  height: 104px;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 4%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  width: 232px;
  min-height: 44px;
  flex-shrink: 0;
}
.wordmark img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 30px;
}
nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
nav a:hover {
  text-decoration: underline;
}
nav span {
  display: inline-block;
  margin-left: 5px;
  color: var(--muted);
}
.account-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
}
main {
  max-width: 1440px;
  min-height: 70vh;
  margin: auto;
  padding: 24px 4% 40px;
}
main:focus,
main h1:focus,
.public-page main:focus {
  outline: none;
}
.loading-view {
  padding: 120px 15px;
  text-align: center;
  color: var(--muted);
}
.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
  gap: 20px;
  align-items: start;
  max-width: 1040px;
  margin: 10px auto;
}
.login-layout.has-lot {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 56px;
}
.login-context h1 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 38px);
  overflow-wrap: anywhere;
  /* A lot's title can run to 255 characters: clamped with an ellipsis so a long lot number still
     leaves enough of the title visible. The whole of it is the heading's title attribute
     (public/app.js paintLoginLot) and on the lot, one tap away. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}
.login-lot {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.login-lot-photo {
  flex: none;
  width: 72px;
  height: 54px;
  object-fit: cover;
  background: var(--surface-photo);
  border-radius: var(--radius-sm);
}
.login-lot-facts {
  min-width: 0;
}
.login-lot-facts p {
  margin: 0 0 2px;
}
.login-lot-bid {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.login-lot-closes {
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.login-lot-back a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.login-lot-back {
  margin-bottom: 0;
}
.login-create {
  margin: 14px 0 0;
}
.login-create button {
  width: 100%;
  min-height: 48px;
}
.login-panel {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.login-panel .small {
  margin: 24px 0 0;
}
.small {
  font-size: 14px;
  color: var(--muted);
}
/* "Closes with 3, 5": which other lots move together with this one, on a list row or card.
 * Subtle bordered pill so extension groups stand out while scanning a catalog. */
.lot-together {
  display: block;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.catalog-table .lot-together {
  width: fit-content;
  max-width: 100%;
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}
.extended-note {
  display: inline-block;
  margin: 6px 0 0;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--maroon);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.extended-note:empty {
  display: none;
}
dd .closes + .extended-note,
.lot-closes .closes + .extended-note {
  display: table;
}
.info-stat-sub {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
@keyframes extended-pulse {
  0% {
    background: var(--badge-bg);
  }
  100% {
    background: transparent;
  }
}
.is-extended-flash {
  animation: extended-pulse 1.6s ease-out;
  border-radius: var(--radius-sm);
}
/* "Ask a question" ends the bid panel (server page and app lot view): a 44px-tall tap target. */
.ask-question {
  margin: 0;
}
.ask-question a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* Per-lot pickup-only badge (site #95). */
.lot-badge.pickup-only {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--badge-bg);
  color: var(--maroon);
  border: 1px solid var(--badge-border);
}
.form-message {
  margin-top: 20px;
  color: var(--red);
}
.form-message--ok {
  color: var(--green);
  font-weight: 600;
}
.form-message--error {
  color: var(--red);
}
.verify-section-label {
  margin: 20px 0 6px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.verify-section-label:first-child {
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.page-heading p {
  margin: 0;
  color: var(--muted);
}
.connection {
  font-size: 13px;
  white-space: nowrap;
  color: var(--green);
}
.connection.stale {
  color: var(--red);
}
.toolbar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.toolbar.toolbar--storefront {
  display: block;
}
.toolbar > label,
.toolbar > .toolbar-search {
  min-width: 0;
  margin-bottom: 0;
}
.toolbar > .toolbar-search {
  gap: 6px;
}
.toolbar.toolbar--storefront > .toolbar-search {
  gap: 0;
}
.toolbar-search .search-label {
  display: block;
  margin-bottom: 0;
}
.toolbar-search .search-row {
  max-width: none;
}
.toolbar.toolbar--storefront .toolbar-search .search-row {
  max-width: 34rem;
}
.toolbar-search .search-row input[type="search"] {
  margin-top: 0;
}
.toolbar-search .search-row button {
  white-space: nowrap;
}
.catalog-filters {
  margin-bottom: 12px;
}
.catalog-filters summary {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 0;
  font-size: 15px;
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 0 18px;
}
.filter-fields label {
  min-width: 0;
}
#catalog-title {
  font-size: clamp(28px, 3.2vw, 38px);
}
#catalog-view .page-heading {
  margin-bottom: 24px;
}
#catalog-view .page-heading.page-heading--compact {
  margin-bottom: 10px;
  justify-content: flex-end;
}
.catalog-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.catalog-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.empty p {
  margin-inline: auto;
}
.auction-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  margin: 40px 0 20px;
}
.auction-heading-compact {
  margin: 14px 0 16px;
}
.auction-heading h2 {
  margin: 0;
}
.auction-heading p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
}
.lot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.lot-card {
  background: var(--white);
  border-bottom: 2px solid var(--line);
  position: relative;
  overflow: hidden;
}
.lot-image {
  display: block;
  background: var(--surface-photo);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.lot-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s;
}
.lot-image:hover img {
  transform: scale(1.035);
}
.lot-info {
  padding: 22px;
}
.lot-info .lot-card-title,
.lot-info h3 {
  font-family: var(--body-font);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: pretty;
  font-size: 17px;
  margin: 7px 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lot-info .lot-card-title a,
.lot-info h3 a {
  text-decoration: none;
}
.lot-info .lot-card-title a:hover,
.lot-info h3 a:hover {
  text-decoration: underline;
}
.lot-number {
  font-size: 12px;
  color: var(--muted);
}
.bid-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.price {
  font-size: 29px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.bid-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 3px;
}
.countdown {
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.countdown.urgent {
  color: var(--red);
  font-weight: 700;
}
.watch-button {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--white);
  color: var(--maroon);
  border: 1px solid var(--field-border);
  padding: 9px 12px;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.leading {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0;
}
.detail-back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 50px;
}
.detail-image {
  width: 100%;
  height: auto;
  max-height: clamp(300px, 52vh, 480px);
  background: var(--surface-photo);
  object-fit: contain;
}
.lot-gallery {
  min-width: 0;
}
.photo-enlarge {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--surface-photo);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.photo-enlarge:hover {
  background: var(--surface-photo);
  color: var(--ink);
  filter: none;
}
.photo-enlarge img {
  display: block;
}
.photo-loading {
  visibility: hidden;
}
.photo-loading-message {
  font-size: 14px;
  margin: 8px 0;
}
.photo-enlarge .photo-enlarge-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-block;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  background: var(--ink);
  border-radius: var(--radius);
  opacity: 0.84;
  transition: opacity 0.15s;
  pointer-events: none;
}
.photo-enlarge:hover .photo-enlarge-badge,
.photo-enlarge:focus-visible .photo-enlarge-badge {
  opacity: 1;
}
.photo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0;
}
.photo-controls button,
.photo-viewer-tools button {
  min-height: 44px;
  padding: 8px 14px;
  font-weight: 600;
}
.photo-controls output {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.photo-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px;
  scroll-padding-inline: 8px;
  scrollbar-color: var(--maroon) var(--paper);
  background:
    linear-gradient(90deg, var(--paper) 30%, transparent),
    linear-gradient(90deg, transparent, var(--paper) 70%) 100% 0,
    radial-gradient(farthest-side at 0 50%, var(--scroll-shadow), transparent),
    radial-gradient(farthest-side at 100% 50%, var(--scroll-shadow), transparent) 100% 0;
  background-repeat: no-repeat;
  background-size: 24px 100%, 24px 100%, 10px 100%, 10px 100%;
  background-attachment: local, local, scroll, scroll;
}
.photo-thumbnails a {
  flex: 0 0 96px;
  min-height: 44px;
  border: 2px solid transparent;
}
.photo-thumbnails img {
  display: block;
  width: 96px;
  height: 72px;
  object-fit: cover;
}
.photo-thumbnails a[aria-current] {
  border-color: var(--maroon);
}
.photo-viewer {
  width: min(94vw, 1280px);
  max-width: 94vw;
  max-height: 94dvh;
  padding: 12px 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--paper);
}
.photo-viewer::backdrop {
  background: var(--scrim);
}
.photo-viewer-tools {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.photo-zoom-viewport {
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(70dvh, 760px);
  overflow: auto;
  background: var(--white);
}
.photo-zoom-viewport img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.photo-actual-size .photo-zoom-viewport {
  display: block;
}
.photo-actual-size .photo-zoom-viewport img {
  display: block;
  max-width: none;
  max-height: none;
}
.photo-feedback button {
  min-height: 44px;
  padding: 8px 12px;
}
.detail-copy {
  margin-top: 32px;
}
.detail-copy ul,
.lot-description ul {
  margin: 0 0 18px;
  padding-left: 22px;
  max-width: 70ch;
}
.detail-copy li + li,
.lot-description li + li {
  margin-top: 6px;
}
.bid-panel {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-self: start;
}
.bid-panel .button-link {
  display: block;
  width: 100%;
  text-align: center;
}
.bid-panel > p.small {
  margin: 4px 0;
}
.bid-panel .button-link + .small {
  margin-top: 10px;
}
.bid-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.bid-label-row label {
  margin: 0;
}
.bid-help-link {
  margin-top: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}
.closes-at {
  font-size: 14px;
  color: var(--muted);
  margin: -14px 0 14px;
}
.outbid {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  margin: 14px 0 0;
}
.watch-button.inline {
  position: static;
  box-shadow: none;
  margin: 0 0 20px;
}
.bid-panel .price {
  font-size: 42px;
}
.bid-panel .bid-row {
  margin-bottom: 25px;
}
.bid-panel form {
  margin-top: 24px;
}
.quick-bid {
  width: 100%;
  margin-top: 0;
  min-height: 48px;
}
.cost-estimate {
  margin: -6px 0 0;
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.cost-estimate--warn {
  color: var(--red);
  font-weight: 600;
}
.notice {
  background: var(--paper);
  padding: 16px;
  font-size: 15px;
  margin-top: 18px;
  border-radius: var(--radius-sm);
}
.notice.error {
  color: var(--red);
}
.lot-connection {
  margin: 0 0 18px;
  border: 1px solid var(--red);
  font-weight: 600;
}
/* An emergency pause: bidding stopped and the clock with it. Same on every page of the auction. */
.pause-banner,
.draft-notice {
  background: var(--warning-bg);
  border: 1px solid var(--warning);
  border-radius: var(--radius);
  font-weight: 700;
  margin: 0 0 18px;
}
.launch-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--maroon);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0 0 20px;
}
.launch-banner-body {
  min-width: 0;
}
.launch-banner-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 16px;
  color: var(--maroon);
}
.launch-banner-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
}
.launch-banner-actions {
  flex: 0 0 auto;
}
.launch-banner-cta {
  white-space: nowrap;
}
@media (max-width: 640px) {
  .launch-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }
}
/* The pause buttons and the "Earlier pauses" heading under them: room between, wrapping at phone width. */
.pause-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}
.pause-actions button {
  margin: 0;
}
h3.pause-history {
  margin-top: 8px;
}
.button-link.disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}
.my-bid {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.receipt {
  font-size: 12px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.nowrap,
.time-left {
  white-space: nowrap;
}
.ladder {
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}
.bid-panel .ladder + .ladder {
  margin-top: 4px;
}
.ladder summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ladder summary::-webkit-details-marker {
  display: none;
}
.ladder summary::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-right: 1.75px solid var(--muted);
  border-bottom: 1.75px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
.ladder[open] > summary::before {
  transform: rotate(45deg);
}
.ladder p {
  margin-top: 12px;
}
.registration--terms {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin: 12px 0;
}
.registration--terms .registration-summary {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
}
.registration--terms .registration-accept {
  width: 100%;
}
.increment-table {
  width: 100%;
  max-width: 24rem;
  border-collapse: collapse;
  margin: 10px 0 6px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.increment-table th,
.increment-table td {
  padding: 5px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--ink);
}
.increment-table th:last-child,
.increment-table td:last-child {
  text-align: right;
  font-weight: 600;
}
.increment-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
dialog .increment-table {
  max-width: 100%;
}
/* Bid history in the lot's bid panel (public/bid_history.js). */
.bid-history {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.bid-history th,
.bid-history td {
  padding: 7px 10px 7px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.bid-history td:first-child {
  white-space: nowrap;
}
.bid-history th:last-child,
.bid-history td:last-child {
  padding-right: 0;
}
.bid-history th {
  font-size: 12px;
  color: var(--muted);
}
.bid-history tr.own td {
  font-weight: 700;
}
.bid-history .small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.terms {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 320px;
  overflow-y: auto;
  margin-top: 12px;
  padding: 12px;
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.registration-summary {
  margin: 10px 0 8px;
}
.registration .ladder {
  margin-top: 8px;
}
.registration button {
  margin-top: 14px;
}
.registration-accept {
  width: 100%;
  min-height: 48px;
}
/* Operator desk 4-tab navigation */
.operator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.operator-tab {
  min-height: 44px;
  padding: 10px 18px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}
.operator-tab:hover:not(:disabled) {
  background: var(--badge-bg);
  filter: none;
}
.operator-tab[aria-selected="true"] {
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.operator-tab-panel > h2:first-child {
  margin-top: 0;
}
.operator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 70px;
}
#catalogs-view .operator-layout {
  margin-bottom: 28px;
}
.operator-layout section > h2:not(:first-child) {
  margin-top: 40px;
}
.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
#terms-form button {
  align-self: end;
}
.detail-layout > *,
.operator-layout > *,
.form-row > * {
  min-width: 0;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.check input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  flex-shrink: 0;
}
.account-row,
.audit-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.account-row strong {
  display: block;
}
.account-row p {
  margin: 4px 0;
  font-size: 14px;
}
.account-row button {
  font-size: 13px;
  padding: 7px 12px;
  margin-right: 8px;
  margin-top: 10px;
}
@media (pointer: coarse) {
  .watch-button,
  .account-row button,
  .text-button,
  .btn-compact {
    min-height: 44px;
    padding: 10px 14px;
  }
}
.audit-row {
  font-size: 14px;
}
.audit-table td {
  font-size: 14px;
}
/* Removing a bidder from a lot (operator desk; public/bidder_removal.js). */
#removal h3 {
  margin: 22px 0 8px;
}
.removal-table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.removal-table th,
.removal-table td {
  padding: 7px 10px 7px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.removal-table thead th {
  font-size: 12px;
  color: var(--muted);
}
.removal-table tr.over td {
  color: var(--red);
  font-weight: 700;
}
.removal-changes {
  padding-left: 20px;
  margin: 12px 0;
}
.removal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 14px 0;
}
#removal textarea {
  width: 100%;
  min-height: 96px;
  font: inherit;
  padding: 10px 13px;
  margin-top: 6px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
}
#removal .notice ul {
  margin: 8px 0;
  padding-left: 20px;
}
.empty {
  padding: 60px 15px;
  text-align: center;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 28px 4%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 13px;
  color: var(--muted);
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 3;
  max-width: 90vw;
  cursor: pointer;
}
dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  max-width: 560px;
  width: 90vw;
  max-height: 85vh;
  overflow-y: auto;
}
dialog::backdrop {
  background: var(--scrim-soft);
}
dialog .text-button {
  float: right;
  margin-bottom: 20px;
}
#help-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}
dialog h2 {
  clear: both;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}
.dialog-actions button {
  margin-top: 0;
}
.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;
}
[hidden] {
  display: none !important;
}

/* Operator catalogs and server-rendered catalog pages */
.catalog-page {
  display: block;
}
.crumbs {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--muted);
}
.catalog-table {
  font-variant-numeric: tabular-nums;
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 15px;
  margin-bottom: 32px;
}
.catalog-table:last-child {
  margin-bottom: 0;
}
.catalog-table th,
.catalog-table td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.catalog-table img {
  display: block;
  object-fit: cover;
  background: var(--surface-photo);
}
.lot-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  margin: 0 0 24px;
}
.lot-facts dt {
  color: var(--muted);
  font-size: 14px;
}
.lot-facts dd {
  margin: 0;
}
/* Auction information, sort links and previous/next lot: server pages and the app. */
.auction-info {
  margin: 16px 0 22px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--line);
}
.auction-info h2 {
  font-size: 20px;
  margin: 0 0 10px;
}
.auction-info .lot-facts {
  margin: 0;
  gap: 5px 16px;
  font-size: 15px;
  line-height: 1.4;
}
.auction-info .lot-facts dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
.auction-info .lot-facts dd.info-datum,
.auction-info .lot-facts .closes,
.auction-info .lot-facts .closes-when,
.auction-info .lot-facts .closes-left,
.auction-info .lot-facts dd > .time-range,
.auction-info .lot-facts dd > time,
.auction-info .lot-facts dd > a,
.auction-info .lot-facts .ladder > summary,
.auction-info .inspection-when strong {
  font-weight: 600;
}
.auction-info .lot-facts dd.info-datum,
.auction-info .lot-facts .closes-when {
  font-variant-numeric: tabular-nums;
}
.auction-info .lot-facts .closes-left {
  color: var(--maroon);
}
.auction-info .cal-menu summary {
  font-weight: 400;
}
.auction-info .ladder {
  margin-top: 0;
  font-size: inherit;
}
@media (min-width: 900px) {
  .auction-info .lot-facts {
    grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr);
    gap: 5px 14px;
  }
  .auction-info .lot-facts dt:nth-of-type(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }
}
.sort-links,
.lot-nav {
  order: 0;
  width: auto;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin: 0 0 16px;
  font-size: 15px;
}
.sort-links {
  justify-content: flex-start;
}
.sort-links span,
.lot-nav span {
  margin-left: 0;
}
.sort-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sort-links a {
  font-weight: 400;
  text-decoration: underline;
}
.sort-links a[aria-current] {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--maroon);
}
.lot-nav {
  justify-content: space-between;
}
.lot-nav a {
  text-decoration: underline;
}
.detail-layout .detail-image + .detail-image {
  margin-top: 12px;
}
.button-link {
  display: inline-block;
  background: var(--maroon);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.button-link:not(.btn-secondary):not(.disabled):hover {
  background: var(--maroon-hover);
}
.button-link.btn-secondary {
  background: var(--white);
  color: var(--maroon);
  border: 1px solid var(--maroon);
}
.button-link.btn-secondary:hover {
  background: var(--badge-bg);
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
}
.inline-form {
  display: flex;
  gap: 12px;
  align-items: end;
  margin-bottom: 24px;
  max-width: 640px;
}
.inline-form label {
  flex: 1;
}
.photo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.photo-strip span {
  display: grid;
  justify-items: start;
}
.photo-strip .text-button {
  font-size: 13px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after,
  html {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .is-extended-flash {
    background: var(--badge-bg);
    outline: 1px solid var(--badge-border);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
  }
}
dialog:modal {
  overscroll-behavior: contain;
}
dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

/* Auction overview uses the same photography, cards and brand as lot browsing. */
.auction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.auction-grid .auction-card .lot-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 280px;
}
.auction-grid .auction-card .lot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 280px;
}
.auction-card {
  background: var(--white);
  border-bottom: 2px solid var(--line);
  overflow: hidden;
}
.closing-now-badge,
.auction-date .closes-state:not([hidden]),
.auction-dates .closes-state:not([hidden]) {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.5;
  vertical-align: baseline;
}
.auction-heading .closing-now-badge {
  margin-right: 6px;
}
.auction-card h2,
.auction-card .lot-info h3 {
  font-family: Norwester, sans-serif;
  font-weight: 400;
  font-size: 29px;
  line-height: 1.12;
  margin: 0 0 12px;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
.auction-card h2 a,
.auction-card .lot-info h3 a {
  text-decoration: none;
}
.auction-card h2 a:hover,
.auction-card .lot-info h3 a:hover {
  text-decoration: underline;
}
.auction-location {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}
a[href^="tel:"] {
  white-space: nowrap;
}
#main-nav span,
#watch-count,
#bid-count,
.lot-number,
.auction-dates {
  font-variant-numeric: tabular-nums;
}
.auction-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 18px;
}
.auction-dates--compact {
  margin: 8px 0 0;
}
.auction-dates .meta-sep {
  color: var(--field-border);
  user-select: none;
}
.auction-dates-loc {
  color: var(--ink);
}
.cal-menu {
  position: relative;
  display: inline-block;
}
.cal-menu summary {
  list-style: none;
  cursor: pointer;
  color: var(--maroon);
  font-weight: 600;
  font-size: 14px;
  padding: 2px 6px;
  margin: -2px -6px;
  border-radius: var(--radius-sm);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cal-menu summary::-webkit-details-marker {
  display: none;
}
.cal-menu summary::after {
  content: "▾";
  font-size: 12px;
  display: inline-block;
  margin-left: 4px;
  text-decoration: none;
}
.cal-menu[open] summary::after {
  content: "▴";
}
.cal-menu summary:hover {
  color: var(--maroon-hover);
}
.cal-menu summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.cal-menu:not([open]) .cal-popover {
  display: none;
}
.cal-popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  min-width: 210px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cal-popover a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.cal-popover a:hover,
.cal-popover a:focus-visible {
  background: var(--paper);
  color: var(--maroon);
}
.auction-date {
  color: var(--muted);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 24px;
}
.info-drawer-body {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
}
.info-story-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px 28px;
  align-items: start;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.info-story-row--single {
  grid-template-columns: minmax(0, 1fr);
}
.info-story-col .auction-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}
.info-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.auction-manager-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.auction-manager-card--panel {
  margin-top: 16px;
  padding: 14px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.auction-manager-card--panel .manager-row {
  gap: 12px;
}
.auction-manager-card--panel .manager-photo-frame {
  width: 52px;
  height: 64px;
  flex: 0 0 52px;
}
.auction-manager-card--panel .manager-name {
  font-size: 15px;
}
.auction-manager-card--panel .manager-contact-row {
  font-size: 13px;
}
.auction-manager-card--panel .ask-question a {
  display: inline;
  min-height: 0;
}
.lot-documents-jump,
.lot-video-jump {
  margin: 10px 0 0;
}
.lot-video-jump + .lot-documents-jump {
  margin-top: 6px;
}
.live-bid-mount {
  margin: 12px 0 6px;
}
.live-bid-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.live-bid-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.live-status--leading,
.live-status--win {
  background: var(--green-bg);
  border-color: var(--green-border);
  color: var(--green);
  font-weight: 600;
}
.live-reg-ok {
  color: var(--muted);
  margin: 6px 0 10px;
}
.live-bid-form {
  margin-top: 10px;
}
.cost-estimate--warn {
  color: var(--red);
  font-weight: 600;
}
.manager-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.manager-photo-frame {
  width: 64px;
  height: 78px;
  flex: 0 0 64px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-photo);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.manager-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.manager-monogram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  color: var(--maroon);
  font-family: Norwester, sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
}
.manager-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.manager-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.manager-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 2px 0 4px;
}
.manager-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.manager-contact-row {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.manager-contact-row a {
  color: var(--maroon);
  font-weight: 600;
  text-decoration: none;
}
.manager-contact-row a:hover,
.manager-contact-row a:focus-visible {
  text-decoration: underline;
}
.map-link {
  font-weight: 600;
  color: var(--maroon);
}
.calendar-links a,
.calendar-inline a {
  font-weight: 600;
}
.calendar-inline {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}
.inspection-lead {
  margin: 0 0 8px;
}
.inspection-window + .inspection-window {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.inspection-when {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.inspection-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.time-range {
  font-variant-numeric: tabular-nums;
}
.lot-category-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--field-border);
  text-underline-offset: 2px;
}
.lot-category-link:hover,
.lot-category-link:focus-visible {
  color: var(--maroon);
  text-decoration-color: var(--maroon);
}
.single-lot-intro {
  margin: 0 0 24px;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
}
.single-lot-intro > h2 {
  margin-top: 0;
}
.auction-story {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 0 0 20px;
}
.auction-story-media {
  background: var(--surface-photo);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.auction-story-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.auction-intro {
  max-width: 72ch;
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}
.auction-story .auction-intro {
  margin: 0;
}
.auction-intro p {
  margin: 0 0 12px;
}
.auction-intro p:last-child {
  margin-bottom: 0;
}
.lot-manager {
  margin: 4px 0 0;
  color: var(--ink);
}
.detail-copy .pip-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 14px;
  text-decoration: none;
}
.lot-video {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0 0;
}
.lot-video-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.lot-video-head h2 {
  margin: 0;
}
.lot-video-external {
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
}
.lot-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink);
}
.lot-video-frame + .lot-video-frame {
  margin-top: 12px;
}
.lot-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lot-video-play {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.lot-video-play img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lot-video-scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim-soft);
  transition: background-color 140ms ease;
}
.lot-video-play:hover .lot-video-scrim,
.lot-video-play:focus-visible .lot-video-scrim {
  background: var(--scrim);
}
.lot-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: var(--maroon);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.lot-video-play:hover .lot-video-badge,
.lot-video-play:focus-visible .lot-video-badge {
  background: var(--maroon-hover);
}
.lot-video-play:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}
.lot-video-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--white);
}
.lot-documents {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0 8px;
}
.lot-documents-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.lot-documents-head h2 {
  margin: 0;
}
.lot-documents-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lot-documents-actions .button-link.btn-secondary {
  font-size: 14px;
  padding: 8px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.lot-documents .document-links {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
  border-top: 1px solid var(--line);
}
.document-links li {
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.document-links li + li {
  margin-top: 0;
}
.document-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 4px;
  text-decoration: none;
  color: var(--ink);
}
.document-links a:hover .document-label,
.document-links a:focus-visible .document-label {
  color: var(--maroon);
  text-decoration: underline;
}
.document-label {
  font-weight: 600;
}
.document-meta {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}
.single-lot-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 32px;
}
.single-lot-image {
  display: block;
  background: var(--surface-photo);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.single-lot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-lot-body {
  padding: 24px 28px 24px 0;
}
.single-lot-body h2 {
  margin: 8px 0 14px;
}
.single-lot-body h2 a {
  text-decoration: none;
}
.single-lot-body h2 a:hover {
  text-decoration: underline;
}
.single-lot-price {
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  margin: 0 0 8px;
}
@media (max-width: 760px) {
  .info-story-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .auction-story {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .auction-story-media {
    max-height: 240px;
  }
  .single-lot-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .single-lot-body {
    padding: 20px;
  }
  .cal-popover {
    left: auto;
    right: 0;
  }
  .manager-contact-row a {
    display: inline-block;
    padding: 6px 0;
  }
}

/* Invoices reuse the site's paper, borders and editorial typography. */
.invoice-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}
.invoice-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.invoice-card-head > div {
  min-width: 0;
  flex: 1 1 260px;
}
.invoice-card-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
}
.invoice-card-head .invoice-reference {
  margin: 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.invoice-status {
  margin: 2px 0 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.invoice-status--paid {
  color: var(--green);
}
.invoice-status--unpaid {
  color: var(--red);
}
.invoice-status--partial {
  color: var(--warning);
}
.invoice-status--muted {
  color: var(--muted);
}
.invoice-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px 36px;
  align-items: start;
}
.invoice-body--single {
  grid-template-columns: minmax(0, 680px);
}
.invoice-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-width: 0;
}
.invoice-side h3 {
  margin: 0 0 8px;
  font-size: 17px;
}
.invoice-side p {
  margin: 0 0 10px;
}
.invoice-side p:last-child {
  margin-bottom: 0;
}
.invoice-pending {
  background: var(--paper);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.invoice-totals {
  max-width: none;
  margin: 0;
}
.invoice-lines .invoice-totals,
.invoice-side .invoice-totals {
  margin: 12px 0;
}
.invoice-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.invoice-totals > div.invoice-total-row {
  font-weight: 700;
  color: var(--ink);
}
.invoice-totals dd {
  margin: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.invoice-card details,
.invoice-detail-panel details {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.invoice-card summary,
.invoice-detail-panel summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}
.invoice-card summary::-webkit-details-marker,
.invoice-detail-panel summary::-webkit-details-marker {
  display: none;
}
.invoice-card summary::before,
.invoice-detail-panel summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
  flex-shrink: 0;
}
.invoice-card details[open] > summary::before,
.invoice-detail-panel details[open] > summary::before {
  transform: rotate(45deg);
}
/* Compact expandable invoice tables (current & past bidder invoices). */
.invoice-table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.invoice-table thead th {
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.invoice-table th.num,
.invoice-table td.num,
.invoice-past-head .num,
.invoice-past-summary .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.invoice-summary-row {
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: background 0.12s ease;
}
.invoice-summary-row:hover {
  background: var(--row-hover);
}
.invoice-summary-row.is-open {
  background: var(--row-open);
  border-bottom-color: transparent;
}
.invoice-summary-row th,
.invoice-summary-row td {
  padding: 13px 16px;
  text-align: left;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.invoice-summary-row th {
  font-weight: 400;
}
.invoice-row-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.invoice-row-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.invoice-cell-status {
  white-space: nowrap;
}
.invoice-balance-due {
  color: var(--red);
  font-weight: 700;
}
.invoice-cell-pickup {
  font-size: 14px;
  white-space: nowrap;
}
.invoice-pickup-pending {
  color: var(--muted);
}
.invoice-cell-action {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}
.invoice-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--maroon);
  font-size: 14px;
  font-weight: 700;
  padding: 6px 4px;
  min-height: 36px;
  cursor: pointer;
  white-space: nowrap;
}
.invoice-toggle:hover:not(:disabled) {
  background: transparent;
  text-decoration: underline;
  filter: none;
}
.invoice-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.16s ease;
  margin-top: -2px;
  flex-shrink: 0;
}
.invoice-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.invoice-detail-row {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.invoice-detail-row[hidden] {
  display: none;
}
.invoice-detail-row > td {
  padding: 0;
}
.invoice-detail-panel {
  padding: 20px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
/* Read-only past AM invoices match the exact table visual rhythm using native <details>. */
.invoice-past-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 130px 96px 96px 28px;
  gap: 16px;
  align-items: center;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
.invoice-past-table--no-balance .invoice-past-head,
.invoice-past-table--no-balance .invoice-past-summary {
  grid-template-columns: minmax(0, 1fr) 120px 160px 96px 28px;
}
.invoice-past-row {
  border-bottom: 1px solid var(--line);
}
.invoice-past-row:last-child {
  border-bottom: 0;
}
.invoice-past-summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 130px 96px 96px 28px;
  gap: 16px;
  align-items: center;
  padding: 13px 16px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.invoice-past-summary::-webkit-details-marker {
  display: none;
}
.invoice-past-summary:hover {
  background: var(--row-hover);
}
.invoice-past-row[open] > .invoice-past-summary {
  background: var(--row-open);
}
.invoice-cell-date {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.invoice-past-caret {
  justify-self: end;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--maroon);
  border-bottom: 2px solid var(--maroon);
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}
.invoice-past-row[open] > .invoice-past-summary .invoice-past-caret {
  transform: rotate(-135deg);
}
@media (max-width: 860px) {
  .invoice-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .invoice-side {
    padding: 14px 16px;
  }
  .invoice-card-head h2 {
    font-size: 20px;
  }
  .invoice-table thead,
  .invoice-past-head {
    display: none;
  }
  .invoice-table,
  .invoice-table tbody,
  .invoice-detail-row,
  .invoice-detail-row > td {
    display: block;
    width: 100%;
  }
  .invoice-summary-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    padding: 14px 16px;
  }
  .invoice-summary-row th,
  .invoice-summary-row td {
    display: block;
    padding: 0;
  }
  .invoice-cell-auction {
    grid-column: 1;
    grid-row: 1;
  }
  .invoice-cell-status {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }
  .invoice-cell-total {
    grid-column: 1;
    grid-row: 2;
    text-align: left !important;
    font-size: 14px;
  }
  .invoice-cell-balance {
    grid-column: 1;
    grid-row: 3;
    text-align: left !important;
    font-size: 14px;
  }
  .invoice-cell-pickup {
    grid-column: 1 / -1;
    grid-row: 4;
    white-space: normal;
    font-size: 13px;
    padding-top: 2px;
  }
  .invoice-cell-action {
    grid-column: 2;
    grid-row: 2 / span 2;
    width: auto;
    align-self: center;
  }
  .invoice-summary-row td[data-label]::before {
    content: attr(data-label) ": ";
    color: var(--muted);
    font-weight: 400;
  }
  .invoice-summary-row td.invoice-cell-status::before {
    content: none;
  }
  .invoice-toggle {
    min-height: 44px;
    padding: 8px 4px;
  }
  .invoice-detail-panel {
    padding: 16px;
  }
  .invoice-detail-panel summary {
    min-height: 44px;
  }
  .invoice-past-summary {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 14px 16px;
  }
  .invoice-past-summary .invoice-cell-auction {
    grid-column: 1;
    grid-row: 1;
  }
  .invoice-past-summary .invoice-cell-status {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .invoice-past-summary .invoice-cell-date {
    grid-column: 1;
    grid-row: 2;
    font-size: 13px;
  }
  .invoice-past-summary .invoice-cell-total {
    grid-column: 1;
    grid-row: 3;
    text-align: left !important;
    font-size: 14px;
  }
  .invoice-past-summary .invoice-cell-balance {
    grid-column: 2;
    grid-row: 3;
    font-size: 14px;
  }
  .invoice-past-caret {
    grid-column: 2;
    grid-row: 2;
  }
}
.invoice-lines,
.invoice-payments {
  list-style: none;
  padding: 0;
}
.invoice-lines li,
.invoice-payments li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.invoice-lines li:last-child,
.invoice-payments li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.invoice-lines .invoice-totals > div:last-child {
  border-bottom: 0;
}
.invoice-payments span {
  display: block;
}
.invoice-reference {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 0;
}

.post-close-controls {
  display: flex;
  gap: 1rem;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.post-close-controls label {
  flex: 1 1 16rem;
  min-width: 0;
}
.post-close-controls select {
  width: 100%;
  min-width: 0;
}
.invoice-pickup {
  margin: 1.5rem 0;
}
.invoice-pickup form {
  max-width: 40rem;
  margin-top: 1rem;
  min-width: 0;
}
.invoice-pickup select {
  width: 100%;
  min-width: 0;
}
.invoice-pickup button {
  min-height: 44px;
}
.pickup-status {
  min-height: 1.5em;
}
.invoice-pay {
  margin: 1rem 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card-pay fieldset {
  border: 0;
  padding: 0;
  margin: 12px 0;
}
.card-choice,
.card-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  margin: 6px 0;
  padding: 8px 0;
  font-weight: 400;
  cursor: pointer;
}
.card-choice input,
.card-consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--maroon);
}
.invoice-collection {
  color: var(--muted);
}
.invoice-pickup p {
  overflow-wrap: anywhere;
}
.invoice-collected {
  margin: 1.25rem 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.collected-checkin {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  max-width: 28rem;
}
.collected-checkin label {
  display: block;
  margin: 0;
}
.collected-checkin input[type="text"],
.collected-checkin input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 4px;
}
.collected-checkin .collected-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.collected-check input[type="checkbox"] {
  margin-top: 3px;
  min-width: 18px;
  min-height: 18px;
}
.collected-third-party-fields {
  display: grid;
  gap: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
}
.collected-third-party-fields[hidden] {
  display: none;
}
.collected-signature {
  display: grid;
  gap: 6px;
}
.collected-signature-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.signature-pad {
  width: 100%;
  max-width: 360px;
  height: 110px;
  background: var(--white);
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  touch-action: none;
  cursor: crosshair;
  display: block;
}
.collected-proof-summary {
  margin: 8px 0;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.collected-proof-line {
  margin: 4px 0;
  font-size: 15px;
}
.collected-signature-preview {
  margin: 6px 0;
}
.signature-svg {
  display: block;
  width: 260px;
  max-width: 100%;
  height: 80px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.mail-page {
  max-width: 560px;
  margin: 48px auto 64px;
  padding: 0 20px;
}
.mail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.mail-card h1 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin: 0 0 14px;
}
.mail-card p {
  margin: 0 0 18px;
}
.mail-card form {
  margin: 20px 0 18px;
}
.mail-card .button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}
.mail-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 22px;
}
.mail-secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.mail-home-link {
  margin: 22px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.mail-home-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 600px) {
  .mail-page {
    margin: 24px auto 40px;
    padding: 0 16px;
  }
  .mail-card {
    padding: 22px 18px;
  }
  .mail-card .button-link,
  .mail-card button[type="submit"] {
    width: 100%;
  }
}

/* Invoices copied from AM, under the site's own. A bidder with only these sees no "no invoices yet". */
#invoice-content:has(.empty):has(+ #past-invoice-content .invoice-table-wrap),
#invoice-content:has(.empty):has(+ #past-invoice-content .invoice-card) {
  display: none;
}
.past-invoices-heading {
  margin: 32px 0 16px;
}
.invoice-disclaimer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.faq-filter,
.faq-toc,
.faq-section,
.faq-empty,
.faq-outro {
  max-width: 760px;
}
.faq-filter {
  margin: 0 0 18px;
}
.faq-filter-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.faq-filter-row input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
}
.faq-filter-clear {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 18px;
}
.faq-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 10px;
}
.faq-filter-status {
  margin: 0;
}
.faq-toggle-all {
  background: transparent;
  border: 0;
  padding: 4px 0;
  color: var(--maroon);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.faq-toggle-all:hover,
.faq-toggle-all:focus-visible {
  color: var(--maroon-dark);
}
.faq-toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 28px;
}
.faq-toc ul,
.faq-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-toc a {
  color: var(--maroon);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
}
.faq-section {
  margin: 0 0 32px;
}
.faq-section h2 {
  margin: 0 0 12px;
  scroll-margin-top: 16px;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item > summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 4px;
  min-height: 48px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.faq-item > summary::-webkit-details-marker {
  display: none;
}
.faq-item > summary::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  flex-shrink: 0;
  border-right: 2px solid var(--maroon);
  border-bottom: 2px solid var(--maroon);
  transform: rotate(-45deg);
}
.faq-item[open] > summary::before {
  transform: rotate(45deg);
}
.faq-item > summary:hover {
  color: var(--maroon);
}
.faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}
.faq-item:not([open])::details-content {
  block-size: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .faq-item > summary::before {
    transition: transform 0.2s ease;
  }
  .faq-item::details-content {
    transition: block-size 0.25s ease, content-visibility 0.25s ease allow-discrete;
  }
}
.faq-answer {
  padding: 0 4px 16px 24px;
}
.faq-answer p {
  margin: 0 0 10px;
  max-width: none;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
.faq-back {
  margin: 10px 0 0;
  font-size: 14px;
}
.faq-back a {
  color: var(--muted);
}
.faq-back a:hover,
.faq-back a:focus-visible {
  color: var(--maroon);
}
.faq-outro {
  margin: 24px 0 0;
}
.legal-text h2 {
  font-size: 20px;
  margin: 24px 0 6px;
}
.legal-text p {
  margin: 0 0 10px;
}
.legal-text .legal-version {
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-licenses {
  flex-basis: 100%;
  line-height: 1.6;
}
.footer-phone {
  color: inherit;
  white-space: nowrap;
}
.footer-copyright {
  display: inline-block;
  margin-top: 2px;
}
.footer-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  flex-basis: 100%;
  margin-top: 4px;
}
.footer-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  opacity: 0.88;
  transition: opacity 0.15s ease;
}
.footer-badges a:hover {
  opacity: 1;
}
.footer-badges img {
  display: block;
  height: 36px;
  width: auto;
}
.footer-eho {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  font-size: 13px;
  color: var(--muted);
}
.footer-eho[hidden] {
  display: none;
}
.footer-eho svg {
  flex: none;
}
/* Weekly email signup: in every footer and on /newsletter. The honeypot field is moved off screen, not
   hidden with display, so a script that skips hidden fields still fills it; people never reach it. */
.footer-signup {
  flex: 1 0 100%;
  max-width: none;
  gap: 6px;
  margin: 4px 0;
}
.footer-signup label {
  font-size: 13px;
}
.footer-signup-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  max-width: 28rem;
}
.footer-signup-row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 12px;
}
.footer-signup-row button {
  height: 46px;
  padding: 0 18px;
}
.newsletter-form {
  max-width: 28rem;
}
.newsletter-form label {
  margin-bottom: 14px;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Seller prompt above the footer on auction and lot views. */
.seller-cta {
  max-width: 1440px;
  margin: 0 auto 24px;
  padding: 0 4%;
}
.seller-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 24px 0;
  border-top: 3px solid var(--maroon);
}
.seller-cta-copy {
  flex: 1 1 20rem;
  min-width: 0;
}
.seller-cta-headline {
  margin: 0 0 6px;
  color: var(--maroon);
  font-family: Norwester, sans-serif;
  font-size: 29px;
  font-weight: 400;
  line-height: 1.12;
}
.seller-cta-sub {
  margin: 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.5;
  text-wrap: pretty;
}
.seller-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--maroon);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.seller-cta-link:hover,
.seller-cta-link:focus {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .seller-cta-link {
    width: 100%;
  }
}
@media print {
  .seller-cta {
    display: none;
  }
}

/* Public auction list and search (lib/catalog_pages.rb#home). */
.public-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  max-width: 34rem;
  margin: 0 0 24px;
}
.public-search label {
  flex-basis: 100%;
  font-weight: 600;
}
.public-search input {
  flex: 1 1 240px;
  min-width: 0;
}
.auction-cards {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
@media (min-width: 1100px) {
  .auction-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.auction-cards--closed {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.auction-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.auction-card strong {
  display: block;
}

/* ---- Public catalog pages (server-rendered, signed out or in) --------------- */
.skip-link {
  position: absolute;
  left: 8px;
  top: -120px;
  z-index: 30;
  padding: 12px 18px;
  background: var(--maroon);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus {
  top: 8px;
}

/* Time left, and the reminder that these pages do not update by themselves. */
.time-left,
.lot-amount {
  font-variant-numeric: tabular-nums;
}
.closes-state {
  font-weight: 700;
  color: var(--red);
}
.reload-hint {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 5%;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
}
body.has-reload-hint {
  padding-bottom: var(--reload-hint-height, 112px);
}
.reload-hint a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-weight: 700;
}
.reload-hint button {
  min-height: 44px;
  padding: 8px 14px;
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.reload-hint button.secondary:hover:not(:disabled),
.reload-hint button:hover:not(:disabled) {
  background: var(--white);
  color: var(--ink);
  filter: none;
}

/* Auction information folds to a scannable stat grid (public/info_details.js). */
.auction-info.is-collapsible > h2 {
  margin: 0;
  padding: 6px 210px 0 0;
  line-height: 22px;
}
.info-details > summary {
  position: relative;
  display: block;
  min-height: 44px;
  margin-top: -28px;
  padding: 28px 0 8px 0;
  cursor: pointer;
  list-style: none;
}
.info-details > summary::-webkit-details-marker {
  display: none;
}
.info-details > summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--maroon);
  border-bottom: 2px solid var(--maroon);
  transform: rotate(45deg);
}
.info-details[open] > summary::after {
  top: 16px;
  transform: rotate(-135deg);
}
.info-toggle-cue {
  position: absolute;
  top: 5px;
  right: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.info-toggle-cue .cue-open {
  display: none;
}
.info-details[open] .info-toggle-cue .cue-closed {
  display: none;
}
.info-details[open] .info-toggle-cue .cue-open {
  display: inline;
}
.info-summary-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.info-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.info-stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.info-stat-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.info-stat--closing .closes-when {
  font-weight: 700;
  color: var(--ink);
}
.info-stat--closing .closes-left {
  font-weight: 600;
  color: var(--maroon);
}
.info-summary {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
}
.info-details[open] .info-summary,
.info-details[open] .info-summary-grid {
  display: none;
}
.info-details[open] > summary {
  margin-bottom: 6px;
  padding-bottom: 10px;
}
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 16px;
}
.catalog-controls .search-form {
  margin: 0;
  flex: 1 1 280px;
  max-width: 30rem;
}
.catalog-controls .sort-links {
  margin: 0;
}
@media (max-width: 620px) {
  .auction-info.is-collapsible > h2 {
    padding-right: 110px;
  }
  .info-toggle-cue {
    font-size: 13px;
  }
  .info-toggle-cue .cue-closed {
    font-size: 0;
  }
  .info-toggle-cue .cue-closed::before {
    content: "Details";
    font-size: 13px;
  }
  .info-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
  }
  .info-stat--closing {
    grid-column: 1 / -1;
  }
  .catalog-controls {
    gap: 10px;
    margin-bottom: 12px;
  }
  .catalog-controls .search-form {
    max-width: none;
    width: 100%;
  }
  .auction-info .cal-popover {
    left: auto;
    right: 0;
  }
}

.lot-list .lot-title a {
  text-decoration: none;
  font-weight: 600;
}
.lot-list .lot-title a:hover,
.lot-list .lot-title a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.lot-category {
  display: block;
}
.lot-bid .lot-amount,
.lot-bid .lot-bid-label {
  display: block;
  white-space: nowrap;
}

/* The lot page: the title is the first heading, then photos, price and bid, then
 * the description. Two columns on a wide screen, one on a phone. */
.lot-page {
  row-gap: 0;
  grid-template-rows: auto auto 1fr;
  align-items: start;
}
.lot-page .lot-head {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 18px;
}
.lot-page .lot-gallery {
  grid-column: 1;
  grid-row: 2;
}
.lot-page .detail-copy {
  grid-column: 1;
  grid-row: 3;
}
.lot-page .bid-panel {
  grid-column: 2;
  grid-row: 1 / span 3;
}
.lot-head h1 {
  margin: 4px 0 0;
  font-size: clamp(28px, 3.2vw, 38px);
}
.lot-page .detail-copy h2 {
  font-size: 22px;
}
.lot-facts dd.cost-line {
  grid-column: 1 / -1;
  margin: 4px 0 8px;
  font-size: 15px;
  line-height: 1.4;
}
.cost-ledger {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.bid-panel .cost-ledger {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0;
}
.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
.ledger-table th,
.ledger-table td {
  padding: 3px 0;
  border: 0;
  background: transparent;
}
.ledger-table th {
  text-align: left;
  font-weight: 400;
  color: var(--muted);
}
.ledger-table .ledger-amount {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  padding-left: 12px;
}
.ledger-table tfoot tr.ledger-total th,
.ledger-table tfoot tr.ledger-total td {
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--field-border);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.ledger-note {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
}

/* ---- Auction terms page (lib/catalog_pages.rb#auction_terms) ------------------ */
.terms-page {
  max-width: 1040px;
  margin-inline: auto;
}
.terms-page h1 {
  margin-bottom: 8px;
}
.terms-page > p,
.terms-body {
  max-width: 68ch;
}
.terms-page > p {
  margin-bottom: 8px;
}
.terms-page .terms-back {
  margin-bottom: 8px;
}
.terms-key {
  margin: 14px 0 18px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
}
.terms-key h2 {
  margin: 0 0 4px;
  font-size: 20px;
}
.terms-key summary {
  min-height: 44px;
  padding: 8px 0;
  cursor: pointer;
  font-weight: 600;
}
.terms-key p.small {
  margin: 4px 0 0;
}
.terms-key .lot-facts {
  margin: 8px 0 8px;
  gap: 4px 16px;
}
.terms-key .lot-facts dd {
  min-width: 0;
}
.terms-contents {
  display: block;
  margin: 0 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.terms-contents summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 700;
}
.terms-contents ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  columns: 3 240px;
  column-gap: 28px;
}
.terms-contents li {
  break-inside: avoid;
}
.terms-contents a {
  display: block;
  padding: 3px 0;
  line-height: 1.3;
}
.terms-body h2 {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  margin: 28px 0 8px;
  scroll-margin-top: 16px;
}
.terms-body .terms-list {
  margin: 8px 0 14px;
  padding-left: 22px;
}
.terms-body .terms-list li + li {
  margin-top: 6px;
}
.terms-body > h2:first-child {
  margin-top: 0;
}
.terms-block {
  margin: 0 0 14px;
  max-width: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
@media (min-width: 960px) {
  .terms-layout {
    display: grid;
    grid-template-columns: minmax(0, 60ch) minmax(240px, 1fr);
    gap: 0 40px;
    align-items: start;
  }
  .terms-layout > .terms-body {
    grid-column: 1;
    grid-row: 1;
  }
  .terms-layout > .terms-contents {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin: 0;
  }
  .terms-layout > .terms-contents ul {
    columns: 1;
  }
}

/* ---- Search results: one list shape (the lot list), one heading per auction --- */
.search-group {
  margin: 0 0 20px;
}
.search-group h2,
.search-group h3 {
  margin: 28px 0 2px;
  font-size: 22px;
}
.search-group h2 a,
.search-group h3 a {
  text-decoration-thickness: 1px;
}
.search-group-meta {
  margin: 0 0 8px;
}
.search-closed {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.search-closed > summary {
  min-height: 44px;
  padding: 10px 0;
  cursor: pointer;
  font-weight: 700;
}

/* ---- Past results ----------------------------------------------------------- */
.past-results-link {
  margin-top: 1.5rem;
}
.search-form {
  margin: 1rem 0 1.25rem;
}
.search-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.search-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 34rem;
}
.search-row input[type="search"] {
  flex: 1;
  min-width: 0;
  margin-top: 0;
}
.search-row button {
  margin-top: 0;
  min-height: 48px;
  white-space: nowrap;
}
.card-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.auction-cards .auction-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.auction-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.auction-card-body h2,
.auction-card-body h3 {
  margin: 4px 0 8px;
  font-size: 17px;
  font-family: var(--body-font);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.auction-card-body .small {
  margin-top: auto;
  margin-bottom: 0;
}
.past-auction-meta {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
  max-width: none;
  font-variant-numeric: tabular-nums;
}
.past-lot-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 12px;
}
.past-lot-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}
.past-lot-link {
  display: flex;
  gap: 16px;
  padding: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.past-lot-thumb {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.past-lot-meta {
  min-width: 0;
  flex: 1;
}
.past-lot-meta h2,
.past-lot-meta h3 {
  margin: 3px 0 6px;
  font-size: 17px;
  font-family: var(--body-font);
  font-weight: 700;
  line-height: 1.3;
}
.past-lot-price {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.past-lot-result {
  margin: 0 0 16px;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.past-lot-panel .button-link {
  margin-top: 8px;
}
.past-pagination {
  margin: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.past-search-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin: 12px 0 8px;
}
.past-search-controls .past-status-line {
  margin: 0;
}
.past-search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.past-search-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
.past-search-tabs a:hover,
.past-search-tabs a:focus-visible {
  border-color: var(--maroon);
  background: var(--badge-bg);
  color: var(--maroon);
}
.past-search-tabs a[aria-current="page"] {
  border-color: var(--maroon);
  background: var(--maroon);
  color: var(--white);
}
.past-search-tabs a[aria-current="page"]:hover,
.past-search-tabs a[aria-current="page"]:focus-visible {
  background: var(--maroon);
  color: var(--white);
}
.past-search-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 14px;
}
.past-search-sort a {
  color: var(--muted);
  text-decoration: none;
}
.past-search-sort a:hover,
.past-search-sort a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}
.past-search-sort a[aria-current="true"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--maroon);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* Branded Accept Hosted card capture wrapper (keeps card entry inside mclemoreauction.com). */
.cards-view {
  max-width: 720px;
}
.card-capture-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.card-capture-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.card-capture-title {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--maroon);
}
.card-capture-note p {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
}
.card-capture-note p:last-child {
  margin-bottom: 0;
}
.saved-cards-summary {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.saved-cards-summary p {
  margin: 0;
}
.saved-cards-status {
  color: var(--ink);
  font-size: 15px;
}
.card-status {
  margin: 0 0 18px;
  font-weight: 600;
}
.card-status:empty {
  display: none;
}
.card-status.card-status-saved {
  color: var(--green);
}
.card-status.card-status-error {
  color: var(--red);
}
.card-capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.card-capture-actions:not(:has(:not([hidden]))) {
  display: none;
}
.card-frame-wrap {
  margin-top: 16px;
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}
.card-frame-host {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--white);
}
.card-capture-frame {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 420px;
  height: 560px;
  border: 0;
  background: var(--white);
}
.card-frame-footer {
  margin: 12px 0 0;
}

/* ---- Signed-in header & responsive breakpoints ------------------------------ */
.menu-toggle {
  display: none;
}
.app-header {
  height: auto;
  min-height: 104px;
  flex-wrap: wrap;
}
.app-header:where(:has(#main-nav:not([hidden]))) {
  gap: 0 24px;
}
.app-header #main-nav {
  gap: 20px;
}
.app-header #main-nav a,
.app-header #public-nav a {
  white-space: nowrap;
}
.app-header #account-name,
.app-header .account-nav a {
  display: inline-block;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}
nav a[aria-current="page"],
.app-header .account-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--maroon);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
/* Compact desktop spacing on 13" laptops (961px-1380px) so neither bidders nor
 * operators collapse to a hamburger menu or wrap on laptop screens. Scoped to
 * signed-in headers so signed-out /?signin=1 matches the public header width. */
@media (min-width: 961px) and (max-width: 1380px) {
  .app-header:where(:has(#main-nav:not([hidden]))) {
    gap: 0 14px;
    padding: 0 2.5%;
  }
  .app-header:where(:has(#main-nav:not([hidden]))) .wordmark {
    width: 184px;
  }
  .app-header:where(:has(#main-nav:not([hidden]))) .wordmark img {
    height: 46px;
  }
  .app-header #main-nav {
    gap: 12px;
  }
  .app-header #main-nav a {
    font-size: 13px;
  }
  .app-header .account-nav {
    gap: 10px;
    font-size: 13px;
  }
  .app-header #account-name,
  .app-header .account-nav a {
    max-width: 84px;
  }
}
/* Single unified header fold breakpoint at 960px for both bidders and operators. */
@media (max-width: 960px) {
  .app-header:where(:has(#main-nav:not([hidden]))) {
    min-height: 0;
    flex-wrap: wrap;
    gap: 0 12px;
    padding: 8px 4%;
  }
  .app-header:where(:has(#main-nav:not([hidden]))) .wordmark {
    width: 176px;
  }
  .app-header:where(:has(#main-nav:not([hidden]))) .wordmark img {
    height: 44px;
  }
  .app-header .menu-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-left: auto;
    padding: 6px 18px;
    background: var(--white);
    color: var(--maroon);
  }
  .app-header .menu-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    margin: -3px 0 0 10px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  .app-header .menu-toggle[aria-expanded="true"]::after {
    margin-top: 3px;
    transform: rotate(-135deg);
  }
  .app-header #main-nav,
  .app-header .account-nav {
    display: none;
  }
  .app-header.menu-open #main-nav {
    order: 3;
    display: flex;
    flex: 0 0 100%;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 6px;
    border-top: 1px solid var(--line);
  }
  .app-header.menu-open #main-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .app-header #main-nav a[aria-current="page"] {
    text-decoration: none;
    box-shadow: inset 4px 0 0 var(--maroon);
    padding-left: 16px;
  }
  .app-header.menu-open .account-nav {
    order: 4;
    display: flex;
    flex: 0 0 100%;
    justify-content: space-between;
    margin: 0;
    padding: 6px 8px;
    font-size: 15px;
  }
  .app-header #account-name,
  .app-header .account-nav a {
    max-width: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  .app-header .text-button {
    min-height: 44px;
    padding: 6px 0;
  }
}

/* Tablet and below (<= 900px) */
@media (max-width: 900px) {
  header {
    gap: 22px;
  }
  .wordmark {
    width: 160px;
  }
  nav {
    gap: 18px;
  }
  .account-nav {
    font-size: 12px;
  }
  .lot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-layout.has-lot,
  .detail-layout,
  .operator-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .login-panel {
    padding: 28px;
  }
  .bid-panel {
    padding: 24px;
  }
  .lot-page {
    row-gap: 0;
    grid-template-rows: auto;
  }
  .lot-page .lot-head,
  .lot-page .lot-gallery,
  .lot-page .detail-copy,
  .lot-page .bid-panel {
    grid-column: auto;
    grid-row: auto;
  }
  .lot-page .lot-gallery {
    margin-bottom: 24px;
  }
  .lot-page .bid-panel {
    margin-bottom: 28px;
  }
  .lot-page .detail-copy {
    margin: 0 0 8px;
  }
  .detail-layout:not(.lot-page) > div:first-child {
    display: contents;
  }
  .detail-layout > .detail-image {
    order: 0;
  }
  .detail-layout:not(.lot-page) .bid-panel {
    order: 1;
  }
  .detail-layout:not(.lot-page) .detail-copy {
    order: 2;
  }
}

/* ---- Bid bar: pinned to bottom on narrow screens while bid panel is off screen */
.bid-bar {
  display: none;
}
@media (max-width: 900px) {
  .bid-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "price action" "time action";
    align-items: center;
    column-gap: 12px;
    padding: 8px 16px 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-bar);
  }
  .bid-bar-price {
    grid-area: price;
    min-width: 0;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
  }
  .bid-bar-label {
    color: var(--muted);
    font-size: 13px;
  }
  .bid-bar-price strong {
    font-size: 20px;
  }
  .bid-bar-time {
    grid-area: time;
    min-width: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
  }
  .bid-bar-time.urgent {
    color: var(--red);
    font-weight: 700;
  }
  .bid-bar-terms {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
  }
  .bid-bar .button-link,
  .bid-bar button {
    grid-area: action;
    min-height: 48px;
    padding: 10px 18px;
    white-space: nowrap;
    text-align: center;
  }
  .bid-bar .button-link {
    display: inline-flex;
    align-items: center;
  }
  body.has-bid-bar {
    padding-bottom: calc(var(--bid-bar-height, 112px) + 8px);
  }
  body.has-bid-bar #toast {
    bottom: calc(var(--bid-bar-height, 112px) + 16px);
  }
  body.has-reload-hint .bid-bar {
    bottom: var(--reload-hint-height, 112px);
  }
  body.has-reload-hint.has-bid-bar {
    padding-bottom: calc(var(--reload-hint-height, 112px) + var(--bid-bar-height, 112px) + 8px);
  }
  body.has-reload-hint.has-bid-bar #toast {
    bottom: calc(var(--reload-hint-height, 112px) + var(--bid-bar-height, 112px) + 16px);
  }
}

/* Public pages (and signed-out /?signin=1) below desktop width (<= 899px) */
@media (max-width: 899px) {
  .public-page header:where(:not(.app-header)),
  .app-header:where(:has(#main-nav[hidden])) {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 10px;
    padding: 6px 4%;
  }
  .public-page header:where(:not(.app-header)) .wordmark,
  .app-header:where(:has(#main-nav[hidden])) .wordmark {
    width: 176px;
    min-width: 72px;
    flex-shrink: 1;
  }
  .public-page header:where(:not(.app-header)) .wordmark img,
  .app-header:where(:has(#main-nav[hidden])) .wordmark img {
    height: 44px;
  }
  .public-page header:where(:not(.app-header)) nav,
  .app-header:where(:has(#main-nav[hidden])) #public-nav {
    order: 0;
    width: auto;
    min-width: 0;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 18px;
  }
  .public-page header:where(:not(.app-header)) nav a,
  .app-header:where(:has(#main-nav[hidden])) #public-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* Consolidated phone rules (<= 620px) */
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .demo-bar {
    font-size: 12px;
    display: block;
    text-align: center;
    padding: 7px 12px;
  }
  .demo-bar span {
    display: block;
    font-size: 12px;
  }
  header {
    height: auto;
    min-height: 104px;
    flex-wrap: wrap;
    padding: 12px 5%;
    gap: 12px;
  }
  .wordmark {
    width: 150px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .wordmark img {
    height: 50px;
  }
  .account-nav {
    margin-left: auto;
  }
  header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
  }
  /* Unconditional 44x44px tap targets on phones */
  footer a,
  .faq-toc a,
  .faq-back a,
  .faq-toggle-all,
  .past-pagination a,
  .past-results-link a,
  .past-status-line a,
  .past-search-sort a,
  .calendar-links a,
  .calendar-inline a,
  .cal-menu summary,
  .cal-popover a,
  .lot-video-external,
  .map-link,
  .lot-documents-actions a,
  .document-links a,
  .secondary-link,
  .empty a,
  .lot-nav a,
  .detail-back,
  .catalog-table a,
  .auction-info dd > a,
  .bid-panel > p.small:not(.lot-manager) a,
  .legal-text p > a:only-child,
  #public-nav a,
  .public-page header:where(:not(.app-header)) nav a,
  .public-page .crumbs a,
  .public-page .sort-links a,
  .public-page .terms-contents a,
  .public-page .search-group h2 a,
  .public-page .search-group h3 a,
  .public-page .terms-back a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .bid-panel .lot-manager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
    line-height: 1.4;
  }
  .bid-panel .auction-manager-card--panel .manager-contacts,
  .auction-info .auction-manager-card .manager-contacts {
    gap: 2px;
  }
  .bid-panel .lot-manager a,
  .bid-panel .auction-manager-card--panel .manager-contact-row a,
  .auction-info .auction-manager-card .manager-contact-row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
  }
  .auction-info .lot-facts dd > a,
  .auction-info .cal-menu summary {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .calendar-inline {
    white-space: normal;
  }
  .past-search-controls,
  .past-search-tabs,
  .past-search-sort {
    justify-content: flex-start;
  }
  .past-search-controls {
    gap: 8px 12px;
  }
  .past-status-line a {
    margin: -8px 0;
  }
  .past-lot-link {
    align-items: flex-start;
    gap: 12px;
    padding: 10px;
  }
  .past-lot-thumb {
    width: 80px;
    height: 80px;
  }
  .past-lot-meta > .small {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
  }
  .past-lot-meta h2,
  .past-lot-meta h3 {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .public-page header:where(:not(.app-header)) nav a,
  #public-nav a {
    min-width: 44px;
    justify-content: center;
  }
  .ladder summary,
  .invoice-card summary,
  .btn-compact,
  .text-button,
  .check {
    min-height: 44px;
  }
  .ladder summary,
  .invoice-card summary {
    display: flex;
    align-items: center;
  }
  .btn-compact {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
  }
  .text-button {
    display: inline-flex;
    align-items: center;
  }
  .app-header #public-nav {
    order: 0;
    width: auto;
    margin-left: auto;
    gap: 0 12px;
    flex-wrap: nowrap;
  }
  .app-header #public-nav a {
    white-space: nowrap;
  }
  .public-page .wordmark {
    width: 152px;
  }
  .public-page .wordmark img {
    height: 38px;
  }
  .public-page header nav {
    gap: 0 12px;
  }
  .login-layout,
  .login-layout.has-lot {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .login-context h1 {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.2;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
  .login-lot {
    gap: 10px;
    padding: 8px;
  }
  .login-lot-photo {
    width: 56px;
    height: 42px;
  }
  .login-lot-bid {
    font-size: 15px;
    line-height: 1.25;
  }
  .login-lot-closes {
    font-size: 13px;
  }
  .login-lot-back a {
    min-height: 0;
    padding: 12px 0;
    margin: -12px 0;
    font-size: 14px;
  }
  .login-panel {
    padding: 14px 18px;
  }
  .login-layout form {
    gap: 12px;
  }
  .login-panel > p:first-child {
    margin: 0 0 10px;
  }
  .login-layout.has-lot #login-intro {
    display: none;
  }
  .login-create {
    margin-top: 10px;
  }
  body:has(#login-view:not([hidden])) header {
    min-height: 0;
    padding: 6px 5%;
    gap: 6px;
  }
  body:has(#login-view:not([hidden])) .wordmark img {
    height: 40px;
  }
  body:has(#login-view:not([hidden])) main {
    padding-top: 14px;
  }
  main {
    padding: 20px 5% 55px;
  }
  .page-heading {
    display: block;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 36px;
  }
  .connection {
    display: block;
    margin-top: 14px;
  }
  .toolbar,
  .filter-fields,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  #catalog-view .page-heading.page-heading--compact {
    margin-bottom: 10px;
  }
  #catalog-view .page-heading.page-heading--compact .connection {
    margin-top: 0;
  }
  #catalog-view .auction-heading {
    margin-top: 24px;
  }
  .lot-grid {
    gap: 18px;
  }
  .lot-info {
    padding: 14px;
  }
  .lot-info .lot-card-title,
  .lot-info h3 {
    font-size: 15px;
  }
  .bid-row {
    display: block;
  }
  .price {
    font-size: 22px;
  }
  .countdown {
    font-size: 13px;
    margin-top: 8px;
  }
  .watch-button {
    min-height: 44px;
    min-width: 44px;
    padding: 10px 12px;
    font-size: 13px;
    top: 8px;
    right: 8px;
  }
  .account-row button {
    min-height: 44px;
    padding: 10px 14px;
  }
  .auction-heading {
    display: block;
  }
  .auction-heading h2 {
    font-size: 22px;
  }
  .auction-heading p {
    margin-top: 8px;
  }
  .bid-panel .bid-row {
    display: flex;
  }
  .detail-back {
    margin-bottom: 4px;
  }
  .lot-nav {
    margin-bottom: 8px;
  }
  .detail-copy {
    margin: 24px 0;
  }
  .lot-page .lot-head {
    margin-bottom: 12px;
  }
  .lot-head h1 {
    font-size: 28px;
  }
  .auction-info {
    padding: 14px;
  }
  .auction-info .lot-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .auction-info .lot-facts dd {
    margin-bottom: 10px;
  }
  .catalog-table {
    display: block;
    overflow-x: auto;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .invoice-card {
    padding: 18px;
  }
  .card-capture-panel {
    padding: 16px 14px;
  }
  .card-capture-note {
    padding: 14px;
  }
  .card-capture-actions > * {
    width: 100%;
    text-align: center;
  }
  .operator-tabs {
    gap: 6px;
  }
  .operator-tab {
    flex: 1 1 auto;
    padding: 8px 12px;
    font-size: 14px;
  }
  footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 0 16px;
  }
  footer > :not(a) {
    grid-column: 1 / -1;
  }
  footer > a[hidden] {
    display: none;
  }
  footer > a {
    min-width: 0;
  }
  .footer-signup {
    width: 100%;
    margin: 4px 0 8px;
  }
  .footer-signup-row {
    width: 100%;
    max-width: none;
    align-items: stretch;
  }
  .footer-signup-row input,
  .footer-signup-row button {
    min-height: 46px;
  }
  .footer-signup-row input {
    padding: 10px 12px;
  }
  .footer-signup-row button {
    padding: 0 18px;
  }
  .footer-licenses {
    margin-top: 8px;
    line-height: 1.5;
  }
  .footer-phone {
    margin: -8px 0;
  }
  .catalogs-index-table thead {
    display: none;
  }
  .catalogs-index-table,
  .catalogs-index-table tbody,
  .catalogs-index-table tr,
  .catalogs-index-table td {
    display: block;
    width: 100%;
  }
  .catalogs-index-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .catalogs-index-table td {
    padding: 4px 0;
    border: 0;
  }
  .catalogs-index-table td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: var(--muted);
  }
  /* Public page mobile specifics */
  .public-page .crumbs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0 6px;
    margin-bottom: 4px;
    font-size: 14px;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .public-page .crumbs > a:first-child {
    flex-shrink: 0;
  }
  .public-page .crumbs > a:not(:first-child),
  .public-page .crumbs > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* text-overflow: ellipsis requires block display rather than inline-flex */
  .public-page .crumbs > a:not(:first-child) {
    display: block;
    line-height: 44px;
  }
  .public-page .crumbs > span {
    flex-shrink: 0;
    max-width: 45%;
  }
  .public-page .catalog-page > h1 {
    font-size: clamp(22px, 6.8vw, 29px);
    margin-bottom: 14px;
  }
  .public-page .sort-links {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
    margin-bottom: 14px;
  }
  .public-page .sort-links ul {
    gap: 4px 16px;
  }
  .public-page .sort-links a {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.3;
  }
  .public-page .sort-links a:hover,
  .public-page .sort-links a:focus-visible {
    color: var(--ink);
    text-decoration: underline;
  }
  .public-page .sort-links a[aria-current] {
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    border: 0;
    text-decoration: underline;
    text-decoration-color: var(--maroon);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }
  .public-page .lot-nav {
    align-items: center;
  }
  .public-page .auction-info {
    margin: 12px 0 16px;
    padding: 4px 14px;
  }
  .public-page .auction-dates {
    margin-bottom: 8px;
  }
  .public-page .bid-panel .button-link {
    display: block;
    min-height: 48px;
    padding-block: 13px;
    text-align: center;
  }
  .public-page .lot-list {
    display: block;
    overflow: visible;
    margin-bottom: 24px;
    font-size: 15px;
  }
  .public-page .lot-list thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .public-page .lot-list tbody {
    display: block;
  }
  .public-page .lot-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    min-height: 90px;
    padding: 8px 10px 6px 116px;
    border-bottom: 1px solid var(--line);
  }
  .public-page .lot-row:last-child {
    border-bottom: 0;
  }
  .public-page .lot-row td {
    display: block;
    padding: 0;
    border: 0;
  }
  .public-page .lot-photo {
    position: absolute;
    left: 10px;
    top: 9px;
  }
  .public-page .lot-title {
    order: 1;
    flex: 0 0 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.2;
  }
  .public-page .lot-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    min-height: 0;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
  }
  .public-page .lot-title a:hover,
  .public-page .lot-title a:focus-visible {
    text-decoration: underline;
    text-decoration-thickness: 1px;
  }
  .public-page .lot-title a::after {
    content: "";
    position: absolute;
    inset: 0;
  }
  .public-page .lot-category {
    display: none;
  }
  .public-page .lot-no {
    order: 2;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.3;
    color: var(--muted);
  }
  .public-page .lot-no::before {
    content: "Lot ";
  }
  .public-page .lot-no::after {
    content: "·";
    margin: 0 0.4em;
  }
  .public-page .lot-row .lot-bid {
    order: 3;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: baseline;
    gap: 0.35em;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.3;
  }
  .public-page .lot-bid .lot-amount,
  .public-page .lot-bid .lot-bid-label {
    display: inline;
  }
  .public-page .lot-amount {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
  }
  .public-page .lot-closes {
    order: 4;
    flex: 0 0 100%;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.25;
    color: var(--muted);
  }
  .public-page .lot-closes:empty {
    display: none;
  }
  .public-page .lot-closes .closes-state {
    color: var(--ink);
  }
  .public-page:has(.terms-page) main {
    padding-top: 14px;
  }
  .public-page:has(.terms-page) .crumbs {
    margin-bottom: 8px;
  }
  .terms-page h1 {
    font-size: 28px;
  }
  .public-page .terms-contents a {
    display: flex;
  }
  .terms-key {
    margin: 10px 0 12px;
    padding: 4px 12px;
    font-size: 15px;
  }
  .terms-contents {
    margin-bottom: 14px;
  }
  .terms-key .lot-facts {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .terms-key .lot-facts dt {
    margin-top: 8px;
  }
  .terms-contents ul {
    columns: 1;
  }
}

@media (max-width: 600px) {
  .auction-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .lot-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .public-page header:where(:not(.app-header)),
  .app-header:where(:has(#main-nav[hidden])) {
    flex-wrap: wrap;
    min-height: 0;
    gap: 0 12px;
    padding: 6px 4% 0;
  }
  .public-page .wordmark,
  .app-header .wordmark {
    width: 164px;
  }
  .public-page .wordmark img,
  .app-header .wordmark img {
    height: 41px;
  }
  .public-page header:where(:not(.app-header)) nav,
  .app-header #public-nav {
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    gap: 0 18px;
  }
  .public-page header:where(:not(.app-header)) nav a,
  .app-header #public-nav a {
    font-size: 15px;
    letter-spacing: 0;
  }
  .public-page main {
    padding-top: 12px;
  }
  .lot-page .lot-head {
    margin-bottom: 12px;
  }
  .lot-page .lot-head h1 {
    font-size: 22px;
  }
  .lot-gallery .photo-stage img {
    max-height: min(35vh, 260px);
  }
  .bid-bar-sep {
    display: none;
  }
  .bid-bar-terms {
    display: block;
    margin-top: 1px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
@media (max-width: 359px) {
  footer {
    grid-template-columns: 1fr;
  }
  .public-page header,
  .app-header:where(:has(#main-nav[hidden])) {
    padding: 8px 4% 2px;
  }
  .public-page .wordmark,
  .app-header .wordmark {
    width: 148px;
  }
  .public-page .wordmark img,
  .app-header .wordmark img {
    height: 37px;
  }
  .public-page header nav,
  .app-header #public-nav {
    gap: 0 10px;
  }
  .public-page header nav a,
  .app-header #public-nav a {
    font-size: 13px;
  }
}

/* My Account (#account-view) */
.app-header a#account-name {
  color: inherit;
  text-decoration: none;
}
.app-header a#account-name:hover {
  color: var(--maroon);
  text-decoration: underline;
}
.account-view {
  max-width: none;
}
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.account-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.account-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}
.account-panel h2 {
  margin: 0 0 12px;
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.account-panel h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.account-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 14px;
}
.account-fieldset label {
  margin: 0;
}
.account-fieldset .account-actions {
  margin-top: 4px;
}
.account-load-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.account-status {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.account-status:empty {
  display: none;
}
#account-load-status {
  margin: 0;
}
.account-unverified-check {
  margin-top: 10px;
}
.account-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.account-panel-head h2 {
  margin: 0;
}
.account-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(72px, 0.5fr) minmax(110px, 0.9fr);
  gap: 12px;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.account-actions + p {
  margin-top: 14px;
}
.account-panel > p:last-child,
.account-panel > .account-status:empty + p:last-child {
  margin-bottom: 0;
}
.account-card-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.account-card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.account-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  min-width: 0;
}
.account-card-digits {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.account-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.account-badge[hidden] {
  display: none;
}
.account-badge--default {
  color: var(--green);
}
.account-pref-row {
  align-items: flex-start;
  margin: 12px 0;
}
.account-pref-row > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.account-subblock {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.account-subblock:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.account-pending-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  margin: 10px 0 12px;
}
.account-disclosure summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--maroon);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.account-disclosure summary::-webkit-details-marker {
  display: none;
}
.account-disclosure summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
  flex-shrink: 0;
}
.account-disclosure[open] > summary::before {
  transform: rotate(45deg);
}
.account-disclosure form {
  margin-top: 10px;
}
.account-status--ok {
  color: var(--green);
}
.account-status--error {
  color: var(--red);
}
@media (max-width: 860px) {
  .account-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .account-address-row {
    grid-template-columns: 1fr;
  }
  .account-panel {
    padding: 18px;
  }
}

/* Personal views (#my-bids and #watching): editorial underline filter tabs,
   collapsible auction groups, and compact scannable rows for high-volume bidding. */
.personal-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.personal-filter-bar[hidden] {
  display: none;
}
.personal-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 44px;
  padding: 10px 2px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
.personal-pill:hover:not(:disabled) {
  background: transparent;
  color: var(--ink);
  filter: none;
}
.personal-pill[aria-pressed="true"] {
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--maroon);
}
.personal-pill--alert {
  color: var(--red);
}
.personal-pill--alert:hover:not(:disabled) {
  color: var(--red-hover);
}
.personal-pill--alert[aria-pressed="true"] {
  color: var(--red);
  border-bottom-color: var(--red);
}
.personal-pill--zero:not([aria-pressed="true"]) {
  font-weight: 400;
  color: var(--muted);
}
.personal-pill .pill-count {
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}
.personal-pill[aria-pressed="true"] .pill-count {
  color: var(--ink);
  font-weight: 600;
}
.personal-pill--alert .pill-count {
  color: var(--red);
  font-weight: 700;
}
.personal-auction-section {
  margin: 26px 0;
}
.personal-auction-section:first-child {
  margin-top: 14px;
}
.personal-auction-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 6px 0 8px;
  border-bottom: 1px solid var(--line);
}
.personal-auction-group {
  margin: 0;
}
.personal-auction-summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.personal-auction-summary:hover,
.personal-auction-summary:focus-visible {
  color: var(--ink);
}
.personal-auction-summary::-webkit-details-marker {
  display: none;
}
.personal-auction-title {
  margin: 0;
  font-family: Norwester, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}
.personal-auction-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.personal-auction-cue::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.16s ease;
  flex-shrink: 0;
}
.personal-auction-group[open] > .personal-auction-summary .personal-auction-cue::before {
  transform: rotate(45deg);
}
.personal-auction-group[open] > .personal-auction-summary .cue-closed,
.personal-auction-group:not([open]) > .personal-auction-summary .cue-open {
  display: none;
}
.personal-auction-meta {
  font-size: 14px;
  color: var(--muted);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.personal-outbid-chip {
  color: var(--red);
  font-weight: 700;
}
.personal-lot-list {
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 12px;
}
.personal-lot-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.personal-lot-row:not(:has(.personal-watch-btn)) {
  grid-template-columns: 80px minmax(0, 1fr) auto;
}
.personal-lot-row:last-child {
  border-bottom: 0;
}
.personal-lot-row:hover {
  background: var(--row-hover);
}
.personal-lot-row--outbid {
  background: var(--badge-bg);
}
.personal-lot-row--outbid:hover {
  background: var(--badge-bg);
}
.personal-lot-thumb {
  display: block;
  width: 80px;
  height: 60px;
  background: var(--surface-photo);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.personal-lot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.personal-lot-main {
  min-width: 0;
}
.personal-lot-main .lot-number {
  display: block;
  line-height: 1.3;
}
.personal-lot-title {
  margin: 2px 0 0;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.personal-lot-title a {
  text-decoration: none;
  color: inherit;
}
.personal-lot-title a:hover {
  text-decoration: underline;
}
.personal-lot-main .lot-together {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.personal-lot-figures {
  display: grid;
  grid-template-columns: minmax(124px, auto) minmax(132px, auto);
  align-items: center;
  gap: 16px;
  justify-items: end;
}
.personal-lot-price {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.personal-lot-price .bid-label {
  font-size: 12px;
  margin-bottom: 1px;
}
.personal-lot-price .price {
  font-size: 20px;
  line-height: 1.15;
}
.personal-my-max {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.personal-my-max[hidden] {
  display: none;
}
.personal-lot-state {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.personal-lot-state .countdown {
  font-size: 13px;
  margin-top: 0;
}
.personal-lot-state .leading,
.personal-lot-state .outbid,
.personal-lot-state .personal-lost {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.personal-lot-state .personal-lost {
  color: var(--muted);
  font-weight: 600;
}
.personal-lot-state [data-slot="lot-status"][hidden] {
  display: none;
}
.personal-watch-btn {
  position: static;
  top: auto;
  right: auto;
  box-shadow: none;
  padding: 7px 12px;
  min-height: 36px;
  font-size: 13px;
  white-space: nowrap;
  justify-self: end;
}
@media (max-width: 760px) {
  .personal-filter-bar {
    gap: 0 18px;
    margin-bottom: 18px;
  }
  .personal-pill {
    min-height: 44px;
    padding: 10px 2px;
  }
  .personal-auction-title {
    font-size: 20px;
  }
  .personal-lot-row {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 12px;
    align-items: start;
  }
  .personal-lot-thumb {
    width: 68px;
    height: 51px;
    grid-column: 1;
    grid-row: 1;
  }
  .personal-lot-main {
    grid-column: 2;
    grid-row: 1;
  }
  .personal-lot-row:not(:has(.personal-watch-btn)) .personal-lot-main {
    grid-column: 2 / -1;
  }
  .personal-watch-btn {
    grid-column: 3;
    grid-row: 1;
    min-height: 44px;
    min-width: 44px;
    padding: 8px 10px;
  }
  .personal-lot-figures {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .personal-lot-price {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 10px;
  }
  .personal-lot-price > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }
  .personal-lot-price .bid-label {
    display: inline;
    margin: 0;
  }
  .personal-lot-price .price {
    font-size: 17px;
  }
  .personal-my-max {
    margin-top: 0;
  }
  .personal-lot-state {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px 10px;
    text-align: right;
  }
}

/* High-volume invoice filter bar (shown when > 3 current invoices) */
.invoice-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 18px;
}
.invoice-filter-bar[hidden] {
  display: none;
}
.invoice-status-tabs {
  margin: 0;
  flex: 1 1 auto;
}
.invoice-search-wrap {
  flex: 0 1 280px;
  min-width: 200px;
  margin: 0;
}
.invoice-search-wrap input {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 15px;
  margin-top: 0;
}
@media (max-width: 620px) {
  .invoice-search-wrap {
    flex: 1 1 100%;
  }
}

/* Password visibility toggle */
.password-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 4px;
}
.password-field input {
  margin-top: 0;
  padding-right: 68px;
}
.password-toggle {
  position: absolute;
  right: 4px;
  margin-top: 0;
  min-height: 44px;
  min-width: 52px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--ink);
}

/* Pickup booking actions */
.pickup-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

/* Coarse-pointer touch target floor across tablet & phone widths */
@media (pointer: coarse) {
  .invoice-toggle,
  .invoice-detail-panel summary,
  .cal-popover a,
  .lot-video-external,
  .personal-watch-btn,
  .password-toggle,
  .sort-links a,
  .lot-nav a,
  .crumbs a,
  .detail-back {
    min-height: 44px;
  }
  .cal-popover a,
  .lot-video-external,
  .sort-links a,
  .lot-nav a,
  .crumbs a,
  .detail-back {
    display: inline-flex;
    align-items: center;
  }
}
