@import './design-system/tokens.css?v=5.0.0'; /* Google Fonts is <link>ed by every page; the duplicate @import was removed */

/* ==========================================================================
   CareerOS — Enterprise Design System
   Theme: Semantic Dark Surface + Accessible Brand Accents
   Design Language: Trustworthy, Calm, Enterprise-Grade Precision
   ========================================================================== */

:root, body.ui-surface-v2 {
    /* Semantic Light Palette (Minimal White Workspace) */
    --color-bg: #F7F8FA;
    --color-surface: #FFFFFF;
    --color-surface-raised: #FFFFFF;
    --color-surface-hover: #F2F4F7;
    --color-border: #E4E7EC;
    --color-border-strong: #C7CDD8;

    --color-text-primary: #101828;
    --color-text-secondary: #475467;
    --color-text-muted: #667085;
    --color-text-disabled: #98A2B3;

    --color-brand: #155EEF;
    --color-brand-hover: #004EEB;
    --color-brand-soft: #EFF4FF;
    --color-info: #175CD3;
    --color-info-soft: #EFF8FF;
    --color-success: #067647;
    --color-warning: #B54708;
    --color-danger: #B42318;
    --color-focus: #155EEF;

    /* -----------------------------------------
       Surface Palette (Mapped to Clean Light Tokens)
       ----------------------------------------- */
    --bg-base: #F7F8FA;
    --bg-surface: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F2F4F7;
    --bg-input: #FFFFFF;
    --bg-input-focus: #FFFFFF;

    /* Hairline & Structural Borders */
    --border-hairline: #E4E7EC;
    --border-subtle: #E4E7EC;
    --border-light: #C7CDD8;
    --border-primary: #155EEF;
    --border-glow: transparent;
    --border-gold: #B54708;

    /* Primary Accent — Brand Blue #155EEF */
    --primary: #155EEF;
    --primary-light: #528BFF;
    --primary-hover: #004EEB;
    --primary-dark: #004EEB;
    --primary-glow: transparent;
    --primary-gradient: #155EEF;
    --primary-gradient-subtle: #EFF4FF;

    /* Pro / Upgrade Accents */
    --gold-primary: #155EEF;
    --gold-light: #528BFF;
    --gold-dark: #004EEB;
    --gold-glow: transparent;
    --gold-gradient: #155EEF;
    --gold-gradient-subtle: #EFF4FF;

    --pro-gold: #B54708;
    --pro-gold-light: #F79009;
    --pro-gold-dark: #7A2E0E;
    --pro-gold-glow: transparent;
    --pro-gold-gradient: #B54708;

    /* Semantic Telemetry & Status Accents */
    --accent-mint: #067647;
    --accent-mint-light: #079455;
    --accent-mint-glow: transparent;
    --accent-cyan: #175CD3;
    --accent-cyan-light: #2E90FA;
    --accent-cyan-glow: transparent;
    --accent-purple: #6941C6;
    --accent-amber: #B54708;
    --accent-rose: #B42318;
    --accent-emerald: #067647;

    /* Typography — Clean, Natural, Global Modern SaaS Font Stack */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* Text Scale */
    --text-display: #101828;
    --text-main: #101828;
    --text-body: #475467;
    --text-muted: #667085;
    --text-dim: #98A2B3;

    /* Radii Scale */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Elevation — Tonal depth, zero neon halos */
    --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-primary: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-gold: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-mint: 0 1px 2px rgba(16, 24, 40, 0.05);
    --inner-highlight: none;
    --inner-gold: none;

    /* Navigation dimensions */
    --dock-width: 108px;
    --header-height: 64px;
    --backdrop-blur: none;

    /* Animation Timing */
    --transition-fast: 0.15s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-base: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Backward-compatible rollback theme (Scoped Dark) */
body.ui-surface-dark {
    --color-bg: #0B1020;
    --color-surface: #111827;
    --color-surface-raised: #172033;
    --color-surface-hover: #1D293D;
    --color-border: #29364A;
    --color-border-strong: #3A4A63;
    --color-text-primary: #F8FAFC;
    --color-text-secondary: #CBD5E1;
    --color-text-muted: #94A3B8;
    --color-text-disabled: #64748B;
    --color-brand: #22C55E;
    --color-brand-hover: #16A34A;
    --color-brand-soft: #123522;
    --color-info: #38BDF8;
    --color-info-soft: #102F45;
    --color-success: #34D399;
    --color-warning: #FBBF24;
    --color-danger: #FB7185;
    --color-focus: #7DD3FC;
    --bg-base: #0B1020;
    --bg-surface: #111827;
    --bg-elevated: #172033;
    --bg-card: #111827;
    --text-main: #f4f4f5;
    --text-body: #a1a1aa;
    --text-muted: #7b7b84;
}

/* ==========================================
   CSS Reset & Base Rules
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.011em;
    min-height: 100vh;
    overflow-x: hidden;
    /* Subtle static dot-grid — Vercel/Linear pattern. Zero motion, zero GPU overhead. */
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ==========================================
   Professional Heading & Typography Rules
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display, var(--font-sans));
    color: var(--text-display, #ffffff);
    text-wrap: balance;
}

h1 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font-family: var(--font-sans);
    font-size: inherit;
    letter-spacing: -0.01em;
}

button {
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

/* ==========================================================================
   Accessibility & Focus Ring Integrity (WCAG 2.4.7 & 2.4.11)
   High-contrast visible focus rings for keyboard users (Tab navigation)
   ========================================================================== */
:focus-visible {
    outline: 2px solid var(--accent-cyan, #06b6d4) !important;
    outline-offset: 2px !important;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent-cyan, #06b6d4) !important;
    outline-offset: 2px !important;
}


/* Tabular numeric alignment for counters and telemetry */
.telemetry-tile, .count-badge, .kpi-number, [data-numeric] {
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Aurora Orbs — Neutralized (DOM elements kept for backward compat)
   Drifting gradient blobs eliminated: zero GPU overhead, zero vibe-coded signal.
   ========================================================================== */
.mobile-aurora-bg,
.mobile-aurora-orb-1,
.mobile-aurora-orb-2,
.mobile-aurora-orb-3 {
    display: none !important;
}

/* Keyframes neutralized — no animation plays */
@keyframes auroraDrift1 { from {} to {} }
@keyframes auroraDrift2 { from {} to {} }
@keyframes auroraDrift3 { from {} to {} }

/* ==========================================
   Command Console Architecture
   ========================================== */
.console-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Left Minimalist VisionOS Glass Command Rail */
.command-rail {
    width: var(--dock-width);
    background: rgba(18, 22, 34, 0.65);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 150;
    transition: transform var(--transition-smooth);
}

.rail-brand {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(10, 132, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    cursor: pointer;
    margin-bottom: 24px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.rail-brand:hover {
    transform: scale(1.06);
    border-color: #0a84ff;
    box-shadow: 0 6px 22px rgba(10, 132, 255, 0.4);
}

.rail-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0 6px;
    flex: 1;
}

.rail-btn {
    width: 96px;
    min-height: 52px;
    height: auto;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 2px;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    background: transparent;
    border: 1px solid transparent;
}

.rail-btn .rail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    margin-top: 3px;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 94px;
    transition: color var(--transition-fast);
}

.rail-btn.active .rail-label,
.rail-btn:hover .rail-label {
    color: var(--primary-light);
}

.rail-btn:hover {
    color: var(--text-display);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-subtle);
}

.rail-btn.active {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.5);
    color: var(--primary-light);
    box-shadow: 0 2px 14px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.rail-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.rail-btn:hover svg {
    transform: scale(1.12);
}

.rail-btn.active svg {
    stroke: #64d2ff;
    filter: drop-shadow(0 0 8px rgba(10, 132, 255, 0.6));
}

.rail-btn.active::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: var(--primary);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    box-shadow: 0 0 10px var(--primary);
}

.rail-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Tooltip on Hover */
.rail-btn .tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(24, 28, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-card);
    z-index: 300;
}

.rail-btn:hover .tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(2px);
}

/* Main Console Stage */
.console-stage {
    flex: 1;
    margin-left: var(--dock-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: calc(100% - var(--dock-width));
}

/* Top Telemetry Status Bar */
.telemetry-bar {
    height: var(--header-height);
    background: rgba(10, 13, 20, 0.75);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--border-hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.telemetry-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    padding-right: 16px;
    border-right: 1px solid var(--border-subtle);
    flex-shrink: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.header-brand-mark:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.header-brand-text {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
}

.header-brand-ai-badge {
    display: none !important;
}

@media (max-width: 640px) {
    .header-brand-mark {
        padding-right: 10px;
        gap: 6px;
    }
    .header-brand-text {
        font-size: 0.95rem;
    }
}

.mobile-dock-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
}

.badge-short {
    display: none !important;
}

.stage-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text-display);
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.telemetry-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.telemetry-beacon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(48, 209, 88, 0.08);
    border: 1px solid rgba(48, 209, 88, 0.25);
    color: var(--accent-mint);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

.mint-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-mint);
    box-shadow: 0 0 10px var(--accent-mint);
    animation: mintPulse 2s infinite;
}

@keyframes mintPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 3px 12px 3px 4px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-profile-badge:hover {
    border-color: var(--border-primary);
    background: rgba(10, 132, 255, 0.08);
}

.user-avatar-disc {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a84ff 0%, #0051a8 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    overflow: hidden;
}

/* ==========================================
   Workbench & Cards System
   ========================================== */
.workbench-content {
    flex: 1;
    padding: 28px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.legal-footer {
    margin-top: 36px;
    padding: 20px 0 24px 0;
    border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.05));
    text-align: center;
}

.console-view {
    animation: fadeInView 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Flat Carbon Cards — no backdrop-filter (60% neutral surface) */
.obsidian-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-xl);
    padding: 26px;
    box-shadow: var(--shadow-card), var(--inner-highlight);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    margin-bottom: 24px;
}

.obsidian-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    border-top-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.7), var(--inner-highlight);
    transform: translateY(-2px);
}

.obsidian-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.card-title-main {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text-display);
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-box-gold {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--primary-gradient-subtle);
    border: 1px solid var(--border-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-light);
}

.card-title-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.hero-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 10px;
    flex-wrap: nowrap;
    width: 100%;
}

.hero-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.10);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 5px 14px;
    border-radius: var(--radius-md);
    font-size: 0.78rem;
    font-weight: 700;
    color: #34D399;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    min-width: 0;
    flex-shrink: 1;
}

.hero-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-mint);
    flex-shrink: 0;
}

#heroBadgeText {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Executive Hero Stage Banner — flat surface, no blur, no neon blob */
.executive-hero {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-2xl);
    padding: 28px 32px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--inner-highlight);
}

.executive-hero::after {
    display: none;
}

.hero-title-text {
    font-size: 1.60rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-display);
    margin-bottom: 6px;
}

.hero-desc-text {
    font-size: 0.88rem;
    color: var(--text-body);
    max-width: 640px;
    line-height: 1.6;
}

.overview-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

/* 1-Click Domain Pill Filters */
.domain-pill-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.domain-pill-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.domain-pill-btn.active {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(245, 158, 11, 0.08) 100%) !important;
    color: var(--gold-light) !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.2) !important;
}

/* Quick Stats 3-Item Bar (Phase 2 Simplified Overview) */
.quick-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.quick-stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px 14px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--inner-highlight);
    transition: border-color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.quick-stat-item:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--inner-highlight);
}

.quick-stat-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 6px;
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.quick-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (max-width: 480px) {
    .quick-stats-bar {
        gap: 8px;
    }
    .quick-stat-number {
        font-size: 1.3rem;
    }
    .quick-stat-item {
        padding: 12px 6px;
    }
    .quick-stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }
}

/* 4 Metric Telemetry Tiles */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.telemetry-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    /* Linear-style left accent stripe for developer credibility */
    border-left: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--inner-highlight);
    transition: all var(--transition-fast);
}

.telemetry-tile:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--inner-highlight);
}

.telemetry-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.telemetry-tile-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-display);
    letter-spacing: -0.025em;
    line-height: 1.2;
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums;
}

.telemetry-tile-lbl {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================
   Guest Value Strip
   ========================================== */
.guest-value-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.guest-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--inner-highlight);
    transition: all var(--transition-fast);
}

.guest-value-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), var(--inner-highlight);
}

.guest-value-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.guest-value-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-display);
    letter-spacing: -0.2px;
}

.guest-value-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 2px;
}

.guest-tab-lock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0.2px;
}

/* Launchpad Checklist Card */
.launchpad-card {
    background: linear-gradient(135deg, rgba(20, 24, 33, 0.88) 0%, rgba(13, 16, 23, 0.95) 100%);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    margin-bottom: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), var(--inner-highlight);
    position: relative;
    overflow: hidden;
}

.launchpad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #64d2ff, #30d158);
}

.launchpad-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 12px;
}

.launchpad-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.launchpad-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.launchpad-subtitle {
    font-size: 0.8rem;
    color: var(--text-body);
}

.launchpad-dismiss-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.launchpad-dismiss-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.launchpad-progress-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}

.launchpad-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #30d158);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.launchpad-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.launchpad-step-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.launchpad-step-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.launchpad-step-item.completed {
    background: rgba(48, 209, 88, 0.06);
    border-color: rgba(48, 209, 88, 0.3);
}

.launchpad-step-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    flex-shrink: 0;
}

.launchpad-step-item.completed .launchpad-step-check {
    background: rgba(48, 209, 88, 0.2);
    color: #30d158;
    border: 1px solid rgba(48, 209, 88, 0.4);
}

.launchpad-step-item:not(.completed) .launchpad-step-check {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.launchpad-step-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.launchpad-step-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.launchpad-step-item.completed .launchpad-step-label {
    color: rgba(255, 255, 255, 0.75);
}

.launchpad-step-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================
   Apple VisionOS Pill Buttons & Controls
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 10px 20px;
    /* Professional squircle — not pill. Pill = marketing page. 14px = developer tool. */
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    text-align: center;
    white-space: nowrap;
    user-select: none;
}

.btn:active {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

/* Emerald Primary Button — Terminal accent, tactile bevel, no neon halo */
.btn-gold {
    background: var(--primary-gradient);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-gold:hover:not(:disabled) {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

.btn-mint {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #ffffff;
    border: 1px solid rgba(52, 211, 153, 0.4);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    font-weight: 800;
    letter-spacing: 0.2px;
    transition: all var(--transition-fast);
}

.btn-mint:hover:not(:disabled) {
    background: linear-gradient(135deg, #34D399 0%, #10B981 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    transform: translateY(-1px);
}

/* Solid Dark Secondary Button — tactile bevel, no backdrop blur */
.btn-obsidian {
    background: #1a1d26;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn-obsidian:hover:not(:disabled) {
    background: #202535;
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Job Card Balanced Action Cluster */
.job-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-hairline);
    width: 100%;
}

.job-card-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.job-card-btn-primary,
.job-card-apply-btn,
.job-card-btn-sub {
    font-size: 0.78rem !important;
    padding: 8px 10px !important;
    min-height: 38px !important;
    justify-content: center !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.job-card-btn-track {
    color: var(--accent-mint) !important;
    border-color: rgba(48, 209, 88, 0.3) !important;
}

.job-card-btn-track:hover {
    background: rgba(48, 209, 88, 0.12) !important;
    border-color: var(--accent-mint) !important;
}

/* Inputs & Form Fields */
.input-box, .textarea-box, select.input-box {
    width: 100%;
    background: var(--bg-input);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.input-box:focus, .textarea-box:focus, select.input-box:focus {
    background: var(--bg-input-focus);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);
}

/* File Dropzone */
.dropzone {
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all var(--transition-base);
    margin-bottom: 18px;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--primary);
    background: rgba(10, 132, 255, 0.06);
    box-shadow: 0 0 30px rgba(10, 132, 255, 0.2);
}

.dropzone-icon {
    font-size: 2.3rem;
    margin-bottom: 8px;
    display: inline-block;
    filter: drop-shadow(0 4px 10px var(--primary-glow));
}

/* Multi-Select Custom Tag Dropdown */
.multiselect-container {
    position: relative;
    margin-bottom: 12px;
}

.multiselect-control {
    background: var(--bg-input);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    cursor: text;
    transition: all var(--transition-fast);
    min-height: 48px;
}

.multiselect-control.open, .multiselect-control:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);
}

.selected-role-tag {
    background: rgba(10, 132, 255, 0.18);
    border: 1px solid rgba(10, 132, 255, 0.45);
    color: #64d2ff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tag-remove-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    cursor: pointer;
}

.tag-remove-btn:hover {
    color: var(--accent-rose);
}

.multiselect-search-input {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 0.86rem;
    outline: none;
    flex: 1;
    min-width: 140px;
}

.multiselect-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(18, 24, 38, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    max-height: 280px;
    overflow-y: auto;
    z-index: 500;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), var(--inner-highlight);
    display: none;
}

.multiselect-dropdown.show {
    display: block;
}

.dropdown-category-title {
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #64d2ff;
    padding: 10px 14px 4px 14px;
    background: rgba(12, 16, 26, 0.96);
    letter-spacing: 0.6px;
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid var(--border-hairline);
}

.dropdown-role-option {
    padding: 11px 14px;
    min-height: 44px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 0.86rem;
    transition: background 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.dropdown-role-option:hover {
    background: rgba(10, 132, 255, 0.16);
    color: #ffffff;
}

.dropdown-role-option.selected {
    background: rgba(10, 132, 255, 0.25);
    color: #64d2ff;
}

/* Filter Chips & Role Chips */
.chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip, .role-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    min-height: 38px;
    box-sizing: border-box;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-body);
    cursor: pointer !important;
    transition: all var(--transition-fast);
    user-select: none;
}

@media (pointer: coarse), (max-width: 768px) {
    .filter-chip, .role-chip {
        min-height: 44px;
        min-width: 44px;
        padding: 10px 16px;
    }
}

.filter-chip:hover, .role-chip:hover {
    background: rgba(16, 185, 129, 0.10);
    border-color: var(--primary);
    color: #ffffff;
    cursor: pointer !important;
    transform: translateY(-1px);
    /* No glow — clean border highlight only */
}

.filter-chip.active, .filter-chip.selected, .role-chip.active, .role-chip.selected {
    background: rgba(16, 185, 129, 0.12);
    border: 2px solid var(--primary);
    color: var(--primary-light);
    /* No box-shadow glow — the 2px solid border communicates selection cleanly */
}

/* AI Resume Target Role Suggestions */
.ai-role-banner {
    background: rgba(10, 132, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 132, 255, 0.35);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 14px;
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-role-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.ai-role-badge-title {
    font-size: 0.8rem;
    font-weight: 800;
    color: #64d2ff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-role-cat-tag {
    font-size: 0.76rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.ai-suggestion-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(10, 132, 255, 0.4);
    color: var(--text-body);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-suggestion-chip:hover {
    background: rgba(10, 132, 255, 0.2);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-1px);
}

.ai-suggestion-chip.primary-matched {
    background: rgba(48, 209, 88, 0.12);
    border: 1px solid rgba(48, 209, 88, 0.45);
    color: #30d158;
}

/* Resume Studio controls: compact, predictable, and safe on narrow screens. */
.ats-download-action-group {
    width: min(100%, 320px);
}

.docx-download-btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    padding: 10px 14px !important;
    font-size: 0.86rem !important;
    line-height: 1.2;
    white-space: normal;
    text-align: center;
}

.multiselect-control {
    min-height: 52px;
    align-items: center;
}

.multiselect-search-input {
    min-width: 160px;
    min-height: 34px;
}

@media (max-width: 640px) {
    .ats-download-action-group {
        width: 100%;
        align-items: stretch !important;
    }

    .docx-download-btn {
        max-width: 100%;
        font-size: 0.82rem !important;
    }

    .multiselect-control {
        padding: 8px 10px;
        gap: 5px;
    }

    .multiselect-search-input {
        flex: 1 1 120px;
        min-width: 110px;
        font-size: 0.82rem;
    }

    .selected-role-tag {
        max-width: 100%;
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .selected-role-tag span:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .multiselect-dropdown {
        max-height: min(52vh, 340px);
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    .dropdown-role-option {
        min-height: 48px;
        padding: 10px 12px;
    }
}

/* Platform Grid & Switches */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

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

@media (max-width: 580px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

.platform-toggle-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    box-sizing: border-box;
    transition: all var(--transition-fast);
}

.platform-toggle-card:hover {
    border-color: var(--border-light);
    transform: translateY(-1px);
}

.platform-toggle-card.locked-platform {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 215, 0, 0.35);
    cursor: pointer;
}

.platform-toggle-card.locked-platform:hover {
    border-color: var(--border-gold);
    background: rgba(255, 215, 0, 0.06);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.15);
}

.platform-card-info {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}

.platform-card-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.platform-card-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pro-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--pro-gold-gradient);
    color: #06080e;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 9999px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px var(--pro-gold-glow);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 34px;
    border: 1px solid var(--border-subtle);
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    top: 3px;
    background-color: #ffffff;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary-gradient);
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(10, 132, 255, 0.4);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Data Tables */
.history-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.history-table th {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.history-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-hairline);
    color: var(--text-main);
    vertical-align: middle;
}

.history-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Kanban Board */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(240px, 1fr));
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.kanban-col {
    background: #111318;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 16px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.kanban-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    font-weight: 800;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-hairline);
}

.count-badge {
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.kanban-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.kanban-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all var(--transition-fast);
}

.kanban-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

/* Toast Notice */
.toast-notice {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: rgba(18, 24, 38, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 440px;
    min-width: 260px;
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.toast-notice #toastIcon {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
}

.toast-notice #toastMsg {
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(6, 8, 14, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-card {
    background: rgba(20, 26, 38, 0.9);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.8), var(--inner-highlight);
}

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

.close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-muted);
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: all var(--transition-fast);
}

.close-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

/* Mobile Bottom Navigation Pill Bar */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 14px;
    right: 14px;
    height: 56px;
    background: rgba(18, 24, 38, 0.85);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    z-index: 200;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    padding: 0 10px;
}

.mobile-dock-items {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-around;
}

.mobile-dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.15rem;
    cursor: pointer;
    flex: 1;
    height: 100%;
    transition: color var(--transition-fast);
}

.mobile-dock-btn.active {
    color: #64d2ff;
}

/* ==========================================
   Responsive Breakpoints & Score Cards
   ========================================== */
@media (max-width: 1024px) {
    .kanban-board {
        grid-template-columns: repeat(5, 260px);
    }
}

@media (max-width: 768px) {
    .command-rail {
        display: none;
    }

    .console-stage {
        margin-left: 0;
        width: 100%;
        padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-bottom-dock {
        display: block;
    }

    .telemetry-bar {
        padding: 0 16px;
    }

    .executive-hero {
        padding: 22px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-title-text {
        font-size: 1.35rem;
    }

    .workbench-content {
        padding: 16px 12px calc(100px + env(safe-area-inset-bottom, 0px)) 12px;
    }
}

/* ATS Score Cards & Interactive Keyword Tags */
.ats-score-card {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 22px;
    position: relative;
    transition: all var(--transition-fast);
}

.ats-score-card:hover {
    border-color: var(--border-light);
}

.ats-score-card.best-match {
    border-color: rgba(10, 132, 255, 0.5);
    box-shadow: 0 0 24px rgba(10, 132, 255, 0.2), var(--inner-highlight);
}

/* Dedicated ATS Score Cards Grid (Independent from 2x2 metric tiles) */
.ats-score-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

#atsResultsSection {
    scroll-margin-top: 76px;
}

.score-circle-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.score-circle-svg-wrap {
    position: relative;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
}

.score-circle-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.score-circle-progress {
    fill: none;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 175.9;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-circle-progress.high { stroke: var(--accent-mint); }
.score-circle-progress.med { stroke: var(--primary); }
.score-circle-progress.low { stroke: var(--accent-rose); }

.score-text-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-display);
    font-family: var(--font-sans);
    font-variant-numeric: tabular-nums;
}

.keyword-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 700;
    margin: 0;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.keyword-tag.matched {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.keyword-tag.missing {
    background: rgba(255, 69, 58, 0.12);
    border: 1px solid rgba(255, 69, 58, 0.35);
    color: #ff6b6b;
}

.keyword-tag.missing-clickable {
    background: rgba(255, 69, 58, 0.12);
    border: 1px solid rgba(255, 69, 58, 0.35);
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.keyword-tag.missing-clickable:hover {
    background: rgba(10, 132, 255, 0.2);
    border-color: var(--primary);
    color: #64d2ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(10, 132, 255, 0.3);
}

/* ==========================================
   Authentic Apple VisionOS Sliding Glass Segmented Control
   ========================================== */
.apple-segmented-control {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    padding: 4px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.45);
    user-select: none;
    box-sizing: border-box;
}

.apple-segmented-slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.38) 0%, rgba(10, 132, 255, 0.18) 100%), rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 132, 255, 0.75);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 18px rgba(10, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
    box-sizing: border-box;
}

.apple-segmented-item {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.15s ease;
    white-space: nowrap;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.apple-segmented-item:hover {
    color: #ffffff;
}

.apple-segmented-item.active {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(10, 132, 255, 0.6);
}

.apple-segmented-item:active {
    transform: scale(0.97);
}

.segmented-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    flex-shrink: 0;
    transition: transform 0.25s ease, stroke 0.25s ease;
}

.apple-segmented-item.active .segmented-icon {
    stroke: #64d2ff;
    transform: scale(1.1);
}

/* ==========================================
   Live Scanning Progress Bar & Shimmer Skeletons
   ========================================== */
.scan-progress-box {
    background: rgba(10, 132, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 132, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), var(--inner-highlight);
    animation: fadeInView 0.25s ease-out;
}

.scan-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.84rem;
    font-weight: 700;
}

.scan-progress-label {
    color: #64d2ff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scan-progress-percent {
    color: #ffffff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.scan-progress-track {
    width: 100%;
    height: 7px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.scan-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0a84ff 0%, #64d2ff 50%, #30d158 100%);
    border-radius: var(--radius-full);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(10, 132, 255, 0.6);
}

/* Glass Shimmer Skeleton Cards */
.glass-skeleton-card {
    background: var(--bg-card);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 20px;
    position: relative;
    overflow: hidden;
    min-height: 175px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.glass-skeleton-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.09) 50%, transparent 100%);
    animation: glassShimmer 1.6s infinite;
    transform: translateX(-100%);
}

@keyframes glassShimmer {
    100% { transform: translateX(100%); }
}

.skeleton-pill {
    height: 18px;
    width: 95px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
}

.skeleton-title {
    height: 20px;
    width: 85%;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    margin: 12px 0 8px 0;
}

.skeleton-subtitle {
    height: 14px;
    width: 50%;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-bottom: 14px;
}

.skeleton-btn-row {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border-hairline);
}

.skeleton-btn {
    height: 32px;
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-full);
}

/* ==========================================
   Apple Liquid Glass 1-Click Auth Modal
   ========================================== */
.auth-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3, 7, 18, 0.75);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: max(20px, env(safe-area-inset-top, 20px)) 16px max(30px, env(safe-area-inset-bottom, 30px)) 16px;
    z-index: 99999;
    animation: fadeInView 0.25s ease-out;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.auth-modal-card {
    width: 100%;
    max-width: 440px;
    margin: auto;
    background: rgba(18, 24, 38, 0.88);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-2xl);
    padding: 32px 30px;
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.75), var(--inner-highlight);
    position: relative;
    animation: scaleUpModal 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUpModal {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    transform: scale(1.08);
}

.auth-modal-banner {
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.18) 0%, rgba(48, 209, 88, 0.12) 100%);
    border: 1px solid rgba(10, 132, 255, 0.35);
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #ffffff;
    font-weight: 700;
}

/* ==========================================================================
   Guest Mode Conversion Enhancements
   ========================================================================== */
.btn-frosted-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-frosted-pill:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(10, 132, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.overview-resume-dropzone {
    border: 2px dashed rgba(10, 132, 255, 0.45);
    border-radius: var(--radius-xl);
    padding: 38px 24px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(10, 132, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.overview-resume-dropzone:hover, .overview-resume-dropzone.dragover {
    border-color: #64d2ff;
    background: radial-gradient(circle at 50% 50%, rgba(10, 132, 255, 0.18) 0%, rgba(10, 132, 255, 0.04) 100%);
    box-shadow: 0 0 35px rgba(10, 132, 255, 0.35), inset 0 0 20px rgba(10, 132, 255, 0.1);
    transform: translateY(-2px);
}

.dropzone-icon-glow {
    font-size: 2.6rem;
    margin-bottom: 12px;
    display: inline-block;
    filter: drop-shadow(0 0 16px rgba(10, 132, 255, 0.6));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.pill-badge-cyan {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(100, 210, 255, 0.1);
    border: 1px solid rgba(100, 210, 255, 0.28);
    color: var(--accent-cyan);
}

.pill-badge-mint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(48, 209, 88, 0.1);
    border: 1px solid rgba(48, 209, 88, 0.28);
    color: var(--accent-mint);
}

.pill-badge-purple {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(191, 90, 242, 0.1);
    border: 1px solid rgba(191, 90, 242, 0.28);
    color: var(--accent-purple);
}

/* Auth Modal Form & Segmented Controls */
.google-btn-custom {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.google-btn-custom:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(10, 132, 255, 0.6);
    box-shadow: 0 6px 24px rgba(10, 132, 255, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.apple-segmented-control {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    padding: 4px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.45);
}

.apple-segmented-slider {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    width: calc(50% - 4px);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.4) 0%, rgba(10, 132, 255, 0.18) 100%), rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(10, 132, 255, 0.75);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 18px rgba(10, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.apple-segmented-item {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 8px 16px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    border-radius: var(--radius-full);
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.25s ease, transform 0.15s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

.apple-segmented-item:hover {
    color: #ffffff;
}

.apple-segmented-item.active {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 0 12px rgba(10, 132, 255, 0.6);
}

.divider-container {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    margin: 16px 0;
}

.divider-container::before, .divider-container::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.divider-container span {
    padding: 0 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(10, 132, 255, 0.15);
    border: 1px solid rgba(10, 132, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64d2ff;
    box-shadow: 0 0 20px rgba(10, 132, 255, 0.3);
}

.auth-modal-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    border-radius: var(--radius-full);
    color: #67e8f9;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.auth-forgot-link {
    font-size: 0.76rem;
    color: var(--primary-light, #34d399);
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-forgot-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.auth-legal-note {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
    line-height: 1.4;
}

.auth-legal-note a {
    color: var(--text-body);
    text-decoration: underline;
}


/* ==========================================================================
   Document Preview Protection, Watermark & Guest Shield
   ========================================================================== */
.resume-preview-sheet {
    position: relative;
    background: #ffffff;
    color: #1E293B;
    padding: 40px 48px;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    font-family: 'Calibri', 'Segoe UI', sans-serif;
    line-height: 1.5;
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    overflow: hidden;
}

/* Diagonal Watermark for Unauthenticated / Guest Preview */
.resume-preview-sheet.guest-protected::before {
    content: attr(data-watermark);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-32deg);
    font-size: 1.35rem;
    font-weight: 900;
    color: rgba(30, 58, 138, 0.08);
    white-space: nowrap;
    letter-spacing: 3px;
    pointer-events: none;
    z-index: 10;
    user-select: none;
    width: 220%;
    text-align: center;
}

/* Frosted Blur Lock Container for Guest Mode */
.guest-blur-section {
    position: relative;
    filter: blur(5.5px);
    -webkit-filter: blur(5.5px);
    opacity: 0.6;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    transition: filter 0.3s ease;
}

.guest-lock-overlay-box {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 440px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    z-index: 50;
    animation: fadeInView 0.3s ease;
}

.guest-lock-icon-pulse {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(10, 132, 255, 0.2);
    border: 1px solid rgba(10, 132, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #64d2ff;
    margin-bottom: 10px;
    box-shadow: 0 0 24px rgba(10, 132, 255, 0.4);
    animation: floatIcon 2.8s ease-in-out infinite;
}

/* Print Protection */
@media print {
    .resume-preview-sheet,
    .guest-blur-section,
    .guest-lock-overlay-box,
    #view-resume,
    #view-overview,
    .console-container {
        display: none !important;
    }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsiveness System (WCAG AA Compliant)
   ========================================================================== */

/* Tablet & Large Mobile (<= 1024px) */
@media screen and (max-width: 1024px) {
    .workbench-content {
        padding: 20px 16px;
    }
    
    .ats-results-grid {
        grid-template-columns: 1fr;
    }

    .overview-hero-card {
        padding: 28px 20px !important;
    }
}

/* ========================================================= */
/* Comprehensive Mobile & Tablet Responsive Architecture */
/* ========================================================= */

@media screen and (max-width: 768px) {
    :root {
        --dock-width: 0px;
        --header-height: 52px;
    }

    body {
        overflow-x: hidden;
    }

    /* Left Sidebar Hidden on Mobile (Replaced by Bottom Dock) */
    .command-rail,
    #appSidebar {
        display: none !important;
    }

    /* Floating Bottom Apple Glass Navigation Dock (VisionOS Capsule) */
    .mobile-bottom-dock {
        position: fixed !important;
        bottom: max(12px, env(safe-area-inset-bottom, 12px)) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 20px) !important;
        max-width: 430px !important;
        height: 64px !important;
        background: rgba(13, 17, 26, 0.85) !important;
        backdrop-filter: blur(32px) saturate(220%) contrast(105%) !important;
        -webkit-backdrop-filter: blur(32px) saturate(220%) contrast(105%) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
        border-radius: 32px !important;
        display: block !important;
        z-index: 9999 !important;
        padding: 4px !important;
        box-shadow: 
            0 24px 54px -10px rgba(0, 0, 0, 0.9),
            0 0 0 1px rgba(255, 255, 255, 0.05) inset,
            0 1px 1px 0 rgba(255, 255, 255, 0.38) inset,
            0 0 16px 0 rgba(100, 210, 255, 0.08) inset !important;
        user-select: none;
        -webkit-user-select: none;
        box-sizing: border-box !important;
    }

    .mobile-dock-container {
        position: relative !important;
        width: 100% !important;
        height: 100% !important;
    }    /* Apple Liquid Glass Slider Pill (5 Tabs: 20% each) */
    .mobile-dock-slider {
        position: absolute !important;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 20% !important;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.28) !important;
        border-radius: 26px !important;
        box-shadow: 
            0 6px 20px -4px rgba(0, 0, 0, 0.55),
            inset 0 1px 1px 0 rgba(255, 255, 255, 0.45),
            inset 0 -1px 1px 0 rgba(0, 0, 0, 0.25) !important;
        pointer-events: none !important;
        z-index: 1 !important;
        transform: translateX(0);
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow: hidden !important;
    }

    .mobile-dock-slider-glow {
        position: absolute !important;
        top: 0 !important;
        left: 15% !important;
        right: 15% !important;
        height: 1px !important;
        background: linear-gradient(90deg, transparent 0%, rgba(100, 210, 255, 0.95) 50%, transparent 100%) !important;
        box-shadow: 0 0 10px 2px rgba(100, 210, 255, 0.7) !important;
    }

    .mobile-dock-items {
        position: relative !important;
        z-index: 2 !important;
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .mobile-dock-btn {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        background: transparent !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 100% !important;
        width: auto !important;
        padding: 4px 1px !important;
        margin: 0 !important;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent !important;
        transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .mobile-dock-btn:active {
        transform: scale(0.90) !important;
    }

    .mob-dock-icon-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 22px !important;
        position: relative !important;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .mob-dock-icon {
        width: 20px !important;
        height: 20px !important;
        stroke: rgba(255, 255, 255, 0.48) !important;
        transition: stroke 0.3s ease, filter 0.3s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .mob-dock-label {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.52) !important;
        letter-spacing: 0.01em !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
        text-align: center !important;
        transition: color 0.3s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.3s ease !important;
    }

    /* Floating Gated Lock Badge on Mobile Tab Icon */
    .mobile-dock-btn .guest-tab-lock-badge {
        position: absolute !important;
        top: 3px !important;
        right: calc(50% - 15px) !important;
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background: #f59e0b !important;
        border: 1px solid rgba(0, 0, 0, 0.7) !important;
        color: #0b0f19 !important;
        font-size: 7px !important;
        font-weight: 900 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 0 6px rgba(245, 158, 11, 0.6) !important;
        pointer-events: none !important;
        z-index: 4 !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Active Apple Glass Illuminated Tab */
    .mobile-dock-btn.active {
        background: transparent !important;
        border: none !important;
    }

    .mobile-dock-btn.active .mob-dock-icon {
        stroke: #ffffff !important;
        filter: drop-shadow(0 0 10px rgba(100, 210, 255, 0.95)) !important;
        transform: translateY(-1px) scale(1.08) !important;
    }

    .mobile-dock-btn.active .mob-dock-label {
        color: #ffffff !important;
        font-weight: 800 !important;
        transform: scale(1.03) !important;
        text-shadow: 0 0 10px rgba(100, 210, 255, 0.6) !important;
    }

    /* More Suite Active Dot Indicator */
    .mob-more-active-dot {
        display: none;
        position: absolute !important;
        top: -1px !important;
        right: -3px !important;
        width: 6px !important;
        height: 6px !important;
        border-radius: 50% !important;
        background: #64d2ff !important;
        box-shadow: 0 0 8px 1px rgba(100, 210, 255, 0.9) !important;
    }

    .mobile-dock-btn.more-active .mob-more-active-dot {
        display: block !important;
    }

    .mobile-dock-btn.more-active .mob-dock-icon {
        stroke: #64d2ff !important;
        filter: drop-shadow(0 0 8px rgba(100, 210, 255, 0.8)) !important;
    }

    .mobile-dock-btn.more-active .mob-dock-label {
        color: #64d2ff !important;
        font-weight: 700 !important;
    }

    /* Console Stage & Main Viewport */
    .console-stage {
        margin-left: 0 !important;
        width: 100% !important;
        padding-bottom: 0 !important;
    }

    .workbench-content {
        padding: 14px 12px calc(100px + env(safe-area-inset-bottom, 20px)) 12px !important;
    }

    .view-panel {
        padding-bottom: 0 !important;
    }

    .legal-footer {
        margin-top: 24px !important;
        padding: 16px 12px calc(88px + env(safe-area-inset-bottom, 14px)) 12px !important;
        border-top: 1px solid var(--border-hairline, rgba(255, 255, 255, 0.05));
        text-align: center;
    }

    /* Phase 2: Mobile Touch Targets & Usability */
    .btn, .rail-btn, .role-chip, .work-mode-pill, 
    .apple-segmented-item, .auth-tab, input[type="text"], 
    input[type="email"], input[type="password"], select {
        min-height: 44px;
    }

    .obsidian-card {
        padding: 16px 14px;
    }

    .card-title-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    #trackerKanbanBoard, .kanban-board {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
    }

    #liveJobFeedContainer,
    #overviewLiveJobsFeed,
    #overviewQuickActionsGrid,
    .overview-quick-actions-grid {
        grid-template-columns: 1fr !important;
    }

    .job-card-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .job-card-actions-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
    }

    .job-card-apply-btn {
        width: 100% !important;
        text-align: center;
    }

    .score-badge {
        font-size: 0.75rem !important;
        padding: 2px 6px !important;
    }

    .console-container {
        display: block !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        overflow-x: hidden !important;
    }

    /* ========================================================= */
    /* Liquid Glass Mobile More Sheet & Drawer                   */
    /* ========================================================= */
    .mobile-more-backdrop {
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0, 0, 0, 0.68) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        z-index: 10000 !important;
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        pointer-events: none;
    }

    .mobile-more-backdrop.active {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .mobile-more-sheet {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 82vh !important;
        background: rgba(13, 17, 26, 0.96) !important;
        backdrop-filter: blur(32px) saturate(220%) !important;
        -webkit-backdrop-filter: blur(32px) saturate(220%) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 28px 28px 0 0 !important;
        z-index: 10001 !important;
        padding: 12px 18px calc(24px + env(safe-area-inset-bottom, 16px)) 18px !important;
        box-shadow: 
            0 -20px 60px rgba(0, 0, 0, 0.9),
            0 1px 0 0 rgba(255, 255, 255, 0.25) inset !important;
        transform: translateY(105%) !important;
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .mobile-more-sheet.active {
        transform: translateY(0%) !important;
    }

    .mobile-more-handle-bar {
        display: flex !important;
        justify-content: center !important;
        padding: 6px 0 12px 0 !important;
        cursor: pointer !important;
    }

    .mobile-more-handle {
        width: 42px !important;
        height: 5px !important;
        border-radius: 3px !important;
        background: rgba(255, 255, 255, 0.28) !important;
    }

    .mobile-more-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 18px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .mobile-more-title {
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin: 0 !important;
        letter-spacing: -0.01em !important;
    }

    .mobile-more-sub {
        font-size: 0.78rem !important;
        color: rgba(255, 255, 255, 0.55) !important;
        margin: 2px 0 0 0 !important;
    }

    .mobile-more-close {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: rgba(255, 255, 255, 0.7) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 1rem !important;
        cursor: pointer !important;
    }

    .mobile-more-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .mobile-more-group-label {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        color: rgba(100, 210, 255, 0.8) !important;
        letter-spacing: 0.08em !important;
        margin: 14px 0 8px 4px !important;
    }

    .mobile-more-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .mobile-more-card {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        width: 100% !important;
        padding: 12px 14px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 16px !important;
        cursor: pointer !important;
        text-align: left !important;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
        text-decoration: none !important;
        color: inherit !important;
        min-height: 52px !important;
    }

    .mobile-more-card:hover,
    .mobile-more-card:active {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(100, 210, 255, 0.35) !important;
        transform: scale(0.99) !important;
    }

    .mobile-more-card.disabled {
        opacity: 0.58 !important;
        cursor: not-allowed !important;
        background: rgba(255, 255, 255, 0.02) !important;
    }

    .mobile-more-card-icon-wrap {
        width: 40px !important;
        height: 40px !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .mobile-more-card-info {
        flex: 1 !important;
        min-width: 0 !important;
    }

    .mobile-more-card-title {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        line-height: 1.25 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mobile-more-card-desc {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.5) !important;
        line-height: 1.2 !important;
        margin-top: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .mobile-more-arrow {
        color: rgba(255, 255, 255, 0.3) !important;
        font-size: 1.25rem !important;
        font-weight: 300 !important;
    }

    .mobile-more-badge-live {
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        padding: 2px 8px !important;
        border-radius: 8px !important;
        background: rgba(16, 185, 129, 0.2) !important;
        color: #34d399 !important;
        border: 1px solid rgba(16, 185, 129, 0.35) !important;
        letter-spacing: 0.05em !important;
    }

    .mobile-more-badge-soon {
        font-size: 0.75rem !important;
        font-weight: 800 !important;
        padding: 2px 8px !important;
        border-radius: 8px !important;
        background: rgba(245, 158, 11, 0.15) !important;
        color: #fbbf24 !important;
        border: 1px solid rgba(245, 158, 11, 0.3) !important;
        letter-spacing: 0.05em !important;
    }

    /* Top Telemetry Status Bar */
    .telemetry-bar {
        height: 52px !important;
        padding: 0 12px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .telemetry-left {
        min-width: 0 !important;
        flex: 1 1 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        overflow: hidden !important;
    }

    .header-brand-mark {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding-right: 0 !important;
        border-right: none !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }

    .header-brand-text {
        display: inline-block !important;
        font-size: 0.95rem !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 220px !important;
        letter-spacing: -0.3px !important;
        color: #ffffff !important;
    }

    .header-brand-ai-badge {
        display: none !important;
    }

    /* On mobile, hide stage-title/subtitle to give brand logo and name clean, unclipped space */
    .telemetry-left > div:not(.header-brand-mark),
    .stage-title,
    .stage-subtitle,
    .mobile-hide-text {
        display: none !important;
    }

    .telemetry-right {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .telemetry-beacon {
        display: none !important;
    }

    #headerTailorResumeBtn {
        display: none !important; /* Accessible via Hero CTA & Bottom Dock */
    }

    .user-profile-badge {
        padding: 3px 8px !important;
        gap: 6px !important;
    }

    #headerPlanBadge {
        font-size: 0.76rem !important;
        padding: 3px 8px !important;
        white-space: nowrap !important;
    }

    /* Executive Overview Hero */
    .executive-hero {
        padding: 20px 14px !important;
        border-radius: var(--radius-lg) !important;
        margin-bottom: 16px !important;
    }

    .hero-title-text {
        font-size: 1.35rem !important;
        line-height: 1.25 !important;
        letter-spacing: -0.3px !important;
    }

    .hero-desc-text {
        font-size: 0.85rem !important;
        margin-bottom: 14px !important;
    }

    #heroCtaContainer {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    #heroCtaContainer button {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Telemetry KPI Tiles */
    .telemetry-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }

    .telemetry-tile {
        padding: 12px 10px !important;
    }

    .telemetry-tile-val {
        font-size: 1.05rem !important;
    }

    .telemetry-tile-lbl {
        font-size: 0.76rem !important;
    }

    /* Live Job Opportunity Grids (Overview & Notifier) */
    #overviewLiveJobsFeed,
    #liveJobFeedContainer {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* ATS Score Cards Mobile Layout: Full width, zero squishing */
    .ats-score-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 20px !important;
    }

    .ats-score-card {
        padding: 18px 14px !important;
        border-radius: var(--radius-lg) !important;
    }

    #atsResultsSection {
        margin-top: 24px !important;
        scroll-margin-top: 96px !important;
        padding-bottom: 140px !important;
    }

    #atsResultsSection .card-title-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    #atsResultsSection .card-title-main {
        font-size: 1.02rem !important;
        line-height: 1.35 !important;
    }

    #atsResultsSection .btn-mint {
        width: 100% !important;
        padding: 13px 20px !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
        border-radius: 12px !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
        border: 1px solid rgba(110, 231, 183, 0.4) !important;
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    }

    .obsidian-card {
        padding: 16px 12px !important;
        border-radius: var(--radius-md) !important;
    }

    .card-title-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .card-title-row > div:first-child {
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    .card-title-row:has(> .tab-info-btn) > div:first-child,
    .card-title-row:has(> #settingsPlanTierBadge) > div:first-child {
        width: auto !important;
        flex: 1 1 calc(100% - 46px) !important;
    }

    .card-title-main {
        font-size: 1.02rem !important;
        line-height: 1.35 !important;
    }

    .card-title-actions,
    .overview-header-actions,
    .card-title-row > div:last-child:not(:first-child) {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        margin-top: 6px !important;
    }

    .card-title-row > #settingsPlanTierBadge,
    .card-title-row > div:last-child:has(> .pill-badge-mint:only-child) {
        width: auto !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
    }

    .card-title-row > span.btn {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto !important;
        white-space: nowrap !important;
    }

    .card-title-actions button,
    .card-title-actions a,
    .card-title-actions .btn,
    .overview-header-actions button,
    .overview-header-actions a,
    .overview-header-actions .btn,
    .card-title-row > div:last-child:not(:first-child) button:not(.tab-info-btn),
    .card-title-row > div:last-child:not(:first-child) a:not(.tab-info-btn),
    .card-title-row > div:last-child:not(:first-child) .btn:not(.tab-info-btn) {
        flex: 1 1 120px !important;
        min-height: 42px !important;
        padding: 8px 14px !important;
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        justify-content: center !important;
        text-align: center !important;
        display: inline-flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    .tab-info-btn {
        flex: 0 0 auto !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: var(--radius-full) !important;
        margin-left: auto !important;
    }

    .hero-header-row {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .hero-live-badge {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
        max-width: calc(100% - 44px) !important;
    }

    #overviewPipelineGrid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    /* Apple Segmented Subtabs */
    .apple-segmented-control {
        width: 100% !important;
        max-width: 100% !important;
    }

    .apple-segmented-item {
        padding: 7px 8px !important;
        font-size: 0.76rem !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .apple-segmented-item svg {
        width: 14px !important;
        height: 14px !important;
    }

    @media (max-width: 360px) {
        .apple-segmented-item {
            padding: 6px 4px !important;
            font-size: 0.75rem !important;
            letter-spacing: -0.2px !important;
        }
        .apple-segmented-item svg {
            display: none !important;
        }
    }

    .segmented-control {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    .segmented-control::-webkit-scrollbar {
        display: none !important;
    }

    .segmented-btn {
        padding: 7px 10px !important;
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }

    /* Kanban Horizontal Scroll */
    .kanban-board {
        display: flex !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 12px !important;
        padding-bottom: 12px !important;
    }

    .kanban-col {
        min-width: 260px !important;
        max-width: 280px !important;
        flex-shrink: 0 !important;
    }

    /* Resume Preview Sheet */
    .resume-preview-sheet {
        padding: 16px 12px !important;
        font-size: 0.80rem !important;
    }

    .resume-preview-sheet h1 {
        font-size: 1.2rem !important;
    }

    /* Modal Cards */
    .modal-card,
    .auth-modal-card {
        width: 95% !important;
        max-width: 380px !important;
        padding: 20px 16px !important;
        border-radius: 18px !important;
        margin: auto !important;
    }

    #upgradeModal .auth-modal-card {
        max-width: 460px !important;
        padding: 22px 14px 28px 14px !important;
    }

    /* Fixed persistent close button on mobile so it NEVER scrolls out of view */
    .auth-modal-overlay .auth-modal-close {
        position: fixed !important;
        top: max(14px, env(safe-area-inset-top, 14px)) !important;
        right: 14px !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(15, 23, 42, 0.92) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        font-size: 1.15rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65) !important;
        z-index: 100005 !important;
        cursor: pointer !important;
    }

    /* Mobile Compact Ergonomics for Pricing Cards */
    .pricing-plan-card {
        padding: 14px 12px !important;
        border-radius: 12px !important;
    }

    .pricing-plan-card ul {
        margin-bottom: 10px !important;
        gap: 4px !important;
    }

    /* Toast Notice Position: Centered & Elevated Above Floating Glass Dock */
    .toast-notice {
        width: calc(100% - 32px) !important;
        max-width: 420px !important;
        min-width: 0 !important;
        left: 50% !important;
        right: auto !important;
        bottom: calc(84px + env(safe-area-inset-bottom, 14px)) !important;
        transform: translateX(-50%) translateY(30px) !important;
        font-size: 0.84rem !important;
        border-radius: 14px !important;
        padding: 12px 16px !important;
        z-index: 10001 !important;
        background: rgba(18, 24, 38, 0.96) !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    }

    .toast-notice.show {
        transform: translateX(-50%) translateY(0) !important;
    }

    /* Touch-friendly inputs (no auto-zoom on iOS) */
    input[type="text"], input[type="email"], input[type="password"], textarea, select {
        font-size: 16px !important;
    }

    /* Executive Notifier Mobile Ergonomics */
    .notifier-command-card {
        padding: 16px 12px !important;
        border-radius: var(--radius-lg) !important;
        margin-bottom: 16px !important;
    }

    .radar-search-controls-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    /* Work Mode 2x2 Clean Mobile Segmented Grid (Zero Cutoff & No Truncation) */
    .work-mode-segmented-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        border-radius: 14px !important;
        padding: 5px !important;
        width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .work-mode-pill {
        width: 100% !important;
        padding: 8px 6px !important;
        font-size: 0.76rem !important;
        min-height: 38px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Minimal Unified Radar Filter Bar Mobile Override */
    .minimal-radar-chip-bar {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        padding: 4px 2px 6px 2px !important;
        gap: 6px !important;
    }
    .minimal-radar-chip-bar::-webkit-scrollbar {
        display: none !important;
    }
    .minimal-radar-chip-bar .work-mode-pill,
    .minimal-radar-chip-bar .segmented-horizon-pill {
        width: auto !important;
        flex-shrink: 0 !important;
        padding: 6px 12px !important;
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }

    /* Time Horizon Swipeable Carousel (Saves 70px vertical space, smooth touch scroll) */
    .segmented-horizon-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 4px 6px !important;
        gap: 6px !important;
        border-radius: var(--radius-full) !important;
        scrollbar-width: none !important;
        margin-bottom: 12px !important;
    }

    .segmented-horizon-wrapper::-webkit-scrollbar {
        display: none !important;
    }

    .segmented-horizon-pill {
        flex-shrink: 0 !important;
        padding: 6px 12px !important;
        font-size: 0.76rem !important;
        white-space: nowrap !important;
    }

    /* Dynamic Role Suggestions Swipeable Carousel (Saves 120px vertical space, eliminates wrapping) */
    #radarDynamicRoleChips,
    .horizontal-pill-scroll {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 8px !important;
        padding: 4px 2px 8px 2px !important;
        margin-bottom: 6px !important;
    }

    #radarDynamicRoleChips::-webkit-scrollbar,
    .horizontal-pill-scroll::-webkit-scrollbar {
        display: none !important;
    }

    #radarDynamicRoleChips button,
    #radarDynamicRoleChips span,
    .horizontal-pill-scroll button,
    .horizontal-pill-scroll span {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Mobile City Dropdown Sheet (Above Bottom Nav, 100% Accessible & Visible) */
    .radar-city-dropdown {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        bottom: 84px !important; /* Floats safely above the 64px dock + 12px bottom */
        top: auto !important;
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 150px) !important;
        border-radius: 20px !important;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 0 100vmax rgba(0, 0, 0, 0.7) !important;
        z-index: 10000 !important;
        animation: popoverSlideUpMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .radar-city-dropdown-body {
        max-height: calc(100vh - 340px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .radar-city-close-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.92rem !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }

    /* Proportional spacing between panels and footer */
    .view-panel,
    #view-resume,
    #view-notifier {
        padding-bottom: 16px !important;
    }
}

@keyframes popoverSlideUpMobile {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Small Smartphone (<= 480px) */
@media screen and (max-width: 480px) {
    .stage-title {
        max-width: none !important;
        font-size: 0.92rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #headerUserName {
        display: none !important; /* Show avatar icon disc only */
    }

    .user-profile-badge {
        padding: 2px !important;
        background: transparent !important;
        border: none !important;
    }

    .badge-full {
        display: none !important;
    }

    .badge-short {
        display: inline !important;
    }

    .user-avatar-disc {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.78rem !important;
    }

    .telemetry-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .telemetry-tile {
        padding: 10px 8px !important;
    }

    .telemetry-tile-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.88rem !important;
    }

    .telemetry-tile-val {
        font-size: 0.95rem !important;
    }
}

/* Ultra-Compact Smartphone (<= 360px) */
@media screen and (max-width: 360px) {
    .stage-title {
        max-width: none !important;
        font-size: 0.84rem !important;
    }

    .hero-title-text {
        font-size: 1.20rem !important;
    }
}

/* ========================================================= */
/* Touch Viewport Physics & Liquid Glass Mobile Haptics      */
/* ========================================================= */
@media (hover: none) and (pointer: coarse) {
    .btn, 
    .mobile-dock-btn, 
    .mobile-more-card, 
    .company-card, 
    .job-card,
    .company-role-toggle-btn,
    .industry-pill,
    .rail-btn,
    .tab-btn,
    .horizon-pill-btn,
    .work-mode-pill {
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation;
        transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.18s ease !important;
    }

    /* Tactile gel compression on touch */
    .btn:active, 
    .mobile-more-card:active, 
    .company-card:active,
    .job-card:active {
        transform: scale(0.965) translateY(1px) !important;
        filter: brightness(1.1) !important;
    }

    .industry-pill:active, 
    .company-role-toggle-btn:active,
    .horizon-pill-btn:active,
    .work-mode-pill:active {
        transform: scale(0.92) !important;
    }
}

/* Horizontal Fluid Momentum Scrolling (Zero Page Blowout) */
.company-filter-toolbar,
.company-industry-pills,
.pill-container,
.horizontal-chip-row {
    display: flex;
    overflow-x: auto !important;
    overscroll-behavior-x: contain !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
}

.company-filter-toolbar::-webkit-scrollbar,
.company-industry-pills::-webkit-scrollbar,
.pill-container::-webkit-scrollbar,
.horizontal-chip-row::-webkit-scrollbar {
    display: none !important;
}

/* Progressive Disclosure Label Helper Pill */
.label-helper-pill {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    color: var(--text-muted) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    padding: 2px 8px !important;
    border-radius: var(--radius-full) !important;
    letter-spacing: 0.2px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* 4-Tier Time Horizon Filter Bar */
.time-horizon-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.horizon-pill-btn {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.horizon-pill-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.horizon-pill-btn.active {
    background: rgba(10, 132, 255, 0.18);
    border-color: rgba(10, 132, 255, 0.45);
    color: #64d2ff;
    box-shadow: 0 0 12px rgba(10, 132, 255, 0.2);
}

.horizon-pill-btn[data-horizon="24h"].active {
    background: rgba(50, 215, 75, 0.16);
    border-color: rgba(50, 215, 75, 0.40);
    color: #32d74b;
    box-shadow: 0 0 12px rgba(50, 215, 75, 0.2);
}

.horizon-pill-btn[data-horizon="7d_plus"].active {
    background: rgba(255, 159, 10, 0.16);
    border-color: rgba(255, 159, 10, 0.40);
    color: #ff9f0a;
    box-shadow: 0 0 12px rgba(255, 159, 10, 0.2);
}

/* Freshness Badges */
.badge-fresh-24h {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--accent-mint);
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-fresh-3d {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64d2ff;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-fresh-7d {
    font-size: 0.76rem;
    font-weight: 600;
    color: #bf5af2;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-fresh-extended {
    font-size: 0.76rem;
    font-weight: 600;
    color: #ff9f0a;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Extended Hiring High-Competition Advisory */
.extended-competition-box {
    margin-top: 10px;
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 159, 10, 0.08);
    border: 1px solid rgba(255, 159, 10, 0.22);
    font-size: 0.78rem;
    color: #633910;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* Executive Unified Notifier Command Center */
.notifier-command-card {
    position: relative;
    z-index: 90;
    background: rgba(18, 18, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 22px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.radar-search-controls-row {
    position: relative;
    z-index: 100;
}

/* Minimal Unified Radar Filter Bar */
.minimal-radar-chip-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    align-items: center;
    padding: 2px 2px 8px 2px;
    margin-bottom: 8px;
}
.minimal-radar-chip-bar::-webkit-scrollbar {
    display: none;
}
.chip-bar-separator {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
    margin: 0 4px;
}

.segmented-horizon-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 5px;
    border-radius: var(--radius-full);
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.segmented-horizon-pill {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.segmented-horizon-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.segmented-horizon-pill.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.segmented-horizon-pill[data-horizon="24h"].active {
    background: rgba(48, 209, 88, 0.16);
    border-color: rgba(48, 209, 88, 0.4);
    color: #30d158;
}

.segmented-horizon-pill[data-horizon="3d"].active {
    background: rgba(100, 210, 255, 0.16);
    border-color: rgba(100, 210, 255, 0.4);
    color: #64d2ff;
}

.segmented-horizon-pill[data-horizon="7d"].active {
    background: rgba(191, 90, 242, 0.16);
    border-color: rgba(191, 90, 242, 0.4);
    color: #bf5af2;
}

.segmented-horizon-pill[data-horizon="7d_plus"].active {
    background: rgba(255, 159, 10, 0.16);
    border-color: rgba(255, 159, 10, 0.4);
    color: #ff9f0a;
}

.horizon-count-chip {
    font-size: 0.76rem;
    padding: 2px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 800;
}

/* Apple-Glass Work Mode Segmented Bar */
.work-mode-segmented-bar {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 3px;
    gap: 3px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.work-mode-segmented-bar::-webkit-scrollbar {
    display: none;
}

.work-mode-pill {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

.work-mode-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.work-mode-pill.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.5);
}

/* Dynamic Apple-Glass City Floating Popover Dropdown */
.work-mode-control-wrap {
    position: relative;
    z-index: 120;
}

.dropdown-chevron {
    font-size: 0.76rem;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    margin-left: 2px;
}
.work-mode-pill.dropdown-open .dropdown-chevron {
    transform: rotate(180deg);
}

.radar-city-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 440px;
    max-width: min(440px, calc(100vw - 32px));
    max-height: min(520px, calc(100vh - 140px));
    background: #0f1422; /* Solid dark obsidian to completely prevent underlying text bleed/overlap */
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
    z-index: 1000;
    animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

@keyframes popoverFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.radar-city-dropdown-header {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #141b2d;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radar-city-dropdown-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.84rem;
    font-weight: 800;
    color: #ffffff;
}

.radar-city-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.radar-city-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.radar-city-selected-count {
    font-size: 0.76rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: rgba(10, 132, 255, 0.2);
    color: #64d2ff;
    border: 1px solid rgba(10, 132, 255, 0.4);
}

.radar-city-search-wrap {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.radar-city-search-icon {
    position: absolute;
    left: 10px;
    font-size: 0.78rem;
    pointer-events: none;
    opacity: 0.65;
}

.radar-city-search-input {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-full);
    padding: 6px 28px 6px 30px;
    color: #ffffff;
    font-size: 0.82rem;
    width: 100%;
    transition: all 0.2s ease;
}

.radar-city-search-input:focus {
    border-color: rgba(10, 132, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.18);
    outline: none;
}

.radar-city-clear-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.76rem;
    padding: 4px 6px;
}
.radar-city-clear-btn:hover {
    color: #ffffff;
}

.radar-city-quick-actions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.city-action-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    min-height: 32px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.city-action-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.radar-city-dropdown-body {
    padding: 12px 14px;
    max-height: min(280px, calc(100vh - 320px));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #0c101b; /* Solid dark opaque interior to prevent any bleed */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.radar-city-dropdown-body::-webkit-scrollbar {
    width: 4px;
}
.radar-city-dropdown-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.city-section-label {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.city-chips-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.city-chip {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--border-hairline);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    min-height: 34px;
    box-sizing: border-box;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.city-chip:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.city-chip.active {
    background: rgba(10, 132, 255, 0.22);
    border-color: rgba(10, 132, 255, 0.65);
    color: #64d2ff;
    box-shadow: 0 2px 10px rgba(10, 132, 255, 0.25);
}

.city-chip.dimmed {
    opacity: 0.42;
}

.city-count-badge {
    font-size: 0.76rem;
    padding: 1px 7px;
    border-radius: 8px;
    background: rgba(10, 132, 255, 0.16);
    border: 1px solid rgba(10, 132, 255, 0.35);
    font-weight: 800;
    color: #64d2ff;
    letter-spacing: 0.2px;
}
.city-chip.active .city-count-badge {
    background: rgba(10, 132, 255, 0.5);
    border-color: rgba(10, 132, 255, 0.8);
    color: #ffffff;
}

.radar-city-dropdown-footer {
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #141b2d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.btn-dropdown-done {
    appearance: none;
    border: none;
    background: #0a84ff;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.18s ease;
}
.btn-dropdown-done:hover {
    background: #0071e3;
    transform: scale(1.02);
}

.radar-city-tier-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 600;
}

.radar-city-tier-hint .tier-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #bf5af2;
    box-shadow: 0 0 6px #bf5af2;
    flex-shrink: 0;
}

/* Free Quota Notice Banner */
.radar-tier-notice-banner {
    background: linear-gradient(135deg, rgba(191, 90, 242, 0.08) 0%, rgba(10, 132, 255, 0.08) 100%);
    border: 1px solid rgba(191, 90, 242, 0.25);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-body);
}

.radar-tier-notice-banner strong {
    color: #ffffff;
}

.radar-tier-notice-banner button {
    appearance: none;
    border: 1px solid rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.18s ease;
}

.radar-tier-notice-banner button:hover {
    background: rgba(255, 215, 0, 0.22);
    transform: scale(1.02);
}

/* ========================================================= */
/* UNIVERSAL TAB INFO SLIDE-OVER DRAWER (Linear / Raycast UX) */
/* ========================================================= */

.tab-info-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    line-height: 1;
}

.tab-info-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 215, 0, 0.35);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.12);
    transform: translateY(-1px);
}

.tab-info-btn .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 700;
    font-family: var(--font-sans);
}

.tab-info-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-info-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.tab-info-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 90vw;
    background: linear-gradient(180deg, #131722 0%, #0b0e17 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 10001;
    box-shadow: -12px 0 45px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-info-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer-badge {
    align-self: flex-start;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.25);
    color: var(--gold-light);
}

.drawer-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 1rem;
    min-width: 44px;
    min-height: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.18s ease;
}

.drawer-close-btn:hover {
    background: rgba(255, 69, 58, 0.15);
    border-color: rgba(255, 69, 58, 0.3);
    color: var(--accent-rose);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-synopsis {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-body);
}

.drawer-section-title {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--gold-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.drawer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    transition: all 0.18s ease;
}

.drawer-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.drawer-card-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.drawer-card-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3px;
}

.drawer-card-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.drawer-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.25);
}

/* Responsive: Mobile Bottom Sheet */
@media (max-width: 768px) {
    .tab-info-drawer {
        top: auto;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 82vh;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .tab-info-drawer.active {
        transform: translateY(0);
    }

    .tab-info-btn .info-text {
        display: none;
    }
    
    .tab-info-btn {
        padding: 5px 7px;
    }
}

@media (max-width: 640px) {
    .launchpad-card {
        padding: 14px 16px;
    }

    .launchpad-steps-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .guest-value-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .guest-value-card {
        padding: 12px 14px;
    }
}

/* ==========================================================================
   Professional Career Role Selector Dropdown & Modal (Single Source of Truth)
   ========================================================================== */
.role-selector-wrapper {
    position: relative;
    width: 100%;
}

.role-selector-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 20, 34, 0.85);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.role-selector-trigger:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(20, 27, 45, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.role-selector-trigger.active {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.role-selector-trigger-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.role-selector-trigger-text {
    font-size: 0.90rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-selector-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(10, 132, 255, 0.12);
    color: #64d2ff;
    border: 1px solid rgba(10, 132, 255, 0.25);
    white-space: nowrap;
}

.role-selector-chevron {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.role-selector-trigger.active .role-selector-chevron {
    transform: rotate(180deg);
}

/* Dropdown Container */
.role-selector-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    width: 100%;
    min-width: 320px;
    max-height: 480px;
    background: #0f1422;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.08);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Modal Popover variant for Global / Header usage */
.role-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: backdropFadeIn 0.2s ease;
}

.role-modal-container {
    width: 100%;
    max-width: 540px;
    max-height: min(640px, 90vh);
    background: #0f1422;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    box-shadow: 0 32px 80px -16px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: popoverFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-selector-header {
    padding: 14px 16px;
    background: #141b2d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.role-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 8px 12px;
}

.role-search-box:focus-within {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.15);
}

.role-search-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.role-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.85rem;
}

.role-search-clear-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.role-search-clear-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.role-category-pills {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.role-category-pills::-webkit-scrollbar {
    display: none;
}

.role-cat-pill {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-body);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}

.role-cat-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.role-cat-pill.active {
    background: rgba(245, 158, 11, 0.18);
    border-color: rgba(245, 158, 11, 0.5);
    color: var(--gold-light);
}

.role-selector-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
}

.role-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
    background: transparent;
    border: 1px solid transparent;
}

.role-option-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.role-option-item.selected {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
}

.role-option-info {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.role-option-title {
    font-size: 0.84rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.role-option-item.selected .role-option-title {
    color: var(--gold-light);
}

.role-option-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.role-selector-footer {
    padding: 10px 16px;
    background: #141b2d;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========================================================= */
/* SCAN FREQUENCY INTERVAL SELECTOR (PRO & FREEMIUM)        */
/* ========================================================= */
.freq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
    border-radius: 12px;
    padding: 9px 16px;
    color: var(--text-body, #94a3b8);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.freq-btn:hover:not(.locked) {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Active Selected Frequency State: Vibrant High-Tech Accent Glow */
.freq-btn.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.28) 0%, rgba(139, 92, 246, 0.35) 100%) !important;
    border: 1.5px solid #818cf8 !important;
    color: #ffffff !important;
    box-shadow: 0 0 18px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-1px);
}

.freq-btn .freq-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #6366f1;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.freq-btn .freq-label {
    letter-spacing: 0.2px;
}

.freq-btn .freq-badge-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted, #94a3b8);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.freq-btn.active .freq-badge-pill {
    background: rgba(99, 102, 241, 0.35);
    color: #ffffff;
    border-color: rgba(129, 140, 248, 0.4);
}

.freq-btn.locked {
    opacity: 0.75;
    cursor: pointer;
}

.freq-btn .freq-badge-pro {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    letter-spacing: 0.3px;
}

/* ========================================================= */
/* COMPACT TELEGRAM RADAR STATUS STRIP (JOBS TAB)           */
/* ========================================================= */
.telegram-radar-strip {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 41, 59, 0.5) 100%);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.telegram-radar-strip:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.telegram-radar-strip-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.telegram-radar-strip-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.telegram-radar-strip-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.telegram-radar-strip-subtitle {
    font-size: 0.76rem;
    color: var(--text-muted, #94a3b8);
    margin-top: 2px;
}

.telegram-radar-strip-action {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.status-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-pulse-dot.online {
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
}

.status-pulse-dot.offline {
    background: #F59E0B;
    box-shadow: 0 0 10px #F59E0B;
}

/* Telegram Settings Card Focus Animation (Option B: Single authoritative location) */
@keyframes settingsTelegramPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
        border-color: rgba(245, 158, 11, 0.8);
    }
    50% {
        box-shadow: 0 0 24px 4px rgba(245, 158, 11, 0.4);
        border-color: rgba(245, 158, 11, 1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
        border-color: var(--border-subtle, rgba(255, 255, 255, 0.1));
    }
}

.settings-telegram-highlight {
    animation: settingsTelegramPulse 2.4s ease-out;
    border-radius: var(--radius-md, 12px);
}

/* ========================================================= */
/* 🏢 COMPANY & HIRING DIRECTORY (Apple Liquid Glass)        */
/* ========================================================= */
.company-directory-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.company-telemetry-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.company-telemetry-pill .pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
}
.company-telemetry-pill .pill-dot.mint { background: var(--accent-mint); box-shadow: 0 0 8px var(--accent-mint); }
.company-telemetry-pill .pill-dot.blue { background: var(--accent-cyan); box-shadow: 0 0 8px var(--accent-cyan); }
.company-telemetry-pill .pill-dot.gold { background: var(--gold-light); box-shadow: 0 0 8px var(--gold-light); }

.company-industry-pills .industry-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-industry-pills .industry-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.company-industry-pills .industry-pill.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.22) 0%, rgba(255, 140, 0, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: var(--gold-light);
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.2);
}

.company-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

@media (max-width: 640px) {
    .company-cards-grid {
        grid-template-columns: 1fr;
    }
    .company-toolbar-actions {
        width: 100%;
    }
}

.company-card {
    display: flex;
    flex-direction: column;
    padding: 18px;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, border-color 0.22s ease;
    border: 1px solid var(--border-hairline);
    border-top-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    border-top-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), inset 0 1px 0 0 rgba(255, 255, 255, 0.35);
}

.company-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.company-monogram {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.company-name {
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-hq {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.company-industry-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
}

.badge-tech { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.badge-finance { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-commerce { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-civil { background: rgba(249, 115, 22, 0.15); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-engineering { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.badge-healthcare { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }

.company-contact-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-hairline);
    white-space: nowrap;
}

.company-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.company-tag-chip {
    font-size: 0.75rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.company-openings-box {
    background: rgba(10, 132, 255, 0.04);
    border: 1px solid rgba(10, 132, 255, 0.15);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 14px;
}

.company-job-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.company-job-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-job-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-job-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.company-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.company-card.role-match-card {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, rgba(18, 20, 29, 0.7) 100%);
}

.company-card.role-match-card:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.15);
}

.badge-role-match {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-role-match .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: rolePulse 2s infinite;
}

@keyframes rolePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.company-job-item.role-match-job {
    background: rgba(16, 185, 129, 0.08);
    border-radius: 6px;
    padding: 5px 8px;
    margin: 2px 0;
}

.company-job-item.role-match-job .company-job-title {
    color: #34d399;
}

.company-role-toggle-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.company-role-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.company-role-toggle-btn.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.6);
    color: #34d399;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.industry-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--text-muted);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.industry-pill.active {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.4);
    color: var(--gold-light);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.15);
}

/* Feature Discovery NEW Badges & Notification Dots */
.feature-new-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff3b30 0%, #ff453a 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 1px 6px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    line-height: 1.2;
    box-shadow: 0 0 10px rgba(255, 69, 58, 0.6);
    animation: pulseNewBadge 2s infinite;
}

.feature-new-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff453a;
    box-shadow: 0 0 10px 2px rgba(255, 69, 58, 0.8);
    pointer-events: none;
    z-index: 5;
    animation: pulseNewDot 2s infinite;
}

@keyframes pulseNewBadge {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes pulseNewDot {
    0%, 100% { transform: scale(1); box-shadow: 0 0 6px 1px rgba(255, 69, 58, 0.8); }
    50% { transform: scale(1.25); box-shadow: 0 0 12px 3px rgba(255, 69, 58, 1); }
}

/* ==========================================================================
   Candidate Testimonials Sliding Carousel System
   ========================================================================== */
.testimonials-carousel-wrapper {
    position: relative;
    width: 100%;
}

.testimonials-carousel-track {
    position: relative;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px 14px 2px;
}

.testimonials-carousel-track::-webkit-scrollbar {
    display: none;
}

.testimonial-carousel-card {
    flex: 0 0 calc(33.333% - 10px);
    min-width: 280px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: var(--bg-card, #0f1424);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    border-radius: 18px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-carousel-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.carousel-nav-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.carousel-arrow-btn,
.carousel-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.carousel-arrow-btn {
    font-size: 1.15rem;
}

.carousel-play-btn svg {
    display: block;
    width: 12px;
    height: 12px;
    fill: currentColor;
    pointer-events: none;
}

.carousel-arrow-btn:hover,
.carousel-play-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-primary, #ffd700);
    transform: scale(1.08);
}

.carousel-arrow-btn:active,
.carousel-play-btn:active {
    transform: scale(0.95);
}

.carousel-arrow-btn:focus-visible,
.carousel-play-btn:focus-visible,
.carousel-dot:focus-visible {
    outline: 2px solid var(--accent-mint, #10b981);
    outline-offset: 2px;
}

.carousel-dots-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dot.active {
    width: 24px;
    border-radius: var(--radius-full, 9999px);
    background: linear-gradient(90deg, var(--accent-mint, #10b981), var(--accent-cyan, #0a84ff));
}

@media (max-width: 900px) {
    .testimonial-carousel-card {
        flex: 0 0 calc(50% - 8px);
        min-width: 260px;
    }
}

@media (max-width: 640px) {
    .testimonial-carousel-card {
        flex: 0 0 calc(88% - 6px);
        min-width: 240px;
    }
}

/* ==========================================================================
   Pricing Section Clean SaaS Hierarchy & Anchoring (Apple / Linear style)
   ========================================================================== */
.plan-pricing-block {
    margin-bottom: 12px;
}

.plan-price-hero {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}

.plan-price-hero .price-amount {
    font-size: 1.85rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.plan-price-hero .price-period {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
}

.effective-rate-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(191, 90, 242, 0.16);
    border: 1px solid rgba(191, 90, 242, 0.4);
    color: #e9d5ff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 6px;
    margin-left: 4px;
}

.plan-savings-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.80rem;
    min-height: 22px;
}

.plan-savings-row .price-was {
    color: #94a3b8;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.plan-savings-row .price-was del,
.plan-savings-row .price-was .old-price-crossed {
    color: #94a3b8;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: #ff453a;
    text-decoration-thickness: 2px;
}

.save-tag-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    letter-spacing: 0.2px;
}

.limited-time-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, rgba(255, 69, 58, 0.16) 0%, rgba(255, 159, 10, 0.16) 100%);
    border: 1px solid rgba(255, 69, 58, 0.4);
    color: #ff9f0a;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 9999px;
    letter-spacing: 0.3px;
}

/* Upgrade Page Large Pricing */
.card-price-block {
    margin-bottom: 16px;
}

.card-price-block .price-amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1;
}

.card-price-block .price-period {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    margin-left: 4px;
}

.card-price-block .plan-savings-row {
    margin-top: 6px;
}

/* ==========================================
   Company Discovery Compact Banner
   ========================================== */
.company-discovery-pill {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(34, 211, 238, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: var(--radius-full);
    padding: 8px 14px 8px 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.80rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.company-discovery-pill-content {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.company-discovery-pill-icon {
    font-size: 1.05rem;
    flex-shrink: 0;
}

.company-discovery-pill-text {
    color: var(--text-body);
    font-size: 0.80rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-discovery-pill-text strong {
    color: #ffffff;
}

.company-discovery-pill-link {
    background: rgba(16, 185, 129, 0.12) !important;
    border: 1px solid rgba(16, 185, 129, 0.35) !important;
    color: var(--primary-light, #34d399) !important;
    font-weight: 800;
    font-size: 0.78rem !important;
    cursor: pointer;
    white-space: nowrap;
    min-height: 38px !important;
    padding: 6px 14px !important;
    border-radius: var(--radius-full) !important;
    transition: all 0.15s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    -webkit-appearance: none;
    appearance: none;
}

.company-discovery-pill-link:hover {
    background: rgba(16, 185, 129, 0.25) !important;
    color: #ffffff !important;
}

.company-discovery-pill-close {
    background: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    cursor: pointer;
    font-size: 0.95rem !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-radius: var(--radius-sm);
    line-height: 1;
    flex-shrink: 0;
    -webkit-appearance: none;
    appearance: none;
}

.company-discovery-pill-close:hover {
    color: #ffffff !important;
}

/* ==========================================
   Streamlined Role Selector Pill & Search Bar
   ========================================== */
.overview-role-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.role-selector-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: var(--radius-full);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 38px;
    -webkit-appearance: none;
    appearance: none;
}

.role-selector-pill:hover {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: var(--primary) !important;
    transform: translateY(-1px);
}

.role-selector-pill .pill-arrow {
    color: var(--gold-light, #fbbf24);
    font-size: 0.76rem;
    transition: transform 0.2s ease;
}

.role-selector-pill:hover .pill-arrow {
    transform: translateY(1px);
}

.overview-search-compact {
    height: 36px !important;
    font-size: 0.82rem !important;
    padding-left: 34px !important;
    padding-right: 32px !important;
    border-radius: var(--radius-md) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    width: 100% !important;
}

.overview-search-compact:focus {
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.overview-search-container {
    margin-bottom: 14px;
}

.btn-text-link {
    background: transparent !important;
    border: none !important;
    color: var(--primary-light, #34d399) !important;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    -webkit-appearance: none;
    appearance: none;
}

.btn-text-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

.btn-sm {
    padding: 6px 14px !important;
    font-size: 0.80rem !important;
    font-weight: 800 !important;
    min-height: 36px !important;
    border-radius: var(--radius-md) !important;
}

@media (max-width: 640px) {
    #overviewFreshSubtitle {
        display: none !important;
    }
    .overview-role-bar {
        margin-bottom: 10px;
    }
    .role-selector-pill {
        width: 100%;
        justify-content: space-between;
    }
    .company-discovery-pill {
        border-radius: var(--radius-md);
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .company-discovery-pill-content {
        flex-wrap: wrap;
        gap: 8px;
        width: calc(100% - 32px);
    }
    .company-discovery-pill-text {
        white-space: normal;
        line-height: 1.35;
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   Phase 4: Shared Async State Component System
   Idle, Loading, Success, Empty, Error, Quota, and Button Loading states
   ========================================================================== */
.async-state-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-lg, 16px);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    color: var(--text-main, #ffffff);
    margin: 16px 0;
    transition: all 0.25s ease;
}

.async-state-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.async-state-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.async-state-desc {
    font-size: 0.86rem;
    color: var(--text-muted, #94a3b8);
    max-width: 440px;
    line-height: 1.5;
    margin: 0 0 18px 0;
}

.async-state-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.async-state-error {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.03);
}

.async-state-error .async-state-title {
    color: #fca5a5;
}

.async-state-quota {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.03);
}

.async-state-quota .async-state-title {
    color: #fcd34d;
}

.async-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent-cyan, #06b6d4);
    border-radius: 50%;
    animation: asyncSpin 0.75s linear infinite;
    margin-bottom: 14px;
}

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

.btn-is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}

.rail-secondary-divider {
    width: 28px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 10px auto;
}



/* ==========================================================================
   Section 20: Mobile-First Responsive Safety & Real Job Card Hierarchy
   ========================================================================== */

/* Universal Responsive Grid */
.job-discovery-feed-grid,
#liveJobFeedContainer,
#overviewLiveJobsFeed {
    display: grid !important;
    gap: 16px !important;
    width: 100% !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

/* Mobile 0–639px: Strictly One Card per Row */
@media (max-width: 639px) {
    .job-discovery-feed-grid,
    #liveJobFeedContainer,
    #overviewLiveJobsFeed {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
    }

    .job-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .job-card-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    /* Primary Apply Button: Dominant, Full-Width, >=44px touch target */
    .job-card-apply-btn,
    .job-card-btn-primary {
        min-height: 44px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.92rem !important;
        font-weight: 800 !important;
        border-radius: var(--radius-md, 10px) !important;
        padding: 10px 16px !important;
    }

    .job-card-actions-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .job-card-secondary-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .job-card-btn-sub {
        min-height: 40px !important;
        font-size: 0.78rem !important;
        padding: 6px 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Tablet 640–1023px: 1 or 2 Cards per Row */
@media (min-width: 640px) and (max-width: 1023px) {
    .job-discovery-feed-grid,
    #liveJobFeedContainer,
    #overviewLiveJobsFeed {
        grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important;
    }
}

/* Desktop 1024–1439px: 2 to 3 Cards per Row */
@media (min-width: 1024px) and (max-width: 1439px) {
    .job-discovery-feed-grid,
    #liveJobFeedContainer,
    #overviewLiveJobsFeed {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    }
}

/* Wide 1440px+: Maximum 4 Cards per Row */
@media (min-width: 1440px) {
    .job-discovery-feed-grid,
    #liveJobFeedContainer,
    #overviewLiveJobsFeed {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}


/* ==========================================================================
   CareerOS Minimal White UI/UX Workspace Overrides (Anti-AI Slop & Clean Surfaces)
   ========================================================================== */
body.ui-surface-v2, body {
    background-color: var(--color-bg) !important;
    color: var(--color-text-primary) !important;
    background-image: none !important;
}

/* Remove decorative background grids and radial blurs */
body.ui-surface-v2::before,
body.ui-surface-v2::after,
body::before,
body::after {
    display: none !important;
}

/* Clean cards without neon glow, dark glass blur, or heavy shadows */
.card,
.stat-card,
.dashboard-card,
.metric-card,
.telemetry-card,
.portal-card,
.feature-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--elevation-card) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Reset side-tab colored borders to calm neutral borders */
.stat-card,
.dashboard-card,
.feed-item,
.job-card {
    border-left: 1px solid var(--color-border) !important;
}

/* De-slop pulsing animations and neon dots */
.mint-pulse,
.live-dot,
.pulse-dot {
    animation: none !important;
    box-shadow: none !important;
}

/* Flatten text gradients to crisp readable text */
.gradient-text,
.brand-gradient,
h1.gradient-title {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--color-text-primary) !important;
}


/* ==========================================================================
   Phase 3: Semantic Application Shell & Minimalist Navigation
   ========================================================================== */
.command-rail {
    background: var(--color-surface) !important;
    border-right: 1px solid var(--color-border) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.rail-brand {
    background: transparent !important;
    border: none !important;
    cursor: pointer;
}

.rail-btn {
    color: var(--color-text-secondary) !important;
    background: transparent !important;
    border-radius: var(--radius-control) !important;
    transition: background-color var(--motion-fast), color var(--motion-fast) !important;
}

.rail-btn svg {
    color: currentColor !important;
    stroke: currentColor !important;
}

.rail-btn:hover {
    background-color: var(--color-surface-hover) !important;
    color: var(--color-text-primary) !important;
}

.rail-btn.active {
    background-color: var(--color-brand-soft) !important;
    color: var(--color-brand) !important;
    font-weight: 700 !important;
}

.rail-btn.active svg {
    color: var(--color-brand) !important;
    stroke: var(--color-brand) !important;
}

.app-header {
    background: var(--color-surface) !important;
    border-bottom: 1px solid var(--color-border) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.mobile-bottom-dock {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--elevation-modal) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}

.mobile-dock-btn {
    color: var(--color-text-secondary) !important;
}

.mobile-dock-btn.active,
.mobile-dock-btn.more-active {
    color: var(--color-brand) !important;
}

.mobile-dock-slider {
    background: var(--color-brand-soft) !important;
    border: 1px solid var(--color-brand) !important;
    box-shadow: none !important;
}

.mobile-dock-slider-glow {
    display: none !important;
}

.mobile-more-sheet {
    background: var(--color-surface) !important;
    border-top: 1px solid var(--color-border) !important;
    box-shadow: var(--elevation-modal) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
}

.mobile-more-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-primary) !important;
    box-shadow: var(--elevation-card) !important;
}

.mobile-more-card:hover {
    background: var(--color-surface-hover) !important;
    border-color: var(--color-border-strong) !important;
}


/* ==========================================================================
   Phase 4: Overview Dashboard Minimal White Surfaces & Typography
   ========================================================================== */
.executive-hero {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-panel) !important;
    box-shadow: var(--elevation-card) !important;
    padding: 24px 28px !important;
}

.hero-live-badge {
    background: var(--color-brand-soft) !important;
    color: var(--color-brand) !important;
    border: 1px solid rgba(21, 94, 239, 0.2) !important;
}

.hero-live-dot {
    background: var(--color-brand) !important;
    box-shadow: none !important;
    animation: none !important;
}

.hero-title-text {
    color: var(--color-text-primary) !important;
}

.hero-desc-text {
    color: var(--color-text-secondary) !important;
}

.telemetry-card,
.stat-card,
.launchpad-card,
.overview-launchpad-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--elevation-card) !important;
}

.telemetry-val,
.stat-value {
    color: var(--color-text-primary) !important;
}

.telemetry-label,
.stat-label {
    color: var(--color-text-secondary) !important;
}

.overview-search-box {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-control) !important;
}

.overview-search-box input {
    color: var(--color-text-primary) !important;
}

.domain-pill {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-secondary) !important;
}

.domain-pill:hover {
    background: var(--color-surface-hover) !important;
    color: var(--color-text-primary) !important;
}

.domain-pill.active {
    background: var(--color-brand) !important;
    border-color: var(--color-brand) !important;
    color: #FFFFFF !important;
}

.feed-item,
.job-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: var(--elevation-card) !important;
    border-radius: var(--radius-card) !important;
}

.job-card:hover {
    border-color: var(--color-border-strong) !important;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08) !important;
}

.job-card-title {
    color: var(--color-text-primary) !important;
}

.job-card-company {
    color: var(--color-text-secondary) !important;
}

.job-card-meta {
    color: var(--color-text-muted) !important;
}


/* ==========================================================================
   Phase 5: Find Jobs Minimalist Workspace Styling (Ashby-style clean filters)
   ========================================================================== */
.notifier-command-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-panel) !important;
    box-shadow: var(--elevation-card) !important;
    padding: 24px !important;
}

.apple-segmented-control {
    background: var(--color-surface-hover) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-control) !important;
}

.apple-segmented-slider {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border-strong) !important;
    box-shadow: var(--elevation-card) !important;
}

.apple-segmented-item {
    color: var(--color-text-secondary) !important;
    font-weight: 500 !important;
}

.apple-segmented-item.active {
    color: var(--color-text-primary) !important;
    font-weight: 700 !important;
}

.work-mode-pill {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-secondary) !important;
    border-radius: var(--radius-control) !important;
    font-weight: 500 !important;
    transition: background-color var(--motion-fast), color var(--motion-fast) !important;
}

.work-mode-pill:hover {
    background: var(--color-surface-hover) !important;
    color: var(--color-text-primary) !important;
}

.work-mode-pill.active {
    background: var(--color-brand-soft) !important;
    border-color: var(--color-brand) !important;
    color: var(--color-brand) !important;
    font-weight: 600 !important;
}

.verified-sort-chip {
    background: var(--color-brand-soft) !important;
    color: var(--color-brand) !important;
    border: 1px solid rgba(21, 94, 239, 0.2) !important;
}

.radar-city-dropdown {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--elevation-popover) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.job-card-actions .btn {
    min-height: 38px !important;
    border-radius: var(--radius-control) !important;
}


/* ==========================================================================
   Phase 6: Secondary Panels Minimal White Surfaces & Components
   ========================================================================== */
.obsidian-card,
.workbench-card,
.studio-card,
.editor-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--elevation-card) !important;
    color: var(--color-text-primary) !important;
}

.obsidian-card .card-title-main {
    color: var(--color-text-primary) !important;
    font-weight: 700 !important;
}

/* Application Tracker / Kanban Board */
.kanban-column {
    background: var(--color-surface-hover) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
}

.kanban-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-control) !important;
    box-shadow: var(--elevation-card) !important;
    color: var(--color-text-primary) !important;
}

.kanban-card:hover {
    border-color: var(--color-border-strong) !important;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08) !important;
}

/* Resume dropzone */
.file-dropzone,
.resume-dropzone-inner {
    background: var(--color-surface-hover) !important;
    border: 2px dashed var(--color-border-strong) !important;
    border-radius: var(--radius-card) !important;
    color: var(--color-text-secondary) !important;
}

/* Company cards */
.company-card,
.recruiter-contact-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--elevation-card) !important;
}

.company-card:hover {
    border-color: var(--color-border-strong) !important;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.08) !important;
}

/* ==========================================================================
   PHASE 7 — SETTINGS, TELEGRAM, MODALS, DRAWERS & OVERLAYS (Minimal White)
   ========================================================================== */

/* Overlays & Backdrops */
.modal-overlay,
.auth-modal-overlay,
.role-modal-backdrop,
.mobile-drawer-backdrop {
    background: rgba(16, 24, 40, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

/* Modal Containers */
.modal-card,
.auth-modal-card,
.role-modal-container {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: 0 20px 48px -12px rgba(16, 24, 40, 0.18), 0 1px 3px rgba(16, 24, 40, 0.05) !important;
    color: var(--color-text-primary) !important;
}

.modal-header h2,
.modal-header h3,
.modal-card h3,
.auth-modal-card h2,
.auth-modal-card h3,
.role-modal-header h3 {
    color: var(--color-text-primary) !important;
    font-weight: 700 !important;
}

/* Close Buttons */
.modal-close,
.auth-modal-close,
.role-modal-close,
.radar-city-close-btn,
.drawer-close-btn {
    background: var(--color-surface-hover) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-secondary) !important;
    border-radius: var(--radius-control) !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.modal-close:hover,
.auth-modal-close:hover,
.role-modal-close:hover,
.radar-city-close-btn:hover,
.drawer-close-btn:hover {
    background: var(--color-border) !important;
    color: var(--color-text-primary) !important;
}

/* Modal Form Inputs */
.modal-card input,
.modal-card textarea,
.modal-card select,
.auth-modal-card input,
.auth-modal-card textarea,
.auth-modal-card select {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text-primary) !important;
    border-radius: var(--radius-control) !important;
}

.modal-card input:focus,
.modal-card textarea:focus,
.modal-card select:focus,
.auth-modal-card input:focus,
.auth-modal-card textarea:focus,
.auth-modal-card select:focus {
    border-color: var(--color-brand) !important;
    box-shadow: 0 0 0 3px var(--color-brand-soft) !important;
    outline: none !important;
}

/* Tab Info Drawer */
.tab-info-drawer {
    background: var(--color-surface) !important;
    border-left: 1px solid var(--color-border) !important;
    box-shadow: -8px 0 24px rgba(16, 24, 40, 0.08) !important;
    color: var(--color-text-primary) !important;
}

.tab-info-drawer .drawer-header {
    border-bottom: 1px solid var(--color-border) !important;
}

.tab-info-drawer .drawer-title {
    color: var(--color-text-primary) !important;
}

/* Settings Sections */
#view-settings .obsidian-card {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
    box-shadow: var(--elevation-card) !important;
    color: var(--color-text-primary) !important;
}

#view-settings h3,
#view-settings h4 {
    color: var(--color-text-primary) !important;
}

/* Settings Telegram Push Alerts Integration */
#settingsTelegramCard {
    border-top: 1px solid var(--color-border) !important;
}

#settingsTgNotConnectedBox {
    background: var(--color-surface-hover) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-card) !important;
}

#settingsTgConnectedBox {
    background: #F0FDF4 !important;
    border: 1px solid #BBF7D0 !important;
    border-radius: var(--radius-card) !important;
    color: #166534 !important;
}

#settingsTgConnectedBox span[style*="background: #10B981"] {
    box-shadow: none !important;
}

#settingsTgListeningBox {
    background: var(--color-brand-soft) !important;
    border: 1px solid #B2DDFF !important;
    border-radius: var(--radius-card) !important;
}

/* Final light-surface corrections: the application header and legacy action
   variants must follow the same semantic palette as the rest of the shell. */
body.ui-surface-v2 .telemetry-bar {
    background: var(--color-surface) !important;
    border-bottom: 1px solid var(--color-border) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.ui-surface-v2 .header-brand-mark {
    border-right-color: var(--color-border) !important;
}

body.ui-surface-v2 .header-brand-text,
body.ui-surface-v2 .stage-title {
    color: var(--color-text-primary) !important;
}

body.ui-surface-v2 .stage-subtitle,
body.ui-surface-v2 .telemetry-beacon-text {
    color: var(--color-text-secondary) !important;
}

body.ui-surface-v2 .telemetry-beacon {
    background: var(--color-success-soft, #ECFDF3) !important;
    border-color: var(--color-success-border, #ABEFC6) !important;
    color: var(--color-success) !important;
}

body.ui-surface-v2 .btn-frosted-pill {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border-strong) !important;
    color: var(--color-text-primary) !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.ui-surface-v2 .btn-frosted-pill:hover {
    background: var(--color-surface-hover) !important;
    border-color: var(--color-brand) !important;
    color: var(--color-text-primary) !important;
    box-shadow: 0 2px 5px rgba(16, 24, 40, 0.12) !important;
}

body.ui-surface-v2 .btn-gold,
body.ui-surface-v2 .btn-primary,
body.ui-surface-v2 .btn-mint {
    background: var(--color-brand) !important;
    border: 1px solid var(--color-brand) !important;
    color: #FFFFFF !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12) !important;
}

body.ui-surface-v2 .btn-gold:hover:not(:disabled),
body.ui-surface-v2 .btn-primary:hover:not(:disabled),
body.ui-surface-v2 .btn-mint:hover:not(:disabled) {
    background: var(--color-brand-hover) !important;
    border-color: var(--color-brand-hover) !important;
    box-shadow: 0 2px 5px rgba(16, 24, 40, 0.16) !important;
}

body.ui-surface-v2 .btn-obsidian {
    background: var(--color-surface) !important;
    border: 1px solid var(--color-border-strong) !important;
    color: var(--color-text-primary) !important;
    box-shadow: none !important;
}

body.ui-surface-v2 .btn-obsidian:hover:not(:disabled) {
    background: var(--color-surface-hover) !important;
    border-color: var(--color-brand) !important;
    color: var(--color-text-primary) !important;
    box-shadow: none !important;
}

body.ui-surface-v2 .overview-resume-dropzone {
    background: var(--color-surface-hover) !important;
    border-color: var(--color-brand) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.ui-surface-v2 .overview-resume-dropzone h3 {
    color: var(--color-text-primary) !important;
}

body.ui-surface-v2 .overview-resume-dropzone p {
    color: var(--color-text-secondary) !important;
}

body.ui-surface-v2 .overview-resume-dropzone .dropzone-icon-glow {
    filter: none !important;
    text-shadow: none !important;
}

@media (max-width: 768px) {
    body.ui-surface-v2 .mobile-bottom-dock {
        background: var(--color-surface) !important;
        border-color: var(--color-border) !important;
        box-shadow: 0 8px 24px rgba(16, 24, 40, 0.14) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.ui-surface-v2 .mobile-dock-btn,
    body.ui-surface-v2 .mobile-dock-btn .mob-dock-label {
        color: var(--color-text-secondary) !important;
        text-shadow: none !important;
    }

    body.ui-surface-v2 .mobile-dock-btn .mob-dock-icon {
        stroke: currentColor !important;
        filter: none !important;
    }

    body.ui-surface-v2 .mobile-dock-btn.active,
    body.ui-surface-v2 .mobile-dock-btn.active .mob-dock-label,
    body.ui-surface-v2 .mobile-dock-btn.more-active,
    body.ui-surface-v2 .mobile-dock-btn.more-active .mob-dock-label {
        color: var(--color-brand) !important;
    }

    body.ui-surface-v2 .mobile-dock-btn.active .mob-dock-icon,
    body.ui-surface-v2 .mobile-dock-btn.more-active .mob-dock-icon {
        stroke: var(--color-brand) !important;
        filter: none !important;
    }

    body.ui-surface-v2 .mobile-dock-slider {
        background: var(--color-brand-soft) !important;
        border-color: var(--color-brand) !important;
    }
}
