@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Bitter:ital,wght@0,500;0,600;0,700;1,500&family=Source+Sans+3:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  color-scheme: light;
  --paper: #f3f2f2;
  --surface: #eae9e9;
  --surface-strong: #d7d3d3;
  --ink: #201e1d;
  --muted: #605d5d;
  --line: rgba(32, 30, 29, 0.18);
  --cyan: #0088b0;
  --cyan-dark: #004961;
  --cyan-pale: #cbeeff;
  --magenta: #d6006c;
  --magenta-dark: #790e3d;
  --magenta-pale: #ffdee6;
  --yellow: #edbb00;
  --party-navy: #0a3161;
  --party-red: #b41b44;
  --serif: "Source Serif 4", Georgia, serif;
  --body-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --brand-sans: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --shadow: 0 8px 24px rgba(32, 30, 29, 0.13);
  --page-pad: clamp(18px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(32, 30, 29, 0.025) 0 0.6px, transparent 0.8px) 0 0 / 5px 5px,
    var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--serif);
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, dl, dd { margin-top: 0; }
figure { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.45rem, 11vw, 5.4rem); }
h2 { font-size: clamp(1.5rem, 6vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--cyan-dark); text-underline-offset: 0.17em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
button, input, textarea, select { color: inherit; font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.45; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 0.78rem; overflow-wrap: anywhere; }

:focus { outline: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
::selection { background: var(--cyan-pale); }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.eyebrow {
  display: inline-block;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ink-cyan { color: var(--cyan-dark); }
.ink-magenta { color: var(--magenta-dark); }

.rule { width: 100%; border-top: 1px solid var(--ink); }
.rule--heavy { border-width: 4px; }
.rule--magenta { border-width: 4px; border-color: var(--magenta); }

.public-shell {
  width: min(100%, 690px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px var(--page-pad) calc(112px + env(safe-area-inset-bottom));
}
.public-shell--wide { width: min(100%, 940px); padding-bottom: 38px; }

.flow-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 24px;
}
.flow-header .rule { flex-basis: 100%; }

.recognized-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0;
  padding: 9px 12px;
  border-left: 4px solid var(--cyan);
  background: var(--cyan-pale);
  font-size: 0.88rem;
}
.recognized-bar form { margin: 0; }
.recognized-bar--item { margin-top: -8px; }
.link-button { min-height: 40px; padding: 0 4px; border: 0; background: transparent; color: var(--cyan-dark); text-decoration: underline; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
}
.section-heading h2 { margin-bottom: 0; }
.staff-shell .section-heading a:not(.button),
.staff-shell .data-table a,
.staff-shell .record-rail a,
.staff-shell .closeout-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
}
.halftone { position: relative; overflow: hidden; background: var(--surface-strong); filter: grayscale(0.25) contrast(1.08); }
.halftone::after { position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, 0.18) 29%, transparent 32%) 0 0 / 3px 3px; content: ""; mix-blend-mode: multiply; pointer-events: none; }
.halftone img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { display: grid; min-height: 150px; place-content: center; gap: 6px; background: var(--surface); color: var(--muted); text-align: center; }
.photo-placeholder span { color: var(--cyan); font-size: 2.5rem; }

.public-footer { margin-top: 32px; padding-top: 18px; border-top: 4px solid var(--ink); font-size: 0.7rem; text-align: center; }
.bluebonnet-rule { color: var(--cyan); font-size: 1.4rem; letter-spacing: 0.8em; }

.item-page { padding-bottom: 42px; }
.item-page--bidding { padding-bottom: calc(132px + env(safe-area-inset-bottom)); }
.item-detail {
  display: grid;
  min-width: 0;
  grid-template-areas:
    "title"
    "gallery"
    "bid"
    "description"
    "facts"
    "action";
}
.item-detail > .item-title { grid-area: title; }
.item-detail > .item-gallery { grid-area: gallery; min-width: 0; }
.item-detail > .bid-figure { grid-area: bid; min-width: 0; }
.item-detail > .item-description { grid-area: description; min-width: 0; }
.item-detail > .fact-list { grid-area: facts; min-width: 0; }
.item-detail > .sticky-action { grid-area: action; min-width: 0; }
.item-title { position: relative; display: grid; gap: 8px; margin: 22px 0 18px; }
.item-title h1 { max-width: 100%; margin: 0; overflow-wrap: break-word; font-size: clamp(2rem, 10vw, 4.8rem); }
.donor { margin: 0; font-style: italic; }
.item-gallery { display: grid; gap: 7px; }
.item-gallery figure, .item-gallery > .photo-placeholder { width: 100%; min-width: 0; aspect-ratio: 4 / 3; border: 1px solid rgba(16, 47, 80, 0.2); }
.item-gallery .halftone img { object-fit: contain; }
.item-gallery--multiple { grid-template-columns: 1fr 1fr; }
.item-gallery--multiple figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

.bid-figure { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 25px 0 18px; border-bottom: 4px solid var(--ink); }
.bid-figure strong { display: block; font-size: clamp(3.4rem, 16vw, 6.3rem); letter-spacing: -0.065em; line-height: 0.9; }
.bid-figure__meta { flex: none; padding-bottom: 4px; text-align: right; }
.item-description { padding: 22px 0 8px; font-size: 1.05rem; }
.drop-cap::first-letter { float: left; padding: 5px 8px 0 0; font-size: 3.8rem; font-weight: 600; line-height: 0.7; }

.fact-list { margin-bottom: 24px; border-top: 1px solid var(--ink); }
.fact-list > div { display: grid; grid-template-columns: minmax(85px, 32%) 1fr; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fact-list dt { color: var(--muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.fact-list dd { margin: 0; font-weight: 600; }

.sticky-action { margin-top: 24px; }
.item-detail > .sticky-action--active {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 12px max(var(--page-pad), calc((100vw - 690px) / 2 + var(--page-pad))) max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--ink);
  background: rgba(247, 247, 244, 0.97);
  backdrop-filter: blur(8px);
}
.item-detail > .sticky-action--status {
  position: static;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.action-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; font-size: 0.75rem; }
.closed-panel { display: grid; gap: 2px; padding: 10px 12px; border-left: 5px solid var(--magenta); background: var(--magenta-pale); }

.flow-item { display: grid; grid-template-columns: 88px 1fr; gap: 15px; align-items: center; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.flow-item > div:first-child, .flow-thumb, .flow-item .photo-placeholder { aspect-ratio: 1; min-height: 0; }
.flow-item h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 7vw, 2.8rem); }
.bid-form, .confirm-form, .staff-form { display: grid; gap: 20px; }
.amount-field { display: grid; gap: 7px; padding: 17px 0; border-block: 4px solid var(--ink); }
.amount-field__input { display: flex; align-items: center; gap: 7px; }
.amount-field__input b { font-size: 2.4rem; }
.amount-field__input input { width: 100%; min-width: 0; padding: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; font-size: clamp(3rem, 15vw, 5.4rem); font-weight: 600; line-height: 1; letter-spacing: -0.06em; }
.quick-bids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.contact-fields { display: grid; gap: 18px; margin: 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--ink); }
.contact-fields legend { padding: 0 0 12px; font-size: 1.25rem; font-weight: 600; }
.recognized-card { display: grid; gap: 2px; padding: 17px; border: 1px solid var(--ink); border-left: 6px solid var(--cyan); background: var(--surface); }
.recognized-card strong { font-size: 1.35rem; }

.field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field > span, .filter-bar label > span { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }
.field input:not([type="checkbox"]):not([type="radio"]), .field textarea, .field select,
.filter-bar input, .filter-bar select {
  width: 100%;
  min-height: 49px;
  padding: 11px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: #faf8f8;
}
.field textarea { resize: vertical; }
.field input[type="file"] { min-height: 58px !important; }
.field small, .field-hint { color: var(--muted); font-size: 0.77rem; line-height: 1.4; }
.field-error { display: block; color: var(--magenta-dark); font-size: 0.8rem; font-weight: 600; }
.field-error::before { content: "▲ "; color: var(--magenta); }
.form-grid { display: grid; gap: 18px; }

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button:hover { box-shadow: 3px 3px 0 var(--ink); transform: translate(-1px, -1px); }
.button--primary { border-color: var(--cyan-dark); background: var(--cyan); color: white; }
.button--secondary { background: var(--surface); }
.button--danger { border-color: var(--magenta-dark); background: var(--magenta); color: white; }
.button--danger-ghost { border-color: var(--magenta); color: var(--magenta-dark); }
.button--ghost { border-color: transparent; text-decoration: underline; }
.button--block { width: 100%; }
.button--small { min-height: 42px; padding: 8px 11px; font-size: 0.8rem; }

.error-summary { margin: 0 0 22px; padding: 16px 18px; border: 2px solid var(--magenta-dark); border-left-width: 8px; background: var(--magenta-pale); }
.error-summary h2 { margin-bottom: 8px; font-size: 1.35rem; }
.error-summary ul { margin: 0; padding-left: 22px; }
.notice-inline, .notice { padding: 12px 15px; border-left: 5px solid var(--cyan); background: var(--cyan-pale); }

.review-page { padding-top: 20px; }
.review-amount { padding: 18px 0 24px; text-align: center; }
.review-amount h1 { font-size: 2.2rem; }
.review-amount strong { display: block; margin-top: 5px; font-size: clamp(4.7rem, 23vw, 8rem); line-height: 0.95; letter-spacing: -0.065em; }
.fact-list--review > div { grid-template-columns: 78px 1fr; }
.warning-copy { padding: 13px; border: 1px solid var(--magenta); background: var(--magenta-pale); }
.confirmation-mark { display: grid; justify-items: center; gap: 8px; padding: 30px 0 15px; }
.confirmation-mark > span:first-child { display: grid; width: 68px; height: 68px; place-items: center; border-radius: 50%; background: var(--cyan); color: white; font-size: 2rem; }
.confirmation-amount { text-align: center; }
.confirmation-amount > strong { display: block; font-size: clamp(4.7rem, 23vw, 8rem); line-height: 1; letter-spacing: -0.065em; }
.confirmation-amount h1 { margin: 9px 0 23px; font-size: 1.45rem; }
.confirmation-copy { margin: 22px 0; font-size: 1.08rem; }
.rejection-copy { margin: 24px 0; padding-left: 16px; border-left: 7px solid var(--magenta); }
.rejection-copy h1 { font-size: clamp(2.2rem, 10vw, 4rem); }
.message-page { display: grid; min-height: 80vh; align-content: center; }
.message-page h1 { margin: 5px 0 14px; }
.empty-state { padding: 28px; border: 1px dashed var(--muted); background: rgba(255, 255, 255, 0.25); text-align: center; }
.empty-state > :last-child { margin-bottom: 0; }

/* Staff desk */
.staff-body {
  --staff-background: #f4f6f8;
  --staff-surface: #ffffff;
  --staff-border: #d7dee7;
  --staff-ink: #17263a;
  --staff-muted: #667286;
  background: var(--staff-background);
  color: var(--staff-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.staff-body h1, .staff-body h2, .staff-body h3 { font-family: var(--brand-sans); font-weight: 700; letter-spacing: 0.005em; }
.staff-body .eyebrow { color: var(--staff-muted); font-family: inherit; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; }
.staff-body .button { min-height: 42px; padding: 9px 14px; border-color: #9ba8b7; border-radius: 3px; font-family: inherit; font-size: 0.88rem; font-weight: 700; }
.staff-body .button:hover { box-shadow: 2px 2px 0 rgba(10, 49, 97, 0.18); }
.staff-body .button--primary { border-color: var(--party-navy); background: var(--party-navy); }
.staff-body .button--secondary { border-color: var(--staff-border); background: var(--staff-surface); }
.staff-body .button--danger-ghost { border-color: #d8a5b4; background: #fff; }
.staff-header {
  min-height: 54px;
  border-bottom: 1px solid var(--staff-border);
  background: var(--staff-surface);
}
.staff-header__inner { display: flex; width: min(100%, 1180px); min-height: 54px; align-items: center; justify-content: space-between; gap: 14px; margin: 0 auto; padding: 7px clamp(16px, 3vw, 30px); }
.staff-brand { display: inline-flex; min-height: 40px; align-items: center; gap: 9px; color: var(--party-navy); font-family: var(--brand-sans); font-size: 1.1rem; font-weight: 800; letter-spacing: 0.035em; text-decoration: none; text-transform: uppercase; }
.staff-brand img { display: block; width: 34px; height: 34px; object-fit: contain; }
.staff-brand__label { display: inline; }
.staff-access { display: flex; max-width: min(58vw, 420px); align-items: center; gap: 9px; color: var(--staff-muted); line-height: 1.1; text-align: right; }
.staff-access strong { display: inline-flex; flex: none; align-items: center; gap: 6px; color: var(--party-navy); font-size: 0.69rem; letter-spacing: 0.08em; text-transform: uppercase; }
.staff-access strong i { width: 7px; height: 7px; border-radius: 50%; background: #16865b; box-shadow: 0 0 0 3px #dff4e9; }
.staff-access span { max-width: 220px; overflow: hidden; font-size: 0.72rem; text-overflow: ellipsis; white-space: nowrap; }
.staff-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid #071d38;
  background: rgba(10, 49, 97, 0.98);
  box-shadow: 0 2px 8px rgba(10, 49, 97, 0.12);
}
.staff-nav__inner { display: flex; width: min(100%, 1180px); gap: 2px; margin: 0 auto; padding-inline: clamp(8px, 2vw, 20px); overflow-x: auto; scrollbar-width: thin; }
.staff-nav a { position: relative; flex: none; min-height: 43px; padding: 11px 12px 9px; color: rgba(255, 255, 255, 0.78); font-size: 0.77rem; font-weight: 650; text-decoration: none; }
.staff-nav a:hover, .staff-nav a:focus-visible { background: rgba(255, 255, 255, 0.08); color: white; }
.staff-nav a[aria-current="page"] { color: white; }
.staff-nav a[aria-current="page"]::after { position: absolute; right: 11px; bottom: 0; left: 11px; height: 3px; background: #fff; content: ""; }
.staff-shell { width: min(100%, 1180px); margin: 0 auto; padding: 26px clamp(16px, 3vw, 30px) 64px; }
.staff-shell > .notice { margin-bottom: 18px; }

.page-heading { display: flex; flex-direction: column; gap: 13px; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid var(--staff-border); }
.page-heading h1 { max-width: 920px; margin: 3px 0 0; font-size: clamp(2.1rem, 7vw, 3.35rem); color: var(--staff-ink); line-height: 0.98; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.page-intro { max-width: 760px; font-size: 1.05rem; }

.status-strip { display: grid; margin-bottom: 20px; border: 1px solid var(--ink); background: var(--paper); }
.status-strip > div { display: grid; gap: 2px; padding: 12px; border-bottom: 1px solid var(--line); }
.status-strip > div:last-child { border-bottom: 0; }

.dashboard-intro { display: grid; gap: 18px; margin-bottom: 20px; }
.dashboard-intro__copy h1 { margin: 2px 0 4px; color: var(--staff-ink); font-size: clamp(2.8rem, 7vw, 4.1rem); line-height: 0.9; }
.dashboard-intro__copy p { margin: 0; color: var(--staff-muted); font-family: var(--serif); font-size: 0.93rem; }
.dashboard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; }
.dashboard-actions .button { width: 100%; }
.dashboard-public-link { grid-column: 1 / -1; justify-self: start; padding: 6px 1px; color: var(--party-navy); font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.dashboard-public-link:hover { text-decoration: underline; }

.auction-status { display: grid; margin-bottom: 18px; border: 1px solid var(--staff-border); border-radius: 4px; background: var(--staff-surface); box-shadow: 0 1px 2px rgba(23, 38, 58, 0.04); }
.auction-status > div { display: grid; gap: 2px; padding: 11px 14px; border-bottom: 1px solid var(--staff-border); }
.auction-status > div:last-child { border-bottom: 0; }
.auction-status small { color: var(--staff-muted); font-size: 0.64rem; font-weight: 750; letter-spacing: 0.09em; text-transform: uppercase; }
.auction-status strong { font-size: 0.86rem; font-weight: 700; }
.auction-status__state { grid-template-columns: auto 1fr; align-items: center; }
.auction-status__state > span { width: 9px; height: 9px; border-radius: 50%; background: #c68b20; box-shadow: 0 0 0 4px #fff1d6; }
.auction-status__state > div { display: grid; gap: 2px; }
.auction-status__state--open > span { background: #16865b; box-shadow: 0 0 0 4px #dff4e9; }
.auction-status__state--closed > span { background: var(--party-red); box-shadow: 0 0 0 4px #f8e4e9; }

.dashboard-overview, .dashboard-lower { display: grid; gap: 16px; margin-top: 16px; }
.readiness-panel, .activity-panel, .dashboard-panel { overflow: hidden; border: 1px solid var(--staff-border); border-radius: 5px; background: var(--staff-surface); box-shadow: 0 2px 8px rgba(23, 38, 58, 0.045); }
.readiness-panel { position: relative; padding-top: 5px; }
.readiness-panel::before { position: absolute; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--party-navy) 0 58%, var(--party-red) 58% 100%); content: ""; }
.dashboard-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 16px 17px 13px; border-bottom: 1px solid var(--staff-border); }
.dashboard-panel-heading h2 { margin: 2px 0 0; color: var(--staff-ink); font-size: 1.65rem; line-height: 1; }
.dashboard-panel-heading p { max-width: 240px; margin: 0; color: var(--staff-muted); font-size: 0.78rem; text-align: right; }
.dashboard-panel-heading > a { flex: none; color: var(--party-navy); font-size: 0.75rem; font-weight: 750; text-decoration: none; }
.dashboard-panel-heading > a:hover { text-decoration: underline; }
.readiness-list { display: grid; }
.readiness-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px; align-items: center; min-height: 70px; padding: 10px 14px; border-bottom: 1px solid var(--staff-border); color: var(--staff-ink); text-decoration: none; }
.readiness-list a:last-child { border-bottom: 0; }
.readiness-list a:hover { background: #f5f8fb; }
.readiness-list a > span:nth-child(2) { display: grid; gap: 2px; }
.readiness-list a strong { font-size: 0.88rem; }
.readiness-list a small { color: var(--staff-muted); font-size: 0.73rem; line-height: 1.3; }
.readiness-list a b { color: #7f8b99; font-size: 1.05rem; }
.readiness-count { display: grid; width: 40px; min-height: 40px; place-items: center; border-radius: 3px; background: #eaf0f6; color: var(--party-navy); font-family: var(--brand-sans); font-size: 1.65rem; font-weight: 800; line-height: 1; }
.readiness-count--attention { background: #f8e4e9; color: var(--party-red); }
.readiness-count--complete { background: #dff4e9; color: #126b48; }
.readiness-count--word { font-size: 0.83rem; letter-spacing: 0.03em; text-transform: uppercase; }

.activity-panel .metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border: 0; background: transparent; }
.activity-panel .metric-grid article { display: grid; min-height: 92px; align-content: space-between; padding: 14px 16px; border-right: 1px solid var(--staff-border); border-bottom: 1px solid var(--staff-border); background: #fbfcfd; }
.activity-panel .metric-grid article:nth-child(2n) { border-right: 0; }
.activity-panel .metric-grid span { color: var(--staff-muted); font-size: 0.65rem; font-weight: 750; letter-spacing: 0.07em; text-transform: uppercase; }
.activity-panel .metric-grid strong { color: var(--staff-ink); font-family: var(--brand-sans); font-size: 2.15rem; line-height: 0.9; letter-spacing: 0; }
.activity-panel .metric-grid article.metric-grid__money { grid-column: 1 / -1; min-height: 86px; border-right: 0; border-bottom: 0; background: var(--party-navy); }
.activity-panel .metric-grid__money span { color: rgba(255, 255, 255, 0.68); }
.activity-panel .metric-grid__money strong { color: white; font-size: 2.3rem; }

.recent-bids .table-wrap { padding: 0 15px 14px; }
.recent-bids .data-table { background: transparent; }
.recent-bids .data-table th { border-bottom-color: var(--staff-border); color: var(--staff-muted); }
.recent-bids .empty-state { margin: 14px; padding: 24px; border-color: var(--staff-border); background: #fbfcfd; }
.dashboard-tools nav { display: grid; }
.dashboard-tools nav a { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; min-height: 67px; padding: 11px 16px; border-bottom: 1px solid var(--staff-border); color: var(--staff-ink); text-decoration: none; }
.dashboard-tools nav a:last-child { border-bottom: 0; }
.dashboard-tools nav a:hover { background: #f5f8fb; }
.dashboard-tools nav a > span { display: grid; gap: 2px; }
.dashboard-tools nav strong { font-size: 0.86rem; }
.dashboard-tools nav small { color: var(--staff-muted); font-size: 0.72rem; }
.dashboard-tools nav b { color: #7f8b99; }

.manual-control { display: flex; flex-direction: column; align-items: start; gap: 13px; margin-top: 16px; padding: 14px 16px; border: 1px solid var(--staff-border); border-left: 4px solid #c8a34c; border-radius: 4px; background: var(--staff-surface); }
.manual-control > div { display: grid; gap: 2px; }
.manual-control strong { font-size: 0.86rem; }
.manual-control small { color: var(--staff-muted); font-size: 0.72rem; }
.manual-control--closed { border-left-color: var(--party-red); }
.staff-section { margin-top: 29px; }
.staff-section.danger-zone { display: flex; flex-direction: column; align-items: start; gap: 15px; padding: 18px; border: 2px solid var(--magenta-dark); background: var(--magenta-pale); }
.staff-section.danger-zone p { margin-bottom: 0; }

.action-grid { display: grid; gap: 10px; }
.action-tile { display: grid; gap: 5px; min-height: 118px; align-content: center; padding: 16px; border: 1px solid var(--staff-border); border-radius: 4px; background: var(--staff-surface); color: var(--staff-ink); text-decoration: none; }
.action-tile:hover { border-left: 4px solid var(--party-navy); background: #f8fafc; }
.action-tile strong { font-size: 1.35rem; }
.action-tile > span:last-child { color: var(--staff-muted); font-size: 0.8rem; }

.table-wrap { width: 100%; }
.data-table { width: 100%; border-collapse: collapse; background: var(--staff-surface); }
.data-table th { padding: 9px 10px; border-bottom: 2px solid var(--party-navy); color: var(--staff-muted); font-size: 0.66rem; letter-spacing: 0.09em; text-align: left; text-transform: uppercase; }
.data-table td { padding: 10px; border-bottom: 1px solid var(--staff-border); vertical-align: top; }
.data-table small { display: block; margin-top: 4px; }
.table-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { display: inline-block; width: fit-content; padding: 3px 7px; border: 1px solid var(--muted); color: var(--muted); font-size: 0.67rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.tag--cyan { border-color: var(--cyan-dark); background: var(--cyan-pale); color: var(--cyan-dark); }
.tag--magenta { border-color: var(--magenta-dark); background: var(--magenta-pale); color: var(--magenta-dark); }
.winner-mark { display: block; width: fit-content; margin-top: 4px; color: var(--cyan-dark); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; }

.staff-form { max-width: 820px; padding: clamp(17px, 3vw, 25px); border: 1px solid var(--staff-border); border-radius: 5px; background: var(--staff-surface); box-shadow: 0 2px 8px rgba(23, 38, 58, 0.04); }
.staff-form .field input:not([type="checkbox"]):not([type="radio"]), .staff-form .field textarea, .staff-form .field select { border-color: #aeb8c5; border-radius: 3px; background: #fff; }
.staff-form .field input:focus, .staff-form .field textarea:focus, .staff-form .field select:focus { border-color: var(--party-navy); }
.settings-group { display: grid; gap: 18px; margin: 0; padding: 0 0 24px; border: 0; border-bottom: 2px solid var(--staff-border); }
.settings-group + .settings-group { padding-top: 4px; }
.settings-group legend { margin-bottom: 8px; padding: 0; font-family: var(--serif); font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 600; letter-spacing: -0.035em; }
.settings-group > p { max-width: 650px; margin: 0; color: var(--muted); font-size: 0.88rem; }
.form-actions { display: flex; flex-direction: column; gap: 8px; padding-top: 5px; }
.record-rail { display: grid; gap: 1px; margin-bottom: 18px; border: 1px solid var(--staff-border); border-radius: 4px; background: var(--staff-border); overflow: hidden; }
.record-rail > div { display: grid; gap: 4px; min-width: 0; padding: 12px; background: var(--staff-surface); overflow-wrap: anywhere; }
.upload-form { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--staff-border); border-radius: 4px; background: var(--staff-surface); }
.photo-admin-list { display: grid; gap: 10px; margin-top: 12px; }
.photo-admin-card { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: start; padding: 10px; border: 1px solid var(--staff-border); border-radius: 4px; background: var(--staff-surface); }
.photo-admin-card.is-archived { opacity: 0.62; }
.photo-admin-card > img { width: 76px; height: 76px; object-fit: cover; }
.photo-admin-card > div:not(.photo-actions) { display: grid; gap: 4px; min-width: 0; }
.photo-admin-card small { color: var(--muted); }
.photo-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; }
.photo-actions form { display: flex; flex: 1 1 auto; gap: 7px; }
.photo-actions .button { flex: 1; }
.record-meta { display: grid; gap: 4px; color: var(--muted); font-size: 0.75rem; }

.confirmation-card { max-width: 820px; margin-bottom: 18px; padding: 18px; border: 1px solid var(--ink); background: var(--paper); }
.confirmation-card.danger-zone { border: 2px solid var(--magenta-dark); background: var(--magenta-pale); }
.confirm-check { display: flex; gap: 11px; align-items: start; padding: 14px; border: 1px solid var(--ink); background: var(--surface); font-weight: 600; }
.confirm-check input { flex: none; width: 23px; height: 23px; margin: 1px 0 0; accent-color: var(--cyan); }
.status-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.status-options legend { margin-bottom: 10px; font-size: 1.2rem; font-weight: 600; }
.status-options label { display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-items: start; padding: 13px; border: 1px solid var(--line); }
.status-options label:has(input:checked) { border: 2px solid var(--cyan-dark); background: var(--cyan-pale); }
.status-options input { width: 21px; height: 21px; margin: 2px 0 0; accent-color: var(--cyan); }
.status-options span { display: grid; gap: 3px; }
.status-options small { color: var(--muted); }

.filter-bar { display: grid; gap: 10px; margin-bottom: 15px; padding: 13px; border: 1px solid var(--ink); background: var(--paper); }
.filter-bar label { display: grid; gap: 4px; }
.closeout-list { display: grid; gap: 13px; }
.closeout-card { border: 1px solid var(--ink); background: var(--paper); }
.closeout-card header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 18px; align-items: center; padding: 12px; border-bottom: 1px solid var(--ink); }
.closeout-card header > strong { font-size: 1.65rem; }
.closeout-card header h2 { margin-bottom: 3px; font-size: 1.25rem; }
.closeout-card header span { font-size: 0.8rem; }
.closeout-card form { display: grid; gap: 10px; padding: 12px; }
.photo-confirm { display: grid; gap: 15px; }
.photo-confirm img { width: 100%; max-height: 320px; object-fit: contain; background: var(--surface); }
.audit-table details summary { min-height: 42px; cursor: pointer; color: var(--cyan-dark); }
.audit-table pre { max-width: 100%; max-height: 260px; margin: 8px 0 0; padding: 8px; overflow: auto; background: var(--surface); white-space: pre-wrap; }
.empty-state--action { display: grid; justify-items: center; gap: 9px; padding-block: 52px; }
.empty-state--action h2, .empty-state--action p { margin-bottom: 0; }
.empty-state--action p { max-width: 520px; }

@media (max-width: 699px) {
  .responsive-table, .responsive-table tbody, .responsive-table tr, .responsive-table td { display: block; width: 100%; }
  .responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .responsive-table { background: transparent; }
  .responsive-table tr { margin-bottom: 11px; border: 1px solid var(--ink); background: var(--paper); }
  .responsive-table td { display: grid; grid-template-columns: minmax(82px, 34%) 1fr; gap: 10px; min-height: 43px; padding: 9px 11px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
  .responsive-table td:last-child { border-bottom: 0; }
  .responsive-table td::before { color: var(--muted); content: attr(data-label); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
  .responsive-table td[colspan] { display: block; }
  .responsive-table td[colspan]::before { content: none; }
  .responsive-table .table-actions { display: flex; }
}

@media (min-width: 560px) {
  .staff-brand__label { display: inline; }
  .form-grid--two { grid-template-columns: 1fr 1fr; }
  .page-heading { flex-direction: row; align-items: end; justify-content: space-between; }
  .page-actions { justify-content: end; }
  .status-strip { grid-template-columns: repeat(3, 1fr); }
  .status-strip > div { border-right: 1px solid var(--line); border-bottom: 0; }
  .status-strip > div:last-child { border-right: 0; }
  .auction-status { grid-template-columns: 0.72fr 1.3fr 1.3fr; }
  .auction-status > div { border-right: 1px solid var(--staff-border); border-bottom: 0; }
  .auction-status > div:last-child { border-right: 0; }
  .action-grid { grid-template-columns: repeat(2, 1fr); }
  .record-rail { grid-template-columns: repeat(3, 1fr); }
  .form-actions { flex-direction: row; }
  .upload-form { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .photo-admin-card { grid-template-columns: 92px 1fr auto; align-items: center; }
  .photo-admin-card > img { width: 92px; height: 92px; }
  .photo-actions { grid-column: auto; justify-content: end; }
  .photo-actions form { flex: none; }
  .closeout-card header { grid-template-columns: 55px 1fr auto; }
  .closeout-card header > strong { grid-column: auto; }
  .closeout-card form { grid-template-columns: 1fr 1fr; align-items: end; }
  .closeout-notes { grid-column: 1 / -1; }
  .photo-confirm { grid-template-columns: minmax(180px, 40%) 1fr; align-items: center; }
  .manual-control { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 700px) {
  body { font-size: 16px; }
  h1 { font-size: 3.7rem; }
  h2 { font-size: 2rem; }
  .item-title h1 { font-size: 3.4rem; }
  .bid-figure strong { font-size: 4.2rem; }
  .flow-item h1 { font-size: 2.35rem; }
  .amount-field__input input { font-size: 4.2rem; }
  .review-amount strong, .confirmation-amount > strong { font-size: 5.2rem; }
  .rejection-copy h1 { font-size: 3.2rem; }
  .page-heading h1 { font-size: 3.3rem; }
  .item-gallery--multiple { grid-template-columns: 2fr 1fr; }
  .item-gallery--multiple figure:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; }
  .item-gallery--multiple figure { aspect-ratio: 4 / 3; }
  .filter-bar { grid-template-columns: 2fr 1.4fr 1fr auto; align-items: end; }
  .staff-section.danger-zone { flex-direction: row; align-items: center; justify-content: space-between; }
  .dashboard-intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .dashboard-actions { display: flex; justify-content: end; }
  .dashboard-actions .button { width: auto; }
  .dashboard-public-link { grid-column: auto; margin-left: 4px; }
}

@media (min-width: 900px) {
  .dashboard-overview { grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); align-items: start; }
  .dashboard-lower { grid-template-columns: minmax(0, 1.45fr) minmax(275px, 0.55fr); align-items: start; }
}

@media (min-width: 980px) {
  .action-grid { grid-template-columns: repeat(4, 1fr); }
  .closeout-card form { grid-template-columns: 1fr 1fr 2fr auto; }
  .closeout-notes { grid-column: auto; }
}

@media (max-width: 430px) {
  .staff-access span { display: none; }
  .dashboard-panel-heading { align-items: start; }
  .dashboard-panel-heading p { display: none; }
}

@media (max-width: 520px) {
  .item-page .public-header { align-items: flex-start; gap: 9px; }
  .item-page .public-header__brand { min-height: 42px; gap: 8px; }
  .item-page .public-header__brand img { width: 37px; height: 37px; }
  .item-page .public-header__brand strong { font-size: 0.9rem; line-height: 1.05; }
  .item-page .public-header__brand small { display: none; }
  .item-page .public-header__status { padding-top: 3px; font-size: 0.72rem; line-height: 1.15; }
  .item-page .public-header__status span { font-size: 0.66rem; }
  .item-page .public-header__line { margin-top: 8px; }
  .item-page .item-title { margin-top: 18px; }
  .item-page .item-title h1 { font-size: clamp(2rem, 11vw, 3.2rem); line-height: 1; }
  .item-page .bid-figure { gap: 12px; padding-block: 21px 16px; }
  .item-page .bid-figure strong { font-size: clamp(3rem, 18vw, 4.8rem); }
  .item-page .bid-figure__meta { font-size: 0.82rem; }
  .item-page .fact-list > div { grid-template-columns: 88px minmax(0, 1fr); gap: 11px; }
}

@media (min-width: 860px) {
  .public-shell.item-page {
    width: min(100%, 1180px);
    padding-right: clamp(28px, 4vw, 48px);
    padding-bottom: 58px;
    padding-left: clamp(28px, 4vw, 48px);
  }
  .item-page--bidding { padding-bottom: 58px; }
  .item-detail {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    grid-template-areas:
      "gallery title"
      "gallery bid"
      "gallery description"
      "gallery facts"
      "gallery action";
    column-gap: clamp(36px, 5vw, 70px);
    row-gap: 17px;
    align-items: start;
    margin-top: clamp(38px, 5vw, 64px);
  }
  .item-detail > .item-title { margin: 0; padding-top: 2px; }
  .item-detail > .item-title h1 { font-size: clamp(2.35rem, 3.5vw, 3.7rem); line-height: 0.98; }
  .item-detail > .item-gallery { align-self: start; }
  .item-detail > .bid-figure { padding: 9px 0 17px; }
  .item-detail > .item-description { padding: 0; }
  .item-detail > .item-description p { margin-bottom: 0; }
  .item-detail > .fact-list { margin: 0; }
  .item-detail > .sticky-action,
  .item-detail > .sticky-action--active {
    position: static;
    inset: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }
}

/* Public auction: a mobile-first translation of a Lockhart print-shop poster. */
.public-body {
  --public-canvas: #f7f7f4;
  --public-surface: #fafaf7;
  --public-ink: #102f50;
  --public-muted: #3f4d59;
  --public-line: rgba(18, 52, 87, 0.42);
  --paper: #f7f7f4;
  --surface: #e8e9e6;
  --surface-strong: #d3d6d3;
  --ink: #102f50;
  --muted: #3f4d59;
  --cyan: #516a9b;
  --cyan-dark: #123457;
  --cyan-pale: #dfe3ec;
  --magenta: #8f3038;
  --magenta-dark: #70252c;
  --magenta-pale: #edd7cf;
  background-color: var(--public-canvas);
  background-image: url('/paper-grain.svg');
  background-repeat: repeat;
  background-size: 192px 192px;
  color: var(--public-ink);
  font-family: var(--body-sans);
}
.public-body h1, .public-body h2, .public-body h3 { color: var(--public-ink); }
.public-body a { color: var(--public-ink); }
.public-body .button--primary { color: #fff; background: #0a3161; border-color: #0a3161; }
.public-body .button--primary:hover { color: #fff; background: #102f50; }
.public-body .halftone { background: #fff; filter: none; }
.public-body .halftone::after { display: none; }
.public-shell {
  padding-top: 20px;
  background: transparent;
}
.public-shell--wide { width: min(100%, 1180px); padding-bottom: 48px; }

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
}
.public-header__brand { display: flex; min-width: 0; min-height: 52px; align-items: center; gap: 11px; color: var(--public-ink); text-decoration: none; }
.public-header__brand img { width: 44px; height: 44px; object-fit: contain; }
.public-header__brand > span { display: grid; min-width: 0; gap: 1px; line-height: 1.15; }
.public-header__brand strong { font-family: "Bitter", Georgia, serif; font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; }
.public-header__brand small { color: var(--public-muted); font-size: 0.75rem; font-weight: 600; }
.public-header__status { display: grid; flex: none; gap: 1px; font-size: 0.8rem; font-weight: 700; text-align: right; text-decoration: none; }
.public-header__status span { color: var(--public-muted); font-size: 0.72rem; font-weight: 500; }
.public-header__status:hover span { text-decoration: underline; }
.public-header__line { display: grid; grid-template-columns: minmax(0, 3fr) minmax(70px, 1fr); gap: 5px; margin-top: 12px; }
.public-header__line span { height: 3px; background: var(--public-ink); }
.public-header__line span:last-child { background: var(--magenta); }

.public-home { min-height: 100vh; background: transparent; font-family: var(--body-sans); }
.home-frame {
  min-height: 100vh;
  background: transparent;
}
.home-brand {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 3px solid #123457;
  background: transparent;
  color: #123457;
}
.home-brand__identity { display: flex; min-width: 0; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.public-body .home-brand__identity { color: #123457; }
.home-brand__identity img { width: 56px; height: 46px; flex: none; object-fit: contain; }
.home-brand__identity > span { display: grid; min-width: 0; line-height: 1.08; }
.home-brand__identity strong { color: inherit; font-family: "Bitter", Georgia, serif; font-size: clamp(1rem, 5vw, 1.28rem); font-weight: 700; letter-spacing: -0.025em; }
.home-brand__identity small { display: none; color: var(--public-muted); font-size: 0.72rem; }
.home-rail { display: none; }

.home-intro { position: relative; min-height: 342px; padding: 30px 20px 28px; overflow: hidden; border-bottom: 4px solid var(--public-ink); isolation: isolate; }
.home-intro__flower { position: absolute; z-index: -1; top: 90px; right: -45px; width: 184px; height: auto; pointer-events: none; }
.home-intro__copy { position: relative; z-index: 1; }
.home-intro__place { display: none; }
.home-intro h1 { max-width: 100%; margin: 0 0 16px; font-family: "Bitter", Georgia, serif; font-size: clamp(2.9rem, 14vw, 4rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; }
.home-intro__copy > p { max-width: 73%; margin: 0 0 21px; color: #203b55; font-size: 1.03rem; font-weight: 500; line-height: 1.44; }
.home-intro__schedule { display: grid; max-width: 74%; gap: 1px; margin-bottom: 18px; padding-left: 13px; border-left: 4px solid var(--magenta); }
.home-intro__schedule span { color: var(--magenta-dark); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.home-intro__schedule strong { font-family: "Bitter", Georgia, serif; font-size: 0.92rem; line-height: 1.32; }
.home-intro__button { display: inline-flex; width: min(70%, 270px); min-height: 49px; align-items: center; justify-content: center; padding: 11px 18px; border: 2px solid var(--magenta); background: var(--magenta); color: #fff; font-family: "Bitter", Georgia, serif; font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.public-body .home-intro__button { color: #fff; }
.home-intro__button:hover { background: var(--magenta-dark); }

.home-feedback { padding: 0 20px; }
.home-feedback:empty { display: none; }
.public-home .recognized-bar { margin: 18px 0 0; border-left-color: var(--public-ink); background: rgba(255, 255, 255, 0.28); }
.home-notice { margin: 18px 0 0; padding: 12px 15px; border-left: 4px solid var(--magenta); background: rgba(255, 255, 255, 0.3); font-weight: 600; }

.public-home .catalogue { padding: 27px 20px 34px; }
.catalogue-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.catalogue-heading h2 { margin: 0; color: var(--magenta); font-family: "Bitter", Georgia, serif; font-size: 1.28rem; font-weight: 700; letter-spacing: 0.055em; text-transform: uppercase; }
.catalogue-heading > span { color: var(--public-muted); font-size: 0.78rem; font-weight: 600; }
.catalogue-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.catalogue-grid > .empty-state { border-color: var(--public-line); background: rgba(255, 255, 255, 0.2); }
.item-plate { min-width: 0; padding: 0 0 25px; border-bottom: 3px solid var(--magenta); }
.item-plate + .item-plate { padding-top: 27px; }
.item-plate__photo { display: block; color: inherit; text-decoration: none; }
.item-plate__photo .halftone { border: 2px solid var(--public-ink); background: transparent; filter: none; }
.item-plate__photo .halftone::after { display: none; }
.item-plate__photo .item-plate__image,
.item-plate__photo > .photo-placeholder { aspect-ratio: 16 / 10; background: rgba(255, 255, 255, 0.22); }
.item-plate__photo img { object-fit: contain; }
.item-plate__copy { display: grid; align-content: start; padding: 14px 1px 0; }
.item-plate__number { color: var(--magenta); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.item-plate h2 { margin: 0 0 8px; font-family: "Bitter", Georgia, serif; font-size: clamp(1.48rem, 7.4vw, 2rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
.item-plate__number + h2 { margin-top: 6px; }
.item-plate h2 a { color: var(--public-ink); text-decoration: none; }
.item-plate h2 a:hover { text-decoration: underline; }
.item-plate p { margin: 0 0 14px; color: #31485d; font-size: 0.97rem; font-weight: 500; line-height: 1.48; }
.item-plate__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-top: 5px; }
.item-plate__meta strong { font-size: 0.91rem; }
.item-plate__meta a { flex: none; min-height: 44px; padding: 10px 0 7px; font-weight: 700; text-decoration: none; }
.item-plate__meta a:hover { text-decoration: underline; }

.public-home .public-footer { display: grid; gap: 6px; margin: 0; padding: 21px 20px 28px; border-top: 0; color: var(--public-muted); font-size: 0.71rem; text-align: left; }
.public-home .public-footer strong { color: var(--public-ink); font-family: "Bitter", Georgia, serif; font-size: 0.88rem; }
.public-home .public-footer p { margin: 0; }
.public-footer__contact { white-space: pre-line; }

@media (max-width: 420px) {
  .home-brand__identity img { width: 52px; height: 42px; }
  .home-brand__identity strong { font-size: 0.97rem; }
  .home-intro__flower { right: -48px; width: 178px; }
}

@media (min-width: 820px) {
  .public-home {
    background: transparent;
  }
  .home-frame {
    display: block;
    width: 100%;
    min-height: 100vh;
  }
  .home-brand {
    width: min(100% - 64px, 1280px);
    min-height: 112px;
    margin: 0 auto;
    padding: 23px 0 18px;
    border-bottom: 2px solid var(--public-ink);
  }
  .home-brand__identity { gap: 17px; }
  .home-brand__identity img { width: 76px; height: 61px; }
  .home-brand__identity > span { gap: 3px; }
  .home-brand__identity strong { max-width: none; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.08; }
  .home-brand__identity small { display: block; font-size: 0.8rem; }
  .home-intro {
    width: min(100% - 64px, 1280px);
    min-height: 430px;
    margin: 0 auto;
    padding: 70px clamp(300px, 28vw, 380px) 64px 0;
    border-bottom: 2px solid var(--public-ink);
  }
  .home-intro__flower { top: 22px; right: clamp(10px, 3vw, 46px); bottom: auto; left: auto; width: 260px; }
  .home-intro__copy { max-width: 850px; }
  .home-intro__place { display: block; margin-bottom: 12px; color: var(--magenta); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .home-intro h1 { max-width: 800px; margin-bottom: 18px; font-size: clamp(4rem, 7vw, 6.4rem); }
  .home-intro__copy > p { max-width: 730px; margin-bottom: 25px; font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.48; }
  .home-intro__schedule { display: grid; max-width: 540px; margin-bottom: 24px; }
  .home-intro__button { width: auto; min-width: 170px; }
  .home-feedback { width: min(100% - 64px, 1280px); margin: 0 auto; padding: 0; }
  .public-home .catalogue { width: min(100% - 64px, 1280px); margin: 0 auto; padding: 34px 0 64px; }
  .catalogue-heading { margin-bottom: 22px; padding-top: 0; border-top: 0; }
  .catalogue-heading h2 { font-size: 1.42rem; }
  .catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 4vw, 54px); }
  .item-plate { padding: 0; border: 0; }
  .item-plate + .item-plate { padding-top: 0; }
  .item-plate:only-child { grid-column: 1 / -1; }
  .item-plate:nth-child(odd):not(:only-child) { padding-right: clamp(26px, 3vw, 42px); border-right: 3px solid var(--cyan); }
  .item-plate__copy { padding-top: 16px; }
  .item-plate h2 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); }
  .item-plate__meta { margin-top: 10px; }
  .public-home .public-footer {
    width: min(100% - 64px, 1280px);
    margin: 0 auto;
    padding: 24px 0 36px;
    border-top: 2px solid var(--magenta);
  }
}

@media (min-width: 1100px) {
  .item-plate:only-child {
    display: grid;
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(38px, 5vw, 72px);
    align-items: center;
  }
  .item-plate:only-child .item-plate__copy { padding-top: 0; }
  .item-plate:only-child h2 { font-size: clamp(2.2rem, 3.1vw, 3.15rem); }
}

/* Staff workspace: restrained, task-first, and intentionally unstyled by status. */
.staff-body {
  --staff-background: #ffffff;
  --staff-surface: #ffffff;
  --staff-border: #dfe3e8;
  --staff-ink: #172033;
  --staff-muted: #697386;
  background: var(--staff-background);
  color: var(--staff-ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.staff-body h1, .staff-body h2, .staff-body h3 { font-family: inherit; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; }
.staff-body .button { min-height: 38px; padding: 8px 13px; border-radius: 2px; font-size: 0.84rem; }
.staff-body .button:hover { box-shadow: none; transform: none; }
.staff-body .button--primary { border-color: var(--party-navy); background: var(--party-navy); }
.staff-body .button--secondary { border-color: #cbd2db; background: white; }

.staff-header { min-height: 48px; border: 0; background: white; }
.staff-header__inner { width: min(100%, 1080px); min-height: 48px; padding: 6px clamp(16px, 3vw, 26px); }
.staff-brand { min-height: 36px; gap: 8px; color: var(--staff-ink); font-family: inherit; font-size: 0.92rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.staff-brand img { width: 29px; height: 29px; }
.staff-user { max-width: min(50vw, 280px); overflow: hidden; color: var(--staff-muted); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }

.staff-nav { border: 0; background: white; box-shadow: none; }
.staff-nav::after { display: block; height: 2px; background: linear-gradient(90deg, var(--party-navy) 0 72%, var(--party-red) 72% 100%); content: ""; }
.staff-nav__inner { width: min(100%, 1080px); gap: 22px; padding-inline: clamp(16px, 3vw, 26px); }
.staff-nav a { min-height: 39px; padding: 10px 0 8px; color: #667085; font-size: 0.79rem; font-weight: 550; }
.staff-nav a:hover, .staff-nav a:focus-visible { background: transparent; color: var(--staff-ink); }
.staff-nav a[aria-current="page"] { color: var(--party-navy); font-weight: 700; }
.staff-nav a[aria-current="page"]::after { right: 0; bottom: 0; left: 0; height: 2px; background: var(--party-navy); }

.staff-shell { width: min(100%, 1080px); padding: 32px clamp(16px, 3vw, 26px) 58px; }
.staff-body .page-heading { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--staff-border); }
.staff-body .page-heading .eyebrow { display: none; }
.staff-body .page-heading h1 { margin: 0; font-size: clamp(1.85rem, 5vw, 2.35rem); line-height: 1.1; }
.staff-body .staff-form { border: 1px solid var(--staff-border); border-radius: 0; box-shadow: none; }
.staff-body .settings-group legend { font-family: inherit; font-size: 1.2rem; letter-spacing: -0.01em; }
.staff-body .action-grid { display: block; max-width: 760px; }
.staff-body .action-tile { min-height: 0; padding: 15px 0; border: 0; border-bottom: 1px solid var(--staff-border); border-radius: 0; background: transparent; }
.staff-body .action-tile:hover { padding-left: 8px; border-left: 0; background: #fafbfc; }

.dashboard-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.dashboard-heading h1 { margin: 0 0 4px; font-size: clamp(2rem, 5vw, 2.65rem); }
.dashboard-heading p { margin: 0; color: var(--staff-muted); font-size: 0.9rem; }
.dashboard-actions { display: flex; gap: 8px; }
.dashboard-actions .button { width: auto; }
.dashboard-schedule { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 34px; color: var(--staff-muted); font-size: 0.76rem; }
.dashboard-schedule a { color: var(--party-navy); font-weight: 600; text-decoration: none; }
.dashboard-schedule a:hover { text-decoration: underline; }

.dashboard-section { margin-top: 30px; }
.dashboard-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 9px; border-bottom: 1px solid var(--staff-ink); }
.dashboard-section-heading h2 { margin: 0; font-size: 1.05rem; letter-spacing: -0.01em; }
.dashboard-section-heading a { color: var(--party-navy); font-size: 0.78rem; font-weight: 600; text-decoration: none; }
.dashboard-section-heading a:hover { text-decoration: underline; }
.attention-list { margin: 0; padding: 0; list-style: none; }
.attention-list li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--staff-border); }
.attention-list li > div { display: grid; gap: 2px; }
.attention-list strong { font-size: 0.88rem; }
.attention-list span { color: var(--staff-muted); font-size: 0.78rem; }
.attention-list a { flex: none; color: var(--party-navy); font-size: 0.8rem; font-weight: 650; }
.dashboard-clear, .dashboard-empty { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--staff-border); color: var(--staff-muted); font-size: 0.84rem; }

.dashboard-summary { display: grid; grid-template-columns: repeat(5, 1fr); margin: 30px 0 0; padding: 12px 0; border-block: 1px solid var(--staff-border); }
.dashboard-summary > div { display: flex; align-items: baseline; gap: 7px; padding: 2px 16px; border-right: 1px solid var(--staff-border); }
.dashboard-summary > div:first-child { padding-left: 0; }
.dashboard-summary > div:last-child { border-right: 0; }
.dashboard-summary dt { color: var(--staff-muted); font-size: 0.72rem; }
.dashboard-summary dd { margin: 0; color: var(--staff-ink); font-size: 1rem; font-weight: 700; }
.dashboard-recent .table-wrap { padding-top: 4px; }
.dashboard-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 34px; padding-top: 15px; border-top: 1px solid var(--staff-border); }
.dashboard-links a { color: var(--staff-muted); font-size: 0.76rem; text-decoration: none; }
.dashboard-links a:hover { color: var(--party-navy); text-decoration: underline; }

@media (max-width: 699px) {
  .staff-nav__inner { gap: 20px; }
  .dashboard-heading { display: grid; align-items: start; }
  .dashboard-actions { width: 100%; }
  .dashboard-actions .button { flex: 1; }
  .dashboard-schedule { margin-bottom: 28px; }
  .dashboard-summary { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .dashboard-summary > div, .dashboard-summary > div:first-child { padding: 2px 10px 2px 0; border-right: 0; }
  .attention-list li { align-items: start; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (hover: none) {
  .button:hover { box-shadow: none; transform: none; }
}

@media print {
  .staff-nav, .page-actions, .button, .sticky-action, .skip-link { display: none !important; }
  body { background: white; }
  .staff-shell, .public-shell { width: 100%; max-width: none; padding: 0; }
}

/* Let the challenge switch to its compact layout on narrow phones. */
.confirm-form .cf-turnstile { min-width: 0; max-width: 100%; }

.public-footer__actions { display: grid; gap: 12px; padding-bottom: 18px; font-size: 1rem; line-height: 1.5; }
.public-footer__actions p { margin: 0; }
.public-footer__actions a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Closing time and live timer share the page's existing text styles. */
.auction-countdown { position: sticky; top: 0; z-index: 21; background: var(--paper); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 20px; padding: 14px 52px 14px 12px; margin: 0 0 24px; border-block: 1px solid var(--line); color: var(--party-navy); font-family: var(--body-sans); }
.auction-countdown[hidden] { display: none; }
.auction-countdown__remaining { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.auction-countdown__remaining > span { color: var(--party-navy); font-size: 1rem; }
.auction-countdown__remaining strong { font: 600 1.4rem/1.4 var(--body-sans); font-variant-numeric: tabular-nums; }
.auction-countdown__date { font-size: 1rem; color: var(--ink); }
.auction-countdown--compact { position: relative; top: auto; z-index: auto; background: transparent; display: grid; gap: 2px; padding: 0; margin: 0 0 10px; border: 0; }
.auction-countdown--compact .auction-countdown__date { font-size: 1rem; line-height: 1.5; }
@media (max-width: 599px) {
  .item-page--bidding { padding-bottom: calc(220px + env(safe-area-inset-bottom)); }
}

.auction-countdown__dismiss { position: absolute; top: 4px; right: 0; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--party-navy); font: 400 1.75rem/1 var(--body-sans); cursor: pointer; }
.auction-countdown__dismiss:hover { background: var(--surface); }
.auction-countdown__dismiss:focus-visible { outline: 3px solid var(--party-navy); outline-offset: -3px; }

.auction-countdown--compact .auction-countdown__remaining strong { font-size: 1rem; font-weight: 600; }
.item-page:has(> .auction-countdown:not([hidden])) .auction-countdown--compact { display: none; }

/* Keep the sticky home countdown aligned with the catalogue. */
.public-home .auction-countdown { width: calc(100% - 40px); margin-inline: auto; }
@media (min-width: 820px) {
  .public-home .auction-countdown { width: min(100% - 64px, 1280px); }
}

.action-meta { flex-wrap: wrap; align-items: baseline; }
.action-meta > span { margin-left: auto; text-align: right; }


.home-intro--portrait { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.home-intro--portrait .home-intro__copy { min-width: 0; }
.home-intro--portrait h1 { overflow-wrap: anywhere; }
.home-intro__portrait {
  display: block;
  grid-row: 2;
  justify-self: center;
  width: min(100%, 360px);
  height: auto;
  aspect-ratio: 0.88;
  object-fit: cover;
  object-position: center 46%;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 3%, #000 88%, transparent);
  mask-composite: intersect;
}
.home-intro--portrait .home-intro__copy > p,
.home-intro--portrait .home-intro__schedule { max-width: 100%; }
.home-intro--portrait .home-intro__button { width: auto; min-width: 170px; }
@media (min-width: 480px) and (max-width: 899px) {
  .home-intro--portrait { padding: 30px 20px 28px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; row-gap: 18px; align-items: start; }
  .home-intro--portrait .home-intro__copy { display: contents; }
  .home-intro--portrait .home-intro__place { display: none; }
  .home-intro--portrait h1 { grid-column: 1 / -1; grid-row: 1; margin-bottom: 4px; }
  .home-intro--portrait .home-intro__copy > p { grid-column: 1; grid-row: 2; margin: 0; }
  .home-intro--portrait .home-intro__schedule { grid-column: 1; grid-row: 3; margin: 0; }
  .home-intro--portrait .home-intro__button { grid-column: 1; grid-row: 4; min-width: 0; }
  .home-intro__portrait { grid-column: 2; grid-row: 2 / 5; width: 100%; align-self: center; }
}
@media (min-width: 900px) {
  .home-intro--portrait { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 48px 0; }
  .home-intro--portrait .home-intro__copy { grid-column: 1; grid-row: 1; }
  .home-intro__portrait { grid-column: 2; grid-row: 1; width: 100%; max-width: 480px; }
  .home-intro--portrait h1 { font-size: clamp(3.5rem, 6.5vw, 6rem); }
}

/* Keep the sticky home countdown aligned with the catalogue. */
.public-home .auction-countdown { width: calc(100% - 40px); margin-inline: auto; }
@media (min-width: 820px) {
  .public-home .auction-countdown { width: min(100% - 64px, 1280px); }
}

.action-meta { flex-wrap: wrap; align-items: baseline; }
.action-meta > span { margin-left: auto; text-align: right; }
