        :root {
            --bg-primary: #000000;
            --bg-card: #0d1117;
            --bg-input: #0d1117;
            --accent: #2A85FF;
            --accent-hover: #4096FF;
            --accent-glow: rgba(42, 133, 255, 0.3);
            --cyan: #00D4AA;
            --yellow: #FFB800;
            --purple: #A855F7;
            --orange: #FF6B35;
            --text-primary: #ffffff;
            --text-secondary: #8b949e;
            --text-muted: #484f58;
            --border: #1a2332;
            --success: #22c55e;
            --danger: #ef4444;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scrollbar-width: none;
            /* Firefox */
            -ms-overflow-style: none;
            /* IE/Edge */
        }

        *::-webkit-scrollbar {
            display: none;
            /* Chrome/Safari */
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Layout Utilities */
        .grid-responsive {
            display: grid;
            gap: 24px;
        }

        .grid-2col {
            grid-template-columns: repeat(2, 1fr);
        }

        .grid-stats {
            grid-template-columns: 2fr 1fr;
        }

        .grid-story {
            grid-template-columns: 1fr 2fr;
        }

        .grid-span-full {
            grid-column: span 2;
        }

        /* Responsive Grid Utilities (V3.0) */
        .pipeline-grid,
        .responsive-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .responsive-group {
            display: flex;
            gap: 12px;
        }

        @media (max-width: 768px) {

            .pipeline-grid,
            .responsive-grid,
            .form-row {
                grid-template-columns: 1fr !important;
            }

            .responsive-group {
                flex-direction: column !important;
            }

            .modal {
                width: 95% !important;
                padding: 16px !important;
            }

            .ppd-row {
                flex-wrap: wrap;
            }

            .close-btn {
                top: -10px !important;
                right: 0 !important;
            }
        }

        .flex-responsive {
            display: flex;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 10px;
        }

        /* Login */
        .login-container {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--cyan) 0%, #00a080 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            font-weight: 800;
            color: #000;
        }

        .logo-text {
            font-size: 28px;
            font-weight: 700;
            color: var(--accent);
        }

        .logo-text span {
            color: var(--text-primary);
        }

        .subtitle {
            color: var(--text-muted);
            font-size: 12px;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 40px;
        }

        .login-box {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 40px;
            width: 100%;
            max-width: 420px;
        }

        .tabs-auth {
            display: flex;
            background: var(--bg-primary);
            border-radius: 8px;
            padding: 4px;
            margin-bottom: 30px;
        }

        .tab-auth {
            flex: 1;
            padding: 12px 20px;
            background: transparent;
            border: none;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            border-radius: 6px;
        }

        .tab-auth.active {
            background: var(--accent);
            color: white;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-group label {
            display: block;
            margin-bottom: 10px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--text-secondary);
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 14px 16px;
            background: var(--bg-input);
            border: 1px solid var(--border);
            border-radius: 10px;
            color: var(--text-primary);
            font-size: 15px;
        }

        .form-group input::placeholder {
            color: var(--text-muted);
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-glow);
        }

        .btn-primary {
            width: 100%;
            padding: 16px;
            background: var(--accent);
            border: none;
            border-radius: 10px;
            color: white;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            cursor: pointer;
        }

        .btn-primary:hover {
            background: var(--accent-hover);
        }

        .hint {
            text-align: center;
            margin-top: 24px;
            font-size: 12px;
            color: var(--text-muted);
        }

        .error-msg {
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid var(--danger);
            color: var(--danger);
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            display: none;
        }

        #secret-form {
            display: none;
        }

        /* Dashboard */
        .dashboard {
            display: none;
        }

        .dashboard.active {
            display: flex;
            height: 100vh;
            overflow: hidden;
        }

        /* Sidebar */
        .sidebar {
            width: 260px;
            background: var(--bg-card);
            border-right: 1px solid var(--border);
            padding: 20px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid var(--border);
        }

        .sidebar-logo .logo-icon {
            width: 32px;
            height: 32px;
            font-size: 16px;
        }

        .sidebar-logo span {
            font-size: 18px;
            font-weight: 700;
        }

        .nav-section {
            margin-bottom: 24px;
        }

        .nav-section-title {
            font-size: 11px;
            font-weight: 600;
            color: var(--text-muted);
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 12px;
            padding: 0 12px;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            color: var(--text-secondary);
            text-decoration: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            margin-bottom: 4px;
            transition: all 0.2s;
        }

        .nav-item:hover {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
        }

        .nav-item.active {
            background: var(--accent);
            color: white;
        }

        /* Reusable Badge Logic */
        .nav-badge {
            background: var(--danger);
            color: white;
            font-size: 10px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 10px;
            margin-left: auto;
            display: none;
            /* Default hidden, JS toggles */
        }

        .sidebar-footer {
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid var(--border);
        }

        .view-toggle {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 4px;
            display: flex;
            gap: 4px;
            margin-bottom: 20px;
        }

        .view-toggle button {
            flex: 1;
            padding: 8px 12px;
            border: none;
            background: transparent;
            color: var(--text-secondary);
            font-size: 11px;
            font-weight: 600;
            border-radius: 6px;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s;
        }

        .view-toggle button.active {
            background: #2e7d32;
            color: white;
        }

        /* Main Content */
        .main-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            height: 100%;
        }

        .header {
            padding: 16px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border);
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .header-left .logo-icon {
            width: 36px;
            height: 36px;
            font-size: 18px;
        }

        .header-left h1 {
            font-size: 22px;
            font-weight: 700;
        }

        .header-left p {
            font-size: 12px;
            color: var(--accent);
            margin-top: 2px;
        }

        .header-actions {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .btn-action {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-dark {
            background: #1a1a1a;
            color: white;
            border: 1px solid var(--border);
        }

        .btn-dark:hover {
            background: #222;
        }

        .btn-blue {
            background: var(--accent);
            color: white;
        }

        .btn-blue:hover {
            background: var(--accent-hover);
        }

        .btn-orange {
            background: var(--orange);
            color: white;
        }

        .btn-orange:hover {
            background: #ff8355;
        }

        /* Content Area */
        .content-area {
            flex: 1;
            display: flex;
            padding: 24px 30px;
            gap: 24px;
        }

        .content-main {
            flex: 1;
        }

        .content-sidebar {
            width: 320px;
        }

        /* Empty State */
        .empty-state {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 60vh;
            text-align: center;
        }

        .empty-state .icon {
            font-size: 80px;
            margin-bottom: 24px;
            opacity: 0.5;
        }

        .empty-state h2 {
            font-size: 28px;
            margin-bottom: 16px;
        }

        .empty-state p {
            color: var(--text-secondary);
            font-size: 16px;
            max-width: 400px;
            margin-bottom: 32px;
        }

        .empty-state .btn-large {
            padding: 18px 40px;
            font-size: 15px;
            border-radius: 12px;
        }

        /* Config Tabs */
        .config-tabs {
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 12px;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }

        .config-tabs::-webkit-scrollbar {
            display: none;
        }

        .config-tab {
            padding: 10px 20px;
            background: transparent;
            border: none;
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -13px;
            flex-shrink: 0;
        }

        .config-tab:hover {
            color: var(--text-primary);
        }

        .config-tab.active {
            color: var(--accent);
            border-bottom-color: var(--accent);
        }

        .tab-panel {
            display: none;
        }

        .tab-panel.active {
            display: block;
        }

        /* Cards */
        .card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px;
            margin-bottom: 20px;
        }

        .card-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .card-title .icon {
            font-size: 20px;
        }

        .card-title.fb {
            color: var(--accent);
        }

        .card-title.ig {
            color: #E1306C;
        }

        .card-title.video {
            color: var(--yellow);
        }

        .card-title.image {
            color: var(--purple);
        }

        .card-title.cloud {
            color: var(--cyan);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-row.single {
            grid-template-columns: 1fr;
        }

        /* Checkboxes */
        .checkbox-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid var(--border);
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .checkbox-label input[type="checkbox"] {
            width: 20px;
            height: 20px;
            accent-color: var(--accent);
        }

        /* Time Tags */
        .time-input-row {
            display: flex;
            gap: 12px;
            align-items: center;
            margin-bottom: 12px;
        }

        .time-input-row input {
            width: 100px;
            padding: 10px;
            background: var(--bg-input);
            border: 1px solid var(--border);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 14px;
        }

        .btn-add {
            padding: 10px 20px;
            background: #1a1a1a;
            border: 1px solid var(--border);
            border-radius: 8px;
            color: white;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

        .time-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 12px;
        }

        /* Tags & Inputs */
        .tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: rgba(42, 133, 255, 0.1);
            border: 1px solid rgba(42, 133, 255, 0.3);
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--accent);
            transition: all 0.2s;
        }

        .tag:hover {
            background: rgba(42, 133, 255, 0.2);
            border-color: var(--accent);
            box-shadow: 0 0 15px var(--accent-glow);
        }

        .tag .remove {
            cursor: pointer;
            opacity: 0.5;
            font-size: 16px;
            line-height: 1;
        }

        .tag .remove:hover {
            opacity: 1;
            color: var(--danger);
        }

        .preset-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 8px;
            margin-top: 12px;
        }

        .btn-preset {
            padding: 8px;
            background: transparent;
            border: 1px solid var(--border);
            border-radius: 6px;
            color: var(--text-secondary);
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-preset:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: rgba(42, 133, 255, 0.05);
        }

        .ppd-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .btn-sparkle {
            background: linear-gradient(135deg, var(--accent) 0%, var(--purple) 100%);
            border: none;
            color: white;
            padding: 10px 16px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
        }

        .btn-sparkle:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
        }

        /* TOAST NOTIFICATIONS */
        #toast-container {
            position: fixed;
            top: 24px;
            right: 24px;
            z-index: 10000;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: none;
        }

        .toast {
            background: rgba(26, 26, 26, 0.95);
            border: 1px solid var(--border);
            border-left: 4px solid var(--accent);
            padding: 16px 24px;
            border-radius: 12px;
            color: var(--text-primary);
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            min-width: 300px;
            max-width: 400px;
            transform: translateX(100%);
            opacity: 0;
            animation: slideIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
            pointer-events: auto;
            backdrop-filter: blur(10px);
        }

        .toast.success {
            border-left-color: var(--success);
        }

        .toast.error {
            border-left-color: var(--danger);
        }

        .toast.warning {
            border-left-color: #ffbf00;
        }

        .toast-icon {
            font-size: 18px;
        }

        @keyframes slideIn {
            from {
                transform: translateX(100%);
                opacity: 0;
            }

            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideOut {
            from {
                transform: translateX(0);
                opacity: 1;
            }

            to {
                transform: translateX(100%);
                opacity: 0;
            }
        }

        .time-tag .remove {
            cursor: pointer;
            opacity: 0.7;
        }

        .time-tag .remove:hover {
            opacity: 1;
        }

        /* Runtime Logs */
        .logs-card {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 12px;
            height: calc(100vh - 150px);
            display: flex;
            flex-direction: column;
            position: sticky;
            top: 24px;
        }

        .logs-header {
            padding: 16px 20px;
            border-bottom: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logs-header h4 {
            font-size: 14px;
        }

        /* MOBILE NAVIGATION TOGGLE */
        .mobile-toggle {
            display: none;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border);
            color: var(--text-primary);
            width: 40px;
            height: 40px;
            border-radius: 8px;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.2s;
        }

        .mobile-toggle:hover {
            background: rgba(42, 133, 255, 0.1);
            border-color: var(--accent);
            color: var(--accent);
        }

        /* Unified Mobile Responsiveness */
        @media (max-width: 992px) {
            .mobile-toggle {
                display: flex;
            }

            .dashboard.active {
                flex-direction: column;
            }

            .sidebar {
                position: fixed;
                left: -280px;
                top: 0;
                bottom: 0;
                width: 280px;
                z-index: 2000;
                transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: 20px 0 50px rgba(0, 0, 0, 0.8);
                max-height: none;
                border-right: 1px solid var(--border);
            }

            .sidebar.sidebar-active {
                transform: translateX(280px);
            }

            .header-actions {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                background: var(--bg-card);
                border-top: 1px solid var(--border);
                padding: 12px 20px;
                display: flex !important;
                justify-content: center;
                gap: 12px;
                z-index: 2100;
                backdrop-filter: blur(10px);
                box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
                padding-bottom: calc(12px + env(safe-area-inset-bottom));
            }

            .btn-action {
                flex: 1;
                justify-content: center;
                white-space: nowrap;
                padding: 10px 12px;
                font-size: 11px;
                max-width: 150px;
            }

            .main-content {
                width: 100%;
                overflow-x: hidden;
                padding-bottom: 80px;
                /* Space for bottom bar */
            }

            .view-toggle {
                width: 100%;
                margin-bottom: 20px;
                position: static;
                background: rgba(255, 255, 255, 0.03);
                border-radius: 8px;
                border: 1px solid var(--border);
            }

            .content-area {
                padding: 16px;
                flex-direction: column;
                gap: 16px;
                padding-bottom: 100px;
            }

            .card {
                padding: 16px;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .logs-card {
                position: static;
                height: 350px;
            }

            .login-box {
                padding: 24px;
            }

            .table-container {
                width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                margin-bottom: 16px;
            }

            .table {
                min-width: 600px;
            }

            .section-header h2 {
                font-size: 20px;
            }

            .stat-card {
                padding: 16px;
            }

            .stat-card div:nth-child(2) {
                font-size: 24px !important;
            }

            .modal {
                max-width: 100%;
                padding: 24px 16px;
            }

            /* Responsive Overrides */
            .grid-responsive {
                grid-template-columns: 1fr !important;
                gap: 16px !important;
            }

            .grid-span-full {
                grid-column: span 1 !important;
            }

            .flex-responsive {
                flex-direction: column !important;
                gap: 12px !important;
            }

            .h-auto-mobile {
                height: auto !important;
                min-height: 200px;
            }

            .calendar-grid {
                gap: 4px !important;
            }

            #inbox-users-list {
                width: 100% !important;
            }
        }

        /* Extra small devices */
        @media (max-width: 600px) {
            .header-left p {
                display: none;
            }

            .logo-text {
                font-size: 22px;
            }

            .modal {
                padding: 20px;
                margin: 10px;
            }
        }

        .logs-content {
            flex: 1;
            padding: 16px;
            overflow-y: auto;
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
            font-size: 11px;
            line-height: 1.6;
            color: var(--success);
        }

        /* Admin */
        .admin-section {
            display: none;
        }

        .admin-section.active {
            display: block;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .section-header h2 {
            font-size: 24px;
        }

        .table {
            width: 100%;
            border-collapse: collapse;
        }

        .table th,
        .table td {
            padding: 14px 16px;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }

        .table th {
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 12px;
            text-transform: uppercase;
        }

        .badge {
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .badge-success {
            background: rgba(34, 197, 94, 0.15);
            color: var(--success);
        }

        .badge-danger {
            background: rgba(239, 68, 68, 0.15);
            color: var(--danger);
        }

        .badge-accent {
            background: rgba(42, 133, 255, 0.15);
            color: var(--accent);
        }

        .action-btn {
            padding: 8px 16px;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            margin-right: 8px;
        }

        .action-btn.primary {
            background: var(--accent);
            color: white;
        }

        .action-btn.danger {
            background: var(--danger);
            color: white;
        }

        .action-btn.success {
            background: var(--success);
            color: white;
        }

        .action-btn.outline {
            background: transparent;
            border: 1px solid var(--border);
            color: var(--text-primary);
        }

        /* Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 20px;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 16px;
            padding: 32px;
            width: 100%;
            max-width: 800px;
            max-height: 90vh;
            overflow-y: auto;
        }

        .modal h3 {
            margin-bottom: 24px;
            font-size: 20px;
        }

        .modal-actions {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }

        /* Sidebar Overlay for Mobile */
        .sidebar-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 1999;
            display: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .sidebar-overlay.active {
            display: block;
            opacity: 1;
        }

        /* Alert Banner */
        .alert-banner {
            background: rgba(255, 107, 53, 0.15);
            border: 1px solid var(--orange);
            border-radius: 8px;
            padding: 12px 20px;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .alert-banner span {
            color: var(--orange);
            font-size: 14px;
            font-weight: 500;
        }

        /* --- V7 ADDITIONS --- */
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 40px;
            height: 40px;
            border: none;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-secondary);
            font-size: 24px;
            font-weight: 400;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            z-index: 100;
        }

        .close-btn:hover {
            background: rgba(239, 68, 68, 0.2);
            color: var(--danger);
            transform: rotate(90deg);
        }

        .action-btn {
            pointer-events: auto !important;
            /* Force clickability */
        }

        .table tr:hover {
            background: rgba(255, 255, 255, 0.02);
        }

        .modal-header {
            position: relative;
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 1px solid var(--border);
        }

        /* Mobile specific close btn */
        @media (max-width: 768px) {
            .close-btn {
                width: 44px;
                height: 44px;
                top: 10px;
                right: 10px;
            }
        }


        /* V14 UX Refinements */
        #account-settings-gear {
            transition: transform 0.3s ease;
            user-select: none;
            opacity: 0.7;
        }

        #account-settings-gear:hover {
            transform: rotate(90deg) scale(1.2);
            opacity: 1;
            color: var(--cyan);
        }

        #account-config {
            width: 100%;
            display: none;
            /* Controlled by JS */
        }

        #section-main-title {
            display: flex;
            align-items: center;
        }