        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

        :root {
            --c-brand: #0ea5e9;
            --c-brand-dark: #0284c7;
            --c-surface: #ffffff;
            --c-text: #0f172a;
            --c-border: rgba(226, 232, 240, 0.8);
            --c-danger: #ef4444;
            --c-success: #10b981;
            --r-card: 28px;
            --r-btn: 12px;
        }

        *, *::before, *::after {
            box-sizing: border-box;
        }

        body, html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            color: #0f172a;
            overscroll-behavior: none;
            transition: background 0.4s ease, color 0.4s ease;
        }

        #bg-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            pointer-events: none;
            /* Kendi GPU composite layer'ında izole — sayfanın geri kalanını etkilemez */
            transform: translateZ(0);
            will-change: transform;
            contain: strict;
        }

        /* ANİMASYONLAR */
        .fade-in-up {
            opacity: 0;
            transform: translateY(30px);
            filter: blur(8px);
            animation: springUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        }

        .delay-1 { animation-delay: 0.1s; }
        .delay-2 { animation-delay: 0.2s; }
        .delay-3 { animation-delay: 0.3s; }
        .delay-4 { animation-delay: 0.4s; }
        .delay-5 { animation-delay: 0.5s; }

        @keyframes springUp {
            to {
                opacity: 1;
                transform: translateY(0);
                filter: blur(0);
            }
        }

        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            14% { transform: scale(1.12); }
            28% { transform: scale(1); }
            42% { transform: scale(1.06); }
            56% { transform: scale(1); }
        }

        @keyframes followupGradientFlow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes followupNavHeartbeat {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 4px 16px rgba(239, 68, 68, 0.22);
            }
            18% {
                transform: scale(1.045);
                box-shadow: 0 10px 28px rgba(239, 68, 68, 0.42);
            }
            36% {
                transform: scale(1);
                box-shadow: 0 4px 16px rgba(239, 68, 68, 0.22);
            }
            54% {
                transform: scale(1.03);
                box-shadow: 0 8px 24px rgba(249, 115, 22, 0.34);
            }
            72% {
                transform: scale(1);
            }
        }

        @keyframes accentFlow {
            0%, 100% { background-position: 0% 0%; }
            50% { background-position: 0% 100%; }
        }

        .text-pulse-danger {
            color: #be123c !important;
            font-weight: 900 !important;
            animation: heartbeat 1s ease-in-out 2;
            display: inline-block;
        }

        /* --- PERSONEL GİRİŞ EKRANI --- */
        #auth-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 20000;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: opacity 0.14s ease;
            background: rgba(226, 232, 240, 0.85);
        }

        body.auth-pending #auth-overlay,
        body.auth-session-restored #auth-overlay {
            background: rgba(235, 243, 251, 0.32);
            backdrop-filter: blur(14px) saturate(135%);
            -webkit-backdrop-filter: blur(14px) saturate(135%);
        }

        body.dark-theme #auth-overlay {
            background: rgba(15, 23, 42, 0.9);
        }

        body.dark-theme.auth-pending #auth-overlay,
        body.dark-theme.auth-session-restored #auth-overlay {
            background: rgba(2, 6, 23, 0.34);
        }

        .auth-session-loader {
            display: none;
            width: min(64vw, 230px);
            padding: 20px 18px;
            border: 1px solid rgba(255, 255, 255, 0.78);
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.38);
            box-shadow:
                0 16px 42px rgba(15, 23, 42, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(20px) saturate(160%);
            -webkit-backdrop-filter: blur(20px) saturate(160%);
            color: #0f172a;
            text-align: center;
        }

        body.auth-pending #auth-overlay .auth-login-card,
        body.auth-session-restored #auth-overlay .auth-login-card {
            display: none !important;
        }

        body.auth-pending #auth-overlay .auth-session-loader,
        body.auth-session-restored #auth-overlay .auth-session-loader {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 9px;
        }

        .auth-session-loader-logo {
            width: 122px;
            max-width: 72%;
            margin-bottom: 3px;
        }

        .auth-session-loader-logo img {
            display: block;
            width: 100%;
            height: auto;
        }

        .auth-session-spinner {
            width: 22px;
            height: 22px;
            margin: 3px 0;
            border: 2px solid rgba(14, 165, 233, 0.15);
            border-top-color: #0ea5e9;
            border-radius: 50%;
            animation: authSessionSpin 0.72s linear infinite;
        }

        .auth-session-loader strong {
            font-size: 12px;
            font-weight: 900;
        }

        .auth-session-loader small {
            color: #64748b;
            font-size: 9px;
            font-weight: 650;
        }

        body.dark-theme .auth-session-loader {
            border-color: rgba(186, 230, 253, 0.18);
            background: rgba(15, 23, 42, 0.76);
            color: #f8fafc;
            box-shadow:
                0 24px 70px rgba(2, 6, 23, 0.48),
                inset 0 1px 0 rgba(226, 232, 240, 0.12);
        }

        body.dark-theme .auth-session-loader small {
            color: #94a3b8;
        }

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

        #main-card, #nav-menu, .theme-btn-container {
            display: none;
        }

        /* YÖNETİCİ GİRİŞ BUTONU (KALKAN) */
        #admin-trigger {
            display: none;
            position: fixed;
            bottom: 25px;
            left: 25px;
            width: 50px;
            height: 50px;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 99999;
            border: 1px solid rgba(255,255,255,0.9);
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            font-size: 22px;
            transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
            color: #475569;
            pointer-events: auto;
        }

        #admin-trigger:hover {
            transform: scale(1.1);
            background: #ffffff;
            color: #0ea5e9;
            box-shadow: 0 8px 25px rgba(14,165,233,0.3);
        }

        body.dark-theme #admin-trigger {
            background: rgba(15, 23, 42, 0.92);
            border-color: rgba(56, 189, 248, 0.32);
            color: #38bdf8;
            box-shadow: 0 10px 24px rgba(2, 6, 23, 0.36);
        }

        body.dark-theme #admin-trigger:hover {
            background: #0f172a;
            color: #7dd3fc;
        }

        /* MENÜLER VE BUTONLAR */
        .nav-container {
            position: fixed;
            top: 25px;
            right: 25px;
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 12px;
            pointer-events: auto;
            align-items: flex-end;
            isolation: isolate;
        }

        .nav-container .sys-btn {
            transform: translate3d(0, 0, 0);
            transform-origin: center right;
            backface-visibility: hidden;
            contain: layout style paint;
            transition:
                transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
                background 0.2s ease,
                color 0.2s ease,
                border-color 0.2s ease;
        }

        .nav-container .sys-btn:hover,
        .nav-container .sys-btn:focus-visible {
            transform: scale(1.32) translateY(-6px) translate3d(0, 0, 0) !important;
            will-change: transform;
            z-index: 5;
        }

        .nav-container .sys-btn:not(.profile-btn):not(.highlight-btn):not(.logout-btn):not(.followup-nav-btn):hover,
        .nav-container .sys-btn:not(.profile-btn):not(.highlight-btn):not(.logout-btn):not(.followup-nav-btn):focus-visible {
            background: rgba(255, 255, 255, 1);
            border-color: #0ea5e9;
            color: #0ea5e9;
            box-shadow:
                0 0 32px rgba(14, 165, 233, 0.55),
                0 22px 48px rgba(14, 165, 233, 0.35) !important;
        }

        .nav-container .logout-btn:hover,
        .nav-container .logout-btn:focus-visible {
            border-color: #ef4444 !important;
            color: #ef4444 !important;
            box-shadow:
                0 0 32px rgba(239, 68, 68, 0.65),
                0 22px 48px rgba(239, 68, 68, 0.35) !important;
        }

        .nav-container .followup-nav-btn.has-followups:hover,
        .nav-container .followup-nav-btn.has-followups:focus-visible {
            box-shadow:
                0 0 32px rgba(239, 68, 68, 0.55),
                0 22px 48px rgba(239, 68, 68, 0.3) !important;
        }

        .nav-container .followup-nav-btn.has-high-followups:hover,
        .nav-container .followup-nav-btn.has-high-followups:focus-visible {
            box-shadow:
                0 0 36px rgba(249, 115, 22, 0.75),
                0 0 48px rgba(239, 68, 68, 0.45),
                0 22px 48px rgba(239, 68, 68, 0.4) !important;
        }

        .nav-container .followup-nav-btn:hover .followup-nav-icon,
        .nav-container .followup-nav-btn:focus-visible .followup-nav-icon {
            transform: scale(1.2) rotate(-6deg);
        }

        .sys-btn {
            position: relative;
            overflow: hidden;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            color: #0f172a;
            padding: 12px 24px;
            border-radius: 14px;
            width: 100%;
            text-decoration: none;
            font-weight: 800;
            font-size: 11px;
            border: 1px solid rgba(255,255,255,0.9);
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .sys-btn:hover {
            background: rgba(255,255,255,1);
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 12px 25px rgba(14,165,233,0.15);
            border-color: #0ea5e9;
            color: #0ea5e9;
        }

        .logout-btn:hover {
            border-color: #ef4444 !important;
            color: #ef4444 !important;
            box-shadow: 0 12px 25px rgba(239,68,68,0.15) !important;
        }

        .profile-btn {
            background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
            color: white !important;
            border: none !important;
            box-shadow: 0 4px 15px rgba(14,165,233,0.3) !important;
        }

        .profile-btn:hover {
            box-shadow: 0 8px 25px rgba(14,165,233,0.5) !important;
        }

        .dark-text-fix { color: #0f172a; }
        body.dark-theme .dark-text-fix { color: #f8fafc !important; }

        .theme-btn-container {
            position: fixed;
            bottom: 25px;
            right: 25px;
            z-index: 100;
            pointer-events: auto;
        }

        .theme-panel {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            width: max-content;
        }

        .theme-accent-row {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        .accent-swatch {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 5px 11px 5px 7px;
            border-radius: 999px;
            border: 1.5px solid rgba(255, 255, 255, 0.55);
            background: rgba(255, 255, 255, 0.28);
            backdrop-filter: blur(14px) saturate(1.2);
            -webkit-backdrop-filter: blur(14px) saturate(1.2);
            cursor: pointer;
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: 0.02em;
            color: rgba(15, 23, 42, 0.65);
            transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .accent-swatch:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(0,0,0,0.13);
        }

        .accent-swatch-dot {
            width: 11px;
            height: 11px;
            border-radius: 50%;
            flex-shrink: 0;
            transition: box-shadow 0.22s ease;
        }

        .accent-swatch-blue .accent-swatch-dot {
            background: linear-gradient(135deg, #0ea5e9, #2563eb);
            box-shadow: 0 0 6px rgba(14, 165, 233, 0.5);
        }

        .accent-swatch-red .accent-swatch-dot {
            background: linear-gradient(135deg, #ef4444, #b91c1c);
            box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
        }

        .accent-swatch-signature {
            width: 100%;
            min-height: 31px;
            justify-content: center;
            gap: 8px;
            padding: 6px 14px;
            border-color: rgba(154, 0, 2, 0.20);
            background:
                linear-gradient(135deg, rgba(239, 230, 221, 0.84), rgba(255, 251, 246, 0.42)),
                radial-gradient(circle at 16% 22%, rgba(154, 0, 2, 0.18), transparent 32px);
            color: #5f1111;
            box-shadow:
                0 8px 18px rgba(95, 17, 17, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.82);
        }

        .accent-signature-mark {
            width: 28px;
            height: 14px;
            display: inline-grid;
            grid-template-columns: 1fr 1fr;
            overflow: hidden;
            border-radius: 999px;
            border: 1px solid rgba(154, 0, 2, 0.28);
            box-shadow:
                0 0 0 2px rgba(239, 230, 221, 0.68),
                0 5px 12px rgba(154, 0, 2, 0.16);
        }

        .accent-signature-cream {
            background: #efe6dd;
        }

        .accent-signature-cherry {
            background: #9a0002;
        }

        .accent-swatch[aria-pressed="true"] {
            border-color: rgba(255, 255, 255, 0.88);
            background: rgba(255, 255, 255, 0.60);
            color: rgba(15, 23, 42, 0.85);
            box-shadow: 0 4px 14px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
        }

        .accent-swatch-signature[aria-pressed="true"] {
            border-color: rgba(154, 0, 2, 0.42);
            background:
                linear-gradient(135deg, rgba(239, 230, 221, 0.96), rgba(255, 250, 244, 0.78)),
                radial-gradient(circle at 88% 44%, rgba(154, 0, 2, 0.18), transparent 34px);
            color: #4d0708;
            box-shadow:
                0 10px 24px rgba(95, 17, 17, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.96),
                inset 0 -8px 18px rgba(154, 0, 2, 0.08);
        }

        .accent-swatch-lime {
            width: 100%;
            min-height: 31px;
            justify-content: center;
            gap: 8px;
            padding: 6px 14px;
            margin-top: 6px;
            border-color: rgba(182, 255, 46, 0.65);
            background:
                linear-gradient(135deg, rgba(246, 250, 238, 0.96), rgba(233, 243, 217, 0.90)),
                radial-gradient(circle at 18% 50%, rgba(182, 255, 46, 0.35), transparent 40px);
            color: #17191e;
            font-weight: 700;
            box-shadow:
                0 8px 18px rgba(35, 38, 47, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.95);
        }

        .accent-swatch-lime .accent-swatch-lime-dot {
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background: linear-gradient(135deg, #b6ff2e, #84cc16);
            box-shadow: 0 0 10px rgba(182, 255, 46, 0.85);
            flex-shrink: 0;
        }

        .accent-swatch-lime[aria-pressed="true"] {
            border-color: #84cc16;
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(220, 234, 192, 0.95)),
                radial-gradient(circle at 85% 50%, rgba(182, 255, 46, 0.40), transparent 42px);
            color: #0f1115;
            box-shadow: 0 0 16px rgba(182, 255, 46, 0.45), inset 0 1px 0 rgba(255, 255, 255, 1);
        }

        body.dark-theme .accent-swatch-lime {
            border-color: rgba(182, 255, 46, 0.40);
            background:
                linear-gradient(135deg, rgba(35, 38, 47, 0.95), rgba(23, 25, 30, 0.98)),
                radial-gradient(circle at 18% 50%, rgba(182, 255, 46, 0.25), transparent 40px);
            color: #b6ff2e;
            box-shadow:
                0 8px 18px rgba(0, 0, 0, 0.28),
                inset 0 1px 0 rgba(182, 255, 46, 0.28);
        }

        body.dark-theme .accent-swatch-lime[aria-pressed="true"] {
            border-color: #b6ff2e;
            background:
                linear-gradient(135deg, rgba(35, 38, 47, 0.99), rgba(15, 17, 21, 0.99)),
                radial-gradient(circle at 85% 50%, rgba(182, 255, 46, 0.35), transparent 42px);
            color: #b6ff2e;
            box-shadow: 0 0 16px rgba(182, 255, 46, 0.42), inset 0 1px 0 rgba(182, 255, 46, 0.6);
        }

        body.dark-theme .accent-swatch {
            border-color: rgba(255, 255, 255, 0.18);
            background: rgba(15, 23, 42, 0.55);
            color: rgba(203, 213, 225, 0.75);
        }

        body.dark-theme .accent-swatch:hover {
            background: rgba(30, 41, 59, 0.7);
        }

        body.dark-theme .accent-swatch[aria-pressed="true"] {
            border-color: rgba(255, 255, 255, 0.32);
            background: rgba(30, 41, 59, 0.88);
            color: #f1f5f9;
        }

        body.dark-theme .accent-swatch-signature {
            border-color: rgba(239, 230, 221, 0.20);
            background:
                linear-gradient(135deg, rgba(48, 12, 12, 0.76), rgba(16, 10, 10, 0.74)),
                radial-gradient(circle at 12% 12%, rgba(239, 230, 221, 0.13), transparent 32px);
            color: #efe6dd;
            box-shadow:
                0 10px 24px rgba(0, 0, 0, 0.26),
                inset 0 1px 0 rgba(239, 230, 221, 0.12);
        }

        body.dark-theme .accent-swatch-signature[aria-pressed="true"] {
            border-color: rgba(239, 230, 221, 0.46);
            background:
                linear-gradient(135deg, rgba(75, 13, 14, 0.94), rgba(26, 12, 12, 0.9)),
                radial-gradient(circle at 90% 42%, rgba(239, 230, 221, 0.18), transparent 34px);
            color: #fff7ef;
            box-shadow:
                0 0 20px rgba(154, 0, 2, 0.30),
                inset 0 1px 0 rgba(239, 230, 221, 0.18),
                inset 0 -8px 18px rgba(154, 0, 2, 0.18);
        }

        /* Dark-red tema: accent swatch */
        body.dark-theme.accent-red:not(.admin-panel-open) .accent-swatch {
            border-color: rgba(248, 113, 113, 0.22);
            background: rgba(10, 0, 20, 0.55);
            color: rgba(252, 165, 165, 0.7);
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .accent-swatch[aria-pressed="true"] {
            border-color: rgba(255, 50, 80, 0.52);
            background: rgba(20, 0, 15, 0.88);
            color: #fca5a5;
        }

        /* Light-red tema: accent swatch */
        body.accent-red:not(.admin-panel-open) .accent-swatch {
            border-color: rgba(254, 202, 202, 0.7);
            background: rgba(255, 255, 255, 0.45);
            color: rgba(153, 27, 27, 0.8);
        }

        body.accent-red:not(.admin-panel-open) .accent-swatch[aria-pressed="true"] {
            border-color: rgba(220, 38, 38, 0.55);
            background: rgba(255, 255, 255, 0.72);
            color: #991b1b;
        }

        .glass-theme-switch {
            width: 148px;
            height: 50px;
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16));
            border: 1px solid rgba(255, 255, 255, 0.72);
            backdrop-filter: blur(22px) saturate(1.22);
            -webkit-backdrop-filter: blur(22px) saturate(1.22);
            box-shadow:
                0 16px 38px rgba(15, 23, 42, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.78),
                inset 0 -12px 24px rgba(14, 165, 233, 0.08);
            position: relative;
            cursor: pointer;
            overflow: hidden;
            touch-action: none;
            user-select: none;
            display: flex;
            align-items: center;
            isolation: isolate;
        }

        /* Birleşik tema kontrolü (tek buton, yatay kaydırma) */
        .glass-theme-unified.theme-drag-mode {
            cursor: ew-resize;
        }

        .glass-theme-unified .switch-handle {
            transform: translateX(0);
        }

        body.dark-theme .glass-theme-unified .switch-handle {
            transform: translateX(98px);
        }

        .handle-accent-chip {
            position: absolute;
            bottom: 5px;
            left: 50%;
            width: 20px;
            height: 4px;
            margin-left: -10px;
            border-radius: 999px;
            background: linear-gradient(90deg, #0ea5e9, #2563eb);
            box-shadow: 0 0 8px rgba(14, 165, 233, 0.45);
            transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
            pointer-events: none;
        }

        .glass-theme-unified.accent-red-active .handle-accent-chip {
            background: linear-gradient(90deg, #ef4444, #dc2626);
            box-shadow: 0 0 8px rgba(239, 68, 68, 0.45);
        }

        .glass-theme-unified.accent-signature-active .handle-accent-chip {
            background: linear-gradient(90deg, #efe6dd 0 46%, #9a0002 46% 100%);
            box-shadow:
                0 0 0 1px rgba(154, 0, 2, 0.12),
                0 0 10px rgba(154, 0, 2, 0.38);
        }

        .glass-theme-unified.accent-lime-active .handle-accent-chip {
            background: linear-gradient(90deg, #b6ff2e 0%, #23262f 100%);
            box-shadow:
                0 0 0 1px rgba(182, 255, 46, 0.3),
                0 0 12px rgba(182, 255, 46, 0.75);
        }

        .glass-theme-unified.theme-drag-accent .handle-accent-chip {
            transition: none;
        }

        body.dark-theme .glass-theme-unified .handle-accent-chip {
            bottom: 4px;
        }

        .switch-bg {
            position: absolute;
            inset: 0;
            transition: opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
            pointer-events: none;
        }

        .day-bg {
            background:
                radial-gradient(circle at 25px 22px, rgba(254, 240, 138, 0.36), transparent 32px),
                linear-gradient(135deg, rgba(14, 165, 233, 0.58), rgba(186, 230, 253, 0.42) 55%, rgba(255, 255, 255, 0.2));
            opacity: 1;
        }

        .night-bg {
            background:
                radial-gradient(circle at 118px 23px, rgba(96, 165, 250, 0.22), transparent 34px),
                linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 27, 75, 0.72));
            opacity: 0;
        }

        @keyframes skyObjectLoop {
            0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.96); }
            10% { opacity: 0.76; }
            48% { opacity: 0.92; transform: translate3d(104px, -2px, 0) scale(1.03); }
            88% { opacity: 0.76; }
            100% { opacity: 0; transform: translate3d(218px, 1px, 0) scale(0.98); }
        }

        @keyframes starObjectLoop {
            0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.72) rotate(0deg); }
            12% { opacity: 0.68; }
            36% { opacity: 1; transform: translate3d(84px, -2px, 0) scale(1.08) rotate(15deg); }
            68% { opacity: 0.88; transform: translate3d(148px, 2px, 0) scale(0.9) rotate(28deg); }
            90% { opacity: 0.54; }
            100% { opacity: 0; transform: translate3d(218px, -1px, 0) scale(0.72) rotate(36deg); }
        }

        .bg-cloud {
            position: absolute;
            z-index: 1;
            pointer-events: none;
            transition: opacity 0.35s ease, filter 0.35s ease;
            fill: rgba(255,255,255,0.86);
            filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.16));
            animation: skyObjectLoop 9s linear infinite;
            will-change: transform, opacity;
        }

        .bg-star {
            position: absolute;
            z-index: 1;
            pointer-events: none;
            transition: opacity 0.35s ease, filter 0.35s ease;
            fill: #facc15;
            filter: drop-shadow(0 0 8px rgba(250, 204, 21, 0.26));
            animation: starObjectLoop 10s linear infinite;
            will-change: transform, opacity;
        }

        .glass-theme-switch:hover .bg-cloud,
        .glass-theme-switch:hover .bg-star {
            filter: drop-shadow(0 5px 12px rgba(56, 189, 248, 0.28));
        }

        .cloud-1 { top: 12px; left: -54px; width: 30px; animation-duration: 10.5s; animation-delay: -2.4s; }
        .cloud-2 { top: 27px; left: -42px; width: 20px; animation-duration: 8.6s; animation-delay: -5.6s; }
        .cloud-3 { top: 17px; left: -32px; width: 16px; animation-duration: 12.2s; animation-delay: -8.1s; }

        .star-1 { top: 12px; left: -34px; width: 9px; animation-duration: 11s; animation-delay: -1.5s; }
        .star-2 { top: 26px; left: -48px; width: 6px; animation-duration: 9.2s; animation-delay: -6.2s; }
        .star-3 { top: 10px; left: -62px; width: 7px; animation-duration: 12.8s; animation-delay: -3.6s; }
        .star-4 { top: 30px; left: -40px; width: 5px; animation-duration: 8.4s; animation-delay: -7.1s; }

        body.dark-theme .glass-theme-switch .bg-cloud { opacity: 0 !important; }
        body:not(.dark-theme) .glass-theme-switch .bg-star { opacity: 0 !important; }

        /* Stranger Things elementleri — varsayılan: gizli */
        .bg-st-cloud,
        .bg-lightning {
            position: absolute;
            z-index: 2;
            pointer-events: none;
            opacity: 0;
        }

        /* Stranger Things bulut animasyonu */
        @keyframes stCloudDrift {
            0%   { opacity: 0; transform: translateX(-10px); }
            12%  { opacity: 1; }
            50%  { opacity: 0.88; transform: translateX(60px); }
            88%  { opacity: 0.75; }
            100% { opacity: 0; transform: translateX(130px); }
        }

        /* Yıldırım animasyonu: ara ara parlama */
        @keyframes stLightningStrike {
            0%, 78%, 100% { opacity: 0; }
            79%  { opacity: 0.95; }
            81%  { opacity: 0; }
            83%  { opacity: 1; filter: drop-shadow(0 0 5px rgba(255,0,50,0.9)); }
            86%  { opacity: 0; }
        }

        /* Yıldırım 2 — biraz farklı zamanlama */
        @keyframes stLightningStrike2 {
            0%, 42%, 100% { opacity: 0; }
            43%  { opacity: 0.85; }
            45%  { opacity: 0; }
            47%  { opacity: 0.7; filter: drop-shadow(0 0 4px rgba(255,30,70,0.8)); }
            49%  { opacity: 0; }
        }

        /* Sadece dark + red modda görünür */
        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .bg-star {
            opacity: 0 !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .bg-st-cloud {
            animation: stCloudDrift linear infinite;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .st-cloud-1 {
            top: 4px; left: -44px; width: 44px;
            animation-duration: 9.5s;
            animation-delay: -1.8s;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .st-cloud-2 {
            top: 22px; left: -36px; width: 36px;
            animation-duration: 7.8s;
            animation-delay: -4.2s;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .st-cloud-3 {
            top: 10px; left: -28px; width: 28px;
            animation-duration: 11.2s;
            animation-delay: -7.0s;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .lt-1 {
            top: 6px; left: 52px; width: 12px; height: 28px;
            animation: stLightningStrike 5.5s ease-in-out infinite;
            animation-delay: -1.1s;
            filter: drop-shadow(0 0 4px rgba(255, 0, 50, 0.85));
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .lt-2 {
            top: 8px; left: 76px; width: 10px; height: 24px;
            animation: stLightningStrike2 7.2s ease-in-out infinite;
            animation-delay: -3.5s;
        }

        body.dark-theme .glass-theme-switch .day-bg { opacity: 0; }
        body.dark-theme .glass-theme-switch .night-bg { opacity: 1; }
        body.dark-theme .glass-theme-switch {
            border-color: rgba(129, 140, 248, 0.56);
            background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.38));
            box-shadow:
                0 18px 42px rgba(2, 6, 23, 0.38),
                inset 0 1px 0 rgba(255, 255, 255, 0.16),
                inset 0 -14px 24px rgba(79, 70, 229, 0.12);
        }

        .switch-handle {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background:
                radial-gradient(circle at 34% 30%, #ffffff 0 30%, rgba(255,255,255,0.88) 62%, rgba(226,232,240,0.94) 100%);
            box-shadow:
                0 10px 22px rgba(15, 23, 42, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                inset 0 -5px 10px rgba(148, 163, 184, 0.18);
            position: absolute;
            left: 3px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.4s ease, box-shadow 0.4s ease;
            z-index: 4;
            pointer-events: none;
        }

        .glass-theme-switch:hover .switch-handle {
            box-shadow:
                0 12px 26px rgba(14, 165, 233, 0.24),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                inset 0 -5px 10px rgba(148, 163, 184, 0.18);
        }

        body.dark-theme .glass-theme-switch:not(.glass-theme-unified) .switch-handle {
            transform: translateX(98px);
            background:
                radial-gradient(circle at 34% 30%, #1f3657 0 32%, #17233b 70%, #101827 100%);
            box-shadow:
                0 12px 28px rgba(2, 6, 23, 0.42),
                0 0 18px rgba(96, 165, 250, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                inset 0 -6px 12px rgba(0, 0, 0, 0.24);
        }

        body.dark-theme .glass-theme-unified .switch-handle {
            transform: translateX(98px);
            background:
                radial-gradient(circle at 34% 30%, #1f3657 0 32%, #17233b 70%, #101827 100%);
            box-shadow:
                0 12px 28px rgba(2, 6, 23, 0.42),
                0 0 18px rgba(96, 165, 250, 0.18),
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                inset 0 -6px 12px rgba(0, 0, 0, 0.24);
        }

            .glass-theme-switch .icon {
            position: absolute;
            width: 23px;
            height: 23px;
            transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .sun-icon { opacity: 1; transform: rotate(0deg) scale(1); }
        .moon-icon { opacity: 0; transform: rotate(-90deg) scale(0.5); }

        body.dark-theme .glass-theme-switch .sun-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }
        body.dark-theme .glass-theme-switch .moon-icon { opacity: 1; transform: rotate(0deg) scale(1); }

        /* Gündüz kırmızı — toggle switch */
        body.accent-red:not(.admin-panel-open) #theme-toggle-btn {
            box-shadow:
                0 16px 38px rgba(185, 28, 28, 0.16),
                inset 0 1px 0 rgba(255, 255, 255, 0.82),
                inset 0 -12px 24px rgba(220, 38, 38, 0.08);
        }

        body.accent-red:not(.admin-panel-open) #theme-toggle-btn.glass-theme-unified {
            border-color: rgba(220, 38, 38, 0.28);
        }

        body.accent-red:not(.admin-panel-open) #theme-toggle-btn .day-bg {
            background:
                radial-gradient(circle at 25px 22px, rgba(220, 38, 38, 0.22), transparent 32px),
                linear-gradient(135deg, rgba(185, 28, 28, 0.40), rgba(249, 115, 22, 0.22) 55%, rgba(255, 255, 255, 0.18));
        }

        body.accent-red:not(.admin-panel-open) #theme-toggle-btn .bg-cloud {
            filter: drop-shadow(0 4px 8px rgba(185, 28, 28, 0.20));
        }

        body.accent-red:not(.admin-panel-open) #theme-toggle-btn:hover .bg-cloud {
            filter: drop-shadow(0 5px 12px rgba(220, 38, 38, 0.30));
        }

        body.accent-red:not(.admin-panel-open) #theme-toggle-btn:hover .switch-handle {
            box-shadow:
                0 12px 26px rgba(185, 28, 28, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.9),
                inset 0 -5px 10px rgba(148, 163, 184, 0.18);
        }

        /* Gece kırmızı — toggle switch (cyberpunk neon) */
        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn {
            border-color: rgba(255, 30, 80, 0.50);
            background: linear-gradient(135deg, rgba(15, 0, 25, 0.88), rgba(5, 0, 20, 0.55));
            box-shadow:
                0 0 28px rgba(255, 0, 60, 0.18),
                0 18px 42px rgba(0, 0, 10, 0.55),
                inset 0 1px 0 rgba(255, 50, 90, 0.14),
                inset 0 -14px 24px rgba(255, 0, 60, 0.10);
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .night-bg {
            background:
                radial-gradient(circle at 118px 23px, rgba(255, 30, 70, 0.30), transparent 34px),
                linear-gradient(135deg, rgba(5, 0, 15, 0.96), rgba(15, 0, 30, 0.80));
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .bg-star {
            fill: #ff2244;
            filter: drop-shadow(0 0 10px rgba(255, 0, 60, 0.70));
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn:hover .bg-star {
            filter: drop-shadow(0 0 14px rgba(255, 0, 60, 0.90));
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .switch-handle {
            background:
                radial-gradient(circle at 34% 30%, #1a0028 0 30%, #120020 65%, #080015 100%);
            box-shadow:
                0 0 22px rgba(255, 0, 60, 0.38),
                0 12px 28px rgba(0, 0, 15, 0.65),
                inset 0 1px 0 rgba(255, 60, 100, 0.18),
                inset 0 -6px 12px rgba(0, 0, 0, 0.35);
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #theme-toggle-btn .moon-icon {
            stroke: #ff2244;
            filter: drop-shadow(0 0 5px rgba(255, 0, 60, 0.80));
        }

        /* Signature tema — Cream Vanilla #efe6dd + Cherry Cola #9a0002 */
        body.accent-signature:not(.admin-panel-open) #theme-toggle-btn {
            border-color: rgba(154, 0, 2, 0.34);
            background: linear-gradient(135deg, rgba(154, 0, 2, 0.12), rgba(239, 230, 221, 0.52));
            box-shadow:
                0 18px 42px rgba(95, 17, 17, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.86),
                inset 0 -12px 24px rgba(154, 0, 2, 0.14);
        }

        body.accent-signature:not(.admin-panel-open) #theme-toggle-btn .day-bg {
            background:
                radial-gradient(circle at 28px 23px, rgba(154, 0, 2, 0.34), transparent 36px),
                radial-gradient(circle at 122px 26px, rgba(239, 230, 221, 0.70), transparent 24px),
                linear-gradient(135deg, rgba(154, 0, 2, 0.28), rgba(239, 230, 221, 0.82) 48%, rgba(154, 0, 2, 0.22));
        }

        body.accent-signature:not(.admin-panel-open) #theme-toggle-btn .bg-cloud {
            fill: rgba(255, 251, 246, 0.92);
            filter: drop-shadow(0 4px 9px rgba(154, 0, 2, 0.18));
        }

        body.accent-signature:not(.admin-panel-open) #theme-toggle-btn:hover .switch-handle {
            box-shadow:
                0 12px 26px rgba(154, 0, 2, 0.22),
                inset 0 1px 0 rgba(255, 255, 255, 0.94),
                inset 0 -5px 10px rgba(154, 0, 2, 0.08);
        }

        body.accent-signature:not(.admin-panel-open) #theme-toggle-btn .sun-icon {
            stroke: #9a0002;
            filter: drop-shadow(0 0 5px rgba(154, 0, 2, 0.28));
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #theme-toggle-btn {
            border-color: rgba(239, 230, 221, 0.46);
            background:
                radial-gradient(circle at 118px 24px, rgba(239, 230, 221, 0.26), transparent 30px),
                linear-gradient(135deg, rgba(68, 13, 14, 0.9), rgba(239, 230, 221, 0.10) 52%, rgba(10, 8, 8, 0.68));
            box-shadow:
                0 0 28px rgba(239, 230, 221, 0.12),
                0 0 26px rgba(154, 0, 2, 0.28),
                0 18px 42px rgba(0, 0, 0, 0.52),
                inset 0 1px 0 rgba(239, 230, 221, 0.22),
                inset 0 -14px 24px rgba(239, 230, 221, 0.10);
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #theme-toggle-btn .night-bg {
            background:
                radial-gradient(circle at 116px 22px, rgba(239, 230, 221, 0.42), transparent 33px),
                radial-gradient(circle at 24px 30px, rgba(154, 0, 2, 0.40), transparent 34px),
                linear-gradient(135deg, rgba(13, 6, 6, 0.94), rgba(74, 12, 13, 0.76) 50%, rgba(239, 230, 221, 0.16));
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #theme-toggle-btn .bg-star {
            fill: #efe6dd;
            filter: drop-shadow(0 0 10px rgba(239, 230, 221, 0.52));
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #theme-toggle-btn .switch-handle {
            background:
                radial-gradient(circle at 34% 28%, rgba(239, 230, 221, 0.30) 0 13%, rgba(154, 0, 2, 0.88) 42%, #1b0708 100%);
            box-shadow:
                0 0 0 1px rgba(239, 230, 221, 0.36),
                0 0 22px rgba(239, 230, 221, 0.14),
                0 0 24px rgba(154, 0, 2, 0.40),
                0 12px 28px rgba(0, 0, 0, 0.60),
                inset 0 1px 0 rgba(239, 230, 221, 0.20),
                inset 0 -6px 12px rgba(0, 0, 0, 0.35);
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #theme-toggle-btn .moon-icon {
            stroke: #efe6dd;
            stroke-width: 3;
            filter:
                drop-shadow(0 0 2px rgba(154, 0, 2, 0.72))
                drop-shadow(0 0 8px rgba(239, 230, 221, 0.54));
        }

        .kontrat-btn-wrapper {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: flex-end;
            align-items: center;
        }

        .highlight-btn {
            background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
            color: white !important;
            border: none !important;
            box-shadow: 0 8px 25px rgba(14,165,233,0.4) !important;
            font-size: 12px;
            padding: 14px 28px;
            z-index: 2;
            border-radius: 16px;
        }

        /* ANA SORGULAMA KARTI */
        .glass-card {
            position: relative;
            z-index: 10;
            background: rgba(255,255,255,0.85);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            will-change: transform;
            padding: 50px 45px;
            border-radius: 36px;
            width: 90%;
            max-width: 460px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            text-align: center;
            border: 1px solid rgba(255,255,255,0.9);
            box-shadow: 0 40px 80px -20px rgba(0,0,0,0.15), inset 0 0 0 1px rgba(255,255,255,0.6);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .logo-box img {
            max-width: 220px;
            height: auto;
            mix-blend-mode: multiply;
            margin-bottom: 25px;
            transition: filter 0.3s ease;
        }

        h1 {
            font-size: 24px;
            font-weight: 900;
            margin: 0;
            color: #0f172a;
            transition: color 0.3s ease;
        }

        .desc {
            color: #475569;
            font-size: 13px;
            margin: 8px 0 30px 0;
            line-height: 1.5;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .input-wrapper {
            position: relative;
            z-index: 50;
            margin-bottom: 0;
            width: 100%;
        }

        input.main-inp {
            width: 100%;
            padding: 22px;
            background: #f8fafc;
            border: 2px solid transparent;
            border-radius: 20px;
            color: #0f172a;
            font-size: 16px;
            text-align: center;
            outline: none;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
            font-weight: 700;
            font-family: 'Inter', sans-serif;
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
        }

        input.main-inp:focus {
            border-color: #0ea5e9;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(14,165,233,0.15), 0 15px 30px rgba(14,165,233,0.1);
            transform: translateY(-2px);
        }

        input.main-inp:disabled {
            background: #e2e8f0;
            cursor: not-allowed;
            opacity: 0.8;
            color: #64748b;
        }

        .suggestions-box {
            position: absolute;
            top: calc(100% + 12px);
            left: 0;
            right: 0;
            background: #ffffff;
            border: 1px solid rgba(226,232,240,0.8);
            border-radius: 20px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
            overflow: hidden;
            display: none;
            z-index: 999;
            text-align: left;
            max-height: min(380px, 46vh);
            overflow-y: auto;
            contain: layout style;
        }

        .suggestions-box.visible {
            display: block;
            animation: dropDown 0.2s ease-out;
        }

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

        .sug-item {
            padding: 15px 18px;
            cursor: pointer;
            border-bottom: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            transition: background 0.1s ease;
        }

        .sug-item:hover, .sug-item.selected {
            background: #f0f9ff;
        }

        .sug-copy {
            display: flex;
            flex: 1;
            min-width: 0;
            flex-direction: column;
            gap: 4px;
        }

        .sug-copy small {
            color: #64748b;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 0.2px;
        }

        .sug-model {
            font-size: 13px;
            font-weight: 700;
            color: #0f172a;
            flex: 1;
            white-space: normal;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            transition: color 0.3s ease;
            line-height: 1.28;
        }

        .sug-cat {
            font-size: 10px;
            font-weight: 900;
            padding: 5px 12px;
            border-radius: 20px;
            white-space: nowrap;
            text-transform: uppercase;
        }

        .cat-binek { background: #dbeafe; color: #1e40af; }
        .cat-hafif { background: #d1fae5; color: #065f46; }
        .cat-agir { background: #fee2e2; color: #991b1b; }
        .cat-uzun { background: #fef3c7; color: #92400e; }
        .cat-extra { background: #ede9fe; color: #5b21b6; }
        .cat-mini { background: #fce7f3; color: #9d174d; }
        .cat-kontrat { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }

        .sug-header {
            padding: 12px 18px 6px;
            font-size: 10px;
            font-weight: 900;
            color: #64748b;
            letter-spacing: 1px;
            text-transform: uppercase;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }

        .query-helper {
            margin-top: 10px;
            color: #64748b;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.35;
            text-align: center;
        }

        .query-helper.warn {
            color: #b45309;
        }

        .query-helper.ok {
            color: #047857;
        }

        button.sorgula-btn {
            width: 100%;
            padding: 22px;
            background: #0f172a;
            color: #ffffff;
            border: none;
            border-radius: 20px;
            font-weight: 900;
            font-size: 16px;
            letter-spacing: 1.5px;
            cursor: pointer;
            transition: 0.2s ease;
            margin-top: 18px;
            font-family: 'Inter', sans-serif;
            box-shadow: 0 10px 25px -5px rgba(15,23,42,0.4);
        }

        button.sorgula-btn:hover {
            background: #0ea5e9;
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(14,165,233,0.35);
        }

        button.sorgula-btn:active {
            transform: translateY(0);
        }

        #result-area {
            margin-top: 18px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }

        .display-box {
            padding: 24px;
            border-radius: 20px;
            background: rgba(255,255,255,0.8);
            border: 2px dashed #cbd5e1;
            font-size: 19px;
            font-weight: 900;
            color: #64748b;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        }

        .display-box.active-success {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
            color: white !important;
            border: none !important;
            box-shadow: 0 15px 35px rgba(16,185,129,0.35) !important;
            transform: scale(1.02);
        }

        .display-box.active-error {
            background: #fff1f2 !important;
            border: 2px solid #fecdd3 !important;
            color: #e11d48 !important;
        }

        #servis-btn-wrapper {
            display: none;
            width: 100%;
            animation: slideUp 0.3s ease forwards;
        }

        #servis-btn-wrapper.visible {
            display: block;
        }

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

        #servis-btn {
            width: 100%;
            padding: 18px 24px;
            background: #ffffff;
            color: #059669;
            border: none;
            border-radius: 18px;
            font-weight: 900;
            font-size: 14px;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 14px;
            text-decoration: none;
        }

        #servis-btn:hover {
            transform: translateY(-3px) scale(1.01);
            box-shadow: 0 15px 30px rgba(14,165,233,0.2);
            color: #0ea5e9;
        }

        #servis-logo {
            height: 24px;
            width: 24px;
            object-fit: contain;
            border-radius: 6px;
        }

        .servis-text {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
            min-width: 0;
            flex: 1;
        }

        .servis-label {
            font-size: 10px;
            opacity: 0.7;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            font-weight: 800;
            color: #64748b;
        }

        .servis-marka {
            font-size: 14px;
            font-weight: 900;
            letter-spacing: 0.5px;
        }

        .servis-phone {
            display: none;
            width: 100%;
            margin-top: 10px;
            padding: 14px 16px;
            min-height: 48px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(16, 185, 129, 0.26);
            box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
            color: #065f46;
            font-size: 14px;
            font-weight: 900;
            line-height: 1.45;
            letter-spacing: 0;
            white-space: normal;
            cursor: text;
            user-select: text;
            -webkit-user-select: text;
        }

        .servis-phone.visible {
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
        }

        .footer-elite {
            margin-top: 18px;
            font-size: 10.5px;
            color: #64748b;
            line-height: 1.9;
        }

        .footer-legal-link {
            color: #0ea5e9;
            font-weight: 800;
            text-decoration: none;
        }

        .footer-legal-link:hover {
            color: #0284c7;
            text-decoration: underline;
        }

        /* ── MODAL ARAYÜZLERİ (GENEL) ── */
        .custom-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.6);
            z-index: 10000;
            display: none;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(4px);
            padding: 20px;
            box-sizing: border-box;
        }

        .custom-modal.active {
            display: flex;
            opacity: 1;
            /* Overlay blur hafif: klavye girişi sırasında repaint maliyetini düşürür */
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
        }

        .modal-content-card {
            background: rgba(255, 255, 255, 0.98);
            will-change: transform;
            padding: 45px;
            border-radius: 28px;
            border: 1px solid rgba(226, 232, 240, 1);
            box-shadow: 0 30px 60px rgba(0,0,0,0.15);
            width: 100%;
            max-width: 1100px;
            min-height: 550px;
            max-height: 90vh;
            overflow-y: auto;
            margin: auto;
            position: relative;
            transform: scale(0.95) translateY(20px);
            transition: transform 0.3s ease;
            transform: translateZ(0);
            /* Render izolasyonu: modal içindeki değişiklikler canvas/arka plana yayılmaz */
            contain: layout style;
            isolation: isolate;
        }

        .custom-modal.active .modal-content-card {
            transform: scale(1) translateY(0);
        }

        .profile-card-ui {
            max-width: 850px;
            min-height: auto;
            padding: 40px;
            color: #0f172a;
        }

        .profile-head-row {
            display: flex;
            align-items: center;
            gap: 25px;
            border-bottom: 1px solid rgba(148, 163, 184, 0.3);
            padding-bottom: 25px;
            margin-bottom: 30px;
        }

        .profile-photo-block {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            flex: 0 0 auto;
        }

        .profile-photo-wrap {
            width: 108px;
            height: 108px;
            border-radius: 50%;
            border: 0;
            padding: 0;
            background: linear-gradient(135deg, #0ea5e9, #2563eb);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            font-weight: 900;
            text-transform: uppercase;
            box-shadow: 0 10px 20px rgba(14,165,233,0.4);
            overflow: hidden;
            cursor: pointer;
            position: relative;
        }

        .profile-photo-wrap::after {
            content: "Büyüt";
            position: absolute;
            inset: auto 0 0 0;
            padding: 5px 0;
            background: rgba(15, 23, 42, 0.62);
            color: white;
            font-size: 10px;
            font-weight: 900;
            opacity: 0;
            transition: opacity 0.18s ease;
        }

        .profile-photo-wrap.has-photo:hover::after {
            opacity: 1;
        }

        .profile-photo-initials {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .profile-photo-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: none;
            user-select: none;
            -webkit-user-drag: none;
        }

        .profile-photo-actions {
            display: flex;
            gap: 6px;
        }

        .profile-photo-actions button {
            border: 1px solid rgba(14, 165, 233, 0.28);
            background: rgba(14, 165, 233, 0.08);
            color: #0284c7;
            border-radius: 8px;
            padding: 6px 9px;
            font-size: 10px;
            font-weight: 900;
            cursor: pointer;
        }

        .profile-photo-actions button:last-child {
            border-color: rgba(239, 68, 68, 0.25);
            background: rgba(239, 68, 68, 0.08);
            color: #ef4444;
        }

        .profile-photo-preview-modal {
            position: fixed;
            inset: 0;
            z-index: 100050;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 26px;
            background: rgba(15, 23, 42, 0.78);
            backdrop-filter: blur(12px);
        }

        .profile-photo-preview-modal.active {
            display: flex;
        }

        .profile-photo-preview-modal img {
            max-width: min(92vw, 860px);
            max-height: 86vh;
            border-radius: 24px;
            box-shadow: 0 30px 100px rgba(0, 0, 0, 0.42);
            user-select: none;
            -webkit-user-drag: none;
            object-fit: contain;
        }

        .profile-photo-preview-close {
            position: fixed;
            top: 24px;
            right: 24px;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            border: 0;
            background: rgba(255, 255, 255, 0.92);
            color: #0f172a;
            font-size: 18px;
            font-weight: 900;
            cursor: pointer;
        }

        .profile-photo-editor-modal {
            position: fixed;
            inset: 0;
            z-index: 100060;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(15, 23, 42, 0.76);
            backdrop-filter: blur(12px);
        }

        .profile-photo-editor-modal.active {
            display: flex;
        }

        .profile-photo-editor-card {
            width: min(460px, 100%);
            position: relative;
            border-radius: 28px;
            padding: 30px;
            background: rgba(255, 255, 255, 0.94);
            border: 1px solid rgba(255, 255, 255, 0.62);
            box-shadow: 0 30px 100px rgba(15, 23, 42, 0.34);
            text-align: center;
            color: #0f172a;
        }

        .profile-photo-editor-card .profile-photo-preview-close {
            position: absolute;
            top: 16px;
            right: 16px;
        }

        .profile-photo-editor-card h3 {
            margin: 4px 0 6px;
            font-size: 24px;
            font-weight: 950;
        }

        .profile-photo-editor-card p {
            margin: 0 0 22px;
            color: #64748b;
            font-size: 13px;
            font-weight: 800;
            line-height: 1.4;
        }

        .profile-photo-editor-crop {
            width: 280px;
            height: 280px;
            margin: 0 auto 22px;
            border-radius: 50%;
            overflow: hidden;
            position: relative;
            background: linear-gradient(135deg, #dbeafe, #e0f2fe);
            box-shadow: 0 0 0 10px rgba(14, 165, 233, 0.08), 0 18px 44px rgba(14, 165, 233, 0.2);
            cursor: grab;
            touch-action: none;
        }

        .profile-photo-editor-crop::after {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 50%;
            box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.82), inset 0 0 0 999px rgba(255, 255, 255, 0.02);
            pointer-events: none;
        }

        .profile-photo-editor-crop.dragging {
            cursor: grabbing;
        }

        .profile-photo-editor-crop img {
            position: absolute;
            top: 0;
            left: 0;
            max-width: none;
            user-select: none;
            -webkit-user-drag: none;
            transform-origin: 0 0;
            will-change: transform, width, height;
        }

        .profile-photo-editor-control {
            display: grid;
            grid-template-columns: 72px 1fr;
            gap: 12px;
            align-items: center;
            margin-bottom: 22px;
            text-align: left;
        }

        .profile-photo-editor-control span {
            color: #64748b;
            font-size: 12px;
            font-weight: 900;
        }

        .profile-photo-editor-control input {
            width: 100%;
            accent-color: #0ea5e9;
        }

        .profile-photo-editor-actions {
            display: flex;
            gap: 12px;
            justify-content: flex-end;
        }

        .profile-photo-editor-actions button {
            border: 1px solid rgba(148, 163, 184, 0.35);
            border-radius: 14px;
            padding: 13px 16px;
            background: rgba(248, 250, 252, 0.88);
            color: #475569;
            cursor: pointer;
            font-size: 12px;
            font-weight: 950;
        }

        .profile-photo-editor-actions button:last-child {
            border: 0;
            background: linear-gradient(135deg, #0ea5e9, #2563eb);
            color: white;
            box-shadow: 0 12px 28px rgba(14, 165, 233, 0.26);
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #f1f5f9;
            color: #0f172a;
            border: none;
            border-radius: 50%;
            width: 45px;
            height: 45px;
            font-weight: 900;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
            z-index: 50;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }

        .modal-close:hover {
            background: #ef4444;
            color: white;
            transform: rotate(90deg);
        }

        body.dark-theme .modal-close {
            background: rgba(15, 23, 42, 0.94);
            color: #e2e8f0;
            border: 1px solid rgba(71, 85, 105, 0.72);
            box-shadow: 0 12px 28px rgba(2, 6, 23, 0.32);
        }

        .followup-nav-btn {
            gap: 8px;
            isolation: isolate;
            position: relative;
            overflow: hidden;
        }

        .followup-nav-text {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            line-height: 1;
            position: relative;
            z-index: 1;
        }

        .followup-nav-icon {
            display: inline-flex;
            transform-origin: center;
            transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
            position: relative;
            z-index: 1;
        }

        @keyframes followupButtonPulse {
            0%, 100% { box-shadow: 0 4px 15px rgba(14,165,233,0.08); }
            50% { box-shadow: 0 10px 24px rgba(239, 68, 68, 0.18); }
        }

        .followup-nav-btn.has-normal-followups {
            color: #dc2626 !important;
            border-color: rgba(239, 68, 68, 0.32) !important;
            background: rgba(255, 255, 255, 0.96) !important;
        }

        .followup-nav-btn.has-normal-followups .followup-nav-icon {
            animation: heartbeat 1.35s ease-in-out infinite;
        }

        .followup-nav-btn.has-high-followups {
            color: #fff !important;
            border-color: rgba(254, 202, 202, 0.55) !important;
            background: transparent !important;
            animation: followupNavHeartbeat 1.35s ease-in-out infinite;
        }

        .followup-nav-btn.has-high-followups::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: inherit;
            background: linear-gradient(120deg, #b91c1c, #ef4444, #f97316, #fb923c, #dc2626, #ef4444);
            background-size: 320% 320%;
            animation: followupGradientFlow 2.6s ease infinite;
            z-index: 0;
        }

        .followup-nav-btn.has-high-followups::after {
            content: "";
            position: absolute;
            inset: 1px;
            border-radius: inherit;
            background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02));
            z-index: 0;
        }

        .followup-nav-btn.has-high-followups .followup-nav-icon {
            animation: heartbeat 1.15s ease-in-out infinite;
            filter: drop-shadow(0 0 6px rgba(255,255,255,0.35));
        }

        .followup-nav-btn.has-followups {
            color: #dc2626 !important;
            border-color: rgba(239, 68, 68, 0.35) !important;
            background: rgba(255, 255, 255, 0.96) !important;
        }

        .followup-nav-btn.has-high-followups.has-followups {
            color: #fff !important;
            background: transparent !important;
        }

        .followup-badge {
            display: none;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            align-items: center;
            justify-content: center;
            background: #fff;
            color: #dc2626;
            font-size: 10px;
            font-weight: 900;
            line-height: 1;
            box-shadow: 0 0 0 1px rgba(255,255,255,0.35), 0 4px 10px rgba(0,0,0,0.12);
            flex-shrink: 0;
            transform: translateY(0);
        }

        .followup-nav-btn.has-high-followups .followup-badge {
            background: rgba(15, 23, 42, 0.88);
            color: #fecaca;
            box-shadow: 0 0 0 1px rgba(255,255,255,0.22);
        }

        .followup-nav-btn.has-normal-followups .followup-badge {
            background: #ef4444;
            color: #fff;
            box-shadow: 0 4px 10px rgba(239, 68, 68, 0.28);
        }

        .followup-nudge {
            display: none;
            position: fixed;
            top: 126px;
            right: 258px;
            z-index: 120;
            width: 430px;
            max-width: calc(100vw - 560px);
            min-height: 48px;
            padding: 10px 16px;
            border-radius: 16px;
            background: rgba(15, 23, 42, 0.93);
            color: #fff;
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
            border: 1px solid rgba(255,255,255,0.14);
            cursor: pointer;
            font-size: 12px;
            font-weight: 900;
            line-height: 1.32;
        }

        .followup-nudge.visible {
            display: block;
            animation: slideUp 0.25s ease both;
        }

        .followup-nudge strong {
            display: block;
            margin-bottom: 2px;
            color: #fecaca;
            font-size: 13px;
        }

        @media (max-width: 980px) {
            .followup-nudge {
                top: auto;
                right: 22px;
                bottom: 165px;
                width: min(360px, calc(100vw - 44px));
                max-width: calc(100vw - 44px);
            }
        }

        .log-followup-action {
            margin-top: 10px;
        }

        .log-followup-btn {
            border: 1px solid rgba(14, 165, 233, 0.35);
            background: rgba(14, 165, 233, 0.1);
            color: #0284c7;
            border-radius: 10px;
            padding: 7px 12px;
            font-size: 11px;
            font-weight: 900;
            cursor: pointer;
            transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
        }

        .log-followup-btn:hover {
            background: #0ea5e9;
            color: #fff;
            transform: translateY(-1px);
        }

        .followup-modal-card {
            width: min(1180px, 94vw);
            max-width: 1180px;
            height: min(860px, 92vh);
            min-height: 0;
            max-height: 92vh;
            padding: 0;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
        }

        .admin-followup-page {
            border-radius: 12px;
            overflow: hidden;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
        }

        .admin-followup-page .followup-layout {
            min-height: calc(100vh - 260px);
        }

        .admin-followup-page .followup-list {
            max-height: calc(100vh - 365px);
        }

        .admin-followup-page .followup-detail-panel {
            min-height: calc(100vh - 260px);
        }

        .admin-followup-head-actions {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .followup-refresh-btn.ghost {
            background: rgba(255, 255, 255, 0.72);
            color: #475569;
            border-color: rgba(203, 213, 225, 0.9);
        }

        .followup-modal-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .followup-mode-switch,
        .followup-quick-stats {
            display: none !important;
        }

        .followup-user-pulse {
            display: none;
            margin: 0;
            padding: 10px 24px;
            flex: 0 0 auto;
            border-bottom: 1px solid #fecaca;
            background: #fef2f2;
            color: #991b1b;
            font-size: 13px;
            font-weight: 600;
            line-height: 1.45;
        }

        .followup-user-pulse.visible {
            display: block;
        }

        .followup-user-pulse strong {
            display: block;
            color: #dc2626;
            font-size: 14px;
            margin-bottom: 3px;
        }

        .followup-quick-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
            padding: 14px 22px 0;
            flex: 0 0 auto;
        }

        .followup-quick-stats div {
            border-radius: 18px;
            padding: 14px 16px;
            background: rgba(255, 255, 255, 0.78);
            border: 1px solid rgba(226, 232, 240, 0.85);
            box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
        }

        .followup-quick-stats span {
            display: block;
            color: #64748b;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.65px;
            margin-bottom: 6px;
        }

        .followup-quick-stats strong {
            color: #0f172a;
            font-size: 22px;
            font-weight: 900;
            line-height: 1;
        }

        .admin-followup-dashboard {
            padding: 18px;
            border-bottom: 1px solid rgba(203, 213, 225, 0.75);
            background: rgba(255, 255, 255, 0.62);
        }

        .admin-followup-searchbar {
            display: grid;
            grid-template-columns: minmax(220px, 1.4fr) repeat(6, minmax(130px, 1fr)) auto;
            gap: 10px;
            align-items: end;
        }

        .admin-followup-searchbar label {
            display: grid;
            gap: 6px;
            color: #64748b;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .admin-followup-searchbar .admin-input,
        .admin-followup-searchbar .admin-select {
            margin-bottom: 0;
            padding: 11px 12px;
            min-height: 42px;
            border-radius: 12px;
            font-size: 12px;
        }

        .followup-clear-filters {
            width: auto;
            min-height: 42px;
            padding: 0 16px;
            background: rgba(239, 68, 68, 0.1);
            color: #dc2626;
            border-color: rgba(239, 68, 68, 0.28);
        }

        .followup-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 20px 56px 16px 24px;
            flex: 0 0 auto;
            border-bottom: 1px solid #e2e8f0;
            background: #ffffff;
        }

        .followup-head-v3 .followup-head-main {
            display: flex;
            align-items: center;
            gap: 14px;
            flex-wrap: wrap;
            min-width: 0;
        }

        .followup-head-v3 h2 {
            margin: 0;
            color: #0f172a;
            font-size: 22px;
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        .followup-header-summary {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .followup-summary-chip {
            display: inline-flex;
            align-items: center;
            padding: 5px 10px;
            border-radius: 6px;
            background: #ecfdf5;
            color: #047857;
            border: 1px solid #bbf7d0;
            font-size: 12px;
            font-weight: 700;
        }

        .followup-summary-chip.warn {
            background: #fef2f2;
            color: #b91c1c;
            border-color: #fecaca;
        }

        .followup-summary-chip.info {
            background: #eff6ff;
            color: #1d4ed8;
            border-color: #bfdbfe;
        }

        .followup-summary-chip.muted {
            background: #f8fafc;
            color: #64748b;
            border-color: #e2e8f0;
        }

        .followup-head-tools {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: flex-end;
            align-items: center;
        }

        .followup-tool-btn {
            border: 1px solid #cbd5e1;
            background: #ffffff;
            color: #334155;
            border-radius: 8px;
            min-height: 38px;
            padding: 0 14px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
        }

        .followup-tool-btn:hover {
            background: #f8fafc;
            border-color: #94a3b8;
        }

        .followup-tool-btn.primary {
            background: #2563eb;
            border-color: #2563eb;
            color: #ffffff;
        }

        .followup-tool-btn.primary:hover {
            background: #1d4ed8;
            border-color: #1d4ed8;
        }

        .followup-tool-btn.ghost {
            background: #ffffff;
        }

        .followup-kicker {
            display: none;
        }

        .followup-head p {
            display: none;
        }

        .followup-refresh-btn {
            width: auto;
            min-width: 130px;
            background: #fff;
            white-space: nowrap;
        }

        .followup-layout {
            display: grid;
            grid-template-columns: 300px minmax(0, 1fr);
            min-height: 0;
            flex: 1 1 auto;
        }

        .followup-modal-card .followup-layout {
            flex: 1 1 auto;
            min-height: 0;
            overflow: hidden;
        }

        #followup-modal.followup-compose-mode .followup-user-pulse,
        #followup-modal.followup-compose-mode .followup-sidebar,
        #followup-modal.followup-compose-mode .followup-detail {
            display: none !important;
        }

        #followup-modal.followup-compose-mode .followup-layout {
            grid-template-columns: 1fr;
            padding: 22px;
            overflow-y: auto;
        }

        #followup-modal.followup-compose-mode .followup-detail-panel {
            display: block;
            width: min(980px, 100%);
            margin: 0 auto;
            padding: 0;
            overflow: visible;
        }

        #followup-modal.followup-compose-mode .followup-head-tools {
            justify-content: flex-end;
        }

        #followup-modal.followup-compose-mode .followup-mode-nav {
            display: none;
        }

        #followup-modal.followup-list-mode .followup-compose-toolbar {
            display: none;
        }

        .followup-mode-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 12px 24px 0;
            flex: 0 0 auto;
        }

        .followup-mode-nav-btn {
            border: 1px solid #cbd5e1;
            background: #ffffff;
            color: #334155;
            border-radius: 999px;
            min-height: 40px;
            padding: 0 20px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
        }

        .followup-mode-nav-btn.primary {
            background: #2563eb;
            border-color: #2563eb;
            color: #ffffff;
        }

        .followup-mode-nav-btn:hover {
            transform: translateY(-1px);
        }

        #followup-modal.followup-compose-mode .followup-compose {
            display: block !important;
        }

        #followup-modal.followup-list-mode .followup-compose {
            display: none !important;
        }

        .followup-sidebar {
            border-right: 1px solid #e2e8f0;
            background: #f8fafc;
            display: flex;
            flex-direction: column;
            min-height: 0;
        }

        .followup-filter-row {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 12px;
            border-bottom: 1px solid #e2e8f0;
            background: #ffffff;
        }

        .followup-filter-btn {
            border: 1px solid #e2e8f0;
            background: #ffffff;
            color: #475569;
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
        }

        .followup-filter-btn.active,
        .followup-filter-btn:hover {
            background: #2563eb;
            color: #ffffff;
            border-color: #2563eb;
        }

        .followup-filter-btn.followup-bulk-delete-btn {
            margin-left: auto;
            color: #b91c1c;
            border-color: #fecaca;
            background: #fef2f2;
        }

        .followup-filter-btn.followup-bulk-delete-btn:hover {
            background: #fee2e2;
            color: #991b1b;
            border-color: #fca5a5;
        }

        .followup-list {
            padding: 10px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-height: 0;
        }

        .followup-list-item {
            width: 100%;
            border: 1px solid #e2e8f0;
            background: #ffffff;
            border-radius: 8px;
            padding: 12px 14px;
            text-align: left;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            gap: 6px;
            color: #475569;
            transition: border-color 0.15s ease, background 0.15s ease;
        }

        .followup-list-item:hover,
        .followup-list-item.active {
            border-color: #2563eb;
            background: #f8fbff;
        }

        .followup-list-item.unread {
            border-left: 3px solid #ef4444;
            padding-left: 11px;
        }

        .followup-list-item.high-priority {
            background: #fffafb;
        }

        .followup-list-item.closed {
            opacity: 0.72;
            background: #f8fafc;
        }

        .followup-list-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }

        .followup-list-row strong {
            color: #0f172a;
            font-size: 14px;
            font-weight: 700;
            line-height: 1.3;
        }

        .followup-list-priority {
            color: #dc2626;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .followup-list-preview {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 12px;
            line-height: 1.45;
            color: #64748b;
        }

        .followup-list-meta {
            font-size: 11px;
            color: #94a3b8;
            font-weight: 600;
        }

        .followup-detail-panel {
            padding: 0;
            display: flex;
            flex-direction: column;
            min-width: 0;
            min-height: 0;
            overflow: hidden;
            background: #ffffff;
        }

        .followup-detail,
        .followup-compose {
            background: #ffffff;
            border: none;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
            min-width: 0;
        }

        .followup-detail {
            display: flex;
            flex-direction: column;
            min-height: 0;
            flex: 1 1 auto;
            overflow: hidden;
        }

        .followup-detail-body {
            flex: 1 1 auto;
            min-height: 0;
            overflow-y: auto;
            padding: 20px 24px;
        }

        .followup-detail-badges {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }

        .followup-detail-empty,
        .followup-empty {
            color: #64748b;
            font-weight: 600;
            padding: 32px 24px;
            text-align: center;
            font-size: 14px;
        }

        .followup-form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px 16px;
        }

        .followup-form-field {
            display: flex;
            flex-direction: column;
            gap: 6px;
            min-width: 0;
        }

        .followup-form-field.full {
            grid-column: 1 / -1;
        }

        .followup-form-field.danger label {
            color: #dc2626;
        }

        .followup-form-field label {
            color: #64748b;
            font-size: 12px;
            font-weight: 600;
        }

        .followup-form-value,
        .followup-form-control {
            width: 100%;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            background: #ffffff;
            color: #0f172a;
            font-size: 14px;
            font-weight: 500;
            min-height: 42px;
            padding: 10px 12px;
            box-sizing: border-box;
        }

        .followup-form-value.muted,
        .followup-form-field .followup-form-value.muted {
            background: #f1f5f9;
            color: #475569;
        }

        .followup-form-message {
            min-height: 120px;
            padding: 14px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            background: #ffffff;
            color: #334155;
            font-size: 14px;
            line-height: 1.6;
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }

        .followup-form-field.danger .followup-form-value {
            border-color: #fca5a5;
            background: #fef2f2;
            color: #b91c1c;
        }

        .followup-form-textarea {
            min-height: 140px;
            resize: vertical;
            text-align: left;
        }

        .followup-compose {
            padding: 16px 24px 28px;
            overflow-y: auto;
            width: min(920px, 100%);
            margin: 0 auto;
        }

        .followup-compose-toolbar {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 14px;
            flex: 0 0 auto;
        }

        .followup-compose-back {
            border: 1px solid #cbd5e1;
            background: #ffffff;
            color: #334155;
            border-radius: 999px;
            min-height: 38px;
            padding: 0 18px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
        }

        .followup-compose-back:hover {
            background: #f8fafc;
            border-color: #94a3b8;
            transform: translateY(-1px);
        }

        .followup-compose-form {
            display: flex;
            flex-direction: column;
            gap: 16px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 18px;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }

        .followup-compose-form::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            background: linear-gradient(180deg, #2563eb, #06b6d4, #8b5cf6, #2563eb);
            background-size: 100% 220%;
            animation: accentFlow 4.5s ease infinite;
        }

        .followup-compose-actions {
            display: flex;
            justify-content: flex-end;
            padding-top: 8px;
            border-top: 1px solid #e2e8f0;
        }

        .followup-compose-actions-center {
            justify-content: center;
            border-top: none;
            padding-top: 4px;
        }

        .followup-compose-head.followup-compose-head-center {
            display: flex;
            text-align: center;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }

        .followup-compose-head.followup-compose-head-center > div {
            width: 100%;
        }

        .followup-form-field.accent-line {
            position: relative;
            padding-left: 12px;
        }

        .followup-form-field.accent-line::before {
            content: "";
            position: absolute;
            left: 0;
            top: 26px;
            bottom: 4px;
            width: 3px;
            border-radius: 999px;
            background: linear-gradient(180deg, #2563eb, #06b6d4, #8b5cf6, #2563eb);
            background-size: 100% 220%;
            animation: accentFlow 3.8s ease infinite;
        }

        .followup-due-row {
            display: flex;
            gap: 8px;
            align-items: stretch;
        }

        .followup-due-row .followup-form-control {
            flex: 1 1 auto;
            min-width: 0;
        }

        .followup-now-btn {
            flex: 0 0 auto;
            border: 1px solid #bfdbfe;
            background: linear-gradient(135deg, #eff6ff, #dbeafe);
            color: #1d4ed8;
            border-radius: 8px;
            min-height: 42px;
            padding: 0 14px;
            font-size: 12px;
            font-weight: 800;
            cursor: pointer;
            white-space: nowrap;
            transition: transform 0.15s ease, box-shadow 0.15s ease;
        }

        .followup-now-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
        }

        .followup-target-field {
            position: relative;
        }

        .followup-target-trigger {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            min-height: 42px;
            padding: 8px 12px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            background: #ffffff;
            color: #0f172a;
            cursor: pointer;
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }

        .followup-target-trigger:hover,
        .followup-target-trigger.open {
            border-color: #93c5fd;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
        }

        .followup-target-trigger-content {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
            flex: 1 1 auto;
            text-align: left;
            color: #64748b;
            font-size: 13px;
            font-weight: 600;
        }

        .followup-target-trigger-text {
            display: flex;
            flex-direction: column;
            gap: 1px;
            min-width: 0;
        }

        .followup-target-trigger-text strong {
            color: #0f172a;
            font-size: 13px;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .followup-target-trigger-text small {
            color: #64748b;
            font-size: 11px;
            font-weight: 600;
        }

        .followup-target-chevron {
            flex-shrink: 0;
            color: #64748b;
            font-size: 12px;
            transition: transform 0.15s ease;
        }

        .followup-target-trigger.open .followup-target-chevron {
            transform: rotate(180deg);
        }

        .followup-target-picker {
            display: none;
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            right: 0;
            z-index: 30;
            max-height: 210px;
            overflow-y: auto;
            border: 1px solid #e2e8f0;
            border-radius: 10px;
            background: #ffffff;
            box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
            padding: 4px;
        }

        .followup-target-picker.open {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .followup-target-picker-empty {
            color: #64748b;
            font-size: 12px;
            font-weight: 600;
            padding: 12px 10px;
            text-align: center;
        }

        .followup-user-row {
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            border: none;
            background: transparent;
            border-radius: 7px;
            padding: 6px 8px;
            text-align: left;
            cursor: pointer;
            color: inherit;
            transition: background 0.12s ease;
        }

        .followup-user-row:hover {
            background: #f1f5f9;
        }

        .followup-user-row.selected {
            background: #eff6ff;
        }

        .followup-user-row-text {
            display: flex;
            flex-direction: column;
            gap: 1px;
            min-width: 0;
        }

        .followup-user-row-text strong {
            color: #0f172a;
            font-size: 12px;
            font-weight: 700;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .followup-user-row-text small {
            color: #94a3b8;
            font-size: 10px;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .followup-user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #dbeafe, #bfdbfe);
            color: #1e40af;
            font-size: 12px;
            font-weight: 900;
            flex-shrink: 0;
            overflow: hidden;
        }

        .followup-user-avatar.compact {
            width: 28px;
            height: 28px;
            font-size: 10px;
        }

        .followup-user-avatar.has-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .followup-action-bar {
            display: flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
            padding: 14px 24px;
            border-top: 1px solid #e2e8f0;
            background: #f8fafc;
            flex: 0 0 auto;
        }

        .followup-action-spacer {
            flex: 1 1 auto;
        }

        .followup-action-btn {
            border: 1px solid #cbd5e1;
            background: #ffffff;
            color: #334155;
            border-radius: 8px;
            min-height: 40px;
            padding: 0 16px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
        }

        .followup-action-btn:hover {
            background: #f8fafc;
        }

        .followup-action-btn.primary {
            background: #2563eb;
            border-color: #2563eb;
            color: #ffffff;
        }

        .followup-action-btn.primary:hover {
            background: #1d4ed8;
        }

        .followup-action-btn.read {
            background: #dc2626;
            border-color: #dc2626;
            color: #ffffff;
        }

        .followup-action-btn.read:hover {
            background: #b91c1c;
        }

        .followup-action-btn.danger {
            color: #b91c1c;
            border-color: #fecaca;
            background: #fef2f2;
        }

        .followup-action-btn.ghost {
            background: #ffffff;
        }

        .followup-status-pill {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 10px;
            border-radius: 6px;
            background: #ecfdf5;
            color: #047857;
            border: 1px solid #bbf7d0;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            white-space: nowrap;
        }

        .followup-status-pill.closed {
            background: #f1f5f9;
            color: #64748b;
            border-color: #e2e8f0;
        }

        .followup-priority-reminder {
            margin: 0 0 14px;
            padding: 10px 12px;
            border-radius: 6px;
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #991b1b;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.45;
        }

        .followup-pill {
            display: inline-flex;
            padding: 6px 10px;
            border-radius: 6px;
            background: #eff6ff;
            color: #1d4ed8;
            border: 1px solid #bfdbfe;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
        }

        .followup-pill.high {
            background: #fef2f2;
            color: #dc2626;
            border: 1px solid #fecaca;
        }

        .followup-meta-grid {
            display: none;
        }

        .followup-timeline {
            display: grid;
            gap: 8px;
            margin-top: 18px;
            padding: 14px;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
        }

        .followup-timeline h4 {
            margin: 0 0 4px;
            color: #334155;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .followup-timeline-row {
            color: #64748b;
            font-size: 12px;
            font-weight: 500;
            line-height: 1.45;
            padding-left: 12px;
            border-left: 2px solid #cbd5e1;
        }

        .followup-timeline-row::before {
            display: none;
        }

        .followup-actions {
            display: none;
        }

        .followup-actions .sys-btn {
            width: auto;
        }

        .followup-readonly-note {
            flex: 1 1 100%;
            color: #64748b;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.4;
        }

        .followup-close-btn {
            border-color: rgba(239, 68, 68, 0.35) !important;
            color: #ef4444 !important;
        }

        .followup-reply-btn {
            border-color: rgba(59, 130, 246, 0.35) !important;
            color: #2563eb !important;
        }

        .followup-copy-btn {
            border-color: rgba(14, 165, 233, 0.32) !important;
            color: #0284c7 !important;
        }

        .followup-compose-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 14px;
            margin-bottom: 16px;
        }

        .followup-compose-head:not(.followup-compose-head-center) {
            align-items: flex-start;
            justify-content: space-between;
        }

        .followup-compose h3 {
            margin: 0 0 4px;
            color: #0f172a;
            font-size: 18px;
            font-weight: 800;
        }

        .followup-compose p {
            margin: 0;
            color: #64748b;
            font-size: 13px;
            font-weight: 500;
            line-height: 1.45;
        }

        .followup-reply-cancel {
            border: 1px solid #fecaca;
            background: #fef2f2;
            color: #dc2626;
            border-radius: 8px;
            padding: 8px 12px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            white-space: nowrap;
        }

        .followup-compose-grid {
            display: none;
        }

        .followup-send-btn {
            display: none;
        }

        .followup-alert-overlay {
            z-index: 30000;
        }

        #followup-modal .modal-close {
            top: 16px;
            right: 16px;
            width: 34px;
            height: 34px;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
        }

        .followup-modal-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .followup-modal-card .followup-list {
            flex: 1 1 auto;
        }

        @media (max-width: 1200px) {
            .admin-followup-searchbar {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .followup-layout {
                grid-template-columns: 320px minmax(0, 1fr);
            }

            .followup-quick-stats {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 900px) {
            .admin-followup-searchbar,
            .followup-quick-stats,
            .followup-layout,
            .followup-meta-grid,
            .followup-compose-grid {
                grid-template-columns: 1fr;
            }

            .followup-action-bar,
            .followup-compose-actions,
            .admin-followup-head-actions,
            .followup-head-tools {
                align-items: stretch;
                flex-direction: column;
            }

            .followup-compose-head:not(.followup-compose-head-center) {
                flex-direction: column;
            }

            .followup-action-bar .followup-action-btn,
            .followup-compose-actions .followup-action-btn,
            .admin-followup-head-actions .followup-tool-btn,
            .followup-head-tools .followup-tool-btn,
            .followup-reply-cancel {
                width: 100%;
            }
        }

        .followup-alert-card {
            max-width: 620px;
            min-height: auto;
            text-align: center;
            padding: 42px;
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.98);
        }

        .followup-alert-icon {
            width: 76px;
            height: 76px;
            border-radius: 24px;
            background: linear-gradient(135deg, #ef4444, #f97316);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 42px;
            font-weight: 900;
            margin: 0 auto 18px;
            box-shadow: 0 18px 30px rgba(239, 68, 68, 0.25);
        }

        .followup-alert-card h2 {
            color: #0f172a;
            font-size: 26px;
            font-weight: 900;
            margin: 0 0 12px;
        }

        .followup-alert-card p {
            color: #475569;
            font-size: 16px;
            font-weight: 800;
            line-height: 1.7;
            margin: 0;
        }

        .followup-alert-meta {
            display: inline-flex;
            margin: 18px auto 4px;
            padding: 10px 14px;
            border-radius: 12px;
            background: rgba(14, 165, 233, 0.1);
            color: #0284c7;
            font-size: 12px;
            font-weight: 900;
        }

        .followup-alert-action-btn {
            margin-top: 20px;
            margin-right: 10px;
            background: linear-gradient(135deg, #ef4444, #f97316) !important;
            box-shadow: 0 18px 30px rgba(239, 68, 68, 0.22) !important;
        }

        #followup-alert-ack-btn {
            margin-top: 20px;
        }

        body.dark-theme .followup-modal-card,
        body.dark-theme .admin-followup-page,
        body.dark-theme .followup-alert-card {
            background: #0f172a;
            border-color: #334155;
        }

        body.dark-theme .followup-head,
        body.dark-theme .followup-sidebar,
        body.dark-theme .followup-detail-panel,
        body.dark-theme .followup-detail,
        body.dark-theme .followup-compose,
        body.dark-theme .followup-list-item,
        body.dark-theme .followup-filter-btn,
        body.dark-theme .followup-tool-btn,
        body.dark-theme .followup-action-btn.ghost,
        body.dark-theme .followup-form-value,
        body.dark-theme .followup-form-message,
        body.dark-theme .followup-form-control {
            background: #1e293b;
            border-color: #475569;
            color: #e2e8f0;
        }

        body.dark-theme .followup-head,
        body.dark-theme .followup-action-bar {
            background: #0f172a;
            border-color: #334155;
        }

        body.dark-theme .followup-sidebar {
            background: #111827;
        }

        body.dark-theme .followup-filter-row {
            background: #0f172a;
            border-color: #334155;
        }

        body.dark-theme .followup-filter-btn.active,
        body.dark-theme .followup-filter-btn:hover {
            background: #2563eb;
            border-color: #2563eb;
            color: #ffffff;
        }

        body.dark-theme .followup-list-item:hover,
        body.dark-theme .followup-list-item.active {
            background: #1e3a5f;
            border-color: #3b82f6;
        }

        body.dark-theme .followup-list-item.high-priority {
            background: #1f2937;
        }

        body.dark-theme .followup-list-item.closed {
            background: #111827;
        }

        body.dark-theme .followup-head h2,
        body.dark-theme .followup-compose h3,
        body.dark-theme .followup-list-row strong,
        body.dark-theme .followup-alert-card h2 {
            color: #f8fafc;
        }

        body.dark-theme .followup-compose p,
        body.dark-theme .followup-alert-card p {
            color: #cbd5e1;
        }

        body.dark-theme .followup-list-item,
        body.dark-theme .followup-list-preview,
        body.dark-theme .followup-list-meta,
        body.dark-theme .followup-timeline-row,
        body.dark-theme .followup-detail-empty,
        body.dark-theme .followup-empty,
        body.dark-theme .followup-readonly-note {
            color: #cbd5e1;
        }

        body.dark-theme .followup-form-field label {
            color: #94a3b8;
        }

        body.dark-theme .followup-compose-form {
            background: #111827;
            border-color: #334155;
        }

        body.dark-theme .followup-compose-form::before {
            background: linear-gradient(180deg, #38bdf8, #a855f7, #f97316, #38bdf8);
            background-size: 100% 220%;
        }

        body.dark-theme .followup-form-field.accent-line::before {
            background: linear-gradient(180deg, #38bdf8, #a855f7, #22d3ee, #38bdf8);
            background-size: 100% 220%;
        }

        body.dark-theme .followup-compose-back,
        body.dark-theme .followup-target-trigger,
        body.dark-theme .followup-target-picker {
            background: #1e293b;
            border-color: #475569;
            color: #e2e8f0;
        }

        body.dark-theme .followup-target-trigger:hover,
        body.dark-theme .followup-target-trigger.open {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
        }

        body.dark-theme .followup-target-trigger-content {
            color: #94a3b8;
        }

        body.dark-theme .followup-target-trigger-text strong,
        body.dark-theme .followup-user-row-text strong {
            color: #f8fafc;
        }

        body.dark-theme .followup-user-row:hover {
            background: #243044;
        }

        body.dark-theme .followup-user-row.selected {
            background: #1e3a5f;
        }

        body.dark-theme .followup-mode-nav-btn {
            background: #1e293b;
            border-color: #475569;
            color: #e2e8f0;
        }

        body.dark-theme .followup-mode-nav-btn.primary {
            background: #2563eb;
            border-color: #2563eb;
            color: #ffffff;
        }

        body.dark-theme .followup-compose-back:hover {
            background: #243044;
            border-color: #64748b;
        }

        body.dark-theme .followup-user-avatar {
            background: linear-gradient(135deg, #1e3a5f, #312e81);
            color: #bfdbfe;
        }

        body.dark-theme .followup-now-btn {
            background: linear-gradient(135deg, #1e3a5f, #172554);
            border-color: #3b82f6;
            color: #bfdbfe;
        }

        body.dark-theme .followup-nav-btn.has-normal-followups {
            background: rgba(30, 41, 59, 0.96) !important;
            color: #fca5a5 !important;
            border-color: rgba(248, 113, 113, 0.42) !important;
        }

        body.dark-theme .followup-nav-btn.has-high-followups {
            border-color: rgba(252, 165, 165, 0.45) !important;
        }

        body.dark-theme .followup-nav-btn.has-high-followups::before {
            background: linear-gradient(120deg, #7f1d1d, #dc2626, #ea580c, #f97316, #991b1b, #dc2626);
            background-size: 320% 320%;
        }

        body.dark-theme .followup-form-value.muted {
            background: #111827;
            color: #94a3b8;
        }

        body.dark-theme .followup-timeline {
            background: #111827;
            border-color: #334155;
        }

        body.dark-theme .followup-timeline h4 {
            color: #e2e8f0;
        }

        body.dark-theme .followup-tool-btn.primary,
        body.dark-theme .followup-action-btn.primary {
            background: #2563eb;
            border-color: #2563eb;
            color: #ffffff;
        }

        body.dark-theme .followup-action-btn.read {
            background: #dc2626;
            border-color: #dc2626;
            color: #ffffff;
        }

        body.dark-theme .followup-summary-chip {
            background: rgba(16, 185, 129, 0.12);
            color: #6ee7b7;
            border-color: rgba(16, 185, 129, 0.28);
        }

        body.dark-theme .followup-summary-chip.warn {
            background: rgba(239, 68, 68, 0.12);
            color: #fca5a5;
            border-color: rgba(239, 68, 68, 0.28);
        }

        body.dark-theme .followup-summary-chip.info {
            background: rgba(59, 130, 246, 0.12);
            color: #93c5fd;
            border-color: rgba(59, 130, 246, 0.28);
        }

        body.dark-theme .followup-quick-stats div,
        body.dark-theme .followup-meta-row {
            background: rgba(15, 23, 42, 0.62);
            border-color: rgba(51, 65, 85, 0.9);
        }

        body.dark-theme .followup-meta-row.danger {
            background: rgba(127, 29, 29, 0.28);
            border-color: rgba(248, 113, 113, 0.28);
        }

	        body.dark-theme .followup-quick-stats strong,
	        body.dark-theme .followup-timeline h4,
	        body.dark-theme .followup-meta-row strong,
	        body.dark-theme .followup-list-item > small b {
	            color: #f8fafc;
	        }

	        body.dark-theme .followup-status-pill {
	            background: rgba(16, 185, 129, 0.18);
	            color: #6ee7b7;
	        }

	        body.dark-theme .followup-status-pill.closed {
	            background: rgba(100, 116, 139, 0.22);
	            color: #cbd5e1;
	        }

	        body.dark-theme .followup-pill {
	            background: rgba(14, 165, 233, 0.18);
	            color: #7dd3fc;
	        }

	        body.dark-theme .followup-pill.high {
	            background: rgba(239, 68, 68, 0.2);
	            color: #fca5a5;
	        }

	        body.dark-theme .followup-refresh-btn,
	        body.dark-theme .followup-compose-grid .admin-input,
	        body.dark-theme .followup-compose-grid .admin-select,
	        body.dark-theme .followup-compose textarea {
            background: rgba(15, 23, 42, 0.74) !important;
            color: #f8fafc !important;
            border-color: rgba(71, 85, 105, 0.85) !important;
        }

	        body.dark-theme .followup-refresh-btn.ghost,
	        body.dark-theme .followup-copy-btn,
	        body.dark-theme .followup-reply-btn,
	        body.dark-theme .followup-close-btn,
	        body.dark-theme .followup-delete-btn,
	        body.dark-theme .followup-clear-filters,
	        body.dark-theme .followup-reply-cancel {
	            background: rgba(15, 23, 42, 0.72) !important;
	        }

	        body.dark-theme .followup-readonly-note {
	            background: rgba(100, 116, 139, 0.18);
	            border-color: rgba(148, 163, 184, 0.26);
	        }

        body.dark-theme .followup-actions {
            background: transparent;
            border-top-color: rgba(51, 65, 85, 0.9);
        }

        body.dark-theme .followup-user-pulse,
        body.dark-theme .followup-priority-reminder {
            background: rgba(127, 29, 29, 0.28);
            border-color: rgba(248, 113, 113, 0.28);
            color: #fecaca;
        }

        body.dark-theme .admin-followup-dashboard {
            background: rgba(15, 23, 42, 0.7);
            border-color: rgba(51, 65, 85, 0.95);
        }

        body.dark-theme .admin-followup-searchbar label {
            color: #94a3b8;
        }

        /* FİRMA SEÇİM BUTONLARI */
        .firma-btn {
            padding: 12px 24px;
            border-radius: 12px;
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            color: #0f172a;
            font-weight: 800;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
            will-change: transform;
            font-size: 13px;
        }

        .firma-btn:hover {
            background: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(0,0,0,0.1);
        }

        .firma-btn.active {
            background: #0ea5e9;
            color: white;
            border-color: #0ea5e9;
            box-shadow: 0 8px 20px rgba(14,165,233,0.3);
        }

        .durum-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 25px;
            display: none;
            contain: layout style;
        }

        .durum-grid button {
            margin: 0;
            padding: 18px 10px;
            font-size: 13px;
            border-radius: 16px;
            font-weight: 800;
            background: #f8fafc;
            color: #0f172a;
            border: 1px solid #cbd5e1;
            transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
            will-change: transform;
            cursor: pointer;
        }

        .durum-grid button:hover {
            background: #ffffff;
            color: #0ea5e9;
            border-color: #0ea5e9;
            transform: translateY(-3px);
            box-shadow: 0 8px 15px rgba(14,165,233,0.2);
        }

        .durum-group-label {
            grid-column: 1 / -1;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            color: #94a3b8;
            padding: 6px 4px 2px;
            margin-top: 4px;
            display: block;
        }
        .durum-group-label:first-child { margin-top: 0; }

        #kontrat-context-bar {
            display: none;
            align-items: center;
            gap: 8px;
            padding: 10px 16px;
            background: rgba(14, 165, 233, 0.08);
            border: 1px solid rgba(14, 165, 233, 0.2);
            border-radius: 12px;
            margin-top: 14px;
            font-size: 13px;
            flex-wrap: wrap;
        }
        .kontrat-ctx-firma { font-weight: 800; color: #0ea5e9; }
        .kontrat-ctx-sep { color: #94a3b8; font-size: 15px; }
        .kontrat-ctx-name { font-weight: 700; color: #0f172a; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

        #kontrat-recent-bar {
            display: none;
            align-items: center;
            gap: 8px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        .kontrat-recent-label {
            font-size: 10px;
            font-weight: 800;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            white-space: nowrap;
        }
        .kontrat-recent-chip {
            background: rgba(14, 165, 233, 0.10);
            color: #0284c7;
            border: 1px solid rgba(14, 165, 233, 0.25);
            border-radius: 8px;
            padding: 5px 13px;
            font-size: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
            max-width: 280px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .kontrat-recent-chip:hover {
            background: rgba(14, 165, 233, 0.20);
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(14,165,233,0.15);
        }

        #kontrat-detay-sonuc {
            margin-top: 30px;
            display: none;
            contain: layout style;
        }

        .sonuc-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
            contain: layout style;
        }

        .bilgi-karti {
            background: #ffffff;
            border-radius: 16px;
            padding: 22px;
            border: 1px solid #e2e8f0;
            border-left: 6px solid #3b82f6;
            box-shadow: 0 8px 20px rgba(0,0,0,0.02);
            display: flex;
            flex-direction: column;
            gap: 8px;
            text-align: left;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            will-change: transform;
        }

        .bilgi-karti:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.05);
        }

        .bilgi-karti.limit-karti {
            border-left-color: #10b981;
            background: #f0fdf4;
            border-color: #bbf7d0;
        }

        .bilgi-karti.uyari-karti {
            grid-column: span 4;
            border-left-color: #f59e0b;
            background: #fffbeb;
            border-color: #fde68a;
        }

        .bilgi-karti.hizmet-yok-karti {
            border-left-color: #ef4444 !important;
            background: #fef2f2 !important;
            border-color: #fecaca !important;
        }

        .bilgi-karti span.etiket {
            font-size: 11px;
            text-transform: uppercase;
            color: #64748b;
            font-weight: 800;
            letter-spacing: 0.5px;
        }

        .bilgi-karti span.deger {
            font-size: 16px;
            font-weight: 900;
            color: #0f172a;
            line-height: 1.5;
        }

        .btn-geri {
            background: #f1f5f9;
            color: #0f172a;
            width: auto;
            padding: 12px 24px;
            margin: 0;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 800;
            border: 1px solid #cbd5e1;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .btn-geri:hover {
            background: #ffffff;
            transform: translateX(-4px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
        }

        .hata-kutu {
            background: #fff1f2;
            border: 2px solid #fecdd3;
            border-radius: 16px;
            padding: 45px 20px;
            text-align: center;
        }

        .hata-baslik {
            color: #be123c;
            margin: 0 0 15px 0;
            font-weight: 900;
        }

        .hata-metin {
            color: #881337;
            font-weight: 600;
            font-size: 15px;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        /* ── YÖNETİCİ GİRİŞ EKRANI (ŞİFRE) ── */
        #admin-auth-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(241, 245, 249, 0.85);
            z-index: 95000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(8px);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        body.dark-theme #admin-auth-modal {
            background: rgba(15,23,42,0.9);
        }

        .auth-card {
            background: rgba(255,255,255,0.95);
            padding: 45px 40px;
            border-radius: 24px;
            border: 1px solid rgba(226,232,240,1);
            text-align: center;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 25px 50px rgba(0,0,0,0.1);
            transform: scale(0.95);
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        body.dark-theme .auth-card {
            background: rgba(30,41,59,0.95);
            border-color: rgba(71,85,105,0.8);
            box-shadow: 0 25px 50px rgba(0,0,0,0.5);
        }

        #admin-auth-modal.active .auth-card {
            transform: scale(1);
        }

        #admin-auth-modal.active {
            display: flex;
            opacity: 1;
        }

        .auth-card h2 {
            color: #0f172a;
            margin: 0 0 10px 0;
            font-weight: 900;
            letter-spacing: 1px;
            font-size: 24px;
            transition: color 0.3s ease;
        }

        body.dark-theme .auth-card h2 {
            color: #f8fafc;
        }

        /* =========================================
        ✨ YÖNETİCİ KOMUTA MERKEZİ ✨
        ========================================= */
        #admin-panel {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #f8fafc;
            z-index: 100000;
            flex-direction: row;
            color: #0f172a;
            font-family: 'Inter', sans-serif;
            overflow: hidden;
            opacity: 0;
            transition: opacity 0.3s ease;
            contain: layout style;
            isolation: isolate;
        }

        body.dark-theme #admin-panel {
            background: #0f172a;
            color: #f8fafc;
        }

        #admin-panel.active {
            display: flex;
            opacity: 1;
        }

        /* SOL MENÜ (SIDEBAR) */
        .admin-sidebar {
            width: 280px;
            background: #ffffff;
            border-right: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            min-height: 0;
            box-shadow: 5px 0 25px rgba(0,0,0,0.02);
            z-index: 10;
            transition: background 0.3s ease, border-color 0.3s ease;
        }

        body.dark-theme .admin-sidebar {
            background: #1e293b;
            border-right-color: #334155;
        }

        .admin-brand {
            flex: 0 0 auto;
            padding: 35px 25px;
            border-bottom: 1px solid #e2e8f0;
            text-align: center;
        }

        body.dark-theme .admin-brand {
            border-bottom-color: #334155;
        }

        .admin-brand img {
            max-width: 140px;
            margin-bottom: 10px;
            mix-blend-mode: multiply;
        }

        body.dark-theme .admin-brand img {
            filter: invert(1) grayscale(1) brightness(1.5);
            mix-blend-mode: screen;
        }

        .admin-brand h2 {
            color: #0ea5e9;
            font-size: 13px;
            font-weight: 900;
            letter-spacing: 2px;
            margin: 0;
            text-transform: uppercase;
        }

        .admin-nav {
            display: flex;
            flex-direction: column;
            padding: 25px 15px;
            gap: 8px;
            flex: 1;
            min-height: 0;
            overflow-y: auto;
            overscroll-behavior: contain;
            scrollbar-gutter: stable;
        }

        .admin-tab-btn {
            background: transparent;
            color: #475569;
            border: 1px solid transparent;
            padding: 16px 20px;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 700;
            font-size: 13px;
            text-align: left;
            transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .admin-tab-btn:hover {
            background: #f1f5f9;
            color: #0ea5e9;
            transform: translateX(5px);
        }

        .admin-tab-btn.active {
            background: #f8fafc;
            color: #0ea5e9;
            border-color: #e0f2fe;
            box-shadow: inset 4px 0 0 #0ea5e9;
            font-weight: 800;
        }

        body.dark-theme .admin-tab-btn {
            color: #94a3b8;
        }
        body.dark-theme .admin-tab-btn:hover {
            background: #334155;
            color: #f8fafc;
        }
        body.dark-theme .admin-tab-btn.active {
            background: #0f172a;
            color: #38bdf8;
            border-color: #0284c7;
        }

        .daily-report-frame {
            width: 100%;
            min-height: calc(100vh - 96px);
            border: none;
            border-radius: 18px;
            background: transparent;
        }

        .operation-center-host {
            width: 100%;
            min-height: 0;
        }

        /* SAĞ İÇERİK ALANI */
        .admin-main {
            flex: 1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
        }

        .admin-topbar {
            height: 80px;
            background: #ffffff;
            border-bottom: 1px solid #e2e8f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 40px;
            transition: background 0.3s ease, border-color 0.3s ease;
        }

        body.dark-theme .admin-topbar {
            background: #1e293b;
            border-bottom-color: #334155;
        }

        .admin-topbar-left { display: flex; align-items: center; gap: 20px; }
        .admin-topbar-right { display: flex; align-items: center; gap: 15px; }

        .btn-cloud-save {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            border-radius: 8px;
            padding: 10px 24px;
            font-weight: 800;
            cursor: pointer;
            border: none;
            color: white;
            transition: transform 0.2s, box-shadow 0.2s;
            display: none;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
            font-size: 13px;
        }

        .btn-cloud-save:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
        }

        .btn-exit-admin {
            background: transparent;
            border-radius: 8px;
            padding: 10px 24px;
            font-weight: 800;
            cursor: pointer;
            border: 1px solid #ef4444;
            color: #ef4444;
            transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
            font-size: 13px;
        }

        .btn-exit-admin:hover {
            background: #ef4444;
            color: white;
            box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
        }

        .admin-content {
            flex: 1;
            padding: 40px;
            overflow-y: auto;
            scroll-behavior: smooth;
            contain: layout style;
        }

        body.operation-scheduler-fullscreen {
            overflow: hidden !important;
        }

        body.operation-scheduler-fullscreen #admin-panel.active {
            display: block;
            overflow: visible;
            contain: none;
            isolation: auto;
        }

        body.operation-scheduler-fullscreen #admin-panel .admin-sidebar,
        body.operation-scheduler-fullscreen #admin-panel .admin-topbar,
        body.operation-scheduler-fullscreen #admin-panel .operation-center-admin-head {
            display: none !important;
        }

        body.operation-scheduler-fullscreen #admin-panel .admin-main,
        body.operation-scheduler-fullscreen #admin-panel .admin-content,
        body.operation-scheduler-fullscreen #admin-panel #tab-operasyon-merkezi,
        body.operation-scheduler-fullscreen #admin-panel .operation-center-admin-shell,
        body.operation-scheduler-fullscreen #admin-panel .operation-center-host,
        body.operation-scheduler-fullscreen #admin-panel .operation-root {
            width: 100% !important;
            height: auto !important;
            min-height: 100vh !important;
            max-height: none !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: visible !important;
            contain: none !important;
        }

        /* SİBER-KURUMSAL KARTLAR */
        .admin-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 35px;
            margin-bottom: 30px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.02);
            transition: background 0.3s, border-color 0.3s;
        }

        body.dark-theme .admin-card {
            background: #1e293b;
            border-color: #334155;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }

        .admin-card h3 {
            margin-top: 0;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 15px;
            font-weight: 800;
            font-size: 18px;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: color 0.3s;
        }

        body.dark-theme .admin-card h3 {
            border-bottom-color: #334155;
        }

        .user-management-card {
            padding: 0;
            overflow: hidden;
        }

        .user-management-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 22px;
            padding: 30px 32px 24px;
            border-bottom: 1px solid rgba(226,232,240,0.9);
            background: linear-gradient(135deg, rgba(14,165,233,0.08), rgba(16,185,129,0.05)), #ffffff;
        }

        body.dark-theme .user-management-head {
            background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(16,185,129,0.08)), #1e293b;
            border-bottom-color: #334155;
        }

        .user-management-kicker {
            display: inline-flex;
            margin-bottom: 10px;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(14,165,233,0.1);
            color: #0284c7;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        body.dark-theme .user-management-kicker {
            background: rgba(14,165,233,0.16);
            color: #7dd3fc;
        }

        .user-management-head h3 {
            margin: 0;
            padding: 0;
            border: none;
            font-size: 24px;
            letter-spacing: 0;
            justify-content: flex-start;
        }

        .user-management-head .desc {
            margin: 9px 0 0;
            max-width: 760px;
            line-height: 1.55;
        }

        .user-management-summary,
        .user-management-role-summary {
            display: grid;
            grid-template-columns: repeat(3, minmax(86px, 1fr));
            gap: 9px;
            min-width: 310px;
        }

        .user-management-role-summary {
            min-width: 0;
            margin: 16px 0;
            grid-template-columns: repeat(5, minmax(74px, 1fr));
        }

        .user-management-count {
            padding: 12px;
            border-radius: 12px;
            background: rgba(255,255,255,0.78);
            border: 1px solid rgba(226,232,240,0.9);
        }

        body.dark-theme .user-management-count {
            background: rgba(15,23,42,0.62);
            border-color: #334155;
        }

        .user-management-count span {
            display: block;
            color: #64748b;
            font-size: 9px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            white-space: nowrap;
        }

        body.dark-theme .user-management-count span {
            color: #94a3b8;
        }

        .user-management-count strong {
            display: block;
            margin-top: 5px;
            color: #0f172a;
            font-size: 22px;
            font-weight: 900;
            line-height: 1;
        }

        body.dark-theme .user-management-count strong {
            color: #f8fafc;
        }

        .user-management-count.admin strong { color: #7c3aed; }
        .user-management-count.admin_x strong { color: #db2777; }
        .user-management-count.super_admin strong { color: #8b5cf6; }
        .user-management-count.yonetici strong { color: #0284c7; }
        .user-management-count.temsilci strong { color: #059669; }

        .user-management-grid {
            display: grid;
            grid-template-columns: minmax(360px, 520px) minmax(520px, 1fr);
            gap: 0;
            min-height: 620px;
        }

        .user-management-panel {
            min-width: 0;
            padding: 30px 32px;
        }

        .user-management-form-panel {
            border-right: 1px solid rgba(226,232,240,0.9);
            background: #ffffff;
        }

        .user-management-directory-panel {
            background: #f8fafc;
        }

        body.dark-theme .user-management-form-panel {
            background: #1e293b;
            border-right-color: #334155;
        }

        body.dark-theme .user-management-directory-panel {
            background: #0f172a;
        }

        .user-management-section-head,
        .user-management-list-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 18px;
        }

        .user-management-section-head h4,
        .user-management-list-head h4 {
            margin: 0;
            color: #0f172a;
            font-size: 16px;
            font-weight: 900;
            line-height: 1.25;
        }

        body.dark-theme .user-management-section-head h4,
        body.dark-theme .user-management-list-head h4 {
            color: #f8fafc;
        }

        .user-management-section-head span {
            flex: 0 0 auto;
            padding: 6px 9px;
            border-radius: 999px;
            background: rgba(14,165,233,0.09);
            color: #0284c7;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.6px;
        }

        .user-management-list-head p {
            margin: 6px 0 0;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.4;
        }

        body.dark-theme .user-management-list-head p {
            color: #94a3b8;
        }

        .user-management-label {
            display: block;
            color: #475569;
            font-size: 11px;
            font-weight: 900;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.4px;
        }

        body.dark-theme .user-management-label {
            color: #cbd5e1;
        }

        .user-management-create-btn {
            width: 100%;
            justify-content: center;
            padding: 18px;
            font-size: 14px;
            margin-top: 2px;
        }

        .user-management-role-editor {
            margin-top: 28px;
            padding-top: 26px;
            border-top: 1px dashed rgba(226,232,240,0.95);
        }

        body.dark-theme .user-management-role-editor {
            border-top-color: #334155;
        }

        .user-management-role-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .user-management-role-actions .role-action {
            min-height: 58px;
            width: 100%;
            padding: 12px 10px;
            justify-content: center;
            text-align: center;
            line-height: 1.2;
            font-size: 11px;
            letter-spacing: 0.8px;
        }

        .role-action.role-super {
            background: rgba(139, 92, 246, 0.1);
            border-color: #8b5cf6;
            color: #7c3aed;
        }

        .role-action.role-adminx {
            background: rgba(236, 72, 153, 0.1);
            border-color: #ec4899;
            color: #db2777;
        }

        .role-action.role-manager {
            background: rgba(14, 165, 233, 0.1);
            border-color: #0ea5e9;
            color: #0284c7;
        }

        .role-action.role-rep {
            background: rgba(239, 68, 68, 0.1);
            border-color: #ef4444;
            color: #ef4444;
        }

        .user-management-refresh-btn {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 96px;
            min-height: 40px;
            padding: 0 16px;
            border: 1px solid #0ea5e9;
            border-radius: 12px;
            background: #0ea5e9;
            color: #ffffff;
            box-shadow: 0 10px 20px rgba(14, 165, 233, 0.16);
            cursor: pointer;
            font-size: 11px;
            font-weight: 900;
            letter-spacing: 0.6px;
            line-height: 1;
            text-transform: uppercase;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
            white-space: nowrap;
        }

        .user-management-refresh-btn:hover {
            background: #0284c7;
            border-color: #0284c7;
            box-shadow: 0 14px 26px rgba(14, 165, 233, 0.22);
            transform: translateY(-1px);
        }

        .user-management-refresh-btn:disabled {
            cursor: wait;
            opacity: 0.7;
            transform: none;
            box-shadow: none;
        }

        body.dark-theme .user-management-refresh-btn {
            background: #38bdf8;
            border-color: #38bdf8;
            color: #082f49;
        }

        .user-management-filters {
            display: grid;
            grid-template-columns: minmax(220px, 1fr) 190px;
            gap: 10px;
        }

        .user-management-filters .admin-input,
        .user-management-filters .admin-select {
            margin-bottom: 0;
        }

        .user-management-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
            max-height: 455px;
            overflow-y: auto;
            padding-right: 4px;
        }

        .user-management-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 14px;
            align-items: center;
            min-height: 80px;
            padding: 14px;
            border-radius: 14px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 8px 20px rgba(15,23,42,0.03);
        }

        body.dark-theme .user-management-row {
            background: #1e293b;
            border-color: #334155;
            box-shadow: none;
        }

        .user-management-person {
            min-width: 0;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .user-management-person > div {
            min-width: 0;
        }

        .user-management-avatar {
            flex: 0 0 auto;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, rgba(14,165,233,0.16), rgba(16,185,129,0.14));
            color: #0284c7;
            font-size: 12px;
            font-weight: 900;
            line-height: 1;
            margin: 0;
            text-align: center;
            white-space: nowrap;
        }

        .user-management-person strong {
            display: block;
            color: #0f172a;
            font-size: 13px;
            font-weight: 900;
            line-height: 1.2;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        body.dark-theme .user-management-person strong {
            color: #f8fafc;
        }

        .user-management-person > div > span {
            display: block;
            margin-top: 4px;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        body.dark-theme .user-management-person > div > span {
            color: #94a3b8;
        }

        .user-management-role-pill {
            justify-self: end;
            padding: 8px 10px;
            border-radius: 999px;
            border: 1px solid rgba(148,163,184,0.24);
            background: rgba(148,163,184,0.1);
            color: #475569;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.6px;
            white-space: nowrap;
        }

        .user-management-role-pill.admin {
            background: rgba(124,58,237,0.12);
            border-color: rgba(124,58,237,0.26);
            color: #7c3aed;
        }

        .user-management-role-pill.admin_x {
            background: rgba(236,72,153,0.12);
            border-color: rgba(236,72,153,0.28);
            color: #db2777;
        }

        .user-management-role-pill.super_admin {
            background: rgba(139,92,246,0.12);
            border-color: rgba(139,92,246,0.28);
            color: #8b5cf6;
        }

        .user-management-role-pill.yonetici {
            background: rgba(14,165,233,0.12);
            border-color: rgba(14,165,233,0.28);
            color: #0284c7;
        }

        .user-management-role-pill.temsilci {
            background: rgba(16,185,129,0.12);
            border-color: rgba(16,185,129,0.26);
            color: #059669;
        }

        .user-management-empty {
            padding: 28px;
            border-radius: 14px;
            border: 1px dashed #cbd5e1;
            color: #64748b;
            background: rgba(255,255,255,0.6);
            font-size: 13px;
            font-weight: 800;
            text-align: center;
        }

        body.dark-theme .user-management-empty {
            border-color: #334155;
            color: #94a3b8;
            background: rgba(30,41,59,0.7);
        }

        @media (max-width: 1280px) {
            .user-management-head,
            .user-management-grid {
                grid-template-columns: 1fr;
            }

            .user-management-head {
                flex-direction: column;
            }

            .user-management-summary {
                width: 100%;
                min-width: 0;
            }

            .user-management-form-panel {
                border-right: none;
                border-bottom: 1px solid rgba(226,232,240,0.9);
            }
        }

        @media (max-width: 760px) {
            .user-management-head,
            .user-management-panel {
                padding: 22px;
            }

            .user-management-summary,
            .user-management-role-summary,
            .user-management-filters,
            .user-management-role-actions {
                grid-template-columns: 1fr;
            }

            .user-management-row {
                grid-template-columns: 1fr;
            }

            .user-management-role-pill {
                justify-self: start;
            }
        }

        .admin-page-access-btn {
            position: relative;
            z-index: 100010;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 38px;
            padding: 0 14px;
            border: 1px solid rgba(14, 165, 233, 0.22);
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(236, 253, 245, 0.88));
            color: #075985;
            box-shadow: 0 10px 24px rgba(14, 165, 233, 0.1);
            cursor: pointer;
            font-size: 12px;
            font-weight: 850;
            letter-spacing: 0;
            line-height: 1;
            pointer-events: auto;
            text-transform: none;
            transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
            white-space: nowrap;
        }

        .admin-page-access-btn::before {
            content: "";
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #10b981;
            box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
        }

        .admin-page-access-btn:hover,
        .admin-page-access-btn:focus-visible {
            transform: translateY(-1px);
            border-color: rgba(14, 165, 233, 0.36);
            background: linear-gradient(135deg, #ffffff, #e0f2fe);
            color: #0369a1;
            box-shadow: 0 16px 32px rgba(14, 165, 233, 0.16);
        }

        .admin-page-access-btn[hidden] {
            display: none !important;
        }

        .admin-page-access-modal {
            position: fixed;
            inset: 0;
            z-index: 2147483200;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: rgba(15, 23, 42, 0.34);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.16s ease;
        }

        .admin-page-access-modal.active {
            display: flex;
            opacity: 1;
            pointer-events: auto;
        }

        .admin-page-access-dialog {
            position: relative;
            display: flex;
            flex-direction: column;
            width: min(1060px, 96vw);
            max-height: calc(100vh - 48px);
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.82);
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
            transform: translateY(6px) scale(0.985);
            transition: transform 0.18s ease;
        }

        .admin-page-access-modal.active .admin-page-access-dialog {
            transform: translateY(0) scale(1);
        }

        .admin-page-access-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            padding: 24px 82px 18px 26px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.92);
            background: linear-gradient(135deg, rgba(240, 249, 255, 0.96), rgba(236, 253, 245, 0.86));
        }

        .admin-page-access-head > div:first-child {
            min-width: 0;
        }

        .admin-page-access-head span {
            display: inline-flex;
            margin-bottom: 8px;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(14, 165, 233, 0.1);
            color: #0284c7;
            font-size: 10px;
            font-weight: 850;
            letter-spacing: 0;
            text-transform: none;
        }

        .admin-page-access-head h3 {
            margin: 0;
            color: #0f172a;
            font-size: 21px;
            font-weight: 900;
            letter-spacing: 0;
        }

        .admin-page-access-head p {
            margin: 7px 0 0;
            color: #64748b;
            font-size: 13px;
            font-weight: 700;
            line-height: 1.45;
        }

        .admin-page-access-state {
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            min-height: 36px;
            padding: 0 12px;
            border: 1px solid rgba(14, 165, 233, 0.2);
            border-radius: 999px;
            background: rgba(224, 242, 254, 0.78);
            color: #0369a1;
            font-size: 11px;
            font-weight: 800;
            line-height: 1;
            max-width: min(260px, 26vw);
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .admin-page-access-close {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 2;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border: 1px solid rgba(203, 213, 225, 0.9);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.9);
            color: #334155;
            cursor: pointer;
            font-size: 24px;
            line-height: 1;
        }

        .admin-page-access-tools,
        .admin-page-access-footer {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 26px;
            border-bottom: 1px solid rgba(226, 232, 240, 0.78);
            flex-wrap: wrap;
        }

        .admin-page-access-footer {
            justify-content: flex-end;
            border-top: 1px solid rgba(226, 232, 240, 0.9);
            border-bottom: 0;
            background: rgba(248, 250, 252, 0.9);
        }

        .admin-page-access-tool {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            border: 1px solid rgba(148, 163, 184, 0.34);
            border-radius: 999px;
            padding: 0 14px;
            background: #ffffff;
            color: #334155;
            cursor: pointer;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0;
            text-transform: none;
            white-space: nowrap;
            transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
        }

        .admin-page-access-tool.primary,
        .admin-page-access-tool.active {
            border-color: rgba(14, 165, 233, 0.26);
            background: linear-gradient(135deg, #0ea5e9, #10b981);
            color: #ffffff;
            box-shadow: 0 12px 24px rgba(14, 165, 233, 0.18);
        }

        .admin-page-access-tool:hover,
        .admin-page-access-tool:focus-visible {
            transform: translateY(-1px);
            border-color: rgba(14, 165, 233, 0.32);
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
        }

        .admin-page-access-tool:disabled {
            cursor: wait;
            opacity: 0.68;
        }

        .admin-page-access-filters {
            display: grid;
            grid-template-columns: minmax(220px, 1fr) 190px;
            gap: 10px;
            padding: 14px 26px 0;
        }

        .admin-page-access-filters .admin-input,
        .admin-page-access-filters .admin-select {
            margin-bottom: 0;
        }

        .admin-page-access-summary {
            display: flex;
            align-items: center;
            gap: 10px;
            min-height: 34px;
            padding: 12px 26px 0;
            color: #64748b;
            font-size: 12px;
            font-weight: 850;
            flex-wrap: wrap;
        }

        .admin-page-access-summary strong {
            color: #0f172a;
        }

        .admin-page-access-list {
            display: grid;
            gap: 10px;
            min-height: 280px;
            max-height: min(52vh, 560px);
            overflow-y: auto;
            overscroll-behavior: contain;
            padding: 14px 26px 20px;
            scrollbar-gutter: stable;
            transform: translateZ(0);
        }

        .admin-page-access-empty {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 190px;
            border: 1px dashed rgba(148, 163, 184, 0.45);
            border-radius: 14px;
            color: #64748b;
            background: rgba(248, 250, 252, 0.74);
            font-size: 13px;
            font-weight: 850;
            text-align: center;
        }

        .admin-page-access-user {
            display: grid;
            grid-template-columns: 34px minmax(0, 1fr) auto;
            gap: 12px;
            align-items: center;
            min-height: 72px;
            padding: 12px;
            border: 1px solid rgba(226, 232, 240, 0.95);
            border-radius: 16px;
            background: #ffffff;
            box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
            content-visibility: auto;
            contain: layout paint style;
            contain-intrinsic-size: 78px;
        }

        .admin-page-access-user input {
            width: 20px;
            height: 20px;
            accent-color: #0ea5e9;
        }

        .admin-page-access-user-main {
            min-width: 0;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .admin-page-access-avatar {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(16, 185, 129, 0.13));
            color: #0284c7;
            font-size: 12px;
            font-weight: 900;
            line-height: 1;
        }

        .admin-page-access-user-main > div {
            min-width: 0;
        }

        .admin-page-access-user strong,
        .admin-page-access-user small {
            display: block;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .admin-page-access-user strong {
            color: #0f172a;
            font-size: 13px;
            font-weight: 900;
        }

        .admin-page-access-user small {
            margin-top: 4px;
            color: #64748b;
            font-size: 12px;
            font-weight: 750;
        }

        .admin-page-access-pill {
            justify-self: end;
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            border: 1px solid rgba(148, 163, 184, 0.28);
            border-radius: 999px;
            padding: 0 10px;
            background: rgba(148, 163, 184, 0.1);
            color: #475569;
            font-size: 10px;
            font-weight: 850;
            text-transform: none;
            white-space: nowrap;
        }

        .admin-page-access-pill.admin,
        .admin-page-access-pill.admin_x {
            color: #db2777;
            background: rgba(236, 72, 153, 0.12);
            border-color: rgba(236, 72, 153, 0.2);
        }

        .admin-page-access-pill.super_admin {
            color: #7c3aed;
            background: rgba(139, 92, 246, 0.12);
            border-color: rgba(139, 92, 246, 0.2);
        }

        .admin-page-access-pill.yonetici {
            color: #0284c7;
            background: rgba(14, 165, 233, 0.12);
            border-color: rgba(14, 165, 233, 0.2);
        }

        .admin-page-access-denied-state {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: min(640px, calc(100vh - 190px));
            padding: 28px;
        }

        .admin-page-access-denied-card {
            width: min(560px, 100%);
            border: 1px solid rgba(226, 232, 240, 0.96);
            border-radius: 18px;
            padding: 34px;
            background: #ffffff;
            box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
            text-align: center;
        }

        .admin-page-access-denied-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 58px;
            height: 58px;
            margin-bottom: 16px;
            border-radius: 18px;
            background: rgba(239, 68, 68, 0.1);
            color: #ef4444;
            font-size: 28px;
            font-weight: 950;
        }

        .admin-page-access-denied-card h3 {
            margin: 0 0 8px;
            color: #0f172a;
            font-size: 24px;
            font-weight: 950;
        }

        .admin-page-access-denied-card p {
            margin: 0;
            color: #64748b;
            font-size: 14px;
            font-weight: 800;
            line-height: 1.55;
        }

        body.dark-theme .admin-page-access-btn {
            border-color: rgba(125, 211, 252, 0.25);
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(14, 116, 144, 0.2));
            color: #bae6fd;
            box-shadow: none;
        }

        body.dark-theme .admin-page-access-dialog,
        body.dark-theme .admin-page-access-denied-card {
            border-color: #334155;
            background: #1e293b;
            color: #f8fafc;
            box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
        }

        body.dark-theme .admin-page-access-head {
            border-bottom-color: #334155;
            background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(16, 185, 129, 0.08));
        }

        body.dark-theme .admin-page-access-head h3,
        body.dark-theme .admin-page-access-summary strong,
        body.dark-theme .admin-page-access-user strong,
        body.dark-theme .admin-page-access-denied-card h3 {
            color: #f8fafc;
        }

        body.dark-theme .admin-page-access-head p,
        body.dark-theme .admin-page-access-summary,
        body.dark-theme .admin-page-access-user small,
        body.dark-theme .admin-page-access-denied-card p {
            color: #94a3b8;
        }

        body.dark-theme .admin-page-access-state,
        body.dark-theme .admin-page-access-head span {
            border-color: rgba(125, 211, 252, 0.2);
            background: rgba(14, 165, 233, 0.16);
            color: #7dd3fc;
        }

        body.dark-theme .admin-page-access-close,
        body.dark-theme .admin-page-access-tool,
        body.dark-theme .admin-page-access-user,
        body.dark-theme .admin-page-access-empty,
        body.dark-theme .admin-page-access-footer {
            border-color: #334155;
            background: #0f172a;
            color: #cbd5e1;
        }

        body.dark-theme .admin-page-access-tool.primary,
        body.dark-theme .admin-page-access-tool.active {
            border-color: #38bdf8;
            background: #38bdf8;
            color: #082f49;
        }

        @media (max-width: 760px) {
            .admin-page-access-modal {
                padding: 12px;
            }

            .admin-page-access-dialog {
                max-height: calc(100vh - 24px);
            }

            .admin-page-access-head,
            .admin-page-access-tools,
            .admin-page-access-footer,
            .admin-page-access-filters,
            .admin-page-access-summary,
            .admin-page-access-list {
                padding-left: 18px;
                padding-right: 18px;
            }

            .admin-page-access-filters,
            .admin-page-access-user {
                grid-template-columns: 1fr;
            }

            .admin-page-access-head {
                display: block;
                padding-right: 64px;
            }

            .admin-page-access-state {
                margin-top: 12px;
                max-width: min(260px, calc(100% - 4px));
            }

            .admin-page-access-pill {
                justify-self: start;
            }
        }

        .admin-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 25px;
        }

        .stat-box {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            padding: 30px 25px;
            border-radius: 16px;
            text-align: left;
            position: relative;
            overflow: hidden;
            transition: transform 0.2s, background 0.3s, border-color 0.3s;
        }

        body.dark-theme .stat-box {
            background: #0f172a;
            border-color: #334155;
        }

        .stat-box:hover {
            transform: translateY(-5px);
            border-color: #cbd5e1;
        }

        body.dark-theme .stat-box:hover {
            border-color: #475569;
        }

        .stat-box::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: #0ea5e9; border-radius: 4px 0 0 4px; }
        .stat-box:nth-child(2)::before { background: #a855f7; }
        .stat-box:nth-child(3)::before { background: #f59e0b; }
        .stat-box:nth-child(4)::before { background: #10b981; }
        .stat-box:nth-child(5)::before { background: #f43f5e; }
        .stat-box:nth-child(6)::before { background: #6366f1; }

        .stat-val {
            font-size: 38px;
            font-weight: 900;
            margin: 10px 0 5px 0;
            font-family: 'Inter', sans-serif;
            letter-spacing: -1px;
            transition: color 0.3s;
        }

        .stat-label {
            color: #64748b;
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

	        .stat-desc {
	            color: #94a3b8;
	            font-size: 12px;
	            margin-top: 5px;
	        }

        /* CRM ANALİTİK ANA SAYFA */
        .ops-hero-panel {
            display: grid;
            grid-template-columns: minmax(280px, 1fr) minmax(360px, 520px);
            gap: 24px;
            align-items: stretch;
            padding: 28px;
            margin-bottom: 24px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(99,102,241,0.08)), rgba(255,255,255,0.9);
            border: 1px solid rgba(226,232,240,0.9);
            box-shadow: 0 18px 35px rgba(15,23,42,0.06);
        }

        body.dark-theme .ops-hero-panel {
            background: linear-gradient(135deg, rgba(14,165,233,0.18), rgba(99,102,241,0.12)), rgba(30,41,59,0.95);
            border-color: #334155;
        }

        .ops-eyebrow {
            display: inline-flex;
            padding: 6px 10px;
            border-radius: 999px;
            background: rgba(14,165,233,0.12);
            color: #0284c7;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 14px;
        }

        .ops-hero-panel h2 {
            margin: 0;
            font-size: 30px;
            line-height: 1.15;
            font-weight: 900;
            letter-spacing: 0;
            color: #0f172a;
        }

        body.dark-theme .ops-hero-panel h2 {
            color: #f8fafc;
        }

        .ops-hero-panel p {
            margin: 10px 0 0;
            color: #64748b;
            font-weight: 700;
            line-height: 1.6;
            max-width: 680px;
        }

        body.dark-theme .ops-hero-panel p {
            color: #cbd5e1;
        }

        .ops-role-banner {
            display: inline-flex;
            align-items: center;
            margin-top: 18px;
            padding: 10px 12px;
            border-radius: 12px;
            background: rgba(16,185,129,0.1);
            border: 1px solid rgba(16,185,129,0.22);
            color: #047857;
            font-size: 12px;
            font-weight: 900;
            line-height: 1.4;
        }

        .ops-role-banner.readonly {
            background: rgba(245,158,11,0.12);
            border-color: rgba(245,158,11,0.28);
            color: #b45309;
        }

        .ops-role-banner.root {
            background: rgba(139,92,246,0.12);
            border-color: rgba(139,92,246,0.3);
            color: #7c3aed;
        }

        body.dark-theme .ops-role-banner {
            color: #86efac;
            background: rgba(16,185,129,0.12);
            border-color: rgba(16,185,129,0.28);
        }

        body.dark-theme .ops-role-banner.readonly {
            color: #fbbf24;
            background: rgba(245,158,11,0.12);
            border-color: rgba(245,158,11,0.24);
        }

        body.dark-theme .ops-role-banner.root {
            color: #c4b5fd;
            background: rgba(139,92,246,0.14);
            border-color: rgba(139,92,246,0.28);
        }

        .ops-filter-panel {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 16px;
            border-radius: 16px;
            background: rgba(255,255,255,0.78);
            border: 1px solid rgba(226,232,240,0.9);
        }

        body.dark-theme .ops-filter-panel {
            background: rgba(15,23,42,0.72);
            border-color: #334155;
        }

        .ops-date-row, .ops-quick-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }

        .ops-date-row label {
            display: flex;
            flex-direction: column;
            gap: 6px;
            color: #64748b;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.7px;
        }

        .ops-date-row input, .ops-date-row select {
            width: 100%;
            border: 1px solid #dbe3ee;
            border-radius: 10px;
            background: #ffffff;
            color: #0f172a;
            padding: 10px 11px;
            font-size: 12px;
            font-weight: 800;
            outline: none;
        }

        body.dark-theme .ops-date-row input,
        body.dark-theme .ops-date-row select {
            background: #0f172a;
            color: #f8fafc;
            border-color: #334155;
        }

        .ops-quick-row {
            grid-template-columns: repeat(4, 1fr);
        }

        .ops-quick-row button {
            border: 1px solid rgba(14,165,233,0.24);
            border-radius: 10px;
            background: rgba(14,165,233,0.1);
            color: #0284c7;
            padding: 10px 8px;
            font-size: 11px;
            font-weight: 900;
            cursor: pointer;
            transition: 0.2s;
        }

        .ops-quick-row button:hover {
            background: #0ea5e9;
            color: #ffffff;
            transform: translateY(-1px);
        }

        .ops-kpi-grid {
            display: grid;
            grid-template-columns: repeat(6, minmax(150px, 1fr));
            gap: 14px;
            margin-bottom: 24px;
        }

        .ops-kpi-card {
            min-height: 140px;
            padding: 20px;
            border-radius: 16px;
            background: #ffffff;
            border: 1px solid #e2e8f0;
            box-shadow: 0 10px 24px rgba(15,23,42,0.04);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        body.dark-theme .ops-kpi-card {
            background: #1e293b;
            border-color: #334155;
        }

        .ops-kpi-card.featured {
            grid-column: span 2;
            background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(16,185,129,0.1)), #ffffff;
        }

        body.dark-theme .ops-kpi-card.featured {
            background: linear-gradient(135deg, rgba(14,165,233,0.22), rgba(16,185,129,0.14)), #1e293b;
        }

        .ops-kpi-card span {
            color: #64748b;
            font-size: 10px;
            font-weight: 900;
            text-transform: uppercase;
            letter-spacing: 0.9px;
        }

        .ops-kpi-card strong {
            color: #0f172a;
            font-size: 26px;
            font-weight: 900;
            line-height: 1.15;
            letter-spacing: 0;
            margin-top: 10px;
            word-break: break-word;
        }

        body.dark-theme .ops-kpi-card strong {
            color: #f8fafc;
        }

        .ops-kpi-card small {
            color: #94a3b8;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.45;
            margin-top: 10px;
        }

        .ops-dashboard-grid {
            display: grid;
            grid-template-columns: minmax(360px, 1.35fr) minmax(320px, 1fr) minmax(320px, 1fr);
            gap: 18px;
            align-items: stretch;
        }

        .ops-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 18px;
            padding: 22px;
            box-shadow: 0 12px 28px rgba(15,23,42,0.04);
            min-height: 280px;
        }

        body.dark-theme .ops-card {
            background: #1e293b;
            border-color: #334155;
        }

        .ops-card-wide {
            grid-row: span 2;
        }

        .ops-card-full {
            grid-column: 1 / -1;
            min-height: auto;
        }

        .ops-card-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            margin-bottom: 18px;
        }

        .ops-card-head h3 {
            margin: 0;
            padding: 0;
            border: none;
            color: #0f172a;
            font-size: 16px;
            font-weight: 900;
            letter-spacing: 0;
        }

        body.dark-theme .ops-card-head h3 {
            color: #f8fafc;
        }

        .ops-card-head p {
            margin: 5px 0 0;
            color: #94a3b8;
            font-size: 12px;
            font-weight: 700;
        }

        .brand-family-list, .action-breakdown-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .brand-family-item {
            padding: 14px;
            border-radius: 14px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
        }

        body.dark-theme .brand-family-item {
            background: #0f172a;
            border-color: #334155;
        }

        .brand-family-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 9px;
        }

        .brand-family-top strong {
            font-size: 14px;
            font-weight: 900;
            color: #0f172a;
        }

        body.dark-theme .brand-family-top strong {
            color: #f8fafc;
        }

        .brand-family-top span {
            color: #0ea5e9;
            font-size: 15px;
            font-weight: 900;
            white-space: nowrap;
        }

        .brand-family-bar {
            height: 8px;
            border-radius: 999px;
            background: rgba(148,163,184,0.18);
            overflow: hidden;
            margin-bottom: 8px;
        }

        .brand-family-bar b {
            display: block;
            height: 100%;
            border-radius: inherit;
            background: linear-gradient(90deg, #0ea5e9, #10b981);
        }

        .brand-family-aliases {
            color: #64748b;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.5;
        }

        body.dark-theme .brand-family-aliases {
            color: #cbd5e1;
        }

        .ops-health-bars {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .ops-health-bars > div > div {
            display: flex;
            justify-content: space-between;
            color: #64748b;
            font-size: 12px;
            font-weight: 900;
            margin-bottom: 6px;
        }

        .ops-health-bars i {
            display: block;
            width: 100%;
            height: 9px;
            background: rgba(148,163,184,0.16);
            border-radius: 999px;
            overflow: hidden;
        }

        .ops-health-bars b {
            display: block;
            height: 100%;
            border-radius: inherit;
            transition: width 0.45s ease;
        }

        #bar-success { background: #10b981; }
        #bar-error { background: #ef4444; }
        #bar-contract { background: #0ea5e9; }

        .ops-mini-note {
            margin-top: 18px;
            padding: 12px;
            border-radius: 12px;
            background: rgba(14,165,233,0.08);
            color: #0369a1;
            font-size: 12px;
            font-weight: 800;
            line-height: 1.45;
        }

        body.dark-theme .ops-mini-note {
            background: rgba(14,165,233,0.12);
            color: #7dd3fc;
        }

        .ops-hourly-bars {
            height: 210px;
            display: grid;
            grid-template-columns: repeat(24, 1fr);
            align-items: end;
            gap: 4px;
            padding-top: 8px;
        }

        .ops-hour {
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
            color: #94a3b8;
            font-size: 9px;
            font-weight: 900;
        }

        .ops-hour b {
            width: 100%;
            max-width: 18px;
            min-height: 2px;
            border-radius: 6px 6px 2px 2px;
            background: rgba(14,165,233,0.28);
            transition: height 0.45s ease;
        }

        .ops-hour.active b {
            background: linear-gradient(180deg, #0ea5e9, #2563eb);
        }

        .ops-compact-table {
            width: 100%;
            border-collapse: collapse;
        }

        .ops-table-wrap {
            overflow-x: auto;
        }

        .ops-compact-table th {
            padding: 0 12px 10px 0;
            border-bottom: 1px solid #e2e8f0;
            color: #94a3b8;
            font-size: 10px;
            font-weight: 900;
            text-align: left;
            text-transform: uppercase;
            letter-spacing: 0.7px;
            white-space: nowrap;
        }

        body.dark-theme .ops-compact-table th {
            border-bottom-color: #334155;
        }

        .ops-compact-table td {
            padding: 12px 12px 12px 0;
            border-bottom: 1px dashed #e2e8f0;
            color: #475569;
            font-size: 12px;
            font-weight: 800;
            vertical-align: middle;
        }

        body.dark-theme .ops-compact-table td {
            border-bottom-color: #334155;
            color: #cbd5e1;
        }

        .ops-compact-table td:last-child {
            text-align: right;
            color: #0ea5e9;
            font-weight: 900;
            padding-right: 0;
        }

        .ops-search-table {
            table-layout: fixed;
        }

        .ops-search-table td:first-child {
            width: auto;
            padding-right: 14px;
        }

        .ops-search-table td:last-child {
            width: 86px;
            white-space: nowrap;
            vertical-align: middle;
        }

        .ops-search-model {
            display: block;
            line-height: 1.2;
            overflow-wrap: anywhere;
        }

        .ops-search-count {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 68px;
            white-space: nowrap;
            line-height: 1;
        }

        .ops-performance-table {
            min-width: 720px;
        }

        .ops-performance-table th,
        .ops-performance-table td {
            text-align: right;
        }

        .ops-performance-table th:first-child,
        .ops-performance-table td:first-child {
            text-align: left;
            width: 44%;
            overflow-wrap: anywhere;
        }

        .action-chip-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 12px;
            border-radius: 12px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            color: #475569;
            font-size: 12px;
            font-weight: 900;
        }

        body.dark-theme .action-chip-row {
            background: #0f172a;
            border-color: #334155;
            color: #cbd5e1;
        }

        .action-chip-row b {
            color: #0f172a;
            font-size: 16px;
        }

        body.dark-theme .action-chip-row b {
            color: #f8fafc;
        }

        .ops-report-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(160px, 1fr));
            gap: 12px;
            min-width: 0;
        }

        .ops-report-grid button {
            text-align: left;
            border: 1px solid rgba(14,165,233,0.22);
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(16,185,129,0.06));
            padding: 15px;
            cursor: pointer;
            transition: 0.2s;
            min-width: 0;
            overflow: hidden;
        }

        .ops-report-grid button:hover {
            transform: translateY(-2px);
            border-color: #0ea5e9;
            box-shadow: 0 12px 24px rgba(14,165,233,0.12);
        }

        .ops-report-grid strong {
            display: block;
            color: #0f172a;
            font-size: 13px;
            font-weight: 900;
            margin-bottom: 5px;
        }

        .ops-report-grid span {
            color: #64748b;
            font-size: 11px;
            font-weight: 800;
            line-height: 1.35;
        }

        body.dark-theme .ops-report-grid button {
            background: linear-gradient(135deg, rgba(14,165,233,0.14), rgba(16,185,129,0.08));
            border-color: #334155;
        }

        body.dark-theme .ops-report-grid strong {
            color: #f8fafc;
        }

        body.dark-theme .ops-report-grid span {
            color: #cbd5e1;
        }

        @media (max-width: 1380px) {
            .ops-hero-panel {
                grid-template-columns: 1fr;
            }

            .ops-kpi-grid {
                grid-template-columns: repeat(3, minmax(180px, 1fr));
            }

            .ops-kpi-card.featured {
                grid-column: span 2;
            }

            .ops-dashboard-grid {
                grid-template-columns: 1fr 1fr;
            }

            .ops-card-wide {
                grid-row: auto;
                grid-column: span 2;
            }

            .ops-card-full {
                grid-column: span 2;
            }
        }

        @media (max-width: 900px) {
            .ops-kpi-grid,
            .ops-dashboard-grid {
                grid-template-columns: 1fr;
            }

            .ops-kpi-card.featured,
            .ops-card-wide,
            .ops-card-full {
                grid-column: auto;
            }

            .ops-quick-row {
                grid-template-columns: 1fr 1fr;
            }

            .ops-hourly-bars {
                gap: 2px;
            }

            .ops-report-grid {
                grid-template-columns: 1fr;
            }
        }

        /* SİBER TABLOLAR VE BUTONLAR */
        .admin-table-container {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            overflow-x: auto;
            overflow-y: auto;
            max-height: 500px;
            transition: background 0.3s, border-color 0.3s;
        }

        body.dark-theme .admin-table-container {
            background: #1e293b;
            border-color: #334155;
        }

        .admin-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 13px;
            white-space: nowrap;
        }

        .admin-table th {
            background: #f1f5f9;
            color: #475569;
            padding: 18px 20px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 11px;
            position: sticky;
            top: 0;
            z-index: 10;
            border-bottom: 1px solid #cbd5e1;
            transition: background 0.3s, color 0.3s;
        }

        body.dark-theme .admin-table th {
            background: #0f172a;
            color: #94a3b8;
            border-bottom-color: #334155;
        }

        .admin-table td {
            padding: 16px 20px;
            border-bottom: 1px solid #f1f5f9;
            color: #334155;
            transition: color 0.3s, border-color 0.3s;
        }

        body.dark-theme .admin-table td {
            color: #cbd5e1;
            border-bottom-color: #334155;
        }

        .admin-table tr:hover td {
            background: #f8fafc;
            color: #0f172a;
        }

        body.dark-theme .admin-table tr:hover td {
            background: #334155;
            color: #fff;
        }

        input.admin-input, select.admin-select {
            width: 100%;
            padding: 16px 20px;
            background: #f8fafc !important;
            border: 1px solid #cbd5e1 !important;
            border-radius: 12px;
            color: #0f172a !important;
            font-size: 14px;
            margin-bottom: 25px;
            outline: none;
            transition: border-color 0.3s, box-shadow 0.3s;
            font-family: 'Inter', sans-serif;
        }

        body.dark-theme input.admin-input, body.dark-theme select.admin-select {
            background: #0f172a !important;
            border-color: #334155 !important;
            color: #f8fafc !important;
        }

        input.admin-input:focus, select.admin-select:focus {
            border-color: #0ea5e9 !important;
            background: #ffffff !important;
            box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15) !important;
        }

        body.dark-theme input.admin-input:focus, body.dark-theme select.admin-select:focus {
            background: #1e293b !important;
        }

        select.admin-select {
            appearance: none;
            -webkit-appearance: none;
            cursor: pointer;
        }

        .action-btn {
            padding: 8px 14px;
            border-radius: 8px;
            font-weight: 800;
            cursor: pointer;
            border: none;
            margin-right: 6px;
            font-size: 11px;
            transition: 0.2s;
            letter-spacing: 0.5px;
        }

        .btn-edit { background: #eff6ff; color: #3b82f6; border: 1px solid #bfdbfe; }
        body.dark-theme .btn-edit { background: rgba(59, 130, 246, 0.1); border-color: rgba(59, 130, 246, 0.2); }
        .btn-edit:hover { background: #3b82f6; color: white; }

        .btn-delete { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }
        body.dark-theme .btn-delete { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.2); }
        .btn-delete:hover { background: #ef4444; color: white; }

        .btn-add {
            background: #10b981;
            color: white;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 800;
            cursor: pointer;
            border: none;
            transition: 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
        }

        .btn-add:hover {
            background: #059669;
            transform: translateY(-2px);
            box-shadow: 0 8px 15px rgba(16, 185, 129, 0.3);
        }

        .export-btn {
            background: #ffffff;
            color: #0f172a;
            border: 1px solid #cbd5e1;
            padding: 12px 20px;
            border-radius: 10px;
            font-weight: 800;
            cursor: pointer;
            transition: 0.2s;
            font-size: 13px;
        }

        .export-btn:hover {
            background: #f1f5f9;
            color: #0ea5e9;
            border-color: #0ea5e9;
        }

        body.dark-theme .export-btn {
            background: #1e293b;
            color: #e2e8f0;
            border-color: #475569;
        }

	        body.dark-theme .export-btn:hover {
	            background: #334155;
	            color: #38bdf8;
	            border-color: #38bdf8;
	        }

	        .log-filter-panel {
	            display: grid;
	            grid-template-columns: minmax(220px, 1.4fr) minmax(190px, 1fr) minmax(190px, 1fr) auto auto;
	            gap: 12px;
	            align-items: end;
	            margin-bottom: 10px;
	        }

	        .log-filter-panel label {
	            display: grid;
	            gap: 7px;
	            color: #475569;
	            font-size: 11px;
	            font-weight: 900;
	            text-transform: uppercase;
	            letter-spacing: 0.5px;
	        }

	        .log-filter-panel .admin-input,
	        .log-filter-panel .admin-select {
	            margin-bottom: 0;
	            padding: 13px 14px;
	        }

	        .log-filter-btn {
	            min-height: 45px;
	            white-space: nowrap;
	        }

	        .log-range-summary {
	            display: inline-flex;
	            align-items: center;
	            max-width: 100%;
	            margin-bottom: 16px;
	            padding: 9px 12px;
	            border-radius: 12px;
	            background: rgba(14, 165, 233, 0.1);
	            color: #0284c7;
	            font-size: 12px;
	            font-weight: 900;
	            line-height: 1.4;
	        }

	        .log-range-summary[data-tone="error"] {
	            background: rgba(239, 68, 68, 0.1);
	            color: #dc2626;
	        }

	        body.dark-theme .log-filter-panel label {
	            color: #cbd5e1;
	        }

	        body.dark-theme .log-range-summary {
	            background: rgba(14, 165, 233, 0.16);
	            color: #7dd3fc;
	        }

	        body.dark-theme .log-range-summary[data-tone="error"] {
	            background: rgba(239, 68, 68, 0.16);
	            color: #fca5a5;
	        }

	        @media (max-width: 1200px) {
	            .log-filter-panel {
	                grid-template-columns: repeat(2, minmax(0, 1fr));
	            }
	        }

	        /* ── YÖNETİM MODALLARI (CRUD) ── */
        .crud-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.8);
            z-index: 110000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
        }

        .crud-modal.active {
            display: flex;
            animation: fadeIn 0.3s ease forwards;
        }

        .crud-content {
            background: #ffffff;
            padding: 40px;
            border-radius: 24px;
            border: 1px solid #e2e8f0;
            width: 90%;
            max-width: 850px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 25px 50px rgba(0,0,0,0.1);
            transition: background 0.3s, border-color 0.3s;
        }

        body.dark-theme .crud-content {
            background: #1e293b;
            border-color: #334155;
            box-shadow: 0 30px 60px rgba(0,0,0,0.5);
        }

        .crud-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .crud-group label {
            display: block;
            color: #64748b;
            font-size: 11px;
            font-weight: 800;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        body.dark-theme .crud-group label {
            color: #94a3b8;
        }

        .crud-group input, .crud-group textarea {
            width: 100%;
            padding: 14px;
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            font-size: 14px;
            outline: none;
            transition: 0.3s;
            font-family: 'Inter', sans-serif;
        }

        body.dark-theme .crud-group input, body.dark-theme .crud-group textarea {
            background: #0f172a;
            border-color: #334155;
            color: white;
        }

        .crud-group input:focus, .crud-group textarea:focus {
            border-color: #0ea5e9;
            background: #ffffff;
        }

        body.dark-theme .crud-group input:focus, body.dark-theme .crud-group textarea:focus {
            background: #1e293b;
        }

        .crud-actions {
            display: flex;
            justify-content: flex-end;
            gap: 12px;
            margin-top: 35px;
            border-top: 1px solid #e2e8f0;
            padding-top: 25px;
        }

        body.dark-theme .crud-actions {
            border-top-color: #334155;
        }

        .crud-btn-save {
            background: #0ea5e9;
            color: white;
            padding: 12px 28px;
            border: none;
            border-radius: 10px;
            font-weight: 800;
            cursor: pointer;
            font-size: 14px;
            transition: 0.2s;
        }

        .crud-btn-save:hover {
            background: #0284c7;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(14, 165, 233, 0.4);
        }

        .crud-btn-cancel {
            background: transparent;
            color: #64748b;
            padding: 12px 24px;
            border: 1px solid #cbd5e1;
            border-radius: 10px;
            font-weight: 800;
            cursor: pointer;
            font-size: 14px;
            transition: 0.2s;
        }

        body.dark-theme .crud-btn-cancel {
            color: #94a3b8;
            border-color: #475569;
        }

        .crud-btn-cancel:hover {
            background: #f1f5f9;
            color: #0f172a;
        }

        body.dark-theme .crud-btn-cancel:hover {
            background: #334155;
            color: white;
        }

        .dynamic-field-btn {
            background: #ecfdf5;
            color: #10b981;
            border: 1px dashed #6ee7b7;
            padding: 12px;
            width: 100%;
            border-radius: 10px;
            font-weight: 800;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 10px;
        }
        body.dark-theme .dynamic-field-btn {
            background: rgba(16,185,129,0.1);
            border-color: #10b981;
        }

        .dynamic-field-btn:hover {
            background: #10b981;
            color: white;
        }

        /* ── ZIRHLI KARANLIK MOD (MÜKEMMEL UYUM) ── */
        body.dark-theme, html.dark-theme {
            background: linear-gradient(135deg, #020617 0%, #0f172a 100%) !important;
            background-color: #020617 !important;
            color: #f8fafc !important;
        }

        /* ── ANA EKRAN 4 MODLU TEMA: KIRMIZI ACCENT ── */

        /* GÜNDÜz KIRMIZI — Spring/Daylight Professional */
        body.accent-red:not(.admin-panel-open),
        html.accent-red:not(.admin-panel-open) {
            background:
                radial-gradient(ellipse at 8% 12%, rgba(185, 28, 28, 0.28) 0%, transparent 44%),
                radial-gradient(ellipse at 92% 88%, rgba(249, 115, 22, 0.18) 0%, transparent 42%),
                radial-gradient(ellipse at 55% 0%, rgba(239, 68, 68, 0.10) 0%, transparent 46%),
                radial-gradient(ellipse at 30% 100%, rgba(245, 158, 11, 0.09) 0%, transparent 40%),
                linear-gradient(155deg,
                    #fafafa 0%,
                    #fff8f3 28%,
                    #fffdf7 60%,
                    #f8fafc 100%
                ) !important;
        }

        /* GECE KIRMIZI — Cyberpunk Neon Red */
        body.dark-theme.accent-red:not(.admin-panel-open),
        html.dark-theme.accent-red:not(.admin-panel-open) {
            background:
                radial-gradient(ellipse at 0% 100%, rgba(255, 0, 60, 0.20) 0%, transparent 52%),
                radial-gradient(ellipse at 100% 0%, rgba(200, 0, 55, 0.16) 0%, transparent 48%),
                radial-gradient(circle at 50% 50%, rgba(255, 10, 40, 0.06) 0%, transparent 62%),
                linear-gradient(135deg, #030008 0%, #0a000f 45%, #050020 100%) !important;
            background-color: #030008 !important;
        }

        /* Gündüz kırmızı — auth overlay */
        body.accent-red:not(.admin-panel-open) #auth-overlay {
            background:
                radial-gradient(ellipse at 15% 10%, rgba(185, 28, 28, 0.18) 0%, transparent 44%),
                rgba(250, 248, 245, 0.92);
        }

        /* Gece kırmızı — auth overlay (cyberpunk) */
        body.dark-theme.accent-red:not(.admin-panel-open) #auth-overlay {
            background:
                radial-gradient(ellipse at 20% 80%, rgba(255, 0, 60, 0.16) 0%, transparent 45%),
                rgba(3, 0, 10, 0.94);
        }

        /* Gündüz kırmızı — glass card */
        body.accent-red:not(.admin-panel-open) .glass-card {
            background:
                radial-gradient(circle at 92% 8%, rgba(220, 38, 38, 0.06), transparent 40%),
                linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 248, 0.90)) !important;
            border-color: rgba(220, 38, 38, 0.20) !important;
            box-shadow:
                0 40px 80px -20px rgba(185, 28, 28, 0.16),
                inset 0 0 0 1px rgba(255, 255, 255, 0.75),
                inset 0 -18px 36px rgba(220, 38, 38, 0.04) !important;
        }

        /* Gündüz kırmızı — buttons & elements (vivid crimson/vermillion, not pale pink) */
        body.accent-red:not(.admin-panel-open) .sys-btn:hover {
            box-shadow: 0 12px 25px rgba(185, 28, 28, 0.18);
            border-color: #dc2626;
            color: #b91c1c;
        }

        body.accent-red:not(.admin-panel-open) .profile-btn {
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 55%, #991b1b 100%) !important;
            box-shadow: 0 4px 18px rgba(185, 28, 28, 0.38) !important;
        }

        body.accent-red:not(.admin-panel-open) .profile-btn:hover {
            box-shadow: 0 8px 28px rgba(185, 28, 28, 0.52) !important;
        }

        body.accent-red:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 45%, #b91c1c 100%) !important;
            box-shadow: 0 8px 28px rgba(185, 28, 28, 0.38) !important;
        }

        body.accent-red:not(.admin-panel-open) input.main-inp:focus {
            border-color: #dc2626;
            box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.14), 0 15px 30px rgba(185, 28, 28, 0.10);
        }

        body.accent-red:not(.admin-panel-open) button.sorgula-btn:hover {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 55%, #b91c1c 100%);
            box-shadow: 0 15px 32px rgba(185, 28, 28, 0.36);
        }

        body.accent-red:not(.admin-panel-open) .sug-item:hover,
        body.accent-red:not(.admin-panel-open) .sug-item.selected {
            background: linear-gradient(135deg, rgba(255, 253, 250, 0.97), rgba(254, 245, 240, 0.82));
        }

        body.accent-red:not(.admin-panel-open) .footer-legal-link {
            color: #b91c1c;
        }

        body.accent-red:not(.admin-panel-open) .footer-legal-link:hover {
            color: #991b1b;
        }

        body.accent-red:not(.admin-panel-open) #admin-trigger:hover {
            color: #dc2626;
            box-shadow: 0 8px 25px rgba(185, 28, 28, 0.26);
        }

        body.accent-red:not(.admin-panel-open) #auth-overlay a[onclick*="sifremiUnuttum"],
        body.accent-red:not(.admin-panel-open) #auth-overlay .forgot-password-link {
            color: #dc2626 !important;
        }

        #auth-overlay .forgot-password-link:hover {
            color: #0284c7 !important;
        }

        body.accent-red:not(.admin-panel-open) #prof-role {
            background: rgba(185, 28, 28, 0.10) !important;
            color: #991b1b !important;
            border-color: rgba(185, 28, 28, 0.26) !important;
        }

        body.accent-red:not(.admin-panel-open) #kontrat-modal {
            background:
                radial-gradient(circle at 50% 18%, rgba(185, 28, 28, 0.12), transparent 36%),
                rgba(15, 23, 42, 0.58);
        }

        body.accent-red:not(.admin-panel-open) #kontrat-modal .modal-content-card {
            background:
                radial-gradient(circle at top right, rgba(220, 38, 38, 0.08), transparent 38%),
                linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 248, 0.90));
            border-color: rgba(220, 38, 38, 0.22);
        }

        body.accent-red:not(.admin-panel-open) #kontrat-modal .modal-content-card::before {
            background: linear-gradient(120deg, rgba(255, 255, 255, 0.46), transparent 34%, rgba(220, 38, 38, 0.06));
        }

        body.accent-red:not(.admin-panel-open) #kontrat-modal #kontrat-suggestions {
            border-color: rgba(220, 38, 38, 0.28);
        }

        /* Gece kırmızı — cyberpunk neon elements */
        body.dark-theme.accent-red:not(.admin-panel-open) input.main-inp:focus {
            border-color: #ff2244 !important;
            box-shadow:
                0 0 0 3px rgba(255, 0, 60, 0.22),
                0 0 18px rgba(255, 0, 60, 0.30),
                0 15px 30px rgba(0, 0, 0, 0.55) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .sys-btn:hover,
        body.dark-theme.accent-red:not(.admin-panel-open) .nav-container .sys-btn:not(.profile-btn):not(.highlight-btn):not(.logout-btn):not(.followup-nav-btn):hover,
        body.dark-theme.accent-red:not(.admin-panel-open) .nav-container .sys-btn:not(.profile-btn):not(.highlight-btn):not(.logout-btn):not(.followup-nav-btn):focus-visible {
            color: #ff2244 !important;
            border-color: #ff2244 !important;
            box-shadow:
                0 0 22px rgba(255, 0, 60, 0.55),
                0 0 44px rgba(255, 0, 60, 0.28),
                0 22px 48px rgba(0, 0, 15, 0.55) !important;
        }

        /* Gece kırmızı — glass card (cyberpunk neon) */
        body.dark-theme.accent-red:not(.admin-panel-open) .glass-card {
            background:
                radial-gradient(circle at 88% 12%, rgba(255, 0, 60, 0.08), transparent 44%),
                linear-gradient(145deg, rgba(12, 0, 22, 0.88), rgba(6, 0, 18, 0.80)) !important;
            border-color: rgba(255, 0, 60, 0.32) !important;
            box-shadow:
                0 0 40px rgba(255, 0, 60, 0.10),
                0 40px 80px -20px rgba(0, 0, 20, 0.72),
                inset 0 0 0 1px rgba(255, 30, 70, 0.12),
                inset 0 -20px 40px rgba(255, 0, 60, 0.04) !important;
        }

        /* ── ANA EKRAN SIGNATURE ACCENT: Cream Vanilla + Cherry Cola ── */
        body.accent-signature:not(.admin-panel-open),
        html.accent-signature:not(.admin-panel-open) {
            background:
                radial-gradient(ellipse at 4% 8%, rgba(154, 0, 2, 0.32) 0%, transparent 44%),
                radial-gradient(ellipse at 96% 86%, rgba(154, 0, 2, 0.24) 0%, transparent 42%),
                radial-gradient(ellipse at 55% 0%, rgba(154, 0, 2, 0.16) 0%, transparent 46%),
                radial-gradient(ellipse at 72% 40%, rgba(239, 230, 221, 0.72) 0%, transparent 42%),
                linear-gradient(155deg,
                    #fff4ec 0%,
                    #efe6dd 30%,
                    #f6d6cf 62%,
                    #fff9f3 100%
                ) !important;
            background-color: #efe6dd !important;
            color: #2f1715 !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open),
        html.dark-theme.accent-signature:not(.admin-panel-open) {
            background:
                radial-gradient(ellipse at 8% 8%, rgba(239, 230, 221, 0.16) 0%, transparent 40%),
                radial-gradient(ellipse at 100% 0%, rgba(239, 230, 221, 0.22) 0%, transparent 48%),
                radial-gradient(ellipse at 0% 100%, rgba(154, 0, 2, 0.36) 0%, transparent 52%),
                radial-gradient(circle at 52% 48%, rgba(239, 230, 221, 0.08) 0%, transparent 62%),
                linear-gradient(135deg, #100707 0%, #260b0c 44%, #070404 100%) !important;
            background-color: #090606 !important;
            color: #efe6dd !important;
        }

        body.accent-signature:not(.admin-panel-open) #auth-overlay {
            background:
                radial-gradient(ellipse at 14% 12%, rgba(154, 0, 2, 0.22) 0%, transparent 42%),
                radial-gradient(ellipse at 90% 80%, rgba(154, 0, 2, 0.16) 0%, transparent 46%),
                rgba(255, 246, 239, 0.92);
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #auth-overlay {
            background:
                radial-gradient(ellipse at 20% 82%, rgba(154, 0, 2, 0.26) 0%, transparent 45%),
                radial-gradient(ellipse at 88% 8%, rgba(239, 230, 221, 0.18) 0%, transparent 44%),
                radial-gradient(ellipse at 48% 36%, rgba(239, 230, 221, 0.08) 0%, transparent 46%),
                rgba(9, 6, 6, 0.94);
        }

        body.accent-signature:not(.admin-panel-open) .glass-card {
            background:
                radial-gradient(circle at 92% 8%, rgba(154, 0, 2, 0.14), transparent 42%),
                radial-gradient(circle at 0% 96%, rgba(154, 0, 2, 0.10), transparent 42%),
                linear-gradient(145deg, rgba(255, 247, 241, 0.94), rgba(239, 230, 221, 0.78)) !important;
            border-color: rgba(154, 0, 2, 0.28) !important;
            box-shadow:
                0 40px 80px -20px rgba(95, 17, 17, 0.26),
                inset 0 0 0 1px rgba(255, 255, 255, 0.78),
                inset 0 -18px 36px rgba(154, 0, 2, 0.10) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .glass-card {
            background:
                radial-gradient(circle at 88% 12%, rgba(239, 230, 221, 0.13), transparent 44%),
                radial-gradient(circle at 6% 100%, rgba(154, 0, 2, 0.18), transparent 42%),
                linear-gradient(145deg, rgba(37, 12, 12, 0.86), rgba(239, 230, 221, 0.07) 48%, rgba(10, 6, 6, 0.84)) !important;
            border-color: rgba(239, 230, 221, 0.28) !important;
            box-shadow:
                0 0 44px rgba(239, 230, 221, 0.08),
                0 0 40px rgba(154, 0, 2, 0.20),
                0 40px 80px -20px rgba(0, 0, 0, 0.72),
                inset 0 0 0 1px rgba(239, 230, 221, 0.12),
                inset 0 -20px 40px rgba(239, 230, 221, 0.06) !important;
        }

        body.accent-signature:not(.admin-panel-open) .logo-box img,
        body.accent-signature:not(.admin-panel-open) .auth-session-loader-logo img {
            filter: sepia(0.2) saturate(1.18) contrast(1.04) drop-shadow(0 10px 18px rgba(154, 0, 2, 0.14)) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .logo-box img,
        body.dark-theme.accent-signature:not(.admin-panel-open) .admin-brand img,
        body.dark-theme.accent-signature:not(.admin-panel-open) .auth-session-loader-logo img {
            filter: brightness(0) invert(1) sepia(0.18) saturate(0.48) brightness(1.08) drop-shadow(0 0 18px rgba(239, 230, 221, 0.16)) !important;
            mix-blend-mode: screen !important;
        }

        body.accent-signature:not(.admin-panel-open) h1,
        body.accent-signature:not(.admin-panel-open) h2,
        body.accent-signature:not(.admin-panel-open) h3 {
            color: #4d0708 !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) h1,
        body.dark-theme.accent-signature:not(.admin-panel-open) h2,
        body.dark-theme.accent-signature:not(.admin-panel-open) h3 {
            color: #fff7ef !important;
            text-shadow: 0 0 20px rgba(154, 0, 2, 0.22);
        }

        body.accent-signature:not(.admin-panel-open) .desc,
        body.accent-signature:not(.admin-panel-open) .query-helper {
            color: rgba(77, 7, 8, 0.64) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .desc,
        body.dark-theme.accent-signature:not(.admin-panel-open) .query-helper {
            color: rgba(239, 230, 221, 0.72) !important;
        }

        body.accent-signature:not(.admin-panel-open) input.main-inp {
            background: rgba(255, 250, 245, 0.88) !important;
            color: #2f1715 !important;
            border-color: rgba(154, 0, 2, 0.10) !important;
            box-shadow:
                inset 0 2px 4px rgba(95, 17, 17, 0.04),
                0 10px 24px rgba(95, 17, 17, 0.06) !important;
        }

        body.accent-signature:not(.admin-panel-open) input.main-inp:focus {
            background: #fffdf9 !important;
            border-color: #9a0002 !important;
            box-shadow:
                0 0 0 4px rgba(154, 0, 2, 0.12),
                0 15px 30px rgba(95, 17, 17, 0.12) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) input.main-inp {
            background: rgba(22, 11, 11, 0.86) !important;
            color: #fff7ef !important;
            border-color: rgba(239, 230, 221, 0.12) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) input.main-inp:focus {
            background: #100808 !important;
            border-color: #efe6dd !important;
            box-shadow:
                0 0 0 3px rgba(239, 230, 221, 0.12),
                0 0 22px rgba(154, 0, 2, 0.36),
                0 15px 30px rgba(0, 0, 0, 0.55) !important;
        }

        body.accent-signature:not(.admin-panel-open) button.sorgula-btn,
        body.accent-signature:not(.admin-panel-open) .profile-btn,
        body.accent-signature:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, #9a0002 0%, #6f1111 58%, #3c0808 100%) !important;
            color: #fff8f1 !important;
            border-color: rgba(154, 0, 2, 0.24) !important;
            box-shadow: 0 13px 30px rgba(95, 17, 17, 0.32) !important;
        }

        body.accent-signature:not(.admin-panel-open) button.sorgula-btn:hover,
        body.accent-signature:not(.admin-panel-open) .profile-btn:hover,
        body.accent-signature:not(.admin-panel-open) .highlight-btn:hover {
            background: linear-gradient(135deg, #b20b0e 0%, #9a0002 54%, #5f1111 100%) !important;
            box-shadow: 0 17px 36px rgba(95, 17, 17, 0.40) !important;
        }

        body.accent-signature:not(.admin-panel-open) .sys-btn:hover,
        body.accent-signature:not(.admin-panel-open) .sys-btn:focus-visible {
            color: #9a0002 !important;
            border-color: rgba(154, 0, 2, 0.42) !important;
            box-shadow: 0 12px 28px rgba(95, 17, 17, 0.18) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) button.sorgula-btn,
        body.dark-theme.accent-signature:not(.admin-panel-open) .profile-btn,
        body.dark-theme.accent-signature:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, #efe6dd 0%, #cdbfb4 38%, #9a0002 100%) !important;
            color: #2a0708 !important;
            border-color: rgba(239, 230, 221, 0.24) !important;
            box-shadow:
                0 0 24px rgba(154, 0, 2, 0.26),
                0 13px 30px rgba(0, 0, 0, 0.44) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) button.sorgula-btn:hover,
        body.dark-theme.accent-signature:not(.admin-panel-open) .profile-btn:hover,
        body.dark-theme.accent-signature:not(.admin-panel-open) .highlight-btn:hover {
            background: linear-gradient(135deg, #fff5ed 0%, #efe6dd 42%, #b20b0e 100%) !important;
            color: #210606 !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .sys-btn:hover,
        body.dark-theme.accent-signature:not(.admin-panel-open) .sys-btn:focus-visible {
            color: #fff7ef !important;
            border-color: rgba(239, 230, 221, 0.42) !important;
            box-shadow:
                0 0 22px rgba(154, 0, 2, 0.36),
                0 18px 42px rgba(0, 0, 0, 0.46) !important;
        }

        body.accent-signature:not(.admin-panel-open) .suggestions-box {
            background: rgba(255, 250, 245, 0.98) !important;
            border-color: rgba(154, 0, 2, 0.18) !important;
            box-shadow: 0 25px 50px rgba(95, 17, 17, 0.16) !important;
        }

        body.accent-signature:not(.admin-panel-open) .sug-header {
            background: rgba(239, 230, 221, 0.62) !important;
            color: rgba(77, 7, 8, 0.62) !important;
            border-bottom-color: rgba(154, 0, 2, 0.12) !important;
        }

        body.accent-signature:not(.admin-panel-open) .sug-item {
            border-bottom-color: rgba(154, 0, 2, 0.08) !important;
        }

        body.accent-signature:not(.admin-panel-open) .sug-item:hover,
        body.accent-signature:not(.admin-panel-open) .sug-item.selected {
            background: linear-gradient(135deg, rgba(239, 230, 221, 0.86), rgba(255, 250, 245, 0.94)) !important;
        }

        body.accent-signature:not(.admin-panel-open) .sug-model {
            color: #2f1715 !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .suggestions-box {
            background: rgba(21, 10, 10, 0.98) !important;
            border-color: rgba(239, 230, 221, 0.16) !important;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.42) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .sug-header {
            background: rgba(42, 12, 12, 0.86) !important;
            border-bottom-color: rgba(239, 230, 221, 0.12) !important;
            color: rgba(239, 230, 221, 0.62) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .sug-item {
            border-bottom-color: rgba(239, 230, 221, 0.08) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .sug-item:hover,
        body.dark-theme.accent-signature:not(.admin-panel-open) .sug-item.selected {
            background: linear-gradient(135deg, rgba(58, 11, 12, 0.78), rgba(17, 8, 8, 0.92)) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .sug-model {
            color: #fff7ef !important;
        }

        body.accent-signature:not(.admin-panel-open) .display-box {
            background: rgba(255, 250, 245, 0.84) !important;
            border-color: rgba(154, 0, 2, 0.24) !important;
            color: rgba(77, 7, 8, 0.66) !important;
        }

        body.accent-signature:not(.admin-panel-open) .display-box.active-success {
            background: linear-gradient(135deg, #9a0002 0%, #5f1111 100%) !important;
            border-color: transparent !important;
            color: #fff8f1 !important;
            box-shadow: 0 16px 38px rgba(95, 17, 17, 0.34) !important;
        }

        body.accent-signature:not(.admin-panel-open) .display-box.active-error {
            background: linear-gradient(135deg, #efe6dd, #fff7ef) !important;
            border: 2px solid rgba(154, 0, 2, 0.32) !important;
            color: #9a0002 !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .display-box {
            background: rgba(21, 10, 10, 0.72) !important;
            border-color: rgba(239, 230, 221, 0.20) !important;
            color: rgba(239, 230, 221, 0.70) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .display-box.active-success {
            background: linear-gradient(135deg, #efe6dd 0%, #9a0002 100%) !important;
            color: #210606 !important;
            box-shadow: 0 0 28px rgba(154, 0, 2, 0.34) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .display-box.active-error {
            background: rgba(154, 0, 2, 0.22) !important;
            border-color: rgba(239, 230, 221, 0.24) !important;
            color: #fff7ef !important;
        }

        body.accent-signature:not(.admin-panel-open) #servis-btn,
        body.accent-signature:not(.admin-panel-open) .servis-phone {
            background:
                linear-gradient(135deg, rgba(255, 250, 245, 0.96), rgba(239, 230, 221, 0.82)) !important;
            border: 1px solid rgba(154, 0, 2, 0.18) !important;
            color: #6a1010 !important;
            box-shadow: 0 12px 26px rgba(95, 17, 17, 0.12) !important;
        }

        body.accent-signature:not(.admin-panel-open) #servis-btn:hover {
            color: #9a0002 !important;
            box-shadow: 0 16px 34px rgba(95, 17, 17, 0.22) !important;
        }

        body.accent-signature:not(.admin-panel-open) .servis-label {
            color: rgba(77, 7, 8, 0.58) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #servis-btn,
        body.dark-theme.accent-signature:not(.admin-panel-open) .servis-phone {
            background:
                linear-gradient(135deg, rgba(42, 12, 12, 0.92), rgba(14, 8, 8, 0.88)) !important;
            border: 1px solid rgba(239, 230, 221, 0.16) !important;
            color: #efe6dd !important;
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #servis-btn:hover {
            color: #fff7ef !important;
            box-shadow: 0 0 26px rgba(154, 0, 2, 0.28) !important;
        }

        body.accent-signature:not(.admin-panel-open) .footer-legal-link {
            color: #9a0002;
        }

        body.accent-signature:not(.admin-panel-open) .footer-legal-link:hover {
            color: #6a1010;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) .footer-elite,
        body.dark-theme.accent-signature:not(.admin-panel-open) .footer-legal-link {
            color: rgba(239, 230, 221, 0.78) !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti {
            background:
                linear-gradient(135deg, rgba(255, 250, 245, 0.96), rgba(239, 230, 221, 0.82)) !important;
            border-color: rgba(154, 0, 2, 0.15) !important;
            border-left-color: #9a0002 !important;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.72),
                0 14px 30px rgba(95, 17, 17, 0.08) !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti:hover,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti:hover {
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.84),
                0 18px 36px rgba(95, 17, 17, 0.14) !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti span.etiket,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti span.etiket {
            color: rgba(77, 7, 8, 0.62) !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti span.deger,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti span.deger {
            color: #2f1715 !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti.limit-karti,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti.limit-karti {
            background:
                linear-gradient(135deg, rgba(239, 230, 221, 0.96), rgba(255, 250, 245, 0.86)) !important;
            border-color: rgba(154, 0, 2, 0.24) !important;
            border-left-color: #9a0002 !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti.limit-karti span.deger,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti.limit-karti span.deger {
            color: #6a1010 !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti.uyari-karti,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti.uyari-karti {
            background:
                linear-gradient(135deg, rgba(255, 250, 245, 0.98), rgba(239, 230, 221, 0.92)) !important;
            border-color: rgba(154, 0, 2, 0.18) !important;
            border-left-color: #9a0002 !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti.hizmet-yok-karti,
        body.accent-signature:not(.admin-panel-open) .bilgi-karti.hizmet-yok-karti {
            background:
                linear-gradient(135deg, rgba(154, 0, 2, 0.10), rgba(239, 230, 221, 0.92)) !important;
            border-color: rgba(154, 0, 2, 0.30) !important;
            border-left-color: #9a0002 !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti,
        body.dark-theme.accent-signature:not(.admin-panel-open) .bilgi-karti {
            background:
                linear-gradient(135deg, rgba(42, 12, 12, 0.86), rgba(13, 8, 8, 0.92)) !important;
            border-color: rgba(239, 230, 221, 0.14) !important;
            border-left-color: #efe6dd !important;
            box-shadow:
                inset 0 1px 0 rgba(239, 230, 221, 0.08),
                0 18px 38px rgba(0, 0, 0, 0.32) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti span.etiket,
        body.dark-theme.accent-signature:not(.admin-panel-open) .bilgi-karti span.etiket {
            color: rgba(239, 230, 221, 0.66) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti span.deger,
        body.dark-theme.accent-signature:not(.admin-panel-open) .bilgi-karti span.deger {
            color: #fff7ef !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti.limit-karti,
        body.dark-theme.accent-signature:not(.admin-panel-open) .bilgi-karti.limit-karti {
            background: linear-gradient(135deg, rgba(154, 0, 2, 0.42), rgba(16, 8, 8, 0.90)) !important;
            border-color: rgba(239, 230, 221, 0.22) !important;
            border-left-color: #efe6dd !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti.uyari-karti,
        body.dark-theme.accent-signature:not(.admin-panel-open) .bilgi-karti.uyari-karti {
            background: linear-gradient(135deg, rgba(78, 17, 17, 0.78), rgba(18, 9, 9, 0.90)) !important;
            border-color: rgba(239, 230, 221, 0.20) !important;
            border-left-color: #efe6dd !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti.hizmet-yok-karti,
        body.dark-theme.accent-signature:not(.admin-panel-open) .bilgi-karti.hizmet-yok-karti {
            background: linear-gradient(135deg, rgba(154, 0, 2, 0.48), rgba(34, 9, 9, 0.90)) !important;
            border-color: rgba(239, 230, 221, 0.24) !important;
            border-left-color: #efe6dd !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .btn-geri,
        body.accent-signature:not(.admin-panel-open) .btn-geri {
            background: rgba(239, 230, 221, 0.82) !important;
            color: #4d0708 !important;
            border-color: rgba(154, 0, 2, 0.20) !important;
            box-shadow: 0 12px 26px rgba(95, 17, 17, 0.10) !important;
        }

        body.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .btn-geri:hover,
        body.accent-signature:not(.admin-panel-open) .btn-geri:hover {
            background: #fff8f1 !important;
            border-color: rgba(154, 0, 2, 0.34) !important;
            color: #9a0002 !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .btn-geri,
        body.dark-theme.accent-signature:not(.admin-panel-open) .btn-geri {
            background: rgba(42, 12, 12, 0.90) !important;
            color: #efe6dd !important;
            border-color: rgba(239, 230, 221, 0.18) !important;
            box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28) !important;
        }

        body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-detay-sonuc .btn-geri:hover,
        body.dark-theme.accent-signature:not(.admin-panel-open) .btn-geri:hover {
            background: rgba(154, 0, 2, 0.40) !important;
            border-color: rgba(239, 230, 221, 0.30) !important;
            color: #fff7ef !important;
        }

        /* ── ANA EKRAN LIME SPARK TEMA: Lime Spark (#B6FF2E) + Graphite (#23262F) ── */
        body.accent-lime:not(.admin-panel-open),
        html.accent-lime:not(.admin-panel-open) {
            background:
                radial-gradient(ellipse at 4% 8%, rgba(182, 255, 46, 0.28) 0%, transparent 44%),
                radial-gradient(ellipse at 96% 86%, rgba(35, 38, 47, 0.18) 0%, transparent 42%),
                radial-gradient(ellipse at 55% 0%, rgba(182, 255, 46, 0.14) 0%, transparent 46%),
                radial-gradient(ellipse at 72% 40%, rgba(243, 247, 235, 0.75) 0%, transparent 42%),
                linear-gradient(155deg,
                    #f6faee 0%,
                    #e9f3d9 30%,
                    #dceac0 62%,
                    #f8fceb 100%
                ) !important;
            background-color: #e9f3d9 !important;
            color: #23262f !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open),
        html.dark-theme.accent-lime:not(.admin-panel-open) {
            background:
                radial-gradient(ellipse at 8% 8%, rgba(182, 255, 46, 0.22) 0%, transparent 40%),
                radial-gradient(ellipse at 100% 0%, rgba(35, 38, 47, 0.45) 0%, transparent 48%),
                radial-gradient(ellipse at 0% 100%, rgba(182, 255, 46, 0.16) 0%, transparent 52%),
                radial-gradient(circle at 52% 48%, rgba(182, 255, 46, 0.06) 0%, transparent 62%),
                linear-gradient(135deg, #0d0f13 0%, #171a21 44%, #23262f 100%) !important;
            background-color: #0d0f13 !important;
            color: #f4fce8 !important;
        }

        body.accent-lime:not(.admin-panel-open) #auth-overlay {
            background:
                radial-gradient(ellipse at 14% 12%, rgba(182, 255, 46, 0.20) 0%, transparent 42%),
                radial-gradient(ellipse at 90% 80%, rgba(35, 38, 47, 0.15) 0%, transparent 46%),
                rgba(246, 250, 238, 0.94);
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) #auth-overlay {
            background:
                radial-gradient(ellipse at 20% 82%, rgba(182, 255, 46, 0.22) 0%, transparent 45%),
                radial-gradient(ellipse at 88% 8%, rgba(35, 38, 47, 0.35) 0%, transparent 44%),
                rgba(13, 15, 19, 0.95);
        }

        body.accent-lime:not(.admin-panel-open) .glass-card {
            background:
                radial-gradient(circle at 92% 8%, rgba(182, 255, 46, 0.20), transparent 42%),
                radial-gradient(circle at 0% 96%, rgba(35, 38, 47, 0.08), transparent 42%),
                linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(233, 243, 217, 0.82)) !important;
            border-color: rgba(182, 255, 46, 0.45) !important;
            box-shadow:
                0 35px 70px -15px rgba(35, 38, 47, 0.22),
                inset 0 0 0 1px rgba(255, 255, 255, 0.85),
                inset 0 -18px 36px rgba(182, 255, 46, 0.12) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) .glass-card {
            background:
                radial-gradient(circle at 88% 12%, rgba(182, 255, 46, 0.16), transparent 44%),
                radial-gradient(circle at 6% 100%, rgba(35, 38, 47, 0.35), transparent 42%),
                linear-gradient(145deg, rgba(35, 38, 47, 0.88), rgba(23, 25, 30, 0.94)) !important;
            border-color: rgba(182, 255, 46, 0.35) !important;
            box-shadow:
                0 0 45px rgba(182, 255, 46, 0.12),
                0 25px 50px rgba(0, 0, 0, 0.65),
                inset 0 1px 0 rgba(182, 255, 46, 0.25) !important;
        }

        body.accent-lime:not(.admin-panel-open) h1,
        body.accent-lime:not(.admin-panel-open) h2,
        body.accent-lime:not(.admin-panel-open) h3 {
            color: #23262f !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) h1,
        body.dark-theme.accent-lime:not(.admin-panel-open) h2,
        body.dark-theme.accent-lime:not(.admin-panel-open) h3 {
            color: #f4fce8 !important;
            text-shadow: 0 0 14px rgba(182, 255, 46, 0.28);
        }

        body.accent-lime:not(.admin-panel-open) input.main-inp {
            background: rgba(255, 255, 255, 0.92) !important;
            color: #23262f !important;
            border-color: rgba(182, 255, 46, 0.40) !important;
            box-shadow:
                inset 0 2px 4px rgba(35, 38, 47, 0.05),
                0 10px 24px rgba(182, 255, 46, 0.08) !important;
        }

        body.accent-lime:not(.admin-panel-open) input.main-inp:focus {
            background: #ffffff !important;
            border-color: #9be61a !important;
            box-shadow:
                0 0 0 4px rgba(182, 255, 46, 0.25),
                0 15px 30px rgba(35, 38, 47, 0.14) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) input.main-inp {
            background: rgba(23, 25, 30, 0.90) !important;
            color: #f4fce8 !important;
            border-color: rgba(182, 255, 46, 0.25) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) input.main-inp:focus {
            background: #171a21 !important;
            border-color: #b6ff2e !important;
            box-shadow:
                0 0 0 3px rgba(182, 255, 46, 0.25),
                0 0 22px rgba(182, 255, 46, 0.40),
                0 15px 30px rgba(0, 0, 0, 0.60) !important;
        }

        body.accent-lime:not(.admin-panel-open) button.sorgula-btn,
        body.accent-lime:not(.admin-panel-open) .profile-btn,
        body.accent-lime:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #a3e61c 55%, #84cc16 100%) !important;
            color: #17191e !important;
            font-weight: 700 !important;
            border-color: rgba(182, 255, 46, 0.5) !important;
            box-shadow: 0 13px 30px rgba(182, 255, 46, 0.40) !important;
        }

        body.accent-lime:not(.admin-panel-open) button.sorgula-btn:hover,
        body.accent-lime:not(.admin-panel-open) .profile-btn:hover,
        body.accent-lime:not(.admin-panel-open) .highlight-btn:hover {
            background: linear-gradient(135deg, #c7ff5c 0%, #b6ff2e 55%, #9be61a 100%) !important;
            box-shadow: 0 17px 36px rgba(182, 255, 46, 0.52) !important;
            color: #0f1115 !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) button.sorgula-btn,
        body.dark-theme.accent-lime:not(.admin-panel-open) .profile-btn,
        body.dark-theme.accent-lime:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #a3e61c 60%, #65a30d 100%) !important;
            color: #0f1115 !important;
            font-weight: 700 !important;
            border-color: rgba(182, 255, 46, 0.6) !important;
            box-shadow:
                0 0 28px rgba(182, 255, 46, 0.45),
                0 13px 30px rgba(0, 0, 0, 0.50) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) button.sorgula-btn:hover,
        body.dark-theme.accent-lime:not(.admin-panel-open) .profile-btn:hover,
        body.dark-theme.accent-lime:not(.admin-panel-open) .highlight-btn:hover {
            background: linear-gradient(135deg, #d2ff7a 0%, #b6ff2e 50%, #9be61a 100%) !important;
            color: #000000 !important;
            box-shadow:
                0 0 35px rgba(182, 255, 46, 0.65),
                0 15px 35px rgba(0, 0, 0, 0.60) !important;
        }

        body.accent-lime:not(.admin-panel-open) .suggestions-box {
            background: rgba(255, 255, 255, 0.96) !important;
            border-color: rgba(182, 255, 46, 0.45) !important;
            box-shadow: 0 25px 50px rgba(35, 38, 47, 0.16) !important;
        }

        /* ── SOL BUTONLAR (YÖNETİCİ & SOHBET LAUNCHER) LIME SPARK UYUMU ── */
        body.accent-lime:not(.admin-panel-open) #admin-trigger {
            background: rgba(255, 255, 255, 0.90) !important;
            color: #23262f !important;
            border-color: rgba(182, 255, 46, 0.60) !important;
            box-shadow: 0 8px 24px rgba(35, 38, 47, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
        }

        body.accent-lime:not(.admin-panel-open) #admin-trigger:hover {
            background: #ffffff !important;
            border-color: #84cc16 !important;
            box-shadow: 0 12px 28px rgba(182, 255, 46, 0.35) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) #admin-trigger {
            background: rgba(23, 25, 30, 0.90) !important;
            color: #b6ff2e !important;
            border-color: rgba(182, 255, 46, 0.40) !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) #admin-trigger:hover {
            background: rgba(35, 38, 47, 0.95) !important;
            border-color: #b6ff2e !important;
            box-shadow: 0 0 22px rgba(182, 255, 46, 0.45) !important;
        }

        body.accent-lime .assistline-chat-launcher,
        body.accent-lime .assistline-chat-dock {
            border-color: rgba(182, 255, 46, 0.60) !important;
        }

        body.accent-lime .assistline-chat-launcher {
            background: rgba(255, 255, 255, 0.92) !important;
            color: #23262f !important;
            box-shadow: 0 10px 28px rgba(35, 38, 47, 0.14) !important;
        }

        body.accent-lime .assistline-chat-launcher:hover {
            background: #ffffff !important;
            border-color: #84cc16 !important;
            box-shadow: 0 14px 32px rgba(182, 255, 46, 0.38) !important;
        }

        body.dark-theme.accent-lime .assistline-chat-launcher,
        body.dark-theme.accent-lime .assistline-chat-dock {
            border-color: rgba(182, 255, 46, 0.40) !important;
        }

        body.dark-theme.accent-lime .assistline-chat-launcher {
            background: rgba(23, 25, 30, 0.92) !important;
            color: #b6ff2e !important;
            box-shadow: 0 0 20px rgba(182, 255, 46, 0.20), 0 10px 28px rgba(0, 0, 0, 0.50) !important;
        }

        body.dark-theme.accent-lime .assistline-chat-launcher:hover {
            background: rgba(35, 38, 47, 0.96) !important;
            border-color: #b6ff2e !important;
            box-shadow: 0 0 28px rgba(182, 255, 46, 0.45) !important;
        }

        /* ── SAĞ MENÜ BUTONLARI (EVERY NAV BUTTON) LIME SPARK UYUMU ── */
        body.accent-lime:not(.admin-panel-open) .sys-btn {
            background: rgba(255, 255, 255, 0.88) !important;
            color: #17191e !important;
            font-weight: 700 !important;
            border-color: rgba(182, 255, 46, 0.45) !important;
            box-shadow: 0 6px 18px rgba(35, 38, 47, 0.08) !important;
        }

        body.accent-lime:not(.admin-panel-open) .sys-btn:hover,
        body.accent-lime:not(.admin-panel-open) .sys-btn:focus-visible {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(233, 243, 217, 0.95)) !important;
            color: #0f1115 !important;
            border-color: #84cc16 !important;
            box-shadow: 0 10px 26px rgba(182, 255, 46, 0.32) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) .sys-btn {
            background: rgba(23, 25, 30, 0.82) !important;
            color: #f4fce8 !important;
            font-weight: 600 !important;
            border-color: rgba(182, 255, 46, 0.30) !important;
            box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) .sys-btn:hover,
        body.dark-theme.accent-lime:not(.admin-panel-open) .sys-btn:focus-visible {
            background: rgba(35, 38, 47, 0.95) !important;
            color: #b6ff2e !important;
            border-color: #b6ff2e !important;
            box-shadow: 0 0 22px rgba(182, 255, 46, 0.38), 0 12px 28px rgba(0, 0, 0, 0.50) !important;
        }

        /* Özel Vurgulu Nav Butonları */
        body.accent-lime:not(.admin-panel-open) .profile-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #a3e61c 60%, #84cc16 100%) !important;
            color: #17191e !important;
            border-color: rgba(182, 255, 46, 0.6) !important;
            box-shadow: 0 10px 26px rgba(182, 255, 46, 0.38) !important;
        }

        body.accent-lime:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, rgba(182, 255, 46, 0.25), rgba(255, 255, 255, 0.90)) !important;
            color: #17191e !important;
            border-color: rgba(182, 255, 46, 0.60) !important;
            box-shadow: 0 10px 26px rgba(182, 255, 46, 0.28) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) .profile-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #a3e61c 65%, #65a30d 100%) !important;
            color: #0f1115 !important;
            border-color: rgba(182, 255, 46, 0.6) !important;
            box-shadow: 0 0 26px rgba(182, 255, 46, 0.45), 0 10px 26px rgba(0, 0, 0, 0.5) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, rgba(35, 38, 47, 0.92), rgba(182, 255, 46, 0.20)) !important;
            color: #b6ff2e !important;
            border-color: rgba(182, 255, 46, 0.40) !important;
            box-shadow: 0 0 22px rgba(182, 255, 46, 0.28), 0 10px 26px rgba(0, 0, 0, 0.5) !important;
        }

        /* ── PROFİLİM MODALI LIME SPARK UYUMU (GÜNDÜZ & GECE) ── */
        body.accent-lime #profile-modal-card {
            background: rgba(255, 255, 255, 0.96) !important;
            border: 1px solid rgba(182, 255, 46, 0.50) !important;
            box-shadow: 0 30px 80px rgba(35, 38, 47, 0.20) !important;
        }

        body.dark-theme.accent-lime #profile-modal-card {
            background: rgba(23, 25, 30, 0.96) !important;
            border: 1px solid rgba(182, 255, 46, 0.35) !important;
            box-shadow: 0 0 50px rgba(182, 255, 46, 0.15), 0 30px 80px rgba(0, 0, 0, 0.70) !important;
        }

        body.accent-lime .profile-role-badge,
        body.accent-lime .prof-role-pill,
        body.accent-lime [class*="role-badge"],
        body.accent-lime .prof-meta-badge {
            background: rgba(182, 255, 46, 0.22) !important;
            color: #17191e !important;
            border: 1px solid rgba(182, 255, 46, 0.50) !important;
        }

        body.dark-theme.accent-lime .profile-role-badge,
        body.dark-theme.accent-lime .prof-role-pill,
        body.dark-theme.accent-lime [class*="role-badge"],
        body.dark-theme.accent-lime .prof-meta-badge {
            background: rgba(182, 255, 46, 0.18) !important;
            color: #b6ff2e !important;
            border: 1px solid rgba(182, 255, 46, 0.40) !important;
        }

        body.accent-lime .prof-action-btn,
        body.accent-lime .prof-tour-btn,
        body.accent-lime .profile-head-row button,
        body.accent-lime #prof-tour-replay-btn,
        body.accent-lime .prof-badge-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #a3e61c 100%) !important;
            color: #17191e !important;
            font-weight: 700 !important;
            border-color: rgba(182, 255, 46, 0.6) !important;
        }

        body.dark-theme.accent-lime .prof-action-btn,
        body.dark-theme.accent-lime .prof-tour-btn,
        body.dark-theme.accent-lime .profile-head-row button,
        body.dark-theme.accent-lime #prof-tour-replay-btn,
        body.dark-theme.accent-lime .prof-badge-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #84cc16 100%) !important;
            color: #0f1115 !important;
            font-weight: 700 !important;
            box-shadow: 0 0 16px rgba(182, 255, 46, 0.4) !important;
        }

        body.accent-lime .prof-stat-card,
        body.accent-lime .profile-kpi-card {
            background: rgba(246, 250, 238, 0.85) !important;
            border-left: 4px solid #84cc16 !important;
            border-color: rgba(182, 255, 46, 0.35) !important;
        }

        body.dark-theme.accent-lime .prof-stat-card,
        body.dark-theme.accent-lime .profile-kpi-card {
            background: rgba(35, 38, 47, 0.85) !important;
            border-left: 4px solid #b6ff2e !important;
            border-color: rgba(182, 255, 46, 0.30) !important;
            color: #f4fce8 !important;
        }

        /* ── KONTRAT MODALI LIME SPARK UYUMU ── */
        body.accent-lime #kontrat-modal-card {
            background: rgba(255, 255, 255, 0.96) !important;
            border: 1px solid rgba(182, 255, 46, 0.50) !important;
            box-shadow: 0 30px 80px rgba(35, 38, 47, 0.20) !important;
        }

        body.dark-theme.accent-lime #kontrat-modal-card {
            background: rgba(23, 25, 30, 0.96) !important;
            border: 1px solid rgba(182, 255, 46, 0.35) !important;
            box-shadow: 0 0 50px rgba(182, 255, 46, 0.15), 0 30px 80px rgba(0, 0, 0, 0.70) !important;
        }

        body.accent-lime .kontrat-search-btn,
        body.accent-lime #kontrat-sorgula-btn,
        body.accent-lime .kontrat-hizli-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #a3e61c 100%) !important;
            color: #17191e !important;
            font-weight: 700 !important;
            border-color: rgba(182, 255, 46, 0.6) !important;
            box-shadow: 0 10px 24px rgba(182, 255, 46, 0.35) !important;
        }

        body.dark-theme.accent-lime .kontrat-search-btn,
        body.dark-theme.accent-lime #kontrat-sorgula-btn,
        body.dark-theme.accent-lime .kontrat-hizli-btn {
            background: linear-gradient(135deg, #b6ff2e 0%, #84cc16 100%) !important;
            color: #0f1115 !important;
            font-weight: 700 !important;
            box-shadow: 0 0 20px rgba(182, 255, 46, 0.45) !important;
        }

        body.accent-lime .kontrat-pill-badge,
        body.accent-lime .kontrat-history-tag,
        body.accent-lime .kontrat-son-sorgu {
            background: rgba(182, 255, 46, 0.22) !important;
            color: #17191e !important;
            border: 1px solid rgba(182, 255, 46, 0.50) !important;
        }

        body.dark-theme.accent-lime .kontrat-pill-badge,
        body.dark-theme.accent-lime .kontrat-history-tag,
        body.dark-theme.accent-lime .kontrat-son-sorgu {
            background: rgba(182, 255, 46, 0.18) !important;
            color: #b6ff2e !important;
            border: 1px solid rgba(182, 255, 46, 0.40) !important;
        }

        body.accent-lime:not(.admin-panel-open) .sug-item:hover,
        body.accent-lime:not(.admin-panel-open) .sug-item.selected {
            background: linear-gradient(135deg, rgba(182, 255, 46, 0.22), rgba(246, 250, 238, 0.95)) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) .suggestions-box {
            background: rgba(23, 25, 30, 0.98) !important;
            border-color: rgba(182, 255, 46, 0.35) !important;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.70) !important;
        }

        body.dark-theme.accent-lime:not(.admin-panel-open) .sug-item:hover,
        body.dark-theme.accent-lime:not(.admin-panel-open) .sug-item.selected {
            background: linear-gradient(135deg, rgba(182, 255, 46, 0.25), rgba(35, 38, 47, 0.95)) !important;
        }

        body.dark-theme .glass-card {
            background: rgba(15, 23, 42, 0.65) !important;
            border-color: rgba(51, 65, 85, 0.8) !important;
            box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05) !important;
        }

        body.dark-theme .logo-box img, body.dark-theme .admin-brand img { filter: invert(1) grayscale(1) brightness(1.5) !important; mix-blend-mode: screen !important; }
        body.dark-theme #admin-panel .admin-brand img {
            filter: drop-shadow(0 0 16px rgba(255,255,255,0.08)) !important;
            mix-blend-mode: normal !important;
            opacity: 1 !important;
        }
        body.dark-theme h1, body.dark-theme h2, body.dark-theme h3 { color: #f8fafc !important; }
        body.dark-theme .desc { color: #94a3b8 !important; }
        body.dark-theme input.main-inp { background: rgba(30, 41, 59, 0.8) !important; color: #f8fafc !important; border-color: transparent !important; }
        body.dark-theme input.main-inp:focus { background: #0f172a !important; border-color: #38bdf8 !important; box-shadow: 0 0 0 4px rgba(56,189,248,0.15), 0 15px 30px rgba(0,0,0,0.5) !important; }
        body.dark-theme input.main-inp:disabled { background: rgba(15, 23, 42, 0.8) !important; opacity: 0.6 !important; color:#94a3b8 !important; }
        body.dark-theme .suggestions-box { background: rgba(30, 41, 59, 0.98) !important; border-color: #475569 !important; }
        body.dark-theme .sug-header { background: #0f172a !important; border-bottom-color: #334155 !important; color: #94a3b8 !important; }
        body.dark-theme .sug-item { border-bottom-color: #1e293b !important; }
        body.dark-theme .sug-item:hover, body.dark-theme .sug-item.selected { background: #1e293b !important; }
        body.dark-theme .sug-model { color: #e2e8f0 !important; }
        body.dark-theme .sug-copy small,
        body.dark-theme .query-helper { color: #94a3b8 !important; }
        body.dark-theme .query-helper.warn { color: #fbbf24 !important; }
        body.dark-theme .query-helper.ok { color: #34d399 !important; }
	        body.dark-theme .sys-btn { background: rgba(30, 41, 59, 0.75) !important; color: #cbd5e1 !important; border-color: rgba(71, 85, 105, 0.8) !important; }
	        body.dark-theme .sys-btn:hover { background: rgba(15, 23, 42, 0.95) !important; color: #38bdf8 !important; border-color: #38bdf8 !important; }
	        body.dark-theme .nav-container .sys-btn:not(.profile-btn):not(.highlight-btn):not(.logout-btn):not(.followup-nav-btn):hover,
	        body.dark-theme .nav-container .sys-btn:not(.profile-btn):not(.highlight-btn):not(.logout-btn):not(.followup-nav-btn):focus-visible {
	            background: rgba(15, 23, 42, 0.95) !important;
	            color: #38bdf8 !important;
	            border-color: #38bdf8 !important;
	            box-shadow:
	                0 0 32px rgba(56, 189, 248, 0.45),
	                0 22px 48px rgba(2, 6, 23, 0.45) !important;
	        }
	        body.dark-theme .profile-btn {
	            background: linear-gradient(135deg, #0ea5e9, #2563eb) !important;
	            color: #ffffff !important;
	            border-color: transparent !important;
	            box-shadow: 0 12px 28px rgba(14, 165, 233, 0.34) !important;
	        }
	        body.dark-theme .logout-btn {
	            color: #f87171 !important;
	            border-color: rgba(248, 113, 113, 0.42) !important;
	            background: rgba(127, 29, 29, 0.18) !important;
	        }
	        body.dark-theme .logout-btn:hover {
	            color: #ffffff !important;
	            background: rgba(185, 28, 28, 0.86) !important;
	            border-color: rgba(248, 113, 113, 0.82) !important;
	        }
	        body.dark-theme .nav-container .logout-btn:hover,
	        body.dark-theme .nav-container .logout-btn:focus-visible {
	            box-shadow:
	                0 0 32px rgba(248, 113, 113, 0.55),
	                0 22px 48px rgba(127, 29, 29, 0.45) !important;
	        }
	        body.dark-theme .highlight-btn { background: linear-gradient(135deg, #0ea5e9, #1d4ed8) !important; color: #fff !important; border:none !important; }
        body.dark-theme .nav-container .kontrat-btn-wrapper .highlight-btn {
            background: rgba(15, 23, 42, 0.92) !important;
            border: 1px solid rgba(56, 189, 248, 0.38) !important;
            color: #e0f2fe !important;
            box-shadow: 0 12px 28px rgba(2, 6, 23, 0.32) !important;
        }
        body.dark-theme .nav-container .kontrat-btn-wrapper .highlight-btn:hover {
            background: rgba(8, 47, 73, 0.94) !important;
            border-color: rgba(125, 211, 252, 0.64) !important;
            color: #ffffff !important;
        }
        body.dark-theme .admin-brand img {
            filter: invert(1) grayscale(1) brightness(1.5) !important;
            mix-blend-mode: screen !important;
            background: transparent;
            border-radius: 0;
            padding: 0;
            box-shadow: none;
        }
        body.dark-theme .display-box { background: rgba(30, 41, 59, 0.5) !important; border-color: #475569 !important; color: #94a3b8 !important; }
        body.dark-theme .display-box.active-success { background: linear-gradient(135deg, #065f46 0%, #064e3b 100%) !important; border-color: transparent !important; color:#fff !important; }
        body.dark-theme .display-box.active-error { background: #450a0a !important; border-color: #7f1d1d !important; color: #fca5a5 !important; }
	        body.dark-theme #servis-btn { background: #1e293b !important; color: #34d399 !important; }
	        body.dark-theme #servis-btn:hover { background: #0f172a !important; color: #38bdf8 !important; }
	        body.dark-theme .footer-elite, body.dark-theme .servis-label { color: #64748b !important; }
        body.dark-theme .servis-phone {
            background: rgba(52, 211, 153, 0.12) !important;
            border-color: rgba(52, 211, 153, 0.24) !important;
            color: #6ee7b7 !important;
        }

	        body.dark-theme .modal-content-card { background: rgba(15, 23, 42, 0.85) !important; border-color: rgba(51, 65, 85, 0.8) !important; box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05) !important; color: #f8fafc !important; }
	        body.dark-theme .modal-close { background: rgba(30, 41, 59, 0.8) !important; color: #f8fafc !important; border-color: transparent !important; }
	        body.dark-theme .modal-close:hover { background: #ef4444 !important; border-color: #ef4444 !important; }
	        body.dark-theme .profile-photo-actions button {
	            background: rgba(14, 165, 233, 0.14);
	            border-color: rgba(56, 189, 248, 0.3);
	            color: #7dd3fc;
	        }
	        body.dark-theme .profile-photo-actions button:last-child {
	            background: rgba(239, 68, 68, 0.14);
	            border-color: rgba(248, 113, 113, 0.32);
	            color: #fca5a5;
	        }
	        body.dark-theme .profile-card-ui button[onclick="sifreDegistirPrompt()"] {
	            background: rgba(15, 23, 42, 0.66) !important;
	            color: #e0f2fe !important;
	            border-color: rgba(125, 211, 252, 0.34) !important;
	        }
	        body.dark-theme .profile-photo-editor-card {
	            background: rgba(15, 23, 42, 0.98);
	            border-color: rgba(71, 85, 105, 0.82);
	            color: #f8fafc;
	            box-shadow: 0 30px 100px rgba(2, 6, 23, 0.62);
	        }
	        body.dark-theme .profile-photo-editor-card p,
	        body.dark-theme .profile-photo-editor-control span {
	            color: #cbd5e1;
	        }
	        body.dark-theme .profile-photo-editor-crop {
	            background: linear-gradient(135deg, #0f172a, #1e293b);
	            box-shadow: 0 0 0 10px rgba(56, 189, 248, 0.08), 0 18px 44px rgba(2, 6, 23, 0.45);
	        }
	        body.dark-theme .profile-photo-editor-actions button {
	            background: rgba(30, 41, 59, 0.88);
	            border-color: rgba(71, 85, 105, 0.88);
	            color: #e2e8f0;
	        }
	        body.dark-theme #admin-theme-btn {
	            color: #e0f2fe !important;
	            border-color: rgba(129, 140, 248, 0.56) !important;
	            background: linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.38)) !important;
	        }
	        body.dark-theme #admin-theme-btn:hover {
	            color: #ffffff !important;
	            border-color: rgba(125, 211, 252, 0.72) !important;
	            background: linear-gradient(135deg, rgba(30, 64, 175, 0.46), rgba(15, 23, 42, 0.5)) !important;
	        }
	        body.dark-theme .durum-group-label { color: #475569 !important; }
        body.dark-theme #kontrat-context-bar { background: rgba(14,165,233,0.10) !important; border-color: rgba(56,189,248,0.22) !important; }
        body.dark-theme .kontrat-ctx-name { color: #e2e8f0 !important; }
        body.dark-theme .kontrat-recent-chip { background: rgba(14,165,233,0.14) !important; color: #38bdf8 !important; border-color: rgba(56,189,248,0.28) !important; }
        body.dark-theme .kontrat-recent-chip:hover { background: rgba(56,189,248,0.22) !important; }
        body.dark-theme .kontrat-recent-label { color: #334155 !important; }
        body.dark-theme .durum-grid button { background: rgba(30, 41, 59, 0.6) !important; color: #e2e8f0 !important; border-color: rgba(51, 65, 85, 0.8) !important; }
        body.dark-theme .durum-grid button:hover { background: #0f172a !important; color: #38bdf8 !important; border-color: #38bdf8 !important; }
        body.dark-theme .bilgi-karti { background: rgba(30, 41, 59, 0.5) !important; border-color: rgba(71, 85, 105, 0.5) !important; }
        body.dark-theme .bilgi-karti.limit-karti { background: rgba(6, 78, 59, 0.5) !important; border-color: rgba(4, 120, 87, 0.5) !important; border-left-color: #10b981 !important; }
        body.dark-theme .bilgi-karti.uyari-karti { background: rgba(120, 53, 15, 0.5) !important; border-color: rgba(180, 83, 9, 0.5) !important; border-left-color: #f59e0b !important; }
        body.dark-theme .bilgi-karti.hizmet-yok-karti { background: rgba(69, 10, 10, 0.6) !important; border-color: rgba(127, 29, 29, 0.6) !important; border-left-color: #ef4444 !important; }
        body.dark-theme #kontrat-modal {
            background: rgba(2, 6, 23, 0.82) !important;
        }
        body.dark-theme #kontrat-modal .modal-content-card {
            background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 13, 28, 0.98)) !important;
            border-color: rgba(71, 85, 105, 0.76) !important;
            color: #f8fafc !important;
        }
        body.dark-theme #kontrat-detay-sonuc > div:first-child {
            border-bottom-color: rgba(148, 163, 184, 0.32) !important;
        }
        body.dark-theme #kontrat-detay-sonuc h3 {
            color: #f8fafc !important;
            text-shadow: 0 8px 24px rgba(2, 6, 23, 0.45);
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti {
            background: rgba(15, 23, 42, 0.78) !important;
            border-color: rgba(71, 85, 105, 0.72) !important;
            border-left-color: #38bdf8 !important;
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 38px rgba(2, 6, 23, 0.26) !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti span.etiket {
            color: #a8b3c7 !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti span.deger {
            color: #f8fafc !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti.limit-karti {
            background: linear-gradient(135deg, rgba(6, 78, 59, 0.82), rgba(15, 23, 42, 0.88)) !important;
            border-color: rgba(52, 211, 153, 0.34) !important;
            border-left-color: #34d399 !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti.limit-karti span.deger,
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti.limit-karti span.deger span {
            color: #bbf7d0 !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti.uyari-karti {
            background: linear-gradient(135deg, rgba(120, 53, 15, 0.72), rgba(67, 30, 9, 0.82)) !important;
            border-color: rgba(245, 158, 11, 0.42) !important;
            border-left-color: #f59e0b !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti.uyari-karti span.etiket {
            color: #fcd34d !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti.uyari-karti span.deger {
            color: #fff7ed !important;
        }
        body.dark-theme #kontrat-detay-sonuc .bilgi-karti.hizmet-yok-karti {
            background: linear-gradient(135deg, rgba(69, 10, 10, 0.82), rgba(15, 23, 42, 0.88)) !important;
            border-color: rgba(248, 113, 113, 0.38) !important;
            border-left-color: #fb7185 !important;
        }
        body.dark-theme #kontrat-detay-sonuc .text-pulse-danger {
            color: #fb7185 !important;
            text-shadow: 0 0 18px rgba(244, 63, 94, 0.28);
        }
        body.dark-theme #kontrat-detay-sonuc .btn-geri {
            background: rgba(30, 41, 59, 0.96) !important;
            color: #e0f2fe !important;
            border-color: rgba(148, 163, 184, 0.52) !important;
            box-shadow: 0 14px 30px rgba(2, 6, 23, 0.25);
        }
        body.dark-theme #kontrat-detay-sonuc .btn-geri:hover {
            background: rgba(8, 47, 73, 0.96) !important;
            border-color: rgba(125, 211, 252, 0.7) !important;
            color: #ffffff !important;
        }
        body.dark-theme .btn-geri { background: rgba(51, 65, 85, 0.8) !important; color: #f8fafc !important; }
        body.dark-theme .btn-geri:hover { background: #1e293b !important; }
        body.dark-theme .firma-btn { background: rgba(30,41,59,0.6) !important; color: #e2e8f0 !important; border-color: rgba(51,65,85,0.8) !important; }
        body.dark-theme .firma-btn:hover { background: #1e293b !important; border-color: #38bdf8 !important; }
        body.dark-theme .firma-btn.active { background: #0ea5e9 !important; color: white !important; border-color: #0ea5e9 !important; }
        body.dark-theme .dark-text-fix { color: #f8fafc !important; }

        /* ── KIRMIZI ACCENT: dark-theme üstüne — cyberpunk neon (öncelik) ── */
        body.dark-theme.accent-red:not(.admin-panel-open) .sys-btn:hover {
            color: #ff2244 !important;
            border-color: #ff2244 !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .profile-btn {
            background: linear-gradient(135deg, #ff0040 0%, #cc0033 55%, #80001f 100%) !important;
            box-shadow:
                0 0 22px rgba(255, 0, 60, 0.45),
                0 12px 28px rgba(0, 0, 15, 0.45) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .highlight-btn {
            background: linear-gradient(135deg, #ff0040 0%, #cc0033 55%, #80001f 100%) !important;
            box-shadow:
                0 0 22px rgba(255, 0, 60, 0.40),
                0 8px 25px rgba(0, 0, 15, 0.42) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .nav-container .kontrat-btn-wrapper .highlight-btn {
            background: rgba(8, 0, 18, 0.92) !important;
            border: 1px solid rgba(255, 0, 60, 0.38) !important;
            color: #ff8099 !important;
            box-shadow:
                0 0 16px rgba(255, 0, 60, 0.20),
                0 12px 28px rgba(0, 0, 15, 0.35) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .nav-container .kontrat-btn-wrapper .highlight-btn:hover {
            background: rgba(18, 0, 30, 0.96) !important;
            border-color: rgba(255, 30, 70, 0.65) !important;
            color: #ffffff !important;
            box-shadow:
                0 0 26px rgba(255, 0, 60, 0.40),
                0 12px 30px rgba(0, 0, 15, 0.45) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #admin-trigger {
            border-color: rgba(255, 30, 70, 0.32);
            color: #ff4466;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #admin-trigger:hover {
            color: #ff6688;
            box-shadow: 0 0 14px rgba(255, 0, 60, 0.32);
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .sug-item:hover,
        body.dark-theme.accent-red:not(.admin-panel-open) .sug-item.selected {
            background: linear-gradient(135deg, rgba(18, 0, 30, 0.78), rgba(8, 0, 18, 0.92)) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .durum-grid button:hover {
            color: #ff2244 !important;
            border-color: #ff2244 !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #kontrat-context-bar { background: rgba(220,38,38,0.10) !important; border-color: rgba(248,113,113,0.22) !important; }
        body.dark-theme.accent-red:not(.admin-panel-open) .kontrat-ctx-firma { color: #f87171 !important; }
        body.dark-theme.accent-red:not(.admin-panel-open) .kontrat-recent-chip { background: rgba(220,38,38,0.12) !important; color: #f87171 !important; border-color: rgba(248,113,113,0.28) !important; }
        body.dark-theme.accent-red:not(.admin-panel-open) .kontrat-recent-chip:hover { background: rgba(220,38,38,0.22) !important; }

        body.accent-red:not(.dark-theme):not(.admin-panel-open) #kontrat-context-bar { background: rgba(185,28,28,0.07) !important; border-color: rgba(185,28,28,0.18) !important; }
        body.accent-red:not(.dark-theme):not(.admin-panel-open) .kontrat-ctx-firma { color: #b91c1c !important; }
        body.accent-red:not(.dark-theme):not(.admin-panel-open) .kontrat-recent-chip { background: rgba(185,28,28,0.08) !important; color: #b91c1c !important; border-color: rgba(185,28,28,0.22) !important; }
        body.accent-red:not(.dark-theme):not(.admin-panel-open) .kontrat-recent-chip:hover { background: rgba(185,28,28,0.16) !important; }

        body.dark-theme.accent-red:not(.admin-panel-open) .firma-btn:hover {
            border-color: #ff2244 !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .firma-btn.active {
            background: linear-gradient(135deg, #ff0040 0%, #cc0033 100%) !important;
            border-color: #ff0040 !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #kontrat-modal {
            background:
                radial-gradient(circle at 50% 18%, rgba(220, 38, 38, 0.22), transparent 36%),
                rgba(10, 0, 0, 0.82) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #kontrat-modal .modal-content-card {
            background:
                linear-gradient(180deg, rgba(26, 5, 5, 0.98), rgba(8, 13, 28, 0.98)),
                radial-gradient(circle at top right, rgba(220, 38, 38, 0.14), transparent 42%) !important;
            border-color: rgba(127, 29, 29, 0.58) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #kontrat-detay-sonuc .bilgi-karti {
            border-left-color: #f87171 !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) #kontrat-detay-sonuc .btn-geri:hover {
            background: rgba(69, 10, 10, 0.96) !important;
            border-color: rgba(252, 165, 165, 0.7) !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .profile-card-ui button[onclick="sifreDegistirPrompt()"] {
            border-color: rgba(252, 165, 165, 0.34) !important;
            color: #fecaca !important;
        }

        body.dark-theme.accent-red:not(.admin-panel-open) .profile-photo-editor-crop {
            box-shadow: 0 0 0 10px rgba(248, 113, 113, 0.08), 0 18px 44px rgba(2, 6, 23, 0.45);
        }

        @media (max-width: 900px) {
            .durum-grid { grid-template-columns: repeat(3, 1fr); }
            .sonuc-grid { grid-template-columns: repeat(2, 1fr); }
            .bilgi-karti.uyari-karti { grid-column: span 2; }
        }

        @media (max-width: 768px) {
            .nav-container {
                top: auto; bottom: 25px; left: 50%; transform: translateX(-50%); flex-direction: row; width: 95%; max-width: 400px; justify-content: space-between; gap: 6px; background: rgba(255,255,255,0.95); backdrop-filter: blur(25px); padding: 10px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border: 1px solid rgba(255,255,255,0.9);
            }
            body.dark-theme .nav-container { background: rgba(15, 23, 42, 0.95); border-color: #334155; }
            .sys-btn { flex: 1; padding: 12px 2px; font-size: 9px; border-radius: 16px; background: transparent; border: none; box-shadow: none; color: #0f172a; }
            body.dark-theme .sys-btn { background: transparent; color: #cbd5e1; }
            .theme-btn-container { bottom: 90px; right: 15px; }
            .theme-btn-container .sys-btn { font-size: 9px; padding: 10px 15px; }
            .glass-card { margin-bottom: 90px; padding: 40px 20px; width: 92%; border-radius: 36px; }
            .modal-content-card { width: 100%; padding: 25px 15px; border-radius: 20px; min-height: 80vh; }
            .durum-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
            .sonuc-grid { grid-template-columns: 1fr; }
            .bilgi-karti.uyari-karti { grid-column: span 1; }
            #admin-panel { flex-direction: column; }
            .admin-sidebar { width: 100%; height: auto; border-right: none; border-bottom: 1px solid rgba(51, 65, 85, 0.5); flex-direction: row; flex-wrap: wrap; padding: 15px; }
            .admin-brand { display: none; }
            .admin-nav { flex-direction: row; overflow-x: auto; padding: 0; }
            .admin-tab-btn { white-space: nowrap; padding: 10px 15px; font-size: 11px; }
            .admin-topbar { padding: 0 15px; height: 60px; }
            .admin-content { padding: 15px; }
        }

        /* Chrome compositor optimizasyonu: Safari tasarımına dokunmadan Chrome'daki blur yükünü azaltır. */
        html.chrome-browser #auth-overlay,
        html.chrome-browser #admin-trigger,
        html.chrome-browser .sys-btn,
        html.chrome-browser .glass-card,
        html.chrome-browser .custom-modal,
        html.chrome-browser .modal-content-card,
        html.chrome-browser .auth-card,
        html.chrome-browser .crud-modal,
        html.chrome-browser .crud-content,
        html.chrome-browser .admin-card,
        html.chrome-browser .nav-container {
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
        }

        html.chrome-browser .glass-card,
        html.chrome-browser .modal-content-card,
        html.chrome-browser .auth-card,
        html.chrome-browser .crud-content,
        html.chrome-browser .admin-card {
            background: rgba(255, 255, 255, 0.94) !important;
        }

        html.chrome-browser .sys-btn,
        html.chrome-browser #admin-trigger {
            background: rgba(255, 255, 255, 0.92);
        }

        html.chrome-browser .fade-in-up {
            filter: none !important;
            animation-duration: 0.26s !important;
        }

        html.chrome-browser .custom-modal,
        html.chrome-browser .modal-content-card,
        html.chrome-browser .auth-card,
        html.chrome-browser .crud-content {
            transition-duration: 0.12s !important;
        }

        html.chrome-browser .admin-content,
        html.chrome-browser .admin-table-container,
        html.chrome-browser .suggestions-box,
        html.chrome-browser .modal-content-card {
            contain: layout paint;
        }

        html.chrome-browser body.dark-theme .glass-card,
        html.chrome-browser body.dark-theme .modal-content-card,
        html.chrome-browser body.dark-theme .auth-card,
        html.chrome-browser body.dark-theme .crud-content,
        html.chrome-browser body.dark-theme .admin-card {
            background: rgba(15, 23, 42, 0.9) !important;
        }

        /* Chrome 15.6" masaustu yogunluk ayari: okunurlugu koruyup gereksiz bosluklari azaltir. */
        @media (min-width: 1000px) and (min-height: 650px) {
            html.chrome-browser #main-card {
                max-width: 420px;
                padding: 40px 38px;
                border-radius: 30px;
            }

            html.chrome-browser .logo-box img {
                max-width: 190px;
                margin-bottom: 18px;
            }

            html.chrome-browser #main-card h1,
            html.chrome-browser #kontrat-modal h1 {
                font-size: 22px !important;
            }

            html.chrome-browser #main-card .desc,
            html.chrome-browser #kontrat-modal .desc {
                margin: 6px 0 22px;
                font-size: 12.5px;
            }

            html.chrome-browser input.main-inp {
                padding: 18px 20px;
                border-radius: 16px;
                font-size: 15px;
            }

            html.chrome-browser button.sorgula-btn {
                padding: 18px 20px;
                border-radius: 16px;
                font-size: 14px;
                margin-top: 14px;
            }

            html.chrome-browser #result-area {
                margin-top: 14px;
                gap: 10px;
            }

            html.chrome-browser .display-box {
                padding: 18px;
                border-radius: 16px;
                font-size: 17px;
            }

            html.chrome-browser #servis-btn {
                padding: 14px 18px;
                border-radius: 15px;
                font-size: 13px;
                gap: 10px;
            }

            html.chrome-browser .servis-phone {
                min-height: 42px;
                margin-top: 8px;
                padding: 12px 14px;
                border-radius: 14px;
                font-size: 13px;
            }

            html.chrome-browser .footer-elite {
                margin-top: 14px;
                font-size: 9.5px;
                line-height: 1.75;
            }

            html.chrome-browser .nav-container {
                right: 18px;
                top: 18px;
                gap: 9px;
                width: 205px;
                transform: none;
            }

            html.chrome-browser .nav-container .sys-btn,
            html.chrome-browser .theme-btn-container .sys-btn {
                min-height: 40px;
                padding: 10px 17px;
                border-radius: 12px;
                font-size: 10.5px;
                letter-spacing: 1.15px;
                transform: none;
            }

            html.chrome-browser .nav-container .sys-btn:hover,
            html.chrome-browser .nav-container .sys-btn:focus-visible {
                transform: scale(1.24) translateY(-5px) !important;
            }

            html.chrome-browser .theme-btn-container {
                right: 18px;
                bottom: 18px;
                transform: none;
            }

            html.chrome-browser #admin-trigger {
                width: 44px;
                height: 44px;
                left: 18px;
                bottom: 18px;
                transform: none;
            }

            html.chrome-browser .custom-modal.active > .modal-content-card:not(.followup-modal-card):not(.followup-alert-card) {
                max-width: 1020px;
                min-height: 480px;
                max-height: 88vh;
                padding: 36px;
                border-radius: 24px;
                transform: translateZ(0);
            }

            html.chrome-browser #kontrat-modal .modal-content-card {
                max-width: 1040px;
                padding: 38px 36px;
            }

            html.chrome-browser #kontrat-modal .logo-box img {
                max-width: 128px !important;
                margin-bottom: 14px;
            }

            html.chrome-browser .firma-btn {
                padding: 10px 18px;
                border-radius: 10px;
                font-size: 12px;
            }

            html.chrome-browser .durum-grid {
                gap: 10px;
                margin-top: 20px;
            }

            html.chrome-browser .durum-grid button {
                padding: 14px 8px;
                border-radius: 14px;
                font-size: 12.5px;
            }

            html.chrome-browser #kontrat-detay-sonuc {
                margin-top: 24px;
            }

            html.chrome-browser .sonuc-grid {
                gap: 12px;
            }

            html.chrome-browser .bilgi-karti {
                padding: 18px;
                border-radius: 14px;
            }

            html.chrome-browser .bilgi-karti span.deger {
                font-size: 15px;
            }

            html.chrome-browser .btn-geri {
                padding: 10px 20px;
                border-radius: 10px;
                font-size: 12px;
            }

            html.chrome-browser .profile-card-ui {
                max-width: 780px;
                padding: 32px !important;
            }

            html.chrome-browser .crud-modal.active > .crud-content {
                max-height: 88vh;
                padding: 34px;
                border-radius: 20px;
                transform: translateZ(0);
            }

            html.chrome-browser #admin-panel.active {
                width: 100%;
                height: 100%;
                transform: none;
            }

            html.chrome-browser .admin-sidebar {
                width: 244px;
            }

            html.chrome-browser .admin-brand {
                padding: 24px 18px;
            }

            html.chrome-browser .admin-brand img {
                max-width: 122px;
            }

            html.chrome-browser .admin-nav {
                padding: 16px 12px;
                gap: 6px;
            }

            html.chrome-browser .admin-tab-btn {
                padding: 12px 14px;
                border-radius: 10px;
                gap: 9px;
                font-size: 12px;
            }

            html.chrome-browser .admin-topbar {
                height: 64px;
                padding: 0 28px;
            }

            html.chrome-browser .admin-topbar h3 {
                font-size: 16px !important;
            }

            html.chrome-browser .admin-content {
                padding: 26px;
            }

            html.chrome-browser .admin-card {
                padding: 26px;
                margin-bottom: 22px;
                border-radius: 16px;
            }

            html.chrome-browser .admin-card h3 {
                padding-bottom: 12px;
                font-size: 16px;
            }

            html.chrome-browser .admin-grid {
                gap: 18px;
            }

            html.chrome-browser .stat-box {
                padding: 22px 20px;
                border-radius: 14px;
            }

            html.chrome-browser .stat-val {
                font-size: 32px;
            }

            html.chrome-browser .admin-table-container {
                max-height: calc(100vh - 250px);
                border-radius: 14px;
            }

            html.chrome-browser .admin-table {
                font-size: 12px;
            }

            html.chrome-browser .admin-table th {
                padding: 13px 14px;
                font-size: 10px;
            }

            html.chrome-browser .admin-table td {
                padding: 12px 14px;
            }

            html.chrome-browser input.admin-input,
            html.chrome-browser select.admin-select {
                padding: 12px 14px;
                border-radius: 10px;
                font-size: 13px;
                margin-bottom: 18px;
            }

            html.chrome-browser .btn-add,
            html.chrome-browser .export-btn {
                padding: 10px 18px;
                border-radius: 9px;
                font-size: 12px;
            }

            html.chrome-browser .action-btn {
                padding: 7px 12px;
                font-size: 10.5px;
            }

            html.chrome-browser .followup-modal-card {
                width: min(1160px, 94vw);
                height: min(820px, 92vh);
                max-height: 92vh;
            }

            html.chrome-browser .followup-head {
                padding: 22px 86px 20px 28px;
                gap: 18px;
            }

            html.chrome-browser .followup-head h2 {
                font-size: 25px;
            }

            html.chrome-browser .followup-head p {
                font-size: 13px;
            }

            html.chrome-browser .followup-mode-switch,
            html.chrome-browser .followup-quick-stats {
                padding-left: 18px;
                padding-right: 18px;
                gap: 10px;
            }

            html.chrome-browser .followup-mode-btn {
                min-height: 46px;
                border-radius: 14px;
                font-size: 12px;
            }

            html.chrome-browser .followup-quick-stats div {
                padding: 12px 14px;
                border-radius: 14px;
            }

            html.chrome-browser .followup-layout {
                grid-template-columns: 340px minmax(0, 1fr);
                min-height: 540px;
            }

            html.chrome-browser .admin-followup-page .followup-layout,
            html.chrome-browser .admin-followup-page .followup-detail-panel {
                min-height: calc(100vh - 225px);
            }

            html.chrome-browser .admin-followup-page .followup-list {
                max-height: calc(100vh - 330px);
            }

            html.chrome-browser .service-directory-card {
                min-height: calc(100vh - 130px);
            }

            html.chrome-browser .service-directory-table-wrap {
                max-height: calc(100vh - 248px);
            }
        }

        /* Takip merkezi hızlı kullanım düzeltmeleri */
        .followup-bulk-delete-btn {
            grid-column: 1 / -1;
            color: #ef4444 !important;
            border-color: rgba(239, 68, 68, 0.35) !important;
            background: rgba(239, 68, 68, 0.08) !important;
        }

        .followup-delete-btn {
            border-color: rgba(100, 116, 139, 0.35) !important;
            color: #64748b !important;
        }

        .followup-detail-head p {
            white-space: pre-wrap;
            overflow-wrap: anywhere;
        }

        .followup-compose textarea {
            min-height: 158px !important;
            line-height: 1.55;
            font-weight: 750;
            background: rgba(248, 250, 252, 0.98) !important;
        }

        /* Üretim kilidi düzeltmesi: takip uyarısı her katmanın üstünde ve tıklanabilir kalır. */
        .followup-alert-overlay.active {
            z-index: 2147483640 !important;
            pointer-events: auto !important;
        }

        .followup-alert-overlay.active .followup-alert-card,
        .followup-alert-overlay.active .followup-alert-action-btn,
        .followup-alert-overlay.active #followup-alert-ack-btn {
            pointer-events: auto !important;
        }

        #followup-alert-ack-btn:disabled {
            opacity: 0.72;
            cursor: wait;
        }

        /* Yetkili servis yönetimi */
        .service-directory-card {
            min-height: calc(100vh - 170px);
        }

        .service-directory-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
            gap: 24px;
            align-items: start;
            border-bottom: 1px solid rgba(226,232,240,0.8);
            padding-bottom: 18px;
            margin-bottom: 18px;
        }

        .service-directory-head h3 {
            border-bottom: 0;
            padding-bottom: 0;
            margin-bottom: 8px;
        }

        .service-directory-actions {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 12px;
            align-items: center;
        }

        .service-directory-actions .admin-input {
            margin-bottom: 0;
        }

        .service-directory-save-btn {
            height: 45px;
            padding: 0 22px;
            justify-content: center;
            white-space: nowrap;
        }

        .service-directory-summary {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            max-width: 100%;
            margin-bottom: 14px;
            padding: 9px 12px;
            border-radius: 12px;
            background: rgba(14, 165, 233, 0.1);
            color: #0284c7;
            font-size: 12px;
            font-weight: 900;
        }

        .service-directory-table-wrap {
            max-height: calc(100vh - 290px);
            overflow: auto;
            border: 1px solid rgba(226,232,240,0.9);
            border-radius: 16px;
            background: #fff;
        }

        .service-directory-table {
            min-width: 860px;
        }

        .service-directory-table thead th {
            position: sticky;
            top: 0;
            z-index: 2;
            background: #f8fafc;
        }

        .service-directory-table td {
            vertical-align: middle;
        }

        .service-directory-brand {
            display: block;
            color: #0f172a;
            font-size: 13px;
            font-weight: 900;
            margin-bottom: 4px;
        }

        .service-directory-table small {
            display: block;
            color: #94a3b8;
            font-size: 10px;
            font-weight: 800;
        }

        .service-directory-model-link {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            margin: 0;
            padding: 0;
            border: 0;
            background: transparent;
            color: #64748b;
            cursor: pointer;
            font-size: 10px;
            font-weight: 900;
            font-family: inherit;
            text-align: left;
        }

        .service-directory-model-link:hover {
            color: #0ea5e9;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        .service-directory-low-priority {
            width: fit-content;
            margin-top: 5px;
            padding: 4px 7px;
            border-radius: 999px;
            background: rgba(245, 158, 11, 0.12);
            color: #b45309 !important;
            border: 1px solid rgba(245, 158, 11, 0.22);
        }

        .service-directory-table .admin-input {
            margin-bottom: 0;
            padding: 12px 14px;
            font-size: 13px;
            border-radius: 12px;
        }

        body.dark-theme .service-directory-table-wrap {
            background: #0f172a;
            border-color: #334155;
        }

        body.dark-theme .service-directory-table thead th {
            background: #111827;
        }

        body.dark-theme .service-directory-brand {
            color: #f8fafc;
        }

        body.dark-theme .service-directory-model-link {
            color: #94a3b8;
        }

        body.dark-theme .service-directory-model-link:hover {
            color: #38bdf8;
        }

        body.dark-theme .service-directory-low-priority {
            background: rgba(245, 158, 11, 0.16);
            color: #fbbf24 !important;
            border-color: rgba(245, 158, 11, 0.28);
        }

        body.dark-theme .service-directory-summary {
            background: rgba(14, 165, 233, 0.14);
            color: #38bdf8;
        }

        @media (max-width: 980px) {
            .service-directory-head {
                grid-template-columns: 1fr;
            }

            .service-directory-actions {
                grid-template-columns: 1fr;
            }
        }

        /* Kontrat V2 yönetimi */
        .contract-v2-shell {
            border: 1px solid rgba(226,232,240,0.9);
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(255,255,255,0.98));
            padding: 18px;
        }

        .contract-v2-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 18px;
            align-items: start;
            border-bottom: 1px solid rgba(226,232,240,0.9);
            padding-bottom: 16px;
        }

        .contract-v2-head h4 {
            margin: 8px 0 6px;
            color: #0f172a;
            font-size: 20px;
            font-weight: 950;
            letter-spacing: 0;
        }

        .contract-v2-head p {
            margin: 0;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
        }

        .contract-v2-badge {
            display: inline-flex;
            width: fit-content;
            padding: 7px 10px;
            border-radius: 999px;
            background: rgba(14,165,233,0.12);
            color: #0284c7;
            font-size: 10px;
            font-weight: 950;
        }

        .contract-v2-head-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .contract-v2-head-actions button {
            min-height: 38px;
            padding: 10px 14px !important;
            font-size: 11px !important;
            white-space: nowrap;
        }

        .contract-v2-year-tabs {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            padding: 16px 0;
        }

        .contract-v2-year-tabs button {
            border: 1px solid rgba(148,163,184,0.35);
            background: #fff;
            color: #475569;
            border-radius: 12px;
            padding: 10px 16px;
            font-size: 12px;
            font-weight: 950;
            cursor: pointer;
        }

        .contract-v2-year-tabs button.active {
            background: linear-gradient(135deg, #0ea5e9, #2563eb);
            border-color: transparent;
            color: #fff;
            box-shadow: 0 12px 24px rgba(14,165,233,0.22);
        }

        .contract-v2-grid {
            display: grid;
            grid-template-columns: minmax(230px, 290px) minmax(0, 1fr);
            gap: 18px;
            align-items: start;
        }

        .contract-v2-family-panel,
        .contract-v2-detail-panel {
            border: 1px solid rgba(226,232,240,0.85);
            border-radius: 16px;
            background: rgba(255,255,255,0.82);
        }

        .contract-v2-family-panel {
            overflow: hidden;
        }

        .contract-v2-panel-title,
        .contract-v2-section-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 14px 16px;
            color: #334155;
            font-size: 12px;
            font-weight: 950;
            border-bottom: 1px solid rgba(226,232,240,0.85);
        }

        .contract-v2-panel-title button,
        .contract-v2-section-title button {
            border: 0;
            border-radius: 10px;
            background: rgba(14,165,233,0.12);
            color: #0284c7;
            min-width: 32px;
            height: 32px;
            font-weight: 950;
            cursor: pointer;
        }

        .contract-v2-family-list {
            max-height: calc(100vh - 395px);
            overflow: auto;
            padding: 10px;
        }

        .contract-v2-family-btn {
            width: 100%;
            border: 1px solid transparent;
            border-radius: 14px;
            background: transparent;
            color: #334155;
            cursor: pointer;
            display: grid;
            gap: 5px;
            margin-bottom: 8px;
            padding: 12px;
            text-align: left;
        }

        .contract-v2-family-btn strong {
            color: #0f172a;
            font-size: 13px;
            font-weight: 950;
        }

        .contract-v2-family-btn small {
            color: #94a3b8;
            font-size: 10px;
            font-weight: 850;
        }

        .contract-v2-family-btn:hover,
        .contract-v2-family-btn.active {
            border-color: rgba(14,165,233,0.35);
            background: rgba(14,165,233,0.08);
        }

        .contract-v2-detail-panel {
            min-height: 420px;
            padding: 16px;
        }

        .contract-v2-detail-top {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: flex-start;
            margin-bottom: 16px;
        }

        .contract-v2-detail-top h4 {
            margin: 0 0 6px;
            color: #0f172a;
            font-size: 20px;
            font-weight: 950;
        }

        .contract-v2-detail-top p,
        .contract-v2-muted {
            margin: 0;
            color: #64748b;
            font-size: 12px;
            font-weight: 800;
        }

        .contract-v2-mini-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .contract-v2-mini-actions button,
        .contract-v2-row-actions button {
            border: 1px solid rgba(148,163,184,0.32);
            border-radius: 10px;
            background: #fff;
            color: #334155;
            cursor: pointer;
            font-size: 11px;
            font-weight: 950;
            padding: 9px 12px;
        }

        .contract-v2-mini-actions button.danger,
        .contract-v2-row-actions button.danger {
            color: #ef4444;
            border-color: rgba(239,68,68,0.22);
            background: rgba(239,68,68,0.06);
        }

        .contract-v2-section {
            border-top: 1px solid rgba(226,232,240,0.85);
            padding-top: 16px;
            margin-top: 16px;
        }

        .contract-v2-name-row,
        .contract-v2-status-row {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 12px;
            align-items: center;
            border: 1px solid rgba(226,232,240,0.8);
            border-radius: 12px;
            background: #fff;
            margin-top: 8px;
            padding: 11px 12px;
        }

        .contract-v2-name-row strong,
        .contract-v2-status-row strong {
            color: #0f172a;
            font-size: 12px;
            font-weight: 900;
        }

        .contract-v2-status-row.active {
            border-color: rgba(14,165,233,0.38);
            background: rgba(14,165,233,0.08);
        }

        .contract-v2-new-names {
            width: 100%;
            min-height: 92px;
            resize: vertical;
            border: 1px solid rgba(203,213,225,0.95);
            border-radius: 14px;
            background: #fff;
            color: #0f172a;
            font-family: inherit;
            font-size: 13px;
            font-weight: 750;
            line-height: 1.5;
            padding: 13px 14px;
        }

        .contract-v2-editor-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin-top: 12px;
        }

        .contract-v2-field {
            display: grid;
            gap: 7px;
        }

        .contract-v2-field.full {
            grid-column: 1 / -1;
        }

        .contract-v2-field label {
            color: #64748b;
            font-size: 10px;
            font-weight: 950;
            text-transform: uppercase;
        }

        .contract-v2-field input,
        .contract-v2-field textarea {
            width: 100%;
            border: 1px solid rgba(203,213,225,0.95);
            border-radius: 12px;
            background: #fff;
            color: #0f172a;
            font-family: inherit;
            font-size: 13px;
            font-weight: 750;
            line-height: 1.5;
            padding: 12px 13px;
        }

        .contract-v2-field textarea {
            min-height: 118px;
            resize: vertical;
        }

        .contract-v2-empty {
            border: 1px dashed rgba(148,163,184,0.45);
            border-radius: 14px;
            color: #64748b;
            font-size: 12px;
            font-weight: 850;
            padding: 18px;
            text-align: center;
        }

        .contract-legacy-panel {
            margin-top: 18px;
            border: 1px dashed rgba(148,163,184,0.45);
            border-radius: 14px;
            padding: 12px 14px;
        }

        .contract-legacy-panel summary {
            color: #475569;
            cursor: pointer;
            font-size: 12px;
            font-weight: 950;
        }

        body.dark-theme .contract-v2-shell,
        body.dark-theme .contract-v2-family-panel,
        body.dark-theme .contract-v2-detail-panel,
        body.dark-theme .contract-v2-name-row,
        body.dark-theme .contract-v2-status-row,
        body.dark-theme .contract-v2-year-tabs button,
        body.dark-theme .contract-v2-mini-actions button,
        body.dark-theme .contract-v2-row-actions button,
        body.dark-theme .contract-v2-new-names,
        body.dark-theme .contract-v2-field input,
        body.dark-theme .contract-v2-field textarea,
        body.dark-theme .contract-legacy-panel {
            background: rgba(15,23,42,0.78);
            border-color: rgba(51,65,85,0.9);
            color: #e2e8f0;
        }

        body.dark-theme .contract-v2-head,
        body.dark-theme .contract-v2-panel-title,
        body.dark-theme .contract-v2-section-title,
        body.dark-theme .contract-v2-section {
            border-color: rgba(51,65,85,0.9);
        }

        body.dark-theme .contract-v2-head h4,
        body.dark-theme .contract-v2-detail-top h4,
        body.dark-theme .contract-v2-family-btn strong,
        body.dark-theme .contract-v2-name-row strong,
        body.dark-theme .contract-v2-status-row strong {
            color: #f8fafc;
        }

        body.dark-theme .contract-v2-head p,
        body.dark-theme .contract-v2-muted,
        body.dark-theme .contract-v2-family-btn small,
        body.dark-theme .contract-v2-field label,
        body.dark-theme .contract-legacy-panel summary {
            color: #94a3b8;
        }

        body.dark-theme .contract-v2-family-btn {
            color: #cbd5e1;
        }

        body.dark-theme .contract-v2-family-btn:hover,
        body.dark-theme .contract-v2-family-btn.active,
        body.dark-theme .contract-v2-status-row.active {
            background: rgba(14,165,233,0.16);
            border-color: rgba(56,189,248,0.45);
        }

        body.dark-theme .contract-v2-year-tabs button.active {
            background: linear-gradient(135deg, #0284c7, #1d4ed8);
            color: #fff;
        }

        @media (max-width: 1100px) {
            .contract-v2-head,
            .contract-v2-grid {
                grid-template-columns: 1fr;
            }

            .contract-v2-head-actions,
            .contract-v2-mini-actions {
                justify-content: flex-start;
            }

            .contract-v2-family-list {
                max-height: none;
            }
        }

        @media (max-width: 760px) {
            .contract-v2-editor-grid,
            .contract-v2-name-row,
            .contract-v2-status-row {
                grid-template-columns: 1fr;
            }
        }

        /* Kontrat arama modal polish */
        #kontrat-modal {
            background:
                radial-gradient(circle at 50% 18%, rgba(14, 165, 233, 0.16), transparent 36%),
                rgba(15, 23, 42, 0.72);
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
        }

        #kontrat-modal .modal-content-card {
            max-width: min(1220px, 94vw);
            min-height: min(690px, 86vh);
            padding: 50px 54px 56px;
            border: 1px solid rgba(255, 255, 255, 0.76);
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.84)),
                radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 38%);
            box-shadow:
                0 34px 90px rgba(15, 23, 42, 0.28),
                inset 0 1px 0 rgba(255, 255, 255, 0.72);
            overflow-y: auto;
        }

        #kontrat-modal .modal-content-card::before {
            content: "";
            position: absolute;
            inset: 1px;
            border-radius: inherit;
            pointer-events: none;
            background: linear-gradient(120deg, rgba(255,255,255,0.46), transparent 34%, rgba(14,165,233,0.08));
            opacity: 0.72;
        }

        #kontrat-modal .logo-box,
        #kontrat-modal h1,
        #kontrat-modal .desc,
        #kontrat-modal #firma-butonlari,
        #kontrat-modal .input-wrapper,
        #kontrat-modal .durum-grid,
        #kontrat-modal #kontrat-detay-sonuc,
        #kontrat-modal .modal-close {
            position: relative;
            z-index: 2;
        }

        #kontrat-modal .input-wrapper {
            max-width: 1080px;
            margin: 0 auto;
        }

        #kontrat-modal .modal-close {
            position: absolute;
            z-index: 6;
        }

        #kontrat-modal #kontrat-suggestions {
            position: relative;
            top: auto;
            left: auto;
            right: auto;
            margin-top: 14px;
            max-height: min(430px, 42vh);
            border-radius: 22px;
            border-color: rgba(186, 230, 253, 0.88);
            background: rgba(255, 255, 255, 0.97);
            -webkit-backdrop-filter: none;
            backdrop-filter: none;
            box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
        }

        #kontrat-modal #kontrat-suggestions.visible {
            animation: contractSuggestionReveal 0.24s cubic-bezier(.2,.9,.22,1);
        }

        @keyframes contractSuggestionReveal {
            from { opacity: 0; transform: translateY(-8px) scale(0.985); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        #kontrat-modal #kontrat-suggestions .sug-header {
            padding: 14px 22px 9px;
            background: rgba(248, 250, 252, 0.92);
        }

        #kontrat-modal #kontrat-suggestions .sug-item {
            min-height: 64px;
            align-items: flex-start;
            padding: 17px 22px;
            gap: 16px;
        }

        #kontrat-modal #kontrat-suggestions .sug-model {
            white-space: normal;
            overflow: visible;
            text-overflow: clip;
            line-height: 1.38;
            font-size: 14px;
            font-weight: 850;
        }

        #kontrat-modal #kontrat-suggestions .sug-cat {
            flex: 0 0 auto;
            margin-top: 1px;
        }

        body.dark-theme #kontrat-modal #kontrat-suggestions {
            background: rgba(15, 23, 42, 0.9) !important;
            border-color: rgba(56, 189, 248, 0.32) !important;
            box-shadow: 0 28px 76px rgba(2, 6, 23, 0.5);
        }

        body.dark-theme #kontrat-modal #kontrat-suggestions .sug-header {
            background: rgba(15, 23, 42, 0.94) !important;
        }

        body.dark-theme #kontrat-modal .modal-content-card {
            background:
                linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 28, 0.9)),
                radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 38%) !important;
            border-color: rgba(125, 211, 252, 0.2) !important;
        }

        html.chrome-browser #kontrat-modal {
            -webkit-backdrop-filter: none !important;
            backdrop-filter: none !important;
        }

        html.chrome-browser #kontrat-modal .modal-content-card {
            background:
                linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88)),
                radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 38%) !important;
        }

        html.chrome-browser body.dark-theme #kontrat-modal .modal-content-card {
            background:
                linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(8, 13, 28, 0.9)),
                radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 38%) !important;
        }

        .assistline-refresh-overlay {
            position: fixed;
            inset: 0;
            z-index: 2147483647;
            display: grid;
            place-items: center;
            background:
                radial-gradient(circle at 50% 42%, rgba(14, 165, 233, 0.22), transparent 32%),
                rgba(15, 23, 42, 0.72);
            -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
            animation: assistlineRefreshIn 0.22s ease-out both;
        }

        .assistline-refresh-card {
            display: grid;
            gap: 10px;
            min-width: min(420px, calc(100vw - 42px));
            padding: 26px 28px;
            border-radius: 24px;
            background: rgba(255, 255, 255, 0.94);
            border: 1px solid rgba(255, 255, 255, 0.8);
            box-shadow: 0 28px 80px rgba(2, 6, 23, 0.35);
            text-align: center;
        }

        .assistline-refresh-card strong {
            color: #0f172a;
            font-size: 20px;
            font-weight: 950;
        }

        .assistline-refresh-card span {
            color: #475569;
            font-size: 13px;
            font-weight: 800;
            line-height: 1.5;
        }

        .assistline-refresh-card::after {
            content: "";
            width: 100%;
            height: 4px;
            border-radius: 999px;
            background: linear-gradient(90deg, transparent, #0ea5e9, #2563eb, transparent);
            animation: assistlineRefreshBar 0.9s ease-in-out infinite;
        }

        @keyframes assistlineRefreshIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes assistlineRefreshBar {
            0% { transform: scaleX(0.18); opacity: 0.45; }
            50% { transform: scaleX(1); opacity: 1; }
            100% { transform: scaleX(0.18); opacity: 0.45; }
        }

        body.dark-theme .assistline-refresh-card {
            background: rgba(15, 23, 42, 0.94);
            border-color: rgba(125, 211, 252, 0.24);
        }

        body.dark-theme .assistline-refresh-card strong {
            color: #f8fafc;
        }

        body.dark-theme .assistline-refresh-card span {
            color: #cbd5e1;
        }

        .galatasaray-egg-overlay {
            position: fixed;
            inset: 0;
            z-index: 2147483646;
            display: grid;
            place-items: center;
            overflow: hidden;
            background:
                radial-gradient(circle at 50% 40%, rgba(255, 214, 10, 0.32), transparent 24%),
                linear-gradient(115deg, #7a0019 0%, #a4001e 43%, #f7b500 43%, #ffcb05 100%);
            animation: gsOverlayIn 0.36s ease-out both;
        }

        .galatasaray-egg-overlay::before,
        .galatasaray-egg-overlay::after {
            content: "";
            position: absolute;
            inset: -20%;
            pointer-events: none;
        }

        .galatasaray-egg-overlay::before {
            background:
                linear-gradient(120deg, transparent 0 28%, rgba(255,255,255,0.18) 32%, transparent 37%),
                repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 84px);
            animation: gsLightSweep 4.8s linear infinite;
        }

        .galatasaray-egg-overlay::after {
            background:
                radial-gradient(circle at 14% 22%, rgba(255,255,255,0.2), transparent 8%),
                radial-gradient(circle at 84% 74%, rgba(122,0,25,0.22), transparent 14%),
                radial-gradient(circle at 68% 18%, rgba(255,203,5,0.18), transparent 12%);
            filter: blur(1px);
        }

        .galatasaray-egg-overlay.is-leaving {
            animation: gsOverlayOut 0.55s ease-in both;
        }

        .gs-show-card {
            position: relative;
            z-index: 3;
            width: min(720px, calc(100vw - 36px));
            min-height: min(620px, calc(100vh - 54px));
            display: grid;
            align-content: center;
            justify-items: center;
            gap: 14px;
            padding: 38px 34px;
            border: 1px solid rgba(255,255,255,0.62);
            border-radius: 34px;
            background:
                linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.68)),
                radial-gradient(circle at 50% 5%, rgba(255,203,5,0.22), transparent 34%);
            box-shadow:
                0 42px 110px rgba(60, 0, 13, 0.42),
                inset 0 1px 0 rgba(255,255,255,0.88);
            text-align: center;
            overflow: hidden;
            animation: gsCardRise 0.7s cubic-bezier(.2,.9,.22,1) both;
        }

        .gs-show-card::before {
            content: "";
            position: absolute;
            inset: 18px;
            border-radius: 26px;
            border: 1px solid rgba(122, 0, 25, 0.12);
            pointer-events: none;
        }

        .gs-year-pill {
            position: absolute;
            top: 22px;
            left: 24px;
            padding: 9px 14px;
            border-radius: 999px;
            background: rgba(122, 0, 25, 0.94);
            color: #ffcb05;
            font-size: 13px;
            font-weight: 950;
            letter-spacing: 1px;
            box-shadow: 0 12px 26px rgba(122,0,25,0.26);
        }

        .gs-logo-stage {
            position: relative;
            width: min(250px, 48vw);
            aspect-ratio: 1 / 1.18;
            display: grid;
            place-items: center;
            margin-top: 10px;
            animation: gsLogoFloat 2.2s ease-in-out infinite;
        }

        .gs-logo-stage::before {
            content: "";
            position: absolute;
            width: 112%;
            aspect-ratio: 1;
            border-radius: 999px;
            background: radial-gradient(circle, rgba(255,203,5,0.52), rgba(164,0,30,0.18) 42%, transparent 68%);
            filter: blur(8px);
            animation: gsPulse 1.7s ease-in-out infinite;
        }

        .gs-logo-stage img {
            position: relative;
            z-index: 1;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 24px 34px rgba(60,0,13,0.35));
        }

        .gs-logo-fallback {
            position: relative;
            z-index: 1;
            display: none;
            width: 178px;
            height: 178px;
            place-items: center;
            border-radius: 999px;
            background: linear-gradient(135deg, #a4001e 0 50%, #ffcb05 50% 100%);
            color: #fff;
            font-size: 58px;
            font-weight: 950;
            text-shadow: 0 3px 0 rgba(0,0,0,0.22);
            box-shadow: 0 26px 48px rgba(60,0,13,0.34);
        }

        .gs-stars {
            display: flex;
            gap: 9px;
            color: #f7b500;
            font-size: 24px;
            text-shadow: 0 8px 18px rgba(122,0,25,0.24);
        }

        .gs-stars span {
            display: inline-flex;
            animation: gsStarPop 1.2s ease-in-out infinite;
        }

        .gs-stars span:nth-child(2) { animation-delay: 0.08s; }
        .gs-stars span:nth-child(3) { animation-delay: 0.16s; }
        .gs-stars span:nth-child(4) { animation-delay: 0.24s; }
        .gs-stars span:nth-child(5) { animation-delay: 0.32s; }

        .gs-show-card h2 {
            margin: 2px 0 0;
            color: #7a0019;
            font-size: clamp(34px, 5vw, 58px);
            line-height: 0.96;
            font-weight: 950;
            letter-spacing: 0;
            text-wrap: balance;
        }

        .gs-show-card p {
            max-width: 510px;
            margin: 0;
            color: #5a1222;
            font-size: 15px;
            line-height: 1.45;
            font-weight: 850;
        }

        .gs-slogan-track {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 8px;
        }

        .gs-slogan-track span {
            padding: 10px 14px;
            border-radius: 999px;
            background: rgba(122, 0, 25, 0.1);
            border: 1px solid rgba(122, 0, 25, 0.14);
            color: #7a0019;
            font-size: 12px;
            font-weight: 950;
            animation: gsSloganPulse 2.4s ease-in-out infinite;
        }

        .gs-slogan-track span:nth-child(2) {
            background: rgba(255, 203, 5, 0.22);
            animation-delay: 0.18s;
        }

        .gs-slogan-track span:nth-child(3) {
            animation-delay: 0.36s;
        }

        .gs-confetti {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 2;
        }

        .gs-confetti i {
            position: absolute;
            top: -12vh;
            left: calc(var(--x) * 1%);
            width: 9px;
            height: 18px;
            border-radius: 3px;
            background: #ffcb05;
            animation: gsConfettiFall var(--duration) linear var(--delay) infinite;
        }

        .gs-confetti i:nth-child(2n) {
            background: #a4001e;
        }

        .gs-confetti i:nth-child(3n) {
            width: 7px;
            height: 7px;
            border-radius: 999px;
            background: #ffffff;
        }

        .gs-light-ring {
            position: absolute;
            z-index: 1;
            width: min(780px, 92vw);
            aspect-ratio: 1;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,0.24);
            box-shadow:
                0 0 0 22px rgba(255,255,255,0.04),
                0 0 90px rgba(255,203,5,0.36);
            animation: gsRingSpin 7s linear infinite;
        }

        @keyframes gsOverlayIn {
            from { opacity: 0; transform: scale(1.015); }
            to { opacity: 1; transform: scale(1); }
        }

        @keyframes gsOverlayOut {
            to { opacity: 0; transform: scale(1.02); }
        }

        @keyframes gsCardRise {
            from { opacity: 0; transform: translateY(34px) scale(0.96); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }

        @keyframes gsLightSweep {
            from { transform: translateX(-18%) rotate(0deg); }
            to { transform: translateX(18%) rotate(4deg); }
        }

        @keyframes gsLogoFloat {
            0%, 100% { transform: translateY(0) rotate(-1deg); }
            50% { transform: translateY(-10px) rotate(1deg); }
        }

        @keyframes gsPulse {
            0%, 100% { transform: scale(0.94); opacity: 0.68; }
            50% { transform: scale(1.08); opacity: 1; }
        }

        @keyframes gsStarPop {
            0%, 100% { transform: translateY(0) scale(1); }
            50% { transform: translateY(-4px) scale(1.14); }
        }

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

        @keyframes gsConfettiFall {
            from { transform: translate3d(0, -12vh, 0) rotate(0deg); opacity: 0; }
            12% { opacity: 1; }
            to { transform: translate3d(var(--drift), 118vh, 0) rotate(calc(var(--spin) * 720deg)); opacity: 0.92; }
        }

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

        @media (max-width: 760px) {
            .gs-show-card {
                min-height: min(600px, calc(100vh - 34px));
                padding: 30px 22px;
                border-radius: 28px;
            }

            .gs-logo-stage {
                width: min(210px, 54vw);
            }

            .gs-slogan-track span {
                font-size: 11px;
                padding: 9px 12px;
            }
        }

        @media (max-width: 760px) {
            #kontrat-modal .modal-content-card {
                max-width: 96vw;
                min-height: 82vh;
                padding: 34px 18px 32px;
            }

            #kontrat-modal #kontrat-suggestions {
                max-height: 48vh;
            }
        }

/* Ferdi Kaza — sabit iki yaş bandı (mavi / kırmızı) */
.ferdi-two-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.ferdi-two-dot-blue {
    background: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.28);
}
.ferdi-two-dot-red {
    background: #ef4444;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.28);
}
.ferdi-two-band-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}
.ferdi-two-band-line:last-child {
    margin-bottom: 0;
}
.ferdi-two-band-val {
    flex: 1;
    min-width: 0;
    font-weight: 700;
    font-size: 14px;
}
.ferdi-two-editor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 12px;
}
.ferdi-two-editor-card {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.55);
}

/* Kullanım dökümü */
.profile-card-ui.usage-expanded {
    max-width: min(1480px, 96vw);
}

.profile-usage-section {
    margin-bottom: 28px;
}

.assistline-profile-tour-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(240, 249, 255, 0.70));
    box-shadow:
        0 18px 42px rgba(14, 165, 233, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.assistline-profile-tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 14%, rgba(255, 255, 255, 0.46) 42%, transparent 64%);
    opacity: 0.78;
    transform: translateX(-60%);
    animation: signatureSurfaceSweep 9s ease-in-out infinite;
}

.assistline-profile-tour-card > * {
    position: relative;
    z-index: 1;
}

.assistline-profile-tour-mark {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.92), transparent 26%),
        linear-gradient(135deg, #14b8a6, #0284c7);
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.24);
}

.assistline-profile-tour-mark span {
    grid-area: 1 / 1;
    width: 26px;
    height: 26px;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 10px;
    transform: rotate(8deg);
}

.assistline-profile-tour-mark span:nth-child(2) {
    width: 18px;
    height: 18px;
    border-color: rgba(255, 255, 255, 0.52);
    transform: rotate(-18deg) translate(8px, -5px);
}

.assistline-profile-tour-mark span:nth-child(3) {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    transform: translate(-10px, 10px);
}

.assistline-profile-tour-copy {
    min-width: 0;
}

.assistline-profile-tour-copy span {
    display: block;
    margin-bottom: 4px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.assistline-profile-tour-copy h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
}

.assistline-profile-tour-copy p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.45;
}

.assistline-profile-tour-card button {
    min-height: 42px;
    border: 0;
    border-radius: 14px;
    padding: 0 18px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #0284c7);
    box-shadow: 0 14px 28px rgba(14, 116, 144, 0.24);
    font-size: 13px;
    font-weight: 950;
    white-space: nowrap;
}

.assistline-profile-tour-card button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(14, 116, 144, 0.28);
}

.profile-usage-head,
.usage-admin-head,
.usage-detail-toolbar,
.usage-panel-head,
.usage-user-select-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.profile-usage-head span,
.usage-kicker,
.usage-user-select-head span {
    display: block;
    color: #0ea5e9;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.profile-usage-head h3,
.usage-admin-head h3,
.usage-detail-toolbar h3 {
    margin: 4px 0 0;
    font-size: 22px;
    font-weight: 950;
    color: #0f172a;
}

.profile-usage-expand-btn,
.usage-detail-actions button,
.usage-admin-actions .sys-btn {
    border: 1px solid rgba(14, 165, 233, 0.24);
    border-radius: 12px;
    padding: 11px 14px;
    color: #0284c7;
    background: rgba(255, 255, 255, 0.74);
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.12);
}

.profile-usage-summary-grid,
.usage-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.profile-usage-card,
.usage-kpi-card,
.usage-panel,
.usage-user-select,
.usage-date-filter {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72)),
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 32%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.profile-usage-card,
.usage-kpi-card {
    min-height: 126px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.profile-usage-card.clickable,
.usage-kpi-card.clickable,
.usage-rank-row.clickable,
.usage-bar-item.clickable {
    cursor: pointer;
}

.profile-usage-card.clickable:hover,
.usage-kpi-card.clickable:hover,
.usage-rank-row.clickable:hover {
    border-color: rgba(14, 165, 233, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 20px 48px rgba(14, 165, 233, 0.13);
}

.profile-usage-card::before,
.usage-kpi-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: #0ea5e9;
}

.profile-usage-card.green::before,
.usage-kpi-card.green::before { background: #10b981; }
.profile-usage-card.orange::before,
.usage-kpi-card.orange::before { background: #f59e0b; }
.profile-usage-card.blue::before,
.usage-kpi-card.blue::before { background: #0ea5e9; }
.profile-usage-card.violet::before,
.usage-kpi-card.violet::before { background: #8b5cf6; }
.usage-kpi-card.red::before { background: #ef4444; }

.profile-usage-card span,
.usage-kpi-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-usage-card strong,
.usage-kpi-card strong {
    color: #0f172a;
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.12;
    font-weight: 950;
    word-break: break-word;
}

.profile-usage-card small,
.usage-kpi-card small {
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.profile-usage-card small[onclick] {
    color: #0ea5e9;
    cursor: pointer;
}

.profile-usage-detail {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(226, 232, 240, 0.82);
}

.profile-usage-detail.active {
    display: block;
}

.usage-detail-toolbar p,
.usage-admin-head p,
.usage-panel-head span {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.usage-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.usage-analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.usage-analytics-grid.admin {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.usage-panel {
    padding: 18px;
    min-height: 230px;
}

.usage-panel-wide {
    grid-column: span 2;
}

.usage-analytics-grid.admin .usage-panel-wide {
    grid-column: span 2;
}

.usage-panel-head h4 {
    margin: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.usage-bars {
    height: 170px;
    display: flex;
    align-items: end;
    gap: 9px;
    margin-top: 20px;
    padding-top: 10px;
}

.usage-bar-item {
    flex: 1;
    min-width: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.usage-bar-item:hover span {
    filter: brightness(1.05);
    box-shadow: 0 14px 30px rgba(239, 68, 68, 0.28);
}

.usage-bar-item span {
    width: 100%;
    min-height: 8px;
    border-radius: 10px 10px 4px 4px;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    box-shadow: 0 12px 24px rgba(239, 68, 68, 0.18);
}

.usage-bar-item b {
    color: #0f172a;
    font-size: 11px;
    font-weight: 950;
}

.usage-bar-item small {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}

.usage-rank-list,
.usage-log-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.usage-rank-row {
    display: grid;
    gap: 8px;
}

.usage-rank-top {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    color: #0f172a;
}

.usage-rank-top > span {
    width: 24px;
    height: 24px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    background: rgba(14, 165, 233, 0.12);
    font-size: 11px;
    font-weight: 950;
}

.usage-rank-top strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 950;
}

.usage-rank-top b {
    font-size: 12px;
    font-weight: 950;
    color: #0ea5e9;
}

.usage-rank-row i {
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(226, 232, 240, 0.9);
}

.usage-rank-row em {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #2563eb);
}

.usage-rank-user {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.usage-rank-user small {
    display: block;
    color: #64748b;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usage-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.2);
}

.usage-avatar.all {
    background: linear-gradient(135deg, #8b5cf6, #0ea5e9);
}

.usage-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.usage-log-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
}

.usage-log-row strong,
.usage-log-row span {
    display: block;
}

.usage-log-row strong {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
}

.usage-log-row span,
.usage-log-row time,
.usage-empty {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.usage-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(12px);
}

.usage-detail-modal.active {
    display: flex;
}

.usage-detail-dialog {
    position: relative;
    width: min(1040px, 96vw);
    max-height: min(760px, 88vh);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.82)),
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 34%);
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.28);
}

.usage-detail-close {
    position: absolute;
    right: 20px;
    top: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 14px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.82);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.usage-detail-modal-head {
    padding: 28px 78px 20px 28px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
}

.usage-detail-modal-head span {
    color: #0ea5e9;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.usage-detail-modal-head h3 {
    margin: 7px 0 6px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
}

.usage-detail-modal-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.usage-detail-list {
    max-height: calc(min(760px, 88vh) - 134px);
    overflow: auto;
    padding: 18px 28px 28px;
    display: grid;
    gap: 10px;
}

.usage-detail-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) 230px;
    align-items: center;
    gap: 14px;
    padding: 13px;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.64);
}

.usage-detail-row-time strong,
.usage-detail-row-time span,
.usage-detail-row-main strong,
.usage-detail-row-main span,
.usage-detail-row-user span,
.usage-detail-row-user small {
    display: block;
}

.usage-detail-row-time strong,
.usage-detail-row-main strong,
.usage-detail-row-user span {
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
}

.usage-detail-row-time span,
.usage-detail-row-main span,
.usage-detail-row-user small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.usage-detail-row-main {
    min-width: 0;
}

.usage-detail-row-main span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.usage-detail-row-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.usage-admin-card {
    display: grid;
    gap: 18px;
}

.usage-admin-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.8fr);
    gap: 16px;
}

.usage-user-select,
.usage-date-filter {
    padding: 16px;
}

.usage-user-select-head.compact {
    align-items: flex-start;
    margin-bottom: 10px;
}

.usage-user-select-head strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
}

.usage-user-select-head .admin-input {
    max-width: 260px;
    margin-bottom: 0;
}

.usage-user-picker {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 0 2px;
}

.usage-user-picker.compact {
    max-width: min(760px, 100%);
}

.usage-user-chip {
    min-width: 190px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.68);
    cursor: pointer;
    text-align: left;
}

.usage-user-chip.active {
    border-color: rgba(14, 165, 233, 0.55);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(37, 99, 235, 0.08));
    box-shadow: 0 12px 30px rgba(14, 165, 233, 0.12);
}

.usage-user-chip strong,
.usage-user-chip small {
    display: block;
}

.usage-user-chip strong {
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

.usage-user-chip small {
    max-width: 130px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-log .log-modern-user-filter {
    min-width: min(560px, 100%);
}

#tab-log .usage-user-picker.compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
    max-width: 100%;
    max-height: 260px;
    overflow: auto;
    padding: 8px;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.74);
}

#tab-log .usage-user-chip {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    border-radius: 14px;
}

#tab-log .usage-user-chip strong,
#tab-log .usage-user-chip small {
    max-width: 170px;
}

body.dark-theme #tab-log .usage-user-picker.compact {
    background: rgba(15, 23, 42, 0.62);
    border-color: rgba(148, 163, 184, 0.22);
}

body.dark-theme #tab-log .usage-user-chip {
    color: #f8fafc;
    background: rgba(30, 41, 59, 0.74);
    border-color: rgba(148, 163, 184, 0.24);
}

body.dark-theme #tab-log .usage-user-chip small {
    color: #94a3b8;
}

.usage-date-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.usage-date-filter label {
    display: grid;
    gap: 7px;
    color: #64748b;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.usage-table-wrap {
    margin-top: 14px;
    overflow-x: auto;
}

.usage-table-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

.usage-table-user strong,
.usage-table-user small {
    display: block;
}

.usage-table-user small {
    color: #64748b;
    font-size: 11px;
}

.log-modern-user-filter {
    min-width: 0;
    display: grid;
    gap: 8px;
}

body.dark-theme .profile-usage-card,
body.dark-theme .assistline-profile-tour-card,
body.dark-theme .usage-kpi-card,
body.dark-theme .usage-panel,
body.dark-theme .usage-user-select,
body.dark-theme .usage-date-filter,
body.dark-theme .usage-user-chip,
body.dark-theme .usage-log-row,
body.dark-theme .usage-detail-dialog,
body.dark-theme .usage-detail-row {
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(71, 85, 105, 0.72);
}

body.dark-theme .assistline-profile-tour-card {
    background:
        radial-gradient(circle at 12% 18%, rgba(20, 184, 166, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.82), rgba(30, 41, 59, 0.72));
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.32);
}

body.dark-theme .profile-usage-card strong,
body.dark-theme .assistline-profile-tour-copy h3,
body.dark-theme .usage-kpi-card strong,
body.dark-theme .usage-panel-head h4,
body.dark-theme .usage-rank-top,
body.dark-theme .usage-log-row strong,
body.dark-theme .usage-user-select-head strong,
body.dark-theme .usage-user-chip,
body.dark-theme .usage-table-user strong,
body.dark-theme .usage-detail-modal-head h3,
body.dark-theme .usage-detail-row-time strong,
body.dark-theme .usage-detail-row-main strong,
body.dark-theme .usage-detail-row-user span {
    color: #f8fafc;
}

body.dark-theme .assistline-profile-tour-copy p {
    color: #cbd5e1;
}

body.dark-theme .usage-rank-row i {
    background: rgba(51, 65, 85, 0.9);
}

@media (max-width: 1100px) {
    .profile-usage-summary-grid,
    .usage-kpi-row,
    .usage-analytics-grid.admin,
    .usage-admin-toolbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .profile-head-row,
    .profile-usage-head,
    .usage-admin-head,
    .usage-detail-toolbar,
    .usage-user-select-head,
    .usage-admin-toolbar,
    .usage-date-filter,
    .profile-usage-summary-grid,
    .usage-kpi-row,
    .usage-analytics-grid,
    .usage-analytics-grid.admin {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .usage-panel-wide,
    .usage-analytics-grid.admin .usage-panel-wide {
        grid-column: span 1;
    }

    .usage-detail-modal {
        padding: 12px;
    }

    .usage-detail-modal-head {
        padding: 24px 66px 16px 18px;
    }

    .usage-detail-list {
        padding: 14px 18px 20px;
    }

    .usage-detail-row {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }
}

/* Mobil uyumluluk katmanı: masaüstü düzeni korur, sadece dar ekranlarda devreye girer. */
@media (max-width: 820px), (max-width: 950px) and (orientation: landscape) and (max-height: 520px) {
    html,
    body {
        width: 100%;
        min-height: 100dvh;
        height: auto;
        overflow-x: hidden;
    }

    body:not(.admin-panel-open) {
        align-items: flex-start;
        justify-content: center;
        padding: max(14px, env(safe-area-inset-top)) 0 calc(126px + env(safe-area-inset-bottom));
    }

    #auth-overlay {
        padding: 16px;
    }

    #auth-overlay .glass-card,
    #main-card.glass-card {
        width: min(92vw, 440px) !important;
        max-width: 440px !important;
        padding: 34px 22px !important;
        border-radius: 28px !important;
        margin: 64px auto 120px !important;
    }

    #main-card .logo-box img,
    #auth-overlay .logo-box img {
        max-width: 178px;
        margin-bottom: 18px;
    }

    input.main-inp,
    button.sorgula-btn {
        min-height: 56px;
        padding: 16px 18px;
        border-radius: 16px;
        font-size: 15px;
    }

    .display-box {
        padding: 18px;
        font-size: 16px;
    }

    .nav-container {
        top: auto !important;
        left: 10px !important;
        right: 10px !important;
        bottom: calc(72px + env(safe-area-inset-bottom)) !important;
        width: auto;
        max-width: none;
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        padding: 9px;
        overflow-x: auto;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.78);
        border: 1px solid rgba(255, 255, 255, 0.86);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        scrollbar-width: none;
    }

    .nav-container::-webkit-scrollbar {
        display: none;
    }

    body.dark-theme .nav-container {
        background: rgba(15, 23, 42, 0.88);
        border-color: rgba(71, 85, 105, 0.72);
    }

    .nav-container .sys-btn,
    .nav-container .kontrat-btn-wrapper,
    .nav-container .operation-portal-actions {
        width: auto;
        min-width: 138px;
        flex: 0 0 auto;
    }

    .nav-container .operation-portal-actions {
        flex-direction: row;
    }

    .nav-container .operation-portal-btn {
        min-width: 160px;
    }

    .nav-container .sys-btn {
        padding: 11px 13px;
        border-radius: 14px;
        font-size: 10px;
        letter-spacing: 0.8px;
    }

    .highlight-btn {
        transform: none;
        padding: 11px 14px;
    }

    .nav-container .sys-btn:hover,
    .nav-container .sys-btn:focus-visible {
        transform: scale(1.2) translateY(-4px) !important;
    }

    .theme-btn-container {
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        transform: scale(0.78);
        transform-origin: bottom right;
    }

    #admin-trigger {
        left: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        width: 46px;
        height: 46px;
    }

    .custom-modal {
        align-items: flex-start;
        overflow-y: auto;
        padding: 10px;
    }

    .modal-content-card,
    .profile-card-ui,
    #kontrat-modal .modal-content-card {
        width: 100% !important;
        max-width: none !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 24px 16px !important;
        border-radius: 22px !important;
        margin: 10px auto !important;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .profile-head-row,
    .profile-usage-head,
    .profile-usage-summary-grid,
    .usage-analytics-grid,
    .usage-analytics-grid.admin,
    .usage-admin-toolbar,
    .usage-date-filter {
        grid-template-columns: 1fr !important;
        flex-direction: column;
        align-items: stretch;
    }

    .profile-head-row {
        text-align: center;
    }

    .profile-head-row > div:last-child {
        text-align: center !important;
    }

    .profile-head-row > div:last-child > div {
        flex-wrap: wrap;
        justify-content: center;
    }

    .profile-photo-wrap {
        width: 96px;
        height: 96px;
    }

    .followup-modal-card {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: calc(100dvh - 20px) !important;
    }

    .followup-head,
    .admin-followup-searchbar,
    .followup-layout,
    .admin-followup-page .followup-layout,
    .followup-quick-stats,
    .followup-meta-grid {
        grid-template-columns: 1fr !important;
        flex-direction: column;
    }

    .followup-head {
        padding: 22px 64px 18px 18px;
    }

    .followup-sidebar,
    .followup-detail-panel {
        min-height: auto;
    }

    #admin-panel.active {
        flex-direction: column;
        overflow: hidden;
    }

    .admin-sidebar {
        width: 100% !important;
        height: auto !important;
        max-height: 168px;
        overflow: auto;
        border-right: none;
        border-bottom: 1px solid rgba(51, 65, 85, 0.5);
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        padding: 12px;
    }

    .admin-tab-btn {
        min-width: 148px;
        white-space: nowrap;
        padding: 11px 13px;
        font-size: 11px;
    }

    .admin-topbar {
        height: auto !important;
        min-height: 64px;
        padding: 12px 14px !important;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .admin-topbar-left,
    .admin-topbar-right {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .admin-content {
        height: calc(100dvh - 232px);
        padding: 14px !important;
        overflow: auto;
    }

    .admin-card {
        padding: 16px;
        border-radius: 18px;
    }

    .admin-table-container,
    .usage-table-wrap {
        max-width: 100%;
        overflow: auto;
    }

    .usage-admin-head {
        grid-template-columns: 1fr !important;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 520px) {
    #auth-overlay .glass-card,
    #main-card.glass-card {
        width: calc(100vw - 24px) !important;
        padding: 28px 18px !important;
        margin-top: 50px !important;
    }

    .footer-elite {
        font-size: 9.5px;
    }

    .profile-usage-card strong,
    .usage-kpi-card strong {
        font-size: 22px;
    }

    .admin-content {
        height: calc(100dvh - 250px);
    }
}

/* Aktivite Kaydı - yönetici görünümü */
.activity-admin-card {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(37, 99, 235, 0.035)),
        #ffffff;
}

body.dark-theme .activity-admin-card {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(37, 99, 235, 0.09)),
        #1e293b;
}

.activity-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.activity-admin-kicker {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-admin-head h3 {
    margin: 0 0 8px;
    border: 0;
    padding: 0;
    font-size: 22px;
    font-weight: 950;
}

.activity-admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.activity-danger-btn {
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #dc2626 !important;
    background: rgba(239, 68, 68, 0.07) !important;
}

.activity-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.activity-kpi-card {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    overflow: hidden;
}

body.dark-theme .activity-kpi-card {
    background: rgba(15, 23, 42, 0.58);
    border-color: rgba(148, 163, 184, 0.2);
}

.activity-kpi-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #2563eb;
}

.activity-kpi-card.green::before { background: #10b981; }
.activity-kpi-card.danger::before { background: #ef4444; }
.activity-kpi-card.violet::before { background: #8b5cf6; }

.activity-kpi-card span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.activity-kpi-card strong {
    display: block;
    margin: 8px 0 5px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 950;
}

body.dark-theme .activity-kpi-card strong {
    color: #f8fafc;
}

.activity-kpi-card small {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.activity-log-row td {
    vertical-align: middle;
}

.activity-time-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 10px;
    border-radius: 10px;
    color: #334155;
    background: rgba(148, 163, 184, 0.12);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    font-weight: 850;
}

body.dark-theme .activity-time-pill {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.14);
}

.activity-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.activity-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    font-size: 11px;
    font-weight: 950;
    flex: 0 0 auto;
}

.activity-user-cell strong,
.activity-user-cell small,
.activity-detail-cell span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-user-cell strong {
    max-width: 180px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

body.dark-theme .activity-user-cell strong {
    color: #f8fafc;
}

.activity-user-cell small {
    max-width: 180px;
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
}

.activity-state-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.activity-state-pill.green { color: #047857; background: rgba(16, 185, 129, 0.11); }
.activity-state-pill.danger { color: #dc2626; background: rgba(239, 68, 68, 0.11); }
.activity-state-pill.blue { color: #0369a1; background: rgba(14, 165, 233, 0.11); }
.activity-state-pill.violet { color: #7c3aed; background: rgba(124, 58, 237, 0.11); }
.activity-state-pill.amber { color: #b45309; background: rgba(245, 158, 11, 0.12); }
.activity-state-pill.indigo { color: #4f46e5; background: rgba(99, 102, 241, 0.11); }
.activity-state-pill.cyan { color: #0e7490; background: rgba(6, 182, 212, 0.12); }
.activity-state-pill.purple { color: #7e22ce; background: rgba(168, 85, 247, 0.12); }
.activity-state-pill.rose { color: #be123c; background: rgba(244, 63, 94, 0.12); }

.activity-action-label {
    display: block;
    margin-top: 6px;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.activity-detail-cell {
    color: #475569;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.5;
}

body.dark-theme .activity-detail-cell {
    color: #cbd5e1;
}

.activity-table-note {
    padding: 24px !important;
    text-align: center;
    color: #64748b !important;
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 980px) {
    .activity-admin-head,
    .activity-admin-actions {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }

    .activity-kpi-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .activity-kpi-row {
        grid-template-columns: 1fr;
    }
}

/* Araç Yönetimi - profesyonel filtre ve toplu işlem ekranı */
.vehicle-admin-card {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 233, 0.03)),
        #ffffff;
}

body.dark-theme .vehicle-admin-card {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.07)),
        #1e293b;
}

.vehicle-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.vehicle-admin-kicker {
    display: block;
    margin-bottom: 7px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vehicle-admin-head h3 {
    margin: 0 0 8px;
    border: 0;
    padding: 0;
    font-size: 22px;
    font-weight: 950;
}

.vehicle-admin-actions,
.vehicle-bulk-actions,
.vehicle-row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.vehicle-filter-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
    gap: 14px;
    align-items: end;
    margin-bottom: 16px;
}

.vehicle-filter-grid label,
.vehicle-bulk-edit label,
.vehicle-bulk-add {
    color: #64748b;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.vehicle-filter-grid span,
.vehicle-bulk-edit span,
.vehicle-bulk-add > span {
    display: block;
    margin-bottom: 7px;
}

.vehicle-filter-grid .admin-input,
.vehicle-filter-grid .admin-select,
.vehicle-bulk-panel .admin-input {
    margin-bottom: 0;
}

.vehicle-bulk-panel {
    display: grid;
    gap: 14px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.78);
}

body.dark-theme .vehicle-bulk-panel {
    background: rgba(15, 23, 42, 0.52);
    border-color: rgba(148, 163, 184, 0.2);
}

.vehicle-bulk-status {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    color: #64748b;
    font-size: 12px;
    font-weight: 850;
}

.vehicle-bulk-status strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

body.dark-theme .vehicle-bulk-status strong {
    color: #f8fafc;
}

.vehicle-bulk-edit {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.vehicle-bulk-add {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.vehicle-bulk-add > span {
    grid-column: 1 / -1;
}

.vehicle-bulk-textarea {
    min-height: 110px;
    resize: vertical;
    text-transform: uppercase;
}

body.dark-theme .vehicle-bulk-textarea {
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.86);
    border-color: rgba(148, 163, 184, 0.3);
}

body.dark-theme .vehicle-bulk-textarea::placeholder {
    color: #94a3b8;
}

.vehicle-danger-btn {
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #dc2626 !important;
    background: rgba(239, 68, 68, 0.07) !important;
}

.vehicle-table-wrap {
    max-height: calc(100vh - 440px);
}

.vehicle-admin-table td:first-child,
.vehicle-admin-table th:first-child {
    text-align: center;
}

.vehicle-row-check {
    width: 17px;
    height: 17px;
    accent-color: #2563eb;
}

.vehicle-model-name,
.vehicle-admin-table small {
    display: block;
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vehicle-model-name {
    color: #0f172a;
    font-weight: 950;
}

body.dark-theme .vehicle-model-name {
    color: #f8fafc;
}

.vehicle-admin-table small {
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
}

.vehicle-brand-pill,
.vehicle-class-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
}

.vehicle-brand-pill {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.1);
}

.vehicle-class-pill {
    color: #475569;
    background: rgba(148, 163, 184, 0.13);
}

.vehicle-class-pill.cat-binek { color: #0369a1; background: rgba(14, 165, 233, 0.11); }
.vehicle-class-pill.cat-hafif { color: #047857; background: rgba(16, 185, 129, 0.11); }
.vehicle-class-pill.cat-agir,
.vehicle-class-pill.cat-mini { color: #9a3412; background: rgba(249, 115, 22, 0.12); }
.vehicle-class-pill.cat-uzun,
.vehicle-class-pill.cat-extra { color: #6d28d9; background: rgba(124, 58, 237, 0.11); }

.vehicle-empty-state {
    padding: 32px;
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 980px) {
    .vehicle-admin-head,
    .vehicle-bulk-status,
    .vehicle-admin-actions,
    .vehicle-bulk-actions {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
    }

    .vehicle-filter-grid,
    .vehicle-bulk-edit,
    .vehicle-bulk-add {
        grid-template-columns: 1fr;
    }
}

/* Araç Yönetimi - Assistline vision refresh */
.vehicle-admin-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.28) !important;
    border-radius: 28px !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.18), transparent 34%),
        radial-gradient(circle at 100% 12%, rgba(16, 185, 129, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.07), rgba(248, 250, 252, 0.9) 38%, rgba(14, 165, 233, 0.06)),
        #ffffff !important;
}

.vehicle-admin-card::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.24), transparent 66%);
    pointer-events: none;
}

body.dark-theme .vehicle-admin-card {
    border-color: rgba(56, 189, 248, 0.24) !important;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 10% 0%, rgba(14, 165, 233, 0.18), transparent 34%),
        radial-gradient(circle at 100% 12%, rgba(16, 185, 129, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.86) 54%, rgba(30, 41, 59, 0.94)),
        #0f172a !important;
}

.vehicle-admin-head {
    position: relative;
    padding: 24px !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% 0%, rgba(125, 211, 252, 0.22), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #155e75 100%);
    box-shadow: 0 18px 44px rgba(30, 64, 175, 0.22);
    color: #ffffff;
}

body.dark-theme .vehicle-admin-head {
    border-color: rgba(125, 211, 252, 0.18) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

.vehicle-admin-kicker {
    color: #67e8f9 !important;
}

.vehicle-admin-head h3 {
    color: #ffffff !important;
    font-size: 24px !important;
}

.vehicle-admin-head .desc {
    color: rgba(255, 255, 255, 0.76) !important;
}

.vehicle-admin-actions .export-btn,
.vehicle-admin-actions .btn-add {
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.vehicle-admin-actions .btn-add {
    background: linear-gradient(135deg, #10b981, #06b6d4) !important;
    border-color: transparent !important;
}

.vehicle-filter-grid {
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.dark-theme .vehicle-filter-grid {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(148, 163, 184, 0.18);
}

.vehicle-filter-grid .admin-input,
.vehicle-filter-grid .admin-select,
.vehicle-bulk-panel .admin-input {
    border-radius: 14px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.vehicle-filter-grid .admin-input:focus,
.vehicle-filter-grid .admin-select:focus,
.vehicle-bulk-panel .admin-input:focus {
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.vehicle-bulk-panel {
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(239, 246, 255, 0.68)),
        rgba(248, 250, 252, 0.86) !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.dark-theme .vehicle-bulk-panel {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.56)),
        rgba(15, 23, 42, 0.72) !important;
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.vehicle-bulk-status strong {
    font-size: 16px;
}

.vehicle-bulk-add {
    grid-template-columns: minmax(280px, 1fr) minmax(150px, auto);
}

.vehicle-bulk-textarea {
    min-height: 128px;
    padding: 16px 18px !important;
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.82) !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
    border-radius: 18px !important;
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 750;
    line-height: 1.55;
    letter-spacing: 0;
    text-transform: none !important;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.vehicle-bulk-textarea::placeholder {
    color: #718096;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 650;
    letter-spacing: 0;
}

body.dark-theme .vehicle-bulk-textarea {
    color: #f8fafc !important;
    background: rgba(15, 23, 42, 0.86) !important;
    border-color: rgba(148, 163, 184, 0.3) !important;
}

body.dark-theme .vehicle-bulk-textarea::placeholder {
    color: #94a3b8;
}

.vehicle-table-wrap {
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    overflow: auto;
}

body.dark-theme .vehicle-table-wrap {
    background: rgba(15, 23, 42, 0.52);
    border-color: rgba(148, 163, 184, 0.18);
}

.vehicle-admin-table {
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.vehicle-row-check {
    width: 19px;
    height: 19px;
    cursor: pointer;
}

.vehicle-brand-pill {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(14, 165, 233, 0.1));
}

.vehicle-admin-row {
    transition: background 0.16s, box-shadow 0.16s, transform 0.16s;
}

.vehicle-admin-row:hover td {
    background: rgba(14, 165, 233, 0.045) !important;
}

.vehicle-admin-row.selected td {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(14, 165, 233, 0.08)) !important;
}

body.dark-theme .vehicle-admin-row:hover td {
    background: rgba(14, 165, 233, 0.08) !important;
}

body.dark-theme .vehicle-admin-row.selected td {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.1)) !important;
}

@media (max-width: 980px) {
    .vehicle-admin-head {
        padding: 20px !important;
    }

    .vehicle-bulk-add {
        grid-template-columns: 1fr;
    }
}

/* KVKK Yönetim Merkezi */
.kvkk-admin-card {
    padding: 0 !important;
    overflow: hidden;
}

.kvkk-admin-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.04), rgba(14, 165, 233, 0.06));
}

.kvkk-admin-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    color: #0ea5e9;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kvkk-admin-head h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.kvkk-admin-head .desc {
    max-width: 720px;
    margin: 0;
    line-height: 1.55;
}

.kvkk-admin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.kvkk-admin-actions .export-btn,
.kvkk-admin-actions .btn-add {
    text-decoration: none;
    white-space: nowrap;
}

.kvkk-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 24px 0;
}

.kvkk-admin-grid.wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kvkk-admin-grid label,
.kvkk-admin-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kvkk-admin-grid span,
.kvkk-admin-block span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kvkk-admin-block {
    padding: 18px 24px 0;
}

.kvkk-admin-textarea,
.kvkk-admin-code {
    min-height: auto;
    text-align: left !important;
    resize: vertical;
    line-height: 1.5;
}

.kvkk-admin-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px !important;
}

.kvkk-admin-status {
    margin: 22px 24px 24px;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 14px;
    background: rgba(248, 250, 252, 0.9);
    color: #475569;
    font-weight: 800;
}

.kvkk-admin-status[data-tone="ok"] {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.kvkk-admin-status[data-tone="error"] {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

body.dark-theme .kvkk-admin-head {
    border-bottom-color: rgba(148, 163, 184, 0.22);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(14, 165, 233, 0.08));
}

body.dark-theme .kvkk-admin-grid span,
body.dark-theme .kvkk-admin-block span {
    color: #94a3b8;
}

body.dark-theme .kvkk-admin-status {
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
}

@media (max-width: 980px) {
    .kvkk-admin-head {
        flex-direction: column;
    }

    .kvkk-admin-actions {
        justify-content: flex-start;
    }

    .kvkk-admin-grid,
    .kvkk-admin-grid.wide {
        grid-template-columns: 1fr;
    }
}

/* Yönetici paneli son entegrasyon iyileştirmeleri */
html.theme-fast-switch *,
html.theme-fast-switch *::before,
html.theme-fast-switch *::after {
    transition-duration: 90ms !important;
}

.daily-report-admin-shell,
.operation-center-admin-shell {
    min-height: calc(100vh - 120px);
    padding: 18px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 26px;
    background:
        radial-gradient(circle at 8% 0%, rgba(14, 165, 233, 0.12), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(241,245,249,0.72));
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.1);
}

.daily-report-admin-head,
.operation-center-admin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.daily-report-admin-head h3,
.operation-center-admin-head h3 {
    margin: 6px 0 8px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 950;
}

.daily-report-admin-head .desc,
.operation-center-admin-head .desc {
    max-width: 760px;
    margin: 0;
    line-height: 1.55;
}

.daily-report-kicker,
.operation-center-kicker {
    display: block;
    color: #0284c7;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.daily-report-admin-actions,
.operation-center-admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.daily-report-launch-panel {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 252, 245, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 18px 54px rgba(15, 23, 42, 0.08);
}

.daily-report-launch-panel h4 {
    margin: 8px 0 10px;
    color: #0f172a;
    font-size: 28px;
    font-weight: 950;
}

.daily-report-launch-panel p {
    max-width: 700px;
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

#operation-center-admin-status {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid rgba(14, 165, 233, 0.18);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    color: #0369a1;
    font-size: 12px;
    font-weight: 850;
}

.daily-report-access-denied,
.operation-center-access-denied {
    min-height: 360px;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.daily-report-denied-card,
.operation-center-denied-card {
    width: min(460px, 100%);
    padding: 28px;
    border: 1px solid rgba(248, 113, 113, 0.24);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fff7f7);
    text-align: center;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.daily-report-denied-icon,
.operation-center-denied-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 18px;
    background: rgba(248, 113, 113, 0.12);
    font-size: 26px;
}

.daily-report-denied-card h4,
.operation-center-denied-card h4 {
    margin: 0 0 10px;
    color: #991b1b;
    font-size: 20px;
}

.daily-report-denied-card p,
.operation-center-denied-card p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .daily-report-admin-head,
    .operation-center-admin-head {
        display: block;
    }

    .daily-report-admin-actions,
    .operation-center-admin-actions {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .daily-report-launch-panel {
        display: grid;
        min-height: 320px;
        padding: 24px;
    }
}
/* Araç Yönetimi - tek odaklı toplu ekleme alanı */
.vehicle-bulk-panel {
    grid-template-columns: 1fr;
}

.vehicle-bulk-add {
    position: relative;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 18px !important;
    border: 1px solid rgba(14, 165, 233, 0.24);
    border-radius: 22px;
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.74));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 18px 44px rgba(15, 23, 42, 0.07);
    color: #64748b;
    text-transform: none !important;
}

.vehicle-bulk-add::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #10b981;
    box-shadow: 0 0 0 7px rgba(16, 185, 129, 0.12);
}

.vehicle-bulk-add-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-right: 34px;
}

.vehicle-bulk-add-head span {
    display: block;
    margin-bottom: 6px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vehicle-bulk-add-head strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -0.01em;
}

.vehicle-bulk-add-head small,
.vehicle-bulk-add-side small {
    display: block;
    max-width: 720px;
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
    text-transform: none;
}

.vehicle-bulk-add-head em {
    flex: 0 0 auto;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: #0369a1;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

.vehicle-bulk-add-body {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(180px, auto);
    gap: 14px;
    align-items: stretch;
}

.vehicle-bulk-add-side {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
}

.vehicle-bulk-add-side .btn-add {
    min-height: 52px;
    padding: 14px 18px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #10b981, #06b6d4) !important;
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.24) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 950 !important;
}

.vehicle-bulk-add-side .btn-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(16, 185, 129, 0.3) !important;
}

.vehicle-bulk-textarea {
    min-height: 152px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.65 !important;
}

body.dark-theme .vehicle-bulk-add {
    border-color: rgba(56, 189, 248, 0.2);
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 44px rgba(0, 0, 0, 0.24);
}

body.dark-theme .vehicle-bulk-add-head strong {
    color: #f8fafc;
}

body.dark-theme .vehicle-bulk-add-head small,
body.dark-theme .vehicle-bulk-add-side small {
    color: #94a3b8;
}

body.dark-theme .vehicle-bulk-add-head em {
    background: rgba(56, 189, 248, 0.13);
    color: #7dd3fc;
}

@media (max-width: 980px) {
    .vehicle-bulk-add-head,
    .vehicle-bulk-add-body {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .vehicle-bulk-add-head em {
        width: fit-content;
    }
}

/* === ORTAK ADMIN MERKEZ STILLERI === */
.aac-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aac-hero {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(37, 99, 235, 0.06)), rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(14, 165, 233, 0.18);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.aac-kicker {
    display: block;
    margin-bottom: 6px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aac-hero h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 950;
}

.aac-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.aac-center-status {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.aac-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.28);
}

.aac-role-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.aac-role-badge strong {
    font-size: 12px;
    font-weight: 900;
    color: #0f172a;
}

.aac-role-badge small {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.aac-hero-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.aac-kpi {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.aac-kpi span {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.aac-kpi strong {
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
    line-height: 1;
}

.aac-kpi.online strong,
.aac-text-online {
    color: #059669 !important;
}

.aac-subnav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 4px 2px 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.aac-subnav-btn {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.88);
    color: #475569;
    border-radius: 999px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.aac-subnav-btn:hover,
.aac-subnav-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    transform: translateY(-1px);
}

.aac-panel {
    display: none;
    padding-top: 8px;
}

.aac-panel.active {
    display: block;
}

.aac-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.aac-card {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.aac-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.aac-card-head h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 900;
    color: #0f172a;
}

.aac-card-head small {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
}

.aac-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.aac-stat-grid div {
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.aac-stat-grid span {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.aac-stat-grid strong {
    font-size: 20px;
    font-weight: 950;
    color: #0f172a;
}

.aac-note {
    margin: 12px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
}

.aac-quick-actions,
.aac-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.aac-toolbar {
    margin-bottom: 14px;
}

.aac-toolbar label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

.aac-toolbar label span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.aac-toolbar-meta {
    margin-left: auto;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.aac-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 10px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.aac-btn.primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.aac-btn.ghost {
    background: #f8fafc;
}

.aac-btn.danger {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.aac-btn.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

.aac-link-btn {
    border: none;
    background: transparent;
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.aac-mini-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aac-mini-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.aac-mini-row.clickable {
    width: 100%;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.aac-mini-row strong,
.aac-mini-row small {
    display: block;
}

.aac-mini-row small {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.aac-avatar {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
    font-size: 11px;
    font-weight: 900;
    overflow: hidden;
    flex-shrink: 0;
}

.aac-avatar.sm {
    width: 30px;
    height: 30px;
    font-size: 10px;
}

.aac-avatar.online {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(16, 185, 129, 0.45);
}

.aac-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aac-live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.aac-live-card {
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.aac-live-card.online {
    border-color: rgba(16, 185, 129, 0.35);
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.7), #fff);
}

.aac-live-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
}

.aac-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.aac-live-dot.on {
    background: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.18);
}

.aac-live-dot.off {
    background: #cbd5e1;
}

.aac-live-card strong {
    font-size: 13px;
    font-weight: 900;
}

.aac-live-card small {
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
}

.aac-live-meta {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
}

.aac-pill {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 900;
}

.aac-table-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aac-table-user small {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.aac-bar-chart {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 4px;
    align-items: end;
    height: 140px;
    padding-top: 8px;
}

.aac-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    height: 100%;
    justify-content: flex-end;
}

.aac-bar-fill {
    width: 100%;
    min-height: 4px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.aac-bar-col span {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
}

.aac-bullet-list {
    margin: 0;
    padding-left: 18px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.65;
}

.aac-moderation-banner {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.aac-moderation-banner.open {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.aac-moderation-banner.locked {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.aac-audit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.aac-audit-row {
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.aac-audit-row strong,
.aac-audit-row span,
.aac-audit-row time {
    display: block;
}

.aac-audit-row span {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    margin-top: 2px;
}

.aac-audit-row time {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    margin-top: 4px;
}

.aac-policy-doc {
    margin-top: 14px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    overflow: hidden;
}

.aac-policy-doc summary {
    cursor: pointer;
    padding: 14px 18px;
    font-weight: 900;
    color: #0f172a;
    background: #f8fafc;
}

.aac-policy-body {
    padding: 0 18px 18px;
    color: #475569;
    font-size: 13px;
    line-height: 1.65;
}

.aac-policy-body h5 {
    margin: 16px 0 8px;
    color: #0f172a;
    font-size: 14px;
}

.aac-role-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.aac-role-card {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--aac-role-color, #2563eb);
}

.aac-role-card strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 6px;
}

.aac-role-card p {
    margin: 0 0 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.aac-role-card span {
    color: #94a3b8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.aac-matrix td.yes {
    color: #059669;
    font-weight: 900;
    text-align: center;
}

.aac-matrix td.no {
    color: #94a3b8;
    text-align: center;
}

.aac-health-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.aac-health-card {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.aac-health-card.ok {
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(236, 253, 245, 0.7);
}

.aac-health-card.warn {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(255, 251, 235, 0.8);
}

.aac-health-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.aac-health-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.aac-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.aac-field span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.aac-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
}

.aac-empty {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    padding: 18px;
    text-align: center;
}

.aac-empty.wide {
    grid-column: 1 / -1;
}

body.dark-theme .aac-hero {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.14), rgba(37, 99, 235, 0.08)), rgba(15, 23, 42, 0.92);
    border-color: rgba(56, 189, 248, 0.18);
}

body.dark-theme .aac-kpi,
body.dark-theme .aac-card,
body.dark-theme .aac-subnav-btn,
body.dark-theme .aac-live-card,
body.dark-theme .aac-mini-row,
body.dark-theme .aac-btn,
body.dark-theme .aac-role-badge,
body.dark-theme .aac-audit-row,
body.dark-theme .aac-policy-doc,
body.dark-theme .aac-role-card,
body.dark-theme .aac-health-card {
    background: #1e293b;
    border-color: #475569;
    color: #e2e8f0;
}

body.dark-theme .aac-btn.danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

body.dark-theme .aac-btn.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
}

body.dark-theme .aac-hero h3,
body.dark-theme .aac-card-head h4,
body.dark-theme .aac-kpi strong,
body.dark-theme .aac-stat-grid strong,
body.dark-theme .aac-role-badge strong,
body.dark-theme .aac-mini-row strong,
body.dark-theme .aac-live-card strong,
body.dark-theme .aac-policy-doc summary {
    color: #f8fafc;
}

body.dark-theme .aac-subnav-btn.active {
    background: #2563eb;
    color: #fff;
}

body.dark-theme .aac-note,
body.dark-theme .aac-center-status,
body.dark-theme .aac-mini-row small,
body.dark-theme .aac-live-card small,
body.dark-theme .aac-policy-body {
    color: #cbd5e1;
}

@media (max-width: 1200px) {
    .aac-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .aac-role-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .aac-hero,
    .aac-grid-2,
    .aac-health-grid,
    .aac-role-cards {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .aac-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .aac-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.aac-empty.slim {
    padding: 10px;
    font-size: 11px;
}

.aac-audit-row.compact {
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
}

.aac-audit-row span em {
    display: block;
    margin-top: 4px;
    color: #2563eb;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
}

/* Takip denetim merkezi (yönetici) */
.tfa-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tfa-hero {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(79, 70, 229, 0.06)), rgba(255, 255, 255, 0.92);
    border-color: rgba(124, 58, 237, 0.2);
}

.tfa-body .aac-panel {
    display: none;
}

.tfa-body .aac-panel.active {
    display: block;
}

.tfa-banner {
    padding: 14px 16px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.18);
    color: #4c1d95;
    font-size: 13px;
    line-height: 1.5;
}

.tfa-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    margin: 2px 4px 2px 0;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(148, 163, 184, 0.18);
    color: #334155;
}

.tfa-badge.read { background: rgba(16, 185, 129, 0.15); color: #047857; }
.tfa-badge.pending { background: rgba(245, 158, 11, 0.18); color: #b45309; }
.tfa-badge.closed { background: rgba(100, 116, 139, 0.2); color: #475569; }
.tfa-badge.open { background: rgba(59, 130, 246, 0.15); color: #1d4ed8; }
.tfa-badge.warn { background: rgba(239, 68, 68, 0.15); color: #b91c1c; }
.tfa-badge.muted { background: rgba(148, 163, 184, 0.12); color: #64748b; }

.tfa-activity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tfa-activity-item {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.tfa-activity-item:hover {
    border-color: rgba(124, 58, 237, 0.35);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tfa-activity-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tfa-activity-time {
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    min-width: 110px;
}

.tfa-arrow {
    color: #94a3b8;
    font-weight: 900;
}

.tfa-activity-title {
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.tfa-activity-status {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.tfa-table-wrap {
    overflow: auto;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.tfa-table-wrap.tall {
    max-height: 520px;
}

.tfa-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.tfa-table th,
.tfa-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    text-align: left;
    vertical-align: top;
}

.tfa-table th {
    position: sticky;
    top: 0;
    background: #f8fafc;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    z-index: 1;
}

.tfa-table.compact td,
.tfa-table.compact th {
    padding: 8px 10px;
}

.tfa-table tr.clickable {
    cursor: pointer;
}

.tfa-table tr.clickable:hover td {
    background: rgba(124, 58, 237, 0.06);
}

.tfa-table small {
    display: block;
    color: #64748b;
    font-size: 10px;
    margin-top: 2px;
}

.tfa-mini-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.tfa-mini-row:last-child {
    border-bottom: none;
}

.tfa-mini-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
}

.tfa-mini-list.tall {
    max-height: 520px;
    overflow: auto;
}

.tfa-footnote {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 11px;
}

.tfa-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.tfa-detail-grid > div {
    padding: 12px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.tfa-detail-grid span {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.tfa-detail-grid strong {
    display: block;
    font-size: 14px;
}

.tfa-detail-grid small {
    color: #64748b;
    font-size: 11px;
}

.tfa-detail-message {
    margin: 14px 0;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.tfa-detail-message span {
    display: block;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tfa-detail-message p {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.55;
}

.tfa-detail-badges {
    display: flex;
    gap: 6px;
}

.tfa-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tfa-audit-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.tfa-audit-block h4 {
    margin: 0 0 10px;
    font-size: 13px;
}

.tfa-party-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 10px;
}

.tfa-party-card {
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(248, 250, 252, 0.85);
}

.tfa-party-card strong {
    display: block;
    font-size: 13px;
}

.tfa-party-card small {
    color: #64748b;
    font-size: 10px;
}

.tfa-party-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.tfa-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tfa-timeline-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tfa-timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    margin-top: 4px;
    flex-shrink: 0;
    background: #94a3b8;
}

.tfa-timeline-dot.create { background: #7c3aed; }
.tfa-timeline-dot.read { background: #10b981; }
.tfa-timeline-dot.close { background: #64748b; }

.tfa-timeline-row small {
    display: block;
    color: #64748b;
    font-size: 11px;
    margin-top: 2px;
}

.tfa-compose-panel {
    display: none;
    margin-top: 12px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.18);
    background: rgba(255, 255, 255, 0.95);
}

.admin-followup-page.tfa-compose-mode .tfa-compose-panel {
    display: block;
}

.tfa-compose-intro {
    margin-bottom: 12px;
}

.tfa-compose-note,
.tfa-export-note {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.admin-followup-filters-wrap {
    margin-top: -4px;
}

@media (max-width: 1100px) {
    .tfa-detail-grid {
        grid-template-columns: 1fr;
    }
}

body.dark-theme .tfa-hero {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(30, 41, 59, 0.95));
    border-color: #475569;
}

body.dark-theme .tfa-banner {
    background: #312e81;
    border-color: #4338ca;
    color: #ddd6fe;
}

body.dark-theme .tfa-activity-item,
body.dark-theme .tfa-detail-grid > div,
body.dark-theme .tfa-detail-message,
body.dark-theme .tfa-party-card,
body.dark-theme .tfa-compose-panel {
    background: #1e293b;
    border-color: #475569;
}

body.dark-theme .tfa-table th {
    background: #0f172a;
    color: #94a3b8;
}

body.dark-theme .tfa-table td {
    border-color: #334155;
}

body.dark-theme .tfa-table tr.clickable:hover td {
    background: rgba(124, 58, 237, 0.15);
}

body.dark-theme .tfa-mini-row {
    border-color: #334155;
}

/* Aktivite Kaydı — zaman çizelgesi merkezi */
.alc-shell {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alc-hero {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.14), rgba(14, 165, 233, 0.07)), rgba(255, 255, 255, 0.94);
    border-color: rgba(13, 148, 136, 0.22);
}

.alc-hero-desc {
    margin: 0;
    max-width: 620px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

.alc-hero-stats {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.alc-kpi.danger strong { color: #dc2626 !important; }
.alc-kpi.blue strong { color: #0284c7 !important; }
.alc-kpi.violet strong { color: #7c3aed !important; }
.alc-kpi.purple strong { color: #9333ea !important; }
.alc-kpi.cyan strong { color: #0891b2 !important; }

.alc-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alc-toolbar-search .admin-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
}

.alc-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.alc-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.88);
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.alc-cat-btn:hover,
.alc-cat-btn.active {
    border-color: rgba(13, 148, 136, 0.45);
    background: rgba(13, 148, 136, 0.1);
    color: #0f766e;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}

.alc-filter-panel {
    margin-top: -4px;
}

.alc-range-summary {
    margin-top: -6px;
}

.alc-timeline {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 4px 0 12px;
}

.alc-day-group {
    position: relative;
}

.alc-day-label {
    position: sticky;
    top: 0;
    z-index: 2;
    display: inline-flex;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

.alc-day-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 8px;
}

.alc-event {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.alc-event-rail {
    position: relative;
    display: flex;
    justify-content: center;
}

.alc-event-rail::after {
    content: "";
    position: absolute;
    top: 18px;
    bottom: -12px;
    width: 2px;
    background: linear-gradient(180deg, rgba(148, 163, 184, 0.35), rgba(148, 163, 184, 0.08));
}

.alc-day-events .alc-event:last-child .alc-event-rail::after {
    display: none;
}

.alc-event-dot {
    width: 14px;
    height: 14px;
    margin-top: 18px;
    border-radius: 999px;
    border: 3px solid #fff;
    background: #94a3b8;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.15);
    z-index: 1;
}

.alc-event.danger .alc-event-dot { background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15); }
.alc-event.blue .alc-event-dot { background: #0ea5e9; box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15); }
.alc-event.violet .alc-event-dot { background: #8b5cf6; box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15); }
.alc-event.purple .alc-event-dot { background: #a855f7; box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15); }
.alc-event.cyan .alc-event-dot { background: #06b6d4; box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15); }
.alc-event.indigo .alc-event-dot { background: #6366f1; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); }
.alc-event.rose .alc-event-dot { background: #f43f5e; box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.15); }
.alc-event.green .alc-event-dot { background: #10b981; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15); }

.alc-event-card {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92));
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.alc-event-card:hover {
    transform: translateY(-1px);
    border-color: rgba(13, 148, 136, 0.28);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.09);
}

.alc-event-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.alc-event-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.alc-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.alc-cat-pill.danger { color: #b91c1c; background: rgba(239, 68, 68, 0.12); }
.alc-cat-pill.blue { color: #0369a1; background: rgba(14, 165, 233, 0.12); }
.alc-cat-pill.violet { color: #6d28d9; background: rgba(139, 92, 246, 0.12); }
.alc-cat-pill.purple { color: #7e22ce; background: rgba(168, 85, 247, 0.12); }
.alc-cat-pill.cyan { color: #0e7490; background: rgba(6, 182, 212, 0.12); }
.alc-cat-pill.indigo { color: #4338ca; background: rgba(99, 102, 241, 0.12); }
.alc-cat-pill.rose { color: #be123c; background: rgba(244, 63, 94, 0.12); }
.alc-cat-pill.green { color: #047857; background: rgba(16, 185, 129, 0.12); }

.alc-event-clock {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.alc-event-relative {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.alc-event-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.alc-avatar,
.alc-event-user .usage-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    color: #0f766e;
    font-size: 12px;
    font-weight: 950;
    flex-shrink: 0;
}

.alc-event-user strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: #0f172a;
}

.alc-event-user small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 11px;
}

.alc-event-body h4 {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 950;
    color: #0f172a;
}

.alc-event-body p {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre-wrap;
}

.alc-event-actions {
    margin-top: 12px;
}

.alc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.9);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.alc-btn.ghost:hover {
    border-color: rgba(13, 148, 136, 0.35);
    color: #0f766e;
}

.alc-empty-state {
    padding: 48px 24px;
    text-align: center;
    border-radius: 20px;
    border: 1px dashed rgba(148, 163, 184, 0.35);
    background: rgba(248, 250, 252, 0.7);
}

.alc-empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.alc-empty-state strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.alc-empty-state p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.alc-more-note {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(148, 163, 184, 0.1);
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.activity-danger-btn {
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #dc2626 !important;
    background: rgba(239, 68, 68, 0.07) !important;
}

@media (max-width: 1100px) {
    .alc-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .alc-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alc-event-top {
        flex-direction: column;
    }
}

body.dark-theme .alc-hero {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.18), rgba(30, 41, 59, 0.95));
    border-color: #475569;
}

body.dark-theme .alc-hero-desc {
    color: #94a3b8;
}

body.dark-theme .alc-cat-btn {
    background: #1e293b;
    border-color: #475569;
    color: #cbd5e1;
}

body.dark-theme .alc-cat-btn.active {
    background: rgba(13, 148, 136, 0.18);
    color: #5eead4;
}

body.dark-theme .alc-event-card {
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border-color: #475569;
}

body.dark-theme .alc-event-body h4,
body.dark-theme .alc-event-user strong {
    color: #f8fafc;
}

body.dark-theme .alc-event-body p {
    color: #cbd5e1;
}

body.dark-theme .alc-empty-state {
    background: #1e293b;
    border-color: #475569;
}

body.dark-theme .alc-event-dot {
    border-color: #1e293b;
}

/* ============================================================
   YÖNETİCİ PANELİ — DARK MODE v2 (Obsidian Operations)
   Daha koyu, daha net kontrast; soluk lacivert yerine nötr zemin
   ============================================================ */
body.dark-theme #admin-panel,
body.dark-theme #admin-auth-modal {
    --adm-bg: #070709;
    --adm-bg-sidebar: #0c0c10;
    --adm-bg-topbar: #0e0e13;
    --adm-bg-card: #121218;
    --adm-bg-elevated: #1a1a22;
    --adm-bg-inset: #0d0d12;
    --adm-bg-input: #111118;
    --adm-border: rgba(255, 255, 255, 0.1);
    --adm-border-strong: rgba(255, 255, 255, 0.16);
    --adm-text: #ffffff;
    --adm-text-secondary: #e8ebf0;
    --adm-text-muted: #c3cad6;
    --adm-text-faint: #9aa3b2;
    --adm-accent: #34d399;
    --adm-accent-bright: #7ef0c3;
    --adm-accent-alt: #38bdf8;
    --adm-accent-soft: rgba(52, 211, 153, 0.14);
    --adm-accent-glow: rgba(56, 189, 248, 0.28);
    --adm-shadow: 0 22px 56px rgba(0, 0, 0, 0.58);
    --adm-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.38);
    --adm-texture-card:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.17), transparent 34%),
        radial-gradient(circle at 100% 12%, rgba(16, 185, 129, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(16, 16, 22, 0.98), rgba(12, 12, 18, 0.94) 54%, rgba(20, 28, 40, 0.92)),
        var(--adm-bg-card);
    --adm-texture-inset:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(14, 14, 18, 0.96), rgba(10, 10, 14, 0.98));
    --adm-head-gradient:
        radial-gradient(circle at 92% 0%, rgba(125, 211, 252, 0.22), transparent 32%),
        linear-gradient(135deg, #101018 0%, #1e3a8a 58%, #155e75 100%);
}

body.dark-theme #admin-panel {
    background: var(--adm-bg) !important;
    color: var(--adm-text) !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.dark-theme #admin-auth-modal {
    background: rgba(4, 4, 6, 0.88) !important;
    backdrop-filter: blur(14px);
}

body.dark-theme #admin-auth-modal .auth-card {
    background: var(--adm-bg-card) !important;
    border-color: var(--adm-border-strong) !important;
    box-shadow: var(--adm-shadow) !important;
}

body.dark-theme #admin-auth-modal .auth-card h2 {
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel .admin-sidebar {
    background: linear-gradient(180deg, var(--adm-bg-sidebar) 0%, #0a0a0d 100%) !important;
    border-right-color: var(--adm-border) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.03);
}

body.dark-theme #admin-panel .admin-brand {
    border-bottom-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .admin-brand h2 {
    color: #f8fafc !important;
    letter-spacing: 0.14em;
}

body.dark-theme #admin-panel .admin-tab-btn {
    color: var(--adm-text-secondary) !important;
    border-color: transparent !important;
}

body.dark-theme #admin-panel .admin-tab-btn:hover {
    background: var(--adm-bg-elevated) !important;
    color: var(--adm-text) !important;
    transform: translateX(4px);
}

body.dark-theme #admin-panel .admin-tab-btn.active {
    background: linear-gradient(90deg, var(--adm-accent-soft), transparent) !important;
    color: var(--adm-accent-bright) !important;
    border-color: var(--adm-accent-glow) !important;
    box-shadow: inset 3px 0 0 var(--adm-accent) !important;
}

body.dark-theme #admin-panel .admin-topbar {
    background: var(--adm-bg-topbar) !important;
    border-bottom-color: var(--adm-border) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}

body.dark-theme #admin-panel .admin-topbar h3,
body.dark-theme #admin-panel h1,
body.dark-theme #admin-panel h2,
body.dark-theme #admin-panel h3,
body.dark-theme #admin-panel h4,
body.dark-theme #admin-panel .dark-text-fix {
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel .desc,
body.dark-theme #admin-panel p.desc,
body.dark-theme #admin-panel .alc-hero-desc,
body.dark-theme #admin-panel .tfa-compose-note,
body.dark-theme #admin-panel .tfa-export-note {
    color: var(--adm-text-muted) !important;
}

body.dark-theme #admin-panel .admin-content {
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.09), transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.07), transparent 36%),
        radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.06), transparent 40%),
        var(--adm-bg) !important;
}

/* Gradyan dokulu kartlar — araç yönetimi stili genelleştirildi */
body.dark-theme #admin-panel .admin-card:not(.vehicle-admin-card),
body.dark-theme #admin-panel .usage-admin-card,
body.dark-theme #admin-panel .activity-admin-card,
body.dark-theme #admin-panel .kvkk-admin-card,
body.dark-theme #admin-panel .daily-report-admin-shell,
body.dark-theme #admin-panel .operation-center-admin-shell,
body.dark-theme #admin-panel .service-directory-card,
body.dark-theme #admin-panel .ops-filter-panel,
body.dark-theme #admin-panel .analytics-card,
body.dark-theme #admin-panel .alc-shell,
body.dark-theme #admin-panel .aac-shell,
body.dark-theme #admin-panel .tfa-shell {
    position: relative;
    overflow: hidden;
    background: var(--adm-texture-card) !important;
    border-color: rgba(56, 189, 248, 0.18) !important;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

body.dark-theme #admin-panel .admin-card:not(.vehicle-admin-card)::before,
body.dark-theme #admin-panel .usage-admin-card::before,
body.dark-theme #admin-panel .activity-admin-card::before,
body.dark-theme #admin-panel .kvkk-admin-card::before,
body.dark-theme #admin-panel .daily-report-admin-shell::before,
body.dark-theme #admin-panel .operation-center-admin-shell::before,
body.dark-theme #admin-panel .service-directory-card::before,
body.dark-theme #admin-panel .alc-shell::before,
body.dark-theme #admin-panel .aac-shell::before,
body.dark-theme #admin-panel .tfa-shell::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 66%);
    pointer-events: none;
    opacity: 0.62;
    z-index: 0;
}

body.dark-theme #admin-panel .admin-card > *,
body.dark-theme #admin-panel .usage-admin-card > *,
body.dark-theme #admin-panel .daily-report-admin-shell > *,
body.dark-theme #admin-panel .alc-shell > *,
body.dark-theme #admin-panel .aac-shell > *,
body.dark-theme #admin-panel .tfa-shell > * {
    position: relative;
    z-index: 1;
}

body.dark-theme #admin-panel .ops-hero-panel {
    position: relative;
    overflow: hidden;
    background: var(--adm-texture-card) !important;
    border-color: rgba(56, 189, 248, 0.18) !important;
    box-shadow: var(--adm-shadow-soft) !important;
}

body.dark-theme #admin-panel .admin-card h3,
body.dark-theme #admin-panel .usage-admin-head h3,
body.dark-theme #admin-panel .kvkk-admin-head h3,
body.dark-theme #admin-panel .daily-report-admin-head h3,
body.dark-theme #admin-panel .operation-center-admin-head h3 {
    border-bottom-color: var(--adm-border) !important;
}

/* Modül başlıkları — araç yönetimi gradyan başlık stili */
body.dark-theme #admin-panel .usage-admin-head,
body.dark-theme #admin-panel .activity-admin-head,
body.dark-theme #admin-panel .kvkk-admin-head,
body.dark-theme #admin-panel .daily-report-admin-head,
body.dark-theme #admin-panel .operation-center-admin-head,
body.dark-theme #admin-panel .service-directory-head {
    position: relative;
    z-index: 1;
    padding: 24px !important;
    margin-bottom: 20px;
    border-radius: 24px;
    border: 1px solid rgba(125, 211, 252, 0.2) !important;
    background: var(--adm-head-gradient) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
    color: #ffffff;
}

body.dark-theme #admin-panel .usage-admin-head h3,
body.dark-theme #admin-panel .activity-admin-head h3,
body.dark-theme #admin-panel .kvkk-admin-head h3,
body.dark-theme #admin-panel .daily-report-admin-head h3,
body.dark-theme #admin-panel .operation-center-admin-head h3,
body.dark-theme #admin-panel .service-directory-head h3 {
    color: #ffffff !important;
    border-bottom: none !important;
}

body.dark-theme #admin-panel .usage-admin-head .desc,
body.dark-theme #admin-panel .activity-admin-head .desc,
body.dark-theme #admin-panel .kvkk-admin-head .desc,
body.dark-theme #admin-panel .daily-report-admin-head .desc,
body.dark-theme #admin-panel .operation-center-admin-head .desc,
body.dark-theme #admin-panel .service-directory-head .desc,
body.dark-theme #admin-panel .usage-admin-head p,
body.dark-theme #admin-panel .kvkk-admin-head p {
    color: rgba(255, 255, 255, 0.84) !important;
}

body.dark-theme #admin-panel .usage-kicker,
body.dark-theme #admin-panel .activity-admin-kicker,
body.dark-theme #admin-panel .kvkk-admin-kicker,
body.dark-theme #admin-panel .daily-report-kicker,
body.dark-theme #admin-panel .operation-center-kicker {
    color: #7ef0f3 !important;
}

body.dark-theme #admin-panel .usage-admin-actions .export-btn,
body.dark-theme #admin-panel .activity-admin-actions .export-btn,
body.dark-theme #admin-panel .kvkk-admin-actions .export-btn,
body.dark-theme #admin-panel .daily-report-admin-actions .export-btn,
body.dark-theme #admin-panel .operation-center-admin-actions .export-btn {
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

body.dark-theme #admin-panel .usage-admin-actions .btn-add,
body.dark-theme #admin-panel .kvkk-admin-actions .btn-add,
body.dark-theme #admin-panel .daily-report-admin-actions .btn-add,
body.dark-theme #admin-panel .operation-center-admin-actions .btn-add {
    background: linear-gradient(135deg, #10b981, #06b6d4) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

body.dark-theme #admin-panel .stat-box,
body.dark-theme #admin-panel .usage-kpi-card,
body.dark-theme #admin-panel .activity-kpi-card,
body.dark-theme #admin-panel .vehicle-stat-chip {
    background: var(--adm-texture-inset) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .stat-box:hover,
body.dark-theme #admin-panel .usage-kpi-card:hover {
    border-color: var(--adm-border-strong) !important;
    background: var(--adm-bg-elevated) !important;
}

body.dark-theme #admin-panel .stat-box span,
body.dark-theme #admin-panel .usage-kpi-card span,
body.dark-theme #admin-panel .activity-kpi-card span {
    color: var(--adm-text-muted) !important;
}

body.dark-theme #admin-panel .stat-box strong,
body.dark-theme #admin-panel .usage-kpi-card strong,
body.dark-theme #admin-panel .activity-kpi-card strong {
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel .admin-table-container {
    background: var(--adm-bg-inset) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .admin-table th {
    background: var(--adm-bg-elevated) !important;
    color: var(--adm-text-secondary) !important;
    border-bottom-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .admin-table td {
    color: var(--adm-text-secondary) !important;
    border-bottom-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .admin-table tr:hover td {
    background: rgba(52, 211, 153, 0.06) !important;
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel input.admin-input,
body.dark-theme #admin-panel select.admin-select,
body.dark-theme #admin-panel textarea.admin-input {
    background: var(--adm-bg-input) !important;
    border-color: var(--adm-border) !important;
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel input.admin-input::placeholder,
body.dark-theme #admin-panel textarea.admin-input::placeholder {
    color: var(--adm-text-faint) !important;
}

body.dark-theme #admin-panel input.admin-input:focus,
body.dark-theme #admin-panel select.admin-select:focus,
body.dark-theme #admin-panel textarea.admin-input:focus {
    background: var(--adm-bg-elevated) !important;
    border-color: var(--adm-accent) !important;
    box-shadow: 0 0 0 3px var(--adm-accent-soft) !important;
}

body.dark-theme #admin-panel .export-btn,
body.dark-theme #admin-panel .aac-btn,
body.dark-theme #admin-panel .alc-btn,
body.dark-theme #admin-panel .sys-btn {
    background: var(--adm-bg-elevated) !important;
    color: var(--adm-text-secondary) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .export-btn:hover,
body.dark-theme #admin-panel .aac-btn:hover,
body.dark-theme #admin-panel .alc-btn.ghost:hover {
    background: var(--adm-bg-card) !important;
    color: var(--adm-accent-bright) !important;
    border-color: var(--adm-accent-glow) !important;
}

body.dark-theme #admin-panel .btn-add,
body.dark-theme #admin-panel .aac-btn.primary,
body.dark-theme #admin-panel .log-filter-btn.primary {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    color: #fff !important;
    border-color: transparent !important;
}

body.dark-theme #admin-panel .btn-exit-admin {
    border-color: rgba(248, 113, 113, 0.45) !important;
    color: #fca5a5 !important;
}

body.dark-theme #admin-panel .btn-exit-admin:hover {
    background: #dc2626 !important;
    color: #fff !important;
}

body.dark-theme #admin-panel .usage-panel,
body.dark-theme #admin-panel .usage-user-select,
body.dark-theme #admin-panel .usage-date-filter,
body.dark-theme #admin-panel .usage-user-chip,
body.dark-theme #admin-panel .usage-log-row,
body.dark-theme #admin-panel .usage-detail-dialog,
body.dark-theme #admin-panel .usage-detail-row,
body.dark-theme #admin-panel .profile-usage-card {
    background: var(--adm-bg-card) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .usage-user-chip.active,
body.dark-theme #admin-panel #tab-log .usage-user-chip.active {
    background: var(--adm-accent-soft) !important;
    border-color: var(--adm-accent-glow) !important;
    color: var(--adm-accent-bright) !important;
}

body.dark-theme #admin-panel .usage-panel-head h4,
body.dark-theme #admin-panel .usage-user-select-head strong,
body.dark-theme #admin-panel .usage-rank-top,
body.dark-theme #admin-panel .usage-log-row strong,
body.dark-theme #admin-panel .usage-table-user strong {
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel .usage-panel-head span,
body.dark-theme #admin-panel .usage-user-chip small,
body.dark-theme #admin-panel .usage-rank-row i,
body.dark-theme #admin-panel #usage-selected-user-label,
body.dark-theme #admin-panel #log-selected-user-label {
    color: var(--adm-text-muted) !important;
}

body.dark-theme #admin-panel .usage-bar-track {
    background: var(--adm-bg-inset) !important;
}

body.dark-theme #admin-panel .usage-bar-fill {
    background: linear-gradient(90deg, #059669, var(--adm-accent-alt)) !important;
}

/* Merkez modülleri — AAC / TFA / ALC */
body.dark-theme #admin-panel .aac-hero,
body.dark-theme #admin-panel .tfa-hero,
body.dark-theme #admin-panel .alc-hero {
    background:
        radial-gradient(circle at 92% 0%, rgba(125, 211, 252, 0.2), transparent 32%),
        linear-gradient(135deg, #101018 0%, #1e3a8a 58%, #155e75 100%) !important;
    border-color: rgba(125, 211, 252, 0.2) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38) !important;
    color: #ffffff;
}

body.dark-theme #admin-panel .aac-hero h3,
body.dark-theme #admin-panel .tfa-hero h3,
body.dark-theme #admin-panel .alc-hero h3 {
    color: #ffffff !important;
}

body.dark-theme #admin-panel .aac-hero .desc,
body.dark-theme #admin-panel .alc-hero-desc,
body.dark-theme #admin-panel .aac-hero p,
body.dark-theme #admin-panel .aac-kicker {
    color: rgba(255, 255, 255, 0.84) !important;
}

body.dark-theme #admin-panel .aac-kicker,
body.dark-theme #admin-panel .tfa-banner,
body.dark-theme #admin-panel .activity-admin-kicker,
body.dark-theme #admin-panel .usage-kicker,
body.dark-theme #admin-panel .vehicle-admin-kicker,
body.dark-theme #admin-panel .kvkk-admin-kicker,
body.dark-theme #admin-panel .daily-report-kicker {
    color: #7ef0f3 !important;
}

body.dark-theme #admin-panel .aac-kpi,
body.dark-theme #admin-panel .aac-card,
body.dark-theme #admin-panel .aac-subnav-btn,
body.dark-theme #admin-panel .tfa-party-card,
body.dark-theme #admin-panel .alc-event-card,
body.dark-theme #admin-panel .alc-cat-btn,
body.dark-theme #admin-panel .aac-mini-row,
body.dark-theme #admin-panel .aac-live-card,
body.dark-theme #admin-panel .aac-btn,
body.dark-theme #admin-panel .aac-role-badge,
body.dark-theme #admin-panel .tfa-activity-item,
body.dark-theme #admin-panel .tfa-table-wrap {
    background: var(--adm-texture-inset) !important;
    border-color: var(--adm-border) !important;
    color: var(--adm-text-secondary) !important;
}

body.dark-theme #admin-panel .aac-kpi strong,
body.dark-theme #admin-panel .aac-card-head h4,
body.dark-theme #admin-panel .aac-mini-row strong,
body.dark-theme #admin-panel .tfa-detail-grid strong,
body.dark-theme #admin-panel .alc-event-body h4,
body.dark-theme #admin-panel .alc-event-user strong {
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel .aac-kpi span,
body.dark-theme #admin-panel .aac-center-status,
body.dark-theme #admin-panel .aac-mini-row small,
body.dark-theme #admin-panel .alc-event-body p,
body.dark-theme #admin-panel .alc-event-user small,
body.dark-theme #admin-panel .alc-event-relative,
body.dark-theme #admin-panel #alc-status,
body.dark-theme #admin-panel #tfa-status,
body.dark-theme #admin-panel #daily-report-admin-status {
    color: var(--adm-text-muted) !important;
}

body.dark-theme #admin-panel .aac-subnav-btn.active,
body.dark-theme #admin-panel .tfa-subnav-btn.active,
body.dark-theme #admin-panel .alc-cat-btn.active {
    background: var(--adm-accent-soft) !important;
    border-color: var(--adm-accent-glow) !important;
    color: var(--adm-accent-bright) !important;
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.08);
}

body.dark-theme #admin-panel .aac-subnav-btn:hover,
body.dark-theme #admin-panel .alc-cat-btn:hover,
body.dark-theme #admin-panel .tfa-activity-item:hover,
body.dark-theme #admin-panel .aac-mini-row.clickable:hover {
    border-color: var(--adm-accent-glow) !important;
}

body.dark-theme #admin-panel .aac-table th,
body.dark-theme #admin-panel .tfa-table th {
    background: var(--adm-bg-elevated) !important;
    color: var(--adm-text-secondary) !important;
}

body.dark-theme #admin-panel .tfa-table td,
body.dark-theme #admin-panel .aac-table td {
    border-color: var(--adm-border) !important;
    color: var(--adm-text-secondary) !important;
}

body.dark-theme #admin-panel .tfa-table tr.clickable:hover td,
body.dark-theme #admin-panel .alc-event-card:hover {
    background: rgba(52, 211, 153, 0.06) !important;
}

body.dark-theme #admin-panel .alc-day-label {
    background: var(--adm-bg-elevated) !important;
    color: var(--adm-text-secondary) !important;
    border: 1px solid var(--adm-border);
}

body.dark-theme #admin-panel .alc-event-dot {
    border-color: var(--adm-bg-card) !important;
}

body.dark-theme #admin-panel .log-filter-panel label,
body.dark-theme #admin-panel .ops-date-row label,
body.dark-theme #admin-panel .vehicle-filter-grid label {
    color: var(--adm-text-muted) !important;
}

body.dark-theme #admin-panel .log-range-summary,
body.dark-theme #admin-panel .alc-range-summary {
    background: var(--adm-accent-soft) !important;
    color: var(--adm-accent-bright) !important;
    border: 1px solid var(--adm-accent-glow);
}

body.dark-theme #admin-panel .ops-role-banner {
    color: var(--adm-accent-bright) !important;
    background: var(--adm-accent-soft) !important;
    border-color: var(--adm-accent-glow) !important;
}

body.dark-theme #admin-panel .ops-role-banner.readonly {
    color: #fcd34d !important;
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: rgba(251, 191, 36, 0.28) !important;
}

body.dark-theme #admin-panel .ops-role-banner.root {
    color: #ddd6fe !important;
    background: rgba(167, 139, 250, 0.12) !important;
    border-color: rgba(167, 139, 250, 0.28) !important;
}

body.dark-theme #admin-panel .vehicle-bulk-panel,
body.dark-theme #admin-panel .vehicle-filter-grid,
body.dark-theme #admin-panel .vehicle-table-wrap,
body.dark-theme #admin-panel .service-directory-table-wrap,
body.dark-theme #admin-panel .admin-table-container,
body.dark-theme #admin-panel .usage-panel,
body.dark-theme #admin-panel .usage-user-select,
body.dark-theme #admin-panel .usage-date-filter {
    background: var(--adm-texture-inset) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .vehicle-model-name,
body.dark-theme #admin-panel .vehicle-bulk-status strong {
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel .daily-report-launch-panel {
    background: var(--adm-bg-inset) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel .daily-report-launch-panel h4 {
    color: var(--adm-text) !important;
}

body.dark-theme #admin-panel .daily-report-launch-panel p {
    color: var(--adm-text-muted) !important;
}

body.dark-theme #admin-panel .daily-report-denied-card,
body.dark-theme #admin-panel .operation-center-denied-card {
    background: linear-gradient(180deg, var(--adm-bg-card), rgba(69, 10, 10, 0.18)) !important;
    border-color: rgba(248, 113, 113, 0.28) !important;
}

body.dark-theme #admin-panel .kvkk-summary-item,
body.dark-theme #admin-panel .kvkk-section-item,
body.dark-theme #admin-panel .kvkk-logo-preview {
    background: var(--adm-bg-inset) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme #admin-panel #admin-permission-notice {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #fcd34d !important;
    border-color: rgba(251, 191, 36, 0.28) !important;
}

body.dark-theme #admin-panel ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body.dark-theme #admin-panel ::-webkit-scrollbar-track {
    background: var(--adm-bg-inset);
}

body.dark-theme #admin-panel ::-webkit-scrollbar-thumb {
    background: #2a2a32;
    border-radius: 999px;
    border: 2px solid var(--adm-bg-inset);
}

body.dark-theme #admin-panel ::-webkit-scrollbar-thumb:hover {
    background: #4a4a56;
}

body.dark-theme #admin-panel .aac-role-badge,
body.dark-theme #admin-panel #alc-status,
body.dark-theme #admin-panel #tfa-status,
body.dark-theme #admin-panel #daily-report-admin-status,
body.dark-theme #admin-panel #operation-center-admin-status {
    color: rgba(255, 255, 255, 0.88) !important;
}

body.dark-theme #admin-panel .aac-role-badge strong {
    color: #ffffff !important;
}

body.dark-theme #admin-panel label,
body.dark-theme #admin-panel .vehicle-filter-grid label,
body.dark-theme #admin-panel .vehicle-bulk-edit label,
body.dark-theme #admin-panel .service-directory-summary,
body.dark-theme #admin-panel .activity-table-note,
body.dark-theme #admin-panel .vehicle-bulk-status {
    color: var(--adm-text-muted) !important;
}

body.dark-theme #admin-panel .vehicle-bulk-status strong,
body.dark-theme #admin-panel .service-directory-brand {
    color: var(--adm-text) !important;
}

.operation-portal-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: stretch;
    margin: 0 0 4px;
}

.nav-container .operation-portal-actions {
    order: 0;
}

.nav-container .operation-portal-btn,
.operation-portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    min-width: 100%;
    width: 100%;
    padding: 0 24px;
    border-radius: 18px;
    border: 0 !important;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.98), rgba(37, 99, 235, 0.98)) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow:
        0 16px 34px rgba(14, 165, 233, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.operation-portal-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.55) 45%, transparent 68%);
    transform: translateX(-120%);
    transition: transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
}

.operation-portal-btn:hover {
    transform: scale(1.32) translateY(-6px) translate3d(0, 0, 0) !important;
    box-shadow:
        0 0 40px rgba(14, 165, 233, 0.82),
        0 22px 48px rgba(14, 165, 233, 0.42) !important;
    filter: saturate(1.08);
    z-index: 8;
}

.operation-portal-btn:hover::after,
.operation-portal-btn:focus-visible::after {
    transform: translateX(120%);
}

.operation-portal-btn:focus-visible {
    outline: 3px solid rgba(14, 165, 233, 0.24);
    outline-offset: 3px;
}

.operation-portal-btn.schedule {
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.98), rgba(14, 165, 233, 0.98)) !important;
    box-shadow:
        0 16px 34px rgba(16, 185, 129, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

body.dark-theme .operation-portal-btn {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(37, 99, 235, 0.92)) !important;
    color: #ffffff !important;
}

body.dark-theme .operation-portal-btn.schedule {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(14, 165, 233, 0.9)) !important;
    color: #ffffff !important;
}

/* Unified SaaS navigation language */
.nav-container {
    width: 330px;
    gap: 12px;
}

.nav-container .kontrat-btn-wrapper,
.nav-container .operation-portal-actions {
    width: 100%;
    min-width: 100%;
}

.nav-container .operation-portal-actions {
    flex-direction: column;
}

.nav-container .operation-portal-btn.schedule {
    background:
        linear-gradient(90deg, rgba(16, 185, 129, 0.86) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.96)) !important;
    color: #0f172a !important;
}

.nav-container .logout-btn {
    background:
        linear-gradient(90deg, rgba(239, 68, 68, 0.84) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 247, 0.96)) !important;
    color: #b91c1c !important;
    border-color: rgba(248, 113, 113, 0.32) !important;
}

.nav-container .logout-btn:hover,
.nav-container .logout-btn:focus-visible {
    transform: translateY(-4px) scale(1.045) translate3d(0, 0, 0) !important;
    border-color: rgba(239, 68, 68, 0.48) !important;
    color: #991b1b !important;
    background:
        linear-gradient(90deg, rgba(239, 68, 68, 0.95) 0 4px, transparent 4px),
        linear-gradient(135deg, #ffffff, #fff1f1) !important;
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.12),
        0 24px 52px rgba(239, 68, 68, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.nav-container .followup-nav-btn.has-normal-followups,
.nav-container .followup-nav-btn.has-followups {
    background:
        linear-gradient(90deg, rgba(239, 68, 68, 0.88) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 247, 0.96)) !important;
    color: #b91c1c !important;
    border-color: rgba(248, 113, 113, 0.34) !important;
}

.nav-container .followup-nav-btn.has-high-followups,
.nav-container .followup-nav-btn.has-high-followups.has-followups {
    background:
        linear-gradient(90deg, rgba(249, 115, 22, 0.9) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 235, 0.98)) !important;
    color: #9a3412 !important;
    border-color: rgba(249, 115, 22, 0.34) !important;
    animation: none !important;
}

.nav-container .followup-nav-btn.has-high-followups::before,
.nav-container .followup-nav-btn.has-high-followups::after {
    display: none !important;
}

body.dark-theme .nav-container .sys-btn:hover,
body.dark-theme .nav-container .sys-btn:focus-visible {
    background:
        linear-gradient(90deg, rgba(56, 189, 248, 0.95) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(8, 47, 73, 0.92)) !important;
    color: #f8fafc !important;
    border-color: rgba(125, 211, 252, 0.56) !important;
    box-shadow:
        0 0 0 1px rgba(125, 211, 252, 0.12),
        0 24px 54px rgba(14, 165, 233, 0.2),
        0 18px 42px rgba(2, 6, 23, 0.36) !important;
}

html.chrome-browser .nav-container {
    width: 330px !important;
    gap: 12px !important;
}

@media (max-width: 768px) {
    .nav-container {
        width: auto;
    }

    html.chrome-browser .nav-container,
    .nav-container {
        width: auto !important;
    }

    .nav-container .operation-portal-actions {
        width: auto;
        min-width: auto;
        flex-direction: row;
    }
}

/* Takip bildirimi, ait olduğu Takip Merkezi kartına fiziksel olarak bağlıdır. */
.nav-container .followup-nav-btn {
    overflow: visible !important;
    contain: layout !important;
}

.nav-container .followup-nav-btn .followup-nudge {
    display: none;
    position: absolute;
    top: 50%;
    right: calc(100% + 14px);
    left: auto;
    bottom: auto;
    z-index: 40;
    width: 310px;
    max-width: min(310px, calc(100vw - 360px));
    min-height: 0;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    transform: translate(8px, -50%);
}

.nav-container .followup-nav-btn .followup-nudge::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -7px;
    width: 14px;
    height: 14px;
    background: rgba(15, 23, 42, 0.94);
    transform: translateY(-50%) rotate(45deg);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-container .followup-nav-btn .followup-nudge.visible {
    display: block;
    opacity: 1;
    transform: translate(0, -50%);
    animation: followupNudgeIn 0.22s ease both;
}

.nav-container .followup-nav-btn .followup-nudge strong {
    display: block;
    margin-bottom: 2px;
    color: #fecaca;
    font-size: 12px;
}

@keyframes followupNudgeIn {
    from { opacity: 0; transform: translate(8px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}

@media (max-width: 760px) {
    .nav-container .followup-nav-btn .followup-nudge {
        top: auto;
        right: 0;
        bottom: calc(100% + 10px);
        width: min(310px, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        transform: translateY(8px);
    }

    .nav-container .followup-nav-btn .followup-nudge.visible {
        transform: translateY(0);
    }

    .nav-container .followup-nav-btn .followup-nudge::after {
        top: auto;
        right: 28px;
        bottom: -7px;
        transform: rotate(135deg);
    }
}

html.operation-scheduler-fullscreen,
body.operation-scheduler-fullscreen {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell.active {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    overflow: hidden !important;
    contain: none !important;
    isolation: auto !important;
    background: #f8fafc !important;
}

body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .admin-sidebar,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .admin-topbar,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .operation-center-admin-head,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .admin-brand,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .admin-nav {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .admin-main,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .admin-content,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell #tab-operasyon-merkezi,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .operation-center-admin-shell,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .operation-center-host,
body.operation-scheduler-fullscreen #admin-panel.operation-scheduler-fullscreen-shell .operation-root {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: 100vw !important;
    height: 100dvh !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    contain: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.broadcast-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.broadcast-modal-actions .sys-btn {
    width: auto;
    min-height: 44px;
    border-radius: 12px;
    padding: 0 16px;
    font-weight: 900;
    white-space: normal;
}

.broadcast-cancel-btn {
    background: transparent !important;
    border: 1px solid #94a3b8 !important;
    color: #475569 !important;
    box-shadow: none !important;
}

.broadcast-system-btn {
    background: #8b5cf6 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4) !important;
}

.broadcast-shift-btn {
    background: linear-gradient(135deg, #0ea5e9, #0879ee) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(8, 121, 238, 0.28) !important;
}

.broadcast-notification-root {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 999999;
    display: grid;
    width: min(560px, calc(100vw - 28px));
    gap: 10px;
    transform: translateX(-50%);
    pointer-events: none;
}

.broadcast-notification {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    min-height: 86px;
    border: 1px solid rgba(139, 92, 246, 0.28);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 238, 255, 0.96)),
        #ffffff;
    color: #111827;
    padding: 18px 18px 16px 18px;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18), 0 12px 24px rgba(139, 92, 246, 0.12);
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: auto;
    overflow: hidden;
}

.broadcast-notification::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #8b5cf6, #0ea5e9);
}

.broadcast-notification.shift {
    border-color: rgba(8, 121, 238, 0.28);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 244, 255, 0.96)),
        #ffffff;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18), 0 12px 24px rgba(8, 121, 238, 0.12);
}

.broadcast-notification.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.broadcast-notification.closing {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
}

.broadcast-notification-close {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(100, 116, 139, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #475569;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.broadcast-notification-close:hover,
.broadcast-notification-close:focus-visible {
    background: #fee2e2;
    color: #b91c1c;
    outline: none;
}

.broadcast-notification-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    width: 44px;
    height: 44px;
    margin-top: 10px;
    border-radius: 14px;
    background: rgba(139, 92, 246, 0.12);
    font-size: 22px;
}

.broadcast-notification.shift .broadcast-notification-icon {
    background: rgba(8, 121, 238, 0.12);
}

.broadcast-notification-body {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding-left: 2px;
}

.broadcast-notification-body strong {
    color: #111827;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.15;
}

.broadcast-notification-body p {
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.broadcast-notification-action {
    width: fit-content;
    min-height: 36px;
    margin-top: 4px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #1788f2, #0a63c7);
    color: #ffffff;
    padding: 0 14px;
    font: inherit;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(8, 121, 238, 0.22);
}

.broadcast-notification-action:hover,
.broadcast-notification-action:focus-visible {
    filter: saturate(1.08);
    transform: translateY(-1px);
    outline: none;
}

body.dark-theme .broadcast-cancel-btn {
    color: #dbeafe !important;
    border-color: rgba(148, 163, 184, 0.36) !important;
    background: rgba(15, 23, 42, 0.36) !important;
}

body.dark-theme .broadcast-notification {
    border-color: rgba(139, 92, 246, 0.36);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 27, 75, 0.94)),
        #0f172a;
    color: #f8fafc;
}

body.dark-theme .broadcast-notification.shift {
    border-color: rgba(96, 165, 250, 0.36);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(12, 74, 110, 0.88)),
        #0f172a;
}

body.dark-theme .broadcast-notification-close {
    background: rgba(15, 23, 42, 0.88);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.28);
}

body.dark-theme .broadcast-notification-body strong {
    color: #f8fafc;
}

body.dark-theme .broadcast-notification-body p {
    color: #cbd5e1;
}

@media (max-width: 640px) {
    .broadcast-modal-actions {
        justify-content: stretch;
    }

    .broadcast-modal-actions .sys-btn {
        width: 100%;
    }

    .broadcast-notification-root {
        top: 12px;
        width: calc(100vw - 18px);
    }

    .broadcast-notification {
        grid-template-columns: 1fr;
        padding: 42px 14px 14px;
    }

    .broadcast-notification-icon {
        display: none;
    }
}

/* Compact cinematic nav scenes */
@keyframes navSceneSweep {
    0% { transform: translateX(-105%) skewX(-12deg); opacity: 0; }
    18% { opacity: 0.95; }
    58% { opacity: 0.72; }
    100% { transform: translateX(112%) skewX(-12deg); opacity: 0; }
}

@keyframes navSceneDrift {
    0% { background-position: 0% 50%, 100% 50%, 0 0; }
    50% { background-position: 100% 50%, 0% 50%, 18px 12px; }
    100% { background-position: 0% 50%, 100% 50%, 36px 24px; }
}

@keyframes navScenePulse {
    0%, 100% { transform: scale(0.96); opacity: 0.42; }
    50% { transform: scale(1.08); opacity: 0.78; }
}

@keyframes navSceneScan {
    0% { background-position: 0 -48px, 0 0; opacity: 0.22; }
    45% { opacity: 0.72; }
    100% { background-position: 0 48px, 36px 0; opacity: 0.26; }
}

@keyframes navSceneSignal {
    0% { transform: translateX(-18px) scale(0.9); opacity: 0.22; }
    50% { opacity: 0.78; }
    100% { transform: translateX(18px) scale(1.08); opacity: 0.24; }
}

@keyframes navSceneExit {
    0% { transform: translateX(-100%); opacity: 0.18; }
    45% { opacity: 0.88; }
    100% { transform: translateX(110%); opacity: 0.18; }
}

.nav-container {
    width: 300px !important;
    gap: 9px !important;
}

.nav-container .operation-portal-actions {
    gap: 9px !important;
}

html.chrome-browser .nav-container {
    width: 300px !important;
    gap: 9px !important;
}

.nav-container .sys-btn::before,
.nav-container .sys-btn::after,
.nav-container .operation-portal-btn::before,
.nav-container .operation-portal-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    will-change: opacity, transform, background-position;
}

.nav-container .sys-btn::before,
.nav-container .operation-portal-btn::before {
    z-index: 0;
    background:
        radial-gradient(circle at 18% 35%, rgba(14, 165, 233, 0.18), transparent 26%),
        radial-gradient(circle at 78% 58%, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(110deg, transparent 8%, rgba(255, 255, 255, 0.6) 42%, transparent 70%);
    transform: translateX(-105%) skewX(-12deg);
}

.nav-container .sys-btn::after,
.nav-container .operation-portal-btn::after {
    z-index: 0;
    background:
        radial-gradient(circle at 18% 52%, rgba(14, 165, 233, 0.34) 0 3px, transparent 4px),
        radial-gradient(circle at 62% 34%, rgba(56, 189, 248, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 82% 68%, rgba(37, 99, 235, 0.22) 0 3px, transparent 4px);
    background-size: 86px 46px, 72px 42px, 98px 54px;
    mix-blend-mode: multiply;
}

.nav-container .sys-btn:hover,
.nav-container .sys-btn:focus-visible,
.nav-container .operation-portal-btn:hover,
.nav-container .operation-portal-btn:focus-visible {
    transform: translateY(-3px) scale(1.026) translate3d(0, 0, 0) !important;
    box-shadow:
        0 0 0 1px rgba(14, 165, 233, 0.12),
        0 18px 38px rgba(14, 165, 233, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.nav-container .sys-btn:hover::before,
.nav-container .sys-btn:focus-visible::before,
.nav-container .operation-portal-btn:hover::before,
.nav-container .operation-portal-btn:focus-visible::before {
    animation: navSceneSweep 1.25s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.nav-container .sys-btn:hover::after,
.nav-container .sys-btn:focus-visible::after,
.nav-container .operation-portal-btn:hover::after,
.nav-container .operation-portal-btn:focus-visible::after {
    opacity: 0.72;
    animation: navSceneDrift 1.8s linear infinite;
}

.nav-container .profile-btn::after {
    background:
        radial-gradient(circle at 50% 43%, rgba(14, 165, 233, 0.22) 0 10px, transparent 11px),
        radial-gradient(circle at 50% 78%, rgba(14, 165, 233, 0.16) 0 22px, transparent 23px),
        conic-gradient(from 90deg at 50% 52%, transparent, rgba(14, 165, 233, 0.22), transparent 32%);
}

.nav-container .profile-btn:hover::after,
.nav-container .profile-btn:focus-visible::after {
    animation: navScenePulse 1.25s ease-in-out infinite;
}

.nav-container .highlight-btn::after {
    background:
        linear-gradient(180deg, transparent 0 20%, rgba(14, 165, 233, 0.16) 22% 25%, transparent 28%),
        repeating-linear-gradient(90deg, rgba(14, 165, 233, 0.13) 0 2px, transparent 2px 14px);
}

.nav-container .highlight-btn:hover::after,
.nav-container .highlight-btn:focus-visible::after {
    opacity: 0.62;
    animation: navSceneScan 1.1s linear infinite;
}

.nav-container .followup-nav-btn::after {
    background:
        radial-gradient(circle at 48% 52%, rgba(239, 68, 68, 0.2) 0 8px, transparent 9px),
        radial-gradient(circle at 48% 52%, transparent 0 17px, rgba(239, 68, 68, 0.18) 18px 20px, transparent 21px),
        radial-gradient(circle at 48% 52%, transparent 0 30px, rgba(14, 165, 233, 0.14) 31px 33px, transparent 34px);
}

.nav-container .followup-nav-btn:hover::after,
.nav-container .followup-nav-btn:focus-visible::after {
    opacity: 0.82;
    animation: navScenePulse 1s ease-in-out infinite;
}

.nav-container .operation-portal-btn.request::after {
    background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.16) 0 1px, transparent 1px 18px),
        linear-gradient(180deg, rgba(14, 165, 233, 0.14) 0 1px, transparent 1px 16px),
        radial-gradient(circle at 72% 38%, rgba(16, 185, 129, 0.26) 0 4px, transparent 5px);
    background-size: 18px 100%, 100% 16px, 100% 100%;
}

.nav-container .operation-portal-btn.schedule::after {
    background:
        repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0 9px, transparent 9px 18px),
        linear-gradient(120deg, transparent, rgba(16, 185, 129, 0.22), transparent);
}

.nav-container a[href*="crm.assistline"]::after {
    background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.18) 0 2px, transparent 2px 16px),
        linear-gradient(180deg, rgba(16, 185, 129, 0.14) 0 2px, transparent 2px 14px),
        radial-gradient(circle at 70% 45%, rgba(14, 165, 233, 0.22) 0 5px, transparent 6px);
    background-size: 16px 100%, 100% 14px, 100% 100%;
}

.nav-container a[href*="voip"]::after {
    background:
        radial-gradient(circle at 38% 50%, transparent 0 8px, rgba(14, 165, 233, 0.22) 9px 11px, transparent 12px),
        radial-gradient(circle at 38% 50%, transparent 0 22px, rgba(14, 165, 233, 0.14) 23px 25px, transparent 26px),
        radial-gradient(circle at 38% 50%, transparent 0 36px, rgba(16, 185, 129, 0.12) 37px 39px, transparent 40px);
}

.nav-container a[href*="voip"]:hover::after,
.nav-container a[href*="voip"]:focus-visible::after {
    opacity: 0.86;
    animation: navSceneSignal 1.05s ease-in-out infinite;
}

.nav-container .logout-btn::after {
    background:
        linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.2), transparent),
        radial-gradient(circle at 82% 50%, rgba(239, 68, 68, 0.2) 0 10px, transparent 11px);
}

.nav-container .logout-btn:hover::after,
.nav-container .logout-btn:focus-visible::after {
    opacity: 0.78;
    animation: navSceneExit 1s ease-in-out infinite;
}

body.dark-theme .nav-container .sys-btn::after,
body.dark-theme .nav-container .operation-portal-btn::after {
    mix-blend-mode: screen;
}

.nav-container [data-anim] {
    position: relative !important;
    overflow: hidden !important;
}

.nav-container [data-anim] .al-nav-content {
    position: relative;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    pointer-events: none;
    color: inherit;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.nav-container [data-anim] canvas {
    border-radius: inherit;
    mix-blend-mode: multiply;
}

body.dark-theme .nav-container [data-anim] .al-nav-content {
    text-shadow: 0 1px 10px rgba(2, 6, 23, 0.8);
}

body.dark-theme .nav-container [data-anim] canvas {
    mix-blend-mode: screen;
}

body.accent-red:not(.admin-panel-open) .nav-container [data-anim] {
    background:
        linear-gradient(90deg, rgba(220, 38, 38, 0.92) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(255, 246, 246, 0.97)) !important;
    border-color: rgba(248, 113, 113, 0.42) !important;
}

body.dark-theme.accent-red:not(.admin-panel-open) .nav-container [data-anim] {
    background:
        linear-gradient(90deg, rgba(248, 113, 113, 0.92) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(30, 16, 28, 0.97), rgba(15, 8, 22, 0.98)) !important;
    color: #fff1f2 !important;
    border-color: rgba(248, 113, 113, 0.46) !important;
}

body.dark-theme.accent-red:not(.admin-panel-open) .nav-container [data-anim]:hover,
body.dark-theme.accent-red:not(.admin-panel-open) .nav-container [data-anim]:focus-visible {
    background:
        linear-gradient(90deg, rgba(248, 113, 113, 1) 0 4px, transparent 4px),
        linear-gradient(135deg, rgba(49, 14, 24, 0.98), rgba(20, 10, 24, 0.98)) !important;
    border-color: rgba(251, 113, 133, 0.72) !important;
    box-shadow:
        0 0 0 1px rgba(251, 113, 133, 0.16),
        0 22px 48px rgba(127, 29, 29, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

@media (prefers-reduced-motion: reduce) {
    .nav-container .sys-btn::before,
    .nav-container .sys-btn::after,
    .nav-container .operation-portal-btn::before,
    .nav-container .operation-portal-btn::after {
        animation: none !important;
    }
}

@media (max-width: 768px) {
}

/* Admin UX refresh: KVKK editor, vehicle list and free-resize text areas */
textarea,
textarea.admin-input,
.main-inp:is(textarea),
.crud-group textarea,
.followup-compose textarea,
.followup-form-textarea,
.contract-v2-new-names,
.contract-v2-field textarea,
.vehicle-bulk-textarea,
.kvkk-admin-textarea {
    resize: both !important;
    overflow: auto !important;
    min-width: min(260px, 100%) !important;
    max-width: min(96vw, 1400px) !important;
}

.kvkk-admin-card {
    position: relative !important;
    padding: 20px !important;
    overflow: visible !important;
    border: 1px solid rgba(14, 165, 233, 0.18) !important;
    border-radius: 28px !important;
    background:
        radial-gradient(circle at 5% 0%, rgba(14, 165, 233, 0.12), transparent 30%),
        radial-gradient(circle at 100% 8%, rgba(16, 185, 129, 0.1), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.86)) !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.86) !important;
}

.kvkk-admin-card::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 68%);
    pointer-events: none;
}

.kvkk-admin-card > * {
    position: relative;
    z-index: 1;
}

.kvkk-admin-head {
    margin: 0 0 18px !important;
    padding: 22px 24px !important;
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 92% 0%, rgba(125, 211, 252, 0.24), transparent 30%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 58%, #155e75 100%) !important;
    box-shadow: 0 18px 44px rgba(30, 64, 175, 0.2) !important;
    color: #ffffff !important;
}

.kvkk-admin-kicker {
    color: #7dd3fc !important;
}

.kvkk-admin-head h3 {
    color: #ffffff !important;
    font-size: clamp(24px, 2.2vw, 34px) !important;
    letter-spacing: -0.03em;
}

.kvkk-admin-head .desc {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px !important;
}

.kvkk-admin-actions .export-btn,
.kvkk-admin-actions .btn-add {
    min-height: 44px;
    border-radius: 14px !important;
    border-color: rgba(255, 255, 255, 0.26) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.kvkk-admin-actions .btn-add {
    background: linear-gradient(135deg, #10b981, #06b6d4) !important;
    border-color: transparent !important;
}

.kvkk-logo-editor {
    display: grid;
    grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin: 0 0 18px;
    padding: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.kvkk-logo-preview {
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 18px;
    overflow: hidden;
    border: 1px dashed rgba(14, 165, 233, 0.28);
    border-radius: 22px;
    background:
        linear-gradient(45deg, rgba(14, 165, 233, 0.05) 25%, transparent 25% 50%, rgba(14, 165, 233, 0.05) 50% 75%, transparent 75%),
        #ffffff;
    background-size: 24px 24px;
}

.kvkk-logo-preview img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.kvkk-logo-fields,
.kvkk-logo-fields label,
.kvkk-admin-grid label,
.kvkk-admin-block,
.kvkk-summary-item label,
.kvkk-section-item label {
    display: grid !important;
    gap: 8px !important;
}

.kvkk-logo-fields {
    align-content: start;
}

.kvkk-logo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kvkk-file-btn {
    position: relative;
    overflow: hidden;
}

.kvkk-file-btn input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.kvkk-admin-help {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.55;
}

.kvkk-admin-grid,
.kvkk-admin-grid.wide,
.kvkk-admin-block,
.kvkk-admin-section-box,
.kvkk-summary-item,
.kvkk-section-item {
    padding: 16px !important;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.045);
}

.kvkk-admin-grid,
.kvkk-admin-grid.wide {
    margin: 0 0 14px;
}

.kvkk-admin-block,
.kvkk-admin-section-box {
    margin: 0 0 14px;
}

.kvkk-admin-grid label span,
.kvkk-admin-block > span,
.kvkk-summary-item span,
.kvkk-section-item span,
.kvkk-logo-fields span {
    color: #64748b !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

.kvkk-admin-grid .admin-input,
.kvkk-admin-block .admin-input,
.kvkk-summary-item .admin-input,
.kvkk-section-item .admin-input,
.kvkk-logo-fields .admin-input {
    margin-bottom: 0 !important;
    border-radius: 14px !important;
    background: rgba(248, 250, 252, 0.96) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.kvkk-admin-textarea {
    min-height: 108px !important;
    line-height: 1.55 !important;
    text-align: left !important;
}

.kvkk-editor-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.kvkk-editor-title span {
    color: #0f172a !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.kvkk-editor-title small {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
}

.kvkk-summary-editor,
.kvkk-section-editor {
    display: grid;
    gap: 12px;
}

.kvkk-summary-editor {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kvkk-summary-item,
.kvkk-section-item {
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.08), transparent 32%),
        rgba(255, 255, 255, 0.86);
}

.kvkk-section-item {
    display: grid;
    gap: 12px;
}

.kvkk-section-item-head,
.kvkk-section-extra-grid {
    display: grid;
    grid-template-columns: minmax(90px, 0.28fr) minmax(0, 1fr);
    gap: 12px;
}

.kvkk-section-extra-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kvkk-admin-status {
    margin: 8px 0 0 !important;
    border-radius: 16px !important;
}

.vehicle-admin-card {
    overflow: visible !important;
}

.vehicle-filter-grid,
.vehicle-bulk-panel,
.vehicle-bulk-add,
.vehicle-table-wrap {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.vehicle-table-wrap {
    max-height: none !important;
    overflow: visible !important;
    contain: paint;
}

.vehicle-admin-table {
    table-layout: fixed;
}

.vehicle-admin-table th:first-child,
.vehicle-admin-table td:first-child {
    width: auto;
    text-align: left !important;
}

.vehicle-admin-table th,
.vehicle-admin-table td {
    vertical-align: middle;
}

.vehicle-model-name,
.vehicle-admin-table small {
    max-width: min(760px, 64vw) !important;
    text-align: left !important;
}

.vehicle-model-name {
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.vehicle-admin-table td:nth-child(2),
.vehicle-admin-table td:nth-child(3),
.vehicle-admin-table th:nth-child(2),
.vehicle-admin-table th:nth-child(3) {
    text-align: left;
}

.vehicle-admin-row {
    transition: background-color 0.12s ease !important;
}

.vehicle-admin-row:hover td {
    transform: none !important;
}

body.dark-theme .kvkk-admin-card {
    background:
        radial-gradient(circle at 5% 0%, rgba(14, 165, 233, 0.18), transparent 30%),
        radial-gradient(circle at 100% 8%, rgba(16, 185, 129, 0.12), transparent 28%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.88)) !important;
}

body.dark-theme .kvkk-logo-editor,
body.dark-theme .kvkk-admin-grid,
body.dark-theme .kvkk-admin-grid.wide,
body.dark-theme .kvkk-admin-block,
body.dark-theme .kvkk-admin-section-box,
body.dark-theme .kvkk-summary-item,
body.dark-theme .kvkk-section-item {
    background: var(--adm-texture-inset) !important;
    border-color: var(--adm-border) !important;
}

body.dark-theme .kvkk-logo-preview {
    background:
        linear-gradient(45deg, rgba(56, 189, 248, 0.06) 25%, transparent 25% 50%, rgba(56, 189, 248, 0.06) 50% 75%, transparent 75%),
        rgba(15, 23, 42, 0.82) !important;
}

body.dark-theme .kvkk-editor-title span {
    color: var(--adm-text) !important;
}

body.dark-theme .kvkk-admin-help,
body.dark-theme .kvkk-editor-title small {
    color: var(--adm-text-muted) !important;
}

@media (max-width: 1180px) {
    .kvkk-summary-editor,
    .kvkk-section-extra-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .kvkk-logo-editor,
    .kvkk-section-item-head {
        grid-template-columns: 1fr;
    }
}

/* Admin sidebar polish: clipped animated hover flow */
#admin-panel .admin-tab-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0);
    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease,
        transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

#admin-panel .admin-tab-btn:hover {
    background:
        linear-gradient(110deg,
            transparent 0%,
            rgba(239, 68, 68, 0.16) 18%,
            rgba(14, 165, 233, 0.18) 40%,
            rgba(139, 92, 246, 0.18) 62%,
            rgba(239, 68, 68, 0.14) 82%,
            transparent 100%),
        #f8fafc !important;
    background-size: 240% 100% !important;
    animation: adminNavGradientFlow 1.8s linear infinite;
    transform: translateX(6px) translateY(-1px) !important;
    box-shadow:
        0 10px 24px rgba(14, 165, 233, 0.12),
        inset 0 0 0 1px rgba(14, 165, 233, 0.18);
}

body.dark-theme #admin-panel .admin-tab-btn:hover {
    background:
        linear-gradient(110deg,
            transparent 0%,
            rgba(248, 113, 113, 0.16) 18%,
            rgba(56, 189, 248, 0.18) 40%,
            rgba(167, 139, 250, 0.2) 62%,
            rgba(248, 113, 113, 0.14) 82%,
            transparent 100%),
        var(--adm-bg-elevated) !important;
    background-size: 240% 100% !important;
    box-shadow:
        0 12px 28px rgba(14, 165, 233, 0.16),
        inset 0 0 0 1px rgba(56, 189, 248, 0.16);
}

@keyframes adminNavGradientFlow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 240% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #admin-panel .admin-tab-btn {
        animation: none !important;
        transition: none !important;
    }
}

/* Lightweight glass correction for main navigation and admin sidebar. */
.nav-container,
html.chrome-browser .nav-container {
    width: 300px !important;
    gap: 10px !important;
}

.nav-container .kontrat-btn-wrapper,
.nav-container .operation-portal-actions {
    width: 100% !important;
    min-width: 0 !important;
}

.nav-container .operation-portal-btn.schedule {
    --nav-line: #10b981;
}

.nav-container .logout-btn {
    --nav-line: #ef4444;
    --nav-accent: #0ea5e9;
    color: #991b1b !important;
}

.nav-container .followup-nav-btn.has-normal-followups,
.nav-container .followup-nav-btn.has-followups {
    --nav-line: #ef4444;
    color: #991b1b !important;
}

.nav-container .followup-nav-btn.has-high-followups,
.nav-container .followup-nav-btn.has-high-followups.has-followups {
    --nav-line: #f97316;
    --nav-accent: #ef4444;
    color: #9a3412 !important;
    animation: none !important;
}

.nav-container .al-nav-content {
    position: relative !important;
    z-index: 1 !important;
    gap: 8px !important;
    color: inherit !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38) !important;
}

body.dark-theme .nav-container .sys-btn:hover,
body.dark-theme .nav-container .sys-btn:focus-visible {
    color: #ffffff !important;
    border-color: rgba(125, 211, 252, 0.38) !important;
    box-shadow:
        0 12px 24px rgba(14, 165, 233, 0.13),
        0 8px 18px rgba(2, 6, 23, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

#admin-panel .admin-tab-btn {
    --adm-line: #0ea5e9;
    min-height: 46px !important;
    border-radius: 13px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #475569 !important;
    box-shadow: none !important;
    transform: translate3d(0, 0, 0) !important;
    transition:
        transform 0.16s ease,
        color 0.16s ease,
        background-color 0.16s ease,
        border-color 0.16s ease,
        box-shadow 0.16s ease !important;
    will-change: auto !important;
}

#admin-panel .admin-tab-btn::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
    opacity: 0 !important;
    background:
        linear-gradient(100deg,
            rgba(14, 165, 233, 0.06) 0%,
            rgba(14, 165, 233, 0.16) 30%,
            rgba(239, 68, 68, 0.09) 58%,
            rgba(14, 165, 233, 0.08) 100%) !important;
    background-size: 220% 100% !important;
    animation: none !important;
    transition: opacity 0.16s ease !important;
}

#admin-panel .admin-tab-btn::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 4px !important;
    border-radius: 999px !important;
    background: var(--adm-line) !important;
    box-shadow: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

#admin-panel .admin-tab-btn:hover:not(.active),
#admin-panel .admin-tab-btn:focus-visible:not(.active) {
    color: #0f172a !important;
    border-color: rgba(14, 165, 233, 0.22) !important;
    background-color: rgba(255, 255, 255, 0.36) !important;
    box-shadow: 0 10px 22px rgba(14, 165, 233, 0.1) !important;
    transform: translate3d(3px, 0, 0) !important;
}

#admin-panel .admin-tab-btn:hover:not(.active)::before,
#admin-panel .admin-tab-btn:focus-visible:not(.active)::before {
    opacity: 1 !important;
    animation: adminTabHoverFlow 3s linear infinite !important;
}

#admin-panel .admin-tab-btn:hover:not(.active)::after,
#admin-panel .admin-tab-btn:focus-visible:not(.active)::after {
    opacity: 1 !important;
}

#admin-panel .admin-tab-btn.active,
#admin-panel .admin-tab-btn.active:hover,
#admin-panel .admin-tab-btn.active:focus-visible {
    color: #0284c7 !important;
    border-color: transparent !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transform: translate3d(0, 0, 0) !important;
}

#admin-panel .admin-tab-btn.active::before,
#admin-panel .admin-tab-btn.active:hover::before,
#admin-panel .admin-tab-btn.active:focus-visible::before {
    opacity: 0 !important;
    animation: none !important;
}

#admin-panel .admin-tab-btn.active::after,
#admin-panel .admin-tab-btn.active:hover::after,
#admin-panel .admin-tab-btn.active:focus-visible::after {
    opacity: 1 !important;
}

body.accent-red #admin-panel .admin-tab-btn {
    --adm-line: #ef4444;
}

body.accent-red #admin-panel .admin-tab-btn.active,
body.accent-red #admin-panel .admin-tab-btn.active:hover,
body.accent-red #admin-panel .admin-tab-btn.active:focus-visible {
    color: #dc2626 !important;
}

body.dark-theme #admin-panel .admin-tab-btn {
    color: #cbd5e1 !important;
}

body.dark-theme #admin-panel .admin-tab-btn:hover:not(.active),
body.dark-theme #admin-panel .admin-tab-btn:focus-visible:not(.active) {
    color: #ffffff !important;
    border-color: rgba(125, 211, 252, 0.2) !important;
    background-color: rgba(15, 23, 42, 0.38) !important;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.22) !important;
}

body.dark-theme #admin-panel .admin-tab-btn.active,
body.dark-theme #admin-panel .admin-tab-btn.active:hover,
body.dark-theme #admin-panel .admin-tab-btn.active:focus-visible {
    color: #7dd3fc !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.dark-theme.accent-red #admin-panel .admin-tab-btn.active,
body.dark-theme.accent-red #admin-panel .admin-tab-btn.active:hover,
body.dark-theme.accent-red #admin-panel .admin-tab-btn.active:focus-visible {
    color: #fecaca !important;
}

@keyframes navGlassHoverFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@keyframes adminTabHoverFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@media (max-width: 768px) {
    .nav-container,
    html.chrome-browser .nav-container {
        width: min(300px, calc(100vw - 36px)) !important;
        gap: 9px !important;
    }

    .nav-container .operation-portal-actions {
        order: -1;
        width: 100% !important;
        min-width: 100% !important;
        flex: 0 0 100% !important;
        flex-direction: row !important;
        gap: 8px !important;
    }

    .nav-container .operation-portal-actions .operation-portal-btn,
    html.chrome-browser .nav-container .operation-portal-actions .operation-portal-btn {
        width: auto !important;
        min-width: 0 !important;
        flex: 1 1 0 !important;
        padding: 0 8px !important;
        font-size: 9.2px !important;
        letter-spacing: 0.45px !important;
        white-space: nowrap !important;
    }

    .nav-container .sys-btn:hover,
    .nav-container .sys-btn:focus-visible {
        transform: translate3d(-2px, -1px, 0) scale(1.012) !important;
    }
}

/* En son gezinme stillerindeki paint containment, karta bağlı bildirim balonunu kırpmasın. */
.nav-container .followup-nav-btn {
    overflow: visible !important;
    contain: layout !important;
}

@media (max-width: 760px) {
    .nav-container .followup-nav-btn .followup-nudge.visible {
        animation: none;
    }
}

/* Temsilci mobil uygulama yüzeyi */
.mobile-tabbar,
.mobile-sheet-backdrop,
.mobile-more-sheet,
.mobile-keyboard-bar,
.mobile-profile-fab {
    display: none;
}

@media (max-width: 820px), (max-width: 950px) and (orientation: landscape) and (max-height: 520px) {
    :root {
        --mobile-nav-height: 72px;
        --mobile-page-gutter: clamp(14px, 4vw, 22px);
    }

    html {
        min-height: 100%;
        background: #eef4f9;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        scroll-padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom) + 20px);
    }

    body {
        width: 100%;
        min-height: 100svh;
        min-height: 100dvh;
        height: auto;
        padding: 0 !important;
        overflow-x: hidden;
        overflow-y: auto;
        align-items: flex-start;
        overscroll-behavior-y: contain;
        -webkit-tap-highlight-color: transparent;
    }

    body.mobile-more-open {
        overflow: hidden;
        touch-action: none;
    }

    body.rep-authenticated:not(.admin-panel-open) {
        display: block;
        padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom)) !important;
    }

    body.rep-authenticated:not(.admin-panel-open) #nav-menu,
    body.rep-authenticated:not(.admin-panel-open) .theme-btn-container {
        display: none !important;
    }

    body.rep-authenticated:not(.admin-panel-open) #admin-trigger {
        top: calc(10px + env(safe-area-inset-top));
        right: 12px;
        bottom: auto !important;
        left: auto !important;
        width: 42px;
        height: 42px;
    }

    body.rep-authenticated.mobile-surface-open:not(.admin-panel-open) #admin-trigger {
        opacity: 0;
        pointer-events: none;
    }

    #bg-canvas {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    #main-card.glass-card {
        width: 100% !important;
        max-width: none !important;
        min-height: calc(100svh - var(--mobile-nav-height) - env(safe-area-inset-bottom));
        min-height: calc(100dvh - var(--mobile-nav-height) - env(safe-area-inset-bottom));
        margin: 0 !important;
        padding:
            calc(22px + env(safe-area-inset-top))
            var(--mobile-page-gutter)
            40px !important;
        justify-content: flex-start;
        border: 0 !important;
        border-radius: 0 !important;
        background:
            radial-gradient(circle at 100% 0%, rgba(14, 165, 233, 0.13), transparent 32%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 250, 252, 0.96)) !important;
        box-shadow: none !important;
        text-align: left;
        overflow: visible;
    }

    body.dark-theme #main-card.glass-card {
        background:
            radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.14), transparent 34%),
            linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 15, 28, 0.98)) !important;
    }

    #main-card .logo-box {
        align-self: flex-start;
        min-height: 34px;
    }

    #main-card .logo-box img {
        width: 124px;
        max-width: 38vw;
        margin: 0 0 32px;
    }

    #main-card > h1 {
        width: 100%;
        font-size: clamp(25px, 7.2vw, 32px);
        line-height: 1.08;
        letter-spacing: -0.035em;
        text-align: left;
    }

    #main-card > .desc {
        width: 100%;
        margin: 9px 0 22px;
        color: #64748b;
        font-size: 13px;
        line-height: 1.5;
        text-align: left;
    }

    #main-card .input-wrapper {
        z-index: 210;
    }

    #main-card input.main-inp,
    #auth-overlay input.main-inp,
    #kontrat-modal input.main-inp {
        min-height: 58px;
        padding: 0 18px;
        border: 1px solid #d8e3ec;
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.92);
        font-size: 16px;
        text-align: left;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
        transform: none;
        appearance: none;
        -webkit-appearance: none;
    }

    #main-card input.main-inp:focus,
    #auth-overlay input.main-inp:focus,
    #kontrat-modal input.main-inp:focus {
        transform: none;
        border-color: #0ea5e9;
        box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.13), 0 16px 32px rgba(14, 165, 233, 0.1);
    }

    #main-card .query-helper {
        min-height: 34px;
        margin: 9px 3px 0;
        text-align: left;
    }

    #main-card button.sorgula-btn {
        min-height: 54px;
        margin-top: 12px;
        padding: 0 20px;
        border-radius: 17px;
        background: linear-gradient(135deg, #0f172a, #1e3a5f);
        font-size: 14px;
        letter-spacing: 0.08em;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
        touch-action: manipulation;
    }

    #main-card #result-area {
        margin-top: 14px;
        gap: 10px;
    }

    #main-card .display-box {
        min-height: 78px;
        padding: 17px;
        border-width: 1px;
        border-style: solid;
        border-radius: 18px;
        background: rgba(241, 245, 249, 0.76);
        font-size: 16px;
        line-height: 1.35;
        text-align: center;
    }

    #main-card #servis-btn {
        min-height: 60px;
        padding: 13px 16px;
        border-radius: 17px;
    }

    #main-card .footer-elite {
        margin-top: auto;
        padding: 34px 6px 8px;
        color: #94a3b8;
        font-size: 9px;
        line-height: 1.55;
        text-align: center;
    }

    #main-card .suggestions-box,
    #kontrat-modal .suggestions-box {
        top: calc(100% + 7px);
        max-height: min(330px, 38dvh);
        border-radius: 17px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 24px 58px rgba(15, 23, 42, 0.22);
    }

    .sug-item {
        min-height: 56px;
        padding: 12px 14px;
    }

    .mobile-tabbar {
        --liquid-glare-x: 50%;
        --liquid-tail-x: 50%;
        position: fixed;
        z-index: 9990;
        right: max(8px, env(safe-area-inset-right));
        bottom: max(7px, env(safe-area-inset-bottom));
        left: max(8px, env(safe-area-inset-left));
        isolation: isolate;
        height: var(--mobile-nav-height);
        max-width: 560px;
        margin: 0 auto;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: stretch;
        padding: 6px 5px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.84);
        border-radius: 26px;
        background:
            linear-gradient(128deg, rgba(255, 255, 255, 0.26), rgba(186, 230, 253, 0.08) 48%, rgba(255, 255, 255, 0.16)),
            rgba(226, 239, 250, 0.1);
        box-shadow:
            0 20px 48px rgba(15, 23, 42, 0.16),
            0 5px 16px rgba(14, 165, 233, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.96),
            inset 0 -1px 0 rgba(100, 116, 139, 0.08);
        backdrop-filter: blur(18px) saturate(210%) contrast(1.06) brightness(1.05);
        -webkit-backdrop-filter: blur(18px) saturate(210%) contrast(1.06) brightness(1.05);
        transition:
            opacity 0.18s ease,
            transform 0.19s cubic-bezier(0.18, 1.3, 0.3, 1),
            border-radius 0.19s cubic-bezier(0.18, 1.3, 0.3, 1),
            box-shadow 0.19s ease,
            background 0.16s ease;
        transform: translateZ(0);
        will-change: transform, opacity;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }

    body.rep-authenticated:not(.admin-panel-open) .mobile-tabbar {
        display: grid;
    }

    .mobile-tabbar::before {
        content: "";
        position: absolute;
        z-index: -2;
        inset: 0;
        border-radius: inherit;
        background:
            radial-gradient(circle at var(--liquid-glare-x) -28%, rgba(255, 255, 255, 0.64), transparent 32%),
            radial-gradient(circle at calc(var(--liquid-glare-x) + 16%) 138%, rgba(56, 189, 248, 0.13), transparent 42%),
            linear-gradient(102deg, rgba(255, 255, 255, 0.09), transparent 28%, rgba(125, 211, 252, 0.06) 70%, transparent);
        opacity: 0.82;
        pointer-events: none;
        transition: background-position 0.22s ease;
    }

    .mobile-tabbar::after {
        content: "";
        position: absolute;
        z-index: 4;
        inset: 1px;
        border: 1px solid rgba(255, 255, 255, 0.48);
        border-radius: 25px;
        box-shadow:
            inset 12px 9px 22px rgba(255, 255, 255, 0.12),
            inset -12px -9px 22px rgba(30, 64, 175, 0.035);
        pointer-events: none;
    }

    .mobile-tabbar.is-pressing {
        border-radius: 30px;
        background:
            linear-gradient(128deg, rgba(255, 255, 255, 0.34), rgba(186, 230, 253, 0.1) 48%, rgba(255, 255, 255, 0.2)),
            rgba(224, 242, 254, 0.12);
        box-shadow:
            0 28px 66px rgba(15, 23, 42, 0.2),
            0 10px 24px rgba(14, 165, 233, 0.11),
            inset 0 1px 0 rgba(255, 255, 255, 0.96),
            inset 0 -1px 0 rgba(100, 116, 139, 0.07);
        transform: translate3d(0, -5px, 0) scale3d(1.018, 1.075, 1);
    }

    .mobile-tabbar-glare {
        position: absolute;
        z-index: 0;
        top: -34%;
        left: var(--liquid-glare-x);
        width: 118px;
        height: 118px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.38);
        filter: blur(28px);
        opacity: 0.72;
        pointer-events: none;
        transform: translate3d(-50%, 0, 0);
        transition: left 0.08s linear, opacity 0.16s ease, transform 0.18s ease;
        will-change: left;
    }

    .mobile-tabbar-active-pill {
        position: absolute;
        z-index: 1;
        top: 6px;
        left: 0;
        width: 0;
        height: calc(100% - 12px);
        border: 1px solid rgba(255, 255, 255, 0.72);
        border-radius: 20px;
        background:
            radial-gradient(circle at 30% 7%, rgba(255, 255, 255, 0.68), transparent 34%),
            radial-gradient(circle at var(--liquid-tail-x) 105%, rgba(56, 189, 248, 0.17), transparent 42%),
            linear-gradient(138deg, rgba(255, 255, 255, 0.32), rgba(186, 230, 253, 0.11) 54%, rgba(255, 255, 255, 0.2));
        box-shadow:
            0 11px 24px rgba(8, 121, 238, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.88),
            inset 0 -1px 0 rgba(14, 116, 210, 0.07),
            inset 8px 0 20px rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(12px) saturate(225%) brightness(1.08);
        -webkit-backdrop-filter: blur(12px) saturate(225%) brightness(1.08);
        pointer-events: none;
        transform: translate3d(0, 0, 0);
        transition:
            transform 0.38s cubic-bezier(0.16, 1.42, 0.3, 1),
            width 0.38s cubic-bezier(0.16, 1.42, 0.3, 1),
            height 0.18s cubic-bezier(0.2, 1.3, 0.32, 1),
            top 0.18s cubic-bezier(0.2, 1.3, 0.32, 1),
            border-radius 0.18s ease,
            filter 0.14s ease;
        transform-origin: center;
        will-change: transform, width;
    }

    .mobile-tabbar-active-pill::before,
    .mobile-tabbar-active-pill::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .mobile-tabbar-active-pill::before {
        inset: 2px 7px auto;
        height: 32%;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0));
        filter: blur(1px);
        opacity: 0.72;
    }

    .mobile-tabbar-active-pill::after {
        left: var(--liquid-tail-x);
        bottom: 7%;
        width: 28%;
        height: 18%;
        border-radius: 50%;
        background: rgba(56, 189, 248, 0.22);
        filter: blur(5px);
        transform: translateX(-50%);
        transition: left 0.08s linear;
    }

    .mobile-tabbar.is-pressing .mobile-tabbar-active-pill {
        top: 3px;
        height: calc(100% - 6px);
        border-radius: 23px;
        filter: brightness(1.08) saturate(1.2);
    }

    .mobile-tabbar.is-scrubbing {
        touch-action: none;
    }

    .mobile-tabbar.is-scrubbing .mobile-tabbar-glare {
        opacity: 1;
        transform: translate3d(-50%, -4px, 0) scale(1.22);
        transition: none;
    }

    .mobile-tabbar.is-scrubbing .mobile-tabbar-active-pill {
        transition:
            height 0.1s ease,
            top 0.1s ease,
            filter 0.1s ease;
        filter: brightness(1.12) saturate(1.28) drop-shadow(0 11px 16px rgba(14, 165, 233, 0.13));
    }

    body.dark-theme .mobile-tabbar {
        border-color: rgba(186, 218, 255, 0.24);
        background:
            linear-gradient(132deg, rgba(51, 65, 85, 0.32), rgba(8, 15, 28, 0.2)),
            rgba(8, 15, 28, 0.22);
        box-shadow:
            0 24px 60px rgba(2, 6, 23, 0.58),
            inset 0 1px 0 rgba(226, 232, 240, 0.14),
            inset 0 -1px 0 rgba(2, 6, 23, 0.44);
    }

    body.dark-theme .mobile-tabbar.is-pressing {
        background:
            linear-gradient(132deg, rgba(71, 85, 105, 0.38), rgba(8, 15, 28, 0.22)),
            rgba(8, 15, 28, 0.24);
        box-shadow:
            0 32px 76px rgba(2, 6, 23, 0.68),
            0 11px 30px rgba(14, 165, 233, 0.16),
            inset 0 1px 0 rgba(226, 232, 240, 0.18);
    }

    body.dark-theme .mobile-tabbar::before {
        background:
            radial-gradient(circle at var(--liquid-glare-x) -24%, rgba(125, 211, 252, 0.24), transparent 35%),
            radial-gradient(circle at calc(var(--liquid-glare-x) + 18%) 135%, rgba(99, 102, 241, 0.2), transparent 44%);
    }

    body.dark-theme .mobile-tabbar-active-pill {
        border-color: rgba(186, 230, 253, 0.28);
        background:
            radial-gradient(circle at 28% 8%, rgba(186, 230, 253, 0.2), transparent 37%),
            radial-gradient(circle at var(--liquid-tail-x) 108%, rgba(56, 189, 248, 0.16), transparent 42%),
            linear-gradient(142deg, rgba(71, 85, 105, 0.34), rgba(14, 116, 144, 0.12));
        box-shadow:
            0 12px 28px rgba(2, 132, 199, 0.2),
            inset 0 1px 0 rgba(226, 232, 240, 0.2),
            inset 0 -1px 0 rgba(2, 6, 23, 0.38);
    }

    .mobile-tabbar-item {
        --tab-color: #64748b;
        --tab-soft: rgba(100, 116, 139, 0.12);
        --tab-shadow: rgba(100, 116, 139, 0.16);
        position: relative;
        z-index: 2;
        min-width: 0;
        min-height: 58px;
        border: 0;
        border-radius: 18px;
        background: transparent;
        color: var(--tab-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 4px 2px;
        text-decoration: none;
        font: inherit;
        font-size: 9.5px;
        font-weight: 850;
        line-height: 1;
        cursor: pointer;
        opacity: 1;
        touch-action: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-user-drag: none;
        transition:
            color 0.2s ease,
            transform 0.24s cubic-bezier(0.22, 1.2, 0.36, 1),
            opacity 0.2s ease;
    }

    .mobile-tabbar-item > span:last-child {
        width: 100%;
        max-width: 100%;
        min-height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal;
        overflow: hidden;
        overflow-wrap: normal;
        line-height: 1.05;
        letter-spacing: 0;
    }

    .mobile-tabbar-item:not([data-mobile-tab="shift-request"]) > span:last-child {
        white-space: nowrap;
    }

    .mobile-tabbar-item[data-mobile-tab="shift-request"] > span:last-child {
        width: 100%;
        max-width: 100%;
        line-height: 1;
        transform: translateY(1px);
    }

    .mobile-tabbar-stacked-label {
        flex-direction: column;
        gap: 0;
    }

    .mobile-tabbar-stacked-label > span {
        display: block;
        width: 100%;
        text-align: center;
    }

    .mobile-tabbar-item[data-mobile-tab="vehicle"] {
        --tab-color: #111827;
        --tab-soft: transparent;
        --tab-shadow: transparent;
    }

    .mobile-tabbar-item[data-mobile-tab="chat"] {
        --tab-color: #111827;
        --tab-soft: transparent;
        --tab-shadow: transparent;
    }

    .mobile-tabbar-item[data-mobile-tab="schedule"] {
        --tab-color: #075985;
        --tab-soft: transparent;
        --tab-shadow: transparent;
    }

    .mobile-tabbar-item[data-mobile-tab="shift-request"] {
        --tab-color: #111827;
        --tab-soft: transparent;
        --tab-shadow: transparent;
    }

    .mobile-tabbar-item[data-mobile-tab="menu"] {
        --tab-color: #111827;
        --tab-soft: transparent;
        --tab-shadow: transparent;
    }

    .mobile-tabbar-item svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.65;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-tabbar-item:not(.mobile-tabbar-primary) svg {
        box-sizing: content-box;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        stroke-width: 1.7;
    }

    .mobile-tabbar-item.active,
    .mobile-tabbar-item:focus-visible {
        color: var(--tab-color);
        background: transparent;
        outline: none;
        opacity: 1;
    }

    .mobile-tabbar-item.active {
        transform: translateY(-1px);
    }

    .mobile-tabbar-item.liquid-preview {
        color: var(--tab-color);
        opacity: 1;
        transform: translateY(-2px) scale(1.035);
    }

    body.dark-theme .mobile-tabbar-item {
        color: var(--tab-color);
    }

    body.dark-theme .mobile-tabbar-item:not([data-mobile-tab="schedule"]) {
        color: #e5e7eb;
    }

    body.dark-theme .mobile-tabbar-item.active,
    body.dark-theme .mobile-tabbar-item:focus-visible {
        color: var(--tab-color);
        background: transparent;
    }

    body.dark-theme .mobile-tabbar-item:not([data-mobile-tab="schedule"]).active,
    body.dark-theme .mobile-tabbar-item:not([data-mobile-tab="schedule"]):focus-visible {
        color: #ffffff;
    }

    body.dark-theme .mobile-tabbar-item.liquid-preview {
        color: var(--tab-color);
    }

    .mobile-tabbar-primary {
        z-index: 3;
        gap: 3px;
        opacity: 1;
        color: #075985;
    }

    .mobile-tabbar-primary-icon {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        margin-top: -4px;
        border: 2px solid rgba(255, 255, 255, 0.9);
        border-radius: 13px;
        background: linear-gradient(135deg, #0ea5e9, #2563eb);
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(14, 165, 233, 0.34);
        font-size: 0;
        font-weight: 950;
    }

    .mobile-tabbar-primary-icon svg {
        width: 23px;
        height: 23px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        stroke-width: 1.7;
    }

    .mobile-tabbar-primary > span:last-child {
        color: #075985;
        font-weight: 950;
        text-shadow: 0 1px 0 rgba(255, 255, 255, 0.52);
    }

    body.dark-theme .mobile-tabbar-primary-icon {
        border-color: rgba(15, 23, 42, 0.92);
    }

    body.dark-theme .mobile-tabbar-primary > span:last-child {
        color: #7dd3fc;
        text-shadow: none;
    }

    .mobile-profile-fab {
        position: fixed;
        z-index: 9992;
        top: calc(10px + env(safe-area-inset-top));
        right: max(12px, env(safe-area-inset-right));
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 16px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(224, 242, 254, 0.34)),
            rgba(255, 255, 255, 0.32);
        color: #0f172a;
        box-shadow:
            0 18px 40px rgba(15, 23, 42, 0.14),
            inset 0 1px 0 rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(16px) saturate(190%);
        -webkit-backdrop-filter: blur(16px) saturate(190%);
        touch-action: manipulation;
    }

    body.rep-authenticated:not(.admin-panel-open) .mobile-profile-fab {
        display: grid;
    }

    body.assistline-admin-access:not(.admin-panel-open) .mobile-profile-fab {
        right: max(64px, calc(env(safe-area-inset-right) + 64px));
    }

    .mobile-profile-fab svg {
        width: 22px;
        height: 22px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.85;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-profile-fab:hover,
    .mobile-profile-fab:focus-visible {
        outline: none;
        transform: translateY(-1px);
        box-shadow:
            0 22px 48px rgba(15, 23, 42, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.94);
    }

    body.dark-theme .mobile-profile-fab {
        border-color: rgba(186, 218, 255, 0.24);
        background:
            linear-gradient(135deg, rgba(51, 65, 85, 0.4), rgba(14, 116, 144, 0.18)),
            rgba(15, 23, 42, 0.42);
        color: #e2e8f0;
        box-shadow:
            0 22px 54px rgba(2, 6, 23, 0.5),
            inset 0 1px 0 rgba(226, 232, 240, 0.14);
    }

    body.mobile-surface-open:not(.admin-panel-open) .mobile-profile-fab,
    body.mobile-more-open:not(.admin-panel-open) .mobile-profile-fab,
    body.chat-dock-open:not(.admin-panel-open) .mobile-profile-fab {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px) scale(0.94);
    }

    .mobile-sheet-backdrop {
        position: fixed;
        inset: 0;
        z-index: 100020;
        background: rgba(15, 23, 42, 0.5);
        opacity: 0;
        pointer-events: none;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        transition: opacity 0.2s ease;
    }

    .mobile-sheet-backdrop.active {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-more-sheet {
        position: fixed;
        z-index: 100030;
        right: max(7px, env(safe-area-inset-right));
        bottom: max(7px, env(safe-area-inset-bottom));
        left: max(7px, env(safe-area-inset-left));
        display: block;
        width: auto;
        max-width: 560px;
        max-height: min(78dvh, 720px);
        margin: 0 auto;
        padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.82);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3);
        transform: translateY(calc(100% + 32px));
        visibility: hidden;
        transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.28s;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-more-sheet.active {
        transform: translateY(0);
        visibility: visible;
    }

    body.dark-theme .mobile-more-sheet {
        border-color: rgba(148, 163, 184, 0.22);
        background: rgba(15, 23, 42, 0.98);
        color: #f8fafc;
    }

    .mobile-sheet-handle {
        width: 42px;
        height: 5px;
        margin: 2px auto 12px;
        border-radius: 999px;
        background: #cbd5e1;
    }

    .mobile-more-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 14px;
    }

    .mobile-more-head span {
        color: #0ea5e9;
        font-size: 10px;
        font-weight: 950;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .mobile-more-head h2 {
        margin: 2px 0 0;
        font-size: 22px;
        letter-spacing: -0.025em;
    }

    .mobile-more-head > button {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border: 0;
        border-radius: 50%;
        background: #f1f5f9;
        color: #334155;
        font: inherit;
        font-weight: 900;
    }

    body.dark-theme .mobile-more-head > button {
        background: #1e293b;
        color: #e2e8f0;
    }

    .mobile-more-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .mobile-more-grid > button,
    .mobile-more-grid > a {
        min-width: 0;
        min-height: 112px;
        padding: 13px;
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        background: #f8fafc;
        color: #0f172a;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        text-decoration: none;
        font: inherit;
        cursor: pointer;
        touch-action: manipulation;
    }

    body.dark-theme .mobile-more-grid > button,
    body.dark-theme .mobile-more-grid > a {
        border-color: #334155;
        background: #111c2f;
        color: #f8fafc;
    }

    .mobile-more-grid strong {
        margin-top: 9px;
        font-size: 12px;
        font-weight: 950;
    }

    .mobile-more-grid small {
        margin-top: 3px;
        color: #64748b;
        font-size: 9.5px;
        font-weight: 750;
        line-height: 1.35;
    }

    body.dark-theme .mobile-more-grid small {
        color: #94a3b8;
    }

    .mobile-more-icon {
        display: grid;
        place-items: center;
        width: 31px;
        height: 31px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 950;
    }

    .mobile-more-icon.blue { background: #dbeafe; color: #1d4ed8; }
    .mobile-more-icon.violet { background: #ede9fe; color: #7c3aed; }
    .mobile-more-icon.orange { background: #ffedd5; color: #c2410c; }
    .mobile-more-icon.slate { background: #e2e8f0; color: #334155; }
    .mobile-more-icon.green { background: #d1fae5; color: #047857; }
    .mobile-more-icon.red { background: #fee2e2; color: #b91c1c; }

    .mobile-logout-action {
        width: 100%;
        min-height: 48px;
        margin-top: 12px;
        border: 1px solid rgba(239, 68, 68, 0.22);
        border-radius: 15px;
        background: rgba(254, 226, 226, 0.68);
        color: #b91c1c;
        font: inherit;
        font-size: 12px;
        font-weight: 900;
    }

    .mobile-keyboard-bar,
    body.mobile-keyboard-open .mobile-keyboard-bar {
        display: none !important;
    }

    body.mobile-keyboard-open .mobile-tabbar {
        opacity: 1;
        pointer-events: auto;
        transform: translateZ(0);
    }

    #auth-overlay {
        min-height: var(--mobile-viewport-height, 100dvh);
        height: var(--mobile-viewport-height, 100dvh);
        padding:
            max(14px, env(safe-area-inset-top))
            max(14px, env(safe-area-inset-right))
            max(14px, env(safe-area-inset-bottom))
            max(14px, env(safe-area-inset-left));
        overflow-y: auto;
    }

    #auth-overlay .glass-card {
        width: 100% !important;
        max-width: 430px !important;
        min-height: 0;
        margin: auto !important;
        padding: 32px 20px !important;
        border-radius: 26px !important;
    }

    .custom-modal.active {
        width: 100%;
        height: var(--mobile-viewport-height, 100dvh);
        min-height: var(--mobile-viewport-height, 100dvh);
        padding: max(8px, env(safe-area-inset-top)) 0 0;
        align-items: flex-end;
        overflow: hidden;
    }

    .custom-modal.active > .modal-content-card,
    #profile-modal.active > .profile-card-ui,
    #kontrat-modal.active > .modal-content-card {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        max-height: calc(var(--mobile-viewport-height, 100dvh) - max(8px, env(safe-area-inset-top))) !important;
        margin: 0 !important;
        padding: 54px 16px calc(28px + env(safe-area-inset-bottom)) !important;
        position: relative;
        overflow-x: hidden;
        overflow-y: auto;
        border-width: 1px 0 0 !important;
        border-radius: 26px 26px 0 0 !important;
        transform: translateY(0) !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .custom-modal.active > .modal-content-card::after {
        content: "";
        position: absolute;
        top: 9px;
        left: 50%;
        width: 40px;
        height: 4px;
        border-radius: 999px;
        background: #cbd5e1;
        transform: translateX(-50%);
    }

    .custom-modal .modal-close {
        position: absolute;
        z-index: 35;
        top: 14px;
        right: 14px;
        width: 44px;
        height: 44px;
        margin: 0;
        background: rgba(241, 245, 249, 0.94);
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .profile-head-row {
        display: grid !important;
        grid-template-columns: 92px minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 10px 0 20px;
        margin-bottom: 20px;
        text-align: left !important;
    }

    .profile-photo-wrap {
        width: 86px;
        height: 86px;
    }

    .profile-photo-actions button {
        min-height: 32px;
    }

    .profile-head-row > div:last-child {
        min-width: 0;
        text-align: left !important;
    }

    .profile-head-row > div:last-child > div {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 8px !important;
    }

    #prof-name {
        font-size: 22px !important;
        overflow-wrap: anywhere;
    }

    #prof-email-display {
        width: 100%;
        overflow-wrap: anywhere;
    }

    .profile-head-row button[onclick*="sifreDegistirPrompt"] {
        min-height: 38px;
        margin-left: 0 !important;
    }

    .profile-usage-head {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
    }

    .assistline-profile-tour-card {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
        padding: 14px;
    }

    .assistline-profile-tour-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .assistline-profile-tour-card button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .profile-usage-expand-btn {
        min-height: 44px;
    }

    .profile-usage-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .profile-usage-card {
        min-width: 0;
        padding: 14px;
        border-radius: 16px;
    }

    .profile-usage-card strong {
        font-size: 20px;
        overflow-wrap: anywhere;
    }

    #kontrat-modal .logo-box {
        text-align: left !important;
    }

    #kontrat-modal .logo-box img {
        width: 112px;
        margin: 0 0 12px;
    }

    #kontrat-modal h1,
    #kontrat-modal > .modal-content-card > .desc {
        padding-right: 48px;
        text-align: left !important;
    }

    #kontrat-modal #firma-butonlari {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        margin: 0 -16px 18px !important;
        padding: 2px 16px 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    #kontrat-modal #firma-butonlari > * {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    #kontrat-modal .durum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
    }

    #kontrat-modal .durum-grid button {
        min-height: 50px;
        padding: 10px !important;
        line-height: 1.3;
    }
}

@media (max-width: 390px), (max-width: 950px) and (orientation: landscape) and (max-height: 390px) {
    .profile-head-row {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .profile-head-row > div:last-child,
    .profile-head-row > div:last-child > div {
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .mobile-more-grid > button,
    .mobile-more-grid > a {
        min-height: 106px;
        padding: 11px;
    }

}

@media (max-width: 950px) and (orientation: landscape) and (max-height: 520px) {
    .mobile-more-sheet {
        max-height: calc(100dvh - 12px);
    }

    .mobile-more-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mobile-more-grid > button,
    .mobile-more-grid > a {
        min-height: 96px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .mobile-tabbar:not(.is-scrubbing) .mobile-tabbar-item:active,
    .mobile-more-grid > button:active,
    .mobile-more-grid > a:active,
    #main-card button.sorgula-btn:active {
        transform: scale(0.97);
        filter: brightness(0.97);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-tabbar,
    .mobile-tabbar-glare,
    .mobile-tabbar-active-pill,
    .mobile-tabbar-item,
    .mobile-more-sheet,
    .mobile-sheet-backdrop {
        transition: none !important;
    }
}

.admin-mobile-backdrop,
.admin-mobile-menu-btn,
.admin-mobile-close-btn,
.admin-mobile-kicker,
.admin-mobile-current-tab {
    display: none;
}

.admin-topbar-title-wrap {
    min-width: 0;
}

.admin-panel-heading {
    min-width: 0;
}

.admin-broadcast-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Yönetici paneli masaüstü kabuğunda kalır; eski mobil admin kuralları bilinçli olarak etkisizdir. */
@media not all {
    body.admin-panel-open {
        overflow: hidden !important;
    }

    body.admin-mobile-nav-open {
        overflow: hidden !important;
        touch-action: none;
    }

    #admin-panel {
        height: 100dvh;
        min-height: 100svh;
    }

    #admin-panel.active {
        display: flex;
        flex-direction: column;
    }

    #admin-panel .admin-mobile-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 100090;
        border: 0;
        margin: 0;
        padding: 0;
        opacity: 0;
        pointer-events: none;
        background: rgba(15, 23, 42, 0.54);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        transition: opacity 0.2s ease;
    }

    #admin-panel.admin-mobile-nav-open .admin-mobile-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    #admin-panel .admin-sidebar {
        position: fixed;
        z-index: 100120;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(340px, 88vw) !important;
        max-height: none !important;
        padding: 0 !important;
        overflow: hidden;
        border-right: 1px solid rgba(226, 232, 240, 0.92);
        border-bottom: none !important;
        box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
        transform: translateX(calc(-100% - 18px));
        transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    body.dark-theme #admin-panel .admin-sidebar {
        border-right-color: rgba(71, 85, 105, 0.82);
        box-shadow: 0 28px 72px rgba(2, 6, 23, 0.46);
    }

    #admin-panel.admin-mobile-nav-open .admin-sidebar {
        transform: translateX(0);
    }

    #admin-panel .admin-brand {
        position: relative;
        display: grid;
        justify-items: start;
        gap: 10px;
        padding: calc(20px + env(safe-area-inset-top)) 18px 18px;
        text-align: left;
    }

    #admin-panel .admin-brand img {
        width: 124px;
        max-width: 58%;
        margin: 0;
    }

    #admin-panel .admin-brand h2 {
        font-size: 12px;
        letter-spacing: 1.4px;
        text-align: left;
    }

    #admin-panel .admin-mobile-close-btn {
        display: grid;
        place-items: center;
        position: absolute;
        top: calc(12px + env(safe-area-inset-top));
        right: 14px;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 50%;
        background: #ffffff;
        color: #334155;
        font: inherit;
        font-size: 15px;
        font-weight: 900;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    }

    body.dark-theme #admin-panel .admin-mobile-close-btn {
        background: #0f172a;
        color: #e2e8f0;
        border-color: rgba(71, 85, 105, 0.78);
    }

    #admin-panel .admin-nav {
        flex: 1;
        padding: 8px 14px calc(20px + env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #admin-panel .admin-tab-btn {
        width: 100%;
        min-width: 0 !important;
        min-height: 52px !important;
        padding: 13px 16px !important;
        font-size: 13px !important;
        line-height: 1.28;
        white-space: normal !important;
        touch-action: manipulation;
    }

    #admin-panel .admin-tab-btn:hover:not(.active),
    #admin-panel .admin-tab-btn:focus-visible:not(.active) {
        transform: translate3d(0, 0, 0) !important;
    }

    #admin-panel .admin-main {
        width: 100%;
        min-width: 0;
        min-height: 0;
    }

    #admin-panel .admin-topbar {
        position: sticky;
        top: 0;
        z-index: 100060;
        min-height: 86px;
        height: auto !important;
        padding:
            calc(10px + env(safe-area-inset-top))
            14px
            12px !important;
        gap: 12px;
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
    }

    body.dark-theme #admin-panel .admin-topbar {
        background: rgba(15, 23, 42, 0.94);
    }

    #admin-panel .admin-topbar-left {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    #admin-panel .admin-topbar-title-wrap {
        display: grid;
        gap: 3px;
    }

    #admin-panel .admin-mobile-menu-btn {
        display: grid;
        place-items: center;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 16px;
        background: rgba(248, 250, 252, 0.95);
        color: #0f172a;
        font: inherit;
        font-size: 17px;
        font-weight: 900;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    }

    body.dark-theme #admin-panel .admin-mobile-menu-btn {
        background: rgba(30, 41, 59, 0.92);
        color: #f8fafc;
        border-color: rgba(71, 85, 105, 0.75);
    }

    #admin-panel .admin-mobile-kicker {
        display: block;
        color: #0ea5e9;
        font-size: 10px;
        font-weight: 950;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    #admin-panel .admin-panel-heading {
        margin: 0 !important;
        font-size: clamp(18px, 5.2vw, 22px) !important;
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    #admin-panel .admin-mobile-current-tab {
        display: block;
        color: #64748b;
        font-size: 12px;
        font-weight: 800;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.dark-theme #admin-panel .admin-mobile-current-tab {
        color: #94a3b8;
    }

    #admin-panel .admin-broadcast-btn,
    #admin-panel #admin-permission-notice {
        grid-column: 1 / -1;
    }

    #admin-panel #admin-permission-notice {
        margin-left: 0 !important;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    #admin-panel .admin-broadcast-btn {
        width: 100%;
        min-height: 44px;
        margin: 0 !important;
        border-radius: 15px !important;
        font-size: 11px !important;
        justify-content: center;
    }

    #admin-panel .admin-topbar-right {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
    }

    #admin-panel .admin-topbar-right > .glass-theme-switch {
        margin-right: 0 !important;
        flex: 0 0 auto;
        transform: scale(0.78) !important;
        transform-origin: left center;
    }

    #admin-panel .admin-page-access-btn,
    #admin-panel .btn-cloud-save,
    #admin-panel .btn-exit-admin {
        flex: 1 1 150px;
        min-width: 0;
        min-height: 44px;
        padding: 0 12px;
        justify-content: center;
        font-size: 11px;
    }

    #admin-panel .admin-content {
        flex: 1;
        height: auto !important;
        min-height: 0;
        padding: 14px 12px calc(24px + env(safe-area-inset-bottom)) !important;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-padding-top: 102px;
        -webkit-overflow-scrolling: touch;
    }

    #admin-panel .admin-tab-content {
        min-width: 0;
    }

    #admin-panel .admin-card,
    #admin-panel .usage-admin-card,
    #admin-panel .activity-admin-card,
    #admin-panel .vehicle-admin-card,
    #admin-panel .service-directory-card,
    #admin-panel .kvkk-admin-card,
    #admin-panel .operation-center-admin-shell {
        margin-bottom: 16px;
        border-radius: 20px !important;
    }

    #admin-panel .admin-table-container,
    #admin-panel .usage-table-wrap,
    #admin-panel .ops-table-wrap,
    #admin-panel .tfa-table-wrap {
        max-width: 100%;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    #admin-panel .admin-table th,
    #admin-panel .admin-table td {
        padding: 12px 14px;
    }

    #admin-panel .ops-hero-panel,
    #admin-panel .ops-filter-panel,
    #admin-panel .usage-admin-head,
    #admin-panel .vehicle-admin-head,
    #admin-panel .service-directory-head,
    #admin-panel .kvkk-admin-head,
    #admin-panel .user-management-head,
    #admin-panel .daily-report-admin-head,
    #admin-panel .operation-center-admin-head {
        grid-template-columns: 1fr !important;
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px !important;
    }

    #admin-panel .ops-date-row,
    #admin-panel .ops-quick-row,
    #admin-panel .vehicle-admin-actions,
    #admin-panel .service-directory-actions,
    #admin-panel .kvkk-admin-actions {
        grid-template-columns: 1fr !important;
        flex-direction: column;
        align-items: stretch !important;
    }

    #admin-panel .daily-report-frame,
    #admin-panel .operation-center-host {
        min-height: calc(100dvh - 220px);
    }
}

/* ============================================================
   AKTİVİTE KAYDI v3 — kompakt, filtrelenebilir denetim akışı
   ============================================================ */
#tab-log .alc-shell {
    --alc-bg: #f7f9fc;
    --alc-card: #ffffff;
    --alc-card-soft: #fbfcfe;
    --alc-border: #e4e9f1;
    --alc-border-strong: #d8e0eb;
    --alc-text: #142033;
    --alc-muted: #68758a;
    --alc-faint: #98a4b5;
    --alc-accent: #0f9f91;
    --alc-accent-soft: #e8f8f5;
    display: flex;
    width: 100%;
    max-width: 1760px;
    margin: 0 auto;
    gap: 12px;
    color: var(--alc-text);
}

#tab-log .alc-shell,
#tab-log .alc-shell * {
    box-sizing: border-box;
}

#tab-log .alc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 92px;
    gap: 24px;
    padding: 18px 20px;
    border: 1px solid var(--alc-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 96% 0%, rgba(15, 159, 145, 0.1), transparent 31%),
        var(--alc-card);
    box-shadow: 0 6px 22px rgba(20, 32, 51, 0.045);
}

#tab-log .alc-title-block {
    min-width: 0;
}

#tab-log .alc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #0c8177;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.095em;
    text-transform: uppercase;
}

#tab-log .alc-eyebrow i,
#tab-log .alc-live-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #15b8a6;
    box-shadow: 0 0 0 4px rgba(21, 184, 166, 0.12);
}

#tab-log .alc-title-block h3 {
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--alc-text);
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 900;
    letter-spacing: -0.035em;
}

#tab-log .alc-title-block p {
    margin: 4px 0 0;
    color: var(--alc-muted);
    font-size: 12px;
    font-weight: 600;
}

#tab-log .alc-header-side {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

#tab-log .alc-live-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--alc-muted);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

#tab-log .alc-header-actions {
    display: flex;
    gap: 6px;
}

#tab-log .alc-icon-btn {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid var(--alc-border-strong);
    border-radius: 9px;
    background: var(--alc-card);
    color: #42516a;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

#tab-log .alc-icon-btn:hover {
    border-color: #aeb9c8;
    background: #f7f9fc;
}

#tab-log .alc-icon-btn.primary {
    border-color: #0f9f91;
    background: #0f9f91;
    color: #fff;
}

#tab-log .alc-icon-btn.danger {
    color: #d14343;
}

#tab-log .alc-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

#tab-log .alc-summary-card {
    display: flex;
    min-height: 64px;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border: 1px solid var(--alc-border);
    border-radius: 14px;
    background: var(--alc-card);
    box-shadow: 0 4px 14px rgba(20, 32, 51, 0.03);
}

#tab-log .alc-summary-icon {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--alc-accent-soft);
    color: #07887b;
    font-size: 15px;
    font-weight: 900;
}

#tab-log .alc-summary-card.blue .alc-summary-icon { color: #1769d2; background: #edf5ff; }
#tab-log .alc-summary-card.violet .alc-summary-icon { color: #7357da; background: #f3efff; }
#tab-log .alc-summary-card.red .alc-summary-icon { color: #d14343; background: #fff0f0; }

#tab-log .alc-summary-card > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

#tab-log .alc-summary-card small {
    color: var(--alc-muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

#tab-log .alc-summary-card strong {
    color: var(--alc-text);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
}

#tab-log .alc-control-panel {
    padding: 13px;
    border: 1px solid var(--alc-border);
    border-radius: 16px;
    background: var(--alc-card);
    box-shadow: 0 5px 18px rgba(20, 32, 51, 0.035);
}

#tab-log .alc-search-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: 8px;
}

#tab-log .alc-search-box {
    display: flex;
    min-height: 39px;
    align-items: center;
    gap: 9px;
    padding: 0 11px;
    border: 1px solid var(--alc-border-strong);
    border-radius: 10px;
    background: var(--alc-card-soft);
    transition: border-color .15s ease, box-shadow .15s ease;
}

#tab-log .alc-search-box:focus-within {
    border-color: rgba(15, 159, 145, .65);
    box-shadow: 0 0 0 3px rgba(15, 159, 145, .1);
}

#tab-log .alc-search-box > span {
    color: var(--alc-muted);
    font-size: 18px;
}

#tab-log .alc-search-box input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--alc-text);
    font: inherit;
    font-size: 12px;
}

#tab-log .alc-search-box kbd {
    padding: 3px 6px;
    border: 1px solid var(--alc-border);
    border-radius: 5px;
    background: var(--alc-card);
    color: var(--alc-faint);
    font-size: 8px;
    font-family: inherit;
    font-weight: 900;
}

#tab-log .alc-reset-btn,
#tab-log .alc-filter-btn {
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid var(--alc-border-strong);
    border-radius: 9px;
    background: var(--alc-card);
    color: #4b5870;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

#tab-log .alc-reset-btn:hover,
#tab-log .alc-filter-btn:hover {
    background: #f4f7fa;
}

#tab-log .alc-filter-btn.primary {
    border-color: #1769d2;
    background: #1769d2;
    color: #fff;
}

#tab-log .alc-category-nav {
    display: flex;
    max-width: 100%;
    gap: 5px;
    margin: 10px 0;
    padding-bottom: 2px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
}

#tab-log .alc-cat-btn {
    display: inline-flex;
    min-height: 30px;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid var(--alc-border);
    border-radius: 8px;
    background: var(--alc-card-soft);
    color: #58667c;
    font-size: 10px;
    font-weight: 800;
    box-shadow: none;
    cursor: pointer;
}

#tab-log .alc-cat-btn b {
    min-width: 17px;
    padding: 2px 4px;
    border-radius: 5px;
    background: #eef1f6;
    color: #7b8798;
    font-size: 8px;
    text-align: center;
}

#tab-log .alc-cat-btn:hover,
#tab-log .alc-cat-btn.active {
    border-color: rgba(15, 159, 145, .5);
    background: var(--alc-accent-soft);
    color: #087d73;
    box-shadow: none;
}

#tab-log .alc-cat-btn.active b {
    background: rgba(15, 159, 145, .14);
    color: #087d73;
}

#tab-log .alc-filter-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1.35fr) minmax(170px, 1.2fr) minmax(140px, .9fr) minmax(120px, .75fr) minmax(170px, 1fr) minmax(170px, 1fr) auto;
    align-items: end;
    gap: 7px;
    padding-top: 10px;
    border-top: 1px solid var(--alc-border);
}

#tab-log .alc-date-toggle {
    display: none;
}

#tab-log .alc-filter-grid > label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

#tab-log .alc-filter-grid > label > span {
    color: var(--alc-muted);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#tab-log .alc-filter-grid .admin-input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0 9px;
    border: 1px solid var(--alc-border-strong);
    border-radius: 9px;
    background: var(--alc-card-soft);
    color: var(--alc-text);
    font-size: 10px;
    font-weight: 700;
}

#tab-log .alc-date-actions {
    display: flex;
    gap: 5px;
}

#tab-log .alc-range-summary {
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--alc-faint);
    font-size: 9px;
    font-weight: 700;
}

#tab-log .alc-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 2px 3px;
}

#tab-log .alc-results-head > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

#tab-log .alc-results-head strong {
    color: var(--alc-text);
    font-size: 12px;
    font-weight: 900;
}

#tab-log .alc-results-head span {
    color: var(--alc-muted);
    font-size: 9px;
    font-weight: 700;
}

#tab-log .alc-privacy-note {
    padding-left: 13px;
    position: relative;
}

#tab-log .alc-privacy-note::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0f9f91;
    font-weight: 900;
}

#tab-log .alc-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 10px;
}

#tab-log .alc-day-label {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 5px;
    padding: 0 2px;
    background: transparent;
    color: var(--alc-muted);
    backdrop-filter: none;
}

#tab-log .alc-day-label::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--alc-border);
}

#tab-log .alc-day-label span {
    color: var(--alc-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
}

#tab-log .alc-day-label b {
    order: 2;
    min-width: 20px;
    padding: 2px 5px;
    border-radius: 5px;
    background: #e9edf3;
    color: #68758a;
    font-size: 8px;
    text-align: center;
}

#tab-log .alc-day-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

#tab-log .alc-event-row {
    display: grid;
    grid-template-columns: 86px 28px minmax(250px, 1fr) minmax(185px, 230px) auto;
    min-height: 68px;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    border: 1px solid var(--alc-border);
    border-radius: 11px;
    background: var(--alc-card);
    box-shadow: 0 2px 8px rgba(20, 32, 51, .025);
}

#tab-log .alc-event-row:hover {
    border-color: #c9d2df;
    background: #fdfefe;
}

#tab-log .alc-row-time {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

#tab-log .alc-row-time strong {
    color: #35445b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    font-weight: 900;
}

#tab-log .alc-row-time span {
    margin-top: 2px;
    overflow: hidden;
    color: var(--alc-faint);
    font-size: 8px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-log .alc-row-marker {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef2f6;
    color: #607086;
    font-size: 10px;
    font-weight: 900;
}

#tab-log .alc-row-marker.blue { color: #1769d2; background: #edf5ff; }
#tab-log .alc-row-marker.violet { color: #7357da; background: #f3efff; }
#tab-log .alc-row-marker.orange,
#tab-log .alc-row-marker.amber { color: #b76c00; background: #fff6e6; }
#tab-log .alc-row-marker.purple { color: #8b4bc4; background: #f8efff; }
#tab-log .alc-row-marker.cyan { color: #087e9a; background: #eaf9fd; }
#tab-log .alc-row-marker.indigo { color: #4f5dcc; background: #eef0ff; }
#tab-log .alc-row-marker.rose,
#tab-log .alc-row-marker.danger { color: #d14343; background: #fff0f0; }
#tab-log .alc-row-marker.green { color: #07887b; background: #e8f8f5; }

#tab-log .alc-row-main {
    min-width: 0;
}

#tab-log .alc-row-title {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
}

#tab-log .alc-row-title > strong {
    min-width: 0;
    overflow: hidden;
    color: var(--alc-text);
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-log .alc-cat-pill {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 2px 6px;
    border-radius: 5px;
    background: #eef2f6;
    color: #68758a;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}

#tab-log .alc-cat-pill.blue { color: #1769d2; background: #edf5ff; }
#tab-log .alc-cat-pill.violet { color: #7357da; background: #f3efff; }
#tab-log .alc-cat-pill.orange,
#tab-log .alc-cat-pill.amber { color: #a66100; background: #fff3dc; }
#tab-log .alc-cat-pill.purple { color: #8143b7; background: #f8efff; }
#tab-log .alc-cat-pill.cyan { color: #087e9a; background: #eaf9fd; }
#tab-log .alc-cat-pill.indigo { color: #4f5dcc; background: #eef0ff; }
#tab-log .alc-cat-pill.rose,
#tab-log .alc-cat-pill.danger { color: #c43d3d; background: #fff0f0; }
#tab-log .alc-cat-pill.green { color: #07887b; background: #e8f8f5; }

#tab-log .alc-row-main p {
    margin: 3px 0 0;
    overflow: hidden;
    color: #56647a;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-log .alc-row-meta {
    display: flex;
    min-width: 0;
    gap: 4px;
    margin-top: 5px;
    overflow: hidden;
}

#tab-log .alc-row-meta span {
    display: inline-flex;
    max-width: 150px;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 2px 5px;
    border-radius: 4px;
    background: #f0f3f7;
    color: #778396;
    font-size: 7px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-log .alc-row-meta .route {
    max-width: 190px;
}

#tab-log .alc-row-user {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
}

#tab-log .alc-row-user .alc-avatar,
#tab-log .alc-row-user .usage-avatar {
    display: inline-flex;
    width: 29px;
    height: 29px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf5ff;
    color: #1769d2;
    font-size: 9px;
    font-weight: 900;
}

#tab-log .alc-row-user > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

#tab-log .alc-row-user strong,
#tab-log .alc-row-user small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#tab-log .alc-row-user strong {
    color: var(--alc-text);
    font-size: 10px;
    font-weight: 900;
}

#tab-log .alc-row-user small {
    margin-top: 2px;
    color: var(--alc-faint);
    font-size: 8px;
    font-weight: 700;
}

#tab-log .alc-row-action {
    min-height: 29px;
    padding: 0 8px;
    border: 1px solid #ebad45;
    border-radius: 7px;
    background: #fff8e9;
    color: #945b00;
    font-size: 8px;
    font-weight: 900;
    cursor: pointer;
}

#tab-log .alc-load-more {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px dashed var(--alc-border-strong);
    border-radius: 11px;
    background: var(--alc-card-soft);
    color: #415069;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

#tab-log .alc-load-more span {
    color: var(--alc-faint);
    font-size: 8px;
}

#tab-log .alc-empty-state {
    padding: 44px 20px;
    border: 1px dashed var(--alc-border-strong);
    border-radius: 14px;
    background: var(--alc-card);
    text-align: center;
}

#tab-log .alc-empty-state > span {
    display: block;
    margin-bottom: 6px;
    color: var(--alc-faint);
    font-size: 26px;
}

#tab-log .alc-empty-state strong {
    display: block;
    color: var(--alc-text);
    font-size: 13px;
}

#tab-log .alc-empty-state p {
    margin: 4px 0 0;
    color: var(--alc-muted);
    font-size: 10px;
}

body.dark-theme #tab-log .alc-shell {
    --alc-bg: #08090c;
    --alc-card: #12141a;
    --alc-card-soft: #0e1015;
    --alc-border: rgba(255, 255, 255, .085);
    --alc-border-strong: rgba(255, 255, 255, .14);
    --alc-text: #f4f7fb;
    --alc-muted: #aeb8c7;
    --alc-faint: #7f8998;
    --alc-accent: #31c9b7;
    --alc-accent-soft: rgba(49, 201, 183, .11);
}

body.dark-theme #tab-log .alc-header {
    background:
        radial-gradient(circle at 96% 0%, rgba(49, 201, 183, .1), transparent 31%),
        var(--alc-card);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}

body.dark-theme #tab-log .alc-eyebrow { color: #5eead4; }
body.dark-theme #tab-log .alc-icon-btn,
body.dark-theme #tab-log .alc-reset-btn,
body.dark-theme #tab-log .alc-filter-btn { background: #171a21; color: #dce3ed; }
body.dark-theme #tab-log .alc-icon-btn.primary,
body.dark-theme #tab-log .alc-filter-btn.primary { background: #0f9f91; border-color: #0f9f91; color: #fff; }
body.dark-theme #tab-log .alc-summary-card.blue .alc-summary-icon { background: rgba(23, 105, 210, .14); }
body.dark-theme #tab-log .alc-summary-card.violet .alc-summary-icon { background: rgba(115, 87, 218, .14); }
body.dark-theme #tab-log .alc-summary-card.red .alc-summary-icon { background: rgba(209, 67, 67, .13); }
body.dark-theme #tab-log .alc-search-box kbd,
body.dark-theme #tab-log .alc-cat-btn { background: #181b22; }
body.dark-theme #tab-log .alc-cat-btn b,
body.dark-theme #tab-log .alc-day-label b,
body.dark-theme #tab-log .alc-row-meta span { background: #20242d; color: #9ba7b7; }
body.dark-theme #tab-log .alc-cat-btn.active { background: rgba(49, 201, 183, .12); color: #5eead4; }
body.dark-theme #tab-log .alc-filter-grid .admin-input {
    border-color: var(--alc-border-strong) !important;
    background: #0e1015 !important;
    color: #eef2f7 !important;
}
body.dark-theme #tab-log .alc-event-row:hover { background: #151820; border-color: rgba(255, 255, 255, .16); }
body.dark-theme #tab-log .alc-row-time strong { color: #dce3ed; }
body.dark-theme #tab-log .alc-row-main p { color: #b8c1cf; }
body.dark-theme #tab-log .alc-row-marker { background: #20242d; }
body.dark-theme #tab-log .alc-row-user .alc-avatar,
body.dark-theme #tab-log .alc-row-user .usage-avatar { background: rgba(23, 105, 210, .16); }
body.dark-theme #tab-log .alc-load-more:hover { background: #171a21; }

@media (min-width: 1600px) {
    #tab-log .alc-shell {
        gap: 14px;
    }

    #tab-log .alc-header {
        min-height: 100px;
        padding: 20px 24px;
    }

    #tab-log .alc-title-block h3 {
        font-size: 29px;
    }

    #tab-log .alc-title-block p {
        font-size: 13px;
    }

    #tab-log .alc-summary-card {
        min-height: 70px;
        gap: 13px;
        padding: 13px 16px;
    }

    #tab-log .alc-summary-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    #tab-log .alc-summary-card small {
        font-size: 10px;
    }

    #tab-log .alc-summary-card strong {
        font-size: 22px;
    }

    #tab-log .alc-control-panel {
        padding: 15px;
    }

    #tab-log .alc-search-box {
        min-height: 42px;
        padding: 0 13px;
    }

    #tab-log .alc-search-box input {
        font-size: 13px;
    }

    #tab-log .alc-cat-btn {
        min-height: 32px;
        padding: 0 10px;
        font-size: 11px;
    }

    #tab-log .alc-filter-grid .admin-input {
        height: 40px;
        padding: 0 11px;
        font-size: 11px;
    }

    #tab-log .alc-filter-btn {
        min-height: 40px;
        font-size: 11px;
    }

    #tab-log .alc-event-row {
        grid-template-columns: 94px 30px minmax(280px, 1fr) minmax(205px, 255px) auto;
        min-height: 74px;
        gap: 12px;
        padding: 10px 13px;
    }

    #tab-log .alc-row-marker {
        width: 28px;
        height: 28px;
    }

    #tab-log .alc-row-time strong,
    #tab-log .alc-row-title > strong {
        font-size: 12px;
    }

    #tab-log .alc-row-main p,
    #tab-log .alc-row-user strong {
        font-size: 11px;
    }

    #tab-log .alc-row-user small {
        font-size: 9px;
    }

    #tab-log .alc-row-user .alc-avatar,
    #tab-log .alc-row-user .usage-avatar {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 1180px) {
    #tab-log .alc-filter-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    #tab-log .alc-date-actions {
        grid-column: span 2;
    }

    #tab-log .alc-event-row {
        grid-template-columns: 78px 28px minmax(220px, 1fr) minmax(170px, 210px) auto;
    }
}

@media (max-width: 760px) {
    #admin-panel #tab-log {
        min-width: 0;
    }

    #tab-log .alc-shell {
        gap: 10px;
    }

    #tab-log .alc-header {
        min-height: 0;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
        border-radius: 15px;
    }

    #tab-log .alc-title-block p {
        max-width: 230px;
        font-size: 10px;
    }

    #tab-log .alc-header-side {
        align-items: flex-end;
        flex-direction: column;
        gap: 9px;
    }

    #tab-log .alc-live-status {
        max-width: 140px;
        overflow: hidden;
        font-size: 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #tab-log .alc-icon-btn {
        width: 34px;
        padding: 0;
    }

    #tab-log .alc-icon-btn span {
        display: none;
    }

    #tab-log .alc-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    #tab-log .alc-summary-card {
        min-height: 58px;
        padding: 9px 10px;
    }

    #tab-log .alc-summary-icon {
        width: 30px;
        height: 30px;
    }

    #tab-log .alc-summary-card strong {
        font-size: 17px;
    }

    #tab-log .alc-search-row {
        grid-template-columns: minmax(0, 1fr);
    }

    #tab-log .alc-reset-btn {
        min-height: 32px;
    }

    #tab-log .alc-category-nav {
        margin-right: -13px;
        margin-left: -13px;
        padding-right: 13px;
        padding-left: 13px;
    }

    #tab-log .alc-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tab-log .alc-date-toggle {
        display: flex;
        width: 100%;
        min-height: 32px;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
        padding: 0 10px;
        border: 1px solid var(--alc-border);
        border-radius: 8px;
        background: var(--alc-card-soft);
        color: var(--alc-muted);
        font: inherit;
        font-size: 9px;
        font-weight: 850;
    }

    #tab-log .alc-date-toggle b {
        color: var(--alc-accent);
        font-size: 8px;
    }

    #tab-log .alc-filter-grid > label:first-child,
    #tab-log .alc-filter-grid > label:nth-child(2) {
        grid-column: 1 / -1;
    }

    #tab-log .alc-date-actions {
        grid-column: 1 / -1;
    }

    #tab-log .alc-filter-grid .alc-date-filter,
    #tab-log .alc-filter-grid .alc-date-actions {
        display: none;
    }

    #tab-log .alc-control-panel.show-dates .alc-date-filter,
    #tab-log .alc-control-panel.show-dates .alc-date-actions {
        display: flex;
    }

    #tab-log .alc-date-actions .alc-filter-btn {
        flex: 1;
    }

    #tab-log .alc-results-head {
        align-items: flex-start;
    }

    #tab-log .alc-results-head > div {
        min-width: 0;
        flex-direction: column;
        gap: 2px;
    }

    #tab-log .alc-results-head > div span {
        max-width: 220px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #tab-log .alc-privacy-note {
        max-width: 110px;
        font-size: 7px !important;
        line-height: 1.35;
    }

    #tab-log .alc-event-row {
        grid-template-columns: 52px 25px minmax(0, 1fr);
        min-height: 0;
        align-items: start;
        gap: 7px;
        padding: 9px;
    }

    #tab-log .alc-row-marker {
        width: 24px;
        height: 24px;
    }

    #tab-log .alc-row-time strong {
        font-size: 9px;
    }

    #tab-log .alc-row-main p {
        display: -webkit-box;
        overflow: hidden;
        line-height: 1.4;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    #tab-log .alc-row-meta {
        overflow-x: auto;
        scrollbar-width: none;
    }

    #tab-log .alc-row-user {
        grid-column: 3;
        padding-top: 6px;
        border-top: 1px solid var(--alc-border);
    }

    #tab-log .alc-row-user .alc-avatar,
    #tab-log .alc-row-user .usage-avatar {
        width: 24px;
        height: 24px;
        border-radius: 7px;
    }

    #tab-log .alc-row-action {
        grid-column: 3;
        justify-self: start;
    }
}

/* Masaüstü sağ menü: temaya uyumlu, imleç tepkili liquid-glass yüzey. */
@keyframes desktopLiquidNavFlow {
    0%, 100% {
        background-position: 0% 50%, 18% 22%, 76% 78%;
        opacity: 0.58;
    }
    50% {
        background-position: 100% 50%, 28% 34%, 64% 66%;
        opacity: 0.92;
    }
}

@keyframes desktopLiquidNavRim {
    0%, 100% { opacity: 0.76; }
    50% { opacity: 1; }
}

@media (min-width: 769px) {
    .nav-container,
    html.chrome-browser .nav-container {
        --liquid-rgb: 14, 165, 233;
        --liquid-deep-rgb: 37, 99, 235;
        --liquid-ink: #082f49;
        --liquid-rim: rgba(186, 230, 253, 0.82);
        --liquid-surface:
            linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 252, 255, 0.5) 38%, rgba(186, 230, 253, 0.3) 100%);
        width: 330px !important;
        gap: 16px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        isolation: isolate;
    }

    .nav-container::before {
        content: none !important;
        display: none !important;
    }

    .nav-container .kontrat-btn-wrapper,
    .nav-container .operation-portal-actions {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .nav-container .sys-btn:hover::before,
    .nav-container .sys-btn:focus-visible::before,
    .nav-container .liquid-pointer-active::before {
        opacity: 0.92 !important;
        animation: desktopLiquidNavFlow 2.8s ease-in-out infinite !important;
    }

    .nav-container .sys-btn:hover::after,
    .nav-container .sys-btn:focus-visible::after,
    .nav-container .liquid-pointer-active::after {
        opacity: 1 !important;
    }

    .nav-container .sys-btn:active {
        transform:
            perspective(700px)
            translate3d(-1px, 1px, 0)
            rotateX(calc(var(--liquid-tilt-x) * 0.45))
            rotateY(calc(var(--liquid-tilt-y) * 0.45))
            scale(0.982) !important;
        box-shadow:
            0 5px 12px rgba(var(--liquid-deep-rgb), 0.2),
            inset 0 8px 18px rgba(var(--liquid-deep-rgb), 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.76) !important;
        transition-duration: 70ms !important;
    }

    .nav-container .sys-btn:focus-visible {
        outline: 3px solid rgba(var(--liquid-rgb), 0.3) !important;
        outline-offset: 3px !important;
    }

    .nav-container .logout-btn {
        --liquid-rgb: 239, 68, 68;
        --liquid-deep-rgb: 190, 18, 60;
    }

    .nav-container .followup-nav-btn.has-normal-followups,
    .nav-container .followup-nav-btn.has-followups {
        --liquid-rgb: 239, 68, 68;
        --liquid-deep-rgb: 190, 18, 60;
    }

    .nav-container .followup-nav-btn.has-high-followups,
    .nav-container .followup-nav-btn.has-high-followups.has-followups {
        --liquid-rgb: 249, 115, 22;
        --liquid-deep-rgb: 220, 38, 38;
        animation: none !important;
    }

    body.accent-red:not(.admin-panel-open) .nav-container {
        --liquid-rgb: 220, 38, 38;
        --liquid-deep-rgb: 190, 18, 60;
        --liquid-ink: #450a0a;
        --liquid-rim: rgba(254, 202, 202, 0.8);
        --liquid-surface:
            linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 248, 248, 0.5) 38%, rgba(254, 202, 202, 0.28) 100%);
    }

    body.dark-theme .nav-container {
        --liquid-ink: #f8fafc;
        --liquid-rim: rgba(125, 211, 252, 0.36);
        --liquid-surface:
            linear-gradient(180deg, rgba(30, 41, 59, 0.82) 0%, rgba(15, 23, 42, 0.68) 42%, rgba(8, 47, 73, 0.58) 100%);
    }

    body.dark-theme .nav-container::before {
        border-color: rgba(148, 163, 184, 0.22);
        box-shadow:
            0 28px 62px rgba(2, 6, 23, 0.46),
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            inset 0 -1px 0 rgba(var(--liquid-rgb), 0.18);
    }

    body.dark-theme.accent-red:not(.admin-panel-open) .nav-container {
        --liquid-rgb: 239, 68, 68;
        --liquid-deep-rgb: 190, 18, 60;
        --liquid-ink: #fff1f2;
        --liquid-rim: rgba(251, 113, 133, 0.38);
        --liquid-surface:
            linear-gradient(180deg, rgba(68, 18, 34, 0.84) 0%, rgba(34, 10, 24, 0.7) 42%, rgba(69, 10, 10, 0.58) 100%);
    }

    body.accent-signature:not(.admin-panel-open) .nav-container {
        --liquid-rgb: 154, 0, 2;
        --liquid-deep-rgb: 95, 17, 17;
        --liquid-ink: #3c0808;
        --liquid-rim: rgba(154, 0, 2, 0.24);
        --liquid-surface:
            linear-gradient(180deg, rgba(255, 250, 245, 0.88) 0%, rgba(239, 230, 221, 0.58) 42%, rgba(154, 0, 2, 0.12) 100%);
    }

    body.dark-theme.accent-signature:not(.admin-panel-open) .nav-container {
        --liquid-rgb: 154, 0, 2;
        --liquid-deep-rgb: 239, 230, 221;
        --liquid-ink: #fff7ef;
        --liquid-rim: rgba(239, 230, 221, 0.28);
        --liquid-surface:
            linear-gradient(180deg, rgba(42, 12, 12, 0.86) 0%, rgba(18, 9, 9, 0.74) 42%, rgba(154, 0, 2, 0.24) 100%);
    }

    .nav-container .followup-nav-btn {
        overflow: visible !important;
        contain: layout !important;
    }

    .nav-container .followup-nav-btn::before,
    .nav-container .followup-nav-btn::after {
        clip-path: inset(0 round 999px);
    }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
    .nav-container .sys-btn,
    .nav-container .sys-btn::before,
    .nav-container .sys-btn::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
    }
}

/* Masaüstü liquid v3: bağımsız, çizgisiz ve akıcı kapsüller. */
@media (min-width: 769px) {
    #nav-menu.nav-container,
    html.chrome-browser #nav-menu.nav-container {
        --liquid-rgb: 14, 165, 233;
        --liquid-deep-rgb: 37, 99, 235;
        --liquid-ink: #082f49;
        --liquid-v3-border: rgba(14, 165, 233, 0.34);
        --liquid-v3-surface:
            radial-gradient(ellipse 78% 150% at 88% 52%, rgba(14, 165, 233, 0.2), transparent 68%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(224, 242, 254, 0.62));
        width: 330px !important;
        gap: 16px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    body.accent-red:not(.admin-panel-open) #nav-menu.nav-container {
        --liquid-rgb: 220, 38, 38;
        --liquid-deep-rgb: 190, 18, 60;
        --liquid-ink: #450a0a;
        --liquid-v3-border: rgba(220, 38, 38, 0.3);
        --liquid-v3-surface:
            radial-gradient(ellipse 78% 150% at 88% 52%, rgba(220, 38, 38, 0.18), transparent 68%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(254, 226, 226, 0.64));
    }

    body.dark-theme #nav-menu.nav-container {
        --liquid-ink: #f8fafc;
        --liquid-v3-border: rgba(56, 189, 248, 0.34);
        --liquid-v3-surface:
            radial-gradient(ellipse 78% 150% at 88% 52%, rgba(14, 165, 233, 0.24), transparent 68%),
            linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(8, 47, 73, 0.82));
    }

    body.dark-theme.accent-red:not(.admin-panel-open) #nav-menu.nav-container {
        --liquid-rgb: 239, 68, 68;
        --liquid-deep-rgb: 190, 18, 60;
        --liquid-ink: #fff1f2;
        --liquid-v3-border: rgba(244, 63, 94, 0.34);
        --liquid-v3-surface:
            radial-gradient(ellipse 78% 150% at 88% 52%, rgba(239, 68, 68, 0.24), transparent 68%),
            linear-gradient(135deg, rgba(35, 9, 24, 0.95), rgba(69, 10, 10, 0.82));
    }

    body.accent-signature:not(.admin-panel-open) #nav-menu.nav-container {
        --liquid-rgb: 154, 0, 2;
        --liquid-deep-rgb: 95, 17, 17;
        --liquid-ink: #3c0808;
        --liquid-v3-border: rgba(154, 0, 2, 0.28);
        --liquid-v3-surface:
            radial-gradient(ellipse 78% 150% at 88% 52%, rgba(154, 0, 2, 0.16), transparent 68%),
            linear-gradient(135deg, rgba(255, 250, 245, 0.92), rgba(239, 230, 221, 0.76));
    }

    body.dark-theme.accent-signature:not(.admin-panel-open) #nav-menu.nav-container {
        --liquid-rgb: 154, 0, 2;
        --liquid-deep-rgb: 239, 230, 221;
        --liquid-ink: #fff7ef;
        --liquid-v3-border: rgba(239, 230, 221, 0.26);
        --liquid-v3-surface:
            radial-gradient(ellipse 78% 150% at 88% 52%, rgba(239, 230, 221, 0.12), transparent 68%),
            linear-gradient(135deg, rgba(42, 12, 12, 0.95), rgba(12, 7, 7, 0.86));
    }

    #nav-menu.nav-container::before,
    #nav-menu.nav-container::after {
        content: none !important;
        display: none !important;
        background: none !important;
        box-shadow: none !important;
    }

    #nav-menu.nav-container .kontrat-btn-wrapper,
    #nav-menu.nav-container .operation-portal-actions {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        filter: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn {
        position: relative !important;
        isolation: isolate !important;
        overflow: hidden !important;
        border: 1px solid var(--liquid-v3-border) !important;
        border-radius: 999px !important;
        background: var(--liquid-v3-surface) !important;
        color: var(--liquid-ink) !important;
        min-height: 66px !important;
        padding: 15px 28px !important;
        font-size: 12.5px !important;
        box-shadow:
            0 8px 18px rgba(15, 23, 42, 0.12),
            inset 0 -10px 18px rgba(var(--liquid-rgb), 0.1) !important;
        filter: none !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        transform: none !important;
        animation: none !important;
        transition:
            border-color 140ms ease,
            box-shadow 140ms ease,
            background 140ms ease !important;
        contain: layout paint !important;
        will-change: auto !important;
    }

    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::before,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::before {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        inset: 2px !important;
        z-index: 0 !important;
        pointer-events: none !important;
        border: 0 !important;
        border-radius: inherit !important;
        background:
            radial-gradient(ellipse 58% 150% at 86% 50%, rgba(var(--liquid-rgb), 0.22), transparent 72%),
            linear-gradient(115deg, transparent 18%, rgba(var(--liquid-rgb), 0.08) 52%, transparent 84%) !important;
        box-shadow: none !important;
        opacity: 0.46 !important;
        filter: none !important;
        mix-blend-mode: normal !important;
        transform: translate3d(0, 0, 0) !important;
        animation: none !important;
        transition: opacity 140ms ease, transform 180ms ease !important;
        clip-path: inset(0 round 999px);
    }

    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::after,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::after,
    body:not(.admin-panel-open) #nav-menu.nav-container a[href*="crm.assistline"]::after,
    body:not(.admin-panel-open) #nav-menu.nav-container a[href*="voip"]::after {
        content: none !important;
        display: none !important;
        border: 0 !important;
        background: none !important;
        box-shadow: none !important;
        opacity: 0 !important;
        filter: none !important;
        animation: none !important;
    }

    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover,
    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible {
        border-color: rgba(var(--liquid-rgb), 0.62) !important;
        background: var(--liquid-v3-surface) !important;
        color: var(--liquid-ink) !important;
        box-shadow:
            0 9px 19px rgba(15, 23, 42, 0.14),
            inset 0 0 20px rgba(var(--liquid-rgb), 0.16),
            inset 0 -10px 18px rgba(var(--liquid-rgb), 0.12) !important;
        filter: none !important;
        transform: none !important;
    }

    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover::before,
    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible::before,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover::before,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible::before {
        opacity: 0.76 !important;
        transform: translate3d(-4px, 0, 0) scale(1.01) !important;
        animation: none !important;
    }

    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:active {
        box-shadow:
            0 5px 12px rgba(15, 23, 42, 0.12),
            inset 0 0 24px rgba(var(--liquid-rgb), 0.2) !important;
        transform: none !important;
    }

    body:not(.admin-panel-open) #nav-menu.nav-container .followup-nav-btn {
        overflow: visible !important;
        contain: layout !important;
    }
}
/* Ana ekran sade hover: ekstra animasyon yok, sadece buton ve yazi buyur. */
body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn {
    transform: translate3d(0, 0, 0) scale(1) !important;
    transform-origin: center !important;
    transition:
        transform 180ms cubic-bezier(0.2, 0.82, 0.2, 1),
        box-shadow 180ms ease,
        border-color 180ms ease !important;
    will-change: auto !important;
}

body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover,
body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible {
    transform: translate3d(0, -2px, 0) scale(1.075) !important;
    will-change: transform !important;
    z-index: 8 !important;
}

body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn > .al-nav-content {
    transform: translate3d(0, 0, 0) scale(1) !important;
    transform-origin: center !important;
    transition: transform 180ms cubic-bezier(0.2, 0.82, 0.2, 1) !important;
}

body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover > .al-nav-content,
body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible > .al-nav-content {
    transform: translate3d(0, 0, 0) scale(1.06) !important;
}

@media (prefers-reduced-motion: reduce) {
    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn,
    body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn > .al-nav-content {
        transition-duration: 0.01ms !important;
    }
}

/* Signature premium expansion: Cherry Cola + Cream Vanilla */
body.accent-signature:not(.admin-panel-open),
html.accent-signature:not(.admin-panel-open) {
    --sig-cherry: #9a0002;
    --sig-cherry-deep: #570607;
    --sig-cherry-ink: #250405;
    --sig-cherry-rgb: 154, 0, 2;
    --sig-cream: #efe6dd;
    --sig-cream-soft: #fff7ef;
    --sig-cream-rgb: 239, 230, 221;
    --sig-text: #2b0808;
    --sig-muted: rgba(70, 20, 20, 0.68);
    --sig-border: rgba(154, 0, 2, 0.32);
    --sig-shadow: rgba(85, 5, 6, 0.34);
}

body.dark-theme.accent-signature:not(.admin-panel-open),
html.dark-theme.accent-signature:not(.admin-panel-open) {
    --sig-text: #fff7ef;
    --sig-muted: rgba(239, 230, 221, 0.72);
    --sig-border: rgba(239, 230, 221, 0.24);
    --sig-shadow: rgba(0, 0, 0, 0.58);
}

body.accent-signature:not(.admin-panel-open) {
    background:
        radial-gradient(ellipse 72% 58% at 7% 4%, rgba(154, 0, 2, 0.46), transparent 62%),
        radial-gradient(ellipse 70% 62% at 94% 92%, rgba(154, 0, 2, 0.34), transparent 60%),
        radial-gradient(ellipse 54% 48% at 52% 6%, rgba(154, 0, 2, 0.20), transparent 64%),
        radial-gradient(ellipse 48% 46% at 58% 52%, rgba(239, 230, 221, 0.64), transparent 68%),
        linear-gradient(145deg, #f3dcd3 0%, #efe6dd 34%, #e5c6be 62%, #fff6ee 100%) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) {
    background:
        radial-gradient(ellipse 64% 52% at 12% 8%, rgba(239, 230, 221, 0.16), transparent 58%),
        radial-gradient(ellipse 60% 52% at 98% 8%, rgba(239, 230, 221, 0.22), transparent 58%),
        radial-gradient(ellipse 70% 54% at 4% 96%, rgba(154, 0, 2, 0.38), transparent 60%),
        radial-gradient(circle at 52% 50%, rgba(239, 230, 221, 0.12), transparent 54%),
        linear-gradient(145deg, #080405 0%, #21090a 48%, #040203 100%) !important;
}

body.accent-signature:not(.admin-panel-open)::before,
body.accent-signature:not(.admin-panel-open)::after {
    content: "";
    position: fixed;
    inset: -18vmax;
    z-index: 0;
    pointer-events: none;
    opacity: 0.78;
}

body.accent-signature:not(.admin-panel-open)::before {
    background:
        repeating-linear-gradient(112deg,
            rgba(154, 0, 2, 0.08) 0 1px,
            transparent 1px 34px),
        radial-gradient(circle at 18% 24%, rgba(154, 0, 2, 0.18), transparent 28%),
        radial-gradient(circle at 78% 82%, rgba(154, 0, 2, 0.14), transparent 30%);
    mix-blend-mode: multiply;
    animation: signatureAmbientDrift 18s ease-in-out infinite alternate;
}

body.accent-signature:not(.admin-panel-open)::after {
    background:
        linear-gradient(120deg,
            transparent 12%,
            rgba(255, 247, 239, 0.0) 30%,
            rgba(255, 247, 239, 0.32) 48%,
            rgba(154, 0, 2, 0.11) 58%,
            transparent 74%),
        radial-gradient(ellipse at 50% 50%, rgba(154, 0, 2, 0.10), transparent 54%);
    filter: blur(1px);
    transform: translate3d(-12%, 0, 0) rotate(-2deg);
    animation: signaturePrismSweep 12s cubic-bezier(0.45, 0, 0.16, 1) infinite;
}

body.dark-theme.accent-signature:not(.admin-panel-open)::before {
    mix-blend-mode: screen;
    opacity: 0.58;
    background:
        repeating-linear-gradient(112deg,
            rgba(239, 230, 221, 0.035) 0 1px,
            transparent 1px 38px),
        radial-gradient(circle at 22% 26%, rgba(154, 0, 2, 0.22), transparent 32%),
        radial-gradient(circle at 76% 80%, rgba(154, 0, 2, 0.18), transparent 34%);
}

body.dark-theme.accent-signature:not(.admin-panel-open)::after {
    opacity: 0.48;
    mix-blend-mode: screen;
}

body.accent-signature:not(.admin-panel-open) #bg-canvas {
    opacity: 1 !important;
    filter: saturate(1.28) contrast(1.08) drop-shadow(0 0 18px rgba(154, 0, 2, 0.10)) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #bg-canvas {
    filter: saturate(1.36) contrast(1.18) drop-shadow(0 0 28px rgba(154, 0, 2, 0.22)) !important;
}

body.accent-signature:not(.admin-panel-open) .glass-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 8% 0%, rgba(154, 0, 2, 0.24), transparent 38%),
        radial-gradient(circle at 92% 14%, rgba(255, 247, 239, 0.88), transparent 36%),
        linear-gradient(145deg, rgba(255, 247, 239, 0.93), rgba(239, 230, 221, 0.82) 55%, rgba(154, 0, 2, 0.12)) !important;
    border-color: rgba(154, 0, 2, 0.42) !important;
    box-shadow:
        0 34px 86px rgba(85, 5, 6, 0.26),
        0 0 0 1px rgba(255, 247, 239, 0.72) inset,
        0 -28px 70px rgba(154, 0, 2, 0.12) inset !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .glass-card {
    background:
        radial-gradient(circle at 12% 0%, rgba(154, 0, 2, 0.34), transparent 42%),
        radial-gradient(circle at 94% 10%, rgba(239, 230, 221, 0.09), transparent 35%),
        linear-gradient(145deg, rgba(28, 7, 8, 0.94), rgba(8, 4, 5, 0.9) 58%, rgba(2, 2, 4, 0.92)) !important;
    border-color: rgba(239, 230, 221, 0.28) !important;
    box-shadow:
        0 38px 92px rgba(0, 0, 0, 0.64),
        0 0 48px rgba(154, 0, 2, 0.24),
        0 0 0 1px rgba(239, 230, 221, 0.08) inset,
        0 -30px 76px rgba(154, 0, 2, 0.18) inset !important;
}

body.accent-signature:not(.admin-panel-open) .glass-card::before,
body.accent-signature:not(.admin-panel-open) .glass-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

body.accent-signature:not(.admin-panel-open) .glass-card::before {
    inset: 0;
    background:
        linear-gradient(116deg, transparent 12%, rgba(255, 247, 239, 0.52) 38%, transparent 58%),
        repeating-linear-gradient(90deg, rgba(154, 0, 2, 0.035) 0 1px, transparent 1px 18px);
    opacity: 0.72;
    transform: translateX(-38%);
    animation: signatureSurfaceSweep 9s ease-in-out infinite;
}

body.accent-signature:not(.admin-panel-open) .glass-card::after {
    width: 180px;
    height: 180px;
    right: -54px;
    bottom: -70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(154, 0, 2, 0.22), transparent 68%);
    filter: blur(2px);
    animation: signatureGlowBreath 5.8s ease-in-out infinite;
}

body.accent-signature:not(.admin-panel-open) .glass-card > * {
    position: relative;
    z-index: 1;
}

body.accent-signature:not(.admin-panel-open) .logo-box img,
body.accent-signature:not(.admin-panel-open) #servis-logo,
body.accent-signature:not(.admin-panel-open) .auth-session-loader-logo img {
    filter:
        saturate(1.35)
        contrast(1.12)
        drop-shadow(0 10px 24px rgba(154, 0, 2, 0.22))
        drop-shadow(0 0 10px rgba(239, 230, 221, 0.28)) !important;
    animation: signatureLogoPulse 4.8s ease-in-out infinite;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .logo-box img,
body.dark-theme.accent-signature:not(.admin-panel-open) #servis-logo,
body.dark-theme.accent-signature:not(.admin-panel-open) .auth-session-loader-logo img {
    filter:
        brightness(0)
        invert(1)
        sepia(0.25)
        saturate(0.72)
        brightness(1.12)
        drop-shadow(0 0 20px rgba(239, 230, 221, 0.22))
        drop-shadow(0 0 28px rgba(154, 0, 2, 0.30)) !important;
    mix-blend-mode: screen !important;
}

body.accent-signature:not(.admin-panel-open) h1,
body.accent-signature:not(.admin-panel-open) h2,
body.accent-signature:not(.admin-panel-open) h3,
body.accent-signature:not(.admin-panel-open) .dark-text-fix {
    color: var(--sig-text) !important;
}

body.accent-signature:not(.admin-panel-open) .desc,
body.accent-signature:not(.admin-panel-open) .query-helper,
body.accent-signature:not(.admin-panel-open) .sug-copy small {
    color: var(--sig-muted) !important;
}

body.accent-signature:not(.admin-panel-open) .query-helper.warn {
    color: #9a0002 !important;
}

body.accent-signature:not(.admin-panel-open) input.main-inp,
body.accent-signature:not(.admin-panel-open) textarea.main-inp {
    background: rgba(255, 247, 239, 0.94) !important;
    border-color: rgba(154, 0, 2, 0.36) !important;
    color: var(--sig-text) !important;
    box-shadow:
        0 0 0 1px rgba(255, 247, 239, 0.7) inset,
        0 14px 30px rgba(85, 5, 6, 0.12) !important;
}

body.accent-signature:not(.admin-panel-open) input.main-inp:focus,
body.accent-signature:not(.admin-panel-open) textarea.main-inp:focus {
    border-color: #9a0002 !important;
    box-shadow:
        0 0 0 4px rgba(154, 0, 2, 0.16),
        0 0 24px rgba(154, 0, 2, 0.16),
        0 18px 42px rgba(85, 5, 6, 0.16) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) input.main-inp,
body.dark-theme.accent-signature:not(.admin-panel-open) textarea.main-inp {
    background: rgba(12, 5, 6, 0.92) !important;
    border-color: rgba(239, 230, 221, 0.32) !important;
    color: #fff7ef !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) input.main-inp::placeholder,
body.dark-theme.accent-signature:not(.admin-panel-open) textarea.main-inp::placeholder {
    color: rgba(239, 230, 221, 0.56) !important;
}

body.accent-signature:not(.admin-panel-open) button.sorgula-btn,
body.accent-signature:not(.admin-panel-open) .profile-btn,
body.accent-signature:not(.admin-panel-open) .highlight-btn,
body.accent-signature:not(.admin-panel-open) .followup-action-btn.primary,
body.accent-signature:not(.admin-panel-open) .followup-tool-btn.primary,
body.accent-signature:not(.admin-panel-open) .followup-mode-nav-btn.primary {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(100deg, rgba(255, 247, 239, 0.22), transparent 34%, rgba(255, 247, 239, 0.18) 62%, transparent 82%),
        linear-gradient(135deg, #9a0002 0%, #700708 52%, #250405 100%) !important;
    border-color: rgba(239, 230, 221, 0.36) !important;
    color: #fff7ef !important;
    box-shadow:
        0 16px 38px rgba(85, 5, 6, 0.42),
        0 0 0 1px rgba(255, 247, 239, 0.20) inset !important;
}

body.accent-signature:not(.admin-panel-open) button.sorgula-btn:hover,
body.accent-signature:not(.admin-panel-open) .profile-btn:hover,
body.accent-signature:not(.admin-panel-open) .highlight-btn:hover,
body.accent-signature:not(.admin-panel-open) .followup-action-btn.primary:hover,
body.accent-signature:not(.admin-panel-open) .followup-tool-btn.primary:hover,
body.accent-signature:not(.admin-panel-open) .followup-mode-nav-btn.primary:hover {
    background:
        linear-gradient(100deg, rgba(255, 247, 239, 0.30), transparent 34%, rgba(255, 247, 239, 0.20) 64%, transparent 82%),
        linear-gradient(135deg, #b00003 0%, #9a0002 52%, #3b0506 100%) !important;
    box-shadow:
        0 20px 48px rgba(85, 5, 6, 0.50),
        0 0 28px rgba(154, 0, 2, 0.22) !important;
}

body.accent-signature:not(.admin-panel-open) .suggestions-box,
body.accent-signature:not(.admin-panel-open) #kontrat-modal #kontrat-suggestions {
    background:
        linear-gradient(180deg, rgba(255, 247, 239, 0.98), rgba(239, 230, 221, 0.96)) !important;
    border-color: rgba(154, 0, 2, 0.34) !important;
    box-shadow:
        0 26px 58px rgba(85, 5, 6, 0.22),
        0 0 0 1px rgba(255, 247, 239, 0.70) inset !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .suggestions-box,
body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-modal #kontrat-suggestions {
    background:
        linear-gradient(180deg, rgba(24, 7, 8, 0.98), rgba(10, 5, 6, 0.98)) !important;
    border-color: rgba(239, 230, 221, 0.25) !important;
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.52),
        0 0 36px rgba(154, 0, 2, 0.22) !important;
}

body.accent-signature:not(.admin-panel-open) .sug-header,
body.accent-signature:not(.admin-panel-open) #kontrat-modal #kontrat-suggestions .sug-header {
    background: rgba(154, 0, 2, 0.08) !important;
    color: rgba(43, 8, 8, 0.76) !important;
    border-bottom: 1px solid rgba(154, 0, 2, 0.13) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .sug-header,
body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-modal #kontrat-suggestions .sug-header {
    background: rgba(154, 0, 2, 0.26) !important;
    color: rgba(239, 230, 221, 0.72) !important;
}

body.accent-signature:not(.admin-panel-open) .sug-item {
    border-bottom-color: rgba(154, 0, 2, 0.12) !important;
}

body.accent-signature:not(.admin-panel-open) .sug-item:hover,
body.accent-signature:not(.admin-panel-open) .sug-item.selected {
    background:
        linear-gradient(90deg, rgba(154, 0, 2, 0.13), rgba(255, 247, 239, 0.88)) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .sug-item:hover,
body.dark-theme.accent-signature:not(.admin-panel-open) .sug-item.selected {
    background:
        linear-gradient(90deg, rgba(154, 0, 2, 0.38), rgba(26, 8, 9, 0.94)) !important;
}

body.accent-signature:not(.admin-panel-open) .sug-model {
    color: var(--sig-text) !important;
}

body.accent-signature:not(.admin-panel-open) .sug-cat,
body.accent-signature:not(.admin-panel-open) .cat-binek,
body.accent-signature:not(.admin-panel-open) .cat-hafif,
body.accent-signature:not(.admin-panel-open) .cat-agir,
body.accent-signature:not(.admin-panel-open) .cat-uzun,
body.accent-signature:not(.admin-panel-open) .cat-extra,
body.accent-signature:not(.admin-panel-open) .cat-mini,
body.accent-signature:not(.admin-panel-open) .cat-kontrat {
    background:
        linear-gradient(135deg, #9a0002 0%, #5b0708 100%) !important;
    border: 1px solid rgba(239, 230, 221, 0.42) !important;
    color: #fff7ef !important;
    box-shadow: 0 8px 18px rgba(85, 5, 6, 0.18) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .sug-cat,
body.dark-theme.accent-signature:not(.admin-panel-open) .cat-binek,
body.dark-theme.accent-signature:not(.admin-panel-open) .cat-hafif,
body.dark-theme.accent-signature:not(.admin-panel-open) .cat-agir,
body.dark-theme.accent-signature:not(.admin-panel-open) .cat-uzun,
body.dark-theme.accent-signature:not(.admin-panel-open) .cat-extra,
body.dark-theme.accent-signature:not(.admin-panel-open) .cat-mini,
body.dark-theme.accent-signature:not(.admin-panel-open) .cat-kontrat {
    background:
        linear-gradient(135deg, #efe6dd 0%, #b7a69a 100%) !important;
    border-color: rgba(154, 0, 2, 0.50) !important;
    color: #2b0808 !important;
}

body.accent-signature:not(.admin-panel-open) #admin-trigger {
    background:
        radial-gradient(circle at 30% 18%, rgba(255, 247, 239, 0.96), rgba(239, 230, 221, 0.86)) !important;
    color: #9a0002 !important;
    border-color: rgba(154, 0, 2, 0.32) !important;
    box-shadow:
        0 16px 36px rgba(85, 5, 6, 0.24),
        0 0 0 6px rgba(154, 0, 2, 0.06) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #admin-trigger {
    background:
        radial-gradient(circle at 28% 20%, rgba(239, 230, 221, 0.22), rgba(20, 6, 7, 0.94)) !important;
    color: #efe6dd !important;
    border-color: rgba(239, 230, 221, 0.28) !important;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.48),
        0 0 30px rgba(154, 0, 2, 0.34) !important;
}

body.accent-signature:not(.admin-panel-open) #admin-trigger:hover {
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow:
        0 20px 44px rgba(85, 5, 6, 0.32),
        0 0 34px rgba(154, 0, 2, 0.20) !important;
}

body.accent-signature:not(.admin-panel-open) .custom-modal.active,
body.accent-signature:not(.admin-panel-open) .crud-modal.active,
body.accent-signature:not(.admin-panel-open) .usage-detail-modal.active {
    background:
        radial-gradient(circle at 18% 18%, rgba(154, 0, 2, 0.18), transparent 34%),
        radial-gradient(circle at 88% 82%, rgba(154, 0, 2, 0.16), transparent 36%),
        rgba(25, 12, 13, 0.58) !important;
    backdrop-filter: blur(8px) saturate(130%);
    -webkit-backdrop-filter: blur(8px) saturate(130%);
}

body.dark-theme.accent-signature:not(.admin-panel-open) .custom-modal.active,
body.dark-theme.accent-signature:not(.admin-panel-open) .crud-modal.active,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-detail-modal.active {
    background:
        radial-gradient(circle at 18% 18%, rgba(154, 0, 2, 0.26), transparent 35%),
        radial-gradient(circle at 88% 82%, rgba(154, 0, 2, 0.18), transparent 38%),
        rgba(2, 2, 4, 0.74) !important;
}

body.accent-signature:not(.admin-panel-open) .custom-modal.active > .modal-content-card,
body.accent-signature:not(.admin-panel-open) #profile-modal.active > .profile-card-ui,
body.accent-signature:not(.admin-panel-open) #kontrat-modal.active > .modal-content-card,
body.accent-signature:not(.admin-panel-open) .crud-modal.active .crud-content,
body.accent-signature:not(.admin-panel-open) .usage-detail-modal.active .usage-detail-dialog {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    overflow-y: auto;
    background:
        radial-gradient(circle at 10% 0%, rgba(154, 0, 2, 0.18), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(255, 247, 239, 0.82), transparent 36%),
        linear-gradient(145deg, rgba(255, 247, 239, 0.98), rgba(239, 230, 221, 0.92) 62%, rgba(154, 0, 2, 0.08)) !important;
    border-color: rgba(154, 0, 2, 0.34) !important;
    box-shadow:
        0 38px 92px rgba(25, 5, 6, 0.30),
        0 0 0 1px rgba(255, 247, 239, 0.70) inset,
        0 -30px 78px rgba(154, 0, 2, 0.09) inset !important;
    color: var(--sig-text) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .custom-modal.active > .modal-content-card,
body.dark-theme.accent-signature:not(.admin-panel-open) #profile-modal.active > .profile-card-ui,
body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-modal.active > .modal-content-card,
body.dark-theme.accent-signature:not(.admin-panel-open) .crud-modal.active .crud-content,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-detail-modal.active .usage-detail-dialog {
    background:
        radial-gradient(circle at 12% 0%, rgba(154, 0, 2, 0.34), transparent 38%),
        radial-gradient(circle at 100% 12%, rgba(239, 230, 221, 0.09), transparent 32%),
        linear-gradient(145deg, rgba(22, 7, 8, 0.96), rgba(8, 4, 5, 0.94) 64%, rgba(2, 2, 4, 0.95)) !important;
    border-color: rgba(239, 230, 221, 0.26) !important;
    box-shadow:
        0 40px 96px rgba(0, 0, 0, 0.64),
        0 0 48px rgba(154, 0, 2, 0.25),
        0 0 0 1px rgba(239, 230, 221, 0.08) inset !important;
    color: #fff7ef !important;
}

body.accent-signature:not(.admin-panel-open) #followup-modal.active > .followup-modal-card {
    overflow: hidden !important;
}

body.accent-signature:not(.admin-panel-open) .modal-content-card::before,
body.accent-signature:not(.admin-panel-open) .crud-content::before,
body.accent-signature:not(.admin-panel-open) .usage-detail-dialog::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(112deg, transparent 16%, rgba(255, 247, 239, 0.46) 36%, transparent 58%),
        repeating-linear-gradient(90deg, rgba(154, 0, 2, 0.035) 0 1px, transparent 1px 22px);
    opacity: 0.70;
    transform: translateX(-40%);
    animation: signatureSurfaceSweep 10s ease-in-out infinite;
}

body.accent-signature:not(.admin-panel-open) .modal-content-card > *:not(.modal-close),
body.accent-signature:not(.admin-panel-open) .crud-content > *:not(.modal-close),
body.accent-signature:not(.admin-panel-open) .usage-detail-dialog > *:not(.modal-close) {
    position: relative;
    z-index: 1;
}

body.accent-signature:not(.admin-panel-open) .modal-content-card > .modal-close,
body.accent-signature:not(.admin-panel-open) .crud-content > .modal-close,
body.accent-signature:not(.admin-panel-open) .usage-detail-dialog > .modal-close {
    position: absolute !important;
    z-index: 40 !important;
}

body.accent-signature:not(.admin-panel-open) .modal-close {
    background: rgba(255, 247, 239, 0.86) !important;
    border: 1px solid rgba(154, 0, 2, 0.22) !important;
    color: #2b0808 !important;
    box-shadow: 0 14px 30px rgba(85, 5, 6, 0.16) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .modal-close {
    background: rgba(18, 7, 8, 0.88) !important;
    border-color: rgba(239, 230, 221, 0.22) !important;
    color: #fff7ef !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34) !important;
}

body.accent-signature:not(.admin-panel-open) #kontrat-modal .logo-box img,
body.accent-signature:not(.admin-panel-open) #profile-modal .logo-box img,
body.accent-signature:not(.admin-panel-open) #followup-modal .logo-box img {
    filter:
        saturate(1.36)
        contrast(1.14)
        drop-shadow(0 10px 24px rgba(154, 0, 2, 0.24)) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-modal .logo-box img,
body.dark-theme.accent-signature:not(.admin-panel-open) #profile-modal .logo-box img,
body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .logo-box img {
    filter:
        brightness(0)
        invert(1)
        sepia(0.24)
        saturate(0.70)
        brightness(1.12)
        drop-shadow(0 0 24px rgba(154, 0, 2, 0.34))
        drop-shadow(0 0 18px rgba(239, 230, 221, 0.22)) !important;
    mix-blend-mode: screen !important;
}

body.accent-signature:not(.admin-panel-open) #kontrat-modal #firma-butonlari > *,
body.accent-signature:not(.admin-panel-open) #kontrat-modal .durum-grid button,
body.accent-signature:not(.admin-panel-open) .profile-photo-actions button,
body.accent-signature:not(.admin-panel-open) .profile-head-row button[onclick*="sifreDegistirPrompt"],
body.accent-signature:not(.admin-panel-open) .profile-usage-expand-btn,
body.accent-signature:not(.admin-panel-open) .usage-detail-actions button {
    min-height: 34px;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background:
        linear-gradient(135deg, rgba(255, 247, 239, 0.92), rgba(239, 230, 221, 0.78)) !important;
    border: 1px solid rgba(154, 0, 2, 0.30) !important;
    color: #6b0708 !important;
    box-shadow: 0 12px 26px rgba(85, 5, 6, 0.12) !important;
}

body.accent-signature:not(.admin-panel-open) #kontrat-modal #firma-butonlari > *:hover,
body.accent-signature:not(.admin-panel-open) #kontrat-modal .durum-grid button:hover,
body.accent-signature:not(.admin-panel-open) .profile-photo-actions button:hover,
body.accent-signature:not(.admin-panel-open) .profile-head-row button[onclick*="sifreDegistirPrompt"]:hover,
body.accent-signature:not(.admin-panel-open) .profile-usage-expand-btn:hover,
body.accent-signature:not(.admin-panel-open) .usage-detail-actions button:hover {
    background:
        linear-gradient(135deg, #9a0002, #570607) !important;
    border-color: rgba(239, 230, 221, 0.42) !important;
    color: #fff7ef !important;
    transform: translateY(-1px);
}

body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-modal #firma-butonlari > *,
body.dark-theme.accent-signature:not(.admin-panel-open) #kontrat-modal .durum-grid button,
body.dark-theme.accent-signature:not(.admin-panel-open) .profile-photo-actions button,
body.dark-theme.accent-signature:not(.admin-panel-open) .profile-head-row button[onclick*="sifreDegistirPrompt"],
body.dark-theme.accent-signature:not(.admin-panel-open) .profile-usage-expand-btn,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-detail-actions button {
    background: rgba(22, 7, 8, 0.88) !important;
    border-color: rgba(239, 230, 221, 0.22) !important;
    color: #efe6dd !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26) !important;
}

body.accent-signature:not(.admin-panel-open) #profile-modal .profile-head-row {
    border-bottom-color: rgba(154, 0, 2, 0.18) !important;
}

body.accent-signature:not(.admin-panel-open) #profile-modal .profile-photo-wrap {
    background:
        radial-gradient(circle at 34% 24%, #fff7ef, #efe6dd 42%, #9a0002 100%) !important;
    color: #2b0808 !important;
    border: 1px solid rgba(154, 0, 2, 0.18) !important;
    box-shadow:
        0 18px 34px rgba(85, 5, 6, 0.24),
        0 0 0 8px rgba(154, 0, 2, 0.06) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #profile-modal .profile-photo-wrap {
    background:
        radial-gradient(circle at 34% 24%, #efe6dd, #9a0002 58%, #170506 100%) !important;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.44),
        0 0 28px rgba(154, 0, 2, 0.28) !important;
}

body.accent-signature:not(.admin-panel-open) #prof-role {
    background: rgba(154, 0, 2, 0.10) !important;
    border-color: rgba(154, 0, 2, 0.28) !important;
    color: #9a0002 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #prof-role {
    background: rgba(239, 230, 221, 0.10) !important;
    border-color: rgba(239, 230, 221, 0.22) !important;
    color: #efe6dd !important;
}

body.accent-signature:not(.admin-panel-open) #prof-email-display,
body.accent-signature:not(.admin-panel-open) .profile-usage-card span,
body.accent-signature:not(.admin-panel-open) .profile-usage-card small,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card span,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card small {
    color: var(--sig-muted) !important;
}

body.accent-signature:not(.admin-panel-open) .profile-usage-head span,
body.accent-signature:not(.admin-panel-open) .usage-kicker,
body.accent-signature:not(.admin-panel-open) .usage-user-select-head span,
body.accent-signature:not(.admin-panel-open) .usage-panel-head span,
body.accent-signature:not(.admin-panel-open) .usage-detail-toolbar p,
body.accent-signature:not(.admin-panel-open) #profile-modal-card > p:last-child {
    color: #9a0002 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .profile-usage-head span,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-kicker,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-user-select-head span,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-panel-head span,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-detail-toolbar p,
body.dark-theme.accent-signature:not(.admin-panel-open) #profile-modal-card > p:last-child {
    color: rgba(239, 230, 221, 0.78) !important;
}

body.accent-signature:not(.admin-panel-open) .assistline-push-settings {
    background:
        linear-gradient(135deg, rgba(255, 247, 239, 0.92), rgba(239, 230, 221, 0.70)) !important;
    border-color: rgba(154, 0, 2, 0.24) !important;
    box-shadow: 0 16px 36px rgba(85, 5, 6, 0.12) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .assistline-push-settings {
    background:
        linear-gradient(135deg, rgba(28, 8, 9, 0.90), rgba(10, 5, 6, 0.88)) !important;
    border-color: rgba(239, 230, 221, 0.17) !important;
}

body.accent-signature:not(.admin-panel-open) .assistline-profile-tour-card {
    background:
        radial-gradient(circle at 8% 12%, rgba(154, 0, 2, 0.16), transparent 36%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.92), rgba(239, 230, 221, 0.72)) !important;
    border-color: rgba(154, 0, 2, 0.24) !important;
    box-shadow: 0 16px 36px rgba(85, 5, 6, 0.12) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .assistline-profile-tour-card {
    background:
        radial-gradient(circle at 8% 12%, rgba(154, 0, 2, 0.26), transparent 38%),
        linear-gradient(135deg, rgba(28, 8, 9, 0.90), rgba(10, 5, 6, 0.88)) !important;
    border-color: rgba(239, 230, 221, 0.17) !important;
}

body.accent-signature:not(.admin-panel-open) .assistline-profile-tour-copy span,
body.accent-signature:not(.admin-panel-open) .assistline-profile-tour-copy h3 {
    color: #9a0002 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .assistline-profile-tour-copy span,
body.dark-theme.accent-signature:not(.admin-panel-open) .assistline-profile-tour-copy h3 {
    color: #efe6dd !important;
}

body.accent-signature:not(.admin-panel-open) .assistline-profile-tour-copy p {
    color: var(--sig-muted) !important;
}

body.accent-signature:not(.admin-panel-open) .assistline-profile-tour-mark,
body.accent-signature:not(.admin-panel-open) .assistline-profile-tour-card button {
    background: linear-gradient(135deg, #9a0002, #0284c7) !important;
    color: #fff7ef !important;
}

body.accent-signature:not(.admin-panel-open) .assistline-push-settings-icon,
body.accent-signature:not(.admin-panel-open) #assistline-push-enable {
    background:
        linear-gradient(135deg, #9a0002, #570607) !important;
    color: #fff7ef !important;
    box-shadow: 0 14px 30px rgba(85, 5, 6, 0.28) !important;
}

body.accent-signature:not(.admin-panel-open) .profile-usage-card,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card,
body.accent-signature:not(.admin-panel-open) .usage-panel,
body.accent-signature:not(.admin-panel-open) .usage-user-select,
body.accent-signature:not(.admin-panel-open) .usage-date-filter {
    background:
        radial-gradient(circle at 0% 0%, rgba(154, 0, 2, 0.12), transparent 42%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.94), rgba(239, 230, 221, 0.78)) !important;
    border-color: rgba(154, 0, 2, 0.18) !important;
    box-shadow: 0 18px 44px rgba(85, 5, 6, 0.12) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .profile-usage-card,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-kpi-card,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-panel,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-user-select,
body.dark-theme.accent-signature:not(.admin-panel-open) .usage-date-filter {
    background:
        radial-gradient(circle at 0% 0%, rgba(154, 0, 2, 0.20), transparent 44%),
        linear-gradient(135deg, rgba(22, 7, 8, 0.92), rgba(8, 4, 5, 0.90)) !important;
    border-color: rgba(239, 230, 221, 0.15) !important;
}

body.accent-signature:not(.admin-panel-open) .profile-usage-card::before,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card::before,
body.accent-signature:not(.admin-panel-open) .profile-usage-card.green::before,
body.accent-signature:not(.admin-panel-open) .profile-usage-card.orange::before,
body.accent-signature:not(.admin-panel-open) .profile-usage-card.blue::before,
body.accent-signature:not(.admin-panel-open) .profile-usage-card.violet::before,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card.green::before,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card.orange::before,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card.blue::before,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card.violet::before,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card.red::before {
    width: 7px;
    background:
        linear-gradient(180deg, #efe6dd 0%, #9a0002 42%, #570607 100%) !important;
    box-shadow: 0 0 18px rgba(154, 0, 2, 0.34);
}

body.accent-signature:not(.admin-panel-open) .profile-usage-card strong,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card strong {
    color: var(--sig-text) !important;
}

body.accent-signature:not(.admin-panel-open) .profile-usage-card.clickable:hover,
body.accent-signature:not(.admin-panel-open) .usage-kpi-card.clickable:hover {
    border-color: rgba(154, 0, 2, 0.42) !important;
    box-shadow: 0 22px 54px rgba(85, 5, 6, 0.20) !important;
}

body.accent-signature:not(.admin-panel-open) #followup-modal .followup-modal-card {
    border-radius: 18px;
}

body.accent-signature:not(.admin-panel-open) #followup-modal .followup-head,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-head {
    background:
        linear-gradient(135deg, rgba(255, 247, 239, 0.98), rgba(239, 230, 221, 0.82)) !important;
    border-bottom: 1px solid rgba(154, 0, 2, 0.18) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-head,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-head {
    background:
        linear-gradient(135deg, rgba(24, 7, 8, 0.96), rgba(8, 4, 5, 0.92)) !important;
    border-bottom-color: rgba(239, 230, 221, 0.14) !important;
}

body.accent-signature:not(.admin-panel-open) #followup-modal .followup-sidebar,
body.accent-signature:not(.admin-panel-open) #followup-modal .followup-filter-row,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-sidebar,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-filter-row {
    background:
        linear-gradient(180deg, rgba(239, 230, 221, 0.82), rgba(255, 247, 239, 0.74)) !important;
    border-color: rgba(154, 0, 2, 0.16) !important;
}

body.accent-signature:not(.admin-panel-open) #followup-modal .followup-detail-panel,
body.accent-signature:not(.admin-panel-open) #followup-modal .followup-detail,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-detail-panel,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-detail {
    background:
        radial-gradient(circle at 82% 12%, rgba(154, 0, 2, 0.07), transparent 38%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.95), rgba(239, 230, 221, 0.80)) !important;
    color: var(--sig-text) !important;
}

body.accent-signature:not(.admin-panel-open) #followup-modal .followup-detail-empty,
body.accent-signature:not(.admin-panel-open) #followup-modal .followup-empty,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-detail-empty,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-empty {
    color: rgba(43, 8, 8, 0.66) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-sidebar,
body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-filter-row,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-sidebar,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-filter-row {
    background:
        linear-gradient(180deg, rgba(16, 6, 7, 0.94), rgba(7, 4, 5, 0.92)) !important;
    border-color: rgba(239, 230, 221, 0.12) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-detail-panel,
body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-detail,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-detail-panel,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-detail {
    background:
        radial-gradient(circle at 82% 12%, rgba(154, 0, 2, 0.22), transparent 38%),
        linear-gradient(135deg, rgba(18, 7, 8, 0.95), rgba(6, 4, 5, 0.94)) !important;
    color: #fff7ef !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-detail-empty,
body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-empty,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-detail-empty,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-empty {
    color: rgba(239, 230, 221, 0.72) !important;
}

body.accent-signature:not(.admin-panel-open) .followup-tool-btn,
body.accent-signature:not(.admin-panel-open) .followup-filter-btn,
body.accent-signature:not(.admin-panel-open) .followup-mode-nav-btn,
body.accent-signature:not(.admin-panel-open) .followup-action-btn,
body.accent-signature:not(.admin-panel-open) .followup-now-btn,
body.accent-signature:not(.admin-panel-open) .followup-reply-cancel,
body.accent-signature:not(.admin-panel-open) .followup-target-trigger {
    background: rgba(255, 247, 239, 0.86) !important;
    border-color: rgba(154, 0, 2, 0.25) !important;
    color: #5b0708 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .followup-tool-btn,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-filter-btn,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-mode-nav-btn,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-action-btn,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-now-btn,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-reply-cancel,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-target-trigger {
    background: rgba(20, 7, 8, 0.92) !important;
    border-color: rgba(239, 230, 221, 0.18) !important;
    color: #efe6dd !important;
}

body.accent-signature:not(.admin-panel-open) .followup-filter-btn.active,
body.accent-signature:not(.admin-panel-open) .followup-filter-btn:hover,
body.accent-signature:not(.admin-panel-open) .followup-action-btn.read {
    background:
        linear-gradient(135deg, #9a0002, #570607) !important;
    border-color: rgba(239, 230, 221, 0.38) !important;
    color: #fff7ef !important;
    box-shadow: 0 12px 26px rgba(85, 5, 6, 0.20) !important;
}

body.accent-signature:not(.admin-panel-open) .followup-filter-btn.followup-bulk-delete-btn,
body.accent-signature:not(.admin-panel-open) .followup-action-btn.danger,
body.accent-signature:not(.admin-panel-open) .followup-pill.high {
    background: rgba(154, 0, 2, 0.10) !important;
    border-color: rgba(154, 0, 2, 0.28) !important;
    color: #9a0002 !important;
}

body.accent-signature:not(.admin-panel-open) .followup-pill,
body.accent-signature:not(.admin-panel-open) .followup-status-pill,
body.accent-signature:not(.admin-panel-open) .followup-alert-meta {
    background: rgba(154, 0, 2, 0.09) !important;
    border-color: rgba(154, 0, 2, 0.22) !important;
    color: #6b0708 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .followup-pill,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-status-pill,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-alert-meta {
    background: rgba(239, 230, 221, 0.10) !important;
    border-color: rgba(239, 230, 221, 0.20) !important;
    color: #efe6dd !important;
}

body.accent-signature:not(.admin-panel-open) .followup-alert-card {
    background:
        radial-gradient(circle at 50% -10%, rgba(154, 0, 2, 0.18), transparent 40%),
        linear-gradient(145deg, rgba(255, 247, 239, 0.98), rgba(239, 230, 221, 0.92)) !important;
    border-color: rgba(154, 0, 2, 0.30) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .followup-alert-card {
    background:
        radial-gradient(circle at 50% -10%, rgba(154, 0, 2, 0.34), transparent 42%),
        linear-gradient(145deg, rgba(24, 7, 8, 0.96), rgba(8, 4, 5, 0.94)) !important;
}

body.accent-signature:not(.admin-panel-open) .followup-alert-icon,
body.accent-signature:not(.admin-panel-open) .followup-alert-action-btn,
body.accent-signature:not(.admin-panel-open) #followup-alert-ack-btn {
    background:
        linear-gradient(135deg, #9a0002, #570607) !important;
    color: #fff7ef !important;
    box-shadow: 0 18px 34px rgba(85, 5, 6, 0.30) !important;
}

body.accent-signature:not(.admin-panel-open) #nav-menu.nav-container {
    --liquid-rgb: 154, 0, 2;
    --liquid-deep-rgb: 87, 6, 7;
    --liquid-ink: #2b0808;
    --liquid-v3-border: rgba(154, 0, 2, 0.42);
    --liquid-v3-surface:
        radial-gradient(ellipse 78% 150% at 88% 52%, rgba(154, 0, 2, 0.24), transparent 68%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.94), rgba(239, 230, 221, 0.78)) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #nav-menu.nav-container {
    --liquid-rgb: 154, 0, 2;
    --liquid-deep-rgb: 239, 230, 221;
    --liquid-ink: #fff7ef;
    --liquid-v3-border: rgba(239, 230, 221, 0.28);
    --liquid-v3-surface:
        radial-gradient(ellipse 78% 150% at 88% 52%, rgba(154, 0, 2, 0.34), transparent 68%),
        linear-gradient(135deg, rgba(27, 7, 8, 0.96), rgba(8, 4, 5, 0.90)) !important;
}

body.accent-signature:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::before {
    opacity: 0.74 !important;
    background:
        radial-gradient(ellipse 58% 150% at 86% 50%, rgba(154, 0, 2, 0.30), transparent 72%),
        linear-gradient(115deg, transparent 18%, rgba(255, 247, 239, 0.28) 46%, rgba(154, 0, 2, 0.10) 62%, transparent 84%) !important;
    animation: signatureNavLiquid 7s linear infinite !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::before {
    background:
        radial-gradient(ellipse 58% 150% at 86% 50%, rgba(154, 0, 2, 0.42), transparent 72%),
        linear-gradient(115deg, transparent 18%, rgba(239, 230, 221, 0.15) 46%, rgba(154, 0, 2, 0.18) 62%, transparent 84%) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel,
body.signature-admin-theme-enabled.accent-signature #admin-auth-modal {
    --adm-bg: #efe6dd;
    --adm-bg-sidebar: #fff7ef;
    --adm-bg-topbar: rgba(255, 247, 239, 0.92);
    --adm-bg-card: #fff7ef;
    --adm-bg-elevated: #efe6dd;
    --adm-bg-inset: rgba(239, 230, 221, 0.72);
    --adm-bg-input: rgba(255, 247, 239, 0.92);
    --adm-border: rgba(154, 0, 2, 0.20);
    --adm-border-strong: rgba(154, 0, 2, 0.34);
    --adm-text: #2b0808;
    --adm-text-secondary: rgba(43, 8, 8, 0.82);
    --adm-text-muted: rgba(43, 8, 8, 0.64);
    --adm-text-faint: rgba(43, 8, 8, 0.48);
    --adm-accent: #9a0002;
    --adm-accent-bright: #9a0002;
    --adm-accent-alt: #efe6dd;
    --adm-accent-soft: rgba(154, 0, 2, 0.10);
    --adm-accent-glow: rgba(154, 0, 2, 0.28);
    --adm-shadow: 0 24px 64px rgba(85, 5, 6, 0.22);
    --adm-shadow-soft: 0 14px 34px rgba(85, 5, 6, 0.14);
    --adm-texture-card:
        radial-gradient(circle at 12% 0%, rgba(154, 0, 2, 0.16), transparent 34%),
        radial-gradient(circle at 100% 12%, rgba(255, 247, 239, 0.62), transparent 30%),
        linear-gradient(135deg, rgba(255, 247, 239, 0.98), rgba(239, 230, 221, 0.92) 58%, rgba(154, 0, 2, 0.06));
    --adm-texture-inset:
        radial-gradient(circle at 0% 0%, rgba(154, 0, 2, 0.10), transparent 40%),
        linear-gradient(180deg, rgba(255, 247, 239, 0.92), rgba(239, 230, 221, 0.74));
    --adm-head-gradient:
        radial-gradient(circle at 92% 0%, rgba(239, 230, 221, 0.42), transparent 32%),
        linear-gradient(135deg, #9a0002 0%, #570607 62%, #250405 100%);
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-auth-modal {
    --adm-bg: #050304;
    --adm-bg-sidebar: #100506;
    --adm-bg-topbar: rgba(12, 5, 6, 0.96);
    --adm-bg-card: #140607;
    --adm-bg-elevated: #210809;
    --adm-bg-inset: #0b0506;
    --adm-bg-input: #0d0506;
    --adm-border: rgba(239, 230, 221, 0.12);
    --adm-border-strong: rgba(239, 230, 221, 0.22);
    --adm-text: #fff7ef;
    --adm-text-secondary: rgba(239, 230, 221, 0.86);
    --adm-text-muted: rgba(239, 230, 221, 0.66);
    --adm-text-faint: rgba(239, 230, 221, 0.48);
    --adm-accent: #efe6dd;
    --adm-accent-bright: #fff7ef;
    --adm-accent-alt: #9a0002;
    --adm-accent-soft: rgba(154, 0, 2, 0.24);
    --adm-accent-glow: rgba(239, 230, 221, 0.20);
    --adm-shadow: 0 28px 72px rgba(0, 0, 0, 0.58);
    --adm-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.40);
    --adm-texture-card:
        radial-gradient(circle at 12% 0%, rgba(154, 0, 2, 0.26), transparent 36%),
        radial-gradient(circle at 100% 12%, rgba(239, 230, 221, 0.08), transparent 30%),
        linear-gradient(135deg, rgba(25, 7, 8, 0.98), rgba(10, 5, 6, 0.94) 62%, rgba(2, 2, 4, 0.94));
    --adm-texture-inset:
        radial-gradient(circle at 0% 0%, rgba(154, 0, 2, 0.20), transparent 42%),
        linear-gradient(180deg, rgba(22, 7, 8, 0.95), rgba(7, 4, 5, 0.98));
    --adm-head-gradient:
        radial-gradient(circle at 92% 0%, rgba(239, 230, 221, 0.12), transparent 34%),
        linear-gradient(135deg, #2a0708 0%, #9a0002 54%, #100506 100%);
}

body.signature-admin-theme-enabled.accent-signature #admin-panel {
    background:
        radial-gradient(circle at 0% 0%, rgba(154, 0, 2, 0.14), transparent 42%),
        radial-gradient(circle at 100% 0%, rgba(154, 0, 2, 0.10), transparent 36%),
        var(--adm-bg) !important;
    color: var(--adm-text) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-sidebar,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-topbar,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .usage-admin-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-admin-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-admin-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .service-directory-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .kvkk-admin-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .operation-center-admin-shell,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-table-container,
body.signature-admin-theme-enabled.accent-signature #admin-panel .usage-table-wrap,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-table-wrap,
body.signature-admin-theme-enabled.accent-signature #admin-panel .tfa-table-wrap,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-bulk-panel,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-filter-grid,
body.signature-admin-theme-enabled.accent-signature #admin-panel .daily-report-frame,
body.signature-admin-theme-enabled.accent-signature #admin-panel .operation-center-host {
    background: var(--adm-texture-card) !important;
    border-color: var(--adm-border) !important;
    box-shadow: var(--adm-shadow-soft) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-content {
    background:
        radial-gradient(circle at 8% 0%, rgba(154, 0, 2, 0.10), transparent 36%),
        radial-gradient(circle at 100% 12%, rgba(154, 0, 2, 0.07), transparent 34%),
        var(--adm-bg) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-brand {
    border-bottom-color: var(--adm-border) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-brand img {
    filter:
        saturate(1.35)
        contrast(1.12)
        drop-shadow(0 10px 22px rgba(154, 0, 2, 0.22)) !important;
    mix-blend-mode: normal !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .admin-brand img {
    filter:
        brightness(0)
        invert(1)
        sepia(0.25)
        saturate(0.72)
        brightness(1.14)
        drop-shadow(0 0 24px rgba(154, 0, 2, 0.34))
        drop-shadow(0 0 18px rgba(239, 230, 221, 0.20)) !important;
    mix-blend-mode: screen !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-brand h2,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-topbar h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel h1,
body.signature-admin-theme-enabled.accent-signature #admin-panel h2,
body.signature-admin-theme-enabled.accent-signature #admin-panel h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel h4,
body.signature-admin-theme-enabled.accent-signature #admin-panel .dark-text-fix {
    color: var(--adm-text) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-eyebrow,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-mobile-kicker,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-admin-kicker,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-admin-kicker,
body.signature-admin-theme-enabled.accent-signature #admin-panel .kvkk-admin-kicker,
body.signature-admin-theme-enabled.accent-signature #admin-panel .daily-report-kicker,
body.signature-admin-theme-enabled.accent-signature #admin-panel .operation-center-kicker {
    background: var(--adm-accent-soft) !important;
    border: 1px solid var(--adm-border) !important;
    color: var(--adm-accent-bright) !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .ops-eyebrow,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .admin-mobile-kicker,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .vehicle-admin-kicker,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .activity-admin-kicker,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .kvkk-admin-kicker,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .daily-report-kicker,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .operation-center-kicker {
    color: #efe6dd !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .desc,
body.signature-admin-theme-enabled.accent-signature #admin-panel p,
body.signature-admin-theme-enabled.accent-signature #admin-panel label,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-mobile-current-tab,
body.signature-admin-theme-enabled.accent-signature #admin-panel .service-directory-summary,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-table-note,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-bulk-status {
    color: var(--adm-text-muted) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-tab-btn {
    --adm-line: var(--adm-accent);
    color: var(--adm-text-secondary) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-tab-btn::before {
    background:
        linear-gradient(100deg,
            rgba(154, 0, 2, 0.06) 0%,
            rgba(154, 0, 2, 0.18) 30%,
            rgba(239, 230, 221, 0.18) 58%,
            rgba(154, 0, 2, 0.08) 100%) !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .admin-tab-btn::before {
    background:
        linear-gradient(100deg,
            rgba(239, 230, 221, 0.06) 0%,
            rgba(154, 0, 2, 0.22) 36%,
            rgba(239, 230, 221, 0.10) 64%,
            rgba(154, 0, 2, 0.08) 100%) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-tab-btn:hover:not(.active),
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-tab-btn:focus-visible:not(.active) {
    color: var(--adm-text) !important;
    border-color: var(--adm-border-strong) !important;
    background-color: var(--adm-accent-soft) !important;
    box-shadow: 0 12px 24px rgba(85, 5, 6, 0.14) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-tab-btn.active,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-tab-btn.active:hover,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-tab-btn.active:focus-visible {
    color: var(--adm-accent-bright) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .usage-admin-head,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-admin-head,
body.signature-admin-theme-enabled.accent-signature #admin-panel .kvkk-admin-head,
body.signature-admin-theme-enabled.accent-signature #admin-panel .daily-report-admin-head,
body.signature-admin-theme-enabled.accent-signature #admin-panel .operation-center-admin-head,
body.signature-admin-theme-enabled.accent-signature #admin-panel .service-directory-head,
body.signature-admin-theme-enabled.accent-signature #admin-panel .aac-hero,
body.signature-admin-theme-enabled.accent-signature #admin-panel .tfa-hero,
body.signature-admin-theme-enabled.accent-signature #admin-panel .alc-hero,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-hero-panel {
    background: var(--adm-head-gradient) !important;
    border-color: var(--adm-border-strong) !important;
    color: #fff7ef !important;
    box-shadow: var(--adm-shadow) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .usage-admin-head h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-admin-head h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel .kvkk-admin-head h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel .daily-report-admin-head h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel .operation-center-admin-head h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel .service-directory-head h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel .usage-admin-head p,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-admin-head p,
body.signature-admin-theme-enabled.accent-signature #admin-panel .kvkk-admin-head p,
body.signature-admin-theme-enabled.accent-signature #admin-panel .daily-report-admin-head p,
body.signature-admin-theme-enabled.accent-signature #admin-panel .operation-center-admin-head p,
body.signature-admin-theme-enabled.accent-signature #admin-panel .service-directory-head p,
body.signature-admin-theme-enabled.accent-signature #admin-panel .usage-admin-head .desc,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-admin-head .desc,
body.signature-admin-theme-enabled.accent-signature #admin-panel .kvkk-admin-head .desc,
body.signature-admin-theme-enabled.accent-signature #admin-panel .daily-report-admin-head .desc,
body.signature-admin-theme-enabled.accent-signature #admin-panel .operation-center-admin-head .desc,
body.signature-admin-theme-enabled.accent-signature #admin-panel .service-directory-head .desc {
    color: #fff7ef !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-role-banner,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-role-banner.readonly,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-role-banner.root {
    background: rgba(255, 247, 239, 0.12) !important;
    border-color: rgba(239, 230, 221, 0.28) !important;
    color: #fff7ef !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-hero-panel .ops-eyebrow {
    background: rgba(255, 247, 239, 0.12) !important;
    border-color: rgba(239, 230, 221, 0.26) !important;
    color: #fff7ef !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-hero-panel h2,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-hero-panel p {
    color: #fff7ef !important;
    text-shadow: 0 2px 14px rgba(37, 4, 5, 0.28);
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-filter-panel {
    background:
        linear-gradient(135deg, rgba(255, 247, 239, 0.86), rgba(239, 230, 221, 0.60)) !important;
    border-color: rgba(239, 230, 221, 0.36) !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .ops-filter-panel {
    background:
        linear-gradient(135deg, rgba(13, 5, 6, 0.88), rgba(37, 7, 8, 0.62)) !important;
    border-color: rgba(239, 230, 221, 0.16) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-date-row label,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-kpi-card span,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-kpi-card small,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-card-head p,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-report-grid span,
body.signature-admin-theme-enabled.accent-signature #admin-panel .stat-label {
    color: var(--adm-text-muted) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-date-row input,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-date-row select {
    background: var(--adm-bg-input) !important;
    border-color: var(--adm-border) !important;
    color: var(--adm-text) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-quick-row button,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-report-grid button {
    background: var(--adm-texture-inset) !important;
    border-color: var(--adm-border) !important;
    color: var(--adm-accent-bright) !important;
    box-shadow: none !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-quick-row button:hover,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-report-grid button:hover {
    background:
        linear-gradient(135deg, #9a0002, #570607) !important;
    border-color: rgba(239, 230, 221, 0.36) !important;
    color: #fff7ef !important;
    box-shadow: 0 14px 30px rgba(85, 5, 6, 0.22) !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .ops-quick-row button,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .ops-report-grid button {
    color: #efe6dd !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-kpi-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-kpi-card.featured,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .stat-box {
    position: relative;
    overflow: hidden;
    background: var(--adm-texture-card) !important;
    border-color: var(--adm-border) !important;
    box-shadow: var(--adm-shadow-soft) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-kpi-card strong,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-card-head h3,
body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-report-grid strong,
body.signature-admin-theme-enabled.accent-signature #admin-panel .stat-val {
    color: var(--adm-text) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-kpi-card::before,
body.signature-admin-theme-enabled.accent-signature #admin-panel .stat-box::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    border-radius: 6px 0 0 6px;
    background:
        linear-gradient(180deg, #efe6dd 0%, #9a0002 46%, #570607 100%) !important;
    box-shadow: 0 0 18px rgba(154, 0, 2, 0.28);
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .ops-kpi-card.featured {
    background:
        radial-gradient(circle at 90% 8%, rgba(154, 0, 2, 0.16), transparent 36%),
        var(--adm-texture-card) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .glass-theme-switch {
    border-color: var(--adm-border-strong) !important;
    background:
        linear-gradient(135deg, rgba(255, 247, 239, 0.88), rgba(239, 230, 221, 0.66)) !important;
    box-shadow: 0 12px 28px rgba(85, 5, 6, 0.14) !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .glass-theme-switch {
    background:
        linear-gradient(135deg, rgba(23, 7, 8, 0.94), rgba(7, 4, 5, 0.90)) !important;
    box-shadow: 0 0 24px rgba(154, 0, 2, 0.24) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .glass-theme-switch .day-bg {
    background:
        radial-gradient(circle at 24px 18px, rgba(154, 0, 2, 0.20), transparent 28px),
        linear-gradient(135deg, rgba(239, 230, 221, 0.96), rgba(255, 247, 239, 0.68)) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .glass-theme-switch .night-bg {
    background:
        radial-gradient(circle at 118px 22px, rgba(239, 230, 221, 0.20), transparent 30px),
        linear-gradient(135deg, rgba(13, 5, 6, 0.98), rgba(87, 6, 7, 0.82)) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .glass-theme-switch .sun-icon {
    stroke: #9a0002 !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .glass-theme-switch .moon-icon,
body.signature-admin-theme-enabled.accent-signature #admin-panel .glass-theme-switch .bg-star {
    stroke: #efe6dd !important;
    fill: #efe6dd !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-table th {
    background: rgba(154, 0, 2, 0.10) !important;
    color: var(--adm-text-secondary) !important;
    border-bottom-color: var(--adm-border) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-table td {
    color: var(--adm-text-secondary) !important;
    border-bottom-color: var(--adm-border) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-table tr:hover td {
    background: var(--adm-accent-soft) !important;
    color: var(--adm-text) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel input.admin-input,
body.signature-admin-theme-enabled.accent-signature #admin-panel select.admin-select,
body.signature-admin-theme-enabled.accent-signature #admin-panel textarea.admin-input,
body.signature-admin-theme-enabled.accent-signature #admin-panel .followup-form-control {
    background: var(--adm-bg-input) !important;
    border-color: var(--adm-border) !important;
    color: var(--adm-text) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel input.admin-input:focus,
body.signature-admin-theme-enabled.accent-signature #admin-panel select.admin-select:focus,
body.signature-admin-theme-enabled.accent-signature #admin-panel textarea.admin-input:focus,
body.signature-admin-theme-enabled.accent-signature #admin-panel .followup-form-control:focus {
    border-color: var(--adm-accent) !important;
    box-shadow: 0 0 0 3px var(--adm-accent-soft) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-page-access-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .btn-cloud-save,
body.signature-admin-theme-enabled.accent-signature #admin-panel .btn-exit-admin,
body.signature-admin-theme-enabled.accent-signature #admin-panel .export-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .btn-add,
body.signature-admin-theme-enabled.accent-signature #admin-panel .aac-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .alc-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .sys-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .log-filter-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .followup-action-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .followup-tool-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .followup-filter-btn,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-topbar-left button[onclick*="openBroadcastModal"] {
    background: var(--adm-texture-inset) !important;
    border-color: var(--adm-border) !important;
    color: var(--adm-text-secondary) !important;
    box-shadow: none !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .btn-add,
body.signature-admin-theme-enabled.accent-signature #admin-panel .aac-btn.primary,
body.signature-admin-theme-enabled.accent-signature #admin-panel .log-filter-btn.primary,
body.signature-admin-theme-enabled.accent-signature #admin-panel .followup-action-btn.primary,
body.signature-admin-theme-enabled.accent-signature #admin-panel .followup-filter-btn.active,
body.signature-admin-theme-enabled.accent-signature #admin-panel .admin-topbar-left button[onclick*="openBroadcastModal"] {
    background:
        linear-gradient(135deg, #9a0002, #570607) !important;
    border-color: rgba(239, 230, 221, 0.36) !important;
    color: #fff7ef !important;
    box-shadow: 0 14px 30px rgba(85, 5, 6, 0.22) !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .btn-add,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .aac-btn.primary,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .log-filter-btn.primary,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .followup-action-btn.primary,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .followup-filter-btn.active {
    background:
        linear-gradient(135deg, #efe6dd, #9a0002) !important;
    color: #250405 !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .btn-exit-admin {
    color: #9a0002 !important;
    border-color: rgba(154, 0, 2, 0.32) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .btn-exit-admin:hover {
    background: #9a0002 !important;
    color: #fff7ef !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .stat-box,
body.signature-admin-theme-enabled.accent-signature #admin-panel .usage-kpi-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .activity-kpi-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-stat-chip,
body.signature-admin-theme-enabled.accent-signature #admin-panel .aac-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .aac-kpi,
body.signature-admin-theme-enabled.accent-signature #admin-panel .alc-event-card,
body.signature-admin-theme-enabled.accent-signature #admin-panel .tfa-party-card {
    background: var(--adm-texture-inset) !important;
    border-color: var(--adm-border) !important;
    color: var(--adm-text-secondary) !important;
}

body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-brand-pill,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-class-pill,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-class-pill.cat-binek,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-class-pill.cat-hafif,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-class-pill.cat-agir,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-class-pill.cat-mini,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-class-pill.cat-uzun,
body.signature-admin-theme-enabled.accent-signature #admin-panel .vehicle-class-pill.cat-extra {
    background: var(--adm-accent-soft) !important;
    border: 1px solid var(--adm-border) !important;
    color: var(--adm-accent-bright) !important;
}

body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .vehicle-brand-pill,
body.signature-admin-theme-enabled.dark-theme.accent-signature #admin-panel .vehicle-class-pill {
    color: #efe6dd !important;
}

@keyframes signatureAmbientDrift {
    0% { transform: translate3d(-1.8%, -1%, 0) rotate(-1deg) scale(1); }
    100% { transform: translate3d(1.8%, 1%, 0) rotate(1deg) scale(1.03); }
}

@keyframes signaturePrismSweep {
    0%, 22% { transform: translate3d(-18%, 0, 0) rotate(-2deg); opacity: 0.34; }
    48% { opacity: 0.82; }
    76%, 100% { transform: translate3d(18%, 0, 0) rotate(-2deg); opacity: 0.28; }
}

@keyframes signatureSurfaceSweep {
    0%, 18% { transform: translateX(-46%); opacity: 0.42; }
    46% { opacity: 0.78; }
    78%, 100% { transform: translateX(42%); opacity: 0.36; }
}

@keyframes signatureGlowBreath {
    0%, 100% { opacity: 0.46; transform: scale(0.94); }
    50% { opacity: 0.82; transform: scale(1.08); }
}

@keyframes signatureLogoPulse {
    0%, 100% { transform: translateZ(0) scale(1); }
    50% { transform: translateZ(0) scale(1.018); }
}

@keyframes signatureNavLiquid {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    body.accent-signature:not(.admin-panel-open)::before,
    body.accent-signature:not(.admin-panel-open)::after,
    body.accent-signature:not(.admin-panel-open) .glass-card::before,
    body.accent-signature:not(.admin-panel-open) .glass-card::after,
    body.accent-signature:not(.admin-panel-open) .modal-content-card::before,
    body.accent-signature:not(.admin-panel-open) .crud-content::before,
    body.accent-signature:not(.admin-panel-open) .usage-detail-dialog::before,
    body.accent-signature:not(.admin-panel-open) .logo-box img,
    body.accent-signature:not(.admin-panel-open) #servis-logo,
    body.accent-signature:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::before {
        animation: none !important;
    }
}

/* Signature performance pass: remove animated surface layers that caused lag and visual artifacts. */
body.accent-signature:not(.admin-panel-open)::before,
body.accent-signature:not(.admin-panel-open)::after,
body.accent-signature:not(.admin-panel-open) .glass-card::before,
body.accent-signature:not(.admin-panel-open) .glass-card::after,
body.accent-signature:not(.admin-panel-open) .modal-content-card::before,
body.accent-signature:not(.admin-panel-open) .crud-content::before,
body.accent-signature:not(.admin-panel-open) .usage-detail-dialog::before {
    content: none !important;
    display: none !important;
    background: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 0 !important;
    filter: none !important;
}

body.accent-signature:not(.admin-panel-open) .logo-box img,
body.accent-signature:not(.admin-panel-open) #servis-logo,
body.accent-signature:not(.admin-panel-open) .auth-session-loader-logo img,
body.accent-signature:not(.admin-panel-open) #kontrat-modal .logo-box img,
body.accent-signature:not(.admin-panel-open) #profile-modal .logo-box img,
body.accent-signature:not(.admin-panel-open) #followup-modal .logo-box img {
    animation: none !important;
    will-change: auto !important;
}

body.accent-signature:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::before {
    animation: none !important;
    background:
        radial-gradient(ellipse 58% 150% at 86% 50%, rgba(154, 0, 2, 0.24), transparent 72%),
        linear-gradient(115deg, transparent 18%, rgba(255, 247, 239, 0.18) 48%, rgba(154, 0, 2, 0.08) 66%, transparent 84%) !important;
    background-size: auto !important;
    transform: none !important;
    opacity: 0.52 !important;
    will-change: auto !important;
}

body.accent-signature:not(.admin-panel-open) #bg-canvas,
body.dark-theme.accent-signature:not(.admin-panel-open) #bg-canvas {
    filter: none !important;
    opacity: 1 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn::before {
    background:
        radial-gradient(ellipse 58% 150% at 86% 50%, rgba(154, 0, 2, 0.36), transparent 72%),
        linear-gradient(115deg, transparent 18%, rgba(239, 230, 221, 0.11) 48%, rgba(154, 0, 2, 0.13) 66%, transparent 84%) !important;
}

body.accent-signature:not(.admin-panel-open) #main-card.glass-card {
    overflow: visible !important;
    contain: layout style !important;
}

body.accent-signature:not(.admin-panel-open) #main-card .input-wrapper {
    overflow: visible !important;
    z-index: 5 !important;
}

body.accent-signature:not(.admin-panel-open) #main-card #suggestions.suggestions-box.visible {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
    max-height: min(248px, 32vh) !important;
    overflow-y: auto !important;
    z-index: 6 !important;
    animation: none !important;
    transform: none !important;
}

body.accent-signature:not(.admin-panel-open) #main-card #display {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 16px !important;
}

body.accent-signature:not(.admin-panel-open) #main-card #servis-btn-wrapper,
body.accent-signature:not(.admin-panel-open) #main-card .footer-elite {
    position: relative !important;
    z-index: 1 !important;
}

body.accent-signature:not(.admin-panel-open) .custom-modal.active > .modal-content-card,
body.accent-signature:not(.admin-panel-open) #profile-modal.active > .profile-card-ui,
body.accent-signature:not(.admin-panel-open) #kontrat-modal.active > .modal-content-card,
body.accent-signature:not(.admin-panel-open) .crud-modal.active .crud-content,
body.accent-signature:not(.admin-panel-open) .usage-detail-modal.active .usage-detail-dialog {
    overflow-x: hidden !important;
}

body.accent-signature:not(.admin-panel-open) #followup-modal.active > .followup-modal-card {
    overflow: hidden !important;
}

body.accent-signature:not(.admin-panel-open) .modal-content-card > .modal-close,
body.accent-signature:not(.admin-panel-open) .crud-content > .modal-close,
body.accent-signature:not(.admin-panel-open) .usage-detail-dialog > .modal-close,
body.accent-signature:not(.admin-panel-open) .custom-modal .modal-close,
body.accent-signature:not(.admin-panel-open) .crud-modal .modal-close,
body.accent-signature:not(.admin-panel-open) .usage-detail-modal .modal-close {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: grid !important;
    place-items: center !important;
    z-index: 80 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

body.accent-signature:not(.admin-panel-open) #followup-modal .modal-close {
    top: 18px !important;
    right: 18px !important;
}

body.accent-signature:not(.admin-panel-open) .modal-close:hover {
    transform: none !important;
}

body.accent-signature:not(.admin-panel-open) .followup-form-field.accent-line::before {
    background:
        linear-gradient(180deg, #efe6dd 0%, #9a0002 48%, #570607 100%) !important;
    background-size: 100% 100% !important;
    animation: none !important;
    box-shadow: 0 0 14px rgba(154, 0, 2, 0.18);
}

body.accent-signature:not(.admin-panel-open) .followup-form-value,
body.accent-signature:not(.admin-panel-open) .followup-form-message,
body.accent-signature:not(.admin-panel-open) .followup-form-control {
    border-color: rgba(154, 0, 2, 0.22) !important;
    background: rgba(255, 247, 239, 0.82) !important;
    color: #2b0808 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .followup-form-value,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-form-message,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-form-control {
    border-color: rgba(239, 230, 221, 0.20) !important;
    background: rgba(20, 7, 8, 0.88) !important;
    color: #fff7ef !important;
}

body.accent-signature:not(.admin-panel-open) .followup-form-control:focus,
body.accent-signature:not(.admin-panel-open) .followup-target-trigger:hover,
body.accent-signature:not(.admin-panel-open) .followup-target-trigger.open {
    border-color: #9a0002 !important;
    box-shadow: 0 0 0 3px rgba(154, 0, 2, 0.13) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .followup-form-control:focus,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-target-trigger:hover,
body.dark-theme.accent-signature:not(.admin-panel-open) .followup-target-trigger.open {
    border-color: rgba(239, 230, 221, 0.38) !important;
    box-shadow: 0 0 0 3px rgba(239, 230, 221, 0.10) !important;
}

body.accent-signature:not(.admin-panel-open) .followup-compose-form {
    background:
        linear-gradient(135deg, rgba(255, 247, 239, 0.88), rgba(239, 230, 221, 0.68)) !important;
    border-color: rgba(154, 0, 2, 0.18) !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) .followup-compose-form {
    background:
        linear-gradient(135deg, rgba(22, 7, 8, 0.92), rgba(8, 4, 5, 0.88)) !important;
    border-color: rgba(239, 230, 221, 0.16) !important;
}

body.accent-signature:not(.admin-panel-open) .followup-compose-form::before {
    background:
        linear-gradient(180deg, #efe6dd 0%, #9a0002 46%, #570607 100%) !important;
    background-size: 100% 100% !important;
    animation: none !important;
    box-shadow: 0 0 14px rgba(154, 0, 2, 0.18);
}

body.accent-signature:not(.admin-panel-open) #followup-modal .followup-compose,
body.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-compose {
    background:
        linear-gradient(135deg, rgba(255, 247, 239, 0.88), rgba(239, 230, 221, 0.62)) !important;
    color: #2b0808 !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-compose,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-compose {
    background:
        radial-gradient(circle at 100% 0%, rgba(154, 0, 2, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(23, 7, 8, 0.96), rgba(8, 4, 5, 0.94)) !important;
    color: #fff7ef !important;
}

body.dark-theme.accent-signature:not(.admin-panel-open) #followup-modal .followup-layout,
body.dark-theme.accent-signature:not(.admin-panel-open) .admin-followup-page .followup-layout {
    background:
        linear-gradient(135deg, rgba(16, 6, 7, 0.98), rgba(8, 4, 5, 0.94)) !important;
}

@media (max-width: 768px) {
    body.accent-signature:not(.admin-panel-open) .modal-content-card > .modal-close,
    body.accent-signature:not(.admin-panel-open) .crud-content > .modal-close,
    body.accent-signature:not(.admin-panel-open) .usage-detail-dialog > .modal-close,
    body.accent-signature:not(.admin-panel-open) .custom-modal .modal-close,
    body.accent-signature:not(.admin-panel-open) .crud-modal .modal-close,
    body.accent-signature:not(.admin-panel-open) .usage-detail-modal .modal-close {
        top: 14px !important;
        right: 14px !important;
    }

    body.accent-signature:not(.admin-panel-open) #main-card #suggestions.suggestions-box.visible {
        max-height: min(220px, 30vh) !important;
    }
}

/* Assistline once-per-account what's new tour */
body.assistline-tour-active {
    overflow: hidden !important;
}

.assistline-whats-new {
    position: fixed;
    z-index: 2147482600;
    inset: 0;
    pointer-events: auto;
    color: #0f172a;
    isolation: isolate;
}

.assistline-tour-ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.assistline-tour-ambient span {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 999px;
    opacity: 0.48;
    filter: blur(18px);
    transform: translate3d(0, 0, 0);
    animation: assistlineTourFloat 8s ease-in-out infinite alternate;
}

.assistline-tour-ambient span:nth-child(1) {
    left: 10%;
    top: 14%;
    background: rgba(14, 165, 233, 0.34);
}

.assistline-tour-ambient span:nth-child(2) {
    right: 8%;
    top: 18%;
    animation-delay: -2s;
    background: rgba(225, 29, 72, 0.28);
}

.assistline-tour-ambient span:nth-child(3) {
    left: 20%;
    bottom: 10%;
    animation-delay: -4s;
    background: rgba(20, 184, 166, 0.24);
}

.assistline-tour-ambient span:nth-child(4) {
    right: 18%;
    bottom: 6%;
    animation-delay: -1s;
    background: rgba(251, 191, 36, 0.24);
}

.assistline-tour-spotlight {
    position: fixed;
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.86);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        0 0 0 9999px rgba(2, 6, 23, 0.68),
        0 0 0 8px rgba(14, 165, 233, 0.16),
        0 18px 56px rgba(14, 165, 233, 0.38);
    pointer-events: none;
    transition:
        left 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
        top 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
        width 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
        height 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-radius 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.assistline-tour-spotlight::before,
.assistline-tour-spotlight::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.34);
    animation: assistlineTourPulse 1.8s ease-in-out infinite;
}

.assistline-tour-spotlight::after {
    inset: -18px;
    border-color: rgba(14, 165, 233, 0.24);
    animation-delay: -0.9s;
}

.assistline-tour-card {
    position: fixed;
    z-index: 3;
    min-height: 302px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.78);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.96), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 255, 0.56)),
        rgba(255, 255, 255, 0.7);
    box-shadow:
        0 28px 92px rgba(2, 6, 23, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(22px) saturate(158%);
    -webkit-backdrop-filter: blur(22px) saturate(158%);
    transition:
        left 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
        top 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.assistline-tour-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.44) 34%, transparent 56%),
        radial-gradient(circle at 96% 12%, rgba(225, 29, 72, 0.18), transparent 26%);
    opacity: 0.74;
    pointer-events: none;
    animation: assistlineTourSheen 4s ease-in-out infinite;
}

.assistline-tour-card > * {
    position: relative;
    z-index: 1;
}

.assistline-tour-orbit {
    position: absolute;
    inset: auto 18px 16px auto;
    width: 96px;
    height: 96px;
    opacity: 0.36;
    pointer-events: none;
}

.assistline-tour-orbit span {
    position: absolute;
    border: 1px solid rgba(14, 165, 233, 0.42);
    border-radius: 999px;
    inset: 20px;
    animation: assistlineTourOrbit 7s linear infinite;
}

.assistline-tour-orbit span:nth-child(2) {
    inset: 8px;
    border-color: rgba(225, 29, 72, 0.32);
    animation-duration: 9s;
    animation-direction: reverse;
}

.assistline-tour-orbit span:nth-child(3) {
    inset: 34px;
    background: rgba(20, 184, 166, 0.68);
    border: 0;
    animation-duration: 4s;
}

.assistline-tour-progress {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 18px;
}

.assistline-tour-progress span {
    height: 5px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.26);
    overflow: hidden;
}

.assistline-tour-progress span.active {
    background: linear-gradient(90deg, #0ea5e9, #14b8a6, #e11d48);
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.22);
}

.assistline-tour-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #0284c7;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.assistline-tour-kicker::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #14b8a6, #e11d48);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.46);
}

.assistline-tour-card h2 {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: 0;
}

.assistline-tour-card p {
    margin: 12px 0 0;
    color: #475569;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.55;
}

.assistline-tour-visual {
    display: none;
    margin-top: 16px;
}

.assistline-whats-new[data-tone="visual"] .assistline-tour-visual {
    display: block;
}

.assistline-tour-phone,
.assistline-install-visual {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.82);
    border-radius: 20px;
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.72), transparent 30%),
        linear-gradient(145deg, rgba(239, 246, 255, 0.74), rgba(255, 255, 255, 0.48));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.assistline-tour-phone {
    display: grid;
    gap: 10px;
    padding: 12px;
}

.tour-phone-status,
.tour-phone-tabs,
.install-browser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.tour-phone-status {
    color: #0f172a;
    font-size: 11px;
    font-weight: 950;
}

.tour-phone-status span,
.tour-phone-status i {
    width: 34px;
    height: 8px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.28);
}

.tour-phone-status i {
    width: 26px;
    background: rgba(225, 29, 72, 0.24);
}

.tour-phone-screen {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.62)),
        rgba(255, 255, 255, 0.7);
}

.tour-phone-card {
    height: 58px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(20, 184, 166, 0.14)),
        rgba(255, 255, 255, 0.82);
}

.tour-phone-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}

.tour-phone-row span,
.tour-phone-chat {
    height: 28px;
    border-radius: 10px;
    background: rgba(148, 163, 184, 0.18);
}

.tour-phone-row span:nth-child(2) {
    background: rgba(20, 184, 166, 0.22);
}

.tour-phone-row span:nth-child(3) {
    background: rgba(225, 29, 72, 0.16);
}

.tour-phone-chat {
    height: 34px;
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.16), rgba(225, 29, 72, 0.12));
}

.tour-phone-tabs {
    padding: 9px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.62);
}

.tour-phone-tabs span {
    min-width: 0;
    color: #334155;
    font-size: 10px;
    font-weight: 950;
}

.assistline-install-visual {
    display: grid;
    gap: 12px;
    padding: 12px;
}

.install-browser {
    min-height: 42px;
    padding: 7px 8px 7px 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.78);
}

.install-url {
    min-width: 0;
    overflow: hidden;
    color: #475569;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 900;
}

.install-share,
.install-menu {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #14b8a6);
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.22);
}

.install-share svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.install-steps span {
    display: grid;
    min-height: 44px;
    place-items: center;
    padding: 7px;
    border: 1px solid rgba(226, 232, 240, 0.78);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.58);
    color: #0f172a;
    font-size: 10px;
    font-weight: 950;
    text-align: center;
}

.install-prompt {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 10px;
    align-items: center;
    padding: 12px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
}

.install-prompt strong,
.install-prompt small {
    min-width: 0;
}

.install-prompt strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 950;
}

.install-prompt small {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}

.install-prompt span {
    grid-row: 1 / span 2;
    grid-column: 2;
    padding: 8px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
}

.assistline-tour-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

.assistline-tour-count {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.assistline-tour-next {
    min-width: 146px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f172a, #0ea5e9);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.28);
    cursor: pointer;
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.assistline-tour-next:hover,
.assistline-tour-next:focus-visible {
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 22px 44px rgba(14, 165, 233, 0.34);
}

.assistline-tour-next:disabled {
    opacity: 0.7;
    cursor: wait;
}

.assistline-whats-new[data-tone="hero"] .assistline-tour-card,
.assistline-whats-new[data-tone="finish"] .assistline-tour-card {
    min-height: 348px;
    text-align: center;
}

.assistline-whats-new[data-tone="hero"] .assistline-tour-kicker,
.assistline-whats-new[data-tone="finish"] .assistline-tour-kicker {
    justify-content: center;
}

.assistline-whats-new[data-tone="hero"] .assistline-tour-card h2,
.assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
    font-size: 32px;
}

.assistline-whats-new[data-tone="hero"] .assistline-tour-actions,
.assistline-whats-new[data-tone="finish"] .assistline-tour-actions {
    justify-content: center;
}

.assistline-whats-new[data-tone="hero"] .assistline-tour-count,
.assistline-whats-new[data-tone="finish"] .assistline-tour-count {
    position: absolute;
    left: 22px;
    bottom: 30px;
}

body.dark-theme .assistline-tour-card {
    border-color: rgba(148, 163, 184, 0.22);
    background:
        radial-gradient(circle at 12% 0%, rgba(51, 65, 85, 0.74), transparent 34%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.72)),
        rgba(15, 23, 42, 0.78);
    color: #f8fafc;
}

body.dark-theme .assistline-tour-card h2 {
    color: #f8fafc;
}

body.dark-theme .assistline-tour-card p,
body.dark-theme .assistline-tour-count {
    color: #cbd5e1;
}

body.dark-theme .assistline-tour-kicker {
    color: #7dd3fc;
}

body.dark-theme .assistline-tour-spotlight {
    box-shadow:
        0 0 0 9999px rgba(0, 0, 0, 0.68),
        0 0 0 8px rgba(125, 211, 252, 0.14),
        0 18px 56px rgba(14, 165, 233, 0.28);
}

body.accent-signature:not(.admin-panel-open) .assistline-tour-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(154, 0, 2, 0.16), transparent 30%),
        linear-gradient(145deg, rgba(255, 247, 239, 0.82), rgba(239, 230, 221, 0.58)),
        rgba(255, 247, 239, 0.68);
}

body.dark-theme.accent-signature:not(.admin-panel-open) .assistline-tour-card {
    background:
        radial-gradient(circle at 100% 0%, rgba(154, 0, 2, 0.24), transparent 32%),
        linear-gradient(145deg, rgba(23, 7, 8, 0.9), rgba(8, 4, 5, 0.74)),
        rgba(23, 7, 8, 0.72);
}

body.accent-signature:not(.admin-panel-open) .assistline-tour-progress span.active,
body.accent-signature:not(.admin-panel-open) .assistline-tour-next {
    background: linear-gradient(135deg, #9a0002, #0ea5e9);
}

@keyframes assistlineTourFloat {
    from {
        transform: translate3d(-18px, 8px, 0) scale(0.92);
    }
    to {
        transform: translate3d(18px, -14px, 0) scale(1.08);
    }
}

@keyframes assistlineTourPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.03);
    }
}

@keyframes assistlineTourSheen {
    0%, 100% {
        transform: translateX(-48%);
    }
    50% {
        transform: translateX(48%);
    }
}

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

@media (max-width: 760px) {
    .assistline-tour-card {
        min-height: 286px;
        padding: 18px;
        border-radius: 20px;
    }

    .assistline-tour-card h2 {
        font-size: 23px;
    }

    .assistline-tour-card p {
        font-size: 13px;
    }

    .assistline-tour-next {
        min-width: 132px;
    }

    .assistline-whats-new[data-tone="hero"] .assistline-tour-card h2,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
        font-size: 28px;
    }
}

	@media (prefers-reduced-motion: reduce) {
	    .assistline-tour-ambient span,
	    .assistline-tour-cinema span,
	    .assistline-tour-spotlight::before,
	    .assistline-tour-spotlight::after,
	    .assistline-tour-card::before,
	    .assistline-tour-orbit span {
	        animation: none !important;
	    }
	}

	/* Assistline tour cinematic layer */
	.assistline-whats-new {
	    background:
	        radial-gradient(circle at 18% 18%, rgba(14, 165, 233, 0.18), transparent 27%),
	        radial-gradient(circle at 84% 24%, rgba(225, 29, 72, 0.14), transparent 26%),
	        rgba(2, 6, 23, 0.16);
	    backdrop-filter: blur(2px) saturate(118%);
	    -webkit-backdrop-filter: blur(2px) saturate(118%);
	}

	.assistline-tour-cinema {
	    position: absolute;
	    inset: 0;
	    overflow: hidden;
	    pointer-events: none;
	    opacity: 0.82;
	}

	.assistline-tour-cinema::before {
	    content: "";
	    position: absolute;
	    inset: -22%;
	    background:
	        linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.15) 42%, transparent 48%),
	        linear-gradient(72deg, transparent 0 56%, rgba(14, 165, 233, 0.16) 60%, transparent 66%);
	    transform: translate3d(-14%, 0, 0) rotate(0.001deg);
	    animation: assistlineTourLightSweep 8s ease-in-out infinite;
	}

	.assistline-tour-cinema::after {
	    content: "";
	    position: absolute;
	    inset: 0;
	    background-image:
	        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
	        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	    background-size: 96px 96px;
	    mask-image: radial-gradient(circle at 50% 50%, #000 0 46%, transparent 72%);
	    opacity: 0.22;
	}

	.assistline-tour-cinema span {
	    position: absolute;
	    width: 8px;
	    height: 8px;
	    border-radius: 999px;
	    background: rgba(255, 255, 255, 0.72);
	    box-shadow:
	        0 0 0 9px rgba(255, 255, 255, 0.08),
	        0 0 32px rgba(14, 165, 233, 0.48);
	    animation: assistlineTourSpark 7s ease-in-out infinite;
	}

	.assistline-tour-cinema span:nth-child(1) {
	    left: 14%;
	    top: 22%;
	}

	.assistline-tour-cinema span:nth-child(2) {
	    right: 18%;
	    top: 34%;
	    animation-delay: -2.2s;
	}

	.assistline-tour-cinema span:nth-child(3) {
	    left: 62%;
	    bottom: 18%;
	    animation-delay: -4.4s;
	}

	.assistline-tour-card {
	    border-color: rgba(255, 255, 255, 0.62);
	    border-radius: 28px;
	    background:
	        linear-gradient(132deg, rgba(255, 255, 255, 0.86), rgba(240, 249, 255, 0.58)),
	        rgba(255, 255, 255, 0.56);
	    box-shadow:
	        0 34px 120px rgba(2, 6, 23, 0.34),
	        0 0 0 1px rgba(255, 255, 255, 0.34) inset,
	        0 1px 0 rgba(255, 255, 255, 0.7) inset;
	    backdrop-filter: blur(30px) saturate(180%);
	    -webkit-backdrop-filter: blur(30px) saturate(180%);
	    transform: translate3d(0, 8px, 0) scale(0.985);
	    opacity: 0.94;
	}

	.assistline-whats-new.is-settled .assistline-tour-card {
	    animation: assistlineTourCardReveal 0.42s cubic-bezier(0.2, 0.85, 0.2, 1) both;
	}

	.assistline-tour-card::after {
	    content: "";
	    position: absolute;
	    inset: 1px;
	    border-radius: 27px;
	    border: 1px solid rgba(255, 255, 255, 0.36);
	    pointer-events: none;
	}

	.assistline-tour-spotlight {
	    border-color: rgba(255, 255, 255, 0.92);
	    background:
	        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 42%),
	        rgba(255, 255, 255, 0.05);
	    box-shadow:
	        0 0 0 9999px rgba(2, 6, 23, 0.66),
	        0 0 0 10px rgba(14, 165, 233, 0.14),
	        0 0 0 18px rgba(225, 29, 72, 0.08),
	        0 24px 70px rgba(14, 165, 233, 0.34);
	}

	.assistline-tour-progress span.active {
	    background: linear-gradient(90deg, #0ea5e9, #14b8a6 46%, #e11d48);
	}

	.assistline-tour-visual:not(:empty) {
	    display: block;
	}

	.assistline-tour-scene,
	.assistline-tour-phone,
	.assistline-install-visual {
	    min-height: 168px;
	    transform: translate3d(0, 0, 0);
	}

	.assistline-whats-new.is-settled .assistline-tour-scene,
	.assistline-whats-new.is-settled .assistline-tour-phone,
	.assistline-whats-new.is-settled .assistline-install-visual {
	    animation: assistlineTourSceneIn 0.52s cubic-bezier(0.2, 0.85, 0.2, 1) both;
	}

	.assistline-tour-scene {
	    position: relative;
	    overflow: hidden;
	    margin-top: 16px;
	    padding: 16px;
	    border: 1px solid rgba(255, 255, 255, 0.62);
	    border-radius: 24px;
	    background:
	        radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.75), transparent 30%),
	        linear-gradient(135deg, rgba(239, 246, 255, 0.74), rgba(255, 255, 255, 0.34)),
	        rgba(255, 255, 255, 0.38);
	    box-shadow:
	        0 18px 44px rgba(15, 23, 42, 0.12),
	        inset 0 1px 0 rgba(255, 255, 255, 0.74);
	}

	.assistline-tour-scene::before {
	    content: "";
	    position: absolute;
	    inset: -24%;
	    background:
	        radial-gradient(circle at 20% 36%, rgba(14, 165, 233, 0.2), transparent 24%),
	        radial-gradient(circle at 72% 32%, rgba(225, 29, 72, 0.16), transparent 23%),
	        linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.32) 46%, transparent 56%);
	    animation: assistlineTourStageSweep 6.6s ease-in-out infinite;
	}

	.assistline-tour-scene > * {
	    position: relative;
	    z-index: 1;
	}

	.tour-logo-lockup {
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    gap: 4px;
	    min-height: 46px;
	    color: #111827;
	    font-size: 23px;
	    font-weight: 950;
	    letter-spacing: 0;
	}

	.tour-logo-lockup span {
	    display: inline-grid;
	    width: 32px;
	    height: 32px;
	    place-items: center;
	    border-radius: 7px;
	    background: #ef233c;
	    color: #ffffff;
	    box-shadow: 0 14px 28px rgba(239, 35, 60, 0.26);
	}

	.tour-hero-reel {
	    display: grid;
	    grid-template-columns: repeat(4, minmax(0, 1fr));
	    gap: 8px;
	    margin-top: 14px;
	}

	.tour-hero-reel span,
	.tour-phone-row span,
	.tour-phone-chat {
	    display: grid;
	    place-items: center;
	    min-width: 0;
	    text-align: center;
	}

	.tour-hero-reel span {
	    min-height: 42px;
	    border: 1px solid rgba(255, 255, 255, 0.58);
	    border-radius: 14px;
	    background: rgba(255, 255, 255, 0.5);
	    color: #334155;
	    font-size: 10px;
	    font-weight: 950;
	}

	.tour-hero-screen {
	    position: relative;
	    display: grid;
	    grid-template-columns: 1.35fr 0.65fr;
	    gap: 9px;
	    margin-top: 12px;
	}

	.tour-hero-screen i {
	    display: block;
	    min-height: 34px;
	    border-radius: 14px;
	    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(20, 184, 166, 0.18));
	}

	.tour-hero-screen i:first-child {
	    grid-row: span 2;
	    min-height: 76px;
	}

	.tour-hero-screen i:nth-child(3) {
	    background: linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(251, 191, 36, 0.14));
	}

	.assistline-tour-scene.signature {
	    display: grid;
	    grid-template-columns: 122px minmax(0, 1fr);
	    gap: 14px;
	    align-items: center;
	}

	.tour-signature-orb {
	    position: relative;
	    width: 112px;
	    height: 112px;
	    border-radius: 34px;
	    background:
	        radial-gradient(circle at 30% 24%, #fff7ef, transparent 34%),
	        linear-gradient(135deg, #9a0002, #0ea5e9);
	    box-shadow: 0 24px 54px rgba(154, 0, 2, 0.24);
	}

	.tour-signature-orb span {
	    position: absolute;
	    inset: 14px;
	    border: 1px solid rgba(255, 255, 255, 0.42);
	    border-radius: 28px;
	    animation: assistlineTourOrbit 8s linear infinite;
	}

	.tour-signature-orb span:nth-child(2) {
	    inset: 31px;
	    border-radius: 999px;
	    background: rgba(255, 255, 255, 0.34);
	    animation-direction: reverse;
	}

	.tour-signature-palette {
	    display: flex;
	    gap: 8px;
	    margin-bottom: 10px;
	}

	.tour-signature-palette i {
	    width: 32px;
	    height: 32px;
	    border-radius: 12px;
	    background: #0ea5e9;
	    box-shadow: 0 10px 26px rgba(14, 165, 233, 0.2);
	}

	.tour-signature-palette i:nth-child(2) {
	    background: #e11d48;
	}

	.tour-signature-palette i:nth-child(3) {
	    background: #fff7ef;
	}

	.tour-signature-palette i:nth-child(4) {
	    background: #0f172a;
	}

	.tour-signature-glass {
	    display: grid;
	    gap: 4px;
	    padding: 13px;
	    border: 1px solid rgba(255, 255, 255, 0.56);
	    border-radius: 16px;
	    background: rgba(255, 255, 255, 0.5);
	}

	.tour-signature-glass strong,
	.tour-profile-card strong,
	.assistline-tour-scene.finish strong {
	    color: #0f172a;
	    font-size: 18px;
	    font-weight: 950;
	}

	.tour-signature-glass small,
	.tour-profile-card small,
	.assistline-tour-scene.finish small {
	    color: #64748b;
	    font-size: 11px;
	    font-weight: 850;
	}

	.assistline-tour-scene.vehicle {
	    display: grid;
	    gap: 12px;
	}

	.tour-search-mock {
	    display: flex;
	    align-items: center;
	    gap: 10px;
	    min-height: 56px;
	    padding: 0 16px;
	    border-radius: 18px;
	    background: rgba(255, 255, 255, 0.72);
	    color: #64748b;
	    font-size: 13px;
	    font-weight: 950;
	}

	.tour-search-mock span {
	    width: 18px;
	    height: 18px;
	    border: 3px solid #0ea5e9;
	    border-radius: 999px;
	    box-shadow: 12px 12px 0 -9px #0ea5e9;
	}

	.tour-result-mock {
	    display: grid;
	    gap: 8px;
	    padding: 15px;
	    border-radius: 18px;
	    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(14, 165, 233, 0.68));
	}

	.tour-result-mock b,
	.tour-result-mock span {
	    display: block;
	    height: 11px;
	    border-radius: 999px;
	    background: rgba(255, 255, 255, 0.78);
	}

	.tour-result-mock b {
	    width: 46%;
	    height: 17px;
	}

	.tour-result-mock span:nth-child(2) {
	    width: 76%;
	}

	.tour-result-mock span:nth-child(3) {
	    width: 58%;
	    background: rgba(255, 255, 255, 0.52);
	}

	.assistline-tour-scene.chat {
	    display: grid;
	    grid-template-columns: 0.88fr 1fr;
	    gap: 10px;
	    align-items: center;
	}

	.tour-chat-network {
	    position: relative;
	    min-height: 128px;
	    border-radius: 22px;
	    background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.18), transparent 58%);
	}

	.tour-chat-network::before,
	.tour-chat-network::after {
	    content: "";
	    position: absolute;
	    inset: 24px;
	    border: 1px solid rgba(14, 165, 233, 0.34);
	    border-radius: 999px;
	    animation: assistlineTourPulse 2.4s ease-in-out infinite;
	}

	.tour-chat-network::after {
	    inset: 42px;
	    border-color: rgba(225, 29, 72, 0.28);
	    animation-delay: -1.2s;
	}

	.tour-chat-network span {
	    position: absolute;
	    width: 34px;
	    height: 34px;
	    border-radius: 14px;
	    background: #dff8ec;
	    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
	}

	.tour-chat-network span:nth-child(1) {
	    left: 18px;
	    top: 18px;
	}

	.tour-chat-network span:nth-child(2) {
	    right: 18px;
	    top: 28px;
	    background: #e0f2fe;
	}

	.tour-chat-network span:nth-child(3) {
	    left: 38px;
	    bottom: 18px;
	    background: #ffe4e6;
	}

	.tour-chat-network span:nth-child(4) {
	    right: 36px;
	    bottom: 24px;
	    background: #fff7ed;
	}

	.tour-chat-bubble,
	.tour-chat-channel,
	.tour-shift-ticket {
	    padding: 11px 13px;
	    border-radius: 16px;
	    color: #0f172a;
	    font-size: 11px;
	    font-weight: 950;
	    background: rgba(255, 255, 255, 0.66);
	    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
	}

	.tour-chat-bubble.left {
	    border-bottom-left-radius: 7px;
	}

	.tour-chat-bubble.right {
	    justify-self: end;
	    width: 72%;
	    margin-top: 8px;
	    border-bottom-right-radius: 7px;
	    background: linear-gradient(135deg, rgba(20, 184, 166, 0.22), rgba(255, 255, 255, 0.62));
	}

	.tour-chat-channel {
	    grid-column: 2;
	    margin-top: 8px;
	    background: linear-gradient(135deg, rgba(225, 29, 72, 0.16), rgba(14, 165, 233, 0.16));
	}

	.assistline-tour-scene.profile {
	    display: grid;
	    place-items: center;
	}

	.tour-profile-card {
	    display: grid;
	    place-items: center;
	    gap: 7px;
	    width: 100%;
	    min-height: 138px;
	    border-radius: 22px;
	    background:
	        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.18), transparent 42%),
	        rgba(255, 255, 255, 0.62);
	}

	.tour-profile-card span {
	    display: grid;
	    width: 62px;
	    height: 62px;
	    place-items: center;
	    border-radius: 22px;
	    background: linear-gradient(135deg, #e0f2fe, #dff8ec);
	    color: #075985;
	    font-size: 19px;
	    font-weight: 950;
	}

	.assistline-tour-scene.shift {
	    display: grid;
	    grid-template-columns: 1fr 0.72fr;
	    gap: 12px;
	    align-items: stretch;
	}

	.tour-calendar {
	    display: grid;
	    grid-template-columns: repeat(5, minmax(0, 1fr));
	    gap: 7px;
	    padding: 12px;
	    border-radius: 18px;
	    background: rgba(255, 255, 255, 0.58);
	}

	.tour-calendar span,
	.tour-calendar i {
	    display: grid;
	    min-height: 27px;
	    place-items: center;
	    border-radius: 10px;
	    color: #64748b;
	    font-size: 9px;
	    font-weight: 950;
	    background: rgba(255, 255, 255, 0.54);
	}

	.tour-calendar i {
	    min-height: 39px;
	    background: linear-gradient(135deg, rgba(14, 165, 233, 0.18), rgba(20, 184, 166, 0.16));
	}

	.tour-calendar i:nth-of-type(4) {
	    background: linear-gradient(135deg, rgba(225, 29, 72, 0.18), rgba(251, 191, 36, 0.14));
	}

	.tour-shift-ticket {
	    display: grid;
	    place-items: center;
	    text-align: center;
	    background: linear-gradient(145deg, rgba(15, 23, 42, 0.9), rgba(14, 165, 233, 0.62));
	    color: #ffffff;
	}

	.assistline-tour-scene.menu {
	    display: grid;
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	    gap: 9px;
	}

	.assistline-tour-scene.menu span {
	    display: grid;
	    min-height: 45px;
	    place-items: center;
	    border: 1px solid rgba(255, 255, 255, 0.54);
	    border-radius: 15px;
	    background: rgba(255, 255, 255, 0.58);
	    color: #334155;
	    font-size: 11px;
	    font-weight: 950;
	}

	.assistline-tour-scene.menu span:nth-child(2) {
	    background: rgba(225, 29, 72, 0.13);
	}

	.assistline-tour-scene.menu span:nth-child(5) {
	    grid-column: 1 / -1;
	    background: rgba(14, 165, 233, 0.14);
	}

	.tour-phone-card {
	    display: grid;
	    gap: 3px;
	    place-items: start;
	    padding: 12px;
	    color: #0f172a;
	    font-size: 11px;
	    font-weight: 950;
	}

	.tour-phone-card small {
	    color: #64748b;
	    font-size: 10px;
	    font-weight: 850;
	}

	.tour-phone-row span,
	.tour-phone-chat {
	    color: #0f172a;
	    font-size: 10px;
	    font-weight: 950;
	}

	.tour-phone-chat {
	    padding: 0 10px;
	}

	.install-steps span {
	    gap: 5px;
	}

	.install-steps b {
	    display: grid;
	    width: 22px;
	    height: 22px;
	    place-items: center;
	    border-radius: 999px;
	    background: linear-gradient(135deg, #0ea5e9, #e11d48);
	    color: #ffffff;
	    font-size: 10px;
	    font-weight: 950;
	}

	.assistline-tour-scene.finish {
	    display: grid;
	    place-items: center;
	    gap: 9px;
	    text-align: center;
	}

	.tour-finish-ring {
	    position: relative;
	    width: 106px;
	    height: 106px;
	    border-radius: 34px;
	    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(225, 29, 72, 0.18));
	}

	.tour-finish-ring span {
	    position: absolute;
	    inset: 15px;
	    border: 1px solid rgba(255, 255, 255, 0.52);
	    border-radius: 28px;
	    animation: assistlineTourOrbit 7s linear infinite;
	}

	.tour-finish-ring span:nth-child(2) {
	    inset: 28px;
	    border-radius: 999px;
	    animation-direction: reverse;
	}

	.tour-finish-ring span:nth-child(3) {
	    inset: 43px;
	    background: linear-gradient(135deg, #0ea5e9, #14b8a6, #e11d48);
	    border: 0;
	}

	body.dark-theme .assistline-whats-new {
	    background:
	        radial-gradient(circle at 18% 18%, rgba(14, 165, 233, 0.18), transparent 27%),
	        radial-gradient(circle at 84% 24%, rgba(225, 29, 72, 0.18), transparent 26%),
	        rgba(0, 0, 0, 0.18);
	}

	body.dark-theme .assistline-tour-card {
	    border-color: rgba(255, 255, 255, 0.18);
	    background:
	        linear-gradient(132deg, rgba(30, 41, 59, 0.72), rgba(2, 6, 23, 0.55)),
	        rgba(15, 23, 42, 0.5);
	    box-shadow:
	        0 34px 120px rgba(0, 0, 0, 0.48),
	        0 0 0 1px rgba(255, 255, 255, 0.12) inset;
	}

	body.dark-theme .assistline-tour-scene,
	body.dark-theme .assistline-tour-phone,
	body.dark-theme .assistline-install-visual {
	    border-color: rgba(255, 255, 255, 0.14);
	    background:
	        radial-gradient(circle at 14% 16%, rgba(51, 65, 85, 0.38), transparent 30%),
	        linear-gradient(135deg, rgba(15, 23, 42, 0.68), rgba(2, 6, 23, 0.38)),
	        rgba(15, 23, 42, 0.32);
	}

	body.dark-theme .tour-logo-lockup,
	body.dark-theme .tour-signature-glass strong,
	body.dark-theme .tour-profile-card strong,
	body.dark-theme .assistline-tour-scene.finish strong,
	body.dark-theme .tour-phone-card,
	body.dark-theme .tour-phone-row span,
	body.dark-theme .tour-phone-chat,
	body.dark-theme .install-steps span,
	body.dark-theme .install-prompt strong,
	body.dark-theme .tour-chat-bubble,
	body.dark-theme .tour-chat-channel {
	    color: #f8fafc;
	}

	body.dark-theme .tour-hero-reel span,
	body.dark-theme .tour-signature-glass,
	body.dark-theme .tour-search-mock,
	body.dark-theme .tour-phone-screen,
	body.dark-theme .tour-phone-tabs,
	body.dark-theme .install-browser,
	body.dark-theme .install-steps span,
	body.dark-theme .install-prompt,
	body.dark-theme .tour-profile-card,
	body.dark-theme .assistline-tour-scene.menu span,
	body.dark-theme .tour-chat-bubble,
	body.dark-theme .tour-chat-channel,
	body.dark-theme .tour-calendar {
	    border-color: rgba(255, 255, 255, 0.12);
	    background: rgba(15, 23, 42, 0.48);
	}

	body.dark-theme .tour-hero-reel span,
	body.dark-theme .tour-signature-glass small,
	body.dark-theme .tour-profile-card small,
	body.dark-theme .assistline-tour-scene.finish small,
	body.dark-theme .tour-phone-card small,
	body.dark-theme .install-url,
	body.dark-theme .install-prompt small,
	body.dark-theme .tour-calendar span {
	    color: #cbd5e1;
	}

	body.accent-signature:not(.admin-panel-open) .assistline-tour-spotlight {
	    box-shadow:
	        0 0 0 9999px rgba(43, 8, 8, 0.58),
	        0 0 0 10px rgba(154, 0, 2, 0.16),
	        0 0 0 18px rgba(14, 165, 233, 0.1),
	        0 24px 70px rgba(154, 0, 2, 0.24);
	}

	@keyframes assistlineTourLightSweep {
	    0%, 100% {
	        transform: translate3d(-16%, 0, 0) rotate(0.001deg);
	    }
	    50% {
	        transform: translate3d(16%, 0, 0) rotate(0.001deg);
	    }
	}

	@keyframes assistlineTourSpark {
	    0%, 100% {
	        transform: translate3d(0, 0, 0) scale(0.76);
	        opacity: 0.42;
	    }
	    50% {
	        transform: translate3d(18px, -16px, 0) scale(1);
	        opacity: 0.92;
	    }
	}

	@keyframes assistlineTourCardReveal {
	    from {
	        transform: translate3d(0, 16px, 0) scale(0.97);
	        opacity: 0;
	    }
	    to {
	        transform: translate3d(0, 0, 0) scale(1);
	        opacity: 1;
	    }
	}

	@keyframes assistlineTourSceneIn {
	    from {
	        transform: translate3d(0, 12px, 0);
	        opacity: 0;
	    }
	    to {
	        transform: translate3d(0, 0, 0);
	        opacity: 1;
	    }
	}

	@keyframes assistlineTourStageSweep {
	    0%, 100% {
	        transform: translate3d(-8%, 0, 0);
	    }
	    50% {
	        transform: translate3d(8%, 0, 0);
	    }
	}

	@media (max-width: 760px) {
	    .assistline-tour-scene,
	    .assistline-tour-phone,
	    .assistline-install-visual {
	        min-height: 142px;
	    }

	    .tour-hero-reel {
	        grid-template-columns: repeat(2, minmax(0, 1fr));
	    }

	    .assistline-tour-scene.signature,
	    .assistline-tour-scene.chat,
	    .assistline-tour-scene.shift {
	        grid-template-columns: 1fr;
	    }

	    .tour-chat-channel {
	        grid-column: 1;
	    }

	    .tour-signature-orb {
	        width: 92px;
	        height: 92px;
	        justify-self: center;
	    }

	    .install-steps {
	        grid-template-columns: 1fr;
	    }
	}

		@media (prefers-reduced-motion: reduce) {
		    .assistline-tour-cinema::before,
		    .assistline-tour-cinema span,
	    .assistline-whats-new.is-settled .assistline-tour-card,
	    .assistline-whats-new.is-settled .assistline-tour-scene,
	    .assistline-whats-new.is-settled .assistline-tour-phone,
	    .assistline-whats-new.is-settled .assistline-install-visual,
	    .assistline-tour-scene::before,
	    .tour-signature-orb span,
	    .tour-chat-network::before,
	    .tour-chat-network::after,
	    .tour-finish-ring span {
		        animation: none !important;
		    }
		}

/* Assistline tour polish pass: crisp spotlight, richer scenes, no page blur */
.assistline-whats-new {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.assistline-tour-card::before {
    background:
        radial-gradient(circle at 14% 18%, rgba(14, 165, 233, 0.2), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(225, 29, 72, 0.18), transparent 30%),
        radial-gradient(circle at 74% 82%, rgba(20, 184, 166, 0.18), transparent 26%);
    opacity: 0.78;
    transform: translate3d(0, 0, 0);
    animation: assistlineTourAuroraBreath 5.6s ease-in-out infinite;
}

.assistline-tour-cinema::before {
    background:
        radial-gradient(circle at 18% 24%, rgba(14, 165, 233, 0.28), transparent 18%),
        radial-gradient(circle at 82% 20%, rgba(225, 29, 72, 0.24), transparent 18%),
        radial-gradient(circle at 48% 82%, rgba(20, 184, 166, 0.18), transparent 22%);
    animation: assistlineTourAuroraDrift 9s ease-in-out infinite;
}

.assistline-tour-scene::before {
    background:
        radial-gradient(circle at 20% 28%, rgba(14, 165, 233, 0.22), transparent 26%),
        radial-gradient(circle at 76% 22%, rgba(225, 29, 72, 0.16), transparent 25%),
        radial-gradient(circle at 56% 88%, rgba(20, 184, 166, 0.2), transparent 27%);
    animation: assistlineTourAuroraBreath 6.8s ease-in-out infinite;
}

.tour-brand-logo {
    display: block;
    width: min(240px, 72%);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(15, 23, 42, 0.18));
}

.assistline-tour-scene.hero {
    min-height: 226px;
    padding: 20px;
    background:
        radial-gradient(circle at 18% 24%, rgba(14, 165, 233, 0.28), transparent 34%),
        radial-gradient(circle at 82% 22%, rgba(225, 29, 72, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(14, 22, 38, 0.68));
}

.assistline-tour-scene.hero .tour-hero-reel span {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.assistline-tour-scene.hero .tour-hero-screen i {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.42), rgba(20, 184, 166, 0.22));
}

.assistline-tour-scene.hero .tour-hero-screen i:nth-child(3) {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.4), rgba(251, 191, 36, 0.18));
}

.assistline-tour-scene.chat {
    grid-template-columns: 0.82fr minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    align-items: stretch;
    min-height: 250px;
}

.tour-chat-network {
    grid-row: 1 / span 4;
    min-height: 198px;
}

.tour-chat-guide {
    display: grid;
    gap: 7px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(240, 249, 255, 0.52)),
        rgba(255, 255, 255, 0.5);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.tour-chat-guide strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 950;
}

.tour-chat-guide small {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}

.tour-chat-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.tour-chat-feature-grid span {
    display: grid;
    min-height: 28px;
    place-items: center;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.1);
    color: #075985;
    font-size: 9px;
    font-weight: 950;
    text-align: center;
}

.tour-chat-feature-grid span:nth-child(2),
.tour-chat-feature-grid span:nth-child(5) {
    background: rgba(20, 184, 166, 0.13);
    color: #0f766e;
}

.tour-chat-feature-grid span:nth-child(3),
.tour-chat-feature-grid span:nth-child(6) {
    background: rgba(225, 29, 72, 0.1);
    color: #9f1239;
}

.tour-chat-bubble.left,
.tour-chat-bubble.right,
.tour-chat-channel {
    align-self: end;
}

.tour-chat-channel {
    grid-column: 2;
}

.assistline-tour-scene.finish {
    min-height: 270px;
    background:
        radial-gradient(circle at 18% 16%, rgba(14, 165, 233, 0.26), transparent 34%),
        radial-gradient(circle at 78% 18%, rgba(225, 29, 72, 0.24), transparent 32%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(14, 22, 38, 0.72));
}

.assistline-tour-scene.finish strong,
.assistline-tour-scene.finish small {
    color: #ffffff;
}

.assistline-tour-scene.finish small {
    opacity: 0.84;
}

.finish-logo {
    width: min(210px, 62%);
    margin-top: -8px;
}

.tour-fireworks {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.tour-fireworks::before,
.tour-fireworks::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 12%, #38bdf8 0 3px, transparent 4px),
        radial-gradient(circle at 80% 26%, #fb7185 0 3px, transparent 4px),
        radial-gradient(circle at 88% 58%, #facc15 0 3px, transparent 4px),
        radial-gradient(circle at 64% 86%, #14b8a6 0 3px, transparent 4px),
        radial-gradient(circle at 28% 82%, #f472b6 0 3px, transparent 4px),
        radial-gradient(circle at 12% 44%, #93c5fd 0 3px, transparent 4px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0 18px, transparent 19px);
    opacity: 0.78;
    transform: translate3d(0, 0, 0) scale(0.92);
    animation: assistlineTourBurstHalo 2.6s ease-in-out infinite;
}

.tour-fireworks::before {
    left: 8%;
    top: 15%;
}

.tour-fireworks::after {
    right: 8%;
    top: 18%;
    animation-delay: -1.1s;
}

.tour-fireworks span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #38bdf8;
    box-shadow:
        0 -44px 0 #e11d48,
        32px -28px 0 #14b8a6,
        42px 6px 0 #f59e0b,
        8px 42px 0 #38bdf8,
        -34px 26px 0 #fb7185,
        -42px -10px 0 #99f6e4;
    transform: translate3d(0, 0, 0) scale(0.15);
    opacity: 0;
    animation: assistlineTourFirework 1.95s ease-out infinite;
}

.tour-fireworks span:nth-child(1) {
    left: 18%;
    top: 34%;
}

.tour-fireworks span:nth-child(2) {
    right: 18%;
    top: 30%;
    animation-delay: 0.28s;
}

.tour-fireworks span:nth-child(3) {
    left: 30%;
    bottom: 24%;
    animation-delay: 0.56s;
}

.tour-fireworks span:nth-child(4) {
    right: 28%;
    bottom: 26%;
    animation-delay: 0.84s;
}

.tour-fireworks span:nth-child(5) {
    left: 50%;
    top: 22%;
    animation-delay: 1.12s;
}

.tour-fireworks span:nth-child(6) {
    right: 44%;
    bottom: 18%;
    animation-delay: 1.4s;
}

.assistline-tour-scene.finish .tour-finish-ring::before,
.assistline-tour-scene.finish .tour-finish-ring::after {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, 0.26);
    animation: assistlineTourPulse 2.1s ease-in-out infinite;
}

.assistline-tour-scene.finish .tour-finish-ring::after {
    inset: -52px;
    border-color: rgba(225, 29, 72, 0.2);
    animation-delay: -1s;
}

body.dark-theme .tour-chat-guide {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.52);
}

body.dark-theme .tour-chat-guide strong {
    color: #f8fafc;
}

body.dark-theme .tour-chat-guide small {
    color: #cbd5e1;
}

body.dark-theme .tour-chat-feature-grid span {
    background: rgba(14, 165, 233, 0.18);
    color: #bae6fd;
}

@keyframes assistlineTourAuroraBreath {
    0%, 100% {
        opacity: 0.54;
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        opacity: 0.86;
        transform: translate3d(0, -3px, 0) scale(1.025);
    }
}

@keyframes assistlineTourAuroraDrift {
    0%, 100% {
        transform: translate3d(-2%, -1%, 0) scale(1);
        opacity: 0.68;
    }
    50% {
        transform: translate3d(2%, 1%, 0) scale(1.04);
        opacity: 0.92;
    }
}

@keyframes assistlineTourFirework {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.12);
    }
    18% {
        opacity: 1;
    }
    70%, 100% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes assistlineTourBurstHalo {
    0%, 100% {
        opacity: 0.46;
        transform: translate3d(0, 0, 0) scale(0.82) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: translate3d(0, -5px, 0) scale(1.04) rotate(10deg);
    }
}

@media (max-width: 760px) {
    .assistline-tour-scene.hero,
    .assistline-tour-scene.finish {
        min-height: 210px;
    }

    .assistline-tour-scene.chat {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .tour-chat-network {
        grid-row: auto;
        min-height: 118px;
    }

    .tour-chat-channel {
        grid-column: 1;
    }

    .tour-chat-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tour-brand-logo {
        width: min(210px, 76%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .assistline-tour-card::before,
    .assistline-tour-cinema::before,
    .assistline-tour-scene::before,
    .tour-fireworks span {
        animation: none !important;
    }

    .tour-fireworks::before,
    .tour-fireworks::after,
    .assistline-tour-scene.finish .tour-finish-ring::before,
    .assistline-tour-scene.finish .tour-finish-ring::after {
        animation: none !important;
    }
}

/* Assistline tour professional art direction pass */
.assistline-tour-card {
    border: 1px solid rgba(255, 255, 255, 0.46);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(236, 244, 252, 0.54)),
        rgba(255, 255, 255, 0.42);
    box-shadow:
        0 36px 110px rgba(2, 6, 23, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.assistline-tour-card::before {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 44%),
        radial-gradient(circle at 18% 12%, rgba(56, 189, 248, 0.14), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(225, 29, 72, 0.12), transparent 32%);
    opacity: 0.72;
}

.assistline-tour-card h2 {
    letter-spacing: 0;
}

.assistline-tour-card p {
    color: #334155;
    font-weight: 820;
}

.assistline-tour-scene,
.assistline-tour-phone,
.assistline-install-visual {
    border-color: rgba(255, 255, 255, 0.5);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(241, 247, 252, 0.42)),
        rgba(255, 255, 255, 0.28);
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.assistline-tour-scene::before {
    background:
        linear-gradient(120deg, transparent 0 32%, rgba(255, 255, 255, 0.16) 46%, transparent 58%),
        linear-gradient(28deg, rgba(14, 165, 233, 0.1), transparent 40%),
        linear-gradient(210deg, rgba(225, 29, 72, 0.08), transparent 42%);
    opacity: 0.7;
}

.tour-hero-reel span,
.tour-chat-feature-grid span,
.assistline-tour-scene.menu span,
.install-steps span {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.tour-signature-orb {
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(154, 0, 2, 0.88), rgba(14, 165, 233, 0.88)),
        #111827;
    box-shadow:
        0 24px 54px rgba(15, 23, 42, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.tour-signature-orb::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 20px;
    transform: rotate(11deg);
}

.tour-signature-palette i {
    border-radius: 11px;
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.assistline-tour-scene.chat {
    background:
        linear-gradient(145deg, rgba(248, 250, 252, 0.76), rgba(226, 241, 250, 0.42)),
        rgba(255, 255, 255, 0.28);
}

.tour-chat-network {
    border: 1px solid rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.78)),
        #0f172a;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 46px rgba(15, 23, 42, 0.2);
}

.tour-chat-network::before {
    inset: 28px;
    border-color: rgba(56, 189, 248, 0.24);
    border-radius: 28px;
}

.tour-chat-network::after {
    inset: 48px 30px;
    border-color: rgba(225, 29, 72, 0.18);
    border-radius: 28px;
}

.tour-chat-network span {
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.96), rgba(186, 230, 253, 0.82));
    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.tour-chat-network span:nth-child(3) {
    background: linear-gradient(135deg, rgba(254, 226, 226, 0.96), rgba(252, 231, 243, 0.82));
}

.tour-chat-guide,
.tour-chat-bubble,
.tour-chat-channel {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(248, 250, 252, 0.52)),
        rgba(255, 255, 255, 0.42);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.tour-chat-feature-grid span {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.tour-chat-feature-grid span:nth-child(2),
.tour-chat-feature-grid span:nth-child(5),
.tour-chat-feature-grid span:nth-child(3),
.tour-chat-feature-grid span:nth-child(6) {
    background: rgba(15, 23, 42, 0.06);
    color: #334155;
}

.assistline-tour-scene.finish {
    background:
        radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.14), transparent 31%),
        linear-gradient(145deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.84)),
        #020617;
    box-shadow:
        0 26px 72px rgba(2, 6, 23, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tour-fireworks::before,
.tour-fireworks::after,
.tour-fireworks span {
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(255, 255, 255, 0.96) 0deg 2.5deg,
            transparent 2.5deg 10deg
        );
    mask-image: radial-gradient(circle, transparent 0 18px, #000 19px 55px, transparent 56px);
    -webkit-mask-image: radial-gradient(circle, transparent 0 18px, #000 19px 55px, transparent 56px);
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.78))
        drop-shadow(0 0 22px rgba(56, 189, 248, 0.42));
    box-shadow: none;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.45);
}

.tour-fireworks::before {
    left: 6%;
    top: 12%;
    background:
        repeating-conic-gradient(
            from 8deg,
            rgba(255, 255, 255, 0.95) 0deg 2deg,
            rgba(251, 191, 36, 0.9) 2deg 3.2deg,
            transparent 3.2deg 11deg
        );
    animation: assistlineTourRealFirework 2.8s ease-out infinite;
}

.tour-fireworks::after {
    right: 4%;
    top: 15%;
    background:
        repeating-conic-gradient(
            from 18deg,
            rgba(255, 255, 255, 0.96) 0deg 2.2deg,
            rgba(56, 189, 248, 0.88) 2.2deg 3.5deg,
            transparent 3.5deg 12deg
        );
    animation: assistlineTourRealFirework 2.8s ease-out infinite;
    animation-delay: 0.55s;
}

.tour-fireworks span {
    background:
        repeating-conic-gradient(
            from 14deg,
            rgba(255, 255, 255, 0.92) 0deg 2deg,
            rgba(248, 113, 113, 0.72) 2deg 3deg,
            transparent 3deg 11deg
        );
    animation: assistlineTourRealFirework 2.8s ease-out infinite;
}

.tour-fireworks span:nth-child(1) {
    left: 20%;
    top: 44%;
    animation-delay: 0.15s;
}

.tour-fireworks span:nth-child(2) {
    right: 20%;
    top: 48%;
    animation-delay: 0.85s;
}

.tour-fireworks span:nth-child(3) {
    left: 37%;
    bottom: 10%;
    animation-delay: 1.25s;
}

.tour-fireworks span:nth-child(4) {
    right: 33%;
    bottom: 12%;
    animation-delay: 1.7s;
}

.tour-fireworks span:nth-child(5),
.tour-fireworks span:nth-child(6) {
    display: none;
}

.assistline-tour-scene.finish .tour-finish-ring {
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.62)),
        rgba(255, 255, 255, 0.04);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body.dark-theme .assistline-tour-card {
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.62)),
        rgba(15, 23, 42, 0.42);
}

body.dark-theme .assistline-tour-scene,
body.dark-theme .assistline-tour-phone,
body.dark-theme .assistline-install-visual {
    background:
        linear-gradient(145deg, rgba(15, 23, 42, 0.7), rgba(2, 6, 23, 0.42)),
        rgba(15, 23, 42, 0.32);
}

@keyframes assistlineTourRealFirework {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.18) rotate(0deg);
    }
    12% {
        opacity: 0.98;
    }
    58% {
        opacity: 0.78;
        transform: translate3d(0, -10px, 0) scale(0.82) rotate(10deg);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, -18px, 0) scale(1.08) rotate(18deg);
    }
}

@media (max-width: 760px) {
    .tour-fireworks::before,
    .tour-fireworks::after,
    .tour-fireworks span {
        width: 118px;
        height: 118px;
    }

    .tour-chat-guide,
    .tour-chat-bubble,
    .tour-chat-channel {
        box-shadow:
            0 12px 28px rgba(15, 23, 42, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.66);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tour-fireworks::before,
    .tour-fireworks::after,
    .tour-fireworks span {
        animation: none !important;
        opacity: 0.7;
        transform: translate3d(0, 0, 0) scale(0.82);
    }
}

/* Assistline finale: full-screen launch-show stage */
.assistline-whats-new[data-tone="finish"] {
    background:
        radial-gradient(circle at 18% 20%, rgba(14, 165, 233, 0.28), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(225, 29, 72, 0.24), transparent 32%),
        radial-gradient(circle at 50% 96%, rgba(20, 184, 166, 0.2), transparent 34%),
        #050914;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-ambient span {
    opacity: 0.34;
    filter: blur(28px);
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-cinema {
    opacity: 1;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-cinema::before {
    inset: -18%;
    background:
        conic-gradient(from 210deg at 50% 100%, transparent 0deg, rgba(14, 165, 233, 0.22) 16deg, transparent 31deg, rgba(225, 29, 72, 0.2) 52deg, transparent 72deg, rgba(255, 255, 255, 0.08) 91deg, transparent 112deg),
        radial-gradient(circle at 12% 22%, rgba(56, 189, 248, 0.34), transparent 18%),
        radial-gradient(circle at 88% 18%, rgba(244, 63, 94, 0.32), transparent 17%);
    animation: assistlineFinalSkySweep 9s ease-in-out infinite;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-cinema::after {
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
        repeating-linear-gradient(90deg, transparent 0 78px, rgba(255, 255, 255, 0.08) 79px 80px),
        repeating-linear-gradient(0deg, transparent 0 78px, rgba(255, 255, 255, 0.045) 79px 80px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
    mask-image: linear-gradient(to top, #000 0%, transparent 62%);
    opacity: 0.36;
    transform: perspective(700px) rotateX(58deg) translateY(22%);
    transform-origin: 50% 100%;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-card {
    inset: 0 !important;
    left: 0 !important;
    top: 0 !important;
    box-sizing: border-box;
    display: grid;
    width: 100vw !important;
    height: 100vh;
    min-height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    grid-template-columns: minmax(28px, 1fr) minmax(280px, 620px) minmax(340px, 720px) minmax(28px, 1fr);
    grid-template-rows: auto minmax(44px, 0.7fr) auto auto auto minmax(32px, 1fr) auto;
    column-gap: clamp(28px, 5vw, 86px);
    align-items: center;
    padding: clamp(28px, 5vw, 76px);
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.1), transparent 28%),
        linear-gradient(120deg, rgba(5, 9, 20, 0.96), rgba(12, 18, 36, 0.78) 48%, rgba(65, 8, 20, 0.62)),
        #050914;
    box-shadow: none;
    color: #f8fafc;
    text-align: left;
    opacity: 1;
    transform: none;
    transition: none !important;
    animation: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.assistline-whats-new[data-tone="finish"].is-settled .assistline-tour-card {
    animation: none !important;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-card::before {
    inset: 0;
    border-radius: 0;
    background:
        radial-gradient(circle at 24% 24%, rgba(14, 165, 233, 0.2), transparent 24%),
        radial-gradient(circle at 72% 22%, rgba(225, 29, 72, 0.16), transparent 24%),
        linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.11) 45%, transparent 54%);
    opacity: 0.82;
    animation: assistlineFinalAurora 7.5s ease-in-out infinite;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-card::after {
    inset: auto 0 0;
    height: 34%;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.14), transparent 58%),
        linear-gradient(to top, rgba(2, 6, 23, 0.86), transparent);
    opacity: 0.7;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-progress {
    grid-column: 2 / 4;
    grid-row: 1;
    width: min(680px, 58vw);
    margin: 0 auto;
    align-self: start;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-kicker {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    margin: 0 0 14px;
    color: #7dd3fc;
    letter-spacing: 0.02em;
    text-shadow: 0 0 24px rgba(125, 211, 252, 0.32);
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
    max-width: 620px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(42px, 5.4vw, 78px);
    line-height: 0.96;
    text-wrap: balance;
    text-shadow:
        0 22px 70px rgba(0, 0, 0, 0.44),
        0 0 42px rgba(14, 165, 233, 0.18);
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-card p {
    grid-column: 2;
    grid-row: 5;
    align-self: start;
    max-width: 560px;
    margin: 18px 0 0;
    color: rgba(226, 232, 240, 0.9);
    font-size: clamp(15px, 1.4vw, 20px);
    line-height: 1.5;
    font-weight: 850;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-visual {
    grid-column: 3;
    grid-row: 2 / 7;
    align-self: stretch;
    display: grid;
    min-height: 0;
    margin: 0;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-actions {
    grid-column: 2;
    grid-row: 7;
    align-self: end;
    justify-content: flex-start;
    margin: clamp(20px, 4vh, 46px) 0 0;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-next {
    min-width: 190px;
    min-height: 58px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, #e11d48, #0ea5e9);
    box-shadow:
        0 24px 56px rgba(14, 165, 233, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    font-size: 16px;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-count {
    position: static;
    color: rgba(226, 232, 240, 0.78);
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-orbit {
    display: none;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-scene.finish {
    position: relative;
    display: grid;
    min-height: 100%;
    place-items: center;
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-scene.finish::before {
    content: "";
    position: absolute;
    inset: 4% 0 0;
    background:
        radial-gradient(ellipse at 50% 52%, rgba(56, 189, 248, 0.16), transparent 34%),
        radial-gradient(ellipse at 50% 70%, rgba(225, 29, 72, 0.12), transparent 45%);
    filter: blur(4px);
    animation: assistlineFinalAura 5s ease-in-out infinite;
}

.tour-final-device {
    position: relative;
    z-index: 3;
    display: grid;
    width: min(520px, 72vw);
    min-height: min(520px, 70vh);
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: clamp(32px, 5vw, 62px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(32px, 5vw, 62px);
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.14), transparent 28%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
    box-shadow:
        0 44px 110px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.09) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform: translate3d(0, 0, 0);
    animation: assistlineFinalDeviceFloat 4.8s ease-in-out infinite;
}

.tour-final-device::before,
.tour-final-device::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.tour-final-device::before {
    inset: -18%;
    border-radius: inherit;
    background:
        conic-gradient(from 0deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, 0.26), rgba(225, 29, 72, 0.18), rgba(14, 165, 233, 0));
    filter: blur(22px);
    opacity: 0.58;
    animation: assistlineFinalRotate 14s linear infinite;
}

.tour-final-device::after {
    inset: 10%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow:
        0 0 0 48px rgba(14, 165, 233, 0.035),
        0 0 0 96px rgba(225, 29, 72, 0.028),
        0 0 0 144px rgba(255, 255, 255, 0.018);
    animation: assistlineFinalPulse 3.2s ease-in-out infinite;
}

.tour-final-device > * {
    position: relative;
    z-index: 2;
}

.tour-final-halo {
    position: absolute;
    inset: 8%;
    z-index: 1;
    border-radius: 999px;
    pointer-events: none;
}

.tour-final-halo span {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 41% 59% 46% 54% / 42% 47% 53% 58%;
    animation: assistlineFinalRotate 12s linear infinite;
}

.tour-final-halo span:nth-child(2) {
    inset: 24%;
    border-color: rgba(14, 165, 233, 0.24);
    animation-duration: 9s;
    animation-direction: reverse;
}

.tour-final-halo span:nth-child(3) {
    inset: 36%;
    border-color: rgba(225, 29, 72, 0.22);
    animation-duration: 7s;
}

.assistline-whats-new[data-tone="finish"] .finish-logo {
    width: min(300px, 74%);
    margin: 0;
    filter:
        drop-shadow(0 24px 36px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 32px rgba(255, 255, 255, 0.14));
}

.tour-final-device strong {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1;
    text-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.tour-final-device small {
    max-width: 340px;
    color: rgba(226, 232, 240, 0.82);
    font-size: clamp(12px, 1.25vw, 16px);
    font-weight: 850;
    line-height: 1.45;
    text-align: center;
}

.tour-final-ribbons {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.tour-final-ribbons span {
    position: absolute;
    width: 72vw;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.82), rgba(255, 255, 255, 0.84), rgba(225, 29, 72, 0.82), transparent);
    opacity: 0.46;
    filter: blur(0.2px);
    transform: translate3d(-18vw, 0, 0) rotate(-18deg);
    animation: assistlineFinalRibbonSweep 5.8s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.tour-final-ribbons span:nth-child(1) {
    top: 12%;
    left: -12%;
}

.tour-final-ribbons span:nth-child(2) {
    top: 28%;
    right: -20%;
    transform: translate3d(18vw, 0, 0) rotate(16deg);
    animation-delay: -1.4s;
}

.tour-final-ribbons span:nth-child(3) {
    bottom: 23%;
    left: -18%;
    animation-delay: -2.8s;
}

.tour-final-ribbons span:nth-child(4) {
    bottom: 10%;
    right: -16%;
    transform: translate3d(18vw, 0, 0) rotate(-13deg);
    animation-delay: -4.2s;
}

.tour-final-spotlight {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.tour-final-spotlight span {
    position: absolute;
    bottom: -20%;
    left: 50%;
    width: 26vw;
    height: 120vh;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.18), transparent 70%);
    clip-path: polygon(44% 100%, 56% 100%, 100% 0, 0 0);
    opacity: 0.22;
    transform-origin: 50% 100%;
    animation: assistlineFinalSpotlight 6s ease-in-out infinite;
}

.tour-final-spotlight span:nth-child(1) {
    transform: translateX(-74%) rotate(-18deg);
}

.tour-final-spotlight span:nth-child(2) {
    transform: translateX(-50%) rotate(0deg);
    animation-delay: -2s;
}

.tour-final-spotlight span:nth-child(3) {
    transform: translateX(-26%) rotate(18deg);
    animation-delay: -4s;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks {
    position: fixed;
    inset: 0;
    z-index: 1;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks::before,
.assistline-whats-new[data-tone="finish"] .tour-fireworks::after,
.assistline-whats-new[data-tone="finish"] .tour-fireworks span {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 999px;
    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(255, 255, 255, 0.98) 0deg 1.8deg,
            rgba(56, 189, 248, 0.88) 1.8deg 2.8deg,
            transparent 2.8deg 9.5deg
        );
    mask-image:
        radial-gradient(circle, transparent 0 18px, #000 19px 66px, transparent 67px),
        radial-gradient(circle, #000 0 3px, transparent 4px);
    -webkit-mask-image:
        radial-gradient(circle, transparent 0 18px, #000 19px 66px, transparent 67px),
        radial-gradient(circle, #000 0 3px, transparent 4px);
    filter:
        drop-shadow(0 0 7px rgba(255, 255, 255, 0.86))
        drop-shadow(0 0 24px rgba(56, 189, 248, 0.48));
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.22);
    animation: assistlineFinalFirework 2.9s ease-out infinite;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks::before {
    content: "";
    left: 9%;
    top: 10%;
    background:
        repeating-conic-gradient(from 7deg, rgba(255, 255, 255, 0.98) 0deg 1.7deg, rgba(250, 204, 21, 0.95) 1.7deg 2.9deg, transparent 2.9deg 10deg);
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks::after {
    content: "";
    right: 10%;
    top: 12%;
    animation-delay: -1.2s;
    background:
        repeating-conic-gradient(from 18deg, rgba(255, 255, 255, 0.98) 0deg 1.7deg, rgba(244, 63, 94, 0.92) 1.7deg 2.9deg, transparent 2.9deg 10deg);
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(1) {
    left: 32%;
    top: 14%;
    animation-delay: -0.35s;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(2) {
    right: 30%;
    top: 24%;
    animation-delay: -2.1s;
    background:
        repeating-conic-gradient(from 11deg, rgba(255, 255, 255, 0.96) 0deg 1.6deg, rgba(45, 212, 191, 0.9) 1.6deg 2.8deg, transparent 2.8deg 9.5deg);
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(3) {
    left: 14%;
    bottom: 18%;
    animation-delay: -1.65s;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(4) {
    right: 15%;
    bottom: 20%;
    animation-delay: -0.8s;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(5) {
    display: block;
    left: 47%;
    top: 7%;
    width: 150px;
    height: 150px;
    animation-delay: -2.45s;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(6) {
    display: block;
    left: 42%;
    bottom: 12%;
    width: 150px;
    height: 150px;
    animation-delay: -1.05s;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(7) {
    left: 4%;
    top: 42%;
    width: 136px;
    height: 136px;
    animation-delay: -2.65s;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(8) {
    right: 5%;
    top: 48%;
    width: 136px;
    height: 136px;
    animation-delay: -0.15s;
}

@keyframes assistlineFinalSkySweep {
    0%, 100% {
        transform: translate3d(-2%, 0, 0) scale(1);
        opacity: 0.72;
    }
    50% {
        transform: translate3d(2%, -1%, 0) scale(1.05);
        opacity: 1;
    }
}

@keyframes assistlineFinalAurora {
    0%, 100% {
        transform: translate3d(-3%, 0, 0);
        opacity: 0.64;
    }
    50% {
        transform: translate3d(3%, 0, 0);
        opacity: 0.96;
    }
}

@keyframes assistlineFinalAura {
    0%, 100% {
        transform: scale(0.98);
        opacity: 0.72;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

@keyframes assistlineFinalDeviceFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(0, -10px, 0) scale(1.012);
    }
}

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

@keyframes assistlineFinalPulse {
    0%, 100% {
        opacity: 0.52;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.86;
        transform: scale(1.03);
    }
}

@keyframes assistlineFinalRibbonSweep {
    0%, 100% {
        opacity: 0.18;
        transform: translate3d(-24vw, 0, 0) rotate(-18deg) scaleX(0.92);
    }
    42% {
        opacity: 0.62;
    }
    70% {
        opacity: 0.2;
        transform: translate3d(22vw, -10px, 0) rotate(-18deg) scaleX(1.02);
    }
}

@keyframes assistlineFinalSpotlight {
    0%, 100% {
        opacity: 0.14;
        filter: blur(1px);
    }
    50% {
        opacity: 0.34;
        filter: blur(0);
    }
}

@keyframes assistlineFinalFirework {
    0% {
        opacity: 0;
        transform: translate3d(0, 16px, 0) scale(0.18) rotate(0deg);
    }
    9% {
        opacity: 1;
    }
    42% {
        opacity: 0.86;
        transform: translate3d(0, -8px, 0) scale(0.78) rotate(8deg);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, -22px, 0) scale(1.18) rotate(18deg);
    }
}

@media (max-width: 900px) {
    .assistline-whats-new[data-tone="finish"] .assistline-tour-card {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        gap: 14px;
        align-items: start;
        padding: max(20px, env(safe-area-inset-top)) 18px max(18px, env(safe-area-inset-bottom));
        text-align: center;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-progress,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-kicker,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-card h2,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-card p,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-visual,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-actions {
        grid-column: 1;
        grid-row: auto;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-progress {
        width: min(100%, 420px);
        margin: 0 auto 2px;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-kicker {
        justify-self: center;
        margin: 0;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
        max-width: 100%;
        margin: 0 auto;
        font-size: clamp(34px, 11vw, 56px);
        line-height: 0.96;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card p {
        max-width: 560px;
        margin: 0 auto;
        font-size: 13px;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-visual {
        align-self: stretch;
    }

    .tour-final-device {
        width: min(88vw, 430px);
        min-height: min(42vh, 360px);
        padding: 30px 20px;
        border-radius: 34px;
    }

    .assistline-whats-new[data-tone="finish"] .finish-logo {
        width: min(230px, 76%);
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-actions {
        justify-content: center;
        margin-top: 0;
    }

    .assistline-whats-new[data-tone="finish"] .tour-fireworks::before,
    .assistline-whats-new[data-tone="finish"] .tour-fireworks::after,
    .assistline-whats-new[data-tone="finish"] .tour-fireworks span {
        width: 126px;
        height: 126px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .assistline-whats-new[data-tone="finish"] .assistline-tour-cinema::before,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-card::before,
    .assistline-whats-new[data-tone="finish"] .assistline-tour-scene.finish::before,
    .tour-final-device,
    .tour-final-device::before,
    .tour-final-device::after,
    .tour-final-halo span,
    .tour-final-ribbons span,
    .tour-final-spotlight span,
    .assistline-whats-new[data-tone="finish"] .tour-fireworks::before,
    .assistline-whats-new[data-tone="finish"] .tour-fireworks::after,
    .assistline-whats-new[data-tone="finish"] .tour-fireworks span {
        animation: none !important;
    }
}

/* Assistline finale polish: clean logo, no text collisions, edge-only pyrotechnics */
.assistline-whats-new[data-tone="finish"] .assistline-tour-card {
    grid-template-rows: auto minmax(24px, 0.5fr) max-content max-content max-content minmax(22px, 1fr) auto !important;
    row-gap: 0;
    overflow: hidden;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-kicker,
.assistline-whats-new[data-tone="finish"] .assistline-tour-card h2,
.assistline-whats-new[data-tone="finish"] .assistline-tour-card p,
.assistline-whats-new[data-tone="finish"] .assistline-tour-actions {
    position: relative;
    z-index: 6;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
    max-width: 660px;
    font-size: clamp(40px, 4.8vw, 68px) !important;
    line-height: 1.02 !important;
    text-wrap: balance;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-card p {
    max-width: 620px;
    margin-top: 18px !important;
    font-size: clamp(14px, 1.18vw, 18px) !important;
    line-height: 1.58 !important;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-visual {
    position: relative;
    z-index: 4;
}

.assistline-whats-new[data-tone="finish"] .tour-final-device {
    z-index: 5;
    width: min(540px, 72vw);
    min-height: min(500px, 68vh);
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.13), transparent 26%),
        linear-gradient(145deg, rgba(5, 9, 20, 0.94), rgba(12, 18, 36, 0.9) 54%, rgba(34, 10, 27, 0.88));
    box-shadow:
        0 54px 130px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(255, 255, 255, 0.13) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    isolation: isolate;
}

.tour-final-brand-lockup {
    position: relative;
    z-index: 12 !important;
    display: grid;
    width: min(420px, 88%);
    place-items: center;
    gap: 12px;
    padding: clamp(24px, 4vw, 42px) clamp(22px, 4.4vw, 52px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(26px, 4vw, 42px);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(145deg, rgba(3, 7, 18, 0.96), rgba(13, 21, 40, 0.94));
    box-shadow:
        0 34px 82px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform: translate3d(0, 0, 0);
}

.tour-final-brand-lockup::before {
    content: "";
    position: absolute;
    inset: 8px;
    z-index: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.tour-final-brand-lockup::after {
    content: "";
    position: absolute;
    inset: auto 12% 10%;
    z-index: 0;
    height: 32%;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(14, 165, 233, 0.18), transparent 64%),
        radial-gradient(ellipse at 62% 50%, rgba(225, 29, 72, 0.12), transparent 62%);
    filter: blur(18px);
    pointer-events: none;
}

.tour-final-brand-lockup .finish-logo,
.tour-final-brand-lockup strong,
.tour-final-brand-lockup small {
    position: relative;
    z-index: 2;
}

.tour-final-brand-lockup .finish-logo {
    width: min(300px, 88%) !important;
    filter:
        drop-shadow(0 18px 24px rgba(0, 0, 0, 0.42))
        drop-shadow(0 0 18px rgba(255, 255, 255, 0.1)) !important;
}

.tour-final-brand-lockup strong {
    color: #ffffff;
    font-size: clamp(25px, 2.6vw, 38px);
    letter-spacing: 0;
}

.tour-final-brand-lockup small {
    max-width: 360px;
    color: rgba(241, 245, 249, 0.84);
    font-size: clamp(12px, 1.08vw, 15px);
    line-height: 1.45;
}

.assistline-whats-new[data-tone="finish"] .tour-final-halo {
    z-index: 1;
    opacity: 0.68;
}

.assistline-whats-new[data-tone="finish"] .tour-final-ribbons {
    z-index: 2;
}

.assistline-whats-new[data-tone="finish"] .tour-final-ribbons span {
    opacity: 0.34;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks {
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks::before,
.assistline-whats-new[data-tone="finish"] .tour-fireworks::after {
    width: 3px !important;
    height: 38vh !important;
    min-height: 220px;
    border-radius: 999px !important;
    background:
        linear-gradient(to top, transparent, rgba(255, 255, 255, 0.88) 24%, rgba(14, 165, 233, 0.72) 48%, transparent 84%) !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.72))
        drop-shadow(0 0 22px rgba(14, 165, 233, 0.44)) !important;
    opacity: 0;
    animation: assistlineFinalRocketTrail 3.2s ease-in-out infinite !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks::before {
    --rocket-rotation: 36deg;
    left: 13%;
    top: 52%;
    transform: rotate(36deg);
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks::after {
    --rocket-rotation: -34deg;
    right: 12%;
    top: 48%;
    transform: rotate(-34deg);
    animation-delay: -1.6s !important;
    background:
        linear-gradient(to top, transparent, rgba(255, 255, 255, 0.9) 24%, rgba(225, 29, 72, 0.7) 48%, transparent 84%) !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span {
    width: 5px !important;
    height: 5px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    box-shadow:
        0 -82px 0 1px rgba(255, 255, 255, 0.95),
        36px -68px 0 0 rgba(125, 211, 252, 0.92),
        70px -35px 0 1px rgba(255, 255, 255, 0.86),
        84px 0 0 0 rgba(45, 212, 191, 0.84),
        64px 42px 0 1px rgba(255, 255, 255, 0.9),
        28px 76px 0 0 rgba(251, 191, 36, 0.88),
        -10px 86px 0 1px rgba(255, 255, 255, 0.88),
        -50px 66px 0 0 rgba(244, 63, 94, 0.78),
        -78px 24px 0 1px rgba(255, 255, 255, 0.86),
        -72px -38px 0 0 rgba(56, 189, 248, 0.84),
        -38px -70px 0 1px rgba(255, 255, 255, 0.92);
    filter:
        drop-shadow(0 0 5px rgba(255, 255, 255, 0.88))
        drop-shadow(0 0 18px rgba(56, 189, 248, 0.34)) !important;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.22);
    animation: assistlineFinalSparkBurst 2.8s ease-out infinite !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span::before {
    content: "";
    position: absolute;
    left: -64px;
    top: -64px;
    width: 132px;
    height: 132px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.3) 49% 51%, transparent 52%),
        linear-gradient(45deg, transparent 48%, rgba(125, 211, 252, 0.26) 49% 51%, transparent 52%),
        linear-gradient(135deg, transparent 48%, rgba(244, 63, 94, 0.2) 49% 51%, transparent 52%);
    opacity: 0.5;
    pointer-events: none;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(1) {
    left: 12% !important;
    top: 18% !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(2) {
    right: 11% !important;
    top: 18% !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(3) {
    left: 9% !important;
    bottom: 22% !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(4) {
    right: 9% !important;
    bottom: 21% !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(5) {
    left: 25% !important;
    top: 10% !important;
    width: 4px !important;
    height: 4px !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(6) {
    right: 25% !important;
    bottom: 9% !important;
    width: 4px !important;
    height: 4px !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(7) {
    left: 5% !important;
    top: 55% !important;
    width: 4px !important;
    height: 4px !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(8) {
    right: 5% !important;
    top: 57% !important;
    width: 4px !important;
    height: 4px !important;
}

.assistline-whats-new[data-tone="finish"] .tour-fireworks span:nth-child(9) {
    left: 24% !important;
    bottom: 9% !important;
    width: 4px !important;
    height: 4px !important;
    animation-delay: -2.2s !important;
}

@keyframes assistlineFinalRocketTrail {
    0%, 100% {
        opacity: 0;
        transform: translate3d(0, 12vh, 0) rotate(var(--rocket-rotation, 34deg)) scaleY(0.82);
    }
    34% {
        opacity: 0.72;
    }
    58% {
        opacity: 0.14;
        transform: translate3d(0, -18vh, 0) rotate(var(--rocket-rotation, 34deg)) scaleY(1);
    }
}

@keyframes assistlineFinalSparkBurst {
    0% {
        opacity: 0;
        transform: translate3d(0, 8px, 0) scale(0.12);
    }
    13% {
        opacity: 0.98;
    }
    48% {
        opacity: 0.84;
        transform: translate3d(0, -8px, 0) scale(0.72);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, -18px, 0) scale(1.12);
    }
}

@media (min-width: 901px) and (max-width: 1180px) {
    .assistline-whats-new[data-tone="finish"] .assistline-tour-card {
        grid-template-columns: minmax(24px, 0.35fr) minmax(300px, 520px) minmax(320px, 520px) minmax(24px, 0.35fr);
        column-gap: clamp(22px, 3.4vw, 46px);
        padding: clamp(26px, 4vw, 52px);
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
        font-size: clamp(36px, 5vw, 56px) !important;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card p {
        font-size: 14px !important;
    }

    .assistline-whats-new[data-tone="finish"] .tour-final-device {
        width: min(460px, 48vw);
        min-height: min(430px, 62vh);
    }
}

@media (max-width: 900px) {
    .assistline-whats-new[data-tone="finish"] .assistline-tour-card {
        grid-template-rows: auto max-content max-content max-content minmax(220px, 1fr) auto !important;
        gap: 10px !important;
        overflow-y: auto;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
        font-size: clamp(30px, 8.9vw, 44px) !important;
        line-height: 1.06 !important;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card p {
        max-width: 92vw;
        margin-top: 0 !important;
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }

    .assistline-whats-new[data-tone="finish"] .tour-final-device {
        width: min(88vw, 380px);
        min-height: min(38vh, 310px);
        padding: 22px 16px;
    }

    .tour-final-brand-lockup {
        width: min(320px, 88%);
        padding: 22px 18px;
        border-radius: 28px;
    }

    .tour-final-brand-lockup .finish-logo {
        width: min(230px, 86%) !important;
    }

    .tour-final-brand-lockup strong {
        font-size: 25px;
    }

    .tour-final-brand-lockup small {
        font-size: 11.5px;
    }

    .assistline-whats-new[data-tone="finish"] .tour-fireworks span {
        transform-origin: center;
        box-shadow:
            0 -52px 0 1px rgba(255, 255, 255, 0.94),
            27px -43px 0 0 rgba(125, 211, 252, 0.92),
            48px -20px 0 1px rgba(255, 255, 255, 0.86),
            52px 16px 0 0 rgba(45, 212, 191, 0.84),
            32px 46px 0 1px rgba(255, 255, 255, 0.9),
            -2px 55px 0 0 rgba(251, 191, 36, 0.88),
            -36px 38px 0 1px rgba(244, 63, 94, 0.78),
            -50px 4px 0 1px rgba(255, 255, 255, 0.86),
            -34px -38px 0 0 rgba(56, 189, 248, 0.84);
    }

    .assistline-whats-new[data-tone="finish"] .tour-fireworks span::before {
        left: -43px;
        top: -43px;
        width: 90px;
        height: 90px;
    }
}

/* Assistline tour brandmark: show the refreshed mobile app icon throughout the tour */
.assistline-tour-brandmark {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    gap: 10px;
    margin: 0 0 14px;
    padding: 8px 12px 8px 8px;
    border: 1px solid rgba(226, 232, 240, 0.68);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(240, 249, 255, 0.46)),
        rgba(255, 255, 255, 0.58);
    color: #0f172a;
    box-shadow:
        0 14px 38px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
}

.assistline-tour-brandmark img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
    padding: 4px;
    background:
        radial-gradient(circle at 34% 22%, rgba(255, 255, 255, 0.18), transparent 42%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.84), rgba(2, 6, 23, 0.72));
    box-shadow:
        0 10px 22px rgba(225, 29, 72, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.assistline-tour-brandmark span {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.assistline-tour-brandmark strong {
    color: inherit;
    font-size: 14px;
    font-weight: 950;
    line-height: 1;
}

.assistline-tour-brandmark small {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.1;
}

body.dark-theme .assistline-tour-brandmark {
    border-color: rgba(186, 218, 255, 0.18);
    background:
        linear-gradient(135deg, rgba(30, 41, 59, 0.72), rgba(8, 47, 73, 0.36)),
        rgba(15, 23, 42, 0.62);
    color: #f8fafc;
    box-shadow:
        0 16px 44px rgba(2, 6, 23, 0.36),
        inset 0 1px 0 rgba(226, 232, 240, 0.14);
}

body.dark-theme .assistline-tour-brandmark small {
    color: rgba(203, 213, 225, 0.78);
}

.tour-final-app-icon {
    position: relative;
    z-index: 2;
    display: grid;
    width: clamp(112px, 8.4vw, 148px);
    height: clamp(112px, 8.4vw, 148px);
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: clamp(28px, 3vw, 42px);
    background:
        radial-gradient(circle at 34% 20%, rgba(255, 255, 255, 0.18), transparent 44%),
        radial-gradient(circle at 66% 78%, rgba(225, 29, 72, 0.18), transparent 48%),
        linear-gradient(145deg, rgba(30, 41, 59, 0.78), rgba(2, 6, 23, 0.76));
    box-shadow:
        0 30px 74px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.tour-final-app-icon::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.tour-final-app-icon::after {
    content: "";
    position: absolute;
    inset: -18%;
    background:
        conic-gradient(from 210deg, transparent 0deg, rgba(14, 165, 233, 0.2) 66deg, transparent 126deg, rgba(225, 29, 72, 0.16) 186deg, transparent 246deg);
    opacity: 0.46;
    filter: blur(12px);
    pointer-events: none;
}

.tour-final-app-icon img {
    position: relative;
    z-index: 2;
    display: block;
    width: 76%;
    height: 76%;
    border-radius: inherit;
    object-fit: contain;
    box-shadow:
        0 18px 34px rgba(225, 29, 72, 0.2);
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-brandmark {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: start;
    position: relative;
    z-index: 8;
    margin: 0;
    border-color: rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(8, 47, 73, 0.36)),
        rgba(2, 6, 23, 0.58);
    color: #f8fafc;
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-brandmark small {
    color: rgba(203, 213, 225, 0.8);
}

.assistline-whats-new[data-tone="finish"] .assistline-tour-progress {
    width: min(560px, 42vw) !important;
}

.assistline-whats-new[data-tone="finish"] .tour-final-brand-lockup {
    gap: 11px;
    padding-top: clamp(26px, 4vw, 46px);
    padding-bottom: clamp(26px, 4vw, 46px);
}

.assistline-whats-new[data-tone="finish"] .tour-final-brand-lockup .finish-logo {
    width: min(270px, 84%) !important;
}

@media (max-width: 760px) {
    .assistline-tour-brandmark {
        gap: 8px;
        padding: 7px 10px 7px 7px;
        border-radius: 16px;
    }

    .assistline-tour-brandmark img {
        width: 34px;
        height: 34px;
        border-radius: 11px;
    }

    .assistline-tour-brandmark strong {
        font-size: 13px;
    }

    .assistline-tour-brandmark small {
        font-size: 9px;
    }
}

@media (max-width: 900px) {
    .assistline-whats-new[data-tone="finish"] .assistline-tour-brandmark {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: start;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-progress {
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        width: min(190px, 48vw) !important;
        margin: 0 !important;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-kicker {
        grid-column: 1;
        grid-row: 2;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card h2 {
        grid-column: 1;
        grid-row: 3;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-card p {
        grid-column: 1;
        grid-row: 4;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-visual {
        grid-column: 1;
        grid-row: 5;
    }

    .assistline-whats-new[data-tone="finish"] .assistline-tour-actions {
        grid-column: 1;
        grid-row: 6;
    }

    .tour-final-app-icon {
        width: 86px;
        height: 86px;
        border-radius: 26px;
    }

    .assistline-whats-new[data-tone="finish"] .tour-final-brand-lockup {
        gap: 9px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .assistline-whats-new[data-tone="finish"] .tour-final-brand-lockup .finish-logo {
        width: min(210px, 82%) !important;
    }
}

/* Mobile tour safety: keep the step button reachable on every viewport. */
@media (max-width: 760px) {
    .assistline-tour-card {
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 18px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        scrollbar-width: none;
        padding-bottom: 0 !important;
    }

    .assistline-tour-card::-webkit-scrollbar {
        display: none;
    }

    .assistline-tour-actions {
        position: sticky;
        z-index: 30;
        right: 0;
        bottom: -1px;
        left: 0;
        margin: 16px -18px 0 !important;
        padding: 12px 18px calc(14px + env(safe-area-inset-bottom)) !important;
        border-top: 1px solid rgba(226, 232, 240, 0.56);
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.88) 28%, rgba(248, 250, 252, 0.96)),
            rgba(248, 250, 252, 0.78);
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
    }

    .assistline-tour-count {
        flex: 0 0 auto;
        min-width: 46px;
    }

    .assistline-tour-next {
        flex: 1 1 auto;
        min-width: 0 !important;
        min-height: 48px;
    }

    .assistline-whats-new[data-step="chat"] .assistline-tour-card {
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 14px) !important;
    }

    .assistline-whats-new[data-step="chat"] .assistline-tour-visual {
        margin-top: 10px;
    }

    .assistline-whats-new[data-step="chat"] .assistline-tour-scene.chat {
        gap: 8px;
        padding: 12px;
    }

    .assistline-whats-new[data-step="chat"] .tour-chat-network {
        min-height: 94px;
    }

    .assistline-whats-new[data-step="chat"] .tour-chat-guide {
        padding: 12px;
    }

    .assistline-whats-new[data-step="chat"] .tour-chat-feature-grid {
        gap: 6px;
    }

    .assistline-whats-new[data-step="chat"] .tour-chat-feature-grid span {
        min-height: 30px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .assistline-whats-new[data-step="chat"] .tour-chat-bubble,
    .assistline-whats-new[data-step="chat"] .tour-chat-channel {
        padding: 10px 12px;
        font-size: 10.5px;
    }

    body.dark-theme .assistline-tour-actions {
        border-top-color: rgba(71, 85, 105, 0.68);
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.88) 28%, rgba(15, 23, 42, 0.96)),
            rgba(15, 23, 42, 0.82);
    }
}

@media (max-width: 760px) and (max-height: 760px) {
    .assistline-tour-progress {
        margin-bottom: 12px;
    }

    .assistline-tour-brandmark {
        margin-bottom: 10px;
    }

    .assistline-tour-card h2 {
        font-size: 22px !important;
        line-height: 1.06;
    }

    .assistline-tour-card p {
        margin-top: 9px;
        font-size: 12px !important;
        line-height: 1.42;
    }

    .assistline-whats-new[data-step="chat"] .tour-chat-network {
        min-height: 80px;
    }
}

body:not(.admin-panel-open) #nav-menu.nav-container a.nav-card-performance > .al-nav-content {
    max-width: min(100%, 360px);
    line-height: 1.14;
    white-space: normal;
}

/* Main screen nav compact v2: slimmer base, light hover, no heavy paint work. */
body:not(.admin-panel-open) #nav-menu.nav-container,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container {
    width: 306px !important;
    gap: 12px !important;
}

body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn {
    min-height: 54px !important;
    padding: 10px 22px !important;
    font-size: 11.4px !important;
    letter-spacing: 1.05px !important;
    box-shadow:
        0 5px 12px rgba(15, 23, 42, 0.1),
        inset 0 -6px 12px rgba(var(--liquid-rgb), 0.08) !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    transition:
        transform 145ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 145ms ease,
        border-color 145ms ease,
        background 145ms ease !important;
    will-change: auto !important;
}

body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover,
body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible {
    transform: translate3d(0, -2px, 0) scale(1.07) !important;
    border-color: rgba(var(--liquid-rgb), 0.7) !important;
    box-shadow:
        0 9px 18px rgba(var(--liquid-rgb), 0.16),
        0 5px 12px rgba(15, 23, 42, 0.1),
        inset 0 0 16px rgba(var(--liquid-rgb), 0.16),
        inset 0 -6px 12px rgba(var(--liquid-rgb), 0.12) !important;
    will-change: transform !important;
}

body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover::before,
body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible::before,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover::before,
html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible::before {
    opacity: 0.72 !important;
    transform: translate3d(-2px, 0, 0) scale(1.01) !important;
    animation: none !important;
}

body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:hover > .al-nav-content,
body:not(.admin-panel-open) #nav-menu.nav-container a.sys-btn:focus-visible > .al-nav-content {
    transform: translate3d(0, 0, 0) scale(1.015) !important;
}

@media (max-width: 768px) {
    body:not(.admin-panel-open) #nav-menu.nav-container,
    html.chrome-browser body:not(.admin-panel-open) #nav-menu.nav-container {
        width: min(306px, calc(100vw - 44px)) !important;
        gap: 10px !important;
    }
}
