@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700&display=swap');

/* ============================================================
   MOON AI DESIGN TOKENS & SYSTEM VARIABLES (FROM TEST ORTAMI)
   ============================================================ */
        :root {
            /* ============================================================
               MOON AI DESIGN TOKEN SİSTEMİ (SLIDE 20)
               ============================================================ */
            
            /* PRIMARY (MOON CRM Purple) */
            --brand-900: #5c2999;            /* Koyu Mor (Aktif basılı durum) */
            --brand-800: #773DBD;            /* Moon CRM Kurumsal Mor (Ana marka, birincil CTA, başlıklar) */
            --brand-700: #8e4fd6;            /* Açık Mor (Gradient bitişi, hover tonu) */

            /* AI ACCENT (Soft Blue / Lavender) */
            --ai-500: #773DBD;               /* AI Akıl Yürütme, analiz vurguları, interaktif parıltı */
            --ai-100: #f5effc;               /* AI Açık Zemin / Soft Purple Surface */
            --ai-lavender: #EDE9FE;          /* AI Aura / Lavender Glow Geçişi */
            --ai-glow: rgba(119, 61, 189, 0.2); /* Yumuşak AI Odak Aurası */

            /* SUCCESS (Green) */
            --success-600: #059669;          /* Kalan kota, olumlu metrikler, onay göstergesi */
            --success-100: #ECFDF5;          /* Başarı rozeti açık zemin */
            --success-text: #15803D;         /* Zümrüt metin rengi */
            --success-border: rgba(22, 163, 74, 0.14); /* Yumuşak yeşil sınır */

            /* NEUTRAL (Cool Gray) */
            --neutral-900: #0F172A;          /* Koyu bilgi metni ve ana başlıklar */
            --neutral-600: #475569;          /* İkincil açıklama, nötr buton metni */
            --neutral-400: #94A3B8;          /* Pasif lejant, ikon gri, harcanan kota */
            --neutral-200: #CBD5E1;          /* Kart ve ayrım çizgileri */
            --neutral-50: #F8FAFC;           /* Açık surface ve arka plan kartları */

            /* SEMANTİK KÖPRÜLER & UYUMLULUK */
            --color-body: var(--neutral-900, #172033);
            --color-secondary: var(--neutral-600, #62708A);
            --color-brand: #773DBD;
            --color-brand-hover: #632fa5;
            --color-accent-bg: #f5effc;
            --color-accent-border: rgba(119, 61, 189, 0.2);

            /* SEMANTIC ICON SYSTEM TOKENS (Phase 4C.2: Bir İkon = Bir Anlam) */
            --icon-xs: 12px;
            --icon-sm: 14px;
            --icon-md: 16px;

            /* Moon AI Akıcı Responsive Genişlik Sistemi (1080p: ~800px, 4K/2560px: ~965px, max: 980px) */
            --ai-conversation-width: min(100%, clamp(760px, calc(300px + 26vw), 980px));

            /* ============================================================
               PHASE 8J: GLOBAL MOTION SYSTEM TOKENS (SaaS / B2B Precision)
               ============================================================ */
            --motion-instant: 100ms;
            --motion-fast: 160ms;
            --motion-base: 240ms;
            --motion-moderate: 300ms;
            --motion-page: 320ms;

            --ease-standard: cubic-bezier(0.2, 0, 0, 1);
            --ease-decelerate: cubic-bezier(0.05, 0.7, 0.1, 1);
            --ease-accelerate: cubic-bezier(0.3, 0, 0.8, 0.15);
            --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
            --ease-spring-subtle: cubic-bezier(0.16, 1, 0.3, 1);
        }

/* ============================================================
   MOON AI FAB & COPILOT DRAWER CORE STYLES
   ============================================================ */
        
        /* 1. Yüzen AI Başlatıcı Butonu (Sağ Alt - Açılabilir / Genişleyen FAB) */
        .moon-ai-fab-trigger {
            position: fixed;
            bottom: 28px;
            right: 28px;
            z-index: 99999 !important;
            height: 50px;
            width: 50px;
            min-width: 50px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            background: linear-gradient(135deg, #773DBD 0%, #8e4fd6 100%) !important;
            color: #ffffff;
            border-radius: 9999px;
            box-shadow: 0 4px 18px rgba(119, 61, 189, 0.42), 0 2px 6px rgba(119, 61, 189, 0.22);
            cursor: pointer;
            border: none;
            overflow: hidden;
            user-select: none;
            transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                        background-color 0.25s ease,
                        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                        transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .moon-ai-fab-trigger:hover {
            width: 140px;
            transform: translateY(-2px);
            box-shadow: 0 8px 26px rgba(119, 61, 189, 0.52), 0 2px 8px rgba(119, 61, 189, 0.28);
            background: linear-gradient(135deg, #632fa5 0%, #773DBD 100%) !important;
        }

        .moon-ai-fab-trigger:active {
            transform: translateY(0) scale(0.97);
        }

        .moon-ai-fab-icon-wrap {
            width: 36px;
            height: 36px;
            margin-left: 7px;
            flex-shrink: 0;
            border-radius: 50%;
            background: transparent !important;
            box-shadow: none !important;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .moon-ai-fab-trigger:hover .moon-ai-fab-icon-wrap {
            transform: scale(1.02);
            background: transparent !important;
            box-shadow: none !important;
        }

        /* Phase 8F: Moon AI FAB outer light-blue aura removed, retain solid navy FAB */
        .moon-ai-fab-trigger .moon-ai-aura {
            display: none !important;
        }

        /* ============================================================
           PHASE 7I: MOON AI REUSABLE ICON SYSTEM & STANDARDIZATION
           ============================================================ */
        .moon-ai-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: relative;
            vertical-align: middle;
            line-height: 1;
            flex-shrink: 0;
            box-sizing: border-box;
        }

        /* Size Variants */
        .moon-ai-icon--xs {
            width: 14px;
            height: 14px;
        }
        .moon-ai-icon--sm {
            width: 18px;
            height: 18px;
        }
        .moon-ai-icon--md {
            width: 24px;
            height: 24px;
        }
        .moon-ai-icon--lg {
            width: 32px;
            height: 32px;
        }

        .moon-ai-icon svg {
            width: 100%;
            height: 100%;
            overflow: visible;
            display: block;
        }

        .moon-ai-icon svg[viewBox="0 0 67 61"] .moon-ai-core-pulse {
            transform-box: fill-box !important;
            transform-origin: center center !important;
        }
        .moon-ai-icon svg[viewBox="0 0 44 44"] .moon-ai-core-pulse {
            transform-origin: 22px 22px;
        }

        /* Color Themes */
        /* Light Theme (White & 93C5FD on Dark / Navy backgrounds) */
        .moon-ai-icon[data-theme="light"] .moon-core-main,
        .moon-ai-icon[data-theme="white"] .moon-core-main,
        .moon-ai-icon.theme-light .moon-core-main {
            fill: #ffffff;
        }
        .moon-ai-icon[data-theme="light"] .moon-core-accent,
        .moon-ai-icon[data-theme="white"] .moon-core-accent,
        .moon-ai-icon.theme-light .moon-core-accent {
            fill: #93c5fd;
        }

        /* Brand Theme (Moon CRM Purple #773DBD & #8e4fd6 on Light backgrounds) */
        .moon-ai-icon[data-theme="brand"] .moon-core-main,
        .moon-ai-icon.theme-brand .moon-core-main {
            fill: #773DBD !important;
        }
        .moon-ai-icon[data-theme="brand"] .moon-core-accent,
        .moon-ai-icon.theme-brand .moon-core-accent {
            fill: #8e4fd6 !important;
        }

        /* Blue Theme (#93C5FD & #BFDBFE) */
        .moon-ai-icon[data-theme="blue"] .moon-core-main,
        .moon-ai-icon.theme-blue .moon-core-main {
            fill: #93c5fd;
        }
        .moon-ai-icon[data-theme="blue"] .moon-core-accent,
        .moon-ai-icon.theme-blue .moon-core-accent {
            fill: #bfdbfe;
        }

        /* Motion Level 0 — Static */
        .moon-ai-icon[data-motion="static"] .moon-ai-orbit-track,
        .moon-ai-icon[data-motion="static"] .moon-ai-aura,
        .moon-ai-icon.motion-static .moon-ai-orbit-track,
        .moon-ai-icon.motion-static .moon-ai-aura {
            display: none !important;
        }
        .moon-ai-icon[data-motion="static"] .moon-ai-core-pulse,
        .moon-ai-icon.motion-static .moon-ai-core-pulse {
            animation: none !important;
            transform: none !important;
            filter: none !important;
        }

        /* Motion Level 1 — Subtle (Insight, CTA, Badge, Sidebar) */
        .moon-ai-icon[data-motion="subtle"] .moon-ai-orbit-track,
        .moon-ai-icon[data-motion="subtle"] .moon-ai-aura,
        .moon-ai-icon.motion-subtle .moon-ai-orbit-track,
        .moon-ai-icon.motion-subtle .moon-ai-aura {
            display: none !important;
        }
        .moon-ai-icon[data-motion="subtle"] .moon-ai-core-pulse,
        .moon-ai-icon.motion-subtle .moon-ai-core-pulse {
            animation: moonAiSubtlePulse 3.4s infinite ease-in-out;
        }

        .moon-ai-icon--sm .moon-ai-core-pulse,
        .moon-ai-icon--xs .moon-ai-core-pulse,
        .nav-icon.moon-ai-icon .moon-ai-core-pulse {
            filter: none !important;
        }

        @keyframes moonAiSubtlePulse {
            0%, 100% {
                transform: scale(1.00);
            }
            50% {
                transform: scale(1.035);
            }
        }

        /* Motion Level 2 — Active (FAB, drawer, active processing) */
        .moon-ai-icon[data-motion="active"] .moon-ai-orbit-track,
        .moon-ai-icon.motion-active .moon-ai-orbit-track {
            display: block;
        }
        .moon-ai-icon[data-motion="active"] .moon-orbit-spinner,
        .moon-ai-icon.motion-active .moon-orbit-spinner {
            animation: moonAiOrbitCycle 4s infinite linear;
            will-change: transform;
        }
        .moon-ai-icon[data-motion="active"] .moon-ai-core-pulse,
        .moon-ai-icon.motion-active .moon-ai-core-pulse {
            animation: moonAiCorePulse 3.6s infinite ease-in-out;
            will-change: transform, filter;
        }

        /* Sidebar Nav Link Row Integration */
        .nav-link-row .moon-ai-icon.nav-icon {
            margin-right: 12px;
            width: 19px;
            height: 19px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .nav-link-row:hover .moon-ai-icon[data-theme="brand"] .moon-core-main {
            fill: #632fa5 !important;
        }
        .nav-link-row:hover .moon-ai-icon[data-theme="brand"] .moon-core-accent {
            fill: #773DBD !important;
        }
        .nav-link-row:hover .moon-ai-icon .moon-ai-core-pulse {
            transform: scale(1.04);
            filter: none !important;
        }

        /* ============================================================
           PHASE 7E: MOON AI BRANDED FAB ICON & ANIMATION
           ============================================================ */
        .moon-ai-brand-icon {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .moon-ai-canvas {
            width: 32px;
            height: 32px;
            overflow: visible;
            display: block;
        }

        /* Katman 1: Moonon Moon Logo Core (Official Asset Geometry) */
        .moon-ai-core {
            transform-origin: 0 0;
        }

        .moon-ai-core-pulse {
            transform-box: view-box;
            transform-origin: 22px 22px;
            animation: moonAiCorePulse 3.6s infinite ease-in-out;
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
            will-change: transform, filter;
        }

        .moon-core-main {
            fill: #ffffff;
            transition: fill 0.25s ease;
        }

        .moon-core-accent {
            fill: #93c5fd;
            transition: fill 0.25s ease;
        }

        @keyframes moonAiCorePulse {
            0%, 100% {
                transform: scale(1.00);
                filter: drop-shadow(0 0 1px rgba(96, 165, 250, 0.25));
            }
            50% {
                transform: scale(1.042);
                filter: drop-shadow(0 0 4px rgba(96, 165, 250, 0.75)) drop-shadow(0 0 8px rgba(59, 130, 246, 0.35));
            }
        }

        /* Katman 2: Orbital Ring & Sweep (Variant A) */
        .moon-ai-orbit-track {
            transform-origin: 22px 22px;
        }

        .moon-orbit-guide {
            transition: stroke 0.3s ease;
        }

        .moon-orbit-spinner {
            transform-box: view-box;
            transform-origin: 22px 22px;
            animation: moonAiOrbitCycle 4s infinite linear;
            will-change: transform;
        }

        /* Akıcı, Kesintisiz ve Pürüzsüz 360 Derece Yörünge Dönüşü */
        @keyframes moonAiOrbitCycle {
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }

        /* Katman 3: AI Pulse Aura (Radial soft glow) */
        .moon-ai-aura {
            transform-box: view-box;
            transform-origin: 22px 22px;
            animation: moonAiAuraPulse 3.6s infinite ease-in-out;
            will-change: transform, opacity;
        }

        @keyframes moonAiAuraPulse {
            0%, 100% {
                opacity: 0.22;
                transform: scale(0.92);
            }
            50% {
                opacity: 0.65;
                transform: scale(1.08);
            }
        }

        /* Katman 4: Light Sweep Shimmer (Variant B) */
        .moon-sweep-beam {
            transform-box: view-box;
            transform-origin: 22px 22px;
            animation: moonAiSweepShimmer 6s infinite cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
        }

        @keyframes moonAiSweepShimmer {
            0%, 20% {
                transform: rotate(30deg) translate(-36px, 0);
                opacity: 0;
            }
            30% {
                opacity: 0.75;
            }
            48% {
                transform: rotate(30deg) translate(36px, 0);
                opacity: 0.85;
            }
            55%, 100% {
                transform: rotate(30deg) translate(40px, 0);
                opacity: 0;
            }
        }

        /* Variant A vs Variant B Görünürlük Kontrolü */
        .moon-ai-brand-icon.variant-a .moon-ai-orbit-track {
            display: block;
        }
        .moon-ai-brand-icon.variant-a .moon-ai-sweep-track {
            display: none;
        }

        .moon-ai-brand-icon.variant-b .moon-ai-orbit-track {
            display: none;
        }
        .moon-ai-brand-icon.variant-b .moon-ai-sweep-track {
            display: block;
        }

        /* Hover Etkileşimi (Akıcı Hızlanma, Sıçrama/Titreme Yok) */
        .moon-ai-fab-trigger:hover .moon-orbit-spinner {
            animation: moonAiOrbitHoverSpin 1.6s infinite linear;
        }

        @keyframes moonAiOrbitHoverSpin {
            0% { transform: rotate(0deg); opacity: 1; }
            100% { transform: rotate(360deg); opacity: 1; }
        }

        .moon-ai-fab-trigger:hover .moon-ai-core-pulse {
            filter: drop-shadow(0 0 5px rgba(147, 197, 253, 0.85));
            transform: scale(1.05);
        }

        .moon-ai-fab-trigger:hover .moon-sweep-beam {
            animation-duration: 2.2s;
        }

        /* Active / Açık State */
        .moon-ai-fab-trigger.active {
            box-shadow: 0 0 0 2px rgba(147, 197, 253, 0.5), 0 8px 24px rgba(11, 43, 87, 0.45);
            background: #071F3D;
        }

        .moon-ai-fab-trigger.active .moon-orbit-spinner {
            animation: moonAiOrbitHoverSpin 1.2s infinite linear;
        }

        .moon-ai-fab-trigger.active .moon-ai-core-pulse {
            filter: drop-shadow(0 0 7px rgba(147, 197, 253, 0.95));
            transform: scale(1.08);
        }

        /* Erişilebilirlik (prefers-reduced-motion) */
        @media (prefers-reduced-motion: reduce) {
            .moon-orbit-spinner,
            .moon-ai-aura,
            .moon-sweep-beam,
            .moon-ai-core-pulse,
            .moon-ai-icon,
            .moon-ai-icon *,
            .moon-ai-icon .moon-ai-core-pulse,
            .moon-ai-icon .moon-orbit-spinner {
                animation: none !important;
                transition: none !important;
            }
            .moon-orbit-spinner,
            .moon-ai-icon .moon-orbit-spinner {
                display: none !important;
            }
            .moon-sweep-beam,
            .moon-ai-icon .moon-sweep-beam {
                display: none !important;
            }
            .moon-ai-aura,
            .moon-ai-icon .moon-ai-aura {
                opacity: 0.2 !important;
                transform: none !important;
            }
            .moon-ai-core-pulse,
            .moon-ai-icon .moon-ai-core-pulse {
                transform: none !important;
                filter: none !important;
            }
        }

        /* 3D Orbit SVG İkon ve Animasyonları */
        .moon-ai-orbit-svg {
            width: 18px;
            height: 18px;
            overflow: visible;
            display: block;
        }

        /* 
           3D ORBIT ANİMASYON MATEMATİĞİ (GÜNCELLENDİ: 5 SANİYE PERİYOT):
           - 5 saniyede bir tekrarlanır (animation duration = 5s infinite).
           - Tamamlanma süresi 1.5 saniye (0% - 30%).
           - Kalan 3.5 saniye (30% - 100%) boyunca başlangıç konumunda dinlenir.
           - Kübik ease-in-out ile ultra pürüzsüz hızlanma ve yavaşlama.
           - 3D derinlik: Öne geçerken scale 1.27 + parlaklık, arkaya geçerken scale 0.73 + saydamlık.
        */
        @keyframes moon3dStarOrbit {
            0.00% { transform: translate(-0.00px,  0.00px) scale(1.00); opacity: 1.00; filter: none; }
            1.88% { transform: translate( 0.03px,  0.03px) scale(1.00); opacity: 1.00; filter: none; }
            3.75% { transform: translate( 0.23px,  0.25px) scale(1.01); opacity: 1.00; filter: none; }
            5.62% { transform: translate( 0.70px,  0.92px) scale(1.05); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.13)); }
            7.50% { transform: translate( 1.28px,  2.49px) scale(1.11); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.31)); }
            9.38% { transform: translate( 1.18px,  5.66px) scale(1.19); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.56)); }
           11.25% { transform: translate(-1.28px, 10.83px) scale(1.27); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.78)); }
           13.12% { transform: translate(-7.83px, 16.31px) scale(1.24); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.69)); }
           15.00% { transform: translate(-16.00px, 16.00px) scale(1.00); opacity: 1.00; filter: none; }
           16.88% { transform: translate(-16.31px,  7.83px) scale(0.76); opacity: 0.53; filter: none; }
           18.75% { transform: translate(-10.83px,  1.28px) scale(0.73); opacity: 0.47; filter: none; }
           20.62% { transform: translate(-5.66px, -1.18px) scale(0.81); opacity: 0.62; filter: none; }
           22.50% { transform: translate(-2.49px, -1.28px) scale(0.89); opacity: 0.79; filter: none; }
           24.38% { transform: translate(-0.92px, -0.70px) scale(0.95); opacity: 0.91; filter: none; }
           26.25% { transform: translate(-0.25px, -0.23px) scale(0.99); opacity: 0.97; filter: none; }
           28.12% { transform: translate(-0.03px, -0.03px) scale(1.00); opacity: 1.00; filter: none; }
           30.00% { transform: translate(-0.00px,  0.00px) scale(1.00); opacity: 1.00; filter: none; }
          100.00% { transform: translate(-0.00px,  0.00px) scale(1.00); opacity: 1.00; filter: none; }
        }

        @keyframes moon3dCircleOrbit {
            0.00% { transform: translate( 0.00px, -0.00px) scale(1.00); opacity: 1.00; filter: none; }
            1.88% { transform: translate(-0.03px, -0.03px) scale(1.00); opacity: 1.00; filter: none; }
            3.75% { transform: translate(-0.23px, -0.25px) scale(0.99); opacity: 0.97; filter: none; }
            5.62% { transform: translate(-0.70px, -0.92px) scale(0.95); opacity: 0.91; filter: none; }
            7.50% { transform: translate(-1.28px, -2.49px) scale(0.89); opacity: 0.79; filter: none; }
            9.38% { transform: translate(-1.18px, -5.66px) scale(0.81); opacity: 0.62; filter: none; }
           11.25% { transform: translate( 1.28px, -10.83px) scale(0.73); opacity: 0.47; filter: none; }
           13.12% { transform: translate( 7.83px, -16.31px) scale(0.76); opacity: 0.53; filter: none; }
           15.00% { transform: translate(16.00px, -16.00px) scale(1.00); opacity: 1.00; filter: none; }
           16.88% { transform: translate(16.31px, -7.83px) scale(1.24); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.69)); }
           18.75% { transform: translate(10.83px, -1.28px) scale(1.27); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.78)); }
           20.62% { transform: translate( 5.66px,  1.18px) scale(1.19); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.56)); }
           22.50% { transform: translate( 2.49px,  1.28px) scale(1.11); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.31)); }
           24.38% { transform: translate( 0.92px,  0.70px) scale(1.05); opacity: 1.00; filter: drop-shadow(0 0 2px rgba(255,255,255,0.13)); }
           26.25% { transform: translate( 0.25px,  0.23px) scale(1.01); opacity: 1.00; filter: none; }
           28.12% { transform: translate( 0.03px,  0.03px) scale(1.00); opacity: 1.00; filter: none; }
           30.00% { transform: translate( 0.00px, -0.00px) scale(1.00); opacity: 1.00; filter: none; }
          100.00% { transform: translate( 0.00px, -0.00px) scale(1.00); opacity: 1.00; filter: none; }
        }

        @keyframes moonCenterStarGleam {
            0.00% { transform: scale(1.00); filter: none; }
           15.00% { transform: scale(1.05); filter: drop-shadow(0 0 3px rgba(147, 197, 253, 0.6)); }
           30.00% { transform: scale(1.00); filter: none; }
          100.00% { transform: scale(1.00); filter: none; }
        }

        .moon-anim-star {
            transform-box: view-box;
            transform-origin: 20px 4px;
            animation: moon3dStarOrbit 5s infinite linear;
        }

        .moon-anim-circle {
            transform-box: view-box;
            transform-origin: 4px 20px;
            animation: moon3dCircleOrbit 5s infinite linear;
        }

        .moon-anim-center {
            transform-box: view-box;
            transform-origin: 12px 12px;
            animation: moonCenterStarGleam 5s infinite ease-in-out;
        }

        .moon-ai-fab-title {
            font-size: 14.5px;
            font-weight: 700;
            letter-spacing: -0.01em;
            color: #ffffff;
            white-space: nowrap;
            opacity: 0;
            max-width: 0;
            margin-left: 0;
            margin-right: 0;
            transform: translateX(-8px);
            overflow: hidden;
            pointer-events: none;
            transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                        opacity 0.2s ease,
                        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                        margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .moon-ai-fab-trigger:hover .moon-ai-fab-title {
            opacity: 1;
            max-width: 80px;
            margin-left: 9px;
            margin-right: 16px;
            transform: translateX(0);
            transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                        opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1) 0.06s,
                        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
                        margin 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .moon-ai-fab-badge {
            background: rgba(255, 255, 255, 0.2);
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: 600;
        }

        /* 2. Sağdan Açılan Mini Pencere (Copilot Drawer) */
        .moon-ai-drawer-backdrop {
            display: none !important;
            pointer-events: none !important;
        }

        .moon-ai-drawer {
            position: fixed;
            top: 0;
            right: 0;
            width: 440px;
            max-width: 92vw;
            height: 100vh;
            background: #ffffff;
            box-shadow: -8px 0 30px rgba(0, 37, 84, 0.14), -1px 0 0 #e2e8f0;
            border-left: 1px solid #CBD5E1;
            z-index: 100000 !important;
            display: flex;
            flex-direction: column;
            transform: translate3d(100%, 0, 0);
            transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
            will-change: transform;
        }

        .moon-ai-drawer.open {
            transform: translate3d(0, 0, 0);
        }

        /* Çekmece açıkken sağ alttaki kayan başlatıcı butonu gizleme */
        body.moon-drawer-open .moon-ai-fab-trigger {
            opacity: 0;
            pointer-events: none;
            transform: scale(0.85) translateX(30px);
        }

        /* Drawer Header (Frosted Glass) */
        .drawer-header {
            padding: 14px 18px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            z-index: 10;
        }

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

        .drawer-logo-icon {
            width: 36px;
            height: 36px;
            border-radius: 9px;
            background: linear-gradient(135deg, #773DBD 0%, #8e4fd6 100%) !important;
            border: 1px solid rgba(142, 79, 214, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            box-shadow: 0 2px 10px rgba(119, 61, 189, 0.35);
            flex-shrink: 0;
        }

        .drawer-title-group h3 {
            margin: 0;
            font-family: 'Open Runde', -apple-system, BlinkMacSystemFont, sans-serif !important;
            font-size: 15px;
            font-weight: 500 !important;
            color: #111D2E;
            display: flex;
            align-items: center;
            gap: 6px;
            letter-spacing: -0.01em;
        }

        .drawer-status-dot {
            display: none !important;
        }

        .drawer-subtitle {
            display: none !important;
        }

        .drawer-header-actions {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .drawer-action-btn {
            background: #f1f5f9;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 6px;
            color: #475569;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
            position: relative;
        }

        .drawer-action-btn:hover {
            background: #e2e8f0;
            color: #111D2E;
        }

        /* ============================================================
           MODERN GLOBAL PORTAL TOOLTIP SİSTEMİ (Radix / Popper Mimarisi)
           Layout overflow:hidden ve z-index kırılmalarını önler,
           bilgilendirme kutucuklarını her zaman en üst katmanda (portal)
           ve öğenin ÜSTÜNDE (üste taşınmış olarak) görüntüler.
           ============================================================ */
        
        /* Eski CSS pseudo-elementlerini devre dışı bırakıyoruz (overflow kesilmelerini engellemek için) */
        [data-tooltip]::after,
        [data-tooltip]::before {
            display: none !important;
        }

        .moon-global-portal-tooltip {
            position: fixed;
            z-index: 99999999;
            pointer-events: none;
            background: #071F3D;
            color: #ffffff;
            font-family: 'Roboto', sans-serif !important;
            font-size: 11px;
            font-weight: 500;
            line-height: 1.25;
            padding: 5.5px 9.5px;
            border-radius: 6px;
            white-space: nowrap;
            box-shadow: 0 4px 16px rgba(7, 31, 61, 0.35), 0 1px 3px rgba(0, 0, 0, 0.15);
            opacity: 0;
            visibility: hidden;
            border: 1px solid rgba(255, 255, 255, 0.12);
            transition: opacity 0.14s cubic-bezier(0.16, 1, 0.3, 1), transform 0.14s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.14s ease;
            letter-spacing: 0.15px;
            -webkit-font-smoothing: antialiased;
            max-width: 320px;
            word-wrap: break-word;
        }

        .moon-global-portal-tooltip.visible {
            opacity: 1;
            visibility: visible;
        }

        .moon-global-tooltip-arrow {
            position: absolute;
            width: 0;
            height: 0;
            border-style: solid;
        }

        /* Üstte açılma (Varsayılan - "üste taşıyalım"): Ok aşağı gösterir */
        .moon-global-portal-tooltip.pos-top {
            transform: translateY(-2px);
        }
        .moon-global-portal-tooltip.pos-top.visible {
            transform: translateY(0);
        }
        .moon-global-portal-tooltip.pos-top .moon-global-tooltip-arrow {
            bottom: -5px;
            transform: translateX(-50%);
            border-width: 5px 4px 0 4px;
            border-color: #071F3D transparent transparent transparent;
        }

        /* Altta açılma (Sadece tavan payı yetersizse): Ok yukarı gösterir */
        .moon-global-portal-tooltip.pos-bottom {
            transform: translateY(2px);
        }
        .moon-global-portal-tooltip.pos-bottom.visible {
            transform: translateY(0);
        }
        .moon-global-portal-tooltip.pos-bottom .moon-global-tooltip-arrow {
            top: -5px;
            transform: translateX(-50%);
            border-width: 0 4px 5px 4px;
            border-color: transparent transparent #071F3D transparent;
        }

        /* Sağda açılma (Sidebar rayı için): Ok sola gösterir */
        .moon-global-portal-tooltip.pos-right {
            transform: translateX(2px);
        }
        .moon-global-portal-tooltip.pos-right.visible {
            transform: translateX(0);
        }
        .moon-global-portal-tooltip.pos-right .moon-global-tooltip-arrow {
            left: -5px;
            top: 50%;
            transform: translateY(-50%);
            border-width: 4px 5px 4px 0;
            border-color: transparent #071F3D transparent transparent;
        }

        /* Token Bilgi Şeridi - İptal / Gizli */
        .token-bar-banner,
        .ai-token-pill,
        .moon-token-modal-backdrop,
        .prompt-cost-tag {
            display: none !important;
        }

        .token-progress-outer {
            width: 80px;
            height: 6px;
            background: #e2e8f0;
            border-radius: 4px;
            overflow: hidden;
            display: inline-block;
            vertical-align: middle;
            margin-left: 6px;
        }

        .token-progress-inner {
            height: 100%;
            width: 85%;
            background: linear-gradient(90deg, #10b981, #059669);
            border-radius: 4px;
            transition: width 0.3s ease, background 0.3s ease;
        }

        .token-progress-inner.warning {
            background: linear-gradient(90deg, #f59e0b, #d97706) !important;
        }

        .token-progress-inner.danger {
            background: linear-gradient(90deg, #ef4444, #dc2626) !important;
        }

        /* ============================================================
           SHADCN /AI/USAGE-QUOTA & TOKEN YÖNETİM MODALI
           ============================================================ */
        .moon-token-modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(5, 18, 35, 0.35);
            backdrop-filter: blur(2px);
            -webkit-backdrop-filter: blur(2px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 100050 !important;
            animation: modalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            padding: 16px;
        }

        .moon-token-modal-card {
            background: #ffffff;
            border-radius: 16px;
            width: 100%;
            max-width: 520px;
            border: 1px solid #CBD5E1;
            box-shadow: 0 20px 48px rgba(5, 18, 35, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .token-modal-header {
            padding: 15px 20px;
            border-bottom: 1px solid #CBD5E1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
        }

        .token-modal-title-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .token-modal-icon {
            width: 24px;
            height: 24px;
            border-radius: 6px;
            background: var(--ai-100, #EFF6FF);
            color: var(--brand-800, #0B2B57);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(59, 130, 246, 0.16);
            flex-shrink: 0;
        }

        .token-modal-header h3 {
            margin: 0;
            font-size: 15px;
            font-weight: 700;
            color: #0B2B57;
        }

        .token-modal-header p {
            margin: 2px 0 0 0;
            font-size: 11.5px;
            color: #64748b;
        }

        .token-modal-close-btn {
            background: transparent;
            border: none;
            padding: 6px;
            border-radius: 6px;
            cursor: pointer;
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
        }

        .token-modal-close-btn:hover {
            background: #EFF5FC;
            color: #0B2B57;
        }

        .token-modal-body {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        /* Bento Grid: Ana Kota Kartı (Moonon Deep Navy Gradient & Design Tokens) */
        .token-bento-hero {
            background: linear-gradient(135deg, #071E3D 0%, #0B2B57 55%, #133E75 100%);
            border-radius: 14px;
            padding: 20px 22px;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.14);
            box-shadow: 0 8px 28px -4px rgba(11, 43, 87, 0.38), 0 2px 6px rgba(7, 30, 61, 0.18);
        }

        .token-bento-hero::before {
            content: '';
            position: absolute;
            top: -40px;
            right: -40px;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(11, 43, 87, 0) 70%);
            border-radius: 50%;
            pointer-events: none;
        }

        .token-bento-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .token-plan-name {
            font-size: 12px;
            font-weight: 600;
            color: #93c5fd;
            letter-spacing: 0.3px;
        }

        .token-hero-balance {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        .token-hero-num-wrap {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .token-hero-num {
            font-size: 38px;
            font-weight: 800;
            color: #ffffff;
            font-variant-numeric: tabular-nums;
            line-height: 1;
            letter-spacing: -0.6px;
        }

        .token-hero-sub-label {
            font-size: 13px;
            font-weight: 500;
            color: #93c5fd;
            letter-spacing: 0.2px;
        }

        .token-hero-total-badge {
            font-size: 12px;
            font-weight: 500;
            color: #bfdbfe;
            background: rgba(255, 255, 255, 0.12);
            padding: 4px 10px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.16);
            align-self: flex-end;
            margin-bottom: 2px;
        }

        .token-hero-bar-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 11.5px;
            margin-bottom: 6px;
        }

        .token-hero-bar-meta .bar-lbl-left {
            color: #34d399;
            font-weight: 600;
        }

        .token-hero-bar-meta .bar-lbl-right {
            color: #94a3b8;
            font-weight: 500;
        }

        .token-hero-progress-track {
            background: rgba(255, 255, 255, 0.16);
            height: 8px;
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .token-hero-progress-fill {
            background: linear-gradient(90deg, #38bdf8, #34d399);
            height: 100%;
            border-radius: 6px;
            transition: width 0.3s ease;
        }

        .token-hero-foot {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: #94a3b8;
        }

        .token-hero-foot strong {
            color: #cbd5e1;
        }

        /* Stacked Bar Harcama Dağılımı (Slide 16: Moonon Navy & AI Design System) */
        .token-usage-breakdown-section {
            background: #f8fafc;
            border: 1px solid #CBD5E1;
            border-radius: 10px;
            padding: 12px 14px;
        }

        .breakdown-title {
            font-size: 11px;
            font-weight: 700;
            color: #64748b;
            margin-bottom: 10px;
            letter-spacing: 0.4px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .stacked-bar-container {
            height: 8px;
            border-radius: 6px;
            overflow: hidden;
            display: flex;
            margin-bottom: 10px;
            background: #e2e8f0;
        }

        .stacked-bar-segment {
            height: 100%;
            transition: width 0.3s;
        }

        .breakdown-legend-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            font-size: 11px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #475569;
        }

        .legend-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        /* Paket Seçenekleri (Slide 16, 17, 18: İkincil / Opsiyonel Ek Kota) */
        .token-packages-section {
            display: flex;
            flex-direction: column;
            gap: 7px;
        }

        .packages-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .packages-title {
            font-size: 10.5px;
            font-weight: 700;
            color: #64748b;
            letter-spacing: 0.3px;
        }

        .packages-hint {
            font-size: 10.5px;
            color: #94a3b8;
            font-weight: 400;
        }

        .token-packages-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .token-pkg-card {
            background: #ffffff;
            border: 1px solid #CBD5E1;
            border-radius: 10px;
            padding: 10px 12px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: pointer;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
        }

        .token-pkg-card:hover {
            border-color: rgba(11, 43, 87, 0.22);
            box-shadow: 0 4px 12px rgba(11, 43, 87, 0.06);
            transform: translateY(-1px);
        }

        .pkg-amount {
            font-size: 12.5px;
            font-weight: 700;
            color: #1e293b;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .pkg-badge-discount {
            background: #F0FDF4;
            color: #15803D;
            font-size: 9.5px;
            font-weight: 550;
            padding: 1.5px 6px;
            border-radius: 5px;
            border: 1px solid rgba(22, 163, 74, 0.14);
            letter-spacing: 0.15px;
        }

        .pkg-price {
            font-size: 11.5px;
            color: #0B2B57;
            font-weight: 650;
            margin-top: 2px;
            display: flex;
            align-items: baseline;
            gap: 4px;
        }

        .pkg-price-unit {
            font-size: 10px;
            color: #64748b;
            font-weight: 400;
        }

        .pkg-desc {
            font-size: 10.5px;
            color: #64748b;
            margin-top: 3px;
            line-height: 1.35;
            margin-bottom: 8px;
        }

        .pkg-action-btn {
            background: #f8fafc;
            color: #475569;
            border: 1px solid #CBD5E1;
            padding: 5px 10px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 550;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            width: 100%;
            transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .token-pkg-card:hover .pkg-action-btn {
            background: #EFF5FC;
            color: var(--brand-800, #0B2B57);
            border-color: rgba(11, 43, 87, 0.22);
        }

        .pkg-action-btn .pkg-arrow {
            transition: transform 0.15s ease;
            color: #94a3b8;
        }

        .token-pkg-card:hover .pkg-arrow {
            transform: translateX(2px);
            color: var(--brand-800, #0B2B57);
        }

        /* Footer & Test Doldurma Butonu (Slide 17: İkincil/Utility) */
        .token-modal-footer {
            padding: 12px 20px;
            border-top: 1px solid #CBD5E1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
        }

        .btn-refill-demo {
            background: #ffffff;
            color: var(--neutral-600, #475569);
            border: 1px solid var(--neutral-200, #cbd5e1);
            padding: 6px 12px;
            border-radius: 7px;
            font-size: 11.5px;
            font-weight: 500;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
            transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .btn-refill-demo:hover {
            background: var(--color-accent-bg, #EFF5FC);
            color: var(--brand-800, #0B2B57);
            border-color: rgba(11, 43, 87, 0.25);
            box-shadow: 0 2px 6px rgba(11, 43, 87, 0.08);
            transform: translateY(-0.5px);
        }

        .btn-refill-demo:active {
            transform: translateY(0);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        }

        .btn-refill-demo i {
            color: #94a3b8;
            transition: color 0.15s ease;
        }

        .btn-refill-demo:hover i {
            color: var(--brand-800, #0B2B57);
        }

        /* OpenAI apps-sdk-ui & shadcn/ai Roboto Tipografi Sistemi */
        .moon-ai-drawer,
        .moon-ai-drawer *,
        .moon-ai-fullscreen-panel,
        .moon-ai-fullscreen-panel *,
        .moon-ai-workspace-container,
        .moon-ai-workspace-container *,
        .chat-message-row,
        .chat-message-row *,
        .chat-bubble,
        .chat-bubble *,
        .openai-surface-card,
        .openai-surface-card *,
        .ai-reasoning-block,
        .ai-reasoning-block *,
        .ai-followup-suggestions,
        .ai-followup-suggestions *,
        .followup-item-btn,
        .message-actions-bar,
        .message-actions-bar *,
        .chat-input-area,
        .chat-input-area *,
        [data-tooltip]::after {
            font-family: 'Roboto', sans-serif !important;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Sohbet Mesaj Alanı */
        .chat-messages-container {
            flex: 1;
            overflow-y: auto;
            padding: 12px 16px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            background-color: #ffffff;
            scroll-behavior: smooth;
        }

        .moon-ai-drawer .chat-messages-container {
            padding: 12px 12px;
            gap: 10px;
        }

        /* Mesaj Baloncukları */
        .chat-message-row {
            display: flex;
            gap: 10px;
            max-width: 96%;
            animation: messageFadeIn 0.22s ease-out;
            margin-top: 3px;
            margin-bottom: 3px;
        }

        .moon-ai-drawer .chat-message-row.assistant {
            max-width: 100%;
            width: 100%;
        }

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

        .chat-message-row.user {
            align-self: flex-end;
            margin-left: auto;
            margin-right: 0;
            flex-direction: row-reverse;
            max-width: 80%;
            margin-top: 6px;
            margin-bottom: 3px;
        }

        .moon-ai-drawer .chat-message-row.user {
            align-self: flex-end !important;
            margin-left: auto !important;
            margin-right: 0 !important;
        }

        .chat-message-row.assistant {
            align-self: flex-start;
            max-width: 100%;
            width: 100%;
            margin-top: 2px;
            margin-bottom: 4px;
        }

        .chat-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 11px;
            font-weight: 700;
            margin-top: 2px;
        }

        .chat-avatar.user-av {
            background: #f1f5f9;
            color: #111D2E;
            overflow: hidden;
            border: 1px solid #CBD5E1;
        }

        .chat-avatar.user-av img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
            display: block;
        }

        .chat-avatar.ai-av {
            background: linear-gradient(135deg, #773DBD 0%, #8e4fd6 100%) !important;
            color: #ffffff;
            box-shadow: 0 2px 8px rgba(119, 61, 189, 0.35);
        }

        .chat-bubble {
            padding: 12px 16px;
            border-radius: 14px;
            font-size: 14px;
            line-height: 1.6;
            letter-spacing: -0.006em;
            word-break: normal;
            overflow-wrap: break-word;
            flex: 1;
            min-width: 0;
        }

        .chat-message-row.user .chat-bubble {
            background-color: #f4f4f4;
            color: #0d0d0d;
            border-radius: 18px 18px 4px 18px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            padding: 8px 14px;
            font-size: 13.5px;
            font-weight: 450;
            line-height: 1.5;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            flex: 0 1 auto;
            max-width: 100%;
            margin-left: auto !important;
            margin-right: 0 !important;
            text-align: left;
        }

        /* Asistan Yanıtı: Kart Container'ı Kaldırıldı - Açık Tipografi ve Spacing Hiyerarşisi */
        .chat-message-row.assistant .chat-bubble {
            background-color: transparent !important;
            color: #0d0d0d;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            padding: 2px 0 2px 0 !important;
            font-size: 14px;
            line-height: 1.6;
        }

        /* Mesaj İçi Tipografi Standartları (Container'sız, Açık Hiyerarşi - Slide 10: Dark Text = Information) */
        .ai-msg-title {
            font-size: 22px;
            font-weight: 700;
            color: var(--color-body, #172033);
            letter-spacing: -0.025em;
            margin-top: 4px;
            margin-bottom: 14px;
            line-height: 1.35;
        }

        .ai-msg-p {
            margin: 0 0 14px 0;
            font-size: 15.5px;
            color: var(--color-body, #172033);
            line-height: 1.68;
            letter-spacing: -0.008em;
        }

        .ai-msg-bullets {
            margin: 6px 0 11px 0;
            padding-left: 20px;
            font-size: 15px;
            line-height: 1.6;
            color: var(--color-body, #172033);
        }

        .ai-msg-bullets li {
            margin-bottom: 5px;
        }

        .ai-tip-box {
            margin-top: 8px;
            margin-bottom: 6px;
            font-size: 13.5px;
            color: var(--color-secondary, #62708A);
            background: transparent;
            border: none;
            border-left: 2px solid var(--color-secondary, #62708A);
            padding: 4px 0 4px 12px;
            border-radius: 0;
            line-height: 1.55;
        }

        /* AI Analist Kimliği: Metin -> Insight -> Metric -> Action (OpenAI & Linear Standardı) */
        .ai-analyst-insight {
            margin: 12px 0 10px 0;
        }

        .ai-insight-heading {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0 0 6px 0;
            font-size: 14.5px;
            font-weight: 600;
            color: var(--color-body, #172033);
            letter-spacing: -0.012em;
        }

        .ai-insight-title {
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .ai-insight-title i,
        .ai-insight-title svg {
            width: 14px;
            height: 14px;
            stroke-width: 1.5px !important;
            color: #94A3B8;
            flex-shrink: 0;
        }

        .ai-micro-badge {
            font-size: 10px;
            font-weight: 500;
            color: #64748B;
            background: #F1F5F9;
            border: 1px solid #CBD5E1;
            border-radius: 4px;
            padding: 1px 6px;
            letter-spacing: 0.02em;
            line-height: 1.3;
            text-transform: uppercase;
        }

        .ai-analyst-metric-callout {
            display: inline-flex;
            flex-direction: column;
            margin: 8px 0 12px 0;
            padding: 2px 0;
        }

        /* Slide 10: Key Metric = Navy */
        .ai-big-metric-value {
            font-size: 34px;
            font-weight: 800;
            color: var(--color-brand, #0B2B57);
            line-height: 1.05;
            letter-spacing: -0.035em;
            font-feature-settings: "tnum";
        }

        .ai-big-metric-label {
            font-size: 13px;
            font-weight: 500;
            color: var(--color-secondary, #62708A);
            margin-top: 4px;
            letter-spacing: -0.005em;
        }

        .ai-analyst-action {
            margin: 6px 0 8px 0;
        }

        /* Slide 10: Links = Navy */
        .ai-action-link-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: transparent;
            border: none;
            color: var(--color-brand, #0B2B57);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            padding: 4px 0;
            letter-spacing: -0.01em;
            transition: all 0.15s ease;
            text-align: left;
        }

        .ai-action-link-btn .action-arrow {
            color: var(--color-brand, #0B2B57);
            font-size: 14px;
            transition: transform 0.15s ease;
            display: inline-block;
        }

        .ai-action-link-btn:hover {
            color: var(--color-brand-hover, #071C38);
            text-decoration: underline;
        }

        .ai-action-link-btn:hover .action-arrow {
            transform: translateX(4px);
        }

        /* Mesaj İçi UI Kartları (İstatistikler, Rozetler) */
        .ai-metric-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 8px;
            margin: 10px 0;
        }

        .ai-metric-item {
            background: #ffffff;
            border: 1px solid #CBD5E1;
            border-radius: 8px;
            padding: 8px 10px;
        }

        .ai-metric-label {
            font-size: 12px;
            color: #64748b;
            margin-bottom: 3px;
        }

        .ai-metric-value {
            font-size: 16px;
            font-weight: 700;
            color: #111D2E;
        }

        .ai-metric-badge {
            font-size: 11.5px;
            color: #16a34a;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 2px;
        }

        /* Yanıp Sönen Daktilo İmleci (ChatGPT Style) */
        .typewriter-cursor {
            display: inline-block;
            width: 6px;
            height: 14px;
            background-color: #0d0d0d;
            margin-left: 2px;
            vertical-align: middle;
            animation: blink 0.8s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        /* Chat Hoş Geldiniz & Öneri Kartları */
        /* Chat Hoş Geldiniz & Öneri Kartları */
        .chat-welcome-box {
            text-align: left;
            padding: 16px 8px;
            margin: auto 0;
            width: 100%;
        }

        /* AI Mascot Karşılama Alanı */
        .ai-mascot-welcome {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            margin-bottom: 18px;
        }

        /* ==========================================================================
           LUMI 3D MIKRO-ANIMASYON SISTEMI (SaaS 60fps Micro-Interactions)
           ========================================================================== */
        
        .lumi-mascot-component {
            position: relative;
            width: 154px;
            height: 154px;
            margin: 0 auto 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            user-select: none;
            perspective: 700px;
        }

        .lumi-mascot-component.fullscreen {
            width: 196px;
            height: 196px;
            margin-bottom: 14px;
            perspective: 850px;
        }

        /* 1. Kozmik Aura (Ambient Breathing Halo) */
        .lumi-cosmic-glow {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 140px;
            height: 140px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, rgba(56, 189, 248, 0.12) 42%, rgba(255, 255, 255, 0) 72%);
            filter: blur(24px);
            z-index: 0;
            pointer-events: none;
            transform: translate(-50%, -50%) scale(0.95);
            animation: lumiGlowPulse 4s ease-in-out infinite;
            will-change: transform, opacity;
            transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .lumi-mascot-component.fullscreen .lumi-cosmic-glow {
            width: 180px;
            height: 180px;
            filter: blur(28px);
        }

        @keyframes lumiGlowPulse {
            0%, 100% {
                transform: translate(-50%, -50%) scale(0.95);
                opacity: 0.75;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.15);
                opacity: 1;
            }
        }

        /* 2. Enerji Yörüngesi (Thinking & Ambient Glow Ring) */
        .lumi-energy-orbit {
            position: absolute;
            inset: -12px;
            pointer-events: none;
            z-index: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0.55;
            transform: scale(0.96);
            transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            animation: lumiOrbitAmbientSpin 22s linear infinite;
        }

        .lumi-mascot-component:hover .lumi-energy-orbit {
            opacity: 0.88;
            transform: scale(1.02);
        }

        @keyframes lumiOrbitAmbientSpin {
            from { transform: rotate(0deg) scale(0.96); }
            to { transform: rotate(360deg) scale(0.96); }
        }

        .lumi-orbit-svg {
            width: 100%;
            height: 100%;
            overflow: visible;
        }

        .lumi-orbit-track {
            stroke: rgba(119, 61, 189, 0.16);
            stroke-width: 1.2px;
        }

        .lumi-orbit-spark {
            stroke-width: 2.2px;
            stroke-linecap: round;
            stroke-dasharray: 48 200;
            stroke-dashoffset: 0;
            filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.85));
        }

        /* 3. Kozmik Toz & Parıldayan Partiküller (Twinkling Cosmic Dust) */
        .lumi-particles-layer {
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 3;
        }

        .lumi-particle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            will-change: transform, opacity;
        }

        .lumi-particle.p1 {
            width: 3.5px;
            height: 3.5px;
            background: #38bdf8;
            box-shadow: 0 0 7px 1.5px rgba(56, 189, 248, 0.9);
            top: 32%;
            left: 12%;
            animation: lumiParticleTwinkle 3.2s ease-in-out infinite;
        }

        .lumi-particle.p2 {
            width: 4px;
            height: 4px;
            background: #c084fc;
            box-shadow: 0 0 8px 2px rgba(192, 132, 252, 0.85);
            top: 22%;
            right: 15%;
            animation: lumiParticleTwinkle 2.8s ease-in-out 0.8s infinite;
        }

        .lumi-particle.p3 {
            width: 2.5px;
            height: 2.5px;
            background: #818cf8;
            box-shadow: 0 0 6px 1px rgba(129, 140, 248, 0.9);
            bottom: 26%;
            left: 18%;
            animation: lumiParticleTwinkle 3.5s ease-in-out 1.5s infinite;
        }

        .lumi-particle.p4 {
            width: 3px;
            height: 3px;
            background: #38bdf8;
            box-shadow: 0 0 7px 1.5px rgba(56, 189, 248, 0.8);
            bottom: 30%;
            right: 12%;
            animation: lumiParticleTwinkle 3.0s ease-in-out 2.2s infinite;
        }

        .lumi-particle.p5 {
            width: 2px;
            height: 2px;
            background: #ffffff;
            box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.95);
            top: 15%;
            left: 48%;
            animation: lumiParticleTwinkle 2.4s ease-in-out 1.1s infinite;
        }

        @keyframes lumiParticleTwinkle {
            0%, 100% {
                transform: translateY(0) scale(0.7);
                opacity: 0.3;
            }
            50% {
                transform: translateY(-5px) scale(1.25);
                opacity: 1;
            }
        }

        /* 4. 3D WebGL Sahnesi & Canvas (Lumi Procedural 3D Mascot) */
        .lumi-3d-stage {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .lumi-3d-canvas {
            position: relative;
            z-index: 2;
            width: 100% !important;
            height: 100% !important;
            display: block;
            pointer-events: auto;
            outline: none;
            cursor: grab;
        }

        .lumi-3d-canvas:active {
            cursor: grabbing;
        }

        .lumi-avatar-fallback {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
            transition: opacity 0.3s ease;
        }

        .lumi-3d-stage.is-3d-active .lumi-avatar-fallback {
            opacity: 0;
            pointer-events: none;
            display: none;
        }

        .lumi-mascot-stage {
            position: relative;
            z-index: 2;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform-style: preserve-3d;
            cursor: pointer;
        }

        .lumi-avatar-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: lumiLevitate 3.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
            will-change: transform;
            transform-style: preserve-3d;
            transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
        }

        /* Tıklama Sevimli Zıplama Efekti */
        .lumi-mascot-stage.is-reacting .lumi-avatar-wrapper {
            animation: lumiJoyBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
        }

        @keyframes lumiJoyBounce {
            0% { transform: scale(1) translateY(0) rotate(0deg); }
            35% { transform: scale(1.15) translateY(-14px) rotate(3deg); }
            65% { transform: scale(0.96) translateY(2px) rotate(-1.5deg); }
            100% { transform: scale(1) translateY(0) rotate(0deg); }
        }

        /* Kavisli Cam Vizör Işık Süzülmesi (Visor Sheen) */
        .lumi-visor-sheen {
            position: absolute;
            top: 24%;
            left: 20%;
            width: 60%;
            height: 42%;
            border-radius: 40px;
            overflow: hidden;
            pointer-events: none;
            z-index: 2;
        }

        .lumi-visor-sheen::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -80%;
            width: 35%;
            height: 200%;
            background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.40) 50%, rgba(255, 255, 255, 0) 100%);
            transform: rotate(26deg);
            animation: lumiSheenGlide 4.6s ease-in-out infinite;
        }

        @keyframes lumiSheenGlide {
            0%, 25% { transform: translateX(0) rotate(26deg); opacity: 0; }
            30% { opacity: 1; }
            55%, 100% { transform: translateX(380%) rotate(26deg); opacity: 0; }
        }

        /* Tıklanınca Açılan Sevimli Konuşma Balonu */
        .lumi-speech-bubble {
            position: absolute;
            top: -28px;
            left: 50%;
            transform: translateX(-50%) translateY(8px) scale(0.85);
            background: #111D2E;
            color: #ffffff;
            font-family: 'Open Runde', sans-serif;
            font-size: 11.5px;
            font-weight: 600;
            padding: 5px 12px;
            border-radius: 20px;
            white-space: nowrap;
            box-shadow: 0 4px 14px rgba(17, 29, 46, 0.22);
            opacity: 0;
            pointer-events: none;
            z-index: 10;
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .lumi-speech-bubble::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 50%;
            transform: translateX(-50%) rotate(45deg);
            width: 8px;
            height: 8px;
            background: #111D2E;
        }

        .lumi-speech-bubble.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0) scale(1);
        }

        /* Doğal Yerçekimsiz Süzülme (Dual-Sine Harmonic Levitation) */
        @keyframes lumiLevitate {
            0% {
                transform: translateY(0px) rotate(-1.5deg);
            }
            25% {
                transform: translateY(-5px) rotate(0.4deg) scale(1.01);
            }
            50% {
                transform: translateY(-10px) rotate(1.8deg);
            }
            75% {
                transform: translateY(-4px) rotate(-0.4deg) scale(0.995);
            }
            100% {
                transform: translateY(0px) rotate(-1.5deg);
            }
        }

        .lumi-avatar-img,
        .ai-mascot-avatar {
            width: 100%;
            height: 100%;
            object-fit: contain;
            user-select: none;
            pointer-events: none;
            display: block;
        }

        /* 4.1 Canlı Dijital Yüz Ekranı & Gözler (Living Digital Eyes & Face Screen) */
        .lumi-face-screen {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            overflow: visible;
            z-index: 3;
        }

        .lumi-eyes-group {
            position: absolute;
            top: 39%;
            left: 27.5%;
            width: 27%;
            height: 9%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transform-origin: center center;
            transform: rotate(-3.5deg);
            transition: transform 0.12s ease-out;
            will-change: transform;
        }

        .lumi-eye {
            position: relative;
            width: 17px;
            height: 11px;
            transform-origin: center bottom;
            animation: lumiNaturalBlink 4.0s ease-in-out infinite;
        }

        .lumi-mascot-component.fullscreen .lumi-eye {
            width: 22px;
            height: 14px;
        }

        .lumi-eye svg {
            width: 100%;
            height: 100%;
            overflow: visible;
            display: block;
        }

        .lumi-eye-path {
            stroke: #38bdf8;
            stroke-width: 2.8;
            stroke-linecap: round;
            fill: none;
            filter: drop-shadow(0 0 3px #38bdf8) drop-shadow(0 0 8px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 14px rgba(56, 189, 248, 0.6));
            transition: all 0.3s ease;
        }

        /* Doğal Canlı Göz Kırpma (Natural Organic Blinking) */
        @keyframes lumiNaturalBlink {
            0%, 92%, 100% {
                transform: scaleY(1);
            }
            94% {
                transform: scaleY(0.08);
            }
            96% {
                transform: scaleY(1);
            }
            97% {
                transform: scaleY(0.08);
            }
            98.5% {
                transform: scaleY(1);
            }
        }

        /* 5. Senkronize Dinamik Zemin Gölgesi */
        .lumi-floor-shadow {
            position: absolute;
            bottom: 2px;
            left: 50%;
            width: 76px;
            height: 14px;
            border-radius: 50%;
            background: radial-gradient(ellipse at center, rgba(30, 27, 75, 0.42) 0%, rgba(119, 61, 189, 0.22) 40%, rgba(255, 255, 255, 0) 74%);
            filter: blur(4px);
            z-index: 1;
            pointer-events: none;
            transform: translateX(-50%) scale(1.05);
            opacity: 0.45;
            animation: lumiShadowSync 3.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
            will-change: transform, opacity;
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .lumi-mascot-component.fullscreen .lumi-floor-shadow {
            width: 96px;
            height: 18px;
            bottom: 4px;
        }

        @keyframes lumiShadowSync {
            0%, 100% {
                transform: translateX(-50%) scale(1.05);
                opacity: 0.45;
            }
            50% {
                transform: translateX(-50%) scale(0.85);
                opacity: 0.22;
            }
        }

        /* Geriye Uyumlu Fallback (.ai-mascot-img-wrap) */
        .ai-mascot-img-wrap {
            position: relative;
            width: 154px;
            height: 154px;
            margin: 0 auto 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: lumiLevitate 3.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
        }

        .ai-mascot-img-wrap.fullscreen {
            width: 196px;
            height: 196px;
            margin-bottom: 14px;
        }

        /* ==========================================================================
           LUMI DURUM YÖNETİMİ (AI State-Driven Behaviors)
           ========================================================================== */

        /* Durum 2: LISTENING (Kullanıcı inputa odaklandığında veya yazarken) */
        .lumi-mascot-component[data-status="listening"] .lumi-avatar-wrapper {
            animation: none;
            transform: translateY(2px) scale(1.04) rotate(1deg);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .lumi-mascot-component[data-status="listening"] .lumi-floor-shadow {
            animation: none;
            transform: translateX(-50%) scale(1.10);
            opacity: 0.50;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .lumi-mascot-component[data-status="listening"] .lumi-cosmic-glow {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1.24);
            background: radial-gradient(circle, rgba(124, 58, 237, 0.24) 0%, rgba(56, 189, 248, 0.18) 46%, rgba(255, 255, 255, 0) 75%);
            filter: blur(20px);
        }

        .lumi-mascot-component[data-status="listening"] .lumi-particle {
            animation-duration: 1.8s;
        }

        .lumi-mascot-component[data-status="listening"] .lumi-eye-path {
            stroke: #00f0ff;
            filter: drop-shadow(0 0 4px #00f0ff) drop-shadow(0 0 10px rgba(0, 240, 255, 1));
        }

        /* Durum 3: THINKING (Soru gönderildiğinde / analiz üretilirken) */
        .lumi-mascot-component[data-status="thinking"] .lumi-energy-orbit {
            opacity: 1;
            transform: scale(1.02);
        }

        .lumi-mascot-component[data-status="thinking"] .lumi-orbit-spark {
            animation: lumiOrbitSpin 1.2s linear infinite;
        }

        @keyframes lumiOrbitSpin {
            from { stroke-dashoffset: 248; }
            to { stroke-dashoffset: 0; }
        }

        .lumi-mascot-component[data-status="thinking"] .lumi-avatar-wrapper {
            animation: lumiLevitateFast 1.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
        }

        .lumi-mascot-component[data-status="thinking"] .lumi-cosmic-glow {
            animation: lumiGlowPulseThinking 1.2s ease-in-out infinite;
        }

        .lumi-mascot-component[data-status="thinking"] .lumi-eye-path {
            stroke: #c084fc;
            filter: drop-shadow(0 0 4px #c084fc) drop-shadow(0 0 10px rgba(192, 132, 252, 0.95));
            animation: lumiThinkingEyePulse 1.2s ease-in-out infinite;
        }

        @keyframes lumiThinkingEyePulse {
            0%, 100% { opacity: 0.85; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.08); }
        }

        @keyframes lumiGlowPulseThinking {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1.05);
                opacity: 0.85;
                filter: blur(22px);
            }
            50% {
                transform: translate(-50%, -50%) scale(1.30);
                opacity: 1;
                filter: blur(28px);
            }
        }

        /* Durum 4: SPEAKING (Daktilo / Yanıt akarken) */
        .lumi-mascot-component[data-status="speaking"] .lumi-avatar-wrapper {
            animation: lumiSpeakingPulse 0.75s ease-in-out infinite;
        }

        @keyframes lumiSpeakingPulse {
            0%, 100% {
                transform: translateY(-3px) scale(1);
            }
            50% {
                transform: translateY(-7px) scale(1.03);
            }
        }

        .lumi-mascot-component[data-status="speaking"] .lumi-cosmic-glow {
            animation: lumiGlowPulse 2.2s ease-in-out infinite;
        }

        .lumi-mascot-component[data-status="speaking"] .lumi-eye-path {
            stroke: #38bdf8;
            filter: drop-shadow(0 0 5px #38bdf8) drop-shadow(0 0 12px rgba(56, 189, 248, 0.95));
        }

        @keyframes lumiLevitateFast {
            0%, 100% {
                transform: translateY(-2px) rotate(-1deg) scale(1.02);
            }
            50% {
                transform: translateY(-8px) rotate(1.5deg) scale(1.04);
            }
        }

        /* Durum 5: CELEBRATING (Başarı, İşlem Tamamlandığında) */
        .lumi-mascot-component[data-status="celebrating"] .lumi-avatar-wrapper {
            animation: lumiJoyBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
        }

        .lumi-mascot-component[data-status="celebrating"] .lumi-eye-path {
            stroke: #facc15;
            filter: drop-shadow(0 0 4px #facc15) drop-shadow(0 0 12px rgba(250, 204, 21, 0.9));
        }

        /* AI Mesaj Bubble Avatarı (Lumi) */
        .chat-avatar.ai-av.lumi-avatar-bubble {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #ffffff !important;
            border: 1.5px solid rgba(119, 61, 189, 0.35);
            box-shadow: 0 2px 8px rgba(119, 61, 189, 0.18), inset 0 0 6px rgba(56, 189, 248, 0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            flex-shrink: 0;
            overflow: visible;
            transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.25s ease;
        }

        .chat-avatar.ai-av.lumi-avatar-bubble:hover {
            transform: scale(1.15) rotate(4deg);
            border-color: #773DBD;
        }

        .chat-avatar-lumi-img {
            width: 24px;
            height: 24px;
            object-fit: contain;
            pointer-events: none;
            user-select: none;
        }

        .lumi-avatar-online-dot {
            position: absolute;
            bottom: -1px;
            right: -1px;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #10b981;
            border: 1.5px solid #ffffff;
            box-shadow: 0 0 4px #10b981;
        }

        /* ============================================================
           LUMI COMPACT & ACTIVE COPILOT DOCK
           (Sohbette Lumi Sürekli Canlı, Aktif & Görünür)
           ============================================================ */
        .lumi-mascot-component.compact {
            width: 68px;
            height: 68px;
            margin: 0;
            padding: 0;
            flex-shrink: 0;
        }

        .lumi-mascot-component.compact .lumi-mascot-stage {
            width: 56px;
            height: 56px;
        }

        .lumi-mascot-component.compact .lumi-avatar-wrapper {
            width: 52px;
            height: 52px;
        }

        .lumi-mascot-component.compact .lumi-cosmic-glow {
            width: 82px;
            height: 82px;
        }

        .lumi-mascot-component.compact .lumi-energy-orbit {
            width: 80px;
            height: 80px;
        }

        .lumi-mascot-component.compact .lumi-particles-layer {
            width: 76px;
            height: 76px;
        }

        .lumi-mascot-component.compact .lumi-floor-shadow {
            width: 40px;
            height: 8px;
            bottom: -2px;
        }

        .lumi-mascot-component.compact .lumi-speech-bubble {
            display: none !important;
        }

        /* Pinned Active Copilot Dock */
        .lumi-copilot-dock {
            position: sticky;
            top: 0;
            z-index: 25;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border: 1px solid rgba(119, 61, 189, 0.16);
            border-radius: 14px;
            padding: 10px 14px;
            margin-bottom: 14px;
            box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
            transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .lumi-copilot-dock:hover {
            border-color: rgba(119, 61, 189, 0.28);
            box-shadow: 0 6px 22px -4px rgba(119, 61, 189, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
        }

        .lumi-dock-inner {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .lumi-dock-mascot-wrap {
            position: relative;
            cursor: pointer;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .lumi-dock-mascot-wrap:hover {
            transform: scale(1.06);
        }

        .lumi-dock-content {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .lumi-dock-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
        }

        .lumi-dock-title-group {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .lumi-dock-name {
            font-size: 13px;
            font-weight: 700;
            color: #0F172A;
            letter-spacing: -0.15px;
            font-family: 'Open Runde', sans-serif;
        }

        .lumi-dock-status-pill {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 2px 7px;
            border-radius: 9999px;
            font-size: 11px;
            font-weight: 600;
            background: rgba(119, 61, 189, 0.08);
            color: #773DBD;
            border: 1px solid rgba(119, 61, 189, 0.15);
            transition: all 0.22s ease;
        }

        .lumi-dock-status-pill[data-status="listening"] {
            background: rgba(14, 165, 233, 0.10);
            color: #0284C7;
            border-color: rgba(14, 165, 233, 0.25);
        }

        .lumi-dock-status-pill[data-status="thinking"] {
            background: rgba(168, 85, 247, 0.12);
            color: #7E22CE;
            border-color: rgba(168, 85, 247, 0.30);
        }

        .lumi-dock-status-pill[data-status="celebrating"] {
            background: rgba(234, 179, 8, 0.12);
            color: #B45309;
            border-color: rgba(234, 179, 8, 0.30);
        }

        .lumi-dock-pulse {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: currentColor;
            animation: lumiDockDotPulse 1.8s infinite ease-in-out;
        }

        @keyframes lumiDockDotPulse {
            0%, 100% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.35); opacity: 1; }
        }

        .lumi-dock-toggle-btn {
            border: none;
            background: transparent;
            color: #94A3B8;
            cursor: pointer;
            padding: 4px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
        }

        .lumi-dock-toggle-btn:hover {
            color: #334155;
            background: rgba(0, 0, 0, 0.05);
        }

        .lumi-dock-chevron {
            transition: transform 0.22s ease;
        }

        .lumi-dock-speech {
            font-size: 12px;
            line-height: 1.45;
            color: #475569;
            margin: 0;
            white-space: normal;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: all 0.2s ease;
        }

        .lumi-dock-shortcuts {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 4px;
            flex-wrap: wrap;
        }

        .lumi-shortcut-chip {
            border: 1px solid rgba(148, 163, 184, 0.25);
            background: #FFFFFF;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 500;
            color: #334155;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            transition: all 0.15s ease;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
            font-family: inherit;
        }

        .lumi-shortcut-chip:hover {
            background: #F8FAFC;
            border-color: #773DBD;
            color: #773DBD;
            transform: translateY(-1px);
            box-shadow: 0 2px 5px rgba(119, 61, 189, 0.10);
        }

        /* Collapsed / Kompakt Mod */
        .lumi-copilot-dock.collapsed {
            padding: 6px 12px;
        }

        .lumi-copilot-dock.collapsed .lumi-mascot-component.compact {
            width: 36px;
            height: 36px;
        }

        .lumi-copilot-dock.collapsed .lumi-mascot-component.compact .lumi-mascot-stage {
            width: 32px;
            height: 32px;
        }

        .lumi-copilot-dock.collapsed .lumi-mascot-component.compact .lumi-avatar-wrapper {
            width: 30px;
            height: 30px;
        }

        .lumi-copilot-dock.collapsed .lumi-dock-speech,
        .lumi-copilot-dock.collapsed .lumi-dock-shortcuts {
            display: none !important;
        }

        .lumi-copilot-dock.collapsed .lumi-dock-chevron {
            transform: rotate(180deg);
        }

        /* Drawer Header Lumi Mini Widget */
        .drawer-header-lumi-head {
            position: relative;
            cursor: pointer;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #ffffff;
            border: 1.5px solid rgba(119, 61, 189, 0.35);
            box-shadow: 0 2px 8px rgba(119, 61, 189, 0.18);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
        }

        .drawer-header-lumi-head:hover {
            transform: scale(1.10) rotate(3deg);
            box-shadow: 0 4px 14px rgba(119, 61, 189, 0.28);
        }

        .lumi-header-avatar {
            width: 26px;
            height: 26px;
            object-fit: contain;
            pointer-events: none;
        }

        .lumi-live-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 1.5px 6px;
            border-radius: 9999px;
            font-size: 10px;
            font-weight: 600;
            background: rgba(119, 61, 189, 0.08);
            color: #773DBD;
            border: 1px solid rgba(119, 61, 189, 0.15);
            transition: all 0.2s ease;
        }

        .lumi-live-badge[data-status="listening"] {
            background: rgba(14, 165, 233, 0.10);
            color: #0284C7;
            border-color: rgba(14, 165, 233, 0.25);
        }

        .lumi-live-badge[data-status="thinking"] {
            background: rgba(168, 85, 247, 0.12);
            color: #7E22CE;
            border-color: rgba(168, 85, 247, 0.30);
        }

        .lumi-live-badge[data-status="celebrating"] {
            background: rgba(234, 179, 8, 0.12);
            color: #B45309;
            border-color: rgba(234, 179, 8, 0.30);
        }

        .lumi-badge-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: currentColor;
            animation: lumiDockDotPulse 1.8s infinite ease-in-out;
        }

        .ai-mascot-greeting {
            font-family: 'Open Runde', sans-serif;
            font-size: 15.5px;
            font-weight: 600;
            color: #111D2E;
            margin: 0 0 4px;
            letter-spacing: -0.015em;
            line-height: 1.35;
            text-align: center;
        }

        .ai-mascot-greeting.fullscreen {
            font-size: 24px;
            font-weight: 700;
            color: #172033;
            letter-spacing: -0.025em;
            margin-bottom: 8px;
        }

        .ai-mascot-sub.fullscreen {
            font-size: 14px;
            color: #64748b;
            margin: 0 auto 24px;
            max-width: 520px;
            line-height: 1.55;
            text-align: center;
        }

        .fullscreen-suggestions-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            width: 100%;
            max-width: 720px;
            margin: 0 auto;
        }

        .fullscreen-sug-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 14px;
            padding: 16px 18px;
            cursor: pointer;
            text-align: left;
            display: flex;
            flex-direction: column;
            gap: 6px;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
        }

        .fullscreen-sug-card:hover {
            background: rgba(119, 61, 189, 0.03);
            border-color: #773DBD;
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(119, 61, 189, 0.08);
        }

        .fullscreen-sug-title {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13.5px;
            font-weight: 600;
            color: #0f172a;
        }

        .fullscreen-sug-card:hover .fullscreen-sug-title {
            color: #773DBD;
        }

        .fullscreen-sug-desc {
            font-size: 12px;
            color: #64748b;
            line-height: 1.45;
        }

        .fullscreen-sug-title i,
        .fullscreen-sug-title svg {
            color: #94a3b8;
            transition: transform 0.2s ease, color 0.2s ease;
        }

        .fullscreen-sug-card:hover .fullscreen-sug-title i,
        .fullscreen-sug-card:hover .fullscreen-sug-title svg {
            color: #773DBD;
            transform: translate(2px, -2px);
        }

        @media (max-width: 640px) {
            .fullscreen-suggestions-grid {
                grid-template-columns: 1fr;
            }
        }

        .suggestions-list {
            display: flex;
            flex-direction: column;
            gap: 9px;
            text-align: left;
            width: 100%;
        }

        .suggestion-chip {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 12px 16px;
            font-size: 13px;
            font-weight: 500;
            color: #1e293b;
            cursor: pointer;
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 1px 3px rgba(15, 37, 84, 0.04);
            width: 100%;
        }

        .suggestion-chip:hover {
            background: rgba(119, 61, 189, 0.04);
            border-color: #773DBD;
            color: #773DBD;
            transform: translateY(-1.5px);
            box-shadow: 0 4px 14px rgba(119, 61, 189, 0.09);
        }

        .suggestion-chip i,
        .suggestion-chip svg {
            color: #94a3b8;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .suggestion-chip:hover i,
        .suggestion-chip:hover svg {
            color: #773DBD;
            transform: translate(2px, -2px);
        }

        /* Chat Giriş Çubuğu (Footer) - Hero Component & Floating Command Box */
        .chat-input-area {
            padding: 10px 14px 14px 14px;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 28%, #ffffff 100%);
            border-top: none;
        }

        .chat-input-box {
            display: flex;
            flex-direction: column;
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 16px;
            padding: 10px 12px 8px 12px;
            box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
            transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .chat-input-box:focus-within {
            border-color: rgba(15, 23, 42, 0.32);
            box-shadow: 0 10px 28px -4px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(15, 23, 42, 0.06);
        }

        .drawer-input-top-row {
            width: 100%;
        }

        .chat-textarea {
            width: 100%;
            border: none;
            background: transparent;
            resize: none;
            min-height: 38px;
            max-height: 120px;
            font-size: 13.5px;
            color: #111D2E;
            outline: none;
            font-family: inherit;
            padding: 2px 0 6px 0;
            line-height: 1.45;
            box-sizing: border-box;
        }

        .chat-textarea::placeholder {
            color: #94a3b8;
        }

        .drawer-input-bottom-bar {
            display: flex;
            align-items: center;
            gap: 6px;
            padding-top: 6px;
            border-top: none;
            width: 100%;
        }

        .drawer-input-left-tools {
            display: flex;
            align-items: center;
            gap: 5px;
            overflow-x: auto;
            overflow-y: hidden;
            flex: 1 1 0%;
            min-width: 0;
            scrollbar-width: none;
            -ms-overflow-style: none;
            -webkit-overflow-scrolling: touch;
            padding: 3px 6px 3px 1px;
        }
        .drawer-input-left-tools::-webkit-scrollbar {
            display: none;
        }

        .drawer-input-left-tools .prompt-hero-chip.mini,
        .drawer-input-left-tools .prompt-hero-tool-btn.mini {
            padding: 4px 8px;
            font-size: 11.5px;
            gap: 4px;
            flex-shrink: 0;
            white-space: nowrap;
        }

        .drawer-input-left-tools .prompt-hero-chip:hover,
        .drawer-input-left-tools .prompt-hero-tool-btn:hover,
        .drawer-input-right-tools .prompt-voice-btn:hover,
        .drawer-input-right-tools .chat-send-btn:hover {
            transform: none !important;
        }

        .drawer-input-right-tools {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
            margin-left: auto;
            position: relative;
            z-index: 5;
            background: #ffffff;
            box-shadow: -8px 0 10px -2px #ffffff;
            padding-left: 4px;
        }

        /* ============================================================
           PROMPT HERO TOOL CHIPS & ACTION BUTTONS
           ============================================================ */
        .prompt-hero-tool-btn {
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 8px;
            padding: 5px 11px;
            font-size: 12.5px;
            font-weight: 500;
            color: #334155;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
            user-select: none;
            white-space: nowrap;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        }

        .prompt-hero-tool-btn:hover {
            background: #f5effc;
            color: #773DBD;
            border-color: rgba(119, 61, 189, 0.28);
            transform: none;
            box-shadow: 0 1px 4px rgba(119, 61, 189, 0.08);
        }

        .prompt-hero-tool-btn:hover i[data-lucide="paperclip"],
        .prompt-hero-tool-btn:hover svg {
            transform: rotate(-12deg) scale(1.08);
            transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .prompt-hero-tool-btn:active {
            transform: none;
            background: #ede9fe;
        }

        .prompt-hero-tool-btn.mini {
            padding: 3px 8px;
            font-size: 11.5px;
            border-radius: 6px;
        }

        .prompt-hero-chip {
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 8px;
            padding: 5px 11px;
            font-size: 12.5px;
            font-weight: 500;
            color: #334155;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
            user-select: none;
            white-space: nowrap;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        }

        .prompt-hero-chip:hover {
            background: #f5effc;
            color: #773DBD;
            border-color: rgba(119, 61, 189, 0.28);
            transform: none;
            box-shadow: 0 1px 4px rgba(119, 61, 189, 0.08);
        }

        .prompt-hero-chip:active {
            transform: none;
            background: #ede9fe;
        }

        .prompt-hero-chip.active {
            background: #f5effc !important;
            color: #773DBD !important;
            border-color: #773DBD !important;
            box-shadow: 0 0 0 1px #773DBD !important;
        }

        .prompt-hero-chip.mini {
            padding: 3px 8px;
            font-size: 11.5px;
            border-radius: 6px;
        }

        /* Voice Input Button & Pulse */
        .prompt-voice-btn {
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.12);
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            cursor: pointer;
            transition: all 0.15s ease;
            flex-shrink: 0;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        }

        .prompt-voice-btn:hover {
            background: #f5effc;
            color: #773DBD;
            border-color: rgba(119, 61, 189, 0.28);
            transform: none;
            box-shadow: 0 1px 4px rgba(119, 61, 189, 0.08);
        }

        .prompt-voice-btn.mini {
            width: 28px;
            height: 28px;
        }

        .prompt-voice-btn.listening {
            color: #ef4444 !important;
            background: #fef2f2 !important;
            border-color: rgba(239, 68, 68, 0.4) !important;
            animation: voicePulse 1.2s infinite ease-in-out;
        }

        @keyframes voicePulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.35);
            }
            50% {
                transform: scale(1.08);
                box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
            }
        }

        .prompt-cost-tag {
            font-size: 11.5px;
            color: #64748b;
            font-weight: 600;
            user-select: none;
            padding: 3px 8px;
            border-radius: 6px;
            transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
            border: 1px solid transparent;
            cursor: pointer;
        }

        .prompt-cost-tag:hover {
            background: #f5effc;
            color: #773DBD;
            border-color: rgba(119, 61, 189, 0.2);
            transform: translateY(-1px) scale(1.04);
            box-shadow: 0 2px 6px rgba(119, 61, 189, 0.1);
        }

        .chat-send-btn {
            background: linear-gradient(135deg, #773DBD 0%, #8e4fd6 100%) !important;
            color: #ffffff;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
            flex-shrink: 0;
            margin-bottom: 2px;
            box-shadow: 0 2px 6px rgba(119, 61, 189, 0.28);
        }

        .chat-send-btn:hover {
            background: linear-gradient(135deg, #632fa5 0%, #773DBD 100%) !important;
            transform: none;
            box-shadow: 0 4px 12px rgba(119, 61, 189, 0.45);
        }

        .chat-send-btn:active {
            transform: translateY(0);
        }

        .chat-send-btn:disabled {
            background: #e5e5e5;
            color: #a3a3a3;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .chat-footer-note {
            font-size: 11px;
            color: #cbd5e1;
            text-align: center;
            margin-top: 6px;
            letter-spacing: 0.01em;
        }

        /* OpenAI apps-sdk-ui & shadcn/ai Bileşen Stilleri */
        /* 1. Stop Streaming Butonu */
        .chat-send-btn.stop-mode, .ai-workspace-send-btn.stop-mode {
            background: var(--color-brand, #0B2B57) !important;
            color: #ffffff !important;
            cursor: pointer !important;
            opacity: 1 !important;
        }

        .chat-send-btn.stop-mode:hover, .ai-workspace-send-btn.stop-mode:hover {
            background: #ef4444 !important;
            transform: translateY(-1.5px);
            box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
        }

        .stop-square-icon {
            width: 10px;
            height: 10px;
            background-color: #ffffff;
            border-radius: 2px;
            display: inline-block;
        }

        /* 2. Süreç / Akıl Yürütme Timeline (İkincil Minimalist UI: "✦ Analiz edildi • 1.2s") */
        .ai-reasoning-block {
            margin-bottom: 8px;
            border: none !important;
            border-radius: 0 !important;
            background: transparent !important;
            overflow: visible;
            font-size: 11.5px;
        }

        .ai-reasoning-header {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 2px 6px;
            border-radius: 6px;
            cursor: pointer;
            user-select: none;
            color: #64748b;
            font-weight: 500;
            font-size: 11.5px;
            background: transparent;
            transition: all 0.15s ease;
            margin-left: -6px;
        }

        .ai-reasoning-header:hover {
            background: rgba(0, 0, 0, 0.04);
            color: #111D2E;
        }

        .reasoning-sparkle-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            line-height: 1;
            color: #94a3b8;
            transition: color 0.15s;
        }

        .reasoning-sparkle-icon .moon-ai-icon {
            display: inline-flex;
        }

        .ai-reasoning-header:hover .reasoning-sparkle-icon {
            color: var(--brand-800, #773DBD);
        }

        .reasoning-title-text {
            color: inherit;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: -0.01em;
        }

        .reasoning-chevron {
            width: 12px;
            height: 12px;
            color: #94a3b8;
            transition: transform 0.2s ease;
            margin-left: 2px;
        }

        .ai-reasoning-block.open .reasoning-chevron {
            transform: rotate(180deg);
        }

        .ai-reasoning-body {
            display: none;
            padding: 4px 0 6px 2px;
            margin-top: 4px;
            margin-bottom: 8px;
            background: transparent !important;
            border: none !important;
            animation: messageFadeIn 0.15s ease;
        }

        .ai-reasoning-block.open .ai-reasoning-body {
            display: block;
        }

        /* Progress / Activity Timeline Mantığı */
        .reasoning-timeline {
            border-left: 1.5px solid #e2e8f0;
            padding-left: 12px;
            margin-left: 5px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .reasoning-timeline-item {
            position: relative;
            display: flex;
            align-items: baseline;
            gap: 7px;
            font-size: 12px;
            color: #64748b;
            line-height: 1.5;
        }

        .reasoning-timeline-bullet {
            position: absolute;
            left: -15.5px;
            top: 6px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #94a3b8;
            transition: background 0.15s;
        }

        .reasoning-timeline-item:hover .reasoning-timeline-bullet {
            background: #8e4fd6;
        }

        .reasoning-timeline-item:hover .reasoning-timeline-text {
            color: #773DBD;
        }

        .reasoning-timeline-text {
            color: #475569;
            font-weight: 400;
            transition: color 0.15s;
        }

        /* 3. Mesaj Aksiyon Çubuğu (Actions AI Component) */
        .message-actions-bar {
            display: flex;
            align-items: center;
            gap: 4px;
            margin-top: 6px;
            padding-top: 4px;
            opacity: 0.85;
            transition: opacity 0.15s;
        }

        .chat-message-row:hover .message-actions-bar {
            opacity: 1;
        }

        .msg-action-btn {
            background: transparent;
            border: none;
            width: 24px;
            height: 24px;
            border-radius: 6px;
            color: #64748b;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
            position: relative;
        }

        .msg-action-btn:hover {
            background: #f1f5f9;
            color: #111D2E;
        }

        .msg-action-btn.active-thumb {
            color: #111D2E !important;
            background: #f1f5f9 !important;
        }

        .msg-action-btn.active-thumb-down {
            color: #ef4444 !important;
            background: #fef2f2 !important;
        }

        .msg-action-btn.copied {
            color: #16a34a !important;
            background: #f0fdf4 !important;
        }

        .msg-model-meta {
            font-size: 11.5px;
            color: #64748b;
            margin-left: auto;
            font-weight: 500;
        }

        /* 4. Önerilen Sorular (Editorial & AI-Native Liste - Spacing > Border & Canlı Hover Etkileşimi) */
        .ai-followup-suggestions {
            margin-top: 14px;
            padding-top: 0;
            border-top: none !important;
        }

        /* Sadece en son asistanda follow-up önerilerini göster, önceki yanıtlarda dikey alanı temizle */
        .chat-message-row:not(:last-child) .ai-followup-suggestions,
        .chat-message-row:not(:last-of-type) .ai-followup-suggestions {
            display: none !important;
        }

        /* Mesaj altı eski context chip'lerini gizle (Artık Hero Input çubuğunda) */
        .response-context-actions {
            display: none !important;
        }

        .followup-title {
            font-size: 12px;
            font-weight: 500;
            color: var(--color-secondary, #62708A);
            margin-bottom: 5px;
            letter-spacing: -0.01em;
        }

        .followup-list {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .followup-item-btn {
            background: transparent;
            border: 1px solid transparent !important;
            border-radius: 6px;
            padding: 5px 8px;
            font-size: 13.5px;
            color: var(--color-body, #172033);
            cursor: pointer;
            text-align: left;
            transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
            display: inline-flex;
            align-items: center;
            width: fit-content;
            max-width: 100%;
            margin-left: -8px;
            line-height: 1.5;
        }

        .followup-item-btn .followup-arrow {
            display: inline-block;
            font-size: 13px;
            opacity: 0.25;
            width: 12px;
            transform: translateX(0);
            transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
            color: var(--color-secondary, #62708A);
            overflow: hidden;
            white-space: nowrap;
            margin-right: 4px;
        }

        .followup-item-btn:hover {
            background: var(--color-accent-bg, #EFF5FC);
            border-color: var(--color-accent-border, rgba(11, 43, 87, 0.12)) !important;
            color: var(--color-body, #172033);
            transform: translateX(3px);
        }

        .followup-item-btn:hover .followup-arrow {
            opacity: 1;
            width: 15px;
            transform: translateX(2px);
            color: var(--color-brand, #0B2B57);
        }

        /* 5. OpenAI apps-sdk-ui Data Table / Inline Metrics (Kart hissi kaldırılmış, unboxed - Spacing > Border) */
        .openai-surface-card {
            background: transparent !important;
            border: none !important;
            border-radius: 0 !important;
            padding: 0 !important;
            box-shadow: none !important;
            margin: 16px 0 20px 0;
            animation: cardReveal 0.2s ease-out;
        }

        .openai-surface-card:hover {
            transform: none !important;
            box-shadow: none !important;
        }

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

        .openai-card-header {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 12px;
            margin-bottom: 8px;
            padding-bottom: 0;
            border-bottom: none !important;
        }

        .openai-card-title {
            font-size: 16.5px;
            font-weight: 650;
            color: #111D2E;
            letter-spacing: -0.015em;
        }

        .openai-card-header .openai-badge {
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            font-size: 13.5px !important;
            font-weight: 600 !important;
            color: #475569 !important;
            letter-spacing: 0 !important;
        }

        /* Unboxed Data Table / Inline Metrics Container */
        .openai-dl {
            display: flex;
            flex-direction: column;
            gap: 2px;
            margin: 0;
            padding: 0 !important;
            background: transparent !important;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            font-size: 14.5px;
        }

        .openai-dl-row {
            display: grid;
            grid-template-columns: 180px auto;
            align-items: baseline;
            gap: 16px;
            padding: 5px 6px;
            border-bottom: none !important;
            transition: background 0.15s ease;
            border-radius: 6px;
        }

        .openai-dl-row:hover {
            background: rgba(15, 23, 42, 0.025);
        }

        .openai-dl-row:last-child {
            border-bottom: none !important;
        }

        /* Metric Rows Progressive Cascading Appearance (Feedback 11) */
        @keyframes metricRowAppear {
            0% {
                opacity: 0;
                transform: translateY(6px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .openai-dl-row.stagger-metric {
            animation: metricRowAppear 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
            will-change: opacity, transform;
        }

        /* Slide 7: Ürün Başlığı & Rozeti Kart İçine Bütünleşik Rafine Veri Izgarası (Hafif Surface Tasarımı) */
        .ai-product-card-unified {
            background: #F7F9FC;
            border: 1px solid #CBD5E1;
            border-radius: 14px;
            padding: 16px 20px 14px 20px;
            max-width: min(100%, 580px);
            width: 100%;
            margin: 14px 0 18px 0;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.02);
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
            position: relative;
            animation: cardReveal 0.22s ease-out;
        }

        .ai-product-card-unified:hover {
            border-color: #cbd5e1;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
        }

        .ai-product-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #CBD5E1;
            margin-bottom: 10px;
        }

        .ai-product-card-title-group {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
        }

        .ai-product-card-title {
            font-size: 15px;
            font-weight: 700;
            color: #111D2E; /* Slide 10: Dark text = Information */
            letter-spacing: -0.015em;
            margin: 0;
        }

        .ai-card-pill {
            font-size: 11px;
            font-weight: 500;
            padding: 2px 7px;
            border-radius: 4px;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            line-height: 1.25;
            letter-spacing: 0.01em;
        }

        .ai-card-pill.success {
            background: #F0FDF4;
            color: #166534;
            border: 1px solid #DCFCE7;
        }

        .ai-card-pill.primary {
            background: #F0F7FF;
            color: #1E40AF;
            border: 1px solid #DBEAFE;
        }

        .ai-card-pill.neutral {
            background: #F8FAFC;
            color: #64748B;
            border: 1px solid #CBD5E1;
        }

        .ai-product-card-unified .card-copy-btn {
            background: transparent;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            padding: 4px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s ease;
            flex-shrink: 0;
        }

        .ai-product-card-unified .card-copy-btn i,
        .ai-product-card-unified .card-copy-btn svg {
            width: 14px;
            height: 14px;
            stroke-width: 1.5px !important;
        }

        .ai-product-card-unified .card-copy-btn:hover {
            color: #0B2B57;
            background: #E5EAF1;
        }

        .ai-product-card-unified .card-copy-btn.copied {
            color: #16a34a;
            background: #DCFCE7;
        }

        .ai-product-card-rows {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .ai-product-card-row {
            display: grid;
            grid-template-columns: 160px auto;
            align-items: baseline;
            gap: 16px;
            padding: 3px 0;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
            font-size: 13px;
        }

        .ai-product-card-row .row-lbl {
            color: #64748b;
            font-weight: 500;
        }

        .ai-product-card-row .row-val-wrap {
            display: flex;
            align-items: baseline;
            gap: 10px;
        }

        .ai-product-card-row .row-val {
            color: #111D2E;
            font-weight: 600;
            letter-spacing: -0.01em;
        }

        .ai-product-card-row .row-delta {
            color: #16a34a;
            font-weight: 600;
            font-size: 12px;
        }

        /* Slide 12: Bütünleşik Açık Surface İçi Ürün Satırları & Ayracı */
        .ai-product-items-wrap {
            display: flex;
            flex-direction: column;
        }

        .ai-product-item {
            padding: 10px 0;
        }

        .ai-product-item:first-child {
            padding-top: 2px;
        }

        .ai-product-item:last-child {
            padding-bottom: 2px;
        }

        .ai-product-item-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 6px;
        }

        .ai-product-item-name {
            font-size: 13.5px;
            font-weight: 650;
            color: #111D2E;
            letter-spacing: -0.01em;
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
        }

        .ai-product-item-divider {
            height: 1px;
            background: #E5EAF1;
            margin: 6px 0;
        }

        /* AI-Native Progressive Reveal & Stagger Animation */
        @keyframes aiStaggerReveal {
            0% {
                opacity: 0;
                transform: translateY(8px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .ai-stagger-section {
            animation: aiStaggerReveal 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            will-change: opacity, transform;
        }

        /* ==========================================================================
           SLIDE 13: 5 AI RESPONSE STATES & STREAMING MOTION SYSTEM
           ========================================================================== */

        /* State Switcher Sub-Bar (Ultra-Clean Frosted Control Bar) */
        .ai-state-switcher-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px clamp(12px, 2vw, 24px);
            background: #ffffff;
            border-bottom: 1px solid #CBD5E1;
            font-size: 12px;
            user-select: none;
            position: relative;
            z-index: 15;
            flex-shrink: 0;
            overflow-x: auto;
            scrollbar-width: none;
        }

        .ai-state-switcher-left {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #475569;
            font-weight: 500;
        }

        .ai-state-indicator-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #10b981;
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
            display: inline-block;
        }

        .ai-state-group {
            display: flex;
            align-items: center;
            gap: 4px;
            background: #f1f5f9;
            padding: 3px;
            border-radius: 8px;
            border: 1px solid #CBD5E1;
        }

        .ai-state-pill-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 11px;
            border-radius: 6px;
            border: none;
            background: transparent;
            color: #64748b;
            font-size: 11.5px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .ai-state-pill-btn:hover {
            color: #0f172a;
            background: rgba(255, 255, 255, 0.75);
        }

        .ai-state-pill-btn.active {
            background: #ffffff;
            color: #0B2B57;
            font-weight: 600;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 1px rgba(0, 0, 0, 0.04);
        }

        .ai-state-pill-btn .pill-num {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #e2e8f0;
            color: #64748b;
            font-size: 10px;
            font-weight: 700;
        }

        .ai-state-pill-btn.active .pill-num {
            background: #EFF5FC;
            color: #0B2B57;
        }

/* ============================================================
   MOON AI STREAMING, REASONING & METRICS CARD STYLES
   ============================================================ */

        /* Reasoning Live Shimmer & Sparkle during Thinking */
        .ai-reasoning-block.thinking .reasoning-title-icon,
        .ai-reasoning-block.thinking .reasoning-sparkle-icon {
            animation: reasoningSparklePulse 1.2s infinite ease-in-out;
            color: var(--brand-800, #773DBD);
            display: inline-block;
        }

        @keyframes reasoningSparklePulse {
            0%, 100% { opacity: 0.5; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 5px rgba(119, 61, 189, 0.5)); }
        }

        /* Thinking State Shimmer Wave & Skeleton Placeholder */
        .thinking-shimmer-wrap {
            margin-top: 14px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }

        .thinking-skeleton-line {
            height: 14px;
            border-radius: 6px;
            background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 50%, #f1f5f9 100%);
            background-size: 200% 100%;
            animation: thinkingShimmer 1.5s infinite ease-in-out;
        }

        .thinking-skeleton-line.title {
            width: 52%;
            height: 18px;
            border-radius: 6px;
        }

        .thinking-skeleton-line.desc-1 {
            width: 88%;
        }

        .thinking-skeleton-line.desc-2 {
            width: 65%;
        }

        .thinking-skeleton-cards {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 4px;
        }

        .thinking-skeleton-card {
            height: 72px;
            border-radius: 12px;
            border: 1px solid #CBD5E1;
            background: linear-gradient(90deg, #f8fafc 0%, #edf2f7 50%, #f8fafc 100%);
            background-size: 200% 100%;
            animation: thinkingShimmer 1.5s infinite ease-in-out;
        }

        @keyframes thinkingShimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* Progressive Reveal Animations for Streaming */
        .stagger-item-reveal {
            animation: staggerRevealIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            will-change: opacity, transform;
        }

        @keyframes staggerRevealIn {
            0% {
                opacity: 0;
                transform: translateY(10px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Action bar & Follow-ups smooth reveal */
        @keyframes actionReveal {
            0% {
                opacity: 0;
                transform: translateY(6px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .actions-slot.revealed,
        .followups-slot.revealed {
            display: block !important;
            animation: actionReveal 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
        }

        /* Multi-turn Conversation Rhythm Separator (State 5: Follow-up) */
        .conversation-turn-separator {
            height: 76px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            margin: 8px 0;
        }

        .conversation-turn-separator::before {
            content: '';
            position: absolute;
            left: 5%;
            right: 5%;
            height: 1px;
            background: linear-gradient(90deg, transparent, #e2e8f0 25%, #e2e8f0 75%, transparent);
        }

        .conversation-turn-label {
            background: #ffffff;
            border: 1px solid #CBD5E1;
            padding: 3px 12px;
            border-radius: 999px;
            font-size: 11px;
            font-weight: 600;
            color: #64748b;
            letter-spacing: 0.02em;
            position: relative;
            z-index: 1;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
        }

        /* Slide 11: İkon Stili - Hafif Ağırlık & Destekleyici Bilgi Rolü (icon -> supporting information) */
        .openai-dl dt {
            color: #475569;
            font-weight: 450;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            font-size: 13.5px;
            letter-spacing: -0.005em;
        }

        .openai-dl dt i,
        .openai-dl dt svg {
            width: 14px;
            height: 14px;
            color: #94a3b8; /* Muted cool slate for lightweight supporting visual */
            stroke-width: 1.5px !important;
            flex-shrink: 0;
            transition: color 0.15s ease;
        }

        .openai-dl-row:hover dt i,
        .openai-dl-row:hover dt svg {
            color: #64748b;
        }

        .openai-dl dd {
            margin: 0;
            text-align: left;
            font-weight: 600;
            color: #111D2E;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 6px;
            white-space: nowrap !important;
            flex-shrink: 0;
            font-variant-numeric: tabular-nums;
            font-size: 13.5px;
        }

        /* Inline Unboxed Delta & Tags inside Metrics Data Table */
        .openai-dl dd .openai-badge {
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            font-size: 13px !important;
            font-weight: 550 !important;
            letter-spacing: 0 !important;
            margin-left: 3px;
        }

        .openai-dl dd .openai-badge.success {
            color: #16a34a !important;
        }

        .openai-dl dd .openai-badge.primary {
            color: #64748b !important;
        }

        /* Standalone Badge (Diğer Yerler İçin) */
        .openai-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            font-size: 11.5px;
            font-weight: 600;
            padding: 2.5px 8px;
            border-radius: 9999px;
            line-height: 1.25;
            white-space: nowrap !important;
            flex-shrink: 0;
            letter-spacing: 0.1px;
        }

        .openai-badge.success {
            background: #ecfdf5;
            color: #059669;
            border: 1px solid #a7f3d0;
        }

        .openai-badge.primary {
            background: #f1f5f9;
            color: #334155;
            border: 1px solid #CBD5E1;
        }

        /* 6. Kaynak Alıntı Rozetleri & Tablo Satır Vurgulama */
        .ai-citation {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            background: #f1f5f9;
            color: var(--color-secondary, #62708A);
            border-radius: 6px;
            padding: 1.5px 7px;
            margin: 0 3px;
            cursor: pointer;
            transition: all 0.15s ease;
            vertical-align: baseline;
            text-decoration: none;
            border: 1px solid #CBD5E1;
            line-height: 1.25;
        }

        .ai-citation:hover {
            background: var(--color-accent-bg, #EFF5FC);
            color: var(--color-brand, #0B2B57);
            border-color: rgba(11, 43, 87, 0.25);
            transform: translateY(-1px);
        }

        @keyframes rowPulseHighlight {
            0% { background-color: rgba(15, 23, 42, 0.12); }
            50% { background-color: rgba(15, 23, 42, 0.05); }
            100% { background-color: transparent; }
        }

        .row-highlight-pulse {
            animation: rowPulseHighlight 2.4s ease-out;
        }


/* ============================================================
   MOON AI CONFIRMATION MODAL & ACTION DIALOGS
   ============================================================ */
        /* 4. Özel Sohbet & Oturum Onay Modalı */
        .moon-confirm-modal-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.55);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 100050 !important;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .moon-confirm-modal-backdrop.open {
            opacity: 1;
            pointer-events: auto;
        }

        .moon-confirm-modal-card {
            background: #ffffff;
            border-radius: 16px;
            width: 100%;
            max-width: 410px;
            margin: 16px;
            padding: 24px;
            box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(226, 232, 240, 0.9);
            transform: scale(0.92) translateY(12px);
            transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .moon-confirm-modal-backdrop.open .moon-confirm-modal-card {
            transform: scale(1) translateY(0);
        }

        .confirm-modal-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            margin-bottom: 14px;
        }

        .confirm-modal-icon-wrap {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            background: #fef2f2;
            border: 1px solid #fee2e2;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .confirm-modal-close-btn {
            background: transparent;
            border: none;
            color: #94a3b8;
            cursor: pointer;
            width: 28px;
            height: 28px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.15s;
        }

        .confirm-modal-close-btn:hover {
            background: #f1f5f9;
            color: #475569;
        }

        .confirm-modal-title {
            margin: 0 0 6px 0;
            font-size: 16px;
            font-weight: 700;
            color: #111D2E;
        }

        .confirm-modal-desc {
            margin: 0 0 20px 0;
            font-size: 13.5px;
            color: #64748b;
            line-height: 1.5;
        }

        .confirm-modal-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
        }

        .btn-confirm-cancel {
            background: #f8fafc;
            border: 1px solid #CBD5E1;
            color: #475569;
            font-size: 13px;
            font-weight: 600;
            padding: 9px 18px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.15s;
        }

        .btn-confirm-cancel:hover {
            background: #f1f5f9;
            color: #1e293b;
            border-color: #cbd5e1;
        }

        .btn-confirm-delete {
            background: #ef4444;
            border: 1px solid #ef4444;
            color: #ffffff;
            font-size: 13px;
            font-weight: 600;
            padding: 9px 18px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.15s;
        }

        .btn-confirm-delete:hover {
            background: #dc2626;
            border-color: #dc2626;
        }

/* ============================================================
   MOON AI CONTENT PUSH & VISIBILITY CONTROLS
   ============================================================ */

        /* 2. Moon AI Drawer Push & Content Protection */
        @media (max-width: 1279px) {
            body.moon-drawer-open .content-area,
            .content-area.drawer-pushed {
                margin-right: 0 !important;
            }
        }

        /* Responsive Grid & Card Adaptation When Moon AI Drawer is Open */
        body.moon-drawer-open .analytics-workspace-grid {
            grid-template-columns: repeat(6, 1fr) !important;
            gap: 16px !important;
        }
        body.moon-drawer-open .analytics-module.span-4,
        body.moon-drawer-open .analytics-module.span-5,
        body.moon-drawer-open .analytics-module.span-6,
        body.moon-drawer-open .analytics-module.span-7,
        body.moon-drawer-open .analytics-module.span-8,
        body.moon-drawer-open .analytics-module.span-12 {
            grid-column: span 6 / span 6 !important;
        }

        body.moon-drawer-open .analytics-kpi-grid,
        body.moon-drawer-open .dashboard-metrics-grid,
        body.moon-drawer-open .geo-kpi-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 14px !important;
        }

        body.moon-drawer-open .dashboard-quick-status-strip,
        body.moon-drawer-open .leads-summary-strip {
            flex-wrap: wrap !important;
            gap: 12px !important;
        }
        body.moon-drawer-open .dashboard-quick-status-strip .status-summary-card {
            flex: 1 1 calc(50% - 12px) !important;
            min-width: 180px !important;
        }

        body.moon-drawer-open .geo-bento-row,
        body.moon-drawer-open .analytics-bento-row {
            flex-direction: column !important;
        }
        body.moon-drawer-open .geo-map-panel,
        body.moon-drawer-open .geo-summary-panel {
            flex: 1 1 100% !important;
            width: 100% !important;
            min-width: 0 !important;
        }

        body.moon-drawer-open .config-table-responsive,
        body.moon-drawer-open .table-container,
        body.moon-drawer-open .requests-table-container,
        body.moon-drawer-open .catalogs-table-container,
        body.moon-drawer-open .reviews-table-container,
        body.moon-drawer-open .leads-table-container {
            overflow-x: auto !important;
            width: 100% !important;
        }

        body.moon-drawer-open .dashboard-main-grid {
            grid-template-columns: 1fr !important;
        }

        /* 3. Coğrafi Dağılım Bento Responsiveness */
        @media (max-width: 1100px) {
            .geo-bento-row {
                flex-direction: column !important;
            }
            .geo-map-panel {
                flex: 1 1 100% !important;
                width: 100% !important;
                min-height: 400px !important;
            }
            .geo-summary-panel {
                flex: 1 1 100% !important;
                width: 100% !important;
                min-width: 0 !important;
            }
        }

        /* 4. Drawers Viewport Boundaries */
        .request-drawer-panel,
        #drawer-product-detail .request-drawer-panel,
        #drawer-review-detail .request-drawer-panel,
        #drawer-lead-detail .request-drawer-panel {
            max-width: min(520px, 100vw) !important;
            width: 100% !important;
        }

        @media (max-width: 640px) {
            .request-drawer-panel,
            #drawer-product-detail .request-drawer-panel,
            #drawer-review-detail .request-drawer-panel,
            #drawer-lead-detail .request-drawer-panel,
            .moon-ai-drawer {
                width: 100vw !important;
                max-width: 100vw !important;
            }
        }

        /* 5. Floating Moon AI Trigger FAB Button Visibility */
        body.moon-drawer-open .moon-ai-fab-trigger,
        body.has-active-drawer .moon-ai-fab-trigger,
        .analytics-workspace-rail.is-open ~ #moon-ai-fab,
        .analytics-canvas-wrapper.rail-open ~ #moon-ai-fab,
        .request-drawer-overlay:not([style*="display: none"]):not([style*="display:none"]) ~ #moon-ai-fab {
            opacity: 0 !important;
            pointer-events: none !important;
            transform: scale(0.85) translateX(30px) !important;
        }

        /* 6. Dropdown Viewport Bounds */
        .topbar-lang-dropdown {
            max-width: calc(100vw - 20px) !important;
        }

        /* ============================================================
           MOON AI TAM EKRAN ÇALIŞMA ALANI BİLEŞENLERİ (Full-Page Workspace)
           ============================================================ */
        body.moon-ai-mode .pc-footer {
            display: none !important;
        }

        body.moon-ai-mode .pc-container {
            padding-bottom: 0 !important;
        }

        /* Landing Page Maximize Button Suppression */
        body.landing-page .drawer-header-actions button[onclick*="openFullscreenAiFromDrawer"],
        body:not(.has-moon-ai-workspace) .drawer-header-actions button[onclick*="openFullscreenAiFromDrawer"] {
            display: none !important;
        }

        /* Sidebar Moon AI Item Active State */
        #nav-item-moon-ai.active > .pc-link {
            background: #f5effc !important;
            color: #773DBD !important;
        }

        #nav-item-moon-ai.active > .pc-link .pc-mtext {
            color: #773DBD !important;
            font-weight: 700 !important;
        }

        .moon-ai-workspace-container {
            display: flex;
            height: calc(100vh - 106px);
            background: #ffffff;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid #CBD5E1;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
            position: relative;
        }

        @media (max-width: 991px) {
            .moon-ai-workspace-container {
                height: calc(100vh - 86px);
                flex-direction: row;
                border-radius: 12px;
            }
        }

        /* 1. Sol AI Yan Paneli (Sidebar - Masaüstünde Sabit, Mobilde Offcanvas Çekmece) */
        .ai-workspace-sidebar {
            width: clamp(230px, 18vw, 275px);
            min-width: 220px;
            background: #f8fafc;
            border-right: 1px solid rgba(15, 23, 42, 0.09);
            display: flex;
            flex-direction: column;
            padding: 14px 12px;
            gap: 12px;
            flex-shrink: 0;
            z-index: 20;
            transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
        }

        @media (max-width: 991px) {
            .ai-workspace-sidebar {
                position: absolute;
                top: 0;
                left: 0;
                bottom: 0;
                width: 285px;
                max-width: 85vw;
                height: 100%;
                max-height: 100%;
                background: #ffffff;
                z-index: 1060;
                transform: translateX(-105%);
                box-shadow: none;
                border-right: 1px solid #CBD5E1;
                border-bottom: none;
            }
            .moon-ai-workspace-container.sidebar-open .ai-workspace-sidebar {
                transform: translateX(0);
                box-shadow: 14px 0 36px rgba(15, 23, 42, 0.22);
            }
        }

        /* Mobil Çekmece Karartma Katmanı (Backdrop) */
        .ai-workspace-backdrop {
            display: none;
        }

        @media (max-width: 991px) {
            .ai-workspace-backdrop {
                display: block;
                position: absolute;
                inset: 0;
                background: rgba(15, 23, 42, 0.45);
                backdrop-filter: blur(2px);
                -webkit-backdrop-filter: blur(2px);
                z-index: 1055;
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.25s ease;
            }
            .moon-ai-workspace-container.sidebar-open .ai-workspace-backdrop {
                opacity: 1;
                pointer-events: auto;
            }
        }

        .ai-sidebar-close-btn {
            display: none;
        }

        @media (max-width: 991px) {
            .ai-sidebar-close-btn {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 32px;
                height: 32px;
                border-radius: 8px;
                background: #f8fafc;
                border: 1px solid #cbd5e1;
                color: #64748b;
                cursor: pointer;
                transition: all 0.15s ease;
                flex-shrink: 0;
            }
            .ai-sidebar-close-btn:hover {
                background: #fee2e2;
                color: #ef4444;
                border-color: #fca5a5;
            }
        }

        .ai-new-chat-btn {
            background: #ffffff;
            color: #0f172a;
            border: 1px solid rgba(119, 61, 189, 0.2);
            border-radius: 9px;
            padding: 9px 14px;
            font-size: 13px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 8px;
            cursor: pointer;
            box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
            transition: all 0.15s ease;
            width: 100%;
        }

        .ai-new-chat-btn:hover {
            background: #f5effc;
            border-color: #773DBD;
            color: #773DBD;
            box-shadow: 0 2px 6px rgba(119, 61, 189, 0.12);
            transform: translateY(-1px);
        }

        .ai-new-chat-btn i, .ai-new-chat-btn svg {
            color: #773DBD;
        }

        /* Kayıtlı Analiz Konuları Listesi */
        .ai-sidebar-history-section {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            gap: 4px;
            margin-top: 4px;
        }

        .ai-history-heading {
            font-size: 12px;
            font-weight: 700;
            color: var(--color-body, #172033);
            letter-spacing: -0.01em;
            padding: 4px 2px 2px 2px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .ai-history-divider {
            height: 1px;
            background: rgba(15, 23, 42, 0.08);
            margin: 5px 0 8px 0;
        }

        .ai-history-search-wrap {
            position: relative;
            margin: 4px 0 6px 0;
        }

        .history-search-icon {
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            width: 13px;
            height: 13px;
            color: #64748b;
            pointer-events: none;
        }

        .history-search-input {
            width: 100%;
            padding: 6px 8px 6px 26px;
            font-size: 11.5px;
            font-weight: 500;
            border: 1px solid #cbd5e1;
            border-radius: 7px;
            background: #ffffff;
            color: #172033;
            outline: none;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
            transition: all 0.15s ease;
        }

        .history-search-input:focus {
            border-color: #773DBD;
            box-shadow: 0 0 0 2px rgba(119, 61, 189, 0.12);
        }

        .ai-history-list {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .ai-thread-item {
            position: relative;
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 8px 10px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.15s ease;
            color: #172033;
            background: transparent;
            border: 1px solid transparent;
        }

        .ai-thread-item:hover {
            background: #f5effc;
            border-color: rgba(119, 61, 189, 0.12);
            color: #773DBD;
        }

        .ai-thread-item:hover .thread-icon {
            color: #773DBD;
        }

        .ai-thread-item.active {
            background: #f5effc;
            color: #773DBD;
            border: 1px solid rgba(119, 61, 189, 0.2);
            border-radius: 8px;
            box-shadow: 0 1px 3px rgba(119, 61, 189, 0.08);
            position: relative;
        }

        .ai-thread-item.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 7px;
            bottom: 7px;
            width: 3px;
            background: #773DBD;
            border-radius: 0 3px 3px 0;
        }

        .ai-thread-item.active .thread-icon {
            color: #773DBD;
        }

        .ai-thread-item.active .thread-title {
            color: #773DBD;
            font-weight: 650;
        }

        .ai-thread-item.pinned:not(.active)::before {
            content: '';
            position: absolute;
            left: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 2.5px;
            height: 14px;
            background-color: #773DBD;
            border-radius: 3px;
            opacity: 0.85;
        }

        .thread-icon {
            width: 14px;
            height: 14px;
            color: #64748b;
            flex-shrink: 0;
            transition: color 0.15s ease;
        }

        .thread-info {
            display: flex;
            flex-direction: column;
            overflow: hidden;
            min-width: 0;
            flex: 1;
        }

        .thread-title {
            font-size: 13px;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.35;
            color: #172033;
        }

        .thread-meta {
            font-size: 11px;
            color: #64748b;
            margin-top: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .thread-actions {
            display: flex;
            align-items: center;
            gap: 2px;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.15s ease;
            flex-shrink: 0;
        }

        .ai-thread-item:hover .thread-actions {
            opacity: 1;
            pointer-events: auto;
        }

        .thread-act-btn {
            background: transparent;
            border: none;
            padding: 3px;
            border-radius: 4px;
            color: #64748b;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: all 0.12s ease;
        }

        .thread-act-btn:hover {
            background: #e2e8f0;
            color: #111D2E;
        }

        .thread-act-btn.delete:hover {
            background: #fee2e2;
            color: #ef4444;
        }

        .ai-sidebar-footer {
            border-top: 1px solid rgba(15, 23, 42, 0.08);
            padding-top: 10px;
        }

        .ai-token-pill {
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.08);
            border-radius: 8px;
            padding: 8px 10px;
            box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
            cursor: pointer;
            transition: all 0.15s ease;
        }

        .ai-token-pill:hover {
            border-color: #773DBD;
            box-shadow: 0 2px 5px rgba(119, 61, 189, 0.1);
        }

        /* 2. Ana AI Çalışma Alanı */
        .ai-workspace-main {
            flex: 1;
            display: flex;
            flex-direction: column;
            background: #ffffff;
            min-width: 0;
            overflow: hidden;
        }

        .ai-main-header {
            padding: 10px 18px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            gap: 12px;
            z-index: 10;
        }

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

        .ai-brand-badge {
            background: #ffffff;
            border: 1px solid rgba(119, 61, 189, 0.18);
            border-radius: 20px;
            padding: 5px 12px;
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-size: 13px;
            font-weight: 500;
            color: #773DBD;
            box-shadow: 0 1px 2px rgba(119, 61, 189, 0.06);
            letter-spacing: -0.01em;
            user-select: none;
        }

        .ai-brand-badge .model-badge-icon {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #f5effc;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #773DBD;
        }

        .ai-model-status-dot {
            display: none !important;
        }

        .ai-header-slash {
            color: #cbd5e1;
            font-size: 14px;
            font-weight: 300;
            user-select: none;
            margin: 0 2px;
        }

        .ai-header-dropdown-wrap {
            position: relative;
            display: inline-flex;
            align-items: center;
        }

        .ai-hdr-dropdown-trigger {
            background: #f8fafc;
            border: 1px solid #CBD5E1;
            border-radius: 8px;
            padding: 5px 11px;
            font-size: 12px;
            font-weight: 500;
            color: #334155;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            transition: all 0.15s ease;
        }

        .ai-hdr-dropdown-trigger:hover {
            background: #f5effc;
            color: #773DBD;
            border-color: #773DBD;
        }

        .ai-hdr-scope-label {
            font-size: 11px;
            font-weight: 500;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        .ai-hdr-scope-val {
            font-weight: 600;
            color: #111D2E;
            font-size: 12px;
        }

        .ai-hdr-dropdown-menu {
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            min-width: 270px;
            background: #ffffff;
            border: 1px solid #CBD5E1;
            border-radius: 12px;
            box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
            padding: 6px;
            z-index: 1050;
            animation: messageFadeIn 0.15s ease;
        }

        .ai-hdr-dropdown-heading {
            font-size: 10px;
            font-weight: 600;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 6px 10px 4px 10px;
        }

        .ai-hdr-dropdown-menu.right-aligned {
            left: auto;
            right: 0;
            min-width: 220px;
        }

        .ai-hdr-dropdown-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            padding: 7px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 500;
            color: #334155;
            cursor: pointer;
            transition: all 0.12s ease;
        }

        .ai-hdr-dropdown-item:hover {
            background: #f5effc;
            color: #773DBD;
        }

        .ai-hdr-dropdown-item.active {
            background: #f5effc;
            color: #773DBD;
            font-weight: 600;
        }

        .ai-hdr-dropdown-item.danger {
            color: #ef4444;
        }

        .ai-hdr-dropdown-item.danger:hover {
            background: #fef2f2;
            color: #dc2626;
        }

        .ai-hdr-dropdown-divider {
            height: 1px;
            background: #f1f5f9;
            margin: 4px 0;
        }

        .ai-header-right {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ai-hdr-btn {
            background: #f8fafc;
            border: 1px solid #CBD5E1;
            border-radius: 7px;
            padding: 6px 10px;
            font-size: 11.5px;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.15s;
        }

        .ai-hdr-btn:hover {
            background: #f5effc;
            color: #773DBD;
            border-color: #773DBD;
        }

        .ai-hdr-btn.ai-hdr-more-btn {
            padding: 6px 8px;
        }

        /* Chat Akışı */
        .ai-main-feed {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 24px clamp(16px, 3vw, 48px) 16px clamp(16px, 3vw, 48px);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
            scroll-behavior: smooth;
        }

        .ai-main-feed .chat-avatar {
            display: none !important;
        }

        .ai-main-feed .chat-message-row {
            max-width: var(--ai-conversation-width);
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            box-sizing: border-box;
        }

        .ai-main-feed .chat-message-row:last-child {
            margin-bottom: 8px !important;
        }

        .ai-main-feed .chat-message-row.assistant {
            max-width: var(--ai-conversation-width);
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            align-self: center;
            margin-bottom: 0;
        }

        .ai-main-feed .chat-message-row.assistant .chat-bubble {
            max-width: 100%;
            width: 100%;
        }

        .ai-main-feed .chat-message-row.user {
            max-width: var(--ai-conversation-width);
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 14px;
            align-self: center !important;
            display: flex !important;
            flex-direction: row !important;
            justify-content: flex-end !important;
        }

        .ai-main-feed .chat-message-row.user .chat-bubble {
            margin-left: auto !important;
            margin-right: 0 !important;
            align-self: flex-end !important;
            background-color: #f4f4f4;
            color: #0d0d0d;
            border-radius: 18px 18px 4px 18px;
            max-width: 75%;
            text-align: left;
        }

        .ai-main-feed .chat-message-row.user:not(:first-child) {
            margin-top: 24px;
        }

        .ai-main-feed .chat-welcome-box {
            max-width: var(--ai-conversation-width);
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            align-self: center;
            text-align: left;
        }

        /* Alt Prompt Giriş Alanı */
        .ai-main-input-area {
            padding: 16px clamp(16px, 3vw, 48px) 20px clamp(16px, 3vw, 48px);
            background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 28%, #ffffff 100%);
            border-top: none;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .ai-prompt-input-card {
            background: #ffffff;
            border: 1px solid rgba(119, 61, 189, 0.2);
            border-radius: 18px;
            box-shadow: 0 8px 24px -4px rgba(119, 61, 189, 0.08), 0 2px 6px -2px rgba(119, 61, 189, 0.04);
            padding: 14px 18px 12px 18px;
            max-width: var(--ai-conversation-width);
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
        }

        .ai-prompt-input-card:focus-within {
            border-color: #773DBD;
            box-shadow: 0 0 0 3.5px rgba(119, 61, 189, 0.12), 
                        0 0 24px -2px rgba(119, 61, 189, 0.16), 
                        0 18px 48px -8px rgba(119, 61, 189, 0.18);
            transform: translateY(-1.5px);
        }

        .prompt-input-top-row {
            margin-bottom: 8px;
            width: 100%;
        }

        .ai-workspace-textarea {
            width: 100%;
            border: none;
            outline: none;
            resize: none;
            font-size: 14.5px;
            color: #111D2E;
            background: transparent;
            font-family: inherit;
            line-height: 1.5;
            min-height: 44px;
            max-height: 150px;
            padding: 4px 0 6px 0;
            box-sizing: border-box;
            transition: height 0.18s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .ai-workspace-textarea::placeholder {
            color: #94a3b8;
            font-weight: 400;
        }

        .prompt-input-actions-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 6px;
            border-top: none;
            gap: 12px;
            flex-wrap: wrap;
        }

        .prompt-input-left-tools {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

        .prompt-input-right-tools {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ai-workspace-send-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: linear-gradient(135deg, #773DBD 0%, #8e4fd6 100%);
            color: #ffffff;
            border: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(119, 61, 189, 0.3);
            transition: all 0.2s ease;
        }

        .ai-workspace-send-btn:hover {
            transform: scale(1.06);
            box-shadow: 0 4px 14px rgba(119, 61, 189, 0.45);
        }

        .ai-input-legal-note {
            font-size: 11.5px;
            color: #94a3b8;
            margin-top: 8px;
            text-align: center;
        }

        /* 3. OpenAI Canvas / Artifacts Split-Screen */
        .ai-workspace-canvas {
            width: 0;
            min-width: 0;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            background: #ffffff;
            border-left: 1px solid #CBD5E1;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        .moon-ai-workspace-container.canvas-open .ai-workspace-canvas {
            width: clamp(340px, 35vw, 500px);
            min-width: 300px;
            max-width: 500px;
            opacity: 1;
            pointer-events: auto;
        }

        .canvas-header {
            padding: 12px 16px;
            border-bottom: 1px solid #CBD5E1;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f8fafc;
        }

        .canvas-title-wrap {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12.5px;
            font-weight: 700;
            color: #111D2E;
        }

        .canvas-header-actions {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .canvas-action-btn {
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 4px 8px;
            font-size: 11px;
            font-weight: 600;
            color: #334155;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 4px;
            transition: all 0.15s ease;
        }

        .canvas-action-btn:hover {
            background: #f5effc;
            color: #773DBD;
            border-color: #773DBD;
        }

        .canvas-action-btn.close-btn:hover {
            background: #fee2e2;
            color: #ef4444;
            border-color: #fca5a5;
        }

        .canvas-body {
            flex: 1;
            overflow-y: auto;
            padding: 24px;
            background: #ffffff;
        }

        /* ==========================================================
           MOON AI ÇALIŞMA ALANI - MOBİL & DUYARLI EKRAN GELİŞTİRMELERİ
           ========================================================== */
        .ai-mobile-sidebar-toggle {
            display: none !important;
        }

        @media (max-width: 991px) {
            .ai-mobile-sidebar-toggle {
                display: inline-flex !important;
                background: #f8fafc;
                border: 1px solid #CBD5E1;
                border-radius: 7px;
                padding: 6px 10px;
                font-size: 11.5px;
                font-weight: 600;
                color: #475569;
                cursor: pointer;
                align-items: center;
                gap: 5px;
            }
            .ai-mobile-sidebar-toggle:hover {
                background: #f5effc;
                color: #773DBD;
                border-color: #773DBD;
            }
        }

        @media (max-width: 768px) {
            #view-moon-ai {
                padding: 10px 10px 14px 10px !important;
            }
            .ai-main-header {
                padding: 8px 12px;
                gap: 8px;
            }
            .ai-header-left {
                gap: 6px;
                flex: 1;
                min-width: 0;
            }
            .ai-header-slash {
                display: none;
            }
            .ai-hdr-scope-label {
                display: none !important;
            }
            .ai-hdr-scope-val {
                max-width: 120px;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .ai-header-right {
                gap: 6px;
                flex-shrink: 0;
            }
            .ai-hdr-btn {
                padding: 6px 9px;
            }

            /* Alt Prompt Çubuğu Mobilde Tek Satır Yatay Kaydırma */
            .ai-main-input-area {
                padding: 10px 12px 14px 12px;
            }
            .prompt-input-actions-row {
                flex-direction: column;
                align-items: stretch;
                gap: 8px;
            }
            .prompt-input-left-tools {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                overflow-y: hidden;
                overscroll-behavior-x: contain;
                overscroll-behavior-y: auto;
                touch-action: pan-x pan-y;
                gap: 6px;
                padding-bottom: 3px;
                width: 100%;
                scrollbar-width: none;
            }
            .prompt-input-left-tools::-webkit-scrollbar {
                display: none;
            }
            .prompt-hero-chip, .prompt-hero-tool-btn {
                flex-shrink: 0;
                white-space: nowrap;
            }
            .prompt-input-right-tools {
                display: flex;
                justify-content: flex-end;
                align-items: center;
                gap: 8px;
                width: 100%;
            }
            .prompt-input-right-tools .token-cost-pill {
                margin-right: auto;
            }
        }

        @media (max-width: 576px) {
            .ai-brand-badge {
                padding: 4px 8px;
                font-size: 11.5px;
            }
            .ai-hdr-btn span {
                display: none;
            }
            .ai-mobile-sidebar-toggle span {
                display: inline;
            }
            .ai-main-feed {
                padding: 16px 12px 12px 12px;
            }
        }

        /* Tam Sayfa Moon AI Aktifken Yüzen Launcher Butonunu Gizle */
        body.page-moon-ai-active .moon-ai-fab-trigger,
        body.page-moon-ai-active .moon-ai-launcher-btn,
        body.page-moon-ai-active .moon-ai-drawer-wrap {
            display: none !important;
        }

        /* 2K ve 4K Geniş Ekran Konteyner Dengesi */
        @media (min-width: 2560px) {
            :root {
                --ai-conversation-width: 1120px;
            }
            .ai-prompt-input-card {
                max-width: var(--ai-conversation-width);
            }
        }