/* ============================================================
   ACENTE PANELİ — KOYU TEMA (dark-theme.css)
   ------------------------------------------------------------
   Katman 1: Tema sözleşmesi (semantik tokenlar — açık + koyu)
   Katman 2: Nötr skala remap (app.css --slate-* / --gray-*)
   Katman 3: Bootstrap 5.3 ince ayar
   Katman 4: Panel iskeleti (sidebar, header, kart, tablo, form)
   Katman 5: 3. parti (Quill, FullCalendar)
   Katman 6: Inline style="" attribute yakalayıcıları
   Katman 7: Otomatik üretilmiş modül override'ları (dosya sonu)
   ------------------------------------------------------------
   TÜM koyu kurallar [data-theme="dark"] ile başlar; açık temaya
   hiçbir etkisi yoktur. Tema anahtarı: <html data-theme="dark"
   data-bs-theme="dark"> + localStorage('theme').
   ============================================================ */

/* ── Katman 1: Tema sözleşmesi ──
   Diğer modüller yeni stil yazarken bu tokenları kullanırsa
   iki temada da otomatik doğru görünür. */
:root {
    color-scheme: light;
    --bg-page: #f8fafc;      /* sayfa zemini */
    --bg-card: #ffffff;      /* kart / panel yüzeyi */
    --bg-inset: #f8fafc;     /* kart içi kuyu (tablo başlığı, well) */
    --bg-hover: #f1f5f9;     /* hover satır/yüzey */
    --bg-raise: #e2e8f0;     /* bir kademe kalkık yüzey */
    --bg-elevated: #ffffff;  /* dropdown, modal, popover */
    --border-1: #e2e8f0;     /* ana çizgi */
    --border-2: #f1f5f9;     /* ince çizgi */
    --text-1: #0f172a;       /* başlık / birincil metin */
    --text-2: #334155;       /* gövde metni */
    --text-3: #64748b;       /* ikincil / soluk metin */
}

[data-theme="dark"] {
    color-scheme: dark;
    --bg-page: #0b1220;
    --bg-card: #111a2c;
    --bg-inset: #0d1526;
    --bg-hover: #182338;
    --bg-raise: #243350;
    --bg-elevated: #16213a;
    --border-1: #243350;
    --border-2: #1b2740;
    --text-1: #e8eef8;
    --text-2: #c3cede;
    --text-3: #94a3b8;
}

/* ── Katman 2: Nötr skala remap ──
   app.css ve sayfa stilleri var(--slate-*) / var(--gray-*) kullanır;
   skalayı ters çevirmek arayüzün büyük bölümünü otomatik koyulaştırır. */
[data-theme="dark"] {
    --slate-50: #0d1526;  --gray-50: #0d1526;
    --slate-100: #182338; --gray-100: #182338;
    --slate-200: #243350; --gray-200: #243350;
    --slate-300: #33445f; --gray-300: #33445f;
    --slate-400: #7d8da6; --gray-400: #7d8da6;
    --slate-500: #93a3bb; --gray-500: #93a3bb;
    --slate-600: #b3c0d4; --gray-600: #b3c0d4;
    --slate-700: #c9d4e4; --gray-700: #c9d4e4;
    --slate-800: #dde5f0; --gray-800: #dde5f0;
    --slate-900: #eef2f9; --gray-900: #eef2f9;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.35);
    --shadow-md: 0 4px 10px -2px rgb(0 0 0 / 0.45);
    --shadow-lg: 0 10px 20px -5px rgb(0 0 0 / 0.55);
    --shadow-xl: 0 20px 30px -8px rgb(0 0 0 / 0.6);
}

/* ── Katman 3: Bootstrap 5.3 ince ayar (data-bs-theme="dark" üstüne) ── */
[data-theme="dark"] {
    --bs-body-bg: var(--bg-page);
    --bs-body-color: var(--text-2);
    --bs-emphasis-color: var(--text-1);
    --bs-secondary-color: var(--text-3);
    --bs-tertiary-color: #7d8da6;
    --bs-secondary-bg: var(--bg-hover);
    --bs-tertiary-bg: var(--bg-inset);
    --bs-border-color: var(--border-1);
    --bs-border-color-translucent: rgba(148, 163, 184, .16);
    --bs-heading-color: var(--text-1);
    --bs-link-color: #60a5fa;
    --bs-link-hover-color: #93c5fd;
}

[data-theme="dark"] .card {
    --bs-card-bg: var(--bg-card);
    --bs-card-border-color: var(--border-1);
    --bs-card-cap-bg: var(--bg-card);
    color: var(--text-2);
}
[data-theme="dark"] .card-header { background: var(--bg-card); border-bottom-color: var(--border-1); }
[data-theme="dark"] .card-body { background: var(--bg-card); }
[data-theme="dark"] .card-footer { background: var(--bg-card); border-top-color: var(--border-1); }

[data-theme="dark"] .modal-content {
    --bs-modal-bg: var(--bg-elevated);
    --bs-modal-border-color: var(--border-1);
    --bs-modal-header-border-color: var(--border-1);
    --bs-modal-footer-border-color: var(--border-1);
    background: var(--bg-elevated);
    color: var(--text-2);
}
[data-theme="dark"] .modal-header, [data-theme="dark"] .modal-footer { border-color: var(--border-1); }

[data-theme="dark"] .dropdown-menu {
    --bs-dropdown-bg: var(--bg-elevated);
    --bs-dropdown-border-color: var(--border-1);
    --bs-dropdown-color: var(--text-2);
    --bs-dropdown-link-color: var(--text-2);
    --bs-dropdown-link-hover-color: var(--text-1);
    --bs-dropdown-link-hover-bg: var(--bg-hover);
    --bs-dropdown-link-active-bg: rgba(59, 130, 246, .2);
    --bs-dropdown-divider-bg: var(--border-1);
    --bs-dropdown-header-color: var(--text-3);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-2);
    --bs-table-border-color: var(--border-1);
    --bs-table-striped-bg: rgba(148, 163, 184, .05);
    --bs-table-striped-color: var(--text-2);
    --bs-table-hover-bg: var(--bg-hover);
    --bs-table-hover-color: var(--text-1);
    color: var(--text-2);
}
[data-theme="dark"] .table thead th {
    background: var(--bg-inset);
    color: var(--text-3);
    border-bottom-color: var(--border-1);
}
[data-theme="dark"] .table td, [data-theme="dark"] .table th { border-color: var(--border-2); }
[data-theme="dark"] .table tbody tr:hover { background: var(--bg-hover); }
[data-theme="dark"] .table-light { --bs-table-bg: var(--bg-inset); --bs-table-color: var(--text-2); }

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background-color: var(--bg-inset);
    border-color: var(--border-1);
    color: var(--text-1);
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background-color: var(--bg-card);
    border-color: #3b82f6;
    color: var(--text-1);
    box-shadow: 0 0 0 .25rem rgba(59, 130, 246, .2);
}
[data-theme="dark"] .form-control::placeholder { color: #7d8da6; }
[data-theme="dark"] .form-control:disabled,
[data-theme="dark"] .form-control[readonly],
[data-theme="dark"] .form-select:disabled {
    background-color: var(--bg-hover);
    color: var(--text-3);
    opacity: 1;
}
[data-theme="dark"] .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}
[data-theme="dark"] .input-group-text {
    background: var(--bg-hover);
    border-color: var(--border-1);
    color: var(--text-3);
}
[data-theme="dark"] .form-check-input { background-color: var(--bg-inset); border-color: #33445f; }
[data-theme="dark"] .form-check-input:checked { background-color: #2563eb; border-color: #2563eb; }
[data-theme="dark"] .form-text { color: var(--text-3); }
[data-theme="dark"] .form-label, [data-theme="dark"] label { color: var(--text-2); }

[data-theme="dark"] .list-group {
    --bs-list-group-bg: var(--bg-card);
    --bs-list-group-color: var(--text-2);
    --bs-list-group-border-color: var(--border-1);
    --bs-list-group-action-hover-bg: var(--bg-hover);
    --bs-list-group-action-hover-color: var(--text-1);
}

[data-theme="dark"] .btn-light,
[data-theme="dark"] .btn-white {
    background: var(--bg-hover);
    border-color: var(--border-1);
    color: var(--text-2);
}
[data-theme="dark"] .btn-light:hover,
[data-theme="dark"] .btn-light:focus,
[data-theme="dark"] .btn-white:hover {
    background: var(--bg-raise);
    border-color: #33445f;
    color: var(--text-1);
}
[data-theme="dark"] .btn-outline-secondary { color: var(--text-3); border-color: #33445f; }
[data-theme="dark"] .btn-outline-secondary:hover { background: var(--bg-hover); color: var(--text-1); border-color: #46597a; }
[data-theme="dark"] .btn-outline-dark { color: var(--text-2); border-color: #46597a; }
[data-theme="dark"] .btn-outline-dark:hover { background: var(--bg-raise); color: var(--text-1); border-color: #5b7194; }

[data-theme="dark"] .pagination {
    --bs-pagination-bg: var(--bg-card);
    --bs-pagination-color: var(--text-2);
    --bs-pagination-border-color: var(--border-1);
    --bs-pagination-hover-bg: var(--bg-hover);
    --bs-pagination-hover-color: var(--text-1);
    --bs-pagination-hover-border-color: var(--border-1);
    --bs-pagination-focus-bg: var(--bg-hover);
    --bs-pagination-focus-color: var(--text-1);
    --bs-pagination-disabled-bg: var(--bg-inset);
    --bs-pagination-disabled-color: #5b7194;
    --bs-pagination-disabled-border-color: var(--border-2);
}

[data-theme="dark"] .alert-success { color: #6ee7b7; border-color: rgba(16, 185, 129, .3); }
[data-theme="dark"] .alert-danger { color: #fca5a5; border-color: rgba(239, 68, 68, .3); }
[data-theme="dark"] .alert-warning { color: #fcd34d; border-color: rgba(245, 158, 11, .3); }
[data-theme="dark"] .alert-info { background: rgba(6, 182, 212, .1); color: #67e8f9; border-color: rgba(6, 182, 212, .3); }

[data-theme="dark"] .tooltip { --bs-tooltip-bg: #33445f; --bs-tooltip-color: #eef2f9; }
[data-theme="dark"] .popover {
    --bs-popover-bg: var(--bg-elevated);
    --bs-popover-border-color: var(--border-1);
    --bs-popover-body-color: var(--text-2);
    --bs-popover-header-bg: var(--bg-hover);
    --bs-popover-header-color: var(--text-1);
}
[data-theme="dark"] .offcanvas { background: var(--bg-elevated); color: var(--text-2); }
[data-theme="dark"] .breadcrumb-item + .breadcrumb-item::before { color: var(--text-3); }
[data-theme="dark"] .progress { background: var(--bg-hover); }

/* Bootstrap yardımcı sınıfları */
[data-theme="dark"] .bg-white { background-color: var(--bg-card) !important; }
[data-theme="dark"] .bg-light { background-color: var(--bg-hover) !important; }
[data-theme="dark"] .text-dark { color: var(--text-1) !important; }
[data-theme="dark"] .text-black { color: var(--text-1) !important; }
[data-theme="dark"] .text-body { color: var(--text-2) !important; }
[data-theme="dark"] .text-secondary { color: var(--text-3) !important; }
[data-theme="dark"] .text-muted { color: var(--text-3) !important; }
[data-theme="dark"] .border,
[data-theme="dark"] .border-top,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-start,
[data-theme="dark"] .border-end { border-color: var(--border-1) !important; }
[data-theme="dark"] .shadow-sm { box-shadow: var(--shadow-sm) !important; }
[data-theme="dark"] .shadow { box-shadow: var(--shadow-md) !important; }
[data-theme="dark"] .shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* ── Katman 4: Panel iskeleti ── */
[data-theme="dark"] body.agency-layout {
    background-color: var(--bg-page);
    color: var(--text-2);
}

[data-theme="dark"] .agency-sidebar {
    background: var(--bg-card);
    border-right-color: var(--border-2);
    box-shadow: 4px 0 12px rgba(0, 0, 0, .25);
}
[data-theme="dark"] .sidebar-header { border-bottom-color: var(--border-2); }
[data-theme="dark"] .sidebar-footer { border-top-color: var(--border-2); }
[data-theme="dark"] .sidebar-collapse-btn:hover { background: var(--bg-hover); }
[data-theme="dark"] .logo-title { color: var(--text-1); }
[data-theme="dark"] .user-avatar { border-color: var(--border-1); }
[data-theme="dark"] .status-badge { border-color: var(--bg-card); }
[data-theme="dark"] .nav-notification-dot { border-color: var(--bg-card); }
[data-theme="dark"] .nav-link.active { background: rgba(96, 165, 250, .12); }
[data-theme="dark"] .nav-link:hover { background: var(--bg-hover); color: #93c5fd; }
[data-theme="dark"] .dropdown-link:hover, [data-theme="dark"] .dropdown-link.active { color: #93c5fd; background: var(--bg-hover); }

[data-theme="dark"] .main-header {
    background: rgba(17, 26, 44, .92);
    border-bottom-color: var(--border-1);
}
[data-theme="dark"] .page-title h4 { color: var(--text-1); }
[data-theme="dark"] .mobile-sidebar-toggle { background: var(--bg-hover); color: var(--text-2); }
[data-theme="dark"] .mobile-sidebar-toggle:hover { background: var(--bg-raise); }

/* Dashboard karşılama kartı: açık temada siyah metin, koyu temada zeminle
   aynı tona düşüp okunmaz oluyordu. opacity-75 de alt satırı fazla soluklaştırıyor. */
[data-theme="dark"] .dash-hero-title { color: var(--text-1); }
[data-theme="dark"] .dash-hero-sub { color: var(--text-2); opacity: 1; }

[data-theme="dark"] .stats-card { background: var(--bg-card); border-color: var(--border-1); }
[data-theme="dark"] .stats-card:hover { box-shadow: var(--shadow-lg); }
[data-theme="dark"] .notification-item { border-bottom-color: var(--border-2); }

/* Quill sarmalayıcı (layout içi .rte-*) */
[data-theme="dark"] .rte-wrap { background: var(--bg-inset); border-color: var(--border-1); }
[data-theme="dark"] .rte-wrap .ql-toolbar.ql-snow { background: var(--bg-hover); border-bottom-color: var(--border-1); }
[data-theme="dark"] .rte-content { color: var(--text-2); }

/* Kademeli ödeme sıra uyarı notu (app.css) */
[data-theme="dark"] .pp-order-note {
    background: rgba(245, 158, 11, .1);
    border-color: rgba(245, 158, 11, .3);
    border-left-color: #f59e0b;
    color: #fcd34d;
}

/* Metin seçimi + odak görünürlüğü */
[data-theme="dark"] ::selection { background: rgba(59, 130, 246, .45); color: #eef2f9; }
[data-theme="dark"] :focus-visible { outline-color: #60a5fa; }

/* ── Katman 5: 3. parti bileşenler ── */
/* Quill Snow */
[data-theme="dark"] .ql-toolbar.ql-snow, [data-theme="dark"] .ql-container.ql-snow { border-color: var(--border-1); }
[data-theme="dark"] .ql-snow .ql-stroke { stroke: #b3c0d4; }
[data-theme="dark"] .ql-snow .ql-fill { fill: #b3c0d4; }
[data-theme="dark"] .ql-snow .ql-picker { color: var(--text-2); }
[data-theme="dark"] .ql-snow .ql-picker-options { background: var(--bg-elevated); border-color: var(--border-1) !important; }
[data-theme="dark"] .ql-snow.ql-toolbar button:hover .ql-stroke,
[data-theme="dark"] .ql-snow.ql-toolbar button.ql-active .ql-stroke { stroke: #60a5fa; }
[data-theme="dark"] .ql-snow.ql-toolbar button:hover .ql-fill,
[data-theme="dark"] .ql-snow.ql-toolbar button.ql-active .ql-fill { fill: #60a5fa; }
[data-theme="dark"] .ql-editor { color: var(--text-1); }
[data-theme="dark"] .ql-editor.ql-blank::before { color: #7d8da6; }

/* FullCalendar */
[data-theme="dark"] .fc {
    --fc-border-color: var(--border-1);
    --fc-page-bg-color: transparent;
    --fc-neutral-bg-color: var(--bg-hover);
    --fc-list-event-hover-bg-color: var(--bg-hover);
    --fc-today-bg-color: rgba(245, 158, 11, .09);
    --fc-highlight-color: rgba(59, 130, 246, .18);
    --fc-non-business-color: rgba(13, 21, 38, .5);
}
[data-theme="dark"] .fc .fc-toolbar-title { color: var(--text-1); }
[data-theme="dark"] .fc .fc-col-header-cell-cushion,
[data-theme="dark"] .fc .fc-daygrid-day-number { color: var(--text-2); }
[data-theme="dark"] .fc .fc-list-day-cushion { background: var(--bg-inset); }
[data-theme="dark"] .fc-theme-standard .fc-list { border-color: var(--border-1); }

/* Toastr */
[data-theme="dark"] #toast-container > div { box-shadow: var(--shadow-lg); }

/* ── Katman 6: Inline style="" yakalayıcıları ──
   Blade dosyalarında elementin üzerine yazılmış açık tema renkleri.
   Önce genel kural, ardından yanlış eşleşen amber/kırmızı tonlar
   doğru koyu tonlarına geri düzeltilir (kaynak sıralı kaskad). */
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background-color:#fff"],
[data-theme="dark"] [style*="background-color: #fff"],
[data-theme="dark"] [style*="background:white"],
[data-theme="dark"] [style*="background: white"] { background-color: var(--bg-card) !important; }

[data-theme="dark"] [style*="background:#f8fafc"],
[data-theme="dark"] [style*="background: #f8fafc"],
[data-theme="dark"] [style*="background-color:#f8fafc"],
[data-theme="dark"] [style*="background:#fafbff"],
[data-theme="dark"] [style*="background:#fcfdfe"],
[data-theme="dark"] [style*="background:#fbfcfe"] { background-color: var(--bg-inset) !important; }

[data-theme="dark"] [style*="background:#f1f5f9"],
[data-theme="dark"] [style*="background: #f1f5f9"],
[data-theme="dark"] [style*="background-color:#f1f5f9"] { background-color: var(--bg-hover) !important; }

/* #fff ile başlayan açık tonların geri düzeltmeleri */
[data-theme="dark"] [style*="background:#fffbeb"],
[data-theme="dark"] [style*="background: #fffbeb"] { background-color: rgba(245, 158, 11, .1) !important; }
[data-theme="dark"] [style*="background:#fff7ed"] { background-color: rgba(249, 115, 22, .1) !important; }
[data-theme="dark"] [style*="background:#fff1f2"] { background-color: rgba(244, 63, 94, .1) !important; }
[data-theme="dark"] [style*="background:#fff5f5"] { background-color: rgba(239, 68, 68, .08) !important; }
[data-theme="dark"] [style*="background:#fffdf5"] { background-color: rgba(245, 158, 11, .05) !important; }

/* Sık kullanılan açık ton chip/rozet zeminleri */
[data-theme="dark"] [style*="background:#eef2ff"], [data-theme="dark"] [style*="background: #eef2ff"] { background-color: rgba(99, 102, 241, .13) !important; }
[data-theme="dark"] [style*="background:#eff6ff"], [data-theme="dark"] [style*="background: #eff6ff"] { background-color: rgba(59, 130, 246, .12) !important; }
[data-theme="dark"] [style*="background:#f0f9ff"] { background-color: rgba(14, 165, 233, .1) !important; }
[data-theme="dark"] [style*="background:#ecfdf5"], [data-theme="dark"] [style*="background: #ecfdf5"] { background-color: rgba(16, 185, 129, .1) !important; }
[data-theme="dark"] [style*="background:#f0fdf4"] { background-color: rgba(34, 197, 94, .1) !important; }
[data-theme="dark"] [style*="background:#d1fae5"] { background-color: rgba(16, 185, 129, .18) !important; }
[data-theme="dark"] [style*="background:#dcfce7"] { background-color: rgba(34, 197, 94, .17) !important; }
[data-theme="dark"] [style*="background:#fee2e2"] { background-color: rgba(239, 68, 68, .17) !important; }
[data-theme="dark"] [style*="background:#fef2f2"] { background-color: rgba(239, 68, 68, .1) !important; }
[data-theme="dark"] [style*="background:#fef3c7"] { background-color: rgba(245, 158, 11, .18) !important; }
[data-theme="dark"] [style*="background:#ede9fe"] { background-color: rgba(139, 92, 246, .18) !important; }
[data-theme="dark"] [style*="background:#f5f3ff"] { background-color: rgba(139, 92, 246, .11) !important; }
[data-theme="dark"] [style*="background:#fce7f3"] { background-color: rgba(236, 72, 153, .17) !important; }
[data-theme="dark"] [style*="background:#e0f2fe"] { background-color: rgba(14, 165, 233, .17) !important; }
[data-theme="dark"] [style*="background:#dbeafe"] { background-color: rgba(59, 130, 246, .2) !important; }
[data-theme="dark"] [style*="background:#e0e7ff"] { background-color: rgba(99, 102, 241, .21) !important; }

/* Inline metin renkleri */
[data-theme="dark"] [style*="color:#0f172a"], [data-theme="dark"] [style*="color: #0f172a"],
[data-theme="dark"] [style*="color:#1e293b"], [data-theme="dark"] [style*="color: #1e293b"] { color: var(--text-1) !important; }
[data-theme="dark"] [style*="color:#334155"], [data-theme="dark"] [style*="color: #334155"],
[data-theme="dark"] [style*="color:#475569"], [data-theme="dark"] [style*="color: #475569"] { color: var(--text-2) !important; }
[data-theme="dark"] [style*="color:#64748b"], [data-theme="dark"] [style*="color: #64748b"] { color: var(--text-3) !important; }

/* Inline çizgiler */
[data-theme="dark"] [style*="border:1px solid #e2e8f0"],
[data-theme="dark"] [style*="border: 1px solid #e2e8f0"],
[data-theme="dark"] [style*="border:1.5px solid #e2e8f0"] { border-color: var(--border-1) !important; }
[data-theme="dark"] [style*="border-bottom:1px solid #e2e8f0"],
[data-theme="dark"] [style*="border-bottom: 1px solid #e2e8f0"] { border-bottom-color: var(--border-1) !important; }
[data-theme="dark"] [style*="border-top:1px solid #e2e8f0"],
[data-theme="dark"] [style*="border-top: 1px solid #e2e8f0"] { border-top-color: var(--border-1) !important; }
[data-theme="dark"] [style*="border:1px solid #f1f5f9"],
[data-theme="dark"] [style*="border: 1px solid #f1f5f9"] { border-color: var(--border-2) !important; }
[data-theme="dark"] [style*="border:1px dashed #cbd5e1"],
[data-theme="dark"] [style*="border: 1px dashed #cbd5e1"],
[data-theme="dark"] [style*="border:2px dashed #cbd5e1"] { border-color: #33445f !important; }

/* Tema geçişi (profil dropdown öğesi) */
.theme-toggle-btn .fa-sun { display: none; }
[data-theme="dark"] .theme-toggle-btn .fa-sun { display: inline-block; }
[data-theme="dark"] .theme-toggle-btn .fa-moon { display: none; }
/* ============================================================
   KOYU TEMA — otomatik üretilmiş modül override'ları
   Kaynak: resources/views blade <style> bloklarındaki açık tema
   renklerinin [data-theme="dark"] karşılıkları.
   ============================================================ */

/* ── resources/views/agency/auth/login.blade.php ── */
[data-theme="dark"] .login-header h1 { color:var(--text-1); }
[data-theme="dark"] .login-header p { color:var(--text-3); }
[data-theme="dark"] .form-group label { color:var(--text-2); }
[data-theme="dark"] .form-control { border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .form-control:focus { background:var(--bg-card); }
[data-theme="dark"] .form-control::placeholder { color:#8296b0; }
[data-theme="dark"] .input-icon { color:#8296b0; }
[data-theme="dark"] .alert-danger { color:#f87171; }
[data-theme="dark"] .alert-success { color:#34d399; }
[data-theme="dark"] .remember-me { color:var(--text-3); }
[data-theme="dark"] .forgot-password:hover { color:#60a5fa; }
[data-theme="dark"] .loading { border-top-color:var(--border-1); }
[data-theme="dark"] .footer-links { border-top-color:var(--border-1); }
[data-theme="dark"] .footer-links a { color:var(--text-3); }

/* ── resources/views/agency/auth/select-agency.blade.php ── */
[data-theme="dark"] .user-avatar { background:var(--bg-card); color:#60a5fa; }
[data-theme="dark"] h1 { color:var(--text-1); }
[data-theme="dark"] p.subtitle { color:var(--text-3); }
[data-theme="dark"] .agency-list::-webkit-scrollbar-track { background:var(--bg-hover); }
[data-theme="dark"] .agency-list::-webkit-scrollbar-thumb { background:#33445f; }
[data-theme="dark"] .agency-item { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .agency-item:hover { background:rgba(99,102,241,.06); }
[data-theme="dark"] .agency-icon-box { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .agency-info h3 { color:var(--text-1); }
[data-theme="dark"] .agency-info p { color:var(--text-3); }
[data-theme="dark"] .btn-logout { color:var(--text-3); }
[data-theme="dark"] .btn-logout:hover { color:#f87171; }

/* ── resources/views/agency/calendar/index.blade.php ── */
[data-theme="dark"] .ac-wrap { --slate:var(--text-2); }
[data-theme="dark"] .ac-tbtn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .ac-tbtn:hover { border-color:#33445f; background:var(--bg-inset); }
[data-theme="dark"] .ac-tbtn.on { background:var(--bg-hover); border-color:#46597a; }
[data-theme="dark"] .ac-tbtn .caret { color:#8296b0; }
[data-theme="dark"] .ac-source { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .ac-source button { color:var(--text-3); }
[data-theme="dark"] .ac-legend-inline .li { color:var(--text-3); }
[data-theme="dark"] .ac-filters-inner { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .ac-field label { color:#8296b0; }
[data-theme="dark"] .ac-sel { border-color:var(--border-1); color:var(--text-2); background:var(--bg-inset); }
[data-theme="dark"] .ac-sel:focus { background:var(--bg-card); }
[data-theme="dark"] .ac-clear { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.10); color:#f87171; }
[data-theme="dark"] .ac-clear:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .ac-cal-card { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] #agencyCalendar { --fc-today-bg-color:rgba(245,158,11,.10); --fc-page-bg-color:var(--bg-card); }
[data-theme="dark"] #agencyCalendar .fc .fc-toolbar-title { color:var(--text-1); }
[data-theme="dark"] #agencyCalendar .fc .fc-button-primary:disabled { background:#3e5273; border-color:#46597a; }
[data-theme="dark"] #agencyCalendar .fc .fc-col-header-cell-cushion { color:#8296b0; }
[data-theme="dark"] #agencyCalendar .fc .fc-daygrid-day-number { color:var(--text-3); }
[data-theme="dark"] .ac-loading { color:var(--text-3); }

/* ── resources/views/agency/categories/create.blade.php ── */
[data-theme="dark"] .form-section { background:var(--bg-card); }

/* ── resources/views/agency/categories/index.blade.php ── */
[data-theme="dark"] .category-card { background:var(--bg-card); }
[data-theme="dark"] .badge-active { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .badge-parent { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .badge-child { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .filter-bar { background:var(--bg-card); }
[data-theme="dark"] .empty-state { background:var(--bg-card); }

/* ── resources/views/agency/chat/index.blade.php ── */
/* Sayfanın kendi token seti; hepsini remap edince zemin/kenar/hover kuralları
   (msgx-search, msgx-conv:hover, msgx-cats, textarea, mxg-* ) toplu düzelir. */
:root[data-theme="dark"] {
    --mx-text:var(--text-1);
    --mx-muted:var(--text-3);
    --mx-soft:var(--bg-hover);
    --mx-soft2:var(--bg-raise);
    --mx-border:var(--border-1);
}
[data-theme="dark"] .msgx { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .msgx-side { background:var(--bg-card); }
/* Sağdaki thread paneli: açık gri gradient zemin koyu temada bembeyaz kalıyor,
   üzerindeki "Sohbet seçin" başlığı (var(--mx-text)) okunmuyordu. */
[data-theme="dark"] .msgx-main { background:linear-gradient(180deg,var(--bg-inset),var(--bg-page)); }
[data-theme="dark"] .msgx-msgs::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .mx-day { color:var(--text-3); background:rgba(255,255,255,.07); }
[data-theme="dark"] .mx-in .mx-lc { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .mx-in .mx-lc-ic { color:#a5b4fc; }
[data-theme="dark"] .mx-in .mx-att-file { background:rgba(255,255,255,.07); }
[data-theme="dark"] .mx-in .mx-att-act { background:rgba(255,255,255,.09); }
[data-theme="dark"] .mx-in .mx-att-act:hover { background:rgba(255,255,255,.16); }
[data-theme="dark"] .msgx-cat.active { color:#a5b4fc; }
[data-theme="dark"] .mxg-check { border-color:#33445f; }
/* Dış sohbet el sıkışması (istek satırları) + izin ayarı kartları */
[data-theme="dark"] .mxs-radio { border-color:#33445f; }
[data-theme="dark"] .mxs-mode { background:var(--bg-inset); }
[data-theme="dark"] .mxs-tab.active { background:var(--bg-raise); }
[data-theme="dark"] .mx-req-btn.ok { color:#4ade80; background:rgba(34,197,94,.16); }
[data-theme="dark"] .mx-req-btn.no { color:#f87171; background:rgba(239,68,68,.16); }
[data-theme="dark"] .mx-req-state.wait { color:#fbbf24; background:rgba(245,158,11,.16); }
[data-theme="dark"] .mx-req-state.no { color:#f87171; background:rgba(239,68,68,.16); }
[data-theme="dark"] .mx-toast { background:var(--bg-raise); color:var(--text-1); }
[data-theme="dark"] .mxg-av { border-color:#33445f; }
[data-theme="dark"] .msgx-search:focus-within { background:var(--bg-card); }
[data-theme="dark"] .msgx-scroll::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .mx-dot { background:#3e5273; border-color:var(--border-1); }
[data-theme="dark"] .msgx-thead { background:var(--bg-card); }
[data-theme="dark"] .msgx-thead .peer .st::before { background:#3e5273; }
[data-theme="dark"] .msgx-thead-open { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .mx-in { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .mx-msg.revoked { background:var(--bg-hover) !important; color:#8296b0 !important; border-color:#33445f; }
[data-theme="dark"] .mx-chip { color:#a5b4fc; }
[data-theme="dark"] .mx-chip.doc { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .msgx-compose { background:var(--bg-card); }
[data-theme="dark"] .mx-cbtn.tool { color:var(--text-3); }
[data-theme="dark"] .msgx-compose textarea:focus { background:var(--bg-card); }
[data-theme="dark"] .msgx-lp { background:var(--bg-card); }
[data-theme="dark"] .msgx-lp-x { color:var(--text-2); }
[data-theme="dark"] .msgx-lp-type { background:var(--bg-card); color:var(--text-2); }
/* Sekme yuvası artık --mx-soft (bg-hover); aktif sekme ondan bir kademe kalkık olmalı */
[data-theme="dark"] .msgx-cat.active { background:var(--bg-raise); }
[data-theme="dark"] .msgx-soon .tag { color:#a78bfa; background:rgba(168,85,247,.16); }
[data-theme="dark"] .mxg-card { background:var(--bg-card); }
[data-theme="dark"] .mxg-x { color:var(--text-2); }
[data-theme="dark"] .mxg-name:focus-within { background:var(--bg-card); }
[data-theme="dark"] .mxg-list::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .mxg-badge.owner { color:#a78bfa; }
[data-theme="dark"] .mxg-badge.you { color:#2dd4bf; }
[data-theme="dark"] .mxg-leave { color:#f87171; }
[data-theme="dark"] .mxg-head-ic.pick::after { background:var(--bg-card); }
[data-theme="dark"] .mx-agency { color:#a78bfa; }
[data-theme="dark"] .mxg-badge.agency { color:#a78bfa; }
[data-theme="dark"] .msgx-back { background:var(--bg-card); color:var(--text-3); }

/* ── resources/views/agency/customers/activities/create.blade.php ── */
:root[data-theme="dark"] { --cp-light:rgba(99,102,241,.13); --text-main:var(--text-1); --text-muted:var(--text-3); --border:var(--border-2); }
[data-theme="dark"] .form-card { background:var(--bg-card); }
[data-theme="dark"] .form-section-header { background:linear-gradient(to right,var(--bg-inset),var(--bg-card)); }
[data-theme="dark"] .field-label { color:var(--text-2); }
[data-theme="dark"] .field-input { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .field-input:focus { background:var(--bg-card); }
[data-theme="dark"] .field-help { color:#8296b0; }
[data-theme="dark"] .type-btn { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .type-btn:hover { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); }
[data-theme="dark"] .toggle-row { border-bottom-color:var(--border-2); }
[data-theme="dark"] .toggle-slider { background:var(--bg-raise); }
[data-theme="dark"] .toggle-slider:before { background:var(--bg-card); }
[data-theme="dark"] .form-footer { background:var(--bg-card); }

/* ── resources/views/agency/customers/activities/index.blade.php ── */
[data-theme="dark"] .stat-card { background:var(--bg-card); }
[data-theme="dark"] .toolbar { background:var(--bg-card); }
[data-theme="dark"] .tb-select { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .tb-select:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .tl-dot { border-color:var(--border-1); }
[data-theme="dark"] .tl-dot.call { background:rgba(59,130,246,.20); color:#60a5fa; }
[data-theme="dark"] .tl-dot.email { background:rgba(236,72,153,.17); color:#f472b6; }
[data-theme="dark"] .tl-dot.meeting { background:rgba(16,185,129,.18); color:#34d399; }
[data-theme="dark"] .tl-dot.booking { background:rgba(139,92,246,.18); color:#a78bfa; }
[data-theme="dark"] .tl-dot.complaint { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tl-dot.note { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .tl-dot.sms { background:rgba(14,165,233,.17); color:#38bdf8; }
[data-theme="dark"] .tl-dot.whatsapp { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .tl-dot.task { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .tl-body { background:var(--bg-card); }
[data-theme="dark"] .tl-time { color:#8296b0; }
[data-theme="dark"] .tl-desc { color:var(--text-2); }
[data-theme="dark"] .pill.pending { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .pill.in_progress { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .pill.completed { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .pill.cancelled { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .pill.deferred { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .pr-low { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .pr-normal { background:rgba(14,165,233,.17); color:#38bdf8; }
[data-theme="dark"] .pr-high { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .pr-urgent { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tl-footer { border-top-color:var(--border-2); }
[data-theme="dark"] .tl-meta { color:#8296b0; }
[data-theme="dark"] .act-btn.delete { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .act-btn.complete { background:rgba(16,185,129,.18); color:#34d399; }
[data-theme="dark"] .empty-state { color:#8296b0; }

/* ── resources/views/agency/customers/activities/show.blade.php ── */
[data-theme="dark"] .det-card { background:var(--bg-card); }
[data-theme="dark"] .pill.pr-low { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .pill.pr-normal { background:rgba(14,165,233,.17); color:#38bdf8; }
[data-theme="dark"] .pill.pr-high { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .pill.pr-urgent { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .ii-label { color:#8296b0; }
[data-theme="dark"] .note-box { background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .side-action.delete { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .side-action.complete { background:rgba(16,185,129,.18); color:#34d399; }
[data-theme="dark"] .side-action.back { background:var(--bg-hover); color:var(--text-2); }

/* ── resources/views/agency/customers/create.blade.php ── */
[data-theme="dark"] .form-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .form-section-header { border-bottom-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .form-section-title { color:var(--text-1); }
[data-theme="dark"] .field-label { color:var(--text-3); }
[data-theme="dark"] .field-input { border-color:var(--border-1); color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .toggle-row { background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .toggle-info .tl { color:var(--text-1); }
[data-theme="dark"] .toggle-info .td { color:#8296b0; }
[data-theme="dark"] .form-footer { background:var(--bg-card); border-top-color:var(--border-2); }
[data-theme="dark"] .field-error { background:rgba(239,68,68,.08) !important; }
[data-theme="dark"] .btn-add-email { background:rgba(99,102,241,.13); }
[data-theme="dark"] .btn-remove-email { background:rgba(244,63,94,.10); }
[data-theme="dark"] .type-pill { color:var(--text-3); }

/* ── resources/views/agency/customers/fields/index.blade.php ── */
:root[data-theme="dark"] { --border:var(--border-2); }
[data-theme="dark"] .fields-header { background:var(--bg-card); }
[data-theme="dark"] .field-card { background:var(--bg-card); }
[data-theme="dark"] .field-card.inactive .field-card-stripe { background:var(--bg-raise); }
[data-theme="dark"] .fc-label { color:var(--text-1); }
[data-theme="dark"] .fc-key { background:var(--bg-inset); border-color:rgba(99,102,241,.30); }
[data-theme="dark"] .fc-type-badge { background:rgba(99,102,241,.13); }
[data-theme="dark"] .fc-meta { border-top-color:var(--border-2); }
[data-theme="dark"] .fc-meta-item { color:#8296b0; }
[data-theme="dark"] .fc-btn.edit { background:rgba(99,102,241,.13); }
[data-theme="dark"] .fc-btn.toggle { background:rgba(245,158,11,.18); }
[data-theme="dark"] .fc-btn.del { background:rgba(239,68,68,.17); }
[data-theme="dark"] .mf-label { color:var(--text-3); }
[data-theme="dark"] .mf-input { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .mf-input:focus { background:var(--bg-card); }
[data-theme="dark"] .option-row { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .opt-del { background:rgba(239,68,68,.17); }
[data-theme="dark"] .mcheck-row { border-bottom-color:var(--border-2); }
[data-theme="dark"] .empty-hero { background:var(--bg-card); }

/* ── resources/views/agency/customers/fields/values.blade.php ── */
[data-theme="dark"] .cfv-card { background:var(--bg-card); }
[data-theme="dark"] .cfv-card-header { background:var(--bg-inset); }
[data-theme="dark"] .cfv-card-title { color:var(--text-1); }
[data-theme="dark"] .cfv-card-count { color:#8296b0; }
[data-theme="dark"] .cf-field-name { color:var(--text-3); }
[data-theme="dark"] .cf-field-type { background:rgba(99,102,241,.13); }
[data-theme="dark"] .cf-help { color:#8296b0; }
[data-theme="dark"] .cf-input { border-color:var(--border-1); color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .cf-input:focus { background:var(--bg-card); }
[data-theme="dark"] .cf-multi-check { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .cf-multi-check:has(input:checked) { background:rgba(99,102,241,.13); }
[data-theme="dark"] .cfv-empty { color:#8296b0; }
[data-theme="dark"] .cfv-footer { background:var(--bg-card); }

/* ── resources/views/agency/customers/index.blade.php ── */
[data-theme="dark"] .c-name { color:var(--text-1); }
[data-theme="dark"] .c-email { color:var(--text-3); }
[data-theme="dark"] .bs-active { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .bs-inactive { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .bs-inactive::before { background:#3e5273; }
[data-theme="dark"] .bs-blocked { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .bs-potential { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .bp-priority-false { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .pax-pill { color:var(--text-2); background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .lb-platinum { background:linear-gradient(135deg,rgba(99,102,241,.21),rgba(99,102,241,.30)); color:#b3bcf9; }
[data-theme="dark"] .lb-gold { background:linear-gradient(135deg,rgba(245,158,11,.18),rgba(245,158,11,.28)); color:#fcd34d; }
[data-theme="dark"] .lb-silver { background:linear-gradient(135deg,var(--bg-hover),var(--bg-raise)); color:var(--text-2); }
[data-theme="dark"] .lb-bronze { background:linear-gradient(135deg,rgba(245,158,11,.18),rgba(249,115,22,.26)); color:#fdba74; }

/* ── resources/views/agency/customers/partials/company-multiselect.blade.php ── */
[data-theme="dark"] .cms-control { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .cms-control.focus { background:var(--bg-card); }
[data-theme="dark"] .cms-lead { color:#8296b0; }
[data-theme="dark"] .cms-input { color:var(--text-1); }
[data-theme="dark"] .cms-input::placeholder { color:#8296b0; }
[data-theme="dark"] .cms-caret { color:#8296b0; }
[data-theme="dark"] .cms-chip { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cms-chip-name { color:var(--text-1); }
[data-theme="dark"] .cms-chip-x { color:#8296b0; }
[data-theme="dark"] .cms-chip-x:hover { background:rgba(244,63,94,.10); }
[data-theme="dark"] .cms-panel { background:var(--bg-card); }
[data-theme="dark"] .cms.open .cms-panel { border-color:var(--border-1); }
[data-theme="dark"] .cms-list::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .cms-row:hover, [data-theme="dark"] .cms-row.active { background:var(--bg-inset); }
[data-theme="dark"] .cms-row-name { color:var(--text-1); }
[data-theme="dark"] .cms-row-name .cms-hl { background:rgba(99,102,241,.13); }
[data-theme="dark"] .cms-row-sub { color:#8296b0; }
[data-theme="dark"] .cms-check { border-color:#33445f; background:var(--bg-card); }
[data-theme="dark"] .cms-row.sel { background:rgba(99,102,241,.13); }
[data-theme="dark"] .cms-row.sel .cms-row-name { color:#a5b4fc; }
[data-theme="dark"] .cms-nores { color:#8296b0; }
[data-theme="dark"] .cms-foot { border-top-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .cms-count { color:var(--text-3); }
[data-theme="dark"] .cms-clear:hover { background:rgba(244,63,94,.10); }
[data-theme="dark"] .cms-note { color:#38bdf8; background:rgba(14,165,233,.17); border-color:rgba(14,165,233,.42); }

/* ── resources/views/agency/customers/partials/qv-invoices.blade.php ── */
[data-theme="dark"] .cix-sum { background:var(--bg-card); border-left-color:#33445f; }
[data-theme="dark"] .cix-sum-lbl { color:#8296b0; }
[data-theme="dark"] .cix-sum-val { color:var(--text-1); }
[data-theme="dark"] .cix-sum.ok .cix-sum-val { color:#34d399; }
[data-theme="dark"] .cix-sum.warn .cix-sum-val { color:#fbbf24; }
[data-theme="dark"] .cix-bar-info { color:#8296b0; }
[data-theme="dark"] .cix-row { background:var(--bg-card); }
[data-theme="dark"] .cix-row:hover { border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .cix-row.is-cancelled { border-left-color:#33445f; }
[data-theme="dark"] .cix-ic { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .cix-ic.is-refund { background:rgba(239,68,68,.10); color:#f87171; }
[data-theme="dark"] .cix-no { color:var(--text-1); }
[data-theme="dark"] .cix-status { border-color:var(--border-1); }
[data-theme="dark"] .cix-official.pending { background:rgba(245,158,11,.10); color:#fbbf24; border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .cix-official.issued { background:rgba(99,102,241,.13); color:#a5b4fc; border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .cix-line2 { color:#8296b0; }
[data-theme="dark"] .cix-salelink { background:var(--bg-hover); color:#a5b4fc; }
[data-theme="dark"] .cix-salelink:hover { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .cix-dot { background:#33445f; }
[data-theme="dark"] .cix-amount { color:var(--text-1); }
[data-theme="dark"] .cix-paid.ok { color:#34d399; }
[data-theme="dark"] .cix-paid.warn { color:#fbbf24; }
[data-theme="dark"] .cix-empty { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cix-empty b { color:var(--text-2); }
[data-theme="dark"] .cix-empty span { color:#8296b0; }

/* ── resources/views/agency/customers/partials/qv-keycard.blade.php ── */
[data-theme="dark"] .ckey-head-txt small { color:#8296b0; }
[data-theme="dark"] .ckey-sec { background:var(--bg-card); }
[data-theme="dark"] .ckey-sec-h { color:#8296b0; }
[data-theme="dark"] .ckey-blockcopy { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .ckey-blockcopy:hover { color:#93c5fd; background:rgba(59,130,246,.12); }
[data-theme="dark"] .ckey-val { color:var(--text-1); }
[data-theme="dark"] .ckey-row.qv-copied { background:rgba(16,185,129,.10); }
[data-theme="dark"] .ckey-row.qv-copied .ckey-copy { color:#34d399; }
[data-theme="dark"] .ckey-empty { color:#8296b0; }
[data-theme="dark"] .ckey-tab { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .ckey-tab:hover { color:#93c5fd; }
[data-theme="dark"] .ckey-bp-kind.company { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .ckey-bp-kind.individual { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .ckey-warn { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); color:#fbbf24; }
[data-theme="dark"] .ckey-act { background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .ckey-act:hover { color:#93c5fd; background:rgba(59,130,246,.12); }
[data-theme="dark"] .ckey-act.wa:hover { color:#4ade80; background:rgba(34,197,94,.10); }

/* ── resources/views/agency/customers/partials/qv-links.blade.php ── */
[data-theme="dark"] .clnk-count { color:var(--text-2); background:var(--bg-hover); }
[data-theme="dark"] .clnk-addbtn { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .clnk-addbtn:hover { background:rgba(99,102,241,.21); }
[data-theme="dark"] .clnk-search > i { color:#8296b0; }
[data-theme="dark"] .clnk-input { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .clnk-results { background:var(--bg-card); }
[data-theme="dark"] .clnk-results button:hover { background:rgba(99,102,241,.13); }
[data-theme="dark"] .clnk-results b { color:var(--text-1); }
[data-theme="dark"] .clnk-results small { color:#8296b0; }
[data-theme="dark"] .clnk-item { background:var(--bg-card); }
[data-theme="dark"] .clnk-item:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .clnk-txt b { color:var(--text-1); }
[data-theme="dark"] .clnk-txt small { color:#8296b0; }
[data-theme="dark"] .clnk-x, [data-theme="dark"] .clnk-star { background:var(--bg-card); }
[data-theme="dark"] .clnk-x:hover { color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .clnk-star:hover { color:#fbbf24; background:rgba(245,158,11,.10); }
[data-theme="dark"] .clnk-star.on { background:rgba(245,158,11,.10); }
[data-theme="dark"] .clnk-item.is-primary { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .clnk-primary-tag { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .clnk-empty { background:var(--bg-inset); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .clnk-hint { color:#8296b0; }

/* ── resources/views/agency/customers/partials/qv-tabs-styles.blade.php ── */
[data-theme="dark"] .cpx-chip, [data-theme="dark"] .cdx-exp { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .cpx-chip.soft { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .cpx-chip.warn { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .cpx-chip.danger { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .cpx-bar { background:linear-gradient(135deg,var(--bg-inset),var(--bg-hover)); border-color:var(--border-1); }
[data-theme="dark"] .cpx-stat { color:var(--text-3); }
[data-theme="dark"] .cpx-stat i { color:#8296b0; }
[data-theme="dark"] .cpx-stat b { color:var(--text-1); }
[data-theme="dark"] .cpx-stat.warn i, [data-theme="dark"] .cpx-stat.warn b { color:#fbbf24; }
[data-theme="dark"] .cpx-stat.danger i, [data-theme="dark"] .cpx-stat.danger b { color:#f87171; }
[data-theme="dark"] .cpx-sep { background:var(--bg-raise); }
[data-theme="dark"] .cpx-search { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cpx-new { background:var(--bg-card); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .cpx-new-head { color:#b3bcf9; }
[data-theme="dark"] .cpx-card { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cpx-card.is-open { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .cpx-name { color:var(--text-1); }
[data-theme="dark"] .cpx-name:hover { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .cpx-name:focus { background:var(--bg-card); }
[data-theme="dark"] .cpx-copy { color:#5b6b85; }
[data-theme="dark"] .cpx-copy:hover { color:#a5b4fc; background:rgba(99,102,241,.16); }
[data-theme="dark"] .cpx-copy.ok { color:#4ade80; background:rgba(22,163,74,.18); }
[data-theme="dark"] .cpx-foot i.fa-copy, [data-theme="dark"] .cpx-foot i.fa-clipboard-list { color:#a5b4fc; }
[data-theme="dark"] .cpx-foot-sep { background:var(--border-1); }
[data-theme="dark"] .cpx-ico { border-color:var(--border-1); background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .cpx-ico:hover { border-color:rgba(99,102,241,.42); color:#a5b4fc; background:rgba(139,92,246,.11); }
[data-theme="dark"] .cpx-ico.danger:hover { border-color:rgba(239,68,68,.42); color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .cpx-body { border-top-color:var(--border-2); }
[data-theme="dark"] .cpx-sec-h { color:#8296b0; }
[data-theme="dark"] .cpx-fld label { color:#8296b0; }
[data-theme="dark"] .cpx-fld input, [data-theme="dark"] .cpx-fld select, [data-theme="dark"] .cpx-new input, [data-theme="dark"] .cpx-new select { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .cpx-fld.st-soon input { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); }
[data-theme="dark"] .cpx-fld.st-expired input { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.10); }
[data-theme="dark"] .cpx-flag.warn { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .cpx-flag.danger { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .cpx-saving { background:rgba(245,158,11,.10) !important; }
[data-theme="dark"] .cpx-ok { background:rgba(34,197,94,.10) !important; }
[data-theme="dark"] .cpx-err { background:rgba(239,68,68,.10) !important; }
[data-theme="dark"] .cpx-cancel, [data-theme="dark"] .cdx-clear { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .cpx-foot { color:#8296b0; }
[data-theme="dark"] .cpx-empty, [data-theme="dark"] .csx-empty, [data-theme="dark"] .cdx-empty { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cpx-empty b, [data-theme="dark"] .csx-empty b, [data-theme="dark"] .cdx-empty b { color:var(--text-2); }
[data-theme="dark"] .cpx-empty span, [data-theme="dark"] .csx-empty span, [data-theme="dark"] .cdx-empty span { color:#8296b0; }
[data-theme="dark"] .csx-sum-l { color:#8296b0; }
[data-theme="dark"] .csx-sum-s { color:#8296b0; }
[data-theme="dark"] .csx-f { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .csx-f b { color:#8296b0; }
[data-theme="dark"] .csx-f:hover { border-color:rgba(99,102,241,.42); color:#a5b4fc; }
[data-theme="dark"] .csx-f.active b { color:#8296b0; }
[data-theme="dark"] .csx-row { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .csx-row:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .csx-date b { color:var(--text-1); }
[data-theme="dark"] .csx-date span { color:#8296b0; }
[data-theme="dark"] .csx-title { color:var(--text-1); }
[data-theme="dark"] .csx-meta { color:#8296b0; }
[data-theme="dark"] .csx-code { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .csx-soon { color:#fbbf24; }
[data-theme="dark"] .csx-soon.now { color:#f87171; }
[data-theme="dark"] .csx-due { color:#f87171; }
[data-theme="dark"] .csx-paid { color:#4ade80; }
[data-theme="dark"] .csx-prog { background:var(--bg-hover); }
[data-theme="dark"] .csx-amount b { color:var(--text-1); }
[data-theme="dark"] .csx-amount span { color:#8296b0; }
[data-theme="dark"] .csx-row:hover .csx-go { color:#a5b4fc; }
[data-theme="dark"] .cdx-drop { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cdx-drop-inner { background:var(--bg-inset); }
[data-theme="dark"] .cdx-drop-inner.is-over { background:rgba(139,92,246,.11); }
[data-theme="dark"] .cdx-drop-txt b { color:var(--text-2); }
[data-theme="dark"] .cdx-drop-txt span { color:#8296b0; }
[data-theme="dark"] .cdx-browse { color:#a5b4fc; }
[data-theme="dark"] .cdx-fld label { color:#8296b0; }
[data-theme="dark"] .cdx-fld select { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .cdx-picked { background:rgba(99,102,241,.13); color:#b3bcf9; }
[data-theme="dark"] .cdx-listhead { color:#8296b0; }
[data-theme="dark"] .cdx-listhead b { color:var(--text-1); }
[data-theme="dark"] .cdx-dot { background:#33445f; }
[data-theme="dark"] .cdx-group-name { color:var(--text-3); }
[data-theme="dark"] .cdx-group-n { background:var(--bg-hover); color:#8296b0; }
[data-theme="dark"] .cdx-item { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cdx-item.st-expired { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .cdx-item.st-soon { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.05); }
[data-theme="dark"] .cdx-name { color:var(--text-1); }
[data-theme="dark"] .cdx-meta { color:#8296b0; }
[data-theme="dark"] .cdx-exp.expired { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .cdx-exp.soon { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .cdx-note { color:#8296b0; }
[data-theme="dark"] .cdx-act { border-color:var(--border-1); background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .cdx-act:hover { border-color:rgba(99,102,241,.42); color:#a5b4fc; background:rgba(139,92,246,.11); }
[data-theme="dark"] .cdx-act.danger:hover { border-color:rgba(239,68,68,.42); color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .cdx-op .cdx-group-name i { color:#fb7185; }
[data-theme="dark"] .cdx-salelink { background:var(--bg-hover); color:#a5b4fc; }
[data-theme="dark"] .cdx-salelink:hover { background:rgba(99,102,241,.13); }
[data-theme="dark"] .cdx-oplink { color:#fb7185; }
[data-theme="dark"] .cdx-oplink:hover { background:rgba(244,63,94,.18); color:#fda4af; }
[data-theme="dark"] .cdx-opnote { color:#fda4af; }
[data-theme="dark"] .cdx-opnote i { color:#fb7185; }

/* ── resources/views/agency/customers/quick-view.blade.php ── */
[data-theme="dark"] .qv-wrapper.qv-theme-blue { background:linear-gradient(180deg, rgba(59,130,246,.20), rgba(59,130,246,.12)); }
[data-theme="dark"] .qv-theme-blue .qv-content { background:linear-gradient(180deg, rgba(59,130,246,.12) 0%, rgba(59,130,246,.20) 100%); }
[data-theme="dark"] .qv-theme-blue .qv-header { background:linear-gradient(135deg, rgba(59,130,246,.10), rgba(59,130,246,.20)); border-bottom-color:rgba(59,130,246,.42); }
[data-theme="dark"] .btn-qv-edit { border-color:var(--border-2); background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .btn-qv-edit:hover { background:rgba(59,130,246,.12); color:#60a5fa; border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .sb.active { background:rgba(16,185,129,.18); color:#6ee7b7; border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .sb.inactive { background:var(--bg-hover); color:var(--text-2); border-color:var(--border-1); }
[data-theme="dark"] .sb.blocked { background:rgba(239,68,68,.17); color:#fca5a5; border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .sb.potential { background:rgba(245,158,11,.18); color:#fcd34d; border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .sb-type { background:rgba(99,102,241,.13); color:#a5b4fc; border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .sb-type:hover { background:rgba(99,102,241,.21); color:#b3bcf9; }
[data-theme="dark"] .sb-corp { background:rgba(16,185,129,.10); color:#34d399; border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .sb-corp-link:hover { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .qv-section-title { color:#8296b0; }
[data-theme="dark"] .qv-info-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .qv-field-label { color:#8296b0; }
[data-theme="dark"] .qv-field-value { color:var(--text-1); }
[data-theme="dark"] .agent-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .agent-card:hover { border-color:var(--border-1); }
[data-theme="dark"] .internal-notes-box { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); color:#fcd34d; }
[data-theme="dark"] .qv-activity-editor-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .qv-editor-header { background:var(--bg-inset); border-bottom-color:var(--border-2); }
[data-theme="dark"] .qv-editor-tab { color:var(--text-3); }
[data-theme="dark"] .qv-editor-tab:hover { background:var(--bg-hover); color:var(--text-1); }
[data-theme="dark"] .qv-editor-tab.active { background:var(--bg-card); color:#60a5fa; }
[data-theme="dark"] .qv-editor-subject { border-bottom-color:var(--border-2); }
[data-theme="dark"] .qv-editor-textarea { color:var(--text-2); }
[data-theme="dark"] .qv-activity-connector { background:var(--bg-hover); }
[data-theme="dark"] .qv-activity-icon-v2 { border-color:var(--border-1); }
[data-theme="dark"] .qv-activity-card-v2 { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .qv-activity-card-v2:hover { border-color:var(--border-1); }
[data-theme="dark"] .btn-secondary-glass { background:var(--bg-card); color:var(--text-2); border-color:var(--border-1); }
[data-theme="dark"] .btn-secondary-glass:hover { background:var(--bg-inset); color:var(--text-1); border-color:#33445f; }
[data-theme="dark"] .lb-silver { background:#3e5273; }
[data-theme="dark"] .qv-card { background:var(--bg-card); }
[data-theme="dark"] .qv-card > h5 { color:var(--text-1); border-bottom-color:var(--border-2); }
[data-theme="dark"] .qv-detail-field label { color:#8296b0; }
[data-theme="dark"] .qv-detail-field .inline-editable, [data-theme="dark"] .internal-notes-box .inline-editable { background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .qv-detail-field .inline-editable:hover { background:var(--bg-hover); color:var(--text-1); }
[data-theme="dark"] .qv-stats-panel { background:linear-gradient(135deg, var(--bg-card), rgba(99,102,241,.06)); border-color:var(--border-2); }
[data-theme="dark"] .res-mini-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .inline-editable { border-bottom-color:#33445f; }
[data-theme="dark"] .inline-editable:hover { color:#60a5fa; }

/* ── resources/views/agency/customers/show.blade.php ── */
:root[data-theme="dark"] { --cp-light:rgba(59,130,246,.12); --text-main:var(--text-1); --text-muted:var(--text-3); --border:var(--border-2); }
[data-theme="dark"] .customer-card { background:var(--bg-card); }
[data-theme="dark"] .sb.type-individual { background:rgba(59,130,246,.12); color:#60a5fa; border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .sb.type-corporate { background:rgba(14,165,233,.10); color:#38bdf8; border-color:rgba(14,165,233,.30); }
[data-theme="dark"] .customer-avatar-big { border-color:var(--border-1); }
[data-theme="dark"] .sb.active { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .sb.inactive { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .sb.blocked { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .sb.potential { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .sb.priority-true { background:rgba(245,158,11,.18); color:#fde68a; }
[data-theme="dark"] .sb.priority-false { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .sb.blacklisted { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .info-row { border-bottom-color:var(--border-2); }
[data-theme="dark"] .info-icon.indigo { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .info-icon.green { background:rgba(16,185,129,.18); }
[data-theme="dark"] .info-icon.amber { background:rgba(245,158,11,.18); }
[data-theme="dark"] .info-icon.pink { background:rgba(236,72,153,.17); color:#f472b6; }
[data-theme="dark"] .info-icon.slate { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .qa-btn.success { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .qa-btn.warning { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .qa-btn.danger { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .qa-btn.neutral { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .customer-tabs { background:var(--bg-card); }
[data-theme="dark"] .section-card { background:var(--bg-card); }
[data-theme="dark"] .tl-dot.default { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .tl-content { background:var(--bg-inset); }
[data-theme="dark"] .cf-card { background:var(--bg-inset); }
[data-theme="dark"] .cf-label { color:#8296b0; }
[data-theme="dark"] .di-label { color:#8296b0; }
[data-theme="dark"] .blacklist-banner { background:linear-gradient(135deg,rgba(239,68,68,.17),rgba(239,68,68,.26)); }

/* ── resources/views/agency/definitions/create.blade.php ── */
[data-theme="dark"] .quill-editor { background:var(--bg-card); }

/* ── resources/views/agency/definitions/show.blade.php ── */
[data-theme="dark"] .definition-image { border-color:var(--border-1); }
[data-theme="dark"] .definition-image-placeholder { border-color:var(--border-1); }
[data-theme="dark"] .info-section { background:var(--bg-card); }
[data-theme="dark"] .action-buttons { background:var(--bg-card); }

/* ── resources/views/agency/disk/items/edit.blade.php ── */
[data-theme="dark"] .list-group-item-action:hover { background-color:var(--bg-inset); }

/* ── resources/views/agency/disk/items/show.blade.php ── */
[data-theme="dark"] .pdf-viewer-container { background:var(--bg-hover); }
[data-theme="dark"] .document-preview, [data-theme="dark"] .archive-preview, [data-theme="dark"] .file-preview, [data-theme="dark"] .audio-preview { background:linear-gradient(135deg, var(--bg-inset) 0%, var(--bg-hover) 100%); }

/* ── resources/views/agency/guide-registry/index.blade.php ── */
[data-theme="dark"] .gr-chip { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .gr-tag { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .gr-on { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .gr-off { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .gr-off::before { background:#3e5273; }
[data-theme="dark"] .gr-added { color:#34d399; }
[data-theme="dark"] .gr-note { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); color:#fcd34d; }

/* ── resources/views/agency/invoices/index.blade.php ── */
[data-theme="dark"] .finv-no { color:#6ee7b7; }
[data-theme="dark"] .finv-no-link:hover { color:#34d399; }
[data-theme="dark"] .finv-mono { color:var(--text-2); }
[data-theme="dark"] .finv-amount { color:var(--text-1); }
[data-theme="dark"] .finv-tag.sale { color:#a5b4fc; background:rgba(99,102,241,.13); }
[data-theme="dark"] .finv-tag.free { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .finv-tag.refund { color:#f87171; background:rgba(239,68,68,.17); }
[data-theme="dark"] .finv-btype.company { color:#a5b4fc; background:rgba(99,102,241,.13); }
[data-theme="dark"] .finv-btype.individual { color:#34d399; background:rgba(16,185,129,.10); }
[data-theme="dark"] .finv-status { border-color:var(--border-1); }
[data-theme="dark"] .finv-official.pending { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] tr.finv-official-pending td { background:rgba(245,158,11,.05); }
[data-theme="dark"] .finv-act { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .finv-act:hover { color:#34d399; border-color:rgba(16,185,129,.42); background:rgba(16,185,129,.10); }
[data-theme="dark"] .finv-act.danger:hover { color:#f87171; background:rgba(239,68,68,.10); }

/* ── resources/views/agency/invoices/quick-view.blade.php ── */
[data-theme="dark"] .finvqv-status { border-color:var(--border-1); }
[data-theme="dark"] .finvqv-tag { color:#a5b4fc; background:rgba(99,102,241,.13); }
[data-theme="dark"] .finvqv-cust-link { color:#34d399; border-bottom-color:rgba(16,185,129,.42); }
[data-theme="dark"] .finvqv-cust-link:hover { color:#34d399; }
[data-theme="dark"] .finvqv-official.pending { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] .finv-rte { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .finv-rte .ql-toolbar.ql-snow { border-bottom-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .finv-rte .ql-editor { color:var(--text-2); }
[data-theme="dark"] .finv-field label code { background:var(--bg-hover); }
[data-theme="dark"] .finv-salepick .finv-section-head small { color:#8296b0; }
[data-theme="dark"] .finv-sale-amount { color:var(--text-1); }
[data-theme="dark"] .finv-sbadge.none { background:rgba(16,185,129,.10); color:#34d399; border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .finv-sbadge.has { background:rgba(245,158,11,.10); color:#fbbf24; border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .finv-sbadge.official { background:rgba(99,102,241,.13); color:#a5b4fc; border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .finv-sale-empty { color:#8296b0; }
[data-theme="dark"] .finv-holdhint { color:#8296b0; }
[data-theme="dark"] .finv-holdhint b { color:#34d399; }
[data-theme="dark"] .finv-sale-row.is-holding { background:rgba(34,197,94,.10); }
[data-theme="dark"] .finv-sale-chosen { background:rgba(34,197,94,.10); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .finv-sale-ic { background:rgba(34,197,94,.17); color:#34d399; }
[data-theme="dark"] .finv-sale-txt b { color:var(--text-1); }
[data-theme="dark"] .finv-sale-txt small { color:var(--text-3); }
[data-theme="dark"] .finv-sale-open, [data-theme="dark"] .finv-sale-x { border-color:rgba(16,185,129,.30); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .finv-sale-open:hover { color:#34d399; }
[data-theme="dark"] .finv-sale-x:hover { color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .finvqv-payments { border-top-color:var(--border-2); }
[data-theme="dark"] .finvqv-payhead { color:var(--text-2); }
[data-theme="dark"] .finvqv-payhead i { color:#34d399; }
[data-theme="dark"] .finvqv-payhead b { color:var(--text-1); }
[data-theme="dark"] .finvqv-foot { border-top-color:var(--border-2); }
[data-theme="dark"] .finv-btn.ghost { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .finv-btn.ghost:hover { color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .finv-field label { color:#8296b0; }
[data-theme="dark"] .finv-field input, [data-theme="dark"] .finv-field select { border-color:var(--border-1); color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .finv-field input:focus, [data-theme="dark"] .finv-field select:focus { background:var(--bg-card); }
[data-theme="dark"] .finv-section { background:var(--bg-card); }
[data-theme="dark"] .finv-section-head { color:var(--text-2); }
[data-theme="dark"] .finv-section-head i { color:#34d399; }
[data-theme="dark"] .finv-btype-toggle { background:var(--bg-hover); }
[data-theme="dark"] .finv-btype-toggle button { color:var(--text-3); }
[data-theme="dark"] .finv-btype-toggle button.on { background:var(--bg-card); color:#6ee7b7; }
[data-theme="dark"] .finv-cust-search > i { color:#8296b0; }
[data-theme="dark"] .finv-cust-search input { border-color:#33445f; background:var(--bg-inset); }
[data-theme="dark"] .finv-cust-search input:focus { background:var(--bg-card); }
[data-theme="dark"] .finv-cust-results { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .finv-cust-row:hover { background:rgba(34,197,94,.10); }
[data-theme="dark"] .finv-cust-row b { color:var(--text-1); }
[data-theme="dark"] .finv-cust-row small { color:#8296b0; }
[data-theme="dark"] .finv-hint { color:#fcd34d; background:rgba(245,158,11,.10); }
[data-theme="dark"] .finv-mini { border-color:var(--border-1); background:var(--bg-card); color:#34d399; }
[data-theme="dark"] .finv-mini:hover { background:rgba(16,185,129,.10); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .finv-thead.sm th { color:var(--text-3); background:var(--bg-inset); border-bottom-color:var(--border-2); }
[data-theme="dark"] #finvItems td { border-bottom-color:var(--border-2); }
[data-theme="dark"] #finvItems input, [data-theme="dark"] #finvItems select { background:var(--bg-inset); }
[data-theme="dark"] #finvItems input:focus, [data-theme="dark"] #finvItems select:focus { background:var(--bg-card); }
[data-theme="dark"] .finv-item-total { color:var(--text-1); }
[data-theme="dark"] .finv-item-x:hover { color:#f87171; }
[data-theme="dark"] .finv-totals .disc { color:#fb7185; }
[data-theme="dark"] .finv-totals .grand { color:#6ee7b7; }

/* ── resources/views/agency/layouts/app.blade.php ── */
[data-theme="dark"] .rte-wrap { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .rte-wrap .ql-toolbar.ql-snow { border-bottom-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .rte-wrap .ql-editor.ql-blank::before { color:#8296b0; }
[data-theme="dark"] .rte-content { color:var(--text-2); }

/* ── resources/views/agency/layouts/partials/chat-widget.blade.php ── */
[data-theme="dark"] #chatWidget { --text:var(--text-1); --white:var(--bg-card); }
[data-theme="dark"] .cw-launcher-badge { border-color:var(--border-1); }
[data-theme="dark"] .cw-peer-sub::before { background:#3e5273; }
[data-theme="dark"] .cw-searchbar:focus-within { background:var(--bg-card); }
[data-theme="dark"] .cw-scroll::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .cw-agency { color:#a78bfa; }
[data-theme="dark"] .cw-dot { background:#3e5273; border-color:var(--border-1); }
[data-theme="dark"] .cw-thread::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .cw-msg-in { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .cw-atts { background:var(--bg-card); }
[data-theme="dark"] .cw-att-chip { color:#a5b4fc; }
[data-theme="dark"] .cw-compose { background:var(--bg-card); }
[data-theme="dark"] .cw-attach { color:var(--text-3); }
[data-theme="dark"] .cw-attach:hover { color:var(--text-2); }
[data-theme="dark"] .cw-compose textarea:focus { background:var(--bg-card); }
[data-theme="dark"] .cw-link { color:var(--text-3); }
[data-theme="dark"] .cw-link-chip { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .cw-doc-chip { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .cw-linkpicker { background:var(--bg-card); }
[data-theme="dark"] .cw-lp-type { background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .cw-lp-type:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .cw-msg-revoked { background:var(--bg-hover) !important; color:#8296b0 !important; border-color:#33445f; }
[data-theme="dark"] .cw-msg-revoked.cw-msg-out { background:var(--bg-hover) !important; }

/* ── resources/views/agency/layouts/partials/global-search.blade.php ── */
[data-theme="dark"] .gs-trigger { background:var(--bg-inset); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .gs-trigger:hover { border-color:rgba(99,102,241,.42); background:var(--bg-card); }
[data-theme="dark"] .gs-kbd { color:var(--text-3); background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .gs-trigger-mobile { background:var(--bg-inset); color:var(--text-3); }
[data-theme="dark"] .gs-palette { background:var(--bg-card); }
[data-theme="dark"] .gs-inputrow { border-bottom-color:var(--border-2); }
[data-theme="dark"] .gs-input { color:var(--text-1); }
[data-theme="dark"] .gs-input::placeholder { color:#8296b0; }
[data-theme="dark"] .gs-body::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .gs-group-h .gs-glabel { color:var(--text-3); }
[data-theme="dark"] .gs-group-h .gs-gcount { color:#8296b0; background:var(--bg-hover); }
[data-theme="dark"] .gs-group-h .gs-gmore:hover { background:rgba(99,102,241,.13); }
[data-theme="dark"] .gs-row:hover { background:var(--bg-inset); }
[data-theme="dark"] .gs-row.active { background:linear-gradient(90deg, rgba(99,102,241,.13), rgba(99,102,241,.06)); }
[data-theme="dark"] .gs-row .gs-rtitle { color:var(--text-1); }
[data-theme="dark"] .gs-row .gs-rtitle mark { background:rgba(99,102,241,.21); color:#a5b4fc; }
[data-theme="dark"] .gs-row .gs-rsub { color:#8296b0; }
[data-theme="dark"] .gs-row .gs-rbadge { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .gs-state { color:#8296b0; }
[data-theme="dark"] .gs-state .gs-sico { background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .gs-state .gs-stitle { color:var(--text-2); }
[data-theme="dark"] .gs-recent-h { color:#8296b0; }
[data-theme="dark"] .gs-recent-chip { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .gs-recent-chip:hover { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .gs-recent-chip i { color:#8296b0; }
[data-theme="dark"] .gs-foot { border-top-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .gs-foot .gs-hint { color:#8296b0; }
[data-theme="dark"] .gs-foot .gs-all { background:rgba(99,102,241,.13); color:#a5b4fc; }

/* ── resources/views/agency/layouts/partials/header-tasks.blade.php ── */
[data-theme="dark"] .hdr-tasks { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .hdr-tasks-brand { color:#fcd34d; }
[data-theme="dark"] .hdr-tasks-brand i { color:#fbbf24; }
[data-theme="dark"] .hdr-tasks-brand:hover { background:rgba(245,158,11,.18); color:#fde68a; }
[data-theme="dark"] .hdr-tk-chip.amber { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .hdr-tk-chip.amber:hover { background:rgba(245,158,11,.28); }
[data-theme="dark"] .hdr-tk-chip.red { color:#f87171; background:rgba(239,68,68,.17); }
[data-theme="dark"] .hdr-tk-chip.red:hover { background:rgba(239,68,68,.26); }
[data-theme="dark"] .hdr-tk-chip.green { color:#4ade80; background:rgba(34,197,94,.17); }
[data-theme="dark"] .hdr-tk-chip.green:hover { background:rgba(34,197,94,.26); }

/* ── resources/views/agency/layouts/partials/quick-add.blade.php ── */
[data-theme="dark"] .gqa-modal { background:var(--bg-card); }
[data-theme="dark"] .gqa-card { border-color:var(--border-1); }
[data-theme="dark"] .gqa-card:hover { background:var(--bg-card); }
[data-theme="dark"] .gqa-card-txt b { color:var(--text-1); }
[data-theme="dark"] .gqa-card-txt small { color:#8296b0; }
[data-theme="dark"] .gqa-cancel { color:var(--text-3); }
[data-theme="dark"] .gqa-cancel:hover { background:var(--bg-hover); color:var(--text-1); }
[data-theme="dark"] .gqr-modal { background:var(--bg-card); }
[data-theme="dark"] .gqr-card { border-color:var(--border-1); }
[data-theme="dark"] .gqr-card:hover { background:var(--bg-card); }
[data-theme="dark"] .gqr-card b { color:var(--text-1); }
[data-theme="dark"] .gqr-card small { color:#8296b0; }
[data-theme="dark"] .gqr-cancel { color:var(--text-3); }
[data-theme="dark"] .gqr-cancel:hover { background:var(--bg-hover); color:var(--text-1); }

/* ── resources/views/agency/operations/_deadline.blade.php ── */
[data-theme="dark"] .opsk-note { color:var(--text-3); background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .opsk-note i { color:#8296b0; }
[data-theme="dark"] .opsk-col { background:color-mix(in srgb, var(--kc) 10%, var(--bg-inset)); border-color:var(--border-1); }
[data-theme="dark"] .opsk-title b { color:var(--text-1); }
[data-theme="dark"] .opsk-title small { color:#8296b0; }
[data-theme="dark"] .opsk-count { border-color:var(--border-1); }
[data-theme="dark"] .opsk-card { background:var(--bg-card); }
[data-theme="dark"] .opsk-card:hover { border-color:var(--border-1); }
[data-theme="dark"] .opsk-overdue .opsk-card { background:linear-gradient(180deg,var(--bg-card),rgba(239,68,68,.09)); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .opsk-due { color:var(--text-2); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .opsk-due.late { color:#f87171; background:rgba(239,68,68,.17); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .opsk-due.now { color:#4ade80; background:rgba(34,197,94,.17); border-color:rgba(34,197,94,.42); }
[data-theme="dark"] .opsk-due.none { color:var(--text-3); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .opsk-name { color:var(--text-1); }
[data-theme="dark"] .opsk-code { color:#8296b0; }
[data-theme="dark"] .opsk-meta { color:var(--text-3); }
[data-theme="dark"] .opsk-meta i { color:#8296b0; }
[data-theme="dark"] .opsk-rev { color:var(--text-1); }
[data-theme="dark"] .opsk-occ { color:var(--text-3); }
[data-theme="dark"] .opsk-occ .bar { background:var(--bg-hover); }
[data-theme="dark"] .opsk-freetag { color:#c4b5fd; background:rgba(139,92,246,.11); border-color:rgba(139,92,246,.42); }
[data-theme="dark"] .opsk-empty { border-color:var(--border-1); }

/* ── resources/views/agency/operations/_filterbar-styles.blade.php ── */
[data-theme="dark"] .ops-filterbar { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .ops-fb-row + .ops-fb-row { border-top-color:var(--border-1); }
[data-theme="dark"] .ops-fb-search { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .ops-fb-search:focus-within { border-color:#46597a; background:var(--bg-card); }
[data-theme="dark"] .ops-fb-search input { color:var(--text-1); }
[data-theme="dark"] .ops-fb-item { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .ops-fb-item:hover { border-color:#33445f; }
[data-theme="dark"] .ops-fb-item.on { background:var(--bg-hover); border-color:#46597a; }
[data-theme="dark"] .ops-fb-item .ic { color:#8296b0; }
[data-theme="dark"] .ops-fb-item.on .ic { color:var(--text-2); }
[data-theme="dark"] .ops-fb-item input { color:var(--text-2); }
[data-theme="dark"] .ops-fb-lbl { color:#8296b0; }
[data-theme="dark"] .ops-fb-count { color:var(--text-2); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .ops-chip { color:var(--text-2); background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .ops-chip:hover { border-color:#46597a; color:var(--text-1); }
[data-theme="dark"] .ops-chip.danger { color:#f87171; background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .ops-chip.danger:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .ops-viewtoggle { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .ops-viewtoggle a { color:var(--text-3); }
[data-theme="dark"] .ops-viewtoggle a:not(.active):hover { color:var(--text-1); }
[data-theme="dark"] .ops-cs-btn { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .ops-cs-btn:hover { border-color:#33445f; }
[data-theme="dark"] .ops-cs.on .ops-cs-btn { background:var(--bg-hover); border-color:#46597a; }
[data-theme="dark"] .ops-cs.open .ops-cs-btn { background:var(--bg-card); }
[data-theme="dark"] .ops-cs-btn .cs-ic { color:#8296b0; }
[data-theme="dark"] .ops-cs.on .ops-cs-btn .cs-ic { color:var(--text-2); }
[data-theme="dark"] .ops-cs-btn .cs-caret { color:#8296b0; }
[data-theme="dark"] .ops-cs-panel { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .ops-cs-search { background:var(--bg-inset); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .ops-cs-search input { color:var(--text-1); }
[data-theme="dark"] .ops-cs-list::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .ops-cs-opt { color:var(--text-2); }
[data-theme="dark"] .ops-cs-opt:hover { background:var(--bg-hover); }
[data-theme="dark"] .ops-cs-empty { color:#8296b0; }
[data-theme="dark"] .ops-ab-clear { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .ops-ab-clear:hover { background:var(--bg-hover); }
[data-theme="dark"] .ops-tourlink:hover { color:var(--text-2) !important; }
[data-theme="dark"] .ops-res-chip { color:var(--text-2); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .ops-res-chip i { color:var(--text-2); }
[data-theme="dark"] .ops-res-chip b { color:var(--text-1); }

/* ── resources/views/agency/operations/_styles.blade.php ── */
[data-theme="dark"] .ops-board { --slate:var(--text-2); --slate-d:var(--text-1); --line:var(--border-1); --muted:var(--text-3); }
[data-theme="dark"] .ops-stat { background:var(--bg-card); }
[data-theme="dark"] .ops-toolbar { background:var(--bg-card); }
[data-theme="dark"] .ops-search { background:var(--bg-inset); }
[data-theme="dark"] .ops-search input { color:var(--text-1); }
[data-theme="dark"] .ops-select { color:var(--text-2); background:var(--bg-card); }
[data-theme="dark"] .ops-pending-link { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .ops-back-link { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .ops-dayhead .wday { color:var(--text-1); }
[data-theme="dark"] .ops-card { background:var(--bg-card); }
[data-theme="dark"] .ops-card:hover { border-color:#33445f; }
[data-theme="dark"] .ops-private { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); color:#fb7185; }
[data-theme="dark"] .ops-tourname { color:var(--text-1); }
[data-theme="dark"] .ops-code { color:#8296b0; }
[data-theme="dark"] .ops-ring .inner { background:var(--bg-card); }
[data-theme="dark"] .ops-ring .inner .n { color:var(--text-1); }
[data-theme="dark"] .ops-ring .inner .t { color:#8296b0; }
[data-theme="dark"] .ops-meta-item { color:var(--text-2); }
[data-theme="dark"] .ops-meta-item i { color:#8296b0; }
[data-theme="dark"] .ops-svc span { background:var(--bg-inset); }
[data-theme="dark"] .ops-svc span.on { background:rgba(34,197,94,.17); border-color:rgba(34,197,94,.42); color:#4ade80; }
[data-theme="dark"] .ops-rev { color:var(--text-1); }
[data-theme="dark"] .ops-rev small { color:#8296b0; }
[data-theme="dark"] .ops-due { color:#fbbf24; }
[data-theme="dark"] .ops-due.ok { color:#34d399; }
[data-theme="dark"] .ops-btn { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .ops-btn:hover { border-color:#46597a; color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .ops-btn.ok:hover { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .ops-btn.no:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .ops-empty h5 { color:var(--text-2); }

/* ── resources/views/agency/operations/_undated.blade.php ── */
[data-theme="dark"] .ops-warn { background:linear-gradient(180deg,rgba(245,158,11,.10),rgba(245,158,11,.05)); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .ops-warn-txt b { color:#fdba74; }
[data-theme="dark"] .ops-warn-txt small { color:#facc15; }
[data-theme="dark"] .ops-warn-tgl { background:var(--bg-card); color:#fbbf24; }
[data-theme="dark"] .ops-warn-tgl:hover { background:rgba(245,158,11,.10); }
[data-theme="dark"] .ops-warn-item { background:var(--bg-card); border-color:rgba(245,158,11,.30); }
[data-theme="dark"] .ops-warn-item .wi-ic { color:#fbbf24; background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .ops-warn-item .wi-t b { color:var(--text-1); }
[data-theme="dark"] .ops-warn-item .wi-t small { color:#8296b0; }
[data-theme="dark"] .ops-warn-item .wi-m { color:var(--text-3); }
[data-theme="dark"] .ops-warn-item .wi-rev { color:var(--text-1); }
[data-theme="dark"] .ops-warn-item .wi-go { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .ops-warn-item:hover .wi-go { background:rgba(245,158,11,.28); }

/* ── resources/views/agency/operations/partials/_resource-panel.blade.php ── */
[data-theme="dark"] .ops-res-row { border-color:var(--border-1); }
[data-theme="dark"] .ops-res-del { border-color:var(--border-1); background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .ops-res-del:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .ops-res-contract { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .ops-res-contract:hover { background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.42); color:#a5b4fc; }
[data-theme="dark"] .ops-res-cost { border-top-color:var(--border-1); }
[data-theme="dark"] .ops-res-cost > div { background:var(--bg-inset); }
[data-theme="dark"] .ops-res-cost .lbl { color:#8296b0; }
[data-theme="dark"] .ops-res-cost .val { color:var(--text-1); }
[data-theme="dark"] .ops-assign-panel { border-top-color:var(--border-1); }
[data-theme="dark"] .ops-ap-tabs { background:var(--bg-hover); }
[data-theme="dark"] .ops-ap-tab { color:var(--text-3); }
[data-theme="dark"] .ops-ap-search { background:var(--bg-inset); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .ops-ap-search input { color:var(--text-1); }
[data-theme="dark"] .ops-ap-item { border-color:var(--border-1); }
[data-theme="dark"] .ops-ap-item:hover { border-color:#33445f; }
[data-theme="dark"] .ops-ap-ct { border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .ops-ap-unitprice { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .ops-ap-qty { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .ops-ap-unit { border-color:var(--border-1); color:var(--text-2); background:var(--bg-card); }
[data-theme="dark"] .ops-ap-x, [data-theme="dark"] .ops-ap-eq { color:#8296b0; }
[data-theme="dark"] .ops-ap-linetotal { color:var(--text-1); }
[data-theme="dark"] .ops-ap-costs { border-top-color:var(--border-1); }
[data-theme="dark"] .ops-ap-cdel { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.10); color:#f87171; }
[data-theme="dark"] .ops-ap-cadd { border-color:#33445f; background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .ops-ap-cadd:hover { color:#fbbf24; background:rgba(245,158,11,.10); }
[data-theme="dark"] .ops-ap-ctotal { color:var(--text-3); }
[data-theme="dark"] .ops-ap-assign:disabled { background:var(--bg-raise); color:#8296b0; }

/* ── resources/views/agency/operations/partials/contract-modal.blade.php ── */
[data-theme="dark"] #contractModal .rc-label { color:#8296b0; }
[data-theme="dark"] #contractModal .rc-existing-item { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] #contractModal .rc-existing-item:hover { border-color:#46597a; background:var(--bg-inset); }
[data-theme="dark"] #contractModal .rc-existing-del { border-color:rgba(239,68,68,.42); background:var(--bg-card); }
[data-theme="dark"] #contractModal .rc-existing-del:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] #contractModal .rc-manual-field label { color:var(--text-2); }
[data-theme="dark"] #contractModal .ql-toolbar.ql-snow { border-bottom-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] body { color:var(--text-1); }

/* ── resources/views/agency/operations/partials/manifest-styles.blade.php ── */
[data-theme="dark"] .pmf-bar { background:linear-gradient(135deg,var(--bg-inset),var(--bg-hover)); border-color:var(--border-1); }
[data-theme="dark"] .pmf-stat { color:var(--text-3); }
[data-theme="dark"] .pmf-stat i { color:#8296b0; }
[data-theme="dark"] .pmf-stat b { color:var(--text-1); }
[data-theme="dark"] .pmf-stat.ok i, [data-theme="dark"] .pmf-stat.ok b { color:#4ade80; }
[data-theme="dark"] .pmf-stat.warn i, [data-theme="dark"] .pmf-stat.warn b { color:#fbbf24; }
[data-theme="dark"] .pmf-sep { background:var(--bg-raise); }
[data-theme="dark"] .pmf-view { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .pmf-view button { color:#8296b0; }
[data-theme="dark"] .pmf-view button:hover { color:var(--text-2); background:var(--bg-hover); }
[data-theme="dark"] .pmf-btn-exp { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .pmf-btn-exp:hover { background:rgba(34,197,94,.26); }
[data-theme="dark"] .pmf-btn-doc { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .pmf-btn-doc:hover { background:rgba(99,102,241,.21); }
[data-theme="dark"] .pmf-table-scroll { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .pmf-table thead th { background:var(--bg-inset); border-bottom-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .pmf-table tbody td { border-bottom-color:var(--border-2); color:var(--text-2); }
[data-theme="dark"] .pmf-table tbody tr:hover td { background:var(--bg-inset); }
[data-theme="dark"] .pmf-table tbody tr.is-unnamed td { background:rgba(245,158,11,.05); }
[data-theme="dark"] .pmf-table tbody tr.is-unnamed:hover td { background:rgba(245,158,11,.10); }
[data-theme="dark"] .pmf-pax.is-link:hover { background:rgba(139,92,246,.11); }
[data-theme="dark"] .pmf-pax.is-link:hover .pmf-name { color:#a5b4fc; }
[data-theme="dark"] .pmf-av.ghost { background:var(--bg-raise); color:#8296b0; }
[data-theme="dark"] .pmf-name { color:var(--text-1); }
[data-theme="dark"] .pmf-meta { color:#8296b0; }
[data-theme="dark"] .pmf-chip { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .pmf-chip.ok { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .pmf-chip.warn { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .pmf-idcell, [data-theme="dark"] .pmf-rescell { color:var(--text-3); }
[data-theme="dark"] .pmf-link { color:#a5b4fc; }
[data-theme="dark"] .pmf-link.pmf-cust { color:var(--text-3); }
[data-theme="dark"] .pmf-link.pmf-cust:hover { color:#a5b4fc; }
[data-theme="dark"] .pmf-cell { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .pmf-cell.is-saving { background:rgba(245,158,11,.10); }
[data-theme="dark"] .pmf-cell.is-ok { background:rgba(34,197,94,.10); }
[data-theme="dark"] .pmf-cell.is-err { background:rgba(239,68,68,.10); }
[data-theme="dark"] .pmf-docbadge { background:rgba(99,102,241,.13); color:#a5b4fc; border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .pmf-docbadge.none { background:var(--bg-inset); color:#8296b0; border-color:var(--border-1); }
[data-theme="dark"] .pmf-iconbtn { border-color:var(--border-1); background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .pmf-iconbtn:hover { border-color:rgba(99,102,241,.42); color:#a5b4fc; background:rgba(139,92,246,.11); }
[data-theme="dark"] .pmf-iconbtn.ok { color:#4ade80; }
[data-theme="dark"] .pmf-addpax { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] .pmf-addpax:hover { background:rgba(245,158,11,.18); }
[data-theme="dark"] .pmf-detail td { background:var(--bg-inset) !important; }
[data-theme="dark"] .pmf-dfld label { color:#8296b0; }
[data-theme="dark"] .pmf-dfld > span { color:var(--text-2); }
[data-theme="dark"] .pmf-empty { color:#8296b0; }
[data-theme="dark"] .pmf-foot { color:#8296b0; }
[data-theme="dark"] .pmf-selinfo { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .pmf-check span { border-color:#33445f; background:var(--bg-card); }
[data-theme="dark"] .pmf-ov-card { background:var(--bg-inset); }
[data-theme="dark"] .pmf-ov-txt p { color:#8296b0; }
[data-theme="dark"] .pmf-ov-foot { background:var(--bg-card); border-top-color:var(--border-1); }
[data-theme="dark"] .pmf-sec-h { color:var(--text-1); }
[data-theme="dark"] .pmf-sec-hint { color:#8296b0; }
[data-theme="dark"] .pmf-mini { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .pmf-mini:hover { border-color:rgba(99,102,241,.42); color:#a5b4fc; }
[data-theme="dark"] .pmf-preset { background:var(--bg-card); }
[data-theme="dark"] .pmf-preset i { color:#8296b0; }
[data-theme="dark"] .pmf-preset span { color:var(--text-2); }
[data-theme="dark"] .pmf-preset.active { background:rgba(34,197,94,.10); }
[data-theme="dark"] .pmf-preset.active i, [data-theme="dark"] .pmf-preset.active span { color:#34d399; }
[data-theme="dark"] .pmf-colgroup { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .pmf-colgroup-h { color:#8296b0; }
[data-theme="dark"] .pmf-col { color:var(--text-2); }
[data-theme="dark"] .pmf-col:hover { background:var(--bg-inset); }
[data-theme="dark"] .pmf-fmt-face { background:var(--bg-card); }
[data-theme="dark"] .pmf-fmt-face b { color:var(--text-1); }
[data-theme="dark"] .pmf-fmt-face small { color:#8296b0; }
[data-theme="dark"] .pmf-fmt input:checked + .pmf-fmt-face { background:rgba(34,197,94,.10); }
[data-theme="dark"] .pmf-select, [data-theme="dark"] .pmf-input { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .pmf-radio, [data-theme="dark"] .pmf-switch { background:var(--bg-card); }
[data-theme="dark"] .pmf-radio b, [data-theme="dark"] .pmf-switch b { color:var(--text-1); }
[data-theme="dark"] .pmf-radio small { color:#8296b0; }
[data-theme="dark"] .pmf-switch span { color:var(--text-2); }
[data-theme="dark"] .pmf-radio:has(input:checked), [data-theme="dark"] .pmf-switch:has(input:checked) { background:rgba(244,63,94,.10); }
[data-theme="dark"] .pmf-manual-h { color:#8296b0; }
[data-theme="dark"] .pmf-manual-h i { color:#fb7185; }
[data-theme="dark"] .pmf-mfld label { color:#8296b0; }
[data-theme="dark"] .pmf-note.warn { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); color:#fcd34d; }
[data-theme="dark"] .pmf-doc { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .pmf-cancel { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .pmf-cancel:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .pmf-danger { border-color:rgba(239,68,68,.42); background:var(--bg-card); color:#f87171; }
[data-theme="dark"] .pmf-danger:hover { background:rgba(239,68,68,.10); }

/* ── resources/views/agency/operations/pending.blade.php ── */
[data-theme="dark"] .ops-card.pending::before { background:#33445f; }
[data-theme="dark"] .ops-wait { background:var(--bg-hover); color:var(--text-3); }

/* ── resources/views/agency/operations/quick-view.blade.php ── */
[data-theme="dark"] .ops-pax-btn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .ops-mf-sale { border-color:var(--border-1); }
[data-theme="dark"] .ops-mf-head { background:var(--bg-inset); }
[data-theme="dark"] .ops-mf-av { background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .ops-mf-pax { border-bottom-color:var(--border-2); }
[data-theme="dark"] .ops-mf-no { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .ops-mf-tag { color:var(--text-2); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .ops-mf-empty { color:#8296b0; }
[data-theme="dark"] .ops-mf-pay-detail { border-color:var(--border-1); background:var(--bg-card); color:#34d399; }
[data-theme="dark"] .ops-mf-pay-detail:hover { border-color:rgba(16,185,129,.42); background:rgba(16,185,129,.10); }
[data-theme="dark"] .ops-mf-pay-form input { border-color:var(--border-1); }
[data-theme="dark"] .ops-pax-row:hover { border-color:#33445f !important; background:var(--bg-inset); }
[data-theme="dark"] .ops-tourlink:hover { color:var(--text-1) !important; }
[data-theme="dark"] .opsqv-reslink:hover { color:#a5b4fc; }
[data-theme="dark"] .opsqv-suplink { color:#38bdf8; background:rgba(14,165,233,.17); border-color:rgba(14,165,233,.42); }
[data-theme="dark"] .opsqv-suplink:hover { background:rgba(14,165,233,.28); }
[data-theme="dark"] .opsqv-task { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .opsqv-task:hover { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); }
[data-theme="dark"] .opsqv-task:hover .opsqv-task-go { color:#fbbf24; }
[data-theme="dark"] .opsqv-res { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .opsqv-res:hover { border-color:#33445f; }
[data-theme="dark"] .opsqv-btn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .opsqv-btn.unconfirm { border-color:rgba(34,197,94,.42); background:rgba(34,197,94,.10); color:#4ade80; }
[data-theme="dark"] .opsqv-btn.contract:hover { background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.42); color:#a5b4fc; }
[data-theme="dark"] .opsqv-btn.del { color:#8296b0; }
[data-theme="dark"] .opsqv-btn.del:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .opsqv-tabs { background:var(--bg-hover); }
[data-theme="dark"] .opsqv-tab { color:var(--text-3); }
[data-theme="dark"] .opsqv-search { background:var(--bg-card); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .opsqv-search input { color:var(--text-1); }
[data-theme="dark"] .opsqv-item { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .opsqv-item:hover { border-color:#33445f; }
[data-theme="dark"] .opsqv-assign:disabled { background:var(--bg-raise); color:#8296b0; }
[data-theme="dark"] .opsqv-costs { border-top-color:var(--border-1); }
[data-theme="dark"] .opsqv-ct { border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .opsqv-up { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .opsqv-qty { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .opsqv-unit { border-color:var(--border-1); color:var(--text-2); background:var(--bg-card); }
[data-theme="dark"] .opsqv-x, [data-theme="dark"] .opsqv-eq { color:#8296b0; }
[data-theme="dark"] .opsqv-line { color:var(--text-1); }
[data-theme="dark"] .opsqv-cdel { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.10); color:#f87171; }
[data-theme="dark"] .opsqv-cadd { border-color:#33445f; background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .opsqv-cadd:hover { color:#fbbf24; background:rgba(245,158,11,.10); }
[data-theme="dark"] .opsqv-ctotal { color:var(--text-3); }
[data-theme="dark"] .opsqv-rc-card { background:var(--bg-card); }
[data-theme="dark"] .opsqv-rc-body { background:var(--bg-inset); }
[data-theme="dark"] .opsqv-rc-label { color:#8296b0; }
[data-theme="dark"] .opsqv-rc-item { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .opsqv-rc-item:hover { border-color:#46597a; background:var(--bg-inset); }
[data-theme="dark"] .opsqv-rc-del { border-color:rgba(239,68,68,.42); background:var(--bg-card); }
[data-theme="dark"] .opsqv-rc-del:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .opsqv-rc-manual label { color:var(--text-2); }

/* ── resources/views/agency/operations/show.blade.php ── */
[data-theme="dark"] .opsd-head { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .opsd-title { color:var(--text-1); }
[data-theme="dark"] .opsd-card { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .opsd-card h6 { color:var(--text-1); }
[data-theme="dark"] .opsd-stat { background:var(--bg-inset); }
[data-theme="dark"] .opsd-stat .v { color:var(--text-1); }
[data-theme="dark"] .opsd-stat .l { color:#8296b0; }
[data-theme="dark"] .opsd-pax { border-color:var(--border-1); }
[data-theme="dark"] .opsd-pax:hover { border-color:#33445f; background:var(--bg-inset); }
[data-theme="dark"] .ops-ap-cost { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .ops-ap-x { color:#8296b0; }
[data-theme="dark"] .ops-ap-eq { color:#8296b0; }
[data-theme="dark"] .ops-res-citem { color:#8296b0; }

/* ── resources/views/agency/page/editor.blade.php ── */
:root[data-theme="dark"] { --gray-50:var(--bg-inset); --gray-100:var(--bg-hover); --gray-200:var(--bg-raise); --gray-300:#33445f; --gray-400:#3e5273; --gray-500:var(--text-3); --gray-600:var(--text-2); --gray-700:var(--text-2); --gray-800:var(--text-1); --gray-900:var(--text-1); }
[data-theme="dark"] .editor-header { background:var(--bg-card); }
[data-theme="dark"] .status-badge.published { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .status-badge.draft { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .btn-light { background:var(--bg-card); }
[data-theme="dark"] .btn-history { background:linear-gradient(135deg, var(--bg-card) 0%, var(--bg-hover) 100%); }
[data-theme="dark"] .btn-history:hover { background:linear-gradient(135deg, rgba(14,165,233,.10) 0%, rgba(14,165,233,.17) 100%); }
[data-theme="dark"] .editor-sidebar { background:var(--bg-card); }
[data-theme="dark"] .editor-panel { background:var(--bg-card); }
[data-theme="dark"] .alert-success { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .alert-error { background:rgba(239,68,68,.17); color:#fca5a5; }

/* ── resources/views/agency/page/partials/add-section-modal.blade.php ── */
[data-theme="dark"] .section-modal-content { background:var(--bg-card); }
[data-theme="dark"] .section-modal .modal-header { border-bottom-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .section-modal .modal-header h3 { color:var(--text-1); }
[data-theme="dark"] .section-modal .modal-close { color:var(--text-3); }
[data-theme="dark"] .section-modal .modal-close:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .section-modal .modal-body { background:var(--bg-card); }
[data-theme="dark"] .category-tab { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .category-tab:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .section-type-card { border-color:var(--border-1); }
[data-theme="dark"] .section-type-card:hover { background:rgba(59,130,246,.12); }
[data-theme="dark"] .section-type-name { color:var(--text-1); }
[data-theme="dark"] .section-type-description { color:var(--text-3); }

/* ── resources/views/agency/page/partials/edit-section-modal.blade.php ── */
[data-theme="dark"] .modal-container { background:var(--bg-card); }
[data-theme="dark"] .modal-header { border-bottom-color:var(--border-2); }
[data-theme="dark"] .modal-title { color:var(--text-1); }
[data-theme="dark"] .modal-close { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .modal-close:hover { background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .modal-footer { border-top-color:var(--border-2); background:var(--bg-inset); }

/* ── resources/views/agency/page/partials/page-settings.blade.php ── */
[data-theme="dark"] .toggle-slider:before { background-color:var(--bg-card); }
[data-theme="dark"] .action-btn { background:var(--bg-card); }
[data-theme="dark"] .action-btn.text-danger:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .form-check-label { color:var(--text-2); }
[data-theme="dark"] .image-upload-wrapper { border-color:#33445f; }
[data-theme="dark"] .theme-option { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .theme-option:hover { background:rgba(14,165,233,.10); }
[data-theme="dark"] .theme-option.active { background:linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(59,130,246,.20) 100%); }
[data-theme="dark"] .theme-name { color:var(--text-1); }
[data-theme="dark"] .theme-desc { color:var(--text-3); }
[data-theme="dark"] .theme-option.active .theme-name { color:#93c5fd; }

/* ── resources/views/agency/page/partials/revisions-modal.blade.php ── */
[data-theme="dark"] .revision-item { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .revision-meta-item { color:var(--text-3); }
[data-theme="dark"] .revision-changes { background:var(--bg-inset); }
[data-theme="dark"] .revision-changes-title { color:var(--text-2); }
[data-theme="dark"] .revision-change-item { color:var(--text-3); }
[data-theme="dark"] .revision-actions { border-top-color:var(--border-1); }
[data-theme="dark"] .revision-compare-btn { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .revision-compare-btn:hover { background:var(--bg-raise); }

/* ── resources/views/agency/page/partials/section-card.blade.php ── */
[data-theme="dark"] .section-subtitle { color:var(--text-3); }
[data-theme="dark"] .section-description { color:#8296b0; }
[data-theme="dark"] .section-actions { border-top-color:var(--border-1); }
[data-theme="dark"] .action-btn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .action-btn:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .action-btn.text-danger { color:#f87171; }
[data-theme="dark"] .action-btn.text-danger:hover { background:rgba(239,68,68,.17); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .toggle-slider { background-color:#33445f; }

/* ── resources/views/agency/page/partials/theme-selector.blade.php ── */
[data-theme="dark"] .modern-theme-card { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .modern-theme-card:hover { background:rgba(14,165,233,.10); }
[data-theme="dark"] .modern-theme-card.active { background:linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(59,130,246,.20) 100%); }
[data-theme="dark"] .theme-card-name { color:var(--text-1); }
[data-theme="dark"] .theme-card-description { color:var(--text-3); }
[data-theme="dark"] .modern-theme-card.active .theme-card-name { color:#93c5fd; }
[data-theme="dark"] .modern-theme-card.disabled { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .modern-theme-card.disabled:hover { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .modern-theme-card.disabled .theme-card-name { color:var(--text-3); }
[data-theme="dark"] .modern-theme-card.disabled .theme-card-description { color:#8296b0; }
[data-theme="dark"] .modern-theme-card.disabled .theme-card-check { color:#8296b0; }
[data-theme="dark"] .font-option { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .font-option:hover { background:rgba(14,165,233,.10); }
[data-theme="dark"] .font-option.active { background:linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(59,130,246,.20) 100%); }
[data-theme="dark"] .font-preview { color:var(--text-1); }
[data-theme="dark"] .font-option.active .font-preview { color:#60a5fa; }
[data-theme="dark"] .font-name { color:var(--text-3); }
[data-theme="dark"] .font-option.active .font-name { color:#93c5fd; }

/* ── resources/views/agency/page/settings.blade.php ── */
[data-theme="dark"] .domain-card { background:var(--bg-card); }
[data-theme="dark"] .badge-success { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .badge-warning { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .badge-info { background:rgba(6,182,212,.18); color:#a5f3fc; }
[data-theme="dark"] .alert-info { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .alert-warning { background:rgba(245,158,11,.18); color:#fcd34d; }

/* ── resources/views/agency/partials/_billing-card.blade.php ── */
[data-theme="dark"] .qv-bill-row { background:var(--bg-card); border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .qv-bill-row.qv-copied { background:rgba(34,197,94,.17) !important; }
[data-theme="dark"] .qv-bill-label { color:var(--text-3); }
[data-theme="dark"] .qv-bill-val { color:var(--text-1); }
[data-theme="dark"] .qv-bill-copy { color:#8296b0; }
[data-theme="dark"] .qv-bill-all { background:rgba(59,130,246,.12); color:#93c5fd; }

/* ── resources/views/agency/partials/custom-select.blade.php ── */
[data-theme="dark"] .jcs-btn { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .jcs-btn:hover { border-color:#33445f; }
[data-theme="dark"] .jcs.on .jcs-btn { background:var(--bg-hover); border-color:#46597a; }
[data-theme="dark"] .jcs.open .jcs-btn { background:var(--bg-card); }
[data-theme="dark"] .jcs-btn .jcs-ic { color:#8296b0; }
[data-theme="dark"] .jcs.on .jcs-btn .jcs-ic { color:var(--text-2); }
[data-theme="dark"] .jcs-btn .jcs-caret { color:#8296b0; }
[data-theme="dark"] .jcs-panel { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .jcs-search { background:var(--bg-inset); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .jcs-search input { color:var(--text-1); }
[data-theme="dark"] .jcs-list::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .jcs-opt { color:var(--text-2); }
[data-theme="dark"] .jcs-opt:hover { background:var(--bg-hover); }
[data-theme="dark"] .jcs-empty { color:#8296b0; }

/* ── resources/views/agency/payments/index.blade.php ── */
[data-theme="dark"] .pay-alert { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); color:#fcd34d; }
[data-theme="dark"] .pay-alert:hover { background:rgba(245,158,11,.18); color:#fde68a; }
[data-theme="dark"] .pay-code { color:var(--text-3); }
[data-theme="dark"] .pay-date { color:var(--text-1); }
[data-theme="dark"] .pay-time { color:#8296b0; }
[data-theme="dark"] .dir-in .pay-party-av { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .dir-out .pay-party-av { background:rgba(244,63,94,.10); color:#fb7185; }
[data-theme="dark"] .pay-party-name { color:var(--text-1); }
[data-theme="dark"] .pay-party-sub { color:#8296b0; }
[data-theme="dark"] .pay-method { color:var(--text-2); }
[data-theme="dark"] .pay-method i { color:#8296b0; }
[data-theme="dark"] .pay-provider { color:#8296b0; }
[data-theme="dark"] .pay-link { background:var(--bg-card); color:#a5b4fc; }
[data-theme="dark"] .pay-link:hover { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); }
[data-theme="dark"] .pay-link.inv { color:#34d399; }
[data-theme="dark"] .pay-link.inv:hover { border-color:rgba(16,185,129,.42); background:rgba(16,185,129,.10); }
[data-theme="dark"] .pay-nofinv { background:rgba(245,158,11,.10); color:#fbbf24; border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .pay-desc { color:var(--text-2); }
[data-theme="dark"] .pay-amount.in { color:#34d399; }
[data-theme="dark"] .pay-amount.out { color:#fb7185; }
[data-theme="dark"] .pay-fee { color:#8296b0; }
[data-theme="dark"] .pay-status { border-color:var(--border-1); }
[data-theme="dark"] .pay-overdue { color:#f87171; }
[data-theme="dark"] .pay-docs-badge { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .pay-act { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .pay-act:hover { color:#a5b4fc; background:rgba(99,102,241,.13); }

/* ── resources/views/agency/payments/partials/payment-list.blade.php ── */
[data-theme="dark"] .pmt-sum { background:var(--bg-card); border-left-color:#33445f; }
[data-theme="dark"] .pmt-sum-lbl { color:#8296b0; }
[data-theme="dark"] .pmt-sum-val { color:var(--text-1); }
[data-theme="dark"] .pmt-sum.ok .pmt-sum-val { color:#34d399; }
[data-theme="dark"] .pmt-sum.warn .pmt-sum-val { color:#fbbf24; }
[data-theme="dark"] .pmt-bar-info { color:#8296b0; }
[data-theme="dark"] .pmt-row { background:var(--bg-card); }
[data-theme="dark"] .pmt-row:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .pmt-ic { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .pmt-row.dir-in .pmt-ic { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .pmt-row.dir-out .pmt-ic { background:rgba(244,63,94,.10); color:#fb7185; }
[data-theme="dark"] .pmt-method { color:var(--text-1); }
[data-theme="dark"] .pmt-ref { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .pmt-docs { color:var(--text-3); }
[data-theme="dark"] .pmt-nofinv { background:rgba(245,158,11,.10); color:#fbbf24; border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .pmt-line2 { color:#8296b0; }
[data-theme="dark"] .pmt-dot { background:#33445f; }
[data-theme="dark"] .pmt-amount.in { color:#34d399; }
[data-theme="dark"] .pmt-amount.out { color:#fb7185; }
[data-theme="dark"] .pmt-inv { color:#8296b0; }
[data-theme="dark"] .pmt-inv-link:hover { color:#a5b4fc; }
[data-theme="dark"] .pmt-party-link { border-bottom-color:#33445f; }
[data-theme="dark"] .pmt-party-link:hover { color:#34d399; }
[data-theme="dark"] .pmt-empty { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .pmt-empty b { color:var(--text-2); }
[data-theme="dark"] .pmt-empty span { color:#8296b0; }

/* ── resources/views/agency/payments/partials/quick-view-styles.blade.php ── */
[data-theme="dark"] .qv-payments-wrapper { --pay-soft:rgba(16,185,129,.10); --pay-line:rgba(16,185,129,.42); --ink:var(--text-1); }
[data-theme="dark"] .qv-payments-wrapper.pay-dir-out { --pay-soft:rgba(244,63,94,.10); --pay-line:rgba(244,63,94,.42); }
[data-theme="dark"] .payqv-title-input::placeholder { color:var(--text-3); }
[data-theme="dark"] .payqv-save { color:#8296b0; }
[data-theme="dark"] .payqv-dirbtn { color:#8296b0; }
[data-theme="dark"] .payqv-amount-field input::placeholder { color:var(--text-2); }
[data-theme="dark"] .payqv-amount-field select option { color:var(--text-1); }
[data-theme="dark"] .payqv-fee span { color:var(--text-3); }
[data-theme="dark"] .payqv-net { color:#8296b0; }
[data-theme="dark"] .payqv-body { background:var(--bg-inset); }
[data-theme="dark"] .payqv-sec-h { color:var(--text-1); }
[data-theme="dark"] .payqv-sec-h small { color:#8296b0; }
[data-theme="dark"] .payqv-method { background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .payqv-method i { color:#8296b0; }
[data-theme="dark"] .payqv-extra { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .payqv-fld > span { color:#8296b0; }
[data-theme="dark"] .payqv-fld input, [data-theme="dark"] .payqv-fld select, [data-theme="dark"] .payqv-fld textarea { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .payqv-partytypes button { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .payqv-partytypes button:hover { color:var(--text-2); }
[data-theme="dark"] .payqv-search > i { color:#8296b0; }
[data-theme="dark"] .payqv-search > input { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .payqv-results { background:var(--bg-card); }
[data-theme="dark"] .payqv-results b { color:var(--text-1); }
[data-theme="dark"] .payqv-results small { color:#8296b0; }
[data-theme="dark"] .payqv-rchip.inv { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .payqv-rchip.sale { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .payqv-chosen, [data-theme="dark"] .payqv-linked { background:var(--bg-card); }
[data-theme="dark"] .payqv-chosen-txt b { color:var(--text-1); }
[data-theme="dark"] .payqv-chosen-txt small { color:#8296b0; }
[data-theme="dark"] .payqv-linked-title { color:var(--text-1); }
[data-theme="dark"] .payqv-linked-sub { color:var(--text-3); }
[data-theme="dark"] .payqv-linked-bal { color:var(--text-3); }
[data-theme="dark"] .payqv-linked-bal b { color:var(--text-1); }
[data-theme="dark"] .payqv-jump, [data-theme="dark"] .payqv-chosen-x { background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .payqv-chosen-x:hover { color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .payqv-nofinv { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .payqv-nofinv > i { color:#fbbf24; }
[data-theme="dark"] .payqv-nofinv b { color:#fcd34d; }
[data-theme="dark"] .payqv-nofinv span { color:#facc15; }
[data-theme="dark"] .payqv-nofinv-btn { background:var(--bg-card); color:#fbbf24; }
[data-theme="dark"] .payqv-nofinv-btn:hover { background:rgba(245,158,11,.18); }
[data-theme="dark"] .payqv-drop { background:var(--bg-card); }
[data-theme="dark"] .payqv-drop b { color:var(--text-2); }
[data-theme="dark"] .payqv-drop span { color:#8296b0; }
[data-theme="dark"] .payqv-doc { background:var(--bg-card); }
[data-theme="dark"] .payqv-doc.is-pending { background:var(--bg-inset); }
[data-theme="dark"] .payqv-doc-txt b { color:var(--text-1); }
[data-theme="dark"] .payqv-doc-txt small { color:#8296b0; }
[data-theme="dark"] .payqv-doc-btn { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .payqv-doc-btn.danger:hover { color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .payqv-trail { background:var(--bg-inset); color:#8296b0; }
[data-theme="dark"] .payqv-trail-note { color:#fbbf24; }
[data-theme="dark"] .payqv-save-error { border-color:rgba(244,63,94,.42); background:rgba(244,63,94,.10); }
[data-theme="dark"] .payqv-save-error-head { color:#fb7185; }
[data-theme="dark"] .payqv-save-error-msg { color:#fda4af; }
[data-theme="dark"] .payqv-save-error-btn { background:var(--bg-card); color:#fb7185; }
[data-theme="dark"] .payqv-save-error-btn:hover { background:rgba(244,63,94,.17); }
[data-theme="dark"] .payqv-foot { border-top-color:var(--border-2); }
[data-theme="dark"] .payqv-foot-note { color:#8296b0; }
[data-theme="dark"] .payqv-btn.ghost { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .payqv-btn.ghost:hover { border-color:#33445f; color:var(--text-1); }
[data-theme="dark"] .payqv-btn.danger { background:var(--bg-card); border-color:rgba(239,68,68,.42); color:#f87171; }
[data-theme="dark"] .payqv-btn.danger:hover { background:rgba(239,68,68,.10); }

/* ── resources/views/agency/product-types/apply.blade.php ── */
[data-theme="dark"] .apply-card { background:var(--bg-card); }
[data-theme="dark"] .info-section { background:linear-gradient(135deg, rgba(59,130,246,.12) 0%, rgba(59,130,246,.20) 100%); }
[data-theme="dark"] .info-section h3 { color:#93c5fd; }
[data-theme="dark"] .info-section ul { color:#93c5fd; }

/* ── resources/views/agency/product-types/index.blade.php ── */
[data-theme="dark"] .product-type-card { background:var(--bg-card); }

/* ── resources/views/agency/products/_quick-view-styles.blade.php ── */
[data-theme="dark"] .pqv-edit-btn { color:#60a5fa; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .pqv-edit-btn:hover { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .pqv-section { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .pqv-section.pqv-default { border-color:rgba(34,197,94,.42); background:rgba(34,197,94,.10); }
[data-theme="dark"] .pqv-sec-title { color:var(--text-1); }
[data-theme="dark"] .pqv-sec-title i { color:#60a5fa; }
[data-theme="dark"] .pqv-sec-title.text-success i { color:#4ade80; }
[data-theme="dark"] .pqv-sec-title.text-danger i { color:#f87171; }
[data-theme="dark"] .pqv-label { color:#8296b0; }
[data-theme="dark"] .pqv-val { color:var(--text-1); }
[data-theme="dark"] .pqv-prose { color:var(--text-2); }
[data-theme="dark"] .pqv-b-green { background:rgba(34,197,94,.17); color:#86efac; }
[data-theme="dark"] .pqv-b-amber { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .pqv-b-red { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .pqv-b-slate { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .pqv-b-indigo { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .pqv-b-blue { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .pqv-b-orange { background:rgba(249,115,22,.18); color:#fdba74; }
[data-theme="dark"] .pqv-flag.on { background:rgba(34,197,94,.17); color:#86efac; }
[data-theme="dark"] .pqv-flag.off { background:var(--bg-hover); color:#8296b0; }
[data-theme="dark"] .pqv-price { background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .pqv-price-lbl { color:var(--text-3); }
[data-theme="dark"] .pqv-price-val { color:#4ade80; }
[data-theme="dark"] .pqv-itinerary-day { color:#60a5fa; }
[data-theme="dark"] .pqv-itinerary-title { color:var(--text-1); }
[data-theme="dark"] .pqv-itinerary-loc { color:var(--text-3); }
[data-theme="dark"] .pqv-itin-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .pqv-itin-card:hover { border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .pqv-itin-card:not(:last-child)::after { background:rgba(59,130,246,.20); }
[data-theme="dark"] .pqv-itin-t { color:var(--text-1); }
[data-theme="dark"] .pqv-itin-loc { color:var(--text-2); background:var(--bg-hover); }
[data-theme="dark"] .pqv-table thead th { color:var(--text-3); background:var(--bg-inset); border-bottom-color:var(--border-1); }
[data-theme="dark"] .pqv-table tbody td { color:var(--text-2); border-bottom-color:var(--border-2); }
[data-theme="dark"] .pqv-img { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .pqv-img-acts .pqv-iconbtn { background:var(--bg-card); }
[data-theme="dark"] .inline-editable:hover { background:rgba(59,130,246,.12); }
[data-theme="dark"] .pqv-fld > label { color:var(--text-3); }
[data-theme="dark"] .pqv-inp { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .pqv-inp:focus { background:var(--bg-card); }
[data-theme="dark"] .pqv-btn-soft { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .pqv-btn-soft:hover { background:var(--bg-raise); }
[data-theme="dark"] .pqv-iconbtn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .pqv-iconbtn:hover { color:#60a5fa; background:rgba(59,130,246,.12); }
[data-theme="dark"] .pqv-iconbtn.danger:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .pqv-iconbtn.warn:hover { background:rgba(245,158,11,.18); }
[data-theme="dark"] .pqv-iconbtn.success:hover { color:#4ade80; background:rgba(34,197,94,.17); }
[data-theme="dark"] .pqv-iconbtn.jump { border-color:rgba(99,102,241,.30); }
[data-theme="dark"] .pqv-iconbtn.jump:hover { color:#a5b4fc; background:rgba(99,102,241,.13); }
[data-theme="dark"] .pqv-jump-link { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .pqv-jump-link:hover { background:rgba(99,102,241,.21); color:#a5b4fc; }
[data-theme="dark"] .pqv-mp-card { border-color:var(--border-1); }
[data-theme="dark"] .pqv-mp-card:hover { border-color:rgba(59,130,246,.42); background:var(--bg-inset); }
[data-theme="dark"] .pqv-empty { color:#8296b0; }

/* ── resources/views/agency/products/_qv-age-settings.blade.php ── */
[data-theme="dark"] .qv-agesec-tag { color:#fdba74; background:rgba(249,115,22,.18); border-color:rgba(249,115,22,.42); }
[data-theme="dark"] .qv-agesec-hint { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .qv-agesec-hint i { color:#fbbf24; }

/* ── resources/views/agency/products/_qv-dates-ui.blade.php ── */
[data-theme="dark"] .qd-search > i { color:#8296b0; }
[data-theme="dark"] .qd-search input { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .qd-search input:focus { background:var(--bg-card); }
[data-theme="dark"] .qd-statusfilter { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .qd-viewtoggle { background:var(--bg-hover); }
[data-theme="dark"] .qd-vt-btn { color:var(--text-3); }
[data-theme="dark"] .qd-vt-btn:hover { color:#60a5fa; }
[data-theme="dark"] .qd-vt-btn.active { background:var(--bg-card); color:#60a5fa; }
[data-theme="dark"] .qd-addform { background:var(--bg-card); border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .qd-addform-head { color:#bfdbfe; }
[data-theme="dark"] .qd-addform-head i { color:#60a5fa; }
[data-theme="dark"] .qd-addform-foot { border-top-color:var(--border-2); }
[data-theme="dark"] .qd-copybar { background:linear-gradient(135deg,rgba(168,85,247,.09),rgba(59,130,246,.12)); border-color:rgba(168,85,247,.42); }
[data-theme="dark"] .qd-copybar label { color:#d8b4fe; }
[data-theme="dark"] .qd-fs-title { color:var(--text-2); }
[data-theme="dark"] .qd-fs-title i { color:#60a5fa; }
[data-theme="dark"] .qd-fld > label { color:var(--text-3); }
[data-theme="dark"] .qd-fld > label small { color:#8296b0; }
[data-theme="dark"] .qd-auto { background:rgba(34,197,94,.17); color:#86efac; }
[data-theme="dark"] .qd-inp { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .qd-inp:focus { background:var(--bg-card); }
[data-theme="dark"] .qd-checks { color:var(--text-2); }
[data-theme="dark"] .qd-hint { color:#8296b0; }
[data-theme="dark"] .qd-rule .qd-rule-mode { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); }
[data-theme="dark"] .qd-head { color:#8296b0; }
[data-theme="dark"] .qd-date-range { color:var(--text-1); }
[data-theme="dark"] .qd-code { color:#8296b0; }
[data-theme="dark"] .qd-c-dur { color:var(--text-2); }
[data-theme="dark"] .qd-c-dur i { color:#8296b0; }
[data-theme="dark"] .qd-price-val { color:#4ade80; }
[data-theme="dark"] .qd-c-price small { color:#8296b0; }
[data-theme="dark"] .qd-price-sub { color:#fbbf24; }
[data-theme="dark"] .qd-c-room { color:var(--text-2); }
[data-theme="dark"] .qd-c-room i { color:#8296b0; }
[data-theme="dark"] .qd-capbar { background:var(--bg-hover); }
[data-theme="dark"] .qd-cap-txt { color:var(--text-3); }
[data-theme="dark"] .qd-list:not(.qd-mode-table) .qd-row { border-color:var(--border-2); }
[data-theme="dark"] .qd-list:not(.qd-mode-table) .qd-row:hover { border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .qd-list:not(.qd-mode-table) .qd-c-acts { border-top-color:var(--border-2); }
[data-theme="dark"] .qd-list:not(.qd-mode-table) .qd-cell[data-label]::before { color:#8296b0; }
[data-theme="dark"] .qd-list.qd-mode-table { border-color:var(--border-2); }
[data-theme="dark"] .qd-list.qd-mode-table .qd-head { background:var(--bg-inset); border-bottom-color:var(--border-1); }
[data-theme="dark"] .qd-list.qd-mode-table .qd-row { border-bottom-color:var(--border-2); }
[data-theme="dark"] .qd-list.qd-mode-table .qd-row:hover { background:var(--bg-inset); }
/* Açılan tarih düzenleme paneli: light kuralında background:#fbfdff var, üreteç yalnızca
   kenarlığı çevirmişti → panel bembeyaz kalıyor, üstündeki açık renk metinler okunmuyordu.
   Yarı saydam .qd-copybar de bu beyazı gösterdiği için pembe görünüyordu. */
[data-theme="dark"] .qd-list.qd-mode-table .qd-editform { background:var(--bg-inset); border-top-color:var(--border-1); }
[data-theme="dark"] .qd-noresult { color:#8296b0; }
[data-theme="dark"] .qd-fold-head { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qd-fold-head:hover { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.08); }
[data-theme="dark"] .qd-fold.open .qd-fold-head { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); }
[data-theme="dark"] .qd-fold-ico { background:rgba(99,102,241,.21); color:#a5b4fc; }
[data-theme="dark"] .qd-fold-info b { color:var(--text-2); }
[data-theme="dark"] .qd-fold-info small { color:var(--text-3); }
[data-theme="dark"] .qd-fold-chip.is-auto { color:#a5b4fc; background:rgba(99,102,241,.21); }
[data-theme="dark"] .qd-fold-chip.is-custom { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] .qd-fold-chip.is-empty { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .qd-fold-chev { color:#8296b0; }
[data-theme="dark"] .qd-fold-body { border-color:rgba(99,102,241,.42); background:var(--bg-card); }
@media (max-width:640px) {
  [data-theme="dark"] .qd-list.qd-mode-table .qd-cell[data-label]::before { color:#8296b0; }
}

/* ── resources/views/agency/products/_qv-general-inline.blade.php ── */
[data-theme="dark"] .dp-toggle:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .dp-toggle-track { background:#33445f; }
[data-theme="dark"] .dp-toggle-thumb { background:var(--bg-card); }
[data-theme="dark"] .dp-toggle-title { color:var(--text-1); }
[data-theme="dark"] .dp-toggle-title i { color:#a5b4fc; }
[data-theme="dark"] .dp-toggle-sub { color:#8296b0; }
[data-theme="dark"] .dp-row::before { background:linear-gradient(rgba(99,102,241,.21),rgba(99,102,241,.13)); }
[data-theme="dark"] .dp-field { background:var(--bg-card); }
[data-theme="dark"] .dp-field:focus-within > i { color:#a5b4fc; }
[data-theme="dark"] .dp-input { color:var(--text-1); }
[data-theme="dark"] .dp-del { background:var(--bg-card); }
[data-theme="dark"] .dp-add { border-color:rgba(99,102,241,.42); background:rgba(139,92,246,.11); color:#a5b4fc; }
[data-theme="dark"] .qcat-face { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .qcat-chip:hover .qcat-face { border-color:rgba(99,102,241,.42); color:#a5b4fc; }
[data-theme="dark"] .qv-cat-add { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .qv-cat-add:focus-within { background:var(--bg-card); }
[data-theme="dark"] .qv-cat-add input { color:var(--text-1); }

/* ── resources/views/agency/products/_qv-hours-unit-field.blade.php ── */
[data-theme="dark"] .qvdh .qvdh-val { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qvdh .qvdh-unit { border-color:var(--border-1); color:var(--text-2); background:var(--bg-inset); }
[data-theme="dark"] .qvdh .qvdh-echo { color:#8296b0; }

/* ── resources/views/agency/products/_qv-marketplace-prices-ui.blade.php ── */
[data-theme="dark"] .mpp-section-title { color:var(--text-2); }
[data-theme="dark"] .mpp-section-title i { color:#60a5fa; }
[data-theme="dark"] .mpp-cls-badge { color:#a5b4fc; background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.30); }
[data-theme="dark"] .mpp-empty { background:rgba(249,115,22,.10); border-color:rgba(249,115,22,.42); color:#fdba74; }
[data-theme="dark"] .mpp-toolbar { background:linear-gradient(135deg,rgba(59,130,246,.12),rgba(168,85,247,.09)); border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .mpp-auto { color:#bfdbfe; }
[data-theme="dark"] .mpp-auto i { color:#a78bfa; }
[data-theme="dark"] .mpp-hint { color:#8296b0; }
[data-theme="dark"] .mpp-card { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .mpp-card:hover { border-color:#33445f; }
[data-theme="dark"] .mpp-card.is-primary { background:linear-gradient(180deg,var(--bg-card),rgba(59,130,246,.10)); border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .mpp-name { color:var(--text-1); }
[data-theme="dark"] .mpp-badge.primary { background:rgba(59,130,246,.12); color:#93c5fd; border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .mpp-copy-btn { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .mpp-copy-btn:hover { background:rgba(139,92,246,.11); color:#c4b5fd; }
[data-theme="dark"] .mpp-copy-menu { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .mpp-copy-title { color:#8296b0; }
[data-theme="dark"] .mpp-copy-menu button { color:var(--text-2); }
[data-theme="dark"] .mpp-copy-menu button:hover { background:var(--bg-hover); color:#60a5fa; }
[data-theme="dark"] .mpp-copy-menu button i { color:#a78bfa; }
[data-theme="dark"] .mpp-copy-menu button small { color:#8296b0; }
[data-theme="dark"] .mpp-nocur { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); color:#fca5a5; }
[data-theme="dark"] .mpp-classrow { border-color:var(--border-2); }
[data-theme="dark"] .mpp-classrow.is-base-cls { background:var(--bg-inset); }
[data-theme="dark"] .mpp-cls-full { color:var(--text-2); }
[data-theme="dark"] .mpp-cls-tag { color:var(--text-3); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .mpp-cls-tag.base { color:#a5b4fc; background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.30); }
[data-theme="dark"] .mpp-fld label { color:var(--text-3); }
[data-theme="dark"] .mpp-inp input { border-color:var(--border-1); background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .mpp-inp input:focus { background:var(--bg-card); }
[data-theme="dark"] .mpp-suffix { color:#8296b0; }

/* ── resources/views/agency/products/_qv-marketplaces.blade.php ── */
[data-theme="dark"] .pqv-mp-card.is-primary-mp { background:rgba(245,158,11,.10) !important; }

/* ── resources/views/agency/products/_qv-media.blade.php ── */
[data-theme="dark"] .dz-typefld label { color:var(--text-3); }
[data-theme="dark"] .dz-type { color:var(--text-1); background:var(--bg-card); }
[data-theme="dark"] .dz-zone:hover, [data-theme="dark"] .dz-zone:focus-visible { background:rgba(139,92,246,.11); }
[data-theme="dark"] .dz-zone.dz-over { background:rgba(99,102,241,.13); }
[data-theme="dark"] .dz-title { color:var(--text-1); }
[data-theme="dark"] .dz-hint { color:#8296b0; }
[data-theme="dark"] .dz-count { color:var(--text-3); }

/* ── resources/views/agency/products/_qv-pricing-classes-ui.blade.php ── */
[data-theme="dark"] .pcc-toggle { color:var(--text-1); background:linear-gradient(135deg,rgba(139,92,246,.11),rgba(99,102,241,.13)); border-color:rgba(99,102,241,.30); }
[data-theme="dark"] .pcc-toggle b { color:#a5b4fc; }
[data-theme="dark"] .pcc-groupbar { background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .pcc-groupbar label { color:var(--text-2); }
[data-theme="dark"] .pcc-groupbar select { border-color:var(--border-1); background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .pcc-capbar > span { color:var(--text-2); }
[data-theme="dark"] .pcc-capbar small { color:#8296b0; }
[data-theme="dark"] .pcc-mini { border-color:rgba(139,92,246,.42); background:rgba(139,92,246,.11); color:#c4b5fd; }
[data-theme="dark"] .pcc-cell label { color:var(--text-2); }
[data-theme="dark"] .pcc-base { color:#a5b4fc; background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.30); }
[data-theme="dark"] .pcc-cell input { border-color:var(--border-1); background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .pcc-total { color:var(--text-2); background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .pcc-hint { color:#8296b0; }

/* ── resources/views/agency/products/_qv-richtext.blade.php ── */
[data-theme="dark"] .qv-quill-wrap .ql-toolbar.ql-snow, [data-theme="dark"] .qv-quill-wrap .ql-container.ql-snow { border-color:var(--border-1); }
[data-theme="dark"] .qv-quill-wrap .ql-toolbar.ql-snow { background:var(--bg-inset); }
[data-theme="dark"] .qv-tpl-select { border-color:#33445f; background:var(--bg-inset); color:var(--text-2); }

/* ── resources/views/agency/products/_qv-seo-ui.blade.php ── */
[data-theme="dark"] .qv-serp-head { color:#8296b0; }
[data-theme="dark"] .qv-serp-card { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .qv-cc { color:#8296b0; }
[data-theme="dark"] .qv-cc.text-warning { color:#fbbf24; }
[data-theme="dark"] .qv-cc.text-danger { color:#f87171; }
[data-theme="dark"] .qv-tags-box { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .qv-tag-input { border-color:var(--border-1); }

/* ── resources/views/agency/products/extra-services/index.blade.php ── */
[data-theme="dark"] .es-page { --es-ink:var(--text-1); --es-mute:#3e5273; --es-line:var(--border-2); }
[data-theme="dark"] .es-cta { background:var(--bg-card); color:#c7d2fe; }
[data-theme="dark"] .es-notice { background:linear-gradient(100deg,rgba(168,85,247,.09),rgba(139,92,246,.11) 55%,rgba(99,102,241,.13)); border-color:rgba(168,85,247,.42); }
[data-theme="dark"] .es-notice-txt b { color:#ddd6fe; }
[data-theme="dark"] .es-notice-txt strong { color:#c4b5fd; }
[data-theme="dark"] .es-notice-txt em { color:#c4b5fd; background:rgba(139,92,246,.18); }
[data-theme="dark"] .es-notice-sub b { color:#c4b5fd; }
[data-theme="dark"] .es-rail { background:var(--bg-card); }
[data-theme="dark"] .es-cat { color:var(--text-2); }
[data-theme="dark"] .es-cat.on { background:linear-gradient(135deg,rgba(99,102,241,.13),rgba(139,92,246,.11)); color:#b3bcf9; }
[data-theme="dark"] .es-cat-n { color:#8296b0; }
[data-theme="dark"] .es-cat-act button { color:#8296b0; }
[data-theme="dark"] .es-cat-act button:hover { background:rgba(99,102,241,.21); color:#a5b4fc; }
[data-theme="dark"] .es-cat-act button.del:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .es-catadd input { background:var(--bg-inset); }
[data-theme="dark"] .es-catadd input:focus { background:var(--bg-card); }
[data-theme="dark"] .es-search input { background:var(--bg-card); }
[data-theme="dark"] .es-search input:focus { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .es-seg { background:var(--bg-card); }
[data-theme="dark"] .es-seg a { color:var(--text-3); }
[data-theme="dark"] .es-add { background:var(--bg-card); border-color:rgba(139,92,246,.42); }
[data-theme="dark"] .es-add-t { color:#c4b5fd; }
[data-theme="dark"] .es-f > label { color:#8296b0; }
[data-theme="dark"] .es-f input, [data-theme="dark"] .es-f select { background:var(--bg-inset); }
[data-theme="dark"] .es-f input:focus, [data-theme="dark"] .es-f select:focus { background:var(--bg-card); }
[data-theme="dark"] .es-add-hint { color:#8296b0; }
[data-theme="dark"] .es-group { background:var(--bg-card); }
[data-theme="dark"] .es-group-h { background:var(--bg-inset); }
[data-theme="dark"] .es-group-h .n { color:#8296b0; background:var(--bg-card); }
[data-theme="dark"] .es-row:hover { background:var(--bg-inset); }
[data-theme="dark"] .es-chip { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .es-catsel { color:var(--text-3); }
[data-theme="dark"] .es-catsel:hover { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .es-catsel:focus { background:var(--bg-card); }
[data-theme="dark"] .es-taxcell.taxed .inline-editable { background:rgba(249,115,22,.10); color:#fdba74; }
[data-theme="dark"] .es-taxcell.free .inline-editable { color:#8296b0; }
[data-theme="dark"] .es-cur { color:#8296b0; }
[data-theme="dark"] .es-ib { background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .es-ib:hover { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); }
[data-theme="dark"] .es-ib.on { color:#34d399; border-color:rgba(16,185,129,.42); background:rgba(16,185,129,.10); }
[data-theme="dark"] .es-ib.del:hover { border-color:rgba(239,68,68,.42); color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .es-empty { background:var(--bg-card); }
[data-theme="dark"] .es-empty-ic { background:linear-gradient(135deg,rgba(99,102,241,.13),rgba(139,92,246,.11)); }
[data-theme="dark"] .es-empty p { color:#8296b0; }
[data-theme="dark"] .es-empty-eg span { background:rgba(99,102,241,.13); }

/* ── resources/views/agency/products/extra-services/quick-view.blade.php ──
   Defter (pfx) kartlarının kendi koyu kuralları aşağıda; burası yalnızca
   ekstra hizmete özgü üç blok: makbuz dökümü, satış satırları, silme. */

/* Tutar dökümü */
[data-theme="dark"] .esr-r + .esr-r { border-top-color:var(--border-2); }
[data-theme="dark"] .esr-l { color:#7d8da6; }
[data-theme="dark"] .esr-n { color:var(--text-2); }
[data-theme="dark"] .esr-n small { color:#54637d; }
[data-theme="dark"] .esr-r.tax .esr-n i { color:#fbbf24; }
[data-theme="dark"] .esr-r.zero .esr-n i { color:#54637d; }
[data-theme="dark"] .esr-r.sum { border-top-color:var(--border-1); }
[data-theme="dark"] .esr-r.sum .esr-l { color:var(--text-1); }
[data-theme="dark"] .esr-r.sum .esr-n { color:var(--text-1); }
[data-theme="dark"] .esr-r.sum .esr-n small { color:var(--text-3); }
[data-theme="dark"] .esr-f { border-top-color:var(--border-2); color:#8296b0; }
[data-theme="dark"] [data-esq-inclsec] { border-top-color:var(--border-2); }

/* İlişkili satışlar */
[data-theme="dark"] .ess-stat { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .ess-stat b { color:var(--text-1); }
[data-theme="dark"] .ess-r { border-top-color:var(--border-2); }
[data-theme="dark"] .ess-r:hover { background:var(--bg-hover); }
[data-theme="dark"] .ess-code { color:#93c5fd; background:rgba(59,130,246,.14); }
[data-theme="dark"] .ess-main b { color:var(--text-1); }
[data-theme="dark"] .ess-main em { color:var(--text-3); }
[data-theme="dark"] .ess-amt { color:var(--text-1); }
[data-theme="dark"] .ess-amt small { color:#54637d; }
[data-theme="dark"] .ess-none i { color:#3e5273; }
[data-theme="dark"] .ess-none b { color:var(--text-3); }
[data-theme="dark"] .ess-none span { color:#8296b0; }

/* Silme */
[data-theme="dark"] .esd .pfx-top { background:linear-gradient(180deg,rgba(239,68,68,.10),rgba(239,68,68,.05)); border-bottom-color:rgba(239,68,68,.24); }
[data-theme="dark"] .esd .pfx-top-t i { color:#f87171; }
[data-theme="dark"] .esd-b p { color:#8296b0; }
[data-theme="dark"] .esd-b p b { color:var(--text-3); }
[data-theme="dark"] .esd-btn { background:var(--bg-card); border-color:rgba(239,68,68,.35); color:#fca5a5; }
[data-theme="dark"] .esd-btn:hover { background:rgba(239,68,68,.13); border-color:rgba(239,68,68,.5); color:#fecaca; }

/* ── resources/views/agency/products/gunubirlik-turlar/create.blade.php ── */
[data-theme="dark"] .categories-tree { background:var(--bg-inset); }
[data-theme="dark"] .category-group { background:var(--bg-card); }
[data-theme="dark"] .alert-info { color:#bae6fd; }
[data-theme="dark"] .marketplace-card { background:var(--bg-card); }

/* ── resources/views/agency/products/gunubirlik-turlar/dates.blade.php ── */
[data-theme="dark"] .tabs-container { background:var(--bg-card); }
[data-theme="dark"] .sg-card { background:var(--bg-card); }
[data-theme="dark"] .sg-title i { color:#60a5fa; }
[data-theme="dark"] .sg-season-wrap:focus-within { background:var(--bg-card); }
[data-theme="dark"] .sg-season-wrap input::placeholder { color:#8296b0; }
[data-theme="dark"] .sg-range input[type="date"]:focus,
[data-theme="dark"] .sg-range input[data-dtp]:focus { background:var(--bg-card); }
[data-theme="dark"] .sg-day:hover span { color:#60a5fa; }
[data-theme="dark"] .sg-preview .cnt { background:rgba(59,130,246,.12); color:#93c5fd; }
[data-theme="dark"] .sg-preview .cnt.zero { background:rgba(239,68,68,.10); color:#f87171; }
[data-theme="dark"] .season-chip { background:rgba(139,92,246,.11); color:#c4b5fd; }
[data-theme="dark"] .dates-table-wrapper { background:var(--bg-card); }
[data-theme="dark"] .empty-dates { background:var(--bg-card); }

/* ── resources/views/agency/products/gunubirlik-turlar/general.blade.php ── */
[data-theme="dark"] .quill-editor-container { background:var(--bg-card); }
[data-theme="dark"] .actions-bar { background:var(--bg-card); }
[data-theme="dark"] .weekday-checkbox { background:var(--bg-card); }

/* ── resources/views/agency/products/gunubirlik-turlar/media.blade.php ── */
[data-theme="dark"] .upload-method-btn { background:var(--bg-card); }
[data-theme="dark"] .gallery-item-checkbox { background:var(--bg-card); }
[data-theme="dark"] .image-type-btn { background:var(--bg-card); }
[data-theme="dark"] .image-card { background:var(--bg-card); }

/* ── resources/views/agency/products/gunubirlik-turlar/pricing.blade.php ── */
[data-theme="dark"] .premium-price-box { background:var(--bg-card); }
[data-theme="dark"] .marketplace-pricing-card { background:var(--bg-card); }
[data-theme="dark"] .currency-row:hover { background:var(--bg-card); }

/* ── resources/views/agency/products/gunubirlik-turlar/quick-view.blade.php ── */
[data-theme="dark"] .qvsg-sum-cta { color:#60a5fa; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .qvsg-sum:hover .qvsg-sum-cta { background:rgba(59,130,246,.20); }
[data-theme="dark"] .qvsg-wrap[open] .qvsg-sum-cta { color:var(--text-3); background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qvsg-t { color:var(--text-1); }
[data-theme="dark"] .qvsg-t small { color:#8296b0; }
[data-theme="dark"] .qvsg-d { color:#8296b0; }
[data-theme="dark"] .qvsg-season { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qvsg-season:focus-within { background:var(--bg-card); }
[data-theme="dark"] .qvsg-season input { color:var(--text-1); }
[data-theme="dark"] .qvsg-range input[type="date"],
[data-theme="dark"] .qvsg-range input[data-dtp] { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .qvsg-range input[type="date"]:focus,
[data-theme="dark"] .qvsg-range input[data-dtp]:focus { background:var(--bg-card); }
[data-theme="dark"] .qvsg-day span { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .qvsg-day span small { color:#8296b0; }
[data-theme="dark"] .qvsg-day:hover span { color:#60a5fa; }
[data-theme="dark"] .qvsg-adv summary { color:var(--text-3); background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qvsg-adv summary:hover { color:#60a5fa; }
[data-theme="dark"] .qvsg-adv[open] summary { color:#60a5fa; border-color:rgba(59,130,246,.42); background:rgba(59,130,246,.12); }
[data-theme="dark"] .qvsg-count { background:rgba(59,130,246,.12); color:#93c5fd; }
[data-theme="dark"] .qvsg-count.zero { background:rgba(239,68,68,.10); color:#f87171; }

/* ── Tarih formu (qdf) — sade defter düzeni ── */
[data-theme="dark"] .qdf-copy { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qdf-copy > i { color:#5b6b85; }
[data-theme="dark"] .qdf-copy > span { color:var(--text-3); }
[data-theme="dark"] .qdf-copy select { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qdf-sec + .qdf-sec { border-top-color:var(--border-2); }
[data-theme="dark"] .qdf-h { color:var(--text-3); }
[data-theme="dark"] .qdf-h > i { color:#5b6b85; }
[data-theme="dark"] .qdf-h em { color:#5b6b85; }
[data-theme="dark"] .qdf-l { color:#7d8da6; }
[data-theme="dark"] .qdf-l em { color:#4ade80; background:rgba(22,163,74,.18); }
[data-theme="dark"] .qdf-v input, [data-theme="dark"] .qdf-v select,
[data-theme="dark"] .qdf-v textarea, [data-theme="dark"] .qdf .qd-inp {
    background:var(--bg-card); border-color:var(--border-1); color:var(--text-1);
}
[data-theme="dark"] .qdf-v input:focus, [data-theme="dark"] .qdf-v select:focus,
[data-theme="dark"] .qdf-v textarea:focus, [data-theme="dark"] .qdf .qd-inp:focus {
    border-color:rgba(59,130,246,.45); box-shadow:0 0 0 3px rgba(59,130,246,.14);
}
[data-theme="dark"] .qdf-v input::placeholder, [data-theme="dark"] .qdf .qd-inp::placeholder { color:#54637d; }
[data-theme="dark"] .qdf-suffix > small { color:#5b6b85; }
[data-theme="dark"] .qdf .qd-fld > label { color:#7d8da6; }
[data-theme="dark"] .qdf .qd-fld > label small { color:#54637d; }
[data-theme="dark"] .qdf .qd-rule-mode { background:var(--bg-inset); border-color:var(--border-1) !important; }
[data-theme="dark"] .qdf-sw span { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .qdf-sw span::before { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qdf-sw:hover span { border-color:rgba(59,130,246,.4); color:var(--text-2); }
[data-theme="dark"] .qdf-sw input:checked + span { background:rgba(59,130,246,.16); border-color:rgba(59,130,246,.42); color:#93c5fd; }
[data-theme="dark"] .qdf-sw input:checked + span::before { background:#3b82f6; border-color:#3b82f6; box-shadow:inset 0 0 0 2px var(--bg-card); }
[data-theme="dark"] .qdf-fold { border-top-color:var(--border-2); }
[data-theme="dark"] .qdf-fold-h { color:var(--text-3); }
[data-theme="dark"] .qdf-fold-h > i:first-child, [data-theme="dark"] .qdf-fold-chev { color:#5b6b85; }
[data-theme="dark"] .qdf-fold-s { color:#5b6b85; }
[data-theme="dark"] .qdf-fold.open .qdf-fold-h { color:#93c5fd; }
[data-theme="dark"] .qdf-fold.open .qdf-fold-h > i:first-child { color:#7ea6f5; }
[data-theme="dark"] .qdf-fold .qd-fold-chip { color:var(--text-3); background:var(--bg-raise); }
[data-theme="dark"] .qdf-fold .qd-fold-chip.is-auto { color:#93c5fd; background:rgba(59,130,246,.16); }
[data-theme="dark"] .qdf-fold .qd-fold-chip.is-custom { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] .qdf-fold .qd-fold-chip.is-empty { color:var(--text-3); background:var(--bg-raise); }
[data-theme="dark"] .qdf-hint { color:#5b6b85; }
[data-theme="dark"] .qdf-hint i { color:#4a586e; }
[data-theme="dark"] .qdf-addstage { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .qdf-addstage:hover { border-color:rgba(59,130,246,.4); color:#93c5fd; background:rgba(59,130,246,.10); }

/* ── Tarih listesi satırları (qvd) — günübirlik + kültür/yurtdışı ortak ── */
[data-theme="dark"] .qvd-item + .qvd-item { border-top-color:var(--border-2); }
[data-theme="dark"] .qvd-row:hover { background:var(--bg-hover); }
[data-theme="dark"] .qvd-cal.off { background:var(--bg-raise); color:var(--text-3); }
[data-theme="dark"] .qvd-l1 > b { color:var(--text-1); }
[data-theme="dark"] .qvd-dow { color:var(--text-3); }
[data-theme="dark"] .qvd-time { color:var(--text-2); }
[data-theme="dark"] .qvd-time i { color:#5b6b85; }
[data-theme="dark"] .qvd-cap { color:var(--text-3); }
[data-theme="dark"] .qvd-code { color:#5b6b85; }
[data-theme="dark"] .qvd-price { color:#4ade80; }
[data-theme="dark"] .qvd-price small { color:var(--text-3); }
[data-theme="dark"] .qvd-price.none { color:#54637d; }
[data-theme="dark"] .qvd-bar { background:var(--bg-raise); }
[data-theme="dark"] .qvd-chip { background:var(--bg-raise); color:var(--text-3); }
[data-theme="dark"] .qvd-chip.green  { background:rgba(22,163,74,.18);  color:#4ade80; }
[data-theme="dark"] .qvd-chip.amber  { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .qvd-chip.red    { background:rgba(239,68,68,.16);  color:#f87171; }
[data-theme="dark"] .qvd-chip.orange { background:rgba(249,115,22,.16); color:#fdba74; }
[data-theme="dark"] .qvd-chip.blue   { background:rgba(59,130,246,.16); color:#93c5fd; }
[data-theme="dark"] .qvd-chip.indigo { background:rgba(99,102,241,.16); color:#a5b4fc; }
[data-theme="dark"] .qvd-chip.slate  { background:var(--bg-raise);      color:var(--text-2); }
[data-theme="dark"] .qvd-b { color:#5b6b85; }
[data-theme="dark"] .qvd-b:hover { color:#93c5fd; background:rgba(59,130,246,.16); }
[data-theme="dark"] .qvd-b.warn:hover { color:#fcd34d; background:rgba(245,158,11,.16); }
[data-theme="dark"] .qvd-b.danger:hover { color:#f87171; background:rgba(239,68,68,.14); }
[data-theme="dark"] .qvd-fchip { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .qvd-fchip b { color:#5b6b85; }
[data-theme="dark"] .qvd-fchip:hover { border-color:rgba(59,130,246,.4); color:#93c5fd; }
[data-theme="dark"] .qvd-fchip.on { background:rgba(59,130,246,.22); border-color:rgba(59,130,246,.45); color:#dbeafe; }
[data-theme="dark"] .qvd-fchip.on b { color:#93c5fd; }
[data-theme="dark"] .qvd-search { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .qvd-search i { color:#5b6b85; }
[data-theme="dark"] .qvd-search input { color:var(--text-1); }
[data-theme="dark"] .qvd-search input::placeholder { color:#54637d; }
[data-theme="dark"] .qvd-none > i { color:var(--border-1); }
[data-theme="dark"] .qvd-none b { color:var(--text-2); }
[data-theme="dark"] .qvd-none span { color:var(--text-3); }

/* ── resources/views/agency/products/gunubirlik-turlar/settings.blade.php ── */
[data-theme="dark"] .settings-section { background:var(--bg-card); }
[data-theme="dark"] .toggle-switch::after { background:var(--bg-card); }

/* ── resources/views/agency/products/gunubirlik-turlar/show.blade.php ── */
[data-theme="dark"] .info-card { background:var(--bg-card); }
[data-theme="dark"] .time-badge { color:#fbbf24; }

/* ── resources/views/agency/products/gunubirlik-turlar/translations.blade.php ── */
/* Beyaz yükleme örtüsü (üç tur çeviri sayfasında da aynı sınıf kullanılıyor). */
[data-theme="dark"] .workspace-loader { background: rgba(11, 18, 32, .82); }
[data-theme="dark"] .marketplace-select-card { background:var(--bg-card); }
[data-theme="dark"] .language-pill { background:var(--bg-card); }
[data-theme="dark"] .translation-field-container { background:var(--bg-card); }

/* ── resources/views/agency/products/kultur-turlari/general.blade.php ── */
[data-theme="dark"] .quick-nav { background:var(--bg-card); }

/* ── resources/views/agency/products/kultur-turlari/itinerary.blade.php ── */
[data-theme="dark"] .day-card { background:var(--bg-card); }

/* ── resources/views/agency/resources/_cost-items.blade.php ── */
[data-theme="dark"] .ci-head { color:#8296b0; }
[data-theme="dark"] .ci-del { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.10); color:#f87171; }
[data-theme="dark"] .ci-add { border-color:#33445f; background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .ci-add:hover { color:#fbbf24; background:rgba(245,158,11,.10); }
[data-theme="dark"] .ci-total { color:var(--text-3); }
[data-theme="dark"] .ci-total strong { color:var(--text-1); }
[data-theme="dark"] .ci-hint { color:#8296b0; }

/* ── resources/views/agency/resources/calendar.blade.php ── */
[data-theme="dark"] .panel-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .panel-head { border-bottom-color:var(--border-2); color:var(--text-2); }
[data-theme="dark"] .f-label { color:var(--text-3); }
[data-theme="dark"] .f-select { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .f-select:focus { background:var(--bg-card); }
[data-theme="dark"] .legend-txt { color:var(--text-2); }
[data-theme="dark"] .f-input { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .f-input:focus { background:var(--bg-card); }
[data-theme="dark"] .cal-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .cal-head { border-bottom-color:var(--border-2); }
[data-theme="dark"] .cal-dow-row { background:var(--bg-inset); }
[data-theme="dark"] .cal-dow { color:#8296b0; }
[data-theme="dark"] .cal-cell { border-right-color:var(--border-2); border-bottom-color:var(--border-2); }
[data-theme="dark"] .cal-cell:hover { background:var(--bg-inset); }
[data-theme="dark"] .cal-cell.empty { background:var(--bg-inset); }
[data-theme="dark"] .cal-cell.today-cell { background:rgba(245,158,11,.10); }
[data-theme="dark"] .day-num { color:var(--text-3); }
[data-theme="dark"] .more-badge { color:#8296b0; }
[data-theme="dark"] .day-detail { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .dd-title { color:var(--text-1); }
[data-theme="dark"] .dd-close { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .sched-row { border-color:var(--border-2); }
[data-theme="dark"] .sched-name { color:var(--text-1); }
[data-theme="dark"] .sched-sub { color:#8296b0; }
[data-theme="dark"] .sched-del { background:rgba(244,63,94,.10); }
[data-theme="dark"] .rc-tbtn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .rc-tbtn:hover { border-color:#33445f; background:var(--bg-inset); }
[data-theme="dark"] .rc-tbtn.open { background:var(--bg-hover); border-color:#46597a; }
[data-theme="dark"] .rc-tbtn .caret { color:#8296b0; }
[data-theme="dark"] .rc-tbtn.rc-add { color:#f87171; border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.10); }
[data-theme="dark"] .rc-tbtn.rc-add:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .rc-legend .li { color:var(--text-3); }
[data-theme="dark"] .rc-panel-inner { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .rc-field label { color:#8296b0; }

/* ── resources/views/agency/resources/create.blade.php ── */
[data-theme="dark"] .stepper-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .stepper-title { color:#8296b0; }
[data-theme="dark"] .step-item:hover { background:var(--bg-inset); }
[data-theme="dark"] .step-item.active { background:rgba(59,130,246,.12); }
[data-theme="dark"] .step-num { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .step-name { color:var(--text-2); }
[data-theme="dark"] .step-item.active .step-name { color:#60a5fa; }
[data-theme="dark"] .step-item.done  .step-name { color:#34d399; }
[data-theme="dark"] .form-section { border-bottom-color:var(--border-2); }
[data-theme="dark"] .section-header h3 { color:var(--text-1); }
[data-theme="dark"] .section-header p { color:#8296b0; }
[data-theme="dark"] .type-card { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .type-card:hover { border-color:rgba(59,130,246,.42); background:var(--bg-card); }
[data-theme="dark"] .type-card.selected { background:var(--bg-card); }
[data-theme="dark"] .type-card-label { color:var(--text-1); }
[data-theme="dark"] .type-card-sub { color:#8296b0; }
[data-theme="dark"] .type-check { background:var(--bg-raise); }
[data-theme="dark"] .f-label { color:var(--text-2); }
[data-theme="dark"] .f-input, [data-theme="dark"] .f-select, [data-theme="dark"] .f-textarea { border-color:var(--border-1); color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .f-input:focus, [data-theme="dark"] .f-select:focus, [data-theme="dark"] .f-textarea:focus { background:var(--bg-card); }
[data-theme="dark"] .f-input-group .prefix { background:var(--bg-hover); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .f-hint { color:#8296b0; }
[data-theme="dark"] .toggle-wrap { background:var(--bg-inset); }
[data-theme="dark"] .toggle-label { color:var(--text-1); }
[data-theme="dark"] .toggle-sub { color:#8296b0; }
[data-theme="dark"] .source-card { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .source-card:hover { border-color:rgba(59,130,246,.42); background:var(--bg-card); }
[data-theme="dark"] .source-card.active { background:rgba(59,130,246,.12); }
[data-theme="dark"] .source-card-label { color:var(--text-1); }
[data-theme="dark"] .source-card-sub { color:#8296b0; }
[data-theme="dark"] .step-nav { background:var(--bg-card); border-top-color:var(--border-2); }
[data-theme="dark"] .btn-prev { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .btn-prev:hover { background:var(--bg-raise); }
[data-theme="dark"] .lang-tag { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .lang-tag.active { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .ms-control { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .ms-control.open { background:var(--bg-card); }
[data-theme="dark"] .ms-chip { background:rgba(59,130,246,.12); color:#60a5fa; border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .ms-chip-x:hover { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .ms-search-inline { color:var(--text-1); }
[data-theme="dark"] .ms-chev { color:#8296b0; }
[data-theme="dark"] .ms-dropdown { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .ms-count { color:#8296b0; border-bottom-color:var(--border-2); }
[data-theme="dark"] .ms-option { color:var(--text-2); }
[data-theme="dark"] .ms-option:hover { background:var(--bg-hover); }
[data-theme="dark"] .ms-option.selected { color:var(--text-1); }
[data-theme="dark"] .ms-check { border-color:#33445f; }
[data-theme="dark"] .ms-empty { color:#8296b0; }
[data-theme="dark"] .ss-trigger { border-color:var(--border-1); color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .ss-trigger.open { background:var(--bg-card); }
[data-theme="dark"] .ss-trigger-text.placeholder { color:#8296b0; }
[data-theme="dark"] .ss-chevron { color:#8296b0; }
[data-theme="dark"] .ss-dropdown { background:var(--bg-card); }
[data-theme="dark"] .ss-search-box { border-bottom-color:var(--border-2); }
[data-theme="dark"] .ss-search-input { color:var(--text-1); }
[data-theme="dark"] .ss-search-icon { color:#8296b0; }
[data-theme="dark"] .ss-option { color:var(--text-2); }
[data-theme="dark"] .ss-option:hover { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .ss-option.selected { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .ss-empty { color:#8296b0; }

/* ── resources/views/agency/resources/edit.blade.php ── */
[data-theme="dark"] .rib-guide { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .rib-vehicle { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .rib-captain { background:rgba(139,92,246,.11); color:#a78bfa; }
[data-theme="dark"] .qu-toggle { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .qu-panel { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .qu-title { color:var(--text-2); }
[data-theme="dark"] .qu-cancel { background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .qu-cancel:hover { background:#33445f; }
[data-theme="dark"] .qu-note { color:#8296b0; }

/* ── resources/views/agency/resources/index.blade.php ── */
[data-theme="dark"] .r-avatar.has-img { background-color:var(--bg-raise); border-color:var(--border-1); }
[data-theme="dark"] .tc-guide { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .tc-vehicle { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .tc-captain { background:rgba(139,92,246,.11); color:#a78bfa; }
[data-theme="dark"] .src-internal { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .src-external { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .sc-active { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .sc-inactive { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .sc-inactive::before { background:#3e5273; }

/* ── resources/views/agency/resources/my-schedule.blade.php ── */
[data-theme="dark"] .ms-topbar { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .ms-cap { color:#8296b0; }
[data-theme="dark"] .ms-topbar .li { color:var(--text-2); }
[data-theme="dark"] .ms-res { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .sched-table-wrap { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .sched-table thead th { color:var(--text-3); background:var(--bg-inset); border-bottom-color:var(--border-2); }
[data-theme="dark"] .sched-table tbody tr { border-bottom-color:var(--border-2); }
[data-theme="dark"] .sched-table tbody tr:hover { background:var(--bg-inset); }
[data-theme="dark"] .date-range { color:var(--text-1); }
[data-theme="dark"] .date-sub { color:#8296b0; }
[data-theme="dark"] .pag-wrap { border-top-color:var(--border-2); }

/* ── resources/views/agency/resources/quick-view.blade.php ── */
[data-theme="dark"] .rg-drop { background:var(--bg-card); }
[data-theme="dark"] .rg-drop:hover, [data-theme="dark"] .rg-drop.rg-over { background:rgba(139,92,246,.11); }
[data-theme="dark"] .rg-drop i { color:#a5b4fc; }
[data-theme="dark"] .rg-drop span { color:#a5b4fc; }
[data-theme="dark"] .rg-hint { color:#8296b0; }
[data-theme="dark"] .rg-cell-acts button { color:var(--text-1); }
[data-theme="dark"] .rg-cell-acts button:hover { background:var(--bg-card); }
[data-theme="dark"] .bg-purple-soft { background-color:rgba(139,92,246,.11); color:#a78bfa; }
[data-theme="dark"] .text-purple { color:#a78bfa !important; }
[data-theme="dark"] .rqv-jump { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .rqv-chiplink { color:#a78bfa; background:rgba(139,92,246,.11); border-color:rgba(139,92,246,.42); }
[data-theme="dark"] .rqv-chiplink:hover { background:rgba(139,92,246,.18); }
[data-theme="dark"] .rqv-textlink:hover { color:#a5b4fc !important; }
[data-theme="dark"] .rqv-opbtn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .qv-view-switch { background:var(--bg-hover); }
[data-theme="dark"] .qv-view-switch button { color:var(--text-3); }
[data-theme="dark"] .qv-view-switch button.active { background:var(--bg-card); color:#60a5fa; }
[data-theme="dark"] [data-sched-cal] .fc { --fc-today-bg-color:rgba(59,130,246,.12); --fc-page-bg-color:var(--bg-card); }
[data-theme="dark"] [data-sched-cal] .fc .fc-toolbar-title { color:var(--text-1); }
[data-theme="dark"] [data-sched-cal] .fc .fc-button { background:var(--bg-hover) !important; color:var(--text-2) !important; }
[data-theme="dark"] [data-sched-cal] .fc .fc-button-primary:disabled { background:var(--bg-raise) !important; color:#8296b0 !important; }
[data-theme="dark"] [data-sched-cal] .fc .fc-col-header-cell { background:var(--bg-inset); }
[data-theme="dark"] [data-sched-cal] .fc .fc-col-header-cell-cushion { color:var(--text-3); }
[data-theme="dark"] [data-sched-cal] .fc .fc-daygrid-day-number { color:var(--text-2); }
[data-theme="dark"] [data-sched-cal] .fc .fc-day-today .fc-daygrid-day-number { color:#60a5fa; }
[data-theme="dark"] [data-sched-cal] .fc .fc-list-event:hover td { background:var(--bg-inset); }
[data-theme="dark"] [data-sched-cal] .fc .fc-list-day-cushion { background:var(--bg-inset); }
[data-theme="dark"] .qv-sch-item:hover { border-color:#33445f !important; }

/* ── resources/views/agency/sales/cancellations.blade.php ── */
:root[data-theme="dark"] { --cp-light:rgba(59,130,246,.12); --text-main:var(--text-1); --text-muted:var(--text-3); --border:var(--border-1); --surface:var(--bg-inset); }
[data-theme="dark"] .res-card { background:var(--bg-card); }
[data-theme="dark"] .tb-search input { background:var(--bg-card); }
[data-theme="dark"] .tb-filter-select { background:var(--bg-card); }
[data-theme="dark"] .tb-reset-btn { background:var(--bg-card); }
[data-theme="dark"] .tb-reset-btn:hover { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .res-table tbody tr { border-bottom-color:var(--border-2); }
[data-theme="dark"] .res-table tbody tr:hover { background:rgba(59,130,246,.10); }
[data-theme="dark"] .tbl-action-btn { background:var(--bg-card); }

/* ── resources/views/agency/sales/create/styles.blade.php ── */
:root[data-theme="dark"] { --cpl:rgba(59,130,246,.12); --text:var(--text-1); --muted:var(--text-3); }
[data-theme="dark"] .info-tip { background:rgba(59,130,246,.12); color:#60a5fa; border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .info-tip:hover { background:rgba(59,130,246,.20); }
[data-theme="dark"] .rcard { background:var(--bg-card); }
[data-theme="dark"] .rcard-head { background:linear-gradient(to right, var(--bg-inset), var(--bg-card)); }
[data-theme="dark"] .fl label { color:var(--text-2); }
[data-theme="dark"] .fi { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .fi:focus { background:var(--bg-card); }
[data-theme="dark"] .fi:read-only { background:var(--bg-hover); }
[data-theme="dark"] .pt-btn { border-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .pt-btn:hover { border-color:#33445f; background:var(--bg-card); }
[data-theme="dark"] .pt-btn.sel { background:var(--bg-card); }
[data-theme="dark"] .pt-label { color:var(--text-2); }
[data-theme="dark"] .prod-item { background:var(--bg-card); }
[data-theme="dark"] .prod-item:hover { border-color:rgba(99,102,241,.42); background:var(--bg-inset); }
[data-theme="dark"] .prod-item.sel { background:rgba(59,130,246,.12); }
[data-theme="dark"] .date-card { background:var(--bg-inset); }
[data-theme="dark"] .date-card:hover { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.08); }
[data-theme="dark"] .scm-wrapper { background:var(--bg-inset); }
[data-theme="dark"] .scm-wrapper:focus-within { background:var(--bg-card); }
[data-theme="dark"] .scm-icon { color:#8296b0; }
[data-theme="dark"] .scm-input::placeholder { color:#8296b0; }
[data-theme="dark"] .pgn-box { border-top-color:var(--border-2); }
[data-theme="dark"] .pgn-btn { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .pgn-btn:hover:not(:disabled) { background:rgba(99,102,241,.08); }
[data-theme="dark"] .pgn-info { color:#8296b0; }
[data-theme="dark"] .pgn-info b { color:var(--text-1); }
[data-theme="dark"] .date-card .dc-badge { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .custom-date-toggle { background:rgba(99,102,241,.12); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .section-divider::before, [data-theme="dark"] .section-divider::after { background:var(--bg-raise); }
[data-theme="dark"] .csp-trigger { background:var(--bg-inset); }
[data-theme="dark"] .csp-trigger:hover { border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.08); }
[data-theme="dark"] .csp-trigger.open { background:var(--bg-card); }
[data-theme="dark"] .csp-ph { color:#8296b0; }
[data-theme="dark"] .csp-arr { color:#8296b0; }
[data-theme="dark"] .csp-drop { background:var(--bg-card); }
[data-theme="dark"] .csp-sw { border-bottom-color:var(--border-2); }
[data-theme="dark"] .csp-sw i { color:#8296b0; }
[data-theme="dark"] .csp-xbtn { color:#8296b0; }
[data-theme="dark"] .csp-list::-webkit-scrollbar-thumb { background:rgba(99,102,241,.30); }
[data-theme="dark"] .csp-rname mark { background:rgba(139,92,246,.18); color:#c4b5fd; }
[data-theme="dark"] .csp-rsub { color:#8296b0; }
[data-theme="dark"] .csp-empty { color:#8296b0; }
[data-theme="dark"] .csp-btn-row { border-top-color:var(--border-2); }
[data-theme="dark"] .csp-selcard { background:linear-gradient(135deg, rgba(59,130,246,.10), rgba(59,130,246,.12)); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .go-btn { background:rgba(99,102,241,.13); }
[data-theme="dark"] .clr-btn { background:rgba(244,63,94,.10); }
[data-theme="dark"] .ibg-blue { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .ibg-green { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .ibg-yellow { background:rgba(245,158,11,.18); color:#fcd34d; }

/* ── resources/views/agency/sales/edit/styles.blade.php ── */
:root[data-theme="dark"] { --cp-light:rgba(59,130,246,.12); --text-main:var(--text-1); --text-muted:var(--text-3); }
[data-theme="dark"] .csp-trig { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .csp-trig:hover { border-color:#33445f; background:var(--bg-card); }
[data-theme="dark"] .csp-trig.open { background:var(--bg-card); }
[data-theme="dark"] .csp-drop { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .csp-row:hover, [data-theme="dark"] .csp-row.focused { background:var(--bg-hover); }
[data-theme="dark"] .fsh { background:linear-gradient(to right, var(--bg-inset), var(--bg-card)); }
[data-theme="dark"] .field-input { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .prod-item { background:var(--bg-inset); }
[data-theme="dark"] .prod-item:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .search-container i { color:#8296b0; }
[data-theme="dark"] .search-control { background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .search-control:focus { background:var(--bg-card); }
[data-theme="dark"] .search-control::placeholder { color:#8296b0; }

/* ── resources/views/agency/sales/index.blade.php ── */
[data-theme="dark"] .header-back-btn { background:var(--bg-card); }
[data-theme="dark"] .filter-pill-bar { background:var(--bg-card); }
[data-theme="dark"] .period-btn.active { background:var(--bg-card); }
[data-theme="dark"] .tbl-action-btn.edit:hover { background:rgba(139,92,246,.11); }

/* ── resources/views/agency/sales/partials/_new-sale-modal.blade.php ── */
[data-theme="dark"] .ns-modal { background:var(--bg-card); }
[data-theme="dark"] .ns-card:hover { background:var(--bg-card); }
[data-theme="dark"] .ns-card:hover .ns-card-go { color:#34d399; }
[data-theme="dark"] .ns-card-txt b { color:var(--text-1); }
[data-theme="dark"] .ns-card-txt small { color:#8296b0; }
[data-theme="dark"] .ns-empty { color:#8296b0; }
[data-theme="dark"] .ns-cancel { color:var(--text-3); }
[data-theme="dark"] .ns-cancel:hover { background:var(--bg-hover); color:var(--text-1); }

/* ── resources/views/agency/sales/partials/sales_nav_tabs.blade.php ── */
[data-theme="dark"] .sales-nav-tabs { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .sales-nav-tab { color:var(--text-3); }
[data-theme="dark"] .sales-nav-tab:hover { background:var(--bg-hover); color:var(--text-2); }

/* ── resources/views/agency/sales/partials/shared_list.blade.php ── */
[data-theme="dark"] .sl-avatar { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .sl-tag-custom { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .sl-tag-dep { color:#34d399; background:rgba(16,185,129,.18); }

/* ── resources/views/agency/sales/partials/target_section.blade.php ── */
[data-theme="dark"] .pt-meter { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .pt-meter-ico { background:var(--bg-card); }
[data-theme="dark"] .pt-meter-add { background:var(--bg-card); }
[data-theme="dark"] .total-progress-wrap { background:var(--bg-hover); }
[data-theme="dark"] .today-badge { background:var(--bg-card); border-color:rgba(34,197,94,.30); color:#86efac; }

/* ── resources/views/agency/sales/quick-create.blade.php ── */
[data-theme="dark"] .qc-cust-jump { color:#8296b0; }
[data-theme="dark"] .qc-cust-jump:hover { color:#34d399; background:rgba(16,185,129,.18); }
[data-theme="dark"] .sqv-stat-label { color:#8296b0; }
[data-theme="dark"] .sqv-stat-val { color:var(--text-1); }
[data-theme="dark"] .sqv-stat-val.pos { color:#4ade80; }
[data-theme="dark"] .sqv-stat-val.neg { color:#f87171; }
[data-theme="dark"] .sqv-stat-chip { color:#34d399; background:rgba(16,185,129,.10); border-color:rgba(16,185,129,.30); }
[data-theme="dark"] .sqv-pipeline-wrap { background:var(--bg-card); border-bottom-color:var(--border-2); }
[data-theme="dark"] .sqv-seg { background:var(--bg-inset); }
[data-theme="dark"] .sqv-seg-dot { background:#33445f; }
[data-theme="dark"] .sqv-seg.done { background:rgba(16,185,129,.20); border-color:rgba(16,185,129,.30); }
[data-theme="dark"] .sqv-seg.done:hover { background:rgba(16,185,129,.28); }
[data-theme="dark"] .sqv-seg.done .sqv-seg-label { color:#34d399; }
[data-theme="dark"] .sqv-seg.current .sqv-seg-dot { background:var(--bg-card); }
[data-theme="dark"] .sqv-seg.future { background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .sqv-seg.future .sqv-seg-label { color:#8296b0; }
[data-theme="dark"] .sqv-seg.future:hover { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .sqv-seg.future:hover .sqv-seg-label { color:var(--text-2); }
[data-theme="dark"] .sqv-card { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .sqv-card-title { color:var(--text-1); }
[data-theme="dark"] .sqv-notes-card { background:linear-gradient(135deg,rgba(245,158,11,.10),rgba(234,179,8,.10)) !important; border-color:rgba(245,158,11,.42) !important; }
[data-theme="dark"] .sqv-field label { color:var(--text-3); }
[data-theme="dark"] .sqv-form-label { color:var(--text-3); }
[data-theme="dark"] .qc-form-control { background:var(--bg-card); }
[data-theme="dark"] .qc-form-control:focus { background:var(--bg-card); }
[data-theme="dark"] .qc-form-select { background-color:var(--bg-card); }
[data-theme="dark"] .qc-money-field .qc-money-sym { color:#8296b0; }
[data-theme="dark"] .qc-money-field.is-total .qc-form-control { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .qc-money-field.is-total .qc-form-control:focus { background:var(--bg-card); }
[data-theme="dark"] .qc-money-field.is-paid .qc-money-sym { color:#8296b0; }
[data-theme="dark"] .qc-money-field.is-remaining .qc-form-control { background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .qv-product-row:hover { background:var(--bg-inset); }
[data-theme="dark"] .qcx-input { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .qv-product-row.qcx-unnamed .qcx-name { background:rgba(239,68,68,.10); }
[data-theme="dark"] .qcx-input:focus { background:var(--bg-card); }
[data-theme="dark"] .qcx-money { background:var(--bg-card); }
[data-theme="dark"] .qcx-money .qcx-money-in { color:var(--text-1); }
[data-theme="dark"] .qcx-money-cur { border-left-color:var(--border-2); background:var(--bg-inset); color:var(--text-3); }
[data-theme="dark"] .qcx-money-cur:focus { background:var(--bg-hover); }
[data-theme="dark"] .qcx-seg button:hover { color:var(--text-2); }
[data-theme="dark"] .qcx-seg button.active { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .qcx-seg button[data-ti="1"].active { color:#34d399; }
[data-theme="dark"] .qcx-master { background:var(--bg-card); }
[data-theme="dark"] .qcx-master-lbl { color:#8296b0; }
[data-theme="dark"] .qcx-master.is-mixed { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.05); }
[data-theme="dark"] .qcx-out { color:var(--text-3); }
[data-theme="dark"] .qcx-out-strong { color:var(--text-1); background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .qv-product-row.is-tax-incl .qcx-out-strong { background:rgba(34,197,94,.10); border-color:rgba(34,197,94,.30); }
[data-theme="dark"] .qcx-del { background:var(--bg-card); }
[data-theme="dark"] .qcx-del:hover { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .btn-catalog-pick { background:rgba(16,185,129,.18); }
[data-theme="dark"] .btn-catalog-pick:hover { background:rgba(16,185,129,.28); }
[data-theme="dark"] .btn-tosvc { color:#fbbf24; background:rgba(245,158,11,.18); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .btn-tosvc:hover { background:rgba(245,158,11,.28); }
[data-theme="dark"] .qcx-linked.is-openable:hover { color:#34d399; background:rgba(16,185,129,.18); }
[data-theme="dark"] .qcx-suplink { color:#a5b4fc; }
[data-theme="dark"] .qcx-suplink:hover { color:#b3bcf9; background:rgba(99,102,241,.13); }
[data-theme="dark"] .qc-svc-banner { border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .qc-svc-banner-ico { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .qc-svc-banner-txt { color:#fcd34d; }
[data-theme="dark"] .qc-svc-banner-x:hover { color:#fcd34d; }
[data-theme="dark"] .qcsvc-head-txt p { color:#8296b0; }
[data-theme="dark"] .qcsvc-body { background:var(--bg-inset); }
[data-theme="dark"] .qcsvc-step-head { color:var(--text-1); }
[data-theme="dark"] .qcsvc-step-hint { color:#8296b0; }
[data-theme="dark"] .qcsvc-type-face { background:var(--bg-card); }
[data-theme="dark"] .qcsvc-type-face i { color:#8296b0; }
[data-theme="dark"] .qcsvc-type-face b { color:var(--text-2); }
[data-theme="dark"] .qcsvc-type input:checked + .qcsvc-type-face { background:rgba(245,158,11,.10); }
[data-theme="dark"] .qcsvc-type input:checked + .qcsvc-type-face i { color:#fbbf24; }
[data-theme="dark"] .qcsvc-type input:checked + .qcsvc-type-face b { color:#fcd34d; }
[data-theme="dark"] .qc-ops-link { background:linear-gradient(135deg,rgba(244,63,94,.10),rgba(244,63,94,.17)); border-color:rgba(244,63,94,.42); }
[data-theme="dark"] .qc-ops-link-txt { color:#fecdd3; }
[data-theme="dark"] .qc-ops-link-txt b { color:#fda4af; }
[data-theme="dark"] .qc-ops-link.is-cat { background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(16,185,129,.18)); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-ops-link.is-cat .qc-ops-link-txt { color:#6ee7b7; }
[data-theme="dark"] .qc-ops-link.is-cat .qc-ops-link-txt b { color:#34d399; }
[data-theme="dark"] .qc-ops-skipped { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); color:#fcd34d; }
[data-theme="dark"] .qc-ops-skipped i { color:#fbbf24; }
[data-theme="dark"] .qcdt-btn { background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .qcdt-btn:hover { color:#34d399; background:rgba(34,197,94,.10); }
[data-theme="dark"] .qcdt-btn.has-date { border-color:rgba(34,197,94,.42); background:rgba(34,197,94,.10); color:#4ade80; }
[data-theme="dark"] .qcdt-clear:hover { background:rgba(239,68,68,.10); }
[data-theme="dark"] .qcdt-ops { color:#fb7185; background:rgba(244,63,94,.10); border-color:rgba(244,63,94,.42); }
[data-theme="dark"] .qcdt-bulk-btn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .qcdt-bulk-btn:hover { color:#34d399; background:rgba(34,197,94,.10); }
[data-theme="dark"] .qcdt-content { background:var(--bg-inset); }
[data-theme="dark"] .qcdt-head-txt p { color:#8296b0; }
[data-theme="dark"] .qcdt-body { background:var(--bg-inset); }
[data-theme="dark"] .qcdt-scope-opt { background:var(--bg-card); }
[data-theme="dark"] .qcdt-scope-opt b { color:var(--text-1); }
[data-theme="dark"] .qcdt-scope-opt small { color:#8296b0; }
[data-theme="dark"] .qcdt-scope-opt:has(input:checked) { background:rgba(34,197,94,.10); }
[data-theme="dark"] .qcdt-fld label { color:#8296b0; }
[data-theme="dark"] .qcdt-fld input { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .qcdt-note { background:rgba(244,63,94,.10); border-color:rgba(244,63,94,.42); color:#fda4af; }
[data-theme="dark"] .qcdt-note i { color:#fb7185; }
[data-theme="dark"] .qcdt-note-soft { background:rgba(34,197,94,.10); border-color:rgba(34,197,94,.42); color:#86efac; }
[data-theme="dark"] .qcdt-note-soft i { color:#4ade80; }
[data-theme="dark"] .qcdt-footer { background:var(--bg-card); border-top-color:var(--border-1); }
[data-theme="dark"] .qcdt-cancel { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .qcdt-cancel:hover { background:var(--bg-hover); }
[data-theme="dark"] .qcsvc-types-note { color:#8296b0; }
[data-theme="dark"] .qcsvc-types-note b { color:var(--text-3); }
[data-theme="dark"] .qcsvc-fld label { color:#8296b0; }
[data-theme="dark"] .qcsvc-fld input, [data-theme="dark"] .qcsvc-fld select, [data-theme="dark"] .qcsvc-body textarea { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .qcsvc-money { background:var(--bg-card); }
[data-theme="dark"] .qcsvc-money select { border-left-color:var(--border-2) !important; background:var(--bg-inset); color:var(--text-3); }
[data-theme="dark"] .qcsvc-footer { background:var(--bg-card); border-top-color:var(--border-2); }
[data-theme="dark"] .qcsvc-foot-hint { color:#8296b0; }
[data-theme="dark"] .qcsvc-cancel { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .qcsvc-cancel:hover { background:var(--bg-raise); }
[data-theme="dark"] .qc-inv-form { background:linear-gradient(135deg,rgba(16,185,129,.10),var(--bg-inset)); border-color:rgba(16,185,129,.30); }
[data-theme="dark"] .qc-inv-fld label { color:var(--text-3); }
[data-theme="dark"] .qc-inv-fld label small { color:#8296b0; }
[data-theme="dark"] .qc-inv-fld input, [data-theme="dark"] .qc-inv-fld select { border-color:var(--border-1); background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .qc-inv-autonum { background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(20,184,166,.10)); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-inv-autonum i { color:#34d399; }
[data-theme="dark"] .qc-inv-autonum span { color:#34d399; }
[data-theme="dark"] .qc-inv-autonum b { color:#6ee7b7; }
[data-theme="dark"] .qc-inv-row { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .qc-inv-row:hover { border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-inv-ico { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .qc-inv-ico.is-refund { background:rgba(249,115,22,.10); }
[data-theme="dark"] .qc-inv-no { color:var(--text-1); }
[data-theme="dark"] .qc-inv-type { color:#34d399; background:rgba(16,185,129,.18); }
[data-theme="dark"] .qc-inv-type.is-refund { color:#fb923c; background:rgba(249,115,22,.18); }
[data-theme="dark"] .qc-inv-official.pending { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] .qc-inv-official.issued { color:#6ee7b7; background:rgba(16,185,129,.18); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-inv-official.cancelled { color:#f87171; background:rgba(239,68,68,.17); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .qcdoc-modal { background:var(--bg-card); }
[data-theme="dark"] .qcdoc-title { color:var(--text-1); }
[data-theme="dark"] .qcdoc-sub { color:#8296b0; }
[data-theme="dark"] .qcdoc-x { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .qcdoc-x:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .qcdoc-fld input { background:var(--bg-card); }
[data-theme="dark"] .qcdoc-seg { background:var(--bg-card); }
[data-theme="dark"] .qcdoc-seg button { color:var(--text-3); }
[data-theme="dark"] .qcdoc-send { border-color:var(--border-1); background:var(--bg-inset); color:#8296b0; }
[data-theme="dark"] .qcdoc-send .soon { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .qcdoc-list-head { color:var(--text-2); }
[data-theme="dark"] .qcdoc-count { color:#a5b4fc; background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .qcdoc-row { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .qcdoc-row:hover { border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .qcdoc-row-ico { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .qcdoc-row-main small { color:#8296b0; }
[data-theme="dark"] .qcdoc-row-acts a, [data-theme="dark"] .qcdoc-row-acts button { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .qcdoc-row-acts a:hover { color:#a5b4fc; background:rgba(99,102,241,.13); }
[data-theme="dark"] .qcdoc-row-acts button.danger:hover { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.08); }
[data-theme="dark"] .qcdoc-empty { color:#8296b0; border-color:var(--border-1); }
[data-theme="dark"] .qcx-fare-ticket.ft-adult { color:#b3bcf9; background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .qcx-fare-ticket.ft-child { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .qcx-fare-ticket.ft-infant { color:#f472b6; background:rgba(236,72,153,.17); border-color:rgba(236,72,153,.42); }
[data-theme="dark"] .qcx-fare-ticket.ft-single { color:var(--text-2); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .qcx-fare-ticket.ft-bed { color:#2dd4bf; background:rgba(20,184,166,.18); border-color:rgba(20,184,166,.42); }
[data-theme="dark"] .qc-inv-sub { color:#8296b0; }
[data-theme="dark"] .qc-inv-amount { color:var(--text-1); }
[data-theme="dark"] .qc-inv-amount small { color:#8296b0; }
[data-theme="dark"] .qc-inv-btn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .qc-inv-btn:hover { color:#34d399; background:rgba(16,185,129,.10); }
[data-theme="dark"] .qc-inv-btn.danger:hover { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.08); }
[data-theme="dark"] .qc-inv-empty { color:#8296b0; border-color:var(--border-1); }
[data-theme="dark"] .qc-disc-seg { background:var(--bg-raise); }
[data-theme="dark"] .qc-disc-seg button { color:var(--text-3); }
[data-theme="dark"] .qc-disc-seg button.active { background:var(--bg-card); color:#34d399; }
[data-theme="dark"] .qc-dep-banner { background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(16,185,129,.10)); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-dep-title { color:#c7d2fe; }
[data-theme="dark"] .qc-dep-sub { color:#34d399; }
[data-theme="dark"] .qc-dep-badge { color:#34d399; background:var(--bg-card); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-autofill-note { background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(168,85,247,.09)); border-color:rgba(16,185,129,.30); }
[data-theme="dark"] .qc-autofill-txt { color:#34d399; }
[data-theme="dark"] .qc-autofill-txt b { color:#6ee7b7; }
[data-theme="dark"] .qc-newcust-btn { border-color:rgba(16,185,129,.30); background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .qc-cust-trigger { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .qc-cust-trigger:hover { border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-cust-tr-ico { color:#8296b0; background:var(--bg-hover); }
[data-theme="dark"] .qc-cust-tr-txt { color:var(--text-3); }
[data-theme="dark"] .qc-cust-tr-txt b { color:var(--text-1); }
[data-theme="dark"] .qc-cust-tr-sub { color:#8296b0; }
[data-theme="dark"] .qc-cust-caret { color:#8296b0; }
[data-theme="dark"] .qc-cust-dropdown { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .qc-cust-search { border-bottom-color:var(--border-2); }
[data-theme="dark"] .qc-cust-search i { color:#8296b0; }
[data-theme="dark"] .qc-cust-search input { color:var(--text-1); }
[data-theme="dark"] .qc-cust-row:hover { background:rgba(99,102,241,.08); }
[data-theme="dark"] .qc-cust-av { color:#34d399; background:rgba(16,185,129,.10); }
[data-theme="dark"] .qc-cust-name { color:var(--text-1); }
[data-theme="dark"] .qc-cust-sub { color:#8296b0; }
[data-theme="dark"] .qc-cust-loading, [data-theme="dark"] .qc-cust-empty { color:#8296b0; }
[data-theme="dark"] .qc-cust-addnew { border-top-color:var(--border-2); background:var(--bg-inset); color:#34d399; }
[data-theme="dark"] .qc-cust-addnew:hover { background:rgba(16,185,129,.10); }
[data-theme="dark"] .qc-newcust-form { background:linear-gradient(135deg,var(--bg-inset),rgba(16,185,129,.10)); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qc-newcust-head { color:#34d399; }
[data-theme="dark"] .qc-nc-label { color:var(--text-3); }
[data-theme="dark"] .qc-nc-input { border-color:var(--border-1); background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .qc-nc-error { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); color:#f87171; }
[data-theme="dark"] .qc-nc-cancel { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .qc-nc-cancel:hover { background:var(--bg-hover); }
[data-theme="dark"] .qc-autosave-strip { color:var(--text-2); background:rgba(34,197,94,.10); border-color:rgba(34,197,94,.42); }
[data-theme="dark"] .qc-autosave-strip > i { color:#4ade80; }
[data-theme="dark"] .qc-autosave-strip b { color:#4ade80; }
[data-theme="dark"] .qc-save-indicator[data-state="saved"] { color:#4ade80; }
[data-theme="dark"] .qc-save-indicator[data-state="saving"] { color:#fbbf24; }
[data-theme="dark"] .qc-save-indicator[data-state="error"] { color:#f87171; }
[data-theme="dark"] .qc-autosave-strip.is-error { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); color:#fecaca; }
[data-theme="dark"] .qc-autosave-strip.is-error > i, [data-theme="dark"] .qc-autosave-strip.is-error b { color:#f87171; }
[data-theme="dark"] .qc-save-error { background:var(--bg-card); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .qc-save-error-head { color:#f87171; }
[data-theme="dark"] .qc-save-error-msg { color:#fecaca; }
[data-theme="dark"] .qvcat-content { background:var(--bg-inset); }
[data-theme="dark"] .qvcat-head-title p { color:#8296b0; }
[data-theme="dark"] .qvcat-tab { color:var(--text-3); }
[data-theme="dark"] .qvcat-toolbar { background:var(--bg-card); border-bottom-color:var(--border-1); }
[data-theme="dark"] .qvcat-search i { color:#8296b0; }
[data-theme="dark"] .qvcat-search input { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .qvcat-search input:focus { background:var(--bg-card); }
[data-theme="dark"] .qvcat-filter { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .qvcat-group-badge { color:#34d399; background:rgba(16,185,129,.18); }
[data-theme="dark"] .qvcat-group-badge.sup { color:#22d3ee; background:rgba(6,182,212,.18); }
[data-theme="dark"] .qvcat-group-line { background:linear-gradient(90deg,var(--bg-raise),transparent); }
[data-theme="dark"] .qvcat-group-n { color:#8296b0; }
[data-theme="dark"] .qvcat-card { background:var(--bg-card); }
[data-theme="dark"] .qvcat-card:hover { border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qvcat-card-ico { color:#34d399; background:linear-gradient(135deg,rgba(16,185,129,.10),rgba(16,185,129,.18)); }
[data-theme="dark"] .qvcat-card-ico.sup { color:#22d3ee; background:linear-gradient(135deg,rgba(6,182,212,.10),rgba(6,182,212,.18)); }
[data-theme="dark"] .qvcat-card-name { color:var(--text-1); }
[data-theme="dark"] .qvcat-chip { color:var(--text-2); background:var(--bg-hover); }
[data-theme="dark"] .qvcat-chip i { color:#8296b0; }
[data-theme="dark"] .qvcat-chip.tour { color:#34d399; background:rgba(16,185,129,.10); }
[data-theme="dark"] .qvcat-chip.muted { color:#8296b0; background:var(--bg-inset); }
[data-theme="dark"] .qvcat-chip-link:hover { color:#a5b4fc; background:rgba(99,102,241,.13); }
[data-theme="dark"] .qvcat-chip.warn { color:#fbbf24; background:rgba(245,158,11,.10); }
[data-theme="dark"] .qvcat-group-badge.closed { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .qvcat-closed-note { color:#fcd34d; background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .qvcat-card.is-closed { background:var(--bg-inset); }
[data-theme="dark"] .qvcat-card.is-closed .qvcat-card-name { color:var(--text-3); }
[data-theme="dark"] .qvcat-card.is-closed .qvcat-card-cta { color:#fbbf24; }
[data-theme="dark"] .qvcat-card-ico.closed { color:#fbbf24; background:linear-gradient(135deg,rgba(245,158,11,.10),rgba(245,158,11,.18)); }
[data-theme="dark"] .qvcat-card-price { color:var(--text-1); }
[data-theme="dark"] .qvcat-card-price small { color:#8296b0; }
[data-theme="dark"] .qvcat-group-badge.xtra { color:#c4b5fd; background:rgba(139,92,246,.18); }
[data-theme="dark"] .qvcat-card-ico.xtra { color:#c4b5fd; background:linear-gradient(135deg,rgba(139,92,246,.11),rgba(139,92,246,.18)); }
[data-theme="dark"] .qvcat-empty { color:#8296b0; }
[data-theme="dark"] .qvcat-back { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .qvcat-date-head { background:linear-gradient(135deg,rgba(245,158,11,.10),rgba(245,158,11,.18)); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .qvcat-date-head-name { color:#fde68a; }
[data-theme="dark"] .qvcat-date-head-sub { color:#fbbf24; }
[data-theme="dark"] .qvcat-date-loading { color:#8296b0; }
[data-theme="dark"] .qvcat-date-card { background:var(--bg-card); }
[data-theme="dark"] .qvcat-date-when { color:var(--text-1); }
[data-theme="dark"] .qvcat-date-guar { color:#4ade80; background:rgba(34,197,94,.17); }
[data-theme="dark"] .qvcat-date-prices span { color:var(--text-3); background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .qvcat-date-prices span.adult { color:#6ee7b7; background:rgba(16,185,129,.10); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] .qvcat-date-prices b { color:var(--text-1); }
[data-theme="dark"] .qvcat-date-prices span.adult b { color:#34d399; }
[data-theme="dark"] .qvcat-date-foot { border-top-color:var(--border-2); }
[data-theme="dark"] .qvcat-date-cap { color:var(--text-3); }
[data-theme="dark"] .qvcat-date-cap i { color:#8296b0; }
[data-theme="dark"] .qvcat-date-card:hover .qvcat-date-pick { color:#fbbf24; }
[data-theme="dark"] .qvcat-date-card.sel { background:rgba(245,158,11,.05); }
[data-theme="dark"] .qvcat-date-none { color:#fbbf24; background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .qvcat-fare-panel { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .qvcat-fare-head { background:linear-gradient(135deg,var(--bg-inset),rgba(16,185,129,.10)); border-bottom-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .qvcat-fare-total { color:#34d399; }
[data-theme="dark"] .qvcat-fare-row { border-bottom-color:var(--border-2); }
[data-theme="dark"] .qvcat-fare-label { color:var(--text-1); }
[data-theme="dark"] .qvcat-fare-label i { color:#34d399; background:rgba(16,185,129,.10); }
[data-theme="dark"] .qvcat-fare-unit { color:var(--text-3); }
[data-theme="dark"] .qvcat-fare-qty input { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qvcat-fare-sub { color:#34d399; }
[data-theme="dark"] .qvcat-fare-actions { background:var(--bg-inset); border-top-color:var(--border-2); }
[data-theme="dark"] .qvcat-fare-cancel { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .qvcat-fare-cancel:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .qvcat-customdate { border-color:#33445f; }
[data-theme="dark"] .qvcat-customdate-head { color:var(--text-2); background:var(--bg-inset); }
[data-theme="dark"] .qvcat-customdate-head:hover { background:var(--bg-hover); }
[data-theme="dark"] .qvcat-customdate-body { border-top-color:var(--border-2); }
[data-theme="dark"] .qvcat-cd-fld label { color:#8296b0; }
[data-theme="dark"] .qvcat-cd-fld input, [data-theme="dark"] .qvcat-cd-fld select { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qvcat-cd-hint { color:#8296b0; }
[data-theme="dark"] .qvcat-footer { background:var(--bg-card); border-top-color:var(--border-1); }
[data-theme="dark"] .qvcat-foot-hint { color:#8296b0; }

/* ── resources/views/agency/sales/quick-view.blade.php ── */
[data-theme="dark"] .sqv-pipeline-wrap { background:var(--bg-inset); border-bottom-color:var(--border-1); }
[data-theme="dark"] .sqv-seg.future { border-color:var(--border-1); }
[data-theme="dark"] .sqv-seg.future:hover { background:var(--bg-raise); border-color:#33445f; }
[data-theme="dark"] .sqv-cancelled-bar { background:linear-gradient(135deg, rgba(239,68,68,.10), rgba(239,68,68,.17)); color:#fca5a5; border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .sqv-metrics-bar { background:var(--bg-card); border-bottom-color:var(--border-1); }
[data-theme="dark"] .sqv-metric-item { border-right-color:var(--border-2); }
[data-theme="dark"] .sqv-metric-item:hover { background:var(--bg-inset); }
[data-theme="dark"] .sqv-metric-label { color:#8296b0; }
[data-theme="dark"] .sqv-metric-val { color:var(--text-1); }
[data-theme="dark"] .sqv-card:hover { border-color:#33445f; }
[data-theme="dark"] .sqv-field { border-bottom-color:var(--border-2); }
[data-theme="dark"] .sqv-field:hover { background:var(--bg-inset); }
[data-theme="dark"] .sqv-field label { color:#8296b0; }
[data-theme="dark"] .sqv-field div { color:var(--text-1); }
[data-theme="dark"] .sqv-notes-card { background:linear-gradient(135deg, rgba(245,158,11,.10), rgba(234,179,8,.10)); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .sqv-note-section label { color:#fbbf24; }
[data-theme="dark"] .sqv-activity-composer .nav-tabs .nav-link.active { background:var(--bg-hover) !important; border-color:var(--border-1) !important; }
[data-theme="dark"] .hover-scale:hover { background:var(--bg-raise) !important; }
[data-theme="dark"] .sqv-feed-item.pinned .sqv-feed-card { background:rgba(245,158,11,.10) !important; border-color:rgba(245,158,11,.42) !important; }
[data-theme="dark"] .sqv-feed-item.important .sqv-feed-icon-circle { background:rgba(239,68,68,.10) !important; }
[data-theme="dark"] #qvAddItemModal .modal-header { border-bottom-color:var(--border-2) !important; background:linear-gradient(to right, var(--bg-inset), var(--bg-card)) !important; }
[data-theme="dark"] #qvAddItemModal .modal-title { color:var(--text-1) !important; }
[data-theme="dark"] #qvAddItemModal .modal-body { background:var(--bg-card) !important; }
[data-theme="dark"] #qvAddItemModal .form-label { color:var(--text-2) !important; }
[data-theme="dark"] #qvAddItemModal .form-control, [data-theme="dark"] #qvAddItemModal .form-select { border-color:var(--border-1) !important; background:var(--bg-inset) !important; color:var(--text-1) !important; }
[data-theme="dark"] #qvAddItemModal .form-control:focus, [data-theme="dark"] #qvAddItemModal .form-select:focus { background:var(--bg-card) !important; }
[data-theme="dark"] #qvAddItemModal .modal-footer { border-top-color:var(--border-2) !important; background:var(--bg-inset) !important; }
[data-theme="dark"] #qvAddItemModal .modal-footer .btn-light { background:var(--bg-hover) !important; color:var(--text-2) !important; }
[data-theme="dark"] #qvAddItemModal .modal-footer .btn-light:hover { background:var(--bg-raise) !important; color:var(--text-1) !important; }
[data-theme="dark"] .qv-product-row input.form-control, [data-theme="dark"] .qv-product-row select.form-select { border-bottom-color:var(--border-1); }
[data-theme="dark"] .qv-product-row input.form-control:hover, [data-theme="dark"] .qv-product-row select.form-select:hover { background:var(--bg-inset) !important; border-bottom-color:#33445f !important; }
[data-theme="dark"] .qv-product-row input.form-control:focus, [data-theme="dark"] .qv-product-row select.form-select:focus { background:var(--bg-card) !important; }
[data-theme="dark"] #catalogSearchInput::placeholder { color:var(--text-3); }
[data-theme="dark"] .catalog-product-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .catalog-product-icon { background:linear-gradient(135deg, rgba(16,185,129,.18), rgba(16,185,129,.28)); }
[data-theme="dark"] .catalog-product-name { color:var(--text-1); }
[data-theme="dark"] .catalog-product-desc { color:#8296b0; }
[data-theme="dark"] .catalog-product-price { color:#60a5fa; }
[data-theme="dark"] .catalog-product-select-btn { background:rgba(16,185,129,.18); }

/* ── resources/views/agency/sales/show.blade.php ── */
[data-theme="dark"] .dch { background:linear-gradient(to right, var(--bg-inset), var(--bg-card)); }
[data-theme="dark"] .b-potential { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .b-offer_sent { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .b-revised { background:rgba(139,92,246,.18); color:#a78bfa; }
[data-theme="dark"] .b-confirmed { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .b-in_progress { background:rgba(14,165,233,.17); color:#38bdf8; }
[data-theme="dark"] .b-completed { background:rgba(34,197,94,.10); color:#86efac; border-color:rgba(34,197,94,.30); }
[data-theme="dark"] .b-cancelled { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .b-refunded { background:rgba(249,115,22,.18); color:#fdba74; }
[data-theme="dark"] .bp-unpaid { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .bp-partial { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .bp-paid { background:rgba(16,185,129,.18); color:#34d399; }
[data-theme="dark"] .sb-edit { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .sb-confirm { background:rgba(16,185,129,.18); color:#34d399; }
[data-theme="dark"] .sb-cancel { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .sb-back { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .sb-pay { background:rgba(245,158,11,.18); color:#fbbf24; }

/* ── resources/views/agency/search/index.blade.php ── */
[data-theme="dark"] .srch-bar { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .srch-bar input { color:var(--text-1); }
[data-theme="dark"] .srch-bar input::placeholder { color:#8296b0; }
[data-theme="dark"] .srch-chip { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .srch-chip:hover { border-color:rgba(99,102,241,.42); color:#a5b4fc; }
[data-theme="dark"] .srch-chip .cnt { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .srch-group { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .srch-group-h { border-bottom-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .srch-group-h .glabel { color:var(--text-1); }
[data-theme="dark"] .srch-group-h .gcount { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .srch-row { border-bottom-color:var(--border-2); }
[data-theme="dark"] .srch-row:hover { background:var(--bg-inset); }
[data-theme="dark"] .srch-row .rtitle { color:var(--text-1); }
[data-theme="dark"] .srch-row .rtitle mark { background:rgba(99,102,241,.21); color:#a5b4fc; }
[data-theme="dark"] .srch-row .rsub { color:#8296b0; }
[data-theme="dark"] .srch-row .rsub mark { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .srch-row .rbadge { color:var(--text-3); background:var(--bg-hover); }
[data-theme="dark"] .srch-empty { color:#8296b0; }
[data-theme="dark"] .srch-empty .eico { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .srch-empty .etitle { color:var(--text-2); }

/* ── resources/views/agency/settings/activity-logs/index.blade.php ── */
[data-theme="dark"] .alog-page { --c-view:var(--text-3); --c-other:#3e5273; }
[data-theme="dark"] .alog-live { color:#34d399; }
[data-theme="dark"] .alog-time { color:var(--text-1); }
[data-theme="dark"] .alog-date { color:#8296b0; }
[data-theme="dark"] .alog-avatar { background:var(--bg-hover); color:var(--text-2); border-color:var(--border-1); }
[data-theme="dark"] .alog-uname { color:var(--text-2); }
[data-theme="dark"] .alog-chip { color:var(--text-2); background:var(--bg-hover); }
[data-theme="dark"] .alog-desc { color:var(--text-1); }
[data-theme="dark"] .alog-mono { color:var(--text-3); }
[data-theme="dark"] .alog-expand { background:var(--bg-card); color:#8296b0; }
[data-theme="dark"] .alog-expand:hover { color:#38bdf8; border-color:rgba(14,165,233,.42); background:rgba(14,165,233,.10); }
[data-theme="dark"] .alog-expand.is-open { color:#38bdf8; border-color:rgba(14,165,233,.42); }
[data-theme="dark"] .alog-detail-row > td { background:var(--bg-inset); }
[data-theme="dark"] .alog-detail-meta { color:var(--text-3); }

/* ── resources/views/agency/settings/classes/index.blade.php ── */
[data-theme="dark"] .pc-divider { background:linear-gradient(90deg,var(--bg-raise),transparent); }
[data-theme="dark"] .pc-card { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .pcg-tab { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .pcg-tab:hover { border-color:rgba(99,102,241,.42); color:#a5b4fc; }
[data-theme="dark"] .pcg-tab .pcg-count { color:#a5b4fc; }
[data-theme="dark"] .pcg-add { border-color:rgba(99,102,241,.42); background:rgba(139,92,246,.11); color:#c4b5fd; }
[data-theme="dark"] .pcg-name-inp { color:var(--text-1); }
[data-theme="dark"] .pcg-name-inp:hover { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .pcg-name-inp:focus { background:var(--bg-card); }
[data-theme="dark"] .pcg-del-group { border-color:rgba(239,68,68,.30); background:rgba(239,68,68,.08); }
[data-theme="dark"] .pcg-default-chip { color:#a5b4fc; background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.30); }
[data-theme="dark"] .pc-row { border-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .pc-row.is-base { border-color:rgba(99,102,241,.42); background:linear-gradient(180deg,rgba(99,102,241,.08),var(--bg-card)); }
[data-theme="dark"] .pc-lbl { color:#8296b0; }
[data-theme="dark"] .pc-inp { border-color:var(--border-1); background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .pc-inp:disabled { background:var(--bg-hover); color:#8296b0; }
[data-theme="dark"] .pc-difftype span { color:var(--text-3); }
[data-theme="dark"] .pc-difftype input:checked + span { background:var(--bg-card); color:#a5b4fc; }
[data-theme="dark"] .pc-del { border-color:rgba(239,68,68,.30); background:rgba(239,68,68,.08); }
[data-theme="dark"] .pc-empty-group { color:#8296b0; border-color:var(--border-1); }
[data-theme="dark"] .pc-preview .sub { color:#8296b0; }
[data-theme="dark"] .pc-chip .cd { color:#8296b0; }

/* ── resources/views/agency/settings/company/index.blade.php ── */
[data-theme="dark"] .settings-icon-wrapper { background:var(--bg-card); }
[data-theme="dark"] .bank-count-pill { color:#22d3ee; background:rgba(6,182,212,.10); border-color:rgba(6,182,212,.42); }
[data-theme="dark"] .bank-add-ghost { background:var(--bg-inset); border-color:#33445f; color:var(--text-3); }
[data-theme="dark"] .bank-add-ghost:hover { background:rgba(6,182,212,.10); color:#22d3ee; }
[data-theme="dark"] .bank-add-icon { background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .bank-add-sub { color:#8296b0; }

/* ── resources/views/agency/settings/company/pdf.blade.php ── */
[data-theme="dark"] .agency-name { color:#2dd4bf; }
[data-theme="dark"] .legal-name { color:var(--text-2); }
[data-theme="dark"] .doc-title { color:var(--text-2); }
[data-theme="dark"] .doc-date { color:#8296b0; }
[data-theme="dark"] .section-title { color:#2dd4bf; border-bottom-color:var(--border-1); }
[data-theme="dark"] .info-table td { border-bottom-color:var(--border-2); }
[data-theme="dark"] .info-table td.label { color:var(--text-3); }
[data-theme="dark"] .info-table td.value { color:var(--text-1); }
[data-theme="dark"] .footer { border-top-color:var(--border-1); color:#8296b0; }

/* ── resources/views/agency/settings/contracts/index.blade.php ── */
[data-theme="dark"] .stats-mini-card { background:var(--bg-card); }

/* ── resources/views/agency/settings/contracts/partials/multilang-editor.blade.php ── */
[data-theme="dark"] .ced-label { color:#8296b0; }
[data-theme="dark"] .ced-hint { color:#8296b0; }
[data-theme="dark"] .lang-tab { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .lang-tab:hover { color:#c4b5fd; }
[data-theme="dark"] .lang-tab .lang-code { color:var(--text-2); }
[data-theme="dark"] .lang-tab .lang-dot { background:#33445f; }
[data-theme="dark"] .lang-tab.active .lang-dot.filled { background:rgba(34,197,94,.26); }
[data-theme="dark"] .lang-tab .lang-primary-badge { color:#fdba74; }
[data-theme="dark"] .lang-tab.active .lang-primary-badge { background:rgba(245,158,11,.28); color:#fde68a; }
[data-theme="dark"] .lang-tab .lang-remove { color:#8296b0; }
[data-theme="dark"] .lang-add-btn { color:#a78bfa; }
[data-theme="dark"] .lang-add-panel { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .lang-add-search { background:var(--bg-inset); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .lang-add-search input { color:var(--text-1); }
[data-theme="dark"] .lang-add-item { color:var(--text-2); }
[data-theme="dark"] .lang-add-item:hover { color:#c4b5fd; }
[data-theme="dark"] .lang-add-item .lang-code { color:var(--text-2); }
[data-theme="dark"] .lang-add-list::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .active-lang-banner { color:#c4b5fd; }
[data-theme="dark"] .ctx-pill { border-color:var(--border-1); background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .ctx-pill:hover { color:#c4b5fd; }
[data-theme="dark"] .ced-pane { background:var(--bg-card); }
[data-theme="dark"] .ced-pane-head { border-bottom-color:var(--border-2); color:var(--text-2); }
[data-theme="dark"] .ced-pane-head small { color:#8296b0; }
[data-theme="dark"] .ced-rich { background:var(--bg-card); }
[data-theme="dark"] .ced-rich .ql-toolbar.ql-snow { background:var(--bg-inset); }
[data-theme="dark"] .ced-rich .ql-editor { color:var(--text-2); }
[data-theme="dark"] .ced-rich .ql-editor h3 { color:var(--text-1); }
[data-theme="dark"] .ced-mini { border-color:var(--border-1); background:var(--bg-card); color:#a78bfa; }
[data-theme="dark"] .ced-mini:hover { background:rgba(139,92,246,.11); }

/* ── resources/views/agency/settings/customers/document-types/index.blade.php ── */
[data-theme="dark"] .bg-soft-danger { background-color:rgba(239,68,68,.17); }
[data-theme="dark"] .bg-soft-secondary { background-color:var(--bg-hover); }
[data-theme="dark"] .btn-icon:hover { background:var(--bg-hover); }

/* ── resources/views/agency/settings/index.blade.php ── */
[data-theme="dark"] .settings-card { background:var(--bg-card); }
[data-theme="dark"] .border-dashed { border-color:var(--border-1); }

/* ── resources/views/agency/settings/invoice-template/index.blade.php ── */
[data-theme="dark"] .itpl-back { background:var(--bg-card); color:var(--text-3); border-color:var(--border-1); }
[data-theme="dark"] .itpl-kicker { color:#34d399; }
[data-theme="dark"] .itpl-title { color:var(--text-1); }
[data-theme="dark"] .itpl-btn.ghost { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .itpl-btn.ghost:hover { color:#f87171; background:rgba(239,68,68,.10); }
[data-theme="dark"] .itpl-btn.numrule { color:#8296b0; }
[data-theme="dark"] .itpl-vars-search i { color:var(--text-2); }
[data-theme="dark"] .itpl-vars-search input::placeholder { color:var(--text-2); }
[data-theme="dark"] .itpl-var-group-title { color:var(--text-3); }
[data-theme="dark"] .itpl-var-add { color:var(--text-3); }
[data-theme="dark"] .itpl-var-empty { color:var(--text-2); }
[data-theme="dark"] .itpl-pane { background:var(--bg-card); }
[data-theme="dark"] .itpl-pane-head { border-bottom-color:var(--border-2); color:var(--text-2); }
[data-theme="dark"] .itpl-pane-head small { color:#8296b0; }
[data-theme="dark"] .itpl-editor-pane .itpl-pane-head small { color:var(--text-3); }
[data-theme="dark"] .itpl-mini { border-color:var(--border-1); background:var(--bg-card); color:#34d399; }
[data-theme="dark"] .itpl-mini:hover { background:rgba(16,185,129,.10); border-color:rgba(16,185,129,.42); }
[data-theme="dark"] #itplFrame { background:var(--bg-hover); }
[data-theme="dark"] .nrm-modal { background:var(--bg-card); }
[data-theme="dark"] .nrm-kicker { color:#34d399; }
[data-theme="dark"] .nrm-title { color:var(--text-1); }
[data-theme="dark"] .nrm-close { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .nrm-close:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .nrm-preview-label { color:var(--text-3); }
[data-theme="dark"] .nrm-seg { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .nrm-seg-type.text { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .nrm-seg-type.date { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .nrm-seg-type.seq { background:rgba(16,185,129,.18); color:#34d399; }
[data-theme="dark"] .nrm-seg-type.random { background:rgba(236,72,153,.17); color:#f472b6; }
[data-theme="dark"] .nrm-seg-fields input, [data-theme="dark"] .nrm-seg-fields select { border-color:var(--border-1); color:var(--text-1); background:var(--bg-card); }
[data-theme="dark"] .nrm-seg-fields label { color:#8296b0; }
[data-theme="dark"] .nrm-seg-tools button { background:var(--bg-card); color:#8296b0; border-color:var(--border-1); }
[data-theme="dark"] .nrm-seg-tools button:hover { color:var(--text-1); border-color:#33445f; }
[data-theme="dark"] .nrm-seg-tools button.del:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .nrm-addbar-label { color:var(--text-3); }
[data-theme="dark"] .nrm-add { border-color:#33445f; background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .nrm-add:hover { color:#34d399; background:rgba(16,185,129,.10); }
[data-theme="dark"] .nrm-note { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .nrm-foot { border-top-color:var(--border-2); }
[data-theme="dark"] .nrm-btn.ghost { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .nrm-btn.ghost:hover { color:#f87171; background:rgba(239,68,68,.10); }

/* ── resources/views/agency/settings/sale-document-template/index.blade.php ── */
[data-theme="dark"] .itpl-kicker { color:#a5b4fc; }
[data-theme="dark"] .itpl-mini { border-color:var(--border-1); background:var(--bg-card); color:#a5b4fc; }
[data-theme="dark"] .itpl-mini:hover { background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .nrm-kicker { color:#a5b4fc; }
[data-theme="dark"] .nrm-add:hover { color:#b3bcf9; background:rgba(99,102,241,.13); }

/* ── resources/views/agency/staff-management/roles/create.blade.php ── */
[data-theme="dark"] .permission-group-card { background:var(--bg-card); }
[data-theme="dark"] .permission-group-header { background:linear-gradient(135deg, var(--bg-inset) 0%, var(--bg-hover) 100%); }
[data-theme="dark"] .permission-group-header h6 { color:var(--text-1); }
[data-theme="dark"] .permission-item:hover { background-color:var(--bg-inset); }
[data-theme="dark"] .permission-item span { color:var(--text-2); }
[data-theme="dark"] .permission-item:hover span { color:var(--text-1); }

/* ── resources/views/agency/staff-management/roles/edit.blade.php ── */
[data-theme="dark"] .alert-info { background-color:rgba(20,184,166,.10); border-color:rgba(20,184,166,.30); color:#2dd4bf; }

/* ── resources/views/agency/staff-management/staff/edit.blade.php ── */
[data-theme="dark"] .emp-status-box { border-color:rgba(34,197,94,.42); background:rgba(34,197,94,.10); }
[data-theme="dark"] .emp-status-box.dismissed { border-color:rgba(239,68,68,.42); background:rgba(239,68,68,.10); }
[data-theme="dark"] .emp-status-title { color:#4ade80; }
[data-theme="dark"] .emp-status-box.dismissed .emp-status-title { color:#f87171; }
[data-theme="dark"] .emp-status-hint { color:var(--text-3); }
[data-theme="dark"] .emp-danger-note { background:rgba(239,68,68,.17); color:#f87171; }

/* ── resources/views/agency/staff-management/task-rules/index.blade.php ── */
[data-theme="dark"] .tr-intro { background:linear-gradient(135deg, rgba(245,158,11,.10), var(--bg-card)); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .tr-intro-body h5 { color:var(--text-1); }
[data-theme="dark"] .tr-intro-body p { color:var(--text-3); }
[data-theme="dark"] .tr-note { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] .tr-note code { background:var(--bg-card); color:#fbbf24; }
[data-theme="dark"] .tr-group-head h6 { color:var(--text-1); }
[data-theme="dark"] .tr-group-head span { color:#8296b0; }
[data-theme="dark"] .tr-row { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .tr-row.on { border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .tr-row-title { color:var(--text-1); }
[data-theme="dark"] .tr-row-desc { color:#8296b0; }
[data-theme="dark"] .tr-kind.event { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .tr-kind.scheduled { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .tr-target-count { color:#8296b0; }
[data-theme="dark"] .tr-row.on .tr-target-count { color:#fbbf24; }
[data-theme="dark"] .tr-switch-track { background:var(--bg-raise); }
[data-theme="dark"] .tr-switch-thumb { background:var(--bg-card); }
[data-theme="dark"] .tr-row-config { background:var(--bg-inset); }
[data-theme="dark"] .tr-cfg-block label { color:var(--text-3); }
[data-theme="dark"] .tr-input { border-color:var(--border-1); color:var(--text-2); background:var(--bg-card); }
[data-theme="dark"] .tr-chip span { color:var(--text-3); border-color:var(--border-1); }
[data-theme="dark"] .tr-chip input:checked + span { color:#fcd34d; background:rgba(245,158,11,.10); }
[data-theme="dark"] .tr-chip input:checked + span i { color:#fbbf24; }
[data-theme="dark"] .tr-chip-count { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .tr-chip-count.zero { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tr-chip input:checked + span .tr-chip-count { background:rgba(245,158,11,.28); color:#fcd34d; }
[data-theme="dark"] .tr-chip input:checked + span .tr-chip-count.zero { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tr-cfg-hint { color:#8296b0; }
[data-theme="dark"] .tr-via-badge { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .tr-chip-user.via-role span { background:rgba(59,130,246,.12); color:#93c5fd; }
[data-theme="dark"] .tr-chip-user.via-role input:checked + span { background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] .tr-resolved { color:#93c5fd; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .tr-resolved.none { color:#fbbf24; background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .tr-cl-del { border-color:rgba(239,68,68,.42); background:var(--bg-card); }
[data-theme="dark"] .tr-cl-del:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .tr-cl-add { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] .tr-cl-add:hover { background:rgba(245,158,11,.18); }
[data-theme="dark"] .tr-cl-reset { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tr-cl-reset:hover { background:var(--bg-inset); color:var(--text-2); }
[data-theme="dark"] .tr-when { background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .tr-when > i { color:#60a5fa; }
[data-theme="dark"] .tr-when b { color:#93c5fd; }
[data-theme="dark"] .tr-when span { color:var(--text-2); }
[data-theme="dark"] .tr-desc-editwrap .ql-toolbar { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .tr-desc-editwrap .ql-container { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .tr-varbtn { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] .tr-varbtn:hover { background:rgba(245,158,11,.18); }
[data-theme="dark"] .trv-top { border-bottom-color:var(--border-2); }
[data-theme="dark"] .trv-head-tx h5 { color:var(--text-1); }
[data-theme="dark"] .trv-head-tx p { color:#8296b0; }
[data-theme="dark"] .trv-x { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .trv-x:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .trv-search > i { color:#8296b0; }
[data-theme="dark"] .trv-search input { border-color:var(--border-1); }
[data-theme="dark"] .trv-rail { border-right-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .trv-cat { color:var(--text-3); }
[data-theme="dark"] .trv-cat i { color:#8296b0; }
[data-theme="dark"] .trv-cat b { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .trv-cat:hover { background:var(--bg-hover); color:var(--text-1); }
[data-theme="dark"] .trv-cat.active { background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] .trv-cat.active i { color:#fbbf24; }
[data-theme="dark"] .trv-cat.active b { background:rgba(245,158,11,.28); color:#fcd34d; }
[data-theme="dark"] .trv-item { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .trv-item:hover { background:rgba(245,158,11,.05); }
[data-theme="dark"] .trv-item-label { color:var(--text-1); }
[data-theme="dark"] .trv-item-token { color:#fbbf24; background:rgba(245,158,11,.10); }
@media (max-width: 768px) {
  [data-theme="dark"] .trv-rail { border-bottom-color:var(--border-2); }
}

/* ── resources/views/agency/suppliers/_type-chips.blade.php ── */
[data-theme="dark"] .stype-chip { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .stype-chip:hover { border-color:rgba(59,130,246,.42); color:#93c5fd; }
[data-theme="dark"] .stype-chip.active { border-color:#93c5fd; background:#93c5fd; color:#0b1220; }

/* ── resources/views/agency/suppliers/create.blade.php ── */
[data-theme="dark"] .btn-add-item { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .btn-remove-item { background:rgba(244,63,94,.10); }

/* ── resources/views/agency/suppliers/index.blade.php ── */
[data-theme="dark"] .s-name { color:var(--text-1); }
[data-theme="dark"] .s-email { color:var(--text-3); }
[data-theme="dark"] .bst-hotel { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .bst-transportation { background:rgba(139,92,246,.18); }
[data-theme="dark"] .bst-restaurant { background:rgba(249,115,22,.10); }
[data-theme="dark"] .bst-insurance { background:rgba(16,185,129,.10); color:#34d399; }
[data-theme="dark"] .bst-visa { background:rgba(236,72,153,.10); color:#f472b6; }
[data-theme="dark"] .bst-airline { background:rgba(20,184,166,.10); }

/* ── resources/views/agency/suppliers/quick-view.blade.php ── */
[data-theme="dark"] .qv-res-dialog { background:var(--bg-card); }
[data-theme="dark"] .qv-res-head { border-bottom-color:var(--border-1); }
[data-theme="dark"] .qv-res-foot { border-top-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .qv-res-lbl { color:var(--text-3); }
[data-theme="dark"] .qv-res-sec { color:var(--text-2); border-bottom-color:var(--border-2); }
[data-theme="dark"] .spx-th-sub { color:#8296b0; }
[data-theme="dark"] .spx-table tbody tr { border-bottom-color:var(--border-2); }
[data-theme="dark"] .spx-inp { border-color:var(--border-1); background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .spx-inp:hover { border-color:#33445f; }
[data-theme="dark"] .spx-cur { color:#8296b0; }
[data-theme="dark"] .spx-margin { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .spx-margin.pos { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .spx-margin.neg { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .spx-margin.zero { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .spx-pb-fld label { color:var(--text-3); }
[data-theme="dark"] .spx-pb-fld label small { color:#8296b0; }
[data-theme="dark"] .spx-bridge { background:var(--bg-card); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .spx-mode button { color:var(--text-3); }
[data-theme="dark"] .spx-mode button.active { background:var(--bg-card); color:#93c5fd; }
[data-theme="dark"] .spx-mval { border-color:var(--border-1); }
[data-theme="dark"] .spx-chips button { border-color:rgba(59,130,246,.30); background:rgba(59,130,246,.12); color:#93c5fd; }
[data-theme="dark"] .spx-live-hint { color:#93c5fd; }
[data-theme="dark"] .qv-seasons-list .list-group-item-action { background:var(--bg-inset); border-color:var(--border-2) !important; color:var(--text-2); }
[data-theme="dark"] .qv-seasons-list .list-group-item-action:hover { background:var(--bg-hover); color:var(--text-1); }
[data-theme="dark"] .card.bg-light { background-color:var(--bg-inset) !important; border-color:var(--border-2) !important; }
[data-theme="dark"] label.text-muted.small.fw-600 { color:var(--text-3) !important; }
[data-theme="dark"] #qv-tab-prices .form-control, [data-theme="dark"] #qv-tab-prices .form-select { border-color:var(--border-1); color:var(--text-1); background-color:var(--bg-inset); }
[data-theme="dark"] #qv-tab-prices .form-control:focus, [data-theme="dark"] #qv-tab-prices .form-select:focus { background-color:var(--bg-card); }
[data-theme="dark"] #qv-tab-prices label.small { color:var(--text-3); }
[data-theme="dark"] #qv-tab-prices .card { border-color:var(--border-2) !important; background:var(--bg-card) !important; }
[data-theme="dark"] .btn-outline-danger { border-color:rgba(239,68,68,.30); background:var(--bg-card); }

/* ── resources/views/agency/tasks/archive.blade.php ── */
[data-theme="dark"] .tka-back { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tka-back:hover { border-color:#33445f; color:var(--text-2); background:var(--bg-inset); }
[data-theme="dark"] .tk-person { color:var(--text-2); background:var(--bg-inset); }
[data-theme="dark"] .tk-person .tk-avatar { background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .tk-person.more { color:#fcd34d; background:rgba(245,158,11,.18); border-color:rgba(245,158,11,.42); }

/* ── resources/views/agency/tasks/index.blade.php ── */
[data-theme="dark"] .tk-page { --tk-soft:rgba(245,158,11,.18); --tk-bg:rgba(245,158,11,.10); }
[data-theme="dark"] .tk-stat { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .tk-ico-amber { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .tk-ico-red { background:rgba(239,68,68,.17); }
[data-theme="dark"] .tk-ico-green { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .tk-stat-body b { color:var(--text-1); }
[data-theme="dark"] .tk-stat-body small { color:#8296b0; }
[data-theme="dark"] .tk-stat-alert { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .tk-stat-alert .tk-stat-body b { color:#f87171; }
[data-theme="dark"] .tk-switch { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .tk-switch-btn { color:var(--text-3); }
[data-theme="dark"] .tk-switch-btn:hover { color:var(--text-1); }
[data-theme="dark"] .tk-switch-btn.on { background:var(--bg-card); }
[data-theme="dark"] .tk-archive-link { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tk-archive-link:hover { border-color:#33445f; color:var(--text-2); background:var(--bg-inset); }
[data-theme="dark"] .tk-filters { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .tk-scope { background:var(--bg-hover); }
[data-theme="dark"] .tk-scope-opt { color:var(--text-3); }
[data-theme="dark"] .tk-scope-opt.on { background:var(--bg-card); }
[data-theme="dark"] .tk-flt { border-color:var(--border-1); color:var(--text-2); background:var(--bg-card); }
[data-theme="dark"] .tk-search i { color:#8296b0; }
[data-theme="dark"] .tk-search input { border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .tk-flt-clear:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tk-avatar { border-color:var(--border-1); background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .tk-avatar.more { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .tk-relchip { color:var(--text-2); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .tk-relchip i { color:#8296b0; }
[data-theme="dark"] .tk-relchip:hover { border-color:rgba(245,158,11,.42); color:#fcd34d; }
[data-theme="dark"] .tk-relchip:hover i { color:#fbbf24; }
[data-theme="dark"] .tk-auto-badge { color:#a78bfa; background:rgba(168,85,247,.16); }
[data-theme="dark"] .tk-due { color:var(--text-3); }
[data-theme="dark"] .tk-due.over { color:#f87171; }

/* ── resources/views/agency/tasks/partials/calendar.blade.php ── */
[data-theme="dark"] .tkc { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .tkc-bar { border-bottom-color:var(--border-2); background:linear-gradient(135deg, rgba(245,158,11,.05), var(--bg-card)); }
[data-theme="dark"] .tkc-nav-btn { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tkc-nav-btn:hover { color:#fbbf24; background:rgba(245,158,11,.10); }
[data-theme="dark"] .tkc-heading h4 { color:var(--text-1); }
[data-theme="dark"] .tkc-count { color:#fbbf24; background:rgba(245,158,11,.18); }
[data-theme="dark"] .tkc-views { background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .tkc-view { color:var(--text-3); }
[data-theme="dark"] .tkc-view:hover { color:var(--text-1); }
[data-theme="dark"] .tkc-view.on { background:var(--bg-card); color:#fcd34d; }
[data-theme="dark"] .tkc-view.on i { color:#fbbf24; }
[data-theme="dark"] .tkc-legend { border-bottom-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .tkc-key { color:var(--text-3); }
[data-theme="dark"] .tkc-key .tkc-key-robot { color:#a78bfa; }
[data-theme="dark"] #tkCalendar { --fc-page-bg-color:var(--bg-card); }
[data-theme="dark"] #tkCalendar .fc-scrollgrid { border-color:var(--border-1); }
[data-theme="dark"] #tkCalendar .fc-col-header-cell { background:var(--bg-inset); }
[data-theme="dark"] #tkCalendar .fc-col-header-cell-cushion { color:#8296b0; }
[data-theme="dark"] #tkCalendar .fc-daygrid-day:hover { background:var(--bg-inset); }
[data-theme="dark"] #tkCalendar .fc-day-sat, [data-theme="dark"] #tkCalendar .fc-day-sun { background:var(--bg-inset); }
[data-theme="dark"] #tkCalendar .fc-daygrid-day-number { color:var(--text-3); }
[data-theme="dark"] #tkCalendar .fc-day-today { background:rgba(245,158,11,.10) !important; }
[data-theme="dark"] #tkCalendar .fc-daygrid-more-link { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] #tkCalendar .fc-popover { border-color:var(--border-1); }
[data-theme="dark"] #tkCalendar .fc-popover-header { background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] #tkCalendar .fc-timegrid-slot-label-cushion, [data-theme="dark"] #tkCalendar .fc-timegrid-axis-cushion { color:#8296b0; }
[data-theme="dark"] #tkCalendar .fc-list { border-color:var(--border-1); }
[data-theme="dark"] #tkCalendar .fc-list-day-cushion { background:rgba(245,158,11,.10) !important; }
[data-theme="dark"] #tkCalendar .fc-list-day-text, [data-theme="dark"] #tkCalendar .fc-list-day-side-text { color:#fcd34d; }
[data-theme="dark"] #tkCalendar .fc-list-event:hover td { background:var(--bg-inset); }
[data-theme="dark"] .tkc-ev { --pc:#3e5273; border-color:var(--border-1); }
[data-theme="dark"] .tkc-ev-title { color:var(--text-1); }
[data-theme="dark"] .tkc-ev-auto { color:#a78bfa; }
[data-theme="dark"] .tkc-ev-names { color:var(--text-3); }
[data-theme="dark"] .tkc-ev-names i { color:#8296b0; }
[data-theme="dark"] .tkc-ev.over { background:rgba(239,68,68,.08); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .tkc-ev.done { background:var(--bg-inset); border-color:var(--border-1); border-left-color:#46597a; }
[data-theme="dark"] .tkc-ev.done .tkc-ev-title { color:var(--text-3); }
[data-theme="dark"] .tkc-ev.done .tkc-ev-time { color:#8296b0; }

/* ── resources/views/agency/tasks/partials/create-modal.blade.php ── */
[data-theme="dark"] .tkm-head { border-bottom-color:var(--border-2); }
[data-theme="dark"] .tkm-head h5 { color:var(--text-1); }
[data-theme="dark"] .tkm-head p { color:#8296b0; }
[data-theme="dark"] .tkm-field label { color:var(--text-2); }
[data-theme="dark"] .tkm-field label small { color:#8296b0; }
[data-theme="dark"] .tkm-input { border-color:var(--border-1); color:var(--text-1); background:var(--bg-card); }
[data-theme="dark"] .tkm-due .tkm-due-time:disabled { background:var(--bg-inset); color:#8296b0; }
[data-theme="dark"] .tkm-pill span { color:var(--text-3); border-color:var(--border-1); }
[data-theme="dark"] .tkm-staff-chip { border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .tkm-staff-av { background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .tkm-staff-chip:has(input:checked) { background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] .tkm-staff-chip:has(input:checked) .tkm-staff-av { background:rgba(245,158,11,.28); color:#fcd34d; }
[data-theme="dark"] .tkm-note { color:var(--text-3); background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .tkm-note i { color:#8296b0; }
[data-theme="dark"] .tkm-approval { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .tkm-approval:has(input:checked) { background:rgba(59,130,246,.12); }
[data-theme="dark"] .tkm-approval-track { background:#33445f; }
[data-theme="dark"] .tkm-approval-thumb { background:var(--bg-card); }
[data-theme="dark"] .tkm-approval-text b { color:var(--text-2); }
[data-theme="dark"] .tkm-approval-text small { color:#8296b0; }
[data-theme="dark"] .tkm-foot { border-top-color:var(--border-2); background:var(--bg-inset); }
[data-theme="dark"] .tkm-btn.ghost { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .tkm-btn.ghost:hover { background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .tkc-preset { background:rgba(139,92,246,.11); border-color:rgba(139,92,246,.42); }
[data-theme="dark"] .tkc-preset > i { color:#a78bfa; }
[data-theme="dark"] .tkc-preset select { color:#ddd6fe; }
[data-theme="dark"] .tkc-item { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .tkc-item em { color:var(--text-2); }
[data-theme="dark"] .tkc-item-x { color:#8296b0; }
[data-theme="dark"] .tkc-item-x:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tkc-manual input { color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .tkc-manual input:focus { background:var(--bg-card); }
[data-theme="dark"] .tkc-manual button { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tkc-manual button:hover { background:rgba(245,158,11,.18); color:#fbbf24; border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .tkl-chip { color:var(--text-1); background:var(--bg-card); border-left-color:#46597a; }
[data-theme="dark"] .tkl-chip-x { color:#8296b0; }
[data-theme="dark"] .tkl-chip-x:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tkl-trigger { background:var(--bg-inset); }
[data-theme="dark"] .tkl-trigger:hover { background:rgba(245,158,11,.05); }
[data-theme="dark"] .tkl-trigger-ico { background:rgba(245,158,11,.18); color:#fbbf24; }
[data-theme="dark"] .tkl-trigger-text b { color:var(--text-2); }
[data-theme="dark"] .tkl-trigger-text small { color:#8296b0; }
[data-theme="dark"] .tkl.open .tkl-trigger { background:rgba(245,158,11,.10); }
[data-theme="dark"] .tkl-panel { background:var(--bg-card); }
[data-theme="dark"] .tkl-search { border-bottom-color:var(--border-2); }
[data-theme="dark"] .tkl-search > i { color:#8296b0; }
[data-theme="dark"] .tkl-search input { color:var(--text-1); }
[data-theme="dark"] .tkl-spin { color:#fbbf24; }
[data-theme="dark"] .tkl-types { border-bottom-color:var(--border-2); }
[data-theme="dark"] .tkl-type { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tkl-type:hover { border-color:#33445f; color:var(--text-2); }
[data-theme="dark"] .tkl-results::-webkit-scrollbar-thumb { background:var(--bg-raise); }
[data-theme="dark"] .tkl-state b { color:var(--text-3); }
[data-theme="dark"] .tkl-group { color:#8296b0; }
[data-theme="dark"] .tkl-row:hover { background:var(--bg-inset); }
[data-theme="dark"] .tkl-row-body b { color:var(--text-1); }
[data-theme="dark"] .tkl-row-body small { color:#8296b0; }
[data-theme="dark"] .tkl-row:hover .tkl-row-check { border-color:#46597a; }
[data-theme="dark"] .tkl-row.selected .tkl-row-check { border-color:#46597a; }

/* ── resources/views/agency/tasks/partials/kanban.blade.php ── */
[data-theme="dark"] .tk-col { background:var(--bg-hover); border-color:var(--border-1); }
/* Kolon başlığı zeminini inline style="--col-bg: #fffbeb" veriyor; koyu temada
   o açık tonun üzerine açık metin biniyordu. Kolon kimliğini --col-dot'tan
   türetip koyu yüzeye harmanlıyoruz (background inline değil, override edilebilir). */
[data-theme="dark"] .tk-col-head {
    background:color-mix(in srgb, var(--col-dot, #64748b) 14%, var(--bg-card));
    border-bottom-color:var(--border-1);
}
[data-theme="dark"] .tk-col-head h6 { color:var(--text-1); }
[data-theme="dark"] .tk-col-count { color:var(--text-3); background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .tk-col-body::-webkit-scrollbar-thumb { background:#33445f; }
[data-theme="dark"] .tk-card { background:var(--bg-card); border-color:var(--border-1); border-left-color:#46597a; }
[data-theme="dark"] .tk-card.over { background:rgba(239,68,68,.07); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .tk-card-title { color:var(--text-1); }
[data-theme="dark"] .tk-card.done .tk-card-title { text-decoration-color:#46597a; }
[data-theme="dark"] .tk-col-empty { border-color:var(--border-1); color:#6d7f99; }

/* ── resources/views/agency/tasks/partials/time.blade.php ── */
[data-theme="dark"] .tk-time-later { background:rgba(99,102,241,.13); border-bottom-color:rgba(99,102,241,.30); }
[data-theme="dark"] .tk-time-done { background:var(--bg-card); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .tk-time-done:hover { background:#16a34a; border-color:#16a34a; color:#fff; }

/* ── resources/views/agency/tasks/quick-view.blade.php ── */
[data-theme="dark"] .tk-qv-label { color:#8296b0; }
[data-theme="dark"] .tk-qv-input { border-color:var(--border-1); color:var(--text-1); background:var(--bg-card); }
[data-theme="dark"] .tk-qv-input:disabled { background:var(--bg-inset); color:#8296b0; }
[data-theme="dark"] .tk-qv-desc-ro { color:var(--text-2); }
[data-theme="dark"] .tk-qv-desc-html { color:var(--text-2); }
[data-theme="dark"] .tk-qv-status { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tk-qv-person { color:var(--text-2); }
[data-theme="dark"] .tk-qv-mini { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tk-qv-mini:hover { color:#fcd34d; border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); }
[data-theme="dark"] .tk-qv-assignee-editor { border-top-color:var(--border-1); }
[data-theme="dark"] .tk-qv-checkchip span { color:var(--text-3); border-color:var(--border-1); }
[data-theme="dark"] .tk-qv-checkchip input:checked + span { color:#fcd34d; background:rgba(245,158,11,.10); }
[data-theme="dark"] .tk-qv-meta span { color:var(--text-2); }
[data-theme="dark"] .tk-qv-rel { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .tk-qv-rel:hover { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); }
[data-theme="dark"] .tk-qv-rel > i:first-child { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .tk-qv-rel:hover > i:first-child { background:rgba(245,158,11,.28); color:#fcd34d; }
[data-theme="dark"] .tk-qv-rel b { color:var(--text-1); }
[data-theme="dark"] .tk-qv-rel small { color:#8296b0; }
[data-theme="dark"] .tk-qv-rel:hover .tk-qv-rel-go { color:#fbbf24; }
[data-theme="dark"] .tk-tl-count { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .tk-tl-hint kbd { color:var(--text-3); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .tk-tl-tool { border-color:var(--border-1); background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .tk-tl-tool:hover { border-color:rgba(245,158,11,.42); background:rgba(245,158,11,.10); color:#fcd34d; }
[data-theme="dark"] .tk-tl-chip { color:var(--text-2); background:var(--bg-hover); border-color:var(--border-1); }
[data-theme="dark"] .tk-tl-chip.ref { color:#93c5fd; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .tk-tl-refpick { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .tk-tl-refsearch { border-bottom-color:var(--border-2); color:#8296b0; }
[data-theme="dark"] .tk-tl-refsearch input { color:var(--text-1); }
[data-theme="dark"] .tk-tl-refsearch button { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .tk-tl-refitem:hover { background:rgba(245,158,11,.10); }
[data-theme="dark"] .tk-tl-refitem > i { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .tk-tl-refitem b { color:var(--text-1); }
[data-theme="dark"] .tk-tl-refitem small { color:#8296b0; }
[data-theme="dark"] .tk-tl-refitem .grp { color:#fcd34d; background:rgba(245,158,11,.18); }
[data-theme="dark"] .tk-tl-att-file { color:var(--text-2); background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .tk-tl-att-file:hover { border-color:#33445f; color:var(--text-1); background:var(--bg-hover); }
[data-theme="dark"] .tk-tl-att-file small { color:#8296b0; }
[data-theme="dark"] .tk-tl-link { color:#93c5fd; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .tk-tl-link:hover { background:rgba(59,130,246,.20); }
[data-theme="dark"] .tk-tl::before { background:linear-gradient(180deg, rgba(245,158,11,.28), var(--bg-hover)); }
[data-theme="dark"] .tk-tl-dot .tk-avatar { border-color:var(--border-1); }
[data-theme="dark"] .tk-tl-dot.sysdot { border-color:var(--border-1); }
[data-theme="dark"] .tk-tl-card:hover { border-color:var(--border-1); }
[data-theme="dark"] .tk-tl-head b { color:var(--text-1); }
[data-theme="dark"] .tk-tl-head small { color:#8296b0; }
[data-theme="dark"] .tk-tl-del:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tk-tl-card p { color:var(--text-2); }
[data-theme="dark"] .tk-tl-sys span { color:var(--text-3); }
[data-theme="dark"] .tk-qv-ctx { border-color:var(--border-1); }
[data-theme="dark"] .tk-qv-ctx-row:nth-child(odd) { background:var(--bg-inset); }
[data-theme="dark"] .tk-qv-ctx-row span { color:#8296b0; }
[data-theme="dark"] .tk-qv-ctx-row b { color:var(--text-1); }
[data-theme="dark"] .tk-qv-approval { background:linear-gradient(135deg, rgba(14,165,233,.10), var(--bg-card)); border-color:rgba(14,165,233,.42); }
[data-theme="dark"] .tk-qv-approval-tx b { color:#bae6fd; }
[data-theme="dark"] .tk-qv-approval-tx > span { color:var(--text-2); }
[data-theme="dark"] .tk-qv-reject { border-color:rgba(239,68,68,.42); background:var(--bg-card); color:#f87171; }
[data-theme="dark"] .tk-qv-reject:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .tk-cl-progress { background:var(--bg-hover); }
[data-theme="dark"] .tk-cl-item { background:var(--bg-card); }
[data-theme="dark"] .tk-cl-item:hover { border-color:var(--border-1); }
[data-theme="dark"] .tk-cl-item.done { background:rgba(34,197,94,.09); border-color:rgba(34,197,94,.30); }
[data-theme="dark"] .tk-cl-check { background:var(--bg-card); }
[data-theme="dark"] .tk-cl-title { color:var(--text-2); }
[data-theme="dark"] .tk-cl-item.done .tk-cl-title { color:var(--text-3); }
[data-theme="dark"] .tk-cl-meta { color:#4ade80; }
[data-theme="dark"] .tk-cl-del:hover { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .tk-qv .tk-auto-badge { color:#a78bfa; background:rgba(168,85,247,.16); }
[data-theme="dark"] .tk-qv .tk-due { color:var(--text-3); }
[data-theme="dark"] .tk-qv .tk-due.over { color:#f87171; }
[data-theme="dark"] .tk-qv .tk-avatar { border-color:var(--border-1); background:var(--bg-raise); color:var(--text-2); }

/* ── resources/views/agency/tours/index.blade.php ── */
[data-theme="dark"] .tour-card { background:var(--bg-card); }
[data-theme="dark"] .bulk-actions { background:var(--bg-card); }
[data-theme="dark"] .filters-card { background:var(--bg-card); }

/* ── resources/views/agency/tours/pricing.blade.php ── */
[data-theme="dark"] .pricing-card { background:var(--bg-card); }

/* ── resources/views/components/app-alerts.blade.php ── */
:root[data-theme="dark"] { --apx-question:var(--text-2); }
/* Toast zemini rgba(255,255,255,.92) olduğu için üreteç atlamıştı; gövde metni
   açık renge çevrilince beyaz üstünde beyaz kalıyordu. Zemin + kenar + gölge koyulaştırıldı. */
[data-theme="dark"] .apx-toast {
    background: rgba(22, 33, 58, .94);
    border-color: var(--border-1);
    box-shadow: 0 8px 26px -10px rgba(0, 0, 0, .6), 0 2px 6px rgba(0, 0, 0, .35);
}
[data-theme="dark"] .apx-toast-x { color: var(--text-3); }
[data-theme="dark"] .apx-toast-body b { color:var(--text-1); }
[data-theme="dark"] .apx-toast-body span { color:var(--text-3); }
[data-theme="dark"] .apx-toast-x:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .apx-modal { background:var(--bg-card); }
[data-theme="dark"] .apx-modal h5 { color:var(--text-1); }
[data-theme="dark"] .apx-modal-text { color:var(--text-3); }
[data-theme="dark"] .apx-modal-text b, [data-theme="dark"] .apx-modal-text strong { color:var(--text-2); }
[data-theme="dark"] .apx-modal-input, [data-theme="dark"] .apx-modal .swal2-input { border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .apx-btn-cancel { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .apx-btn-cancel:hover { background:var(--bg-inset); color:var(--text-1); border-color:#33445f; }

/* ── resources/views/components/data-table.blade.php ── */
:root[data-theme="dark"] { --dt-border:var(--border-1); --dt-bg:var(--bg-card); --dt-head-bg:var(--bg-inset); --dt-text:var(--text-1); --dt-muted:var(--text-3); --dt-primary-soft:rgba(99,102,241,.13); }
[data-theme="dark"] .dt-stat { background:var(--bg-card); }
[data-theme="dark"] .dt-stat-val { color:var(--text-1); }
[data-theme="dark"] .dt-head-title h1 { color:var(--text-1); }
[data-theme="dark"] .dt-btn-ghost { background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .dt-btn-ghost:hover { border-color:#33445f; color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .dt-mini-btn:hover { background:var(--bg-hover); color:var(--text-1); }
[data-theme="dark"] .dt-toolbar { background:var(--bg-card); }
[data-theme="dark"] .dt-search > i { color:#8296b0; }
[data-theme="dark"] .dt-search input { background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .dt-search input:focus { background:var(--bg-card); }
[data-theme="dark"] .dt-search-clear { color:#8296b0; }
[data-theme="dark"] .dt-select { background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .dt-select:focus { background:var(--bg-card); }
[data-theme="dark"] .dt-settings-panel { background:var(--bg-card); }
[data-theme="dark"] .dt-settings-arrow { background:var(--bg-card); }
[data-theme="dark"] .dt-settings-head { color:var(--text-1); }
[data-theme="dark"] .dt-settings-sec { border-top-color:var(--border-2); }
[data-theme="dark"] .dt-coltoggle { color:var(--text-2); }
[data-theme="dark"] .dt-coltoggle:hover { background:var(--bg-inset); }
[data-theme="dark"] .dt-coltoggle-box { border-color:#33445f; }
[data-theme="dark"] .dt-seg { background:var(--bg-hover); }
[data-theme="dark"] .dt-seg button.active { background:var(--bg-card); }
[data-theme="dark"] .dt-switch { color:var(--text-2); }
[data-theme="dark"] .dt-switch-ui { background:#33445f; }
[data-theme="dark"] .dt-switch-ui::after { background:var(--bg-card); }
[data-theme="dark"] .dt-settings-foot { border-top-color:var(--border-2); }
[data-theme="dark"] .dt-card { background:var(--bg-card); }
[data-theme="dark"] .dt-table tbody td { border-bottom-color:var(--border-2); color:var(--text-2); }
[data-theme="dark"] .dt-table tbody tr:hover { background:var(--bg-hover); }
[data-theme="dark"] .dt-root.dt-striped .dt-table tbody tr:nth-child(even) { background:var(--bg-inset); }
/* Zebra + hover birleşimi: açık temadaki kural (.dt-root.dt-striped … :nth-child(even):hover)
   yukarıdaki genel hover kuralından daha spesifik olduğu için koyu temada satır bembeyaz
   kalıyordu. Aynı spesifiklikte koyu karşılığını yazıyoruz. */
[data-theme="dark"] .dt-root.dt-striped .dt-table tbody tr:nth-child(even):hover { background:var(--bg-hover); }
[data-theme="dark"] .dt-root.dt-bordered .dt-table td, [data-theme="dark"] .dt-root.dt-bordered .dt-table th { border-right-color:var(--border-2); }
[data-theme="dark"] .dt-footer { background:var(--bg-inset); }
[data-theme="dark"] .dt-pager-top { background:var(--bg-inset); }
[data-theme="dark"] .dt-pager-info i { color:#8296b0; }
[data-theme="dark"] .dt-pager-info strong { color:var(--text-1); }
[data-theme="dark"] .dt-perpage-select { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .dt-page-btn { background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .dt-page-gap { color:#8296b0; }
[data-theme="dark"] .dt-empty h4 { color:var(--text-2); }
[data-theme="dark"] .dt-cell-main { color:var(--text-1); }
[data-theme="dark"] .dt-thumb { background:var(--bg-hover); }
[data-theme="dark"] .dt-thumb-ph { background:var(--bg-hover); }
[data-theme="dark"] .dt-badge-green { background:rgba(34,197,94,.17); color:#86efac; }
[data-theme="dark"] .dt-badge-amber { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .dt-badge-red { background:rgba(239,68,68,.17); color:#fca5a5; }
[data-theme="dark"] .dt-badge-slate { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .dt-badge-indigo { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .dt-iconbtn { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .dt-iconbtn.danger:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .dt-iconbtn.warn:hover { background:rgba(245,158,11,.18); }
[data-theme="dark"] .dt-iconbtn.success:hover { color:#4ade80; background:rgba(34,197,94,.17); }

/* ── resources/views/components/quick-view-drawer.blade.php ── */
/* Kart yüklenirken beliren örtü beyazdı; her kart açılışında beyaz flaş oluyordu. */
[data-theme="dark"] .qv-drawer-loader { background: rgba(11, 18, 32, .82); }
[data-theme="dark"] .inline-editable:not(.editing):hover { background:rgba(59,130,246,.12); }
[data-theme="dark"] .inline-editable:not(.editing):hover::after { color:#60a5fa; }
[data-theme="dark"] #quickViewDrawer :is(.qv-detail-field, .sqv-field, .pqv-item, .mb-3, .mb-2) > .inline-editable { background:var(--bg-card); }
[data-theme="dark"] .qv-inline-input { color:var(--text-1); background:var(--bg-card); }
[data-theme="dark"] .qv-inline-input::placeholder { color:#8296b0; }
[data-theme="dark"] select.qv-inline-input option { color:var(--text-1); }
[data-theme="dark"] .qv-share-card { background:var(--bg-card); }
[data-theme="dark"] .qv-share-head { color:var(--text-1); border-bottom-color:var(--border-2); }
[data-theme="dark"] .qv-share-x { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .qv-share-x:hover { background:var(--bg-raise); }
[data-theme="dark"] .qv-share-preview { background:rgba(99,102,241,.13); color:#a5b4fc; }
[data-theme="dark"] .qv-share-search { background:var(--bg-inset); color:#8296b0; }
[data-theme="dark"] .qv-share-search input { color:var(--text-1); }
[data-theme="dark"] .qv-share-row.sel { background:rgba(99,102,241,.13); }
[data-theme="dark"] .qv-share-name { color:var(--text-1); }
[data-theme="dark"] .qv-share-check { border-color:#33445f; }
[data-theme="dark"] .qv-share-body { border-color:var(--border-1); }
[data-theme="dark"] .qv-share-count { color:var(--text-3); }
/* ── Simge durumundaki quick-view kartları ─────────────────────────────
   quick-view-drawer içindeki açık pastel gövde/kenarlık değerleri !important
   ile yazıldığı için koyu temada da !important gerekiyor; aksi hâlde koyu
   metin renkleriyle açık zemin karışıp okunmaz bir pil çıkıyordu. */
[data-theme="dark"] .qv-min-item {
    background:var(--bg-card) !important;
    border-color:var(--border-1) !important;
    box-shadow:0 10px 26px rgba(0,0,0,.45) !important;
}
[data-theme="dark"] .qv-min-item:hover { border-color:#3b82f6 !important; box-shadow:0 12px 28px rgba(0,0,0,.55) !important; }

[data-theme="dark"] .qv-min-item.theme-sales,
[data-theme="dark"] .qv-min-item.theme-payments { background:rgba(16,185,129,.10) !important; border-color:rgba(16,185,129,.30) !important; }
[data-theme="dark"] .qv-min-item.theme-sales:hover,
[data-theme="dark"] .qv-min-item.theme-payments:hover { border-color:rgba(52,211,153,.55) !important; }

[data-theme="dark"] .qv-min-item.theme-customers { background:rgba(14,165,233,.10) !important; border-color:rgba(14,165,233,.30) !important; }
[data-theme="dark"] .qv-min-item.theme-customers:hover { border-color:rgba(56,189,248,.55) !important; }

[data-theme="dark"] .qv-min-item.theme-suppliers { background:rgba(34,197,94,.10) !important; border-color:rgba(34,197,94,.30) !important; }
[data-theme="dark"] .qv-min-item.theme-suppliers:hover { border-color:rgba(74,222,128,.55) !important; }

[data-theme="dark"] .qv-min-item.theme-resources { background:rgba(139,92,246,.11) !important; border-color:rgba(139,92,246,.32) !important; }
[data-theme="dark"] .qv-min-item.theme-resources:hover { border-color:rgba(167,139,250,.55) !important; }

[data-theme="dark"] .qv-min-item.theme-operations { background:var(--bg-hover) !important; border-color:var(--border-1) !important; }
[data-theme="dark"] .qv-min-item.theme-operations:hover { border-color:#46597a !important; }

[data-theme="dark"] .qv-min-item.theme-tasks { background:rgba(245,158,11,.10) !important; border-color:rgba(245,158,11,.30) !important; }
[data-theme="dark"] .qv-min-item.theme-tasks:hover { border-color:rgba(251,191,36,.55) !important; }

[data-theme="dark"] .qv-min-item.theme-payments .qv-min-title { color:#6ee7b7 !important; }
[data-theme="dark"] .qv-min-item.theme-payments .qv-min-avatar { background:rgba(16,185,129,.18) !important; color:#34d399 !important; }
[data-theme="dark"] .qv-min-item.theme-payments .qv-min-close:hover { color:#6ee7b7 !important; }

[data-theme="dark"] .qv-min-item.theme-tasks .qv-min-title { color:#fcd34d !important; }
[data-theme="dark"] .qv-min-item.theme-tasks .qv-min-avatar { background:rgba(245,158,11,.20) !important; color:#fbbf24 !important; }
[data-theme="dark"] .qv-min-item.theme-tasks .qv-min-close:hover { color:#fcd34d !important; }

/* Simge çubuğundaki "tümünü kapat" düğmesi */
[data-theme="dark"] .qv-min-all-btn { background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.32); color:#fca5a5; }
[data-theme="dark"] .qv-min-all-btn:hover { background:#dc2626; color:#fff; }

[data-theme="dark"] .qv-min-avatar { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .qv-min-title { color:var(--text-1); }
[data-theme="dark"] .qv-min-label { color:#8296b0; }
[data-theme="dark"] .qv-min-close { color:#8296b0; }
[data-theme="dark"] .qv-min-close:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .qv-card-wrapper { background:var(--bg-card); }
[data-theme="dark"] .qv-card-side-handle { background:var(--bg-inset); border-right-color:var(--border-1); }
[data-theme="dark"] .qv-card-side-handle:hover { background:var(--bg-hover); }
[data-theme="dark"] .qv-card-side-handle .handle-avatar { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .qv-card-side-handle .handle-title { color:var(--text-3); }
[data-theme="dark"] .qv-card-side-handle:hover .handle-title { color:var(--text-1); }
[data-theme="dark"] .qv-card-side-handle .handle-close { color:#8296b0; }
[data-theme="dark"] .qv-card-side-handle .handle-close:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .theme-sales .qv-card-side-handle { background:linear-gradient(180deg, rgba(34,197,94,.10) 0%, rgba(16,185,129,.18) 100%) !important; border-right-color:rgba(16,185,129,.42) !important; }
[data-theme="dark"] .theme-sales .qv-card-side-handle .handle-title { color:#34d399 !important; }
[data-theme="dark"] .theme-sales .qv-card-side-handle .handle-avatar { background:rgba(16,185,129,.28) !important; color:#6ee7b7 !important; }
[data-theme="dark"] .theme-sales .qv-header, [data-theme="dark"] .theme-sales .sqv-header { background:linear-gradient(135deg, rgba(16,185,129,.04) 0%, rgba(16,185,129,.10) 100%) !important; border-bottom-color:rgba(16,185,129,.30) !important; }
[data-theme="dark"] .theme-sales .qv-tab.active .qv-tab-inner { color:#34d399 !important; }
[data-theme="dark"] .theme-sales .qv-tab.active .qv-tab-icon { color:#34d399 !important; }
[data-theme="dark"] .theme-sales .qv-tab.active .qv-tab-count { background:rgba(16,185,129,.18) !important; color:#34d399 !important; }
[data-theme="dark"] .theme-sales .qv-action-btn:hover { background:var(--bg-card) !important; color:#34d399 !important; }
[data-theme="dark"] .theme-sales .sqv-title { color:#6ee7b7 !important; }
[data-theme="dark"] .theme-sales .sqv-title:hover { color:#a7f3d0 !important; }
[data-theme="dark"] .theme-sales .sqv-code { color:#34d399 !important; background:rgba(16,185,129,.18) !important; border-color:rgba(16,185,129,.42) !important; }
[data-theme="dark"] .theme-sales .sqv-customer-link { color:#60a5fa !important; }
[data-theme="dark"] .theme-sales .sqv-customer-link:hover { color:#93c5fd !important; }
[data-theme="dark"] .theme-sales .sqv-icon { background:rgba(16,185,129,.18) !important; color:#34d399 !important; border-color:rgba(16,185,129,.42) !important; }
[data-theme="dark"] .theme-sales .sqv-quick-btn { background:rgba(16,185,129,.18) !important; color:#a7f3d0 !important; border-color:rgba(16,185,129,.42) !important; }
[data-theme="dark"] .theme-sales .sqv-quick-btn:hover { color:#a7f3d0 !important; }
[data-theme="dark"] .theme-sales .qv-sales-wrapper .qv-action-btn { background:rgba(16,185,129,.18) !important; border-color:rgba(16,185,129,.42) !important; color:#a7f3d0 !important; }
[data-theme="dark"] .theme-customers .qv-card-side-handle { background:linear-gradient(180deg, rgba(14,165,233,.10) 0%, rgba(14,165,233,.17) 100%) !important; border-right-color:rgba(14,165,233,.42) !important; }
[data-theme="dark"] .theme-customers .qv-card-side-handle .handle-title { color:#38bdf8 !important; }
[data-theme="dark"] .theme-customers .qv-card-side-handle .handle-avatar { background:rgba(14,165,233,.28) !important; color:#38bdf8 !important; }
[data-theme="dark"] .theme-customers .qv-header, [data-theme="dark"] .theme-customers .sqv-header { background:linear-gradient(135deg, rgba(14,165,233,.05) 0%, rgba(14,165,233,.10) 100%) !important; border-bottom-color:rgba(14,165,233,.30) !important; }
[data-theme="dark"] .theme-customers .qv-tab.active .qv-tab-inner { color:#38bdf8 !important; }
[data-theme="dark"] .theme-customers .qv-tab.active .qv-tab-icon { color:#38bdf8 !important; }
[data-theme="dark"] .theme-customers .qv-tab.active .qv-tab-count { background:rgba(14,165,233,.17) !important; color:#38bdf8 !important; }
[data-theme="dark"] .theme-customers .qv-action-btn:hover { background:var(--bg-card) !important; color:#38bdf8 !important; }
[data-theme="dark"] .theme-suppliers .qv-card-side-handle { background:linear-gradient(180deg, rgba(34,197,94,.10) 0%, rgba(34,197,94,.17) 100%) !important; border-right-color:rgba(34,197,94,.42) !important; }
[data-theme="dark"] .theme-suppliers .qv-card-side-handle .handle-title { color:#4ade80 !important; }
[data-theme="dark"] .theme-suppliers .qv-card-side-handle .handle-avatar { background:rgba(34,197,94,.26) !important; color:#4ade80 !important; }
[data-theme="dark"] .theme-suppliers .qv-header, [data-theme="dark"] .theme-suppliers .sqv-header { background:linear-gradient(135deg, rgba(34,197,94,.04) 0%, rgba(34,197,94,.10) 100%) !important; border-bottom-color:rgba(34,197,94,.30) !important; }
[data-theme="dark"] .theme-suppliers .qv-tab.active .qv-tab-inner { color:#4ade80 !important; }
[data-theme="dark"] .theme-suppliers .qv-tab.active .qv-tab-icon { color:#4ade80 !important; }
[data-theme="dark"] .theme-suppliers .qv-tab.active .qv-tab-count { background:rgba(34,197,94,.17) !important; color:#4ade80 !important; }
[data-theme="dark"] .theme-suppliers .qv-action-btn:hover { background:var(--bg-card) !important; color:#4ade80 !important; }
[data-theme="dark"] .qv-min-item.theme-sales .qv-min-title { color:#6ee7b7 !important; }
[data-theme="dark"] .qv-min-item.theme-sales .qv-min-avatar { background:rgba(16,185,129,.18) !important; color:#34d399 !important; }
[data-theme="dark"] .qv-min-item.theme-sales .qv-min-close:hover { color:#6ee7b7 !important; }
[data-theme="dark"] .qv-min-item.theme-customers .qv-min-title { color:#38bdf8 !important; }
[data-theme="dark"] .qv-min-item.theme-customers .qv-min-avatar { background:rgba(14,165,233,.17) !important; color:#38bdf8 !important; }
[data-theme="dark"] .qv-min-item.theme-customers .qv-min-close:hover { color:#38bdf8 !important; }
[data-theme="dark"] .qv-min-item.theme-suppliers .qv-min-title { color:#4ade80 !important; }
[data-theme="dark"] .qv-min-item.theme-suppliers .qv-min-avatar { background:rgba(34,197,94,.17) !important; color:#4ade80 !important; }
[data-theme="dark"] .qv-min-item.theme-suppliers .qv-min-close:hover { color:#4ade80 !important; }
[data-theme="dark"] .theme-resources .qv-card-side-handle { background:linear-gradient(180deg, rgba(139,92,246,.11) 0%, rgba(139,92,246,.18) 100%) !important; border-right-color:rgba(139,92,246,.42) !important; }
[data-theme="dark"] .theme-resources .qv-card-side-handle .handle-title { color:#c4b5fd !important; }
[data-theme="dark"] .theme-resources .qv-card-side-handle .handle-avatar { background:rgba(139,92,246,.26) !important; color:#c4b5fd !important; }
[data-theme="dark"] .theme-resources .qv-header, [data-theme="dark"] .theme-resources .sqv-header { background:linear-gradient(135deg, rgba(139,92,246,.05) 0%, rgba(139,92,246,.11) 100%) !important; border-bottom-color:rgba(139,92,246,.30) !important; }
[data-theme="dark"] .theme-resources .qv-tab.active .qv-tab-inner { color:#a78bfa !important; }
[data-theme="dark"] .theme-resources .qv-tab.active .qv-tab-icon { color:#a78bfa !important; }
[data-theme="dark"] .theme-resources .qv-tab.active .qv-tab-count { background:rgba(139,92,246,.18) !important; color:#a78bfa !important; }
[data-theme="dark"] .theme-resources .qv-action-btn:hover { background:var(--bg-card) !important; color:#a78bfa !important; }
[data-theme="dark"] .qv-min-item.theme-resources .qv-min-title { color:#c4b5fd !important; }
[data-theme="dark"] .qv-min-item.theme-resources .qv-min-avatar { background:rgba(139,92,246,.18) !important; color:#a78bfa !important; }
[data-theme="dark"] .qv-min-item.theme-resources .qv-min-close:hover { color:#c4b5fd !important; }
[data-theme="dark"] .theme-operations .qv-card-side-handle { background:linear-gradient(180deg, var(--bg-hover) 0%, var(--bg-raise) 100%) !important; border-right-color:#33445f !important; }
[data-theme="dark"] .theme-operations .qv-card-side-handle .handle-title { color:var(--text-2) !important; }
[data-theme="dark"] .theme-operations .qv-header, [data-theme="dark"] .theme-operations .sqv-header { background:linear-gradient(135deg, var(--bg-inset) 0%, var(--bg-hover) 100%) !important; border-bottom-color:var(--border-1) !important; }
[data-theme="dark"] .theme-operations .qv-tab.active .qv-tab-inner, [data-theme="dark"] .theme-operations .qv-tab.active .qv-tab-icon { color:var(--text-2) !important; }
[data-theme="dark"] .theme-operations .qv-tab.active .qv-tab-count { background:var(--bg-raise) !important; color:var(--text-2) !important; }
[data-theme="dark"] .theme-operations .qv-action-btn:hover { background:var(--bg-card) !important; color:var(--text-2) !important; border-color:#46597a !important; }
[data-theme="dark"] .qv-min-item.theme-operations .qv-min-title { color:var(--text-2) !important; }
[data-theme="dark"] .qv-min-item.theme-operations .qv-min-avatar { background:var(--bg-raise) !important; color:var(--text-2) !important; }
[data-theme="dark"] .qv-min-item.theme-operations .qv-min-close { color:#8296b0 !important; }
[data-theme="dark"] .qv-min-item.theme-operations .qv-min-close:hover { background:#3e5273 !important; color:var(--text-1) !important; }
[data-theme="dark"] .theme-tasks .qv-card-side-handle { background:linear-gradient(180deg, rgba(245,158,11,.10) 0%, rgba(245,158,11,.18) 100%) !important; border-right-color:rgba(245,158,11,.42) !important; }
[data-theme="dark"] .theme-tasks .qv-card-side-handle .handle-title { color:#fcd34d !important; }
[data-theme="dark"] .theme-tasks .qv-card-side-handle .handle-avatar { background:rgba(245,158,11,.28) !important; color:#fcd34d !important; }
[data-theme="dark"] .theme-tasks .qv-header, [data-theme="dark"] .theme-tasks .sqv-header { background:linear-gradient(135deg, rgba(245,158,11,.05) 0%, rgba(245,158,11,.10) 100%) !important; border-bottom-color:rgba(245,158,11,.30) !important; }
[data-theme="dark"] .theme-tasks .qv-tab.active .qv-tab-inner, [data-theme="dark"] .theme-tasks .qv-tab.active .qv-tab-icon { color:#fbbf24 !important; }
[data-theme="dark"] .theme-tasks .qv-tab.active .qv-tab-count { background:rgba(245,158,11,.18) !important; color:#fbbf24 !important; }
[data-theme="dark"] .theme-tasks .qv-action-btn:hover { background:var(--bg-card) !important; color:#fbbf24 !important; }
[data-theme="dark"] .qv-min-item.theme-tasks .qv-min-title { color:#fcd34d !important; }
[data-theme="dark"] .qv-min-item.theme-tasks .qv-min-avatar { background:rgba(245,158,11,.28) !important; color:#fcd34d !important; }
[data-theme="dark"] .theme-payments .qv-card-side-handle { background:linear-gradient(180deg, rgba(16,185,129,.10) 0%, rgba(16,185,129,.18) 100%) !important; border-right-color:rgba(16,185,129,.42) !important; }
[data-theme="dark"] .theme-payments .qv-card-side-handle .handle-title { color:#6ee7b7 !important; }
[data-theme="dark"] .theme-payments .qv-card-side-handle .handle-avatar { background:rgba(16,185,129,.28) !important; color:#6ee7b7 !important; }
[data-theme="dark"] .theme-payments .qv-tab.active .qv-tab-inner, [data-theme="dark"] .theme-payments .qv-tab.active .qv-tab-icon { color:#34d399 !important; }
[data-theme="dark"] .theme-payments .qv-tab.active .qv-tab-count { background:rgba(16,185,129,.18) !important; color:#34d399 !important; }
[data-theme="dark"] .theme-payments .qv-action-btn:hover { background:var(--bg-card) !important; color:#34d399 !important; }
[data-theme="dark"] .qv-min-item.theme-payments .qv-min-title { color:#6ee7b7 !important; }
[data-theme="dark"] .qv-min-item.theme-payments .qv-min-avatar { background:rgba(16,185,129,.28) !important; color:#6ee7b7 !important; }

/* ── resources/views/components/quick-view/content.blade.php ── */
[data-theme="dark"] .qv-content { background:var(--bg-card); }

/* ── resources/views/components/quick-view/footer.blade.php ── */
[data-theme="dark"] .qv-footer { border-top-color:var(--border-1); background:var(--bg-card); }

/* ── resources/views/components/quick-view/header.blade.php ── */
[data-theme="dark"] .qv-header { background:var(--bg-card); border-bottom-color:var(--border-2); }
[data-theme="dark"] .qv-avatar-big { border-color:var(--border-1); }
[data-theme="dark"] .qv-metric-label { color:#8296b0; }
[data-theme="dark"] .qv-metric-val { color:var(--text-1); }
[data-theme="dark"] .qv-action-btn { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .qv-action-btn:hover { background:var(--bg-card); }
[data-theme="dark"] .qv-action-btn.qv-minimize:hover { color:#60a5fa; border-color:rgba(59,130,246,.42); }
[data-theme="dark"] .qv-action-btn.qv-close:hover { background:rgba(239,68,68,.17); border-color:rgba(239,68,68,.42); }
[data-theme="dark"] .qv-action-btn.qv-copy:hover { color:#a5b4fc; border-color:rgba(99,102,241,.42); background:rgba(99,102,241,.13); }

/* ── resources/views/components/quick-view/layout.blade.php ── */
[data-theme="dark"] .qv-wrapper { background:var(--bg-inset); }

/* ── resources/views/components/quick-view/main.blade.php ── */
[data-theme="dark"] .qv-main-col { background:var(--bg-card); }
[data-theme="dark"] .qv-main-col::-webkit-scrollbar-thumb { background:var(--bg-raise); }

/* ── resources/views/components/quick-view/sidebar.blade.php ── */
[data-theme="dark"] .qv-side-col { border-right-color:var(--border-2); }
[data-theme="dark"] .qv-side-col::-webkit-scrollbar-thumb { background:var(--bg-raise); }

/* ── resources/views/components/quick-view/tab.blade.php ── */
[data-theme="dark"] .qv-tab-inner { color:var(--text-3); }
[data-theme="dark"] .qv-tab:hover .qv-tab-inner { color:var(--text-1); }
[data-theme="dark"] .qv-tab.active .qv-tab-inner { color:#60a5fa; }
[data-theme="dark"] .qv-tab-count { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .qv-tab.active .qv-tab-count { background:rgba(59,130,246,.12); color:#60a5fa; }

/* ── resources/views/components/recent-sidebar.blade.php ── */
/* Panel zemini rgba(255,255,255,.95) idi; içindeki .rs-* metinleri açık renge
   çevrilince beyaz üstünde beyaz kalıyordu (toast ile aynı durum). */
[data-theme="dark"] .recent-sidebar {
    background: rgba(17, 26, 44, .96);
    border-left: 1px solid var(--border-1);
}
[data-theme="dark"] .rs-header { border-bottom-color:var(--border-2); }
[data-theme="dark"] .rs-title { color:var(--text-1); }
[data-theme="dark"] .rs-close-btn { color:#8296b0; }
[data-theme="dark"] .rs-close-btn:hover { background:rgba(239,68,68,.17); }
[data-theme="dark"] .rs-item { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .rs-item-title { color:var(--text-1); }
[data-theme="dark"] .rs-item-meta { color:#8296b0; }
[data-theme="dark"] .rs-item-avatar { background:rgba(59,130,246,.12); color:#60a5fa; }
[data-theme="dark"] .rs-item.theme-customers .rs-item-avatar { background:rgba(14,165,233,.17); color:#38bdf8; }
[data-theme="dark"] .rs-item.theme-sales .rs-item-avatar { background:rgba(239,68,68,.17); color:#f87171; }
[data-theme="dark"] .rs-item.theme-suppliers .rs-item-avatar { background:rgba(34,197,94,.17); color:#4ade80; }
[data-theme="dark"] .rs-item:hover .rs-item-delete { color:#8296b0; }
[data-theme="dark"] .rs-item-delete:hover { background:rgba(239,68,68,.17) !important; }
[data-theme="dark"] .rs-empty-state { color:#8296b0; }
[data-theme="dark"] .rs-clear-btn { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .rs-clear-btn:hover { background:rgba(239,68,68,.17); }

/* ── resources/views/page/agency/layout.blade.php ── */
:root[data-theme="dark"] { --bg-light:var(--bg-inset); }
[data-theme="dark"] body { color:var(--text-2); }
[data-theme="dark"] .site-header { background:var(--bg-card); }
[data-theme="dark"] .site-logo-text { color:var(--text-1); }
[data-theme="dark"] .nav-link { color:var(--text-2); }
[data-theme="dark"] .nav-dropdown-menu { background:var(--bg-card); }
[data-theme="dark"] .nav-dropdown-menu a { color:var(--text-2); }
[data-theme="dark"] .nav-dropdown-menu a:hover { background:var(--bg-hover); }
[data-theme="dark"] .mobile-menu-toggle { color:var(--text-2); }
[data-theme="dark"] .mobile-nav { background:var(--bg-card); }
[data-theme="dark"] .mobile-nav-links a, [data-theme="dark"] .mobile-nav-links .nav-dropdown-toggle { color:var(--text-2); border-bottom-color:var(--border-2); }

/* ── resources/views/page/agency/search-results.blade.php ── */
[data-theme="dark"] .search-results-section { background:var(--bg-inset); }
[data-theme="dark"] .results-title { color:var(--text-1); }
[data-theme="dark"] .results-summary { color:var(--text-3); }
[data-theme="dark"] .active-filters { background:var(--bg-card); }
[data-theme="dark"] .filters-label { color:var(--text-2); }
[data-theme="dark"] .clear-all-filters { color:var(--text-3); }
[data-theme="dark"] .tour-card-image .no-image { background:var(--bg-raise); color:#8296b0; }
[data-theme="dark"] .tour-category { color:var(--text-2); }
[data-theme="dark"] .tour-name { color:var(--text-1); }
[data-theme="dark"] .tour-description { color:var(--text-3); }
[data-theme="dark"] .meta-item { color:var(--text-3); }
[data-theme="dark"] .tour-footer { border-top-color:var(--border-1); }
[data-theme="dark"] .price-contact { color:var(--text-3); }
[data-theme="dark"] .no-results { background:var(--bg-card); }
[data-theme="dark"] .no-results-icon { background:var(--bg-hover); color:#8296b0; }
[data-theme="dark"] .no-results h3 { color:var(--text-1); }
[data-theme="dark"] .no-results p { color:var(--text-3); }

/* ── resources/views/page/agency/sections/custom_html.blade.php ── */
[data-theme="dark"] .custom-section h3 { color:var(--text-1); }
[data-theme="dark"] .custom-section h4 { color:var(--text-2); }
[data-theme="dark"] .custom-section p { color:var(--text-3); }
[data-theme="dark"] .custom-section ul, [data-theme="dark"] .custom-section ol { color:var(--text-3); }

/* ── resources/views/page/agency/sections/faq.blade.php ── */
[data-theme="dark"] .faq-section > .container > div:last-child > div:hover { background:var(--bg-card); }

/* ── resources/views/page/agency/themes/default/header.blade.php ── */
[data-theme="dark"] .dropdown-item { color:var(--text-2); }
[data-theme="dark"] .mobile-nav-link { color:var(--text-2); background:var(--bg-card); }
[data-theme="dark"] .mobile-nav-link:hover, [data-theme="dark"] .mobile-nav-link:active { background:linear-gradient(135deg,
            color-mix(in srgb, var(--primary) 10%, var(--bg-card)),
            color-mix(in srgb, var(--secondary) 10%, var(--bg-card))); }
[data-theme="dark"] .mobile-nav-title { color:var(--text-3); }

/* ── resources/views/page/agency/themes/default/layout.blade.php ── */
[data-theme="dark"] body { background:var(--bg-hover); }

/* ── resources/views/page/agency/themes/default/sections/about.blade.php ── */
[data-theme="dark"] .about-section { background:linear-gradient(180deg, var(--bg-card) 0%, var(--bg-inset) 50%, var(--bg-card) 100%); }
[data-theme="dark"] .about-title { color:var(--text-1); }
[data-theme="dark"] .about-description { color:var(--text-3); }
[data-theme="dark"] .about-features li { background:var(--bg-card); }
[data-theme="dark"] .about-features li span { color:var(--text-2); }
[data-theme="dark"] .badge-number { color:var(--text-1); }
[data-theme="dark"] .badge-label { color:var(--text-3); }

/* ── resources/views/page/agency/themes/default/sections/contact.blade.php ── */
[data-theme="dark"] .contact-section { background:linear-gradient(180deg, var(--bg-card) 0%, var(--bg-inset) 50%, var(--bg-card) 100%); }
[data-theme="dark"] .section-title { color:var(--text-1); }
[data-theme="dark"] .section-description { color:var(--text-3); }
[data-theme="dark"] .card-content h4 { color:var(--text-1); }
[data-theme="dark"] .card-content p { color:var(--text-3); }
[data-theme="dark"] .social-links h4 { color:var(--text-1); }
[data-theme="dark"] .form-header h3 { color:var(--text-1); }
[data-theme="dark"] .form-header p { color:var(--text-3); }
[data-theme="dark"] .form-group input, [data-theme="dark"] .form-group textarea { border-color:var(--border-1); background:var(--bg-card); }

/* ── resources/views/page/agency/themes/default/sections/cta.blade.php ── */
[data-theme="dark"] .cta-title { background:linear-gradient(135deg, var(--bg-card), rgba(99,102,241,.21)); }

/* ── resources/views/page/agency/themes/default/sections/features.blade.php ── */
[data-theme="dark"] .features-section { background:linear-gradient(180deg, var(--bg-inset) 0%, var(--bg-card) 50%, var(--bg-inset) 100%); }
[data-theme="dark"] .feature-title { color:var(--text-1); }
[data-theme="dark"] .feature-description { color:var(--text-3); }

/* ── resources/views/page/agency/themes/default/sections/hero.blade.php ── */
[data-theme="dark"] .hero-title { background:linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.8) 100%); }
[data-theme="dark"] .hero-btn-primary { background:var(--bg-card); }
[data-theme="dark"] .scroll-wheel { background:var(--bg-card); }

/* ── resources/views/page/agency/themes/default/sections/tour_search.blade.php ── */
[data-theme="dark"] .tour-search-section { background:linear-gradient(135deg, var(--bg-inset) 0%, var(--bg-raise) 100%); }
[data-theme="dark"] .search-title { color:var(--text-1); }
[data-theme="dark"] .search-box { background:var(--bg-card); }
[data-theme="dark"] .form-label { color:var(--text-2); }
[data-theme="dark"] .product-type-tab .tab-content { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .product-type-tab:hover .tab-content { background:var(--bg-raise); }
[data-theme="dark"] .form-input { border-color:var(--border-1); color:var(--text-1); background:var(--bg-inset); }
[data-theme="dark"] .form-input:focus { background:var(--bg-card); }
[data-theme="dark"] .form-input::placeholder { color:#8296b0; }
[data-theme="dark"] .quick-links-label { color:var(--text-3); }
[data-theme="dark"] .quick-link { background:var(--bg-card); color:var(--text-2); border-color:var(--border-1); }

/* ── resources/views/page/agency/themes/default/tours/cultural/index.blade.php ── */
[data-theme="dark"] .title-highlight { background:linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 255, 255, 0.8) 100%); }
[data-theme="dark"] .filter-wrapper { background:var(--bg-card); }
[data-theme="dark"] .filter-input, [data-theme="dark"] .filter-select { border-color:var(--border-1); background:var(--bg-inset); }
[data-theme="dark"] .filter-input:focus, [data-theme="dark"] .filter-select:focus { background:var(--bg-card); }
[data-theme="dark"] .active-filters { border-top-color:var(--border-1); }
[data-theme="dark"] .filters-label { color:var(--text-3); }
[data-theme="dark"] .clear-filters { color:var(--text-3); }
[data-theme="dark"] .count-text { color:var(--text-3); }
[data-theme="dark"] .view-toggle { background:var(--bg-card); }
[data-theme="dark"] .view-btn { color:#8296b0; }
[data-theme="dark"] .card-image .no-image { background:linear-gradient(135deg, var(--bg-raise), var(--bg-hover)); color:#8296b0; }
[data-theme="dark"] .action-btn { color:var(--text-3); }
[data-theme="dark"] .overlay-link { background:var(--bg-card); }
[data-theme="dark"] .meta-rating small { color:#8296b0; }
[data-theme="dark"] .card-description { color:var(--text-3); }
[data-theme="dark"] .feature { color:var(--text-3); }
[data-theme="dark"] .card-footer { border-top-color:var(--border-1); }
[data-theme="dark"] .price-label { color:#8296b0; }
[data-theme="dark"] .no-results-icon { background:linear-gradient(135deg, var(--muted), var(--bg-raise)); color:#8296b0; }
[data-theme="dark"] .cta-btn-primary { background:var(--bg-card); }

/* ── resources/views/page/agency/themes/default/tours/cultural/show.blade.php ── */
:root[data-theme="dark"] { --surface:var(--bg-card); --background:var(--bg-hover); --text-main:var(--text-1); --text-light:var(--text-3); }
[data-theme="dark"] .hero-gallery-trigger { background:var(--bg-card); }
[data-theme="dark"] .features-bar { background:linear-gradient(to right, var(--bg-card), var(--bg-inset)); }
[data-theme="dark"] .sticky-tabs-nav { background:var(--bg-card); }
[data-theme="dark"] .tab-btn:hover { background:var(--bg-hover); }
[data-theme="dark"] .page-link { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .page-link:hover:not(.active) { background:var(--bg-hover); }
[data-theme="dark"] .section-title { border-bottom-color:var(--border-2); }
[data-theme="dark"] .full-desc { color:var(--text-2); }
[data-theme="dark"] .visit-locations-tags { background:rgba(99,102,241,.06); }
[data-theme="dark"] .location-tag { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .day-line { background:var(--bg-raise); }
[data-theme="dark"] .day-content { background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .timeline-event { border-left-color:var(--border-1); }
[data-theme="dark"] .event-desc { color:var(--text-2); }
[data-theme="dark"] .daily-flow { background:var(--bg-card); }
[data-theme="dark"] .flow-step::before { background:var(--bg-hover); }
[data-theme="dark"] .step-dot { border-color:var(--border-1); }
[data-theme="dark"] .info-alert-box { background:rgba(249,115,22,.10); border-color:rgba(249,115,22,.42); }
[data-theme="dark"] .card-header-flex { border-bottom-color:var(--border-2); }
[data-theme="dark"] .date-item-row { background:var(--bg-card); border-color:var(--border-2); }
[data-theme="dark"] .date-big { background:var(--bg-hover); }
[data-theme="dark"] .sidebar-card { background:var(--bg-card); }
[data-theme="dark"] .divider { border-top-color:var(--border-2); }
[data-theme="dark"] .booking-features .bf-item { color:var(--text-2); }
[data-theme="dark"] .agency-head img { border-color:var(--border-2); }
[data-theme="dark"] .agency-head .logo-ph { background:var(--bg-hover); color:#8296b0; }
[data-theme="dark"] .share-links a { color:#8296b0; }


/* ── Müşteri künye paneli (qv-profile) ── */
[data-theme="dark"] .pfx { background:var(--bg-card); border-color:var(--border-1); box-shadow:none; }
[data-theme="dark"] .pfx-top { background:linear-gradient(180deg,var(--bg-inset),var(--bg-hover)); border-bottom-color:var(--border-2); }
[data-theme="dark"] .pfx-top-t { color:var(--text-1); }
[data-theme="dark"] .pfx-top-t i { color:#7ea6f5; }
[data-theme="dark"] .pfx-chip { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .pfx-chip:hover,
[data-theme="dark"] .pfx.show-empty .pfx-chip[data-a="empties"] { background:rgba(59,130,246,.14); border-color:rgba(59,130,246,.4); color:#93c5fd; }
[data-theme="dark"] .pfx-hint { color:#5b6b85; }
[data-theme="dark"] .pfx-row.pfx-total { border-top-color:var(--border-2); }
[data-theme="dark"] .pfx-row.pfx-total .pfx-l { color:var(--text-3); }
[data-theme="dark"] .pfx-link { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .pfx-link:focus { border-color:rgba(59,130,246,.5); box-shadow:0 0 0 3px rgba(59,130,246,.16); }
[data-theme="dark"] .pfx-chip.danger { color:#fca5a5; }
[data-theme="dark"] .pfx-chip.danger:hover { border-color:rgba(239,68,68,.4); background:rgba(239,68,68,.14); color:#fca5a5; }
[data-theme="dark"] .pfx-chip.primary { background:rgba(59,130,246,.16); border-color:rgba(59,130,246,.42); color:#93c5fd; }
[data-theme="dark"] .pfx-chip.primary:hover { background:#2563eb; border-color:#2563eb; color:#fff; }
[data-theme="dark"] .pfx-b.danger:hover { color:#fca5a5; background:rgba(239,68,68,.14); }
[data-theme="dark"] .pfx-block { background:var(--bg-inset); border-color:var(--border-2); color:var(--text-2); }
[data-theme="dark"] .pfx-empty-text { color:#5b6b85; }
[data-theme="dark"] .pfx-rte { color:var(--text-2); }
[data-theme="dark"] .pfx-form { background:var(--bg-inset); border-color:var(--border-2); }
[data-theme="dark"] .pfx-f > span { color:#7d8da6; }
[data-theme="dark"] .pfx-f input,
[data-theme="dark"] .pfx-f select,
[data-theme="dark"] .pfx-f textarea { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .pfx-f input:focus,
[data-theme="dark"] .pfx-f select:focus,
[data-theme="dark"] .pfx-f textarea:focus { border-color:rgba(59,130,246,.5); box-shadow:0 0 0 3px rgba(59,130,246,.16); }
[data-theme="dark"] .pfx-table th { color:#7d8da6; }
[data-theme="dark"] .pfx-table input,
[data-theme="dark"] .pfx-table select { background:var(--bg-inset); color:var(--text-1); }
[data-theme="dark"] .pfx-table input:hover,
[data-theme="dark"] .pfx-table select:hover { background:var(--bg-hover); }
[data-theme="dark"] .pfx-table input:focus,
[data-theme="dark"] .pfx-table select:focus { background:var(--bg-card); border-color:rgba(59,130,246,.5); box-shadow:0 0 0 3px rgba(59,130,246,.16); }
[data-theme="dark"] .rsp:hover { background:var(--bg-hover); }
[data-theme="dark"] .rsp-av { background:rgba(99,102,241,.18); color:#a5b4fc; }
[data-theme="dark"] .rsp-h b { color:var(--text-1); }
[data-theme="dark"] .rsp-tag { background:rgba(59,130,246,.16); color:#93c5fd; }
[data-theme="dark"] .rsp-tag.muted { background:var(--bg-inset); color:var(--text-3); }
[data-theme="dark"] .rsp-m span { color:var(--text-3); }
[data-theme="dark"] .rsp-m .empty { color:#5b6b85; }
[data-theme="dark"] .fs-feat { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .fs-feat input { color:var(--text-1); }
[data-theme="dark"] .fs-feat button:hover { color:#fca5a5; background:rgba(239,68,68,.14); }
[data-theme="dark"] .acx-rte { border-top-color:var(--border-2); }
[data-theme="dark"] .acx-rte .ql-toolbar { border-bottom-color:var(--border-2); }
[data-theme="dark"] .acx-rte .ql-editor { color:var(--text-2); }
[data-theme="dark"] .flw-del:hover { color:#fca5a5; background:rgba(239,68,68,.14); }
[data-theme="dark"] .pfx-fold { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .pfx-fold:hover { background:rgba(59,130,246,.14); border-color:rgba(59,130,246,.4); color:#93c5fd; }
[data-theme="dark"] .pfx.folded > .pfx-top { border-bottom-color:transparent; }
[data-theme="dark"] .pfx-sec + .pfx-sec { border-top-color:var(--border-2); }
[data-theme="dark"] .pfx-sec-h { background:color-mix(in srgb, var(--bg-card) 92%, transparent); color:var(--text-3); }
[data-theme="dark"] .pfx-sec-h i { color:#5b6b85; }
[data-theme="dark"] .pfx-secopy { color:#5b6b85; }
[data-theme="dark"] .pfx-secopy:hover { color:#93c5fd; background:rgba(59,130,246,.16); }
[data-theme="dark"] .pfx-row:hover { background:var(--bg-hover); }
[data-theme="dark"] .pfx-row.editing { background:var(--bg-inset); }
[data-theme="dark"] .pfx-row.saved { background:rgba(22,163,74,.12); }
[data-theme="dark"] .pfx-l { color:#7d8da6; }
[data-theme="dark"] .pfx-v { color:var(--text-1); }
[data-theme="dark"] .pfx-sec.muted .pfx-v { color:var(--text-3); }
[data-theme="dark"] .pfx-v:empty::before,
[data-theme="dark"] .pfx.show-empty .pfx-row[data-empty="1"] .pfx-v { color:#54637d; }
[data-theme="dark"] .pfx-b { color:#5b6b85; }
[data-theme="dark"] .pfx-b:hover { color:#93c5fd; background:rgba(59,130,246,.16); }
[data-theme="dark"] .pfx-b.ok { color:#4ade80; background:rgba(22,163,74,.18); }
[data-theme="dark"] .pfx-in { background:var(--bg-card); border-color:rgba(59,130,246,.45); color:var(--text-1); box-shadow:0 0 0 3px rgba(59,130,246,.14); }
[data-theme="dark"] .pfx-bp:hover { background:var(--bg-hover); }
[data-theme="dark"] .pfx-bp > i { color:#5b6b85; }
[data-theme="dark"] .pfx-bp-t b { color:var(--text-1); }
[data-theme="dark"] .pfx-bp-t small { color:var(--text-3); }
[data-theme="dark"] .pfx-agent-t b { color:var(--text-1); }
[data-theme="dark"] .pfx-agent-t small, [data-theme="dark"] .pfx-agent-none { color:var(--text-3); }
[data-theme="dark"] .pfx-agent-sel { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .pfx-notes-hint { color:var(--text-3); }
[data-theme="dark"] .pfx-warn { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .pfx-bpfoot > span { color:#5b6b85; }

/* ── Etkinlik akışı ── */
[data-theme="dark"] .flw-stat { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .flw-stat.danger { background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.35); color:#f87171; }
[data-theme="dark"] .flw-i:hover { background:var(--bg-hover); }
[data-theme="dark"] .flw-i::before { background:var(--border-1); }
[data-theme="dark"] .flw-dot { background:color-mix(in srgb, var(--fc, #64748b) 22%, var(--bg-card)); border-color:color-mix(in srgb, var(--fc, #64748b) 40%, var(--bg-card)); }
[data-theme="dark"] .flw-time { color:#5b6b85; }
[data-theme="dark"] .flw-s { color:var(--text-1); }
[data-theme="dark"] .flw-d { color:var(--text-3); }
[data-theme="dark"] .flw-m { color:var(--text-3); }
[data-theme="dark"] .flw-m i { color:#5b6b85; }
[data-theme="dark"] .flw-m a, [data-theme="dark"] .flw-m a i { color:#7ea6f5; }
[data-theme="dark"] .flw-m .ref { border-color:var(--border-1); color:#7d8da6; }
[data-theme="dark"] .flw-who { color:#7d8da6; }
[data-theme="dark"] .flw-who::before { color:#5b6b85; }
[data-theme="dark"] .flw-st { background:var(--bg-raise); color:var(--text-3); }
[data-theme="dark"] .flw-st.completed { background:rgba(22,163,74,.18); color:#4ade80; }
[data-theme="dark"] .flw-st.pending { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .flw-st.cancelled { background:rgba(239,68,68,.16); color:#f87171; }
/* Boş durum: madalyon koyu zeminde kuyu gibi dursun, iç parlaklık ters çevrilir */
[data-theme="dark"] .flw-empty::before { background:repeating-linear-gradient(180deg,var(--border-1) 0 3px,transparent 3px 7px); }
[data-theme="dark"] .flw-empty i {
    background:linear-gradient(160deg,var(--bg-inset),var(--bg-card));
    border-color:var(--border-1); color:#5b6b85;
    box-shadow:0 8px 20px -14px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.04);
}
[data-theme="dark"] .flw-empty b { color:var(--text-2); }
[data-theme="dark"] .flw-empty span { color:#5b6b85; }
[data-theme="dark"] .flw-empty a { color:#7ea6f5; }

/* ── Etkinlik yazma alanı (acx) ── */
[data-theme="dark"] .acx-types { background:linear-gradient(180deg,var(--bg-inset),var(--bg-hover)); border-bottom-color:var(--border-2); }
[data-theme="dark"] .acx-type { color:var(--text-3); }
[data-theme="dark"] .acx-type:hover { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .acx-type.on { background:color-mix(in srgb, var(--ac, #3b82f6) 22%, var(--bg-card)); border-color:color-mix(in srgb, var(--ac, #3b82f6) 42%, var(--bg-card)); color:var(--text-1); }
[data-theme="dark"] .acx-box { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .acx-box:focus-within { border-color:rgba(59,130,246,.45); box-shadow:0 0 0 3px rgba(59,130,246,.14); }
[data-theme="dark"] .acx-subject { color:var(--text-1); }
[data-theme="dark"] .acx-text { color:var(--text-2); }
[data-theme="dark"] .acx-subject::placeholder, [data-theme="dark"] .acx-text::placeholder,
[data-theme="dark"] .acx-f input::placeholder { color:#54637d; }
[data-theme="dark"] .acx-extra { border-top-color:var(--border-2); }
[data-theme="dark"] .acx-f { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .acx-f i { color:#5b6b85; }
[data-theme="dark"] .acx-f input, [data-theme="dark"] .acx-f select { color:var(--text-1); }
[data-theme="dark"] .acx-sw-t { background:var(--bg-raise); }
[data-theme="dark"] .acx-sw-l { color:var(--text-3); }
[data-theme="dark"] .acx-soon { color:#54637d; }

/* ── Tur programı tablosu (pit) ── */
[data-theme="dark"] .pit-t { color:var(--text-1); }
[data-theme="dark"] .pit-t i { color:#7ea6f5; }
[data-theme="dark"] .pit-m { color:var(--text-3); }
[data-theme="dark"] .pit-m b { color:var(--text-2); }
[data-theme="dark"] .pit-sep { background:var(--border-1); }
[data-theme="dark"] .pit-add { background:rgba(59,130,246,.18); color:#93c5fd; }
[data-theme="dark"] .pit-add:hover { background:rgba(59,130,246,.30); }
[data-theme="dark"] .pit-new { background:var(--bg-inset); border-color:rgba(59,130,246,.30); }
[data-theme="dark"] .pit-new-h { color:#93c5fd; }
[data-theme="dark"] .pit-f > span { color:#7d8da6; }
[data-theme="dark"] .pit-f input, [data-theme="dark"] .pit-f select { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .pit-f input:focus, [data-theme="dark"] .pit-f select:focus { border-color:rgba(59,130,246,.45); box-shadow:0 0 0 3px rgba(59,130,246,.14); }
[data-theme="dark"] .pit-f input::placeholder { color:#54637d; }
[data-theme="dark"] .pit-new-f > span { color:#5b6b85; }
[data-theme="dark"] .pit-new-f > span i { color:#54637d; }
[data-theme="dark"] .pit-cancel { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .pit-cancel:hover { color:var(--text-1); border-color:var(--border-1); }
[data-theme="dark"] .pit-wrap { background:var(--bg-card); border-color:var(--border-1); box-shadow:none; }
[data-theme="dark"] .pit-tbl thead th { background:linear-gradient(180deg,var(--bg-inset),var(--bg-hover)); border-bottom-color:var(--border-2); color:var(--text-3); }
[data-theme="dark"] .pit-r > td { border-top-color:var(--border-2); }
[data-theme="dark"] .pit-r:hover > td, [data-theme="dark"] .pit-r.is-open > td { background:var(--bg-hover); }
[data-theme="dark"] .pit-r:focus-visible > td { background:rgba(59,130,246,.12); }
[data-theme="dark"] .pit-time { color:var(--text-1); }
[data-theme="dark"] .pit-time.none { color:#54637d; }
[data-theme="dark"] .pit-day small { color:#5b6b85; }
[data-theme="dark"] .pit-day b { color:#7ea6f5; }
[data-theme="dark"] .pit-tt b { color:var(--text-1); }
[data-theme="dark"] .pit-tt em { color:#7d8da6; }
[data-theme="dark"] .pit-tt em:not(:empty)::before { color:#4a586e; }
[data-theme="dark"] .pit-loc span { color:var(--text-3); }
[data-theme="dark"] .pit-loc i { color:#5b6b85; }
[data-theme="dark"] .pit-loc span.none, [data-theme="dark"] .pit-dur span.none { color:#54637d; }
[data-theme="dark"] .pit-dur span { color:var(--text-2); }
[data-theme="dark"] .pit-tag { color:#a5b4fc; background:rgba(99,102,241,.16); }
[data-theme="dark"] .pit-tag.none { color:#54637d; background:transparent; }
[data-theme="dark"] .pit-b { color:#5b6b85; }
[data-theme="dark"] .pit-b:hover { color:#93c5fd; background:rgba(59,130,246,.16); }
[data-theme="dark"] .pit-b.danger:hover { color:#f87171; background:rgba(239,68,68,.14); }
[data-theme="dark"] .pit-d > td { background:var(--bg-inset); border-top-color:var(--border-2); }
[data-theme="dark"] .pit-pfx > .pfx-top { background:transparent; border-bottom-color:var(--border-2); }
[data-theme="dark"] .pit-foot { color:#5b6b85; }
[data-theme="dark"] .pit-foot i { color:#4a586e; }
[data-theme="dark"] .pit-empty { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .pit-empty > i { color:var(--border-1); }
[data-theme="dark"] .pit-empty b { color:var(--text-2); }
[data-theme="dark"] .pit-empty span { color:var(--text-3); }

/* ── Yolcu kartı (.pfx tabanlı) ── */
[data-theme="dark"] .cpx-card:hover { border-color:rgba(59,130,246,.35); box-shadow:none; }
[data-theme="dark"] .cpx-idn b { color:var(--text-1); }
[data-theme="dark"] .cpx-del:hover { color:#f87171 !important; background:rgba(239,68,68,.14) !important; }
[data-theme="dark"] .pfx-row.st-soon .pfx-v { color:#fcd34d; }
[data-theme="dark"] .pfx-row.st-expired .pfx-v { color:#f87171; }
[data-theme="dark"] .pfx-flag.warn { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .pfx-flag.danger { background:rgba(239,68,68,.16); color:#f87171; }

/* ── Manifesto: yolcu bilgi girişi + satır detayı (pmf) ── */
[data-theme="dark"] .pmf-btn-pax { background:rgba(249,115,22,.14); color:#fdba74; }
[data-theme="dark"] .pmf-btn-pax:hover { background:rgba(249,115,22,.22); }
[data-theme="dark"] .pmf-fld > label { color:#8296b0; }
[data-theme="dark"] .pmf-fld > label em { color:#fb7185; }
[data-theme="dark"] .pmf-fld .pmf-input.is-bad, [data-theme="dark"] .pmf-fld .pmf-select.is-bad { border-color:rgba(239,68,68,.5); background:rgba(239,68,68,.10); }
[data-theme="dark"] .pmf-fhint { color:#8296b0; }
[data-theme="dark"] .pmf-fhint.bad { color:#f87171; }
[data-theme="dark"] .pmf-fhint.good { color:#4ade80; }
[data-theme="dark"] .pmf-saleinfo { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .pmf-saleinfo i { color:#8296b0; }
[data-theme="dark"] .pmf-saleinfo b { color:var(--text-1); }
[data-theme="dark"] .pmf-saleinfo small { color:#8296b0; }
[data-theme="dark"] .pmf-dsec { color:var(--text-3); }
[data-theme="dark"] .pmf-dsec i { color:#5b6b85; }
[data-theme="dark"] .pmf-dsec small { color:#5b6b85; }
[data-theme="dark"] .pmf-agechip { background:rgba(99,102,241,.16); color:#a5b4fc; }

/* ── Ayarlar → Şirket Bilgilerim: paylaşılabilir şirket sayfası (cshare) ── */
[data-theme="dark"] .cshare-publish { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .cshare-publish.on { background:rgba(79,70,229,.16); border-color:rgba(129,140,248,.55); }
[data-theme="dark"] .cshare-pub-track { background:var(--bg-raise); }
[data-theme="dark"] .cshare-publish.on .cshare-pub-track { background:#6366f1; }
[data-theme="dark"] .cshare-pub-knob { background:var(--text-1); box-shadow:none; }
[data-theme="dark"] .cshare-pub-text b { color:var(--text-1); }
[data-theme="dark"] .cshare-pub-text span { color:var(--text-3); }

[data-theme="dark"] .cshare-link { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .cshare-link > i { color:#a5b4fc; }
[data-theme="dark"] .cshare-link input { color:var(--text-2); }
[data-theme="dark"] .cshare-btn { background:#4f46e5; color:#fff; }
[data-theme="dark"] .cshare-btn.ghost { background:var(--bg-card); border-color:var(--border-1); color:#a5b4fc; }
[data-theme="dark"] .cshare-btn.ghost:hover { border-color:#6366f1; color:#c7d2fe; }
[data-theme="dark"] .cshare-btn.done { background:#059669; }
[data-theme="dark"] .cshare-note { color:var(--text-3); }

[data-theme="dark"] .cshare-item { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .cshare-item:hover { border-color:rgba(129,140,248,.5); }
[data-theme="dark"] .cshare-box { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .cshare-item input:checked ~ .cshare-box { background:#6366f1; border-color:#6366f1; color:#fff; }
[data-theme="dark"] .cshare-ic { background:var(--bg-inset); color:var(--text-3); }
[data-theme="dark"] .cshare-item input:checked ~ .cshare-ic { background:rgba(79,70,229,.2); color:#a5b4fc; }
[data-theme="dark"] .cshare-txt b { color:var(--text-1); }
[data-theme="dark"] .cshare-txt span { color:var(--text-3); }

/* Banka kartı "Sitede göster" anahtarı — kart zemini zaten koyu gradyan,
   yalnızca ayraç ve pasif knob kontrastı ayarlanır. */
[data-theme="dark"] .bank-visibility { border-top-color:rgba(148,163,184,.18); }
[data-theme="dark"] .bank-vis-knob { background:#94a3b8; }

/* Müşteri döküman tipleri: doğrulama uyarısı yumuşak rozetleri */
[data-theme="dark"] .bg-soft-danger { background:rgba(239,68,68,.16) !important; }
[data-theme="dark"] .bg-soft-secondary { background:var(--bg-raise) !important; }

/* ── Odalama panosu (rmg) ── */
[data-theme="dark"] .rmg-bar { background:linear-gradient(135deg,var(--bg-inset),var(--bg-hover)); border-color:var(--border-1); }
[data-theme="dark"] .rmg-stat { color:var(--text-3); }
[data-theme="dark"] .rmg-stat i { color:#8296b0; }
[data-theme="dark"] .rmg-stat b { color:var(--text-1); }
[data-theme="dark"] .rmg-stat.ok i, [data-theme="dark"] .rmg-stat.ok b { color:#2dd4bf; }
[data-theme="dark"] .rmg-stat.warn i, [data-theme="dark"] .rmg-stat.warn b { color:#fbbf24; }
[data-theme="dark"] .rmg-stat.bad i, [data-theme="dark"] .rmg-stat.bad b { color:#f87171; }
[data-theme="dark"] .rmg-sep { background:var(--bg-raise); }
[data-theme="dark"] .rmg-hint { color:#8296b0; }
[data-theme="dark"] .rmg-hint i { color:#2dd4bf; }

[data-theme="dark"] .rmg-sale { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .rmg-sale-code { color:#5eead4; }
[data-theme="dark"] .rmg-sale-sub { color:#8296b0; }
[data-theme="dark"] .rmg-sale-sub b { color:var(--text-2); }
[data-theme="dark"] .rmg-flag { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .rmg-flag.warn { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .rmg-addbtn { background:rgba(20,184,166,.13); border-color:rgba(20,184,166,.42); color:#5eead4; }
[data-theme="dark"] .rmg-addbtn:hover { background:rgba(20,184,166,.22); border-color:rgba(20,184,166,.6); }

[data-theme="dark"] .rmg-addform, [data-theme="dark"] .rmg-editform { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .rmg-f > label { color:#8296b0; }
[data-theme="dark"] .rmg-input { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .rmg-input:focus { border-color:rgba(20,184,166,.55); box-shadow:0 0 0 3px rgba(20,184,166,.16); }
[data-theme="dark"] .rmg-chk { color:var(--text-2); }
[data-theme="dark"] .rmg-cancel { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .rmg-cancel:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .rmg-del { background:var(--bg-card); border-color:rgba(239,68,68,.42); color:#f87171; }
[data-theme="dark"] .rmg-del:hover { background:rgba(239,68,68,.14); }

[data-theme="dark"] .rmg-pool { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .rmg-pool-h { color:var(--text-3); }
[data-theme="dark"] .rmg-pool-h i { color:#fbbf24; }
[data-theme="dark"] .rmg-pool-h b { background:var(--bg-card); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .rmg-pool-empty { color:#8296b0; }
[data-theme="dark"] .rmg-pool-empty i { color:#4ade80; }

[data-theme="dark"] .rmg-room { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .rmg-room.is-full { background:rgba(20,184,166,.10); border-color:rgba(20,184,166,.42); }
[data-theme="dark"] .rmg-room.is-over { background:rgba(239,68,68,.10); border-color:rgba(239,68,68,.45); }
[data-theme="dark"] .rmg-room-h > i { color:#8296b0; }
[data-theme="dark"] .rmg-room-h b { color:var(--text-1); }
[data-theme="dark"] .rmg-type { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .rmg-type.xb { background:rgba(6,182,212,.16); color:#67e8f9; }
[data-theme="dark"] .rmg-beds { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .rmg-room.is-full .rmg-beds { background:rgba(20,184,166,.20); border-color:rgba(20,184,166,.5); color:#5eead4; }
[data-theme="dark"] .rmg-room.is-over .rmg-beds { background:rgba(239,68,68,.18); border-color:rgba(239,68,68,.5); color:#fca5a5; }
[data-theme="dark"] .rmg-ico { background:var(--bg-card); border-color:var(--border-1); color:#8296b0; }
[data-theme="dark"] .rmg-ico:hover { background:rgba(20,184,166,.13); border-color:rgba(20,184,166,.45); color:#5eead4; }
[data-theme="dark"] .rmg-room-f { border-top-color:var(--border-2); color:#8296b0; }
[data-theme="dark"] .rmg-room-f i { color:#5b6b85; }
[data-theme="dark"] .rmg-ghost { border-color:var(--border-1); color:#54637d; }
[data-theme="dark"] .rmg-over { background:rgba(20,184,166,.12); outline-color:#14b8a6; }

[data-theme="dark"] .rmg-pax { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .rmg-pax:hover { border-color:rgba(20,184,166,.45); box-shadow:none; }
[data-theme="dark"] .rmg-pax.is-saving { background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.45); }
[data-theme="dark"] .rmg-pax.is-ok { background:rgba(20,184,166,.13); border-color:rgba(20,184,166,.45); }
[data-theme="dark"] .rmg-pax-av { background:var(--bg-raise); color:var(--text-2); }
[data-theme="dark"] .rmg-pax-av.m { background:rgba(59,130,246,.20); color:#93c5fd; }
[data-theme="dark"] .rmg-pax-av.f { background:rgba(236,72,153,.20); color:#f9a8d4; }
[data-theme="dark"] .rmg-pax-txt b { color:var(--text-1); }
[data-theme="dark"] .rmg-pax-txt small { color:#8296b0; }
[data-theme="dark"] .rmg-tag { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .rmg-tag.baby { background:rgba(245,158,11,.18); color:#fcd34d; }
[data-theme="dark"] .rmg-dot { background:#54637d; }
[data-theme="dark"] .rmg-move { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .rmg-move:focus { border-color:rgba(20,184,166,.55); }

[data-theme="dark"] .rmg-noroom { border-color:var(--border-1); }
[data-theme="dark"] .rmg-noroom i { color:#5b6b85; }
[data-theme="dark"] .rmg-noroom b { color:var(--text-2); }
[data-theme="dark"] .rmg-noroom span { color:#8296b0; }
[data-theme="dark"] .rmg-empty { color:#8296b0; }
[data-theme="dark"] .rmg-empty i { color:#5b6b85; }
[data-theme="dark"] .rmg-empty b { color:var(--text-2); }
[data-theme="dark"] .rmg-note.warn { background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.35); color:#fcd34d; }

/* ═══════════════════════════════════════════════════════════════════════════
   WS-SALES · Satış kartı: çoklu müşteri çipleri + fiyat tipi adet paneli
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Çoklu müşteri çipleri (.qc-custchip*) ── */
[data-theme="dark"] .qc-custchip { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .qc-custchip:hover { border-color:rgba(16,185,129,.45); }
[data-theme="dark"] .qc-custchip.is-primary { border-color:rgba(16,185,129,.55); box-shadow:0 0 0 3px rgba(16,185,129,.10); }
[data-theme="dark"] .qc-custchip.is-corp { background:var(--bg-inset); border-color:rgba(99,102,241,.42); }
[data-theme="dark"] .qc-custchip-name { color:var(--text-1); }
[data-theme="dark"] .qc-custchip-sub { color:#8296b0; }
[data-theme="dark"] .qc-custchip-tag { background:rgba(16,185,129,.18); color:#6ee7b7; }
[data-theme="dark"] .qc-custchip-tag.corp { background:rgba(99,102,241,.20); color:#a5b4fc; }
[data-theme="dark"] .qc-custchip-act { color:#5b6b85; }
[data-theme="dark"] .qc-custchip-act:hover { background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .qc-custchip-act.star:hover { background:rgba(245,158,11,.16); color:#fcd34d; }
[data-theme="dark"] .qc-custchip-act.del:hover { background:rgba(239,68,68,.16); color:#fca5a5; }
[data-theme="dark"] .qc-cust-rule { background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.35); color:#fcd34d; }
[data-theme="dark"] .qc-cust-rule i { color:#fbbf24; }
[data-theme="dark"] .qc-cust-row.is-disabled:hover { background:transparent; }
[data-theme="dark"] .qc-cust-row.is-picked .qc-cust-pick { color:#34d399; }

/* ── Fiyat tipi adetleri (.qcfp-*) ── */
[data-theme="dark"] .qcfp-hint { color:#8296b0; }
[data-theme="dark"] .qcfp-hint b { color:var(--text-3); }
[data-theme="dark"] .qcfp-head-date { background:rgba(99,102,241,.18); color:#a5b4fc; }

[data-theme="dark"] .qcfp-table { border-color:var(--border-1); }
[data-theme="dark"] .qcfp-thead { background:var(--bg-inset); border-bottom-color:var(--border-1); }
[data-theme="dark"] .qcfp-thead span { color:#5b6b85; }
[data-theme="dark"] .qcfp-row { border-bottom-color:var(--border-2); }
[data-theme="dark"] .qcfp-row:hover { background:var(--bg-hover); }
[data-theme="dark"] .qcfp-row.is-on { background:rgba(16,185,129,.10); }
[data-theme="dark"] .qcfp-row.is-on:hover { background:rgba(16,185,129,.15); }
[data-theme="dark"] .qcfp-name { color:var(--text-1); }
[data-theme="dark"] .qcfp-name i { color:#5b6b85; }
[data-theme="dark"] .qcfp-row.is-on .qcfp-name i { color:#34d399; }
[data-theme="dark"] .qcfp-unit { color:var(--text-3); }
[data-theme="dark"] .qcfp-qty { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qcfp-qty:focus { border-color:rgba(16,185,129,.55); box-shadow:0 0 0 3px rgba(16,185,129,.12); }
[data-theme="dark"] .qcfp-row.is-on .qcfp-qty { border-color:rgba(16,185,129,.5); }
[data-theme="dark"] .qcfp-sub { color:var(--text-1); }
[data-theme="dark"] .qcfp-row:not(.is-on) .qcfp-sub { color:#54637d; }

[data-theme="dark"] .qcfp-empty { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qcfp-empty > i { color:#5b6b85; }
[data-theme="dark"] .qcfp-empty b { color:var(--text-2); }
[data-theme="dark"] .qcfp-empty span { color:#8296b0; }

[data-theme="dark"] .qcfp-foot { border-top-color:var(--border-2); }
[data-theme="dark"] .qcfp-chip { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .qcfp-chip i { color:#5b6b85; }
[data-theme="dark"] .qcfp-chip b { color:var(--text-1); }
[data-theme="dark"] .qcfp-total-lbl { color:#5b6b85; }
[data-theme="dark"] .qcfp-total-val { color:#34d399; }

/* ── Satış kartı: müşteri seçiminde şirket/kişi kuralı uyarıları ── */
[data-theme="dark"] .qc-cust-rule { background:#3a2e14; border-color:#6b5520; color:#fcd34d; }
[data-theme="dark"] .qc-cust-rule i { color:#fbbf24; }
[data-theme="dark"] .qc-cust-rule.is-error { background:#3b1d20; border-color:#7f2a2f; color:#fca5a5; }
[data-theme="dark"] .qc-cust-rule.is-error i { color:#f87171; }
[data-theme="dark"] .qc-cust-note { background:#232848; border-color:#3b4370; color:#c7d2fe; }
[data-theme="dark"] .qc-cust-note i { color:#a5b4fc; }
[data-theme="dark"] .qc-cust-note.is-error { background:#3b1d20; border-color:#7f2a2f; color:#fca5a5; }
[data-theme="dark"] .qc-cust-note.is-error i { color:#f87171; }
[data-theme="dark"] .qc-cust-tag { background:#14372c; color:#34d399; }
[data-theme="dark"] .qc-cust-tag.corp { background:#262a52; color:#a5b4fc; }
[data-theme="dark"] .qc-cust-row.is-disabled .qc-cust-pick,
[data-theme="dark"] .qc-cust-row.is-disabled:hover .qc-cust-pick { color:#f87171; }

/* ── Quick-view başlığı: ortak tıkla-düzenle kalıbı (.qv-etitle) ──
   Renkler currentColor'dan türetildiği için çoğu durumda koyu temada da doğru
   çalışır; aşağıdakiler yalnızca kutu zeminini ve durum renklerini netleştirir. */
[data-theme="dark"] .qv-etitle.is-auto { opacity:.5; }
[data-theme="dark"] .qv-etitle-input {
    background:var(--bg-inset);
    border-color:color-mix(in srgb, currentColor 55%, transparent);
    color:inherit;
}
[data-theme="dark"] .qv-etitle-input::placeholder { color:#8296b0; opacity:1; }
[data-theme="dark"] .qv-etitle.is-error {
    background:#3b1d20;
    box-shadow: inset 0 0 0 1.5px #7f2a2f;
}
[data-theme="dark"] .qv-etitle.is-saved::after,
[data-theme="dark"] .qv-etitle:not(.editing):hover.is-saved::after { color:#34d399; }

/* ── Satış kartı: pazaryeri şeridi + oda kurgusu (WS-SALE-ROOM) ──
   Fiyatın hangi pazaryerinden geldiği ve odalara göre otomatik uygulanan
   tek kişi farkı / ek yatak rozetleri koyu temada da okunur kalmalı. */
[data-theme="dark"] .qcfp-qty.is-derived { background:var(--bg-inset); color:var(--text-3); border-color:var(--border-1); }
[data-theme="dark"] .qcfp-cap { color:#5b6b85; }
[data-theme="dark"] .qcfp-cap i { color:#3f4d68; }
[data-theme="dark"] .qcfp-cap span { color:#34d399; }

[data-theme="dark"] .qcmp { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qcmp-ico { background:#232848; color:#a5b4fc; }
[data-theme="dark"] .qcmp-lbl { color:#5b6b85; }
[data-theme="dark"] .qcmp-select { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qcmp-select:disabled { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .qcmp-badge.is-primary { background:#14372c; color:#34d399; }
[data-theme="dark"] .qcmp-badge.is-selected { background:#232848; color:#a5b4fc; }
[data-theme="dark"] .qcmp-badge.is-fallback { background:#3a2e14; color:#fcd34d; }
[data-theme="dark"] .qcmp-note { color:#8296b0; }
[data-theme="dark"] .qcmp-note b { color:var(--text-2); }
[data-theme="dark"] .qcmp.is-warn { background:#3a2e14; border-color:#6b5520; }
[data-theme="dark"] .qcmp.is-warn .qcmp-note { color:#fcd34d; }
[data-theme="dark"] .qcmp.is-warn .qcmp-note b { color:#fde68a; }

[data-theme="dark"] .qcrm-btn-ghost { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .qcrm-btn-ghost:hover { background:var(--bg-hover); color:var(--text-1); }
[data-theme="dark"] .qcrm-room { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .qcrm-room:focus-within { border-color:#3b4370; }
[data-theme="dark"] .qcrm-room.is-over { border-color:#7f2a2f; }
[data-theme="dark"] .qcrm-top { background:var(--bg-inset); border-bottom-color:var(--border-2); }
[data-theme="dark"] .qcrm-no { background:#232848; color:#a5b4fc; }
[data-theme="dark"] .qcrm-type { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qcrm-beds { color:#5b6b85; }
[data-theme="dark"] .qcrm-room-total { color:#34d399; }
[data-theme="dark"] .qcrm-x { color:#3f4d68; }
[data-theme="dark"] .qcrm-x:hover { background:#3b1d20; color:#f87171; }

[data-theme="dark"] .qcrm-field > label { color:var(--text-3); }
[data-theme="dark"] .qcrm-field > label i { color:#5b6b85; }
[data-theme="dark"] .qcrm-step { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .qcrm-step button { background:var(--bg-inset); color:var(--text-3); }
[data-theme="dark"] .qcrm-step button:hover { background:#232848; color:#a5b4fc; }
[data-theme="dark"] .qcrm-step input { background:var(--bg-card); color:var(--text-1); }
[data-theme="dark"] .qcrm-step input:focus { background:var(--bg-hover); }
[data-theme="dark"] .qcrm-bed { background:var(--bg-card); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .qcrm-bed:hover { border-color:#3b4370; }
[data-theme="dark"] .qcrm-bed.is-on { background:#232848; border-color:#3b4370; color:#c7d2fe; }
[data-theme="dark"] .qcrm-note-in { background:var(--bg-card); border-color:var(--border-1); color:var(--text-2); }

[data-theme="dark"] .qcrm-tag { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .qcrm-tag i { color:#5b6b85; }
[data-theme="dark"] .qcrm-tag b { color:var(--text-1); }
[data-theme="dark"] .qcrm-tag.is-auto { background:#232848; color:#c7d2fe; }
[data-theme="dark"] .qcrm-tag.is-auto i { color:#a5b4fc; }
[data-theme="dark"] .qcrm-tag.is-auto b { color:#e0e7ff; }
[data-theme="dark"] .qcrm-tag.is-warn { background:#3a2e14; color:#fcd34d; }
[data-theme="dark"] .qcrm-tag.is-warn i { color:#fbbf24; }
[data-theme="dark"] .qcrm-tag.is-warn b { color:#fde68a; }

[data-theme="dark"] .qcrm-empty { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .qcrm-empty > i { color:#3f4d68; }
[data-theme="dark"] .qcrm-empty b { color:var(--text-2); }
[data-theme="dark"] .qcrm-empty span { color:#8296b0; }

/* Katalog: fiyat tipi panelindeki pazaryeri seçimi + odalama notu */
[data-theme="dark"] .qvcat-fare-mk-lbl { color:#5b6b85; }
[data-theme="dark"] .qvcat-fare-mk-lbl i { color:#a5b4fc; }
[data-theme="dark"] .qvcat-fare-mk-sel { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .qvcat-fare-mk-sel:disabled { background:var(--bg-hover); color:var(--text-3); }
[data-theme="dark"] .qvcat-fare-mk-warn { background:#3a2e14; color:#fcd34d; }
[data-theme="dark"] .qvcat-fare-mk-warn i { color:#fbbf24; }
[data-theme="dark"] .qvcat-fare-mk-warn a { color:#fde68a; }
[data-theme="dark"] .qvcat-fare-roomnote { background:#232848; border-color:#3b4370; color:#c7d2fe; }
[data-theme="dark"] .qvcat-fare-roomnote i { color:#a5b4fc; }
[data-theme="dark"] .qvcat-fare-roomnote b { color:#e0e7ff; }
[data-theme="dark"] .qvcat-date-mk { background:#232848; color:#a5b4fc; }
[data-theme="dark"] .qvcat-date-mk.is-warn { background:#3a2e14; color:#fcd34d; }

/* ── WS-PROD-PRICE: pazaryeri fiyat matrisi (ana pazar şeridi, otomatik/elle/eksik
   göstergeleri, katlanabilir kartlar) + ayarlar sekmesindeki ana pazar durumu ── */
[data-theme="dark"] .mpp-pmbar { background:rgba(22,163,74,.10); border-color:rgba(22,163,74,.38); }
[data-theme="dark"] .mpp-pmbar.is-unset { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); }
[data-theme="dark"] .mpp-pmbar-ico { color:#4ade80; }
[data-theme="dark"] .mpp-pmbar.is-unset .mpp-pmbar-ico { color:#fbbf24; }
[data-theme="dark"] .mpp-pmbar-txt b { color:#86efac; }
[data-theme="dark"] .mpp-pmbar-txt small { color:#a7bfae; }
[data-theme="dark"] .mpp-pmbar.is-unset .mpp-pmbar-txt b { color:#fcd34d; }
[data-theme="dark"] .mpp-pmbar.is-unset .mpp-pmbar-txt small { color:#c9b48a; }
[data-theme="dark"] .mpp-pmbar-sel { color:var(--text-3); }
[data-theme="dark"] .mpp-pmbar-sel select { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .mpp-pmbar.is-unset .mpp-pmbar-sel select { border-color:rgba(245,158,11,.60); }
[data-theme="dark"] .mpp-pmbar-note { color:#8296b0; }

[data-theme="dark"] .mpp-lg.is-auto { color:#93c5fd; background:rgba(59,130,246,.12); border-color:rgba(59,130,246,.34); }
[data-theme="dark"] .mpp-lg.is-manual { color:#c4b5fd; background:rgba(139,92,246,.12); border-color:rgba(139,92,246,.34); }
[data-theme="dark"] .mpp-lg.is-blank { color:#fcd34d; background:rgba(245,158,11,.12); border-color:rgba(245,158,11,.34); }

[data-theme="dark"] .mpp-dict { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .mpp-dict summary { color:var(--text-2); }
[data-theme="dark"] .mpp-dict summary i { color:#60a5fa; }
[data-theme="dark"] .mpp-dict li { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .mpp-dict li b { color:var(--text-1); }
[data-theme="dark"] .mpp-dict li b i { color:var(--text-3); }
[data-theme="dark"] .mpp-dict li span { color:var(--text-3); }

[data-theme="dark"] .mpp-note { background:rgba(99,102,241,.13); border-color:rgba(99,102,241,.30); color:#a5b4fc; }

[data-theme="dark"] .mpp-search input { background:var(--bg-card); border-color:var(--border-1); color:var(--text-1); }
[data-theme="dark"] .mpp-search i { color:#8296b0; }
[data-theme="dark"] .mpp-chk { color:var(--text-2); }
[data-theme="dark"] .mpp-linkbtn { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .mpp-linkbtn:hover { background:var(--bg-hover); border-color:rgba(59,130,246,.42); color:#60a5fa; }
[data-theme="dark"] .mpp-noresult { color:#8296b0; }

[data-theme="dark"] .mpp-name { color:var(--text-1); }
[data-theme="dark"] .mpp-chev { color:#8296b0; }
[data-theme="dark"] .mpp-fold-sum { color:var(--text-1); }
[data-theme="dark"] .mpp-badge.nofare { background:rgba(245,158,11,.12); color:#fcd34d; border-color:rgba(245,158,11,.34); }
[data-theme="dark"] .mpp-setprimary { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.34); color:#fcd34d; }
[data-theme="dark"] .mpp-setprimary:hover { background:rgba(245,158,11,.18); border-color:rgba(245,158,11,.60); }

[data-theme="dark"] .mpp-conv { background:rgba(59,130,246,.11); border-color:rgba(59,130,246,.30); color:#93c5fd; }

[data-theme="dark"] .mpp-fld label { color:var(--text-3); }
[data-theme="dark"] .mpp-fld label i { color:#8296b0; }
[data-theme="dark"] .mpp-inp input[data-manual="1"] { background:rgba(139,92,246,.10); border-color:rgba(139,92,246,.45); box-shadow:inset 3px 0 0 #8b5cf6; }
[data-theme="dark"] .mpp-inp input[data-auto="1"] { background:rgba(59,130,246,.09); border-color:rgba(59,130,246,.42); box-shadow:inset 3px 0 0 #60a5fa; }
[data-theme="dark"] .mpp-inp input[data-blank="1"] { background:rgba(245,158,11,.07); border-color:rgba(245,158,11,.45); }
[data-theme="dark"] .mpp-inp input[data-blank="1"]::placeholder { color:#d9a441; }

[data-theme="dark"] .pqv-mp-state.ok { background:rgba(22,163,74,.10); border-color:rgba(22,163,74,.38); color:#86efac; }
[data-theme="dark"] .pqv-mp-state.ok i { color:#fbbf24; }
[data-theme="dark"] .pqv-mp-state.warn { background:rgba(245,158,11,.10); border-color:rgba(245,158,11,.42); color:#fcd34d; }
[data-theme="dark"] .pqv-mp-state.warn i { color:#fbbf24; }
[data-theme="dark"] .pqv-mp-card.is-primary-mp { border-color:rgba(245,158,11,.55) !important; background:rgba(245,158,11,.10) !important; }
[data-theme="dark"] .mpp-card.is-primary .mpp-classrow.is-base-cls .mpp-fld.is-lead label { color:#bfdbfe; }
[data-theme="dark"] .mpp-card.is-primary .mpp-classrow.is-base-cls .mpp-fld.is-lead label i { color:#60a5fa; }
[data-theme="dark"] .mpp-card.is-primary .mpp-classrow.is-base-cls .mpp-fld.is-lead input { border-color:rgba(59,130,246,.45); }
[data-theme="dark"] .mpp-card.is-primary .mpp-classrow.is-base-cls .mpp-fld.is-lead input[data-blank="1"] { border-color:rgba(245,158,11,.60); }
[data-theme="dark"] .mpp-inp input.mpp-flash { animation:mppFlashDark .5s ease; }
@keyframes mppFlashDark { from { background:rgba(59,130,246,.28); } to { background:rgba(59,130,246,.09); } }

/* ══ QUICK-VIEW E-POSTA KATMANI (components/quick-view/mail-ui) ══════════
   Yazma kutusunun e-posta kipi, akıştaki posta satırı ve E-postalar sekmesi.
   Açık temadaki #fff/#e6ecf5 değerleri burada token karşılıklarına düşer. */

/* Yazma kutusu — e-posta kipi */
[data-theme="dark"] .acx-box.is-mail { border-color:var(--border-1); }
[data-theme="dark"] .acx-mh-r { border-bottom-color:var(--border-2); }
[data-theme="dark"] .acx-mh-l { color:#5b6b85; }
[data-theme="dark"] .acx-mh-r input, [data-theme="dark"] .acx-mh-r select { color:var(--text-2); }
[data-theme="dark"] .acx-mh-r select { background:var(--bg-card); }
/* Gönderici profilleri birden çok hesapta adrese göre gruplanır; grup başlığı
   koyu zeminde tarayıcı varsayılanıyla beyaz kalıyordu */
[data-theme="dark"] .acx-mh-r select optgroup { background:var(--bg-card); color:var(--text-3); }
[data-theme="dark"] .acx-mh-r select option { background:var(--bg-card); color:var(--text-2); }
[data-theme="dark"] .acx-mh-r input::placeholder { color:#4c5c78; }
[data-theme="dark"] .acx-mh-dot { box-shadow:0 0 0 2px var(--bg-card); }
[data-theme="dark"] .acx-mh-x { color:#7d8da6; }
[data-theme="dark"] .acx-mh-x:hover, [data-theme="dark"] .acx-mh-x.on { color:#7ea6f5; }

[data-theme="dark"] .acx-rte .ql-toolbar.ql-snow { border-bottom-color:var(--border-2); }
[data-theme="dark"] .acx-rte .ql-toolbar.ql-snow .ql-stroke { stroke:var(--text-3); }
[data-theme="dark"] .acx-rte .ql-toolbar.ql-snow .ql-fill { fill:var(--text-3); }
[data-theme="dark"] .acx-rte .ql-toolbar.ql-snow button:hover .ql-stroke { stroke:#7ea6f5; }
[data-theme="dark"] .acx-rte .ql-toolbar.ql-snow button:hover .ql-fill { fill:#7ea6f5; }
[data-theme="dark"] .acx-rte .ql-editor { color:var(--text-2); }
[data-theme="dark"] .acx-rte .ql-editor.ql-blank::before { color:#4c5c78; }

[data-theme="dark"] .acx-att-i { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .acx-att-i b { color:#5b6b85; }
[data-theme="dark"] .acx-att-x { color:#4c5c78; }
[data-theme="dark"] .acx-att-x:hover { background:rgba(239,68,68,.16); color:#f87171; }
[data-theme="dark"] .acx-clip { color:#7d8da6; }
[data-theme="dark"] .acx-clip:hover { background:var(--bg-hover); color:#7ea6f5; }

[data-theme="dark"] .acx-noacc { border-color:var(--border-1); background:var(--bg-inset); color:var(--text-3); }
[data-theme="dark"] .acx-noacc a { color:#7ea6f5; }

/* Akıştaki posta satırı */
[data-theme="dark"] .flw-i.is-mail.unread { background:var(--bg-inset); }
[data-theme="dark"] .flw-i.is-mail.unread .flw-s { color:var(--text-1); }
[data-theme="dark"] .mlw-dir { background:color-mix(in srgb, var(--fc, #64748b) 20%, var(--bg-card)); color:color-mix(in srgb, var(--fc, #64748b) 62%, var(--text-1)); }
[data-theme="dark"] .mlw-meta { color:#7d8da6; }
[data-theme="dark"] .mlw-meta i { color:#5b6b85; }
[data-theme="dark"] .mlw-open { color:#7ea6f5; }

/* E-postalar sekmesi */
[data-theme="dark"] .mlx-filters { border-bottom-color:var(--border-2); }
[data-theme="dark"] .mlx-chip { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .mlx-chip:hover { border-color:var(--border-1); background:var(--bg-hover); color:var(--text-2); }
[data-theme="dark"] .mlx-chip.on { background:rgba(37,99,235,.18); border-color:rgba(37,99,235,.42); color:#7ea6f5; }

[data-theme="dark"] .mlx-i { border-bottom-color:var(--border-2); }
[data-theme="dark"] .mlx-h:hover { background:var(--bg-hover); }
[data-theme="dark"] .mlx-i.open > .mlx-h { background:var(--bg-inset); }
[data-theme="dark"] .mlx-ic { background:color-mix(in srgb, var(--fc, #64748b) 22%, var(--bg-card)); border-color:color-mix(in srgb, var(--fc, #64748b) 40%, var(--bg-card)); }
[data-theme="dark"] .mlx-s { color:var(--text-1); }
[data-theme="dark"] .mlx-i.unread .mlx-s::before { background:#7ea6f5; }
[data-theme="dark"] .mlx-p { color:#7d8da6; }
[data-theme="dark"] .mlx-sn { color:#5b6b85; }
[data-theme="dark"] .mlx-time { color:#5b6b85; }
[data-theme="dark"] .mlx-tag { background:var(--bg-raise); color:var(--text-3); }
[data-theme="dark"] .mlx-tag.acc { background:color-mix(in srgb, var(--acc, #2563eb) 22%, var(--bg-card)); color:color-mix(in srgb, var(--acc, #2563eb) 55%, var(--text-1)); }

[data-theme="dark"] .mlx-frame { border-color:var(--border-1); background:var(--bg-card); }
[data-theme="dark"] .mlx-frame-h { background:var(--bg-inset); border-bottom-color:var(--border-2); color:var(--text-3); }
[data-theme="dark"] .mlx-frame-h b { color:#5b6b85; }
/* Posta gövdesi çoğunlukla açık zemin için yazılır: kağıt yüzeyi korunur */
[data-theme="dark"] .mlx-html { background:#f8fafc; color:#0f172a; border-radius:0 0 11px 11px; }
[data-theme="dark"] .mlx-load { color:#5b6b85; }
[data-theme="dark"] .mlx-atts { border-top-color:var(--border-2); }
[data-theme="dark"] .mlx-att { background:var(--bg-inset); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .mlx-att:hover { background:var(--bg-hover); border-color:rgba(37,99,235,.42); color:#7ea6f5; }
[data-theme="dark"] .mlx-att i { color:#5b6b85; }
[data-theme="dark"] .mlx-att:hover i { color:#7ea6f5; }
[data-theme="dark"] .mlx-att b { color:#5b6b85; }

[data-theme="dark"] .mlx-act { background:var(--bg-card); border-color:var(--border-1); color:var(--text-3); }
[data-theme="dark"] .mlx-act:hover { background:var(--bg-hover); border-color:rgba(37,99,235,.42); color:#7ea6f5; }
[data-theme="dark"] .mlx-act.danger:hover { background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.4); color:#f87171; }
[data-theme="dark"] .mlx-err { background:rgba(239,68,68,.14); border-color:rgba(239,68,68,.35); color:#f87171; }

/* Dışa aktarma biçim menüsü (quick-view) */
[data-theme="dark"] .mlx-xp-menu { background:var(--bg-card); border-color:var(--border-1); box-shadow:0 18px 42px -16px rgba(0,0,0,.6), 0 2px 8px -3px rgba(0,0,0,.4); }
[data-theme="dark"] .mlx-xp-h { color:#5b6b85; }
[data-theme="dark"] .mlx-xp-o:hover { background:var(--bg-hover); }
[data-theme="dark"] .mlx-xp-o i { color:#5b6b85; }
[data-theme="dark"] .mlx-xp-o:hover i { color:#7ea6f5; }
[data-theme="dark"] .mlx-xp-o span { color:#7d8da6; }
[data-theme="dark"] .mlx-xp-o span b { color:var(--text-1); }

/* Mail modülü: yedekleme & dışa aktarma penceresi */
[data-theme="dark"] .mail-xp-scope { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .mail-xp-fmt { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .mail-xp-fmt i { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .mail-xp-range input { background:var(--bg-card); border-color:var(--border-1); color:var(--text-2); }
[data-theme="dark"] .mail-crm-fields input, [data-theme="dark"] .mail-crm-fields select { background:var(--bg-card); border-color:var(--border-1); color:var(--text-2); }

/* Mail rehberi (yazma penceresi alıcı seçici) */
[data-theme="dark"] .mail-dir { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .mail-dir-head { background:var(--bg-card); border-bottom-color:var(--border-1); }
[data-theme="dark"] .mail-dir-search { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .mail-dir-search input { color:var(--text-2); }
[data-theme="dark"] .mail-dir-target { background:var(--bg-inset); border-color:var(--border-1); }
[data-theme="dark"] .mail-dir-kinds { border-bottom-color:var(--border-1); }
[data-theme="dark"] .mail-dir-kind { background:var(--bg-card); border-color:var(--border-1); }
[data-theme="dark"] .mail-dir-item:hover { background:var(--bg-hover); }
[data-theme="dark"] .mail-dir-add { background:var(--bg-raise); }
