[data-theme="dark"] {
            /* Shadcn Slate 950 Dark Mode */
            --bg-body: #020817;
            --bg-surface: #0b1120;
            --bg-surface-subtle: #111a2e;
            --bg-sidebar: #050a14;
            --sidebar-border: rgba(255, 255, 255, 0.08);
            --sidebar-text: #94a3b8;
            --sidebar-text-hover: #f8fafc;
            --sidebar-active-bg: rgba(255, 255, 255, 0.06);
            --sidebar-active-text: #f8fafc;

            --text-primary: #f8fafc;
            --text-secondary: #94a3b8;
            --text-muted: #64748b;

            --border-subtle: rgba(255, 255, 255, 0.08);
            --border-input: rgba(255, 255, 255, 0.15);
            --primary: #10b981;
            --primary-foreground: #020817;
            --primary-hover: #059669;
            --primary-soft: rgba(16, 185, 129, 0.12);
            --primary-border: rgba(16, 185, 129, 0.25);

            --accent: #10b981;
            --accent-soft: rgba(16, 185, 129, 0.12);
            --accent-border: rgba(16, 185, 129, 0.3);

            --danger: #ef4444;
            --danger-soft: rgba(239, 68, 68, 0.15);
            --warning: #f59e0b;
            --warning-soft: rgba(245, 158, 11, 0.15);

            --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
            --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
        }

        /* Darkmode Single Icon Enforcement */
        .theme-icon-light { display: none !important; }
        .theme-icon-dark { display: block !important; }
        [data-theme="dark"] .theme-icon-light { display: block !important; }
        [data-theme="dark"] .theme-icon-dark { display: none !important; }

        /* Header User Profile Button & Dropdown Menu */
        .header-user-avatar-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.2rem 0.55rem;
            background: var(--bg-surface-subtle);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-full);
            cursor: pointer;
            transition: var(--transition-smooth);
            color: var(--text-primary);
            font-size: 0.82rem;
            height: 34px;
        }
        .header-user-avatar-btn:hover {
            background: var(--border-subtle);
            border-color: var(--border-input);
        }
        .header-avatar-circle {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: linear-gradient(135deg, #15803d, #22c55e);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 850;
            font-size: 0.75rem;
            overflow: hidden;
            flex-shrink: 0;
            border: 1.5px solid var(--accent);
        }
        .header-user-name-text {
            font-weight: 700;
            color: var(--text-primary);
            max-width: 110px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .header-user-arrow {
            font-size: 0.65rem;
            color: var(--text-muted);
            transition: transform 0.2s ease;
        }
        .header-user-avatar-btn.active .header-user-arrow {
            transform: rotate(180deg);
        }

        /* User Profile Dropdown Popover */
        .user-profile-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            width: 275px;
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.2), 0 6px 12px -4px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            display: none;
            flex-direction: column;
            padding: 0.65rem;
            animation: fadeInDropdown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
        }
        .user-profile-dropdown.show {
            display: flex;
        }
        @keyframes fadeInDropdown {
            from { opacity: 0; transform: translateY(-8px) scale(0.97); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        .dropdown-user-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem 0.65rem;
        }
        .dropdown-avatar-circle {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #15803d, #22c55e);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 850;
            font-size: 1.15rem;
            overflow: hidden;
            flex-shrink: 0;
            border: 2px solid var(--accent);
        }
        .dropdown-user-info {
            flex: 1;
            min-width: 0;
        }
        .dropdown-user-name {
            font-size: 0.88rem;
            font-weight: 800;
            color: var(--text-primary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .dropdown-user-uname {
            font-size: 0.75rem;
            color: var(--text-muted);
            font-family: var(--font-mono);
        }
        .dropdown-role-badge {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 750;
            padding: 0.1rem 0.45rem;
            border-radius: 4px;
            background: var(--accent-soft);
            color: var(--accent);
            margin-top: 0.2rem;
        }

        .dropdown-divider {
            height: 1px;
            background: var(--border-subtle);
            margin: 0.45rem 0;
        }

        .dropdown-menu-list {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.55rem 0.65rem;
            border-radius: var(--radius-sm);
            background: transparent;
            border: none;
            cursor: pointer;
            text-align: left;
            width: 100%;
            box-sizing: border-box;
            text-decoration: none;
            color: var(--text-primary);
            transition: background 0.15s ease;
        }
        .dropdown-item:hover {
            background: var(--bg-surface-subtle);
        }
        .dropdown-item-danger:hover {
            background: var(--danger-soft);
        }
        .top-posts-table {
            table-layout: fixed;
            width: 100%;
            min-width: 0;
        }
        .top-posts-table th:first-child,
        .top-posts-table td:first-child {
            width: 38px;
            text-align: center;
            padding-left: 0.25rem;
            padding-right: 0.25rem;
        }
        .top-posts-table th:nth-child(2),
        .top-posts-table td:nth-child(2) {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .top-posts-table td:nth-child(2) a {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 100%;
        }
        .top-posts-table th:last-child,
        .top-posts-table td:last-child {
            width: 75px;
            text-align: right;
            padding-right: 0.65rem;
            white-space: nowrap;
        }
        @media (max-width: 640px) {
            #view-comments .admin-table { min-width: 0; }
            #view-comments .admin-table th:nth-child(4), #view-comments .admin-table td:nth-child(4) { display: none; }
            #view-comments .admin-table td { padding: 0.6rem 0.5rem; }
        }
        .dropdown-item-icon {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            color: var(--text-muted);
        }
        .dropdown-item-svg {
            width: 17px;
            height: 17px;
        }
        .dropdown-item-danger .dropdown-item-icon {
            color: #ef4444;
        }
        .dropdown-role-badge svg {
            width: 11px;
            height: 11px;
        }
        .sidebar-user-role svg {
            width: 11px;
            height: 11px;
            vertical-align: -1px;
            margin-right: 2px;
        }
        .dropdown-item-content {
            display: flex;
            flex-direction: column;
            min-width: 0;
            flex: 1;
        }
        .dropdown-item-title {
            font-size: 0.82rem;
            font-weight: 700;
            line-height: 1.25;
        }
        .dropdown-item-sub {
            font-size: 0.7rem;
            color: var(--text-muted);
            line-height: 1.2;
            margin-top: 0.15rem;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: var(--font-sans);
            background-color: var(--bg-body);
            color: var(--text-primary);
            display: flex;
            height: 100vh;
            overflow: hidden;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Scrollbars */
        ::-webkit-scrollbar { width: 6px; height: 6px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: var(--border-subtle); border-radius: var(--radius-full); }
        ::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

        /* Sidebar Navigation */
        .admin-sidebar {
            width: 280px;
            background-color: var(--bg-sidebar);
            border-right: 1px solid var(--sidebar-border);
            color: var(--sidebar-text);
            display: flex;
            flex-direction: column;
            padding: 1.25rem 0.85rem 2rem;
            z-index: 40;
            flex-shrink: 0;
            overflow-y: auto;
            box-sizing: border-box;
        }
        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0 0.5rem 1.25rem;
            border-bottom: 1px solid var(--sidebar-border);
            margin-bottom: 1rem;
        }
        .brand-logo-icon {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, #10b981, #059669);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-weight: 800;
            font-size: 0.95rem;
            box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
        }
        .brand-name {
            font-size: 1rem;
            font-weight: 750;
            letter-spacing: -0.01em;
            color: var(--text-primary);
        }
        .brand-name span { color: var(--accent); }

        /* Interaktif Logo & Media Preview Boxes */
        .logo-preview-box {
            position: relative;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .logo-preview-box:hover {
            border-color: var(--primary) !important;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-1px) scale(1.02);
        }
        .logo-preview-box:active {
            transform: scale(0.97);
        }
        .preview-box-badge {
            transition: opacity 0.2s ease, transform 0.2s ease;
        }
        .logo-preview-box:hover .preview-box-badge {
            background: var(--primary) !important;
            transform: scale(1.1);
        }

        .nav-group-label {
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--text-muted);
            padding: 0.75rem 0.65rem 0.35rem;
        }
        .nav-group-divider {
            margin-top: 1rem;
            padding-top: 0.85rem;
            border-top: 1px solid var(--sidebar-border);
        }
        .sidebar-nav-list {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.15rem;
            margin: 0;
            padding: 0;
        }
        .nav-item-btn {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.5rem;
            padding: 0.55rem 0.75rem;
            border-radius: var(--radius-sm);
            color: var(--sidebar-text);
            background: transparent;
            border: none;
            font-size: 0.84rem;
            font-weight: 550;
            cursor: pointer;
            text-align: left;
            transition: var(--transition-smooth);
            line-height: 1.3;
            white-space: nowrap;
            box-sizing: border-box;
        }
        .nav-item-main {
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .nav-item-btn:hover {
            color: var(--sidebar-text-hover);
            background: var(--sidebar-active-bg);
        }
        .nav-item-btn.active {
            color: var(--sidebar-active-text);
            background: var(--sidebar-active-bg);
            font-weight: 600;
            border-left: 3px solid var(--accent);
        }
        .nav-svg-icon {
            width: 17px;
            height: 17px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
            display: inline-block;
            vertical-align: middle;
            opacity: 0.85;
            transition: var(--transition-smooth);
        }
        .nav-item-btn:hover .nav-svg-icon,
        .nav-item-btn.active .nav-svg-icon {
            opacity: 1;
            stroke: var(--accent);
        }

        /* Sidebar Bottom User Session Card (Both Light & Dark Mode Compatible) */
        .sidebar-user-card {
            margin-top: auto;
            padding: 0.75rem 0.85rem;
            background: var(--bg-surface-subtle);
            border-radius: 10px;
            border: 1px solid var(--sidebar-border);
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .sidebar-user-profile {
            display: flex;
            align-items: center;
            gap: 0.65rem;
            cursor: pointer;
            padding: 0.2rem;
            border-radius: var(--radius-sm);
            transition: var(--transition-smooth);
        }
        .sidebar-user-profile:hover {
            background: var(--sidebar-active-bg);
        }
        .sidebar-user-avatar {
            width: 34px;
            height: 34px;
            background: linear-gradient(135deg, #15803d, #22c55e);
            color: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.88rem;
            flex-shrink: 0;
            overflow: hidden;
            box-shadow: 0 2px 6px rgba(21, 128, 61, 0.25);
        }
        .sidebar-user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }
        .sidebar-user-info {
            min-width: 0;
            display: flex;
            flex-direction: column;
        }
        .sidebar-user-name {
            font-weight: 750;
            font-size: 0.84rem;
            color: var(--text-primary);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            line-height: 1.25;
        }
        .sidebar-user-role {
            font-size: 0.7rem;
            color: var(--primary);
            font-weight: 650;
            margin-top: 0.15rem;
        }
        .sidebar-btn-profile {
            width: 100%;
            padding: 0.45rem 0.6rem;
            background: var(--bg-surface);
            border: 1px solid var(--sidebar-border);
            color: var(--text-primary);
            border-radius: 6px;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            transition: var(--transition-smooth);
        }
        .sidebar-btn-profile:hover {
            background: var(--sidebar-active-bg);
            border-color: var(--accent);
            color: var(--accent);
        }
        .sidebar-btn-logout {
            width: 100%;
            padding: 0.45rem 0.6rem;
            background: rgba(239, 68, 68, 0.08);
            border: 1px solid rgba(239, 68, 68, 0.25);
            color: #ef4444;
            border-radius: 6px;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            transition: var(--transition-smooth);
        }
        .sidebar-btn-logout:hover {
            background: #ef4444;
            color: #ffffff;
            border-color: #ef4444;
        }
        [data-theme="dark"] .sidebar-btn-logout {
            background: rgba(239, 68, 68, 0.15);
            border-color: rgba(239, 68, 68, 0.35);
            color: #f87171;
        }
        [data-theme="dark"] .sidebar-btn-logout:hover {
            background: #ef4444;
            color: #ffffff;
        }

        /* Workspace */
        .admin-workspace {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .workspace-header {
            height: 56px;
            background: var(--bg-surface);
            border-bottom: 1px solid var(--border-subtle);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1.5rem;
            position: sticky;
            top: 0;
            z-index: 30;
        }
        .workspace-body {
            flex: 1;
            overflow-y: auto;
            padding: 1.5rem;
            background: var(--bg-body);
        }
        .view-panel { display: none; }
        .view-panel.active { display: block; animation: fadeIn 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.4rem;
            height: 34px;
            padding: 0 0.85rem;
            border-radius: var(--radius-sm);
            font-size: 0.82rem;
            font-weight: 600;
            cursor: pointer;
            border: 1px solid transparent;
            transition: var(--transition-smooth);
            white-space: nowrap;
            text-decoration: none;
        }
        .btn-primary {
            background: var(--primary);
            color: var(--primary-foreground);
        }
        .btn-primary:hover {
            opacity: 0.92;
            transform: translateY(-0.5px);
            box-shadow: var(--shadow-sm);
        }
        .btn-outline {
            background: var(--bg-surface);
            border-color: var(--border-subtle);
            color: var(--text-primary);
        }
        .btn-outline:hover {
            background: var(--bg-surface-subtle);
            border-color: var(--border-input);
        }
        .btn-danger {
            background: var(--danger);
            color: #ffffff;
        }
        .btn-danger:hover {
            opacity: 0.9;
        }
        .btn-accent {
            background: #0284c7;
            color: #fff;
        }

        /* Bento Grid KPI */
        .bento-kpi-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
        .kpi-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 1.25rem;
            box-shadow: var(--shadow-xs);
            transition: var(--transition-smooth);
        }
        .kpi-card:hover {
            border-color: var(--border-input);
            box-shadow: var(--shadow-sm);
        }
        .kpi-value {
            font-size: 1.75rem;
            font-weight: 750;
            letter-spacing: -0.025em;
            color: var(--text-primary);
            margin: 0.25rem 0 0.4rem;
            line-height: 1.1;
        }

        /* Surface & Containers */
        .editor-surface {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            box-shadow: var(--shadow-xs);
            min-width: 0;
            max-width: 100%;
            box-sizing: border-box;
        }
        .editor-grid-pro {
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            gap: 1.5rem;
            align-items: start;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }
        @media (min-width: 1024px) {
            .editor-grid-pro { grid-template-columns: minmax(0, 1fr) 320px; }
        }
        .pro-input-title {
            width: 100%;
            font-size: 1.75rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.3;
            border: none;
            outline: none;
            color: var(--text-primary);
            background: transparent;
            margin-bottom: 0.35rem;
            padding: 0;
            box-sizing: border-box;
        }
        .pro-input-title::placeholder {
            color: #64748b;
            opacity: 0.9;
        }
        #post-excerpt-input::placeholder {
            color: #64748b;
            opacity: 0.9;
        }
        .pro-input-title:focus {
            background: transparent;
            border: none;
            box-shadow: none;
        }
        .editor-formatting-toolbar {
            display: flex;
            align-items: center;
            gap: 0.35rem;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            background: var(--bg-surface-subtle);
            padding: 0.45rem 0.65rem;
            border: 1px solid var(--border-subtle);
            border-radius: 8px;
            margin-bottom: 0.85rem;
            scrollbar-width: none;
        }
        .editor-formatting-toolbar::-webkit-scrollbar {
            display: none;
        }
        .editor-tb-sep {
            width: 1px;
            height: 20px;
            background: var(--border-subtle);
            margin: 0 0.15rem;
            flex-shrink: 0;
        }
        .editor-tb-btn {
            padding: 0.3rem 0.6rem;
            font-size: 0.8rem;
            font-weight: 700;
            border-radius: 6px;
            border: 1px solid var(--border-subtle);
            background: var(--bg-surface);
            color: var(--text-primary);
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            white-space: nowrap;
            flex-shrink: 0;
            transition: all 0.15s ease;
        }
        .editor-tb-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        .pro-content-area {
            width: 100%;
            min-height: 420px;
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1.15rem;
            font-size: 0.95rem;
            line-height: 1.75;
            color: var(--text-primary);
            background: var(--bg-surface-subtle);
            outline: none;
            font-family: inherit;
            resize: vertical;
        }
        .pro-content-area:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        /* Visual (WYSIWYG) & Code Dual Modes */
        .pro-content-visual {
            width: 100%;
            min-height: 440px;
            max-height: 800px;
            overflow-y: auto;
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1.25rem 1.35rem;
            font-size: 1.02rem;
            line-height: 1.85;
            color: var(--text-primary);
            background: var(--bg-surface);
            outline: none;
            box-sizing: border-box;
            transition: var(--transition-smooth);
        }
        .pro-content-visual:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
        }
        .pro-content-visual[data-placeholder]:empty:before {
            content: attr(data-placeholder);
            color: var(--text-muted);
            pointer-events: none;
            display: block;
            font-style: italic;
        }
        .pro-content-visual p {
            margin-bottom: 1.15rem;
        }
        .pro-content-visual h2 {
            font-size: 1.45rem;
            font-weight: 800;
            margin: 1.65rem 0 0.65rem;
            line-height: 1.35;
            color: var(--text-primary);
        }
        .pro-content-visual h3 {
            font-size: 1.22rem;
            font-weight: 750;
            margin: 1.35rem 0 0.55rem;
            line-height: 1.4;
            color: var(--text-primary);
        }
        .pro-content-visual blockquote {
            border-left: 4px solid var(--primary);
            padding: 0.65rem 1.15rem;
            background: var(--primary-soft);
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            margin: 1.25rem 0;
            font-style: italic;
            font-weight: 600;
        }
        .pro-content-visual ul {
            list-style-type: disc !important;
            list-style-position: outside !important;
            padding-left: 1.65rem !important;
            margin: 0.85rem 0 1.15rem !important;
        }
        .pro-content-visual ol {
            list-style-type: decimal !important;
            list-style-position: outside !important;
            padding-left: 1.65rem !important;
            margin: 0.85rem 0 1.15rem !important;
        }
        .pro-content-visual li {
            margin-bottom: 0.45rem !important;
            line-height: 1.75 !important;
            padding-left: 0.25rem !important;
        }
        .pro-content-code {
            width: 100%;
            min-height: 440px;
            font-family: 'JetBrains Mono', Consolas, Menlo, monospace !important;
            font-size: 0.88rem !important;
            line-height: 1.65 !important;
            background: #090d16 !important;
            color: #38bdf8 !important;
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1.15rem !important;
            outline: none;
            box-sizing: border-box;
            resize: vertical;
            tab-size: 2;
        }
        .pro-content-code:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
        }
        .btn-editor-mode {
            border: none;
            background: transparent;
            color: var(--text-muted);
            font-size: 0.76rem;
            font-weight: 750;
            padding: 0.24rem 0.6rem;
            border-radius: 5px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.15s ease;
        }
        .btn-editor-mode:hover {
            color: var(--text-primary);
        }
        .btn-editor-mode.active {
            background: var(--primary);
            color: #ffffff !important;
            box-shadow: 0 1px 3px rgba(0,0,0,0.12);
        }

        /* Update Notification Banner Card */
        .update-notification-card {
            display: none;
            margin-bottom: 1.25rem;
            background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(15, 23, 42, 0.95));
            border: 1px solid rgba(16, 185, 129, 0.35);
            border-radius: 12px;
            padding: 0.85rem 1.15rem;
            color: #f8fafc;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
            align-items: center;
            justify-content: space-between;
            gap: 0.85rem;
        }
        .update-card-content {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            min-width: 0;
            flex: 1;
        }
        .update-card-header-line {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .update-badge {
            background: #10b981;
            color: #064e3b;
            font-size: 0.68rem;
            font-weight: 800;
            padding: 0.18rem 0.5rem;
            border-radius: 5px;
            letter-spacing: 0.04em;
            white-space: nowrap;
        }
        .update-card-text {
            font-size: 0.84rem;
            font-weight: 600;
            color: #f1f5f9;
            line-height: 1.4;
        }
        .update-card-text b {
            color: #34d399;
        }
        .update-card-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
        }
        .btn-1click-update {
            background: #10b981;
            color: #064e3b;
            border: none;
            padding: 0.42rem 1rem;
            border-radius: 7px;
            font-weight: 750;
            font-size: 0.8rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
            white-space: nowrap;
            transition: all 0.15s ease;
        }
        .btn-1click-update:hover {
            background: #059669;
            color: #ffffff;
        }
        .update-btn-close-desktop {
            background: transparent;
            color: #94a3b8;
            border: none;
            font-size: 1.15rem;
            cursor: pointer;
            padding: 0.2rem 0.4rem;
            line-height: 1;
        }
        .update-btn-close-mobile {
            display: none;
            background: transparent;
            color: #94a3b8;
            border: none;
            font-size: 1.15rem;
            cursor: pointer;
            padding: 0 0.3rem;
            line-height: 1;
        }
        @media (max-width: 640px) {
            .update-notification-card {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 0.65rem !important;
                padding: 0.85rem 1rem !important;
            }
            .update-card-content {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 0.45rem !important;
            }
            .update-card-header-line {
                width: 100% !important;
                justify-content: space-between !important;
            }
            .update-btn-close-mobile {
                display: block !important;
            }
            .update-btn-close-desktop {
                display: none !important;
            }
            .update-card-actions {
                width: 100% !important;
            }
            .btn-1click-update {
                width: 100% !important;
                justify-content: center !important;
                padding: 0.55rem 1rem !important;
            }
        }

        /* Table (Shadcn Data Table) */
        .admin-table-wrap {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            overflow-x: auto;
            box-shadow: var(--shadow-xs);
        }
        .admin-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.84rem;
        }
        .admin-table th {
            background: var(--bg-surface-subtle);
            padding: 0.75rem 1rem;
            font-weight: 600;
            color: var(--text-muted);
            border-bottom: 1px solid var(--border-subtle);
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            white-space: nowrap;
        }
        .admin-table td {
            padding: 0.85rem 1rem;
            border-bottom: 1px solid var(--border-subtle);
            vertical-align: middle;
            color: var(--text-primary);
        }
        .admin-table tbody tr:hover {
            background: var(--bg-surface-subtle);
        }
        .admin-table tbody tr:last-child td {
            border-bottom: none;
        }

        /* Form Inputs */
        input[type="text"], input[type="email"], input[type="password"], select, textarea {
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-sm);
            background: var(--bg-surface);
            color: var(--text-primary);
            font-family: inherit;
            outline: none;
            transition: var(--transition-smooth);
        }
        input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
            border-color: var(--accent);
            box-shadow: 0 0 0 3px var(--accent-soft);
        }

        /* Switch Toggles */
        .switch-toggle-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.45rem 0;
        }
        .toggle-switch {
            position: relative;
            width: 36px;
            height: 20px;
            cursor: pointer;
        }
        .toggle-switch input { opacity: 0; width: 0; height: 0; }
        .toggle-slider {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: var(--border-subtle);
            border-radius: var(--radius-full);
            transition: var(--transition-smooth);
        }
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            border-radius: 50%;
            transition: var(--transition-smooth);
            box-shadow: 0 1px 2px rgba(0,0,0,0.2);
        }
        .toggle-switch input:checked + .toggle-slider {
            background-color: var(--accent);
        }
        .toggle-switch input:checked + .toggle-slider:before {
            transform: translateX(16px);
        }

        /* Tag Input */
        .tags-input-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.35rem;
            padding: 0.45rem;
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-sm);
            background: var(--bg-surface);
            min-height: 40px;
        }
        .tag-pill {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            background: var(--accent-soft);
            color: var(--accent);
            padding: 0.15rem 0.5rem;
            border-radius: var(--radius-full);
            font-size: 0.76rem;
            font-weight: 600;
            border: 1px solid var(--accent-border);
        }
        .tag-remove { cursor: pointer; font-size: 0.9rem; line-height: 1; }

        /* Modal */
        .admin-modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(6px);
            z-index: 5000;
            display: none;
            align-items: center;
            justify-content: center;
        }
        .admin-modal-backdrop.active {
            display: flex !important;
        }
        .admin-modal-box {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 1.75rem;
            width: 90%;
            max-width: 500px;
            box-shadow: var(--shadow-lg);
            max-height: 90vh;
            overflow-y: auto;
            animation: modalScale 0.15s cubic-bezier(0.4, 0, 0.2, 1);
        }
        @keyframes modalScale {
            from { opacity: 0; transform: scale(0.96); }
            to { opacity: 1; transform: scale(1); }
        }

        /* Baca Juga Choice Pills */
        .btn-bj-choice {
            padding: 0.35rem 0;
            text-align: center;
            border: 1px solid var(--border-subtle);
            background: var(--bg-surface-subtle);
            color: var(--text-primary);
            border-radius: 6px;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.15s ease;
        }
        .btn-bj-choice:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        .btn-bj-choice.active {
            background: var(--primary);
            color: #ffffff;
            border-color: var(--primary);
            box-shadow: 0 1px 3px rgba(21, 128, 61, 0.3);
        }

        /* Badges */
        .badge-role-lock {
            background: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(249, 115, 22, 0.1));
            color: #ea580c;
            font-size: 0.63rem;
            font-weight: 800;
            padding: 0.1rem 0.42rem;
            border-radius: 4px;
            margin-left: auto;
            flex-shrink: 0;
            letter-spacing: 0.04em;
            border: 1px solid rgba(234, 88, 12, 0.25);
            line-height: 1.2;
            display: inline-block;
            text-transform: uppercase;
        }
        [data-theme="dark"] .badge-role-lock {
            background: rgba(234, 88, 12, 0.2);
            color: #fb923c;
            border-color: rgba(234, 88, 12, 0.35);
        }
        .badge-hot {
            background: #ef4444;
            color: #fff;
            font-size: 0.62rem;
            padding: 0.1rem 0.35rem;
            border-radius: 4px;
            font-weight: 750;
        }
        .badge-new {
            background: var(--accent);
            color: #fff;
            font-size: 0.62rem;
            padding: 0.1rem 0.35rem;
            border-radius: 4px;
            font-weight: 750;
        }
        .badge-redirect-301 {
            background: rgba(22, 163, 74, 0.12);
            color: #16a34a;
            border: 1px solid rgba(22, 163, 74, 0.25);
            font-size: 0.7rem;
            padding: 0.15rem 0.45rem;
            border-radius: var(--radius-full, 999px);
            font-weight: 750;
            display: inline-block;
        }
        .badge-redirect-302 {
            background: rgba(2, 132, 199, 0.12);
            color: #0284c7;
            border: 1px solid rgba(2, 132, 199, 0.25);
            font-size: 0.7rem;
            padding: 0.15rem 0.45rem;
            border-radius: var(--radius-full, 999px);
            font-weight: 750;
            display: inline-block;
        }
        .redirect-mobile-cards-wrap {
            display: none;
        }

        /* Backup Feature Specific */
        /* Clean Backup & Restore Styles (Refined Minimalist Architecture) */
        .backup-kpi-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1rem;
            margin-bottom: 2rem;
        }
        @media (max-width: 900px) {
            .backup-kpi-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .backup-kpi-grid {
                grid-template-columns: 1fr;
            }
        }
        .backup-stat-card {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1rem 1.15rem;
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            transition: var(--transition-smooth);
        }
        .backup-stat-card:hover {
            border-color: var(--sidebar-border);
            box-shadow: var(--shadow-xs);
        }
        .backup-stat-label {
            font-size: 0.76rem;
            font-weight: 600;
            color: var(--text-muted);
        }
        .backup-stat-value {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--text-primary);
            line-height: 1.2;
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }
        .backup-stat-sub {
            font-size: 0.72rem;
            color: var(--text-secondary);
        }

        .backup-section-box {
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            margin-bottom: 1.75rem;
        }
        .backup-section-header {
            margin-bottom: 1.25rem;
            padding-bottom: 0.85rem;
            border-bottom: 1px solid var(--border-subtle);
        }
        .backup-section-title {
            font-size: 1.05rem;
            font-weight: 800;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .backup-section-desc {
            font-size: 0.82rem;
            color: var(--text-muted);
            margin-top: 0.25rem;
            line-height: 1.45;
        }

        .backup-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }
        @media (max-width: 900px) {
            .backup-cards-grid {
                grid-template-columns: 1fr;
            }
        }
        .backup-card-item {
            background: var(--bg-surface-subtle);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: var(--transition-smooth);
        }
        .backup-card-item:hover {
            border-color: var(--accent);
            background: var(--bg-surface);
            box-shadow: var(--shadow-sm);
        }
        .backup-card-badge {
            display: inline-block;
            font-size: 0.68rem;
            font-weight: 750;
            padding: 0.15rem 0.5rem;
            border-radius: 4px;
            background: var(--bg-surface);
            color: var(--text-secondary);
            border: 1px solid var(--border-subtle);
            margin-bottom: 0.65rem;
            width: fit-content;
        }
        .backup-card-badge.badge-primary {
            background: var(--primary-soft);
            color: var(--primary);
            border-color: var(--primary-border);
        }
        .backup-card-name {
            font-size: 0.95rem;
            font-weight: 750;
            color: var(--text-primary);
            margin-bottom: 0.35rem;
        }
        .backup-card-text {
            font-size: 0.8rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-bottom: 1.25rem;
            flex-grow: 1;
        }

        /* Restore Dropzone */
        .restore-dropzone {
            border: 2px dashed var(--border-subtle);
            border-radius: var(--radius-md);
            background: var(--bg-surface-subtle);
            padding: 2rem 1.5rem;
            text-align: center;
            cursor: pointer;
            transition: var(--transition-smooth);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        .restore-dropzone:hover, .restore-dropzone.dragover {
            border-color: var(--accent);
            background: var(--primary-soft);
        }
        .restore-file-preview {
            display: none;
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 1rem 1.25rem;
            margin-top: 1rem;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
        }
        .restore-file-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            min-width: 0;
        }
        .restore-security-note {
            background: var(--bg-surface-subtle);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            padding: 0.85rem 1rem;
            font-size: 0.78rem;
            color: var(--text-secondary);
            line-height: 1.5;
            margin-top: 1.25rem;
        }

        /* Toast (Sonner Floating Style) */
        .pro-toast {
            position: fixed;
            bottom: 24px;
            right: 24px;
            background: var(--bg-surface);
            color: var(--text-primary);
            border: 1px solid var(--border-subtle);
            padding: 0.75rem 1.25rem;
            border-radius: var(--radius-md);
            font-size: 0.84rem;
            font-weight: 600;
            box-shadow: var(--shadow-lg);
            opacity: 0;
            transform: translateY(20px);
            transition: var(--transition-smooth);
            z-index: 99999;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .pro-toast.show { opacity: 1; transform: translateY(0); }

        @media (max-width: 1023px) {
            .pro-toast {
                bottom: 5.25rem !important;
                right: 50% !important;
                transform: translate(50%, 20px) !important;
                white-space: nowrap !important;
                max-width: 90vw !important;
            }
            .pro-toast.show {
                opacity: 1 !important;
                transform: translate(50%, 0) !important;
            }
        }
    
        /* --- MOBILE RESPONSIVE DRAWER & UTILITIES --- */
        .btn-menu-mobile {
            display: none;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-sm);
            color: var(--text-primary);
            cursor: pointer;
            padding: 0;
            flex-shrink: 0;
            transition: var(--transition-smooth);
        }
        .btn-menu-mobile:hover {
            background: var(--bg-surface-subtle);
            border-color: var(--border-input);
        }
        .btn-close-sidebar {
            display: none;
            background: transparent;
            border: none;
            color: var(--sidebar-text);
            font-size: 1.6rem;
            cursor: pointer;
            padding: 0 0.5rem;
            line-height: 1;
            margin-left: auto;
            border-radius: var(--radius-sm);
        }
        .btn-close-sidebar:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.1);
        }
        .sidebar-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(4px);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        /* Responsive Breakpoints */

        /* Quick Actions Bento Grid */
        .quick-actions-section {
            margin-top: 1.25rem;
            margin-bottom: 1.5rem;
        }
        .quick-actions-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.75rem;
        }
        .quick-action-card {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0.9rem;
            background: var(--bg-surface);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-md);
            text-align: left;
            cursor: pointer;
            transition: var(--transition-smooth);
            width: 100%;
            color: var(--text-primary);
        }
        .quick-action-card:hover {
            border-color: var(--border-input);
            background: var(--bg-surface-subtle);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }
        .qa-icon {
            width: 38px;
            height: 38px;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .qa-info {
            flex: 1;
            min-width: 0;
        }
        .qa-title {
            font-size: 0.85rem;
            font-weight: 750;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .qa-desc {
            font-size: 0.72rem;
            color: var(--text-muted);
            margin-top: 0.15rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .qa-arrow {
            color: var(--text-muted);
            font-size: 1.1rem;
            opacity: 0.5;
            font-weight: bold;
        }

        /* Mobile Bottom Navigation Bar */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: var(--bg-surface);
            border-top: 1px solid var(--border-subtle);
            z-index: 95;
            padding: 0 0.5rem;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            justify-content: space-around;
            align-items: center;
        }
        .mobile-nav-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.2rem;
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 0.68rem;
            font-weight: 600;
            cursor: pointer;
            padding: 0.35rem 0.5rem;
            border-radius: var(--radius-sm);
            flex: 1;
            transition: var(--transition-smooth);
        }
        .mobile-nav-btn.active {
            color: var(--accent);
            font-weight: 750;
        }
        .mobile-nav-svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
            transition: var(--transition-smooth);
        }
        .mobile-fab-svg {
            width: 24px;
            height: 24px;
            stroke: #ffffff;
            fill: none;
            stroke-width: 2.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .editor-opt-svg {
            width: 15px;
            height: 15px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            vertical-align: middle;
            margin-right: 0.45rem;
            flex-shrink: 0;
            display: inline-block;
        }
        .period-pill-group {
            display: inline-flex;
            background: var(--bg-surface-subtle);
            border: 1px solid var(--border-subtle);
            border-radius: var(--radius-full);
            padding: 3px;
            gap: 2px;
        }
        .btn-period-pill {
            background: transparent;
            border: none;
            color: var(--text-secondary);
            font-size: 0.74rem;
            font-weight: 700;
            padding: 0.35rem 0.75rem;
            border-radius: var(--radius-full);
            cursor: pointer;
            transition: var(--transition-smooth);
        }
        .btn-period-pill:hover {
            color: var(--text-primary);
        }
        .btn-period-pill.active {
            background: var(--bg-surface);
            color: var(--primary);
            box-shadow: 0 1px 4px rgba(0,0,0,0.08);
            font-weight: 800;
        }
        .mobile-nav-icon {
            font-size: 1.2rem;
            line-height: 1;
        }
        .mobile-nav-btn-highlight {
            position: relative;
            top: -12px;
            background: linear-gradient(135deg, #10b981, #059669);
            color: #ffffff !important;
            border-radius: 50%;
            width: 48px;
            height: 48px;
            max-width: 48px;
            padding: 0;
            box-shadow: 0 4px 14px rgba(16, 185, 129, 0.45);
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 48px;
        }
        .mobile-nav-btn-highlight .mobile-nav-icon-fab {
            font-size: 1.45rem;
            font-weight: 800;
            line-height: 1;
        }
        .mobile-nav-btn-highlight .mobile-nav-label {
            display: none;
        }

        .user-desktop-table-wrap {
            display: block;
        }
        .user-mobile-cards-list {
            display: none;
        }
        .user-page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            gap: 0.5rem;
        }
        .user-header-title {
            font-size: 1.15rem;
            font-weight: 850;
            display: flex;
            align-items: center;
            gap: 0.45rem;
            margin: 0;
            letter-spacing: -0.01em;
            color: var(--text-primary);
            white-space: nowrap;
        }
        .user-count-pill {
            background: var(--bg-surface-subtle);
            color: var(--text-muted);
            border: 1px solid var(--border-subtle);
            font-size: 0.72rem;
            font-weight: 700;
            padding: 0.1rem 0.5rem;
            border-radius: var(--radius-full);
            line-height: 1.2;
            flex-shrink: 0;
        }
        .user-btn-add {
            display: inline-flex !important;
            align-items: center !important;
            gap: 0.35rem !important;
            padding: 0.38rem 0.75rem !important;
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            white-space: nowrap !important;
            flex-shrink: 0 !important;
            border-radius: var(--radius-full) !important;
            background: #16a34a !important;
            color: #ffffff !important;
            border: 1px solid #15803d !important;
            cursor: pointer !important;
            box-shadow: 0 1px 3px rgba(22, 163, 74, 0.25) !important;
            transition: var(--transition-smooth) !important;
        }
        .user-btn-add:hover {
            background: #15803d !important;
        }
        @media (max-width: 1023px) {
            .user-page-header {
                margin-bottom: 0.85rem !important;
                align-items: center !important;
            }
            .user-header-title {
                font-size: 1.05rem !important;
                white-space: nowrap !important;
            }
            .user-header-desc {
                display: none !important;
            }
            .user-btn-add {
                padding: 0.35rem 0.65rem !important;
                font-size: 0.76rem !important;
            }
        }

        @media (max-width: 1023px) {
            body {
                height: auto !important;
                min-height: 100vh !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
            }
            .btn-menu-mobile {
                display: inline-flex !important;
            }
            .btn-close-sidebar {
                display: inline-block !important;
            }
            .sidebar-backdrop.active {
                display: block !important;
                opacity: 1 !important;
            }
            .admin-sidebar {
                position: fixed !important;
                top: 0 !important;
                bottom: 0 !important;
                left: 0 !important;
                width: 280px !important;
                max-width: 85vw !important;
                height: 100vh !important;
                z-index: 9999 !important;
                box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
                transform: translateX(-100%) !important;
                transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
            }
            .admin-sidebar.open {
                transform: translateX(0) !important;
            }
            .admin-workspace {
                width: 100% !important;
                min-width: 0 !important;
                min-height: 100vh !important;
                overflow: visible !important;
            }
            .workspace-header {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                right: 0 !important;
                height: 52px !important;
                z-index: 90 !important;
                padding: 0 1rem !important;
                box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
                backdrop-filter: blur(12px) !important;
                -webkit-backdrop-filter: blur(12px) !important;
            }
            .workspace-body {
                margin-top: 52px !important;
                padding: 1rem 0.85rem 85px 0.85rem !important;
                overflow: visible !important;
            }
            .desktop-only-crumb {
                display: none !important;
            }
            .user-role-badge-text {
                display: none !important;
            }
            .bento-kpi-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.75rem !important;
            }
            .quick-actions-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.65rem !important;
            }
            .mobile-bottom-nav {
                display: flex !important;
            }
            .user-desktop-table-wrap {
                display: none !important;
            }
            .user-mobile-cards-list {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.85rem !important;
                width: 100% !important;
            }
        }

        @media (max-width: 640px) {
            .btn-text-hide-mobile {
                display: none !important;
            }
            .btn-hide-xs {
                display: none !important;
            }
            .desktop-only-btn {
                display: none !important;
            }
            .desktop-only-text {
                display: none !important;
            }
            .header-user-avatar-btn {
                padding: 0.15rem 0.35rem !important;
                gap: 0.35rem !important;
            }
            .user-profile-dropdown {
                width: 250px !important;
                right: 0 !important;
            }
            .workspace-header {
                padding: 0 0.65rem !important;
                height: 48px !important;
            }
            .workspace-body {
                margin-top: 48px !important;
                padding: 0.65rem 0.65rem 80px 0.65rem !important;
            }
            .header-user-badge {
                padding: 0.2rem 0.4rem !important;
            }
            .header-user-badge span {
                display: none !important;
            }
            .dashboard-top-header {
                margin-bottom: 0.75rem !important;
                gap: 0.45rem !important;
            }
            .dashboard-top-header h2 {
                font-size: 1.15rem !important;
            }
            .period-pill-group {
                width: 100% !important;
                display: flex !important;
                justify-content: space-between !important;
                padding: 2px !important;
            }
            .btn-period-pill {
                flex: 1 !important;
                text-align: center !important;
                padding: 0.35rem 0.15rem !important;
                font-size: 0.72rem !important;
            }
            .bento-kpi-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.45rem !important;
                margin-bottom: 0.75rem !important;
            }
            .kpi-card {
                padding: 0.65rem 0.75rem !important;
                border-radius: 10px !important;
            }
            .kpi-value {
                font-size: 1.25rem !important;
                margin: 0.15rem 0 !important;
            }
            .dashboard-comments-card {
                padding: 0.65rem 0.65rem !important;
                margin-top: 0.75rem !important;
            }
            .dashboard-comments-header {
                margin-bottom: 0.45rem !important;
            }
            .dashboard-comments-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 0.35rem !important;
            }
            .comment-kpi-tile {
                padding: 0.45rem 0.5rem !important;
                border-radius: 6px !important;
            }
            .comment-kpi-tile div:nth-child(2) {
                font-size: 1.15rem !important;
                margin: 0.05rem 0 !important;
            }
            .dashboard-analytics-stack {
                gap: 0.75rem !important;
                margin-top: 0.75rem !important;
            }
            .dashboard-card {
                padding: 0.75rem 0.65rem !important;
                border-radius: 10px !important;
            }
            .dashboard-card-header {
                padding-bottom: 0.55rem !important;
                margin-bottom: 0.65rem !important;
            }
            .dashboard-metrics-summary {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 0.35rem !important;
                padding: 0.5rem 0.55rem !important;
                margin-bottom: 0.65rem !important;
            }
            .dashboard-metrics-summary div div {
                font-size: 0.95rem !important;
            }
            .dashboard-metrics-summary div span {
                font-size: 0.6rem !important;
                white-space: nowrap !important;
            }
            .dashboard-chart-wrap {
                height: 200px !important;
                margin-bottom: 0.5rem !important;
            }
            .dashboard-month-nav {
                padding-top: 0.5rem !important;
                font-size: 0.76rem !important;
            }
            .dashboard-bottom-section {
                margin-top: 0.85rem !important;
                padding-top: 0.75rem !important;
            }
            .dashboard-category-summary {
                margin-bottom: 0.55rem !important;
            }
            .quick-actions-section {
                margin-top: 0.5rem !important;
                margin-bottom: 0.85rem !important;
            }
            .quick-actions-title {
                margin-bottom: 0.45rem !important;
                font-size: 0.74rem !important;
            }
            .quick-actions-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 0.45rem !important;
            }
            .quick-action-card {
                padding: 0.5rem 0.6rem !important;
                gap: 0.35rem !important;
                border-radius: 8px !important;
                min-height: auto !important;
            }
            .qa-title {
                font-size: 0.78rem !important;
                font-weight: 750 !important;
                line-height: 1.25 !important;
            }
            .qa-desc {
                font-size: 0.66rem !important;
                margin-top: 0.1rem !important;
                line-height: 1.2 !important;
            }
            .qa-arrow {
                display: none !important;
            }
            .editor-surface {
                padding: 0.85rem 0.75rem !important;
            }
            .pro-input-title {
                font-size: 1.35rem !important;
                padding: 0.55rem 0.75rem !important;
            }
            .pro-content-visual {
                min-height: 300px !important;
                padding: 0.85rem !important;
                font-size: 0.95rem !important;
            }
            #view-editor {
                padding-bottom: 6rem !important;
            }
            .pro-content-area {
                min-height: 280px !important;
                padding: 0.85rem !important;
                font-size: 0.9rem !important;
            }
            .admin-table {
                min-width: 620px;
            }
            .admin-table th, .admin-table td {
                padding: 0.65rem 0.75rem !important;
                font-size: 0.78rem !important;
            }

            /* Top Posts Table Mobile Fit (No Horizontal Scroll, Full Visibility) */
            .top-posts-table {
                min-width: 0 !important;
                width: 100% !important;
                table-layout: fixed !important;
            }
            .top-posts-table th,
            .top-posts-table td {
                padding: 0.36rem 0.25rem !important;
                font-size: 0.75rem !important;
                line-height: 1.3 !important;
            }
            .top-posts-table th:first-child,
            .top-posts-table td:first-child {
                width: 24px !important;
                text-align: center !important;
                padding: 0.36rem 0.15rem !important;
                font-size: 0.72rem !important;
                color: var(--text-muted) !important;
            }
            .top-posts-table th:nth-child(2),
            .top-posts-table td:nth-child(2) {
                padding: 0.36rem 0.35rem !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                white-space: nowrap !important;
            }
            .top-posts-table td:nth-child(2) a {
                display: block !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                white-space: nowrap !important;
                max-width: 100% !important;
                line-height: 1.3 !important;
            }
            .top-posts-table th:last-child,
            .top-posts-table td:last-child {
                width: 62px !important;
                text-align: right !important;
                padding-right: 0.35rem !important;
                font-size: 0.72rem !important;
                font-family: var(--font-mono) !important;
                white-space: nowrap !important;
            }

            /* Directlink Mobile Responsive ("Burger" Stacked Cards, No Horizontal Scroll) */
            .redirect-desktop-table {
                display: none !important;
            }
            .redirect-mobile-cards-wrap {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.65rem !important;
                width: 100% !important;
            }
            .redirect-card-item {
                background: var(--bg-surface) !important;
                border: 1px solid var(--border-subtle) !important;
                border-radius: 10px !important;
                padding: 0.75rem 0.85rem !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 0.5rem !important;
                box-shadow: var(--shadow-xs) !important;
                box-sizing: border-box !important;
            }
            .redirect-card-top {
                display: flex !important;
                justify-content: space-between !important;
                align-items: center !important;
                gap: 0.4rem !important;
                flex-wrap: wrap !important;
            }
            .redirect-flow-burger {
                background: var(--bg-surface-subtle) !important;
                border: 1px solid var(--border-subtle) !important;
                border-radius: 8px !important;
                padding: 0.55rem 0.65rem !important;
                display: flex !important;
                flex-direction: column !important;
                gap: 0.35rem !important;
            }
            .redirect-flow-layer {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.15rem !important;
            }
            .redirect-flow-label {
                font-size: 0.64rem !important;
                font-weight: 750 !important;
                text-transform: uppercase !important;
                color: var(--text-muted) !important;
                letter-spacing: 0.04em !important;
            }
            .redirect-flow-path {
                font-family: var(--font-mono) !important;
                font-size: 0.78rem !important;
                word-break: break-all !important;
                font-weight: 600 !important;
                line-height: 1.35 !important;
            }
            .redirect-path-source {
                color: #ea580c !important;
            }
            .redirect-path-target {
                color: #16a34a !important;
            }
            .redirect-flow-arrow {
                display: flex !important;
                align-items: center !important;
                gap: 0.35rem !important;
                color: var(--text-muted) !important;
                padding-left: 0.15rem !important;
                font-size: 0.72rem !important;
            }
            .redirect-card-actions {
                display: flex !important;
                justify-content: flex-end !important;
                align-items: center !important;
                gap: 0.4rem !important;
                border-top: 1px solid var(--border-subtle) !important;
                padding-top: 0.45rem !important;
            }
            .redirect-kpi-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 0.35rem !important;
                margin-bottom: 0.85rem !important;
            }
            .redirect-kpi-grid .kpi-card {
                padding: 0.55rem 0.45rem !important;
                border-radius: 8px !important;
            }
            .redirect-kpi-grid .kpi-card > div:first-child {
                font-size: 0.6rem !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }
            .redirect-kpi-grid .kpi-value {
                font-size: 1.15rem !important;
                margin: 0.1rem 0 !important;
            }
            .redirect-kpi-grid .kpi-card > div:last-child {
                font-size: 0.6rem !important;
                white-space: nowrap !important;
                overflow: hidden !important;
                text-overflow: ellipsis !important;
            }
            .redirect-header-wrap {
                margin-bottom: 0.75rem !important;
                gap: 0.5rem !important;
            }
            .redirect-header-wrap h2 {
                font-size: 1.15rem !important;
            }
            .redirect-header-wrap p {
                font-size: 0.75rem !important;
            }
            .redirect-add-btn {
                width: 100% !important;
                justify-content: center !important;
                padding: 0.5rem 0.85rem !important;
            }
            .admin-modal-box {
                padding: 1.25rem !important;
                width: 95% !important;
            }
            .modal-media-selector-box {
                width: 96% !important;
                max-width: 96% !important;
                max-height: 92vh !important;
                padding: 0.85rem !important;
                border-radius: 12px !important;
            }
            #modal-media-grid {
                grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)) !important;
                gap: 0.5rem !important;
            }

            /* Mobile Settings Panel Fixes (No Overflows, Perfect 100% Width) */
            #view-settings {
                width: 100% !important;
                max-width: 100% !important;
                box-sizing: border-box !important;
                overflow-x: hidden !important;
            }
            #view-settings * {
                box-sizing: border-box !important;
            }
            #view-settings .editor-surface {
                width: 100% !important;
                max-width: 100% !important;
                padding: 1rem 0.85rem !important;
                box-sizing: border-box !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
            }
            .settings-form-grid {
                display: flex !important;
                flex-direction: column !important;
                gap: 1.25rem !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
            }
            .settings-subgrid {
                display: flex !important;
                flex-direction: column !important;
                gap: 1rem !important;
                width: 100% !important;
                min-width: 0 !important;
            }
            .settings-guide-grid {
                display: flex !important;
                flex-direction: column !important;
                gap: 0.75rem !important;
                width: 100% !important;
            }
            .settings-guide-card {
                width: 100% !important;
                box-sizing: border-box !important;
            }
            .ticker-preview-bar {
                max-width: 100% !important;
                overflow: hidden !important;
                box-sizing: border-box !important;
            }
            .ticker-preview-text {
                overflow: hidden !important;
                text-overflow: ellipsis !important;
                white-space: nowrap !important;
                font-size: 0.76rem !important;
            }
            .ticker-btn-grid {
                display: flex !important;
                flex-wrap: wrap !important;
                gap: 0.4rem !important;
            }
                        .ticker-btn-grid .btn {
                padding: 0.45rem 0.65rem !important;
                font-size: 0.78rem !important;
                min-height: 34px !important;
            }
        }

        /* GLOBAL STYLES FOR SETTINGS SUB-TABS (DESKTOP & MOBILE) */
        .settings-segmented-bar {
            display: grid !important;
            grid-template-columns: repeat(5, 1fr) !important;
            background: var(--bg-surface-subtle) !important;
            padding: 4px !important;
            border-radius: 8px !important;
            border: 1px solid var(--border-subtle) !important;
            margin-bottom: 1.25rem !important;
            gap: 4px !important;
            width: 100% !important;
            max-width: 780px !important;
            box-sizing: border-box !important;
        }
        .settings-subtab-btn {
            background: transparent !important;
            color: var(--text-muted) !important;
            border: none !important;
            border-radius: 6px !important;
            padding: 0.55rem 0.25rem !important;
            font-size: 0.8rem !important;
            font-weight: 700 !important;
            text-align: center !important;
            cursor: pointer !important;
            transition: all 0.15s ease !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 0.35rem !important;
            width: 100% !important;
            white-space: nowrap !important;
        }
        .settings-subtab-btn svg {
            flex-shrink: 0 !important;
        }
        .settings-subtab-btn:hover {
            color: var(--text-primary) !important;
            background: rgba(0, 0, 0, 0.04) !important;
        }
        [data-theme="dark"] .settings-subtab-btn:hover {
            background: rgba(255, 255, 255, 0.05) !important;
        }
        .settings-subtab-btn.active {
            background: var(--primary) !important;
            color: #ffffff !important;
            box-shadow: 0 1px 4px rgba(0,0,0,0.18) !important;
            font-weight: 800 !important;
        }
        .settings-subtab-btn.active svg {
            stroke: #ffffff !important;
        }

        @media (max-width: 640px) {
            .settings-segmented-bar {
                gap: 2px !important;
                padding: 2px !important;
            }
            .settings-subtab-btn {
                padding: 0.45rem 0.1rem !important;
                font-size: 0.72rem !important;
                gap: 0.18rem !important;
                letter-spacing: -0.2px !important;
            }
            .settings-subtab-btn svg {
                width: 12px !important;
                height: 12px !important;
            }
        }

        /* GLOBAL STYLES FOR USER CARDS (TABLE CARD VIEW) */
        #view-users {
            width: 100% !important;
            max-width: 100% !important;
            box-sizing: border-box !important;
            overflow-x: hidden !important;
            min-width: 0 !important;
        }
        #view-users * {
            box-sizing: border-box !important;
        }
        .user-cards-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
            gap: 1rem !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            box-sizing: border-box !important;
            padding-bottom: 5.5rem !important;
        }
        .user-card-item {
            background: var(--bg-surface) !important;
            border: 1px solid var(--border-subtle) !important;
            border-radius: 12px !important;
            padding: 1.15rem !important;
            box-shadow: var(--shadow-sm) !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            transition: transform 0.15s ease, box-shadow 0.15s ease !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            overflow: hidden !important;
            box-sizing: border-box !important;
        }
        
        /* GLOBAL STYLES FOR AD CARDS (TABLE CARD VIEW) */
        .ad-cards-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
            gap: 1rem !important;
            width: 100% !important;
            box-sizing: border-box !important;
        }
        .ad-card-item {
            background: var(--bg-surface) !important;
            border: 1px solid var(--border-subtle) !important;
            border-radius: 12px !important;
            padding: 1.15rem !important;
            box-shadow: var(--shadow-sm) !important;
            display: flex !important;
            flex-direction: column !important;
            justify-content: space-between !important;
            transition: transform 0.15s ease, box-shadow 0.15s ease !important;
            box-sizing: border-box !important;
        }
        .ad-card-item:hover {
            box-shadow: var(--shadow-md) !important;
            border-color: rgba(16, 185, 129, 0.35) !important;
        }
        @media (max-width: 640px) {
            .ad-cards-grid {
                grid-template-columns: 1fr !important;
            }
        }

        .user-card-item:hover {
            box-shadow: var(--shadow-md) !important;
            border-color: rgba(16, 185, 129, 0.35) !important;
        }
        @media (max-width: 640px) {
            .user-cards-grid {
                grid-template-columns: 1fr !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
            }
            .user-card-item {
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                padding: 1rem 0.85rem !important;
            }
        }

        /* PURE CSS: FAKTA OR NOT BADGE */
        .fakta-or-not-badge {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            height: 36px;
            padding: 0 14px;
            background: linear-gradient(
                109deg,
                #1e6eeb 0%,
                #1e6eeb calc(50% - 3px),
                #ffffff calc(50% - 3px),
                #ffffff calc(50% + 3px),
                #f48c14 calc(50% + 3px),
                #f48c14 100%
            );
            border-radius: 5px;
            user-select: none;
            text-decoration: none;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            overflow: hidden;
            line-height: 1;
            flex-shrink: 0;
            box-sizing: border-box;
        }
        .fakta-or-not-badge .fon-text-fakta {
            color: #ffffff;
            font-size: 1.15rem;
            font-weight: 900;
            letter-spacing: -0.5px;
            text-transform: lowercase;
            padding-right: 16px;
            font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
        }
        .fakta-or-not-badge .fon-circle-or {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background-color: #20252b;
            color: #f59e1b;
            font-size: 0.65rem;
            font-weight: 900;
            display: flex;
            align-items: center;
            justify-content: center;
            text-transform: lowercase;
            z-index: 3;
        }
        .fakta-or-not-badge .fon-text-not {
            color: #ffffff;
            font-size: 1.15rem;
            font-weight: 900;
            letter-spacing: -0.4px;
            text-transform: lowercase;
            padding-left: 16px;
            font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
        }
        .fakta-or-not-badge.fon-sm {
            height: 24px;
            padding: 0 8px;
            border-radius: 4px;
        }
        .fakta-or-not-badge.fon-sm .fon-text-fakta {
            font-size: 0.8rem;
            padding-right: 10px;
        }
        .fakta-or-not-badge.fon-sm .fon-text-not {
            font-size: 0.8rem;
            padding-left: 10px;
        }
        .fakta-or-not-badge.fon-sm .fon-circle-or {
            width: 15px;
            height: 15px;
            font-size: 0.48rem;
        }

        /* ========================================== */
        /* NEWSROOM INTERNAL CHAT & DISPATCH SYSTEM   */
        /* ========================================== */
        .chat-drawer-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(4px);
            z-index: 5500;
            display: none;
            justify-content: flex-end;
        }
        .chat-drawer-backdrop.active {
            display: flex !important;
        }
        .chat-drawer-panel {
            background: var(--bg-surface, #ffffff);
            border-left: 1px solid var(--border-subtle, #e2e8f0);
            width: 100%;
            max-width: 400px;
            height: 100vh;
            height: 100dvh;
            max-height: 100dvh;
            display: flex;
            flex-direction: column;
            box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
            animation: chatDrawerSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }
        @keyframes chatDrawerSlideIn {
            from { transform: translateX(100%); }
            to { transform: translateX(0); }
        }
        .chat-drawer-header {
            padding: 0.85rem 1rem;
            border-bottom: 1px solid var(--border-subtle);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: var(--bg-surface);
        }
        .btn-chat-icon {
            background: none;
            border: none;
            padding: 0.35rem;
            border-radius: 6px;
            cursor: pointer;
            color: var(--text-muted);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
        }
        .btn-chat-icon:hover {
            background: var(--bg-surface-subtle);
            color: var(--text-primary);
        }
        .chat-contact-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.65rem 1rem;
            cursor: pointer;
            border-bottom: 1px solid var(--border-subtle);
            transition: background 0.15s ease;
        }
        .chat-contact-item:hover {
            background: var(--bg-surface-subtle);
        }
        .chat-bubble-me {
            align-self: flex-end;
            background: #0B192C;
            color: #ffffff;
            padding: 0.6rem 0.85rem;
            border-radius: 14px 14px 2px 14px;
            max-width: 82%;
            font-size: 0.82rem;
            line-height: 1.45;
            word-break: break-word;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        .dark-theme .chat-bubble-me {
            background: #1e3a8a;
            color: #f8fafc;
        }
        .chat-bubble-other {
            align-self: flex-start;
            background: var(--bg-surface-subtle, #f1f5f9);
            color: var(--text-primary, #1e293b);
            padding: 0.6rem 0.85rem;
            border-radius: 14px 14px 14px 2px;
            max-width: 82%;
            font-size: 0.82rem;
            line-height: 1.45;
            word-break: break-word;
            border: 1px solid var(--border-subtle);
        }
        .chat-bubble-broadcast {
            align-self: center;
            background: rgba(245, 158, 11, 0.12);
            border: 1px solid rgba(245, 158, 11, 0.35);
            color: var(--text-primary);
            padding: 0.65rem 0.95rem;
            border-radius: 10px;
            max-width: 90%;
            font-size: 0.8rem;
            line-height: 1.45;
            text-align: center;
        }

        .chat-bottom-input-wrap {
            padding: 0.85rem 1rem calc(env(safe-area-inset-bottom, 0px) + 2rem) 1rem;
            border-top: 1px solid var(--border-subtle);
            background: var(--bg-surface);
            display: flex;
            flex-direction: column;
            gap: 0.45rem;
            position: relative;
            z-index: 25;
            box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
            flex-shrink: 0;
        }

        @media (max-width: 768px) {
            .chat-drawer-panel {
                max-width: 100% !important;
                height: 100dvh !important;
                max-height: 100dvh !important;
            }
            .chat-bottom-input-wrap {
                padding-bottom: max(3.5rem, calc(env(safe-area-inset-bottom) + 3rem)) !important;
            }
            #chat-messages-container {
                padding-bottom: 2rem !important;
            }
        }
