:root {
    --bg-canvas: #080a11;
    --bg-surface: #101420;
    --bg-surface-elevated: #151b2b;
    --bg-input: #0b0e18;
    --border-hairline: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --text-primary: #f2f4f8;
    --text-secondary: #a1abbe;
    --text-muted: #768096;
    --accent-gold: #d8b36a;
    --accent-gold-hover: #e4c482;
    --accent-gold-soft: rgba(216, 179, 106, 0.12);
    --tone-favorable: #4ade80;
    --tone-transformative: #fbbf24;
    --tone-mixed: #93c5fd;
    --tone-danger: #f87171;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
    --radius-lg: 14px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.01em;
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
    body {
        padding-bottom: 48px;
    }
}

.hidden {
    display: none !important;
}

.mt-2 {
    margin-top: 8px;
}

.mt-section {
    margin-top: 20px;
}

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

/* =====================================================================
   TOP BAR — STRICT 3-ZONE CONTRACT
   ===================================================================== */
.topbar {
    border-bottom: 1px solid var(--border-hairline);
    background: var(--bg-canvas);
}

.topbar-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 16px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

@media (min-width: 768px) {
    .topbar-inner {
        padding: 0 28px;
        height: 64px;
    }
}

.brand-wordmark {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.01em;
}

.topbar-nav {
    display: none;
    align-items: center;
    gap: 28px;
}

@media (min-width: 900px) {
    .topbar-nav {
        display: flex;
    }
}

.nav-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 0;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    transition: color 160ms var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1.5px;
    background: var(--accent-gold);
}

.topbar-action {
    flex-shrink: 0;
}

.btn-outline {
    min-height: 40px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    background: var(--accent-gold-soft);
}

/* =====================================================================
   MAIN LAYOUT SHELL
   ===================================================================== */
.app-shell {
    max-width: 1360px;
    margin: 0 auto;
    padding: 16px;
}

@media (min-width: 768px) {
    .app-shell {
        padding: 24px 28px;
    }
}

.workspace-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

@media (min-width: 1024px) {
    .workspace-grid {
        grid-template-columns: 356px 1fr;
        gap: 28px;
    }
}

/* Single-level elevation structural panel */
.panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 20px;
}

@media (min-width: 768px) {
    .panel {
        padding: 24px;
    }
}

/* Birth Panel sticky on desktop, collapsible on mobile */
@media (min-width: 1024px) {
    .birth-panel {
        position: sticky;
        top: 20px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
    }
    .icon-close-btn {
        display: none;
    }
}

@media (max-width: 1023px) {
    .birth-panel.collapsed-mobile {
        display: none;
    }
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-hairline);
}

.panel-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    text-wrap: balance;
}

.icon-close-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
}

/* =====================================================================
   FORM CONTROLS (MOBILE-FIRST >= 44PX TOUCH TARGETS, 16PX FONT)
   ===================================================================== */
.field-group {
    margin-bottom: 14px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 480px) {
    .field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.field-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.field-divider {
    height: 1px;
    background: var(--border-hairline);
    margin: 16px 0;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
select {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 16px;
    outline: none;
    transition: border-color 160ms var(--ease-out);
}

@media (min-width: 1024px) {
    input[type="text"],
    input[type="date"],
    input[type="time"],
    input[type="number"],
    select {
        font-size: 0.9rem;
    }
}

.mono-input {
    font-family: var(--font-mono) !important;
    font-variant-numeric: tabular-nums;
    font-size: 0.85rem !important;
}

input:focus-visible,
select:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

input[readonly] {
    color: var(--text-secondary);
    opacity: 0.85;
}

input:disabled,
select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

select option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 10px;
}

.checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

.checkbox-row label {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.field-warning {
    color: var(--tone-transformative);
    font-size: 0.8rem;
    margin-top: -6px;
    margin-bottom: 12px;
}

.btn-primary {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 12px 24px;
    background: var(--accent-gold);
    color: #080a11;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
}

.btn-primary:active {
    transform: scale(0.99);
}

/* =====================================================================
   LOADING & ERROR STATES
   ===================================================================== */
.state-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 20px;
    text-align: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
}

.spinner {
    width: 36px;
    height: 36px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
    margin-bottom: 14px;
}

.state-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.error-box {
    padding: 18px 20px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(248, 113, 113, 0.08);
    border-radius: var(--radius-md);
    color: #fecaca;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================================
   IDENTITY RIBBON (UNBOXED METADATA)
   ===================================================================== */
.identity-ribbon {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 18px;
}

.identity-top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-hairline);
}

.identity-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-wrap: balance;
}

.identity-meta-line {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.meta-sep {
    color: var(--text-muted);
}

.identity-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
}

@media (min-width: 640px) {
    .identity-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.stat-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* =====================================================================
   SEGMENTED VIEW SWITCHER
   ===================================================================== */
.segmented-bar {
    display: none;
    gap: 4px;
    padding: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .segmented-bar {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}

.seg-btn {
    min-height: 42px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}

.seg-btn:hover {
    color: var(--text-primary);
}

.seg-btn.active {
    background: var(--bg-surface-elevated);
    color: var(--accent-gold);
    font-weight: 600;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 180ms var(--ease-out);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   TYPOGRAPHY & SECTION STRUCTURE
   ===================================================================== */
.section-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-wrap: balance;
}

.section-kicker {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.section-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.section-head-row .section-title {
    margin-bottom: 0;
}

.body-copy {
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 72ch;
}

.body-copy strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Semantic text-first status tones (no color-only signaling) */
.tone-favorable { color: var(--tone-favorable); }
.tone-transformative { color: var(--tone-transformative); }
.tone-mixed { color: var(--tone-mixed); }
.tone-danger { color: var(--tone-danger); }

.tone-line {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =====================================================================
   TAB 1: CURRENT STATUS LAYOUT
   ===================================================================== */
.hero-status-headline {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-wrap: balance;
}

.dasha-progress-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-hairline);
}

@media (min-width: 640px) {
    .dasha-progress-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dasha-slot-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.dasha-slot-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dasha-slot-dates {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.progress-track {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 99px;
}

/* 4-Pillar Current Dimensions Grid (Hairline separated, no nested cards) */
.dimensions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .dimensions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 28px;
    }
}

.dimension-item {
    padding: 16px 0;
    border-top: 1px solid var(--border-hairline);
}

.dimension-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.dimension-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
}

.dimension-state {
    font-size: 0.8rem;
    color: var(--accent-gold);
    white-space: nowrap;
}

/* Transits Row */
.transits-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .transits-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

.transit-col {
    padding-top: 14px;
    border-top: 1px solid var(--border-hairline);
}

.transit-planet {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.transit-sign {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.transit-status {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Upcoming Dasha List */
.dasha-table-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border-hairline);
}

.dasha-table-lord {
    font-weight: 600;
    color: var(--text-primary);
}

.dasha-table-dates {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* =====================================================================
   TAB 2: FAMILY & RELATIONSHIPS PROFILE
   ===================================================================== */
.family-chapter {
    padding: 20px 0;
    border-top: 1px solid var(--border-hairline);
}

.family-chapter:first-child {
    padding-top: 0;
    border-top: none;
}

.family-chapter-head {
    margin-bottom: 12px;
}

.family-chapter-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.family-indicators {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.family-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .family-split {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

.sub-block-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 6px;
}

.household-highlight {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

/* =====================================================================
   TAB 3: 3-YEAR & 10-YEAR LIFE FORECAST
   ===================================================================== */
.year-milestone {
    padding: 18px 0;
    border-top: 1px solid var(--border-hairline);
}

.year-milestone-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    margin-bottom: 8px;
}

.year-heading {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.year-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
}

.horizon-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-hairline);
}

@media (min-width: 768px) {
    .horizon-split {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* =====================================================================
   TAB 4: NATAL CHART (RASI GRID + WHEEL) & PLANETS TABLE
   ===================================================================== */
.chart-stage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 1200px) {
    .chart-stage-grid {
        grid-template-columns: 420px 1fr;
    }
}

.mini-segmented {
    display: inline-flex;
    gap: 2px;
    padding: 3px;
    background: var(--bg-input);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-sm);
}

.mini-seg-btn {
    min-height: 36px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.mini-seg-btn.active {
    background: var(--bg-surface-elevated);
    color: var(--accent-gold);
}

/* Traditional South Indian 4x4 Rasi Chart */
.rasi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, minmax(78px, 1fr));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-input);
}

.rasi-cell {
    border: 0.5px solid var(--border-hairline);
    padding: 7px 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 82px;
}

.rasi-cell.is-lagna {
    background: rgba(216, 179, 106, 0.08);
}

.rasi-sign-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    gap: 4px;
}

.rasi-planets {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-top: 4px;
}

.rasi-lagna-mark {
    color: var(--accent-gold);
    font-weight: 700;
}

.rasi-center {
    grid-column: 2 / 4;
    grid-row: 2 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    border: 0.5px solid var(--border-hairline);
    background: var(--bg-surface);
}

.rasi-center-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.rasi-center-sub {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.canvas-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: 12px;
}

#natal-wheel {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
}

/* Planetary Table */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 10px 10px 10px 0;
    border-bottom: 1px solid var(--border-strong);
    white-space: nowrap;
}

.data-table td {
    font-size: 0.88rem;
    padding: 11px 10px 11px 0;
    border-bottom: 1px solid var(--border-hairline);
    vertical-align: top;
}

.planet-name-cell {
    font-weight: 600;
    color: var(--text-primary);
}

.planet-dignity-note {
    display: block;
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--accent-gold);
    margin-top: 2px;
}

.mono-cell {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
    white-space: nowrap;
}

.highlight-row td {
    color: var(--accent-gold);
}

/* Aspects & Classic Insights */
.aspects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .aspects-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 28px;
    }
}

.aspect-row {
    padding: 12px 0;
    border-top: 1px solid var(--border-hairline);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.aspect-glyph {
    color: var(--accent-gold);
    font-size: 1rem;
    line-height: 1.4;
    flex-shrink: 0;
    width: 22px;
}

.aspect-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.aspect-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.insights-stack {
    display: flex;
    flex-direction: column;
}

.insight-row {
    padding: 16px 0;
    border-top: 1px solid var(--border-hairline);
}

.insight-row:first-child {
    padding-top: 4px;
    border-top: none;
}

.insight-kicker {
    font-size: 0.78rem;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.insight-heading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

/* =====================================================================
   MOBILE BOTTOM THUMB NAVIGATION (<= 60px HIGH, HIDDEN ON >= 768px)
   ===================================================================== */
.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    height: calc(60px + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(10, 13, 22, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-hairline);
}

@media (min-width: 768px) {
    .mobile-bottom-nav {
        display: none;
    }
}

.bottom-nav-btn {
    min-height: 44px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: color 150ms var(--ease-out);
}

.bottom-nav-btn.active {
    color: var(--accent-gold);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
