.zg-dash {
    --o: #ff671f;
    --o-l: #ff8e53;
    --b: #2455ea;
    --bl: #81c4ff;
    --navy: #0d2c6e;
    --ink: #1b2440;
    --gray: #6b7785;
    --paper: #f6f9fd;
    --line: #e4ebf7;
    --good: #138a5e;
    --good-bg: #e7f4ee;
    --wa: #22c35e;
    --display: 'Sora', ui-sans-serif, system-ui, sans-serif;
    --body: 'Inter', ui-sans-serif, system-ui, sans-serif;
    --mono: 'Space Mono', ui-monospace, Menlo, monospace;
    --jb: 'JetBrains Mono', ui-monospace, Menlo, monospace;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 20px;
    font-family: var(--body);
    color: var(--ink);
    background: #fff;
    padding-bottom: 80px;
    font-size: 14px;
}

.zg-dash *, .zg-dash *::before, .zg-dash *::after {
    box-sizing: border-box;
}

.zg-dash svg {
    display: block;
}

.zg-dash a {
    color: inherit;
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .zg-dash * {
        transition: none !important;
        animation: none !important;
    }
}

/* ═══════════════════════════════════════════════════════
   1. PAGE HEADER — shared zm-page-header component
   (same as Mes Annonces / Sell Car / Manage Car pages)
═══════════════════════════════════════════════════════ */
.zm-page-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 24px 20px 20px;
    position: relative;
    overflow: hidden;
}

.zm-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--b) 0%, var(--o) 100%);
}

.zm-page-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(129, 196, 255, 0.18);
    border: 1px solid var(--bl);
    color: var(--b);
    font-family: var(--display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.zm-page-header-badge svg {
    width: 12px;
    height: 12px;
    stroke: var(--b);
    fill: none;
    stroke-width: 2.5;
}

.zm-page-header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.zm-page-header-text h1 {
    font-family: var(--display);
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 5px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.zm-page-header-text p {
    font-family: var(--body);
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    max-width: 380px;
    line-height: 1.5;
}

.zm-page-header-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--o), var(--o-l));
    color: #fff;
    font-family: var(--display);
    font-size: 13px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: filter 0.15s;
    white-space: nowrap;
    text-decoration: none;
}

.zm-page-header-btn:hover {
    filter: brightness(1.06);
    color: #fff;
}

.zm-page-header-btn svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

/* Stat chips */
.zm-page-header-stats {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.zm-stat-chip {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 9px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 110px;
}

.zm-stat-chip-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zm-stat-chip-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke-width: 2;
}

.zm-stat-chip-icon.total {
    background: rgba(129, 196, 255, 0.18);
}

.zm-stat-chip-icon.total svg {
    stroke: var(--b);
}

.zm-stat-chip-icon.active {
    background: var(--good-bg);
}

.zm-stat-chip-icon.active svg {
    stroke: var(--good);
}

.zm-stat-chip-icon.sold {
    background: rgba(124, 58, 237, 0.12);
}

.zm-stat-chip-icon.sold svg {
    stroke: #7c3aed;
}

.zm-stat-chip-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.zm-stat-num {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
}

.zm-stat-label {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 600px) {
    .zm-page-header {
        padding: 18px 14px 16px;
    }

    .zm-page-header-inner {
        align-items: stretch;
    }

    .zm-page-header-btn {
        width: 100%;
        justify-content: center;
    }

    .zm-page-header-stats {
        width: 100%;
    }

    .zm-stat-chip {
        flex: 1;
    }

    .zm-page-header-text h1 {
        font-size: 19px;
    }

    .zm-page-header-text p {
        font-size: 12px;
    }
}

/* Generic button used elsewhere on the page (empty-state CTA, KYC banner CTA) */
.zg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--r-md);
    padding: 13px 20px;
    min-height: 46px;
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.15s, border-color 0.15s, color 0.15s, background-color 0.15s;
}

.zg-btn svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-btn.primary {
    background: linear-gradient(135deg, var(--o), var(--o-l));
    color: #fff;
    position: relative;
    z-index: 1;
}

.zg-btn.primary:hover {
    filter: brightness(1.06);
}

.zg-btn.ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.zg-btn.ghost:hover {
    border-color: var(--b);
    color: var(--b);
}

.zg-btn.ghost-dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    position: relative;
    z-index: 1;
}

.zg-btn.ghost-dark:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════
   2. PERIOD BAR
═══════════════════════════════════════════════════════ */
.zg-period-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.zg-period-bar .lab {
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray);
}

.zg-select {
    font-family: var(--display);
    font-weight: 600;
    font-size: 13px;
    color: var(--ink);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 9px 32px 9px 13px;
    background: #fff;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7785' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    transition: border-color 0.15s;
}

.zg-select:focus {
    border-color: var(--b);
}

.zg-view-toggle {
    display: flex;
    gap: 4px;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    padding: 2px;
}

.zg-view-toggle a {
    width: 30px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.15s;
}

.zg-view-toggle a:hover {
    background: var(--paper);
}

.zg-view-toggle a svg {
    width: 15px;
    height: 15px;
    stroke: var(--gray);
    fill: none;
    stroke-width: 2;
}

/* ═══════════════════════════════════════════════════════
   3. STAT GRID — overview tiles
═══════════════════════════════════════════════════════ */
.zg-body {
    padding: 22px 20px 0;
    max-width: 1240px;
    margin: 0 auto;
}

.zg-stat-grid {
    display: grid;
    grid-template-columns:repeat(6, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

@media (max-width: 1080px) {
    .zg-stat-grid {
        grid-template-columns:repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .zg-stat-grid {
        grid-template-columns:repeat(2, 1fr);
    }
}

.zg-stat-tile {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.15s;
    cursor: default;
}

.zg-stat-tile.clickable {
    cursor: pointer;
}

.zg-stat-tile.clickable:hover {
    border-color: var(--bl);
}

.zg-stat-tile .hic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(129, 196, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zg-stat-tile .hic svg {
    width: 18px;
    height: 18px;
    stroke: var(--b);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-stat-tile.accent .hic {
    background: rgba(255, 103, 31, 0.12);
}

.zg-stat-tile.accent .hic svg {
    stroke: var(--o);
}

.zg-stat-tile.good .hic {
    background: var(--good-bg);
}

.zg-stat-tile.good .hic svg {
    stroke: var(--good);
}

.zg-stat-tile .timer {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 26px;
    color: var(--ink);
    line-height: 1;
}

.zg-stat-tile .para {
    font-family: var(--body);
    font-size: 12.5px;
    color: var(--gray);
    margin: 0;
}

.zg-stat-tile .loading-row {
    font-family: var(--body);
    font-size: 12px;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ═══════════════════════════════════════════════════════
   4. CHART PANELS
═══════════════════════════════════════════════════════ */
.zg-charts-row {
    display: grid;
    grid-template-columns:1.3fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 900px) {
    .zg-charts-row {
        grid-template-columns:1fr;
    }
}

.zg-panel {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    overflow: hidden;
}

.zg-panel-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
}

.zg-panel-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--r-sm);
    background: rgba(129, 196, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zg-panel-icon svg {
    width: 17px;
    height: 17px;
    stroke: var(--b);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-panel-icon.accent {
    background: rgba(255, 103, 31, 0.12);
}

.zg-panel-icon.accent svg {
    stroke: var(--o);
}

.zg-panel-head h4 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    margin: 0;
}

.zg-panel-head p {
    font-family: var(--body);
    font-size: 12px;
    color: var(--gray);
    margin: 1px 0 0;
}

.zg-panel-body {
    padding: 16px 18px 18px;
}

/* The directive elements (car-analytics-bar / car-engagement-pie) render their
   own internal markup — we only style the wrapper that contains them. */
.zg-chart-wrap {
    min-height: 280px;
}

/* ═══════════════════════════════════════════════════════
   5. SECTION HEADERS (shared across feature sections)
═══════════════════════════════════════════════════════ */
.zg-section {
    margin-bottom: 28px;
}

.zg-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.zg-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--o);
    margin-bottom: 5px;
}

.zg-section-eyebrow svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-section-title {
    font-family: var(--display);
    font-weight: 800;
    font-size: 19px;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.zg-section-sub {
    font-family: var(--body);
    font-size: 13px;
    color: var(--gray);
    margin: 3px 0 0;
}

.zg-link-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 13px;
    color: var(--b);
    cursor: pointer;
    transition: color 0.15s;
}

.zg-link-all:hover {
    color: var(--navy);
}

.zg-link-all svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ═══════════════════════════════════════════════════════
   6. "NO CAR YET" — empty state CTA banner
═══════════════════════════════════════════════════════ */
.zg-empty-banner {
    border: 1.5px dashed var(--bl);
    border-radius: var(--r-lg);
    background: var(--paper);
    padding: 26px 24px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.zg-empty-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zg-empty-banner-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--o);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-empty-banner-text {
    flex: 1;
    min-width: 200px;
}

.zg-empty-banner-text h3 {
    font-family: var(--display);
    font-weight: 800;
    font-size: 16px;
    color: var(--ink);
    margin: 0 0 4px;
}

.zg-empty-banner-text p {
    font-family: var(--body);
    font-size: 13px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   7. FEATURE CARD GRID — Alerts / Favorites / Loan / Search
═══════════════════════════════════════════════════════ */
.zg-feature-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 900px) {
    .zg-feature-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 560px) {
    .zg-feature-grid {
        grid-template-columns:1fr;
    }
}

.zg-feature-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.15s;
    position: relative;
    overflow: hidden;
}

.zg-feature-card:hover {
    border-color: var(--bl);
}

.zg-feature-card .fic {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zg-feature-card .fic svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-feature-card.c-blue .fic {
    background: rgba(129, 196, 255, 0.18);
}

.zg-feature-card.c-blue .fic svg {
    stroke: var(--b);
}

.zg-feature-card.c-orange .fic {
    background: rgba(255, 103, 31, 0.12);
}

.zg-feature-card.c-orange .fic svg {
    stroke: var(--o);
}

.zg-feature-card.c-good .fic {
    background: var(--good-bg);
}

.zg-feature-card.c-good .fic svg {
    stroke: var(--good);
}

.zg-feature-card.c-navy .fic {
    background: rgba(13, 44, 110, 0.08);
}

.zg-feature-card.c-navy .fic svg {
    stroke: var(--navy);
}

.zg-feature-card h4 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    margin: 0;
}

.zg-feature-card p {
    font-family: var(--body);
    font-size: 12.5px;
    color: var(--gray);
    margin: 0;
    line-height: 1.55;
    flex: 1;
}

.zg-feature-card .zg-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 12.5px;
    color: var(--b);
    cursor: pointer;
    transition: color 0.15s;
    margin-top: 2px;
}

.zg-feature-card .zg-feature-cta:hover {
    color: var(--navy);
}

.zg-feature-card .zg-feature-cta svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-feature-card .zg-feature-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--good-bg);
    color: var(--good);
}

/* ── Live alert pulse dot (CSS-only animation, no JS) ── */
.zg-pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--good);
    flex-shrink: 0;
}

.zg-pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--good);
    animation: zgPulse 1.8s ease-out infinite;
}

@keyframes zgPulse {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .zg-pulse-dot::after {
        animation: none;
    }
}

/* ═══════════════════════════════════════════════════════
   8. LOAN ESTIMATOR mini-card (preview, links to full page)
═══════════════════════════════════════════════════════ */
.zg-loan-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zg-loan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.zg-loan-amount {
    font-family: var(--mono);
    font-weight: 700;
    font-size: 21px;
    color: var(--ink);
}

.zg-loan-track {
    height: 7px;
    border-radius: 99px;
    background: var(--line);
    position: relative;
}

.zg-loan-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--bl), var(--b));
    width: 58%;
}

.zg-loan-thumb {
    position: absolute;
    top: 50%;
    left: 58%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--o);
    border: 3px solid #fff;
    transform: translate(-50%, -50%);
}

.zg-loan-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--jb);
    font-size: 11px;
    color: var(--gray);
}

/* ═══════════════════════════════════════════════════════
   9. KNOW YOUR CAR — knowledge hub (the centerpiece addition)
═══════════════════════════════════════════════════════ */
.zg-kyc-banner {
    border-radius: var(--r-xl);
    background: var(--navy);
    padding: 26px 24px;
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
}

.zg-kyc-banner::before {
    content: '';
    position: absolute;
    bottom: -70px;
    left: 30%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 103, 31, 0.12), transparent 70%);
    pointer-events: none;
}

.zg-kyc-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.zg-kyc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bl);
    margin-bottom: 8px;
}

.zg-kyc-eyebrow svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-kyc-banner h3 {
    font-family: var(--display);
    font-weight: 800;
    font-size: 19px;
    color: #fff;
    margin: 0 0 5px;
    letter-spacing: -0.01em;
}

.zg-kyc-banner p {
    font-family: var(--body);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 480px;
    line-height: 1.5;
}

.zg-kyc-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .zg-kyc-grid {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width: 560px) {
    .zg-kyc-grid {
        grid-template-columns:1fr;
    }
}

.zg-kyc-card {
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s;
}

.zg-kyc-card:hover {
    border-color: var(--bl);
}

.zg-kyc-card-top {
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.zg-kyc-ic {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zg-kyc-ic svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zg-kyc-card.k-spec .zg-kyc-ic {
    background: rgba(129, 196, 255, 0.18);
}

.zg-kyc-card.k-spec .zg-kyc-ic svg {
    stroke: var(--b);
}

.zg-kyc-card.k-price .zg-kyc-ic {
    background: rgba(255, 103, 31, 0.12);
}

.zg-kyc-card.k-price .zg-kyc-ic svg {
    stroke: var(--o);
}

.zg-kyc-card.k-maint .zg-kyc-ic {
    background: var(--good-bg);
}

.zg-kyc-card.k-maint .zg-kyc-ic svg {
    stroke: var(--good);
}

.zg-kyc-card.k-history .zg-kyc-ic {
    background: rgba(13, 44, 110, 0.08);
}

.zg-kyc-card.k-history .zg-kyc-ic svg {
    stroke: var(--navy);
}

.zg-kyc-card h4 {
    font-family: var(--display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    margin: 0;
}

.zg-kyc-card p {
    font-family: var(--body);
    font-size: 12px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

.zg-kyc-card-bottom {
    margin-top: auto;
    padding: 13px 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--display);
    font-weight: 700;
    font-size: 12.5px;
    color: var(--b);
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}

.zg-kyc-card-bottom:hover {
    color: var(--navy);
    background: var(--paper);
}

.zg-kyc-card-bottom svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Search-bar inside the spec lookup card */
.zg-kyc-search {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    overflow: hidden;
    margin-top: 2px;
}

.zg-kyc-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 9px 11px;
    font-family: var(--body);
    font-size: 12.5px;
    color: var(--ink);
    min-width: 0;
}

.zg-kyc-search button {
    border: none;
    background: var(--paper);
    padding: 0 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.15s;
}

.zg-kyc-search button:hover {
    background: var(--line);
}

.zg-kyc-search button svg {
    width: 14px;
    height: 14px;
    stroke: var(--gray);
    fill: none;
    stroke-width: 2.2;
}

/* ═══════════════════════════════════════════════════════
   10. BOTTOM GRID — activity feed + profile views chart
═══════════════════════════════════════════════════════ */
.zg-bottom-grid {
    display: grid;
    grid-template-columns:1fr 1.4fr;
    gap: 16px;
}

@media (max-width: 900px) {
    .zg-bottom-grid {
        grid-template-columns:1fr;
    }
}