/* AgroE'tibor v2.1 — dizayn tizimi (taklif, 2026-10-22; 2.1 — UX tuzatishlar)
 *
 * Tartib: shrift → tokenlar → asos → ikonka va tugmalar → komponentlar →
 * Mini App → kabinet → ochiq sahifalar → Mini App qobig'i → yordamchi sinflar.
 * Sinf nomlari ilovadagidek o'zbekcha; asosiylari (karta, tugma, nishon,
 * maydon, royxat, qator, plitka, stat, jadval) hozirgi nomlar bilan bir xil.
 */

/* ===== 0. Shrift (lokal, internet shart emas) ===================== */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("shrift/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("shrift/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("shrift/onest-kirill.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ===== 1. Tokenlar ================================================ */
:root {
  color-scheme: light;
  --shrift-koef: 1;
  --asos: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  /* neytral */
  --fon: #F1F4EF;
  --fon-2: #E7ECE4;
  --sath: #FFFFFF;
  --sath-2: #F6F8F4;
  --sath-3: #ECF0E9;
  --sath-ust: #FFFFFF;
  --matn: #0B1710;
  --xira: #48564D;
  --xira-2: #5B675F;   /* 2.1: #76837B edi — oq fonda 3,96:1; endi 5,9:1 */
  --havola: #0E7346;   /* 2.1: havola matni — fonda 5,2:1 */
  --yashil-tugma: #13804F;  /* 2.1: oq matnli yashil fon (tugma, pufak) */
  --qizil-nishon: #D2352A;  /* 2.1: oq raqamli qizil nishon — 4,9:1 */
  --kok-tugma: #2369C9;     /* 2.1: oq matnli ko'k tugma — 5,3:1 (avval 4,39:1) */
  --xira-3: #A5AFA8;
  --chiziq: rgba(11, 23, 16, .08);
  --chiziq-2: rgba(11, 23, 16, .13);
  --chiziq-3: rgba(11, 23, 16, .22);

  /* brend */
  --yashil: #13804F;
  --yashil-2: #0E6B41;
  --yashil-matn: #0A5A36;
  --yashil-och: #E2F3E8;
  --yashil-och-2: #C8E9D5;
  --yashil-yorqin: #2FC27A;
  --ormon: #0A2A1C;
  --ormon-2: #0F3826;
  --ormon-3: #175236;
  --laym: #C6F35E;
  --laym-2: #B0E443;
  --laym-matn: #1C3600;

  /* ma'no ranglari */
  --kok: #2A77DD;     --kok-matn: #195AAE;     --kok-och: #E5EFFC;
  --sariq: #E58E07;   --sariq-matn: #8C5400;   --sariq-och: #FFF1D9;
  --qizil: #DC3A2E;   --qizil-matn: #A3251B;   --qizil-och: #FDE9E7;
  --binafsha: #7253E6; --binafsha-matn: #5032C2; --binafsha-och: #EEEAFE;
  --zangori: #0B9E96; --zangori-matn: #07726C; --zangori-och: #DDF4F2;
  --tuproq: #9A693B;  --tuproq-matn: #71461E;  --tuproq-och: #F3EBE1;
  --kulrang: #6B7770; --kulrang-och: #ECEFEC;

  /* gradientlar */
  --g-yashil: linear-gradient(140deg, #23A866 0%, #13804F 55%, #0C6640 100%);
  --g-laym: linear-gradient(140deg, #D9FA7E 0%, #B5E847 100%);
  --g-kok: linear-gradient(140deg, #3A86DB 0%, #2468C8 55%, #1A54B0 100%);  /* 2.1: to'qroq — oq matn o'qiladi */
  --g-sariq: linear-gradient(140deg, #FFC24A 0%, #F29A0E 60%, #DA7F00 100%);
  --g-qizil: linear-gradient(140deg, #FF7A62 0%, #E5463A 55%, #C72E22 100%);
  --g-binafsha: linear-gradient(140deg, #9A84FF 0%, #7253E6 55%, #5A3BD0 100%);
  --g-zangori: linear-gradient(140deg, #3BD1C4 0%, #0B9E96 60%, #08807A 100%);
  --g-tuproq: linear-gradient(140deg, #C99A62 0%, #9A693B 60%, #7E5129 100%);
  --g-kulrang: linear-gradient(140deg, #9BA69F 0%, #6B7770 100%);
  --g-toq: linear-gradient(140deg, #2B3A31 0%, #0B1710 100%);
  --g-ai: linear-gradient(120deg, #148A57 0%, #0E8079 40%, #4A57DA 75%, #7044E0 100%);  /* 2.1: to'qroq — oq matn o'qiladi */

  /* burchak */
  --r-xs: 8px;
  --r-s: 12px;
  --r: 16px;
  --r-l: 20px;
  --r-xl: 26px;

  /* soya */
  --soya-0: 0 0 0 1px var(--chiziq);
  --soya-1: 0 0 0 1px var(--chiziq), 0 1px 2px rgba(11, 23, 16, .04), 0 2px 8px -3px rgba(11, 23, 16, .06);
  --soya-2: 0 0 0 1px var(--chiziq), 0 2px 4px -1px rgba(11, 23, 16, .05), 0 10px 24px -8px rgba(11, 23, 16, .12);
  --soya-3: 0 0 0 1px var(--chiziq), 0 6px 12px -4px rgba(11, 23, 16, .08), 0 24px 48px -16px rgba(11, 23, 16, .22);
  --soya-4: 0 0 0 1px var(--chiziq), 0 40px 100px -24px rgba(11, 23, 16, .45);
  --soya-brend: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(6, 50, 30, .22), 0 8px 18px -8px rgba(19, 128, 79, .6);

  /* bo'shliq */
  --b1: 4px; --b2: 8px; --b3: 12px; --b4: 16px; --b5: 20px; --b6: 24px; --b8: 32px; --b10: 40px; --b12: 48px; --b16: 64px;
  --g: 16px;

  /* harakat */
  --e-out: cubic-bezier(.22, 1, .36, 1);
  --e-spring: cubic-bezier(.34, 1.4, .64, 1);
  --t-tez: 140ms;
  --t: 220ms;
  --t-sekin: 420ms;

}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --fon: #070B09; --fon-2: #0B110D;
    --sath: #111814; --sath-2: #0D1310; --sath-3: #1A231E; --sath-ust: #161F1A;
    --matn: #E9F0EB; --xira: #A8B5AD; --xira-2: #8A988F; --xira-3: #4E5A53; --havola: #4DD08F; --yashil-tugma: #1B7F50; --qizil-nishon: #D2352A; --kok-tugma: #2A6FCF;
    --chiziq: rgba(233, 240, 235, .08); --chiziq-2: rgba(233, 240, 235, .13); --chiziq-3: rgba(233, 240, 235, .22);
    --yashil: #2CBF78; --yashil-2: #27AA6B; --yashil-matn: #7CDDAA; --yashil-och: rgba(44, 191, 120, .14); --yashil-och-2: rgba(44, 191, 120, .24);
    --ormon: #0A1F15; --ormon-2: #0E2A1C; --ormon-3: #143A27;
    --kok: #5AA2F5; --kok-matn: #9CC7FA; --kok-och: rgba(90, 162, 245, .14);
    --sariq: #F5A524; --sariq-matn: #FFC76E; --sariq-och: rgba(245, 165, 36, .14);
    --qizil: #F2564B; --qizil-matn: #FF9C93; --qizil-och: rgba(242, 86, 75, .15);
    --binafsha: #9A84FF; --binafsha-matn: #C4B7FF; --binafsha-och: rgba(154, 132, 255, .15);
    --zangori: #2CC9BE; --zangori-matn: #8BE6DE; --zangori-och: rgba(44, 201, 190, .14);
    --tuproq: #C99A62; --tuproq-matn: #E5C59D; --tuproq-och: rgba(201, 154, 98, .15);
    --kulrang: #8D9A92; --kulrang-och: rgba(141, 154, 146, .14);
    --soya-0: 0 0 0 1px var(--chiziq);
    --soya-1: 0 0 0 1px var(--chiziq), 0 1px 2px rgba(0, 0, 0, .3);
    --soya-2: 0 0 0 1px var(--chiziq), 0 10px 24px -8px rgba(0, 0, 0, .55);
    --soya-3: 0 0 0 1px var(--chiziq-2), 0 24px 48px -16px rgba(0, 0, 0, .7);
    --soya-4: 0 0 0 1px var(--chiziq-2), 0 40px 100px -24px rgba(0, 0, 0, .85);
    --soya-brend: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -8px rgba(44, 191, 120, .45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --fon: #070B09; --fon-2: #0B110D;
  --sath: #111814; --sath-2: #0D1310; --sath-3: #1A231E; --sath-ust: #161F1A;
  --matn: #E9F0EB; --xira: #A8B5AD; --xira-2: #8A988F; --xira-3: #4E5A53; --havola: #4DD08F; --yashil-tugma: #1B7F50; --qizil-nishon: #D2352A; --kok-tugma: #2A6FCF;
  --chiziq: rgba(233, 240, 235, .08); --chiziq-2: rgba(233, 240, 235, .13); --chiziq-3: rgba(233, 240, 235, .22);
  --yashil: #2CBF78; --yashil-2: #27AA6B; --yashil-matn: #7CDDAA; --yashil-och: rgba(44, 191, 120, .14); --yashil-och-2: rgba(44, 191, 120, .24);
  --ormon: #0A1F15; --ormon-2: #0E2A1C; --ormon-3: #143A27;
  --kok: #5AA2F5; --kok-matn: #9CC7FA; --kok-och: rgba(90, 162, 245, .14);
  --sariq: #F5A524; --sariq-matn: #FFC76E; --sariq-och: rgba(245, 165, 36, .14);
  --qizil: #F2564B; --qizil-matn: #FF9C93; --qizil-och: rgba(242, 86, 75, .15);
  --binafsha: #9A84FF; --binafsha-matn: #C4B7FF; --binafsha-och: rgba(154, 132, 255, .15);
  --zangori: #2CC9BE; --zangori-matn: #8BE6DE; --zangori-och: rgba(44, 201, 190, .14);
  --tuproq: #C99A62; --tuproq-matn: #E5C59D; --tuproq-och: rgba(201, 154, 98, .15);
  --kulrang: #8D9A92; --kulrang-och: rgba(141, 154, 146, .14);
  --soya-0: 0 0 0 1px var(--chiziq);
  --soya-1: 0 0 0 1px var(--chiziq), 0 1px 2px rgba(0, 0, 0, .3);
  --soya-2: 0 0 0 1px var(--chiziq), 0 10px 24px -8px rgba(0, 0, 0, .55);
  --soya-3: 0 0 0 1px var(--chiziq-2), 0 24px 48px -16px rgba(0, 0, 0, .7);
  --soya-4: 0 0 0 1px var(--chiziq-2), 0 40px 100px -24px rgba(0, 0, 0, .85);
  --soya-brend: inset 0 1px 0 rgba(255, 255, 255, .18), 0 8px 20px -8px rgba(44, 191, 120, .45);
}

/* ===== 2. Asos ==================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(16px * var(--shrift-koef)); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--asos); font-size: .9375rem; line-height: 1.5; color: var(--matn);
  background: var(--fon); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-optical-sizing: auto;
}
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
h1 { font-size: 1.75rem; line-height: 1.15; font-weight: 750; letter-spacing: -0.03em; }
h2 { font-size: 1.25rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.0625rem; line-height: 1.3; font-weight: 650; letter-spacing: -0.012em; }
h4 { font-size: .9375rem; line-height: 1.35; font-weight: 650; letter-spacing: -0.006em; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
code, kbd { font-family: var(--mono); font-size: .86em; }
code { background: var(--sath-3); padding: .1em .4em; border-radius: 6px; }
kbd { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 6px; background: var(--sath); box-shadow: 0 0 0 1px var(--chiziq-2), 0 1px 0 var(--chiziq-2); font-size: .75rem; font-weight: 600; color: var(--xira); }
hr { border: 0; height: 1px; background: var(--chiziq); margin: var(--b4) 0; }
::selection { background: color-mix(in srgb, var(--yashil) 26%, transparent); }
:focus-visible { outline: 2px solid var(--yashil); outline-offset: 2px; border-radius: 6px; }
small { font-size: max(.75rem, .8em); }
[hidden] { display: none !important; }

/* ===== 3. Ikonka ================================================== */
.ikon { display: inline-block; width: 20px; height: 20px; flex: none; fill: var(--ikon-f, none); stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ikon.k { width: 16px; height: 16px; }
.ikon.m { width: 14px; height: 14px; }
.ikon.l { width: 24px; height: 24px; }
.ikon.xl { width: 32px; height: 32px; stroke-width: 1.6; }
.ikon.qalin { stroke-width: 2.2; }
.ikon.duo { --ikon-f: color-mix(in srgb, currentColor 16%, transparent); }
.ikon.dolu { --ikon-f: currentColor; }
.rangli { width: 24px; height: 24px; flex: none; display: inline-block; vertical-align: middle; }
.rangli.k { width: 18px; height: 18px; } .rangli.l { width: 32px; height: 32px; } .rangli.xl { width: 44px; height: 44px; } .rangli.xxl { width: 64px; height: 64px; }

/* ===== 4. Tugmalar ================================================ */
.tugma {
  --tb: var(--yashil-tugma); --tm: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 20px; border-radius: 14px; border: 0;
  font: 600 .9375rem/1 var(--asos); letter-spacing: -0.005em; white-space: nowrap; text-decoration: none; cursor: pointer;
  color: var(--tm); background-color: var(--tb);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 70%);
  box-shadow: var(--soya-brend);
  transition: transform var(--t-tez) var(--e-out), filter var(--t-tez), box-shadow var(--t-tez), background-color var(--t-tez);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.tugma:hover { filter: brightness(1.06); }
.tugma:active { transform: scale(.975); }
.tugma .ikon { width: 20px; height: 20px; stroke-width: 2; }
.tugma.ikkilamchi { --tb: var(--sath); --tm: var(--matn); background-image: none; box-shadow: var(--soya-1); }
.tugma.ikkilamchi:hover { filter: none; background-color: var(--sath-2); }
.tugma.yumshoq { --tb: var(--yashil-och); --tm: var(--yashil-matn); background-image: none; box-shadow: none; }
.tugma.xira { --tb: transparent; --tm: var(--xira); background-image: none; box-shadow: none; }
.tugma.xira:hover { filter: none; background-color: var(--sath-3); color: var(--matn); }
.tugma.laym { --tb: var(--laym); --tm: var(--ormon); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 8px 20px -8px rgba(176, 228, 67, .55); }
.tugma.oq { --tb: #fff; --tm: #0B1710; background-image: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 8px 20px -10px rgba(0, 0, 0, .35); }
.tugma.shisha { --tb: rgba(255, 255, 255, .12); --tm: #fff; background-image: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.tugma.toq { --tb: var(--matn); --tm: var(--sath); background-image: none; box-shadow: 0 1px 2px rgba(0, 0, 0, .15), 0 8px 18px -10px rgba(0, 0, 0, .45); }
.tugma.kok { --tb: var(--kok-tugma); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px -8px color-mix(in srgb, var(--kok) 65%, transparent); }
.tugma.xatarli { --tb: var(--qizil-nishon); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px -8px color-mix(in srgb, var(--qizil) 65%, transparent); }
.tugma.xatarli-yumshoq { --tb: var(--qizil-och); --tm: var(--qizil-matn); background-image: none; box-shadow: none; }
.tugma.ai { --tm: #fff; background-image: var(--g-ai); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 22px -10px rgba(91, 108, 240, .7); }
.tugma.keng { width: 100%; }
.tugma.k { height: 36px; padding: 0 14px; border-radius: 11px; font-size: .8125rem; gap: 6px; }
.tugma.k .ikon { width: 16px; height: 16px; }
.tugma.l { height: 56px; padding: 0 26px; border-radius: 17px; font-size: 1rem; }
.tugma.faqat-ikon { padding: 0; width: 48px; }
.tugma.faqat-ikon.k { width: 36px; }
.tugma[disabled], .tugma.nofaol { opacity: .45; pointer-events: none; box-shadow: none; }
.tugma.yuklanmoqda { color: transparent; pointer-events: none; }
.tugma.yuklanmoqda::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tm); border-right-color: transparent; animation: aylan .7s linear infinite; }
.tugmalar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tugmalar.keng > .tugma { flex: 1; }

.iconbtn {
  position: relative; width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: inline-grid; place-items: center; color: var(--matn); background: transparent;
  transition: background var(--t-tez), transform var(--t-tez) var(--e-out); -webkit-tap-highlight-color: transparent;
}
.iconbtn:hover { background: var(--sath-3); }
.iconbtn:active { transform: scale(.94); }
.iconbtn.sath { background: var(--sath); box-shadow: var(--soya-1); }
.iconbtn.sath:hover { background: var(--sath-2); }
.iconbtn.yumaloq { border-radius: 50%; }
.iconbtn.shisha { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.iconbtn.shisha:hover { background: rgba(255, 255, 255, .2); }
.iconbtn.yumshoq { background: var(--sath-3); }
.iconbtn.brend { color: #fff; background: var(--yashil-tugma); box-shadow: var(--soya-brend); }
.iconbtn.k { width: 32px; height: 32px; border-radius: 10px; }
.iconbtn.k .ikon { width: 16px; height: 16px; }
.iconbtn.l { width: 48px; height: 48px; border-radius: 14px; }
.iconbtn .nuqta { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--qizil); box-shadow: 0 0 0 2px var(--sath); }
.iconbtn .hisoblagich { position: absolute; top: -3px; right: -3px; }

.havola { position: relative; color: var(--havola); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
/* 2.1: kichik havola va tugmalarning bosish joyi 44px ga yaqin — chiziladigan ko'rinish o'zgarmaydi */
.bolim-havola::after { content: ""; position: absolute; inset: -12px -8px; }
.havola::after { content: ""; position: absolute; inset: -10px -6px; }
p .havola::after, .gap .havola::after, td .havola::after { inset: -4px -2px; }
.havola:hover { text-decoration: underline; text-underline-offset: 3px; }
.havola .ikon { width: 16px; height: 16px; }

/* ===== 5. Nishon, chip, hisoblagich =============================== */
.nishon {
  --n: var(--xira); --nb: var(--sath-3);
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; line-height: 1; letter-spacing: .003em; white-space: nowrap;
  color: var(--n); background: var(--nb); vertical-align: middle;
}
.nishon .ikon { width: 13px; height: 13px; stroke-width: 2.2; }
.nishon.yashil { --n: var(--yashil-matn); --nb: var(--yashil-och); }
.nishon.kok { --n: var(--kok-matn); --nb: var(--kok-och); }
.nishon.sariq { --n: var(--sariq-matn); --nb: var(--sariq-och); }
.nishon.qizil { --n: var(--qizil-matn); --nb: var(--qizil-och); }
.nishon.binafsha { --n: var(--binafsha-matn); --nb: var(--binafsha-och); }
.nishon.zangori { --n: var(--zangori-matn); --nb: var(--zangori-och); }
.nishon.tuproq { --n: var(--tuproq-matn); --nb: var(--tuproq-och); }
.nishon.laym { --n: var(--laym-matn); --nb: var(--laym); }
.nishon.toq { --n: #fff; --nb: rgba(6, 14, 10, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nishon.qattiq { --n: #fff; }
.nishon.qattiq.yashil { --nb: var(--yashil-tugma); } .nishon.qattiq.qizil { --nb: var(--qizil-nishon); } .nishon.qattiq.kok { --nb: var(--kok-tugma); } .nishon.qattiq.sariq { --nb: var(--sariq); --n: #2B1A00; } .nishon.qattiq.binafsha { --nb: #6447D8; }  /* 2.1: oq/to'q matn kontrasti >= 4,5:1 */
.nishon.chiziqli { background: transparent; box-shadow: inset 0 0 0 1px var(--chiziq-2); }
.nishon.nuqtali::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.nishon.jonli::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; animation: puls 1.8s var(--e-out) infinite; }
.nishon.k { height: 22px; padding: 0 8px; font-size: .75rem; gap: 4px; }
.nishon.l { height: 28px; padding: 0 12px; font-size: .8125rem; }
.nishon.ai { --n: #fff; background: var(--g-ai); }

.hisoblagich { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--qizil-nishon); color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; box-shadow: 0 0 0 2px var(--sath); }
.hisoblagich.yashil { background: var(--yashil-tugma); } .hisoblagich.sariq { background: var(--sariq); color: #2B1A00; } .hisoblagich.kok { background: var(--kok-tugma); } .hisoblagich.kulrang { background: var(--sath-3); color: var(--xira); box-shadow: none; }

.chiplar { display: flex; gap: 8px; flex-wrap: wrap; }
.chiplar.aylanma-yoq, .chiplar.surma { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--g)); padding: 2px var(--g) 4px; }
.chiplar.surma::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; flex: none;
  font-size: .8125rem; font-weight: 600; color: var(--matn); background: var(--sath); box-shadow: var(--soya-1); white-space: nowrap;
  transition: background var(--t-tez), color var(--t-tez), transform var(--t-tez) var(--e-out); cursor: pointer;
}
.chip:active { transform: scale(.96); }
.qobiq-wa .chip { position: relative; }
.qobiq-wa .chip::after { content: ""; position: absolute; inset: -4px -2px; }
.chip .ikon { width: 16px; height: 16px; color: var(--xira-2); }
.chip .rangli { width: 20px; height: 20px; margin-left: -4px; }
.chip .son { color: var(--xira-2); font-weight: 600; }
.chip.on { background: var(--matn); color: var(--sath); box-shadow: none; }
.chip.on .ikon, .chip.on .son { color: inherit; opacity: .8; }
.chip.k { height: 30px; padding: 0 11px; font-size: .75rem; }
.chip.yumshoq { box-shadow: none; background: var(--sath-3); }

/* ===== 6. Avatar, plitka, ekin belgisi ============================ */
.avatar {
  --a1: #2FB872; --a2: #0E6B41;
  position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-grid; place-items: center;
  color: #fff; font-size: .875rem; font-weight: 650; letter-spacing: .01em; background: linear-gradient(140deg, var(--a1), var(--a2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.avatar.k { width: 32px; height: 32px; font-size: .75rem; }
.avatar.m { width: 24px; height: 24px; font-size: .75rem; }
.avatar.l { width: 48px; height: 48px; font-size: 1rem; }
.avatar.xl { width: 64px; height: 64px; font-size: 1.25rem; }
.avatar.xxl { width: 88px; height: 88px; font-size: 1.75rem; }
.avatar.kok { --a1: #62AEF8; --a2: #1D5DC2; } .avatar.sariq { --a1: #FFC24A; --a2: #D97A00; } .avatar.qizil { --a1: #FF8A73; --a2: #C72E22; }
.avatar.binafsha { --a1: #A794FF; --a2: #5536CC; } .avatar.zangori { --a1: #45D6C8; --a2: #087A74; } .avatar.tuproq { --a1: #D4A774; --a2: #7E5129; }
.avatar.kulrang { --a1: #A3ADA7; --a2: #5F6B64; } .avatar.toq { --a1: #33443A; --a2: #0B1710; }
.avatar .onlayn { position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 9px; min-height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 2px var(--sath); }
.avatar .avatar-belgi { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--sath); color: var(--yashil); box-shadow: 0 0 0 2px var(--sath); }
.avatar .avatar-belgi .ikon { width: 14px; height: 14px; }
.avatar.ai { background: radial-gradient(100% 100% at 30% 20%, #6CF0B0 0%, #13A8A0 45%, #5B4CE8 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -6px rgba(91, 76, 232, .6); }
.avatar.ai .ikon { width: 55%; height: 55%; stroke-width: 1.9; }
.avatarlar { display: inline-flex; }
.avatarlar > .avatar { box-shadow: 0 0 0 2px var(--sath); }
.avatarlar > .avatar + .avatar { margin-left: -10px; }

.plitka {
  --p: var(--yashil); --pb: var(--yashil-och); --pg: var(--g-yashil);
  position: relative; width: 40px; height: 40px; border-radius: 12px; flex: none; display: inline-grid; place-items: center;
  color: var(--p); background: var(--pb);
}
.plitka .ikon { width: 20px; height: 20px; }
.plitka .rangli { width: 26px; height: 26px; }
.plitka.k { width: 32px; height: 32px; border-radius: 10px; } .plitka.k .ikon { width: 16px; height: 16px; } .plitka.k .rangli { width: 20px; height: 20px; }
.plitka.l { width: 48px; height: 48px; border-radius: 14px; } .plitka.l .ikon { width: 24px; height: 24px; } .plitka.l .rangli { width: 32px; height: 32px; }
.plitka.xl { width: 60px; height: 60px; border-radius: 18px; } .plitka.xl .ikon { width: 28px; height: 28px; } .plitka.xl .rangli { width: 40px; height: 40px; }
.plitka.dumaloq { border-radius: 50%; }
.plitka.kok { --p: var(--kok); --pb: var(--kok-och); --pg: var(--g-kok); }
.plitka.sariq { --p: var(--sariq); --pb: var(--sariq-och); --pg: var(--g-sariq); }
.plitka.qizil { --p: var(--qizil); --pb: var(--qizil-och); --pg: var(--g-qizil); }
.plitka.binafsha { --p: var(--binafsha); --pb: var(--binafsha-och); --pg: var(--g-binafsha); }
.plitka.zangori { --p: var(--zangori); --pb: var(--zangori-och); --pg: var(--g-zangori); }
.plitka.tuproq { --p: var(--tuproq); --pb: var(--tuproq-och); --pg: var(--g-tuproq); }
.plitka.kulrang { --p: var(--kulrang); --pb: var(--kulrang-och); --pg: var(--g-kulrang); }
.plitka.oq { --p: var(--matn); --pb: var(--sath); box-shadow: var(--soya-1); }
.plitka.shisha { --p: #fff; --pb: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.plitka.toliq { color: #fff; background: var(--pg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 6px 14px -6px color-mix(in srgb, var(--p) 70%, transparent); }
.plitka.toliq .ikon { stroke-width: 1.9; }
.plitka.toliq.ai { background: var(--g-ai); }
.plitka.toliq.toq { background: var(--g-toq); }

.ekin { position: relative; width: 48px; height: 48px; border-radius: 50%; flex: none; display: inline-grid; place-items: center; background: radial-gradient(100% 100% at 30% 25%, var(--sath) 0%, var(--ekin-fon, var(--yashil-och)) 75%); box-shadow: inset 0 0 0 1px var(--chiziq); }
.ekin .rangli { width: 66%; height: 66%; filter: drop-shadow(0 3px 3px rgba(11, 23, 16, .18)); }
.ekin.k { width: 36px; height: 36px; } .ekin.l { width: 64px; height: 64px; } .ekin.xl { width: 88px; height: 88px; }
.ekin.kvadrat { border-radius: 30%; }
.ekin[data-ekin="pomidor"], .ekin[data-ekin="qalampir"], .ekin[data-ekin="olma"], .ekin[data-ekin="gilos"] { --ekin-fon: #FDE7E2; }
.ekin[data-ekin="uzum"] { --ekin-fon: #EEE6FB; }
.ekin[data-ekin="paxta"], .ekin[data-ekin="karam"] { --ekin-fon: #E7EFF5; }
.ekin[data-ekin="bugdoy"], .ekin[data-ekin="makka"], .ekin[data-ekin="kartoshka"], .ekin[data-ekin="piyoz"] { --ekin-fon: #FBF0D9; }
.ekin[data-ekin="sabzi"], .ekin[data-ekin="orik"] { --ekin-fon: #FFEBDA; }
:root[data-theme="dark"] .ekin { --ekin-fon: rgba(255, 255, 255, .06) !important; background: radial-gradient(100% 100% at 30% 25%, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 75%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ekin { --ekin-fon: rgba(255, 255, 255, .06) !important; background: radial-gradient(100% 100% at 30% 25%, rgba(255, 255, 255, .1) 0%, rgba(255, 255, 255, .03) 75%); } }

/* ===== 7. Karta =================================================== */
.karta { position: relative; display: block; background: var(--sath); border-radius: var(--r-l); padding: var(--b4); box-shadow: var(--soya-1); color: inherit; }
a.karta, .karta.bosiladi { transition: transform var(--t) var(--e-out), box-shadow var(--t); cursor: pointer; }
a.karta:hover, .karta.bosiladi:hover { box-shadow: var(--soya-2); }
a.karta:active, .karta.bosiladi:active { transform: scale(.985); }
.karta.zich { padding: var(--b3); }
.karta.keng { padding: var(--b5); }
.karta.yoq-padding { padding: 0; overflow: hidden; }
.karta.yumshoq { background: var(--sath-2); box-shadow: none; }
.karta.chiziqli { background: transparent; box-shadow: inset 0 0 0 1.5px var(--chiziq-2); }
.karta.chiziqli.uzuq { box-shadow: none; outline: 1.5px dashed var(--chiziq-3); outline-offset: -1.5px; }
.karta.yashil { background: var(--yashil-och); box-shadow: none; } .karta.kok { background: var(--kok-och); box-shadow: none; }
.karta.sariq { background: var(--sariq-och); box-shadow: none; } .karta.qizil { background: var(--qizil-och); box-shadow: none; }
.karta.binafsha { background: var(--binafsha-och); box-shadow: none; }
.karta.toq { background: var(--ormon); color: #fff; box-shadow: 0 20px 40px -24px rgba(6, 30, 18, .7); }
.karta.urgu-qizil { box-shadow: var(--soya-1), inset 3px 0 0 var(--qizil); }
.karta.urgu-sariq { box-shadow: var(--soya-1), inset 3px 0 0 var(--sariq); }
.karta.urgu-yashil { box-shadow: var(--soya-1), inset 3px 0 0 var(--yashil); }
.karta.urgu-kok { box-shadow: var(--soya-1), inset 3px 0 0 var(--kok); }
.karta-bosh { display: flex; align-items: center; gap: var(--b3); }
.karta-bosh > .osadi { flex: 1; min-width: 0; }
.karta-nom { font-size: 1rem; font-weight: 650; letter-spacing: -0.012em; line-height: 1.3; }
.karta-izoh { font-size: .8125rem; color: var(--xira-2); line-height: 1.4; margin-top: 2px; }
.karta-tana { margin-top: var(--b3); }
.karta-ajratgich { height: 1px; background: var(--chiziq); margin: var(--b4) calc(-1 * var(--b4)); }
.karta.keng .karta-ajratgich { margin-left: calc(-1 * var(--b5)); margin-right: calc(-1 * var(--b5)); }
.karta-past { display: flex; align-items: center; justify-content: space-between; gap: var(--b3); margin: var(--b4) calc(-1 * var(--b4)) calc(-1 * var(--b4)); padding: var(--b3) var(--b4); border-top: 1px solid var(--chiziq); background: var(--sath-2); border-radius: 0 0 var(--r-l) var(--r-l); font-size: .8125rem; }
.karta-sarlavha { display: flex; align-items: center; justify-content: space-between; gap: var(--b3); margin-bottom: var(--b3); }
.karta-sarlavha h3, .karta-sarlavha h2 { display: flex; align-items: center; gap: 8px; }

/* ===== 8. Bo'lim, ro'yxat, qator ================================== */
.bolim { margin-top: 28px; }
.bolim:first-child { margin-top: 0; }
.bolim-bosh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 0 2px; min-height: 28px; }
.bolim-sarlavha { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.022em; line-height: 1.25; display: flex; align-items: center; gap: 8px; }
.bolim-sarlavha .son { color: var(--xira-2); font-weight: 600; }
.bolim-izoh { font-size: .8125rem; color: var(--xira-2); margin-top: 2px; }
.bolim-havola { position: relative; font-size: .875rem; font-weight: 600; color: var(--havola); display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.bolim-havola .ikon { width: 16px; height: 16px; }

.royxat { background: var(--sath); border-radius: var(--r-l); box-shadow: var(--soya-1); overflow: hidden; }
.royxat.ochiq { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
.qator { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 60px; color: inherit; text-decoration: none; }
.royxat > .qator + .qator::before, .royxat > * + .qator::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; background: var(--chiziq); }
.royxat > .qator:has(> :is(.plitka, .avatar, .foto, .ekin, .qadoq):first-child)::before { left: 68px; }
.royxat > .qator:has(> :is(.plitka.k, .avatar.k):first-child)::before { left: 60px; }
.royxat > .qator:has(> .ekin.k:first-child)::before { left: 64px; }
.royxat > .qator:has(> .foto:first-child)::before { left: 72px; }
.royxat > .qator:has(> :is(.ekin:not(.k), .qadoq.k, .plitka.l, .avatar.l):first-child)::before { left: 76px; }
.royxat > .qator.belgi-qator::before { left: 50px; }
.royxat.ochiq > .qator { padding-left: 0; padding-right: 0; }
.royxat.ochiq > .qator::before { left: 0 !important; }
a.qator, .qator.bosiladi { transition: background var(--t-tez); cursor: pointer; }
a.qator:hover, .qator.bosiladi:hover { background: var(--sath-2); }
a.qator:active { background: var(--sath-3); }
.qator-matn { flex: 1; min-width: 0; }
.qator-nom { font-weight: 600; font-size: .9375rem; line-height: 1.3; letter-spacing: -0.006em; display: flex; align-items: center; gap: 6px; min-width: 0; }
.qator-nom > span.qisqa { min-width: 0; }
.qator-izoh { display: block; font-size: .8125rem; color: var(--xira-2); margin-top: 2px; line-height: 1.38; }
.qator-ong { flex: none; display: flex; align-items: center; gap: 8px; color: var(--xira-2); font-size: .875rem; text-align: right; }
.qator-ong .strelka, .qator > .strelka { color: var(--xira-3); width: 18px; height: 18px; }
.qator-qiymat { font-weight: 650; color: var(--matn); font-variant-numeric: tabular-nums; }
.qator .foto { width: 44px; height: 44px; border-radius: 12px; aspect-ratio: auto; flex: none; }
.qator.ogoh-qator .qator-nom { color: var(--qizil-matn); }

/* ===== 9. Ko'rsatkich, jarayon, halqa ============================= */
.stat { position: relative; display: flex; flex-direction: column; gap: 6px; padding: var(--b4); background: var(--sath); border-radius: var(--r-l); box-shadow: var(--soya-1); overflow: hidden; min-width: 0; }
.stat-nom { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--xira); }
.stat-nom .plitka { margin-right: 2px; }
.stat-son { font-size: 1.75rem; font-weight: 750; letter-spacing: -0.035em; line-height: 1.1; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.stat-son small { font-size: .875rem; font-weight: 600; letter-spacing: -0.01em; color: var(--xira-2); }
.stat-izoh { font-size: .75rem; color: var(--xira-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.stat .grafik { margin-top: 4px; }
.stat.toq { background: var(--ormon); color: #fff; box-shadow: none; }
.stat.toq .stat-nom, .stat.toq .stat-izoh { color: rgba(255, 255, 255, .66); }
.ozgarish { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 6px; border-radius: 6px; font-size: .75rem; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--yashil-matn); background: var(--yashil-och); }
.ozgarish .ikon { width: 12px; height: 12px; stroke-width: 2.4; }
.ozgarish.past { color: var(--qizil-matn); background: var(--qizil-och); }
.ozgarish.neytral { color: var(--xira); background: var(--sath-3); }

.kq { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: .875rem; border-bottom: 1px solid var(--chiziq); }
.kq:last-child { border-bottom: 0; }
.kq > span:first-child, .kq > dt { color: var(--xira); }
.kq > b, .kq > dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.jarayon { --f: 50%; --jr: var(--g-yashil); position: relative; height: 8px; border-radius: 999px; background: var(--sath-3); overflow: hidden; }
.jarayon > i { position: absolute; inset: 0 auto 0 0; width: var(--f); border-radius: inherit; background: var(--jr); animation: tolish 1s var(--e-out) both; }
.jarayon.k { height: 5px; } .jarayon.l { height: 12px; }
.jarayon.kok { --jr: var(--g-kok); } .jarayon.sariq { --jr: var(--g-sariq); } .jarayon.qizil { --jr: var(--g-qizil); } .jarayon.binafsha { --jr: var(--g-binafsha); } .jarayon.ai { --jr: var(--g-ai); }
.jarayon.toq { background: rgba(255, 255, 255, .14); } .jarayon.laym { --jr: var(--g-laym); }
.jarayon-bosh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: .8125rem; margin-bottom: 6px; }
.jarayon-bosh b { font-variant-numeric: tabular-nums; }

.segmentli { display: flex; gap: 3px; }
.segmentli > i { flex: 1; height: 6px; border-radius: 3px; background: var(--sath-3); }
.segmentli > i.on { background: var(--yashil); }
.segmentli.qizil > i.on { background: var(--qizil); } .segmentli.sariq > i.on { background: var(--sariq); } .segmentli.kok > i.on { background: var(--kok); }

.halqa { --o: 44px; --hr: var(--yashil); --hr2: var(--yashil-yorqin); position: relative; width: var(--o); height: var(--o); flex: none; display: inline-grid; place-items: center; }
.halqa svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.halqa .fon { fill: none; stroke: var(--sath-3); }
.halqa .qiymat { fill: none; stroke-linecap: round; transition: stroke-dashoffset 1.1s var(--e-out); }
.halqa b { position: relative; font-size: max(12px, calc(var(--o) * .27)); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.halqa small { position: relative; display: block; font-size: max(12px, calc(var(--o) * .13)); color: var(--xira-2); font-weight: 600; margin-top: 2px; text-align: center; }
.halqa .halqa-ichi { position: relative; text-align: center; line-height: 1; }
.halqa.kok { --hr: #2A77DD; --hr2: #6CB4FA; } .halqa.sariq { --hr: #E58E07; --hr2: #FFC24A; } .halqa.qizil { --hr: #DC3A2E; --hr2: #FF8A6E; }
.halqa.binafsha { --hr: #6A4BE0; --hr2: #A794FF; } .halqa.laym { --hr: #8CC63F; --hr2: #D9FA7E; } .halqa.ai { --hr: #13A8A0; --hr2: #8B5CF6; }
.halqa.toq .fon { stroke: rgba(255, 255, 255, .14); } .halqa.toq b { color: #fff; } .halqa.toq small { color: rgba(255, 255, 255, .6); }
.halqa.l { --o: 64px; } .halqa.xl { --o: 96px; } .halqa.xxl { --o: 140px; }

.olchagich { display: inline-flex; gap: 3px; align-items: flex-end; }
.olchagich i { width: 5px; border-radius: 2px; background: var(--sath-3); }
.olchagich i:nth-child(1) { height: 6px; } .olchagich i:nth-child(2) { height: 9px; } .olchagich i:nth-child(3) { height: 12px; } .olchagich i:nth-child(4) { height: 15px; } .olchagich i:nth-child(5) { height: 18px; }
.olchagich i.on { background: var(--yashil); }
.olchagich.qizil i.on { background: var(--qizil); } .olchagich.sariq i.on { background: var(--sariq); }

/* ===== 10. Forma ================================================== */
.forma { display: grid; gap: var(--b4); }
.forma-juft { display: grid; grid-template-columns: 1fr 1fr; gap: var(--b3); }
.forma-uch { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--b3); }
.maydon-guruh { display: grid; gap: 7px; min-width: 0; align-content: start; }
.yorliq { font-size: .8125rem; font-weight: 600; color: var(--matn); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.yorliq .ixtiyoriy { font-weight: 500; color: var(--xira-2); }
.maydon {
  width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: 13px; outline: none; appearance: none; -webkit-appearance: none;
  font: 500 .9375rem/1.2 var(--asos); color: var(--matn); background: var(--sath);
  box-shadow: inset 0 0 0 1px var(--chiziq-2), 0 1px 2px rgba(11, 23, 16, .03);
  transition: box-shadow var(--t-tez), background var(--t-tez);
}
.maydon::placeholder { color: var(--xira-2); font-weight: 500; opacity: .85; }
.maydon:hover { box-shadow: inset 0 0 0 1px var(--chiziq-3); }
.maydon:focus { box-shadow: inset 0 0 0 1.5px var(--yashil), 0 0 0 4px color-mix(in srgb, var(--yashil) 15%, transparent); }
.maydon.yumshoq { background: var(--sath-3); box-shadow: none; }
.maydon.yumshoq:focus { background: var(--sath); box-shadow: inset 0 0 0 1.5px var(--yashil), 0 0 0 4px color-mix(in srgb, var(--yashil) 15%, transparent); }
.maydon.xato { box-shadow: inset 0 0 0 1.5px var(--qizil), 0 0 0 4px color-mix(in srgb, var(--qizil) 12%, transparent); }
.maydon.k { height: 38px; border-radius: 10px; font-size: .875rem; padding: 0 12px; }
textarea.maydon { height: auto; min-height: 104px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
select.maydon { padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2376837B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.maydon-izoh { font-size: .75rem; color: var(--xira-2); line-height: 1.4; }
.maydon-izoh.xato { color: var(--qizil-matn); display: flex; gap: 5px; align-items: center; }
.maydon-ikonli { position: relative; display: block; }
.maydon-ikonli > .ikon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--xira-2); pointer-events: none; width: 18px; height: 18px; }
.maydon-ikonli > .maydon { padding-left: 42px; }
.maydon-ikonli > .maydon-ong { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.maydon-ikonli > kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.maydon-qoshimcha { display: flex; align-items: stretch; border-radius: 13px; background: var(--sath); box-shadow: inset 0 0 0 1px var(--chiziq-2); overflow: hidden; transition: box-shadow var(--t-tez); }
.maydon-qoshimcha:focus-within { box-shadow: inset 0 0 0 1.5px var(--yashil), 0 0 0 4px color-mix(in srgb, var(--yashil) 15%, transparent); }
.maydon-qoshimcha > .maydon { box-shadow: none !important; border-radius: 0; background: transparent; flex: 1; min-width: 0; }
.maydon-qoshimcha > span { display: flex; align-items: center; padding: 0 14px; color: var(--xira); font-weight: 600; font-size: .875rem; background: var(--sath-2); white-space: nowrap; }
.maydon-qoshimcha > span:first-child { border-right: 1px solid var(--chiziq); }
.maydon-qoshimcha > span:last-child { border-left: 1px solid var(--chiziq); }

.kalit { position: relative; display: inline-block; width: 46px; height: 28px; flex: none; }
.kalit::before { content: ""; position: absolute; inset: -8px -6px; }
.kalit input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.kalit i { position: absolute; inset: 0; border-radius: 999px; background: var(--chiziq-3); transition: background var(--t); }
.kalit i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 0 0 .5px rgba(0, 0, 0, .04); transition: transform var(--t) var(--e-spring); }
.kalit input:checked + i { background: var(--yashil-tugma); }
.kalit input:checked + i::after { transform: translateX(18px); }

.belgi-qator { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: .9375rem; line-height: 1.4; }
.belgi-qator input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; flex: none; border-radius: 7px; background: var(--sath); box-shadow: inset 0 0 0 1.5px var(--chiziq-3); display: grid; place-items: center; cursor: pointer; transition: background var(--t-tez), box-shadow var(--t-tez); }
.belgi-qator input[type="radio"] { border-radius: 50%; }
.belgi-qator input:checked { background: var(--yashil-tugma); box-shadow: none; }
.belgi-qator input[type="checkbox"]:checked::after { content: ""; width: 12px; height: 12px; background: #fff; clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 26%, 86% 12%, 38% 72%); }
.belgi-qator input[type="radio"]:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.belgi-qator.chizilgan:has(input:checked) > span { text-decoration: line-through; color: var(--xira-2); }

.tanlovlar { display: grid; gap: 10px; }
.tanlovlar.ikki { grid-template-columns: 1fr 1fr; }
.tanlovlar.uch { grid-template-columns: repeat(3, 1fr); }
.tanlov { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--sath); box-shadow: inset 0 0 0 1px var(--chiziq-2); cursor: pointer; transition: box-shadow var(--t-tez), background var(--t-tez); }
.tanlov input { position: absolute; opacity: 0; pointer-events: none; }
.tanlov:hover { box-shadow: inset 0 0 0 1px var(--chiziq-3); }
.tanlov:has(input:checked), .tanlov.on { background: color-mix(in srgb, var(--yashil) 6%, var(--sath)); box-shadow: inset 0 0 0 2px var(--yashil); }
.tanlov:has(input:checked)::after, .tanlov.on::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--yashil) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.tanlov.ustun { flex-direction: column; align-items: flex-start; gap: 10px; }
.tanlov:not(.ustun) { padding-right: 40px; }
.tanlov-nom { display: block; font-weight: 650; font-size: .9375rem; }
.tanlov-izoh { display: block; font-size: .8125rem; color: var(--xira-2); line-height: 1.4; margin-top: 2px; }

.yuklash-zona { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 28px 20px; border-radius: 18px; text-align: center; background: var(--sath-2); outline: 1.5px dashed var(--chiziq-3); outline-offset: -1.5px; color: var(--xira); font-size: .875rem; cursor: pointer; transition: background var(--t-tez); }
.yuklash-zona:hover { background: color-mix(in srgb, var(--yashil) 5%, var(--sath-2)); outline-color: var(--yashil); }
.yuklash-zona b { color: var(--matn); font-size: .9375rem; }

.otp { display: flex; gap: 10px; justify-content: center; }
.otp input { width: 50px; height: 58px; border: 0; border-radius: 14px; text-align: center; font-size: 1.5rem; font-weight: 700; background: var(--sath); box-shadow: inset 0 0 0 1px var(--chiziq-2); outline: none; font-variant-numeric: tabular-nums; caret-color: var(--yashil); }
.otp input:focus { box-shadow: inset 0 0 0 2px var(--yashil), 0 0 0 4px color-mix(in srgb, var(--yashil) 15%, transparent); }

.miqdor { display: inline-flex; align-items: center; height: 40px; border-radius: 12px; background: var(--sath-3); padding: 3px; gap: 2px; }
.miqdor button { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--matn); transition: background var(--t-tez); }
.miqdor button:hover { background: var(--sath); }
.miqdor button .ikon { width: 16px; height: 16px; stroke-width: 2.2; }
.miqdor output, .miqdor span { min-width: 30px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.miqdor.k { height: 32px; padding: 2px; } .miqdor.k button { width: 28px; height: 28px; }

.reyting { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.reyting .ikon { width: 14px; height: 14px; color: #F5B000; --ikon-f: #F5B000; stroke: #F5B000; }
.yulduzlar { display: inline-flex; gap: 2px; }
.yulduzlar .ikon { width: 18px; height: 18px; color: var(--xira-3); }
.yulduzlar .ikon.on { color: #F5B000; --ikon-f: #F5B000; }

/* ===== 11. Segment, tablar ======================================== */
.segs { position: relative; display: flex; gap: 2px; padding: 3px; border-radius: 13px; background: var(--sath-3); }
.segs > button, .segs > a { flex: 1; height: 34px; padding: 0 12px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .8125rem; font-weight: 600; color: var(--xira); white-space: nowrap; transition: background var(--t), color var(--t), box-shadow var(--t); }
.segs > .on { background: var(--sath); color: var(--matn); box-shadow: 0 1px 2px rgba(11, 23, 16, .08), 0 2px 6px -2px rgba(11, 23, 16, .1); }
.segs > button .son, .segs > a .son { font-size: .75rem; color: var(--xira-2); background: var(--sath-3); padding: 1px 6px; border-radius: 999px; }
.segs > .on .son { background: var(--yashil-och); color: var(--yashil-matn); }
:root[data-theme="dark"] .segs:not(.toq) > .on { background: #2A3530; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .segs:not(.toq) > .on { background: #2A3530; } }
.segs.toq { background: rgba(255, 255, 255, .1); } .segs.toq > button { color: rgba(255, 255, 255, .86); } .segs.toq > .on { background: rgba(255, 255, 255, .2); color: #fff; box-shadow: none; }
.segs.inline { display: inline-flex; }
.segs.k > button, .segs.k > a { height: 28px; font-size: .75rem; padding: 0 10px; border-radius: 8px; }

.tablar { display: flex; gap: 22px; border-bottom: 1px solid var(--chiziq); overflow-x: auto; scrollbar-width: none; }
.tablar::-webkit-scrollbar { display: none; }
.tablar > button, .tablar > a { position: relative; padding: 12px 0 13px; font-size: .875rem; font-weight: 600; color: var(--xira-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; transition: color var(--t-tez); }
.tablar > button:hover, .tablar > a:hover { color: var(--matn); }
.tablar > .on { color: var(--matn); }
.tablar > .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--yashil); }
.tablar .hisoblagich { box-shadow: none; }

/* ===== 12. Ogohlantirish, bo'sh holat, skelet, toast ============== */
.ogoh { --o: var(--sariq); --ob: var(--sariq-och); --om: var(--sariq-matn); display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; border-radius: 15px; background: var(--ob); color: var(--om); font-size: .875rem; line-height: 1.45; }
.ogoh > .ikon { flex: none; width: 20px; height: 20px; color: var(--o); margin-top: 1px; }
.ogoh-matn { flex: 1; min-width: 0; }
.ogoh b, .ogoh strong { color: inherit; font-weight: 650; }
.ogoh-nom { font-weight: 650; display: block; margin-bottom: 1px; }
.ogoh.xato { --o: var(--qizil); --ob: var(--qizil-och); --om: var(--qizil-matn); }
.ogoh.info { --o: var(--kok); --ob: var(--kok-och); --om: var(--kok-matn); }
.ogoh.ok { --o: var(--yashil); --ob: var(--yashil-och); --om: var(--yashil-matn); }
.ogoh.ai { --o: var(--binafsha); --ob: var(--binafsha-och); --om: var(--binafsha-matn); }
.ogoh.neytral { --o: var(--xira); --ob: var(--sath-3); --om: var(--xira); }

.bosh-holat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 24px; }
.bosh-holat-rasm { --bh: var(--yashil); position: relative; width: 84px; height: 84px; border-radius: 28px; display: grid; place-items: center; margin-bottom: 22px; color: var(--bh); background: linear-gradient(160deg, color-mix(in srgb, var(--bh) 16%, var(--sath)) 0%, color-mix(in srgb, var(--bh) 6%, var(--sath)) 100%); box-shadow: 0 0 0 10px color-mix(in srgb, var(--bh) 5%, transparent), 0 0 0 22px color-mix(in srgb, var(--bh) 3%, transparent), inset 0 1px 0 rgba(255, 255, 255, .6); }
.bosh-holat-rasm .ikon { width: 36px; height: 36px; stroke-width: 1.6; }
.bosh-holat-rasm .rangli { width: 48px; height: 48px; }
.bosh-holat-rasm::after { content: ""; position: absolute; top: -6px; right: -8px; width: 22px; height: 22px; border-radius: 8px; background: var(--sath); box-shadow: var(--soya-2); }
.bosh-holat-rasm.kok { --bh: var(--kok); } .bosh-holat-rasm.zangori { --bh: var(--zangori); } .bosh-holat-rasm.tuproq { --bh: var(--tuproq); } .bosh-holat-rasm.sariq { --bh: var(--sariq); } .bosh-holat-rasm.qizil { --bh: var(--qizil); } .bosh-holat-rasm.binafsha { --bh: var(--binafsha); } .bosh-holat-rasm.kulrang { --bh: var(--kulrang); }
.bosh-holat-rasm.belgisiz::after { display: none; }
.bosh-holat-nom { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }
.bosh-holat-izoh { font-size: .875rem; color: var(--xira); margin-top: 6px; max-width: 320px; line-height: 1.5; }
.bosh-holat .tugmalar { margin-top: 20px; justify-content: center; }

.skelet { position: relative; overflow: hidden; background: var(--sath-3); border-radius: 8px; }
.skelet::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--sath) 70%, transparent), transparent); animation: shimmer 1.4s infinite; }
.skelet.matn { height: 12px; margin: 6px 0; } .skelet.sarlavha { height: 18px; width: 60%; } .skelet.dumaloq { border-radius: 50%; }

.aylanma { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--chiziq-2); border-top-color: var(--yashil); animation: aylan .8s linear infinite; flex: none; }
.aylanma.k { width: 16px; height: 16px; } .aylanma.l { width: 32px; height: 32px; border-width: 3px; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 900; display: flex; align-items: center; gap: 10px; min-height: 48px; width: max-content; max-width: min(92%, 440px); padding: 10px 16px 10px 12px; border-radius: 16px; background: #13201A; color: #fff; font-size: .875rem; font-weight: 550; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06); transform: translate(-50%, 24px); opacity: 0; pointer-events: none; transition: transform .35s var(--e-spring), opacity .25s; }
.toast.ochiq { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast .ikon-joy { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(47, 194, 122, .2); color: #5FE3A1; flex: none; }
.toast .ikon-joy .ikon { width: 16px; height: 16px; stroke-width: 2.4; }
.toast a { color: var(--laym); font-weight: 650; margin-left: 6px; }

/* ===== 13. Parda: sheet, modal, tortma, popover =================== */
.parda { position: fixed; inset: 0; z-index: 600; display: flex; align-items: flex-end; justify-content: center; background: rgba(4, 10, 7, .46); opacity: 0; pointer-events: none; transition: opacity .28s; }
.parda.ochiq { opacity: 1; pointer-events: auto; }
.sheet { position: relative; width: 100%; max-width: 560px; max-height: 92%; overflow-y: auto; scrollbar-width: none; padding: 10px var(--g) 28px; border-radius: 28px 28px 0 0; background: var(--sath-ust); box-shadow: 0 -12px 40px rgba(0, 0, 0, .18); transform: translateY(105%); transition: transform .42s var(--e-out); }
.parda.ochiq .sheet { transform: none; }
.sheet::before { content: ""; display: block; width: 38px; height: 5px; border-radius: 3px; background: var(--chiziq-3); margin: 0 auto 14px; }
.sheet-bosh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sheet-bosh h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; }
.sheet-izoh { font-size: .9375rem; line-height: 1.5; color: var(--xira); margin: -6px 0 16px; }
.rasm-maslahat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.rasm-maslahat > div { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 16px; background: var(--sath-2); box-shadow: var(--soya-0); }
.rasm-maslahat .plitka { margin-bottom: 6px; }
.rasm-maslahat b { font-size: .875rem; font-weight: 700; }
.rasm-maslahat span:not(.plitka) { font-size: .8125rem; line-height: 1.35; color: var(--xira-2); }
.parda.markaz { align-items: center; padding: 24px; text-align: start; }
.modal { width: 100%; max-width: 480px; max-height: 90%; overflow-y: auto; padding: 24px; border-radius: 24px; background: var(--sath-ust); box-shadow: var(--soya-4); transform: scale(.96) translateY(8px); transition: transform .3s var(--e-out); }
.modal.keng { max-width: 720px; }
.parda.ochiq .modal { transform: none; }
.modal-bosh { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.modal-bosh h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.modal-past { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.parda.ong { justify-content: flex-end; align-items: stretch; }
.tortma-panel { width: min(520px, 100%); height: 100%; overflow-y: auto; background: var(--sath-ust); box-shadow: var(--soya-4); transform: translateX(100%); transition: transform .38s var(--e-out); display: flex; flex-direction: column; }
.parda.ochiq .tortma-panel { transform: none; }
.tortma-bosh { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--chiziq); background: color-mix(in srgb, var(--sath-ust) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tortma-bosh h3 { flex: 1; font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }
.tortma-tana { padding: 20px 24px; flex: 1; }
.tortma-past { position: sticky; bottom: 0; display: flex; gap: 10px; justify-content: flex-end; padding: 14px 24px; border-top: 1px solid var(--chiziq); background: var(--sath-ust); }

.menyu-royxat { min-width: 220px; padding: 6px; border-radius: 14px; background: var(--sath-ust); box-shadow: var(--soya-3); }
.menyu-royxat > a, .menyu-royxat > button { width: 100%; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-radius: 9px; font-size: .875rem; font-weight: 550; color: var(--matn); text-align: left; }
.menyu-royxat > a:hover, .menyu-royxat > button:hover { background: var(--sath-3); }
.menyu-royxat .ikon { width: 17px; height: 17px; color: var(--xira-2); }
.menyu-royxat hr { margin: 6px -6px; }
.menyu-royxat .xatarli { color: var(--qizil-matn); } .menyu-royxat .xatarli .ikon { color: var(--qizil); }

/* ===== 14. Jadval ================================================= */
.jadval-karta { background: var(--sath); border-radius: var(--r); box-shadow: var(--soya-1); overflow: hidden; }
.jadval-uskuna { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--chiziq); flex-wrap: wrap; }
.jadval-uskuna .maydon-ikonli { flex: 1; min-width: 200px; max-width: 340px; }
.jadval-uskuna .ong { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.jadval-uskuna > .segs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.jadval-oyna { overflow-x: auto; scrollbar-width: thin; }
.jadval { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .875rem; }
.jadval th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: .75rem; font-weight: 600; color: var(--xira-2); padding: 10px 16px; background: var(--sath-2); border-bottom: 1px solid var(--chiziq); white-space: nowrap; letter-spacing: .01em; }
.jadval th.saralangan { color: var(--matn); }
.jadval th .ikon { display: inline-block; width: 13px; height: 13px; margin-left: 2px; vertical-align: -2px; }
.jadval td { padding: 12px 16px; border-bottom: 1px solid var(--chiziq); vertical-align: middle; }
.jadval tbody tr:last-child td { border-bottom: 0; }
.jadval tbody tr { transition: background var(--t-tez); }
.jadval tbody tr:hover td { background: var(--sath-2); }
.jadval tbody tr.tanlangan td { background: color-mix(in srgb, var(--yashil) 6%, var(--sath)); }
.jadval .raqam, .jadval td.son, .jadval th.son { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jadval .ustun-belgi { width: 44px; padding-right: 0; }
.jadval.zich td { padding: 9px 16px; }
.hujayra { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hujayra-nom { font-weight: 600; color: var(--matn); white-space: nowrap; }
.hujayra-izoh { font-size: .75rem; color: var(--xira-2); margin-top: 1px; white-space: nowrap; }
.hujayra .foto { width: 40px; height: 40px; border-radius: 10px; aspect-ratio: auto; flex: none; }
.jadval-past { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--chiziq); font-size: .8125rem; color: var(--xira-2); }
.sahifalash { display: flex; gap: 4px; }
.sahifalash a, .sahifalash button { min-width: 36px; height: 36px; padding: 0 8px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; font-size: .8125rem; color: var(--xira); }
.sahifalash a:hover { background: var(--sath-3); }
.sahifalash .on { background: var(--matn); color: var(--sath); }

/* ===== 15. Grafik ================================================= */
.grafik { position: relative; width: 100%; color: var(--yashil); }
.grafik > svg { display: block; width: 100%; height: auto; overflow: visible; }
.grafik[data-grafik="donut"] > svg { width: auto; max-width: 100%; }
.grafik .gt { stroke: var(--chiziq); stroke-dasharray: 2 4; }
.grafik .gy { fill: var(--xira-2); font-size: 11px; font-family: var(--asos); font-weight: 500; }
.grafik .gch { fill: none; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.grafik .gn { fill: var(--sath); stroke-width: 2.25; }
.grafik .gb { transition: opacity var(--t-tez); }
.grafik:hover .gb { opacity: .75; } .grafik .gb:hover { opacity: 1; }
.grafik-izoh { position: absolute; pointer-events: none; padding: 6px 10px; border-radius: 10px; background: #13201A; color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap; transform: translate(-50%, -120%); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .15s; z-index: 5; }
.grafik-izoh.ochiq { opacity: 1; }
.legend { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: .8125rem; color: var(--xira); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--yashil)); }
.donut-markaz { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; color: var(--matn); }
.donut-markaz b { display: block; font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.donut-markaz span { font-size: .75rem; color: var(--xira-2); }

/* ===== 16. Rasm, qadoq, xarita ==================================== */
.foto { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--sath-3); aspect-ratio: 4 / 3; isolation: isolate; }
.foto > img, .foto > svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foto.kvadrat { aspect-ratio: 1; } .foto.keng { aspect-ratio: 16 / 9; } .foto.tik { aspect-ratio: 3 / 4; } .foto.panorama { aspect-ratio: 21 / 9; }
.foto.k { width: 48px; height: 48px; aspect-ratio: auto; border-radius: 12px; flex: none; }
.foto .foto-ust { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; z-index: 2; }
.foto.soyali::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55)); z-index: 1; }
.aniqlash { position: absolute; z-index: 3; border: 2px solid #FFD43B; border-radius: 10px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 24px rgba(255, 212, 59, .25); }
.aniqlash > span { position: absolute; left: -2px; bottom: calc(100% + 6px); display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 7px; background: #FFD43B; color: #1A1400; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.aniqlash.qizil { border-color: #FF6B5B; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 24px rgba(255, 107, 91, .3); } .aniqlash.qizil > span { background: #D2352A; color: #fff; }  /* 2.1: oq matn 4,9:1 (avval #FF6B5B — 2,8:1) */
.aniqlash.past > span { bottom: auto; top: calc(100% + 6px); }
.skaner-chiziq { position: absolute; left: 0; right: 0; height: 40%; z-index: 2; background: linear-gradient(180deg, transparent, rgba(198, 243, 94, .28) 85%, rgba(198, 243, 94, .9) 100%); animation: skaner 2.2s var(--e-out) infinite; }

.qadoq { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 16px; background: radial-gradient(90% 70% at 50% 35%, var(--sath) 0%, var(--sath-2) 60%, var(--sath-3) 100%); overflow: hidden; }
.qadoq > svg { width: 78%; height: 78%; overflow: visible; }
.qadoq.k { width: 48px; height: 48px; border-radius: 12px; flex: none; aspect-ratio: auto; }
.qadoq.k > svg { width: 86%; height: 86%; }
.qadoq.l { border-radius: 24px; }
.qadoq.shaffof { background: none; }
:where(:root[data-theme="dark"]) .qadoq { background: radial-gradient(90% 70% at 50% 35%, #1E2923 0%, #151D18 60%, #111814 100%); }
@media (prefers-color-scheme: dark) { :where(:root:not([data-theme="light"])) .qadoq { background: radial-gradient(90% 70% at 50% 35%, #1E2923 0%, #151D18 60%, #111814 100%); } }
.qadoq.shaffof, .banner .qadoq { background: none !important; }

.xarita { position: relative; overflow: hidden; border-radius: var(--r-l); background: #2E3B2A; aspect-ratio: 3 / 2; isolation: isolate; }
.xarita > svg.xarita-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.xarita .dala-chegara { fill: transparent; stroke: rgba(255, 255, 255, .0); stroke-width: 2; cursor: pointer; transition: fill .2s, stroke .2s; }
.xarita .dala-chegara:hover { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .7); }
.xarita .dala-chegara.tanlangan { fill: rgba(198, 243, 94, .12); stroke: #C6F35E; stroke-width: 3; }
.xarita .dala-yorliq { font: 700 13px var(--asos); fill: #fff; paint-order: stroke; stroke: rgba(0, 0, 0, .45); stroke-width: 3px; pointer-events: none; }
.xarita-uskuna { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; flex-direction: column; gap: 8px; }
.xarita-uskuna .iconbtn { background: rgba(255, 255, 255, .92); color: #0B1710; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.xarita-chap { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; }
.xarita-legend { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(10, 20, 14, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: .75rem; font-weight: 600; }
.xarita-legend .shkala { width: 110px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #C0392B, #E67E22, #F1C40F, #9BCB3C, #2E9E4A, #146B33); }
.pin { position: absolute; z-index: 3; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.pin > span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; background: #fff; color: #0B1710; font-size: .75rem; font-weight: 700; box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .35); white-space: nowrap; }
.pin::after { content: ""; width: 10px; height: 10px; background: #fff; transform: rotate(45deg); margin-top: -6px; border-radius: 0 0 3px 0; }

.hosil-rasm { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: radial-gradient(80% 60% at 50% 30%, #FFF8EC 0%, #F3E6CF 70%, #E6D3B3 100%); }
.hosil-rasm > svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== 17. Vaqt chizig'i, bosqichlar ============================== */
.vaqt-chizigi { position: relative; display: grid; gap: 0; }
.vc { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 18px; }
.vc:last-child { padding-bottom: 0; }
.vc::before { content: ""; position: absolute; left: 13.5px; top: 28px; bottom: 2px; width: 1.5px; background: var(--chiziq-2); }
.vc:last-child::before, .vc:not(:has(~ .vc:not([hidden])))::before { display: none; }
.vc-belgi { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sath); color: var(--xira-2); box-shadow: inset 0 0 0 1.5px var(--chiziq-2); }
.vc-belgi .ikon { width: 14px; height: 14px; stroke-width: 2.2; }
.vc.bajarildi .vc-belgi { background: var(--yashil-tugma); color: #fff; box-shadow: none; }
.vc.bajarildi::before { background: var(--yashil); }
.vc.joriy .vc-belgi { background: var(--sath); color: var(--yashil); box-shadow: inset 0 0 0 2px var(--yashil), 0 0 0 4px color-mix(in srgb, var(--yashil) 14%, transparent); }
.vc.ogoh { display: grid; align-items: start; padding: 0 0 18px; border-radius: 0; background: none; color: inherit; font-size: inherit; line-height: inherit; }
.vc.ogoh:last-child { padding-bottom: 0; }
.vc.ogoh .vc-belgi, .vc.sariq .vc-belgi { background: var(--sariq-och); color: var(--sariq); box-shadow: none; }
.vc.xato .vc-belgi { background: var(--qizil-och); color: var(--qizil); box-shadow: none; }
.vc-nom { font-weight: 600; font-size: .9375rem; line-height: 1.35; padding-top: 3px; }
.vc-vaqt { font-size: .75rem; color: var(--xira-2); margin-top: 1px; }
.vc-matn { font-size: .8125rem; color: var(--xira); margin-top: 6px; line-height: 1.45; }

.bosqichlar { display: flex; align-items: flex-start; }
.bosqich { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .75rem; font-weight: 600; color: var(--xira-2); min-width: 0; }
.bosqich::before { content: ""; position: absolute; top: 11px; left: calc(-50% + 14px); right: calc(50% + 14px); height: 2px; border-radius: 1px; background: var(--chiziq-2); }
.bosqich:first-child::before { display: none; }
.bosqich > i { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--sath); box-shadow: inset 0 0 0 1.5px var(--chiziq-3); font-style: normal; }
.bosqich > i .ikon { width: 13px; height: 13px; stroke-width: 2.6; }
.bosqich.bajarildi { color: var(--matn); } .bosqich.bajarildi > i { background: var(--yashil-tugma); color: #fff; box-shadow: none; }
.bosqich.bajarildi::before, .bosqich.joriy::before { background: var(--yashil); }
.bosqich.joriy { color: var(--yashil-matn); } .bosqich.joriy > i { background: var(--sath); box-shadow: inset 0 0 0 2px var(--yashil), 0 0 0 4px color-mix(in srgb, var(--yashil) 15%, transparent); }
.bosqich.joriy > i::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yashil); }
.bosqich.bekor > i { background: var(--qizil-och); color: var(--qizil); box-shadow: none; }

.fenologiya { display: flex; gap: 3px; }
.fenologiya > * { flex: 1; min-width: 0; }
.fenologiya > * > i { display: block; height: 8px; border-radius: 4px; background: var(--sath-3); }
.fenologiya > .bajarildi > i { background: var(--yashil); }
.fenologiya > .joriy > i { background: linear-gradient(90deg, var(--yashil) var(--f, 50%), var(--sath-3) var(--f, 50%)); }
.fenologiya > * > span { display: block; font-size: .75rem; font-weight: 600; color: var(--xira-2); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fenologiya > .joriy > span { color: var(--yashil-matn); }

/* ===== 18. Yig'ma (accordion) ===================================== */
.yigma { background: var(--sath); border-radius: var(--r); box-shadow: var(--soya-1); overflow: hidden; }
.yigma + .yigma { margin-top: 10px; }
.yigma > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px; cursor: pointer; font-weight: 600; }
.yigma > summary::-webkit-details-marker { display: none; }
.yigma > summary::after { content: ""; margin-left: auto; width: 18px; height: 18px; flex: none; background: currentColor; opacity: .5; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform var(--t); }
.yigma[open] > summary::after { transform: rotate(180deg); }
.yigma-tana { padding: 0 16px 16px; color: var(--xira); font-size: .875rem; line-height: 1.55; }
.yigma-tana :is(b, strong, .vc-nom, .qator-nom, .karta-nom, .kq > b, .kq > dd) { color: var(--matn); }

/* ===== 19. Mini App: umumiy ======================================= */
.ilova { padding: var(--ust, 100px) var(--g) var(--ast, 40px); min-height: 100%; }
/* 2.1: pastki menyu/panel balandligi JS'da o'lchanadi (--past-h) — kontent hech qachon uning ostida qolmaydi */
.qobiq-wa .ilova { --ast: calc(var(--past-h, 16px) + 28px); }
.ilova.toliq-ust { padding-top: 0; }
.ekran-bosh { display: flex; align-items: center; gap: 10px; margin: 2px 0 18px; }
.ekran-bosh > .osadi { flex: 1; min-width: 0; }
.ekran-bosh h1 { font-size: 1.875rem; font-weight: 750; letter-spacing: -0.035em; line-height: 1.08; }
.ekran-bosh-izoh { font-size: .875rem; color: var(--xira-2); margin-top: 4px; }
.ekran-bosh .amallar { display: flex; gap: 8px; align-self: flex-start; }
.ekran-bosh.kichik h1 { font-size: 1.5rem; }

.tor-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tor-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tor-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tor-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ustun { display: flex; flex-direction: column; gap: 12px; }
.rels { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--g); margin: 0 calc(-1 * var(--g)); padding: 2px var(--g) 14px; scrollbar-width: none; }
.rels::-webkit-scrollbar { display: none; }
.rels > * { flex: none; scroll-snap-align: start; }
.nuqtalar { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.nuqtalar i { width: 6px; height: 6px; border-radius: 3px; background: var(--chiziq-3); transition: width var(--t), background var(--t); }
.nuqtalar i.on { width: 18px; background: var(--matn); }

/* Bosh sahifa sarlavhasi (to'q fonli) */
.bosh-fon { position: relative; margin: calc(-1 * var(--ust, 100px)) calc(-1 * var(--g)) 0; padding: var(--ust, 100px) var(--g) 86px; color: #fff; background: var(--ormon); overflow: hidden; isolation: isolate; }
.bosh-fon::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(198, 243, 94, .30) 0%, transparent 62%), radial-gradient(80% 70% at 0% 100%, rgba(35, 168, 102, .55) 0%, transparent 65%), linear-gradient(170deg, #0F3826 0%, #0A2A1C 55%, #082216 100%); }
.bosh-fon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("rasm/kontur.svg") 60% 20% / 560px auto; opacity: .16; mix-blend-mode: screen; }
.bosh-fon.xavf::before { background: radial-gradient(70% 60% at 100% 0%, rgba(255, 106, 77, .42) 0%, transparent 62%), radial-gradient(80% 70% at 0% 100%, rgba(35, 168, 102, .45) 0%, transparent 65%), linear-gradient(170deg, #1B2A1E 0%, #0E1F15 55%, #0A1910 100%); }
.ustma { margin-top: -64px; position: relative; z-index: 2; }

.salom { display: flex; align-items: center; gap: 12px; }
.salom-matn { flex: 1; min-width: 0; }
.salom-kun { font-size: .8125rem; font-weight: 500; opacity: .72; }
.salom-ism { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; margin-top: 2px; }
.salom-havo { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font-size: .8125rem; font-weight: 600; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.salom-havo .rangli { width: 22px; height: 22px; }

.ai-qator { display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 6px 0 16px; margin-top: 18px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: #0B1710; box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 12px 28px -12px rgba(0, 0, 0, .45); }
.ai-qator > .ai-belgi { width: 22px; height: 22px; flex: none; }
.ai-qator > span:not(.iconbtn) { flex: 1; min-width: 0; color: #6E7B73; font-weight: 500; font-size: .9375rem; margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-qator .iconbtn { color: #0B1710; }
.ai-qator .iconbtn:hover { background: #EEF2EC; }
.ai-qator .iconbtn.brend { color: #fff; width: 44px; height: 44px; border-radius: 14px; }
.ai-qator.oddiy { background: var(--sath); color: var(--matn); box-shadow: var(--soya-1); margin-top: 0; }
.ai-qator.oddiy > span { color: var(--xira-2); }
.ai-qator.oddiy .iconbtn { color: var(--matn); }

/* Qahramon karta */
.qahramon { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: var(--r-xl); padding: 20px; background: var(--ormon); box-shadow: 0 24px 48px -24px rgba(6, 30, 18, .65), inset 0 1px 0 rgba(255, 255, 255, .08); }
.qahramon::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(90% 80% at 100% 0%, rgba(198, 243, 94, .26) 0%, transparent 58%), radial-gradient(90% 90% at 0% 100%, rgba(35, 168, 102, .5) 0%, transparent 62%), linear-gradient(160deg, #0F3826 0%, #0A2A1C 60%, #071F14 100%); }
.qahramon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("rasm/kontur.svg") 80% 30% / 520px auto; opacity: .14; mix-blend-mode: screen; pointer-events: none; }
.qahramon.xavf::before { background: radial-gradient(90% 80% at 100% 0%, rgba(255, 98, 70, .5) 0%, transparent 58%), radial-gradient(90% 90% at 0% 100%, rgba(150, 40, 20, .45) 0%, transparent 62%), linear-gradient(160deg, #35140F 0%, #22100C 60%, #170A07 100%); }
.qahramon.sariq::before, .qahramon.ogoh::before { background: radial-gradient(90% 80% at 100% 0%, rgba(255, 196, 64, .42) 0%, transparent 58%), radial-gradient(90% 90% at 0% 100%, rgba(150, 100, 20, .4) 0%, transparent 62%), linear-gradient(160deg, #2E2410 0%, #1F180A 60%, #151006 100%); }
.qahramon.kok::before { background: radial-gradient(90% 80% at 100% 0%, rgba(110, 180, 255, .45) 0%, transparent 58%), radial-gradient(90% 90% at 0% 100%, rgba(30, 90, 200, .5) 0%, transparent 62%), linear-gradient(160deg, #10284A 0%, #0B1D38 60%, #081529 100%); }
.qahramon.ai::before { background: radial-gradient(90% 80% at 100% 0%, rgba(139, 92, 246, .55) 0%, transparent 58%), radial-gradient(90% 90% at 0% 100%, rgba(19, 168, 160, .5) 0%, transparent 62%), linear-gradient(160deg, #1A1640 0%, #120F2E 60%, #0C0A20 100%); }
.qahramon.yorug { color: var(--matn); background: var(--sath); box-shadow: var(--soya-2); }
.qahramon.yorug::before { background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--laym) 40%, transparent) 0%, transparent 60%), var(--sath); }
.qahramon.yorug::after { opacity: 0; }
.qahramon.ogoh { display: block; padding: 20px; font-size: inherit; line-height: inherit; color: #fff; background: var(--ormon); border-radius: var(--r-xl); }
.qahramon-ustki { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .75rem; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .7); }
.qahramon-sarlavha { font-size: 1.5rem; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; margin-top: 12px; }
.qahramon-izoh { font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .78); margin-top: 8px; }
.qahramon.yorug .qahramon-izoh, .qahramon.yorug .qahramon-ustki { color: var(--xira); }
.qahramon-olchov { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.qahramon-olchov > div { padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.qahramon-olchov > div + div { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .1); }
.qahramon-olchov span { font-size: .75rem; font-weight: 600; color: rgba(255, 255, 255, .62); letter-spacing: .02em; display: flex; align-items: center; gap: 5px; }
.qahramon-olchov b { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.qahramon-olchov .jarayon { margin-top: 4px; height: 4px; }
.qahramon .tugmalar { margin-top: 18px; }
.qahramon-rasm { position: absolute; z-index: -1; pointer-events: none; }

.qahramon-tor { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.qahramon-tor > .foto { border-radius: 18px; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .qahramon-tor { grid-template-columns: minmax(0, 1fr); } }
.k-yuqori-tor { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 1100px) { .k-yuqori-tor { grid-template-columns: minmax(0, 1fr); } }

/* Oq "balans" karta — to'q sarlavha ustida */
.holat-karta { position: relative; background: var(--sath); border-radius: 24px; padding: 18px; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 24px 48px -20px rgba(6, 30, 18, .35), 0 0 0 1px var(--chiziq); }
.holat-karta-bosh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.holat-karta-sarlavha { font-size: 1.3125rem; font-weight: 750; letter-spacing: -0.028em; line-height: 1.2; margin-top: 12px; }
.holat-karta-izoh { font-size: .875rem; color: var(--xira); line-height: 1.5; margin-top: 6px; }
.olchovlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-radius: 16px; background: var(--sath-2); box-shadow: inset 0 0 0 1px var(--chiziq); }
.olchovlar > div { padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.olchovlar > div + div { box-shadow: inset 1px 0 0 var(--chiziq); }
.olchovlar span { font-size: .75rem; font-weight: 600; color: var(--xira-2); }
.olchovlar b { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 5px; }
.olchovlar .jarayon { height: 4px; margin-top: 3px; }

/* Tezkor amallar */
.tezkor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tezkor > a, .tezkor > button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 0; font-size: .75rem; font-weight: 600; color: var(--matn); text-align: center; line-height: 1.2; transition: transform var(--t-tez) var(--e-out); }
.tezkor > a:active, .tezkor > button:active { transform: scale(.94); }
.tezkor .plitka { width: 56px; height: 56px; border-radius: 18px; }
.tezkor .plitka .ikon { width: 26px; height: 26px; }
.tezkor .plitka .hisoblagich { position: absolute; top: -4px; right: -4px; }

/* Ob-havo kartasi */
.havo { position: relative; overflow: hidden; isolation: isolate; color: #fff; border-radius: var(--r-xl); padding: 18px; background: linear-gradient(165deg, #2F7BD9 0%, #2364C4 50%, #1A4FA8 100%); box-shadow: 0 20px 36px -22px rgba(42, 108, 211, .8); }  /* 2.1: to'qroq ko'k — oq matn o'qiladi */
.havo::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -110px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 236, 160, .55) 0%, transparent 65%); }
.havo.tun { background: linear-gradient(165deg, #2A3B6E 0%, #1B2854 55%, #121C3E 100%); box-shadow: 0 20px 36px -22px rgba(18, 28, 62, .9); }
.havo.tun::before { background: radial-gradient(circle, rgba(200, 210, 255, .25) 0%, transparent 65%); }
.havo.sovuq { background: linear-gradient(165deg, #5E86C4 0%, #4467AE 50%, #34529A 100%); }
.havo.issiq { background: linear-gradient(165deg, #FFB25B 0%, #F0812F 55%, #D9601C 100%); box-shadow: 0 20px 36px -22px rgba(217, 96, 28, .8); }
.havo.bulut { background: linear-gradient(165deg, #8EA4B8 0%, #6E8499 55%, #566B80 100%); box-shadow: 0 20px 36px -22px rgba(86, 107, 128, .8); }
.havo-bosh { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.havo-joy { font-size: .8125rem; font-weight: 600; opacity: .9; display: flex; align-items: center; gap: 5px; }
.havo-harorat { font-size: 3.5rem; font-weight: 300; letter-spacing: -0.05em; line-height: 1; margin-top: 6px; font-variant-numeric: tabular-nums; }
.havo-holat { font-size: .875rem; font-weight: 600; opacity: .92; margin-top: 4px; }
.havo-rasm { width: 76px; height: 76px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .18)); }
.havo-soat { display: flex; justify-content: space-between; gap: 4px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .18); }
.havo-soat > div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; min-width: 0; flex: 1; }
.havo-soat > div > span { opacity: .78; }
.havo-soat > div > b { font-size: .875rem; font-variant-numeric: tabular-nums; }
.havo-soat .rangli { width: 26px; height: 26px; }
.havo-soat > div.on { background: rgba(255, 255, 255, .16); border-radius: 14px; padding: 6px 0; margin: -6px 0; }
.havo-ogoh { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .16); font-size: .8125rem; font-weight: 550; line-height: 1.4; }
.havo-ogoh .ikon { flex: none; }
.havo-oyna { margin-top: 14px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .14); font-size: .8125rem; font-weight: 550; }
.havo-oyna b { font-variant-numeric: tabular-nums; }
.havo-oyna-bar { display: flex; gap: 3px; margin: 9px 0 6px; }
.havo-oyna-bar i { flex: 1; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.havo-oyna-bar i.yaxshi { background: #86F0B0; } .havo-oyna-bar i.orta { background: #FFD983; } .havo-oyna-bar i.yomon { background: #FF9F90; }
.havo-kunlar > div { display: grid; grid-template-columns: 54px 30px 1fr; align-items: center; gap: 10px; padding: 9px 0; font-size: .875rem; }
.havo-kunlar > div + div { border-top: 1px solid var(--chiziq); }
.havo-kunlar .oraliq { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; font-weight: 600; }
.havo-kunlar .oraliq i { flex: 1; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #6CB4FA, #FFC24A); }

/* Ekin kartasi */
.ekin-karta { position: relative; display: flex; flex-direction: column; width: 228px; padding: 14px; border-radius: 22px; background: var(--sath); box-shadow: var(--soya-1); overflow: hidden; transition: transform var(--t) var(--e-out), box-shadow var(--t); }
.ekin-karta:active { transform: scale(.98); }
.ekin-karta:hover { box-shadow: var(--soya-2); }
.ekin-karta-bosh { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ekin-karta .ekin { width: 56px; height: 56px; }
.ekin-karta-nom { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.ekin-karta-izoh { font-size: .8125rem; color: var(--xira-2); margin-top: 1px; }
.ekin-karta-past { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; font-size: .75rem; color: var(--xira-2); }
.ekin-karta-past b { color: var(--matn); font-size: .875rem; font-variant-numeric: tabular-nums; }
.ekin-karta .jarayon { margin-top: 8px; }
.ekin-karta.qoshish { align-items: center; justify-content: center; text-align: center; gap: 8px; background: transparent; box-shadow: none; outline: 1.5px dashed var(--chiziq-3); outline-offset: -1.5px; color: var(--xira); font-weight: 600; font-size: .875rem; width: 150px; }

/* Tashxis */
.tashxis { overflow: hidden; border-radius: 24px; background: var(--sath); box-shadow: var(--soya-2); }
.tashxis > .foto { border-radius: 0; aspect-ratio: 16 / 10; }
.tashxis-tana { padding: 16px; }
.tashxis-nom { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.025em; line-height: 1.2; }
.tashxis-lotin { font-size: .8125rem; font-style: italic; color: var(--xira-2); margin-top: 2px; }
.ishonch { display: grid; gap: 6px; margin-top: 14px; }
.ishonch-bosh { display: flex; justify-content: space-between; align-items: baseline; font-size: .8125rem; color: var(--xira); }
.ishonch-bosh b { font-size: 1rem; color: var(--matn); font-variant-numeric: tabular-nums; }
.tavsiya-qadamlar { counter-reset: q; display: grid; gap: 12px; }
.tavsiya-qadamlar > li { counter-increment: q; display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: .875rem; line-height: 1.5; color: var(--xira); }
.tavsiya-qadamlar > li::before { content: counter(q); width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: var(--yashil-matn); background: var(--yashil-och); }
.tavsiya-qadamlar > li b { color: var(--matn); }

/* Suhbat */
.suhbat-bosh { display: flex; align-items: center; gap: 12px; padding: 4px 0 12px; }
.suhbat-bosh .osadi { flex: 1; min-width: 0; }
.suhbat-nom { font-weight: 700; font-size: 1rem; letter-spacing: -0.015em; display: flex; align-items: center; gap: 6px; }
.suhbat-holat { font-size: .75rem; color: var(--yashil); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.suhbat-holat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gaplar { display: flex; flex-direction: column; gap: 6px; }
.gap { position: relative; max-width: 84%; padding: 10px 14px; border-radius: 20px; font-size: .9375rem; line-height: 1.45; word-wrap: break-word; animation: gapKir .35s var(--e-out) both; }
.gap.men { align-self: flex-end; background: var(--yashil-tugma); color: #fff; border-bottom-right-radius: 6px; background-image: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent); }
.gap.u { align-self: flex-start; background: var(--sath); box-shadow: var(--soya-1); border-bottom-left-radius: 6px; }
.gap.toliq { max-width: 100%; width: 100%; padding: 0; background: none; box-shadow: none; }
.gap-vaqt { display: inline-flex; align-items: center; gap: 3px; float: right; margin: 8px -4px -4px 10px; font-size: .75rem; font-weight: 500; opacity: .85; font-variant-numeric: tabular-nums; }
.gap-vaqt .ikon { width: 14px; height: 14px; stroke-width: 2.2; }
.gap.men .gap-vaqt { opacity: 1; }  /* 2.1: yashil pufakda vaqt o'qiladi (4,5:1+) */
.gap.rasmli { padding: 4px; width: 66%; }
.gap.rasmli .foto { border-radius: 16px; }
.gap.rasmli .gap-vaqt { position: absolute; right: 12px; bottom: 10px; float: none; margin: 0; padding: 2px 6px; border-radius: 8px; background: rgba(0, 0, 0, .4); color: #fff; opacity: 1; }
.gap + .gap.men, .gap.u + .gap.u { margin-top: 0; }
.gap.men + .gap.u, .gap.u + .gap.men { margin-top: 10px; }
.kun-ajratgich { align-self: center; margin: 12px 0 8px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--matn) 6%, transparent); color: var(--xira); font-size: .75rem; font-weight: 600; }
.yozilmoqda { align-self: flex-start; display: inline-flex; gap: 4px; padding: 14px 16px; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--sath); box-shadow: var(--soya-1); }
.yozilmoqda i { width: 7px; height: 7px; border-radius: 50%; background: var(--xira-3); animation: sakra 1.2s infinite; }
.yozilmoqda i:nth-child(2) { animation-delay: .15s; } .yozilmoqda i:nth-child(3) { animation-delay: .3s; }
.ovozli { display: flex; align-items: center; gap: 10px; min-width: 210px; }
.ovozli .iconbtn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: inherit; }
.gap.u .ovozli .iconbtn { background: var(--yashil-och); color: var(--yashil); }
.tolqin { flex: 1; display: flex; align-items: center; gap: 2px; height: 26px; }
.tolqin i { flex: 1; border-radius: 2px; background: currentColor; opacity: .55; }
.tolqin i.on { opacity: 1; }
.tezkor-javob { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px calc(-1 * var(--g)) 0; padding: 4px var(--g); }
.tezkor-javob::-webkit-scrollbar { display: none; }
.tezkor-javob > button, .tezkor-javob > a { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; font-size: .8125rem; font-weight: 600; color: var(--yashil-matn); background: var(--sath); box-shadow: inset 0 0 0 1px var(--yashil-och-2); display: inline-flex; align-items: center; gap: 6px; }

.yozish { display: flex; align-items: flex-end; gap: 8px; }
.yozish-maydon { flex: 1; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 16px; border-radius: 24px; background: var(--sath); box-shadow: 0 0 0 1px var(--chiziq-2), 0 4px 14px -6px rgba(11, 23, 16, .14); }
.yozish-maydon input, .yozish-maydon > span:not(.iconbtn):not(.yozuv-nuqta):not(.yozish-katta) { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: .9375rem; color: var(--matn); }
.yozish-maydon > span:not(.iconbtn):not(.yozuv-nuqta):not(.yozish-katta) { color: var(--xira-2); }
.yozish-maydon input::placeholder { color: var(--xira-2); opacity: .85; }
.yozish-maydon .iconbtn { width: 38px; height: 38px; border-radius: 50%; color: var(--xira); }
.yozish-katta { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; background: radial-gradient(120% 120% at 30% 20%, #3FD889 0%, #15874F 55%, #0B5C37 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 18px -6px rgba(19, 128, 79, .6); transition: transform var(--t-tez) var(--e-out); }
.yozish-katta:active { transform: scale(.92); }
.yozish-katta .ikon { width: 22px; height: 22px; stroke-width: 2; }

.gap-muallif { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; color: var(--xira-2); margin: 0 0 8px 2px; }
.gap-muallif .avatar { width: 22px; height: 22px; font-size: .75rem; }
.gap-muallif .avatar .ikon { width: 62%; height: 62%; }
.gap-muallif a { color: var(--yashil); }
.gap.rasmli .gap-izoh { padding: 8px 10px 4px; }
.gap.rasmli .gap-izoh .gap-vaqt { position: static; float: right; margin: 8px -2px -2px 10px; padding: 0; background: none; color: inherit; opacity: .75; }
.gap.toliq > * + * { margin-top: 10px; }
.gap.agronom { background: var(--kok-och); box-shadow: none; }
.yozuv-nuqta { width: 10px; height: 10px; border-radius: 50%; background: var(--qizil); flex: none; animation: miltilla 1.2s infinite; }
.tanlov.ustun.markaz { align-items: center; }
.preparat-blok + .preparat-blok { border-top: 1px solid var(--chiziq); margin-top: 16px; padding-top: 16px; }

/* Mahsulot */
.mahsulotlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mahsulot { position: relative; display: flex; flex-direction: column; border-radius: 20px; background: var(--sath); box-shadow: var(--soya-1); overflow: hidden; transition: box-shadow var(--t), transform var(--t) var(--e-out); }
.mahsulot:hover { box-shadow: var(--soya-2); }
.mahsulot:active { transform: scale(.985); }
.mahsulot > .qadoq { border-radius: 0; margin: 0; }
.mahsulot-belgilar { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.mahsulot-sevimli { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--sath) 85%, transparent); color: var(--xira); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.mahsulot-sevimli .ikon { width: 16px; height: 16px; }
.mahsulot-tana { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.mahsulot-tur { font-size: .75rem; font-weight: 600; color: var(--xira-2); text-transform: uppercase; letter-spacing: .05em; }
.mahsulot-nom { font-size: .875rem; font-weight: 650; line-height: 1.3; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mahsulot-past { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.narx { font-size: 1rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.narx small { font-size: .75rem; font-weight: 600; color: var(--xira-2); letter-spacing: 0; margin-left: 1px; }
.narx s { display: block; font-size: .75rem; font-weight: 500; color: var(--xira-2); letter-spacing: 0; }
.qoshish-tugma { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; color: #fff; background: var(--yashil-tugma); box-shadow: var(--soya-brend); transition: transform var(--t-tez) var(--e-spring); }
.qoshish-tugma:active { transform: scale(.88); }
.qoshish-tugma .ikon { width: 18px; height: 18px; stroke-width: 2.4; }
.qoshish-tugma.qoshildi { background: var(--yashil-och); color: var(--yashil); box-shadow: none; }
.mahsulot.qator-shakl { flex-direction: row; align-items: center; gap: 12px; padding: 10px; }
.mahsulot.qator-shakl > .qadoq { width: 76px; height: 76px; border-radius: 14px; aspect-ratio: auto; flex: none; }
.mahsulot.qator-shakl .mahsulot-tana { padding: 0; }

/* Banner (aksiya) */
.banner { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 12px; min-height: 140px; padding: 18px; border-radius: 24px; color: #fff; background: var(--g-yashil); width: 100%; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("rasm/kontur.svg") 50% 50% / 420px auto; opacity: .14; mix-blend-mode: screen; }
.banner-matn { flex: 1; min-width: 0; position: relative; z-index: 1; }
.banner-ustki { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.banner-sarlavha { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.025em; line-height: 1.2; margin-top: 6px; }
.banner-izoh { font-size: .8125rem; opacity: .85; margin-top: 6px; }
.banner .qadoq { width: 112px; height: 112px; flex: none; background: none; }
.banner.kok { background: linear-gradient(135deg, #2F6FD6 0%, #1B4FA8 100%); }
.banner.toq { background: linear-gradient(135deg, #12382A 0%, #0A2219 100%); }
.banner.sariq { background: linear-gradient(135deg, #F4A321 0%, #D77B06 100%); }
.banner.binafsha { background: linear-gradient(135deg, #7B5CF0 0%, #4B30C0 100%); }
.banner.qizil { background: linear-gradient(135deg, #E9573F 0%, #B8301F 100%); }

/* Do'kon qatori */
.dokon-karta { display: flex; gap: 12px; align-items: center; }
.dokon-belgi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: #fff; font-weight: 750; font-size: .9375rem; background: var(--g-toq); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }

/* Pastki panel (Telegram MainButton o'rnida) */
.past-panel { display: flex; align-items: center; gap: 12px; margin: 0 -12px -26px; padding: 12px 16px 32px; background: color-mix(in srgb, var(--sath) 82%, transparent); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); box-shadow: 0 -1px 0 var(--chiziq); }
.past-panel > .tugma { flex: 1; }
.past-panel-matn { flex: none; display: flex; flex-direction: column; }
.past-panel-matn :where(span) { font-size: .75rem; color: var(--xira-2); font-weight: 500; }
.past-panel-matn b { font-size: 1.125rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* Profil sarlavhasi */
.profil-bosh { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 0 4px; }
.profil-bosh .avatar { margin-bottom: 12px; }
.profil-ism { font-size: 1.375rem; font-weight: 750; letter-spacing: -0.03em; }
.profil-izoh { font-size: .875rem; color: var(--xira-2); margin-top: 2px; }

/* ===== 20. Kabinet (veb) ========================================== */
body.qobiq-kabinet { background: var(--fon); }
.k-qobiq { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 100vh; }
.k-yon { position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; padding: 14px 12px 12px; color: rgba(255, 255, 255, .74); background: #0A2419; isolation: isolate; z-index: 40; }
.k-yon::-webkit-scrollbar { display: none; }
.k-yon > * { flex-shrink: 0; }
.k-yon::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 50% at 0% 0%, rgba(47, 194, 122, .22) 0%, transparent 60%), radial-gradient(100% 40% at 100% 100%, rgba(198, 243, 94, .12) 0%, transparent 60%), linear-gradient(180deg, #0D2D1F 0%, #09211A 100%); }
.k-yon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("rasm/kontur.svg") 0 100% / 600px auto no-repeat; opacity: .08; mix-blend-mode: screen; }
.k-brend { display: flex; align-items: center; gap: 11px; padding: 6px 8px 16px; color: #fff; }
.k-brend-belgi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #0A2A1C; background: var(--g-laym); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 16px -6px rgba(198, 243, 94, .6); }
.k-brend-belgi .ikon { width: 20px; height: 20px; stroke-width: 2.1; }
.k-brend-nom { font-weight: 750; font-size: 1.0625rem; letter-spacing: -0.02em; line-height: 1.1; }
.k-brend-izoh { font-size: .75rem; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.k-ishxona { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 14px; text-align: left; color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); transition: background var(--t-tez); }
.k-ishxona:hover { background: rgba(255, 255, 255, .1); }
.k-ishxona.statik { cursor: default; } .k-ishxona.statik:hover { background: rgba(255, 255, 255, .06); }
.k-ishxona-joy { position: relative; }
.k-yon .k-ishxona-oyna { top: calc(100% + 6px); left: 0; right: auto; width: 100%; color: var(--matn); }
.k-ishxona .avatar { box-shadow: none; }
.k-ishxona-nom { font-weight: 650; font-size: .875rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-ishxona-izoh { font-size: .75rem; color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-ishxona .ikon { color: rgba(255, 255, 255, .45); width: 16px; height: 16px; }
.k-qidir { display: flex; align-items: center; gap: 10px; height: 38px; margin-top: 12px; padding: 0 10px; border-radius: 11px; color: rgba(255, 255, 255, .55); background: rgba(0, 0, 0, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); font-size: .8125rem; width: 100%; text-align: left; }
.k-qidir:hover { color: rgba(255, 255, 255, .8); }
.k-qidir .ikon { width: 16px; height: 16px; }
.k-qidir kbd { margin-left: auto; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); box-shadow: none; }
.k-guruh { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.k-guruh-nom { font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .58); padding: 6px 10px 6px; }
.k-band { position: relative; display: flex; align-items: center; gap: 11px; height: 38px; padding: 0 10px; border-radius: 10px; font-size: .875rem; font-weight: 550; color: rgba(255, 255, 255, .72); transition: background var(--t-tez), color var(--t-tez); width: 100%; text-align: left; }
.k-band .ikon { width: 18px; height: 18px; color: rgba(255, 255, 255, .5); transition: color var(--t-tez); }
.k-band:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.k-band:hover .ikon { color: rgba(255, 255, 255, .8); }
.k-band.faol { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.k-band.faol .ikon { color: var(--laym); }
.k-band.faol::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--laym); }
.k-band > span:first-of-type { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-band .k-son { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .1); font-variant-numeric: tabular-nums; }
.k-band .k-son.urgu { color: #0A2A1C; background: var(--laym); }
.k-yon-past { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.k-limit { padding: 14px; border-radius: 16px; background: linear-gradient(160deg, rgba(198, 243, 94, .14), rgba(198, 243, 94, .04)); box-shadow: inset 0 0 0 1px rgba(198, 243, 94, .16); color: #fff; }
.k-limit-bosh { display: flex; align-items: center; justify-content: space-between; font-size: .8125rem; font-weight: 650; }
.k-limit-bosh span { color: rgba(255, 255, 255, .6); font-weight: 600; font-variant-numeric: tabular-nums; }
.k-limit p { font-size: .75rem; color: rgba(255, 255, 255, .6); margin-top: 8px; line-height: 1.45; }
.k-limit .jarayon { margin-top: 10px; background: rgba(255, 255, 255, .12); height: 6px; }
.k-odam { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; color: #fff; }
.k-odam:hover { background: rgba(255, 255, 255, .06); }
.k-odam-nom { font-weight: 650; font-size: .875rem; line-height: 1.2; }
.k-odam-izoh { font-size: .75rem; color: rgba(255, 255, 255, .55); }
.k-odam .iconbtn { color: rgba(255, 255, 255, .6); margin-left: auto; }
.k-odam .iconbtn:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.k-asosiy { min-width: 0; display: flex; flex-direction: column; overflow-x: clip; }
.k-yuqori { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 32px; background: color-mix(in srgb, var(--fon) 82%, transparent); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 1px 0 transparent; transition: box-shadow var(--t); }
.k-yuqori.aylangan { box-shadow: 0 1px 0 var(--chiziq); }
.k-menyu-tugma { display: none; }
.k-non-yoli { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; font-size: .875rem; color: var(--xira-2); white-space: nowrap; overflow: hidden; }
.k-non-yoli a:hover { color: var(--matn); }
.k-non-yoli { padding-block: 10px; } .k-non-yoli a { position: relative; } .k-non-yoli a::after { content: ""; position: absolute; inset: -10px -6px; }  /* 2.1: non yo'li havolasi bosish joyi */
.k-non-yoli .ikon { width: 14px; height: 14px; color: var(--xira-3); }
.k-non-yoli b { color: var(--matn); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.k-qidiruv { display: flex; align-items: center; gap: 10px; width: 300px; height: 40px; padding: 0 8px 0 12px; border-radius: 12px; background: var(--sath); box-shadow: var(--soya-1); color: var(--xira-2); font-size: .875rem; cursor: pointer; }
.k-qidiruv .ikon { width: 17px; height: 17px; }
.k-qidiruv kbd { margin-left: auto; }
.k-ai-tugma { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 12px; font-size: .875rem; font-weight: 650; color: var(--matn); background: var(--sath); box-shadow: var(--soya-1); }
.k-ai-tugma .ai-belgi { width: 22px; height: 22px; }
.k-tana { width: 100%; max-width: 1440px; margin: 0 auto; padding: 8px 32px 72px; }
.k-sahifa-bosh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin: 12px 0 24px; flex-wrap: wrap; }
.k-sahifa-bosh > .osadi { min-width: 260px; }
.k-sahifa-ustki { display: flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; color: var(--xira-2); margin-bottom: 8px; }
.k-sahifa-sarlavha { font-size: 1.875rem; font-weight: 750; letter-spacing: -0.035em; line-height: 1.12; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.k-sahifa-izoh { font-size: .9375rem; color: var(--xira); margin-top: 6px; max-width: 720px; }
.k-sahifa-amallar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.k-qobiq .tugma { height: 40px; padding: 0 16px; border-radius: 11px; font-size: .875rem; }
.k-qobiq .tugma.k { height: 32px; padding: 0 12px; border-radius: 9px; font-size: .8125rem; }
.k-qobiq .tugma.l { height: 48px; padding: 0 22px; border-radius: 14px; font-size: .9375rem; }
.k-qobiq .tugma .ikon { width: 18px; height: 18px; }
.k-qobiq .maydon { height: 42px; border-radius: 11px; font-size: .875rem; }
.k-qobiq textarea.maydon { height: auto; }
.k-qobiq .karta { border-radius: var(--r); }
.k-qobiq .karta.keng { padding: var(--b6); }
.k-qobiq .stat, .k-qobiq .royxat, .k-qobiq .jadval-karta { border-radius: var(--r); }
.k-qobiq .bolim { margin-top: 32px; }
.k-qobiq .bolim-sarlavha { font-size: 1.125rem; }
.k-qobiq .qahramon { border-radius: 22px; padding: 26px 28px; }
.k-qobiq .qahramon-sarlavha { font-size: 1.75rem; }
.k-ikki { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.k-ikki.teng { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.k-ikki.chap-tor { grid-template-columns: 300px minmax(0, 1fr); }
.k-yonma { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 84px; }
.k-qobiq .tor-2, .k-qobiq .tor-3, .k-qobiq .tor-4 { gap: 16px; }
.k-past-menyu { display: none; }

.k-ochilma { position: absolute; z-index: 60; top: 56px; right: 24px; width: 380px; max-height: 70vh; overflow: auto; border-radius: 18px; background: var(--sath-ust); box-shadow: var(--soya-3); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .18s, transform .22s var(--e-out); }
.k-ochilma.ochiq { opacity: 1; transform: none; pointer-events: auto; }
.k-ochilma-bosh { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; font-weight: 700; }

.buyruq { position: fixed; inset: 0; z-index: 700; display: flex; justify-content: center; align-items: flex-start; padding-top: 12vh; background: rgba(4, 10, 7, .4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .18s; }
.buyruq.ochiq { opacity: 1; pointer-events: auto; }
.buyruq-oyna { width: min(640px, 92vw); border-radius: 20px; background: var(--sath-ust); box-shadow: var(--soya-4); overflow: hidden; transform: scale(.97); transition: transform .22s var(--e-out); }
.buyruq.ochiq .buyruq-oyna { transform: none; }
.buyruq-kirish { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 60px; border-bottom: 1px solid var(--chiziq); }
.buyruq-kirish input { flex: 1; border: 0; outline: none; background: none; font-size: 1rem; color: var(--matn); }
.buyruq-kirish .ikon { color: var(--xira-2); }
.buyruq-natija { max-height: 52vh; overflow: auto; padding: 8px; }
.buyruq-guruh { font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--xira-2); padding: 10px 10px 6px; }
.buyruq-band { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 10px; border-radius: 11px; font-size: .875rem; font-weight: 550; color: var(--matn); }
.buyruq-band .plitka { width: 28px; height: 28px; border-radius: 8px; }
.buyruq-band .plitka .ikon { width: 15px; height: 15px; }
.buyruq-band.on, .buyruq-band:hover { background: var(--sath-3); }
.buyruq-band kbd { margin-left: auto; }
.buyruq-past { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--chiziq); font-size: .75rem; color: var(--xira-2); background: var(--sath-2); }

@media (max-width: 1240px) {
  .k-ikki { grid-template-columns: minmax(0, 1fr) 320px; }
  .k-qidiruv { width: 220px; }
}
@media (max-width: 1100px) {
  .k-qobiq { grid-template-columns: 236px minmax(0, 1fr); }
  .k-ikki, .k-ikki.chap-tor, .k-ikki.teng { grid-template-columns: minmax(0, 1fr); }
  .k-yonma { position: static; }
  .k-qobiq .tor-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-qobiq .tor-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .k-qobiq { grid-template-columns: minmax(0, 1fr); }
  .k-yon { position: fixed; left: 0; top: var(--ust-tasma, 0px); bottom: 0; width: 288px; transform: translateX(-100%); transition: transform .3s var(--e-out); box-shadow: var(--soya-4); }
  .k-qobiq.yon-ochiq .k-yon { transform: none; }
  .k-menyu-tugma { display: inline-grid; }
  .k-yuqori { padding: 0 16px; }
  .k-qidiruv, .k-ai-tugma > span { display: none; }
  .k-tana { padding: 4px 16px 112px; }
  .k-qobiq .tor-3, .k-qobiq .tor-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-sahifa-sarlavha { font-size: 1.5rem; }
  /* Pastki menyu — Mini App'dagi `.wa-past` (qobiq.css, «Kabinet: telefonda Mini App») */
}
@media (max-width: 560px) {
  .k-qobiq .tor-2, .k-qobiq .tor-3, .k-qobiq .tor-4, .k-qobiq .tor-5 { grid-template-columns: minmax(0, 1fr); }
  .k-qobiq .tor-4.ikki-mobil, .k-qobiq .tor-2.ikki-mobil { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-qobiq .qahramon { padding: 20px; }
  .k-qobiq .qahramon-sarlavha { font-size: 1.375rem; }
  .k-sahifa-amallar { width: 100%; }
  .k-qobiq .forma-juft, .k-qobiq .forma-uch, .auth .forma-uch { grid-template-columns: minmax(0, 1fr); }
}

/* Pastki menyu (Mini App va kabinet mobil) */
.tab { position: relative; flex: 1; min-width: 0; height: 54px; border-radius: 27px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--xira-2); font-size: .75rem; font-weight: 650; letter-spacing: 0; transition: color var(--t), background var(--t); }
.tab .ikon { width: 24px; height: 24px; stroke-width: 1.8; }
.tab.faol { color: var(--havola); background: color-mix(in srgb, var(--yashil) 11%, transparent); }
.tab.faol .ikon { --ikon-f: color-mix(in srgb, currentColor 20%, transparent); stroke-width: 2; }
.tab-nom { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab .tab-belgi { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff; background: var(--qizil-nishon); box-shadow: 0 0 0 2px var(--sath); }

/* ===== 21. Ochiq sahifalar (landing, kirish) ====================== */
body.qobiq-ochiq { background: var(--fon); }
.ichki { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ochiq-nav { position: sticky; top: 0; z-index: 50; height: 68px; display: flex; align-items: center; gap: 28px; padding: 0 max(24px, calc((100% - 1200px) / 2 + 24px)); background: color-mix(in srgb, var(--fon) 80%, transparent); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: 0 1px 0 var(--chiziq); }
.ochiq-nav.toq { background: rgba(7, 26, 17, .55); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); color: #fff; }
.ochiq-nav nav { display: flex; gap: 24px; font-size: .875rem; font-weight: 550; color: var(--xira); }
.ochiq-nav.toq nav { color: rgba(255, 255, 255, .86); }
.ochiq-nav nav a:hover { color: var(--matn); }
.ochiq-nav.toq nav a:hover { color: #fff; }
.ochiq-nav .ong { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.ochiq-nav .k-brend { padding: 0; color: inherit; }
.ochiq-nav .k-brend-izoh { color: var(--xira-2); }
.ochiq-nav.toq .k-brend-izoh { color: rgba(255, 255, 255, .72); }
.ochiq-nav .tugma { height: 40px; padding: 0 16px; border-radius: 11px; font-size: .875rem; }
.ustki-yozuv { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yashil); }
.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.auth-yon { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 32px 40px; color: #fff; background: #0A2419; }
.auth-yon::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 50% at 100% 0%, rgba(198, 243, 94, .28), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(35, 168, 102, .5), transparent 65%), linear-gradient(170deg, #0F3826, #08201A); }
.auth-yon::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("rasm/kontur.svg") 50% 50% / 640px auto; opacity: .12; mix-blend-mode: screen; }
.auth-forma { display: flex; flex-direction: column; justify-content: center; padding: 48px max(32px, 8%); background: var(--sath); }
.auth-forma-ichi { width: 100%; max-width: 400px; margin: 0 auto; }
@media (max-width: 920px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-yon { display: none; } .auth-forma { padding: 32px 20px; } }

/* ===== 22. Mini App qobig'i (ilova) ================================
 * Maket qobig'idan faqat ilovaga kerakli qismi: pastki blok, menyu, kamera
 * tugmasi va 2.1 tuzatishlari. Telefon ramkasi, maket paneli, izoh tortmasi
 * va dizayn solishtirish paneli ko'chirilmadi. Joylashuv (fixed pastki blok,
 * Telegram xavfsiz hududi) — `qobiq.css` da. */
.ust-fon { position: absolute; top: 0; left: 0; right: 0; height: 96px; z-index: 100; pointer-events: none; opacity: 0; background: color-mix(in srgb, var(--fon) 78%, transparent); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 1px 0 var(--chiziq); transition: opacity var(--t); }
.qobiq-wa.aylangan .ust-fon { opacity: 1; }
.wa-past { position: absolute; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; flex-direction: column; gap: 10px; padding: 0 12px 26px; pointer-events: none; }
.wa-past > * { pointer-events: auto; }
.wa-past::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--fon) 85%, transparent)); }
.wa-past.panelli::before { display: none; }
.tab-qator { display: flex; align-items: center; gap: 10px; }
.tab-bar { flex: 1; min-width: 0; height: 64px; display: flex; align-items: center; padding: 0 5px; border-radius: 32px; background: color-mix(in srgb, var(--sath) 78%, transparent); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%); box-shadow: 0 0 0 .5px var(--chiziq-2), 0 12px 32px -12px rgba(11, 23, 16, .3), inset 0 1px 0 rgba(255, 255, 255, .5); }
.fab { position: relative; width: 64px; height: 64px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; background: radial-gradient(120% 120% at 30% 20%, #45DE8F 0%, #15874F 55%, #0B5C37 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 0 0 .5px rgba(0, 0, 0, .1), 0 14px 28px -10px rgba(19, 128, 79, .7); transition: transform var(--t-tez) var(--e-out); }
.fab:active { transform: scale(.93); }
.fab .ikon { width: 27px; height: 27px; stroke-width: 2; }
.fab::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--yashil) 35%, transparent); animation: fabPuls 2.6s var(--e-out) infinite; }
.qobiq-wa .toast { bottom: calc(var(--past-h, 64px) + 12px); }
/* 2.1: parda Telegram sarlavhasi (Yopish/Orqaga) ostiga kirmaydi */
.qobiq-wa { --xavfsiz-ust: 100px; }
.qobiq-wa .sheet { max-height: calc(100% - var(--xavfsiz-ust)); }
.qobiq-wa .modal { max-height: calc(100% - var(--xavfsiz-ust) - 24px); }
.qobiq-wa .parda.markaz { padding-top: var(--xavfsiz-ust); }
/* 2.1: barmoq uchun o'lchamlar (Mini App) — kamida 40px, kichik ikonka tugmalarda bosish joyi kengaytiriladi */
.qobiq-wa .miqdor { height: 44px; } .qobiq-wa .miqdor button { width: 38px; height: 38px; }
.qobiq-wa .miqdor.k { height: 40px; } .qobiq-wa .miqdor.k button { width: 34px; height: 34px; }
.qobiq-wa .miqdor button { position: relative; } .qobiq-wa .miqdor button::after { content: ""; position: absolute; inset: -3px -1px; }
.qobiq-wa .qoshish-tugma { width: 40px; height: 40px; border-radius: 12px; }
.qobiq-wa .chip.k { height: 34px; padding: 0 12px; }
.qobiq-wa .segs > button, .qobiq-wa .segs > a { height: 40px; }
.qobiq-wa .segs.k > button, .qobiq-wa .segs.k > a { height: 34px; }
.qobiq-wa .tugma.k { height: 40px; }
.qobiq-wa .iconbtn.k { width: 36px; height: 36px; }
.qobiq-wa .iconbtn.k::before, .qobiq-wa .mahsulot-sevimli::before { content: ""; position: absolute; inset: -4px; }
.qobiq-wa .mahsulot-sevimli { width: 36px; height: 36px; }
/* ===== 23. Harakat ================================================ */
@keyframes kirish { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes aylan { to { transform: rotate(360deg); } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes puls { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes fabPuls { 0% { transform: scale(.94); opacity: .9; } 70% { transform: scale(1.12); opacity: 0; } 100% { opacity: 0; } }
@keyframes sakra { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes tolish { from { width: 0; } }
@keyframes gapKir { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes skaner { 0% { transform: translateY(-100%); } 100% { transform: translateY(250%); } }
@keyframes miltilla { 50% { opacity: .3; } }
@keyframes suzish { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.anim > * { animation: kirish .55s var(--e-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
.suzadi { animation: suzish 6s ease-in-out infinite; }
.anim-yoq *, .anim-yoq *::before, .anim-yoq *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ===== 24. Yordamchi sinflar ====================================== */
.qator-f { display: flex; align-items: center; gap: 8px; min-width: 0; }
.qator-f.ora, .ora { justify-content: space-between; }
.qator-f.boshi { align-items: flex-start; }
.qator-f.oxiri { align-items: flex-end; }
.qator-f.orala { flex-wrap: wrap; }
.osadi { flex: 1; min-width: 0; }
.qisqa { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.markaz { text-align: center; }
.ong-tomon { margin-left: auto; }
.w-100 { width: 100%; }
.son { font-variant-numeric: tabular-nums; }
.mayda { font-size: .75rem; }
.kichik { font-size: .8125rem; }
.oddiy-m { font-size: .9375rem; }
.katta-m { font-size: 1.0625rem; }
.qalin { font-weight: 650; }
.yarim { font-weight: 550; }
.xira { color: var(--xira); }
.xira-2 { color: var(--xira-2); }
.xira-3 { color: var(--xira-3); }
.ustki { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--xira-2); }
.lotin { font-style: italic; }
.katta-son { font-size: 2.25rem; font-weight: 750; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.c-yashil { color: var(--yashil-matn); } .c-kok { color: var(--kok-matn); } .c-sariq { color: var(--sariq-matn); } .c-qizil { color: var(--qizil-matn); }
.c-binafsha { color: var(--binafsha-matn); } .c-zangori { color: var(--zangori-matn); } .c-oq { color: #fff; } .c-matn { color: var(--matn); }
.ai-matn { background: var(--g-ai); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ajratgich { height: 1px; background: var(--chiziq); margin: 14px 0; }
.gap-0 { gap: 0 !important; } .gap-1 { gap: 4px !important; } .gap-2 { gap: 8px !important; } .gap-3 { gap: 12px !important; } .gap-4 { gap: 16px !important; } .gap-5 { gap: 20px !important; } .gap-6 { gap: 24px !important; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 4px !important; } .mt-2 { margin-top: 8px !important; } .mt-3 { margin-top: 12px !important; } .mt-4 { margin-top: 16px !important; } .mt-5 { margin-top: 20px !important; } .mt-6 { margin-top: 24px !important; } .mt-8 { margin-top: 32px !important; }
.mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 4px !important; } .mb-2 { margin-bottom: 8px !important; } .mb-3 { margin-bottom: 12px !important; } .mb-4 { margin-bottom: 16px !important; } .mb-5 { margin-bottom: 20px !important; } .mb-6 { margin-bottom: 24px !important; }
.p-0 { padding: 0 !important; }
.yashirin { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 880px) { .faqat-desktop { display: none !important; } }
@media (min-width: 881px) { .faqat-mobil { display: none !important; } }
