/* ============ VARS ============ */

:root {
  --sidebar-w: 276px;
  --sidebar-w-collapsed: 76px;
  --topbar-h: 60px;
  --adl-font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --bg: #f4f6f9;
  --text: #1f2937;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #eef2f7;
  --border: #e5e7eb;
  --brand: #0b7373;
  --action: #0b7373;
  --brand-rgb: 11,115,115;
  --brand-2: #38bdf8;
  --brand-2-rgb: 56,189,248;
  --field-bg: #ffffff;
  --field-bg-soft: #f8fafc;
  --overlay-surface: rgba(255,255,255,.92);
  --shadow-elevated: 0 18px 42px rgba(15,23,42,.12);
  --success: #16875f;
  --success-rgb: 22,135,95;
  --warning: #b7791f;
  --warning-rgb: 183,121,31;
  --danger: #c43d4b;
  --danger-rgb: 196,61,75;
  --info: #2878b5;
  --info-rgb: 40,120,181;
  --chart-grid: #dfe5eb;
  --chart-label: #64748b;
  --chart-neutral: #8b97a7;
  --sb-bg: #313a46;
  --sb-text: #b8c2cf;
  --sb-strong: #ffffff;
  --sb-hover: #3a4654;
  --sb-active: #455263;
  --sb-outline: rgba(0,0,0,.12);
  --sb-hover-weak: rgba(255,255,255,.06);
  --sb-press: rgba(255,255,255,.10);
  --placeholder: #8a94a1;
  --bs-primary: var(--brand);
  --bs-primary-rgb: var(--brand-rgb);
  --bs-link-color: var(--brand);
  --bs-link-hover-color: var(--brand-2);
}

html[data-theme="dark"] {
  --brand: #57d5cf;
  --brand-rgb: 87,213,207;
  --bg: #1f2328;
  --text: #e7edf4;
  --muted: #aab4bf;
  --surface: #262b31;
  --surface-2: #1b222b;
  --surface-3: #313943;
  --border: #2f353d;
  --field-bg: #0f1720;
  --field-bg-soft: #151c24;
  --overlay-surface: rgba(15,23,42,.88);
  --shadow-elevated: 0 22px 48px rgba(0,0,0,.34);
  --success: #4ecb96;
  --success-rgb: 78,203,150;
  --warning: #efb84b;
  --warning-rgb: 239,184,75;
  --danger: #f17a86;
  --danger-rgb: 241,122,134;
  --info: #6db7e8;
  --info-rgb: 109,183,232;
  --chart-grid: #37404a;
  --chart-label: #aab4bf;
  --chart-neutral: #778391;
  --sb-bg: #2b3138;
  --sb-text: #aab8c5;
  --sb-strong: #ffffff;
  --sb-hover: #343c45;
  --sb-active: #3d4651;
  --sb-outline: rgba(255,255,255,.08);
  --sb-hover-weak: rgba(255,255,255,.06);
  --sb-press: rgba(255,255,255,.12);
  --placeholder: #aab4bf;
}

html[data-ui-theme="starbucks"] {
  --bg: #f1f7f4;
  --surface: #ffffff;
  --surface-2: #f7fbf9;
  --surface-3: #e1eee8;
  --border: #d3e2db;
  --brand: #006241;
  --action: #006241;
  --brand-rgb: 0,98,65;
  --brand-2: #1f8f63;
  --brand-2-rgb: 31,143,99;
  --text: #20322b;
  --muted: #5f746c;
  --field-bg: #ffffff;
  --field-bg-soft: #f4faf7;
  --overlay-surface: rgba(255,255,255,.94);
  --sb-bg: #1e3932;
  --sb-text: #d3e2db;
  --sb-hover: #255046;
  --sb-active: #2d5c50;
  --sb-outline: rgba(8,35,26,.18);
  --placeholder: #7a8f87;
}

html[data-ui-theme="taksi"] {
  --bg: #fff8e7;
  --surface: #ffffff;
  --surface-2: #fffdf6;
  --surface-3: #f7edd1;
  --border: #e9d8a6;
  --brand: #8c6200;
  --action: #8c6200;
  --brand-rgb: 140,98,0;
  --brand-2: #f4c430;
  --brand-2-rgb: 244,196,48;
  --text: #2a2312;
  --muted: #6c5a2b;
  --field-bg: #fffefb;
  --field-bg-soft: #fff9eb;
  --overlay-surface: rgba(255,253,245,.94);
  --sb-bg: #1d1b17;
  --sb-text: #e6d7a4;
  --sb-hover: #2a261f;
  --sb-active: #383126;
  --sb-outline: rgba(17,17,17,.22);
  --placeholder: #88754b;
}

html[data-ui-theme="pembe"] {
  --bg: #fff4fa;
  --surface: #ffffff;
  --surface-2: #fff8fc;
  --surface-3: #f7e4ef;
  --border: #efcadb;
  --brand: #b6216b;
  --action: #b6216b;
  --brand-rgb: 182,33,107;
  --brand-2: #ff7ac1;
  --brand-2-rgb: 255,122,193;
  --text: #341a2a;
  --muted: #7b6070;
  --field-bg: #ffffff;
  --field-bg-soft: #fff8fc;
  --overlay-surface: rgba(255,249,252,.94);
  --sb-bg: #211526;
  --sb-text: #e8d5e1;
  --sb-hover: #2e1d35;
  --sb-active: #3b2544;
  --sb-outline: rgba(33,21,38,.22);
  --placeholder: #8c7280;
}

html[data-ui-theme="sivas"] {
  --bg: #fbf3ec;
  --surface: #fffdfa;
  --surface-2: #fff8f3;
  --surface-3: #f1e1d1;
  --border: #ddc3aa;
  --brand: #9d4418;
  --action: #9d4418;
  --brand-rgb: 157,68,24;
  --brand-2: #8f2d2d;
  --brand-2-rgb: 143,45,45;
  --text: #38241d;
  --muted: #7d665c;
  --field-bg: #fffdfa;
  --field-bg-soft: #fcf4ed;
  --overlay-surface: rgba(255,249,245,.94);
  --sb-bg: #2f2a24;
  --sb-text: #dfd0bf;
  --sb-hover: #403830;
  --sb-active: #51473c;
  --sb-outline: rgba(47,42,36,.22);
  --placeholder: #90776b;
}

html[data-ui-theme="prime"] {
  --bg: #f4f6ff;
  --surface: #ffffff;
  --surface-2: #f6f8ff;
  --surface-3: #e4e8f7;
  --border: #d8ddf0;
  --brand: #6332d9;
  --action: #6332d9;
  --brand-rgb: 99,50,217;
  --brand-2: #22d3ee;
  --brand-2-rgb: 34,211,238;
  --text: #16213d;
  --muted: #61708f;
  --field-bg: #ffffff;
  --field-bg-soft: #f6f8ff;
  --overlay-surface: rgba(248,249,255,.94);
  --sb-bg: #0b1b3a;
  --sb-text: #d5dcf5;
  --sb-hover: #15274b;
  --sb-active: #203663;
  --sb-outline: rgba(11,27,58,.22);
  --placeholder: #8090b2;
}

html[data-theme="dark"][data-ui-theme="starbucks"] {
  --brand: #6cd7a6;
  --brand-rgb: 108,215,166;
  --bg: #161c19;
  --surface: #202925;
  --surface-2: #18201c;
  --surface-3: #28332d;
  --border: #304038;
  --field-bg: #111815;
  --field-bg-soft: #16201b;
  --overlay-surface: rgba(11,18,15,.88);
  --sb-bg: #10231d;
  --sb-text: #c3d4cd;
  --sb-hover: #173129;
  --sb-active: #1d3d33;
  --sb-outline: rgba(255,255,255,.08);
  --text: #e7f0eb;
  --muted: #9fb2aa;
  --placeholder: #8ea39a;
}

html[data-theme="dark"][data-ui-theme="taksi"] {
  --brand: #f2ce62;
  --brand-rgb: 242,206,98;
  --bg: #1b1811;
  --surface: #242016;
  --surface-2: #1d190f;
  --surface-3: #332b18;
  --border: #4a3d1d;
  --field-bg: #141108;
  --field-bg-soft: #1b170d;
  --overlay-surface: rgba(21,17,8,.9);
  --sb-bg: #111111;
  --sb-text: #f0dd9d;
  --sb-hover: #1f1b14;
  --sb-active: #2d2619;
  --sb-outline: rgba(255,255,255,.08);
  --text: #f6efdb;
  --muted: #d5c08a;
  --placeholder: #c4af76;
}

html[data-theme="dark"][data-ui-theme="pembe"] {
  --brand: #ff91c0;
  --brand-rgb: 255,145,192;
  --bg: #171018;
  --surface: #221823;
  --surface-2: #1a121b;
  --surface-3: #312131;
  --border: #4a3150;
  --field-bg: #130d14;
  --field-bg-soft: #1a111c;
  --overlay-surface: rgba(19,13,20,.9);
  --sb-bg: #140d18;
  --sb-text: #ead7e4;
  --sb-hover: #231228;
  --sb-active: #311a36;
  --sb-outline: rgba(255,255,255,.08);
  --text: #f7eef4;
  --muted: #c4a6b5;
  --placeholder: #b892a4;
}

html[data-theme="dark"][data-ui-theme="sivas"] {
  --brand: #f4ad7b;
  --brand-rgb: 244,173,123;
  --bg: #1c1613;
  --surface: #271e1a;
  --surface-2: #1d1612;
  --surface-3: #332723;
  --border: #4a3731;
  --field-bg: #140f0d;
  --field-bg-soft: #1b1412;
  --overlay-surface: rgba(20,15,13,.9);
  --sb-bg: #1c1714;
  --sb-text: #e6d4c7;
  --sb-hover: #2c231e;
  --sb-active: #3a2c25;
  --sb-outline: rgba(255,255,255,.08);
  --text: #f6ece6;
  --muted: #c2a99a;
  --placeholder: #b39283;
}

html[data-theme="dark"][data-ui-theme="prime"] {
  --brand: #bda0ff;
  --brand-rgb: 189,160,255;
  --bg: #0d1322;
  --surface: #141b2e;
  --surface-2: #0e1526;
  --surface-3: #202b46;
  --border: #293554;
  --field-bg: #0a0f1c;
  --field-bg-soft: #0f1524;
  --overlay-surface: rgba(10,15,28,.9);
  --sb-bg: #08122a;
  --sb-text: #d5def8;
  --sb-hover: #111f3f;
  --sb-active: #1a2d57;
  --sb-outline: rgba(255,255,255,.08);
  --text: #edf2ff;
  --muted: #a8b5d8;
  --placeholder: #93a3cb;
}

* {
  box-sizing: border-box;
}
