/* Shogird tizimi — eskiz tokenlari. 3 uslub: tun / kunduz / ustaxona.
   Komponentlar FAQAT shu semantik nomlarni ishlatadi (app.css). */

:root {
  /* oraliq shkalasi */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  /* radius */
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --r-xl: 44px;
  /* shrift o'lchami */
  --fs-xs: 12px;
  --fs-s: 13px;
  --fs-m: 14px;
  --fs-l: 16px;
  --fs-xl: 20px;
  --fs-2xl: 28px;
  --fs-3xl: 40px;
  /* boshqaruv balandligi */
  --h-ctl: 36px;
  --h-ctl-l: 44px;
}

/* 1 · TUN — grafit + oltin. Jiddiy, premium, kechqurun ko'zni charchatmaydi. */
:root,
[data-theme="tun"] {
  --canvas: #08090a;
  --bg: #0c0d0f;
  --surface: #141518;
  --surface-2: #1b1d21;
  --surface-3: #24272c;
  --border: #25282d;
  --border-strong: #363a40;
  --text: #ecedee;
  --text-2: #a6abb2;
  --text-3: #6f757b;
  --primary: #d7a035;
  --primary-hover: #ebc076;
  --on-primary: #1d1400;
  --primary-soft: #2a2213;
  --primary-text: #ebc076;
  --success: #65c27c;
  --success-soft: #142a1b;
  --warning: #eb9251;
  --warning-soft: #2e1d10;
  --danger: #e5736d;
  --danger-soft: #2f1615;
  --info: #70d7f6;
  --info-soft: #0f2630;
  --mark-accent: #d7a035;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 600;
  --display-track: -0.02em;
  --brand-size: 17px;
  --h1: 28px;
  --h3: 19px;
  --stat: 28px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.35);
  --scrim: rgba(0, 0, 0, 0.55);
  --device: #2a2c30;
}

/* 2 · KUNDUZ — oq qog'oz + chuqur yashil. Yorug', toza, o'sish rangi. */
[data-theme="kunduz"] {
  --canvas: #e6e5e1;
  --bg: #f7f7f6;
  --surface: #ffffff;
  --surface-2: #f1f1ee;
  --surface-3: #e7e6e2;
  --border: #e3e2de;
  --border-strong: #c9c7c1;
  --text: #1e1d1a;
  --text-2: #605d57;
  --text-3: #8a877f;
  --primary: #0d7134;
  --primary-hover: #085726;
  --on-primary: #ffffff;
  --primary-soft: #e3f5e7;
  --primary-text: #0d7134;
  --success: #0e8c41;
  --success-soft: #e3f5e7;
  --warning: #9c6904;
  --warning-soft: #fcf0dc;
  --danger: #bc4945;
  --danger-soft: #ffe9e7;
  --info: #007ac1;
  --info-soft: #e4f2ff;
  --mark-accent: #0e8c41;
  --font-display: "Geist", "Inter", system-ui, sans-serif;
  --font-body: "Geist", "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --display-weight: 600;
  --display-track: -0.025em;
  --brand-size: 17px;
  --h1: 28px;
  --h3: 19px;
  --stat: 28px;
  --shadow-1: 0 1px 2px rgba(30, 29, 26, 0.05);
  --shadow-2: 0 1px 2px rgba(30, 29, 26, 0.05), 0 8px 24px rgba(30, 29, 26, 0.06);
  --scrim: rgba(30, 29, 26, 0.4);
  --device: #1e1d1a;
}

/* 3 · USTAXONA — iliq to'q jigarrang + mis. Usta–shogird an'anasi, zamonaviy. */
[data-theme="ustaxona"] {
  --canvas: #0d0a08;
  --bg: #14100d;
  --surface: #1c1713;
  --surface-2: #241e18;
  --surface-3: #2e261f;
  --border: #30281f;
  --border-strong: #463a2e;
  --text: #f1e9df;
  --text-2: #b8aa9b;
  --text-3: #85776a;
  --primary: #d96a42;
  --primary-hover: #f28b67;
  --on-primary: #1a0b04;
  --primary-soft: #33190f;
  --primary-text: #f2a283;
  --success: #7fc890;
  --success-soft: #17261a;
  --warning: #e0b25a;
  --warning-soft: #2e2412;
  --danger: #ec6a62;
  --danger-soft: #331512;
  --info: #9cc3de;
  --info-soft: #17212a;
  --mark-accent: #d96a42;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --display-weight: 400;
  --display-track: 0;
  --brand-size: 22px;
  --h1: 36px;
  --h3: 24px;
  --stat: 36px;
  --shadow-1: 0 1px 0 rgba(255, 240, 220, 0.03) inset;
  --shadow-2: 0 1px 0 rgba(255, 240, 220, 0.04) inset, 0 8px 24px rgba(0, 0, 0, 0.4);
  --scrim: rgba(0, 0, 0, 0.6);
  --device: #2c241d;
}
