/* ==========================================================================
   KRONOS STUDIO OS v7.0 — BOOTSTRAP 5 + PURE CSS DESKTOP SAAS FRAMEWORK
   Sıfır Tailwind • Saf CSS Değişken Mimarisi • Masaüstü Program Görünümü
   ========================================================================== */

:root {
  color-scheme: light dark;
}
:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  color-scheme: dark;
}
:root:has(> head > meta[name="color-scheme"][content="light"]) {
  color-scheme: light;
}

:root,
[data-theme="light"] {
  color-scheme: light;
  --bg-desktop: #e6e9f0;
  --bg-window: rgba(248, 250, 252, 0.92);
  --bg-titlebar: rgba(241, 245, 249, 0.94);
  --bg-menubar: #f8fafc;
  --bg-dock: #0f172a;
  --bg-sidebar: #f1f5f9;
  --bg-workspace: #f4f6fb;
  --bg-surface: #ffffff;
  --bg-surface-hover: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-input: #ffffff;

  --border-window: rgba(15, 23, 42, 0.14);
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --shadow-window: 0 28px 70px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-float: 0 20px 45px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.08);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg-desktop: #06080d;
  --bg-window: rgba(13, 17, 23, 0.95);
  --bg-titlebar: rgba(9, 12, 18, 0.96);
  --bg-menubar: #0d1117;
  --bg-dock: #07090e;
  --bg-sidebar: #0b0f17;
  --bg-workspace: #090c12;
  --bg-surface: #111621;
  --bg-surface-hover: #171e2c;
  --bg-subtle: #161c28;
  --bg-input: #0b0f17;

  --border-window: rgba(255, 255, 255, 0.1);
  --border-color: #1e2636;
  --border-strong: #2b3548;

  --text-main: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-faint: #475569;

  --shadow-window: 0 32px 80px -12px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.07);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-float: 0 24px 55px -10px rgba(0, 0, 0, 0.78), 0 0 0 1px rgba(255, 255, 255, 0.09);
}

/* Koyu Siyah Mod (Saf Siyah / OLED Yüksek Kontrast Teması) */
[data-theme="black"] {
  color-scheme: dark;
  --bg-desktop: #000000;
  --bg-window: rgba(2, 2, 4, 0.98);
  --bg-titlebar: rgba(0, 0, 0, 0.99);
  --bg-menubar: #030305;
  --bg-dock: #000000;
  --bg-sidebar: #040407;
  --bg-workspace: #000000;
  --bg-surface: #08080c;
  --bg-surface-hover: #101018;
  --bg-subtle: #0c0c12;
  --bg-input: #030306;

  --border-window: rgba(255, 255, 255, 0.14);
  --border-color: #191924;
  --border-strong: #272738;

  --text-main: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-faint: #52525b;

  --shadow-window: 0 32px 80px -12px rgba(0, 0, 0, 0.96), 0 0 0 1px rgba(255, 255, 255, 0.1);
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.65);
  --shadow-float: 0 24px 55px -10px rgba(0, 0, 0, 0.92), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Antrasit Gri Mod (Siyah ile Beyaz Arasında Orta Koyu Kül/Arduvaz Gri Teması) */
[data-theme="graphite"] {
  color-scheme: dark;
  --bg-desktop: #181e29;
  --bg-window: rgba(31, 38, 51, 0.96);
  --bg-titlebar: rgba(25, 31, 43, 0.97);
  --bg-menubar: #1d2432;
  --bg-dock: #141923;
  --bg-sidebar: #1b2230;
  --bg-workspace: #202736;
  --bg-surface: #283142;
  --bg-surface-hover: #303b4f;
  --bg-subtle: #232b3a;
  --bg-input: #1b2230;

  --border-window: rgba(255, 255, 255, 0.14);
  --border-color: #364156;
  --border-strong: #475569;

  --text-main: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-faint: #64748b;

  --shadow-window: 0 30px 75px -12px rgba(10, 14, 22, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.09);
  --shadow-card: 0 2px 8px rgba(10, 14, 22, 0.28);
  --shadow-float: 0 22px 50px -10px rgba(10, 14, 22, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Gümüş Gri Mod (Göz Yormayan Yumuşak İnci/Platin Gri Teması) */
[data-theme="silver"] {
  color-scheme: light;
  --bg-desktop: #c8d2e1;
  --bg-window: rgba(226, 232, 240, 0.95);
  --bg-titlebar: rgba(209, 218, 230, 0.96);
  --bg-menubar: #dce3ee;
  --bg-dock: #1e293b;
  --bg-sidebar: #d5deeb;
  --bg-workspace: #dde4ef;
  --bg-surface: #ecf0f6;
  --bg-surface-hover: #e2e8f0;
  --bg-subtle: #d2dceb;
  --bg-input: #f4f7fb;

  --border-window: rgba(15, 23, 42, 0.18);
  --border-color: #c0cce0;
  --border-strong: #94a3b8;

  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-faint: #64748b;

  --shadow-window: 0 28px 70px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 1px 4px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-float: 0 20px 45px -10px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.1);
}

/* Koyu Krem & Bronz Mod (Doygun Sıcak Kum / Kapuçino / Toprak Teması) */
[data-theme="mocha"] {
  color-scheme: light;
  --bg-desktop: #bfb097;
  --bg-window: rgba(227, 216, 196, 0.96);
  --bg-titlebar: rgba(212, 198, 174, 0.97);
  --bg-menubar: #dcd0ba;
  --bg-dock: #1e150b;
  --bg-sidebar: #d5c7ae;
  --bg-workspace: #e1d5c0;
  --bg-surface: #eee5d4;
  --bg-surface-hover: #dfd2b9;
  --bg-subtle: #cebe9f;
  --bg-input: #f5eee0;

  --border-window: rgba(56, 38, 14, 0.22);
  --border-color: #bfa984;
  --border-strong: #9e845c;

  --text-main: #21170b;
  --text-secondary: #473623;
  --text-muted: #664f36;
  --text-faint: #876d4f;

  --shadow-window: 0 28px 70px -12px rgba(33, 23, 11, 0.32), 0 0 0 1px rgba(56, 38, 14, 0.14);
  --shadow-card: 0 1px 4px rgba(33, 23, 11, 0.1), 0 1px 2px rgba(33, 23, 11, 0.06);
  --shadow-float: 0 20px 45px -10px rgba(33, 23, 11, 0.26), 0 0 0 1px rgba(56, 38, 14, 0.14);
}

/* Krem / Sıcak Bej Mod (Açık Sıcak Kağıt & Fildişi Teması) */
[data-theme="cream"] {
  color-scheme: light;
  --bg-desktop: #dfd8c8;
  --bg-window: rgba(250, 247, 240, 0.96);
  --bg-titlebar: rgba(243, 237, 224, 0.97);
  --bg-menubar: #f6f1e6;
  --bg-dock: #261c10;
  --bg-sidebar: #f3ede0;
  --bg-workspace: #f8f5ed;
  --bg-surface: #fffdf8;
  --bg-surface-hover: #f4ede0;
  --bg-subtle: #ebe2cf;
  --bg-input: #fffefb;

  --border-window: rgba(66, 46, 18, 0.16);
  --border-color: #dfd5c0;
  --border-strong: #c5b697;

  --text-main: #2b2115;
  --text-secondary: #5c4b37;
  --text-muted: #7d6a53;
  --text-faint: #a3917a;

  --shadow-window: 0 28px 70px -12px rgba(43, 33, 21, 0.25), 0 0 0 1px rgba(66, 46, 18, 0.1);
  --shadow-card: 0 1px 4px rgba(43, 33, 21, 0.07), 0 1px 2px rgba(43, 33, 21, 0.04);
  --shadow-float: 0 20px 45px -10px rgba(43, 33, 21, 0.2), 0 0 0 1px rgba(66, 46, 18, 0.1);
}

/* Buz Mavisi / Ferah Mod (Yumuşak Okyanus & Kristal Mavi Gündüz Teması) */
[data-theme="ice"] {
  color-scheme: light;
  --bg-desktop: #cfe0f2;
  --bg-window: rgba(240, 247, 255, 0.96);
  --bg-titlebar: rgba(226, 238, 252, 0.97);
  --bg-menubar: #e8f2fc;
  --bg-dock: #0c2238;
  --bg-sidebar: #e1eefb;
  --bg-workspace: #ebf4fc;
  --bg-surface: #f8fbff;
  --bg-surface-hover: #e4f0fb;
  --bg-subtle: #d6e8f8;
  --bg-input: #ffffff;

  --border-window: rgba(12, 34, 56, 0.16);
  --border-color: #c2daf0;
  --border-strong: #91bbe2;

  --text-main: #0c2238;
  --text-secondary: #2d4b6b;
  --text-muted: #507091;
  --text-faint: #7b9ec2;

  --shadow-window: 0 28px 70px -12px rgba(12, 34, 56, 0.25), 0 0 0 1px rgba(12, 34, 56, 0.09);
  --shadow-card: 0 1px 4px rgba(12, 34, 56, 0.07), 0 1px 2px rgba(12, 34, 56, 0.04);
  --shadow-float: 0 20px 45px -10px rgba(12, 34, 56, 0.2), 0 0 0 1px rgba(12, 34, 56, 0.09);
}

/* Vurgu Rengi Paletleri */
:root,
[data-accent="indigo"] {
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-light: rgba(79, 70, 229, 0.12);
  --accent-border: rgba(79, 70, 229, 0.32);
  --accent-glow: rgba(79, 70, 229, 0.25);
}
[data-theme="dark"][data-accent="indigo"],
[data-theme="black"][data-accent="indigo"],
[data-theme="graphite"][data-accent="indigo"] {
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-light: rgba(99, 102, 241, 0.16);
  --accent-border: rgba(99, 102, 241, 0.38);
}

[data-accent="emerald"] {
  --accent: #059669;
  --accent-hover: #047857;
  --accent-light: rgba(16, 185, 129, 0.12);
  --accent-border: rgba(16, 185, 129, 0.32);
  --accent-glow: rgba(16, 185, 129, 0.25);
}
[data-theme="dark"][data-accent="emerald"],
[data-theme="black"][data-accent="emerald"],
[data-theme="graphite"][data-accent="emerald"] {
  --accent: #10b981;
  --accent-hover: #34d399;
}

[data-accent="cyan"] {
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: rgba(14, 165, 233, 0.12);
  --accent-border: rgba(14, 165, 233, 0.32);
  --accent-glow: rgba(14, 165, 233, 0.25);
}
[data-theme="dark"][data-accent="cyan"],
[data-theme="black"][data-accent="cyan"],
[data-theme="graphite"][data-accent="cyan"] {
  --accent: #0ea5e9;
  --accent-hover: #38bdf8;
}

[data-accent="rose"] {
  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-light: rgba(225, 29, 72, 0.12);
  --accent-border: rgba(225, 29, 72, 0.32);
  --accent-glow: rgba(225, 29, 72, 0.25);
}
[data-theme="dark"][data-accent="rose"],
[data-theme="black"][data-accent="rose"],
[data-theme="graphite"][data-accent="rose"] {
  --accent: #f43f5e;
  --accent-hover: #fb7185;
}

[data-accent="amber"] {
  --accent: #d97706;
  --accent-hover: #b45309;
  --accent-light: rgba(245, 158, 11, 0.12);
  --accent-border: rgba(245, 158, 11, 0.32);
  --accent-glow: rgba(245, 158, 11, 0.25);
}
[data-theme="dark"][data-accent="amber"],
[data-theme="black"][data-accent="amber"],
[data-theme="graphite"][data-accent="amber"] {
  --accent: #f59e0b;
  --accent-hover: #fbbf24;
}

[data-accent="violet"] {
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: rgba(139, 92, 246, 0.12);
  --accent-border: rgba(139, 92, 246, 0.32);
  --accent-glow: rgba(139, 92, 246, 0.25);
}
[data-theme="dark"][data-accent="violet"],
[data-theme="black"][data-accent="violet"],
[data-theme="graphite"][data-accent="violet"] {
  --accent: #8b5cf6;
  --accent-hover: #a78bfa;
}

[data-accent="slate"] {
  --accent: #475569;
  --accent-hover: #334155;
  --accent-light: rgba(100, 116, 139, 0.14);
  --accent-border: rgba(100, 116, 139, 0.35);
  --accent-glow: rgba(100, 116, 139, 0.25);
}
[data-theme="dark"][data-accent="slate"],
[data-theme="black"][data-accent="slate"],
[data-theme="graphite"][data-accent="slate"] {
  --accent: #94a3b8;
  --accent-hover: #cbd5e1;
}

/* Bronz / Toprak Kahve Vurgu Rengi (Sıcak Altın-Kahve Tonu) */
[data-accent="bronze"] {
  --accent: #8c6222;
  --accent-hover: #734f18;
  --accent-light: rgba(140, 98, 34, 0.13);
  --accent-border: rgba(140, 98, 34, 0.34);
  --accent-glow: rgba(140, 98, 34, 0.25);
}
[data-theme="dark"][data-accent="bronze"],
[data-theme="black"][data-accent="bronze"],
[data-theme="graphite"][data-accent="bronze"] {
  --accent: #d49b43;
  --accent-hover: #e5b363;
  --accent-light: rgba(212, 155, 67, 0.16);
  --accent-border: rgba(212, 155, 67, 0.38);
}

/* Adaçayı Yeşili Vurgu Rengi (Doğal Mint / Adaçayı Yeşili Tonu) */
[data-accent="sage"] {
  --accent: #3b8766;
  --accent-hover: #2e6d51;
  --accent-light: rgba(59, 135, 102, 0.14);
  --accent-border: rgba(59, 135, 102, 0.34);
  --accent-glow: rgba(59, 135, 102, 0.25);
}
[data-theme="dark"][data-accent="sage"],
[data-theme="black"][data-accent="sage"],
[data-theme="graphite"][data-accent="sage"] {
  --accent: #56b38b;
  --accent-hover: #74c6a3;
  --accent-light: rgba(86, 179, 139, 0.16);
  --accent-border: rgba(86, 179, 139, 0.38);
}

/* Tarçın / Kiremit Vurgu Rengi (Sıcak Bakır / Tarçın Tonu) */
[data-accent="terracotta"] {
  --accent: #c26d38;
  --accent-hover: #a65828;
  --accent-light: rgba(194, 109, 56, 0.14);
  --accent-border: rgba(194, 109, 56, 0.34);
  --accent-glow: rgba(194, 109, 56, 0.25);
}
[data-theme="dark"][data-accent="terracotta"],
[data-theme="black"][data-accent="terracotta"],
[data-theme="graphite"][data-accent="terracotta"] {
  --accent: #e08b56;
  --accent-hover: #eba375;
  --accent-light: rgba(224, 139, 86, 0.16);
  --accent-border: rgba(224, 139, 86, 0.38);
}

/* ==========================================================================
   1. TEMEL SIFIRLAMA VE TİPOGRAFİ
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: var(--text-main);
  background-color: var(--bg-desktop);
  user-select: text;
  -webkit-user-select: text;
  -webkit-font-smoothing: antialiased;
}

body.os-wallpaper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-image:
    radial-gradient(at 0% 0%, var(--accent-light) 0px, transparent 45%),
    radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.09) 0px, transparent 45%),
    radial-gradient(rgba(148, 163, 184, 0.16) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 20px 20px;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace !important;
}

/* Özel İnce Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ==========================================================================
   2. ANA MASAÜSTÜ PROGRAM ÇERÇEVESİ (WINDOW SHELL) & LOGIN PENCERESİ
   ========================================================================== */
.os-window {
  width: 100%;
  max-width: 1800px;
  height: calc(100vh - 20px);
  background: var(--bg-window);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-window);
  border-radius: 14px;
  box-shadow: var(--shadow-window);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

/* Yanda Yazısız Kompakt Masaüstü Login Penceresi (login.html için) */
.login-app-window {
  width: 100%;
  max-width: 430px;
  background: var(--bg-surface);
  border: 1px solid var(--border-window);
  border-radius: 16px;
  box-shadow: var(--shadow-window);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: fadeSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-brand-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  color: #ffffff;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -4px var(--accent-glow);
}

.login-role-switch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg-subtle);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.role-pill {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.role-pill:hover {
  color: var(--text-main);
}
.role-pill.active {
  background: var(--bg-surface);
  color: var(--accent);
  box-shadow: var(--shadow-card);
}

.os-window.is-maximized {
  max-width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: none;
}

.os-window.is-minimized {
  transform: scale(0.92) translateY(45px);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  body.os-wallpaper {
    padding: 0;
  }
  .os-window {
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
}

@media (max-width: 767.98px) {
  .login-app-window {
    margin: 12px;
  }
}

/* ==========================================================================
   3. PENCERE BAŞLIK ÇUBUĞU (TITLEBAR) VE MENÜ BARI
   ========================================================================== */
.os-titlebar {
  height: 38px;
  background: var(--bg-titlebar);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  flex-shrink: 0;
  z-index: 30;
}

.os-traffic-lights {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 10px;
}

.traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.traffic-dot:hover {
  transform: scale(1.15);
  filter: brightness(1.1);
}
.traffic-dot.close { background: #ef4444; }
.traffic-dot.min { background: #f59e0b; }
.traffic-dot.max { background: #10b981; }

.os-cmd-trigger {
  width: 100%;
  max-width: 420px;
  height: 26px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 11.5px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.os-cmd-trigger:hover {
  border-color: var(--accent);
  color: var(--text-main);
}

.kbd-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* Vurgu Rengi Seçici Noktalar */
.accent-picker {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
}
.accent-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
  forced-color-adjust: none;
}
.theme-swatch-preview {
  forced-color-adjust: none;
}
.accent-dot.active {
  transform: scale(1.25);
  outline: 2px solid var(--text-main);
  outline-offset: 1px;
}

/* Windows Kontrol Butonları */
.win-controls {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: -12px;
}
.win-btn {
  width: 38px;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.win-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}
.win-btn.close:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Üst Menü & Hızlı Aksiyon Şeridi */
.os-menubar {
  height: 36px;
  background: var(--bg-menubar);
  border-bottom: 1px solid var(--border-color);
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  z-index: 40;
}

.os-menu-item {
  position: relative;
  flex-shrink: 0;
}
.os-menu-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.14s ease;
}
.os-menu-btn:hover,
.os-menu-btn.active {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.os-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 235px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-float);
  padding: 5px;
  display: none;
  z-index: 60;
}
.os-dropdown.show {
  display: block;
  animation: fadeSlideDown 0.15s ease;
}
.os-dropdown-item {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.12s ease;
}
.os-dropdown-item:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}
.os-dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 0;
}

/* ==========================================================================
   4. ÇİFT RAYLI SOL NAVİGASYON (ACTIVITY DOCK + MODULE TREE SIDEBAR)
   ========================================================================== */
.os-body-wrap {
  flex: 1;
  display: flex;
  overflow: hidden;
  position: relative;
}

/* 4.1 En Sol İkon Rıhtımı (Activity Bar - VS Code / Linear Tarzı) */
.os-activity-dock {
  width: 48px;
  background: var(--bg-dock);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  flex-shrink: 0;
  z-index: 25;
}

.dock-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease;
}
.dock-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}
.dock-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.dock-btn.active::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #ffffff;
}

/* 4.2 İkincil Modül Ağacı Menüsü (Tree Explorer Sidebar) */
.os-tree-sidebar {
  width: 232px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 20;
}

html:not(.os-ready) .os-tree-sidebar,
html:not(.os-ready) .os-right-panel {
  transition: none !important;
}

@media (min-width: 992px) {
  html[data-left-collapsed="1"] .os-tree-sidebar,
  .os-tree-sidebar.collapsed {
    width: 0 !important;
    border-right: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }
}

.panel-toggle-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.14s ease;
}
.panel-toggle-btn:hover {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-border);
}

/* Mobil Karartma Arka Planı (Menü Açıkken Dışarı Tıklayınca Kapatır) */
.os-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 13, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.os-mobile-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 991.98px) {
  .os-titlebar {
    height: 44px;
    padding: 0 10px;
  }
  .os-mobile-icon-btn {
    min-width: 30px;
    height: 28px !important;
    padding: 0 8px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  .os-menubar {
    height: 38px;
    padding: 0 8px;
    gap: 4px;
  }
  .os-menu-btn {
    padding: 5px 8px;
    font-size: 11.5px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: 7px;
  }
  .os-menu-btn.active {
    background: var(--accent-light);
    color: var(--accent);
    border-color: var(--accent-border);
  }
  .os-tree-sidebar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 286px !important;
    max-width: 86vw !important;
    z-index: 50;
    box-shadow: var(--shadow-float);
    transform: translateX(-115%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .os-activity-dock ~ .os-tree-sidebar {
    left: 48px;
    max-width: calc(100vw - 48px) !important;
  }
  .os-tree-sidebar.mobile-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-right: 1px solid var(--border-strong);
  }
  .os-tree-sidebar .tree-item {
    padding: 9px 12px;
    font-size: 12.5px;
    margin: 2px 6px;
  }
}

@media (max-width: 767.98px) {
  .os-menubar .os-dropdown {
    position: fixed;
    top: 84px;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 160px);
    overflow-y: auto;
    z-index: 1050;
    padding: 8px;
    border-radius: 12px;
  }
  .os-menubar .os-dropdown-item {
    padding: 9px 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 575.98px) {
  .os-activity-dock {
    width: 42px;
  }
  .dock-btn {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .os-activity-dock ~ .os-tree-sidebar {
    left: 42px;
    max-width: calc(100vw - 42px) !important;
  }
  .os-viewport {
    padding: 10px;
  }
  .os-menu-btn {
    padding: 4px 6.5px;
    font-size: 11px;
    gap: 3px;
  }
}

.tree-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 10px 12px 4px;
}

.tree-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  margin: 1px 6px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.12s ease;
  white-space: nowrap;
}
.tree-item:hover {
  background: var(--bg-surface);
  color: var(--text-main);
}
.tree-item.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  border: 1px solid var(--accent-border);
}

.tree-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 99px;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.tree-submenu {
  margin-left: 18px;
  padding-left: 8px;
  border-left: 1px dashed var(--border-strong);
  display: none;
}
.tree-group.open .tree-submenu {
  display: block;
}
.tree-group .tree-chevron {
  font-size: 9px;
  transition: transform 0.18s ease;
}
.tree-group.open .tree-chevron {
  transform: rotate(90deg);
}

/* ==========================================================================
   5. MDI ÇOKLU SEKME ÇUBUĞU (WORKSPACE TABS) VE İÇERİK ALANI
   ========================================================================== */
.os-main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-workspace);
  overflow: hidden;
  min-width: 0;
}

.os-tabbar {
  height: 35px;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 8px;
  flex-shrink: 0;
  overflow-x: auto;
}

.os-tabs-list {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.os-tab {
  height: 30px;
  padding: 0 11px;
  border-radius: 7px 7px 0 0;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  color: var(--text-muted);
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: all 0.12s ease;
}
.os-tab:hover {
  background: var(--bg-surface-hover);
  color: var(--text-main);
}
.os-tab.active {
  background: var(--bg-workspace);
  color: var(--text-main);
  font-weight: 600;
  border-color: var(--border-color);
  border-top: 2px solid var(--accent);
}
.os-tab-close {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-muted);
}
.os-tab-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.os-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
}

/* ==========================================================================
   6. KARTLAR, TABLOLAR, KANBAN VE ROZETLER (STUDIO UI COMPONENTS)
   ========================================================================== */
.studio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.studio-card:hover {
  border-color: var(--border-strong);
}

.kpi-card {
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.kpi-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-1px);
}
.kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Butonlar */
.btn-studio {
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.btn-studio:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}

.btn-studio-primary {
  border: 1px solid transparent;
  background: var(--accent);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 3px 10px var(--accent-glow);
  transition: all 0.14s ease;
}
.btn-studio-primary:hover {
  background: var(--accent-hover);
}

/* Form Elemanları */
.studio-input,
.studio-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.studio-input:focus,
.studio-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* Veri Tablosu */
.studio-table-wrap {
  overflow-x: auto;
}
.studio-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 800px;
}
.studio-table thead th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.studio-table tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}
.studio-table tbody tr {
  cursor: pointer;
  transition: background 0.12s ease;
}
.studio-table tbody tr:hover {
  background: var(--accent-light);
}

/* Kompakt Tablo Yoğunluğu Modu */
body.density-compact .studio-table tbody td,
body.density-compact .studio-table thead th {
  padding: 5px 10px;
  font-size: 11.5px;
}

/* Durum Rozetleri */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-emerald { background: rgba(16, 185, 129, 0.14); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.28); }
.status-emerald .dot { background: #10b981; }

.status-sky { background: rgba(14, 165, 233, 0.14); color: #0ea5e9; border: 1px solid rgba(14, 165, 233, 0.28); }
.status-sky .dot { background: #0ea5e9; }

.status-indigo { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border); }
.status-indigo .dot { background: var(--accent); }

.status-amber { background: rgba(245, 158, 11, 0.14); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.28); }
.status-amber .dot { background: #f59e0b; }

.status-rose { background: rgba(244, 63, 94, 0.14); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.28); }
.status-rose .dot { background: #f43f5e; }

.status-bronze { background: rgba(140, 98, 34, 0.14); color: #8c6222; border: 1px solid rgba(140, 98, 34, 0.3); }
.status-bronze .dot { background: #8c6222; }

.status-sage { background: rgba(59, 135, 102, 0.14); color: #3b8766; border: 1px solid rgba(59, 135, 102, 0.3); }
.status-sage .dot { background: #3b8766; }

.status-terracotta { background: rgba(194, 109, 56, 0.14); color: #c26d38; border: 1px solid rgba(194, 109, 56, 0.3); }
.status-terracotta .dot { background: #c26d38; }

/* İlerleme Çubuğu */
.progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-subtle);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  transition: width 0.3s ease;
}

/* Kanban Sütunları */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(225px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.kanban-col {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 11px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kanban-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 9px;
  padding: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.14s ease, border-color 0.14s ease;
}
.kanban-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

/* ==========================================================================
   7. SAĞ TELEMETRİ PANELİ, DENETÇİ (INSPECTOR) VE ALT KONSOL
   ========================================================================== */
.os-right-panel {
  width: 268px;
  background: var(--bg-sidebar);
  border-left: 1px solid var(--border-color);
  padding: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1), padding 0.22s ease, opacity 0.18s ease;
}

@media (min-width: 992px) {
  html[data-right-collapsed="1"] .os-right-panel,
  .os-right-panel.collapsed {
    width: 0 !important;
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }
}

@media (max-width: 991.98px) {
  .os-right-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 292px !important;
    max-width: 88vw !important;
    z-index: 50;
    box-shadow: var(--shadow-float);
    transform: translateX(115%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s ease;
  }
  .os-right-panel.mobile-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-left: 1px solid var(--border-strong) !important;
    padding: 12px !important;
  }
}

.os-inspector-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 350px;
  max-width: 92vw;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-strong);
  box-shadow: var(--shadow-float);
  z-index: 55;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.os-inspector-drawer.open {
  transform: translateX(0);
}

.os-terminal-drawer {
  height: 175px;
  background: #07090e;
  color: #e2e8f0;
  border-top: 1px solid #1e293b;
  display: none;
  flex-direction: column;
  flex-shrink: 0;
}
.os-terminal-drawer.open {
  display: flex;
}

/* Alt Durum Çubuğu (Status Bar) */
.os-statusbar {
  height: 27px;
  background: var(--bg-titlebar);
  border-top: 1px solid var(--border-color);
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  flex-shrink: 0;
  z-index: 30;
}

/* ==========================================================================
   8. NATIVE <DIALOG> MODALLAR (SCROLL CONTAINMENT UYUMLU)
   ========================================================================== */
dialog.studio-dialog {
  padding: 0;
  border: none;
  background: transparent;
  width: calc(100% - 24px);
  max-width: 520px;
  margin: auto;
  outline: none;
  overscroll-behavior: contain;
}
dialog.studio-dialog.dialog-sm {
  max-width: 430px;
}
dialog.studio-dialog:modal {
  overscroll-behavior: contain;
}
dialog.studio-dialog::backdrop {
  background: rgba(6, 8, 13, 0.62);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  overflow: hidden;
  overscroll-behavior: contain;
}
.dialog-box {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  animation: fadeSlideDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.dialog-header {
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.25); }
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: pulseLive 2s infinite ease-in-out;
}

/* ==========================================================================
   9. GENİŞLETİLMİŞ BİLEŞEN & SUPERADMIN TABLO / KART UYUMLULUK SINIFLARI
   ========================================================================== */
:root {
  --accent-soft: var(--accent-light);
  --border-subtle: var(--border-color);
  --bg-elevated: var(--bg-subtle);
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.bento-card:hover {
  border-color: var(--border-strong);
}

.kpi-value {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

/* .data-grid ve .studio-table Tam Eşitleme */
.data-grid {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 760px;
}
.data-grid thead th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.data-grid tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}
.data-grid tbody tr {
  transition: background 0.12s ease;
}
.data-grid tbody tr:hover {
  background: var(--accent-light);
}
body.density-compact .data-grid tbody td,
body.density-compact .data-grid thead th {
  padding: 6px 10px;
  font-size: 11.5px;
}

/* Rozet (Badge Pill) Sınıfları */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}
.badge-emerald { background: rgba(16, 185, 129, 0.14); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.28); }
.badge-sky, .badge-cyan { background: rgba(14, 165, 233, 0.14); color: #0ea5e9; border: 1px solid rgba(14, 165, 233, 0.28); }
.badge-indigo { background: var(--accent-light); color: var(--accent); border: 1px solid var(--accent-border); }
.badge-amber { background: rgba(245, 158, 11, 0.14); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.28); }
.badge-rose { background: rgba(244, 63, 94, 0.14); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.28); }
.badge-bronze { background: rgba(140, 98, 34, 0.14); color: #8c6222; border: 1px solid rgba(140, 98, 34, 0.3); }
.badge-sage { background: rgba(59, 135, 102, 0.14); color: #3b8766; border: 1px solid rgba(59, 135, 102, 0.3); }
.badge-terracotta { background: rgba(194, 109, 56, 0.14); color: #c26d38; border: 1px solid rgba(194, 109, 56, 0.3); }

/* Ek Buton & Form Sınıfları */
.btn-studio-danger {
  border: 1px solid rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e !important;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.btn-studio-danger:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #ffffff !important;
}

.btn-studio-ghost {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}
.btn-studio-ghost:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
}

.studio-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

/* Yardımcı Metin Renkleri */
.text-main { color: var(--text-main) !important; }
.text-indigo { color: var(--accent) !important; }
.text-emerald { color: #10b981 !important; }
.text-rose { color: #f43f5e !important; }
.text-amber { color: #f59e0b !important; }
.text-cyan { color: #0ea5e9 !important; }

/* Dialog Box Doğrudan Alt Sınıfları (.studio-dialog-header / body / footer) */
dialog.studio-dialog:not(:has(.dialog-box)) {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.studio-dialog-header {
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.studio-dialog-body {
  padding: 16px;
  background: var(--bg-surface);
}
.studio-dialog-footer {
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

/* ==========================================================================
   10. MOBİL SABİT ALT MENÜ (NATIVE BOTTOM NAV) & MOBİL ERGONOMİ
   ========================================================================== */
.os-mobile-bottom-nav {
  height: calc(58px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  flex-shrink: 0;
  z-index: 45;
  position: relative;
}

.mobile-nav-item {
  border: none;
  background: transparent;
  color: var(--text-muted);
  height: 56px;
  padding: 4px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color 0.16s ease, transform 0.14s ease;
  text-decoration: none;
}

.mobile-nav-item i {
  font-size: 15.5px;
  line-height: 1;
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-item:active {
  transform: scale(0.94);
}

.mobile-nav-item.active {
  color: var(--accent);
  font-weight: 700;
}

.mobile-nav-item.active i {
  transform: translateY(-1px);
}

.mobile-nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24%;
  right: 24%;
  height: 2.5px;
  border-radius: 0 0 4px 4px;
  background: var(--accent);
}

/* Merkez Hızlı İşlem (+) FAB Butonu */
.mobile-nav-center-action {
  color: var(--text-main);
}

.mobile-nav-fab {
  width: 38px;
  height: 38px;
  margin-top: -15px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px var(--accent-glow), 0 0 0 3px var(--bg-surface);
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.16s ease;
}

.mobile-nav-fab i {
  font-size: 15px !important;
  color: #ffffff !important;
}

.mobile-nav-center-action:hover .mobile-nav-fab,
.mobile-nav-center-action:active .mobile-nav-fab {
  transform: scale(1.06) translateY(-1px);
}

/* Mobil Alt Menü Bildirim Rozeti */
.mobile-nav-badge {
  position: absolute;
  top: -6px;
  right: -11px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  padding: 2px 4.5px;
  border-radius: 99px;
  color: #ffffff;
  box-shadow: 0 0 0 2px var(--bg-surface);
}

/* Mobil Hızlı İşlem Kartları (Bottom Sheet) */
.mobile-quick-card {
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-main);
  border-radius: 11px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mobile-quick-card:hover,
.mobile-quick-card:active {
  background: var(--bg-surface-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.mobile-quick-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  dialog.mobile-sheet-dialog {
    margin: auto auto 12px auto;
    width: calc(100% - 20px);
    max-width: 480px;
  }
  #studioToastBox {
    bottom: 62px !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .studio-input,
  .studio-select {
    padding: 7px 10px;
    font-size: 13px;
  }
  .btn-studio,
  .btn-studio-primary,
  .btn-studio-danger {
    padding: 6px 11px;
  }
  .studio-table {
    min-width: 560px;
  }
  .studio-table.table-compact-mobile {
    min-width: 100%;
  }
}

/* === BOOTSTRAP 5.3 + STUDIO EXTENDED MODULE UTILITIES === */
/* Arama İkonu Dikey Hizalama Garantisi */
.position-relative > i.fa-magnifying-glass.position-absolute,
.position-relative > i.fa-search.position-absolute,
.relative > i.fa-magnifying-glass.absolute,
.relative > i.fa-search.absolute {
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none;
  z-index: 2;
}

/* Modal Arka Plan (Backdrop) Garantisi */
.position-fixed.inset-0,
.fixed.inset-0 {
  background-color: rgba(15, 23, 42, 0.62);
  z-index: 1050;
}
.p-3 { padding: 0.75rem; }
.mb-3 { margin-bottom: 0.75rem; }
.gap-2 { gap: 0.5rem; }
.m-0 { margin: 0px; }
.flex-wrap { flex-wrap: wrap; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.gap-1 { gap: 0.25rem; }
.text-center { text-align: center; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.font-mono { font-family: var(--font-mono); }
.py-0 { padding-top: 0px; padding-bottom: 0px; }
.mb-1 { margin-bottom: 0.25rem; }
.mt-3 { margin-top: 0.75rem; }
.pt-3 { padding-top: 0.75rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.transition-colors { transition: color, background-color, border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.duration-200 { transition-duration: 200ms; }
.p-4 { padding: 1rem; }
.bg-rose-500\/10 { background-color: rgba(244, 63, 94, 0.1); }
.border { border-width: 1px; border-style: solid; border-color: var(--border-color); }
.border-rose-500\/30 { border-color: rgba(244, 63, 94, 0.3); }
.rounded-xl { border-radius: 0.875rem; }
.text-rose-600 { color: #e11d48; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.mr-3 { margin-right: 0.75rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1); }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3); }
.text-emerald-600 { color: #059669; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.p-2 { padding: 0.5rem; }
.bg-white { background-color: var(--bg-surface); }
.border-slate-200 { border-color: var(--border-color); }
.text-slate-500 { color: var(--text-secondary); }
.hover\:text-slate-800:hover { color: var(--text-main); }
.hover\:border-slate-350:hover { border-color: var(--border-color); }
.transition { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.text-3xl { font-size: 1.75rem; line-height: 2.15rem; }
.font-extrabold { font-weight: 800; }
.tracking-tight { letter-spacing: -0.025em; }
.text-slate-900 { color: var(--text-main); }
.pl-12 { padding-left: 3rem; }
.p-6 { padding: 1.5rem; }
.rounded-2xl { border-radius: 1rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.shadow-sm { box-shadow: var(--shadow-card); }
.text-amber-400 { color: #fbbf24; }
.text-slate-700 { color: var(--text-secondary); }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.bg-indigo-600 { background-color: var(--accent); }
.hover\:bg-brand-700:hover { background-color: var(--accent-hover); }
.text-white { color: #ffffff; }
.shadow-lg { box-shadow: var(--shadow-card); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.text-indigo-500 { color: var(--accent); }
.mr-2 { margin-right: 0.5rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.block { display: block; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.tracking-wider { letter-spacing: 0.05em; }
.text-slate-550 { color: var(--text-secondary); }
.mb-2 { margin-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.border-slate-300 { border-color: var(--border-color); }
.focus\:border-indigo-500:focus { border-color: var(--accent); }
.outline-none { outline: none; }
.mt-4 { margin-top: 1rem; }
.gap-4 { gap: 1rem; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.text-indigo-600 { color: var(--accent); }
.bg-slate-100 { background-color: var(--bg-subtle); }
.rounded { border-radius: 0.375rem; }
.ml-2 { margin-left: 0.5rem; }
.hidden { display: none !important; }
.transition-all { transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); }
.duration-300 { transition-duration: 300ms; }
.pt-4 { padding-top: 1rem; }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: var(--border-color); }
.text-slate-800 { color: var(--text-main); }
.text-slate-555 { color: var(--text-secondary); }
.gap-8 { gap: 2rem; }
.bg-indigo-50\/30 { background-color: var(--accent-light); }
.border-indigo-100 { border-color: var(--accent-border); }
.p-2\.5 { padding: 0.625rem; }
.bg-indigo-500\/10 { background-color: var(--accent-light); }
.border-indigo-500\/20 { border-color: var(--accent-border); }
.text-indigo-550 { color: var(--accent); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bg-rose-50\/30 { background-color: rgba(255, 241, 242, 0.3); }
.border-rose-100 { border-color: #ffe4e6; }
.border-rose-500\/20 { border-color: rgba(244, 63, 94, 0.2); }
.text-rose-550 { color: #f43f5e; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.hover\:bg-slate-200:hover { background-color: #e2e8f0; }
.hover\:text-slate-900:hover { color: var(--text-main); }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from, var(--bg-surface)), var(--tw-gradient-to, var(--bg-subtle))); }
.from-brand-500 { --tw-gradient-from: var(--accent); }
.to-indigo-600 { --tw-gradient-to: var(--accent-hover); }
.hover\:from-brand-600:hover { --tw-gradient-from: var(--accent); }
.hover\:to-indigo-700:hover { --tw-gradient-to: var(--accent-hover); }
.text-rose-400 { color: #fb7185; }
.hover\:border-slate-355:hover { border-color: var(--border-color); }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.bg-rose-600 { background-color: #e11d48; }
.hover\:bg-rose-700:hover { background-color: #be123c; }
.shadow { box-shadow: var(--shadow-card); }
.mr-1\.5 { margin-right: 0.375rem; }
.p-5 { padding: 1.25rem; }
.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem; }
.text-\[10px\] { font-size: 10px; }
.text-slate-400 { color: var(--text-secondary); }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.font-black { font-weight: 900; }
.text-slate-505 { color: var(--text-secondary); }
.border-slate-100 { border-color: var(--border-color); }
.text-violet-500 { color: var(--accent); }
.bg-violet-500\/10 { background-color: var(--accent-light); }
.text-emerald-500 { color: #10b981; }
.text-amber-500 { color: #f59e0b; }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: var(--border-color); }
.pb-3 { padding-bottom: 0.75rem; }
.text-slate-450 { color: var(--text-secondary); }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.border-dashed { border-style: dashed; }
.bg-slate-50 { background-color: var(--bg-subtle); }
.border-slate-200\/60 { border-color: var(--border-color); }
.space-x-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.875rem; }
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.text-\[9px\] { font-size: 9px; }
.mt-1 { margin-top: 0.25rem; }
.mr-1 { margin-right: 0.25rem; }
.space-y-3\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.875rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.tracking-wide { letter-spacing: 0.025em; }
.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.border-indigo-500 { border-color: var(--accent); }
.bg-indigo-500\/5 { background-color: var(--accent-light); }
.text-indigo-650 { color: var(--accent); }
.border-transparent { border-color: transparent; }
.hover\:text-slate-850:hover { color: var(--text-main); }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.border-collapse { border-collapse: collapse; }
.divide-y > :not([hidden]) ~ :not([hidden]) { border-top: 1px solid var(--border-color); }
.hover\:bg-slate-50\/50:hover { background-color: var(--bg-subtle); }
.text-slate-850 { color: var(--text-main); }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.pl-1 { padding-left: 0.25rem; }
.border-slate-250 { border-color: var(--border-color); }
.bg-slate-50\/50 { background-color: var(--bg-subtle); }
.hover\:bg-slate-50\/40:hover { background-color: var(--bg-subtle); }
.text-slate-600 { color: var(--text-secondary); }
.max-w-xs { max-width: 20rem; }
.mb-4 { margin-bottom: 1rem; }
.bg-brand-600 { background-color: var(--accent); }
.duration-150 { transition-duration: 150ms; }
.max-w-md { max-width: 28rem; }
.flex-grow { flex-grow: 1; }
.inset-y-0 { top: 0px; bottom: 0px; }
.left-0 { left: 0px; }
.pl-3\.5 { padding-left: 0.875rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-4 { padding-right: 1rem; }
.border-slate-350 { border-color: var(--border-color); }
.bg-slate-200 { background-color: #e2e8f0; }
.hover\:bg-slate-300:hover { background-color: #cbd5e1; }
.hover\:text-slate-905:hover { color: var(--text-main); }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.bg-rose-50 { background-color: #fff1f2; }
.hover\:text-rose-700:hover { color: #be123c; }
.overflow-hidden { overflow: hidden; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-slate-650 { color: var(--text-secondary); }
.bg-slate-100\/40 { background-color: var(--bg-subtle); }
.hover\:bg-slate-100\/30:hover { background-color: var(--bg-subtle); }
.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.rounded-lg { border-radius: 0.625rem; }
.gap-1\.5 { gap: 0.375rem; }
.text-\[11px\] { font-size: 11px; }
.mt-1\.5 { margin-top: 0.375rem; }
.bg-slate-100\/60 { background-color: var(--bg-subtle); }
.border-slate-200\/50 { border-color: var(--border-color); }
.text-amber-700 { color: #b45309; }
.border-amber-500\/20 { border-color: rgba(245, 158, 11, 0.2); }
.text-\[8px\] { font-size: 8px; }
.text-emerald-700 { color: #047857; }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.2); }
.text-rose-700 { color: #be123c; }
.text-blue-700 { color: #1d4ed8; }
.bg-blue-500\/10 { background-color: rgba(59, 130, 246, 0.1); }
.border-blue-500\/20 { border-color: rgba(59, 130, 246, 0.2); }
.text-rose-500 { color: #f43f5e; }
.space-x-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.375rem; }
.text-sky-600 { color: #0284c7; }
.hover\:text-sky-500:hover { color: #0ea5e9; }
.bg-sky-50 { background-color: #f0f9ff; }
.border-sky-100 { border-color: #e0f2fe; }
.hover\:border-sky-200:hover { border-color: #bae6fd; }
.hover\:text-indigo-500:hover { color: var(--accent); }
.bg-indigo-50 { background-color: var(--accent-light); }
.hover\:border-indigo-200:hover { border-color: var(--accent-border); }
.hover\:border-rose-200:hover { border-color: #fecdd3; }
.text-blue-600 { color: #2563eb; }
.bg-sky-500\/10 { background-color: rgba(14, 165, 233, 0.1); }
.border-sky-500\/20 { border-color: rgba(14, 165, 233, 0.2); }
.text-amber-600 { color: #d97706; }
.text-indigo-700 { color: var(--accent); }
.bg-slate-500\/10 { background-color: rgba(100, 116, 139, 0.1); }
.border-slate-500\/20 { border-color: var(--border-color); }
.font-semibold { font-weight: 600; }
.bg-rose-500\/15 { background-color: rgba(244, 63, 94, 0.15); }
.border-rose-500\/40 { border-color: rgba(244, 63, 94, 0.4); }
.bg-slate-100\/70 { background-color: var(--bg-subtle); }
.hover\:border-rose-500\/40:hover { border-color: rgba(244, 63, 94, 0.4); }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.mb-0 { margin-bottom: 0px; }
.p-1\.5 { padding: 0.375rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.flex-shrink-0 { flex-shrink: 0; }
.pt-1 { padding-top: 0.25rem; }
.max-w-2xl { max-width: 42rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.gap-3 { gap: 0.75rem; }
.left-4 { left: 1rem; }
.top-3 { top: 0.75rem; }
.pl-11 { padding-left: 2.75rem; }
.select-all { user-select: all; }
.whitespace-nowrap { white-space: nowrap; }
.rounded-full { border-radius: 9999px; }
.bg-rose-100 { background-color: #ffe4e6; }
.text-rose-800 { color: #9f1239; }
.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.bg-rose-500 { background-color: #f43f5e; }
.bg-emerald-100 { background-color: #d1fae5; }
.text-emerald-800 { color: #065f46; }
.inline { display: inline; }
.bg-emerald-600 { background-color: #059669; }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.text-rose-650 { color: #e11d48; }
.hover\:bg-rose-50:hover { background-color: #fff1f2; }
.max-w-3xl { max-width: 48rem; }
.resize-none { resize: none; }
.ml-2\.5 { margin-left: 0.625rem; }
.mt-2 { margin-top: 0.5rem; }
.top-3\.5 { top: 0.875rem; }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3); }
.space-y-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.625rem; }
.max-w-\[250px\] { max-width: 250px; }
.bg-amber-500 { background-color: #f59e0b; }
.w-24 { width: 6rem; }
.hover\:bg-indigo-50:hover { background-color: var(--accent-light); }
.text-emerald-650 { color: #059669; }
.hover\:bg-emerald-50:hover { background-color: #ecfdf5; }
.text-slate-300 { color: #cbd5e1; }
.cursor-not-allowed { cursor: not-allowed; }
.text-brand-655 { color: var(--accent); }
.hover\:bg-brand-50:hover { background-color: var(--accent-light); }
.inset-0 { inset: 0px; }
.z-50 { z-index: 50; }
.bg-slate-950\/60 { background-color: rgba(15, 23, 42, 0.62); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.max-w-xl { max-width: 36rem; }
.rounded-3xl { border-radius: 1.25rem; }
.shadow-2xl { box-shadow: var(--shadow-float); }
.scale-95 { transform: scale(0.95); }
.opacity-0 { opacity: 0; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.from-indigo-500\/10 { --tw-gradient-from: var(--accent-light); }
.to-violet-500\/10 { --tw-gradient-to: var(--accent-light); }
.space-x-2\.5 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.625rem; }
.hover\:bg-slate-100:hover { background-color: var(--bg-subtle); }
.max-h-\[70vh\] { max-height: 70vh; }
.overflow-y-auto { overflow-y: auto; }
.leading-relaxed { line-height: 1.625; }
.border-indigo-500\/10 { border-color: var(--accent-border); }
.hover\:bg-rose-600:hover { background-color: #e11d48; }
.pb-5 { padding-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.border-rose-200 { border-color: #fecdd3; }
.pt-2 { padding-top: 0.5rem; }
.max-w-sm { max-width: 24rem; }
.bg-amber-600 { background-color: #d97706; }
.hover\:bg-amber-700:hover { background-color: #b45309; }
.shadow-md { box-shadow: var(--shadow-card); }
.w-16 { width: 4rem; }
.bg-brand-500\/10 { background-color: var(--accent-light); }
.text-brand-600 { color: var(--accent); }
.border-brand-500\/20 { border-color: var(--accent-border); }
.text-brand-650 { color: var(--accent); }
.space-y-0\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.125rem; }
.text-indigo-400 { color: var(--accent); }
.hover\:bg-rose-100:hover { background-color: #ffe4e6; }
.w-20 { width: 5rem; }
.hover\:bg-indigo-100:hover { background-color: var(--accent-light); }
.h-2 { height: 0.5rem; }
.from-emerald-500 { --tw-gradient-from: #10b981; }
.to-teal-500 { --tw-gradient-to: #14b8a6; }
.border-emerald-200 { border-color: #a7f3d0; }
.bg-amber-100 { background-color: #fef3c7; }
.border-amber-200 { border-color: #fde68a; }
.focus\:border-brand-500:focus { border-color: var(--accent); }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.bg-emerald-500 { background-color: #10b981; }
.rounded-md { border-radius: 0.5rem; }
.opacity-80 { opacity: 0.8; }
.bg-slate-400 { background-color: #94a3b8; }
.inline-block { display: inline-block; }
.min-w-full { min-width: 100%; }
.w-\[80px\] { width: 80px; }
.min-w-\[80px\] { min-width: 80px; }
.sticky { position: sticky; }
.z-20 { z-index: 20; }
.min-w-\[150px\] { min-width: 150px; }
.left-\[80px\] { left: 80px; }
.border-r { border-right-width: 1px; border-right-style: solid; border-right-color: var(--border-color); }
.w-\[60px\] { width: 60px; }
.min-w-\[90px\] { min-width: 90px; }
.hover\:bg-slate-100\/20:hover { background-color: var(--bg-subtle); }
.z-10 { z-index: 10; }
.max-w-\[150px\] { max-width: 150px; }
.p-1 { padding: 0.25rem; }
.px-0\.5 { padding-left: 0.125rem; padding-right: 0.125rem; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from, var(--bg-surface)), var(--tw-gradient-to, var(--bg-subtle))); }
.from-indigo-500\/5 { --tw-gradient-from: var(--accent-light); }
.to-indigo-500\/15 { --tw-gradient-to: var(--accent-light); }
.right-3 { right: 0.75rem; }
.bottom-3 { bottom: 0.75rem; }
.text-indigo-500\/10 { color: var(--accent-border); }
.from-emerald-500\/5 { --tw-gradient-from: rgba(16, 185, 129, 0.05); }
.to-emerald-500\/15 { --tw-gradient-to: rgba(16, 185, 129, 0.15); }
.text-emerald-400 { color: #34d399; }
.text-emerald-500\/10 { color: rgba(16, 185, 129, 0.1); }
.from-rose-500\/5 { --tw-gradient-from: rgba(244, 63, 94, 0.05); }
.to-rose-500\/15 { --tw-gradient-to: rgba(244, 63, 94, 0.15); }
.text-rose-500\/10 { color: rgba(244, 63, 94, 0.1); }
.from-blue-500\/5 { --tw-gradient-from: rgba(59, 130, 246, 0.05); }
.to-blue-500\/15 { --tw-gradient-to: rgba(59, 130, 246, 0.15); }
.text-blue-400 { color: #60a5fa; }
.text-blue-500\/10 { color: rgba(59, 130, 246, 0.1); }
.col-span-2 { grid-column: span 2 / span 2; }
.bg-white\/40 { background-color: rgba(255, 255, 255, 0.4); }
.h-16 { height: 4rem; }
.h-56 { height: 14rem; }
.bg-slate-900\/60 { background-color: rgba(15, 23, 42, 0.62); }
.text-brand-500 { color: var(--accent); }
.hover\:text-slate-600:hover { color: var(--text-secondary); }
.pl-4 { padding-left: 1rem; }
.pr-12 { padding-right: 3rem; }
.right-4 { right: 1rem; }
.top-1\/2 { top: 50%; }
.-translate-y-1\/2 { transform: translateY(-50%); }
.hover\:bg-slate-50:hover { background-color: var(--bg-subtle); }
.text-slate-405 { color: var(--text-secondary); }
.bg-amber-500\/15 { background-color: rgba(245, 158, 11, 0.15); }
.border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4); }
.font-bold { font-weight: 700; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.p-0 { padding: 0px; }
.opacity-50 { opacity: 0.5; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.top-0 { top: 0px; }
.pb-4 { padding-bottom: 1rem; }
.mt-3\.5 { margin-top: 0.875rem; }
.text-amber-800 { color: #92400e; }
.ml-1 { margin-left: 0.25rem; }
.mt-6 { margin-top: 1.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.max-h-\[400px\] { max-height: 400px; }
.p-8 { padding: 2rem; }
.hover\:bg-slate-50\/20:hover { background-color: var(--bg-subtle); }
.text-slate-805 { color: #1e293b; }
.col-span-full { grid-column: 1 / -1; }
.mr-0\.5 { margin-right: 0.125rem; }
.text-rose-655 { color: #be123c; }
.hover\:bg-indigo-500\/20:hover { background-color: var(--accent-light); }
.mx-auto { margin-left: auto; margin-right: auto; }
.border-0 { border-width: 0px; }
.bottom-0 { bottom: 0px; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mb-8 { margin-bottom: 2rem; }
.mt-12 { margin-top: 3rem; }
.pt-8 { padding-top: 2rem; }
.mt-8 { margin-top: 2rem; }
.mx-3 { margin-left: 0.75rem; margin-right: 0.75rem; }
.mx-1 { margin-left: 0.25rem; margin-right: 0.25rem; }
.my-1 { margin-top: 0.25rem; margin-bottom: 0.25rem; }
.overflow-x-auto { overflow-x: auto; }
.from-indigo-500 { --tw-gradient-from: var(--accent); }
.to-brand-600 { --tw-gradient-to: var(--accent-hover); }
.border-indigo-400\/20 { border-color: var(--accent-border); }
.text-white\/10 { color: rgba(255, 255, 255, 0.1); }
.text-indigo-100 { color: rgba(255, 255, 255, 0.9); }
.p-3\.5 { padding: 0.875rem; }
.items-stretch { align-items: stretch; }
.pl-9 { padding-left: 2.25rem; }
.left-3\.5 { left: 0.875rem; }
.bg-indigo-100 { background-color: var(--accent-light); }
.border-indigo-200 { border-color: var(--accent-border); }
.hover\:text-rose-550:hover { color: #f43f5e; }
.pt-6 { padding-top: 1.5rem; }
.border-emerald-250\/30 { border-color: rgba(167, 243, 208, 0.3); }
.border-rose-250\/30 { border-color: rgba(254, 205, 211, 0.3); }
.border-indigo-650 { border-color: var(--accent); }
.h-4\.5 { height: 1.125rem; }
.w-4\.5 { width: 1.125rem; }
.hover\:bg-indigo-700:hover { background-color: var(--accent-hover); }
.text-violet-600 { color: var(--accent); }
.bg-sky-500 { background-color: #0ea5e9; }
.border-amber-500\/25 { border-color: rgba(245, 158, 11, 0.25); }
.leading-normal { line-height: 1.5; }
.opacity-75 { opacity: 0.75; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.leading-snug { line-height: 1.375; }
.text-slate-455 { color: var(--text-secondary); }
.pt-3\.5 { padding-top: 0.875rem; }
.uppercase { text-transform: uppercase; }
.flex { display: flex; }
.items-center { align-items: center; }
.hover\:border-amber-500\/40:hover { border-color: rgba(245, 158, 11, 0.4); }
.border-emerald-500\/25 { border-color: rgba(16, 185, 129, 0.25); }
.border-rose-500\/25 { border-color: rgba(244, 63, 94, 0.25); }
.bg-indigo-650 { background-color: var(--accent); }
.w-1\/4 { width: 25%; }
.border-rose-500\/10 { border-color: rgba(244, 63, 94, 0.1); }
.text-sky-500 { color: #0ea5e9; }
.text-orange-500 { color: #f97316; }
.hover\:text-indigo-600:hover { color: var(--accent); }
.border-indigo-600 { border-color: var(--accent); }
.bg-blue-600 { background-color: #2563eb; }
.hover\:text-indigo-750:hover { color: var(--accent); }
.self-start { align-self: flex-start; }
.hover\:bg-rose-500\/20:hover { background-color: rgba(244, 63, 94, 0.2); }
.bg-slate-200\/60 { background-color: rgba(226, 232, 240, 0.6); }
.h-2\.5 { height: 0.625rem; }
.border-indigo-500\/30 { border-color: var(--accent-border); }
.from-rose-500 { --tw-gradient-from: #f43f5e; }
.to-red-600 { --tw-gradient-to: #dc2626; }
.hover\:from-rose-600:hover { --tw-gradient-from: #e11d48; }
.hover\:to-red-700:hover { --tw-gradient-to: #b91c1c; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.hover\:text-slate-700:hover { color: var(--text-secondary); }
.to-violet-650 { --tw-gradient-to: var(--accent-hover); }
.text-indigo-200 { color: rgba(255, 255, 255, 0.9); }
.h-64 { height: 16rem; }
.to-teal-600 { --tw-gradient-to: #0d9488; }
.border-emerald-400\/20 { border-color: rgba(52, 211, 153, 0.2); }
.text-emerald-100 { color: #d1fae5; }
.bg-emerald-700\/50 { background-color: rgba(4, 120, 87, 0.5); }
.transition-opacity { transition: opacity 0.15s ease; }
.shadow-xl { box-shadow: var(--shadow-float); }
.text-zinc-900 { color: var(--text-main); }
.bg-red-100 { background-color: #fee2e2; }
.text-red-700 { color: #b91c1c; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.gap-3\.5 { gap: 0.875rem; }
.hover\:border-indigo-500:hover { border-color: var(--accent); }
.pl-2 { padding-left: 0.5rem; }
.max-w-full { max-width: 100%; }
.max-w-\[80\%\] { max-width: 80%; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.hover\:bg-slate-50\/30:hover { background-color: var(--bg-subtle); }
.text-slate-655 { color: #334155; }
.ml-1\.5 { margin-left: 0.375rem; }
.max-h-\[250px\] { max-height: 250px; }
.pr-1 { padding-right: 0.25rem; }
.hover\:bg-slate-100\/60:hover { background-color: var(--bg-subtle); }
.mr-2\.5 { margin-right: 0.625rem; }
.hover\:text-indigo-755:hover { color: var(--accent); }
.bg-violet-600 { background-color: var(--accent); }
.hover\:bg-violet-700:hover { background-color: var(--accent-hover); }
.ml-6 { margin-left: 1.5rem; }
.bg-indigo-655 { background-color: var(--accent); }
.border-rose-300 { border-color: #fda4af; }
.focus\:border-rose-500:focus { border-color: #f43f5e; }
.hover\:border-slate-300:hover { border-color: var(--border-color); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.w-11 { width: 2.75rem; }
.h-6 { height: 1.5rem; }
.pt-5 { padding-top: 1.25rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.hover\:text-rose-600:hover { color: #e11d48; }
.w-64 { width: 16rem; }
.pointer-events-none { pointer-events: none; }
.border-brand-500\/30 { border-color: var(--accent-border); }
.max-w-none { max-width: none; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem; }
.text-violet-550 { color: var(--accent); }
.bg-transparent { background-color: transparent; }
.bg-indigo-500 { background-color: var(--accent); }
.text-indigo-755 { color: var(--accent); }
.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.bg-zinc-50 { background-color: var(--bg-subtle); }
.w-96 { width: 24rem; }
.h-96 { height: 24rem; }
.max-w-lg { max-width: 32rem; }
.scale-100 { transform: scale(1); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05); }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-zinc-500 { color: var(--text-secondary); }
.bg-zinc-100\/50 { background-color: var(--bg-subtle); }
.border-zinc-200\/50 { border-color: var(--border-color); }
.text-zinc-450 { color: var(--text-secondary); }
.text-zinc-800 { color: var(--text-main); }
.bg-zinc-200 { background-color: #e4e4e7; }
.text-zinc-400 { color: var(--text-secondary); }
.bg-zinc-900 { background-color: var(--bg-surface); }
.hover\:bg-zinc-800:hover { background-color: #27272a; }
.bg-slate-950 { background-color: var(--bg-surface); }
.text-slate-100 { color: #f1f5f9; }
.w-\[400px\] { width: 400px; }
.h-\[400px\] { height: 400px; }
.bg-indigo-600\/10 { background-color: var(--accent-light); }
.bg-violet-600\/10 { background-color: var(--accent-light); }
.bg-slate-900\/40 { background-color: var(--bg-surface); }
.border-slate-900 { border-color: var(--border-color); }
.h-24 { height: 6rem; }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.62); }
.border-slate-800 { border-color: var(--border-color); }
.bg-slate-955 { background-color: #020617; }
.w-\[500px\] { width: 500px; }
.h-\[500px\] { height: 500px; }
.bg-rose-650\/10 { background-color: rgba(225, 29, 72, 0.1); }
.bg-red-650\/10 { background-color: rgba(220, 38, 38, 0.1); }
.mt-2\.5 { margin-top: 0.625rem; }
.to-red-650 { --tw-gradient-to: #dc2626; }
.bg-indigo-650\/10 { background-color: var(--accent-light); }
.bg-violet-650\/10 { background-color: var(--accent-light); }
.text-rose-450 { color: #fb7185; }
.to-violet-600 { --tw-gradient-to: var(--accent-hover); }
.hover\:from-indigo-600:hover { --tw-gradient-from: var(--accent); }
.hover\:to-violet-750:hover { --tw-gradient-to: var(--accent-hover); }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-3 { margin-top: 0.75rem; margin-bottom: 0.75rem; }
.mt-auto { margin-top: auto; }
.from-amber-500\/10 { --tw-gradient-from: rgba(245, 158, 11, 0.1); }
.via-orange-500\/10 { --tw-gradient-via: rgba(249, 115, 22, 0.1); }
.to-indigo-500\/10 { --tw-gradient-to: var(--accent-light); }
.border-amber-500\/10 { border-color: rgba(245, 158, 11, 0.1); }
.bg-brand-500\/5 { background-color: var(--accent-light); }
.border-brand-500\/10 { border-color: var(--accent-border); }
.border-indigo-200\/50 { border-color: var(--accent-border); }
.max-h-\[85vh\] { max-height: 85vh; }
.top-4 { top: 1rem; }
.pr-8 { padding-right: 2rem; }
.leading-tight { line-height: 1.25; }
.bg-rose-500\/5 { background-color: rgba(244, 63, 94, 0.05); }
.bg-emerald-500\/5 { background-color: rgba(16, 185, 129, 0.05); }
.border-emerald-500\/10 { border-color: rgba(16, 185, 129, 0.1); }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.w-\[150px\] { width: 150px; }
.max-h-\[500px\] { max-height: 500px; }
.pb-6 { padding-bottom: 1.5rem; }
.border-2 { border-width: 2px; border-style: solid; }
.cursor-help { cursor: help; }
.text-amber-805 { color: #92400e; }
.border-slate-150 { border-color: var(--border-color); }
.text-amber-650 { color: #d97706; }
.bg-orange-500\/10 { background-color: rgba(249, 115, 22, 0.1); }
.text-slate-750 { color: #334155; }
.text-indigo-455 { color: var(--accent); }
.text-rose-455 { color: #f43f5e; }
.text-indigo-800 { color: var(--accent); }
.hover\:bg-indigo-50\/20:hover { background-color: var(--accent-light); }
.hover\:border-indigo-500\/40:hover { border-color: var(--accent-border); }
.bg-gray-100 { background-color: var(--bg-subtle); }
.border-gray-300 { border-color: var(--border-color); }
.ml-3 { margin-left: 0.75rem; }
.border-indigo-500\/35 { border-color: var(--accent-border); }
.h-fit { height: fit-content; }
.space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.25rem; }
.hover\:bg-indigo-50\/15:hover { background-color: var(--accent-light); }
.hover\:border-indigo-550\/30:hover { border-color: var(--accent-border); }
.text-indigo-505 { color: var(--accent); }
.pb-3\.5 { padding-bottom: 0.875rem; }
.mb-3\.5 { margin-bottom: 0.875rem; }
.text-emerald-805 { color: #065f46; }
.w-2\.5 { width: 0.625rem; }
.pl-5 { padding-left: 1.25rem; }
.pb-1 { padding-bottom: 0.25rem; }
@media (min-width: 576px) {
  .sm\:flex-row { flex-direction: row !important; }
  .sm\:items-center { align-items: center !important; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sm\:text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
  .sm\:w-auto { width: auto !important; }
  .sm\:justify-between { justify-content: space-between !important; }
  .sm\:space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0px !important; }
  .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem !important; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .sm\:items-start { align-items: flex-start !important; }
  .sm\:flex { display: flex !important; }
  .sm\:gap-3 { gap: 0.75rem !important; }
  .sm\:max-w-md { max-width: 28rem !important; }
  .sm\:self-center { align-self: center !important; }
  .sm\:justify-start { justify-content: flex-start !important; }
  .sm\:gap-4 { gap: 1rem !important; }
}
@media (min-width: 768px) {
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:flex-row { flex-direction: row !important; }
  .md\:items-center { align-items: center !important; }
  .md\:justify-between { justify-content: space-between !important; }
  .md\:space-y-0 > :not([hidden]) ~ :not([hidden]) { margin-top: 0px !important; }
  .md\:w-48 { width: 12rem !important; }
  .md\:w-56 { width: 14rem !important; }
  .md\:table-cell { display: table-cell !important; }
  .md\:hidden { display: none !important !important; }
  .md\:text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
  .md\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .md\:text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
  .md\:mt-0 { margin-top: 0px !important; }
  .md\:p-10 { padding: 2.5rem !important; }
  .md\:text-3xl { font-size: 1.75rem !important; line-height: 2.15rem !important; }
  .md\:text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
  .md\:self-center { align-self: center !important; }
  .md\:p-8 { padding: 2rem !important; }
  .md\:text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
}
@media (min-width: 992px) {
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:col-span-2 { grid-column: span 2 / span 2 !important; }
  .lg\:flex { display: flex !important; }
  .lg\:col-span-1 { grid-column: span 1 / span 1 !important; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lg\:flex-row { flex-direction: row !important; }
  .lg\:w-auto { width: auto !important; }
}
