        :root {
            --bg-base: #0b0e14;
            --bg-surface: #121721;
            --bg-card: rgba(18, 23, 33, 0.90);
            --border-subtle: rgba(255, 255, 255, 0.08);
            --border-focus: rgba(56, 189, 248, 0.45);
            --accent-green: #10b981;
            --accent-red: #ef4444;
            --accent-blue: #38bdf8;
            --accent-purple: #a855f7;
            --accent-yellow: #f59e0b;
        }

        body {
            background-color: var(--bg-base);
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: #e2e8f0;
            min-height: 100vh;
            overflow-x: hidden;
        }

        .font-mono {
            font-family: 'JetBrains Mono', monospace, sans-serif;
        }

        .glass-card {
            background: var(--bg-card);
            border: 1px solid var(--border-subtle);
            border-radius: 12px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
        }

        .exec-metric-card {
            background: rgba(15, 20, 29, 0.95);
            border: 1px solid var(--border-subtle);
            border-radius: 10px;
            padding: 0.85rem 1rem;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .pos-pill-long {
            background: rgba(16, 185, 129, 0.22) !important;
            color: #34d399 !important;
            border: 1px solid rgba(52, 211, 153, 0.45) !important;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 0.2rem 0.55rem;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            letter-spacing: 0.03em;
        }

        .pos-pill-short {
            background: rgba(239, 68, 68, 0.22) !important;
            color: #f87171 !important;
            border: 1px solid rgba(248, 113, 113, 0.45) !important;
            font-size: 0.72rem;
            font-weight: 700;
            padding: 0.2rem 0.55rem;
            border-radius: 6px;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            letter-spacing: 0.03em;
        }

        .custom-badge-success { background: rgba(16, 185, 129, 0.2) !important; color: #34d399 !important; border: 1px solid rgba(52, 211, 153, 0.4) !important; font-weight: 600; }
        .custom-badge-danger  { background: rgba(239, 68, 68, 0.2) !important; color: #f87171 !important; border: 1px solid rgba(248, 113, 113, 0.4) !important; font-weight: 600; }
        .custom-badge-warning { background: rgba(245, 158, 11, 0.2) !important; color: #fbbf24 !important; border: 1px solid rgba(251, 191, 36, 0.4) !important; font-weight: 600; }
        .custom-badge-info    { background: rgba(56, 189, 248, 0.2) !important; color: #38bdf8 !important; border: 1px solid rgba(56, 189, 248, 0.4) !important; font-weight: 600; }
        .custom-badge-secondary { background: rgba(148, 163, 184, 0.18) !important; color: #cbd5e1 !important; border: 1px solid rgba(148, 163, 184, 0.3) !important; font-weight: 500; }
        .custom-badge-purple  { background: rgba(168, 85, 247, 0.2) !important; color: #c084fc !important; border: 1px solid rgba(168, 85, 247, 0.4) !important; font-weight: 600; }

        .text-purple { color: #c084fc !important; }
        .bg-purple { background-color: rgba(168, 85, 247, 0.2) !important; }

        .table-custom { margin-bottom: 0; vertical-align: middle; }
        .table-custom thead th {
            background: rgba(11, 14, 20, 0.95);
            color: #94a3b8;
            font-size: 0.73rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 0.85rem 1rem;
            border-bottom: 1px solid var(--border-subtle);
            white-space: nowrap;
        }
        .table-custom tbody td {
            padding: 0.85rem 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            font-size: 0.875rem;
        }
        .table-row-open { background: rgba(56, 189, 248, 0.04) !important; }
        .table-responsive { overflow-x: auto; overflow-y: visible !important; -webkit-overflow-scrolling: touch; }

        .pulse-dot {
            width: 7px; height: 7px; border-radius: 50%; background: #10b981;
            box-shadow: 0 0 8px #10b981; animation: pulseAnim 1.8s infinite; display: inline-block;
        }
        @keyframes pulseAnim {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(0.85); }
        }

        .icon-box-lg {
            width: 48px;
            height: 48px;
            min-width: 48px;
            min-height: 48px;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0;
            border-radius: 10px;
        }

        .nav-pills-scrollable { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
        .nav-pills-scrollable::-webkit-scrollbar { display: none; }
        .nav-pills-scrollable .nav-link { white-space: nowrap; flex-shrink: 0; }

        .header-nav-centered {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .custom-dropdown-container { position: relative; display: inline-block; }
        .custom-dropdown-menu {
            display: none; position: absolute; right: 0; top: calc(100% + 4px); z-index: 1085; min-width: 200px;
            background: #151a24; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; padding: 0.4rem 0;
            box-shadow: 0 14px 35px rgba(0, 0, 0, 0.75); list-style: none; margin: 0;
        }
        .custom-dropdown-menu.show { display: block !important; animation: fadeInMenu 0.15s ease-out; }
        @keyframes fadeInMenu { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
        .custom-dropdown-item { display: flex; align-items: center; width: 100%; padding: 0.55rem 1rem; font-size: 0.82rem; color: #cbd5e1; background: transparent; border: 0; text-align: left; cursor: pointer; transition: background 0.15s, color 0.15s; }
        .custom-dropdown-item:hover { background: rgba(255, 255, 255, 0.08); color: #ffffff; }

        .custom-modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.80); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1090; overflow-y: auto; padding: 1rem; align-items: center; justify-content: center; }
        .custom-modal-overlay.active { display: flex !important; }
        .custom-modal-dialog { width: 100%; max-width: 680px; background: #141922; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 14px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8); animation: modalPop 0.2s ease-out; overflow: hidden; max-height: 92vh; display: flex; flex-direction: column; }
        .custom-modal-dialog form, .custom-modal-dialog .modal-scroll-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
        .custom-modal-sm { max-width: 420px; }
        @keyframes modalPop { from { opacity: 0; transform: scale(0.96) translateY(-8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

        .login-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: radial-gradient(circle at center, #171d27 0%, #07090d 100%); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
        .login-card { width: 100%; max-width: 420px; background: #141923; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 16px; padding: 2.25rem; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8); }
        .session-timer-badge { background: rgba(148, 163, 184, 0.12); border: 1px solid rgba(148, 163, 184, 0.25); color: #e2e8f0; font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; }

        @media (max-width: 768px) { input, select, textarea { font-size: 16px !important; } }