/* ============================================================================
   VIRGIL — Vehicle Intake App
   Comic / pop-art theme, cyan-dominant. Tablet-first (Samsung Galaxy A11),
   QA-able on desktop. Same pop-art structure as the CCH brand: thick black
   borders, hard offset shadows, zero radius, Bangers display type.
   ========================================================================= */

:root {
  --cyan:        #E94615;   /* TNCAP accent */
  --cyan-deep:   #1A1A1A;   /* TNCAP primary (near-black) */
  --cyan-dark:   #111111;
  --cyan-soft:   #FEE8E0;   /* TNCAP accent-light */
  --ink:         #0E0E0E;
  --paper:       #FFFDF5;
  --bg:          #F5F5F3;   /* TNCAP concrete */
  --panel:       #FFFFFF;
  --text-2:      #3A4450;
  --muted:       #6C7682;
  /* The old palette used ONE colour for both "press this" and "this worked",
     which is why recolouring the buttons silently recoloured every success
     tick. Two different meanings, two variables. */
  --go:          #4B5563;   /* buttons / progress — TNCAP steel, deliberately quiet */
  --go-deep:     #374151;
  --ok:          #16A34A;   /* success — TNCAP success green */
  --ok-deep:     #15803D;
  --pow:         #FFD60A;   /* starbursts, highlights */
  --red:         #DC2626;   /* TNCAP danger */
  --red-soft:    #FEE2E2;

  --shadow:    5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-lg: 7px 7px 0 var(--ink);

  --font-display: 'Bangers', 'Impact', sans-serif;
  --font-head:    'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Open Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html, body { min-height: 100vh; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  background-color: var(--bg);
  /* Halftone dot wash — the pop-art comic field. */
  background-image:
    radial-gradient(circle, rgba(18,176,232,0.16) 1.6px, transparent 1.7px);
  background-size: 18px 18px;
}

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

/* ============================================================================
   Buttons
   ========================================================================= */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.9rem 1.3rem;
  border: 3px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.06s, box-shadow 0.06s;
  user-select: none;
  min-height: 52px;
}
.btn:active { transform: translate(3px, 3px); box-shadow: var(--shadow-sm); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: var(--shadow-sm); }
/* `.is-locked` is a soft-locked button: still tappable (so Virgil gets
   feedback), but visually communicates "you can't submit yet." */
.btn.is-locked { opacity: 0.5; cursor: not-allowed; box-shadow: var(--shadow-sm); }
.btn.is-locked:active { transform: none; box-shadow: var(--shadow-sm); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 0.5rem 0.9rem; font-size: 0.82rem; box-shadow: var(--shadow-sm); }
.btn-hero  { background: var(--go); color: #fff; }
.btn-cyan  { background: var(--cyan); color: #fff; }
.btn-ghost { background: var(--panel); }

/* ============================================================================
   PIN gate
   ========================================================================= */
.pin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background:
    radial-gradient(circle, rgba(255,255,255,0.5) 1.6px, transparent 1.7px) 0 0 / 16px 16px,
    linear-gradient(155deg, var(--cyan) 0%, var(--cyan-deep) 70%, var(--cyan-dark) 100%);
}
.pin-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 1.4rem 1.8rem;
  text-align: center;
}
.pin-banner {
  display: inline-block;
  background: var(--ink);
  color: var(--pow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.85rem;
  transform: rotate(-2deg);
}
.pin-title {
  /* Oswald rather than the comic face: this is the one word on the screen that
     has to read instantly from arm's length on a yard tablet. Still black,
     still heavy, still carries the hard comic shadow. */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 4.1rem;
  line-height: 0.95;
  letter-spacing: 0.06em;
  margin-top: 0.5rem;
  color: var(--ink);
  text-shadow: 4px 4px 0 var(--pow);
}
.pin-sub {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 1.3rem;
}
.pin-field { display: block; text-align: left; margin-bottom: 1rem; }
.pin-field > span {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}
#pinInput {
  width: 100%;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.5rem;
  font-family: var(--font-head);
  padding: 0.6rem;
  border: 3px solid var(--ink);
  background: var(--cyan-soft);
}
.pin-err { color: var(--red); font-weight: 700; margin-top: 0.8rem; }

/* ============================================================================
   Topbar
   ========================================================================= */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cyan-deep);
  border-bottom: 4px solid var(--ink);
  padding: 0.55rem 0.85rem;
}
.topbar-brand { display: flex; align-items: center; gap: 0.55rem; }
.topbar-mark {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  background: var(--pow);
  border: 3px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.topbar-name {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.06em;
  color: #fff;
  -webkit-text-stroke: 1.5px var(--ink);
  paint-order: stroke fill;
}
.topbar-actions { display: flex; gap: 0.5rem; }
.icon-btn {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--pow);
  color: var(--ink);
  border: 3px solid var(--ink);
  padding: 0.5rem 0.7rem;
  min-height: 44px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.icon-btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.icon-btn-dark { background: var(--panel); }

/* ============================================================================
   Views / layout
   ========================================================================= */
.view { max-width: 620px; margin: 0 auto; padding: 0.9rem 0.85rem 0; }
.view-h {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.03em;
  color: var(--cyan-deep);
  margin: 0.3rem 0 0.9rem;
}
.bottom-spacer { height: 130px; }

.comic-intro {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.9rem;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
}
.comic-intro-zap {
  font-family: var(--font-display);
  color: var(--pow);
  font-size: 1.4rem;
  margin-right: 0.45rem;
  letter-spacing: 0.04em;
}

/* ============================================================================
   Cards / sections
   ========================================================================= */
.card {
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 1rem 0.95rem 1.1rem;
  margin-bottom: 1rem;
}
.card-h {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  color: var(--cyan-deep);
  margin-bottom: 0.8rem;
}
.card-num {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  background: var(--cyan);
  color: #fff;
  border: 3px solid var(--ink);
  font-size: 1.3rem;
  flex: none;
}

/* ============================================================================
   Fields
   ========================================================================= */
.field { display: block; margin-bottom: 0.85rem; }
.field:last-child { margin-bottom: 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.field-grid .field { margin-bottom: 0.85rem; }
.field-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}
.input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.7rem 0.7rem;
  border: 3px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  min-height: 50px;
}
.input:focus { outline: none; background: var(--cyan-soft); }
.input:disabled { opacity: 0.5; background: var(--cyan-soft); cursor: not-allowed; }
select.input { appearance: none; background-image:
  linear-gradient(45deg, transparent 50%, var(--ink) 50%),
  linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.textarea { resize: vertical; min-height: 70px; line-height: 1.4; }
.input-other { margin-top: 0.5rem; }

/* field flagged as missing when submit is attempted */
.input.flag, .segmented.flag { border-color: var(--red); background: var(--red-soft); }
.photo-panel.flag { border-color: var(--red); background: var(--red-soft); }
.input.flag, .segmented.flag, .photo-panel.flag {
  animation: flagShake 0.4s ease-in-out 1;
}
@keyframes flagShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-5px); }
  40%      { transform: translateX(5px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

/* money inputs */
.money-wrap { display: flex; align-items: stretch; }
.money-sign {
  display: grid; place-items: center;
  background: var(--ink); color: var(--pow);
  font-family: var(--font-display); font-size: 1.4rem;
  width: 2.6rem; flex: none;
  border: 3px solid var(--ink); border-right: none;
}
.input-money { border-left: none; }

/* ============================================================================
   Segmented control (Run & Drive)
   ========================================================================= */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.seg {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0.9rem 0.6rem;
  border: 3px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  min-height: 56px;
}
.seg:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.seg.on { background: var(--cyan); color: #fff; }
.seg[data-val="runs_no_drive"].on { background: var(--pow); color: var(--ink); }

/* ============================================================================
   Virgil's photo rule banner — comic speech bubble
   ========================================================================= */
.virgil-rule {
  position: relative;
  background: var(--pow);
  border: 3px solid var(--ink);
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.virgil-rule strong { font-family: var(--font-head); letter-spacing: 0.04em; }
.virgil-rule::after {
  content: "";
  position: absolute; left: 28px; bottom: -14px;
  border-width: 14px 12px 0 0;
  border-style: solid;
  border-color: var(--ink) transparent transparent transparent;
}

/* ============================================================================
   Photo grid
   ========================================================================= */
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.photo-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 3px dashed var(--ink);
  background: var(--cyan-soft);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  overflow: hidden;
}
.photo-panel.has { border-style: solid; box-shadow: var(--shadow-sm); }
.photo-panel:active { transform: translate(2px,2px); }
.photo-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.25rem;
}
.photo-emoji { font-size: 2rem; line-height: 1; }
.photo-label {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}
.photo-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
}
.photo-check {
  position: absolute; top: 5px; right: 5px;
  width: 1.7rem; height: 1.7rem;
  background: var(--ok);
  border: 2.5px solid var(--ink);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.95rem;
}
.photo-retake {
  position: absolute; top: 5px; left: 5px;
  background: var(--pow); color: var(--ink);
  border: 2.5px solid var(--ink);
  font-family: var(--font-head); font-weight: 700;
  font-size: 0.66rem; text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
}

/* ============================================================================
   Sticky submit bar
   ========================================================================= */
.submit-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--cyan-deep);
  border-top: 4px solid var(--ink);
  padding: 0.7rem 0.85rem;
}
.submit-status { flex: 1; min-width: 0; }
.submit-count {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--pow);
}
.submit-count.done { color: var(--ok); }
.submit-hint {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cfe7f2;
}
.submit-bar .btn { flex: none; box-shadow: var(--shadow-sm); }
.submit-bar.hidden-bar { display: none; }

/* ============================================================================
   Success view
   ========================================================================= */
.success-burst { text-align: center; margin: 1rem 0 0.5rem; position: relative; }
.success-bam {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  background: var(--pow);
  border: 3px solid var(--ink);
  padding: 0.15rem 0.9rem;
  transform: rotate(-6deg);
  box-shadow: var(--shadow-sm);
}
.success-h {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--ok);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  margin-top: -0.3rem;
}
.success-sub {
  text-align: center;
  font-family: var(--font-head);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ============================================================================
   Report card (success + recent detail)
   ========================================================================= */
.report {
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  margin-bottom: 1.1rem;
}
.report-head {
  background: var(--cyan-deep);
  color: #fff;
  padding: 0.7rem 0.9rem;
  border-bottom: 3px solid var(--ink);
}
.report-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
}
.report-sub { font-family: var(--font-head); font-size: 0.85rem; color: #cfe7f2; }
.report-body { padding: 0.85rem 0.9rem; }
.report-row { display: flex; gap: 0.6rem; padding: 0.4rem 0; border-bottom: 1.5px dashed #d8dde3; }
.report-row:last-of-type { border-bottom: none; }
.report-k {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  color: var(--muted);
  width: 38%; flex: none;
  padding-top: 0.1rem;
}
.report-v { font-weight: 600; font-size: 0.98rem; }
.report-v.price { font-family: var(--font-display); font-size: 1.3rem; color: var(--cyan-deep); letter-spacing: 0.03em; }
.report-photos {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px;
  padding: 0.5rem; background: var(--ink);
}
.report-photos .shot-open {
  display: block;
  aspect-ratio: 4/3;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.report-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.report-pill {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border: 2px solid var(--ink);
}
.pill-go { background: var(--ok); }
.pill-warn { background: var(--pow); }

/* ============================================================================
   Recent list
   ========================================================================= */
.recent-item {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem 0.7rem;
  margin-bottom: 0.7rem;
  cursor: pointer;
  width: 100%; text-align: left;
}
.recent-item:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.recent-thumb {
  width: 64px; height: 48px; flex: none;
  object-fit: cover; border: 2.5px solid var(--ink);
}
.recent-info { flex: 1; min-width: 0; }
.recent-veh { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.recent-meta { font-size: 0.8rem; color: var(--muted); }

/* ============================================================================
   Toast
   ========================================================================= */
#toast {
  position: fixed; left: 50%; bottom: 92px;
  transform: translateX(-50%);
  background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 600;
  padding: 0.7rem 1.1rem;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  z-index: 90;
  max-width: 90vw; text-align: center;
}
#toast.t-error  { background: var(--red); }
#toast.t-ok     { background: var(--ok-deep); }

/* ============================================================================
   Overlay spinner (submitting)
   ========================================================================= */
#busy {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10,92,134,0.92);
  display: grid; place-items: center;
}
.busy-card {
  background: var(--panel);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 2rem;
  text-align: center;
}
.busy-zap {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--cyan-deep);
  animation: zap 0.6s steps(2) infinite;
}
@keyframes zap { 50% { opacity: 0.25; transform: scale(0.9); } }
.busy-text {
  font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: 0.4rem;
}
.busy-bar {
  margin: 0.9rem auto 0;
  width: 240px; max-width: 100%;
  height: 14px;
  background: var(--cyan-soft);
  border: 3px solid var(--ink);
  overflow: hidden;
}
.busy-bar-fill {
  height: 100%;
  background: var(--go);
  width: 0%;
  transition: width 0.2s ease;
}
.busy-bar-fill.indeterminate {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--go) 50%, var(--cyan) 100%);
  background-size: 200% 100%;
  animation: indet 1.2s linear infinite;
}
@keyframes indet {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================================
   Retry card — shown after a failed submit, replacing the old 3.6s toast.
   ========================================================================= */
#retryCard {
  position: fixed; inset: 0; z-index: 85;
  background: rgba(10,92,134,0.92);
  display: grid; place-items: center;
  padding: 1.25rem;
}
.retry-card {
  background: var(--panel);
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.3rem;
  max-width: 360px; width: 100%;
  text-align: center;
}
.retry-h {
  font-family: var(--font-display);
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: var(--red);
  -webkit-text-stroke: 2px var(--ink);
  paint-order: stroke fill;
  text-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 0.8rem;
}
.retry-msg {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  background: var(--red-soft);
  border: 2.5px solid var(--red);
  padding: 0.55rem 0.7rem;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
  word-wrap: break-word;
}
.retry-help { font-size: 0.85rem; color: var(--muted); margin-bottom: 1rem; }
.retry-actions { display: flex; flex-direction: column; gap: 0.6rem; }

/* ============================================================================
   Wider screens (desktop QA) — keep the single tablet column, just centered.
   ========================================================================= */
@media (min-width: 700px) {
  .submit-bar { max-width: 620px; left: 50%; transform: translateX(-50%); border-left: 4px solid var(--ink); border-right: 4px solid var(--ink); }
}

/* ============================================================================
   ADMIN — Reports view (password-gated log of every inspection).
   Same pop-art system: thick ink borders, hard offset shadows, zero radius.
   ========================================================================= */

/* Admin tab — top-right corner of the unlock splash. */
.admin-tab {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border: 3px solid var(--ink);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}
.admin-tab:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }

/* Password modal. */
#adminPrompt {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(14, 14, 14, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.admin-prompt-card {
  width: 100%;
  max-width: 380px;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 22px 20px;
}
.admin-prompt-h {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  color: var(--cyan-deep);
}
.admin-prompt-sub { color: var(--muted); font-size: 0.92rem; margin: 4px 0 14px; }
#adminPrompt .input { width: 100%; }
.admin-prompt-err { color: var(--red); font-weight: 700; font-size: 0.88rem; margin-top: 8px; }
.admin-prompt-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* Full-screen admin view. */
.admin-view {
  min-height: 100vh;
  background: var(--bg);
}
.admin-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--cyan-deep);
  border-bottom: 3px solid var(--ink);
}
.admin-bar-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: #fff;
}
.admin-bar-tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--pow);
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 1px 6px;
  vertical-align: middle;
  margin-left: 6px;
}
.admin-bar-actions { display: flex; gap: 8px; }
.admin-body { padding: 16px; max-width: 760px; margin: 0 auto; }
.admin-loading { color: var(--muted); text-align: center; padding: 40px 0; }

/* Summary stat strip. */
.admin-summary {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-stat {
  flex: 1;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.admin-stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); letter-spacing: 0.02em; }
.admin-stat.ok b { color: var(--ok-deep); }
.admin-stat.bad b { color: var(--red); }

/* List rows. */
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  width: 100%;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  cursor: pointer;
}
.admin-row:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.admin-row-thumb {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--cyan-soft);
}
.admin-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.admin-row-veh {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-row-meta { color: var(--text-2); font-size: 0.85rem; }
.admin-row-date { color: var(--muted); font-size: 0.76rem; }

/* Email status badge. */
.admin-badge {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  padding: 3px 7px;
  align-self: flex-start;
}
.admin-badge.b-ok { background: var(--ok); color: #fff; }
.admin-badge.b-bad { background: var(--red); color: #fff; }
.admin-badge.b-neutral { background: var(--cyan-soft); color: var(--muted); }

/* Detail. */
.admin-back { margin-bottom: 14px; }
.admin-detail {
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 16px;
}
.admin-detail-head {
  border-bottom: 3px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.admin-detail-title { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); }
.admin-detail-sub { color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.82rem; }

.admin-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.admin-photo {
  position: relative;
  display: block;
  border: 2px solid var(--ink);
  background: var(--ink);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
}
.admin-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-photo.missing { display: flex; align-items: center; justify-content: center; background: var(--cyan-soft); }
.admin-photo-tag {
  position: absolute;
  left: 0; bottom: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 2px 6px;
}
.admin-photo.missing .admin-photo-tag { position: static; background: transparent; color: var(--muted); }

.admin-section-h {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--cyan-deep);
  border-bottom: 2px solid var(--cyan);
  padding: 12px 0 5px;
  margin-bottom: 4px;
}
.admin-kv {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--cyan-soft);
}
.admin-kv-k {
  flex: 0 0 40%;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.78rem;
  color: var(--muted);
}
.admin-kv-v { flex: 1; color: var(--ink); font-size: 0.95rem; word-break: break-word; min-width: 0; }
.admin-kv-v code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.82rem; word-break: break-all; }
.admin-err { color: var(--red); font-weight: 700; }

/* ---- Admin: search bar ---------------------------------------------------- */
.admin-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.admin-search {
  flex: 1;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}
.admin-search::-webkit-search-cancel-button { -webkit-appearance: none; }
.admin-count {
  flex: 0 0 auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* ---- Admin: extra badge tone --------------------------------------------- */
.admin-badge.b-warn { background: var(--pow); color: var(--ink); }

/* ---- Admin: lifecycle timeline ------------------------------------------- */
.admin-timeline {
  list-style: none;
  margin: 4px 0 6px;
  padding: 0;
}
.tl-step {
  position: relative;
  padding: 0 0 16px 26px;
}
/* connector line down the left rail */
.tl-step::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 16px;
  bottom: -2px;
  width: 3px;
  background: var(--ink);
}
.tl-step:last-child::before { display: none; }
.tl-dot {
  position: absolute;
  left: 0;
  top: 3px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--ink);
  background: var(--panel);
  border-radius: 50%;
  z-index: 1;
}
.tl-done  .tl-dot { background: var(--ok); }
.tl-bad   .tl-dot { background: var(--red); }
.tl-pending .tl-dot { background: var(--pow); }
.tl-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.tl-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}
.tl-time {
  font-size: 0.8rem;
  color: var(--muted);
}
.tl-sub { font-size: 0.88rem; color: var(--text-2); margin-top: 2px; }
.tl-err { color: var(--red); font-weight: 700; }
.tl-recips {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tl-recips li {
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--cyan-soft);
  border: 2px solid var(--ink);
  padding: 2px 8px;
  width: fit-content;
  max-width: 100%;
  word-break: break-all;
}

/* ---- Admin: "Emailed to" column (list rows) ------------------------------ */
.admin-sent {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-end;
  max-width: 42%;
}
.admin-sent .chk {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--ok-deep);
  background: rgba(22, 163, 74, 0.12);
  border: 2px solid var(--ok-deep);
  padding: 1px 6px;
  white-space: nowrap;
}
.admin-sent .chk.fail { color: var(--red); background: var(--red-soft); border-color: var(--red); }
.admin-sent .chk.unk  { color: var(--muted); background: var(--cyan-soft); border-color: var(--muted); }
.admin-sent .chk.none { color: var(--muted); background: transparent; border-color: transparent; }

/* ============================================================================
   VIN field (intake form)
   ========================================================================= */
.field-opt {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-left: 6px;
}
.input-vin {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.field-help {
  display: block;
  margin-top: 5px;
  font-size: 0.82rem;
  color: var(--muted);
}
.field-help.ok   { color: var(--ok-deep); font-weight: 700; }
.field-help.warn { color: var(--cyan-deep); font-weight: 700; }
.req {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-left: 6px;
}

/* ============================================================================
   Facebook listing — admin row flag, detail section, publish modal
   ========================================================================= */
.row-fb {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border: 2px solid var(--ink);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.row-fb.live { background: var(--ok); color: #fff; }
.row-fb.sold { background: var(--cyan-soft); color: var(--cyan-dark); }

.listing-actions { margin-top: 14px; }
.listing-note {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 10px 0;
}
.listing-note code {
  background: var(--cyan-soft);
  padding: 1px 5px;
  border: 1px solid var(--ink);
}

#publishModal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(14, 14, 14, 0.62);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.publish-card {
  width: 100%;
  max-width: 560px;
  background: var(--panel);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-lg);
  padding: 22px 20px;
  margin: auto 0;
}
.publish-h {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--cyan-deep);
}
.publish-sub {
  color: var(--text-2);
  font-size: 0.9rem;
  margin: 4px 0 16px;
  padding: 9px 11px;
  background: var(--cyan-soft);
  border: 2px solid var(--ink);
}
#publishModal .input { width: 100%; }
#publishModal .field { margin-bottom: 12px; }
.publish-err {
  color: var(--red);
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 10px;
  padding: 8px 10px;
  background: var(--red-soft);
  border: 2px solid var(--red);
}
.publish-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ============================================================================
   ADMIN TABS — Reports | Facebook Listings
   ========================================================================= */
/* Header nav — the two admin sections live in the ADMIN bar itself, styled
   like a site's top nav. The active one is a solid comic chip; the inactive
   one is a flat ghost. Deliberately not equal-weight: at a glance you should
   be able to tell which section you are looking at from across the room. */
.admin-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 18px;
  margin-right: auto;
}
.navtab {
  appearance: none;
  background: transparent;
  border: 3px solid transparent;
  color: #a9cee0;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 13px;
  min-height: 40px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s, background 0.12s;
}
.navtab:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.navtab.on {
  background: var(--pow);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.navtab.on:hover { background: var(--pow); }

/* Tablet portrait and down: let the nav drop to its own full row rather than
   squeezing "Facebook Listings" into an ellipsis next to the EXIT button. */
@media (max-width: 720px) {
  .admin-bar { flex-wrap: wrap; row-gap: 10px; }
  .admin-nav {
    order: 3;
    width: 100%;
    margin: 0;
  }
  .navtab { flex: 1; text-align: center; }
}

/* ============================================================================
   FACEBOOK LISTINGS TAB — grouped queue of cards
   ========================================================================= */
.lsection { margin: 18px 0 22px; }
.lsection-h {
  display: flex;
  align-items: center;
  gap: 9px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 5px;
}
.lsection-title {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan-deep);
}
.lsection-count {
  min-width: 24px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 1px 7px;
}
.lsection-blurb {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 6px 0 10px;
}
.lsection-empty {
  color: var(--muted);
  font-size: 0.88rem;
  font-style: italic;
  padding: 10px 2px;
}

.lcard {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}
.lcard-open {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 9px;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}
.lcard-thumb {
  flex: none;
  width: 74px;
  height: 56px;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--cyan-soft);
}
.lcard-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.lcard-veh {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}
.lcard-meta { font-size: 0.82rem; color: var(--text-2); }
.lcard-vin {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.lcard-vin.none { font-family: var(--font-body); font-style: italic; color: var(--red); }
.lcard-actions {
  flex: none;
  display: flex;
  align-items: center;
  padding: 9px;
  border-left: 2px dashed #E2E5EB;
}
.lcard-btn { white-space: nowrap; }
.lcard-sold {
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 560px) {
  .lcard { flex-direction: column; }
  .lcard-actions { border-left: 0; border-top: 2px dashed #E2E5EB; }
  .lcard-btn { width: 100%; }
}

/* ============================================================================
   FACEBOOK LISTINGS — multi-select toolbar + picked cards
   ========================================================================= */
.lbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 10px;
  margin-bottom: 12px;
  background: var(--panel);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
}
.lbar.selecting {
  background: var(--cyan-soft);
  border-color: var(--cyan-deep);
}
.lbar-count {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-right: auto;
}
.lbar .btn.on { background: var(--cyan); color: var(--ink); }
.lbar .btn[disabled] { opacity: 0.45; cursor: not-allowed; }

.lcard.selecting .lcard-open { cursor: pointer; }
.lcard.picked {
  border-color: var(--cyan-deep);
  background: var(--cyan-soft);
  box-shadow: 3px 3px 0 var(--cyan-deep);
}
.lcard-check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 3px solid var(--ink);
  background: #fff;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  color: var(--ink);
}
.lcard-check.on { background: var(--pow); }

/* ============================================================================
   PHOTO LIGHTBOX — full-size shot, in the app
   ========================================================================= */
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 16, 20, 0.94);
}
.lightbox[hidden] { display: none; }
.lightbox-img {
  max-width: calc(100vw - 92px);
  max-height: calc(100vh - 108px);
  object-fit: contain;
  border: 3px solid var(--ink);
  background: #000;
}
.lightbox-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: var(--cyan-deep);
  border-bottom: 3px solid var(--ink);
}
.lightbox-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.lightbox-actions { display: flex; gap: 8px; align-items: center; }
.lightbox-actions .icon-btn { text-decoration: none; display: grid; place-items: center; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  width: 46px;
  height: 66px;
  display: grid;
  place-items: center;
  background: var(--pow);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav[hidden] { display: none; }
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }
.lightbox-nav:active { transform: translateY(-50%) translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.lightbox-count {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--ink);
  border: 2px solid #fff;
  padding: 3px 10px;
}
@media (max-width: 560px) {
  .lightbox-img { max-width: calc(100vw - 20px); max-height: calc(100vh - 150px); }
  .lightbox-nav { width: 40px; height: 56px; font-size: 1.6rem; }
  .lightbox-nav.prev { left: 4px; }
  .lightbox-nav.next { right: 4px; }
}

/* ---------------------------------------------------------------------------
   Marketplace kit — the copy/paste companion for the Facebook Marketplace form.
   Shares the publish modal's shell so the two feel like one workflow.
--------------------------------------------------------------------------- */
#mktModal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(14, 14, 14, 0.62);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.mkt-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 8px 0 16px;
  text-align: center;
}
.mkt-row {
  border: 2px solid var(--ink);
  background: #fff;
  padding: 10px 12px;
  margin-bottom: 10px;
}
.mkt-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}
.mkt-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mkt-copy.copied { background: var(--green, #38A169); color: #fff; }
.mkt-value {
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
}
.mkt-hint { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }
.mkt-dropdowns {
  border: 2px dashed #C9CFD8;
  padding: 10px 12px;
  margin: 4px 0 16px;
}
.mkt-dd-h {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.mkt-dd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 5px 14px;
  font-size: 0.85rem;
}
.mkt-dd-grid b { font-weight: 700; margin-right: 5px; }

/* Marketplace state on the listing card — the second lane, made visible. */
.lcard-mkt {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lcard-mkt.on { color: var(--green, #2F855A); }
.lcard-mkt.off { color: var(--red); }

/* Photo strip inside the publish form — so reading the VIN plate no longer
   means closing the modal and digging through the record. */
.publish-photos { grid-template-columns: repeat(3, 1fr); margin-bottom: 6px; }
.pub-photo { position: relative; padding: 0; border: 2px solid var(--ink); background: #fff; cursor: zoom-in; }
.pub-photo img { display: block; width: 100%; height: 74px; object-fit: cover; }
.pub-photo.is-vin { border-color: var(--blue, #1F6FB2); }
.pub-photo-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(14,14,14,0.72); color: #fff;
  font-size: 0.62rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 2px 0; text-align: center;
}
.pub-photo-note { font-size: 0.75rem; color: var(--muted); margin: 0 0 14px; text-align: center; }

/* Take down is destructive-ish; it should not look like Mark sold. */
.lcard-btn.danger { color: var(--red); border-color: var(--red); }

/* Off Facebook but still live on Marketplace — the state that costs money. */
.lcard-mkt.warn { color: var(--red); font-weight: 800; }

/* Marketplace takedown reminder. */
#mktRemind {
  position: fixed; inset: 0; z-index: 75;
  background: rgba(14, 14, 14, 0.72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.remind-steps { margin: 0 0 12px; padding-left: 22px; font-size: 0.95rem; line-height: 1.7; }
.remind-note {
  font-size: 0.8rem; color: var(--muted); margin: 0 0 16px;
  border-left: 3px solid var(--red); padding-left: 10px;
}
