.bidder-page, .bidder-unavailable {
  padding-block: clamp(1.5rem, 4vw, 4.5rem) clamp(3rem, 6vw, 6rem);
  color: #20362d;
}
.bidder-back, .bidder-help a, .bidder-contact a {
  color: #214e37;
  text-decoration: underline;
  text-decoration-color: #94a795;
  text-underline-offset: .2em;
}
.bidder-back { display:inline-flex; align-items:center; min-height:44px; font-size:.94rem; font-weight:600; }
.bidder-page h1, .bidder-unavailable h1 {
  margin: .55rem 0 clamp(1.4rem, 3vw, 3rem);
  font: 400 clamp(2.45rem, 5vw, 4.9rem)/1.03 Georgia, serif;
  letter-spacing: -.065em;
}
.bidder-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(14rem,.72fr) minmax(0,1.28fr);
  gap: clamp(1.8rem, 5vw, 6rem);
}
.bidder-lot { border:1px solid #c5cebf; background:#e9ede3; border-radius:4px; overflow:hidden; min-width:0; }
.bidder-lot img { display:block; width:100%; height:auto; aspect-ratio:1.72; object-fit:cover; }
.bidder-lot-body { padding:clamp(1rem, 2vw, 2rem); }
.bidder-lot-ref { font-size:.83rem; font-weight:650; letter-spacing:.07em; }
.bidder-lot h2 {
  margin:.5rem 0 1rem;
  font:400 clamp(1.5rem, 2.6vw, 2.75rem)/1.1 Georgia, serif;
  overflow-wrap:anywhere; letter-spacing:-.045em;
}
.bidder-facts { margin:0; }
.bidder-facts > div { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:.25rem .8rem; padding:.65rem 0; border-top:1px solid #bfcabb; }
.bidder-facts dt { font-size:.88rem; color:#405345; }
.bidder-facts dd { margin:0; color:#253d2e; font-size:.95rem; font-weight:600; }
.bidder-work { max-width:48rem; min-width:0; }
.bidder-work h2, .bidder-unavailable h2 { font:400 clamp(1.8rem,3vw,3rem)/1.08 Georgia, serif; letter-spacing:-.055em; }
.bidder-intro, .bidder-unavailable p { margin:.85rem 0 1.25rem; max-width:56ch; color:#425248; }
.bidder-work form { display:grid; gap:1.05rem; margin-top:1.35rem; }
.bidder-work label { display:grid; gap:.4rem; font-size:.94rem; font-weight:650; }
.bidder-work input:not([type=checkbox]), .bidder-work select {
  width:100%; min-width:0; min-height:46px; padding:.6rem .75rem;
  background:#fffefa; border:1px solid #a7b4a4; border-radius:3px; color:#243b2d;
  font:400 1rem/1.4 var(--sans);
}
.bidder-work input[type=file] { padding:.4rem; }
.bidder-work input::file-selector-button { margin-right:.5rem; padding:.35rem .6rem; background:#e9eee4; color:#274830; border:1px solid #abb9a8; border-radius:3px; font:600 .85rem var(--sans); cursor:pointer; }
.bidder-fields, .bidder-documents { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.bidder-document { min-width:0; }
.bidder-documents:has([data-doc-side=back][hidden]) { grid-template-columns:1fr; }
.bidder-preview { display:flex; align-items:center; flex-wrap:wrap; margin-top:.5rem; gap:.6rem; }
.bidder-preview img { width:5.3rem; height:3.6rem; object-fit:contain; background:#e4e8df; }
.bidder-preview .button-outline { font-size:.8rem; min-height:38px; }
.bidder-help { margin:-.62rem 0 0; color:#49584e; font-size:.9rem; line-height:1.5; }
.bidder-note, .bidder-flash, .bidder-alert { margin:0; border-left:3px solid #87a083; background:#eaf0e5; color:#2b4431; padding:.85rem 1rem; line-height:1.5; }
.bidder-alert { border-color:#b76c50; background:#f9eee6; color:#713d31; margin-bottom:1rem; }
.bidder-flash { margin-bottom:1rem; }
.bidder-work .bidder-consent { display:grid; grid-template-columns:1.2rem minmax(0,1fr); align-items:start; gap:.65rem; font-weight:450; line-height:1.5; }
.bidder-consent input { width:1.15rem; height:1.15rem; margin:.17rem 0 0; accent-color:#275038; }
.bidder-work form .btn { justify-self:start; min-height:46px; }
.bidder-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }
.bidder-personal { margin-block:1.3rem; }
.bidder-work form[data-live-form] { margin-block:1.6rem; padding-block:1rem; border-top:1px solid #bcc8b8; }
.bidder-loading { padding:1rem 0; color:#48584a; }
.bidder-contact { margin-top:1.5rem; font-size:.9rem; }
.bidder-work section[data-closed] p { margin:.9rem 0 1.2rem; }
.bidder-page [hidden] { display:none !important; }
@media(max-width:740px) {
  .bidder-layout { grid-template-columns:minmax(0,1fr); gap:1.75rem; }
  .bidder-lot { display:grid; grid-template-columns:minmax(5.8rem,.4fr) minmax(0,1fr); align-items:start; }
  .bidder-lot:has(.bidder-lot-body:only-child) { grid-template-columns:1fr; }
  .bidder-lot img { height:auto; aspect-ratio:1.18; }
  .bidder-lot-body { padding:.9rem; }
  .bidder-facts > div { padding:.42rem 0; }
  .bidder-facts dt, .bidder-facts dd { font-size:.86rem; }
  .bidder-page h1 { margin-bottom:1rem; }
}
@media(max-width:500px) {
  .bidder-fields, .bidder-documents { grid-template-columns:minmax(0,1fr); }
  .bidder-lot { grid-template-columns:4.2rem minmax(0,1fr); }
  .bidder-lot img { margin:.8rem 0 0 .55rem; border-radius:2px; }
  .bidder-lot h2 { font-size:1.35rem; }
  .bidder-page { padding-top:1rem; }
}
