        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* ===== THEME VARIABLES ===== */
        :root {
            /* Dark theme (default) */
            --bg-base:        #0f0f1e;
            --bg-surface:     #1a1a2e;
            --bg-elevated:    rgba(26,26,46,0.8);
            --bg-card:        rgba(26,26,46,0.6);
            --border:         rgba(96,165,250,0.2);
            --border-strong:  rgba(96,165,250,0.4);
            --text-primary:   #e0e0e0;
            --text-secondary: #9ca3af;
            --text-muted:     #6b7280;
            --accent:         #60a5fa;
            --accent-glow:    rgba(96,165,250,0.15);
            --nav-bg:         rgba(15,15,30,0.95);
            --nav-border:     rgba(96,165,250,0.15);
            --filter-bg:      rgba(15,15,30,0.92);
            --filter-border:  rgba(96,165,250,0.12);
            --chip-bg:        rgba(96,165,250,0.1);
            --chip-hover:     rgba(96,165,250,0.2);
            --input-bg:       rgba(255,255,255,0.05);
            --shadow:         0 8px 32px rgba(0,0,0,0.4);
            --success:        #10b981;
            --warning:        #f59e0b;
            --danger:         #ef4444;
        }

        [data-theme="light"] {
            --bg-base:        #f0f4f8;
            --bg-surface:     #ffffff;
            --bg-elevated:    rgba(255,255,255,0.95);
            --bg-card:        rgba(255,255,255,0.85);
            --border:         rgba(59,130,246,0.2);
            --border-strong:  rgba(59,130,246,0.4);
            --text-primary:   #1e293b;
            --text-secondary: #475569;
            --text-muted:     #94a3b8;
            --accent:         #2563eb;
            --accent-glow:    rgba(37,99,235,0.1);
            --nav-bg:         rgba(255,255,255,0.97);
            --nav-border:     rgba(59,130,246,0.15);
            --filter-bg:      rgba(248,250,252,0.97);
            --filter-border:  rgba(59,130,246,0.1);
            --chip-bg:        rgba(37,99,235,0.08);
            --chip-hover:     rgba(37,99,235,0.15);
            --input-bg:       rgba(0,0,0,0.04);
            --shadow:         0 8px 32px rgba(0,0,0,0.12);
            --success:        #059669;
            --warning:        #d97706;
            --danger:         #dc2626;
        }

        /* ===== THEME-AWARE PROPERTIES (replaces tv() function) ===== */
        :root {
            --c-muted: #9ca3af;
            --c-faint: #6b7280;
            --c-text: #e0e0e0;
            --c-text-alt: #e0e0e0;
            --c-text-strong: #e0e0e0;
            --c-heading: #d1d5db;
            --c-label: #d1d5db;
            --c-heading-bold: #d1d5db;
            --c-accent: #60a5fa;
            --c-accent-deep: #60a5fa;
            --c-accent-light: #93c5fd;
            --c-accent-inv: #1e40af;
            --c-success: #10b981;
            --c-danger: #ef4444;
            --c-danger-light: #f87171;
            --c-warn: #fbbf24;
            --c-purple: #7c3aed;
            --c-purple-light: #a78bfa;
            --c-bg-solid: #1a1a2e;
            --c-bg-solid-alt: #1e1e2e;
            --c-input-bg: rgba(0,0,0,0.2);
            --c-input-bg-soft: rgba(0,0,0,0.15);
            --c-input-bg-deep: rgba(0,0,0,0.3);
            --c-surface-0: rgba(255,255,255,0.02);
            --c-surface-1: rgba(255,255,255,0.03);
            --c-surface-1b: rgba(255,255,255,0.03);
            --c-surface-2a: rgba(255,255,255,0.04);
            --c-surface-2: rgba(255,255,255,0.04);
            --c-surface-2b: rgba(255,255,255,0.04);
            --c-surface-3a: rgba(255,255,255,0.05);
            --c-surface-3w: rgba(255,255,255,0.05);
            --c-surface-4a: rgba(255,255,255,0.06);
            --c-surface-4b: rgba(255,255,255,0.06);
            --c-surface-4c: rgba(255,255,255,0.06);
            --c-surface-4: rgba(255,255,255,0.06);
            --c-surface-5: rgba(255,255,255,0.08);
            --c-surface-5b: rgba(255,255,255,0.08);
            --c-border-faint: rgba(255,255,255,0.1);
            --c-border-subtle: rgba(255,255,255,0.1);
            --c-border-mid: rgba(255,255,255,0.1);
            --c-border-solid: rgba(255,255,255,0.1);
            --c-border-strong: rgba(255,255,255,0.15);
            --c-gray-tint: rgba(107,114,128,0.15);
            --c-accent-bg-1: rgba(96,165,250,0.04);
            --c-accent-bg-2a: rgba(96,165,250,0.06);
            --c-accent-bg-2b: rgba(96,165,250,0.06);
            --c-accent-bg-2c: rgba(96,165,250,0.06);
            --c-accent-bg-2d: rgba(96,165,250,0.06);
            --c-accent-bg-2e: rgba(96,165,250,0.06);
            --c-accent-bg-3a: rgba(96,165,250,0.08);
            --c-accent-bg-3b: rgba(96,165,250,0.08);
            --c-accent-bg-3c: rgba(96,165,250,0.08);
            --c-accent-bg-4a: rgba(96,165,250,0.1);
            --c-accent-bg-4b: rgba(96,165,250,0.1);
            --c-accent-bg-4c: rgba(96,165,250,0.1);
            --c-accent-bg-5a: rgba(96,165,250,0.12);
            --c-accent-bg-5b: rgba(96,165,250,0.12);
            --c-accent-bg-6a: rgba(96,165,250,0.15);
            --c-accent-bg-6b: rgba(96,165,250,0.15);
            --c-accent-bg-6c: rgba(96,165,250,0.15);
            --c-accent-bg-6d: rgba(96,165,250,0.15);
            --c-accent-border-1: rgba(96,165,250,0.2);
            --c-accent-border-2: rgba(96,165,250,0.2);
            --c-accent-border-3a: rgba(96,165,250,0.25);
            --c-accent-border-3b: rgba(96,165,250,0.25);
            --c-accent-border-3c: rgba(96,165,250,0.25);
            --c-accent-border-4: rgba(96,165,250,0.3);
            --c-accent-border-4b: rgba(96,165,250,0.3);
            --c-accent-border-solid: rgba(96,165,250,0.3);
            --c-accent-border-5: rgba(96,165,250,0.4);
            --c-accent-border-6: rgba(96,165,250,0.6);
            --c-green-bg-1a: rgba(16,185,129,0.06);
            --c-green-bg-1b: rgba(16,185,129,0.06);
            --c-green-bg-2a: rgba(16,185,129,0.08);
            --c-green-bg-2b: rgba(16,185,129,0.08);
            --c-green-bg-3a: rgba(16,185,129,0.1);
            --c-green-bg-3b: rgba(16,185,129,0.1);
            --c-green-bg-4a: rgba(16,185,129,0.12);
            --c-green-bg-4b: rgba(16,185,129,0.12);
            --c-green-bg-5a: rgba(16,185,129,0.15);
            --c-green-bg-5b: rgba(16,185,129,0.15);
            --c-green-bg-5c: rgba(16,185,129,0.15);
            --c-green-bg-6: rgba(16,185,129,0.2);
            --c-green-border-1: rgba(16,185,129,0.25);
            --c-green-border-2: rgba(16,185,129,0.3);
            --c-green-border-2b: rgba(16,185,129,0.3);
            --c-green-border-3: rgba(16,185,129,0.35);
            --c-amber-bg-1: rgba(251,191,36,0.06);
            --c-amber-bg-2a: rgba(251,191,36,0.08);
            --c-amber-bg-2b: rgba(251,191,36,0.08);
            --c-amber-bg-2c: rgba(251,191,36,0.08);
            --c-amber-bg-3a: rgba(251,191,36,0.1);
            --c-amber-bg-3b: rgba(251,191,36,0.1);
            --c-amber-bg-4: rgba(251,191,36,0.12);
            --c-amber-bg-5a: rgba(251,191,36,0.15);
            --c-amber-bg-5b: rgba(251,191,36,0.15);
            --c-amber-border-1: rgba(251,191,36,0.2);
            --c-amber-border-1b: rgba(251,191,36,0.2);
            --c-amber-border-2: rgba(251,191,36,0.25);
            --c-amber-border-3: rgba(251,191,36,0.3);
            --c-orange-bg-1: rgba(245,158,11,0.08);
            --c-orange-bg-2: rgba(245,158,11,0.15);
            --c-orange-border: rgba(245,158,11,0.35);
            --c-red-bg-1: rgba(239,68,68,0.06);
            --c-red-bg-2a: rgba(239,68,68,0.08);
            --c-red-bg-2b: rgba(239,68,68,0.08);
            --c-red-border-1: rgba(239,68,68,0.2);
            --c-red-border-2: rgba(239,68,68,0.3);
            --c-purple-bg-1: rgba(139,92,246,0.12);
            --c-purple-bg-2a: rgba(139,92,246,0.15);
            --c-purple-bg-2b: rgba(139,92,246,0.15);
            --c-purple-border-1: rgba(139,92,246,0.3);
            --c-purple-border-2: rgba(139,92,246,0.4);
            --c-gradient-success: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(96,165,250,0.06));
        }

        [data-theme="light"] {
            --c-muted: #64748b;
            --c-faint: #9ca3af;
            --c-text: #1e293b;
            --c-text-alt: #1f2937;
            --c-text-strong: #334155;
            --c-heading: #334155;
            --c-label: #475569;
            --c-heading-bold: #1e293b;
            --c-accent: #2563eb;
            --c-accent-deep: #1e40af;
            --c-accent-light: #1e40af;
            --c-accent-inv: #2563eb;
            --c-success: #059669;
            --c-danger: #dc2626;
            --c-danger-light: #dc2626;
            --c-warn: #d97706;
            --c-purple: #6d28d9;
            --c-purple-light: #7c3aed;
            --c-bg-solid: #ffffff;
            --c-bg-solid-alt: #fff;
            --c-input-bg: #fff;
            --c-input-bg-soft: #fff;
            --c-input-bg-deep: #f1f5f9;
            --c-surface-0: rgba(0,0,0,0.01);
            --c-surface-1: rgba(0,0,0,0.02);
            --c-surface-1b: rgba(0,0,0,0.03);
            --c-surface-2a: rgba(0,0,0,0.02);
            --c-surface-2: rgba(0,0,0,0.03);
            --c-surface-2b: rgba(0,0,0,0.04);
            --c-surface-3a: rgba(0,0,0,0.04);
            --c-surface-3w: #fff;
            --c-surface-4a: rgba(0,0,0,0.03);
            --c-surface-4b: rgba(0,0,0,0.04);
            --c-surface-4c: rgba(0,0,0,0.05);
            --c-surface-4: rgba(0,0,0,0.06);
            --c-surface-5: rgba(0,0,0,0.06);
            --c-surface-5b: rgba(0,0,0,0.08);
            --c-border-faint: rgba(0,0,0,0.06);
            --c-border-subtle: rgba(0,0,0,0.08);
            --c-border-mid: rgba(0,0,0,0.1);
            --c-border-solid: #d1d5db;
            --c-border-strong: #d1d5db;
            --c-gray-tint: rgba(107,114,128,0.08);
            --c-accent-bg-1: rgba(30,64,175,0.03);
            --c-accent-bg-2a: rgba(30,64,175,0.04);
            --c-accent-bg-2b: rgba(37,99,235,0.04);
            --c-accent-bg-2c: rgba(59,130,246,0.04);
            --c-accent-bg-2d: rgba(96,165,250,0.03);
            --c-accent-bg-2e: rgba(96,165,250,0.08);
            --c-accent-bg-3a: rgba(30,64,175,0.06);
            --c-accent-bg-3b: rgba(37,99,235,0.05);
            --c-accent-bg-3c: rgba(59,130,246,0.06);
            --c-accent-bg-4a: rgba(30,64,175,0.08);
            --c-accent-bg-4b: rgba(59,130,246,0.06);
            --c-accent-bg-4c: rgba(59,130,246,0.08);
            --c-accent-bg-5a: rgba(30,64,175,0.08);
            --c-accent-bg-5b: rgba(59,130,246,0.08);
            --c-accent-bg-6a: rgba(37,99,235,0.08);
            --c-accent-bg-6b: rgba(37,99,235,0.1);
            --c-accent-bg-6c: rgba(96,165,250,0.1);
            --c-accent-bg-6d: rgba(96,165,250,0.2);
            --c-accent-border-1: rgba(30,64,175,0.12);
            --c-accent-border-2: rgba(37,99,235,0.15);
            --c-accent-border-3a: rgba(30,64,175,0.15);
            --c-accent-border-3b: rgba(37,99,235,0.2);
            --c-accent-border-3c: rgba(59,130,246,0.15);
            --c-accent-border-4: rgba(30,64,175,0.2);
            --c-accent-border-4b: rgba(37,99,235,0.2);
            --c-accent-border-solid: #d1d5db;
            --c-accent-border-5: rgba(30,64,175,0.3);
            --c-accent-border-6: rgba(30,64,175,0.4);
            --c-green-bg-1a: rgba(16,185,129,0.03);
            --c-green-bg-1b: rgba(16,185,129,0.04);
            --c-green-bg-2a: rgba(16,185,129,0.05);
            --c-green-bg-2b: rgba(16,185,129,0.06);
            --c-green-bg-3a: rgba(16,185,129,0.06);
            --c-green-bg-3b: rgba(16,185,129,0.08);
            --c-green-bg-4a: rgba(16,185,129,0.08);
            --c-green-bg-4b: rgba(5,150,105,0.08);
            --c-green-bg-5a: rgba(16,185,129,0.08);
            --c-green-bg-5b: rgba(16,185,129,0.1);
            --c-green-bg-5c: rgba(5,150,105,0.08);
            --c-green-bg-6: rgba(16,185,129,0.12);
            --c-green-border-1: rgba(16,185,129,0.15);
            --c-green-border-2: rgba(16,185,129,0.2);
            --c-green-border-2b: rgba(5,150,105,0.2);
            --c-green-border-3: rgba(16,185,129,0.25);
            --c-amber-bg-1: rgba(251,191,36,0.04);
            --c-amber-bg-2a: rgba(217,119,6,0.06);
            --c-amber-bg-2b: rgba(251,191,36,0.05);
            --c-amber-bg-2c: rgba(251,191,36,0.06);
            --c-amber-bg-3a: rgba(245,158,11,0.06);
            --c-amber-bg-3b: rgba(245,158,11,0.08);
            --c-amber-bg-4: rgba(251,191,36,0.08);
            --c-amber-bg-5a: rgba(245,158,11,0.1);
            --c-amber-bg-5b: rgba(251,191,36,0.1);
            --c-amber-border-1: rgba(217,119,6,0.15);
            --c-amber-border-1b: rgba(251,191,36,0.12);
            --c-amber-border-2: rgba(251,191,36,0.15);
            --c-amber-border-3: rgba(217,119,6,0.2);
            --c-orange-bg-1: rgba(245,158,11,0.05);
            --c-orange-bg-2: rgba(245,158,11,0.1);
            --c-orange-border: rgba(245,158,11,0.25);
            --c-red-bg-1: rgba(239,68,68,0.04);
            --c-red-bg-2a: rgba(220,38,38,0.05);
            --c-red-bg-2b: rgba(239,68,68,0.05);
            --c-red-border-1: rgba(239,68,68,0.15);
            --c-red-border-2: rgba(220,38,38,0.2);
            --c-purple-bg-1: rgba(139,92,246,0.08);
            --c-purple-bg-2a: rgba(139,92,246,0.08);
            --c-purple-bg-2b: rgba(139,92,246,0.1);
            --c-purple-border-1: rgba(139,92,246,0.2);
            --c-purple-border-2: rgba(139,92,246,0.3);
            --c-gradient-success: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(96,165,250,0.04));
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: var(--bg-base);
            color: var(--text-primary);
            overflow-x: hidden;
            transition: background 0.3s ease, color 0.3s ease;
        }

        [data-theme="light"] body,
        [data-theme="light"] {
            background: linear-gradient(135deg, #e8f0fe 0%, #f0f4f8 100%);
        }

        /* ===== LIGHT THEME COMPONENT OVERRIDES ===== */

        /* Cards & surfaces */
        [data-theme="light"] .domain-card {
            background: #ffffff;
            border-color: rgba(59,130,246,0.15);
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        [data-theme="light"] .domain-card:hover {
            border-color: rgba(37,99,235,0.35);
            box-shadow: 0 4px 16px rgba(37,99,235,0.1);
        }
        [data-theme="light"] .domain-title { color: #2563eb; }
        [data-theme="light"] .skill-item {
            background: rgba(0,0,0,0.02);
        }
        [data-theme="light"] .skill-item:hover { background: rgba(37,99,235,0.04); }
        [data-theme="light"] .skill-name { color: #1e293b; }

        /* Opportunity cards */
        [data-theme="light"] .opportunity-card {
            background: #ffffff;
            border-color: rgba(59,130,246,0.15);
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        [data-theme="light"] .opportunity-card:hover {
            border-color: rgba(37,99,235,0.4);
            box-shadow: 0 4px 16px rgba(37,99,235,0.1);
        }
        [data-theme="light"] .opportunity-title { color: #1e293b; }
        [data-theme="light"] .opportunity-company { color: #64748b; }

        /* Application cards */
        [data-theme="light"] .application-card {
            background: #ffffff;
            border-color: rgba(59,130,246,0.15);
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        [data-theme="light"] .application-meta-value { color: #1e293b; }
        [data-theme="light"] .application-notes {
            background: rgba(37,99,235,0.04);
            color: #475569;
        }
        [data-theme="light"] .application-btn {
            background: rgba(37,99,235,0.08);
            border-color: rgba(37,99,235,0.25);
            color: #2563eb;
        }

        /* Blueprint sections */
        [data-theme="light"] .blueprint-section {
            background: #ffffff;
            border-color: rgba(59,130,246,0.15);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        [data-theme="light"] .outcome-item {
            background: rgba(0,0,0,0.02);
            border-color: rgba(59,130,246,0.15);
        }
        [data-theme="light"] .outcome-item:hover {
            background: rgba(37,99,235,0.04);
            border-color: rgba(37,99,235,0.3);
        }
        [data-theme="light"] .outcome-text { color: #1e293b; }
        [data-theme="light"] .value-card {
            background: #ffffff;
            border-color: rgba(59,130,246,0.2);
        }
        [data-theme="light"] .value-title { color: #1e293b; }
        [data-theme="light"] .value-description { color: #64748b; }
        [data-theme="light"] .coaching-tip {
            background: linear-gradient(135deg, rgba(245,158,11,0.08) 0%, rgba(251,191,36,0.06) 100%);
        }
        [data-theme="light"] .coaching-tip-content { color: #475569; }
        [data-theme="light"] .purpose-editor {
            background: rgba(0,0,0,0.03);
            border-color: rgba(59,130,246,0.25);
            color: #1e293b;
        }
        [data-theme="light"] .purpose-editor:focus {
            background: rgba(37,99,235,0.04);
        }
        [data-theme="light"] .reflection-prompts {
            background: rgba(139,92,246,0.06);
            border-color: rgba(139,92,246,0.2);
        }
        [data-theme="light"] .reflection-prompts li { color: #475569; }

        /* Modal */
        [data-theme="light"] .modal-content {
            background: #ffffff;
            border-color: rgba(59,130,246,0.2);
        }
        [data-theme="light"] .modal-header {
            background: rgba(248,250,252,0.98);
            border-bottom-color: rgba(59,130,246,0.12);
        }
        [data-theme="light"] .modal-title { color: #2563eb; }
        [data-theme="light"] .modal-years { color: #64748b; }
        [data-theme="light"] .evidence-item {
            background: rgba(37,99,235,0.04);
            border-left-color: #2563eb;
            color: #1e293b;
        }
        [data-theme="light"] .story-text {
            background: rgba(0,0,0,0.03);
            color: #334155;
        }

        /* Tooltip */
        [data-theme="light"] .tooltip {
            background: rgba(255,255,255,0.98);
            border-color: rgba(37,99,235,0.3);
            color: #1e293b;
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        }
        [data-theme="light"] .tooltip-title { color: #2563eb; }
        [data-theme="light"] .tooltip-roles { color: #475569; }
        [data-theme="light"] .tooltip-role-tag { background: rgba(37,99,235,0.1); }

        /* Settings & forms */
        [data-theme="light"] .settings-input,
        [data-theme="light"] .settings-select {
            background: rgba(0,0,0,0.04);
            border-color: rgba(59,130,246,0.25);
            color: #1e293b;
        }
        [data-theme="light"] .settings-input:focus,
        [data-theme="light"] .settings-select:focus {
            border-color: #2563eb;
            background: rgba(37,99,235,0.04);
        }
        [data-theme="light"] .your-skill-item {
            background: rgba(0,0,0,0.02);
            border-left-color: #2563eb;
        }
        [data-theme="light"] .your-skill-item:hover { background: rgba(37,99,235,0.05); }
        [data-theme="light"] .onet-skill-item {
            background: rgba(0,0,0,0.02);
            border-color: rgba(59,130,246,0.15);
        }
        [data-theme="light"] .onet-skill-item:hover:not(.disabled) {
            background: rgba(37,99,235,0.05);
            border-color: rgba(37,99,235,0.3);
        }
        [data-theme="light"] .onet-skill-name { color: #1e293b; }
        [data-theme="light"] .onet-skill-definition { color: #64748b; }

        /* Action buttons */
        [data-theme="light"] .action-btn {
            background: rgba(37,99,235,0.07);
            border-color: rgba(37,99,235,0.25);
            color: #2563eb;
        }
        [data-theme="light"] .action-btn:hover {
            background: rgba(37,99,235,0.14);
            border-color: rgba(37,99,235,0.4);
        }

        /* Opportunities filter bar */
        [data-theme="light"] .opportunities-filters {
            background: #ffffff;
            border-color: rgba(59,130,246,0.15);
        }

        /* Network SVG background */
        [data-theme="light"] #networkView {
            background: linear-gradient(135deg, #e8f0fe 0%, #f0f4f8 100%);
        }

        /* General text in content areas */
        [data-theme="light"] .blueprint-tagline { color: #475569; }
        [data-theme="light"] .blueprint-subtitle { color: #64748b; }
        [data-theme="light"] .section-count {
            background: rgba(37,99,235,0.1);
            color: #2563eb;
        }
        [data-theme="light"] .meta-tag.category {
            background: rgba(37,99,235,0.1);
            color: #2563eb;
        }
        [data-theme="light"] .meta-tag.evidence {
            background: rgba(5,150,105,0.1);
            color: #059669;
        }
        [data-theme="light"] .skill-badge {
            background: rgba(217,119,6,0.12);
            color: #b45309;
        }
        /* General content text colors in light mode */
        [data-theme="light"] .matched-skills-title { color: #2563eb; }
        [data-theme="light"] .filter-section-label { color: #2563eb; }
        [data-theme="light"] .opportunities-title { color: #2563eb; }
        [data-theme="light"] .opportunities-subtitle { color: #64748b; }
        [data-theme="light"] .match-label { color: #94a3b8; }
        [data-theme="light"] .meta-item { color: #64748b; }
        [data-theme="light"] .applications-header h1 { color: #1e293b; }
        [data-theme="light"] .modal-section-title { color: #2563eb; }
        [data-theme="light"] .roles-tags .role-tag {
            background: rgba(37,99,235,0.08);
            border-color: rgba(37,99,235,0.2);
            color: #1e293b;
        }
        [data-theme="light"] .related-skill-chip {
            background: rgba(220,38,38,0.06);
            border-color: rgba(220,38,38,0.2);
            color: #dc2626;
        }
        [data-theme="light"] .outcome-coaching {
            background: rgba(245,158,11,0.08);
            color: #b45309;
        }
        [data-theme="light"] .outcome-btn {
            background: rgba(37,99,235,0.07);
            border-color: rgba(37,99,235,0.25);
            color: #2563eb;
        }
        [data-theme="light"] .add-outcome-btn {
            background: rgba(37,99,235,0.04);
            border-color: rgba(37,99,235,0.25);
            color: #2563eb;
        }
        [data-theme="light"] .export-section {
            background: linear-gradient(135deg, rgba(220,38,38,0.06) 0%, rgba(185,28,28,0.06) 100%);
            border-color: rgba(220,38,38,0.2);
        }

        /* Network node labels readable on light background */
        [data-theme="light"] .node text {
            fill: #1e293b;
            text-shadow: 0 0 4px #fff, 0 0 4px #fff, 0 0 4px #fff;
        }
        [data-theme="light"] .node.role text {
            fill: #1e293b;
            font-weight: 700;
            text-shadow: 0 0 5px #fff, 0 0 5px #fff;
        }
        [data-theme="light"] .node.center text {
            fill: #1e293b;
            text-shadow: 0 0 6px #fff, 0 0 6px #fff;
        }
        [data-theme="light"] .node.skill text { fill: #1e293b; font-weight: 500; }
        [data-theme="light"] .link { stroke: rgba(100,116,139,0.25); }

        /* Settings view panels */
        [data-theme="light"] .settings-tabs,
        [data-theme="light"] .skills-view-tabs,
        [data-theme="light"] .skill-mgmt-content { 
            background: rgba(0,0,0,0.03);
        }
        [data-theme="light"] .settings-tab,
        [data-theme="light"] .skills-tab,
        [data-theme="light"] .skill-mgmt-tab { color: #64748b; }
        [data-theme="light"] .settings-tab:hover,
        [data-theme="light"] .skills-tab:hover { background: rgba(37,99,235,0.06); color: #1e293b; }
        [data-theme="light"] .quick-action-bar .btn-secondary {
            background: rgba(0,0,0,0.05);
            border-color: rgba(0,0,0,0.12);
            color: #475569;
        }
        
        /* ===== NAV BAR ===== */
        .header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--nav-bg);
            border-bottom: 1px solid var(--nav-border);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 0 24px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .header-logo {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .header-left h1 {
            color: var(--accent);
            font-family: 'Outfit', sans-serif;
            font-size: 0.82em;
            font-weight: 500;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            margin: 0;
            white-space: nowrap;
        }

        .header-left h1 span {
            color: var(--accent);
        }

        .header-center {
            display: flex;
            align-items: center;
            gap: 2px;
            background: var(--input-bg);
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 4px;
        }

        .nav-btn {
            background: transparent;
            border: none;
            color: var(--text-secondary);
            padding: 6px 14px;
            border-radius: 7px;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
            font-size: 0.72em;
            font-weight: 500;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            transition: all 0.18s ease;
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 6px;
        }

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

        .nav-btn.active {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 2px 8px rgba(96,165,250,0.3);
        }

        [data-theme="light"] .nav-btn.active {
            box-shadow: 0 2px 8px rgba(37,99,235,0.25);
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        /* Theme toggle */
        .theme-toggle {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            transition: all 0.2s;
            flex-shrink: 0;
        }

        .theme-toggle:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-glow);
        }

        /* Profile switcher */
        .profile-chip {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 10px 6px 6px;
            background: var(--input-bg);
            border: 1px solid var(--border);
            border-radius: 20px;
            transition: all 0.2s;
            position: relative;
        }

        .profile-chip:hover {
            border-color: var(--border);
        }

        .profile-avatar {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
        }

        .profile-name {
            font-size: 0.82em;
            font-weight: 600;
            color: var(--text-primary);
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .profile-caret {
            font-size: 10px;
            color: var(--text-muted);
        }

        /* Profile dropdown */
        .profile-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            min-width: 220px;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 8px;
            display: none;
            z-index: 200;
            backdrop-filter: blur(20px);
        }

        .profile-dropdown.open {
            display: block;
            animation: dropIn 0.15s ease;
        }

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

        .profile-dropdown-label {
            font-size: 0.72em;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            padding: 4px 8px 8px;
        }

        .profile-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.15s;
        }

        .profile-option:hover {
            background: var(--chip-bg);
        }

        .profile-option.active-profile {
            background: var(--accent-glow);
        }

        .profile-option-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--accent) 0%, #818cf8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            font-weight: 700;
            color: #fff;
            flex-shrink: 0;
        }

        .profile-option-info { flex: 1; overflow: hidden; }
        .profile-option-name {
            font-size: 0.88em;
            font-weight: 600;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .profile-option-title {
            font-size: 0.75em;
            color: var(--text-muted);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .profile-option-check {
            color: var(--accent);
            font-size: 12px;
        }

        /* More menu button */
        .more-btn {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--text-secondary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            transition: all 0.2s;
            letter-spacing: -1px;
        }

        .more-btn:hover, .more-btn.active {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-glow);
        }
        
        #statsBar {
            display: inline-flex;
            gap: 15px;
            align-items: center;
        }
        
        .stat-item {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        
        #consentView {
            display: none;
            padding: 30px;
            height: 100%;
            overflow-y: auto;
        }
        
        #settingsView {
            display: none;
            padding: 30px;
            height: 100%;
            overflow-y: auto;
        }
        
        #applicationsView {
            display: none;
            padding: 30px;
            height: 100%;
            overflow-y: auto;
        }
        
        .applications-header {
            margin-bottom: 30px;
        }
        
        .applications-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 20px;
        }
        
        .application-card {
            background: rgba(26, 26, 46, 0.6);
            border: 1px solid rgba(96, 165, 250, 0.2);
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s;
        }
        
        .application-card:hover {
            border-color: rgba(96, 165, 250, 0.5);
            transform: translateY(-2px);
        }
        
        .application-status {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 0.8em;
            font-weight: 600;
            margin-bottom: 12px;
        }
        
        .status-applied {
            background: rgba(96, 165, 250, 0.2);
            color: #60a5fa;
        }
        
        .status-interviewing {
            background: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
        }
        
        .status-offer {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }
        
        .status-rejected {
            background: rgba(107, 114, 128, 0.2);
            color: #9ca3af;
        }
        
        .application-title {
            font-size: 1.2em;
            color: #e0e0e0;
            margin-bottom: 5px;
            font-weight: 600;
        }
        
        .application-company {
            color: #9ca3af;
            margin-bottom: 15px;
        }
        
        .application-meta-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            margin-bottom: 15px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.02);
            border-radius: 6px;
        }
        
        .application-meta-item {
            display: flex;
            flex-direction: column;
        }
        
        .application-meta-label {
            font-size: 0.75em;
            color: #9ca3af;
            text-transform: uppercase;
            margin-bottom: 4px;
        }
        
        .application-meta-value {
            color: #e0e0e0;
            font-size: 0.95em;
        }
        
        .application-notes {
            background: rgba(255, 255, 255, 0.03);
            border-left: 3px solid rgba(96, 165, 250, 0.5);
            padding: 10px;
            border-radius: 4px;
            margin-bottom: 15px;
            font-size: 0.9em;
            color: #d1d5db;
            line-height: 1.5;
        }
        
        .application-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }
        
        .application-btn {
            padding: 8px 14px;
            border-radius: 6px;
            border: 1px solid rgba(96, 165, 250, 0.3);
            background: rgba(96, 165, 250, 0.1);
            color: #60a5fa;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.85em;
            font-weight: 500;
        }
        
        .application-btn:hover {
            background: rgba(96, 165, 250, 0.2);
            border-color: rgba(96, 165, 250, 0.5);
        }
        
        .application-btn.delete {
            border-color: rgba(239, 68, 68, 0.3);
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
        }
        
        .application-btn.delete:hover {
            background: rgba(239, 68, 68, 0.2);
            border-color: rgba(239, 68, 68, 0.5);
        }
        
        .settings-input {
            width: 100%;
            padding: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(96, 165, 250, 0.3);
            border-radius: 8px;
            color: #e0e0e0;
            font-size: 1em;
            font-family: inherit;
        }
        
        .settings-input:focus {
            outline: none;
            border-color: #60a5fa;
            background: rgba(255, 255, 255, 0.08);
        }
        
        .settings-select {
            width: 100%;
            padding: 12px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(96, 165, 250, 0.3);
            border-radius: 8px;
            color: #e0e0e0;
            font-size: 1em;
            font-family: inherit;
        }
        
        .settings-group {
            margin-bottom: 25px;
        }
        
        .settings-label {
            display: block;
            color: #60a5fa;
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 0.9em;
        }
        
        .settings-help {
            color: #9ca3af;
            font-size: 0.85em;
            margin-top: 5px;
        }
        
        .tag-input-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(96, 165, 250, 0.3);
            border-radius: 8px;
            min-height: 45px;
        }
        
        .tag-chip {
            background: rgba(96, 165, 250, 0.2);
            color: #60a5fa;
            padding: 6px 12px;
            border-radius: 12px;
            font-size: 0.85em;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .tag-remove {
            cursor: pointer;
            color: #ef4444;
            font-weight: bold;
        }
        
        .save-settings-btn {
            width: 100%;
            padding: 15px;
            background: #10b981;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1.1em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .save-settings-btn:hover {
            background: #059669;
            transform: translateY(-2px);
        }
        
        /* ===== CONTEXTUAL FILTER BAR ===== */
        .controls {
            background: var(--filter-bg);
            border-bottom: 1px solid var(--filter-border);
            padding: 8px 24px;
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: space-between;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            min-height: 48px;
        }

        .controls-left {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .controls-right {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .filter-group {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        .filter-label {
            color: var(--text-muted);
            font-size: 0.75em;
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        /* Collapsible filter panel */
        .filter-panel {
            display: none;
            width: 100%;
            padding: 10px 0 4px;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
            animation: fadeIn 0.15s ease;
        }

        .filter-panel.open {
            display: flex;
        }

        .filter-toggle-btn {
            display: none !important;  /* Filter removed from UI — revisit later */
        }
        .filter-panel {
            display: none !important;  /* Filter removed from UI — revisit later */
        }

        .filter-toggle-btn:hover, .filter-toggle-btn.active {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-glow);
        }

        /* Search input */
        .filter-search {
            padding: 5px 12px;
            border-radius: 8px;
            border: 1px solid var(--border);
            background: var(--input-bg);
            color: var(--text-primary);
            font-size: 0.85em;
            width: 200px;
            transition: all 0.2s;
            outline: none;
        }

        .filter-search:focus {
            border-color: var(--accent);
            background: var(--accent-glow);
            width: 240px;
        }

        .filter-search::placeholder {
            color: var(--text-muted);
        }

        /* View toggle pills */
        .view-pills {
            display: flex;
            gap: 2px;
            background: var(--input-bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 3px;
        }

        .view-pill {
            padding: 4px 12px;
            border-radius: 5px;
            border: none;
            background: transparent;
            color: var(--text-secondary);
            font-size: 0.8em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.15s;
        }

        .view-pill.active {
            background: var(--accent);
            color: #fff;
        }

        /* Export button */
        .export-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border: none;
            color: #fff;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85em;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .export-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(239,68,68,0.3);
        }
        
        .role-chip {
            background: var(--chip-bg);
            border: 1px solid var(--border);
            padding: 4px 10px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.18s;
            font-size: 0.8em;
            color: var(--text-secondary);
        }

        .role-chip:hover {
            background: var(--chip-hover);
            border-color: var(--border-strong);
            color: var(--text-primary);
        }

        .role-chip.active {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
        }
        
        .level-filter {
            display: flex;
            gap: 8px;
        }
        
        .level-chip {
            padding: 6px 12px;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.85em;
            border: 1px solid transparent;
        }
        
        .level-chip.mastery {
            background: rgba(239, 68, 68, 0.2);
            border-color: rgba(239, 68, 68, 0.3);
        }
        
        .level-chip.mastery.active {
            background: #ef4444;
            color: #fff;
        }
        
        .level-chip.advanced {
            background: rgba(245, 158, 11, 0.2);
            border-color: rgba(245, 158, 11, 0.3);
        }
        
        .level-chip.advanced.active {
            background: #f59e0b;
            color: #fff;
        }
        
        .level-chip.proficient {
            background: rgba(16, 185, 129, 0.2);
            border-color: rgba(16, 185, 129, 0.3);
        }
        
        .level-chip.proficient.active {
            background: #10b981;
            color: #fff;
        }
        
        .level-chip.expert {
            background: rgba(249, 115, 22, 0.2);
            border-color: rgba(249, 115, 22, 0.3);
        }
        
        .level-chip.expert.active {
            background: #f97316;
            color: #fff;
        }
        
        .level-chip.novice {
            background: rgba(107, 114, 128, 0.2);
            border-color: rgba(107, 114, 128, 0.3);
        }
        
        .level-chip.novice.active {
            background: #6b7280;
            color: #fff;
        }
        
        .label-pills {
            display: flex;
            gap: 4px;
            align-items: center;
        }
        .label-pill {
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid var(--border);
            background: transparent;
            color: var(--text-muted);
            font-size: 0.78em;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.15s ease;
            user-select: none;
        }
        .label-pill:hover {
            border-color: var(--accent);
            color: var(--text-secondary);
        }
        .label-pill.active {
            background: var(--accent);
            border-color: var(--accent);
            color: #fff;
        }
        
        /* Keep toggle-switch for share/settings toggles */
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 20px;
        }
        
        .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(96, 165, 250, 0.3);
            transition: .3s;
            border-radius: 20px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background-color: #60a5fa;
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(20px);
        }
        
        .toggle-label {
            font-size: 0.85em;
            color: #9ca3af;
        }
        
        .main-content {
            position: relative;
            height: calc(100vh - 56px);
        }

        /* When filter bar is visible (Skills tab), reduce height */
        .main-content.with-filters {
            height: calc(100vh - 56px - 48px);
        }
        
        #networkView {
            width: 100%;
            height: 100%;
            display: block;
        }
        
        #cardView {
            display: none;
            padding: 30px;
            height: 100%;
            overflow-y: auto;
            overflow-x: hidden;
        }
        
        #opportunitiesView {
            display: none;
            padding: 30px;
            height: 100%;
            overflow-y: auto;
        }
        
        #blueprintView {
            display: none;
            padding: 30px;
            height: 100%;
            overflow-y: auto;
            background: var(--bg-base);
        }
        
        .blueprint-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .blueprint-header {
            text-align: center;
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 2px solid rgba(96, 165, 250, 0.3);
        }
        
        .blueprint-title {
            font-family: 'Outfit', sans-serif;
            font-size: 2.5em;
            font-weight: 700;
            color: #60a5fa;
            margin-bottom: 10px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        
        .blueprint-subtitle {
            font-size: 1.2em;
            color: #9ca3af;
            margin-bottom: 20px;
        }
        
        .blueprint-tagline {
            font-size: 1em;
            color: #d1d5db;
            font-style: italic;
            max-width: 600px;
            margin: 0 auto;
        }
        
        /* Blueprint Sub-Navigation */
        .blueprint-subnav {
            display: flex;
            gap: 8px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(96, 165, 250, 0.15);
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        
        .bp-tab {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 10px 14px 12px;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            color: var(--text-muted);
            font-size: 0.85em;
            font-weight: 500;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
            margin-bottom: -2px;
        }
        
        .bp-tab:hover { color: var(--text-primary); }
        
        .bp-tab.active {
            color: #60a5fa;
            border-bottom-color: #60a5fa;
        }
        
        .bp-tab-icon { font-size: 1.1em; }
        
        .bp-tab-count {
            background: rgba(96, 165, 250, 0.2);
            color: #60a5fa;
            font-size: 0.75em;
            padding: 1px 6px;
            border-radius: 10px;
            font-weight: 600;
        }
        
        .bp-tab.active .bp-tab-count {
            background: rgba(96, 165, 250, 0.3);
        }
        
        [data-theme="light"] .bp-tab-count {
            background: rgba(37, 99, 235, 0.12);
            color: #2563eb;
        }

        .blueprint-section {
            background: rgba(26, 26, 46, 0.6);
            border: 1px solid rgba(96, 165, 250, 0.2);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .blueprint-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(96, 165, 250, 0.2);
        }
        
        .blueprint-section-title {
            font-size: 1.5em;
            color: #60a5fa;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .section-icon {
            font-size: 1.3em;
        }
        
        .section-count {
            background: rgba(96, 165, 250, 0.2);
            color: #60a5fa;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 0.7em;
            font-weight: 600;
        }
        
        .coaching-tip {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
            border-left: 4px solid #fbbf24;
            padding: 15px 20px;
            margin-bottom: 25px;
            border-radius: 8px;
        }
        
        .coaching-tip-title {
            color: #fbbf24;
            font-weight: 600;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .coaching-tip-content {
            color: #d1d5db;
            font-size: 0.95em;
            line-height: 1.6;
        }
        
        .coaching-tip-content ul {
            margin: 10px 0 0 20px;
        }
        
        .coaching-tip-content li {
            margin: 5px 0;
        }
        
        .outcome-item {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(96, 165, 250, 0.2);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            transition: all 0.3s;
        }
        
        .outcome-item:hover {
            border-color: rgba(96, 165, 250, 0.4);
            background: rgba(255, 255, 255, 0.05);
        }
        
        .outcome-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }
        
        .outcome-text {
            flex: 1;
            font-size: 1.05em;
            color: #e0e0e0;
            line-height: 1.5;
        }
        
        .outcome-controls {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .share-toggle {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
        }
        
        .share-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .share-toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(107, 114, 128, 0.3);
            transition: .3s;
            border-radius: 26px;
        }
        
        .share-toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
        }
        
        .share-toggle input:checked + .share-toggle-slider {
            background-color: #10b981;
        }
        
        .share-toggle input:checked + .share-toggle-slider:before {
            transform: translateX(24px);
        }
        
        .outcome-meta {
            display: flex;
            gap: 15px;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid rgba(96, 165, 250, 0.1);
            flex-wrap: wrap;
        }
        
        .meta-tag {
            font-size: 0.8em;
            padding: 4px 10px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .meta-tag.category {
            background: rgba(96, 165, 250, 0.2);
            color: #60a5fa;
        }
        
        .meta-tag.evidence {
            background: rgba(16, 185, 129, 0.2);
            color: #10b981;
        }
        
        .meta-tag.sensitive {
            background: rgba(239, 68, 68, 0.2);
            color: #ef4444;
        }
        
        .outcome-coaching {
            background: rgba(251, 191, 36, 0.1);
            border-left: 3px solid #fbbf24;
            padding: 10px 15px;
            margin-top: 12px;
            border-radius: 4px;
            font-size: 0.9em;
            color: #fbbf24;
        }
        
        .outcome-actions {
            display: flex;
            gap: 10px;
            margin-top: 12px;
        }
        
        .outcome-btn {
            padding: 6px 14px;
            border-radius: 6px;
            border: 1px solid rgba(96, 165, 250, 0.3);
            background: rgba(96, 165, 250, 0.1);
            color: #60a5fa;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.85em;
            font-weight: 500;
        }
        
        .outcome-btn:hover {
            background: rgba(96, 165, 250, 0.2);
            border-color: rgba(96, 165, 250, 0.5);
        }
        
        .add-outcome-btn {
            width: 100%;
            padding: 15px;
            border-radius: 8px;
            border: 2px dashed rgba(96, 165, 250, 0.3);
            background: rgba(96, 165, 250, 0.05);
            color: #60a5fa;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1em;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        .add-outcome-btn:hover {
            background: rgba(96, 165, 250, 0.1);
            border-color: rgba(96, 165, 250, 0.5);
        }
        
        .reflection-prompts {
            background: rgba(139, 92, 246, 0.1);
            border: 1px solid rgba(139, 92, 246, 0.3);
            border-radius: 8px;
            padding: 20px;
            margin-top: 20px;
        }
        
        .reflection-title {
            color: #a78bfa;
            font-weight: 600;
            margin-bottom: 12px;
            font-size: 0.95em;
        }
        
        .reflection-prompts ul {
            list-style: none;
            padding: 0;
        }
        
        .reflection-prompts li {
            color: #d1d5db;
            padding: 8px 0;
            padding-left: 20px;
            position: relative;
            font-size: 0.9em;
        }
        
        .reflection-prompts li:before {
            content: "→";
            position: absolute;
            left: 0;
            color: #a78bfa;
        }
        
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .value-card {
            background: rgba(255, 255, 255, 0.03);
            border: 2px solid rgba(96, 165, 250, 0.2);
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .value-card.selected {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.1);
        }
        
        .value-card:hover {
            border-color: rgba(96, 165, 250, 0.5);
            transform: translateY(-2px);
        }
        
        .value-title {
            font-weight: 600;
            color: #e0e0e0;
            margin-bottom: 5px;
        }
        
        .value-description {
            font-size: 0.85em;
            color: #9ca3af;
            line-height: 1.4;
        }
        
        .purpose-editor {
            width: 100%;
            min-height: 120px;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(96, 165, 250, 0.3);
            border-radius: 8px;
            padding: 15px;
            color: #e0e0e0;
            font-size: 1em;
            line-height: 1.6;
            font-family: inherit;
            resize: vertical;
        }
        
        .purpose-editor:focus {
            outline: none;
            border-color: #60a5fa;
            background: rgba(255, 255, 255, 0.08);
        }
        
        .export-section {
            background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 12px;
            padding: 25px;
            text-align: center;
        }
        
        .export-title {
            color: #ef4444;
            font-size: 1.3em;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .export-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }
        
        .export-btn-large {
            padding: 12px 24px;
            border-radius: 8px;
            border: none;
            background: #ef4444;
            color: white;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 1em;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .export-btn-large:hover {
            background: #dc2626;
            transform: translateY(-2px);
        }
        
        .opportunities-header {
            max-width: 1400px;
            margin: 0 auto 30px;
        }
        
        .opportunities-title {
            font-family: 'Outfit', sans-serif;
            font-size: 2em;
            font-weight: 700;
            color: #60a5fa;
            margin-bottom: 10px;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }
        
        .opportunities-subtitle {
            color: #9ca3af;
            font-size: 1.1em;
            margin-bottom: 30px;
        }
        
        .opportunities-filters {
            background: rgba(26, 26, 46, 0.6);
            border: 1px solid rgba(96, 165, 250, 0.2);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 30px;
            display: flex;
            gap: 30px;
            flex-wrap: wrap;
            align-items: center;
        }
        
        .filter-section {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .filter-section-label {
            color: #60a5fa;
            font-size: 0.85em;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .match-slider {
            width: 200px;
        }
        
        .match-value {
            color: #fbbf24;
            font-weight: 600;
            font-size: 1.1em;
        }
        
        .opportunities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
            gap: 20px;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .opportunity-card {
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%);
            border: 1px solid rgba(96, 165, 250, 0.2);
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .opportunity-card:hover {
            border-color: rgba(96, 165, 250, 0.5);
            transform: translateY(-2px);
        }
        
        .opportunity-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }
        
        .opportunity-company {
            font-size: 0.9em;
            color: #9ca3af;
            margin-bottom: 5px;
        }
        
        .opportunity-title {
            font-size: 1.2em;
            color: #e0e0e0;
            font-weight: 600;
            line-height: 1.3;
        }
        
        .match-score {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
        }
        
        .match-circle {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3em;
            font-weight: bold;
            position: relative;
        }
        
        .match-circle.high {
            background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.05) 100%);
            border: 3px solid #10b981;
            color: #10b981;
        }
        
        .match-circle.medium {
            background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.05) 100%);
            border: 3px solid #f59e0b;
            color: #f59e0b;
        }
        
        .match-circle.low {
            background: radial-gradient(circle, rgba(107, 114, 128, 0.2) 0%, rgba(107, 114, 128, 0.05) 100%);
            border: 3px solid #6b7280;
            color: #6b7280;
        }
        
        .match-label {
            font-size: 0.75em;
            color: #9ca3af;
            text-transform: uppercase;
        }
        
        .opportunity-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            font-size: 0.85em;
            color: #9ca3af;
        }
        
        .meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .matched-skills {
            margin-bottom: 15px;
        }
        
        .matched-skills-title {
            font-size: 0.85em;
            color: #60a5fa;
            margin-bottom: 8px;
            font-weight: 600;
        }
        
        .skill-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        
        .skill-chip-match {
            background: rgba(16, 185, 129, 0.2);
            border: 1px solid rgba(16, 185, 129, 0.3);
            color: #10b981;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75em;
        }
        
        .skill-chip-gap {
            background: rgba(239, 68, 68, 0.2);
            border: 1px solid rgba(239, 68, 68, 0.3);
            color: #ef4444;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 0.75em;
        }
        
        .opportunity-actions {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            padding-top: 15px;
            border-top: 1px solid rgba(96, 165, 250, 0.1);
        }
        
        .action-btn {
            flex: 1;
            padding: 8px 16px;
            border-radius: 6px;
            border: 1px solid rgba(96, 165, 250, 0.3);
            background: rgba(96, 165, 250, 0.1);
            color: #60a5fa;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.85em;
            font-weight: 600;
        }
        
        .action-btn:hover {
            background: rgba(96, 165, 250, 0.2);
            border-color: rgba(96, 165, 250, 0.5);
        }
        
        .loading-state {
            text-align: center;
            padding: 60px 20px;
            color: #9ca3af;
        }
        
        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(96, 165, 250, 0.2);
            border-top-color: #60a5fa;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Job Cart styles */
        .jobs-subtabs {
            display: flex;
            gap: 0;
            margin-bottom: 24px;
            border-bottom: 1px solid var(--border);
        }
        .jobs-subtab {
            padding: 10px 20px;
            background: none;
            border: none;
            border-bottom: 2px solid transparent;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 0.9em;
            font-weight: 600;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        .jobs-subtab:hover { color: var(--text-secondary); }
        .jobs-subtab.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }
        .job-cart-card {
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .job-cart-card:hover {
            border-color: var(--accent);
            transform: translateY(-1px);
        }
        .job-cart-match { display:flex; align-items:center; gap:8px; }
        .job-cart-match-bar {
            height: 6px;
            border-radius: 3px;
            background: var(--border);
            flex: 1;
            overflow: hidden;
        }
        .job-cart-match-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 0.4s ease;
        }
        .jd-skill-chip {
            display: inline-block;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.75em;
            margin: 2px;
        }
        .jd-chip-matched {
            background: rgba(16,185,129,0.15);
            border: 1px solid rgba(16,185,129,0.3);
            color: #10b981;
        }
        .jd-chip-gap {
            background: rgba(239,68,68,0.1);
            border: 1px solid rgba(239,68,68,0.25);
            color: #ef4444;
        }
        .jd-chip-surplus {
            background: rgba(107,114,128,0.1);
            border: 1px solid rgba(107,114,128,0.2);
            color: #6b7280;
        }
        
        /* Network match overlay */
        .match-mode-toggle {
            display: inline-flex;
            gap: 0;
            background: var(--card-bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            overflow: hidden;
            margin-left: 8px;
        }
        .match-mode-btn {
            padding: 5px 14px;
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 0.78em;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.15s;
            border-right: 1px solid var(--border);
        }
        .match-mode-btn:last-child { border-right: none; }
        .match-mode-btn:hover { color: var(--text-secondary); }
        .match-mode-btn.active {
            background: var(--accent);
            color: #fff;
        }
        .match-legend {
            position: absolute;
            top: 16px;
            right: 16px;
            display: flex;
            flex-direction: column;
            gap: 0;
            padding: 0;
            border-radius: 12px;
            background: rgba(15,15,30,0.92);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(96,165,250,0.2);
            z-index: 10;
            font-size: 0.82em;
            min-width: 260px;
            max-width: 320px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
            overflow: hidden;
        }
        .job-info-tile {
            position: absolute;
            top: 16px;
            left: 16px;
            display: flex;
            flex-direction: column;
            gap: 0;
            padding: 14px 18px;
            border-radius: 12px;
            background: rgba(15,15,30,0.92);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(96,165,250,0.15);
            z-index: 10;
            font-size: 0.82em;
            min-width: 200px;
            max-width: 280px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
        }
        [data-theme="light"] .job-info-tile {
            background: rgba(255,255,255,0.95);
            border-color: rgba(0,0,0,0.1);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        .jit-title {
            font-weight: 700;
            font-size: 1em;
            color: var(--text-primary);
            line-height: 1.3;
        }
        .jit-company {
            font-size: 0.9em;
            color: var(--text-muted);
            margin-top: 2px;
        }
        .jit-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 6px 12px;
            margin-top: 10px;
            font-size: 0.88em;
            color: var(--text-secondary);
        }
        .jit-meta-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .jit-salary {
            margin-top: 10px;
            padding: 8px 10px;
            border-radius: 8px;
            background: rgba(167,139,250,0.08);
            border: 1px solid rgba(167,139,250,0.15);
        }
        [data-theme="light"] .jit-salary {
            background: rgba(167,139,250,0.06);
            border-color: rgba(167,139,250,0.12);
        }
        .jit-salary-range {
            font-weight: 700;
            font-size: 1.05em;
            color: #a78bfa;
        }
        .jit-salary-label {
            font-size: 0.78em;
            color: var(--text-muted);
            margin-top: 2px;
        }
        .jit-source {
            margin-top: 8px;
            font-size: 0.78em;
        }
        .jit-source a {
            color: var(--accent);
            text-decoration: none;
        }
        .jit-source a:hover { text-decoration: underline; }
        /* Desktop: overlay bodies always visible, chevrons hidden */
        .jit-body { display: block; margin-top: 6px; }
        .jit-chevron { display: none; }
        .ml-body { display: block; }
        .ml-chevron { display: none; }
        [data-theme="light"] .match-legend {
            background: rgba(255,255,255,0.95);
            border-color: rgba(0,0,0,0.12);
            box-shadow: 0 8px 32px rgba(0,0,0,0.12);
        }
        .ml-header {
            padding: 14px 16px 10px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }
        [data-theme="light"] .ml-header {
            border-bottom-color: rgba(0,0,0,0.06);
        }
        .ml-title {
            font-weight: 700;
            font-size: 1.05em;
            color: var(--text-primary);
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .ml-company {
            font-size: 0.88em;
            color: var(--text-muted);
        }
        .ml-score-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            background: rgba(96,165,250,0.06);
        }
        .ml-score-num {
            font-size: 1.8em;
            font-weight: 800;
            line-height: 1;
        }
        .ml-score-bar {
            flex: 1;
            height: 6px;
            border-radius: 3px;
            background: rgba(255,255,255,0.08);
            overflow: hidden;
        }
        [data-theme="light"] .ml-score-bar { background: rgba(0,0,0,0.06); }
        .ml-score-fill {
            height: 100%;
            border-radius: 3px;
            transition: width 0.5s ease;
        }
        .ml-stats {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 0;
        }
        .ml-stat {
            text-align: center;
            padding: 10px 6px;
            border-right: 1px solid rgba(255,255,255,0.04);
        }
        [data-theme="light"] .ml-stat { border-right-color: rgba(0,0,0,0.04); }
        .ml-stat:last-child { border-right: none; }
        .ml-stat-num {
            font-size: 1.3em;
            font-weight: 700;
            line-height: 1.2;
        }
        .ml-stat-label {
            font-size: 0.72em;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .ml-legend-row {
            display: flex;
            gap: 12px;
            padding: 8px 16px;
            flex-wrap: wrap;
        }
        .match-legend-item {
            display: flex;
            align-items: center;
            gap: 5px;
            color: var(--text-muted);
            font-size: 0.88em;
        }
        .match-legend-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        .ml-actions {
            display: flex;
            gap: 6px;
            padding: 8px 12px;
            border-top: 1px solid rgba(255,255,255,0.06);
        }
        [data-theme="light"] .ml-actions { border-top-color: rgba(0,0,0,0.06); }
        .ml-action-btn {
            flex: 1;
            padding: 6px 10px;
            border-radius: 6px;
            border: 1px solid rgba(255,255,255,0.1);
            background: transparent;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 0.82em;
            text-align: center;
            transition: background 0.15s;
        }
        .ml-action-btn:hover { background: rgba(255,255,255,0.06); }
        [data-theme="light"] .ml-action-btn { border-color: rgba(0,0,0,0.1); }
        [data-theme="light"] .ml-action-btn:hover { background: rgba(0,0,0,0.04); }

        .ml-scout-btn {
            width: 100%;
            margin-top: 8px;
            padding: 10px 16px;
            border-radius: 8px;
            border: 1px solid rgba(96,165,250,0.2);
            background: linear-gradient(135deg, rgba(96,165,250,0.08), rgba(99,102,241,0.05));
            color: var(--accent);
            font-family: var(--font-main);
            font-size: 0.82em;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.2s;
        }
        .ml-scout-btn:hover {
            border-color: rgba(96,165,250,0.4);
            background: rgba(96,165,250,0.12);
        }
        
        /* ---- VALUES ALIGNMENT PANEL ---- */
        .values-alignment-panel {
            position: fixed;
            bottom: 16px;
            left: 16px;
            width: 320px;
            background: rgba(15, 23, 42, 0.92);
            backdrop-filter: blur(16px);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 14px;
            overflow: hidden;
            z-index: 1000;
            box-shadow: 0 8px 32px rgba(0,0,0,0.4);
        }
        .vap-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            padding: 12px 12px 10px 16px;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            cursor: grab;
            user-select: none;
        }
        .vap-header:active { cursor: grabbing; }
        .vap-header-left {
            flex: 1;
            min-width: 0;
        }
        .vap-job-title {
            font-weight: 700;
            font-size: 0.88em;
            color: var(--text-primary);
            line-height: 1.3;
        }
        .vap-job-company {
            font-size: 0.78em;
            color: var(--text-muted);
            margin-top: 1px;
        }
        .vap-header-controls {
            display: flex;
            gap: 4px;
            flex-shrink: 0;
            margin-left: 8px;
            margin-top: 2px;
        }
        .vap-ctrl-btn {
            width: 26px;
            height: 26px;
            border-radius: 6px;
            border: 1px solid rgba(255,255,255,0.1);
            background: rgba(255,255,255,0.04);
            color: var(--text-muted);
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
            line-height: 1;
            padding: 0;
        }
        .vap-ctrl-btn:hover {
            background: rgba(255,255,255,0.1);
            color: var(--text-primary);
        }
        .vap-score-row {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 10px 16px 8px;
        }
        .vap-score-num {
            font-size: 2em;
            font-weight: 800;
            line-height: 1;
        }
        .vap-body {
            max-height: 500px;
            overflow-y: auto;
            transition: max-height 0.25s ease, opacity 0.2s ease;
        }
        .vap-body.vap-collapsed {
            max-height: 0;
            opacity: 0;
            overflow: hidden;
        }
        /* Hub labels — clean, no heavy text-shadow glow */
        .node.hub text {
            text-shadow: none;
            font-weight: 700;
        }
        /* Job detail CTA buttons area */
        .jd-cta-box {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px 20px;
            margin-bottom: 20px;
            border-radius: 10px;
            background: linear-gradient(135deg, rgba(30,64,175,0.12), rgba(96,165,250,0.06));
            border: 1px solid rgba(96,165,250,0.25);
        }
        .jd-cta-buttons {
            display: flex;
            gap: 10px;
            flex-shrink: 0;
        }
        .jd-cta-desc {
            font-size: 0.82em;
            color: var(--text-muted);
            line-height: 1.4;
        }
        [data-theme="light"] .values-alignment-panel {
            background: rgba(255, 255, 255, 0.95);
            border-color: rgba(0,0,0,0.08);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        [data-theme="light"] .vap-header { border-bottom-color: rgba(0,0,0,0.06); }
        [data-theme="light"] .vap-ctrl-btn { border-color: rgba(0,0,0,0.1); background: rgba(0,0,0,0.03); }
        [data-theme="light"] .vap-ctrl-btn:hover { background: rgba(0,0,0,0.08); }
        [data-theme="light"] .node.hub text { text-shadow: none; }
        .val-story {
            padding: 8px 16px;
            border-top: 1px solid rgba(255,255,255,0.04);
        }
        [data-theme="light"] .val-story { border-top-color: rgba(0,0,0,0.04); }
        .val-story-label {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.72em;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 4px;
        }
        .val-story-text {
            font-size: 0.82em;
            line-height: 1.55;
            color: var(--text-secondary);
        }
        .val-tension-warn {
            padding: 8px 16px;
            background: rgba(239, 68, 68, 0.06);
            border-top: 1px solid rgba(239, 68, 68, 0.1);
            font-size: 0.82em;
            color: #fca5a5;
        }
        [data-theme="light"] .val-tension-warn {
            background: rgba(239, 68, 68, 0.04);
            color: #dc2626;
        }
        .val-tension-item {
            margin-top: 3px;
            line-height: 1.45;
        }
        
        .match-active-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            border-radius: 6px;
            background: rgba(96,165,250,0.1);
            border: 1px solid rgba(96,165,250,0.25);
            font-size: 0.78em;
            color: var(--accent);
            margin-left: 8px;
        }
        .match-active-badge button {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 1.1em;
            padding: 0 2px;
            line-height: 1;
        }
        .match-active-badge button:hover { color: #ef4444; }
        
        .cards-grid {
            column-count: 3;
            column-gap: 20px;
            max-width: 1600px;
            margin: 0 auto;
        }
        
        .domain-card {
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%);
            border: 1px solid rgba(96, 165, 250, 0.2);
            border-radius: 12px;
            padding: 20px;
            transition: all 0.3s ease;
            break-inside: avoid;
            margin-bottom: 20px;
        }
        
        .domain-card:hover {
            border-color: rgba(96, 165, 250, 0.5);
            transform: translateY(-2px);
        }
        
        .domain-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(96, 165, 250, 0.2);
        }
        
        .domain-icon {
            display: inline-flex;
            align-items: center;
            color: #60a5fa;
            opacity: 0.8;
        }
        
        .domain-title {
            font-size: 1.3em;
            font-weight: 600;
            color: #60a5fa;
        }
        
        .skill-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 8px;
            border-left: 3px solid transparent;
            margin-bottom: 8px;
            flex-wrap: wrap;
            min-width: 0;
        }
        
        .skill-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
        }
        
        .skill-name {
            flex: 1;
            font-size: 0.95em;
            min-width: 80px;
        }
        
        .skill-badge {
            background: rgba(251, 191, 36, 0.2);
            color: #fbbf24;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.75em;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .skill-years {
            background: rgba(96, 165, 250, 0.15);
            color: #60a5fa;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.75em;
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        .skill-impact-badge {
            white-space: nowrap;
            flex-shrink: 0;
        }
        
        /* Mobile card view */
        @media (max-width: 768px) {
            .cards-grid {
                column-count: 1;
            }
            
            #cardView {
                padding: 12px;
            }
            
            .domain-card {
                padding: 14px;
            }
            
            .domain-title {
                font-size: 1.1em;
            }
            
            .skill-item {
                padding: 8px 10px;
                gap: 6px;
            }
            
            .skill-name {
                font-size: 0.9em;
                width: 100%;
                flex-basis: calc(100% - 22px);
            }
            
            /* On mobile, badges wrap below the skill name naturally */
            .skill-badge, .skill-years, .skill-impact-badge {
                font-size: 0.68em;
            }
        }
        
        @media (min-width: 769px) and (max-width: 1200px) {
            .cards-grid {
                column-count: 2;
            }
        }
        
        /* Network styles */
        .node circle {
            stroke: #fff;
            stroke-width: 2px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .node.dimmed circle {
            opacity: 0.2;
        }
        
        .node.highlighted circle {
            stroke-width: 4px;
            filter: brightness(1.3);
        }
        
        .node text {
            font-size: 11px;
            pointer-events: none;
            text-shadow: 0 0 4px #000, 0 0 4px #000, 0 0 4px #000;
            fill: #e0e0e0;
            display: block;
        }
        
        .node text.hidden {
            display: none;
        }
        
        .node.role text {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        @media (max-width: 768px) {
            .node.role text {
                font-size: 9px;
                letter-spacing: 0.3px;
            }
            .node.skill text {
                font-size: 8px;
            }
            .node text {
                text-shadow: 0 0 5px #000, 0 0 5px #000, 0 0 5px #000, 0 0 5px #000;
            }
        }
        
        .node.center text {
            font-size: 16px;
            font-weight: bold;
            fill: #60a5fa;
            text-shadow: 0 0 6px #000, 0 0 6px #000;
        }
        
        .node.skill text {
            font-size: 10px;
        }
        
        .link {
            stroke: #4a5568;
            stroke-opacity: 0.3;
            stroke-width: 1.5px;
            fill: none;
        }
        
        .link.dimmed {
            opacity: 0.1;
        }
        
        .link.highlighted {
            stroke: #60a5fa;
            stroke-opacity: 0.8;
            stroke-width: 2.5px;
        }
        
        .tooltip {
            position: absolute;
            background: rgba(26, 26, 46, 0.98);
            border: 1px solid #60a5fa;
            border-radius: 8px;
            padding: 15px;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
            max-width: 350px;
            font-size: 13px;
            z-index: 10000;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
        
        .tooltip-title {
            font-weight: bold;
            color: #60a5fa;
            margin-bottom: 8px;
            font-size: 15px;
        }
        
        .tooltip-level {
            color: #fbbf24;
            font-size: 12px;
            margin-bottom: 8px;
        }
        
        .tooltip-roles {
            color: #d1d5db;
            line-height: 1.6;
        }
        
        .tooltip-role-tag {
            display: inline-block;
            background: rgba(96, 165, 250, 0.2);
            padding: 2px 8px;
            border-radius: 10px;
            margin: 2px;
            font-size: 11px;
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background: #1a1a2e;
            border: 1px solid rgba(96, 165, 250, 0.3);
            border-radius: 12px;
            padding: 0;
            max-width: 900px;
            max-height: 85vh;
            overflow: hidden;
            width: 90%;
            display: flex;
            flex-direction: column;
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 30px 30px 20px 30px;
            border-bottom: 1px solid rgba(96, 165, 250, 0.2);
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.6) 100%);
        }
        
        .modal-header-left {
            flex: 1;
        }
        
        .modal-title {
            font-size: 1.8em;
            color: #60a5fa;
            margin-bottom: 10px;
            line-height: 1.3;
        }
        
        .modal-subtitle {
            display: flex;
            gap: 15px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .modal-level-badge {
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 600;
        }
        
        .modal-level-badge.mastery {
            background: #ef4444;
            color: #fff;
        }
        
        .modal-level-badge.advanced {
            background: #f59e0b;
            color: #fff;
        }
        
        .modal-level-badge.proficient {
            background: #10b981;
            color: #fff;
        }
        
        .modal-years {
            color: #9ca3af;
            font-size: 0.9em;
        }
        
        .modal-core-badge {
            background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
            color: #000;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85em;
            font-weight: 700;
        }
        
        .modal-category-badge {
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 0.8em;
            font-weight: 600;
            border: 1px solid currentColor;
        }
        
        .modal-close {
            background: none;
            border: none;
            color: #9ca3af;
            font-size: 2em;
            cursor: pointer;
            padding: 0;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s;
        }
        
        .modal-close:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }
        
        .modal-body {
            padding: 30px;
            overflow-y: auto;
            flex: 1;
        }
        
        .modal-section {
            margin-bottom: 30px;
        }
        
        .modal-section:last-child {
            margin-bottom: 0;
        }
        
        .modal-section-title {
            font-size: 1.1em;
            font-weight: 600;
            color: #60a5fa;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .modal-section-icon {
            font-size: 1.2em;
        }
        
        .evidence-list {
            list-style: none;
            padding: 0;
        }
        
        .evidence-item {
            background: rgba(96, 165, 250, 0.05);
            border-left: 3px solid #60a5fa;
            padding: 12px 15px;
            margin-bottom: 10px;
            border-radius: 4px;
            line-height: 1.6;
        }
        
        .evidence-item strong {
            color: #60a5fa;
        }
        
        .story-text {
            background: rgba(255, 255, 255, 0.03);
            padding: 15px;
            border-radius: 8px;
            line-height: 1.7;
            color: #d1d5db;
        }
        
        .roles-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .role-tag {
            background: rgba(96, 165, 250, 0.2);
            border: 1px solid rgba(96, 165, 250, 0.3);
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 0.85em;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .related-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .related-skill-chip {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 0.85em;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .related-skill-chip:hover {
            background: rgba(239, 68, 68, 0.2);
            transform: translateY(-2px);
        }
        
        .placeholder-text {
            color: #6b7280;
            font-style: italic;
            font-size: 0.9em;
        }
        
        .export-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .export-option {
            background: rgba(96, 165, 250, 0.1);
            border: 1px solid rgba(96, 165, 250, 0.3);
            border-radius: 8px;
            padding: 15px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .export-option:hover {
            background: rgba(96, 165, 250, 0.2);
            transform: translateY(-2px);
        }
        
        .export-option-title {
            font-weight: 600;
            margin-bottom: 5px;
        }
        
        .export-option-desc {
            font-size: 0.85em;
            color: #9ca3af;
        }
        
        /* ===== MOBILE RESPONSIVENESS ===== */
        @media (max-width: 768px) {
            .header {
                padding: 0 14px;
                height: 52px;
            }

            .header-center {
                display: none;
            }

            .header-left h1 {
                font-size: 0.9em;
            }

            /* Mobile: nav as bottom bar */
            .mobile-nav {
                display: flex;
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: var(--nav-bg);
                border-top: 1px solid var(--nav-border);
                backdrop-filter: blur(20px);
                padding: 8px 0 max(8px, env(safe-area-inset-bottom));
                z-index: 100;
                justify-content: space-around;
            }

            .mobile-nav-btn {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 3px;
                padding: 4px 12px;
                border: none;
                background: transparent;
                color: var(--text-muted);
                font-family: 'Outfit', sans-serif;
                font-size: 0.58em;
                font-weight: 500;
                letter-spacing: 0.06em;
                text-transform: uppercase;
                cursor: pointer;
                transition: color 0.2s;
            }

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

            .mobile-nav-icon {
                font-size: 1.4em;
            }

            .main-content, .main-content.with-filters {
                height: calc(100vh - 52px - 60px);
            }
            .main-content.with-controls {
                height: calc(100vh - 52px - 60px - 48px);
            }
            .main-content.with-controls.with-banner {
                height: calc(100vh - 52px - 60px - 48px - 44px);
            }
            .main-content.with-banner {
                height: calc(100vh - 52px - 60px - 44px);
            }

            .controls {
                flex-direction: column;
                padding: 10px 14px;
            }
            
            .filter-group {
                flex-wrap: wrap;
                gap: 8px;
            }
            
            .role-chip {
                font-size: 0.75em;
                padding: 6px 10px;
            }
            
            .opportunities-grid {
                grid-template-columns: 1fr;
            }
            
            .opportunity-card {
                padding: 15px;
            }
            
            .opportunity-actions {
                flex-direction: column;
            }
            
            .action-btn {
                width: 100%;
            }
            
            .values-grid {
                grid-template-columns: 1fr;
            }
            
            .welcome-steps-grid {
                grid-template-columns: 1fr !important;
                gap: 12px !important;
            }
            
            #welcomeView {
                padding-bottom: 80px;
            }
            
            .match-mode-toggle {
                margin-left: 0;
                margin-top: 4px;
            }
            .match-active-badge {
                margin-left: 0;
                margin-top: 4px;
                font-size: 0.7em;
            }
            .match-legend {
                top: auto;
                right: 8px;
                left: 8px;
                bottom: 70px;
                min-width: unset;
                max-width: unset;
                font-size: 0.72em;
            }
            .match-legend .ml-score-row {
                padding: 8px 12px 6px;
            }
            .match-legend .ml-score-num {
                font-size: 1.8em;
            }
            .match-legend .ml-stats {
                padding: 4px 12px 6px;
            }
            .match-legend .ml-actions {
                padding: 6px 12px 8px;
            }
            .job-info-tile {
                top: 8px;
                left: 8px;
                right: 8px;
                min-width: unset;
                max-width: unset;
                font-size: 0.72em;
                padding: 10px 14px;
            }
            .job-info-tile .jit-salary {
                margin-top: 6px;
                padding: 5px 8px;
            }
            .job-info-tile .jit-salary-range {
                font-size: 0.95em;
            }
            .job-info-tile .jit-meta {
                margin-top: 3px;
                gap: 6px;
            }
            /* Collapsible overlays on mobile — start collapsed */
            .jit-chevron, .ml-chevron {
                display: block;
            }
            .job-info-tile .jit-body {
                display: none;
                margin-top: 6px;
            }
            .job-info-tile.jit-expanded .jit-body {
                display: block;
            }
            .job-info-tile.jit-expanded .jit-chevron {
                transform: rotate(180deg);
            }
            .match-legend .ml-body {
                display: none;
            }
            .match-legend.ml-expanded .ml-body {
                display: block;
            }
            .match-legend.ml-expanded .ml-chevron {
                transform: rotate(180deg);
            }
            .values-alignment-panel {
                position: absolute !important;
                bottom: 70px !important;
                left: 8px !important;
                right: 8px !important;
                top: auto !important;
                width: auto;
                border-radius: 12px;
                font-size: 0.78em;
                max-height: 55vh;
                overflow-y: auto;
            }
            .vap-header { cursor: default; }
            .jd-cta-box {
                flex-direction: column;
                align-items: stretch;
                gap: 12px;
            }
            .jd-cta-buttons {
                flex-wrap: wrap;
            }
            .jd-cta-desc {
                font-size: 0.78em;
            }
            .tooltip {
                max-width: calc(100vw - 32px);
                padding: 10px 12px;
                font-size: 12px;
            }
            
            .blueprint-section {
                padding: 20px;
            }
            
            .export-buttons {
                flex-direction: column;
            }
            
            .export-btn-large {
                width: 100%;
            }
            
            /* Network view adjustments for mobile */
            #networkView {
                touch-action: pan-x pan-y;
            }
            
            .network-controls {
                flex-wrap: wrap;
                gap: 8px;
            }
            
            .label-toggle {
                font-size: 0.75em;
            }
        }
        
        @media (max-width: 480px) {
            .header-left h1 {
                font-size: 0.85em;
            }

            .profile-name {
                display: none;
            }

            .filter-search {
                width: 140px;
            }

            .filter-label {
                font-size: 0.7em;
            }

            .role-chip {
                font-size: 0.72em;
                padding: 4px 8px;
            }
            
            .blueprint-title {
                font-size: 1.8em;
            }
            
            .blueprint-subtitle {
                font-size: 1em;
            }
            
            .settings-tabs {
                scrollbar-width: none;
                -ms-overflow-style: none;
            }
            .settings-tabs::-webkit-scrollbar { display: none; }
            .settings-tab {
                padding: 10px 12px;
                font-size: 0.82em;
            }
            
            .modal-content {
                width: 95% !important;
                max-width: none !important;
                padding: 16px !important;
                margin: 8px;
                max-height: 92vh !important;
            }
            
            /* Make full-height modals (Manage Skills, O*NET) slide up from bottom on mobile */
            .modal-content[style*="900px"],
            .modal-content[style*="max-height: 90vh"] {
                width: 100% !important;
                max-width: 100% !important;
                border-radius: 16px 16px 0 0 !important;
                margin: 0 !important;
                position: fixed !important;
                bottom: 0 !important;
                left: 0 !important;
                right: 0 !important;
                max-height: 88vh !important;
            }
            
            /* Skill banner at bottom — compact on mobile */
            .sample-profile-banner {
                padding: 10px 14px;
                font-size: 0.85em;
            }
            
            /* O*NET tab bar — scrollable on mobile */
            .onet-tab {
                font-size: 0.72em;
                padding: 6px 10px;
                white-space: nowrap;
            }
        }
        
        /* Overflow Menu Styles */
        .overflow-menu {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: var(--bg-elevated);
            border: 1px solid var(--border);
            border-radius: 12px;
            box-shadow: var(--shadow);
            min-width: 220px;
            z-index: 300;
            padding: 8px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            animation: dropIn 0.15s ease;
        }

        .overflow-menu button {
            width: 100%;
            text-align: left;
            padding: 10px 14px;
            background: transparent;
            border: none;
            color: var(--text-primary);
            cursor: pointer;
            transition: background 0.15s;
            font-size: 0.88em;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .overflow-menu button:hover {
            background: var(--chip-bg);
        }
        
        /* Skills View Tabs */
        .skills-view-tabs {
            display: flex;
            gap: 4px;
            background: rgba(255, 255, 255, 0.05);
            padding: 4px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .skills-tab {
            flex: 1;
            padding: 12px 20px;
            background: transparent;
            border: none;
            color: #9ca3af;
            cursor: pointer;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.2s;
        }
        
        .skills-tab:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #d1d5db;
        }
        
        .skills-tab.active {
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            color: white;
        }
        
        /* Quick Action Bar */
        .quick-action-bar {
            display: flex;
            gap: 10px;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .quick-action-bar .btn-primary {
            padding: 10px 16px;
            background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
            border: none;
            border-radius: 6px;
            color: white;
            cursor: pointer;
            font-weight: 600;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .quick-action-bar .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
        }
        
        .quick-action-bar .btn-secondary {
            padding: 10px 16px;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 6px;
            color: #e5e7eb;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .quick-action-bar .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.15);
        }
        
        /* Settings Tabs */
        .settings-tabs {
            display: flex;
            gap: 4px;
            background: rgba(255, 255, 255, 0.05);
            padding: 4px;
            border-radius: 8px;
            margin-bottom: 25px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        
        .settings-tab {
            flex: 1 0 auto;
            padding: 12px 16px;
            background: transparent;
            border: none;
            color: #9ca3af;
            cursor: pointer;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.2s;
            text-align: center;
            white-space: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        
        .settings-tab:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #d1d5db;
        }
        
        .settings-tab.active {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
        }
        
        /* Skill Management Styles */
        .onet-tab {
            padding: 10px 20px;
            background: transparent;
            border: none;
            border-bottom: 2px solid transparent;
            color: #9ca3af;
            cursor: pointer;
            font-size: 1em;
            transition: all 0.2s;
        }
        
        .onet-tab:hover {
            color: #d1d5db;
        }
        
        .onet-tab.active {
            color: #60a5fa;
            border-bottom-color: #60a5fa;
        }
        
        .onet-category {
            margin-bottom: 20px;
        }
        
        .onet-category-title {
            font-size: 1.1em;
            font-weight: 600;
            color: #60a5fa;
            margin-bottom: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .onet-category-title:hover {
            color: #93c5fd;
        }
        
        .onet-subcategory {
            margin-left: 20px;
            margin-bottom: 15px;
        }
        
        .onet-subcategory-title {
            font-size: 0.95em;
            font-weight: 500;
            color: #9ca3af;
            margin-bottom: 8px;
            cursor: pointer;
        }
        
        .onet-skill-item {
            padding: 12px;
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 6px;
            margin-bottom: 8px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: start;
            gap: 12px;
        }
        
        .onet-skill-item:hover:not(.disabled) {
            background: rgba(255,255,255,0.08);
            border-color: rgba(96, 165, 250, 0.3);
        }
        
        .onet-skill-item.selected {
            background: rgba(96, 165, 250, 0.15);
            border-color: rgba(96, 165, 250, 0.5);
        }
        
        .onet-skill-item.disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }
        
        .onet-skill-checkbox {
            margin-top: 2px;
            cursor: pointer;
        }
        
        .onet-skill-checkbox:disabled {
            cursor: not-allowed;
        }
        
        .onet-skill-content {
            flex: 1;
        }
        
        .onet-skill-name {
            font-weight: 600;
            color: #e5e7eb;
            margin-bottom: 4px;
        }
        
        .onet-skill-definition {
            font-size: 0.9em;
            color: #9ca3af;
            line-height: 1.4;
        }
        
        .onet-skill-added {
            font-size: 0.8em;
            color: #10b981;
            font-weight: 600;
        }
        
        /* Skill Search Results (v2.3.0) */
        .skill-search-result {
            transition: all 0.2s ease;
        }
        
        .skill-search-result:not(.added):hover {
            transform: translateX(4px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }
        
        .skill-search-result.added {
            opacity: 0.6;
        }
        
        /* Unified Skill Management (v2.4.0) */
        .skill-mgmt-tab {
            padding: 12px 20px;
            background: transparent;
            border: none;
            border-bottom: 3px solid transparent;
            color: #9ca3af;
            cursor: pointer;
            font-size: 0.95em;
            font-weight: 600;
            transition: all 0.2s;
        }
        
        .skill-mgmt-tab:hover {
            color: #e0e0e0;
            background: rgba(255,255,255,0.05);
        }
        
        .skill-mgmt-tab.active {
            color: #60a5fa;
            border-bottom-color: #60a5fa;
            background: rgba(59, 130, 246, 0.1);
        }
        
        .skill-mgmt-content {
            animation: fadeIn 0.2s ease-in;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

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

        @keyframes slideUp {
            from { opacity: 0; transform: translateX(-50%) translateY(16px); }
            to   { opacity: 1; transform: translateX(-50%) translateY(0); }
        }
        
        .your-skill-item {
            padding: 15px;
            background: rgba(255,255,255,0.03);
            border-radius: 8px;
            border-left: 3px solid #60a5fa;
            margin-bottom: 10px;
            transition: all 0.2s;
        }
        
        .your-skill-item:hover {
            background: rgba(255,255,255,0.06);
            transform: translateX(4px);
        }

        /* === Blueprint Icon System (v4.20.0) === */
        .nav-icon {
            display: inline-flex;
            align-items: center;
            vertical-align: middle;
            margin-right: 4px;
            opacity: 0.85;
        }
        .nav-icon svg, .mobile-nav-icon svg, .overflow-icon svg,
        .bp-tab-icon svg, .settings-tab svg, .section-icon svg {
            display: inline-block;
            vertical-align: middle;
        }
        .nav-btn { display: inline-flex; align-items: center; gap: 5px; }
        .mobile-nav-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 2px; }
        .overflow-icon-btn { display: flex; align-items: center; gap: 8px; }
        .overflow-icon { display: inline-flex; align-items: center; flex-shrink: 0; opacity: 0.7; }
        .section-icon { display: inline-flex; align-items: center; }
        .section-icon svg { opacity: 0.8; }
        .settings-tab svg { opacity: 0.75; flex-shrink: 0; }
        .bp-tab-icon { display: inline-flex; align-items: center; }
        .bp-tab-icon svg { opacity: 0.8; }

        /* ===== AUTH MODAL ===== */
        .auth-overlay {
            display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.6); z-index: 10000; align-items: center; justify-content: center;
            backdrop-filter: blur(4px);
        }
        .auth-overlay.active { display: flex; }
        .auth-dialog {
            background: var(--bg-surface); border: 1px solid var(--border); border-radius: 16px;
            width: 100%; max-width: 420px; padding: 36px; position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.4);
        }
        [data-theme="light"] .auth-dialog { background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
        .auth-dialog h2 { color: var(--accent); font-size: 1.4em; margin-bottom: 6px; }
        .auth-dialog .auth-subtitle { color: var(--text-secondary); font-size: 0.9em; margin-bottom: 24px; }
        .auth-close { position: absolute; top: 14px; right: 18px; background: none; border: none;
            color: var(--text-muted); font-size: 1.4em; cursor: pointer; }
        .auth-input {
            width: 100%; padding: 12px 14px; background: var(--bg-base); border: 1px solid var(--border);
            border-radius: 8px; color: var(--text-primary); font-size: 0.95em; margin-bottom: 12px;
            outline: none; transition: border-color 0.2s;
        }
        .auth-input:focus { border-color: var(--accent); }
        [data-theme="light"] .auth-input { background: #f9fafb; }
        .auth-btn {
            width: 100%; padding: 12px; border: none; border-radius: 8px; font-size: 0.95em;
            font-weight: 600; cursor: pointer; transition: opacity 0.2s;
        }
        .auth-btn:hover { opacity: 0.9; }
        .auth-btn-primary { background: var(--accent); color: #fff; }
        .auth-btn-google {
            background: #fff; color: #333; border: 1px solid #ddd;
            display: flex; align-items: center; justify-content: center; gap: 10px;
        }
        .auth-btn-google:hover { background: #f5f5f5; }
        .auth-btn-magic { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
        .auth-divider {
            display: flex; align-items: center; margin: 18px 0; gap: 12px;
            color: var(--text-muted); font-size: 0.82em;
        }
        .auth-divider::before, .auth-divider::after {
            content: ''; flex: 1; height: 1px; background: var(--border);
        }
        .auth-toggle { color: var(--text-secondary); font-size: 0.88em; text-align: center; margin-top: 18px; }
        .auth-toggle a { color: var(--accent); cursor: pointer; text-decoration: underline; }
        .auth-error { color: #ef4444; font-size: 0.85em; margin-bottom: 12px; display: none; }
        .auth-success { color: #10b981; font-size: 0.85em; margin-bottom: 12px; display: none; }
        .auth-nav-btn {
            padding: 8px 16px; border-radius: 8px; font-size: 0.85em; font-weight: 600;
            cursor: pointer; border: 1px solid var(--accent); color: var(--accent); background: transparent;
            transition: all 0.2s;
        }
        .auth-nav-btn:hover { background: var(--accent); color: #fff; }
        .auth-nav-btn.signed-in { border-color: #10b981; color: #10b981; }
        .admin-badge {
            font-size: 0.65em; padding: 2px 6px; border-radius: 4px;
            background: rgba(251,191,36,0.15); color: #fbbf24; font-weight: 700;
            vertical-align: middle; margin-left: 6px; letter-spacing: 0.5px;
        }
        .sample-badge {
            font-size: 0.65em; padding: 2px 6px; border-radius: 4px;
            background: rgba(96,165,250,0.15); color: #60a5fa; font-weight: 700;
            vertical-align: middle; margin-left: 6px; letter-spacing: 0.5px;
        }
        .readonly-banner {
            background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.25);
            color: #fbbf24; padding: 10px 20px; text-align: center; font-size: 0.88em;
            font-weight: 600; position: sticky; top: 0; z-index: 50;
        }
        [data-theme="light"] .readonly-banner {
            background: rgba(217,119,6,0.08); border-color: rgba(217,119,6,0.2); color: #b45309;
        }
        /* Read-only mode: hide mutation controls on sample profiles */
        .readonly-mode .skill-item[onclick*="openSkillModal"] { cursor: default; }
        .readonly-mode .edit-skill-btn,
        .readonly-mode .assess-skill-btn,
        .readonly-mode [onclick*="openSkillManagement"],
        .readonly-mode [onclick*="openCustomSkillBuilder"],
        .readonly-mode [onclick*="openONETPicker"],
        .readonly-mode [onclick*="addApplicationModal"],
        .readonly-mode [onclick*="showOnboardingWizard"],
        .readonly-mode [onclick*="saveSettings"],
        .readonly-mode [onclick*="editValue"],
        .readonly-mode [onclick*="removeSelected"],
        .readonly-mode [onclick*="addCustomValue"],
        .readonly-mode [onclick*="saveAll"],
        .readonly-mode [onclick*="importFullProfile"],
        .readonly-mode [onclick*="importProfile"],
        .readonly-mode [onclick*="importFileInput"],
        .readonly-mode [onclick*="openBulkImport"],
        .readonly-mode [onclick*="wizardChooseImport"],
        .readonly-mode [onclick*="wizardChooseUpload"],
        .readonly-mode [onclick*="wizardChooseManual"],
        .readonly-mode [onclick*="addOutcome"],
        .readonly-mode [onclick*="editOutcome"],
        .readonly-mode [onclick*="deleteBlueprint"],
        .readonly-mode [onclick*="addCustomOutcome"],
        .readonly-mode [onclick*="saveOutcome"],
        .readonly-mode [onclick*="toggleValue("],
        .readonly-mode [onclick*="saveValues"],
        .readonly-mode [onclick*="updatePurpose"],
        .readonly-mode [onclick*="editWorkHistory"],
        .readonly-mode [onclick*="removeWorkHistory"],
        .readonly-mode [onclick*="addWorkHistory"],
        .readonly-mode [onclick*="editEducation"],
        .readonly-mode [onclick*="removeEducation"],
        .readonly-mode [onclick*="addEducation"],
        .readonly-mode [onclick*="editCert"],
        .readonly-mode [onclick*="removeCert"],
        .readonly-mode [onclick*="addCert"],
        .readonly-mode [onclick*="showAddJobModal"],
        .readonly-mode [onclick*="quickAddGap"],
        .readonly-mode [onclick*="quickAddSuggested"],
        .readonly-mode [onclick*="exportBlueprint('json')"],
        .readonly-mode [onclick*="exportMyData"],
        .readonly-mode [onclick*="requestDataDeletion"],
        .readonly-mode [onclick*="saveProfile"],
        .readonly-mode [onclick*="savePreferences"],
        .readonly-mode [onchange*="importFullProfile"],
        .readonly-mode [onchange*="wizardImportProfile"] { opacity: 0.35; pointer-events: none; }
        
        /* Demo mode lock icons on nav */
        .nav-lock-icon { font-size: 0.65em; margin-left: 3px; opacity: 0.6; vertical-align: super; }
        
        /* Waitlist modal */
        .waitlist-overlay {
            position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
            z-index: 10000; display: flex; align-items: center; justify-content: center;
            opacity: 0; transition: opacity 0.25s; pointer-events: none;
        }
        .waitlist-overlay.active { opacity: 1; pointer-events: auto; }
        .waitlist-modal {
            background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
            width: 92%; max-width: 440px; padding: 36px 32px; position: relative;
            box-shadow: 0 25px 60px rgba(0,0,0,0.4);
        }
        .waitlist-modal h3 { font-size: 1.35em; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
        .waitlist-modal .wl-subtitle { font-size: 0.88em; color: var(--text-secondary); margin-bottom: 22px; line-height: 1.55; }
        .waitlist-modal input, .waitlist-modal select {
            width: 100%; padding: 12px 14px; border-radius: 8px; font-size: 0.92em;
            background: var(--bg); border: 1px solid var(--border); color: var(--text-primary);
            margin-bottom: 12px; outline: none; transition: border-color 0.2s;
        }
        .waitlist-modal input:focus, .waitlist-modal select:focus { border-color: var(--accent); }
        .waitlist-modal label { font-size: 0.82em; font-weight: 600; color: var(--text-secondary); margin-bottom: 5px; display: block; }
        .wl-submit-btn {
            width: 100%; padding: 14px; border: none; border-radius: 10px; cursor: pointer;
            font-size: 0.95em; font-weight: 700; color: #fff; margin-top: 8px;
            background: linear-gradient(135deg, #3b82f6, #1d4ed8); transition: transform 0.15s, box-shadow 0.15s;
        }
        .wl-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(59,130,246,0.35); }
        .wl-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
        .wl-close { position: absolute; top: 14px; right: 18px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.4em; }
        .wl-skill-question { font-size: 0.82em; color: var(--text-muted); margin-top: 8px; text-align: center; }
        
        /* Gated feature prompt */
        .gated-prompt {
            background: linear-gradient(135deg, rgba(96,165,250,0.08), rgba(129,140,248,0.06));
            border: 1px dashed rgba(96,165,250,0.3); border-radius: 12px;
            padding: 24px; text-align: center; margin: 12px 0;
        }
        .gated-prompt .gp-icon { font-size: 1.8em; margin-bottom: 8px; }
        .gated-prompt .gp-title { font-weight: 700; color: var(--accent); font-size: 1em; margin-bottom: 6px; }
        .gated-prompt .gp-text { font-size: 0.85em; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
        .gated-prompt .gp-btn {
            display: inline-block; padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 0.88em;
            background: var(--accent); color: #fff; border: none; cursor: pointer; transition: transform 0.15s;
        }
        .gated-prompt .gp-btn:hover { transform: translateY(-1px); }
        
        /* Waitlist position badge */
        @keyframes nudgeIn {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        .wl-position-badge {
            display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px;
            background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2);
            border-radius: 20px; font-size: 0.78em; font-weight: 600; color: #60a5fa;
        }
        .welcome-hero {
            max-width: 720px; margin: 60px auto; padding: 0 24px; text-align: center;
        }
        .welcome-hero h2 {
            font-size: 2.2em; font-weight: 700; color: var(--accent);
            margin-bottom: 16px; line-height: 1.2;
        }
        .welcome-hero .welcome-sub {
            font-size: 1.1em; color: var(--text-secondary); line-height: 1.7;
            margin-bottom: 40px;
        }
        .welcome-cards {
            display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
            margin-bottom: 48px; text-align: left;
        }
        @media (max-width: 600px) { .welcome-cards { grid-template-columns: 1fr; } }
        .welcome-card {
            background: var(--bg-card); border: 1px solid var(--border);
            border-radius: 14px; padding: 28px; cursor: pointer;
            transition: border-color 0.2s, transform 0.15s;
        }
        .welcome-card:hover { border-color: var(--accent); transform: translateY(-2px); }
        [data-theme="light"] .welcome-card { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
        .welcome-card h3 { color: var(--text-primary); font-size: 1.15em; margin-bottom: 8px; }
        .welcome-card p { color: var(--text-secondary); font-size: 0.9em; line-height: 1.5; margin: 0; }
        .welcome-features {
            display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
            margin-bottom: 48px; text-align: left;
        }
        @media (max-width: 700px) { .welcome-features { grid-template-columns: 1fr; } }
        @media (max-width: 600px) {
            .welcome-hero h2 { font-size: 1.6em; }
        }
        .welcome-feature {
            padding: 20px; border-radius: 10px;
            background: var(--bg-card); border: 1px solid var(--border);
        }
        .welcome-feature .wf-icon { font-size: 1.6em; margin-bottom: 8px; }
        .welcome-feature h4 { color: var(--text-primary); font-size: 0.95em; margin-bottom: 4px; }
        .welcome-feature p { color: var(--text-muted); font-size: 0.82em; line-height: 1.4; margin: 0; }
        
        /* Toast Notification System */
        #toastContainer {
            position: fixed;
            bottom: 24px;
            right: 24px;
            z-index: 100000;
            display: flex;
            flex-direction: column-reverse;
            gap: 10px;
            pointer-events: none;
        }
        .toast {
            pointer-events: auto;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            min-width: 280px;
            max-width: 420px;
            padding: 14px 18px;
            border-radius: 10px;
            font-size: 0.92em;
            line-height: 1.45;
            box-shadow: 0 8px 24px rgba(0,0,0,0.25);
            transform: translateX(120%);
            opacity: 0;
            transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease;
        }
        .toast.show { transform: translateX(0); opacity: 1; }
        .toast.hide { transform: translateX(120%); opacity: 0; }
        .toast-icon { font-size: 1.15em; flex-shrink: 0; margin-top: 1px; }
        .toast-body { flex: 1; }
        .toast-title { font-weight: 600; margin-bottom: 2px; }
        .toast-msg { opacity: 0.88; }
        .toast-close {
            background: none; border: none; cursor: pointer;
            font-size: 1.1em; opacity: 0.5; padding: 0 0 0 8px;
            color: inherit; flex-shrink: 0;
        }
        .toast-close:hover { opacity: 1; }
        .toast-success { background: #065f46; color: #d1fae5; border-left: 4px solid #10b981; }
        .toast-error   { background: #7f1d1d; color: #fecaca; border-left: 4px solid #ef4444; }
        .toast-info    { background: #1e3a5f; color: #bfdbfe; border-left: 4px solid #60a5fa; }
        .toast-warning { background: #78350f; color: #fef3c7; border-left: 4px solid #f59e0b; }
        [data-theme="light"] .toast-success { background: #ecfdf5; color: #065f46; }
        [data-theme="light"] .toast-error   { background: #fef2f2; color: #7f1d1d; }
        [data-theme="light"] .toast-info    { background: #eff6ff; color: #1e3a5f; }
        [data-theme="light"] .toast-warning { background: #fffbeb; color: #78350f; }
        @media (max-width: 600px) {
            #toastContainer { left: 12px; right: 12px; bottom: 16px; }
            .toast { min-width: unset; max-width: unset; }
        }
