/* ============================================================
   AUTO PART PULSE — instrument design system
   "The resale value of any car, read like an instrument."

   Role-locked color (never crosses roles):
     cobalt  (--accent)  = the ONE action
     cyan    (--cyan)    = the live scan line, ONLY
     green   (--green)   = money & value, ONLY
     amber   (--warning) = recalls (+ the hot-seller tint), ONLY

   Data as readouts: VINs, prices, sales, specs are all monospace with
   tabular numerals — VIN plates are stamped mono, gauges are digital.
   Dark-first (a cluster glows); the same tokens invert to a light shop floor.
   No webfont (CSP blocks them) — the mono stack is the identity.
   ============================================================ */

/* ===== THEME TOKENS — dark default + .light override ===== */
:root {
    --bg-page:         #0b0e14;
    --bg-topbar:       #10151e;
    --bg-card:         #141b26;
    --bg-card-hover:   #1b2432;
    --bg-chip:         #1b2432;
    --bg-chip-active:  #2f6bff;
    --border:          #28303f;
    --text-primary:    #eef2f8;
    --text-secondary:  #9aa6ba;
    --text-muted:      #616d80;
    --accent:          #2f6bff;   /* cobalt — the one action */
    --accent-ink:      #ffffff;
    --cyan:            #3fdfe0;   /* live scan only */
    --green:           #2fd07d;   /* money only */
    --green-ink:       #04140b;
    --danger:          #ff5e5e;
    --warning:         #f6a623;   /* recalls only */
    --btn-ghost-bg:    #1b2432;
    --btn-ghost-text:  #eef2f8;
    --mono:            #616d80;

    /* tinted state surfaces */
    --danger-bg:       rgba(255, 94, 94, 0.12);
    --warning-bg:      rgba(246, 166, 35, 0.12);
    --warning-border:  rgba(246, 166, 35, 0.40);
    --warning-text:    #f6a623;
    --green-bg:        rgba(47, 208, 125, 0.12);
    --green-border:    rgba(47, 208, 125, 0.38);
    --green-text:      #34d17e;
    --chip-amber-bg:   rgba(246, 166, 35, 0.16);
    --chip-amber-text: #f6a623;

    --accent-shadow:   0 6px 16px -4px rgba(47, 107, 255, 0.55);
    --green-shadow:    0 6px 16px -4px rgba(47, 208, 125, 0.45);
    --card-shadow:     0 18px 42px -22px rgba(0, 0, 0, 0.7);

    --font-ui:   system-ui, -apple-system, 'Segoe UI Variable', 'Segoe UI', Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, 'Cascadia Code', 'SF Mono', 'Segoe UI Mono', Menlo, Consolas, monospace;
}

body.light {
    --bg-page:         #eaedf2;
    --bg-topbar:       #ffffff;
    --bg-card:         #ffffff;
    --bg-card-hover:   #f7f9fc;
    --bg-chip:         #f2f4f8;
    --bg-chip-active:  #2f6bff;
    --border:          #d7dce4;
    --text-primary:    #141a24;
    --text-secondary:  #5b6577;
    --text-muted:      #8b95a7;
    --accent:          #2f6bff;
    --accent-ink:      #ffffff;
    --cyan:            #0aa5b0;
    --green:           #0e9a52;
    --green-ink:       #ffffff;
    --danger:          #dc2626;
    --warning:         #c07a00;
    --btn-ghost-bg:    #e9edf4;
    --btn-ghost-text:  #141a24;
    --mono:            #8b95a7;

    --danger-bg:       #fef2f2;
    --warning-bg:      #fff8ec;
    --warning-border:  #f0d9a8;
    --warning-text:    #8a5a00;
    --green-bg:        #eefaf2;
    --green-border:    #bce8cf;
    --green-text:      #0e9a52;
    --chip-amber-bg:   #fbeccf;
    --chip-amber-text: #8a5a00;

    --accent-shadow:   0 6px 16px -6px rgba(47, 107, 255, 0.40);
    --green-shadow:    0 6px 16px -6px rgba(16, 154, 84, 0.30);
    --card-shadow:     0 20px 48px -28px rgba(15, 25, 55, 0.30);
}

/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-ui);
    background-color: var(--bg-page);
    /* faint instrument grid behind everything */
    background-image: linear-gradient(
        color-mix(in srgb, var(--text-secondary) 6%, transparent) 1px, transparent 1px);
    background-size: 100% 44px;
    color: var(--text-primary);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: color 0.2s, background-color 0.2s;
}

.hidden { display: none !important; }

.mono, .tabular {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--border);
    padding: 0 16px;
    height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 200;
}

.brand {
    font-size: 16px;
    font-weight: 750;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.brand-text b {
    color: var(--cyan);
    font-weight: inherit;
}

.brand-logo {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(47, 107, 255, 0.35);
}

.icon-btn {
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 9px;
    width: 34px;
    height: 34px;
    cursor: pointer;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.icon-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); }

/* Right-side spacer, same width as the menu button, so the flex:1 brand
   is centered on the true middle of the bar. */
.topbar-spacer { width: 34px; flex-shrink: 0; }

/* ===== HISTORY PANEL ===== */
.history-panel {
    background: var(--bg-topbar);
    border-bottom: 1px solid var(--border);
    max-height: 340px;
    overflow-y: auto;
    position: sticky;
    top: 54px;
    z-index: 100;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
    border-bottom: 1px solid var(--border);
}

.history-title {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.history-clear-btn {
    background: none;
    border: none;
    font-size: 12px;
    color: var(--danger);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.history-clear-btn:hover { background: var(--danger-bg); }

.history-list { padding: 4px 0; }

.history-item {
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}

.history-item:last-child { border-bottom: none; }
.history-item:hover { background: var(--bg-chip); }

.history-item-main {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 3px;
}

.history-vehicle {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.history-time {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.history-vin {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.history-empty {
    padding: 20px 16px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.history-locked {
    padding: 22px 20px 24px;
    text-align: center;
}

.history-locked-icon {
    font-size: 22px;
    margin-bottom: 6px;
}

.history-locked-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.history-locked-sub {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-secondary);
    max-width: 320px;
    margin: 0 auto 14px;
}

/* ===== PAGE ===== */
.page {
    max-width: 680px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== SCANNER CARD ===== */
.scanner-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--card-shadow);
}

.scanner-viewport {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    /* idle instrument look — camera video covers this when scanning */
    background:
        repeating-linear-gradient(90deg, transparent 0 26px, rgba(255,255,255,0.02) 26px 27px),
        repeating-linear-gradient(0deg, transparent 0 26px, rgba(255,255,255,0.02) 26px 27px),
        radial-gradient(120% 90% at 50% 0%, #223 0%, #05070b 72%);
}

.scanner-viewport video,
.scanner-viewport canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

canvas.drawingBuffer {
    position: absolute;
    top: 0;
    left: 0;
}

/* cyan corner brackets — the scanner HUD, always on */
.scan-bracket {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 2.5px solid var(--cyan);
    pointer-events: none;
    z-index: 2;
}
.scan-bracket.tl { top: 46px;    left: 34px;  border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.scan-bracket.tr { top: 46px;    right: 34px; border-left: 0;  border-bottom: 0; border-radius: 0 6px 0 0; }
.scan-bracket.bl { bottom: 46px; left: 34px;  border-right: 0; border-top: 0;    border-radius: 0 0 0 6px; }
.scan-bracket.br { bottom: 46px; right: 34px; border-left: 0;  border-top: 0;    border-radius: 0 0 6px 0; }

/* the one live cyan scan line */
.scan-line {
    position: absolute;
    left: 34px;
    right: 34px;
    height: 3px;
    border-radius: 2px;
    /* A couple shades darker than raw --cyan so the sweep reads clearly. */
    background: linear-gradient(90deg, transparent,
        color-mix(in srgb, var(--cyan) 78%, black), transparent);
    box-shadow: 0 0 14px 2px color-mix(in srgb, var(--cyan) 55%, transparent);
    top: 60px;
    z-index: 2;
    pointer-events: none;
    animation: scan-sweep 2.6s ease-in-out infinite;
}

@keyframes scan-sweep {
    0%, 100% { top: 60px; }
    50%      { top: 178px; }
}

.scan-hint {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
    pointer-events: none;
    z-index: 2;
}

/* Live camera present: drop the idle-only text hint, keep the HUD */
.scanner-viewport:has(video) .scan-hint,
.scanner-viewport:has(canvas) .scan-hint { display: none; }

@media (prefers-reduced-motion: reduce) {
    .scan-line { animation: none; top: 118px; }
}

/* legacy full-frame box replaced by the bracket HUD */
.scan-box { display: none; }

/* ===== SCANNER CONTROLS ===== */
.scanner-controls {
    display: flex;
    gap: 8px;
}

/* ===== VIN INPUT ROW — a stamped VIN plate ===== */
.vin-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.vin-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
}

.vin-input {
    width: 100%;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
        var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    padding: 12px 56px 12px 14px;
    font-size: 15px;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: 3px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.vin-input::placeholder { color: var(--text-muted); letter-spacing: 0.5px; }
.vin-input:focus  { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.vin-input.ready  { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 16%, transparent); }

.vin-counter {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    pointer-events: none;
}

.vin-counter.partial { color: var(--text-secondary); }
.vin-counter.valid   { color: var(--green); }

.scanner-status {
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.scanner-error {
    font-size: 13px;
    color: var(--danger);
    min-height: 0;
}

/* ===== BUTTONS ===== */
/* cobalt = the one action */
.btn-primary {
    flex: 1;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-ink);
    cursor: pointer;
    box-shadow: var(--accent-shadow);
    transition: opacity 0.15s, transform 0.05s;
}

.btn-primary:hover  { opacity: 0.9; }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
    flex: 1;
    background: var(--btn-ghost-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--btn-ghost-text);
    cursor: pointer;
    transition: background 0.15s;
}

.btn-ghost:hover { background: var(--bg-card-hover); }

/* .btn-accent — a secondary ACTION (cobalt), NOT money.
   Decode, View report, Send, Request, sign-in link, etc. */
.btn-accent {
    background: var(--accent);
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-ink);
    cursor: pointer;
    white-space: nowrap;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.btn-accent:hover { opacity: 0.9; }

/* ===== TORCH BUTTON ===== */
#torchBtn {
    flex: 0 0 auto;
    padding: 12px 14px;
}

/* ===== RESULTS ===== */
/* The topbar is sticky and 55px tall (54px + its 1px bottom border), so a plain
   scrollIntoView("start") parks the vehicle photo underneath it. Same trick as
   .price-section below: 55 + 4 leaves a few px of air between the top of the
   photo and the bottom of the brand bar. */
#result { scroll-margin-top: 59px; }

.loading {
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 24px 0;
}

/* Checksum warning banner (amber = a data caution, kin to recalls) */
.checksum-warning {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--warning-text);
    margin-bottom: 12px;
}

/* Result header card */
.result-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* Vehicle image — the hero photo */
.vehicle-image-wrap {
    width: 100%;
    background:
        radial-gradient(140% 120% at 70% 10%, #26303f, #10151d);
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.light .vehicle-image-wrap {
    background: radial-gradient(120% 90% at 50% 0%, #dfe4ee, #cfd6e2);
}

.image-link {
    display: block;
    width: 100%;
    position: relative;
}

.vehicle-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.image-credit {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 7px;
    border-radius: 5px;
}

.image-placeholder,
.image-unavailable {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    padding: 32px;
}

/* Vehicle name + VIN */
.result-hero {
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border);
}

.result-year-make {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.result-vin {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1.5px;
}

/* Result action buttons (copy / share / parts) */
.result-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.action-btn {
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--btn-ghost-text);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s;
}

.action-btn:hover { background: var(--bg-card-hover); }

/* Recall button (amber = recalls only) */
.recall-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px solid var(--border);
    padding: 13px 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--warning);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.recall-btn:hover { background: var(--warning-bg); }
.recall-btn:disabled { color: var(--text-secondary); cursor: default; }

/* ===== RECALL SECTION ===== */
.recall-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.recall-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    padding: 0 2px;
}

.recall-none {
    background: var(--green-bg);
    border: 1px solid var(--green-border);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green-text);
}

.recall-error {
    color: var(--danger);
    font-size: 13px;
    padding: 8px 0;
}

.recall-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--warning);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recall-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.recall-campaign {
    font-family: var(--font-mono);
    font-size: 11px;
    background: var(--chip-amber-bg);
    color: var(--chip-amber-text);
    border-radius: 5px;
    padding: 2px 7px;
    font-weight: 700;
}

.recall-component {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.recall-summary,
.recall-consequence,
.recall-remedy,
.recall-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== INFO CLUSTER (specs as a gauge cluster) ===== */
.result-section-heading {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 4px 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.info-card {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    padding: 11px 14px;
}

.info-card:nth-child(odd) { border-right: 1px solid var(--border); }
.info-card:nth-last-child(-n+2):nth-child(odd) { border-bottom: 0; }
.info-card:nth-last-child(-n+1):nth-child(even) { border-bottom: 0; }
/* last row (covers both the odd-count trailing single and the even pair) */
.info-grid > .info-card:last-child { border-bottom: 0; }
/* a lone trailing card (odd total) shouldn't draw a stray middle divider */
.info-grid > .info-card:last-child:nth-child(odd) { border-right: 0; }

.info-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 5px;
}

.info-value {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: var(--text-primary);
    word-break: break-word;
}

/* ===== EXPORT BUTTON (an action → cobalt) ===== */
.export-btn {
    display: block;
    width: 100%;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-ink);
    cursor: pointer;
    text-align: center;
    margin-top: 4px;
    box-shadow: var(--accent-shadow);
    transition: opacity 0.15s;
}

.export-btn:hover    { opacity: 0.9; }
.export-btn:disabled { opacity: 0.5; cursor: default; box-shadow: none; }

/* ================================================
   SOLD PART PRICES — the money moment
================================================ */
/* scroll-margin keeps the sticky 54px topbar from cutting off the green
   "$ in reusable parts" value box when "Part Prices ↓" scrolls here. */
.price-section { margin-top: 6px; scroll-margin-top: 66px; }

/* The vehicle + fitment range, stated once above the table. Replaces the old
   per-row Year column, so every price below reads as this car's price. */
.price-scope {
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 8px 0 6px;
}

.price-scope strong { color: var(--text-primary); }

/* Market / sell-through — a Pro column since 2026-07-29 (owner's call), so
   locked rows get `.locked-cell` over a dash like the money columns do. It used
   to render unblurred on the grounds that a ratio leaks no price; that's still
   true, but "should I pull this" is the answer Pro sells.
   An unmeasured part on an UNLOCKED row renders an EMPTY cell — no dash, no zero
   — because "we never looked" must not read as "saturated". The blurred dash and
   the empty cell are deliberately different: paywall vs no data. */
.mkt-cell {
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-muted);
}

.mkt-pct { font-family: var(--font-mono); font-weight: 500; opacity: 0.85; }

/* A brightness ramp, not a hue: green is reserved for money in this palette
   (see the :root comment), and sell-through is demand, not dollars. The word is
   the signal; the contrast just ranks it. */
.mkt-moves     { color: var(--text-primary); }
.mkt-steady    { color: var(--text-secondary); }
.mkt-saturated { color: var(--text-muted); }

/* Optional per-part fitment range (fitmentColumn setting). Monospaced so the
   year ranges line up down the column, and never blurred — fitment isn't money. */
.fits-cell {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.price-notice {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.price-note {
    font-size: 12px;
    color: var(--text-muted);
    margin: 6px 2px;
    line-height: 1.45;
}

.price-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.price-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--bg-chip);
    border-bottom: 1px solid var(--border);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.price-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.price-table tbody tr:last-child td,
.price-table tr:last-child td { border-bottom: none; }

/* part name is prose, not a readout */
.price-table td:first-child {
    white-space: normal;
    text-transform: capitalize;
    font-family: var(--font-ui);
    font-weight: 600;
}

/* money columns (Avg, Median) are green; Year/Sales stay neutral mono */
.price-table td:nth-child(3),
.price-table td:nth-child(4) { color: var(--green-text); font-weight: 600; }

.price-ebay-link {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-ink);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 7px;
}

/* ================================================
   HAMBURGER MENU
================================================ */
.menu-panel {
    position: fixed;
    top: 60px;
    left: 10px;
    background: var(--bg-topbar);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    padding: 6px;
    z-index: 300;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform-origin: top left;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

/* The menu slides + fades instead of hard-appearing. It stays in the DOM when
   closed (overriding the global `.hidden { display:none }`) so the transform
   can animate both ways; pointer-events:none keeps it inert while closed. */
.menu-panel.hidden {
    display: flex !important;
    opacity: 0;
    transform: translateX(-16px) scale(0.97);
    pointer-events: none;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    border-radius: 9px;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.menu-item:hover { background: var(--bg-chip); }

.menu-icon {
    width: 22px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* ================================================
   SETTINGS MODAL
   Reuses .account-modal for the shell; these are the row primitives. The panel
   can outgrow the viewport on a small phone once every row is supported, so it
   scrolls internally rather than pushing its own close button off-screen.
================================================ */
#settings-modal {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
}

.set-group {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 14px 0 4px;
}

.set-group:first-child { margin-top: 4px; }

.set-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.set-row:last-child { border-bottom: none; }

.set-label { min-width: 0; }

.set-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.set-hint {
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Switch — a checkbox styled as a track+knob. The input stays in the DOM and
   keeps its native semantics (focus, space to toggle, screen-reader state). */
.set-switch {
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 26px;
}

.set-switch input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.set-track {
    position: absolute;
    inset: 0;
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: background 0.16s, border-color 0.16s;
    pointer-events: none;
}

.set-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--text-secondary);
    transition: transform 0.16s, background 0.16s;
}

.set-switch input:checked + .set-track {
    background: var(--accent);
    border-color: var(--accent);
}

.set-switch input:checked + .set-track::after {
    transform: translateX(18px);
    background: var(--accent-ink);
}

.set-switch input:focus-visible + .set-track {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Segmented control (theme, default scan mode) */
.set-seg {
    display: flex;
    flex-shrink: 0;
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 2px;
    gap: 2px;
}

.set-seg button {
    background: none;
    border: none;
    border-radius: 7px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
}

.set-seg button.on {
    background: var(--accent);
    color: var(--accent-ink);
}

.set-select {
    flex-shrink: 0;
    max-width: 55%;
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 7px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

.set-btn {
    width: 100%;
    margin-top: 12px;
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
}

.set-btn:hover { background: var(--bg-card-hover); }

.set-btn.danger { color: var(--danger); }
.set-btn.danger:hover { background: var(--danger-bg); }

.set-status {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 8px;
    min-height: 14px;
}

/* iOS has no install prompt — the only route is Share → Add to Home Screen. */
.set-ios-hint {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 11px;
    margin-top: 10px;
}

/* ================================================
   MANUAL LOOKUP ("No VIN?")
================================================ */
.manual-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    margin-top: 14px;
    box-shadow: var(--card-shadow);
}

.manual-title {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
}

.manual-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.manual-select {
    flex: 1 1 100px;
    min-width: 0;
    background: var(--bg-chip);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
}

.manual-select:disabled { opacity: 0.5; }

.manual-go {
    flex: 1 1 100%;
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    background: var(--accent);
    color: var(--accent-ink);
    cursor: pointer;
    box-shadow: var(--accent-shadow);
}

.manual-go:disabled { opacity: 0.45; cursor: default; box-shadow: none; }

#manual-results { margin-top: 10px; }

/* ================================================
   FOOTER
================================================ */
.footer {
    margin: 26px 0 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-brand { font-size: 14px; color: var(--text-primary); }

.footer-note { font-size: 12px; color: var(--text-muted); }

/* Subscribe to Pulse Pro — $29/mo : this is the money CTA → green */
.footer-contact {
    display: inline-block;
    margin: 6px auto 0;
    background: var(--green);
    color: var(--green-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 11px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--green-shadow);
}

.footer-contact:hover { opacity: 0.92; }

/* Secondary link to the B2B / trade sales page (business.html) */
.footer-business {
    display: inline-block;
    margin: 8px auto 0;
    max-width: 42ch;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.footer-business:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* Sign-in CAPTCHA holder. Only rendered when TURNSTILE_SITE_KEY is set, so an
   unconfigured install has no empty gap here. */
.account-captcha {
    margin: 10px 0 4px;
    min-height: 65px;
}

/* Privacy / Terms — quiet by design: required to be reachable, not to compete
   with the subscribe CTA above them. */
.footer-legal {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0 6px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.footer-legal a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ================================================
   CONTACT FORM (footer)
================================================ */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 420px;
    margin: 10px auto 0;
    text-align: left;
}

.contact-form textarea,
.contact-form input[type="email"] {
    background: var(--bg-chip);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.contact-form .btn-accent {
    border: none;
    border-radius: 10px;
    padding: 11px;
    font-size: 14px;
    font-weight: 700;
    background: var(--accent);
    color: var(--accent-ink);
    cursor: pointer;
}

.contact-form .btn-accent:disabled { opacity: 0.5; cursor: default; }

.cf-status {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    min-height: 16px;
}

.cf-blurb {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: left;
}

/* ================================================
   PRO GATING + VEHICLE REPORT
================================================ */
.pro-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 999px;
    vertical-align: 2px;
    margin-left: 6px;
}

.locked-cell {
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
}

.locked-link {
    opacity: 0.35;
    pointer-events: none;
}

.pro-unlock {
    margin: 12px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Unlock all N part prices — money CTA → green */
.unlock-btn {
    border: none;
    border-radius: 12px;
    padding: 13px;
    font-size: 14px;
    font-weight: 800;
    background: var(--green);
    color: var(--green-ink);
    cursor: pointer;
    box-shadow: var(--green-shadow);
}

.unlock-btn:hover { opacity: 0.92; }

/* Request this vehicle — an action → cobalt */
.request-btn {
    border: none;
    border-radius: 9px;
    padding: 9px 16px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    background: var(--accent);
    color: var(--accent-ink);
    cursor: pointer;
}

.request-btn:disabled { opacity: 0.5; cursor: default; }

.rating-stars {
    color: var(--warning);
    letter-spacing: 2px;
    font-family: var(--font-ui);
}

/* ================================================
   PULSE PRO ACCOUNT MODAL
================================================ */
.account-modal {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 360px);
    z-index: 400;
    background: var(--bg-topbar);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px 16px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.account-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-primary);
}

.scanner-close {
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scanner-close:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.account-note {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 6px 0;
}

.account-input {
    width: 100%;
    background: var(--bg-chip);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    /* Must stay >= 16px: iOS Safari auto-zooms on focus of any smaller input
       and (with our viewport meta) never zooms back out. */
    font-size: 16px;
    margin: 6px 0;
    box-sizing: border-box;
}

/* Upgrade / sign-in link / manage subscription: cobalt actions by default */
.account-btn {
    width: 100%;
    border: none;
    border-radius: 11px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    background: var(--accent);
    color: var(--accent-ink);
    cursor: pointer;
    margin: 4px 0;
}

/* the actual purchase CTA is the money moment → green */
#acctUpgrade {
    background: var(--green);
    color: var(--green-ink);
    box-shadow: var(--green-shadow);
}

.account-ghost-btn {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    background: none;
    color: var(--text-secondary);
    cursor: pointer;
    margin: 4px 0;
}

/* ================================================
   VALUE PITCH ("this car has $X in parts") — money moment
================================================ */
.value-pitch {
    background:
        radial-gradient(120% 140% at 100% 0%, var(--green-bg), transparent 60%),
        var(--bg-card);
    border: 1px solid var(--green-border);
    border-radius: 16px;
    padding: 15px 16px;
    margin: 8px 0 12px;
}

.vp-headline {
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-primary);
    font-weight: 600;
}

.vp-amount {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    font-size: 1.15em;
    color: var(--green-text);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.vp-sub {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 6px;
}

/* Unlock every part price — Pulse Pro : money CTA → green */
.vp-btn {
    border: none;
    border-radius: 12px;
    padding: 13px 16px;
    margin-top: 12px;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    background: var(--green);
    color: var(--green-ink);
    cursor: pointer;
    box-shadow: var(--green-shadow);
}

.vp-btn:hover { opacity: 0.92; }

/* Subscriber variant: just a compact total, no CTA. */
.value-pitch-pro {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 11px 14px;
}

.value-pitch-pro .vp-amount { font-size: 16px; }

/* ================================================
   PAYWALL PHASE 1 — outcome-first modal, "what you're
   missing" compare strip, cancel-anytime + › chevron
================================================ */
.cta-chev {
    font-weight: 800;
    margin-left: 4px;
    opacity: 0.9;
}

/* "No commitment · cancel anytime" reassurance line */
.vp-note,
.account-subnote {
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
}
.vp-note { margin-top: 8px; }
.account-subnote { margin: 2px 0 6px; }

/* Outcome banner in the account modal — sells the concrete $ from the last scan */
.account-outcome {
    background:
        radial-gradient(120% 140% at 100% 0%, var(--green-bg), transparent 60%),
        var(--bg-card);
    border: 1px solid var(--green-border);
    border-radius: 12px;
    padding: 11px 13px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 8px 0 10px;
}
.ao-amount {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    color: var(--green-text);
    white-space: nowrap;
}

/* Free-vs-Pro "what you're missing" strip under the blurred rows */
.pro-compare {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    margin-bottom: 4px;
}
.pc-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 8px 12px;
    font-size: 12.5px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}
.pc-row:first-child { border-top: none; }
.pc-row > span:nth-child(2),
.pc-row > span:nth-child(3) {
    min-width: 36px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.pc-head {
    background: var(--bg-chip);
    color: var(--text-muted);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}
.pc-free { color: var(--text-muted); font-family: var(--font-mono); }
.pc-pro  { color: var(--green-text); font-weight: 800; font-family: var(--font-mono); }
.pc-no   { color: var(--text-muted); }
.pc-yes  { color: var(--green-text); font-weight: 800; }

/* ================================================
   PAYWALL PHASE 2 — trial timeline, exit-intent save,
   "compare all plans" link
================================================ */
/* "Here's exactly when you'll be charged" — kills surprise-charge fear */
.trial-timeline {
    list-style: none;
    margin: 10px 0 12px;
    padding: 2px 0 0;
}
.trial-timeline li {
    position: relative;
    padding: 0 0 14px 26px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
}
.trial-timeline li:last-child { padding-bottom: 0; }
.trial-timeline li b {
    display: block;
    color: var(--text-primary);
    font-size: 12.5px;
    margin-bottom: 1px;
}
.trial-timeline li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.18);
}
.trial-timeline li.tl-free::before {
    background: var(--green);
    box-shadow: 0 0 0 3px var(--green-bg);
}
/* the connecting rail between dots */
.trial-timeline li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 12px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

/* "Compare all plans (incl. enterprise)" — quiet secondary link */
.account-link {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
    margin: 6px 0 2px;
    text-decoration: none;
}
.account-link:hover { color: var(--accent); }

/* Exit-intent save sheet */
.exit-lead {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

/* PRO badge in the top bar for subscribers. */
.brand-pro {
    display: inline-block;
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 1px 7px;
    border-radius: 999px;
    vertical-align: 2px;
    margin-left: 4px;
}

/* ================================================
   MOBILE: keep the price table from side-scrolling
================================================ */
@media (max-width: 480px) {
    .price-table { font-size: 12px; }
    .price-table th,
    .price-table td { padding: 8px 8px; }
    .price-ebay-link { padding: 3px 8px; font-size: 11px; }
}

/* ================================================
   HOT SELLERS + HISTORY COPY (UI polish)
   Hot-seller tint borrows amber — the "moves fast" caution — kept off
   every other role.
================================================ */
.hot-row td { background: var(--warning-bg); }

/* Behind the free-tier blur the amber tint smears into muddy floating
   rectangles — drop it on locked rows. The 🔥 emoji still flags the row. */
.hot-row.locked-row td { background: transparent; }

.hot-tag {
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}

/* Recent Scans: VIN + one-click copy */
.history-vin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.history-copy {
    flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg-chip);
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 7px;
    cursor: pointer;
}

.history-copy:hover { background: var(--bg-card-hover); color: var(--text-primary); }

/* ================================================================
   NEW FEATURE STYLES (2026-07)
   Plan toggle · data-confidence dots · part-out export · request email
   ================================================================ */

/* --- Monthly/annual plan toggle (account modal) --- */
.plan-toggle {
    display: flex;
    gap: 8px;
    margin: 4px 0 12px;
}
.plan-opt {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 11px;
    background: var(--bg-chip);
    color: var(--text-secondary);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-align: left;
}
.plan-opt .plan-price {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 800;
}
.plan-opt .plan-save {
    font-size: 11px;
    font-weight: 700;
    color: var(--green-text);
}
.plan-opt.selected {
    border-color: var(--accent);
    background: rgba(47, 107, 255, 0.10);
    color: var(--text-primary);
}

/* --- Data-confidence dots (price table) --- */
.conf-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    cursor: help;
}
.conf-high { background: var(--green); }
.conf-med  { background: var(--warning); }
.conf-low  { background: var(--text-muted); }
.conf-legend .conf-dot { margin-left: 2px; margin-right: 2px; cursor: default; }

/* --- Pro part-out export buttons --- */
.partout-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 4px;
}
.partout-actions .btn-accent,
.partout-actions .btn-ghost { flex: 1; min-width: 140px; }

/* --- "Email me when priced" input on the request card --- */
.request-email {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 8px;
    padding: 10px 12px;
    font-size: 16px;            /* >=16px so iOS Safari doesn't auto-zoom */
    font-family: var(--font-ui);
    color: var(--text-primary);
    background: var(--bg-chip);
    border: 1px solid var(--border);
    border-radius: 10px;
}
.request-email::placeholder { color: var(--text-muted); }
