/* SMASH seller account (templates/leads/account_dashboard.html) — 2026-10-22 redesign.
   Same ink, paper and gold as the converter quote sites, so a seller moves from
   the quote page to their account without a jump in look.

   `color-scheme: only light` below: this portal is a light design, and
   templates/leads/account_dashboard.html does not extend templates/base.html,
   so the global declaration in smash-base.css cannot reach it. Without it
   Chrome's "Auto dark mode for web contents" force-inverts the page and the
   native file picker, date picker and checkboxes stop matching the surface
   they sit on. Plain `light` does not opt out of force-dark; `only light`
   does. This file is loaded by account_dashboard.html and, since 2026-11-04,
   by the seller sign-in and password pages (standalone shells of the same
   design), so the bare `body` selector reaches exactly those pages. */
:root {
    --sp-ink: #0b0b0d;
    --sp-ink-2: #18181d;
    --sp-paper: #f4f1ea;
    --sp-card: #ffffff;
    --sp-line: rgba(11, 11, 13, .09);
    --sp-field-line: #cdc6b6;
    --sp-text: #1b1b21;
    --sp-muted: #55555f;
    --sp-gold: #d6b578;
    --sp-gold-hi: #e6c98f;
    --sp-bronze: #7a5a1f;
    --sp-ok: #1d6b45;
    --sp-ok-bg: #e7f3ec;
    --sp-warn: #8a5600;
    --sp-warn-bg: #fdf3df;
    --sp-danger: #a3261b;
    --sp-danger-bg: #fbeae8;
    --sp-radius: 22px;
    --sp-ease: cubic-bezier(.32, .72, 0, 1);
    --sp-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
body {
    background: var(--sp-paper);
    color: var(--sp-text);
    color-scheme: only light;
    font-family: var(--sp-font);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.sp-page [hidden], #seller-portal [hidden] { display: none !important; }
.acct-container { max-width: 780px; margin: 0 auto; padding: 20px 16px 64px; }

/* ── Top bar ─────────────────────────────────────────────── */
.sp-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 20px; }
.sp-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--sp-ink); text-decoration: none; min-height: 44px; }
.sp-brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--sp-ink); color: var(--sp-gold); display: grid; place-items: center; font-weight: 800; }
.sp-brand-text { display: grid; line-height: 1.15; }
.sp-brand-text strong { letter-spacing: .12em; font-size: .95rem; }
.sp-brand-text small { color: var(--sp-muted); font-size: .78rem; font-weight: 600; }
.sp-logout { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--sp-line); color: var(--sp-ink); font-weight: 600; text-decoration: none; background: var(--sp-card); transition: background-color .25s var(--sp-ease); }
.sp-logout:hover { background: #ece7dc; color: var(--sp-ink); }

/* ── Hero: who, where the sale is, and the one next step ──── */
.sp-hero { position: relative; overflow: hidden; background: var(--sp-ink); color: var(--sp-paper); border-radius: 28px; padding: 28px 28px 24px; margin-bottom: 20px; box-shadow: 0 24px 48px -32px rgba(11, 11, 13, .55); }
.sp-hero::after { content: ''; position: absolute; inset: auto -20% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(214, 181, 120, .22), transparent); pointer-events: none; }
.sp-hero h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; color: var(--sp-paper); }
.sp-steps { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0 0 20px; padding: 0; counter-reset: sp-step; }
.sp-steps:empty { display: none; }
.sp-steps li { position: relative; padding-top: 30px; font-size: .8rem; font-weight: 600; color: rgba(244, 241, 234, .62); line-height: 1.3; }
.sp-steps li::before { counter-increment: sp-step; content: counter(sp-step); position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: rgba(244, 241, 234, .12); color: var(--sp-paper); }
.sp-steps li::after { content: ''; position: absolute; top: 11px; left: 30px; right: 4px; height: 2px; border-radius: 2px; background: rgba(244, 241, 234, .14); }
.sp-steps li:last-child::after { display: none; }
.sp-steps li.is-done { color: rgba(244, 241, 234, .85); }
.sp-steps li.is-done::before { content: '\2713'; background: var(--sp-gold); color: var(--sp-ink); }
.sp-steps li.is-done::after { background: var(--sp-gold); }
.sp-steps li.is-current { color: var(--sp-paper); }
.sp-steps li.is-current::before { background: var(--sp-paper); color: var(--sp-ink); box-shadow: 0 0 0 4px rgba(214, 181, 120, .35); }
.sp-next { position: relative; z-index: 1; background: rgba(244, 241, 234, .07); border: 1px solid rgba(244, 241, 234, .12); border-radius: 18px; padding: 16px 18px; }
.sp-next:empty { display: none; }
.sp-next h2 { font-size: 1.12rem; font-weight: 700; margin: 0 0 4px; color: var(--sp-paper); }
.sp-next p { margin: 0 0 12px; color: rgba(244, 241, 234, .78); }
.sp-next p:last-child { margin-bottom: 0; }
.sp-next .sp-btn { margin-top: 2px; }

/* ── Cards ───────────────────────────────────────────────── */
.acct-card { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 28px; margin: 0 0 20px; box-shadow: 0 1px 2px rgba(11, 11, 13, .04), 0 18px 40px -30px rgba(11, 11, 13, .28); scroll-margin-top: 16px; }
.acct-card h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--sp-ink); margin: 0 0 12px; }
.acct-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--sp-ink); margin: 22px 0 10px; }
.sp-help, .acct-card .text-muted, .acct-card .form-text { color: var(--sp-muted) !important; font-size: .92rem; }
.sp-heading { padding: 0 4px; margin: 4px 0 10px; }
.sp-heading h2 { font-size: 1.15rem; font-weight: 800; margin: 2px 0 4px; color: var(--sp-ink); }
.sp-heading > p:last-child { color: var(--sp-muted); margin-bottom: 0; }
.sp-eyebrow { display: inline-block; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(122, 90, 31, .1); color: var(--sp-bronze); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.sp-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0 4px; }
.sp-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--sp-card); border: 1px solid var(--sp-line); color: var(--sp-ink); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .25s var(--sp-ease); }
.sp-nav a:hover { border-color: var(--sp-gold); color: var(--sp-ink); }

/* ── Offer ───────────────────────────────────────────────── */
.sp-offer { box-shadow: 0 0 0 6px rgba(214, 181, 120, .14), 0 18px 40px -30px rgba(11, 11, 13, .3); }
.sp-offer-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.sp-amount { font-size: clamp(2.1rem, 1.6rem + 2vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; color: var(--sp-ink); margin: 0; line-height: 1.1; }
.sp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #efebe1; color: var(--sp-ink); vertical-align: middle; }
.sp-pill-ok { background: var(--sp-ok-bg); color: var(--sp-ok); }
.sp-pill-warn { background: var(--sp-warn-bg); color: var(--sp-warn); }
.sp-pill-muted { background: #efebe1; color: var(--sp-muted); }
.sp-lines { list-style: none; padding: 0; margin: 14px 0; border: 1px solid var(--sp-line); border-radius: 16px; }
.sp-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--sp-line); }
.sp-lines li:first-child { border-top: 0; }
.sp-lines li > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.sp-lines .sp-line-amount { flex: none; font-weight: 700; white-space: nowrap; }
.sp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--sp-muted); font-size: .92rem; }
.sp-terms-wrap { margin-top: 14px; }
.sp-terms-wrap summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.sp-terms { white-space: pre-wrap; border-left: 3px solid var(--sp-gold); padding: 12px 16px; background: #faf8f2; border-radius: 0 12px 12px 0; margin-top: 8px; }
.sp-note { color: var(--sp-warn); font-weight: 600; }
.sp-done { color: var(--sp-ok); font-weight: 700; }

/* ── Accept / confirm form ───────────────────────────────── */
.sp-accept { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--sp-line); }
.sp-form-title { font-size: 1.2rem !important; margin: 0 0 4px !important; }
.sp-fieldset { border: 0; padding: 18px 0 6px; margin: 0; min-width: 0; }
.sp-fieldset + .sp-fieldset { border-top: 1px dashed var(--sp-line); }
.sp-fieldset legend { display: flex; align-items: center; gap: 10px; float: none; width: auto; font-size: 1.05rem; font-weight: 700; color: var(--sp-ink); margin-bottom: 6px; }
.sp-step-number { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--sp-ink); color: var(--sp-gold); font-size: .85rem; font-weight: 800; flex: none; }
.sp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.sp-grid-box { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-span-2 { grid-column: span 2; }
.sp-field { display: block; font-weight: 600; font-size: .95rem; color: var(--sp-ink); margin: 0 0 4px; }
.sp-field .form-control, .sp-field .form-select { margin-top: 6px; }
.sp-optional { font-weight: 500; color: var(--sp-muted); }
.sp-hint { background: #faf8f2; border: 1px solid #ece4cf; border-radius: 14px; padding: 12px 14px; color: var(--sp-text); font-size: .92rem; }
.sp-statements { margin: 6px 0 14px; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.sp-statements li { position: relative; padding: 10px 14px 10px 40px; background: #faf8f2; border-radius: 12px; }
.sp-statements li::before { content: ''; position: absolute; left: 15px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--sp-bronze); border-bottom: 2px solid var(--sp-bronze); transform: rotate(-45deg); }
.sp-confirm { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin: 12px 0 0; border: 1px solid var(--sp-line); border-radius: 14px; line-height: 1.5; cursor: pointer; font-weight: 600; }
.sp-confirm input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--sp-ink); }
.sp-confirm a { color: var(--sp-bronze); font-weight: 700; }
#sp-accept { margin-top: 18px; width: 100%; }
.sp-status { margin: 12px 0 0; overflow-wrap: anywhere; font-weight: 600; }
.sp-status:empty { display: none; }
.sp-status.is-error { color: var(--sp-danger); }

/* ── Controls ────────────────────────────────────────────── */
.sp-page .form-control, .sp-page .form-select { min-height: 48px; border-radius: 12px; border: 1px solid var(--sp-field-line); background-color: #fff; color: var(--sp-text); font-size: 1rem; transition: border-color .2s var(--sp-ease), box-shadow .2s var(--sp-ease); }
.sp-page .form-control-sm { min-height: 44px; font-size: .95rem; }
.sp-page .form-control:focus, .sp-page .form-select:focus { border-color: var(--sp-ink); box-shadow: 0 0 0 4px rgba(214, 181, 120, .45); }
.sp-page [aria-invalid="true"] { border-color: var(--sp-danger) !important; }
.sp-btn, .sp-page .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--sp-ink); background: var(--sp-ink); color: var(--sp-paper); font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .2s var(--sp-ease), background-color .25s var(--sp-ease), border-color .25s var(--sp-ease); }
.sp-btn:hover, .sp-page .btn:hover { background: #26262c; color: var(--sp-paper); }
.sp-btn:active, .sp-page .btn:active { transform: scale(.98); }
.sp-btn:disabled, .sp-page .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.sp-btn-primary, .sp-page .btn-warning { background: var(--sp-gold); border-color: var(--sp-gold); color: var(--sp-ink); }
.sp-btn-primary:hover, .sp-page .btn-warning:hover { background: var(--sp-gold-hi); border-color: var(--sp-gold-hi); color: var(--sp-ink); }
.sp-btn-quiet, .sp-page .btn-outline-secondary, .sp-page .btn-outline-primary { background: transparent; color: var(--sp-ink); border-color: var(--sp-field-line); }
.sp-btn-quiet:hover, .sp-page .btn-outline-secondary:hover, .sp-page .btn-outline-primary:hover { background: #ece7dc; color: var(--sp-ink); }
.sp-btn-danger, .sp-page .btn-danger { background: var(--sp-danger); border-color: var(--sp-danger); color: #fff; }
.sp-page .btn-dark { background: var(--sp-ink); border-color: var(--sp-ink); color: var(--sp-paper); min-height: 52px; padding: 0 26px; }
.sp-hero .sp-btn-primary { box-shadow: 0 10px 24px -14px rgba(214, 181, 120, .8); }
.sp-btn-icon { width: 30px; height: 30px; margin-right: -12px; border-radius: 50%; background: rgba(11, 11, 13, .1); position: relative; flex: none; transition: transform .3s var(--sp-ease); }
.sp-btn-icon::before { content: ''; position: absolute; left: 10px; top: 11px; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.sp-btn:hover .sp-btn-icon { transform: translateX(3px); }
.sp-inline-row { display: flex; gap: 10px; margin-top: 6px; }
.sp-inline-row .form-control { margin: 0; flex: 1 1 auto; min-width: 0; }
.sp-page a:focus-visible, .sp-page button:focus-visible, .sp-page input:focus-visible, .sp-page select:focus-visible, .sp-page summary:focus-visible { outline: 3px solid var(--sp-bronze); outline-offset: 3px; }

/* ── Verify, label, photos, sale, ID ─────────────────────── */
.sp-verify { border-color: #ecd9a8; background: #fffaf0; }
.sp-checklist { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.sp-checklist li { display: flex; gap: 10px; align-items: center; }
.sp-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sp-field-line); flex: none; position: relative; }
.sp-checklist li.is-done .sp-check { background: var(--sp-ok); border-color: var(--sp-ok); }
.sp-checklist li.is-done .sp-check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); }
.sp-code { max-width: 360px; margin-bottom: 12px; }
.sp-label-ready { display: grid; gap: 14px; }
.sp-label-ready .btn { justify-self: start; }
.sp-howto { counter-reset: sp-how; list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.sp-howto li { counter-increment: sp-how; position: relative; padding: 12px 14px 12px 52px; background: #faf8f2; border-radius: 14px; }
.sp-howto li::before { content: counter(sp-how); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-ink); color: var(--sp-gold); font-weight: 800; font-size: .8rem; }
.sp-wait { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #f5f2ea; }
.sp-wait::before { content: ''; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--sp-gold); flex: none; box-shadow: 0 0 0 5px rgba(214, 181, 120, .25); }
.sp-label-note { margin: 14px 0 0; }
.sp-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin: 14px 0; }
.sp-photos > p { grid-column: 1 / -1; margin: 0; color: var(--sp-muted); }
.sp-photos a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: #ece7dc; }
.sp-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--sp-ease); }
.sp-photos a:hover img { transform: scale(1.04); }
.sp-upload { display: grid; gap: 10px; }
.sp-upload label { font-weight: 600; }
.sp-upload input[type=file] { display: block; width: 100%; padding: 10px; border: 1px dashed var(--sp-field-line); border-radius: 12px; background: #faf8f2; }
.sp-sync { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--sp-line); color: var(--sp-muted); font-size: .9rem; }
#sp-sale-history { margin-top: 14px; }
#sp-sale-history summary { cursor: pointer; padding: 10px 0; font-weight: 700; min-height: 44px; }
#sp-sale-history-list p { border-top: 1px solid var(--sp-line); padding: .8rem 0; margin: 0; }
#sp-sale-history-list a { display: inline-block; min-height: 44px; padding: .55rem 0; color: var(--sp-bronze); font-weight: 700; }
#sp-sale-detail, #sp-sale-reason, #sp-new-sale-status, #sp-status, #sp-photo-status, #sp-accept-status { overflow-wrap: anywhere; }
#kyc-card h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.status-badge { font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.status-PENDING { background: var(--sp-warn-bg); color: var(--sp-warn); }
.status-APPROVED { background: var(--sp-ok-bg); color: var(--sp-ok); }
.status-REJECTED { background: var(--sp-danger-bg); color: var(--sp-danger); }
.status-SOLD { background: #e8f0fe; color: #1a56b8; }
.status-EXPIRED { background: #eee; color: #555; }
#kyc-card .alert-warning { background: var(--sp-warn-bg); border: 0; border-radius: 14px; color: #5c3b00; }
#kyc-card video, #kyc-card img { border-radius: 14px !important; }
.sp-page .alert { border-radius: 14px; }
.sp-settings summary { cursor: pointer; list-style: none; display: grid; gap: 2px; min-height: 44px; }
.sp-settings summary::-webkit-details-marker { display: none; }
.sp-settings summary h2 { margin: 0; display: flex; align-items: center; justify-content: space-between; }
.sp-settings summary h2::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--sp-ink); border-bottom: 2px solid var(--sp-ink); transform: rotate(45deg); transition: transform .3s var(--sp-ease); }
.sp-settings[open] summary h2::after { transform: rotate(-135deg); }
.sp-settings-body { padding-top: 6px; }
.sp-settings-body .sp-field { margin-bottom: 10px; }
.sp-danger { margin-top: 24px; padding: 18px; border: 1px solid #f0c9c4; border-radius: 16px; background: #fffafa; }
.sp-danger h3 { margin-top: 0; color: var(--sp-danger); }

/* ── Motion: a quiet arrival, never on reduced-motion ────── */
@keyframes sp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.sp-hero, .acct-card, .sp-heading { animation: sp-rise .7s var(--sp-ease) both; }
@media (prefers-reduced-motion: reduce) {
    .sp-hero, .acct-card, .sp-heading { animation: none; }
    .sp-btn, .sp-page .btn, .sp-btn-icon, .sp-photos img { transition: none; }
}

/* ── Phones ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .acct-container { padding: 12px 12px 48px; }
    .sp-hero { padding: 22px 18px 18px; border-radius: 24px; }
    .acct-card { padding: 20px 18px; border-radius: 20px; }
    .sp-steps li { font-size: .7rem; padding-top: 28px; }
    .sp-steps li::after { left: 28px; }
    .sp-grid, .sp-grid-box { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .sp-inline-row { flex-direction: column; }
    .sp-inline-row .sp-btn { width: 100%; }
    .sp-label-ready .btn { justify-self: stretch; }
    .sp-next .sp-btn { width: 100%; }
}

/* ── Converter details: donor VINs and proof of ownership (2026-11-04) ── */
.sp-evidence .sp-accept { margin-top: 14px; padding-top: 14px; }
.sp-unit { border: 1px solid var(--sp-line); border-radius: 18px; padding: 16px 18px 6px; margin: 0 0 12px; background: #fcfbf8; }
.sp-unit-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.sp-unit-head strong { font-size: 1.02rem; }
.sp-unit-remove { min-height: 40px; padding: 0 14px; font-size: .9rem; }
.sp-unit .sp-grid { gap: 12px 16px; }
.sp-unit .sp-confirm { margin: 10px 0 12px; background: #fff; }
.sp-vin { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.sp-vin-hint { margin: -4px 0 0; min-height: 0; }
.sp-vin-hint:empty { display: none; }
.sp-doc-state { margin: 6px 0 0; }
.sp-doc-state:empty { display: none; }
.sp-unit input[type=file] { padding: 8px 10px; border-style: dashed; background: #faf8f2; }
#sp-ev-add { margin: 4px 0 8px; }
#sp-ev-save { margin-top: 18px; width: 100%; }
#sp-evidence-summary .sp-lines li { align-items: flex-start; }
#sp-evidence-summary .sp-lines small { color: var(--sp-muted); line-height: 1.5; }
#sp-evidence-summary .sp-howto { margin-top: 4px; }
.sp-print-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .sp-print-links .sp-btn { width: 100%; } }
@media (max-width: 600px) {
    .sp-unit { padding: 14px 14px 4px; border-radius: 16px; }
    .sp-unit .sp-grid { grid-template-columns: minmax(0, 1fr); }
    .sp-unit .sp-span-2 { grid-column: auto; }
}

/* ── Sign-in and password pages: the same ink, paper and gold as the account (2026-11-04).
   templates/leads/account_login.html, account_forgot_password.html and account_reset_password.html
   load this file too; they are standalone shells like the dashboard, so the bare `body` rule above
   is still reaching exactly the pages that want it. ────────────────────────────────────────── */
.sp-auth-page .acct-container { max-width: 980px; padding-top: 28px; }
.sp-auth-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 22px; }
.sp-auth-top .sp-btn-quiet { min-height: 44px; }
.sp-auth { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border-radius: 28px; overflow: hidden; background: var(--sp-card); border: 1px solid var(--sp-line); box-shadow: 0 30px 60px -40px rgba(11, 11, 13, .55); animation: sp-rise .7s var(--sp-ease) both; }
.sp-auth-side { position: relative; overflow: hidden; background: var(--sp-ink); color: var(--sp-paper); padding: 36px 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.sp-auth-side::after { content: ''; position: absolute; inset: auto -30% -50% 30%; height: 110%; background: radial-gradient(closest-side, rgba(214, 181, 120, .26), transparent); pointer-events: none; }
.sp-auth-side > * { position: relative; }
.sp-auth-side .sp-eyebrow { color: var(--sp-gold); margin: 0 0 10px; }
.sp-auth-side h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 12px; color: var(--sp-paper); }
.sp-auth-side p { color: rgba(244, 241, 234, .82); margin: 0; }
.sp-auth-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.sp-auth-points li { display: flex; gap: 12px; align-items: flex-start; color: rgba(244, 241, 234, .92); }
.sp-auth-points .sp-check { border-color: var(--sp-gold); background: var(--sp-gold); margin-top: 1px; }
.sp-auth-points .sp-check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2px solid var(--sp-ink); border-bottom: 2px solid var(--sp-ink); transform: rotate(45deg); }
.sp-auth-foot { font-size: .85rem; color: rgba(244, 241, 234, .6); }
.sp-auth-main { padding: 36px 34px 30px; }
.sp-auth-main h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.sp-auth-main .sp-help { margin-bottom: 18px; }
.sp-auth-main .account-audience a, .sp-auth-main .sp-confirm a { color: var(--sp-bronze); font-weight: 700; }
.sp-auth-main .sp-field { margin-bottom: 14px; }
.sp-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 16px; font-size: .92rem; }
.sp-auth-row a { color: var(--sp-bronze); font-weight: 700; }
.sp-pass-wrap { position: relative; }
.sp-pass-wrap .form-control { padding-right: 84px; }
.sp-pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--sp-field-line); background: #fff; color: var(--sp-ink); font-weight: 700; font-size: .82rem; cursor: pointer; }
.sp-auth-main .sp-btn-primary { width: 100%; }
.sp-auth-alt { text-align: center; margin: 18px 0 0; font-size: .95rem; }
.sp-auth-alt a { color: var(--sp-bronze); font-weight: 700; }
.sp-auth-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 10px; color: var(--sp-muted); font-size: .85rem; }
.sp-auth-divider::before, .sp-auth-divider::after { content: ''; flex: 1; border-top: 1px solid var(--sp-line); }
.sp-auth-business { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--sp-line); border-radius: 16px; font-size: .92rem; }
.sp-auth-business a { white-space: nowrap; color: var(--sp-bronze); font-weight: 700; }
#two-factor h2 { font-size: 1.25rem; font-weight: 800; margin: 0 0 6px; }
#two-factor .sp-field { margin-bottom: 12px; }
#code-status { margin: 10px 0 0; font-weight: 600; }
#code-status:empty { display: none; }
#code-restart { margin-top: 10px; }
.sp-page .alert-danger { background: var(--sp-danger-bg); color: var(--sp-danger); border: 0; font-weight: 600; }
.sp-page .alert-success { background: var(--sp-ok-bg); color: var(--sp-ok); border: 0; font-weight: 600; }
.sp-auth-single { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
.sp-auth-single .sp-auth-main h1 { font-size: 1.45rem; }
.sp-auth-single .sp-eyebrow { margin-bottom: 8px; text-transform: uppercase; }
@media (max-width: 760px) {
    .sp-auth { grid-template-columns: 1fr; border-radius: 22px; }
    .sp-auth-side { padding: 24px 20px; gap: 16px; }
    .sp-auth-side h2 { font-size: 1.4rem; }
    .sp-auth-points { display: none; }
    .sp-auth-main { padding: 24px 20px 22px; }
    .sp-auth-business { flex-direction: column; align-items: flex-start; }
}
