/* GoldRoute size picker — shared across all landing pages.
   Relies on each page's existing :root vars (--gold, --muted, --line).
   Loaded via <link rel="stylesheet" href="/assets/size-picker.css">. */

.size-prompt {
  color: var(--muted);
  font-size: 14px;
  margin: -4px 0 12px;
}
.size-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.size-card {
  display: block;
  position: relative;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.size-card:hover { border-color: #c8c8c8; }
.size-card input { position: absolute; opacity: 0; pointer-events: none; }
.size-card:has(input:checked),
.size-card.is-selected {
  border-color: var(--gold);
  background: #fffaf0;
}
.size-card .sz-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.size-card .sz-name { font-weight: 700; font-size: 15px; }
.size-card .sz-grams { font-size: 13px; color: var(--gold); font-weight: 700; }
.size-card .sz-ex { font-size: 12px; color: var(--muted); line-height: 1.35; }

.size-empty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fafafa;
}

.scale-toggle {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--gold);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.scale-input { margin-top: 10px; display: none; }
.scale-input.show { display: block; }
.scale-input input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

/* ── Firm-offer result (confirmation screen) ─────────────────────────────
   Shown when the backend returns a firm `estimated_target`; the range sits
   underneath as supporting context. */
.offer-block { text-align: center; margin: 4px 0 6px; }
.offer-lead { margin: 0; font-size: 15px; color: var(--muted); }
.offer-amount {
  margin: 2px 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gold);
}
.offer-sub { margin: 0 auto; max-width: 360px; font-size: 14px; color: var(--ink); }
/* With a firm offer above it, the range is secondary, not the headline. */
.offer-block + .estimate {
  font-size: 15px !important;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.offer-contingency {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
