/* Consign — layers on luxe.css tokens. Scoped with c- prefixes so nothing here
   leaks into the main Volo app.

   One rule drives the layout: every row (header, headline, paths, form,
   footer) sits on the same column, so all left and right edges line up. */

body.consign {
  --gutter: clamp(16px, 4vw, 48px);
  --col: 1080px;
  --rule: var(--line);
  font-size: 15px;
}

.c-col {
  width: 100%;
  max-width: calc(var(--col) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------------ intro */
.c-intro {
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
}

.c-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.c-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--bright); }
.c-brand:hover { color: var(--bright); }
.c-brand > span:first-child {
  font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: 0.01em;
}
.c-pill {
  font-size: 12px; color: var(--gold); letter-spacing: 0.02em;
  border: 1px solid var(--gold-line); border-radius: 999px; padding: 2px 11px 3px;
}
.c-preview { font-size: 12px; color: var(--faint); }

/* Hero: the headline is the one loud element on the page. */
/* Hero + options are one group, centred vertically in the space below the
   header (auto margins), with a fixed gap between them. */
.c-hero {
  margin-top: auto;
  padding-top: clamp(24px, 4vh, 48px);
}
.c-hero h1 {
  margin: 0;
  font-family: var(--serif); font-weight: 500; color: var(--bright);
  font-size: clamp(48px, 7.4vw, 96px);
  line-height: 1;
  letter-spacing: -0.015em;
}
.c-sub-head {
  margin: clamp(12px, 1.6vh, 20px) 0 0;
  font-family: var(--serif); font-weight: 500; color: var(--gold);
  font-size: clamp(24px, 2.55vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.c-hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  margin-top: clamp(28px, 4.5vh, 44px);
}
.c-lede { margin: 0; max-width: 54ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.c-cta {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--bright); color: #14130f; font-weight: 500; font-size: 14px;
  transition: background 0.15s;
}
.c-cta::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.c-cta:hover { color: #14130f; background: #fff; }
.c-cta:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Two ways to sell: identical structure in both columns so the bottoms align. */
.c-paths {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: clamp(40px, 7vh, 72px);
  margin-bottom: auto;
  padding-bottom: clamp(32px, 6vh, 64px);
}
.c-path {
  display: flex; flex-direction: column;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-2);
}
.c-path + .c-path { padding-left: clamp(24px, 4vw, 48px); border-left: 1px solid var(--rule); }
.c-path:first-child { padding-right: clamp(24px, 4vw, 48px); }
.c-path h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--bright); line-height: 1.1; }
.c-path p { margin: 0 0 22px; color: var(--muted); max-width: 46ch; }
.c-facts { margin: auto 0 0; display: grid; gap: 0; }
.c-facts div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-top: 1px solid var(--rule);
}
.c-facts dt { color: var(--muted); font-size: 14px; }
.c-facts dd { margin: 0; color: var(--text); font-size: 17px; font-variant-numeric: tabular-nums lining-nums; }
.c-facts .hi dt { color: var(--text); }
.c-facts .hi dd { color: var(--gold); }

/* ------------------------------------------------------------------- form */
.c-main { padding-top: clamp(36px, 6vh, 64px); padding-bottom: 96px; }

.c-form-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.c-form-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); font-weight: 500; color: var(--bright); line-height: 1; }
.c-form-head p { margin: 0; color: var(--muted); text-align: right; }

.c-step {
  margin: 0; padding: 30px 0 34px; border: 0; border-top: 1px solid var(--line-2);
  display: grid; grid-template-columns: 260px 1fr; gap: 0 48px; min-width: 0;
}
.c-step > * { grid-column: 2; min-width: 0; }
/* float turns the legend into an ordinary grid item so it can sit in the left column */
.c-step > legend { float: left; padding: 0; margin: 0; grid-column: 1; grid-row: 1 / span 6; }
.c-legend { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-size: 24px; color: var(--bright); line-height: 1.2; }
.c-legend span { font-family: var(--sans); font-size: 13px; color: var(--gold); font-variant-numeric: tabular-nums; }

.c-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.c-span { grid-column: 1 / -1; }
.c-field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); min-width: 0; }
.c-field input, .c-field select { width: 100%; }
.c-narrow { max-width: 300px; margin-top: 20px; }
.c-hint { font-size: 12.5px; color: var(--faint); }
.c-hint.bad { color: var(--red); }
.c-hint.ok { color: var(--green); }

.c-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.c-drop {
  position: relative; display: grid; place-items: center; height: clamp(150px, 16vw, 190px);
  border: 1px dashed var(--line-2); border-radius: 8px; cursor: pointer; overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.c-drop:hover, .c-drop:focus-within { border-color: var(--gold-line); background: var(--gold-soft); }
.c-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.c-drop-in { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 12px; pointer-events: none; }
.c-drop-in b { font-weight: 500; color: var(--text); font-size: 14px; }
.c-drop-in small { color: var(--faint); font-size: 12.5px; }
.c-drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--bg); pointer-events: none; }
.c-drop.has { border-style: solid; }

.c-estimate {
  margin-top: 22px; padding: 16px 0 0; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: baseline;
}
.c-est-k { color: var(--text); font-size: 14px; }
.c-est-k small { display: block; margin-top: 3px; color: var(--faint); font-size: 12px; }
.c-est-v { font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--bright); min-height: 20px; text-align: right; font-variant-numeric: tabular-nums lining-nums; line-height: 1.2; white-space: nowrap; }
.c-est-v.is-empty { font-family: var(--sans); font-size: 14px; font-weight: 400; color: var(--faint); }
.c-est-n { grid-column: 1 / -1; font-size: 12.5px; color: var(--faint); }

.c-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.c-opt { position: relative; display: block; cursor: pointer; }
.c-opt input { position: absolute; opacity: 0; }
.c-opt > span {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.c-opt b { font-weight: 500; color: var(--text); }
.c-opt small { font-size: 12.5px; color: var(--faint); line-height: 1.45; }
.c-opt i { font-style: normal; }
.c-opt:hover > span { border-color: var(--gold-line); }
.c-opt input:checked + span { border-color: var(--gold); background: var(--gold-soft); }
.c-opt input:focus-visible + span { outline: 2px solid var(--gold-line); outline-offset: 2px; }

.c-auction { margin-top: 24px; }
.c-sub { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.c-rank { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.c-rank li { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.c-rank .n { width: 18px; color: var(--gold); font-variant-numeric: tabular-nums; font-size: 13px; }
.c-rank .h { flex: 1; color: var(--text); }
.c-rank .h.custom { display: flex; align-items: center; gap: 10px; }
.c-rank .h.custom .ck { flex: 0 0 auto; }
.c-rank .h.custom input { flex: 1; min-width: 0; padding: 7px 12px; font-size: 14px; }
.c-rank .mv { padding: 5px 10px; background: transparent; color: var(--muted); border: 1px solid var(--line-2); font-size: 13px; line-height: 1; }
.c-rank .mv:hover:not(:disabled) { color: var(--bright); border-color: var(--gold-line); filter: none; }
.c-rank .mv.off { font-size: 15px; padding: 3px 9px; }
.c-rank .mv.on { font-size: 12.5px; padding: 6px 12px; }
.c-rank li.c-rank-head { padding: 16px 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.c-rank li.is-off .h { color: var(--muted); }

.c-notify { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.c-notify label, .c-agree { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--text); }
.c-notify input, .c-agree input { width: auto; accent-color: var(--gold); }

.c-submit {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 24px;
  padding-top: 26px; border-top: 1px solid var(--line-2);
}
.c-agree { font-size: 14px; }
.c-err { grid-column: 1 / -1; grid-row: 2; min-height: 0; font-size: 13.5px; color: var(--red); }
.c-err:empty { display: none; }
.c-submit button { padding: 13px 28px; border-radius: 999px; font-size: 14px; }
.c-submit button:focus-visible, .c-done button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ----------------------------------------------------------- confirmation */
.c-done { padding: 34px 0 0; border-top: 1px solid var(--gold-line); }
.c-check { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); }
.c-done h2 { margin: 20px 0 4px; font-family: var(--serif); font-size: 40px; font-weight: 500; color: var(--bright); line-height: 1.05; }
.c-done dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; margin: 26px 0; padding: 18px 0; border-block: 1px solid var(--rule); font-size: 14.5px; }
.c-done dt { color: var(--muted); }
.c-done dd { margin: 0; color: var(--text); overflow-wrap: anywhere; white-space: pre-line; }
.c-muted { color: var(--muted); }
.c-flag { font-size: 12.5px; color: var(--faint); }

.c-foot { border-top: 1px solid var(--line); }
.c-foot .c-col { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; padding-block: 20px; font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .c-step { grid-template-columns: 1fr; }
  .c-step > legend { grid-row: auto; margin-bottom: 18px; }
  .c-step > * { grid-column: 1; }
}
@media (max-width: 720px) {
  .c-hero-foot { flex-direction: column; align-items: flex-start; }
  .c-paths { grid-template-columns: 1fr; }
  .c-path + .c-path { padding-left: 0; border-left: 0; margin-top: 30px; }
  .c-path:first-child { padding-right: 0; }
  .c-grid, .c-choice { grid-template-columns: 1fr; }
  .c-form-head { flex-direction: column; gap: 10px; }
  .c-form-head p { text-align: left; }
  .c-narrow { max-width: none; }
  .c-submit { grid-template-columns: 1fr; }
  .c-submit button { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The dealer's name stands out wherever it appears in running text. */
strong.dn { font-weight: 600; color: var(--bright); }

/* ---------------------------------------------------- agreement + signing */
.c-submit-note { margin: 0; color: var(--muted); font-size: 14px; }
.c-ship { padding: 12px 16px; border-left: 2px solid var(--gold); background: var(--gold-soft); color: var(--text); font-size: 14px; }
.c-ship strong { color: var(--bright); }
.c-done-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.c-done-actions .ghost { border-radius: 999px; padding: 12px 22px; font-size: 14px; }
.c-cta-dl::after { transform: rotate(45deg); }

body.c-modal-open { overflow: hidden; }
.c-modal {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0px, 3vh, 32px) clamp(0px, 3vw, 32px);
  background: rgba(8, 7, 6, 0.72);
  backdrop-filter: blur(3px);
}
.c-sheet {
  width: min(820px, 100%); max-height: 100%; min-height: 0;
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.c-sheet-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 24px clamp(20px, 4vw, 40px) 18px; border-bottom: 1px solid var(--line);
}
.c-sheet-head h2 { margin: 0; font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--bright); line-height: 1.1; }
.c-sheet-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.c-x {
  flex: 0 0 auto; width: 38px; height: 38px; padding: 0; border-radius: 50%;
  background: transparent; color: var(--muted); border: 1px solid var(--line-2); font-size: 22px; line-height: 1;
}
.c-x:hover { color: var(--bright); border-color: var(--gold-line); filter: none; }
.c-sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 8px clamp(20px, 4vw, 40px) 32px; overscroll-behavior: contain; }

.c-doc-rows { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 18px 0 8px; font-size: 14px; }
.c-doc-rows dt, .c-doc-rows dd { margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.c-doc-rows dt { color: var(--muted); padding-right: 28px; }
.c-doc-rows dd { color: var(--text); overflow-wrap: anywhere; white-space: pre-line; }

.c-doc { font-size: 14.5px; line-height: 1.65; color: var(--text); }
.c-doc h4 { margin: 26px 0 6px; font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--bright); }
.c-doc p { margin: 0 0 10px; color: #cfc8b8; max-width: 68ch; }
.c-doc strong { color: var(--bright); font-weight: 600; }

.c-sign { margin-top: 30px; padding-top: 6px; border-top: 1px solid var(--line-2); }
.c-sign h3 { margin: 24px 0 14px; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--bright); }
.c-grid-tight { gap: 0 14px; }
.c-acks { display: grid; gap: 12px; }
.c-ack { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14.5px; color: var(--text); line-height: 1.5; }
.c-ack input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--gold); }
.c-ack strong { color: var(--bright); font-weight: 600; }
.c-sig {
  margin-top: 14px; padding: 6px 0 8px; border-bottom: 1px solid var(--text); max-width: 420px; min-height: 58px;
  display: flex; align-items: flex-end;
}
.c-sig span { font-family: var(--serif); font-style: italic; font-size: 38px; color: var(--bright); line-height: 1; }
.c-sig span.is-empty { color: var(--faint); font-size: 26px; }
.c-sig-meta { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.c-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.c-sign .c-err { margin-top: 18px; }
.c-sign-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 22px; }
.c-sign-actions > button { border-radius: 999px; padding: 13px 26px; font-size: 14px; }
.c-sign-actions > button:focus-visible, .c-x:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 720px) {
  .c-modal { padding: 0; align-items: stretch; }
  .c-sheet { border-radius: 0; border: 0; height: 100%; }
  .c-sign-actions { flex-direction: column-reverse; }
  .c-sign-actions > button { width: 100%; }
}

/* ------------------------------------------------- header (Volo format) */
.c-topbar { padding: 0 clamp(16px, 2vw, 26px); }
.c-topbar .brand { flex: 0 0 auto; }
.c-topbar .brand:hover { color: var(--bright); }
.c-topbar .topnav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
.c-topbar .topnav::-webkit-scrollbar { display: none; }
.c-topbar .navlink { white-space: nowrap; }
.c-idbtn { flex: 0 0 auto; text-decoration: none; font-size: 13px; }
.c-idbtn:hover { color: var(--text); }
.c-idlabel { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-short { display: none; }
@media (max-width: 720px) {
  .c-topbar { gap: 6px; }
  .c-topbar .brand { font-size: 17px; letter-spacing: 0.14em; margin-right: 4px; }
  .c-topbar .navlink { padding: 7px 10px; font-size: 12.5px; letter-spacing: 0.02em; }
  .c-long { display: none; }
  .c-short { display: inline; }
  .c-topbar .spacer { display: none; }
  .c-idbtn { margin-left: auto; padding: 4px; }
  .c-idbtn .c-idlabel { display: none; }
}

/* ------------------------------------------------------- shared page bits */
.c-page { padding-top: clamp(32px, 6vh, 56px); padding-bottom: 96px; min-height: calc(100vh - 64px - 57px); }
.c-page-wide { max-width: calc(1280px + 2 * var(--gutter)); }
.c-page h1 { margin: 0; font-family: var(--serif); font-weight: 500; color: var(--bright); font-size: clamp(36px, 4.4vw, 52px); line-height: 1.05; }
.c-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.c-page-head p { margin: 6px 0 0; }
.c-head-actions { display: flex; align-items: center; gap: 14px; }
.c-btn-ghost {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text); font-size: 13.5px; background: transparent; cursor: pointer;
}
.c-btn-ghost:hover { border-color: var(--gold-line); color: var(--bright); filter: none; }
.c-linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.c-linkbtn:hover { color: var(--bright); filter: none; }
.c-form-msg { min-height: 20px; color: var(--muted); font-size: 14px; }
.c-empty-note { padding: 24px 0; }
.c-sec-h { margin: 34px 0 12px; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--bright); }
.c-mini-h { margin: 22px 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; }

/* sign-in panels */
.c-signin { max-width: 560px; padding-top: clamp(20px, 6vh, 64px); }
.c-signin .c-lede { margin: 16px 0 24px; }
.c-inline-form { display: flex; gap: 10px; }
.c-inline-form input { flex: 1; min-width: 0; border-radius: 999px; padding: 12px 18px; }
.c-inline-form button { border-radius: 999px; padding: 12px 22px; white-space: nowrap; font-size: 14px; }
@media (max-width: 560px) { .c-inline-form { flex-direction: column; } }

/* stage pills */
.c-stage { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; white-space: nowrap; border: 1px solid var(--line-2); color: var(--muted); }
.c-routes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.c-routes:empty { display: none; }
.c-route { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; line-height: 1; padding: 4px 8px; border-radius: 4px; border: 1px solid; white-space: nowrap; }
.c-route-bid { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.c-route-auction { color: #9cc1e8; border-color: rgba(156, 193, 232, 0.4); background: rgba(156, 193, 232, 0.10); }
.c-tone-action { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.c-tone-live { color: #9cc1e8; border-color: rgba(156, 193, 232, 0.35); }
.c-tone-good { color: var(--green); border-color: rgba(138, 174, 144, 0.4); }
.c-tone-wait { color: var(--text); }
.c-tone-muted { color: var(--faint); }

/* totals */
.c-totals { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c-totals > div { padding: 14px 16px 14px 0; }
.c-totals > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.c-totals dt { font-size: 12.5px; color: var(--muted); }
.c-totals dd { margin: 4px 0 0; font-family: var(--serif); font-size: 26px; color: var(--bright); font-variant-numeric: tabular-nums lining-nums; }
@media (max-width: 720px) {
  .c-totals { grid-template-columns: 1fr 1fr; }
  .c-totals > div, .c-totals > div + div { padding: 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .c-totals > div:nth-child(-n+2) { border-top: 0; }
}

/* seller cards */
.c-cards { display: grid; gap: 10px; }
.c-card { border: 1px solid var(--line); border-radius: 10px; background: var(--bg-2); }
.c-card.open { border-color: var(--line-2); }
.c-card-top { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; background: transparent; color: inherit; border: 0; border-radius: 10px; text-align: left; font: inherit; }
.c-card-top:hover { filter: none; background: rgba(255, 255, 255, 0.015); }
.c-card-top:focus-visible { outline: 2px solid var(--gold-line); outline-offset: -2px; }
.c-card-name { color: var(--bright); font-size: 15.5px; }
.c-card-sub { color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.c-card-side { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.c-card-fact { display: flex; flex-direction: column; align-items: flex-end; min-width: 110px; font-size: 12px; }
.c-card-fact strong { font-weight: 500; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.c-card-detail { padding: 0 18px 18px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .c-card-top { flex-direction: column; align-items: flex-start; }
  .c-card-side { width: 100%; justify-content: space-between; }
  .c-card-fact { align-items: flex-end; }
}

/* offers awaiting the seller */
.c-offer-list { padding: 0 18px 16px; display: grid; gap: 10px; }
.c-offer { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; padding: 14px 16px; border: 1px solid var(--gold-line); border-radius: 8px; background: var(--gold-soft); }
.c-offer-k { font-size: 12.5px; color: var(--gold); }
.c-offer-v { font-family: var(--serif); font-size: 26px; color: var(--bright); line-height: 1.2; }
.c-offer .c-muted { font-size: 13px; margin: 2px 0 0; }
.c-offer-btns { display: flex; gap: 8px; }
.c-offer-btns button { border-radius: 999px; padding: 10px 20px; }
.c-offer .c-err { grid-column: 1 / -1; }
@media (max-width: 560px) { .c-offer { grid-template-columns: 1fr; } }

/* key/value lists, timelines, files */
.c-kv { display: grid; grid-template-columns: max-content 1fr; gap: 0 22px; margin: 14px 0 0; font-size: 14px; }
.c-kv dt, .c-kv dd { padding: 6px 0; border-top: 1px solid var(--line); margin: 0; }
.c-kv dt { color: var(--muted); }
.c-kv dd { color: var(--text); overflow-wrap: anywhere; white-space: pre-line; }
.c-timeline { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.c-timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.c-tl-at { color: var(--faint); font-variant-numeric: tabular-nums; }
.c-tl-text { color: var(--text); }
.c-file-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.c-empty-state { padding: 40px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--muted); }

/* ------------------------------------------------------------- dashboard */
.c-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.c-chip { background: transparent; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px; font-size: 13px; }
.c-chip:hover { color: var(--text); filter: none; border-color: var(--gold-line); }
.c-chip.active { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.c-chip-n { color: var(--faint); font-variant-numeric: tabular-nums; margin-left: 2px; }
.c-chip.active .c-chip-n { color: var(--gold); }
.c-dash { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: start; }
.c-dash-list input[type="search"] { width: 100%; margin-bottom: 10px; border-radius: 999px; padding: 10px 16px; }
.c-rows { display: grid; gap: 6px; }
.c-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--bg-2); color: inherit; border: 1px solid var(--line); border-radius: 8px; text-align: left; font: inherit; width: 100%; }
.c-row:hover { filter: none; border-color: var(--line-2); }
.c-row.active { border-color: var(--gold-line); background: var(--gold-soft); }
.c-row-name { color: var(--bright); font-size: 14.5px; }
.c-row-sub { color: var(--faint); font-size: 12px; margin-top: 2px; }
.c-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.c-row-next { font-size: 11.5px; color: var(--muted); }
.c-dash-detail { position: sticky; top: 84px; max-height: calc(100vh - 104px); overflow-y: auto; padding: 20px 22px 26px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); overscroll-behavior: contain; }
.c-detail-ref { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.c-detail-head h2 { margin: 4px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--bright); line-height: 1.15; }
.c-detail-meta { display: flex; align-items: center; gap: 12px; }
.c-flash { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; background: rgba(138, 174, 144, 0.12); color: var(--green); font-size: 13.5px; }
.c-gal { position: relative; min-width: 0; }
.c-gal-frame { display: block; }
.c-gal-nav {
  position: absolute; top: calc(50% - 30px); width: 28px; height: 28px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1;
  color: var(--bright); background: rgba(14,13,11,.72); border: 1px solid var(--line-2); cursor: pointer;
  opacity: .85; transition: opacity .15s, border-color .15s;
}
.c-gal-nav:hover { opacity: 1; border-color: var(--gold-line); filter: none; }
.c-gal-prev { left: 6px; }
.c-gal-next { right: 6px; }
.c-gal-dots { display: flex; justify-content: center; gap: 6px; margin-top: 9px; }
.c-gal-dot { width: 6px; height: 6px; padding: 0; border-radius: 50%; border: 0; background: var(--line-2); cursor: pointer; transition: background .15s, transform .15s; }
.c-gal-dot.is-on { background: var(--gold); transform: scale(1.25); }
.c-gal-dot:hover { filter: none; background: var(--muted); }
.c-gal-dot.is-on:hover { background: var(--gold); }
.c-gal-cap { margin-top: 6px; font-size: 11px; color: var(--faint); text-align: center; }
.c-thumbs { display: flex; gap: 10px; margin-top: 16px; }
.c-thumbs a { display: block; width: 110px; height: 150px; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; background: var(--bg); }
.c-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.c-acts { display: grid; gap: 10px; }
.c-act { padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.c-act-h { font-size: 14px; color: var(--bright); margin-bottom: 8px; }
.c-act-help { font-size: 12.5px; margin: -4px 0 8px; }
.c-act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-bottom: 10px; }
.c-act-grid .c-span { grid-column: 1 / -1; }
.c-act textarea { width: 100%; resize: vertical; }
.c-act button { border-radius: 999px; padding: 9px 18px; font-size: 13px; }
.c-act .c-err { margin-bottom: 8px; }
.c-act .c-err:empty { display: none; }
.c-act-danger { border-style: dashed; }
@media (max-width: 960px) {
  .c-dash { grid-template-columns: 1fr; }
  .c-dash-detail { position: static; max-height: none; }
}
@media (max-width: 560px) { .c-act-grid { grid-template-columns: 1fr; } .c-timeline li { grid-template-columns: 1fr; gap: 0; } }

/* ---- one-click sign-in ---- */
.c-google { max-width: 340px; margin: 6px 0 0; border: 1px solid #dadce0; border-radius: 999px; }
.c-or { margin: 22px 0 10px; font-size: 13px; color: var(--muted, #8a8578); }
.c-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: #14130f; color: #f8f3e7; border: 1px solid rgba(248,243,231,.15);
  padding: 11px 18px; border-radius: 999px; font-size: 14px; z-index: 1000;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  max-width: calc(100vw - 32px);
}
.c-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---- key terms (signing window) + full agreement page ---- */
.c-keyterms { margin: 22px 0 6px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); }
.c-keyterms-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.c-keyterms-head h3 { margin: 0; }
.c-keyterms ul { margin: 0; padding-left: 18px; }
.c-keyterms li { margin: 0 0 8px; line-height: 1.55; font-size: 14px; }
.c-keyterms-note { margin: 10px 0 0; font-size: 12.5px; }
.c-fulllink { color: var(--gold); text-decoration: none; font-size: 14px; white-space: nowrap; }
.c-fulllink:hover { text-decoration: underline; }
.c-agreement .c-doc h4 { scroll-margin-top: 84px; }
.c-toc { margin: 26px 0 30px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; }
.c-toc h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #8a8578); font-family: var(--sans); font-weight: 500; }
.c-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14px; line-height: 1.8; }
.c-toc a { color: var(--text); text-decoration: none; }
.c-toc a:hover { color: var(--gold); }
.c-ag-close { margin: 34px 0 0; }
@media (max-width: 640px) { .c-toc ol { columns: 1; } }
@media print {
  .c-topbar, .c-foot, .c-head-actions, .c-toc, .c-ag-close { display: none !important; }
  body.consign, .c-agreement { background: #fff !important; color: #000 !important; }
  .c-agreement * { color: #000 !important; }
}

/* ---- account pill + drawer ---- */
button.c-idbtn { font: inherit; font-size: 13px; cursor: pointer; background: transparent; }
.c-idbtn.is-in .avatar { background: var(--gold-soft); color: var(--gold); border-color: var(--gold-line); }
body.c-drawer-open { overflow: hidden; }
.c-drawer { width: min(460px, 100vw); }
.c-drawer .dh .x { background: none; border: 0; padding: 0 2px; }
.c-drawer .acct-head .acct-name { overflow-wrap: anywhere; }
.c-drawer-btn { width: 100%; justify-content: center; margin-top: 12px; border-radius: 999px; }
.c-payout-sum { display: flex; flex-direction: column; gap: 8px; }
.c-payout-sum .meta { margin: 0; }
.c-payout-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.c-payout-k { color: var(--bright); font-size: 14px; margin-bottom: 2px; }
.c-pref { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.c-drawer-back { margin: 0 0 16px; padding: 0; color: var(--muted); }
.c-drawer-title { font-family: var(--serif); font-size: 24px; color: var(--bright); line-height: 1.1; }
.c-drawer-lede { margin: 6px 0 20px; line-height: 1.5; }
.c-payout-form fieldset { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.c-payout-form legend { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; padding: 0; }
.c-payout-form .c-bank { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.c-payout-form .c-bank legend { float: left; width: 100%; grid-column: 1 / -1; margin: 0 0 2px; font-family: var(--serif); font-size: 21px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--bright); }
.c-payout-form .c-bank { margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.c-payout-form .c-field { grid-column: 1 / -1; margin: 0; }
.c-payout-form .c-field.c-half { grid-column: auto; }
.c-payout-form .c-kept { grid-column: 1 / -1; margin: -4px 0 0; font-size: 12px; }
.c-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c-seg-opt { position: relative; display: block; cursor: pointer; }
.c-seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.c-seg-text { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; transition: border-color .14s, background .14s; }
.c-seg-text b { font-weight: 500; color: var(--bright); font-size: 14px; }
.c-seg-text small { color: var(--muted); font-size: 12px; }
.c-seg-opt input:checked + .c-seg-text { border-color: var(--gold-line); background: var(--gold-soft); }
.c-seg-opt input:focus-visible + .c-seg-text { outline: 2px solid var(--gold); outline-offset: 2px; }
.c-drawer-actions { display: flex; justify-content: flex-end; margin-top: 4px; }
.c-drawer-actions button { border-radius: 999px; padding: 12px 24px; }
.c-payout-form .c-err { min-height: 0; margin: 0 0 10px; }

/* ---- signing window: three steps ---- */
.c-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 14px clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.c-steps li { position: relative; }
.c-steps button { width: 100%; display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 8px 0; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; text-align: left; border-bottom: 2px solid var(--line-2); border-radius: 0; }
.c-steps button:disabled { cursor: default; opacity: .55; }
.c-step-n { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-2); font-size: 12px; }
.c-steps .is-on button { color: var(--bright); border-bottom-color: var(--gold); }
.c-steps .is-on .c-step-n { background: var(--gold); border-color: var(--gold); color: #14130f; font-weight: 600; }
.c-steps .is-done button { color: var(--text); border-bottom-color: var(--gold-line); }
.c-steps .is-done .c-step-n { border-color: var(--gold-line); color: var(--gold); }
.c-pane h3:first-child { margin-top: 4px; }
.c-pane-lede { margin: -4px 0 6px; font-size: 13.5px; }
.c-keylist { margin: 6px 0 0; padding-left: 18px; }
.c-keylist li { margin: 0 0 10px; line-height: 1.6; font-size: 14.5px; }
@media (max-width: 720px) { .c-steps button { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12.5px; } }
.c-sign { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---- dealers panel ---- */
.c-dealers { margin: 0 0 26px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.c-dealers h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--bright); }
.c-dealers .c-muted { margin: 0 0 14px; font-size: 13.5px; }
.c-dealer-list { list-style: none; margin: 0 0 14px; padding: 0; }
.c-dealer-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text); }
.c-drawer .acct-role { display: inline-block; }
button.c-btn-ghost { font-family: inherit; }

/* ---- shipping settings (dashboard) + ship box (My cards) ---- */
.c-dealers + .c-dealers { margin-top: -10px; }
.c-ship-form { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; max-width: 720px; }
.c-ship-form .c-span { grid-column: 1 / -1; }
.c-ship-actions { grid-column: 1 / -1; display: flex; justify-content: flex-start; }
.c-ship-actions button { border-radius: 999px; padding: 11px 22px; }
.c-btn-warn { border-color: var(--gold-line); color: var(--gold); background: var(--gold-soft); }
.c-shipbox { margin: 0 18px 18px; padding: 16px 18px; border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 12px; }
.c-shipbox h4 { margin: 0 0 10px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--bright); }
.c-shipbox-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; }
.c-ship-addr { font-size: 14px; line-height: 1.6; color: var(--bright); white-space: pre-line; }
.c-shipbox ol { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--text); }
.c-shipbox ol li { margin-bottom: 4px; }
.c-track { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.c-track select { width: auto; }
.c-track input { flex: 1 1 200px; width: auto; }
.c-track button { border-radius: 999px; padding: 10px 18px; }
.c-shipped { margin-top: 12px; font-size: 13.5px; color: var(--text); }
@media (max-width: 720px) { .c-shipbox-grid, .c-ship-form { grid-template-columns: 1fr; } .c-shipbox { margin: 0 12px 14px; } }

/* ---- legal pages + footer links ---- */
.c-foot-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.c-foot-by { color: var(--muted); }
.c-foot-links a { color: var(--muted); text-decoration: none; }
.c-foot-links a:hover { color: var(--bright); }
.c-legal .c-doc a { color: var(--gold); }
.c-legal .c-doc b { color: var(--bright); font-weight: 600; }
.c-legal-note { font-size: 12.5px; margin: 10px 0 0; }
.c-legal-note a { color: var(--gold); }
@media (max-width: 720px) { .c-foot-links { gap: 14px; } }
.c-pay-hint { margin: 2px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.c-pay-hint:empty { display: none; }
.c-pay-to { white-space: pre-line; color: var(--bright); margin: 4px 0 6px; line-height: 1.55; font-variant-numeric: tabular-nums; }
.c-pay-hint .c-linkbtn { padding: 0; }

/* ======================================================= phone polish */
@media (max-width: 720px) {
  /* iOS zooms into inputs smaller than 16px; keep everything at 16px on phones. */
  body.consign input, body.consign select, body.consign textarea { font-size: 16px; }

  /* Header: signed out shows "Sign in"; signed in shows just the initial. */
  .c-idbtn:not(.is-in) .c-idlabel { display: inline; font-size: 12.5px; }
  .c-idbtn:not(.is-in) .avatar { display: none; }
  .c-idbtn:not(.is-in) { padding: 6px 12px; }
  /* Dealers reach the Dashboard from the account drawer on phones. */
  .c-topbar .navlink[data-tab="dashboard"]:not(.active) { display: none; }
  /* On the Dashboard itself, make room for its tab (the brand already links to Sell). */
  .c-topbar .topnav:has(.navlink[data-tab="dashboard"].active) .navlink[data-tab="sell"] { display: none; }

  /* Primary buttons span the width; easier to hit. */
  .c-submit button, .c-google, .c-inline-form button, .c-inline-form input { width: 100%; max-width: none; }
  .c-inline-form { flex-direction: column; align-items: stretch; }

  /* Signing window: shorter title, actions always visible at the bottom. */
  .c-sheet-head { padding: 16px 16px 12px; }
  .c-sheet-head h2 { font-size: 24px; }
  .c-sheet-head p { font-size: 13px; }
  .c-steps { padding: 10px 16px; }
  .c-sheet-body { padding-left: 16px; padding-right: 16px; padding-bottom: 0; }
  .c-sign-actions {
    position: sticky; bottom: 0; z-index: 2; margin: 18px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--bg-2); border-top: 1px solid var(--line); flex-direction: row; gap: 10px;
  }
  .c-sign-actions > button { flex: 1 1 0; padding: 13px 12px; }
  .c-sign .c-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .c-sign .c-grid > .c-field:not(.c-span) { grid-column: 1 / -1; }
  .c-sign .c-grid-tight { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .c-sign .c-grid.c-grid-tight > .c-field:not(.c-span) { grid-column: auto; }

  /* Dashboard: compact action row, detail below the list. */
  .c-page-head .c-head-actions { flex-wrap: wrap; gap: 8px; }
  .c-page-head .c-head-actions .c-btn-ghost { padding: 8px 14px; font-size: 13px; white-space: nowrap; }
  .c-page-head .c-head-actions .c-linkbtn { white-space: nowrap; }
  .c-dash { grid-template-columns: 1fr; }
  .c-dash-detail:has(> .c-empty-note:only-child) { display: none; }
  .c-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
  .c-filters::-webkit-scrollbar { display: none; }
  .c-filters > * { flex: 0 0 auto; }

  /* Drawer fills the phone. */
  .c-drawer { width: 100vw; }
  .c-payout-form .c-bank { grid-template-columns: 1fr; }
  .c-payout-form .c-field.c-half { grid-column: 1 / -1; }

  /* Long tracking numbers, refs and URLs wrap instead of overflowing. */
  .c-kv dd, .c-tl-text, .c-card-sub, .c-shipped { overflow-wrap: anywhere; }
}

@media (max-width: 720px) {
  .c-topbar { gap: 4px; }
  .c-topbar .brand { font-size: 15px; letter-spacing: 0.1em; margin-right: 2px; }
  .c-topbar .navlink { padding: 6px 8px; font-size: 12.5px; }
  .c-dash-detail { scroll-margin-top: 76px; }
}
@media (max-width: 370px) {
  .c-topbar .brand { font-size: 14px; letter-spacing: 0.06em; }
  .c-topbar .navlink { padding: 6px 6px; font-size: 12px; }
  .c-idbtn:not(.is-in) { padding: 6px 9px; }
}

/* ---- Sell page on phones: both ways to sell side by side, visible together ---- */
@media (max-width: 720px) {
  .c-hero { padding-top: 22px; }
  .c-hero h1 { font-size: 44px; }
  .c-sub-head { font-size: 21px; margin-top: 10px; }
  .c-hero-foot { margin-top: 18px; gap: 16px; }
  .c-lede { font-size: 14.5px; line-height: 1.55; }
  .c-paths { grid-template-columns: 1fr 1fr; margin-top: 26px; padding-bottom: 24px; }
  .c-path { padding: 16px 0 0; }
  .c-path:first-child { padding-right: 14px; }
  .c-path + .c-path { padding-left: 14px; margin-top: 0; border-left: 1px solid var(--rule); }
  .c-path h2 { font-size: 21px; margin-bottom: 6px; }
  .c-path p { font-size: 13px; line-height: 1.45; margin-bottom: 12px; }
  .c-facts div { display: block; padding: 8px 0; }
  .c-facts dt { font-size: 11.5px; line-height: 1.3; }
  .c-facts dd { font-size: 15px; margin-top: 2px; }
}

/* ---- card picker (submit form) ---- */
.c-card-field { position: relative; }
.c-card-list { position: absolute; left: 0; right: 0; top: calc(100% - 18px); z-index: 20; margin: 0; padding: 6px; list-style: none; max-height: 340px; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.c-card-opt { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 8px; cursor: pointer; }
.c-card-opt:hover, .c-card-opt.is-active { background: var(--gold-soft); }
.c-card-opt img { width: 34px; height: 47px; object-fit: cover; border-radius: 3px; flex: 0 0 auto; background: var(--surface-2); }
.c-card-opt b { display: block; color: var(--bright); font-weight: 500; font-size: 14px; }
.c-card-opt small { color: var(--muted); font-size: 12px; }
.c-est-tiers { grid-column: 1 / -1; margin: 4px 0 0; display: grid; gap: 0; }
.c-est-tiers div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.c-est-tiers dt { color: var(--text); font-size: 14px; }
.c-est-tiers dt small { color: var(--faint); font-size: 12px; margin-left: 6px; }
.c-est-tiers dd { margin: 0; color: var(--bright); font-size: 16px; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
@media (max-width: 720px) { .c-est-tiers dt small { display: block; margin: 2px 0 0; } }

/* ---- dashboard summary bar ---- */
.c-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
.c-tile { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: inherit; font: inherit; cursor: pointer; transition: border-color .14s, background .14s; min-width: 0; }
.c-tile:hover, .c-tile.active { border-color: var(--gold-line); background: var(--gold-soft); }
.c-tile-k { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.c-tile-v { font-family: var(--serif); font-size: 30px; color: var(--bright); line-height: 1.05; font-variant-numeric: tabular-nums lining-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-tile-s { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-tile-warn .c-tile-v { color: var(--gold); }
@media (max-width: 1100px) { .c-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .c-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .c-tile { padding: 12px; } .c-tile-v { font-size: 24px; } }
.c-notify label.is-off { opacity: .5; }
.c-photo-lede { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.c-photo-lede.is-busy { color: var(--gold); }
.c-photo-lede.is-ok { color: var(--green); }
.c-photos.c-photos-top { margin: 0 0 26px; }
.c-field .is-slab { border-color: var(--gold-line); background: var(--gold-soft); color: var(--bright); opacity: 1; }
/* One main photo (front, read automatically) + an optional back photo */
.c-photos.c-photos-top { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.c-drop-main { height: clamp(180px, 20vw, 240px); }
.c-drop-side { height: clamp(180px, 20vw, 240px); }
.c-drop-side .c-drop-in b { font-size: 13px; }
@media (max-width: 720px) {
  .c-photos.c-photos-top { grid-template-columns: 1fr; gap: 10px; }
  .c-drop-main { height: 190px; }
  .c-drop-side { height: 64px; }
  .c-drop-side .c-drop-in { flex-direction: row; gap: 8px; }
}

/* ---- "Your card" panel (shown once the slab is read) ---- */
.c-found { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px); border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.c-found-media { display: flex; flex-direction: column; gap: 12px; }
.c-found-pic { position: relative; width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.c-found-pic::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--gold); box-shadow: 0 0 12px var(--gold); opacity: 0; pointer-events: none; }
.c-found-pic.is-reading::after { opacity: .9; animation: c-scan 2.2s ease-in-out infinite; }
.c-found-pic.is-reading img { filter: brightness(.75); }
@keyframes c-scan { 50% { top: calc(100% - 3px); } }
@media (prefers-reduced-motion: reduce) { .c-found-pic.is-reading::after { animation: none; top: 50%; } }
.c-found-pic > img { width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 12px; background: var(--surface-2); display: block; }
.c-found-yours { margin: 0; display: flex; align-items: center; gap: 10px; }
.c-found-yours img { width: 44px; height: 62px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); background: var(--bg); }
.c-found-yours figcaption { font-size: 12px; color: var(--faint); }
.c-found-body { display: flex; flex-direction: column; min-width: 0; }
.c-found-k { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.c-found-name { margin: 6px 0 4px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; color: var(--bright); }
.c-found-set { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.c-found-facts { margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.c-found-facts > div { padding: 10px 0; border-top: 1px solid var(--rule); min-width: 0; }
.c-found-facts dt { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.c-found-facts dd { margin: 0; color: var(--bright); font-size: 15px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums lining-nums; }
.c-found-facts dd small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 3px; }
.c-found-select { width: auto; padding: 6px 30px 6px 10px; font-size: 14px; }
#foundValue .c-estimate { margin-top: 8px; }
.c-found-actions { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.c-found-back { cursor: pointer; font-size: 13px; color: var(--muted); }
.c-found-back:hover { color: var(--bright); }
.c-found-actions .c-btn-ghost { margin-left: auto; }
@media (max-width: 720px) {
  .c-found { grid-template-columns: 1fr; padding: 16px; }
  .c-found-media { flex-direction: row; align-items: flex-end; }
  .c-found-pic { width: 46%; max-width: 200px; }
  .c-found-facts { grid-template-columns: 1fr; }
  .c-found-actions { flex-direction: column-reverse; align-items: stretch; }
  .c-found-actions .c-btn-ghost { margin-left: 0; justify-content: center; }
  .c-found-back { text-align: center; }
}
.c-photo-tips { margin: -6px 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--faint); }
.c-photo-tips li { position: relative; padding-left: 12px; }
.c-photo-tips li::before { content: ""; position: absolute; left: 0; top: .6em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
@media (max-width: 720px) { .c-photo-tips { flex-direction: column; gap: 4px; } }
.c-found-facts.c-found-pop { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -6px; }
.c-found-facts.c-found-pop.has-gem { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 720px) { .c-found-facts.c-found-pop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; } .c-found-facts.c-found-pop.has-gem { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Signing window, step 1: card image on the left, details on the right */
.c-doc-card.has-img { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 16px; }
.c-doc-card img { width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 12px; background: var(--surface-2); box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.c-doc-card.has-img .c-doc-rows { margin-top: 0; }
@media (max-width: 720px) { .c-doc-card.has-img { grid-template-columns: 38% minmax(0, 1fr); gap: 16px; } .c-doc-card.has-img .c-doc-rows { grid-template-columns: 1fr; } .c-doc-card.has-img .c-doc-rows dt { padding-bottom: 0; border-bottom: 0; } .c-doc-card.has-img .c-doc-rows dd { border-top: 0; padding-top: 2px; } }

/* ---- card art (official image / seller photo / placeholder) ---- */
.c-art { position: relative; flex: 0 0 auto; aspect-ratio: 63 / 88; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.c-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-art.is-photo img { object-fit: contain; background: var(--bg); }
.c-art.is-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px solid var(--gold-line); background: linear-gradient(160deg, #1b1914, #0f0e0b); }
.c-art-z { font-family: var(--serif); color: var(--gold); font-size: 1.6em; line-height: 1; }
.c-art-g { font-size: 10px; letter-spacing: .04em; color: var(--muted); text-align: center; padding: 0 4px; }
.c-art-sm { width: 40px; font-size: 14px; }
.c-art-md { width: 54px; font-size: 18px; }
.c-art-lg { width: 100%; border-radius: 12px; font-size: 40px; box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.c-art-lg .c-art-g { font-size: 13px; }
.c-row .c-row-main, .c-card-top .c-card-main { flex: 1 1 auto; min-width: 0; }
.c-dhero { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 18px; }
.c-dhero .c-detail-head { margin: 0; }
.c-dhero-sub { color: var(--muted); font-size: 13.5px; margin: 4px 0 10px; }
.c-dhero-value { display: grid; grid-template-columns: auto auto; gap: 2px 14px; justify-content: start; align-items: baseline; margin: 6px 0 10px; }
.c-dhero-value strong { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--bright); font-variant-numeric: tabular-nums lining-nums; }
.c-dhero-value .c-muted { font-size: 12px; }
.c-dhero-manual { margin: 6px 0 10px; font-size: 13px; color: var(--gold); }
@media (max-width: 720px) {
  .c-dhero { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .c-card-top { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .c-card-top > .c-art { grid-row: span 2; }
}

/* ---- slide to sign and submit ---- */
.c-slide { position: relative; flex: 1 1 320px; max-width: 420px; height: 52px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--gold-line); overflow: hidden; user-select: none; touch-action: none; }
.c-slide-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 52px; background: var(--gold-soft); border-radius: 999px; }
.c-slide-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-left: 40px; font-size: 14px; color: var(--text); letter-spacing: .01em; pointer-events: none; }
.c-slide-knob { position: absolute; left: 4px; top: 4px; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 0; background: var(--gold); color: #14130f; font-size: 18px; font-weight: 600; cursor: grab; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.35); touch-action: none; }
.c-slide-knob:active { cursor: grabbing; }
.c-slide-knob:focus-visible { outline: 2px solid var(--bright); outline-offset: 2px; }
.c-slide.is-busy .c-slide-text, .c-slide.is-done .c-slide-text { padding: 0; }
.c-slide.is-busy .c-slide-knob span { display: inline-block; animation: c-spin 1s linear infinite; }
@keyframes c-spin { to { transform: rotate(360deg); } }
@media (max-width: 720px) { .c-slide { max-width: none; } }
/* Final-step actions stay visible at the bottom of the signing window */
.c-sign-actions { position: sticky; bottom: 0; z-index: 2; background: var(--bg-2); padding: 14px 0 18px; margin-bottom: -32px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .c-sign-actions { margin: 18px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); } }
.c-track-carrier { align-self: center; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); min-width: 0; }
.c-track-carrier.on { color: var(--green); }
.c-track-carrier:empty { display: none; }

/* ---- asking price + note (submit, step 2) ---- */
.c-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px 20px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule); }
.c-money { position: relative; display: block; }
.c-money > span { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 14px; pointer-events: none; }
.c-money input { padding-left: 26px; font-variant-numeric: tabular-nums; }
.c-note textarea { width: 100%; resize: vertical; min-height: 84px; font-family: var(--sans); }
@media (max-width: 720px) { .c-extra { grid-template-columns: 1fr; } }

/* ---- counteroffers ---- */
.c-counter-form { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.c-counter-form button { border-radius: 999px; padding: 11px 18px; white-space: nowrap; }
.c-counter-wait { margin: 0 18px 16px; padding: 12px 14px; border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 10px; font-size: 14px; }
.c-counter-box { padding: 14px 16px; margin-bottom: 12px; border: 1px solid var(--gold-line); background: var(--gold-soft); border-radius: 10px; }
.c-counter-k { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.c-counter-v { font-family: var(--serif); font-size: 30px; color: var(--bright); line-height: 1.1; margin: 4px 0 2px; }
.c-counter-note { margin: 8px 0 0; color: var(--text); font-style: italic; }
@media (max-width: 720px) { .c-counter-form { grid-template-columns: 1fr; } .c-counter-wait { margin: 0 12px 14px; } }
.c-decline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.c-decline-form textarea { width: 100%; resize: vertical; font-family: var(--sans); }
.c-decline-form button { border-radius: 999px; padding: 11px 18px; white-space: nowrap; }
.c-decline-form button:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 720px) { .c-decline-form { grid-template-columns: 1fr; } }

/* Section 2: route panes. "Show me both" steps through bid, then auction. */
.c-both-steps { display: flex; gap: 8px; margin-top: 24px; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; width: fit-content; }
.c-both-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.c-both-tab span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--rule); font-size: 11.5px; }
.c-both-tab.is-on { background: var(--gold-soft); color: var(--bright); }
.c-both-tab.is-on span { border-color: var(--gold-line); color: var(--gold); }
.c-both-tab.is-done span { background: var(--gold-soft); border-color: var(--gold-line); color: var(--gold); }
.c-pane-lede { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.c-auction .c-pane-lede + .c-sub { margin-top: 14px; }
.c-pane-nav { display: flex; justify-content: flex-end; margin-top: 20px; }
#aucNav { justify-content: flex-start; }
@media (max-width: 720px) { .c-both-steps { width: 100%; } .c-both-tab { flex: 1; justify-content: center; } .c-pane-nav .c-btn-ghost { width: 100%; justify-content: center; } }

/* Archive */
.c-chip-quiet { opacity: .75; }
.c-archived-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid var(--gold-line); border-radius: 12px; background: var(--gold-soft); font-size: 13.5px; color: var(--text); }
.c-archive-one { display: block; margin-top: 26px; }

/* ============================================================ How it works */
.c-cta-row { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
/* Secondary pill: same shape as the main button, outlined. */
.c-cta.c-cta-ghost { background: transparent; color: var(--bright); border: 1px solid var(--line-2); padding: 12px 23px; }
.c-cta.c-cta-ghost::after { display: none; }
.c-cta.c-cta-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--gold-line); color: var(--bright); }
.h-page { padding-bottom: 40px; }
.h-hero { padding-top: clamp(48px, 9vh, 96px); padding-bottom: clamp(28px, 5vh, 48px); }
.h-kicker { margin: 0 0 14px; color: var(--gold); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.h-hero h1 { margin: 0 0 18px; font-family: var(--serif); font-weight: 500; color: var(--bright); font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }

.h-rail { position: sticky; top: 64px; z-index: 15; background: rgba(14, 13, 11, 0.92); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.h-rail ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.h-rail ol::-webkit-scrollbar { display: none; }
.h-rail li { flex: 1 0 auto; }
.h-rail a { display: flex; align-items: center; gap: 10px; padding: 14px 10px; color: var(--muted); font-size: 13.5px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.h-rail a span { font-variant-numeric: lining-nums; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--serif); font-size: 13px; color: var(--muted); }
.h-rail a:hover { color: var(--bright); }
.h-rail a.on { color: var(--bright); border-bottom-color: var(--gold); }
.h-rail a.on span { border-color: var(--gold-line); background: var(--gold-soft); color: var(--gold); }

.h-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; padding: clamp(56px, 10vh, 104px) 0; border-bottom: 1px solid var(--rule); scroll-margin-top: 130px; }
.h-step.flip .h-copy { order: 2; }
.h-num { font-variant-numeric: lining-nums; font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .08em; margin-bottom: 10px; }
.h-step h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 500; color: var(--bright); font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; }
.h-lede { margin: 0 0 20px; color: var(--text); font-size: 16.5px; line-height: 1.6; max-width: 46ch; }
.h-copy ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; max-width: 50ch; }
.h-copy li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.h-copy li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: .8; }
.h-next { color: var(--gold); font-size: 14px; }
.h-next:hover { color: var(--bright); }

/* The little "screens" in each step. */
.h-vis { position: relative; display: grid; gap: 14px; align-content: center; min-height: 300px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(120% 90% at 100% 0%, rgba(201, 169, 97, 0.08), transparent 60%), var(--surface); }
.h-eg { position: absolute; top: 14px; right: 16px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.h-vis .k { display: block; font-size: 12.5px; color: var(--muted); }
.h-vis .m { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.hv-slab { width: 132px; margin: 0 auto; padding: 8px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.hv-label { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 4px; background: #e9e4d8; color: #14130f; font-size: 10px; }
.hv-label span { font-weight: 600; color: #b3261e; }
.hv-card { margin-top: 8px; aspect-ratio: 63 / 88; border-radius: 6px; background: linear-gradient(150deg, #e3b04b, #c4512f 55%, #6b2d5c); }
.hv-panel { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); }
.hv-chip { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; font-size: 12px; color: var(--green); border: 1px solid rgba(138, 174, 144, 0.35); }
.hv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 12px; }
.hv-facts dt { font-size: 11.5px; color: var(--muted); }
.hv-facts dd { margin: 2px 0 0; font-size: 13.5px; color: var(--text); white-space: nowrap; }
.hv-value { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.hv-value b { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--bright); }
.hv-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hv-opt { padding: 12px 10px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); text-align: center; }
.hv-opt.on { border-color: var(--gold-line); background: var(--gold-soft); color: var(--bright); }
.hv-rank { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.hv-rank li { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--rule); font-size: 14px; color: var(--text); }
.hv-rank i { font-style: normal; color: var(--gold); font-size: 12.5px; width: 12px; }
.hv-rank li.off { color: var(--muted); padding-left: 26px; }
.hv-rank li.off small { margin-left: auto; font-size: 11.5px; color: var(--faint); }
.hv-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-size: 12.5px; color: var(--muted); }
.hv-tabs span { padding-bottom: 8px; border-bottom: 2px solid var(--line-2); }
.hv-tabs .done { border-color: var(--gold-line); }
.hv-tabs .on { border-color: var(--gold); color: var(--bright); }
.hv-sig { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bright); }
.hv-slide { position: relative; padding: 14px; border-radius: 999px; border: 1px solid var(--line-2); text-align: center; font-size: 13.5px; color: var(--muted); }
.hv-slide .knob { position: absolute; left: 5px; top: 5px; bottom: 5px; width: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--bright); color: #14130f; }
.hv-offer { padding: 18px; border-radius: 14px; border: 1px solid var(--gold-line); background: var(--surface-2); }
.hv-offer b { display: block; margin: 4px 0 2px; font-family: var(--serif); font-weight: 500; font-size: 38px; color: var(--bright); line-height: 1.1; }
.hv-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.hv-btns span { padding: 10px 6px; border-radius: 999px; border: 1px solid var(--line-2); text-align: center; font-size: 13px; color: var(--text); }
.hv-btns .on { background: var(--bright); color: #14130f; border-color: var(--bright); }
.hv-ship { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface-2); }
.hv-ship b { display: block; margin-top: 4px; color: var(--bright); font-weight: 500; }
.hv-track { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.hv-track b { font-weight: 500; color: var(--green); font-size: 12.5px; white-space: nowrap; }
.hv-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 0; }
.hv-timeline li { position: relative; padding: 0 0 22px 26px; color: var(--muted); font-size: 14px; }
.hv-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); }
.hv-timeline li::after { content: ""; position: absolute; left: 5px; top: 18px; bottom: 2px; width: 1px; background: var(--line-2); }
.hv-timeline li:last-child { padding-bottom: 0; }
.hv-timeline li:last-child::after { display: none; }
.hv-timeline li.done { color: var(--text); }
.hv-timeline li.done::before { background: var(--gold-soft); border-color: var(--gold-line); }
.hv-timeline li.on { color: var(--bright); }
.hv-timeline li.on::before { background: var(--gold); border-color: var(--gold); }
.hv-timeline li.on b { display: block; margin-top: 4px; font-family: var(--serif); font-weight: 500; font-size: 30px; color: var(--bright); }

.h-h2 { margin: 0 0 24px; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 36px); color: var(--bright); }
.h-why { padding-top: clamp(56px, 10vh, 96px); }
.h-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.h-why-item { padding: 20px 22px 4px 0; }
.h-why-item + .h-why-item { padding-left: 22px; border-left: 1px solid var(--rule); }
/* First item leads: full width, larger, then the four points below it. */
.h-why-item:first-child { grid-column: 1 / -1; padding: 24px 0 26px; border-bottom: 1px solid var(--rule); }
.h-why-item:first-child b { font-size: 26px; }
.h-why-item:first-child p { font-size: 16px; color: var(--text); max-width: 70ch; }
.h-why-item:nth-child(2) { padding-left: 0; border-left: 0; }
.h-why-item b { display: block; margin-bottom: 8px; font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--gold); }
.h-why-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.h-faq-wrap { padding-top: clamp(56px, 10vh, 96px); }
.h-faq-wrap .faq { max-width: 820px; }
.h-end { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(56px, 10vh, 96px); padding-top: 28px; padding-bottom: 28px; border-top: 1px solid var(--line-2); }
.h-end p { margin: 0; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); color: var(--bright); }

@media (max-width: 900px) {
  .h-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-why-item:nth-child(4) { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  .c-cta-row { gap: 10px; }
  .h-rail a { padding: 12px 8px; font-size: 13px; }
  .h-step, .h-step.flip { grid-template-columns: 1fr; gap: 26px; padding: 48px 0; }
  .h-step.flip .h-copy { order: 0; }
  .h-vis { min-height: 0; padding-top: 42px; }
  .hv-facts { grid-template-columns: auto auto auto; justify-content: space-between; }
  .hv-facts dd { font-size: 12.5px; }
  .h-why-grid { grid-template-columns: 1fr; }
  .h-why-item, .h-why-item + .h-why-item { padding: 18px 0 14px; border-left: 0; border-bottom: 1px solid var(--rule); }
  .h-end { flex-direction: column; align-items: flex-start; }
}
/* Phones: the prompt on its own line, then Email and Text side by side. */
@media (max-width: 720px) {
  .c-notify > span:first-child { flex-basis: 100%; }
  .c-notify label { white-space: nowrap; }
}

/* Photo-first card entry: manual fields sit behind this link-style button. */
.c-manual-btn {
  display: block; width: 100%; margin: 4px 0 6px; padding: 14px 16px;
  font: inherit; font-size: 14px; color: var(--muted); text-align: center;
  background: transparent; border: 1px dashed var(--line-2); border-radius: 10px; cursor: pointer;
}
.c-manual-btn span { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.c-manual-btn:hover { border-color: var(--gold-line); color: var(--text); }
.c-photo-back { display: block; margin: 0 0 18px; padding: 0; font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; cursor: pointer; text-align: left; }
.c-photo-back span { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.c-photo-back:hover { color: var(--text); }
#manualFields:not([hidden]) { animation: c-reveal .35s ease both; }
@keyframes c-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.c-quote-ack { margin: 4px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.02); }
.c-submit-note a { color: var(--text); }
.c-code-form { margin-top: 12px; }
.c-code-form input { letter-spacing: .3em; font-variant-numeric: tabular-nums; max-width: 200px; }
.c-drawer-del { display: block; margin-top: 16px; font-size: 13px; color: var(--faint); }
.c-del-confirm { margin-top: 14px; padding: 14px; border: 1px solid rgba(214, 120, 110, .35); border-radius: 10px; background: rgba(214, 120, 110, .06); }
.c-del-confirm p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.5; color: var(--text); }
.c-del-row { display: flex; gap: 8px; }
.c-del-row button { flex: 1; border-radius: 999px; padding: 10px 12px; font-size: 13.5px; }
.c-btn-danger { background: var(--red); color: #14130f; border: 0; }
.c-variant-note { grid-column: 1 / -1; margin: -6px 0 0; } .c-variant-note .c-linkbtn { font-size: inherit; color: var(--gold); }
.c-apple { margin-top: 10px; } .c-apple svg { width: 16px; height: 18px; }
.c-pop-k { margin: 2px 0 10px; }
.c-pop-k + .c-found-facts.c-found-pop { margin-top: 0; }
/* Deadline clocks (24 hours on both sides) */
.c-clock { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-clock::before { content: ""; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; box-sizing: border-box; background: linear-gradient(currentColor, currentColor) 50% 25% / 1.5px 35% no-repeat, linear-gradient(currentColor, currentColor) 62% 50% / 30% 1.5px no-repeat; }
.c-clock.is-ours { color: var(--gold); }
.c-clock.is-soon.is-ours, .c-clock.is-over.is-ours { color: #f0857a; }
.c-clock.is-over:not(.is-ours) { color: var(--faint); }
.c-tone-urgent { color: #f0857a; border-color: rgba(224, 102, 91, 0.6); background: rgba(224, 102, 91, 0.14); }
/* Dashboard detail: pinned top (card, facts, clock, quick actions) */
.c-dtop { position: sticky; top: -20px; z-index: 3; margin: -20px -22px 14px; padding: 20px 22px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.c-dtop .c-dhero { margin-bottom: 12px; }
.c-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.c-quick-btn { border-radius: 999px; padding: 7px 14px; font-size: 13px; background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.c-quick-btn:hover { border-color: var(--gold-line); color: var(--bright); filter: none; }
.c-quick-btn.is-urgent { background: #e0665b; border-color: #e0665b; color: #fff; font-weight: 600; }
.c-quick-btn.is-urgent:hover { filter: brightness(1.08); color: #fff; }
.c-flash-target { animation: c-flash-target 1.4s ease; }
@keyframes c-flash-target { 0%, 40% { box-shadow: 0 0 0 2px var(--gold); } 100% { box-shadow: 0 0 0 0 transparent; } }
.c-req { color: var(--red); margin-left: 3px; }
.c-offer-sec { border: 0; margin: 0 0 6px; padding: 0; }
.c-offer-sec legend { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; padding: 0; }
.c-offer-sec + .c-offer-sec { border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 960px) { .c-dtop { position: static; margin: 0 0 14px; padding: 0 0 14px; } }
.c-found-media img.is-photo { object-fit: contain; background: var(--bg); }
/* Signing sheet: the price or plan being agreed to, big and on its own */
.c-deal { display: grid; gap: 10px; margin: 4px 0 18px; }
.c-deal-row { padding: 16px 18px; border: 1px solid var(--gold-line); border-radius: 12px; background: var(--gold-soft); }
.c-deal-k { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.c-deal-v { font-family: var(--serif); font-size: clamp(36px, 8vw, 48px); line-height: 1.05; color: var(--bright); margin-top: 6px; font-variant-numeric: lining-nums tabular-nums; }
.c-deal-s { font-size: 13px; color: var(--muted); margin-top: 6px; }
.c-dhero-value .c-agreed-v { color: var(--gold); } .c-dhero-value .c-agreed-k { color: var(--gold); }
.c-brow-value { margin: 6px 0 2px; gap: 0 12px; }
.c-brow-value strong { font-size: 17px; }
.c-brow-value .c-muted { font-size: 11.5px; }
.c-offer-expired { border-style: dashed; background: transparent; }
.c-archive-shown { display: block; margin: -4px 0 12px; font-size: 13px; }

/* Saved addresses (account drawer) */
.c-payout-form .c-bank[hidden], .sect[hidden] { display: none; }
.c-addr { white-space: pre-line; line-height: 1.5; }
.c-payout-form .c-same { margin: 16px 0 4px; }

/* Dealer companies (dashboard → Dealers) */
.c-companies { display: grid; gap: 14px; margin: 0 0 16px; }
.c-company { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.c-company-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.c-company-name { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--bright); margin-right: 10px; }
.c-company-tools { display: flex; gap: 14px; }
.c-company .c-dealer-list { margin-bottom: 10px; }
.c-company .c-dealer-list li.c-muted { font-size: 13.5px; }
.c-company-add { margin-top: 4px; }

/* "SOLD for $7,250" on a seller's card once the deal is done */
.c-sold { margin: 10px 0 2px; font-family: var(--serif); font-size: 24px; line-height: 1.15; color: var(--green); font-variant-numeric: tabular-nums; }
.c-sold strong { font-weight: 600; letter-spacing: .04em; }

/* Phones: the card's status, figure and countdown wrap instead of pushing past the screen edge. */
@media (max-width: 640px) {
  .c-card-side { flex-wrap: wrap; row-gap: 8px; min-width: 0; }
  .c-card-side .c-clock { flex-basis: 100%; white-space: normal; }
}

/* ---- Several cards: the list above the card being edited, and "Add another slab" ---- */
.c-batch { margin: 0 0 18px; }
.c-batch-after:not(:empty) { margin-top: 18px; }
.c-batch-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.c-batch-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto 28px; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.c-batch-row.needs { border-color: rgba(214, 158, 72, .55); }
.c-batch-pic { width: 44px; height: 60px; border-radius: 5px; overflow: hidden; background: var(--surface-2); position: relative; }
.c-batch-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-batch-row.is-reading .c-batch-pic::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold); box-shadow: 0 0 8px var(--gold); animation: c-scan 1.6s ease-in-out infinite; }
.c-batch-t { min-width: 0; }
.c-batch-t b { display: block; color: var(--bright); font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-batch-t small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-batch-row.needs .c-batch-t small { color: #d69e48; }
.c-batch-row.is-reading .c-batch-t b { color: var(--gold); }
.c-batch-v { color: var(--bright); font-size: 14px; font-variant-numeric: tabular-nums lining-nums; }
.c-batch-row.needs .c-linkbtn { color: #d69e48; }
.c-batch-x { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--faint); font-size: 20px; line-height: 1; }
.c-batch-x:hover { color: var(--bright); background: var(--surface-2); filter: none; }
.c-batch-editing { margin: 18px 0 10px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.c-card-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.c-card-extras [hidden] { display: none; }
.c-add-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.c-add-slab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px dashed var(--gold-line); background: transparent; color: var(--gold); font-size: 14.5px; font-weight: 500; }
.c-add-slab span { font-size: 18px; line-height: 1; }
.c-add-slab:hover { background: rgba(194, 160, 90, .08); filter: none; }
.c-batch-err:empty { display: none; }
.c-batch-err { margin-top: 10px; }
@media (max-width: 640px) {
  .c-batch-row { grid-template-columns: 40px minmax(0, 1fr) auto 26px; gap: 10px; }
  .c-batch-v { display: none; }
  .c-batch-pic { width: 40px; height: 55px; }
  .c-card-extras { grid-template-columns: 1fr 1fr; }
  .c-card-extras > label:first-child { grid-column: 1 / -1; }
  .c-add-slab { flex: 1; justify-content: center; }
}

/* ---- Dashboard: batches ---- */
.c-row-batch { display: grid; grid-template-columns: 22px auto minmax(0, 1fr) auto; align-items: center; gap: 12px; cursor: pointer; }
.c-batch-tog { width: 22px; height: 22px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; }
.c-batch-tog:hover { color: var(--bright); filter: none; }
.c-batch-pics { display: flex; }
.c-batch-pics > * + * { margin-left: -22px; }
.c-batch-pics > * { box-shadow: -4px 0 10px rgba(0,0,0,.5); }
.c-row-kid { margin-left: 26px; width: calc(100% - 26px); }
.c-batch-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--gold-line); border-radius: 10px; color: var(--muted); font-size: 14px; }
.c-btable { display: grid; gap: 10px; margin: 6px 0 22px; }
.c-brow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.c-brow.is-pass { opacity: .55; }
.c-brow > .c-art { grid-row: span 2; }
.c-brow-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.c-brow-name { text-align: left; font-size: 15.5px; color: var(--bright); text-decoration: none; }
.c-brow-name:hover { text-decoration: underline; }
.c-brow-t small { color: var(--muted); font-size: 12.5px; }
.c-brow-mkt { color: var(--faint) !important; }
.c-brow-act { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; }
.c-brow-f { margin: 0; min-width: 120px; flex: 1; }
.c-brow-fee { max-width: 100px; }
.c-brow-has { color: var(--gold); font-size: 13.5px; padding-bottom: 8px; }
.c-brow-pass { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; padding-bottom: 10px; white-space: nowrap; }
.c-bulk { padding: 16px; border: 1px dashed var(--gold-line); border-radius: 12px; margin-bottom: 16px; }
.c-bulk-cur { color: var(--gold); margin: 0 0 10px; }
.c-bulk-sum { margin: 8px 0 0; }
.c-brow .c-brow-name { padding: 0; background: none; border: 0; }

/* ---- Offers: cards sent together ---- */
.c-bgroup { border: 1px solid var(--gold-line); border-radius: 14px; padding: 14px; display: grid; gap: 12px; background: rgba(194, 160, 90, .03); }
.c-bgroup + .c-bgroup, .c-bgroup + .c-card, .c-card + .c-bgroup { margin-top: 14px; }
.c-bgroup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.c-bgroup-head strong { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--bright); }
.c-bgroup .c-card { margin: 0; }
.c-offer-bulk { border-color: var(--gold); background: rgba(194, 160, 90, .07); }
.c-offer-bulk .c-offer-k { color: var(--gold); }
.c-bulk-done { color: var(--gold); font-size: 14.5px; }
.c-in-bulk { margin: 0 16px 14px; }
.c-shipbox > p.c-muted { white-space: pre-line; margin: -4px 0 10px; }
.c-bgroup .c-shipbox { margin: 0; }
.c-batch-row.is-tap { cursor: pointer; }
.c-batch-row.is-tap:hover { border-color: var(--gold-line); }
.c-batch-editing { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.c-batch-close { font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--gold); text-decoration: none; }
/* Several cards, nothing open: just the list and "Add another slab". */
#step1.is-folded #cardEntry, #step1.is-folded #cardFound, #step1.is-folded #estimate, #step1.is-folded #cardExtras,
#step1.is-folded #batchEditing, #step1.is-folded #removeCard, #step1.is-folded #photoBackBtn { display: none !important; }
.c-batch-t small { white-space: normal; overflow: visible; line-height: 1.4; }
.c-batch-t .c-batch-sale { color: var(--bright); opacity: .85; }
/* "Add another slab" sits on the right; "Remove this card" (when shown) on the left. */
.c-add-row #addSlab { order: 2; margin-left: auto; }
.c-add-row #removeCard { order: 1; }
@media (max-width: 640px) { .c-add-row .c-add-slab { flex: 0 0 auto; } }

/* Card rows, tidied: name and value on top, one quiet line, then Grade / Cert / Pop. */
.c-batch-row { position: relative; grid-template-columns: 54px minmax(0, 1fr); align-items: start; gap: 14px; padding: 12px 40px 12px 12px; border-radius: 14px; }
.c-batch-pic { width: 54px; height: 74px; border-radius: 6px; }
.c-batch-top { display: flex; align-items: baseline; gap: 12px; }
.c-batch-top b { flex: 1; min-width: 0; font-size: 16px; }
.c-batch-top .c-batch-v { display: inline; flex: none; font-family: var(--serif); font-size: 20px; color: var(--gold); }
.c-batch-t > small { margin-top: 3px; }
.c-batch-need { color: #d69e48 !important; }
.c-batch-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1.2fr); gap: 10px; margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--line); max-width: 520px; }
.c-batch-facts dt { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.c-batch-facts dd { margin: 2px 0 0; font-size: 13px; color: var(--text, var(--bright)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums lining-nums; }
.c-batch-t .c-batch-sale { color: var(--gold) !important; opacity: 1; margin-top: 8px; }
.c-batch-x { position: absolute; top: 8px; right: 8px; }
@media (max-width: 640px) { .c-batch-row { grid-template-columns: 54px minmax(0, 1fr); } .c-batch-pic { width: 54px; height: 74px; } }

/* A card photo, nearly full screen */
.c-batch-pic.is-zoom, #foundImg { cursor: zoom-in; }
.c-zoom { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(8, 7, 6, .94); cursor: zoom-out; animation: c-zoom-in .18s ease-out; }
.c-zoom img { max-width: min(96vw, 900px); max-height: 84vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.c-zoom p { margin: 0; color: var(--faint); font-size: 12.5px; }
.c-zoom-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--bright); font-size: 24px; line-height: 1; }
@keyframes c-zoom-in { from { opacity: 0; } }
