/* Below Dial: the watchmaker's job card. White form paper, blue form ink, red rubber stamp, typed figures. */
:root {
  --paper: #fdfdfb;
  --paper-2: #f4f4f0;
  --bench: #d8dce2;
  --ink: #17191c;
  --ink-2: #4b4f56;
  --form: #1d4f9c;        /* printed form ink */
  --form-soft: rgba(29, 79, 156, .22);
  --rule: rgba(29, 79, 156, .28);
  --stamp: #c4301c;
  --stamp-soft: rgba(196, 48, 28, .08);
  --ok: #1d6f3c;
  --label: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", Arial, sans-serif;
  --type: "Courier Prime", "Courier New", Courier, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bench); color: var(--ink); font-family: var(--label); font-size: 16px; line-height: 1.5; }
::selection { background: var(--form); color: #fff; }
a { color: var(--form); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--stamp); }
:focus-visible { outline: 2px solid var(--form); outline-offset: 2px; }
img { max-width: 100%; display: block; }

/* the sheet */
.sheet { max-width: 1120px; margin: 24px auto 40px; background: var(--paper); border: 1px solid #cfcfc8; box-shadow: 0 2px 4px rgba(23, 25, 28, .18); }
.wrap { padding: 0 32px; }
@media (max-width: 700px) { .sheet { margin: 0; border: 0; } .wrap { padding: 0 16px; } }

/* form header: wordmark left, tab nav right, double rule under */
.top { border-bottom: 3px double var(--form); }
.top .wrap { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: .02em; text-transform: uppercase; }
.brand small { font-family: var(--type); font-weight: 400; font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
.top nav { display: flex; }
.top nav a { display: inline-flex; align-items: center; padding: 0 14px; min-height: 44px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); text-decoration: none; border-left: 1px solid var(--rule); }
.top nav a:hover { color: var(--form); background: var(--paper-2); }
.brand, .top nav a { white-space: nowrap; }
@media (max-width: 700px) { .brand small { display: none; } .top .wrap { flex-wrap: wrap; } .brand { min-height: 48px; } .top nav { width: 100%; border-top: 1px solid var(--rule); margin: 0 -16px; padding: 0 8px; overflow-x: auto; } .top nav a { padding: 0 10px; font-size: 11.5px; letter-spacing: .04em; min-height: 42px; } .top nav a:first-child { border-left: 0; } }

h1, h2, h3 { font-weight: 800; line-height: 1.05; margin: 0 0 .35em; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 4.6vw, 52px); margin-top: 40px; }
h2 { font-size: clamp(19px, 2.2vw, 23px); margin-top: 44px; letter-spacing: -.01em; font-weight: 700; }
h2::after { content: ""; display: block; height: 2px; background: var(--form); margin-top: 8px; }
p { margin: 0 0 1em; }
.lede { font-size: 17px; max-width: 62ch; color: var(--ink-2); }
.muted { color: var(--ink-2); font-size: 14px; }
.crumb { margin-top: 20px; font-size: 13px; color: var(--ink-2); font-family: var(--type); }
.crumb a { color: var(--ink-2); }
.typed, .price, .num, .rng, .stats .v, .kpis .v, .ref { font-family: var(--type); font-variant-numeric: tabular-nums; }

/* field boxes: the printed form's filled-in blanks */
.fields { display: grid; grid-template-columns: repeat(5, 1fr); border: 1.5px solid var(--form); margin: 24px 0 8px; }
.fields div { padding: 10px 12px 12px; border-right: 1.5px solid var(--form); min-width: 0; display: flex; flex-direction: column; }
.fields div:last-child { border-right: 0; }
.fields .k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--form); }
.fields .v { display: block; font-family: var(--type); font-size: 24px; line-height: 1.15; margin-top: auto; padding-top: 4px; white-space: nowrap; }
.fields .v.stamp-ink { color: var(--stamp); }
@media (max-width: 760px) { .fields { grid-template-columns: repeat(2, 1fr); } .fields div { border-bottom: 1.5px solid var(--form); } .fields div:nth-child(2n) { border-right: 0; } .fields div:nth-last-child(-n+1) { border-bottom: 0; } .fields div:nth-child(5) { grid-column: span 2; } .fields .v { font-size: 22px; } }

/* feed hero: the intake header */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: end; padding-top: 40px; }
.hero h1 { margin-top: 0; }
.hero .lede { margin: 0; }
.kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1.5px solid var(--form); }
.kpis div { padding: 10px 12px 12px; border-right: 1.5px solid var(--form); display: flex; flex-direction: column; }
.kpis div:last-child { border-right: 0; }
.kpis .k { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--form); }
.kpis .v { display: block; font-size: 26px; line-height: 1.15; margin-top: auto; padding-top: 4px; }
.kpis .v.stamp-ink { color: var(--stamp); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; } }

/* chips as form tick boxes */
.chips { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 24px 0 12px; }
.chip { font: inherit; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; min-height: 40px; padding: 0 2px 0 0; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip::before { content: ""; width: 14px; height: 14px; border: 1.5px solid var(--form); background: #fff; flex-shrink: 0; }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--ink); }
.chip.on::before { background: var(--form); box-shadow: inset 0 0 0 2.5px #fff; }

/* ledger: rows on rule lines */
.ledger { border-top: 1.5px solid var(--form); margin-bottom: 40px; }
.row { display: grid; grid-template-columns: 72px minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, 1.2fr) auto; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); background-image: none; }

.row .photo { width: 72px; height: 72px; background: var(--paper-2); border: 1px solid #d8d8d1; overflow: hidden; position: relative; display: block; }
.row .photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.none::after { content: attr(data-ref); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--type); color: var(--ink-2); font-size: 11px; text-align: center; padding: 4px; }
.row h2 { margin: 0; text-transform: none; letter-spacing: -.01em; font-size: 17px; font-weight: 700; }
.row h2::after { display: none; }
.row h2 a { color: var(--ink); text-decoration: none; }
.row h2 a:hover { color: var(--form); text-decoration: underline; }
.row .ref { color: var(--ink-2); font-size: 13px; margin-left: 6px; }
.row .meta { font-size: 12.5px; color: var(--ink-2); margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.row .price { font-size: 24px; margin: 0; line-height: 1.1; }
.row .range { font-size: 12px; color: var(--ink-2); margin: 2px 0 0; font-family: var(--type); }
.row .under { font-family: var(--type); font-size: 15px; margin: 0; color: var(--ink); }
.row .under b { font-weight: 400; color: var(--stamp); }
@media (max-width: 860px) {
  .row { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: auto auto auto; gap: 8px 14px; padding: 14px 0; }
  .row .photo { width: 64px; height: 64px; grid-row: 1 / span 2; }
  .row .ask { grid-column: 2; }
  .row .gapcol { grid-column: 2; }
  .row .btn { grid-column: 1 / -1; width: 100%; }
}

/* the rubber stamp */
.stamp { display: inline-block; font-family: var(--label); font-weight: 800; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--stamp); border: 2px solid var(--stamp); padding: 3px 7px 2px; transform: rotate(-3deg); opacity: .85; mix-blend-mode: multiply; border-radius: 2px; white-space: nowrap; line-height: 1.3; }
.stamp.big { font-size: 15px; padding: 6px 12px 5px; border-width: 3px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ok); }
.badge::before { content: ""; width: 12px; height: 12px; border: 1.5px solid var(--ok); background: linear-gradient(135deg, transparent 45%, var(--ok) 45% 55%, transparent 55%), linear-gradient(45deg, transparent 45%, var(--ok) 45% 55%, transparent 55%); background-size: 60% 60%; background-position: center; background-repeat: no-repeat; }
.auction { font-size: 12px; color: var(--ink-2); font-family: var(--type); }

/* buttons: the form's "to eBay" action, solid ink */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; background: var(--form); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 2px; font-family: var(--label); cursor: pointer; white-space: nowrap; transition: background .15s ease, transform .1s ease; }
.btn:hover { background: #163f7d; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 12px; }

/* reference page table */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.listings { width: 100%; border-collapse: collapse; min-width: 760px; }
table.listings th, table.listings td { padding: 11px 10px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); }
table.listings th { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--form); border-bottom: 1.5px solid var(--form); }
table.listings td { font-size: 14.5px; }
table.listings .num { font-size: 17px; white-space: nowrap; }
.askwrap { position: relative; display: inline-block; padding-top: 14px; }
.askwrap .stamp { position: absolute; left: -8px; top: -2px; font-size: 11px; padding: 2px 6px 1px; transform: rotate(-7deg); opacity: .82; pointer-events: none; }
table.listings td.typed { white-space: nowrap; }
table.listings td[data-l="Ask"] { min-width: 132px; }
table.listings tr.below td { background: var(--stamp-soft); }
table.listings tr:hover td { background: var(--paper-2); }
table.listings tr.below:hover td { background: rgba(196, 48, 28, .12); }
.thumb { width: 52px; height: 52px; object-fit: cover; border: 1px solid #d8d8d1; background: var(--paper-2); }
.typed { font-size: 14px; }
@media (max-width: 700px) {
  .tablewrap { overflow: visible; }
  table.listings { min-width: 0; display: block; border-top: 1.5px solid var(--form); }
  table.listings thead { display: none; }
  table.listings tbody { display: block; }
  table.listings tr { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); align-items: start; }
  table.listings td { display: block; border: 0; padding: 0; }
  table.listings td[data-l="Photo"] { grid-row: 1 / span 3; }
  table.listings td[data-l="Listing"] { grid-column: 2; font-weight: 600; }
  table.listings td[data-l="Ask"] { grid-column: 2; font-size: 22px; }
  table.listings td[data-l="Box / papers"], table.listings td[data-l="eBay AG"], table.listings td[data-l="Type"] { grid-column: 2; display: inline; font-size: 13px; color: var(--ink-2); white-space: normal; }
  table.listings td[data-l="Box / papers"], table.listings td[data-l="Type"] { display: block; }
  table.listings td[data-l="eBay AG"] { display: none; }
  table.listings td[data-l="Box / papers"]::before { content: "box/papers: "; }
  table.listings td[data-l="eBay AG"]::before { content: "eBay AG: "; }
  table.listings td[data-l="Type"]::before { content: ""; }
  table.listings td:last-child { grid-column: 1 / -1; padding-top: 8px; }
  table.listings td:last-child .btn { width: 100%; }
  table.listings tr.below td { background: transparent; }
  table.listings tr.below { background: var(--stamp-soft); margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .thumb { width: 64px; height: 64px; }
  .askwrap .stamp { left: auto; right: -118px; top: 18px; font-size: 11px; }
}

/* alert box: a tear-off slip */
.alert { border: 1.5px dashed var(--form); padding: 22px 24px; margin-top: 40px; background: #fff; }
.alert h2 { margin-top: 0; }
.alert form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.alert label { display: flex; flex-direction: column; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--form); }
.alert input { font: inherit; font-family: var(--type); font-size: 16px; min-height: 44px; padding: 0 10px; border: 0; border-bottom: 1.5px solid var(--form); background: transparent; color: var(--ink); width: 100%; border-radius: 0; }
.alert input::placeholder { color: #8a8f98; }
.alert input:focus { outline: 0; border-bottom-color: var(--stamp); background: var(--paper-2); }
@media (max-width: 700px) { .alert form { grid-template-columns: 1fr; } .alert .btn { width: 100%; } }

/* related and brand index: card-file entries */
.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid var(--form); }
.rel { padding: 14px 16px; text-decoration: none; color: var(--ink); border-right: 1.5px solid var(--form); display: flex; flex-direction: column; gap: 2px; min-height: 44px; }
.rel:last-child { border-right: 0; }
.rel:hover { background: var(--paper-2); color: var(--ink); }
.rel b { font-weight: 700; font-size: 15px; }
.rel span { color: var(--ink-2); font-size: 13px; font-family: var(--type); }
@media (max-width: 700px) { .related { grid-template-columns: 1fr 1fr; } .rel:nth-child(2n) { border-right: 0; } .rel:nth-child(-n+2) { border-bottom: 1.5px solid var(--form); } }
.grid.tiles { display: block; border-top: 1.5px solid var(--form); margin-bottom: 40px; }
.tile { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.tile:hover { background: var(--paper-2); }
.tile b { font-weight: 700; font-size: 17px; }
.tile .ref { color: var(--ink-2); font-size: 13px; display: block; }
.tile .rng { font-size: 16px; }
.tile .meta { font-size: 13px; color: var(--ink-2); font-family: var(--type); }
.tile .meta em { font-style: normal; color: var(--stamp); }
@media (max-width: 700px) { .tile { grid-template-columns: 1fr 1fr; } .tile .meta { grid-column: 1 / -1; } }

.disclosure { font-size: 13px; color: var(--ink-2); margin-top: 44px; border-top: 1px solid var(--rule); padding-top: 14px; max-width: 72ch; }
.foot { border-top: 3px double var(--form); margin-top: 48px; padding-top: 18px; padding-bottom: 28px; font-size: 12.5px; color: var(--ink-2); font-family: var(--type); }
.foot a { color: var(--ink-2); }
@media (max-width: 700px) { .btn { width: 100%; } h1 { margin-top: 28px; } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* quiz: one question per form block */
.quiz { max-width: 760px; }
.qform { margin-top: 28px; }
.q { border: 1.5px solid var(--form); padding: 18px 20px 10px; margin: 0; }
.q legend { padding: 0 8px; font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
.q legend .qn { display: block; font-family: var(--type); font-size: 12px; color: var(--form); font-weight: 400; margin-bottom: 2px; }
.q label { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--rule); cursor: pointer; font-size: 16px; }
.q label:last-child { border-bottom: 0; }
.q input[type=radio] { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin: 0; border: 1.5px solid var(--form); background: #fff; flex-shrink: 0; }
.q input[type=radio]:checked { background: var(--form); box-shadow: inset 0 0 0 2.5px #fff; }
.q input[type=radio]:focus-visible { outline: 2px solid var(--form); outline-offset: 2px; }
.q.missing { border-color: var(--stamp); }
.q.missing legend::after { content: "  pick one"; color: var(--stamp); font-family: var(--type); font-weight: 400; font-size: 13px; }
.qnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.qnav .btn { width: auto; }
.btn.ghost { background: transparent; color: var(--form); border: 1.5px solid var(--form); }
.btn.ghost:hover { background: var(--paper-2); color: var(--form); }
.qresult h2 { margin-top: 32px; }
.qrank { font-family: var(--type); font-size: 12px; color: var(--stamp); margin: 0 0 2px; }
.qalert { margin-top: 32px; }
.qalert form, .qalert { display: block; }
.qalert label { display: flex; flex-direction: column; gap: 6px; max-width: 420px; margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 700px) { .qnav { flex-direction: row; } .qnav .btn { flex: 1; } }
.btn[hidden], [hidden] { display: none !important; }
.q legend { background: var(--paper); }
