@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/inter-400.woff) format('woff');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/inter-500.woff) format('woff');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/inter-600.woff) format('woff');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/inter-700.woff) format('woff');}
/* Mastero — dizayn tizimi.
   Joylashuv: telefon uchun bitta ustun (kompyuterda markazda 600px), tepada yopishqoq sarlavha,
   pastda bo'limlar paneli; sahifalar o'ngdan suriladi, formalar pastdan chiqadi. */
:root {
  --bg: #f2f4f7; --bg-out: #e4e8ee; --surface: #ffffff; --surface-2: #f2f5f8; --surface-3: #e4e9ef;
  --fg: #17212e; --muted: #586474; --faint: #8a95a3; --line: #d8dee6; --line-2: #e8ecf1;
  --brand: #0e7e63; --brand-2: #0a5c4a; --brand-text: #0b6e57; --brand-weak: #d6efe7; --brand-ink: #ffffff; --on-weak: #06503f;
  --navy: #2f4148; --navy-ink: #ffffff; --glow: rgba(14, 126, 99, .28);
  --ok: #217844; --ok-w: #dcefe2; --bad: #bd3627; --bad-w: #f9e1dc; --warn: #935d00; --warn-w: #fbeed1; --info: #2a63a3; --info-w: #e1ebf7;
  --s-plan: #627187; --s-conf: #2d6cb2; --s-prod: #0d7284; --s-ship: #b86a00; --s-done: #217844;
  --cat-material: #9a7646; --cat-furnitura: #4b7790; --cat-sex: #7a5fa3; --cat-yol: #c05a2a; --cat-yuk: #8a5a3a; --cat-ishhaqi: #3b8758; --cat-asbob: #6a717d; --cat-boshqa: #878c93; --cat-zapchast: #5b6b8a; --cat-moy: #8a6d1f; --cat-quvur: #2f7f8c; --cat-ovqat: #a8476b;
  --cat-santex: #2a87b0; --cat-ijara: #8a6a3c; --cat-chiqindi: #737a83; --cat-kabel: #c0612b; --cat-avtomat: #a77808; --cat-jihoz: #c99212; --cat-xizmat: #6b5bb0;
  --tg: #2aa3e0;
  --sh: 0 1px 2px rgba(20, 32, 48, .06), 0 4px 14px rgba(20, 32, 48, .05);
  --sh-lg: 0 18px 48px rgba(22, 28, 24, .22);
  --f: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --tab-h: 64px; --col: 600px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0c11; --bg-out: #07080b; --surface: #14171f; --surface-2: #1d212c; --surface-3: #2b3242;
    --fg: #f5f6fa; --muted: #9da0b3; --faint: #6f7385; --line: #252831; --line-2: #1a1d25;
    --brand: #0e7e63; --brand-2: #0a5c4a; --brand-text: #3cc7a1; --brand-weak: #0f2f28; --brand-ink: #ffffff; --on-weak: #8fe0c9;
    --navy: #6f9fe0; --navy-ink: #0b0c11; --glow: rgba(14, 126, 99, .38);
    /* Ai Market boti: fon nuri, CapCut kartasi (to'q kulrang) va ChatGPT kartasi (yashil) gradientlari */
    --bg-img: radial-gradient(140% 420px at 50% -90px, #1d2043 0%, rgba(29, 32, 67, .55) 38%, rgba(11, 12, 17, 0) 78%);
    --card-grad: radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #2b3242 0%, #1d212c 34%, #14171f 64%, #0e0f14 100%);
    --gpt-grad: radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(160deg, #0e7e63 0%, #0a5c4a 46%, #06382f 100%);
    --tg-act: color-mix(in srgb, #0e7e63 34%, transparent);
    --ok: #5bc184; --ok-w: #17301f; --bad: #ef7262; --bad-w: #3a1e1a; --warn: #e6aa4c; --warn-w: #372911; --info: #73aef0; --info-w: #172a3e;
    --s-plan: #96a4b8; --s-conf: #6aa6e6; --s-prod: #3fbfb0; --s-ship: #f5b23d; --s-done: #5bc184;
    --cat-material: #c8a66d; --cat-furnitura: #86b1c9; --cat-sex: #b49bd7; --cat-yol: #ee8b5a; --cat-yuk: #c48f6b; --cat-ishhaqi: #74c495; --cat-asbob: #a6adb9; --cat-boshqa: #b1b5bb; --cat-zapchast: #9aaacb; --cat-moy: #d8b55a; --cat-quvur: #6cc4d0; --cat-ovqat: #e58aa8; --cat-santex: #6cc0e6; --cat-ijara: #c9a36d; --cat-chiqindi: #a9b0b8; --cat-kabel: #ee8b5a; --cat-avtomat: #e2b33f; --cat-jihoz: #f0cd5a; --cat-xizmat: #a99be6;
    --sh: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .3); --sh-lg: 0 18px 48px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0c11; --bg-out: #07080b; --surface: #14171f; --surface-2: #1d212c; --surface-3: #2b3242;
  --fg: #f5f6fa; --muted: #9da0b3; --faint: #6f7385; --line: #252831; --line-2: #1a1d25;
  --brand: #0e7e63; --brand-2: #0a5c4a; --brand-text: #3cc7a1; --brand-weak: #0f2f28; --brand-ink: #ffffff; --on-weak: #8fe0c9;
  --navy: #6f9fe0; --navy-ink: #0b0c11; --glow: rgba(14, 126, 99, .38);
    /* Ai Market boti: fon nuri, CapCut kartasi (to'q kulrang) va ChatGPT kartasi (yashil) gradientlari */
    --bg-img: radial-gradient(140% 420px at 50% -90px, #1d2043 0%, rgba(29, 32, 67, .55) 38%, rgba(11, 12, 17, 0) 78%);
    --card-grad: radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #2b3242 0%, #1d212c 34%, #14171f 64%, #0e0f14 100%);
    --gpt-grad: radial-gradient(90% 80% at 100% 0%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(160deg, #0e7e63 0%, #0a5c4a 46%, #06382f 100%);
    --tg-act: color-mix(in srgb, #0e7e63 34%, transparent);
  --ok: #5bc184; --ok-w: #17301f; --bad: #ef7262; --bad-w: #3a1e1a; --warn: #e6aa4c; --warn-w: #372911; --info: #73aef0; --info-w: #172a3e;
  --s-plan: #96a4b8; --s-conf: #6aa6e6; --s-prod: #3fbfb0; --s-ship: #f5b23d; --s-done: #5bc184;
  --cat-material: #c8a66d; --cat-furnitura: #86b1c9; --cat-sex: #b49bd7; --cat-yol: #ee8b5a; --cat-yuk: #c48f6b; --cat-ishhaqi: #74c495; --cat-asbob: #a6adb9; --cat-boshqa: #b1b5bb; --cat-zapchast: #9aaacb; --cat-moy: #d8b55a; --cat-quvur: #6cc4d0; --cat-ovqat: #e58aa8; --cat-santex: #6cc0e6; --cat-ijara: #c9a36d; --cat-chiqindi: #a9b0b8; --cat-kabel: #ee8b5a; --cat-avtomat: #e2b33f; --cat-jihoz: #f0cd5a; --cat-xizmat: #a99be6;
  --sh: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 18px rgba(0, 0, 0, .3); --sh-lg: 0 18px 48px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.45 var(--f); font-feature-settings: 'cv05' 1, 'cv08' 1; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 45; }
body.has-layer { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
a { color: var(--brand-text); }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1, 'cv05' 1; letter-spacing: -.01em; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; letter-spacing: .05em; font-weight: 600; }
.pos { color: var(--ok); } .neg { color: var(--bad); } .mut { color: var(--muted); }
.muted { color: var(--muted); } .pad { padding: 14px; } .meta { font-size: 12px; color: var(--muted); margin: 16px 4px 4px; }
.row-sb { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ic { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.xs { width: 14px; height: 14px; } .ic.xl { width: 46px; height: 46px; stroke-width: 1.4; } .ic.mut { color: var(--faint); }
.logo { display: block; flex: none; } .logo.lg { width: 78px; height: 78px; filter: drop-shadow(0 12px 26px rgba(7, 100, 90, .3)); } .logo.sm { width: 32px; height: 32px; } .logo.xs { width: 18px; height: 18px; }

/* ---------- tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; font: 600 15px/1 var(--f); letter-spacing: -.005em; border: 1.5px solid transparent; white-space: nowrap; transition: transform .12s, filter .15s, background .15s; user-select: none; }
.btn:active { transform: scale(.98); } .btn:disabled { opacity: .45; pointer-events: none; }
.btn.lg { height: 52px; width: 100%; font-size: 16px; } .btn.sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn.primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 2px 10px var(--glow); }
.btn.ghost { background: var(--surface); border-color: var(--line); color: var(--fg); }
.btn.text { color: var(--brand-text); height: auto; padding: 8px 4px; font-size: 14px; }
.btn.danger { background: var(--bad); color: #fff; } .btn.danger-ghost { background: var(--bad-w); color: var(--bad); width: 100%; margin-top: 18px; }
.btn.tg { background: var(--tg); color: #fff; text-decoration: none; } .btn.tg small { font: 500 13px var(--f); opacity: .85; }
.btn.dashed { width: 100%; border-style: dashed; background: transparent; color: var(--brand-text); }
.btn.busy { opacity: .6; pointer-events: none; } .btn.grow { flex: 1; }
.ib { width: 40px; height: 40px; border-radius: 12px; display: inline-grid; place-items: center; color: var(--fg); flex: none; position: relative; text-decoration: none; }
.ib:active { background: var(--surface-3); } .ib.sm { width: 34px; height: 34px; border-radius: 10px; } .ib.on { color: var(--brand-text); }
.lnk { color: var(--brand-text); text-decoration: underline; font-weight: 600; }

/* ---------- maydonlar ---------- */
.fld { margin-bottom: 14px; min-width: 0; }
.fld label, .lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
input, select { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .15s, box-shadow .15s; }
input[readonly] { background: var(--surface-2); color: var(--muted); }
input:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
input:focus-visible, select:focus-visible { outline: none; }
input:disabled, select:disabled { opacity: .6; }
input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--brand); -webkit-appearance: checkbox; appearance: auto; flex: none; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; text-overflow: ellipsis; }
input[type=date] { min-height: 48px; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hint { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.err { color: var(--bad); font-size: 13.5px; font-weight: 600; min-height: 0; margin: 2px 0 8px; } .err:empty { margin: 0; }
.pw { position: relative; } .pw input { padding-right: 50px; } .pw .ib { position: absolute; right: 4px; top: 7px; color: var(--muted); }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 4px 0 6px; cursor: pointer; }
.money-in { position: relative; } .money-in input { padding-right: 58px; font-family: var(--f); font-weight: 600; } .money-in .suf { position: absolute; right: 14px; bottom: 15px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.seg { display: flex; background: var(--surface-3); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; min-height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 6px; text-align: center; line-height: 1.2; }
.seg button small { font: 500 10.5px var(--f); opacity: .8; } .seg button:disabled { opacity: .4; }
.seg .on { background: var(--surface); color: var(--fg); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.seg.wide { width: 100%; } .seg + .fld, .seg + .two { margin-top: 14px; }

/* ---------- kirish ekranlari ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); position: relative; overflow: hidden; }
.auth-art { position: absolute; inset: 0 0 auto 0; height: 52vh; color: var(--navy); opacity: .13; display: flex; justify-content: center; pointer-events: none; }
.art { width: 118%; max-width: 640px; margin-top: 4vh; }
.auth-in { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; width: 100%; max-width: 460px; margin: 0 auto; padding: 8px max(20px, env(safe-area-inset-left, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.auth-brand { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 6px; }
.auth-brand h1 { font: 700 34px/1.1 var(--f); margin: 16px 0 6px; letter-spacing: -.035em; }
.auth-brand p { margin: 0; color: var(--muted); font-size: 15.5px; }
.auth-acts { display: flex; flex-direction: column; gap: 10px; }
.auth-acts .btn.text { align-self: center; }
.auth-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); background: var(--surface-2); border-radius: 12px; padding: 10px 12px; margin: 4px 0 0; }
.auth-note .ic { width: 16px; height: 16px; margin-top: 1px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 4px; position: relative; z-index: 1; }
.mini-brand { display: flex; align-items: center; gap: 8px; font: 700 15px var(--f); min-width: 0; } .mini-brand b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w40 { width: 40px; flex: none; }
.auth h2 { font: 700 26px/1.2 var(--f); margin: 6px 0 0; letter-spacing: -.025em; }
.sub { color: var(--muted); margin: 0 0 8px; font-size: 14.5px; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.big-ic { width: 72px; height: 72px; border-radius: 24px; background: var(--brand-weak); color: var(--brand-text); display: grid; place-items: center; margin: 10px auto 4px; }
.big-ic .ic { width: 34px; height: 34px; stroke-width: 1.6; } .big-ic.warn { background: var(--warn-w); color: var(--warn); }
.keybox { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; margin-top: 10px; }
.keybox label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.key-in { font: 600 19px var(--f); font-feature-settings: 'tnum' 1; letter-spacing: .08em; text-align: center; height: 56px; text-transform: uppercase; }
.buy { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.buy h3 { font: 700 18px var(--f); margin: 0; } .buy .sub { margin: 0; } .buy .hint { margin: 0; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.pkg { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 6px 12px; text-align: center; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pkg b { font: 700 13.5px var(--f); } .pkg .pp { font-size: 15px; font-weight: 700; margin-top: 4px; white-space: nowrap; } .pkg small { font-size: 11px; color: var(--muted); } .pkg .pm { margin-top: 4px; color: var(--fg); font-weight: 600; }
.pkg.best { border-color: var(--brand); background: var(--brand-weak); }
.pkg .pill { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--ok); color: #fff; font-size: 10.5px; white-space: nowrap; padding: 2px 8px; }
.pkg .pill i { display: none; }
.note { display: flex; gap: 10px; align-items: center; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--muted); margin: 10px 0; }
.note .btn { margin-left: auto; } .note .ic { color: var(--faint); }
.terms { padding-left: 20px; margin: 0; } .terms li { margin-bottom: 10px; }

/* ---------- asosiy qobiq ---------- */
#app { max-width: var(--col); margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 96px); background: var(--bg); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 max(10px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.bt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.bt b { font: 700 16px var(--f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bt small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--bad); color: #fff; font: 700 10.5px/18px var(--f); text-align: center; border: 2px solid var(--bg); }
.banner { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; margin: 4px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); border-radius: 14px; font-size: 13.5px; font-weight: 600; animation: drop .3s ease; }
.banner span { flex: 1; min-width: 0; } .banner .btn { background: var(--surface); border: 1px solid var(--line); color: var(--fg); }
.banner.bad { background: var(--bad-w); color: var(--bad); } .banner.warn { background: var(--warn-w); color: var(--warn); } .banner.info { background: var(--info-w); color: var(--info); }
.fab { position: fixed; z-index: 35; right: max(16px, calc((100vw - var(--col)) / 2 + 16px), env(safe-area-inset-right, 0px)); bottom: calc(var(--tab-h) + 16px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 19px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; box-shadow: 0 8px 22px var(--glow); transition: transform .15s; }
.fab .ic { width: 26px; height: 26px; stroke-width: 2.2; } .fab:active { transform: scale(.94); }
.fab.locked { background: var(--surface-3); color: var(--muted); box-shadow: var(--sh); }
.tabs { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; max-width: var(--col); margin: 0 auto; display: flex; height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); padding: 0 max(6px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(6px, env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tabs button .ic { width: 22px; height: 22px; padding: 0; transition: color .15s; }
.tabs button.on { color: var(--navy); } .tabs button.on .ic { stroke-width: 2.1; }
.tabs button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- buyurtmalar ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 11px 12px; min-width: 0; box-shadow: var(--sh); }
.tile small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile b { display: block; font-size: 16.5px; letter-spacing: -.035em; font-weight: 700; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.quick.two { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.qbtn { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 6px 11px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.2; transition: transform .12s; box-shadow: var(--sh); }
.qbtn:active { transform: scale(.97); }
.qbtn .ic { width: 40px; height: 40px; padding: 9px; border-radius: 13px; background: var(--brand-weak); color: var(--brand-text); stroke-width: 2; }
.q-in .ic { background: var(--ok-w); color: var(--ok); } .q-out .ic { background: var(--bad-w); color: var(--bad); }
.qbtn.sm { flex-direction: row; justify-content: center; padding: 10px; box-shadow: none; } .qbtn.sm .ic { width: 30px; height: 30px; padding: 6px; background: var(--info-w); color: var(--info); }
.search { position: relative; margin-top: 14px; } .search .ic { position: absolute; left: 13px; top: 14px; color: var(--faint); } .search input { padding-left: 42px; height: 46px; border-radius: 14px; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 12px calc(-1 * max(16px, env(safe-area-inset-left, 0px))) 4px; padding: 0 max(16px, env(safe-area-inset-left, 0px)) 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrapc { flex-wrap: wrap; margin: 0; padding: 0; overflow: visible; }
.chipb { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border: 1px solid var(--line); background: var(--surface); border-radius: 99px; font-size: 13px; font-weight: 600; color: var(--fg); }
.chipb span { color: var(--muted); font-size: 12px; font-feature-settings: 'tnum' 1; }
.chipb.on { background: var(--navy); color: var(--navy-ink); border-color: var(--navy); } .chipb.on span { color: inherit; opacity: .7; }
.cards { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh); }
.ocard { position: relative; z-index: 1; display: block; width: 100%; padding: 14px; text-align: left; transition: transform .26s cubic-bezier(.2, .8, .2, 1); }
.oc-top { display: flex; align-items: center; gap: 12px; }
.oc-th { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; background: var(--surface-2); border: 1px solid var(--line); }
.oc-th.ph { display: grid; place-items: center; font: 700 15px var(--f); color: var(--on-weak); background: var(--brand-weak); border: 0; }
.oc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oc-main b { font: 700 16px/1.25 var(--f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-main small { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-money { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; }
.oc-money small { font-size: 11px; color: var(--muted); font-weight: 500; } .oc-money b { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.oc-l { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; } .oc-l.ok { color: var(--ok); } .oc-l.warn { color: var(--warn); }
.oc-mid { display: flex; align-items: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.avs { display: flex; margin-left: auto; padding-left: 6px; } .avs .av { margin-left: -7px; border: 2px solid var(--surface); }
.prog { height: 4px; background: var(--surface-3); border-radius: 99px; margin-top: 12px; overflow: hidden; } .prog i { display: block; height: 100%; background: var(--brand); border-radius: 99px; transition: width .4s; }
.pill { --c: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px 4px 8px; border-radius: 99px; background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.pill.ok { --c: var(--ok); } .pill.warn { --c: var(--warn); } .pill.bad { --c: var(--bad); }
.st-plan { --c: var(--s-plan); } .st-conf { --c: var(--s-conf); } .st-prod { --c: var(--s-prod); } .st-ship { --c: var(--s-ship); } .st-done { --c: var(--s-done); }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); padding: 3px 9px; border-radius: 99px; background: var(--surface-2); white-space: nowrap; }
.chip .ic { width: 13px; height: 13px; } .chip.bad { background: var(--bad-w); color: var(--bad); } .chip.warn { background: var(--warn-w); color: var(--warn); }
.av { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-weak); color: var(--on-weak); font: 700 11px var(--f); font-style: normal; flex: none; }
.av.lg { width: 40px; height: 40px; font-size: 14px; } .av.xl { width: 58px; height: 58px; font-size: 20px; }
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 20px; color: var(--muted); gap: 10px; }
.empty p { margin: 0; max-width: 30ch; } .art-e { width: 116px; color: var(--faint); }

/* ---------- buyurtma sahifasi ---------- */
.o-head { display: flex; gap: 8px; flex-wrap: wrap; margin: 2px 0 12px; }
.cl-card { overflow: hidden; }
.kv { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 14px; min-height: 48px; border-top: 1px solid var(--line-2); width: 100%; text-align: left; }
.kv:first-child { border-top: 0; } .kv > span:first-child { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 14.5px; } .kv .ic { color: var(--muted); }
.kv-a { display: flex; gap: 2px; } .lnk-row { color: var(--brand-text); font-weight: 600; } .lnk-row .ic { color: inherit; }
.money-card { margin-top: 10px; padding: 6px 0; }
.mrow { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 14px; font-size: 14.5px; gap: 10px; }
.mrow span { color: var(--muted); } .mrow b { font-weight: 600; }
.mrow.tot { border-top: 1.5px solid var(--line); margin-top: 4px; padding-top: 12px; } .mrow.tot span { color: var(--fg); font: 700 15px var(--f); } .mrow.tot b { font-size: 18px; }
.qrow { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 8px; margin: 12px 0 4px; } .qrow .btn { padding: 0 8px; font-size: 13.5px; } .qrow .btn .ic { width: 18px; height: 18px; }
.sec { font: 600 12px var(--f); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 24px 4px 10px; display: flex; gap: 8px; align-items: center; }
.cnt { background: var(--surface-3); color: var(--fg); border-radius: 99px; padding: 1px 8px; font: 600 11.5px var(--f); letter-spacing: 0; }
.item { padding: 14px; margin-bottom: 10px; }
.it-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; } .it-h b { font: 700 16px/1.25 var(--f); display: block; } .it-h small { display: block; color: var(--muted); font-size: 13px; } .it-h .num { font: 600 15px var(--f); white-space: nowrap; }
.it-n { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.it-st { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.pillbtn { display: inline-flex; align-items: center; gap: 2px; border-radius: 99px; } .pillbtn > .ic { color: var(--muted); }
.files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.ftile { aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; max-width: 100%; }
.ftile img { width: 100%; height: 100%; object-fit: cover; display: block; } .ftile img.miss { visibility: hidden; }
.ftile.add { border: 1.5px dashed var(--line); background: transparent; color: var(--brand-text); font-size: 11.5px; font-weight: 600; }
.ftile.doc { color: var(--muted); font: 700 11px var(--f); }
.fpin { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; }
.tchips, .tpick { display: flex; flex-wrap: wrap; gap: 8px; }
.tchip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--surface); border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; position: relative; }
.tchip.sel { cursor: pointer; } .tchip.sel input { position: absolute; opacity: 0; pointer-events: none; }
.tchip.sel:has(input:checked) { border-color: var(--brand); background: var(--brand-weak); }
.tchip.sel:has(input:focus-visible) { outline: 2px solid var(--brand); }
.tl { padding: 2px 4px; } .tl-i { display: flex; gap: 12px; padding: 7px 0; } .tl-i > i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-top: 6px; flex: none; }
.tl-i span { font-size: 14px; } .tl-i small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- ro'yxatlar ---------- */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 14px; text-align: left; border-top: 1px solid var(--line-2); min-height: 58px; text-decoration: none; color: inherit; }
.list > .li:first-child { border-top: 0; } button.li:active, a.li:active { background: var(--surface-2); }
.li-ic { --cc: var(--muted); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--cc); flex: none; }
.li-b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.li-b b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.li-b small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-v { font-weight: 600; font-size: 14px; white-space: nowrap; } .li-v.mut { color: var(--muted); }
.li-a { display: flex; gap: 2px; } .li.danger { color: var(--bad); } .li.danger .li-ic { color: var(--bad); background: var(--bad-w); }
.li-ic.k-in { --cc: var(--ok); background: var(--ok-w); }
.li-ic.k-out { background: color-mix(in srgb, var(--cc) 14%, transparent); }
.li-ic.k-give, .li-ic.k-take { --cc: var(--info); background: var(--info-w); }
.li-ic.warn { --cc: var(--warn); background: var(--warn-w); } .li-ic.bad { --cc: var(--bad); background: var(--bad-w); } .li-ic.info { --cc: var(--info); background: var(--info-w); }
.c-material { --cc: var(--cat-material); } .c-furnitura { --cc: var(--cat-furnitura); } .c-sex { --cc: var(--cat-sex); } .c-yol { --cc: var(--cat-yol); }
.c-yuk { --cc: var(--cat-yuk); } .c-ishhaqi { --cc: var(--cat-ishhaqi); } .c-asbob { --cc: var(--cat-asbob); } .c-boshqa { --cc: var(--cat-boshqa); }
.grp { margin-top: 12px; }
.you { font: 600 11px var(--f); color: var(--brand-text); background: var(--brand-weak); padding: 1px 6px; border-radius: 99px; }

/* ---------- kassa va hisobot ---------- */
.kcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.kcard { padding: 14px; text-align: left; display: flex; flex-direction: column; min-width: 0; transition: transform .12s; }
.kcard:active { transform: scale(.98); } .kcard.on { border-color: var(--brand); box-shadow: 0 0 0 1.5px var(--brand); }
.kc-h { display: flex; align-items: center; gap: 10px; min-width: 0; } .kc-h > div { min-width: 0; display: flex; flex-direction: column; }
.kc-h b { font: 700 14.5px var(--f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .kc-h small { font-size: 12px; color: var(--muted); }
.kc-l { font-size: 11px; color: var(--muted); margin-top: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.kc-v small { font: 600 12px var(--f); color: var(--muted); letter-spacing: 0; }
.kc-v { font-size: 18px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-s { display: flex; gap: 12px; font-size: 12px; color: var(--muted); margin-top: 4px; font-feature-settings: 'tnum' 1; } .kc-s span { display: inline-flex; align-items: center; gap: 3px; }
.chipb.x { gap: 4px; }
.ledger { margin-top: 4px; } .ledger .list { margin-bottom: 6px; }
.lg-d { display: flex; justify-content: space-between; padding: 14px 4px 7px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; } .lg-d .num { text-transform: none; letter-spacing: 0; }
.hero { padding: 18px; display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.hero small { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; } .hero b { font-size: 30px; font-weight: 700; line-height: 1.15; letter-spacing: -.03em; } .hero span { font-size: 12.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mini { padding: 12px 14px; min-width: 0; } .mini small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; } .mini b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid2 + .card { margin-top: 10px; }
.bars .bar { margin-bottom: 14px; } .bars .bar:last-child { margin-bottom: 0; }
.bar-t { display: flex; align-items: center; gap: 8px; font-size: 13.5px; } .bar-t b { margin-left: auto; font-weight: 600; font-size: 13px; } .bar-t small { color: var(--muted); width: 38px; text-align: right; font-size: 12px; font-feature-settings: 'tnum' 1; }
.cdot { width: 10px; height: 10px; border-radius: 3px; background: var(--cc); flex: none; display: inline-block; }
.track { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 6px; } .track i { display: block; height: 100%; border-radius: 99px; background: var(--cc); }
.tbl-w { overflow-x: auto; } .tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 11px 12px 8px; white-space: nowrap; }
.tbl td { padding: 10px 12px; border-top: 1px solid var(--line-2); white-space: nowrap; } .tbl th:not(:first-child), .tbl td.num { text-align: right; }
.btn.exp { margin-top: 22px; }

/* ---------- menyu ---------- */
.prof { display: flex; align-items: center; gap: 14px; padding: 16px; margin-top: 8px; } .prof > div { min-width: 0; display: flex; flex-direction: column; }
.prof b { font: 700 18px var(--f); } .prof small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.subc { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 14px; margin-top: 10px; text-align: left; }
.subc .li-b b { font-size: 15px; } .subc .btn { background: var(--brand); color: var(--brand-ink); }
.subc.ok .li-ic { --cc: var(--ok); background: var(--ok-w); } .subc.warn .li-ic { --cc: var(--warn); background: var(--warn-w); } .subc.bad .li-ic { --cc: var(--bad); background: var(--bad-w); }
.sub-card { padding: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; } .sub-card .big { font: 700 22px var(--f); letter-spacing: -.02em; }
.foot { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 0 8px; font-size: 12px; color: var(--muted); } .foot .pill { font-weight: 600; }
.tgls { padding: 2px 14px; }
.tgl { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line-2); cursor: pointer; position: relative; }
.tgls > .tgl:first-child { border-top: 0; } .tgl > span { flex: 1; min-width: 0; } .tgl b { display: block; font-size: 14.5px; font-weight: 600; } .tgl small { display: block; font-size: 12.5px; color: var(--muted); }
.tgl input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tgl > i { width: 46px; height: 28px; border-radius: 99px; background: var(--surface-3); position: relative; flex: none; transition: background .2s; border: 1px solid var(--line); }
.tgl > i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.tgl input:checked + i { background: var(--ok); border-color: var(--ok); } .tgl input:checked + i::after { transform: translateX(18px); }
.tgl input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 2px; }
.tgl.col { flex-direction: column; align-items: stretch; cursor: default; }
.meter { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin: 10px 0 12px; } .meter i { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.meter.warn i { background: var(--warn); } .meter.bad i { background: var(--bad); }
.legend { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); } .legend span { display: flex; align-items: center; gap: 8px; }
.card p { margin: 0 0 8px; } .card p:last-child { margin-bottom: 0; } .btns { display: flex; gap: 10px; margin-top: 14px; } .btns .btn { flex: 1; }

/* ---------- qatlamlar: sahifa ---------- */
.page { position: fixed; inset: 0; z-index: 50; max-width: var(--col); margin: 0 auto; background: var(--bg); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: -10px 0 30px rgba(0, 0, 0, .12); will-change: transform; }
.page.in { transform: none; } .page.out { transform: translateX(105%); }
.ph { display: flex; align-items: center; gap: 6px; padding: calc(8px + env(safe-area-inset-top, 0px)) max(8px, env(safe-area-inset-right, 0px)) 8px max(6px, env(safe-area-inset-left, 0px)); min-height: calc(60px + env(safe-area-inset-top, 0px)); flex: none; background: var(--bg); }
.pt { flex: 1; min-width: 0; margin: 0; font: 700 18px var(--f); letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa { display: flex; gap: 2px; }
.pb { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding-top: 4px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
.pb > .card + .card, .pb > .list + .btn, .pb > .card + .btn { margin-top: 12px; }
.pb > .btn.lg { margin-top: 16px; }
.pf { display: flex; align-items: center; gap: 14px; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--surface); border-top: 1px solid var(--line); flex: none; }
.pf .btn.lg { flex: 1; width: auto; } .of-total { display: flex; flex-direction: column; flex: none; } .of-total small { font-size: 11px; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: .04em; } .of-total b { font-size: 17px; font-weight: 600; }
.irow { padding: 12px 12px 0; margin-bottom: 10px; }
.irow-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.irow-h b { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-weak); color: var(--on-weak); display: grid; place-items: center; font: 700 12px var(--f); }
.oform .sec:first-of-type { margin-top: 8px; }
.viewer { background: var(--surface-2); } .v-img img { width: 100%; border-radius: 14px; display: block; background: #fff; min-height: 120px; }
.v-doc { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 0 20px; text-align: center; word-break: break-all; } .v-doc .ic { width: 58px; height: 58px; color: var(--muted); stroke-width: 1.3; }
.f-info { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); margin: 12px 2px; align-items: center; }

/* ---------- pastdan chiqadigan oyna ---------- */
.sw-wrap { position: fixed; left: 0; right: 0; top: var(--vvt, 0px); height: var(--vvh, 100%); z-index: 60; }
.scrim { position: absolute; inset: 0; background: rgba(8, 10, 8, .5); opacity: 0; transition: opacity .25s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: var(--col); margin: 0 auto; max-height: 90vh; max-height: 90dvh; display: flex; flex-direction: column; background: var(--surface); border-radius: 22px 22px 0 0; box-shadow: var(--sh-lg); transform: translateY(102%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); padding-bottom: env(safe-area-inset-bottom, 0px); }
.sw-wrap.in .scrim { opacity: 1; } .sw-wrap.in .sheet { transform: none; }
.sw-wrap.out .scrim { opacity: 0; } .sw-wrap.out .sheet { transform: translateY(102%); }
.grab { width: 38px; height: 5px; border-radius: 99px; background: var(--line); margin: 8px auto 0; flex: none; }
.sh-h { display: flex; align-items: center; gap: 8px; padding: 6px max(10px, env(safe-area-inset-right, 0px)) 4px max(20px, env(safe-area-inset-left, 0px)); flex: none; }
.sh-h h3 { flex: 1; margin: 0; font: 700 18px var(--f); letter-spacing: -.02em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-b > .btn.lg + .btn.lg { margin-top: 10px; } .sh-b > .btn.lg + .btn.danger-ghost { margin-top: 10px; }
.sh-b { overflow-y: auto; padding: 6px max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px)); overscroll-behavior: contain; }
.sw-wrap.dlg .sheet { bottom: auto; top: 50%; left: 16px; right: 16px; max-width: 400px; border-radius: 20px; transform: translateY(-46%) scale(.96); opacity: 0; transition: transform .22s, opacity .22s; padding-bottom: 0; }
.sw-wrap.dlg.in .sheet { transform: translateY(-50%); opacity: 1; } .sw-wrap.dlg.out .sheet { opacity: 0; transform: translateY(-46%) scale(.96); }
.sw-wrap.dlg .grab { display: none; } .dlg-t { margin: 0 0 6px; color: var(--muted); }
.amt { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin: 6px 0 16px; }
.amt input { border: 0; border-bottom: 2px solid var(--line); border-radius: 0; background: none; font: 700 34px/1.1 var(--f); font-feature-settings: 'tnum' 1; text-align: center; width: 100%; max-width: 280px; height: 58px; padding: 0 4px; letter-spacing: -.03em; }
.amt input:focus { box-shadow: none; border-bottom-color: var(--brand); } .amt span { color: var(--muted); font-weight: 600; }
.kinds { margin-bottom: 8px; }
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 2px 9px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--surface); font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.15; min-width: 0; }
.cat .ic { color: var(--cc); } .cat span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.cat.on { border-color: var(--cc); background: color-mix(in srgb, var(--cc) 13%, var(--surface)); }
.cat { position: relative; } .cat-ck { position: absolute; top: 5px; right: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--cc); color: #fff; display: grid; place-items: center; }
.cat-ck .ic { color: #fff; width: 11px; height: 11px; stroke-width: 3; }
.mc-h { margin: 0 0 8px; }
.mlines { display: flex; flex-direction: column; gap: 8px; margin: -4px 0 14px; }
.mline { display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 10px; border: 1.5px solid var(--line); border-radius: 13px; background: var(--surface); }
.ml-c { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--cc) 14%, var(--surface)); }
.ml-c .ic { color: var(--cc); width: 18px; height: 18px; }
.ml-n { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; }
.ml-in { flex: none; display: flex; align-items: baseline; gap: 4px; }
.ml-in input { width: 116px; height: 40px; padding: 0 8px; text-align: right; font: 700 17px/1 var(--f); font-feature-settings: 'tnum' 1; }
.ml-in span { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.ml-tot { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 10px 0; font-weight: 600; color: var(--muted); } .ml-tot b { font-size: 18px; color: var(--fg); }
.set-row.acc { justify-content: flex-start; } .acc-b { flex: 1; min-width: 0; display: flex; flex-direction: column; } .acc-b b { font-size: 16px; } .acc-b small { color: var(--muted); }
.acc-m { overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.menu .mi { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 4px; font-size: 15px; font-weight: 600; border-top: 1px solid var(--line-2); text-decoration: none; color: inherit; }
.menu .mi:first-child { border-top: 0; } .menu .mi .ic { color: var(--muted); } .menu .mi[data-danger] { color: var(--bad); } .menu .mi[data-danger] .ic { color: var(--bad); }
.steps .step { display: flex; align-items: center; gap: 14px; width: 100%; padding: 9px 2px; font-size: 15px; position: relative; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 42px; height: 12px; width: 2px; background: var(--line); }
.steps .step.done:not(:last-child)::after { background: var(--ok); }
.steps .dot { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font: 700 12px var(--f); color: var(--muted); flex: none; background: var(--surface); }
.steps .dot .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.steps .done .dot { background: var(--ok); border-color: var(--ok); color: #fff; } .steps .cur .dot { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } .steps .cur { font-weight: 700; } .steps .step:not(.done):not(.cur) { color: var(--muted); }

/* ---------- imo-ishora ko'rsatkichi va xabar ---------- */
.edge { position: fixed; top: 50%; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.5); }
.edge.on { opacity: var(--p, 0); } .edge.L { left: 8px; transform: translateY(-50%) translateX(calc(-48px + var(--p, 0) * 48px)) scale(calc(.55 + var(--p, 0) * .45)); }
.edge.R { right: 8px; transform: translateY(-50%) translateX(calc(48px - var(--p, 0) * 48px)) scale(calc(.55 + var(--p, 0) * .45)); }
#toast { position: fixed; z-index: 100; left: 50%; bottom: calc(var(--tab-h) + 22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); display: flex; align-items: center; gap: 8px; max-width: calc(100% - 32px); width: max-content; padding: 11px 16px; border-radius: 14px; background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; box-shadow: var(--sh-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.2, .8, .2, 1); }
#toast.show { opacity: 1; transform: translate(-50%, 0); } #toast.ok .ic { color: var(--ok-w); } #toast.bad .ic { color: var(--bad-w); }
#toast .ic { width: 18px; height: 18px; stroke-width: 2.4; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 360px) { .two { grid-template-columns: 1fr; } .tile b { font-size: 16px; } .files { grid-template-columns: repeat(3, 1fr); } .cats { grid-template-columns: repeat(4, 1fr); } .qrow { grid-template-columns: 1fr 1fr; } .qrow .btn:first-child { grid-column: 1 / -1; } }
@media (min-width: 700px) { body { background: var(--bg-out); } #app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } .auth { background: var(--bg); max-width: var(--col); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); } .kcards { grid-template-columns: repeat(3, 1fr); } }

/* ---------- til tanlash ---------- */
.lp { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 8px 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font-size: 14px; font-weight: 600; white-space: nowrap; flex: none; box-shadow: var(--sh); }
.lp .ic { color: var(--muted); } .lp:active { background: var(--surface-2); }
.lp.sm { height: 34px; padding: 0 6px 0 8px; gap: 5px; font-size: 13px; border-radius: 10px; box-shadow: none; }
.lp .flag { width: 26px; height: 18px; border-radius: 4px; }
.flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; flex: none; display: block; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); position: relative; }
.flag svg { display: block; width: 100%; height: 100%; }
.pop { position: fixed; z-index: 120; min-width: 200px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-lg); opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top right; transition: opacity .15s, transform .18s cubic-bezier(.2, .8, .2, 1); }
.pop.in { opacity: 1; transform: none; }
.pop-i { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 46px; padding: 0 12px; border-radius: 11px; font-size: 15px; font-weight: 500; }
.pop-i:active, .pop-i:hover { background: var(--surface-2); } .pop-i.on { font-weight: 600; } .pop-i .ic { margin-left: auto; color: var(--brand-text); stroke-width: 2.4; }

/* ---------- kirish ekranlari: qo'shimcha ---------- */
.auth-top .lp { margin-left: auto; }
.auth-top .mini-brand + .lp { margin-left: 0; }
/* kirish oynalari bitta ekranga sig'adi: aylantirish va aylantirish chizig'i yo'q */
html, body { scrollbar-width: none; } html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
.auth .auth-in { gap: 10px; padding-top: 4px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.auth .auth-in > .fld { margin-bottom: 0; }
.auth .auth-in input:not([type=checkbox]):not([type=radio]) { height: 46px; }
.auth .auth-in .btn.lg { height: 48px; }
.auth .auth-in .chk { margin: 0; }
.auth .auth-in h2 { font-size: 24px; margin: 0; }
.auth .auth-in .sub { margin: -4px 0 0; font-size: 14px; }
.home .auth-top { position: absolute; top: 0; right: 0; z-index: 2; padding-left: 0; }
.home .auth-in { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
.home .auth-in > :first-child { margin-top: auto; } .home .auth-in > :last-child { margin-bottom: auto; }
.home .logo.lg { width: 60px; height: 60px; }
.home .auth-brand { margin-bottom: 4px; } .home .auth-brand h1 { font-size: 28px; margin: 10px 0 3px; } .home .auth-brand p { font-size: 14px; }
.home .auth-art { height: 44vh; }
.lbl-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; } .lbl-row label { margin: 0; }
.fgt { font-size: 12.5px; font-weight: 600; color: var(--brand-text); padding: 2px 0; white-space: nowrap; }
.home .or { margin: 2px 0 0; }
.g-btn { min-height: 44px; display: flex; justify-content: center; align-items: center; color-scheme: normal; }
.g-btn > .btn { width: 100%; }
.g-hint { margin: -4px 0 0; }
.trades.sm { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.trades.sm .trd { align-items: center; text-align: center; padding: 8px 4px 7px; gap: 4px; border-radius: 12px; }
.trades.sm .trd .ic { width: 30px; height: 30px; padding: 6px; margin: 0; }
.trades.sm .trd b { font-size: 12.5px; line-height: 1.15; overflow-wrap: anywhere; }
.perks { list-style: none; margin: 4px 0 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 11px; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line); border-radius: 18px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.perks li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.perks .ic { width: 32px; height: 32px; padding: 7px; border-radius: 10px; background: var(--brand-weak); color: var(--brand-text); }
.center-t { text-align: center; }
.steps-i { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; } .steps-i li::marker { color: var(--brand-text); font-weight: 700; }
.pw .ib.on { color: var(--brand-text); }

/* ---------- sozlamalar ---------- */
.set-rows { padding: 2px 14px; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.set-row:first-child { border-top: 0; } .set-row.col { flex-direction: column; align-items: stretch; }
.set-l { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; } .set-l .ic { color: var(--muted); }
.mail-l { display: flex; align-items: center; gap: 6px; margin: -4px 0 12px; }

/* ---------- saqlanish holati ---------- */
.ib.sync { color: var(--warn); } .ib.sync[data-st="offline"] { color: var(--bad); } .ib.sync[data-st="ro"] { color: var(--muted); }
.ib.sync[data-st="pending"] .ic { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.spin { display: inline-grid; place-items: center; color: var(--muted); } .spin .ic { animation: spin .9s linear infinite; }
.li.wrapt .li-b b { white-space: normal; font-weight: 500; line-height: 1.35; }
.code-in { height: 60px; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: .3em; font-feature-settings: 'tnum' 1; padding: 0 0 0 .3em; }
.code-in::placeholder { color: var(--faint); letter-spacing: .3em; }

/* ---------- sohalar ---------- */
.trades { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.trd { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; min-width: 0; transition: border-color .15s, background .15s; }
.trd .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--surface-2); color: var(--navy); margin-bottom: 4px; }
.trd b { font-size: 15px; font-weight: 700; } .trd small { font-size: 12px; color: var(--muted); line-height: 1.3; }
.trd.on { border-color: var(--brand); background: var(--brand-weak); box-shadow: 0 0 0 1.5px var(--brand); } .trd.on .ic { background: var(--brand); color: var(--brand-ink); }
.ord-fix { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 0 0 14px; background: var(--surface-2); border-radius: 12px; }
.ord-fix .ic { color: var(--muted); } .ord-fix span { min-width: 0; display: flex; flex-direction: column; } .ord-fix small { font-size: 11.5px; color: var(--muted); font-weight: 600; } .ord-fix b { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kh { display: flex; gap: 6px; align-items: flex-start; margin: 10px 4px 0; } .kh .ic { margin-top: 1px; color: var(--faint); }
.c-santex { --cc: var(--cat-santex); } .c-ijara { --cc: var(--cat-ijara); } .c-chiqindi { --cc: var(--cat-chiqindi); } .c-kabel { --cc: var(--cat-kabel); }
.c-avtomat { --cc: var(--cat-avtomat); } .c-jihoz { --cc: var(--cat-jihoz); } .c-xizmat { --cc: var(--cat-xizmat); } .c-detal { --cc: var(--cat-furnitura); } .c-ovqat { --cc: var(--cat-ovqat); }
.qsel { height: 26px; width: auto; padding: 0 22px 0 6px; font-size: 12px; border-radius: 8px; background-position: right 4px center; background-size: 14px; border-width: 1px; }

.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; margin: 20px 0 12px; } .or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gbtn { font-weight: 700; }
@media (max-height: 700px) {
  .auth .auth-in { gap: 8px; } .auth .auth-in input:not([type=checkbox]):not([type=radio]) { height: 44px; } .auth .auth-in .btn.lg { height: 46px; }
  .auth .fld label, .auth .lbl, .lbl-row { margin-bottom: 4px; } .auth-top { padding-top: calc(4px + env(safe-area-inset-top, 0px)); padding-bottom: 0; }
  .home .logo.lg { width: 52px; height: 52px; } .home .auth-brand h1 { font-size: 26px; margin-top: 8px; }
}

/* hisob egasi nishoni */
.crt { display: inline-flex; align-items: center; gap: 3px; vertical-align: 1px; font: 700 10.5px/1 var(--f); letter-spacing: .02em; color: var(--brand-text); background: var(--brand-weak); border-radius: 999px; padding: 3px 7px 3px 5px; white-space: nowrap; }
.crt .ic { width: 11px; height: 11px; stroke-width: 2.4; }
/* o'tkazma holati va tasdiqlash */
.stt { display: inline-block; font: 700 10.5px/1 var(--f); border-radius: 999px; padding: 3px 7px; margin-left: 6px; vertical-align: 1px; }
.stt.w { background: var(--warn-w); color: var(--warn); } .stt.b { background: var(--bad-w); color: var(--bad); }
.conf { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1.5px solid var(--brand); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.conf p { margin: 0; font-size: 15px; line-height: 1.35; } .conf p b { font-weight: 700; }
.conf .row2 { display: flex; gap: 8px; } .conf .row2 .btn { flex: 1; }
.kc-p { display: block; font-size: 11.5px; color: var(--warn); font-weight: 600; margin-top: 2px; }
/* chek QR */
.rc-box { display: flex; align-items: center; gap: 10px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 10px 12px; }
.rc-box.on { border-style: solid; border-color: color-mix(in srgb, var(--ok, #3b8758) 50%, var(--line)); background: var(--surface); }
.rc-box .rc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .rc-box .rc-t b { font-size: 14px; } .rc-box .rc-t small { font-size: 12px; color: var(--muted); }
.rc-box > .ic { width: 26px; height: 26px; color: var(--navy); flex: none; }
/* buyurtma holati */

.sw-wrap .sheet { max-height: 92%; }

/* ---------- v1.4: ishlar ekrani ---------- */
.tiles.two { grid-template-columns: 1fr 1fr; }
button.tile { text-align: left; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 14px; transition: border-color .15s, background .15s; }
button.tile small { text-transform: none; letter-spacing: 0; font-size: 13.5px; color: var(--fg); font-weight: 600; }
button.tile b { margin: 0; font-size: 18px; }
button.tile.on { border-color: var(--brand); background: var(--brand-weak); box-shadow: 0 0 0 1px var(--brand); }
button.tile.on small, button.tile.on b { color: var(--brand-text); }
.oc-x { flex: none; display: flex; flex-direction: column; align-items: flex-end; } .oc-x small { font-size: 11px; color: var(--muted); font-weight: 600; } .oc-x b { font-size: 14px; font-weight: 700; }
.oc-mid { margin-top: 10px; min-height: 22px; } .oc-d { margin-left: auto; font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; }
.avs:empty { display: none; }
/* sahifa sarlavhasi: «‹ Orqaga» */
.bkb { display: inline-flex; align-items: center; gap: 2px; height: 40px; padding: 0 12px 0 4px; border-radius: 12px; font: 600 16px var(--f); color: var(--brand-text); }
.bkb .ic { width: 24px; height: 24px; } .bkb:active { background: var(--surface-2); }
/* ish sahifasi */
.cl-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 10px 12px 14px; text-align: left; }
.cl-h b { flex: 1; min-width: 0; font: 700 17px var(--f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-card .kv { min-height: 46px; }
.ib.call { background: var(--ok-w); color: var(--ok); } .ib.call .ic { color: var(--ok); }
.cl-card + .o-head { margin-top: 10px; }
.done-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px 10px 10px 14px; }
.dr-t { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); } .dr-t .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.btn.done-b { margin-top: 10px; }
.quick + .done-row, .quick + .done-b { margin-top: 10px; }
/* qo'shish oynasi */
.addc { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.addb { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; }
.addb > .ic { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--brand-weak); color: var(--brand-text); flex: none; }
.addb span { display: flex; flex-direction: column; min-width: 0; } .addb b { font-size: 16px; } .addb small { font-size: 13px; color: var(--muted); }
.addb:active { transform: scale(.98); }
/* hisobot */
.debt-c { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 12px 12px 14px; margin-top: 10px; text-align: left; }
.debt-c .li-b small { font-size: 12px; font-weight: 600; color: var(--muted); } .debt-c .li-b b { font-size: 18px; font-weight: 700; }
.dc-n { display: flex; align-items: center; gap: 2px; color: var(--muted); font-weight: 600; font-size: 13px; }
.hero.sm b { font-size: 24px; }
.li.dbt { gap: 6px; padding-right: 10px; } .dbt-b { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-align: left; }
.card.hand, .card.hand-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px; width: 100%; text-align: left; }
.card.hand { flex-direction: column; align-items: flex-start; gap: 2px; } .card.hand small, .hand-row small { font-size: 12px; color: var(--muted); font-weight: 600; } .card.hand b { font-size: 22px; font-weight: 700; } .hand-row b { font-size: 17px; font-weight: 700; }
.card.mini.wide { margin-top: 10px; }
/* pastki menyu: 2 yoki 3 tugma */
.tabs.n2 button, .tabs.n3 button { flex: 1; }
/* mavzu: ixcham uch belgi */
.seg.ico { flex: none; padding: 3px; } .seg.ico button { flex: none; width: 42px; min-height: 34px; padding: 0; } .seg.ico .ic { width: 18px; height: 18px; }
/* kirish oynasi: kattaroq logo, ixcham maydonlar */
.home .logo.lg { width: 84px; height: 84px; }
.home .auth-in { max-width: 380px; }
.home .auth-brand h1 { font-size: 30px; }
@media (max-height: 700px) { .home .logo.lg { width: 68px; height: 68px; } }
/* 6 ta soha: ixcham 3 ustun */
.trades.sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trades.sm .trd { flex-direction: row; justify-content: center; gap: 6px; padding: 9px 6px; }
.trades.sm .trd .ic { width: 24px; height: 24px; padding: 4px; }
.trades.sm .trd b { font-size: 12.5px; text-align: left; }
/* umumiy tartib: bloklar orasida bir xil masofa */
.pb > .card + .card, .pb > .card + .quick, .pb > .quick + .card { margin-top: 10px; }
.pb > .sec:first-child { margin-top: 4px; }
.sh-b > .fld + .rc-box, .sh-b > .two + .rc-box { margin-top: 2px; }
.c-zapchast { --cc: var(--cat-zapchast); } .c-moy { --cc: var(--cat-moy); } .c-quvur { --cc: var(--cat-quvur); }
.rc-box { width: 100%; text-align: left; }
.hero.sm + .list, .card.hand + .chips { margin-top: 10px; }
/* ish kartasi: nima ish, boshlangan / tugagan vaqt */
.job-c { padding: 12px 14px; }
.jc-r { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; } .jc-r b { font-size: 16px; font-weight: 700; } .jc-r .num { font-weight: 600; }
.jc-t { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 6px; font-size: 12.5px; color: var(--muted); } .jc-t span { display: inline-flex; align-items: center; gap: 5px; } .jc-t .ic { width: 14px; height: 14px; }
.job-c .files { margin-top: 12px; }
.wchips { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px 0 14px; } .chipb.sm { height: 30px; padding: 0 10px; font-size: 12.5px; }
.rng { margin-top: 10px; } .rng .fld { margin-bottom: 0; }
.money-card .mrow.pos b { color: var(--ok); }
.seg.per { margin-top: 8px; } .seg.per button { font-size: 12.5px; padding: 0 2px; min-height: 36px; }
.cl-card + .job-c { margin-top: 10px; } .job-c + .money-card { margin-top: 10px; } .job-c + .quick { margin-top: 10px; }
/* ===== 1.5 ===== */
/* kirish oynasi: 1.4 o'lchamlari (logo, kenglik), maydonlar orasida bir xil oraliq, "Parolni unutdingizmi?" Kirish ostida */
.home .auth-in { gap: 0; }
.home .auth-brand { margin-bottom: 18px; }
.home .auth-in > .fld { margin-bottom: 14px; }
.home .auth-in > .fld label { margin-bottom: 7px; }
.home .auth-in > .err:not(:empty) { margin: -4px 0 12px; }
.home .auth-in > .btn.primary { margin-top: 2px; }
.fgt-c { align-self: center; margin-top: 6px; padding: 10px 14px; font-size: 14px; font-weight: 600; color: var(--brand-text); border-radius: 10px; }
.fgt-c:active { background: var(--surface-2); }
.home .or { margin: 6px 0 14px; }
.home .g-btn + .reg-b, .home .fgt-c + .reg-b { margin-top: 12px; }
.home .g-hint { margin: 10px 0 0; }
.home .auth-in > .btn.text { margin-top: 10px; }
.home .auth-in > .auth-note { margin-top: 6px; }
@media (max-height: 700px) { .home .auth-in > .fld { margin-bottom: 10px; } .fgt-c { margin-top: 2px; } .home .or { margin: 2px 0 10px; } }
/* + oynasi: 4 ta katta plitka */
.addg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 6px; }
.addt { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; min-height: 128px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: left; transition: transform .12s; box-shadow: var(--sh); }
.addt:active { transform: scale(.97); }
.addt .at-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tw); color: var(--tc); margin-bottom: 8px; }
.addt .at-ic .ic { width: 24px; height: 24px; stroke-width: 2; }
.addt b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; } .addt small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.addg > .addt:first-child:nth-last-child(2n+1) { grid-column: 1 / -1; min-height: 0; }
.t-job { --tw: var(--brand-weak); --tc: var(--brand-text); } .t-exp { --tw: var(--bad-w); --tc: var(--bad); } .t-give { --tw: var(--info-w); --tc: var(--info); } .t-take { --tw: var(--ok-w); --tc: var(--ok); }
/* berdim / oldim tugmalari (hisobot, a'zo hisobi) */
.mvq { margin: 0 0 10px; } .card.hand + .mvq { margin-top: 10px; }
.mvq .qbtn { flex-direction: row; justify-content: center; gap: 10px; padding: 12px; font-size: 15px; }
.mvq .qbtn .ic { width: 34px; height: 34px; padding: 7px; }
.q-give .ic { background: var(--info-w); color: var(--info); } .q-take .ic { background: var(--ok-w); color: var(--ok); }
/* ish formasi: "Narxga material ham kiritilgan" belgisi */
.incl { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin: -2px 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.incl input { margin-top: 1px; width: 22px; height: 22px; }
.incl-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .incl-b b { font-size: 14.5px; font-weight: 600; } .incl-b small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.incl:has(input:checked) { border-color: var(--brand); background: var(--brand-weak); }
/* ish sahifasi: pul kartasi */
.mrow.sum { border-top: 1px dashed var(--line); margin-top: 2px; } .mrow.sum span { color: var(--fg); font-weight: 600; }
.money-card .mrow.tot.pos b { display: inline-flex; align-items: center; gap: 5px; font-size: 15.5px; }
.mc-mine { margin: 8px 10px 4px; padding: 8px 0 4px; background: var(--surface-2); border-radius: 12px; }
.mc-mine > small { display: block; padding: 0 12px 2px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.mc-mine .mrow { padding: 6px 12px; font-size: 13.5px; }
/* ish ichidagi xarid: kim to'lashi haqida bir qator */
.xh { display: flex; gap: 8px; align-items: flex-start; margin: -4px 0 14px; padding: 9px 12px; border-radius: 12px; background: var(--info-w); font-size: 12.5px; line-height: 1.4; }
.xh .ic { width: 16px; height: 16px; color: var(--info); flex: none; margin-top: 1px; }
/* hisobot: sof foyda kartasi */
.hero.rep { padding: 16px 0 12px; } .hero.rep > small, .hero.rep > b { padding: 0 16px; }
.rep-rows { margin-top: 12px; border-top: 1px solid var(--line-2); padding-top: 4px; } .rep-rows .mrow { padding: 7px 16px; } .rep-rows .mrow.pos b { color: var(--ok); }
.rep-h { display: flex; gap: 6px; align-items: flex-start; margin: 6px 16px 0; font-size: 12px; color: var(--muted); line-height: 1.4; } .rep-h .ic { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.hero.rep span { font-size: inherit; }
.li-v.rj { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; } .li-v.rj small { font-size: 11px; color: var(--muted); font-weight: 600; } .li-v.rj b { font-weight: 700; font-size: 14px; }
.hero.rep .rep-rows b { font-size: 15.5px; font-weight: 600; letter-spacing: 0; line-height: 1.3; } .hero.rep .rep-rows span { font-size: 14.5px; }
.li-b small + small { margin-top: 1px; }
/* boshqa kirish oynalari (ro'yxat, sozlash, tiklash): maydonlar orasida bir xil, kengroq oraliq */
.auth:not(.home) .auth-in { max-width: 420px; }
.auth:not(.home) .auth-in > .fld { margin-bottom: 4px; }
@media (max-height: 700px) { .auth:not(.home) .auth-in > .fld { margin-bottom: 0; } }
/* ===== 1.5.1 ===== */
/* asosiy oynalarda bloklar orasidagi masofa hamma joyda bir xil */
.vstack { display: flex; flex-direction: column; gap: 12px; }
.vstack > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.vstack > .sec { margin-top: 12px !important; margin-bottom: -4px !important; }
.vstack > .conf { margin: 0 !important; }
/* ishlar ro'yxati: ixcham karta (eni o'sha, bo'yi past) */
.cards { display: flex; flex-direction: column; gap: 10px; }
.cards > .ocard, .cards > * + * { margin-top: 0; }
.ocard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ocard .oc-th { width: 44px; height: 44px; }
.oc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oc-main b { font: 700 15.5px/1.25 var(--f); }
.oc-r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 52%; }
.oc-r .oc-x { display: flex; flex-direction: row; align-items: baseline; gap: 5px; white-space: nowrap; }
.oc-r .oc-x small { font-size: 11.5px; } .oc-r .oc-x b { font-size: 14px; }
.oc-r .oc-d { margin: 0; font-size: 12px; }
@media (max-width: 370px) { .oc-r .oc-x small { display: none; } }
/* hisobot: dan — gacha (har doim ikki ustun) */
.rng.two { grid-template-columns: 1fr 1fr; gap: 10px; }
.rng .fld label { margin-bottom: 5px; }
.vstack { padding-top: 8px; }
.ocard { gap: 10px; padding: 12px; }
.oc-r .oc-x { gap: 4px; } .oc-r .oc-x small { font-size: 11px; } .oc-r .oc-x b { font-size: 13.5px; }
/* ===== yuklanish: yozuvsiz, toza va ixcham ===== */
.spn { display: block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); border-top-color: var(--brand); animation: spin .75s linear infinite; }
/* biror ish bajarilayotganda: ekran ustida faqat aylanuvchi belgi */
.ldr { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 55%, transparent); opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility 0s linear .18s; }
.ldr.on { opacity: 1; visibility: visible; transition: opacity .18s ease; }
/* tugma ichida aylanuvchi belgi (kirish, saqlash va hokazo) */
.btn.busy { position: relative; color: transparent !important; opacity: 1; pointer-events: none; }
.btn.busy > * { visibility: hidden; }
.btn.busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2.5px solid color-mix(in srgb, var(--fg) 22%, transparent); border-top-color: var(--fg); animation: spin .7s linear infinite; }
.btn.primary.busy::after { border-color: color-mix(in srgb, var(--brand-ink) 25%, transparent); border-top-color: var(--brand-ink); }
@media (prefers-reduced-motion: reduce) { .spn, .btn.busy::after { animation-duration: 1.6s; } }
/* ===== 1.6: ilova uslubidagi tanlash oynalari ===== */
.pk-n { display: none !important; }
.pk-b { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--fg); font: 500 15px var(--f); text-align: left; transition: border-color .15s; }
.pk-b:active { border-color: var(--brand); } .pk-b:disabled { opacity: .6; }
.pk-v { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pk-v.pk-ph { color: var(--faint); }
.pk-b .pk-i { width: 18px; height: 18px; color: var(--muted); flex: none; }
.pk-b .pk-dn { transform: rotate(90deg); }
.pick .sh-b { padding-bottom: 14px; }
.pk-s { margin-bottom: 10px; }
.pk-l { max-height: 56vh; overflow-y: auto; }
.pk-l .li.on b { color: var(--brand-text); } .pk-l .pk-ck { width: 20px; height: 20px; color: var(--brand-text); stroke-width: 2.4; flex: none; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .cal-h b { font: 700 16px var(--f); }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-w span { font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cd { height: 42px; border-radius: 12px; font: 600 15px var(--f); color: var(--fg); }
.cd:active { background: var(--surface-2); } .cd.td { box-shadow: inset 0 0 0 1.5px var(--line); } .cd.on { background: var(--brand); color: var(--brand-ink); box-shadow: none; } .cd:disabled { color: var(--faint); opacity: .45; }
.cal-f { display: flex; justify-content: center; margin-top: 10px; } .cal-f .btn { min-width: 140px; }
.li-ic.k-cost { background: var(--bad-w); color: var(--bad); }
.per-l { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; } .per-l .ic { width: 16px; height: 16px; }
.hero.sm span.muted { font-size: 12.5px; margin-top: 4px; }
.trd-lk { display: flex; align-items: center; gap: 12px; padding: 12px 14px; } .trd-lk b { flex: 1; font-size: 15px; } .trd-lk > .ic { width: 18px; height: 18px; }
/* ===== 1.6.1: hisobot — kichik oynalar va kattaroq sof foyda ===== */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpi { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); box-shadow: var(--sh); text-align: left; }
.kpi:disabled { opacity: 1; cursor: default; }
.kpi:not(:disabled):active { transform: scale(.97); }
.kpi small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.kpi b { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin-top: 2px; }
.kpi span { font-size: 11px; color: var(--muted); }
.kpi.k-in b { color: var(--ok); } .kpi.k-av b { color: var(--info); }
.hero.net { padding: 16px 18px; } .hero.net b { font-size: 32px; } .hero.net .muted { font-size: 12.5px; margin-top: 4px; }
@media (max-width: 370px) { .kpi b { font-size: 14px; } .kpi { padding: 10px; } }
/* a'zo sahifasi: qo'lidagi pul va avans */
.pcard { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; position: relative; }
.pc-c { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pc-c small { font-size: 12px; font-weight: 600; color: var(--muted); } .pc-c b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; } .pc-c b.av { color: var(--info); }
.pcard .kc-p, .pcard .pill { grid-column: 1 / -1; justify-self: start; }
.pill.np { font-size: 10.5px; padding: 2px 7px; border-radius: 99px; background: var(--surface-3); color: var(--muted); font-weight: 600; vertical-align: 1px; }
.li-ic.k-av { background: var(--info-w); color: var(--info); }
.dc-t { font-size: 15px; font-weight: 700; display: block; }
.chips.cf { flex-wrap: wrap; overflow: visible; padding: 0; }
.vstack > .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
/* ===== Apple uslubidagi aylanuvchi belgi (strelkasiz) ===== */
.aspin { display: inline-block; width: 26px; height: 26px; color: var(--muted); flex: none; }
.aspin svg { display: block; width: 100%; height: 100%; }
.aspin.go svg { animation: aspin 1s steps(12) infinite; }
.aspin.lg { width: 34px; height: 34px; }
@keyframes aspin { to { transform: rotate(360deg); } }
/* pastga tortib yangilash: belgi doim o'rtada */
.ptr { height: var(--d, 0px); display: flex; align-items: center; justify-content: center; overflow: hidden; transition: height .22s ease; }
.ptr.drag { transition: none; }
.ptr .aspin { opacity: var(--p, 0); transform: scale(calc(.55 + .45 * var(--p, 0))) rotate(calc(var(--p, 0) * 180deg)); }
.ptr.ptr-on { height: 56px; } .ptr.ptr-on .aspin { opacity: 1; transform: none; } .ptr.ptr-on .aspin svg { animation: aspin 1s steps(12) infinite; }
@media (prefers-reduced-motion: reduce) { .aspin.go svg, .ptr.ptr-on .aspin svg { animation-duration: 2s; } }

/* ===== 1.7: ochilish oynasi — usta paydo bo'ladi, orqasida logo foni ochiladi, dubulg'a tushadi va salom beradi ===== */
.splash { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg); animation: spHold 1.2s linear; transition: opacity .32s ease; }
.splash.out { opacity: 0; pointer-events: none; }
.sp-b { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: -40px; transition: transform .32s cubic-bezier(.4, 0, .2, 1); }
.splash.out .sp-b { transform: scale(1.06); }
.sp-ic { position: relative; width: 100px; height: 100px; }
.sp-beat { position: absolute; inset: 0; will-change: transform, opacity; animation: spIn .5s cubic-bezier(.2, .8, .2, 1) both; }
.sp-sh, .sp-cl { position: absolute; inset: 0; border-radius: 23.4%; }
.sp-sh { box-shadow: 0 12px 30px rgba(7, 100, 90, .28); }
.sp-cl { overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.sp-l { position: absolute; inset: 0; width: 100%; height: 100%; display: block; will-change: transform, opacity; backface-visibility: hidden; }
.sp-dk { animation: spRise .55s cubic-bezier(.2, .8, .2, 1) .14s both; }
.sp-tl { transform-origin: 23% 80%; animation: spShoot .45s cubic-bezier(.2, .8, .2, 1) .42s both; }
.sp-n { font: 700 26px/1 var(--f); letter-spacing: -.03em; color: var(--fg); animation: spName .45s cubic-bezier(.2, .8, .2, 1) .5s both; }
.splash .aspin { position: absolute; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); opacity: 0; animation: spName .3s ease 2.2s forwards; }
@keyframes spHold { from { visibility: visible; } to { visibility: visible; } }
@keyframes spIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
@keyframes spRise { from { opacity: 0; transform: translateY(14%); } to { opacity: 1; transform: none; } }
@keyframes spShoot { from { opacity: 0; transform: translate(-12%, 12%); } to { opacity: 1; transform: none; } }
@keyframes spName { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
:root[data-theme="dark"] .sp-sh { box-shadow: 0 14px 34px rgba(0, 0, 0, .5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-sh { box-shadow: 0 14px 34px rgba(0, 0, 0, .5); } }
@media (prefers-reduced-motion: reduce) { .splash, .sp-beat, .sp-dk, .sp-tl, .sp-n { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; } }
/* ===== 1.7.1: sof foydani yashirish ko'zchasi, iPhone'ga o'rnatish havolasi ===== */
.hero.net .net-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -6px -8px 0 0; }
.eye-b { color: var(--muted); } .eye-b svg { width: 20px; height: 20px; }
.inst-c { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px 0 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--brand-text); font: 600 13.5px var(--f); box-shadow: 0 1px 2px rgba(15, 30, 55, .06); }
.inst-c svg { width: 17px; height: 17px; } .inst-c:active { background: var(--surface-2); } .auth-top .inst-c { margin-right: auto; }
/* ilova kabi: ikki marta bosilganda kattalashmaydi, tugmalar matni belgilanmaydi */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.v-img { touch-action: auto; }
button, .btn, .li, .ocard, .kpi, .tab, nav, .chipb, .seg, .auth-top { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@supports (-webkit-touch-callout: none) { input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: max(16px, 1em); } }
/* ===== 1.9: hisobot plitkalari soni, avanslar, davrni qaytarish ===== */
.kpis.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpis.n1 { grid-template-columns: 1fr; }
.crt.only { padding: 2px 4px; gap: 0; } .crt.only svg { margin: 0; }
.rng-r { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: -4px; } .rng-r svg { width: 15px; height: 15px; }
.av-c { padding: 0; overflow: hidden; }
.av-h { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; text-align: left; color: inherit; }
.av-h .li-b { flex: 1; min-width: 0; } .av-h .av-v { font-size: 18px; font-weight: 700; } .av-h > svg { width: 18px; height: 18px; flex: none; }
.av-rows { padding: 4px 16px 12px 66px; display: flex; flex-direction: column; gap: 6px; }
.av-r { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); } .av-r b { color: var(--fg); font-weight: 600; }
.av-c .kc-p { margin: 0 16px 12px 66px; }
.li-ic.k-mv { color: var(--brand-text); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.steps-i li b { font-weight: 700; } .ios-sh { width: 18px; height: 18px; vertical-align: -3px; color: #0a84ff; }
.note.warn { margin-bottom: 10px; }
.av-h .li-b b { display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .av-h .crt.only { flex: none; }

/* ===== 2.0: sarlavha, pastki bo'limlar, sozlamalar, profil, qurilmalar, PIN kod, kompyuter ko'rinishi ===== */
/* sarlavha: bo'lim nomi katta, qo'ng'iroqcha yumaloq tugmada (foydalanuvchi ismi sarlavhada ko'rinmaydi) */
.top { height: 64px; gap: 8px; }
.logo.hd { width: 30px; height: 30px; }
.hd-t { margin: 0; min-width: 0; font: 700 23px/1.15 var(--f); letter-spacing: -.03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top .ib.bell { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); }
.top .ib.bell .ic { width: 23px; height: 23px; stroke-width: 1.9; }
.top .ib.bell:active { background: var(--surface-3); }
.top .ib.bell .badge { top: -4px; right: -4px; }
.top .ib.sync { width: 44px; height: 44px; }
.tabs .nb, .tabs .nu { display: none; }
.tabs.n4 button span { font-size: 11px; }
/* sozlamalar: profil kartasi — o'ngda qalamcha va strelka */
.card.prof { width: 100%; text-align: left; display: flex; align-items: center; gap: 14px; padding: 16px 10px 16px 16px; margin: 0; }
.prof-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.prof-b b { font: 700 18px/1.25 var(--f); display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.prof-b small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof-e { display: flex; align-items: center; gap: 4px; flex: none; }
.prof-pen { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-weak); color: var(--brand-text); font-style: normal; }
.prof-pen .ic { width: 17px; height: 17px; stroke-width: 2; }
.card.prof:active { transform: scale(.99); }
.av.xxl { width: 84px; height: 84px; font-size: 29px; }
.pf-h { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 0 4px; }
.pf-h .av { margin-bottom: 8px; } .pf-h b { font: 700 21px/1.25 var(--f); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 4px; } .pf-h small { color: var(--muted); font-size: 13.5px; }
.set-rows > .set-row.tap { width: calc(100% + 28px); margin: 0 -14px; padding: 12px 10px 12px 14px; text-align: left; color: inherit; }
.set-rows > .set-row.tap:active { background: var(--surface-2); }
.set-rows > :first-child { border-top: 0; }
.set-l { flex: none; } .set-v { display: flex; align-items: center; justify-content: flex-end; gap: 4px; min-width: 0; color: var(--muted); font-size: 14.5px; }
.sv-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-rows > .tgl { padding: 12px 0; }
.tgl .set-l { flex: 1; min-width: 0; } .tgl .set-l > span { display: flex; flex-direction: column; min-width: 0; } .tgl .set-l small { font-weight: 400; }
.li.dev { align-items: center; } .li.dev .btn { flex: none; } .li.dev .li-b b { white-space: normal; flex-wrap: wrap; } .li.dev .li-b small { white-space: normal; line-height: 1.35; }
/* PIN kod oynasi (bank ilovalaridagidek) */
body.pin-on { overflow: hidden; }
.pin-o { position: fixed; inset: 0; z-index: 9000; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: calc(56px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; -webkit-user-select: none; user-select: none; }
.pin-top { position: absolute; top: calc(6px + env(safe-area-inset-top, 0px)); left: max(8px, env(safe-area-inset-left, 0px)); right: max(8px, env(safe-area-inset-right, 0px)); display: flex; align-items: center; justify-content: space-between; }
.pin-top .btn.text { color: var(--muted); font-weight: 600; padding: 8px 10px; }
.pin-b { width: 100%; max-width: 340px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pin-b > .av { margin-bottom: 2px; } .pin-b > .big-ic { margin: 0 auto 2px; }
.pin-t { margin: 16px 0 6px; font: 700 23px/1.2 var(--f); letter-spacing: -.025em; }
.pin-s { margin: 0; min-height: 21px; color: var(--muted); font-size: 14.5px; line-height: 1.4; } .pin-s.bad { color: var(--bad); font-weight: 600; }
.pin-d { display: flex; gap: 20px; margin: 26px 0 30px; }
.pin-d i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--faint); transition: background .12s, border-color .12s, transform .12s; }
.pin-d i.on { background: var(--brand); border-color: var(--brand); transform: scale(1.1); }
.pin-d.bad i { border-color: var(--bad); }
.pin-d.shake { animation: pinShake .42s cubic-bezier(.36, .07, .19, .97); }
@keyframes pinShake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-9px); } 40%, 60% { transform: translateX(9px); } }
.pin-k { display: grid; grid-template-columns: repeat(3, 76px); gap: 16px 26px; justify-content: center; }
.pin-k button { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); font: 600 29px/1 var(--f); color: var(--fg); font-feature-settings: 'tnum' 1; transition: background .1s, transform .1s; touch-action: manipulation; }
.pin-k button:active { background: var(--surface-3); transform: scale(.94); }
.pin-k button.fn { background: none; border: 0; box-shadow: none; color: var(--muted); } .pin-k button.fn .ic { width: 30px; height: 30px; stroke-width: 1.7; }
.pin-f { margin-top: 22px; }
.pin-r { gap: 0; } .pin-r .pin-s { margin-bottom: 18px; } .pin-r .fld { width: 100%; text-align: left; } .pin-r .err { width: 100%; text-align: left; } .pin-r .btn.lg { width: 100%; } .pin-r .btn.text { margin-top: 10px; }
@media (hover: hover) { .pin-k button:not(.fn):hover { background: var(--surface-2); } }
@media (max-height: 680px) { .pin-k { grid-template-columns: repeat(3, 66px); gap: 12px 24px; } .pin-k button { width: 66px; height: 66px; font-size: 26px; } .pin-d { margin: 18px 0 20px; } .pin-t { margin-top: 10px; font-size: 21px; } .pin-b > .av.xl, .pin-b > .big-ic { transform: scale(.85); } }
@media (max-height: 560px) { .pin-b > .av.xl, .pin-b > .big-ic { display: none; } .pin-t { margin-top: 0; } }
/* sichqoncha bilan ishlatilganda: ustiga kelganda yengil ajralish */
@media (hover: hover) and (pointer: fine) {
  button.li:hover, a.li:hover, .card.prof:hover, .card.subc:hover, .card.hand-row:hover, .addb:hover, .addt:hover { background: var(--surface-2); }
  .ocard:hover, .kpi:not(:disabled):hover, button.tile:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
  .ib:hover, .bkb:hover { background: var(--surface-2); } .chipb:not(.on):hover { background: var(--surface-2); }
  .btn.primary:hover { filter: brightness(1.04); } .btn.ghost:hover { background: var(--surface-2); }
}
/* ---------- kompyuter va keng ekran: chapda yon menyu, kontent butun oynaga moslashadi ---------- */
@media (min-width: 1024px) {
  :root { --side: 252px; }
  body { background: var(--bg); }
  #app { max-width: none; margin: 0 0 0 var(--side); border: 0 !important; padding-bottom: 120px; }
  .top { height: 76px; padding: 0 28px 0 36px; top: 0; }
  .top .logo.hd { display: none; }
  .hd-t { font-size: 27px; }
  #view.wrap { padding: 0 36px; max-width: 1240px; }
  #banner .banner { margin: 4px 36px 0; max-width: 1168px; }
  .tabs { top: 0; bottom: 0; left: 0; right: auto; width: var(--side); height: auto; max-width: none; margin: 0; z-index: 55; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 20px 14px 16px; border-top: 0; border-right: 1px solid var(--line); background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tabs .nb { display: flex; align-items: center; gap: 11px; padding: 2px 10px 24px; font: 700 20px var(--f); letter-spacing: -.025em; }
  .tabs .nb .logo { width: 36px; height: 36px; }
  .tabs button, .tabs.n2 button, .tabs.n3 button, .tabs.n4 button { flex: none; flex-direction: row; justify-content: flex-start; gap: 13px; height: 48px; padding: 0 14px; border-radius: 13px; color: var(--fg); }
  .tabs button span, .tabs.n4 button span { font-size: 15px; font-weight: 600; }
  .tabs button .ic { width: 22px; height: 22px; color: var(--muted); }
  .tabs button:hover { background: var(--surface-2); }
  .tabs button.on { background: var(--brand-weak); color: var(--on-weak); } .tabs button.on .ic { color: var(--brand-text); }
  .tabs .nu { display: flex; align-items: center; gap: 10px; margin-top: auto; height: auto; padding: 10px; border: 1px solid var(--line); border-radius: 14px; text-align: left; }
  .tabs .nu .av { width: 36px; height: 36px; font-size: 13px; } .tabs .nu .li-b b { font-size: 14px; } .tabs .nu .li-b small { font-size: 12px; }
  .tabs .nu .crt .ic { width: 11px; height: 11px; color: inherit; stroke-width: 2.4; }
  #view .cards > .empty { grid-column: 1 / -1; }
  .fab { right: 40px; bottom: 40px; }
  #toast { bottom: 32px; left: calc(50% + var(--side) / 2); }
  /* ishlar: kartalar bir necha ustunda */
  #view .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
  #view .vstack > .tiles.two, #view .vstack > .search { max-width: 680px; }
  /* sozlamalar, mijozlar, hisobot: o'qish uchun qulay kenglik */
  #view .vstack.stg-v { max-width: 760px; }
  #view .vstack.cl-v { max-width: 820px; } #view .vstack.rep-v { max-width: 980px; }
  .kpis { gap: 12px; } .kpi { padding: 14px 16px; } .kpi b { font-size: 19px; }
  /* sahifalar: yon menyudan o'ngdagi butun maydonni egallaydi */
  .page { left: var(--side); right: 0; max-width: none; margin: 0; box-shadow: -1px 0 0 var(--line), -18px 0 40px rgba(0, 0, 0, .06); }
  .ph { min-height: 76px; padding: 10px 24px; }
  .page .pb.wrap, .page .pf { padding-left: max(36px, calc((100% - 880px) / 2)); padding-right: max(36px, calc((100% - 880px) / 2)); }
  /* pastdan chiqadigan oynalar: kompyuterda ekran o'rtasida */
  .sw-wrap .sheet, .sw-wrap.dlg .sheet { top: 50%; bottom: auto; left: 50%; right: auto; width: min(560px, calc(100vw - 48px)); max-width: none; margin: 0; max-height: min(86vh, 880px); border-radius: 22px; padding-bottom: 0; opacity: 0; transform: translate(-50%, -47%) scale(.97); transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .18s; }
  .sw-wrap.dlg .sheet { width: min(430px, calc(100vw - 48px)); }
  .sw-wrap.in .sheet, .sw-wrap.dlg.in .sheet { opacity: 1; transform: translate(-50%, -50%); }
  .sw-wrap.out .sheet, .sw-wrap.dlg.out .sheet { opacity: 0; transform: translate(-50%, -47%) scale(.97); }
  .sw-wrap .grab { display: none; } .sh-h { padding-top: 14px; }
  /* kirish oynalari: ekran o'rtasida karta */
  .auth { max-width: none; border: 0; }
  .auth-in { max-width: 440px; }
}
@media (min-width: 1440px) { #view .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== 2.1: Telegram kabi boshqaruv, pastki menyu, kundalik mijozlar, Navbat, Balans, Profil, qo'llanma ===== */
/* pastki menyu: biroz yuqorida, burchaklari yumaloq, faol bo'lim ajralib turadi */
:root { --tab-h: 64px; --tab-gap: 10px; }
#app { padding-bottom: calc(var(--tab-h) + var(--tab-gap) + env(safe-area-inset-bottom, 0px) + 100px); }
.tabs { left: 12px; right: 12px; bottom: calc(var(--tab-gap) + env(safe-area-inset-bottom, 0px)); max-width: calc(var(--col) - 24px); height: var(--tab-h); padding: 0 6px; border-radius: 22px; border: 1px solid var(--line); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(10, 20, 35, .14), 0 2px 6px rgba(10, 20, 35, .06); }
.tabs button { position: relative; margin: 6px 0; border-radius: 16px; gap: 2px; transition: color .15s; }
.tabs button::before { content: ''; position: absolute; inset: 0 4px; border-radius: 15px; background: var(--brand-weak); opacity: 0; transform: scale(.85); transition: opacity .18s, transform .18s; z-index: -1; }
.tabs button.on { color: var(--on-weak); } .tabs button.on::before { opacity: 1; transform: none; } .tabs button.on .ic { color: var(--brand-text); }
.tabs.n5 button span { font-size: 10.5px; } .tabs.n2 button span, .tabs.n3 button span { font-size: 12px; }
.fab { bottom: calc(var(--tab-h) + var(--tab-gap) + 14px + env(safe-area-inset-bottom, 0px)); right: max(18px, calc((100vw - var(--col)) / 2 + 18px), env(safe-area-inset-right, 0px)); }
.fab.green { background: var(--ok); color: #fff; } .fab.red { background: var(--bad); color: #fff; }
#toast { bottom: calc(var(--tab-h) + var(--tab-gap) + 22px + env(safe-area-inset-bottom, 0px)); }
/* pastdan chiqadigan oynalar: kichik amal — kichik, katta amal — katta panel; ichi alohida aylanadi */
.sw-wrap.h60 .sheet { height: min(62vh, 640px); display: flex; flex-direction: column; }
.sw-wrap.h80 .sheet { height: min(82vh, 860px); display: flex; flex-direction: column; }
.sw-wrap.h60 .sh-b, .sw-wrap.h80 .sh-b { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; }
.sw-wrap.h60 .sh-b > *, .sw-wrap.h80 .sh-b > * { margin-top: 0; margin-bottom: 0; }
.sh-foot { position: sticky; bottom: 0; margin-top: auto !important; padding: 10px 0 calc(4px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to bottom, transparent, var(--surface) 30%); display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.sh-foot .btn { width: 100%; } .sh-foot .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .row2 > .fld { margin: 0; }
.sheet { will-change: transform; } .grab { cursor: grab; }
.seg button .ic { width: 17px; height: 17px; } .seg.wide button { flex-direction: row; gap: 6px; }
.btn.g { background: var(--ok); color: #fff; } .btn.r { background: var(--bad); color: #fff; }
.empty.sm { padding: 18px 8px; }
/* kundalik mijozlar (Barbershop va h.k.) */
.dk-top { display: flex; align-items: center; gap: 12px; padding: 16px 14px 16px 18px; margin: 0; }
.dk-s { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .dk-s small { color: var(--muted); font-size: 13px; font-weight: 600; }
.dk-s b { font: 800 27px/1.15 var(--f); letter-spacing: -.02em; } .dk-c { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 13.5px; font-weight: 600; } .dk-c .ic { width: 16px; height: 16px; }
.dk-add { flex: none; width: 60px; height: 60px; border-radius: 20px; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px color-mix(in srgb, var(--ok) 40%, transparent); transition: transform .12s; }
.dk-add .ic { width: 30px; height: 30px; stroke-width: 2; } .dk-add:active { transform: scale(.93); }
.rates { display: flex; align-items: stretch; gap: 8px; } .rates .rt { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; }
.rates .rt small { color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; } .rates .rt b { font: 700 16px var(--f); }
.rt-src { flex: none; align-self: center; color: var(--faint); font-size: 10.5px; line-height: 1.3; text-align: right; max-width: 76px; }
.search-r { display: flex; gap: 8px; align-items: center; } .search-r .search { flex: 1; margin: 0; } .search-r .ib.bk { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); flex: none; }
.dk-v > .vstack, .dk-v .sec { margin-top: 4px; }
.li.dk-r { gap: 12px; } .dk-no { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); color: var(--muted); display: grid; place-items: center; font: 700 13px var(--f); font-style: normal; }
.dk-v .dk-r .dk-v, .li .dk-v { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; } .li .dk-v b { color: var(--ok); font-size: 15.5px; } .li .dk-v small { color: var(--muted); font-size: 12px; }
.dk-cl { flex: 1; min-height: 120px; } .li.ck.on { background: var(--brand-weak); } .li.ck .ic.pos { color: var(--ok); }
.dk-sel { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 0; } .dk-sel .li-b { flex: 1; min-width: 0; }
/* Navbat */
.qd { margin: 0; align-items: center; } .qd-d { flex: 1; min-width: 150px; } .qd-d input, .qd-d .pk-b, .qd-d button { height: 34px; min-height: 34px; border-radius: 99px; font-size: 13.5px; }
.q-sum { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; margin: 0; color: var(--muted); font-size: 14px; } .q-sum b { color: var(--fg); }
.li.q-r { align-items: center; gap: 10px; } .q-t { flex: none; width: 58px; height: 46px; border-radius: 12px; background: var(--brand-weak); color: var(--on-weak); display: grid; place-items: center; } .q-t b { font: 700 16px var(--f); }
.q-b { flex: 1; min-width: 0; text-align: left; display: flex; flex-direction: column; } .ok-b { background: var(--ok); color: #fff; flex: none; } .q-r.st-cancel .q-b b { text-decoration: line-through; color: var(--muted); } .q-r.st-done .q-t { background: var(--ok-w); color: var(--ok); }
/* shaxsiy Balans */
.pf-bal { padding: 18px; margin: 0; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(135deg, var(--navy), color-mix(in srgb, var(--navy) 70%, var(--brand))); color: var(--navy-ink); border: 0; }
.pf-bal small { opacity: .8; font-size: 13px; font-weight: 600; } .pf-bal > b { font: 800 31px/1.1 var(--f); letter-spacing: -.02em; } .pf-bal > b.neg { color: #ffb4a8; }
.pf-m { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; opacity: .92; } .pf-m span { display: inline-flex; align-items: center; gap: 5px; } .pf-m .ic { width: 15px; height: 15px; } .pf-m b { font-weight: 700; }
.pf-d { display: flex; gap: 12px; padding-top: 8px; margin-top: 4px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13.5px; font-weight: 600; } .pf-d span:first-child { opacity: .8; flex: 1; } .pf-d .pos { color: #9be3b6; } .pf-d .neg { color: #ffb4a8; }
.pf-day { color: var(--muted); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 10px 4px -4px; }
.pf-v .list + .pf-day { margin-top: 14px; }
.pf-sw { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-3); border-radius: 14px; padding: 4px; flex: none; }
.pf-sw button { position: relative; z-index: 1; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; color: var(--muted); transition: color .2s; }
.pf-sw button.on { color: #fff; } .pf-sw i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 11px; background: var(--ok); transition: transform .25s cubic-bezier(.2, .8, .2, 1), background .25s; }
.pf-sw.out i { transform: translateX(100%); background: var(--bad); }
.pf-body { display: flex; flex-direction: column; gap: 12px; touch-action: pan-y; } .pf-body.sl-l { animation: slL .26s ease; } .pf-body.sl-r { animation: slR .26s ease; }
@keyframes slL { from { transform: translateX(30%); opacity: 0; } to { transform: none; opacity: 1; } } @keyframes slR { from { transform: translateX(-30%); opacity: 0; } to { transform: none; opacity: 1; } }
.pf-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pft { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 6px; min-height: 76px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line); font-size: 12.5px; font-weight: 600; text-align: center; transition: border-color .15s, background .15s, transform .1s; }
.pft .ic { width: 24px; height: 24px; color: var(--muted); } .pft:active { transform: scale(.96); }
.pf-tiles.big .pft { aspect-ratio: 1 / .86; } .pft.on { border-color: var(--brand); background: var(--brand-weak); } .pft.on .ic { color: var(--brand-text); }
.pf-h { text-align: center; margin: 4px 0 0; }
/* Profil */
.prof-c { padding: 16px; margin: 0; } .pc-top { display: flex; align-items: center; gap: 14px; } .pc-n { flex: 1; min-width: 0; display: flex; flex-direction: column; } .pc-n b { font: 700 19px/1.25 var(--f); display: flex; align-items: center; gap: 4px; } .pc-n small { color: var(--muted); font-size: 13px; }
.pc-e { background: var(--brand-weak); color: var(--brand-text); border-radius: 50%; }
.pc-rows { margin-top: 12px; border-top: 1px solid var(--line-2); } .pc-r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; } .pc-r:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-r span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); } .pc-r span .ic { width: 17px; height: 17px; } .pc-r b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.ptiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ptile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; min-height: 96px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-align: left; transition: transform .12s, background .15s; }
.ptile:active { transform: scale(.97); } .pt-ic { width: 38px; height: 38px; border-radius: 12px; background: var(--brand-weak); color: var(--brand-text); display: grid; place-items: center; margin-bottom: 6px; } .pt-ic .ic { width: 20px; height: 20px; }
.ptile b { font-size: 14.5px; } .ptile small { color: var(--muted); font-size: 12.5px; line-height: 1.3; } .ptile.warn .pt-ic { background: var(--warn-w); color: var(--warn); } .ptile.bad .pt-ic { background: var(--bad-w); color: var(--bad); }
.kasb-b { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
.kasb-b .li-b { flex: 1; min-width: 0; } .kasb-b small { color: var(--muted); }
.li.kb.on { background: var(--brand-weak); } .li.kb .ic.pos { color: var(--ok); }
/* yangi foydalanuvchi qo'llanmasi */
.tut { position: fixed; inset: 0; z-index: 8000; animation: tutIn .25s ease; }
@keyframes tutIn { from { opacity: 0; } to { opacity: 1; } }
.tut-spot { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(8, 14, 24, .62); pointer-events: none; transition: all .25s; }
.tut-b { position: fixed; width: min(320px, calc(100vw - 24px)); background: var(--surface); color: var(--fg); border-radius: 18px; padding: 14px 16px 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.tut-b small { color: var(--muted); font-size: 12px; font-weight: 700; } .tut-b p { margin: 4px 0 10px; font-size: 15px; line-height: 1.45; }
.tut-dw { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; } .tut-dw .pill { align-self: flex-start; } .tut-demo { pointer-events: none; border: 1px dashed var(--line); border-radius: 14px; }
.tut-a { display: flex; justify-content: space-between; align-items: center; }
@media (min-width: 1024px) {
  .tabs { left: 0; right: auto; bottom: 0; top: 0; border-radius: 0; border: 0; border-right: 1px solid var(--line); box-shadow: none; background: var(--surface); margin: 0; max-width: none; height: auto; padding: 20px 14px 16px; }
  .tabs button { margin: 0; } .tabs button::before { inset: 0; border-radius: 13px; z-index: 0; } .tabs button > * { position: relative; z-index: 1; }
  .fab { bottom: 40px; right: 40px; } #toast { bottom: 32px; }
  .tabs.n5 button span, .tabs.n2 button span, .tabs.n3 button span { font-size: 15px; }
  .sw-wrap.h60 .sheet, .sw-wrap.h80 .sheet { height: min(80vh, 760px); }
  #view .vstack.dk-v, #view .vstack.pf-v { max-width: 820px; }
  .ptiles { grid-template-columns: repeat(3, 1fr); }
}

/* ===== 2.2: Asosiy (Balans kartasi), Ishxona, Navbat olish, Hisobot (shaxsiy), Profil — Telegram kabi ===== */
.av { overflow: hidden; } .av.hasimg { background: var(--surface-3); } .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av.tb { width: 26px; height: 26px; font-size: 10px; } .tabs button.on .av.tb { box-shadow: 0 0 0 2px var(--brand); }
/* Balans kartasi */
.bcard { margin: 0; padding: 16px 16px 14px; border: 0; border-radius: 22px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #1d6f66 0%, transparent 55%), linear-gradient(150deg, #1b2a33, #10181f); box-shadow: 0 12px 30px rgba(8, 30, 30, .25); display: flex; flex-direction: column; gap: 10px; }
.bc-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bc-l { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px 5px 9px; border-radius: 99px; background: rgba(28, 194, 170, .16); color: #7fe6d5; font-size: 13px; font-weight: 700; } .bc-l .ic { width: 15px; height: 15px; }
.bc-eye { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 11px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #e7eef2; font-size: 12.5px; font-weight: 600; } .bc-eye .ic { width: 15px; height: 15px; }
.bc-v { font: 800 32px/1.1 var(--f); letter-spacing: -.025em; } .bc-v.neg { color: #ffb4a8; }
.bc-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px; align-items: stretch; }
.bc-k { display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 8px 8px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.bc-k span { display: inline-flex; align-items: center; gap: 7px; } .bc-k b { justify-self: start; font-size: 14.5px; white-space: nowrap; } .bc-k b.pos { color: #5fe39a; } .bc-k b.neg { color: #ff8a7a; }
.bc-k small { grid-column: 1 / -1; font-size: 11.5px; opacity: .6; }
.kd { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; } .kd .ic { width: 13px; height: 13px; }
.kd.g { background: rgba(95, 227, 154, .16); color: #5fe39a; } .kd.r { background: rgba(255, 138, 122, .16); color: #ff8a7a; }
.bc-ch { position: relative; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); padding: 22px 8px 14px; min-height: 92px; }
.bc-ch svg { width: 100%; height: 64px; display: block; overflow: visible; }
.bc-ch .lg { fill: none; stroke: #5fe39a; stroke-width: 2.2; vector-effect: non-scaling-stroke; } .bc-ch .lr { fill: none; stroke: #ff8a7a; stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.bc-ch .ar { fill: rgba(255, 138, 122, .12); } .bc-ch .dg { fill: #5fe39a; } .bc-ch .dr { fill: #ff8a7a; }
.bc-ch small { position: absolute; left: 9px; bottom: 3px; font-size: 10px; opacity: .55; }
.bc-lg { position: absolute; top: 6px; right: 9px; display: flex; gap: 9px; font-size: 10.5px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.bc-lg span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; } .bc-lg .g::before { background: #5fe39a; } .bc-lg .r::before { background: #ff8a7a; }
.bc-m { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255, 255, 255, .72); border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 9px; }
.bc-m span { display: inline-flex; align-items: center; gap: 5px; } .bc-m .ic { width: 15px; height: 15px; opacity: .8; } .bc-m b { color: #fff; }
.sec-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .sec-r .sec { margin: 0; }
.sec-r .chipb { display: inline-flex; align-items: center; gap: 3px; padding-right: 8px; } .sec-r .chipb .ic { width: 15px; height: 15px; }
.home-v, .books-v, .tg-v { padding-top: 6px; }
/* Ishxona */
.work-v { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; } .work-v > .vstack, .work-v > .cl-v { padding-top: 0; }
.seg.wtabs { margin: 0; } .seg.wtabs button { min-height: 36px; font-size: 13.5px; }
.prov-c { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 12px 14px; text-align: left; color: inherit; }
.prov-c .li-b { flex: 1; min-width: 0; } .prov-c .li-b small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prov-c.on .li-ic { --cc: var(--ok); background: var(--ok-w); } .prov-c:not(.on) .li-ic { --cc: var(--brand-text); background: var(--brand-weak); }
.dchips { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.dch { min-height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 13px; color: var(--muted); }
.dch.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.q-r .q-on { margin-left: 4px; } .q-r .av { width: 34px; height: 34px; flex: none; }
/* Navbat olish */
.cat-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cat-t { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); color: var(--fg); min-width: 0; }
.cat-t span { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; } .cat-t span .ic { width: 24px; height: 24px; }
.cat-t b { font-size: 12px; font-weight: 600; text-align: center; line-height: 1.2; overflow-wrap: anywhere; }
.cat-t.c-barber > span { background: #e9e3fb; color: #6a4fc2; } .cat-t.c-moyka > span { background: #dff0fb; color: #1f7fb8; } .cat-t.c-beauty > span { background: #fde3ee; color: #c23f77; } .cat-t.c-auto > span { background: #fdebd8; color: #b8641a; }
:root[data-theme="dark"] .cat-t.c-barber > span { background: #2b2446; color: #b6a2f2; } :root[data-theme="dark"] .cat-t.c-moyka > span { background: #16303f; color: #7cc4ef; } :root[data-theme="dark"] .cat-t.c-beauty > span { background: #3d1c2b; color: #f08cb6; } :root[data-theme="dark"] .cat-t.c-auto > span { background: #3a2716; color: #f0a35e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cat-t.c-barber > span { background: #2b2446; color: #b6a2f2; } :root:not([data-theme="light"]) .cat-t.c-moyka > span { background: #16303f; color: #7cc4ef; } :root:not([data-theme="light"]) .cat-t.c-beauty > span { background: #3d1c2b; color: #f08cb6; } :root:not([data-theme="light"]) .cat-t.c-auto > span { background: #3a2716; color: #f0a35e; } }
.sec.mut { color: var(--muted); }
.bk-r .av, .pv-r .av { flex: none; } .bk-t { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; } .bk-t b { font-size: 16px; } .bk-t small { font-size: 12px; color: var(--muted); } .bk-t .pill { font-style: normal; font-size: 11px; }
.bk-r.st-cancel .li-b, .bk-r.st-past .li-b, .bk-r.st-cancel .bk-t b { opacity: .6; }
.bk-h { display: flex; align-items: center; gap: 14px; } .bk-h div { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .bk-h b { font-size: 18px; } .bk-h small { color: var(--muted); }
.kvs { padding: 4px 14px; margin: 0; } .kvs .kv { padding: 10px 0; border-bottom: 1px solid var(--line-2); } .kvs .kv:last-child { border-bottom: 0; }
.kvs .kv span { display: inline-flex; align-items: center; gap: 8px; } .kvs .kv .ic { width: 17px; height: 17px; color: var(--muted); flex: none; }
.pv-h { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 6px 0 4px; } .pv-h .av { margin-bottom: 6px; } .pv-h b { font: 700 20px/1.25 var(--f); } .pv-h small { color: var(--muted); } .pv-h .btn { margin-top: 8px; }
.sug-c { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; margin: 12px 0 0; text-align: left; color: inherit; border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); background: color-mix(in srgb, var(--brand-weak) 55%, var(--surface)); }
.sug-c .li-b { flex: 1; } .sug-c .li-b small { display: block; color: var(--muted); font-size: 12.5px; } .sug-c .li-b b { font-size: 16px; } .sug-c .li-ic { --cc: var(--brand-text); background: var(--surface); }
.chips.dsel { margin-top: 4px; } .chipb.dd { display: flex; flex-direction: column; align-items: center; min-width: 48px; height: auto; padding: 6px 4px; border-radius: 14px; gap: 1px; } .chipb.dd small { font-size: 11px; font-weight: 600; opacity: .75; } .chipb.dd b { font-size: 17px; } .chipb.dd:disabled { opacity: .35; }
.slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.slot { min-height: 44px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); font: 700 15px var(--f); color: var(--fg); font-variant-numeric: tabular-nums; }
.slot.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); } .slot:disabled { opacity: .35; } .slot.busy:disabled { text-decoration: line-through; }
/* Hisobot: shaxsiy */
.bars { padding: 12px 12px 8px; margin: 0; } .bars-g { display: flex; align-items: flex-end; gap: 2px; height: 110px; }
.bars-g span { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 1px; height: 100%; min-width: 0; }
.bars-g i { width: 45%; max-width: 6px; min-height: 0; border-radius: 3px 3px 0 0; } .bars-g i.g { background: var(--ok); } .bars-g i.r { background: var(--bad); }
.bars-x { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); padding-top: 4px; }
.cats { padding: 6px 14px; margin: 0; } .cat-r { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-2); } .cat-r:last-child { border-bottom: 0; }
.cat-b { flex: 1; min-width: 0; display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; align-items: center; } .cat-l { display: flex; justify-content: space-between; gap: 8px; grid-column: 1 / -1; font-size: 14px; } .cat-l b:first-child { font-weight: 600; }
.cat-p { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; } .cat-p i { display: block; height: 100%; border-radius: 99px; } .cat-p i.g { background: var(--ok); } .cat-p i.r { background: var(--bad); }
.cat-b small { font-size: 12px; color: var(--muted); font-weight: 600; min-width: 34px; text-align: right; }
/* Profil — Telegram kabi */
.tg-h { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 0 6px; }
.tg-av { position: relative; border-radius: 50%; margin-bottom: 8px; } .tg-av .av.xxl { width: 104px; height: 104px; font-size: 36px; }
.tg-cam { position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); border: 3px solid var(--bg); } .tg-cam .ic { width: 17px; height: 17px; }
.tg-n { font: 700 23px/1.2 var(--f); letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 4px; } .tg-s { color: var(--muted); font-size: 14.5px; }
.tg-c { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: var(--sh); }
.tg-c h4 { margin: 0; padding: 12px 16px 2px; font-size: 13.5px; font-weight: 700; color: var(--brand-text); }
.tg-r { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 58px; padding: 9px 14px 9px 16px; text-align: left; color: var(--fg); position: relative; }
.tg-r + .tg-r::before { content: ''; position: absolute; top: 0; right: 0; left: 66px; border-top: 1px solid var(--line-2); }
.tg-c > .tg-r:first-child:not(:only-child) { } .tg-r:active { background: var(--surface-2); }
.tg-r .tg-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; } .tg-r .tg-b b { font-size: 15.5px; font-weight: 600; } .tg-r .tg-b small { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-r > .ic:last-child { width: 18px; height: 18px; flex: none; }
.tg-r:not(:has(.tg-i)) + .tg-r::before, .tg-c .tg-r:not(:has(.tg-i))::before { left: 16px; }
.tg-i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: none; } .tg-i .ic { width: 19px; height: 19px; stroke-width: 2.1; }
.tg-i.c-blue { background: #2f8fe6; } .tg-i.c-orange { background: #f0942b; } .tg-i.c-green { background: #34b45a; } .tg-i.c-red { background: #ec4b4b; } .tg-i.c-indigo { background: #5466e0; } .tg-i.c-teal { background: #1aa6a0; } .tg-i.c-purple { background: #8d5cdc; }
.tg-r.danger .tg-b b { color: var(--bad); }
.tg-v > .foot { margin-top: 2px; }
@media (min-width: 1024px) { .cat-g { gap: 12px; } .cat-t { padding: 16px 6px 14px; } .slots { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 360px) { .bc-r { grid-template-columns: 1fr; } .cat-t b { font-size: 11px; } }
.tgl.card { padding: 12px 14px; margin: 0; }
.av { position: relative; } .av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.q-on { font-style: normal; display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 6px; background: var(--info-w); color: var(--info); font-size: 11px; font-weight: 700; line-height: 17px; vertical-align: 1px; }
.slot { display: grid; place-items: center; padding: 0; } a.btn { text-decoration: none; }
.cat-p { display: block; } .cat-l { min-width: 0; } .cat-l b:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cat-l b.num { flex: none; }
.bc-k b { font-size: 15px; }
.cat-l b:first-child { flex: 1; min-width: 0; }
/* ===== 2.2.1: Telegram kabi — ixcham sarlavha, papkalar (tepada), surib almashtirish, ekranni to'liq egallash ===== */
.top { height: 56px; padding-left: max(18px, env(safe-area-inset-left, 0px)); }
.top .brand .logo.hd { display: none; } .hd-t { font-size: 25px; font-weight: 800; }
.top .ib.bell { width: 42px; height: 42px; box-shadow: none; }
#banner:empty { display: none; } #banner .banner { margin: 2px 0 8px; padding: 8px 10px 8px 12px; border-radius: 14px; font-size: 13px; }
#view.wrap { padding-top: 2px; }
.home-v, .books-v, .tg-v, .rep-v, .work-v { padding-top: 0; }
/* papkalar: Telegramdagi «Barchasi · Shaxsiy · Guruhlar» kabi */
.fbar { display: flex; gap: 2px; padding: 4px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line-2); overflow-x: auto; scrollbar-width: none; flex: none; box-shadow: var(--sh); }
.fbar::-webkit-scrollbar { display: none; }
.fbar button { flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 99px; font: 600 15px var(--f); color: var(--muted); white-space: nowrap; transition: background .18s, color .18s; }
.fbar button.on { background: var(--brand-weak); color: var(--brand-text); }
.fb-n { font-style: normal; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--surface-3); color: var(--fg); font-size: 12px; font-weight: 700; }
.fbar button.on .fb-n { background: var(--brand); color: var(--brand-ink); }
.fbody { display: flex; flex-direction: column; gap: 12px; touch-action: pan-y; will-change: transform; min-height: 40vh; }
.fbody > .vstack, .fbody > .cl-v { padding-top: 0; }
.fbody.sl-l { animation: slL .24s cubic-bezier(.2, .8, .2, 1); } .fbody.sl-r { animation: slR .24s cubic-bezier(.2, .8, .2, 1); }
.work-v > .fbar, .rep-v > .fbar, :is(.books-v > .fbar, .fbar.seg2) { margin-top: 2px; }
/* Navbat olish bo'limlari — ro'yxat (Telegram qatorlari kabi) */
.catlist { background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: var(--sh); }
.catlist .cat-li { border-radius: 0; min-height: 68px; gap: 14px; background: none; border: 0; box-shadow: none; margin: 0; }
.catlist .cat-li + .cat-li { border-top: 1px solid var(--line-2); }
.cat-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none; } .cat-ic .ic { width: 23px; height: 23px; }
.c-barber .cat-ic { background: #e9e3fb; color: #6a4fc2; } .c-moyka .cat-ic { background: #dff0fb; color: #1f7fb8; } .c-beauty .cat-ic { background: #fde3ee; color: #c23f77; } .c-auto .cat-ic { background: #fdebd8; color: #b8641a; }
:root[data-theme="dark"] .c-barber .cat-ic { background: #2b2446; color: #b6a2f2; } :root[data-theme="dark"] .c-moyka .cat-ic { background: #16303f; color: #7cc4ef; } :root[data-theme="dark"] .c-beauty .cat-ic { background: #3d1c2b; color: #f08cb6; } :root[data-theme="dark"] .c-auto .cat-ic { background: #3a2716; color: #f0a35e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-barber .cat-ic { background: #2b2446; color: #b6a2f2; } :root:not([data-theme="light"]) .c-moyka .cat-ic { background: #16303f; color: #7cc4ef; } :root:not([data-theme="light"]) .c-beauty .cat-ic { background: #3d1c2b; color: #f08cb6; } :root:not([data-theme="light"]) .c-auto .cat-ic { background: #3a2716; color: #f0a35e; } }
/* Profil: qator ichidagi almashtirgich va mavzu */
.tg-r .tgl.in { padding: 0; border: 0; flex: none; } .tg-r .seg.ico { flex: none; }
label.tg-r { cursor: pointer; }
/* pastki panel: pastga yaqinroq, ekran to'liq ishlatiladi */
:root { --tab-gap: 6px; } .tabs { left: 10px; right: 10px; }
@media (min-width: 1024px) { .top { height: 76px; } .hd-t { font-size: 27px; } .fbar { align-self: flex-start; } .fbar button { flex: none; } }
/* Profil: rasm yonidagi strelka va o'ngdan chiqadigan Akkaunt paneli */
.tg-h { position: relative; }
.tg-more { position: absolute; right: 0; top: 46px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh); color: var(--muted); }
.tg-more .ic { width: 22px; height: 22px; }
.sw-wrap.side .sheet { top: calc(env(safe-area-inset-top, 0px) + 64px); bottom: auto; left: auto; right: 0; width: min(88vw, 380px); max-width: none; margin: 0; max-height: calc(100% - 140px); border-radius: 22px 0 0 22px; padding-bottom: 6px; transform: translateX(104%); opacity: 1; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.sw-wrap.side.in .sheet { transform: none; } .sw-wrap.side.out .sheet { transform: translateX(104%); }
.sw-wrap.side .grab { display: none; } .sw-wrap.side .sh-b { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.sw-wrap.side .tg-c { box-shadow: none; }
@media (min-width: 1024px) { .sw-wrap.side .sheet, .sw-wrap.side.in .sheet { top: 90px; left: auto; right: 24px; width: 380px; border-radius: 22px; } .sw-wrap.side .sheet { opacity: 0; transform: translateX(30px); } .sw-wrap.side.in .sheet { opacity: 1; transform: none; } }
.card.cats { display: block; } .cat-r { width: 100%; } .cat-b { width: 100%; }
.catlist .cat-li .li-b { background: none; color: var(--fg); } .catlist .cat-li .li-b small { color: var(--muted); }
/* ===== 2.2.2: Telegram kabi ro'yxatlar va ixcham Balans kartasi ===== */
/* ro'yxat: ekran chetigacha, oq/qorong'i fon, ajratuvchi chiziq matndan boshlanadi */
.tl { margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); background: var(--surface); display: flex; flex-direction: column; }
.tl-r { display: flex; align-items: center; gap: 13px; width: 100%; padding: 0 16px; min-height: 72px; text-align: left; color: var(--fg); background: none; position: relative; }
.tl-r:active { background: var(--surface-2); }
.tl-r > .av, .tl-r > .tl-ic { flex: none; }
.tl-b { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 3px; border-bottom: 1px solid var(--line-2); padding: 10px 0; }
.tl-r:last-child .tl-b { border-bottom: 0; }
.tl-1, .tl-2 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tl-1 b { flex: 1; min-width: 0; font: 600 16px/1.25 var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-1 small { flex: none; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-2 > span { flex: 1; min-width: 0; font-size: 14.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-2 > .ic { flex: none; width: 18px; height: 18px; }
.tl-v { flex: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.tl-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; } .tl-ic .ic { width: 25px; height: 25px; stroke-width: 2; }
.tl-ic.g { background: linear-gradient(160deg, #4fcf87, #22a35c); } .tl-ic.r { background: linear-gradient(160deg, #ff8d7e, #e5533f); }
.tl-r.c-barber .tl-ic { background: linear-gradient(160deg, #9b84f0, #6a4fc2); } .tl-r.c-moyka .tl-ic { background: linear-gradient(160deg, #5db8f0, #1f7fb8); }
.tl-r.c-beauty .tl-ic { background: linear-gradient(160deg, #f589b8, #c23f77); } .tl-r.c-auto .tl-ic { background: linear-gradient(160deg, #f6b06a, #c8661c); }
.av.tlav { width: 52px; height: 52px; font-size: 18px; }
.tl-time { color: var(--fg); font-weight: 700; }
.tl-badge { flex: none; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--brand); color: var(--brand-ink); }
.tl-badge.past { background: var(--surface-3); color: var(--muted); } .tl-badge.cancel { background: var(--bad-w); color: var(--bad); } .tl-badge.done { background: var(--ok-w); color: var(--ok); }
.tl-r.st-cancel .tl-1 b, .tl-r.st-past .tl-1 b { color: var(--muted); }
.tl-day { display: flex; justify-content: center; padding: 10px 0 6px; } .tl-day span { font-size: 13px; font-weight: 600; color: var(--muted); padding: 3px 11px; border-radius: 99px; background: var(--surface-3); }
.fbody > .tl:first-child, .fbody > .tl-day:first-child { margin-top: 0; }
.fbody { gap: 8px; }
@media (min-width: 700px) { .tl { margin: 0; border-radius: 18px; border: 1px solid var(--line-2); overflow: hidden; } }
/* ixcham Balans kartasi — bir-birini bosmaydi */
.bcard { margin: 0; padding: 14px 16px 12px; gap: 10px; border-radius: 22px; overflow: hidden; }
.bc-t { min-height: 30px; } .bc-l { padding: 4px 11px; font-size: 13px; }
.bc-eye { width: 34px; height: 34px; padding: 0; justify-content: center; border-radius: 50%; } .bc-eye .ic { width: 18px; height: 18px; }
.bc-v { display: block; font-size: clamp(24px, 8vw, 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bc-v small { font-size: .5em; font-weight: 600; opacity: .7; }
.bc-k { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.bc-x { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.bc-x > span { display: flex; flex-direction: column; min-width: 0; } .bc-x small { font-size: 11.5px; color: rgba(255, 255, 255, .62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-x b { font-size: clamp(13px, 4vw, 16px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .bc-x.g b { color: #5fe39a; } .bc-x.r b { color: #ff8a7a; }
.bc-x .kd { flex: none; width: 28px; height: 28px; } .bc-x.g .kd { background: rgba(95, 227, 154, .16); color: #5fe39a; } .bc-x.r .kd { background: rgba(255, 138, 122, .16); color: #ff8a7a; }
.bc-ch { padding: 18px 6px 4px; min-height: 0; border-radius: 12px; } .bc-ch svg { height: 46px; } .bc-ch small { top: 4px; bottom: auto; left: 9px; }
.bc-lg { top: 4px; }
.bc-m { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding-top: 8px; }
.bc-m span { display: flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; } .bc-m em { font-style: normal; flex: none; } .bc-m b { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bc-m > span { align-items: center; gap: 8px; } .bc-m > span > span { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.bc-m em { font-size: 11.5px; color: rgba(255, 255, 255, .6); } .bc-m b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bc-m > span > .ic { flex: none; width: 18px; height: 18px; }
.bc-m > span > span { align-items: flex-start; } .bc-x > span { align-items: flex-start; }
/* ===== 2.2.3: Telegram ko'rinishi — ro'yxat fon bilan bir xil, kattaroq qatorlar, qidiruv, mavzular ===== */
.tl { background: transparent; }
.tl-r { min-height: 76px; gap: 14px; } .tl-r > .av, .tl-r > .tl-ic, .av.tlav { width: 56px; height: 56px; }
.tl-1 b { font-size: 17px; } .tl-2 > span { font-size: 15.5px; } .tl-1 small { font-size: 13.5px; }
.tg-search { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 18px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.tg-search .ic { width: 22px; height: 22px; flex: none; } .tg-search input { flex: 1; min-width: 0; border: 0; background: none; height: 100%; padding: 0; font: 500 16.5px var(--f); color: var(--fg); outline: none; box-shadow: none; }
.tg-search input::placeholder { color: var(--muted); }
.fbar { background: var(--surface-2); border: 0; box-shadow: none; } .fbar button { font-size: 16px; min-height: 42px; }
.fbar button.on { background: var(--brand-weak); color: var(--brand-text); }
.home-v { gap: 12px; }
/* mavzu tanlash (namunalar bilan) */
.th-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 8px 14px 14px; }
.th-t { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--fg); font-size: 13px; font-weight: 600; }
.th-p { width: 100%; aspect-ratio: 1 / 1.15; border-radius: 16px; border: 2px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 10px; overflow: hidden; }
.th-p i { display: block; height: 12px; width: 70%; border-radius: 8px; } .th-p i.me { align-self: flex-end; width: 58%; }
.th-t.on .th-p { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand); }
/* Telegram rangli tungi mavzular */
:root[data-tint="green"] { --bg-img: none; --card-grad: initial; --gpt-grad: initial; --bg: #1e2820; --bg-out: #172019; --surface: #263228; --surface-2: #2b382d; --surface-3: #344436; --line: #3a4b3c; --line-2: #2f3e31; --fg: #ecf3ea; --muted: #9fb39c; --faint: #7d907b;
  --brand: #7ccf6b; --brand-2: #96dc87; --brand-text: #9be08b; --brand-weak: #2f4a2c; --brand-ink: #10200d; --on-weak: #b3eaa6; --navy: #7ccf6b; --glow: rgba(124, 207, 107, .22); }
:root[data-tint="blue"] { --bg-img: none; --card-grad: initial; --gpt-grad: initial; --bg: #17212b; --bg-out: #111a22; --surface: #1e2c3a; --surface-2: #232e3c; --surface-3: #2b3a4a; --line: #33475a; --line-2: #2a3a4a; --fg: #eef3f8; --muted: #8fa4b8; --faint: #6f8599;
  --brand: #5eb5f7; --brand-2: #82c6fa; --brand-text: #7cc3fa; --brand-weak: #1f3a52; --brand-ink: #0b1a26; --on-weak: #a9d8ff; --navy: #5eb5f7; --glow: rgba(94, 181, 247, .22); }
.tg-search, .fbar { background: var(--surface-3); } :root[data-tint] .tg-search, :root[data-tint] .fbar { background: var(--surface-2); }
/* ===== 2.2.4: Telegram (Android) o'lchamlari bilan 1:1 — pastki panel, papkalar, qidiruv, sarlavha, shaffoflik ===== */
:root { --tg-glass: color-mix(in srgb, var(--surface) 78%, transparent); --tg-chip: color-mix(in srgb, var(--fg) 6%, transparent); --tg-act: color-mix(in srgb, var(--brand) 16%, transparent); --tab-h: 74px; --tab-gap: 8px; }
/* sarlavha: shaffof, xira fon ustida */
.top { height: 56px; background: color-mix(in srgb, var(--bg) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
.hd-t { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.top .ib.bell { width: 40px; height: 40px; background: none; border: 0; box-shadow: none; } .top .ib.bell .ic { width: 25px; height: 25px; stroke-width: 1.9; }
/* pastki panel: o'rtada, chetlardan ajralgan shaffof «tabletka», faol bo'lim — ichida och rangli tabletka */
.tabs { left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); height: var(--tab-h); bottom: calc(var(--tab-gap) + env(safe-area-inset-bottom, 0px)); padding: 4px; gap: 0; border-radius: 99px;
  background: var(--tg-glass); border: 1px solid color-mix(in srgb, var(--fg) 7%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.5); backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
.tabs button { flex: 0 1 auto; min-width: 64px; margin: 0; padding: 0 12px; height: 100%; border-radius: 99px; gap: 3px; color: var(--fg); }
.tabs button::before { inset: 0; border-radius: 99px; background: var(--tg-act); transform: scale(.9); }
.tabs button.on { color: var(--brand-text); } .tabs button.on::before { opacity: 1; transform: none; }
.tabs button .ic { width: 27px; height: 27px; stroke-width: 1.8; } .tabs button.on .ic { color: var(--brand-text); stroke-width: 2.1; }
.tabs button span, .tabs.n5 button span, .tabs.n4 button span, .tabs.n2 button span, .tabs.n3 button span { font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.tabs button .av.tb { width: 27px; height: 27px; font-size: 10.5px; }
@media (max-width: 380px) { .tabs button { min-width: 0; padding: 0 8px; } .tabs button span, .tabs.n5 button span { font-size: 11.5px; } }
#app { padding-bottom: calc(var(--tab-h) + var(--tab-gap) + env(safe-area-inset-bottom, 0px) + 90px); }
.fab { width: 56px; height: 56px; border-radius: 50%; bottom: calc(var(--tab-h) + var(--tab-gap) + 16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
#toast { bottom: calc(var(--tab-h) + var(--tab-gap) + 24px + env(safe-area-inset-bottom, 0px)); }
/* qidiruv va papkalar: Telegramdagidek ingichka, shaffof */
.tg-search { height: 42px; padding: 0 16px; gap: 14px; background: var(--tg-chip); border-radius: 99px; } .tg-search input { font-size: 16px; font-weight: 400; } .tg-search .ic { width: 21px; height: 21px; }
.fbar { padding: 3px; gap: 0; border-radius: 99px; background: var(--tg-chip); border: 0; box-shadow: none; }
.fbar button { flex: 0 0 auto; min-height: 32px; padding: 0 14px; font-size: 15.5px; font-weight: 500; color: var(--muted); }
.fbar button.on { background: var(--tg-act); color: var(--brand-text); font-weight: 600; }
.fb-n { min-width: 22px; height: 20px; padding: 0 6px; font-size: 12px; background: color-mix(in srgb, var(--fg) 14%, transparent); color: var(--fg); }
.fbar button.on .fb-n { background: var(--brand); color: var(--brand-ink); }
:root[data-tint] .tg-search, :root[data-tint] .fbar, .tg-search, .fbar { background: var(--tg-chip); }
@media (min-width: 1024px) { .tabs { left: 0; top: 0; bottom: 0; transform: none; width: var(--side); max-width: none; border-radius: 0; height: auto; padding: 20px 14px 16px; border: 0; border-right: 1px solid var(--line); box-shadow: none; } .tabs button { height: 48px; flex: none; border-radius: 13px; padding: 0 14px; } .tabs button::before { border-radius: 13px; } .tabs button span { font-size: 15px; } }
.tabs { width: min(calc(100% - 24px), 440px); } .tabs.n4 { width: min(calc(100% - 24px), 360px); }
.tabs button { flex: 1 1 0; min-width: 0; padding: 0 2px; } .tabs button span { max-width: 100%; }
.tabs.n5 button span { font-size: 12px; } @media (max-width: 370px) { .tabs.n5 button span { font-size: 10.5px; } }
@media (min-width: 1024px) { .tabs, .tabs.n4 { width: var(--side); } .tabs button { flex: none; padding: 0 14px; } }
.tabs.n5 button span { font-size: 11.5px; letter-spacing: -.02em; }
/* ===== 2.2.5: pastki panel biroz kichikroq ===== */
:root { --tab-h: 62px; }
.tabs { padding: 3px; width: min(calc(100% - 32px), 400px); } .tabs.n4 { width: min(calc(100% - 32px), 330px); }
.tabs button { gap: 2px; } .tabs button .ic { width: 23px; height: 23px; } .tabs button .av.tb { width: 23px; height: 23px; font-size: 9.5px; }
.tabs.n5 button span { font-size: 11px; } .tabs.n4 button span { font-size: 11.5px; }
.fab { width: 52px; height: 52px; }
@media (min-width: 1024px) { .tabs, .tabs.n4 { width: var(--side); } .tabs button .ic { width: 22px; height: 22px; } }
:root { --tab-gap: 16px; }
/* ekranni surib bo'lim almashtirish animatsiyasi */
#view.sl-l { animation: slL .26s cubic-bezier(.2, .8, .2, 1); } #view.sl-r { animation: slR .26s cubic-bezier(.2, .8, .2, 1); }
/* ===== 2.2.6: sarlavhada oyna belgisi+nomi; ixcham shaxsiy «Balans» kartasi; EUR kursi ===== */
.hd-t { display: flex; align-items: center; gap: 9px; }
.hd-ic { width: 25px; height: 25px; flex: none; stroke-width: 2; color: var(--brand-text); }
.hd-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* shaxsiy xarajat kartasi — kichikroq, naqd/karta yo'q */
.bcard.sm { padding: 12px 14px 10px; gap: 8px; }
.bcard.sm .bc-v { font-size: clamp(22px, 7vw, 28px); }
.bcard.sm .bc-k { gap: 7px; } .bcard.sm .bc-x { padding: 7px 9px; }
.bcard.sm .bc-ch { padding: 14px 6px 2px; min-height: 0; } .bcard.sm .bc-ch svg { height: 40px; }
/* uch valyuta: USD · RUB · EUR teng kataklarda */
.rates .rt { flex: 1 1 0; } .rates .rt-src { display: none; }

/* ===== 2.2.x: Telegram tilni tanlash uslubidagi radio (kasb) ===== */
.rdo { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--line); position: relative; transition: border-color .15s, background .15s; }
.rdo.on { border-color: var(--brand); background: var(--brand); }
.rdo.on::after { content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid var(--brand-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.kb-r .tg-b small { white-space: normal; }
.kb-r.on .tg-b b { color: var(--brand); }

/* ===== 2.2.x: dumaloq "+" tugma (bo'sh holat va ro'yxat oxirida) ===== */
.addr { margin: 4px auto 0; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 18px var(--glow); border: 0; }
.addr .ic { width: 26px; height: 26px; }
.addr:active { transform: scale(.94); }
/* ===== 2.2.x: Asosiy oyna — zakreplenie (sarlavha + Balans + kurslar), ixcham ro'yxat ===== */
/* sarlavha: alohida bar yo'q; «Asosiy» va qo'ng'iroqcha — fonsiz */
.top { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
/* «Asosiy» va qo'ng'iroqcha — Balans ichidagi summa bilan bir xil o'lchamda */
.hd-t { display: inline-flex; align-items: center; gap: 8px; flex: none; height: auto; padding: 0; border-radius: 0; background: none; color: var(--fg); border: 0; box-shadow: none; font: 800 clamp(22px, 7vw, 28px)/1.1 var(--f); letter-spacing: -.025em; }
.top .hd-t .hd-ic { width: .86em; height: .86em; flex: none; color: var(--brand-text); }
.brand { gap: 8px; }
.top .ib.bell { width: 46px; height: 46px; border-radius: 50%; padding: 0; background: none; color: var(--fg); border: 0; box-shadow: none; }
.top .ib.bell .ic { width: clamp(19px, 6vw, 24px); height: clamp(19px, 6vw, 24px); }
.top .ib.bell:active { background: var(--surface-3); }
.top .ib.bell .badge { top: 3px; right: 3px; left: auto; }
/* qo'shish tugmasi — o'ng chetdan ~1 sm ichkarida, pastki menyudan biroz yuqorida, alohida dumaloq (faqat Asosiy oynada) */
.addh { position: fixed; z-index: 36; right: calc(max(0px, (100vw - var(--col)) / 2) + 63px + env(safe-area-inset-right, 0px)); bottom: calc(var(--tab-gap) + env(safe-area-inset-bottom, 0px) + 88px); width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; box-shadow: 0 6px 18px var(--glow); }
.addh .ic { width: 27px; height: 27px; stroke-width: 2.2; } .addh:active { transform: scale(.94); }
/* Balans karta + valyuta kurslari yuqorida yopishib turadi */
.hm-pin { position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 30; background: var(--bg); padding: 2px 0 10px; display: flex; flex-direction: column; gap: 10px; }
/* Balans karta: fon — pastki menyu tugmalari fonidek (oq shisha, ingichka chegara, yumshoq soya), bo'yi 164px */
.hm-pin .bcard { color: var(--fg); background: var(--tg-glass); border: 1px solid color-mix(in srgb, var(--fg) 7%, transparent); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); }
.hm-pin .bcard .bc-l { background: var(--brand-weak); color: var(--on-weak); }
.hm-pin .bcard .bc-eye { background: var(--surface-2); border-color: var(--line); color: var(--fg); }
.hm-pin .bcard .bc-v.neg { color: var(--bad); } .hm-pin .bcard .bc-k { color: var(--muted); }
/* kasbli foydalanuvchi kartasi: oq fonda kataklar va grafik */
.hm-pin .bcard .bc-x { background: var(--surface-2); } .hm-pin .bcard .bc-x small { color: var(--muted); opacity: 1; }
.hm-pin .bcard .bc-x.g b { color: var(--ok); } .hm-pin .bcard .bc-x.r b { color: var(--bad); }
.hm-pin .bcard .bc-x.g .kd { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); } .hm-pin .bcard .bc-x.r .kd { background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad); }
.hm-pin .bcard .bc-ch { background: var(--surface-2); border-color: var(--line-2); } .hm-pin .bcard .bc-ch small, .hm-pin .bcard .bc-lg { color: var(--muted); opacity: 1; }
.hm-pin .bcard .bc-ch .lg { stroke: var(--ok); } .hm-pin .bcard .bc-ch .dg { fill: var(--ok); } .hm-pin .bcard .bc-ch .lr { stroke: var(--bad); } .hm-pin .bcard .bc-ch .dr { fill: var(--bad); } .hm-pin .bcard .bc-ch .ar { fill: color-mix(in srgb, var(--bad) 12%, transparent); }
.hm-pin .bcard .bc-lg .g::before { background: var(--ok); } .hm-pin .bcard .bc-lg .r::before { background: var(--bad); }
.hm-pin .bcard .bc-m { color: var(--muted); border-top-color: var(--line); } .hm-pin .bcard .bc-m b { color: var(--fg); }
.hm-pin .bcard.sm { position: relative; min-height: 164px; }
/* summa kartaning o'rtasida */
.hm-pin .bcard.sm .bc-v, .hm-pin .bcard.sm .bc-v.neg { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%); margin: 0; text-align: center; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-pin .bcard.sm .bc-v small { color: var(--muted); opacity: 1; }
/* valyuta kurslari: uchta bir xil o'lchamdagi alohida plitka, bo'yi 46px */
.rates { display: block; margin: 0; }
.rates .rt-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rates .rt { position: relative; min-width: 0; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; }
.rates .rt small { color: var(--muted); font-size: 12px; font-weight: 700; } .rates .rt b { font: 700 16px var(--f); }
/* xarajat qatorlari ixchamroq */
.home-v #hm-l .tl-r { min-height: 56px; gap: 11px; }
.home-v #hm-l .tl-ic { width: 40px; height: 40px; } .home-v #hm-l .tl-ic .ic { width: 20px; height: 20px; }
/* qator: nomi belgining o'rtasi bilan bir chiziqda; summa o'ng tomonda, qator o'rtasida; vaqt — summa ostida */
.home-v #hm-l .tl-b { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto 1fr; column-gap: 10px; row-gap: 0; align-items: center; padding: 0; }
.home-v #hm-l .tl-1, .home-v #hm-l .tl-2 { display: contents; }
.home-v #hm-l .tl-1 b { grid-area: 2 / 1; font-size: 15px; }
.home-v #hm-l .tl-v { grid-area: 2 / 2; justify-self: end; font-size: 11.67px; }
.home-v #hm-l .tl-1 small { grid-area: 3 / 2; align-self: start; justify-self: end; font-size: 9.75px; line-height: 1.25; }
.home-v #hm-l .tl-2 > span { grid-area: 3 / 1; align-self: start; font-size: 13px; }
/* Xizmatlar: «Navbat olish | Navbatlarim» paneli (avvalgisining 5/4 hajmida), o'rtada */
:is(.books-v > .fbar, .fbar.seg2) { width: 83.333%; align-self: center; padding: 4px; gap: 2px; }
:is(.books-v > .fbar, .fbar.seg2) button { flex: 1 1 0; min-width: 0; min-height: 35px; padding: 0 8px; gap: 5px; font-size: 13.75px; letter-spacing: -.01em; }
:is(.books-v > .fbar, .fbar.seg2) button:focus { outline: none; }
:is(.books-v > .fbar, .fbar.seg2) .fb-n { min-width: 19px; height: 19px; padding: 0 5px; font-size: 11px; }
/* surishda brauzer matnni belgilamasin (kursor/dastaklar chiqmasin), bosilgan qator kulrang bo'lib qotib qolmasin */
#app { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#app input, #app textarea, #app [contenteditable] { -webkit-user-select: text; user-select: text; }
#view.swiping :active { background-color: transparent !important; }
/* almashish animatsiyasi (o'ngdan/chapdan kirish) va surish sahifani kengaytirib yubormasin — aks holda telefon ekranni yon tomonga siljitib qotiradi */
#app, #view { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }

/* ===== 2.2.x: Ai Market boti dizayni — fon (#0b0c11 + ko'k nur), CapCut kartasi va ChatGPT kartasi ranglari ===== */
/* fon nuri: tanada, sarlavhada va zakreplenie blokida bir xil joylashadi (har biriga o'z siljishi bilan — telefon brauzerlarining hammasida ishlaydi) */
body, .top { background-color: var(--bg); background-image: var(--bg-img, none); background-repeat: no-repeat; }
.top { background-position: 0 0; }
.home-v { padding-top: 0; margin-top: -2px; }   /* zakreplenie sarlavhaga tirqishsiz yopishadi */
.hm-pin { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
  background-color: var(--bg); background-image: var(--bg-img, none); background-repeat: no-repeat; background-position: 0 -56px; }
/* pastki menyu, Balans kartasi va kurs plitkalari — CapCut kartasidek to'q kulrang gradient */
.tabs { background: var(--card-grad, var(--tg-glass)); border-color: var(--card-line, color-mix(in srgb, var(--fg) 7%, transparent)); }
.hm-pin .bcard { background: var(--card-grad, var(--tg-glass)); }
.rates .rt { background: var(--card-grad, var(--surface)); }
:root[data-theme="dark"]:not([data-tint]) .tabs, :root[data-theme="dark"]:not([data-tint]) .hm-pin .bcard, :root[data-theme="dark"]:not([data-tint]) .rates .rt { border-color: #252831; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .tabs, :root:not([data-theme]) .hm-pin .bcard, :root:not([data-theme]) .rates .rt { border-color: #252831; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); } }
/* «+» tugma — ChatGPT kartasidek yashil gradient va yashil nur */
.addh { background: var(--gpt-grad, var(--brand)); color: #fff; box-shadow: 0 8px 22px var(--glow); border: 1px solid color-mix(in srgb, #3cc7a1 30%, transparent); }
.fab { background: var(--gpt-grad, var(--brand)); color: #fff; box-shadow: 0 8px 22px var(--glow); }

/* ===== 2.2.x: Hisobot — oy tugmasi yonida «dan ↻ gacha» oraliq tanlagich, bitta «Jami» plitkasi ===== */
.rp-top { display: flex; justify-content: center; margin: 12px 0 6px; }
.rg { position: relative; width: 100%; max-width: 440px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.rg-d { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 16px; background: var(--card-grad, var(--surface)); cursor: pointer; font: inherit; color: inherit; text-align: left; transition: background .15s, transform .15s; }
.rg-d.rg-to { flex-direction: row-reverse; text-align: right; }
.rg-d:active { transform: scale(.97); }
.rg-ic { flex: none; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-weak); color: var(--brand-text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-text) 22%, transparent); }
.rg-ic .ic { width: 18px; height: 18px; }
.rg-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.rg-t small { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.rg-t b { font-size: 13.5px; font-weight: 700; color: var(--fg); white-space: nowrap; letter-spacing: -.01em; }
.rg-x { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); padding: 0; background: var(--surface-2); color: var(--muted); cursor: pointer; }
.rg-x .ic { width: 18px; height: 18px; stroke-width: 2.6; } .rg-x.on { border-color: transparent; background: var(--gpt-grad, var(--brand)); color: #fff; box-shadow: 0 3px 10px var(--glow); } .rg-x:active { transform: rotate(-90deg); transition: transform .2s; }
.rg.cust .rg-ic { background: var(--gpt-grad, var(--brand)); color: #fff; box-shadow: 0 3px 10px var(--glow); }
@media (max-width: 350px) { .rg-ic { width: 28px; height: 28px; border-radius: 10px; } .rg-ic .ic { width: 16px; height: 16px; } .rg-d { gap: 6px; padding: 6px; } .rg-t b { font-size: 12.5px; } }
.kpis.n1 .kpi.k-tot { padding: 14px 16px; align-items: center; text-align: center; } .kpis.n1 .kpi.k-tot b { font-size: clamp(22px, 7vw, 28px); color: var(--fg); }
.kpis.n1 .kpi.k-tot b span { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--muted); }

/* ===== 2.3: bitta qo'zg'almas fon, qotgan sarlavha elementlari, silliq surish, Windows 11 (Dark + Transparency) plitkalar ===== */
/* Windows 11 «Mica/Acrylic» qatlamlari: plitka — shaffof oq qatlam + ingichka chegara + tepada nozik yorug' chiziq */
:root {
  --mica: rgba(255, 255, 255, .72); --mica-2: rgba(255, 255, 255, .92); --mica-line: rgba(15, 20, 30, .07); --mica-top: rgba(255, 255, 255, .85); --mica-sh: 0 2px 10px rgba(20, 32, 48, .05);
  --acr: rgba(250, 250, 252, .86); --acr-s: rgba(250, 250, 252, .92); --acr-blur: blur(30px) saturate(170%);
  --bg-fx: radial-gradient(70% 45% at 0% 100%, rgba(14, 126, 99, .10) 0%, rgba(14, 126, 99, 0) 70%), radial-gradient(60% 40% at 100% 62%, rgba(88, 72, 190, .07) 0%, rgba(88, 72, 190, 0) 70%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --mica: linear-gradient(180deg, rgba(255, 255, 255, .078) 0%, rgba(255, 255, 255, .042) 100%); --mica-2: rgba(255, 255, 255, .11); --mica-line: rgba(255, 255, 255, .072); --mica-top: rgba(255, 255, 255, .085); --mica-sh: 0 8px 24px rgba(0, 0, 0, .22);
    --acr: rgba(24, 26, 34, .8); --acr-s: rgba(22, 24, 31, .88);
    --bg-fx: radial-gradient(70% 45% at 0% 100%, rgba(14, 126, 99, .2) 0%, rgba(14, 126, 99, 0) 70%), radial-gradient(60% 40% at 100% 62%, rgba(88, 72, 190, .16) 0%, rgba(88, 72, 190, 0) 70%);
  }
}
:root[data-theme="dark"] {
  --mica: linear-gradient(180deg, rgba(255, 255, 255, .078) 0%, rgba(255, 255, 255, .042) 100%); --mica-2: rgba(255, 255, 255, .11); --mica-line: rgba(255, 255, 255, .072); --mica-top: rgba(255, 255, 255, .085); --mica-sh: 0 8px 24px rgba(0, 0, 0, .22);
  --acr: rgba(24, 26, 34, .8); --acr-s: rgba(22, 24, 31, .88);
  --bg-fx: radial-gradient(70% 45% at 0% 100%, rgba(14, 126, 99, .2) 0%, rgba(14, 126, 99, 0) 70%), radial-gradient(60% 40% at 100% 62%, rgba(88, 72, 190, .16) 0%, rgba(88, 72, 190, 0) 70%);
}
:root[data-tint] { --bg-fx: none; --acr: color-mix(in srgb, var(--surface) 72%, transparent); --acr-s: color-mix(in srgb, var(--surface) 90%, transparent); }

/* ilova qobig'i: sahifa o'zi aylanmaydi — fon bitta va butunlay qo'zg'almas, sarlavha joyida, faqat oyna ichi aylanadi */
html.shell, html.shell body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.shell body { background: var(--bg); background-image: none; }
html.shell body::before { display: none; }
html.shell body::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-color: var(--bg); background-image: var(--bg-img, none), var(--bg-fx, none); background-repeat: no-repeat; }
.shell #app { position: fixed; top: 0; bottom: 0; left: 0; right: 0; max-width: var(--col); margin: 0 auto; min-height: 0; padding: 0; display: flex; flex-direction: column; overflow: hidden; background: transparent; }
@media (min-width: 1024px) { .shell #app { left: var(--side); max-width: none; margin: 0; } }
.shell #banner, .shell #ptr { flex: none; }
/* sarlavha qatori: o'z foni yo'q (fon — umumiy), faqat belgi, nom va qo'ng'iroqcha joyida turadi; joyi 5/4 (56 → 70px) */
.shell .top { position: relative; top: auto; z-index: 5; flex: none; height: calc(70px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); background: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; box-shadow: none; --hd: clamp(19px, 6.08vw, 24px); }   /* 2.3.1: qatordagi hamma narsa 20% kichikroq */
/* «Asosiy» yozuvi, uning belgisi va qo'ng'iroqcha — bir xil o'lchamda */
.shell .top .hd-t { font-size: var(--hd); line-height: 1; gap: .3em; }
.shell .top .hd-t .hd-ic { width: 1em; height: 1em; stroke-width: 2; }
.shell .top .ib.bell { width: calc(var(--hd) + 18px); height: calc(var(--hd) + 18px); }
.shell .top .ib.bell .ic { width: var(--hd); height: var(--hd); stroke-width: 2; }
/* oyna — o'zi aylanadi (sarlavha ostidan o'tmaydi) */
.shell .vw { flex: 1 1 auto; min-height: 0; position: relative; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-top: 2px; padding-bottom: calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + 96px); scrollbar-width: none; touch-action: pan-y; }
.shell .vw::-webkit-scrollbar, .shell #hm-l::-webkit-scrollbar { display: none; }
/* Asosiy: Balans + kurslar + «Bugun» qotib turadi, xarajatlar ro'yxati — alohida aylanadi */
.shell .vw.v-home { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 0; }
.shell .v-home > .home-v { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; }
.shell .hm-pin { position: relative; top: auto; z-index: auto; flex: none; margin: 0; padding: 4px 0 0; background: none; }
.hm-day { flex: none; display: flex; justify-content: center; padding: 11px 0 3px; }
.hm-day span { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--muted); }
.shell #hm-l { position: relative; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: none;
  margin: 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + 96px) max(16px, env(safe-area-inset-left, 0px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9px); mask-image: linear-gradient(to bottom, transparent 0, #000 9px); }
#hm-l .fbody > .tl-day:first-child { display: none; }
/* «Bugun» va boshqa kun yozuvlari — effektsiz, oddiy yozuv */
.tl-day span { background: none; padding: 0; border-radius: 0; }
/* «+» tugmasi 2 mm yuqoriroq */
.addh { bottom: calc(var(--tab-gap) + env(safe-area-inset-bottom, 0px) + 101px); }
/* Xizmatlar: «Navbat olish | Navbatlarim» paneli 20% kichikroq */
:is(.books-v > .fbar, .fbar.seg2) { width: 66.667%; padding: 3px; }
:is(.books-v > .fbar, .fbar.seg2) button { min-height: 28px; padding: 0 6px; gap: 4px; font-size: 11px; }
:is(.books-v > .fbar, .fbar.seg2) .fb-n { min-width: 15px; height: 15px; padding: 0 4px; font-size: 9px; }
/* kasb belgilari: hammasi bir xil rangda, dastur uslubida (yashil shisha plitka, ikki qatlamli belgi) */
.ic .fs { fill: currentColor; fill-opacity: .2; } .ic .f { fill: currentColor; stroke: none; }
.tl-r.cat-li .tl-ic { border-radius: 17px; color: var(--brand-text); background: linear-gradient(160deg, color-mix(in srgb, var(--brand-text) 24%, transparent) 0%, color-mix(in srgb, var(--brand) 12%, transparent) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-text) 26%, transparent), inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 16px color-mix(in srgb, var(--brand) 20%, transparent); }
.tl-r.cat-li .tl-ic .ic { width: 28px; height: 28px; stroke-width: 1.75; }

/* Windows 11: barcha plitkalar — shaffof (Mica), ingichka chegara, tepada nozik yorug'lik */
.card, .kpi, .tile, .list, .tg-c, .catlist, .rates .rt, .hm-pin .bcard, .rg-d, .fbar, .chipb, .btn.ghost, .addb, .pft, .dch, .slot, .kasb-b, .pkg, .ptile, .tl-r, .note {
  background: var(--mica); border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top), var(--mica-sh); -webkit-backdrop-filter: none; backdrop-filter: none; }
.fbar, .chipb, .btn.ghost, .dch, .slot, .pft { box-shadow: inset 0 1px 0 var(--mica-top); }
/* ro'yxat qatorlari — har biri alohida plitka (Windows 11 sozlamalaridagidek), oralari ochiq */
.tl, .fbody > .tl { margin: 0; background: none; display: flex; flex-direction: column; gap: 6px; }
.tl-r { border-radius: 14px; padding: 0 14px; }
.tl-r:active { background: var(--mica-2); }
.tl-b, .tl-r .tl-b { border-bottom: 0; }
.home-v #hm-l .tl-r { padding: 0 12px; }
/* pastki menyu, oynalar va menyular — Acrylic (orqasi xira ko'rinadi) */
.tabs { background: var(--acr); -webkit-backdrop-filter: var(--acr-blur); backdrop-filter: var(--acr-blur); border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top), 0 12px 32px rgba(0, 0, 0, .3); }
.sheet, .pop { background: var(--acr-s); -webkit-backdrop-filter: blur(40px) saturate(170%); backdrop-filter: blur(40px) saturate(170%); border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top), var(--sh-lg); }
.sheet { border-bottom: 0; }
.page { background-color: var(--bg); background-image: var(--bg-img, none), var(--bg-fx, none); background-repeat: no-repeat; }

/* silliq surish: qo'shni oyna yonda tayyor turadi va barmoq bilan birga siljiydi */
.pg-ghost { position: absolute; pointer-events: none; z-index: 1; will-change: transform; }
.shell .vw.pg-ghost { position: absolute; left: 0; right: 0; overflow: hidden; }
.pg-host { position: relative; }
#view.swiping, #view.swiping .fbody { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .pg-ghost { transition: none !important; } }

/* ===== 2.3.2: xarajat qo'shish oynasi — ekranning 6/10 qismi, bir nechta tur, har biriga alohida summa ===== */
.sw-wrap.pfs .sheet { height: 60vh; height: 60dvh; max-height: calc(100% - 8px); }   /* klaviatura chiqsa — ko'rinadigan joyga sig'adi */
.pfs .sh-b { gap: 10px; }
.pf-tiles.pf-ms { gap: 8px; }
.pf-ms .pft { position: relative; min-height: 0; aspect-ratio: auto; height: clamp(54px, 7.8vh, 70px); padding: 6px 4px; gap: 4px; font-size: 12px; }
.pf-ms .pft .ic { width: 22px; height: 22px; }
.pft-ck { position: absolute; top: 5px; right: 5px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); box-shadow: 0 2px 6px var(--glow); }
.pf-ms .pft .pft-ck .ic { width: 11px; height: 11px; stroke-width: 3; color: #fff; }
.pf-ams { display: flex; flex-direction: column; gap: 6px; }
.pf-am { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 3px 12px; border-radius: 14px; background: var(--mica); border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top); cursor: text; transition: border-color .15s, box-shadow .15s; }
.pf-am:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 24%, transparent); }
.pf-am-t { flex: none; max-width: 52%; min-width: 0; display: flex; align-items: center; gap: 8px; }
.pf-am-t .ic { flex: none; width: 20px; height: 20px; color: var(--brand-text); }
.pf-am-t b { font-size: 13.5px; font-weight: 600; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-am-v { flex: 1 1 0; min-width: 0; display: flex; align-items: baseline; justify-content: flex-end; gap: 6px; }
.pf-am .pf-am-v input { flex: 1 1 auto; min-width: 0; width: 100%; height: 38px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; outline: none; text-align: right; color: var(--fg); font: 700 20px/1 var(--f); font-feature-settings: 'tnum' 1; letter-spacing: -.02em; }
.pf-am-v small { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.pfs .pf-h { margin: 4px 0 0; text-align: center; font-size: 13px; }
.pfs .sh-foot { padding-top: 8px; } .pfs .sh-foot .btn.lg { min-height: 50px; }

/* ===== 2.3.3: Asosiy — xarajat plitkasi o'lchami o'zgarmaydi; belgi, tur nomi va summa bir-biriga mos o'lchamda ===== */
.home-v #hm-l .tl-ic .ic { width: 21px; height: 21px; }
.home-v #hm-l .tl-1 b { font-size: 16px; font-weight: 600; line-height: 1.2; }
.home-v #hm-l .tl-v { font-size: 16px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; font-feature-settings: 'tnum' 1; }
.home-v #hm-l .tl-1 small { font-size: 11px; line-height: 1.3; }
.home-v #hm-l .tl-2 > span { font-size: 12.5px; }

/* ===== 2.3.4: tugmalar ham silliq almashadi — tanlangan tugma foni bir tugmadan ikkinchisiga suriladi ===== */
.fbar { position: relative; }
.tabs > .bar-ind, .fbar > .bar-ind { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; border-radius: 99px; background: var(--tg-act); will-change: transform; }
.tabs.has-ind > button::before { display: none; }
.fbar.has-ind > button.on { background: transparent; }
.tabs > button, .fbar > button { position: relative; z-index: 1; transition: color .25s ease; }
.tabs > button .ic, .tabs > button span { transition: color .25s ease; }
#hd-t { will-change: opacity; }
@media (prefers-reduced-motion: reduce) { .bar-ind { transition: none !important; } }

/* ===== 2.3.5: chapga surib o'chirish, tezroq sarlavha, hisobot grafigi haftalar bilan ===== */
.sw-row { position: relative; border-radius: 14px; }
.sw-row > .tl-r { position: relative; z-index: 1; width: 100%; }
.sw-del { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 3px; padding: 0; border: 0; border-radius: 14px; color: #fff; background: linear-gradient(90deg, #c93535 0%, #ec4b4b 100%); clip-path: inset(0 0 0 100% round 14px); cursor: pointer; }
.sw-del .ic { width: 20px; height: 20px; margin-right: 34px; stroke-width: 2.1; }
.sw-del span { width: 88px; text-align: center; font: 600 11.5px/1.1 var(--f); }
.sw-row.full .sw-del { background: #e5484d; }
#toast.show.act { pointer-events: auto; }
#toast .toast-act { flex: none; margin-left: 4px; padding: 6px 11px; border: 0; border-radius: 10px; background: color-mix(in srgb, var(--brand-text) 20%, transparent); color: var(--brand-text); font: 700 13px var(--f); cursor: pointer; }
/* sarlavha: yangi bo'lim nomi yon tomondan tez sirpanib kiradi */
@keyframes hdInR { from { opacity: 0; transform: translate3d(18px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes hdInL { from { opacity: 0; transform: translate3d(-18px, 0, 0); } to { opacity: 1; transform: none; } }
#hd-t { will-change: transform, opacity; }
#hd-t.hd-in.hd-r { animation: hdInR .2s cubic-bezier(.22, .78, .24, 1) both; }
#hd-t.hd-in.hd-l { animation: hdInL .2s cubic-bezier(.22, .78, .24, 1) both; }
/* Hisobot: sana tugmasida — faqat belgi va sana */
.rg-t b { font-size: 14px; }
@media (max-width: 380px) { .rg-t b { font-size: 13px; } }
@media (max-width: 350px) { .rg-t b { font-size: 12px; letter-spacing: -.02em; } .rg-d { gap: 6px; padding: 6px; } }
/* grafik: 1 oygacha — har kun ustun, haftalar navbatma-navbat fon bilan; ostida hafta kunlari oralig'i */
.bars .bars-g { height: 120px; }
.bars:not(.long) .bars-g { gap: 0; }
.bars:not(.long) .bars-g span { gap: 1px; border-radius: 0; }
.bars:not(.long) .bars-g span.wo { background: color-mix(in srgb, var(--fg) 5%, transparent); }
.bars:not(.long) .bars-g i { width: 62%; max-width: 9px; border-radius: 3px 3px 0 0; }
.bars.both:not(.long) .bars-g i { width: 38%; }
.bars-w { display: flex; margin-top: 0; }
.bars-w span { min-width: 0; padding: 5px 0 3px; display: flex; justify-content: center; font-size: 10.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: visible; font-feature-settings: 'tnum' 1; }
.bars-w span:first-child { justify-content: flex-start; } .bars-w span:last-child { justify-content: flex-end; }   /* 1–2 kunlik chekka hafta yozuvi qo'shnisiga chiqmaydi */
.bars-w span.wo { background: color-mix(in srgb, var(--fg) 5%, transparent); }
/* 1 oydan ko'p: ustunlar oraliqsiz ulanadi (bir-birining ustiga chiqmaydi), ostida faqat jami kun */
.bars.long .bars-g, .bars.long .bars-g span { gap: 0; }
.bars.long .bars-g i { width: 100%; max-width: none; border-radius: 0; }
.bars.long.both .bars-g i { width: 50%; }
.bars-x.tot { justify-content: center; padding-top: 7px; font-size: 12px; font-weight: 600; color: var(--muted); }

/* ===== 2.3.6: sana barabani (iPhone budilnigi kabi), grafikda har kun to'liq, «+» ni siljitish ===== */
.wheel-s .sh-b { gap: 6px; }
.wh { position: relative; display: grid; grid-template-columns: 1fr 1.6fr 1.1fr; gap: 4px; height: 200px; padding: 0 6px; margin: 4px 0 2px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 26%, #000 74%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 26%, #000 74%, transparent 100%); user-select: none; -webkit-user-select: none; }
.wh-band { position: absolute; left: 0; right: 0; top: 80px; height: 40px; border-radius: 12px; background: var(--mica-2, var(--surface-2)); box-shadow: inset 0 0 0 1px var(--mica-line, var(--line)); pointer-events: none; }
.wh-c { position: relative; min-width: 0; perspective: 600px; }
.wh-s { position: relative; height: 200px; overflow-y: scroll; overflow-x: hidden; scroll-snap-type: y mandatory; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 80px 0; box-sizing: border-box; transform-style: preserve-3d; touch-action: pan-y; }
.wh-s::-webkit-scrollbar { display: none; }
.wh-i { height: 40px; display: grid; place-items: center; scroll-snap-align: center; font: 500 21px/1 var(--f); font-feature-settings: 'tnum' 1; color: var(--fg); white-space: nowrap; cursor: pointer; backface-visibility: hidden; will-change: transform, opacity; transition: color .15s; }
.wh-i.on { font-weight: 600; }
.wh-i.off { color: var(--faint); }
.c-m .wh-i { font-size: 19px; }
.wheel-s .sh-foot .btn .ic { width: 20px; height: 20px; margin-right: 6px; }
/* grafik ostida har bir kun raqami to'liq; o'lchami ustun eniga moslanadi */
.bars { container-type: inline-size; }
.bars-d { display: flex; }
.bars-d span { flex: 1 1 0; min-width: 0; height: 30px; padding: 4px 0 3px; display: flex; justify-content: center; align-items: flex-start; line-height: 1; font-size: 10px; font-size: clamp(8.5px, calc((100cqw - 26px) / var(--n, 30) * 1.1), 11.5px); font-weight: 600; letter-spacing: -.02em; color: var(--muted); font-feature-settings: 'tnum' 1; overflow: visible; white-space: nowrap; }
.bars-d span.ev { align-items: flex-end; }   /* juft kunlar — pastki qatorda */
.bars-d span.wo { background: color-mix(in srgb, var(--fg) 5%, transparent); }
/* «+»: 1,8 soniya bosib turilganda — atrofida halqa to'ladi, keyin tebranib, barmoq bilan suriladi */
.addh { touch-action: none; -webkit-touch-callout: none; user-select: none; -webkit-user-select: none; }
@property --hp { syntax: '<number>'; inherits: false; initial-value: 0; }
@keyframes addhHold { from { --hp: 0; } to { --hp: 1; } }
.addh.hold::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(var(--brand-text) calc(var(--hp) * 1turn), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); animation: addhHold 1.5s linear .3s both; pointer-events: none; }
.addh.drag { transform: scale(1.14); transition: transform .18s cubic-bezier(.22, .78, .24, 1), box-shadow .18s; box-shadow: 0 16px 34px rgba(0, 0, 0, .45), 0 0 0 6px color-mix(in srgb, var(--brand-text) 22%, transparent); cursor: grabbing; }

/* ===== 2.3.7: sarlavha almashishi — belgi ko'zgudek aylanadi, yozuv yumshoq so'nib paydo bo'ladi (jami 0,5 s); «+» — 1 s ===== */
#hd-t .hd-ic { transform-origin: 50% 50%; backface-visibility: hidden; }
#hd-t > span { display: inline-block; }
#hd-t.hd-out .hd-ic { transform: perspective(240px) rotateY(90deg); transition: transform .25s cubic-bezier(.55, 0, .75, .45); }
#hd-t.hd-out > span { opacity: 0; transition: opacity .25s ease; }
@keyframes hdIcIn { from { transform: perspective(240px) rotateY(-90deg); } to { transform: perspective(240px) rotateY(0deg); } }
@keyframes hdTxIn { from { opacity: 0; } to { opacity: 1; } }
#hd-t.hd-in2 .hd-ic { animation: hdIcIn .25s cubic-bezier(.25, .55, .45, 1) both; }
#hd-t.hd-in2 > span { animation: hdTxIn .25s ease both; }
.addh.hold::before { animation: addhHold .8s linear .2s both; }

/* ===== 2.3.8: sarlavha 0,3 s; «+» 10% katta, 0,3 s bosib turilsa siljiydi; Asosiy qatorini bosish — hech narsa qilmaydi ===== */
#hd-t.hd-out .hd-ic { transition-duration: .15s; } #hd-t.hd-out > span { transition-duration: .15s; }
#hd-t.hd-in2 .hd-ic, #hd-t.hd-in2 > span { animation-duration: .15s; }
.addh { width: 59px; height: 59px; } .addh .ic { width: 30px; height: 30px; }
.addh.hold::before { animation: addhHold .3s linear both; }
.sw-row > .tl-r { cursor: default; } .sw-row > .tl-r:active { background: var(--mica); }

/* ===== 2.3.9: shaxsiy Hisobot — Jami, grafik, «dan–gacha», chiqim turlari bitta ekranga sig'adi (aylantirish yo'q) ===== */
.shell .vw.v-fit { overflow: hidden; display: flex; flex-direction: column; padding-bottom: calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + 14px); }
.v-fit > .rep-v { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; }
:is(.v-fit > .rep-v > .fbody, .home-v > .fbody.hm-rep) { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
:is(.v-fit, .hm-rep) .kpis { flex: none; margin: 0; }
:is(.v-fit, .hm-rep) .kpis.n1 .kpi.k-tot { padding: 10px 16px 12px; gap: 2px; }
:is(.v-fit, .hm-rep) .card.bars { flex: 1 1 auto; min-height: 104px; max-height: 270px; display: flex; flex-direction: column; margin: 0; }
:is(.v-fit, .hm-rep) .card.bars .bars-g { flex: 1 1 auto; height: auto; min-height: 50px; }
:is(.v-fit, .hm-rep) .rp-top { flex: none; margin: 0; }
:is(.v-fit, .hm-rep) .card.cats { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin: 0; padding: 2px 14px; }
:is(.v-fit, .hm-rep) .card.cats::-webkit-scrollbar { display: none; }
:is(.v-fit, .hm-rep) .cat-r { padding: 6px 0; gap: 10px; }
:is(.v-fit, .hm-rep) .cat-r .li-ic { width: 32px; height: 32px; border-radius: 10px; } :is(.v-fit, .hm-rep) .cat-r .li-ic .ic { width: 18px; height: 18px; }
:is(.v-fit, .hm-rep) .cat-b { gap: 3px 10px; } :is(.v-fit, .hm-rep) .cat-l { font-size: 13.5px; } :is(.v-fit, .hm-rep) .cat-p { height: 5px; } :is(.v-fit, .hm-rep) .cat-b small { font-size: 11px; }
:is(.v-fit, .hm-rep) .rp-empty { flex: 0 1 auto; padding: 10px 0; margin: 0; }
/* baraban: oy — raqam (01–12) */
.wh { grid-template-columns: 1fr 1fr 1.2fr; }
.c-m .wh-i { font-size: 21px; }

/* ===== 2.3.10: yuqorida faqat bo'lim nomi, belgisi va qo'ng'iroqcha qotib turadi; sarlavha qatori joy egallamaydi =====
   Ma'lumotlar bo'lim nomidan 5 mm pastdan boshlanadi; aylantirilganda nom ostiga kirib, yumshoq so'nadi (iOS 26 kabi), nom ustiga chiqmaydi. */
html.shell { --hd: clamp(19px, 6.08vw, 24px); --hd-h: 70px; --top-safe: env(safe-area-inset-top, 0px);
  --hd-bot: calc(var(--top-safe) + var(--hd-h) / 2 + var(--hd) / 2); --cnt-top: calc(var(--hd-bot) + 5mm); }
.shell .top { position: absolute; top: 0; left: 0; right: 0; z-index: 6; pointer-events: none; }
.shell .top .ib { pointer-events: auto; }
.shell #view.vw, .shell .vw.pg-ghost { padding-top: var(--cnt-top);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent calc(var(--hd-bot) + 2px), #000 calc(var(--cnt-top) - 1px));
  mask-image: linear-gradient(to bottom, transparent 0, transparent calc(var(--hd-bot) + 2px), #000 calc(var(--cnt-top) - 1px)); }
.shell #app:has(#banner:not(:empty)) #banner { margin-top: calc(var(--top-safe) + var(--hd-h)); }
.shell #app:has(#banner:not(:empty)) #view.vw { padding-top: 8px; -webkit-mask-image: none; mask-image: none; }
.shell .hm-pin { padding: 0; }
.shell .vw > :first-child, .shell .vw > :first-child > :first-child, .shell .vw > .vstack > .fbar:first-child { margin-top: 0; }
.shell .vw > .vstack { padding-top: 0; }
:is(.v-fit > .rep-v > .fbody, .home-v > .fbody.hm-rep) { padding-top: 0; }
.shell .vw .tg-h:first-child, .shell .vw > .vstack > .tg-h:first-child { padding-top: 0; }   /* Profil: rasm ham nomdan 5 mm pastda */

/* ===== 2.3.11: sarlavha belgilari bir xil o'lchamda; birinchi plitka nomdan 2 mm pastda; Asosiy: Balans + kurslar + «Bugun» qotgan ===== */
html.shell { --cnt-top: calc(var(--hd-bot) + 2mm); }
.shell .top .hd-t .hd-ic * { vector-effect: non-scaling-stroke; }   /* belgilar bir xil qalinlikda (o'lchami JS da tenglashtiriladi) */
.shell .top .hd-t .hd-ic { stroke-width: 2; }
/* Balans yozuvi — plitka o'rtasida (summa ustida), foni Windows 11 kabi shaffof */
.hm-pin .bcard.sm .bc-t { position: static; }
.hm-pin .bcard.sm .bc-l { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 23px)); margin: 0; padding: 4px 12px; border-radius: 99px;
  background: var(--mica-2); border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top), 0 4px 14px rgba(0, 0, 0, .18); color: var(--brand-text);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); }
.hm-pin .bcard.sm .bc-v, .hm-pin .bcard.sm .bc-v.neg { transform: translateY(calc(-50% + 23px)); }
.hm-pin .bcard.sm .bc-eye { position: absolute; top: 12px; right: 12px; }

/* ===== 2.3.12: Hisobot — Jami, grafik va «dan–gacha» qotgan; grafik ostida kun + hafta kuni; chiqim turlari bitta ustunda, aylantirishsiz ===== */
.bars:not(.long) .bars-g span.wo, .bars-d span.wo { background: none; }
.bars-d span { height: 48px; padding: 3px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; background: none; font-size: inherit; }
.bars-d span.ev { justify-content: flex-end; padding: 0 0 1px; }
.bars-d span b { font-size: clamp(8.5px, calc((100cqw - 26px) / var(--n, 30) * 1.1), 10.5px); font-weight: 700; line-height: 1; color: var(--muted); letter-spacing: -.02em; font-feature-settings: 'tnum' 1; }
.bars-d span i { font-style: normal; font-size: clamp(7.5px, calc((100cqw - 26px) / var(--n, 30) * .92), 9px); font-weight: 600; line-height: 1; color: var(--faint); letter-spacing: -.02em; }
.bars-d span.su i { color: color-mix(in srgb, var(--bad) 75%, var(--faint)); }   /* yakshanba */
/* qotgan yuqori qism: Jami, grafik, «dan–gacha»; balandliklari biroz kichraytirilgan */
:is(.v-fit, .hm-rep) .kpis.n1 .kpi.k-tot { padding: 6px 14px 8px; gap: 1px; }
:is(.v-fit, .hm-rep) .kpis.n1 .kpi.k-tot small { font-size: 11px; }
:is(.v-fit, .hm-rep) .kpis.n1 .kpi.k-tot b { font-size: clamp(20px, 6.2vw, 25px); }
:is(.v-fit, .hm-rep) .card.bars { flex: none; height: clamp(140px, 20vh, 168px); min-height: 0; max-height: none; padding: 10px 12px 4px; }
:is(.v-fit, .hm-rep) .card.bars .bars-g { flex: 1 1 auto; height: auto; min-height: 30px; }
:is(.v-fit > .rep-v > .fbody, .home-v > .fbody.hm-rep) { gap: 8px; }
/* chiqim turlari — ustma-ust (bitta ustun), ixcham: aylantirish kerak bo'lmaydi */
:is(.v-fit, .hm-rep) .card.cats, :is(.v-fit, .hm-rep) .card.cats:not(.c-in) { display: block; flex: 0 1 auto; min-height: 0; overflow-y: auto; padding: 0 12px; }
:is(.v-fit, .hm-rep) .card.cats .cat-r { padding: 5px 0; gap: 10px; align-items: center; border-top: 0; border-bottom: 1px solid var(--line-2); }
:is(.v-fit, .hm-rep) .card.cats .cat-r:last-child { border-bottom: 0; }
:is(.v-fit, .hm-rep) .card.cats .cat-r .li-ic { width: 28px; height: 28px; border-radius: 9px; } :is(.v-fit, .hm-rep) .card.cats .cat-r .li-ic .ic { width: 16px; height: 16px; }
:is(.v-fit, .hm-rep) .card.cats .cat-b { gap: 3px 10px; }
:is(.v-fit, .hm-rep) .card.cats .cat-l { flex-direction: row; align-items: baseline; font-size: 13px; line-height: 1.2; }
:is(.v-fit, .hm-rep) .card.cats .cat-l b.num { font-size: 13px; color: var(--fg); }
:is(.v-fit, .hm-rep) .card.cats .cat-p { height: 4px; } :is(.v-fit, .hm-rep) .card.cats .cat-b small { font-size: 10.5px; line-height: 1; }
@media (max-height: 700px) { :is(.v-fit, .hm-rep) .card.bars { height: 130px; } :is(.v-fit, .hm-rep) .card.cats .cat-r { padding: 4px 0; } :is(.v-fit > .rep-v > .fbody, .home-v > .fbody.hm-rep) { gap: 7px; } }   /* kichik ekranli telefonlar (iPhone SE) */

/* ===== 2.3.13: Hisobot — grafikda bitta qator (1 oy); sana oynasi pastdan 5 sm yuqorida, kichikroq; chiqim turlari pastgacha cho'ziladi ===== */
/* grafik ostida: har bir kun bitta qatorda — raqam va uning ostida hafta kuni */
:is(.v-fit, .hm-rep) .card.bars, .card.bars { padding-left: 6px; padding-right: 6px; }
.bars-d span, .bars-d span.ev { height: auto; padding: 4px 0 2px; justify-content: flex-start; gap: 2px; }
.bars-d span b { font-size: clamp(7px, calc(100cqw / var(--n, 30) * .74), 10.5px); letter-spacing: -.04em; }
.bars-d span i { font-size: clamp(6px, calc(100cqw / var(--n, 30) * .64), 8.5px); letter-spacing: -.05em; }
/* sana barabani — o'rtaroqda, pastdan 5 sm yuqorida yumshoq paydo bo'ladi */
.sw-wrap.wheel-p .sheet { top: auto; bottom: calc(5cm + env(safe-area-inset-bottom, 0px)); left: 14px; right: 14px; max-width: 400px; margin: 0 auto; max-height: calc(100% - 5cm - 24px); border-radius: 24px; padding-bottom: 0;
  transform: translateY(12px) scale(.96); opacity: 0; transition: transform .24s cubic-bezier(.22, .78, .24, 1), opacity .2s ease; }
.sw-wrap.wheel-p.in .sheet { transform: none; opacity: 1; }
.sw-wrap.wheel-p.out .sheet { transform: translateY(8px) scale(.97); opacity: 0; }
.sw-wrap.wheel-p .grab { display: none; }
.sw-wrap.wheel-p .sh-h { padding-top: 10px; padding-bottom: 2px; min-height: 0; } .sw-wrap.wheel-p .sh-h h3 { font-size: 17px; }
.sw-wrap.wheel-p .sh-b { padding-bottom: 12px; }
.sw-wrap.wheel-p .sh-foot { position: static; padding: 4px 0 0; margin: 0; background: none; }
.sw-wrap.wheel-p .sh-foot .btn.lg { min-height: 46px; }
@media (min-width: 1024px) { .sw-wrap.wheel-p .sheet { left: 50%; right: auto; top: 50%; bottom: auto; width: 400px; transform: translate(-50%, -48%) scale(.96); } .sw-wrap.wheel-p.in .sheet { transform: translate(-50%, -50%); } .sw-wrap.wheel-p.out .sheet { transform: translate(-50%, -48%) scale(.97); } }
.wh { height: 180px; } .wh-s { height: 180px; padding: 72px 0; } .wh-band { top: 72px; height: 36px; }
.wh-i { height: 36px; font-size: 19px; } .c-m .wh-i { font-size: 19px; }
/* chiqim turlari: «dan–gacha» bilan orasidagi masofa qancha bo'lsa, pastki tugmalar bilan ham shuncha — plitka pastgacha cho'ziladi */
.shell .vw.v-fit { --rp-gap: 8px; padding-bottom: calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + var(--rp-gap)); }
:is(.v-fit > .rep-v > .fbody, .home-v > .fbody.hm-rep) { gap: var(--rp-gap, 8px); }
:is(.v-fit, .hm-rep) .card.cats, :is(.v-fit, .hm-rep) .card.cats:not(.c-in) { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start; }
:is(.v-fit, .hm-rep) .card.cats .cat-r { flex: 1 1 0; max-height: 64px; min-height: 0; }
@media (max-height: 700px) { .shell .vw.v-fit { --rp-gap: 7px; } }
/* kunlar bir-biridan oson ajralsin: navbatma-navbat ochroq / to'qroq */
.bars-d span:nth-child(even) b { color: color-mix(in srgb, var(--fg) 82%, var(--muted)); }
.bars-d span:nth-child(odd) b { color: var(--muted); }

/* ===== 2.3.14: Balans yozuvi — plitka tepasida (1 mm pastda), foni 90% shaffof, effektsiz; summa — plitka o'rtasida; ro'yxat chetida yumshoq qaytish ===== */
.hm-pin .bcard.sm .bc-l { top: calc(1mm - 1px); transform: translateX(-50%); background: color-mix(in srgb, var(--fg) 10%, transparent); border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hm-pin .bcard.sm .bc-v, .hm-pin .bcard.sm .bc-v.neg { transform: translateY(-50%); }
/* Android va boshqalarda brauzerning o'z «chet» effekti o'rniga — ilovaning yumshoq qaytishi */
html.no-ios #hm-l, html.no-ios.shell #view.vw, html.no-ios .page .pb { overscroll-behavior-y: none; }

/* ===== 2.3.15: Balans yozuvi foni 5% kichikroq; asosiy oynalarda aylantirishni ilova o'zi silliq boshqaradi (iPhone'dan tashqari) ===== */
.hm-pin .bcard.sm .bc-l { padding: 3.33px 10.32px; }
html.no-ios #hm-l, html.no-ios.shell #view.vw { overflow-y: hidden; touch-action: none; }

/* ===== 2.3.16: Xizmat turlari — papka paneli yo'q; ro'yxat ekran o'rtasida (ko'paysa — sarlavhadan 2 mm pastda to'xtab, pastga davom etadi) ===== */
.books-v { gap: 0; }

.bk-c > .tl { margin: 0; }

/* ===== 2.3.17: Hisobot grafigi — kun raqami va hafta kuni har bir ustun ostida aniq o'rtada (juft kunlar endi o'ngga surilmaydi), oraliqlar bir xil ===== */
.bars-d span, .bars-d span.ev, .bars-d span.od { align-items: center; justify-content: flex-start; text-align: center; }
/* manfiy harf oralig'i matnni ko'zga o'ngroq ko'rsatadi — o'shancha o'ng tomondan to'ldiriladi, shunda yozuv ustun markazida turadi */
.bars-d span b { padding-right: .04em; font-feature-settings: normal; font-variant-numeric: proportional-nums; font-weight: 600; }   /* oddiy (proporsional) raqamlar ixchamroq — ikki xonali kunlar orasida ham aniq bo'shliq qoladi */
.bars-d span i { padding-right: .05em; }

/* ===== 2.3.18: Xizmat turlari — sarlavhadan 1 sm pastda kirish matni, matndan 1 sm pastda xizmat turlari (markazlash yo'q, ro'yxat pastga davom etadi) ===== */
.bk-intro { padding: calc(1cm - 2mm) 4px 1cm; }   /* kontent sarlavhadan 2 mm pastda boshlanadi: 2 mm + 8 mm = 1 sm */
.bk-intro h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--fg); text-wrap: balance; }
.bk-intro p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }

/* ===== 2.4: Xizmat turlari — sarlavha bitta qatorda (ekranga moslanadi); strelkalar plitka o'rtasida; usta ID kartasi; xizmatdan keyin baholash ===== */
.bk-intro { container-type: inline-size; }
.bk-intro h2 { font-size: min(20px, 5.6cqw); text-wrap: wrap; }
/* strelka — o'sha o'ng burchakda, lekin plitkaning aynan o'rtasida (barcha qurilmalarda) */
.cat-li .tl-2, .pv-r .tl-2 { padding-right: 26px; }
.cat-li .tl-2 > .ic:last-child, .pv-r .tl-2 > .ic:last-child { position: absolute; right: 14px; top: 50%; margin: 0; transform: translateY(-50%); }
/* saqlangan usta — xizmat turi ostida */
.bk-fav { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.bk-fav .ic { flex: none; width: 14px; height: 14px; fill: var(--brand-text); stroke: var(--brand-text); }
.bk-fav b { font-weight: 600; color: var(--brand-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bk-fav small { flex: none; color: var(--muted); font-size: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45%; }
.bk-fav small::before { content: '· '; }
.pv-rt { display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; font-style: normal; color: var(--fg); }
.pv-rt .ic { width: 13px; height: 13px; fill: #ffb400; stroke: #ffb400; } .pv-rt b { font-weight: 700; font-size: 13px; }
.pv-r.fav .tl-1 b::after { content: ''; display: inline-block; width: 11px; height: 13px; margin-left: 6px; vertical-align: -1px; background: var(--brand-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 3.5h11a1 1 0 0 1 1 1V21l-6.5-4.7L5.5 21V4.5a1 1 0 0 1 1-1z'/%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'%3E%3Cpath d='M6.5 3.5h11a1 1 0 0 1 1 1V21l-6.5-4.7L5.5 21V4.5a1 1 0 0 1 1-1z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ekran o'rtasidagi oyna (ID karta, baholash): pastdan emas — o'rtada yumshoq kattalashib paydo bo'ladi */
.sw-wrap.ctr .sheet { top: 50%; bottom: auto; left: 50%; right: auto; width: min(400px, calc(100vw - 28px)); max-width: none; margin: 0; max-height: calc(100% - 24px); border-radius: 26px; padding: 0;
  background: transparent; box-shadow: none; opacity: 0; transform: translate(-50%, -47%) scale(.94); transition: transform .28s cubic-bezier(.2, .9, .25, 1.06), opacity .2s ease; will-change: transform, opacity; }
.sw-wrap.ctr.in .sheet { opacity: 1; transform: translate(-50%, -50%); }
.sw-wrap.ctr.out .sheet { opacity: 0; transform: translate(-50%, -48%) scale(.95); transition-duration: .2s; }
.sw-wrap.ctr .grab, .sw-wrap.ctr .sh-h { display: none; }
.sw-wrap.ctr .sh-b { padding: 0; overflow: visible; display: flex; flex-direction: column; min-height: 0; }
.sw-wrap.ctr .scrim { background: rgba(4, 6, 10, .58); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }   /* ID karta orqasidagi yengil xiralik — dizaynning bir qismi, qoladi (radiusi kichik, arzon) */

/* ---- ID karta (pasport kabi) ---- */
.idc { --ac: var(--brand); --acx: var(--brand-text); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 12px; height: clamp(420px, 54vh, 520px); max-height: calc(var(--vvh, 100vh) - 24px);
  padding: 16px 16px 14px; border-radius: 26px; color: var(--fg); container-type: inline-size;
  background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--ac) 22%, transparent), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, #6c7cff 14%, transparent), transparent 65%),
    linear-gradient(160deg, color-mix(in srgb, var(--surface) 88%, var(--fg) 4%), var(--surface) 60%);
  border: 1px solid color-mix(in srgb, var(--fg) 13%, transparent); box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 color-mix(in srgb, #fff 10%, transparent);
  transform-origin: 50% 50%; transition: transform .17s cubic-bezier(.4, 0, .6, 1), opacity .17s; backface-visibility: hidden; }
.idc.fl-out { transform: perspective(1100px) rotateY(88deg); opacity: .55; }
.idc.fl-in { transform: perspective(1100px) rotateY(-88deg); opacity: .55; transition: none; }
/* himoya naqshi (gilosh) va golografik yaltirash */
.idc-g { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: repeating-radial-gradient(circle at 88% 12%, transparent 0 11px, color-mix(in srgb, var(--ac) 10%, transparent) 11px 12px),
    repeating-linear-gradient(118deg, transparent 0 7px, color-mix(in srgb, var(--fg) 3%, transparent) 7px 8px);
  -webkit-mask: linear-gradient(200deg, #000, transparent 70%); mask: linear-gradient(200deg, #000, transparent 70%); }
/* yaltirash chizig'i — transform bilan suriladi (GPU qatlami, har kadrda qayta chizilmaydi) */
.idc::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 80%; pointer-events: none; background: linear-gradient(112deg, transparent 0%, color-mix(in srgb, #9ff5dc 6%, transparent) 37.5%, color-mix(in srgb, #c7a8ff 6%, transparent) 62.5%, transparent 100%);
  transform: translate3d(-87.5%, 0, 0); will-change: transform; animation: idcSheen 9s ease-in-out infinite alternate; }
@keyframes idcSheen { from { transform: translate3d(-87.5%, 0, 0); } to { transform: translate3d(100%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .idc::after { animation: none; } }
.idc > * { position: relative; z-index: 1; } .idc > .idc-g { position: absolute; z-index: 0; }
.idc-top { display: flex; align-items: center; gap: 10px; min-height: 40px; flex: none; }
.idc-em { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--acx); background: color-mix(in srgb, var(--ac) 16%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 30%, transparent); }
.idc-em .ic { width: 20px; height: 20px; }
.idc-k { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.idc-k b { font: 800 11px/1.1 var(--f); letter-spacing: .14em; color: var(--acx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idc-k small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idc-k small .num { letter-spacing: .02em; }
/* «saqlash» — Instagram'dagi kabi bayroqcha */
.idc-sv { flex: none; width: 42px; height: 42px; margin: -2px -4px 0 0; border-radius: 50%; display: grid; place-items: center; color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); border: 0; }
.idc-sv .ic { width: 22px; height: 22px; stroke-width: 1.9; transition: fill .15s, stroke .15s; }
.idc-sv.on { color: var(--acx); } .idc-sv.on .ic { fill: currentColor; }
.idc-sv.bump .ic { animation: idcPop .42s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes idcPop { 0% { transform: scale(1); } 35% { transform: scale(.72); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
.idc-b { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; flex: none; }
.idc-ph { width: 96px; height: 120px; border-radius: 14px; overflow: hidden; background: color-mix(in srgb, var(--fg) 6%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.av.idc-av { width: 100%; height: 100%; border-radius: 0; font-size: 34px; display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--ac) 30%, var(--surface-2)), var(--surface-2)); color: var(--acx); }
.av.idc-av img { width: 100%; height: 100%; object-fit: cover; }
.idc-f { margin: 0; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.idc-f > div { min-width: 0; }
.idc-f dt { font-size: 9.5px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.idc-f dd { margin: 1px 0 0; font-size: 14px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idc-f > div:first-child dd { font-size: 16px; font-weight: 700; }
.idc-st { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); flex: none; border-radius: 14px; background: color-mix(in srgb, var(--fg) 5%, transparent); border: 1px solid color-mix(in srgb, var(--fg) 8%, transparent); padding: 9px 2px; }
.idc-st > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-width: 0; text-align: center; padding: 0 4px; }
.idc-st > div + div { border-left: 1px solid color-mix(in srgb, var(--fg) 9%, transparent); }
.idc-st b { display: inline-flex; align-items: center; gap: 3px; font-size: 16px; font-weight: 800; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.idc-st > div:last-child b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.idc-st small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.idc-st .ic { width: 15px; height: 15px; fill: #ffb400; stroke: #ffb400; flex: none; }
.idc-ab { margin: -2px 2px 0; font-size: 12.5px; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: none; }
.idc-mrz { margin-top: auto; flex: none; display: flex; flex-direction: column; gap: 1px; padding: 6px 2px 0; border-top: 1px dashed color-mix(in srgb, var(--fg) 14%, transparent);
  font: 600 11px/1.35 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: color-mix(in srgb, var(--fg) 34%, transparent); }
.idc-mrz span { white-space: nowrap; overflow: hidden; letter-spacing: max(0px, calc((100cqw - 36px - 30 * 6.62px) / 30)); }
.idc-ft { display: flex; gap: 10px; flex: none; }
.idc-ft .btn { min-height: 48px; border-radius: 15px; } .idc-ft .btn.primary { flex: 1; }
.idc-call { width: 48px; padding: 0; flex: none; display: grid; place-items: center; }
.idc-all { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 2px; margin: -4px auto -4px; padding: 4px 10px; border: 0; background: none; color: var(--acx); font: 600 13px var(--f); }
.idc-all .ic { width: 15px; height: 15px; }
/* orqa tomoni: kun va vaqt */
.idc.bk { gap: 10px; }
.idc-bk { flex: none; margin-left: -6px; }
.av.idc-mini { width: 34px; height: 34px; font-size: 13px; flex: none; }
.idc-sc { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; margin: 0 -4px; padding: 0 4px 2px; scrollbar-width: none; }
.idc-sc::-webkit-scrollbar { display: none; }
.idc-sc > * { flex: none; margin: 0; }
.idc .sug-c.idc-sug { margin: 0; padding: 10px 12px; border-radius: 15px; border: 1px solid color-mix(in srgb, var(--ac) 40%, transparent); background: color-mix(in srgb, var(--ac) 10%, transparent); }
.idc .chips.dsel { display: flex; gap: 6px; overflow-x: auto; margin: 0 -4px; padding: 0 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.idc .chips.dsel::-webkit-scrollbar { display: none; }
.idc .chipb.dd { min-width: 46px; }
.idc .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.idc .slot { min-height: 40px; border-radius: 12px; font-size: 14.5px; }
.idc-note { width: 100%; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: color-mix(in srgb, var(--fg) 4%, transparent); color: var(--fg); font: 500 14px var(--f); }
.idc .note { margin: 0; }
@media (max-height: 600px) { .idc { height: calc(var(--vvh, 100vh) - 24px); } }

/* ---- baholash (Yandex Go kabi) ---- */
.sw-wrap.rate-p .sheet { width: min(380px, calc(100vw - 28px)); background: var(--surface); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.sw-wrap.rate-p .sh-b { padding: 22px 18px 14px; gap: 12px; overflow-y: auto; text-align: center; }
.sw-wrap.rate-p .sh-b > * { margin: 0; }
.rt-h { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rt-h .av { margin-bottom: 6px; } .rt-h b { font: 700 20px/1.25 var(--f); letter-spacing: -.01em; } .rt-h small { color: var(--muted); font-size: 13px; }
.rt-stars { display: flex; justify-content: center; gap: 4px; }
.rt-s { width: 52px; height: 52px; display: grid; place-items: center; border: 0; background: none; color: color-mix(in srgb, var(--fg) 28%, transparent); border-radius: 50%; }
.rt-s .ic { width: 40px; height: 40px; stroke-width: 1.5; transition: fill .15s, stroke .15s, transform .15s; }
.rt-s.on { color: #ffb400; } .rt-s.on .ic { fill: #ffb400; }
.rt-s.bump .ic { animation: idcPop .42s cubic-bezier(.3, 1.6, .5, 1) both; }
.rt-s:active .ic { transform: scale(.88); }
.rt-l { font-size: 15px; font-weight: 700; color: var(--fg); min-height: 20px; }
.rt-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.rt-note { width: 100%; height: 44px; padding: 0 13px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface-2); color: var(--fg); font: 500 14.5px var(--f); }
.rt-ft { display: flex; flex-direction: column; gap: 6px; margin-top: 2px !important; }
.rt-ft .btn.ghost { border: 0; background: none; box-shadow: none; color: var(--muted); min-height: 40px; }
/* Navbatlarim: baho belgilari */
.tl-badge.rate { display: inline-flex; align-items: center; gap: 3px; background: color-mix(in srgb, #ffb400 18%, transparent); color: #e6a200; }
.tl-badge.rated { display: inline-flex; align-items: center; gap: 3px; background: color-mix(in srgb, var(--fg) 7%, transparent); color: var(--fg); }
.tl-badge .ic { width: 12px; height: 12px; fill: #ffb400; stroke: #ffb400; }
.bk-stars { display: inline-flex; gap: 2px; } .bk-stars .ic { width: 17px; height: 17px; stroke: #ffb400; stroke-width: 1.6; } .bk-stars .ic.on { fill: #ffb400; }
.btn.bk-rt { margin-top: 12px; width: 100%; } .btn.bk-rt .ic { fill: currentColor; }
/* orqa tomon sarlavhasi — oddiy yozuv; tanlangan kun — ilova rangida */
.idc.bk .idc-k b { font-size: 16px; letter-spacing: -.01em; color: var(--fg); font-weight: 700; }
.idc .chipb.dd.on { background: var(--ac); border-color: var(--ac); color: var(--brand-ink); }
.idc .chipb.dd.on small { color: inherit; opacity: .8; }
/* old tomoni — mazmunga qarab (kamida yarim ekran); orqa tomoni — old tomon balandligida (aylanganda o'lchami o'zgarmaydi), ichida vaqtlar aylanadi */
.idc { height: auto; min-height: clamp(420px, 54vh, 520px); }
.idc.bk { height: var(--idc-h, clamp(420px, 54vh, 520px)); min-height: 0; }
@media (max-height: 600px) { .idc { min-height: 0; } }

/* ===== 2.4.1: ID karta ixcham — avvalgisining yarmicha; izoh va pasport qatori yo'q; navbat — faqat bugun va ertaga ===== */
.idc, .idc.bk { min-height: 0; padding: 12px 14px 12px; gap: 9px; border-radius: 22px; }
.idc { height: auto; }
.idc.bk { height: max(var(--idc-h, 0px), 300px); }
.sw-wrap.ctr .sheet { width: min(380px, calc(100vw - 28px)); border-radius: 22px; }
.idc-top { min-height: 32px; gap: 9px; }
.idc-em { width: 30px; height: 30px; border-radius: 9px; } .idc-em .ic { width: 17px; height: 17px; }
.idc-k { gap: 1px; } .idc-k b { font-size: 10px; } .idc-k small { font-size: 11.5px; }
.idc-sv { width: 36px; height: 36px; margin: -2px -4px 0 0; } .idc-sv .ic { width: 19px; height: 19px; }
.idc-b { grid-template-columns: 78px minmax(0, 1fr); gap: 12px; }
.idc-ph { width: 78px; height: 98px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); } .av.idc-av { font-size: 27px; }
.idc-f { gap: 3px; }
.idc-f dt { font-size: 8.5px; letter-spacing: .1em; }
.idc-f dd { font-size: 13px; line-height: 1.2; }
.idc-f > div:first-child dd { font-size: 15px; }
.idc-st { padding: 6px 2px; border-radius: 12px; }
.idc-st > div { gap: 1px; padding: 0 3px; }
.idc-st b { font-size: 14px; gap: 2px; } .idc-st > div:last-child b { font-size: 12.5px; }
.idc-st small { font-size: 9.5px; }
.idc-st .ic { width: 13px; height: 13px; }
.idc-ft { gap: 8px; } .idc-ft .btn { min-height: 42px; border-radius: 13px; font-size: 15px; }
.idc-call { width: 42px; }
.idc-all { margin: -3px auto -3px; padding: 2px 10px; font-size: 12.5px; }
/* orqa tomoni: Bugun / Ertaga */
.idc.bk { gap: 8px; }
.av.idc-mini { width: 30px; height: 30px; font-size: 12px; }
.idc.bk .idc-k b { font-size: 15px; }
.idc-days { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; flex: none; }
.idc-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-height: 44px; padding: 4px 6px; border-radius: 13px; border: 1px solid var(--line); background: color-mix(in srgb, var(--fg) 4%, transparent); color: var(--fg); font-family: var(--f); }
.idc-day b { font-size: 14.5px; font-weight: 700; line-height: 1.15; } .idc-day small { font-size: 11px; color: var(--muted); line-height: 1.15; }
.idc-day.on { background: var(--ac); border-color: var(--ac); color: var(--brand-ink); } .idc-day.on small { color: inherit; opacity: .8; }
.idc-day:disabled { opacity: .4; }
.idc .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.idc .slot { min-height: 36px; border-radius: 11px; font-size: 14px; }
.idc-sc { gap: 8px; }
.idc .note { font-size: 13px; }
/* old tomoni yanada ixcham (~avvalgisining yarmi) */
.idc { padding: 11px 13px; gap: 8px; }
.idc-top { min-height: 28px; gap: 8px; }
.idc-em { width: 26px; height: 26px; border-radius: 8px; } .idc-em .ic { width: 15px; height: 15px; }
.idc-k b { font-size: 9.5px; } .idc-k small { font-size: 11px; }
.idc-sv { width: 32px; height: 32px; margin: -2px -3px 0 0; } .idc-sv .ic { width: 18px; height: 18px; }
.idc-b { grid-template-columns: 74px minmax(0, 1fr); gap: 12px; }
.idc-ph { width: 74px; height: 92px; border-radius: 11px; } .av.idc-av { font-size: 25px; }
.idc-f { gap: 2px; }
.idc-f dt { font-size: 8px; line-height: 1.1; }
.idc-f dd { font-size: 12.5px; line-height: 1.15; margin-top: 1px; }
.idc-f > div:first-child dd { font-size: 14.5px; }
.idc-st { padding: 5px 2px; }
.idc-st b { font-size: 13.5px; } .idc-st > div:last-child b { font-size: 12px; } .idc-st small { font-size: 9px; }
.idc-ft .btn { min-height: 40px; font-size: 14.5px; } .idc-call { width: 40px; }
.idc.bk { padding: 12px 14px; }
.idc { gap: 7px; }
.idc-ft .btn { height: 40px; min-height: 0; padding-top: 0; padding-bottom: 0; }
.idc-st { padding: 4px 2px; }
.idc-f dt { font-size: 7.5px; } .idc-f dd { line-height: 1.1; }

/* ===== 2.4.2: Xizmat turlari — saqlangan usta bo'lmasa izoh yo'q (nom plitka o'rtasida); ustalar ro'yxati — ekranning 6/10 qismidagi varoq ===== */
.cat-li.nosub .tl-2 { display: contents; }
.cat-li.nosub .tl-2 > span:first-child { display: none; }
.sw-wrap.prv-s .sheet { height: calc(var(--vvh, 100vh) * .6); max-height: calc(var(--vvh, 100vh) * .6); display: flex; flex-direction: column; }
.sw-wrap.prv-s .sh-h { justify-content: center; padding: 6px 16px 8px; }
.sw-wrap.prv-s .sh-h h3 { flex: none; text-align: center; max-width: 100%; }
.sw-wrap.prv-s .sh-h .ib { display: none; }
.sw-wrap.prv-s .sh-b { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 2px 14px 0; overflow: hidden; }
.prv-q { flex: none; margin: 0 !important; }
.prv-l { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -14px; padding: 0 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
.prv-l .tl { margin: 0; }
.prv-l .empty { padding: 28px 0; }
@media (min-width: 1024px) { .sw-wrap.prv-s .sheet { height: min(60vh, 640px); max-height: min(60vh, 640px); } }

/* ===== 2.4.3: ID card — sarlavha 18% kattaroq, belgi yozuv bilan bir xil; kvadrat brend rasmi, ish vaqti rasm ostida; ustalar ro'yxati — ekran o'rtasida ===== */
.idc-k b { display: inline-flex; align-items: center; gap: 6px; font-size: 11.2px; line-height: 1.2; }
.idc-k b .idc-em { flex: none; width: 1.25em; height: 1.25em; border: 0; border-radius: 0; background: none; color: var(--acx); stroke-width: 2; }
.idc-top { min-height: 30px; }
.idc-b { grid-template-columns: 84px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: start; }
.idc-ph { grid-row: 1; grid-column: 1; width: 84px; height: 84px; border-radius: 14px; }
.av.idc-av { font-size: 28px; }
.idc-b > .idc-f:not(.idc-hr) { grid-row: 1; grid-column: 2; align-self: center; gap: 4px; }
.idc-b > .idc-hr { grid-row: 2; grid-column: 1 / -1; }
.idc-hr dd { font-size: 13px; }
/* «Xizmat turlari»: saqlangan ustaning brend rasmi — belgi o'rnida, shisha yaltirashi bilan */
.tl-r.cat-li .tl-ic.brand { position: relative; overflow: hidden; padding: 0; }
.tl-ic.brand .av.cat-av { width: 100%; height: 100%; border-radius: inherit; display: grid; place-items: center; font-size: 19px; font-weight: 700; color: var(--brand-text); background: none; }
.tl-ic.brand .av.cat-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-ic.brand::before { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .2), transparent 42%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-text) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, .22); }
.tl-ic.brand::after { content: ''; position: absolute; inset: -20%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .28) 50%, transparent 62%); transform: translateX(-120%); animation: brandSheen 4.5s ease-in-out infinite; }
@keyframes brandSheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .tl-ic.brand::after { animation: none; display: none; } }
/* ustalar ro'yxati: pastdan emas — ekran o'rtasida, ekranning 6/10 qismi */
.sw-wrap.ctr.prv-s .sheet { width: min(400px, calc(100vw - 28px)); height: calc(var(--vvh, 100vh) * .6); max-height: calc(var(--vvh, 100vh) * .6); display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); box-shadow: 0 30px 70px rgba(0, 0, 0, .42); }
.sw-wrap.ctr.prv-s .sh-h { display: flex; justify-content: center; padding: 14px 16px 8px; }
.sw-wrap.ctr.prv-s .sh-b { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 2px 14px 0; overflow: hidden; }
@media (min-width: 1024px) { .sw-wrap.ctr.prv-s .sheet { width: 440px; height: min(60vh, 640px); max-height: min(60vh, 640px); } }

/* ===== 2.4.4: ID card belgisi — avvalgidek fon (shisha plitka), belgining o'zi yozuv o'lchamida ===== */
.idc-k b { gap: 8px; }
.idc-k b .idc-em { box-sizing: content-box; width: 1.25em; height: 1.25em; padding: 5px; border-radius: 8px; overflow: visible;
  background: color-mix(in srgb, var(--ac) 16%, transparent); border: 1px solid color-mix(in srgb, var(--ac) 30%, transparent); color: var(--acx); }

/* ===== 2.4.5: Hisobot (oddiy foydalanuvchi) — avtomatik 1 hafta; kam kunli grafikda ustun va yozuvlar kattaroq ===== */
.bars.few:not(.long) .bars-g i { width: 46%; max-width: 22px; border-radius: 6px 6px 0 0; }
.bars.few.both:not(.long) .bars-g i { width: 34%; max-width: 14px; }
.bars.few .bars-d span b { font-size: 12.5px; letter-spacing: -.01em; }
.bars.few .bars-d span i { font-size: 10.5px; letter-spacing: 0; }

/* ===== 2.4.6: Hisobot — ustunlar 80% shaffof, ichida kunlik jami summa (90°); chiqim turlari plitkasi — yozuvlar soniga qarab kattalashadi; xarajatni o'ngga surib o'chirish ===== */
.bars:not(.long) .bars-g i.r { position: relative; background: color-mix(in srgb, var(--bad) 20%, transparent); box-shadow: inset 0 2px 0 var(--bad), inset 0 0 0 1px color-mix(in srgb, var(--bad) 35%, transparent); }
.bars:not(.long) .bars-g i.g { position: relative; background: color-mix(in srgb, var(--ok) 20%, transparent); box-shadow: inset 0 2px 0 var(--ok), inset 0 0 0 1px color-mix(in srgb, var(--ok) 35%, transparent); }
.bars-g span { position: relative; }
.bars-g .bv { position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; white-space: nowrap; line-height: 1;
  font-size: clamp(7px, calc(100cqw / var(--n, 30) * .5), 11.5px); font-weight: 700; letter-spacing: .01em; color: var(--fg); pointer-events: none; }
.bars-g .bv.out { bottom: calc(100% + 4px); color: color-mix(in srgb, var(--bad) 85%, var(--fg)); }
.bars.few .bars-g .bv { font-size: 11.5px; }
/* chiqim turlari: pastgacha cho'zilmaydi — har bir tur qo'shilganda plitka shunga qarab kattalashadi (joy tugasa — ichida aylanadi) */
:is(.v-fit, .hm-rep) .card.cats, :is(.v-fit, .hm-rep) .card.cats:not(.c-in) { flex: 0 1 auto; display: flex; flex-direction: column; justify-content: flex-start; min-height: 0; overflow-y: auto; }
:is(.v-fit, .hm-rep) .card.cats .cat-r { flex: none; max-height: none; min-height: 52px; }
/* «O'chirish» — chap tomonda (qator o'ngga suriladi) */
.sw-del { align-items: flex-start; background: linear-gradient(270deg, #c93535 0%, #ec4b4b 100%); clip-path: inset(0 100% 0 0 round 14px); }
.sw-del .ic { margin-right: 0; margin-left: 34px; }

/* ===== 2.4.7: ID card — ism, ish joyi, manzil bir xil o'lchamda, rasm ramkasi balandligida teng taqsimlangan ===== */
.idc-b > .idc-f:not(.idc-hr) { align-self: stretch; height: 84px; display: flex; flex-direction: column; justify-content: space-between; gap: 0; }
.idc-b > .idc-f:not(.idc-hr) dd, .idc-b > .idc-f:not(.idc-hr) > div:first-child dd { font-size: 14px; font-weight: 600; line-height: 1.15; }
/* Xizmat turlari plitkasi: navbat holati — usta ismidan keyin o'ngda */
.cat-li .tl-2 { align-items: center; gap: 8px; }
.bk-fav.bk-live .ic { fill: none; stroke: var(--brand-text); }
.tl-badge.bk-st { flex: none; font-size: 11.5px; padding: 3px 9px; }
.tl-badge.bk-st.req { background: color-mix(in srgb, #ffb400 18%, transparent); color: #e6a200; }
.tl-badge.bk-st.wait { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.tl-badge.req { background: color-mix(in srgb, #ffb400 18%, transparent); color: #e6a200; }
/* usta: so'rovni tasdiqlash / rad etish */
.q-req { display: inline-flex; gap: 6px; flex: none; }
.q-req .q-no { width: 34px; padding: 0; display: grid; place-items: center; color: var(--bad); }
.q-r.st-req { box-shadow: inset 3px 0 0 #ffb400; }
.pill.warn { background: color-mix(in srgb, #ffb400 18%, transparent); color: #e6a200; }
/* chiqim turlari: yozuvlar soniga qarab kattalashadi; joy tugasa — qatorlar siqiladi (hammasi ko'rinadi) */
:is(.v-fit, .hm-rep) .card.cats .cat-r { flex: 0 1 54px; min-height: 0; max-height: 64px; }
/* so'rov qatori: tugmalar ism ostida, to'liq kenglikda (ism qisilmaydi) */
.q-r.st-req { flex-wrap: wrap; row-gap: 8px; }
.q-r.st-req .q-req { flex: 1 0 100%; display: flex; gap: 8px; }
.q-r.st-req .q-req .btn { flex: 1; min-height: 38px; }
.q-req .q-no { width: auto; padding: 0 12px; display: inline-flex; gap: 6px; color: var(--bad); }
/* plitkadagi holat belgisi to'liq ko'rinadi, usta ismi qisqaradi */
.cat-li .tl-2 > span:first-child { flex: 1 1 auto; min-width: 0; }
.cat-li .tl-2 > .tl-badge.bk-st { flex: none; max-width: none; overflow: visible; text-overflow: clip; white-space: nowrap; }
.cat-li .tl-2 > span:first-child { display: flex; align-items: center; gap: 8px; }
.cat-li .tl-2 > span:first-child > .bk-fav { flex: 0 1 auto; min-width: 0; }
.cat-li .tl-2 > span:first-child > .tl-badge.bk-st { margin-left: auto; flex: none; white-space: nowrap; }
.cat-li .tl-2 > span:first-child > .tl-badge.bk-st { font-size: 11px; padding: 2px 8px; letter-spacing: -.01em; }

/* ===== 2.4.8: chiqim turlari — to'lganda ham hammasi plitkaga bir xil sig'adi, aylantirish chizig'i chiqmaydi ===== */
/* joy yetmasa — avval grafik pasayadi (eng kami 84px), keyin qatorlar teng siqiladi va ixcham ko'rinishga o'tadi */
:is(.v-fit, .hm-rep) .card.bars { flex: 0 4 clamp(140px, 20vh, 168px); height: auto; min-height: 84px; }
@media (max-height: 700px) { :is(.v-fit, .hm-rep) .card.bars { flex-basis: 130px; height: auto; } :is(.v-fit, .hm-rep) .card.cats .cat-r { padding: 0; } }
:is(.v-fit, .hm-rep) .card.cats, :is(.v-fit, .hm-rep) .card.cats:not(.c-in) { overflow: hidden; }
:is(.v-fit, .hm-rep) .card.cats .cat-r { container-type: size; flex: 0 1 54px; min-height: 18px; max-height: 64px; padding: 0; }
@container (max-height: 43px) {
  .cat-b { grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; position: relative; }
  .cat-b .cat-l { grid-column: 1; grid-row: 1; }
  .cat-b small { grid-column: 2; grid-row: 1; }
  .cat-b .cat-p { position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; }
  .li-ic { width: 22px !important; height: 22px !important; border-radius: 7px !important; } .li-ic .ic { width: 13px !important; height: 13px !important; }
}
@container (max-height: 27px) {
  .li-ic { display: none !important; }
  .cat-b .cat-l, .cat-b .cat-l b.num { font-size: 11.5px !important; } .cat-b small { font-size: 10px !important; }
  .cat-b .cat-p { bottom: -3px; height: 1.5px; }
}
@media (max-height: 600px) { :is(.v-fit, .hm-rep) .card.bars { min-height: 60px; flex-basis: 110px; } :is(.v-fit, .hm-rep) .kpis.n1 .kpi.k-tot { padding: 8px 14px; } :is(.v-fit > .rep-v > .fbody, .home-v > .fbody.hm-rep) { gap: 6px; } }

/* ===== 2.4.9: Profil — qalamcha (rasm ro'parasida, pastroq va chaproqda); tahrirlash varag'i qalamchaning o'zidan chiqadi ===== */
.tg-more { top: 74px; right: 12px; color: var(--brand-text); }
.tg-more .ic { width: 20px; height: 20px; stroke-width: 2; }
.sw-wrap.acc-p .sheet { top: var(--acc-top, 150px); bottom: auto; left: auto; right: 14px; width: min(360px, calc(100vw - 28px)); max-width: none; margin: 0; max-height: calc(100% - var(--acc-top, 150px) - 14px);
  border-radius: 22px; padding-bottom: 0; transform-origin: var(--acc-ox, 90%) var(--acc-oy, -24px); transform: scale(.08); opacity: 0;
  transition: transform .34s cubic-bezier(.2, .9, .25, 1.04), opacity .2s ease; }
.sw-wrap.acc-p.in .sheet { transform: none; opacity: 1; }
.sw-wrap.acc-p.out .sheet { transform: scale(.08); opacity: 0; transition-duration: .22s; }
.sw-wrap.acc-p .grab { display: none; }
.sw-wrap.acc-p .sh-h { padding-top: 12px; }
.sw-wrap.acc-p .sh-b { overflow-y: auto; padding-bottom: 16px; }
.acc-f { display: flex; flex-direction: column; gap: 10px; }
.acc-f .fld { margin: 0; } .acc-f input:disabled { opacity: .6; }
.acc-f .btn.lg { margin-top: 4px; }
@media (min-width: 1024px) { .sw-wrap.acc-p .sheet, .sw-wrap.acc-p.in .sheet, .sw-wrap.acc-p.out .sheet { top: var(--acc-top, 150px); left: auto; right: 24px; width: 380px; } .sw-wrap.acc-p.in .sheet { transform: none; } }

/* ===== 2.4.10: Tema sahifasi — uchta ko'rinish namunasi va tungi rejim ===== */
.sk-sec h4, .sk-mode h4 { margin: 0 4px 10px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.sk-mode h4 { margin: 12px 14px 8px; }
.sk-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sk-c { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 8px 10px; border-radius: 18px; border: 1.5px solid transparent; background: var(--mica); }
.sk-c.on { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.sk-n { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.sk-n .ic { width: 15px; height: 15px; color: var(--brand); stroke-width: 2.6; }
/* namuna: kichik telefon ekrani */
.sk-p { position: relative; width: 100%; aspect-ratio: 9 / 15; border-radius: 14px; overflow: hidden; display: block; }
.sk-p i { position: absolute; display: block; }
.sk-p .sk-bar { left: 10%; top: 7%; width: 42%; height: 5%; border-radius: 3px; }
.sk-p .sk-t { left: 8%; right: 8%; height: 13%; }
.sk-p .sk-t.a { top: 18%; height: 18%; } .sk-p .sk-t.b { top: 40%; } .sk-p .sk-t.c { top: 56%; }
.sk-p .sk-tab { left: 10%; right: 10%; bottom: 5%; height: 10%; }
.sk-p .sk-tab b { position: absolute; left: 8%; top: 18%; width: 28%; height: 64%; }
/* Yashil */
.sk-green { background: radial-gradient(80% 50% at 0% 100%, rgba(14, 126, 99, .35), transparent 70%), radial-gradient(70% 45% at 100% 55%, rgba(88, 72, 190, .25), transparent 70%), #f2f4f7; }
.sk-green.dk { background: radial-gradient(140% 50% at 50% -10%, #1d2043, transparent 70%), radial-gradient(80% 50% at 0% 100%, rgba(14, 126, 99, .45), transparent 70%), radial-gradient(70% 45% at 100% 55%, rgba(88, 72, 190, .35), transparent 70%), #0b0c11; }
.sk-green .sk-bar, .sk-green .sk-tab b { background: #0e7e63; }
.sk-green .sk-t, .sk-green .sk-tab { border-radius: 7px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(0, 0, 0, .05); }
.sk-green.dk .sk-t, .sk-green.dk .sk-tab { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .08); }
.sk-green .sk-tab, .sk-green .sk-tab b { border-radius: 99px; }
/* Windows 11 */
.sk-win { background: radial-gradient(90% 60% at 80% 15%, #9cc1ff 0%, transparent 60%), radial-gradient(80% 55% at 15% 95%, #c4d6ff, transparent 65%), #eef3fb; }
.sk-win.dk { background: radial-gradient(90% 60% at 78% 16%, rgba(56, 130, 255, .9) 0%, rgba(25, 82, 197, .5) 30%, transparent 62%), radial-gradient(80% 55% at 15% 95%, rgba(18, 60, 160, .6), transparent 65%), #0a1226; }
.sk-win .sk-bar, .sk-win .sk-tab b { background: #005fb8; border-radius: 2px; }
.sk-win.dk .sk-bar, .sk-win.dk .sk-tab b { background: #60cdff; }
.sk-win .sk-t { border-radius: 7px; } .sk-win .sk-tab { border-radius: 99px; } .sk-win .sk-t, .sk-win .sk-tab { background: rgba(255, 255, 255, .66); border: 1px solid rgba(0, 0, 0, .06); }
.sk-win.dk .sk-t, .sk-win.dk .sk-tab { background: rgba(32, 32, 32, .6); border-color: rgba(255, 255, 255, .09); }
.sk-win .sk-tab b { height: 12%; top: auto; bottom: 10%; left: 14%; width: 16%; }
/* iOS 26 */
.sk-ios { background: radial-gradient(90% 55% at 10% 0%, rgba(255, 149, 0, .28), transparent 60%), radial-gradient(90% 55% at 100% 35%, rgba(88, 86, 214, .3), transparent 60%), radial-gradient(90% 55% at 25% 100%, rgba(0, 122, 255, .28), transparent 60%), #f2f2f7; }
.sk-ios.dk { background: radial-gradient(90% 55% at 10% 0%, rgba(94, 92, 230, .55), transparent 60%), radial-gradient(80% 50% at 100% 35%, rgba(10, 132, 255, .45), transparent 62%), radial-gradient(90% 55% at 20% 100%, rgba(255, 55, 95, .3), transparent 60%), #000; }
.sk-ios .sk-bar, .sk-ios .sk-tab b { background: #007aff; border-radius: 99px; }
.sk-ios.dk .sk-bar, .sk-ios.dk .sk-tab b { background: #0a84ff; }
.sk-ios .sk-t { border-radius: 10px; background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .5)); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 3px 8px rgba(0, 0, 0, .06); }
.sk-ios.dk .sk-t { background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05)); border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.sk-ios .sk-tab { border-radius: 99px; background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .5)); border: 1px solid rgba(255, 255, 255, .8); }
.sk-ios.dk .sk-tab { background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .18); }
.sk-ios .sk-tab b { border-radius: 99px; background: rgba(0, 122, 255, .2); } .sk-ios.dk .sk-tab b { background: rgba(255, 255, 255, .18); }
.sk-mode { padding-bottom: 6px; }
.sk-seg { margin: 0 12px; } .sk-seg button { flex-direction: row; gap: 6px; min-height: 40px; }
.sk-mode .hint { margin: 8px 14px 4px; }

/* ===== 2.4.11: TEMALAR — Yashil (shaffofroq) · Windows 11 · iOS 26; har biri kunduzgi va tungi rejimda (avto — qurilma sozlamasi bo'yicha) ===== */
/* umumiy: plitkalar shaffof (fon rangi alfa bilan) — orqadagi fon ko'rinadi.
   Tezlik uchun plitkalarda «backdrop-filter: blur» ishlatilmaydi: ularning orqasida faqat silliq rangli fon bor, xiralash ko'zga ko'rinmaydi,
   lekin telefon GPU'si har bir plitka uchun har kadrda qayta hisoblaydi (sekinlashtiradi). Xira-shisha faqat ustidan kontent o'tadigan joylarda: pastki menyu, yuqori panel, varaqlar. */
:root:not([data-skin]) {
  --mica: rgba(255, 255, 255, .5); --mica-2: rgba(255, 255, 255, .78); --mica-line: rgba(15, 20, 30, .07); --mica-top: rgba(255, 255, 255, .7);
  --bg-fx: radial-gradient(75% 48% at 0% 100%, rgba(14, 126, 99, .2) 0%, rgba(14, 126, 99, 0) 70%), radial-gradient(65% 42% at 100% 58%, rgba(88, 72, 190, .14) 0%, rgba(88, 72, 190, 0) 70%), radial-gradient(60% 35% at 90% 0%, rgba(60, 199, 161, .14) 0%, transparent 70%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-skin]):not([data-theme="light"]) {
    --mica: linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .025) 100%); --mica-2: rgba(255, 255, 255, .09); --mica-line: rgba(255, 255, 255, .085); --mica-top: rgba(255, 255, 255, .09);
    --bg-fx: radial-gradient(75% 48% at 0% 100%, rgba(14, 126, 99, .34) 0%, rgba(14, 126, 99, 0) 70%), radial-gradient(65% 42% at 100% 58%, rgba(88, 72, 190, .28) 0%, rgba(88, 72, 190, 0) 70%), radial-gradient(55% 30% at 85% 0%, rgba(60, 199, 161, .12) 0%, transparent 70%);
  }
}
:root:not([data-skin])[data-theme="dark"] {
  --mica: linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .025) 100%); --mica-2: rgba(255, 255, 255, .09); --mica-line: rgba(255, 255, 255, .085); --mica-top: rgba(255, 255, 255, .09);
    --bg-fx: radial-gradient(75% 48% at 0% 100%, rgba(14, 126, 99, .34) 0%, rgba(14, 126, 99, 0) 70%), radial-gradient(65% 42% at 100% 58%, rgba(88, 72, 190, .28) 0%, rgba(88, 72, 190, 0) 70%), radial-gradient(55% 30% at 85% 0%, rgba(60, 199, 161, .12) 0%, transparent 70%);
}
:root[data-skin="win"] {
  --bg: #eef3fb; --bg-out: #e3eaf6; --surface: #fbfbfb; --surface-2: #f3f3f3; --surface-3: #e9e9e9;
  --fg: #1b1b1b; --muted: #5d5d5d; --faint: #8a8a8a; --line: rgba(0, 0, 0, .09); --line-2: rgba(0, 0, 0, .055);
  --brand: #005fb8; --brand-2: #004c94; --brand-text: #005fb8; --brand-weak: #e1ecf8; --brand-ink: #ffffff; --on-weak: #003e78; --navy: #005fb8; --navy-ink: #ffffff; --glow: rgba(0, 95, 184, .22);
  --ok: #0f7b0f; --ok-w: #dff6dd; --bad: #c42b1c; --bad-w: #fde7e9; --warn: #9d5d00; --warn-w: #fff4ce; --info: #005fb8; --info-w: #e1ecf8;
  --bg-img: radial-gradient(95% 60% at 85% 8%, rgba(120, 170, 255, .55) 0%, rgba(120, 170, 255, 0) 60%), radial-gradient(90% 60% at 8% 100%, rgba(150, 185, 255, .5) 0%, rgba(150, 185, 255, 0) 62%);
  --bg-fx: none; --card-grad: initial; --gpt-grad: linear-gradient(180deg, #0067c0, #005fb8); --tg-act: rgba(0, 95, 184, .1);
  --mica: rgba(255, 255, 255, .64); --mica-2: rgba(255, 255, 255, .86); --mica-line: rgba(0, 0, 0, .065); --mica-top: rgba(255, 255, 255, .6); --mica-sh: 0 2px 4px rgba(0, 0, 0, .04);
  --acr: rgba(243, 243, 243, .74); --acr-s: rgba(249, 249, 249, .88); --acr-blur: blur(30px) saturate(125%);
  --f: 'Segoe UI Variable Text', 'Segoe UI Variable', 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, Roboto, system-ui, sans-serif;
  --sh: 0 2px 4px rgba(0, 0, 0, .05); --sh-lg: 0 32px 64px rgba(0, 0, 0, .19), 0 2px 21px rgba(0, 0, 0, .15);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-skin="win"]:not([data-theme="light"]) {
    --bg: #0a1226; --bg-out: #070d1c; --surface: #2b2b2b; --surface-2: #323232; --surface-3: #3d3d3d;
    --fg: #ffffff; --muted: #c5c5c5; --faint: #9d9d9d; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .055);
    --brand: #60cdff; --brand-2: #4cc2ff; --brand-text: #60cdff; --brand-weak: rgba(96, 205, 255, .14); --brand-ink: #000000; --on-weak: #99ebff; --navy: #60cdff; --navy-ink: #000000; --glow: rgba(96, 205, 255, .22);
    --ok: #6ccb5f; --ok-w: rgba(108, 203, 95, .14); --bad: #ff99a4; --bad-w: rgba(255, 153, 164, .14); --warn: #fce100; --warn-w: rgba(252, 225, 0, .12); --info: #60cdff; --info-w: rgba(96, 205, 255, .14);
    --bg-img: radial-gradient(85% 55% at 80% 14%, rgba(70, 145, 255, .85) 0%, rgba(30, 92, 210, .5) 28%, rgba(10, 30, 80, 0) 62%), radial-gradient(85% 60% at 12% 95%, rgba(22, 70, 175, .6) 0%, rgba(10, 18, 38, 0) 66%);
    --bg-fx: none; --card-grad: initial; --gpt-grad: linear-gradient(180deg, #60cdff, #4cc2ff); --tg-act: rgba(255, 255, 255, .08);
    --mica: rgba(32, 32, 32, .56); --mica-2: rgba(60, 60, 60, .7); --mica-line: rgba(255, 255, 255, .085); --mica-top: rgba(255, 255, 255, .05); --mica-sh: 0 2px 8px rgba(0, 0, 0, .26);
    --acr: rgba(32, 32, 32, .74); --acr-s: rgba(40, 40, 40, .86); --acr-blur: blur(30px) saturate(125%);
    --f: 'Segoe UI Variable Text', 'Segoe UI Variable', 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, Roboto, system-ui, sans-serif;
    --sh: 0 2px 4px rgba(0, 0, 0, .26); --sh-lg: 0 32px 64px rgba(0, 0, 0, .56), 0 2px 21px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-skin="win"][data-theme="dark"] {
  --bg: #0a1226; --bg-out: #070d1c; --surface: #2b2b2b; --surface-2: #323232; --surface-3: #3d3d3d;
    --fg: #ffffff; --muted: #c5c5c5; --faint: #9d9d9d; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .055);
    --brand: #60cdff; --brand-2: #4cc2ff; --brand-text: #60cdff; --brand-weak: rgba(96, 205, 255, .14); --brand-ink: #000000; --on-weak: #99ebff; --navy: #60cdff; --navy-ink: #000000; --glow: rgba(96, 205, 255, .22);
    --ok: #6ccb5f; --ok-w: rgba(108, 203, 95, .14); --bad: #ff99a4; --bad-w: rgba(255, 153, 164, .14); --warn: #fce100; --warn-w: rgba(252, 225, 0, .12); --info: #60cdff; --info-w: rgba(96, 205, 255, .14);
    --bg-img: radial-gradient(85% 55% at 80% 14%, rgba(70, 145, 255, .85) 0%, rgba(30, 92, 210, .5) 28%, rgba(10, 30, 80, 0) 62%), radial-gradient(85% 60% at 12% 95%, rgba(22, 70, 175, .6) 0%, rgba(10, 18, 38, 0) 66%);
    --bg-fx: none; --card-grad: initial; --gpt-grad: linear-gradient(180deg, #60cdff, #4cc2ff); --tg-act: rgba(255, 255, 255, .08);
    --mica: rgba(32, 32, 32, .56); --mica-2: rgba(60, 60, 60, .7); --mica-line: rgba(255, 255, 255, .085); --mica-top: rgba(255, 255, 255, .05); --mica-sh: 0 2px 8px rgba(0, 0, 0, .26);
    --acr: rgba(32, 32, 32, .74); --acr-s: rgba(40, 40, 40, .86); --acr-blur: blur(30px) saturate(125%);
    --f: 'Segoe UI Variable Text', 'Segoe UI Variable', 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, Roboto, system-ui, sans-serif;
    --sh: 0 2px 4px rgba(0, 0, 0, .26); --sh-lg: 0 32px 64px rgba(0, 0, 0, .56), 0 2px 21px rgba(0, 0, 0, .55);
    color-scheme: dark;
}
:root[data-skin="ios"] {
  --bg: #f2f2f7; --bg-out: #e5e5ea; --surface: #ffffff; --surface-2: #f2f2f7; --surface-3: #e5e5ea;
  --fg: #000000; --muted: #6e6e73; --faint: #aeaeb2; --line: rgba(60, 60, 67, .18); --line-2: rgba(60, 60, 67, .1);
  --brand: #007aff; --brand-2: #0062cc; --brand-text: #007aff; --brand-weak: rgba(0, 122, 255, .12); --brand-ink: #ffffff; --on-weak: #004fa8; --navy: #007aff; --navy-ink: #ffffff; --glow: rgba(0, 122, 255, .28);
  --ok: #34c759; --ok-w: rgba(52, 199, 89, .14); --bad: #ff3b30; --bad-w: rgba(255, 59, 48, .12); --warn: #ff9500; --warn-w: rgba(255, 149, 0, .14); --info: #007aff; --info-w: rgba(0, 122, 255, .12);
  --bg-img: radial-gradient(90% 50% at 8% 0%, rgba(255, 149, 0, .2) 0%, transparent 62%), radial-gradient(85% 50% at 100% 32%, rgba(88, 86, 214, .2) 0%, transparent 62%), radial-gradient(95% 55% at 22% 100%, rgba(0, 122, 255, .2) 0%, transparent 62%);
  --bg-fx: none; --card-grad: initial; --gpt-grad: linear-gradient(180deg, #2a8cff, #007aff); --tg-act: rgba(0, 0, 0, .06);
  --mica: linear-gradient(135deg, rgba(255, 255, 255, .74) 0%, rgba(255, 255, 255, .46) 100%); --mica-2: rgba(255, 255, 255, .88); --mica-line: rgba(255, 255, 255, .78); --mica-top: rgba(255, 255, 255, .95); --mica-sh: 0 8px 24px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .04);
  --acr: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .5)); --acr-s: rgba(255, 255, 255, .74); --acr-blur: blur(24px) saturate(190%);
  --f: -apple-system, 'SF Pro Text', 'SF Pro Display', BlinkMacSystemFont, 'Helvetica Neue', 'Inter', system-ui, sans-serif;
  --sh: 0 4px 14px rgba(0, 0, 0, .06); --sh-lg: 0 24px 60px rgba(0, 0, 0, .18);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-skin="ios"]:not([data-theme="light"]) {
    --bg: #000000; --bg-out: #000000; --surface: #1c1c1e; --surface-2: #2c2c2e; --surface-3: #3a3a3c;
    --fg: #ffffff; --muted: rgba(235, 235, 245, .62); --faint: rgba(235, 235, 245, .32); --line: rgba(84, 84, 88, .6); --line-2: rgba(84, 84, 88, .36);
    --brand: #0a84ff; --brand-2: #0071e3; --brand-text: #3d9bff; --brand-weak: rgba(10, 132, 255, .18); --brand-ink: #ffffff; --on-weak: #8cc4ff; --navy: #0a84ff; --navy-ink: #ffffff; --glow: rgba(10, 132, 255, .34);
    --ok: #30d158; --ok-w: rgba(48, 209, 88, .16); --bad: #ff453a; --bad-w: rgba(255, 69, 58, .16); --warn: #ff9f0a; --warn-w: rgba(255, 159, 10, .16); --info: #0a84ff; --info-w: rgba(10, 132, 255, .18);
    --bg-img: radial-gradient(90% 50% at 8% 0%, rgba(94, 92, 230, .42) 0%, transparent 62%), radial-gradient(80% 48% at 100% 34%, rgba(10, 132, 255, .32) 0%, transparent 62%), radial-gradient(95% 55% at 20% 100%, rgba(255, 55, 95, .22) 0%, transparent 62%);
    --bg-fx: none; --card-grad: initial; --gpt-grad: linear-gradient(180deg, #2b95ff, #0a84ff); --tg-act: rgba(255, 255, 255, .12);
    --mica: linear-gradient(135deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .045) 100%); --mica-2: rgba(255, 255, 255, .17); --mica-line: rgba(255, 255, 255, .15); --mica-top: rgba(255, 255, 255, .26); --mica-sh: 0 10px 30px rgba(0, 0, 0, .45);
    --acr: linear-gradient(135deg, rgba(60, 60, 64, .5), rgba(30, 30, 32, .55)); --acr-s: rgba(28, 28, 30, .74); --acr-blur: blur(24px) saturate(190%);
    --f: -apple-system, 'SF Pro Text', 'SF Pro Display', BlinkMacSystemFont, 'Helvetica Neue', 'Inter', system-ui, sans-serif;
    --sh: 0 4px 14px rgba(0, 0, 0, .4); --sh-lg: 0 24px 60px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-skin="ios"][data-theme="dark"] {
  --bg: #000000; --bg-out: #000000; --surface: #1c1c1e; --surface-2: #2c2c2e; --surface-3: #3a3a3c;
    --fg: #ffffff; --muted: rgba(235, 235, 245, .62); --faint: rgba(235, 235, 245, .32); --line: rgba(84, 84, 88, .6); --line-2: rgba(84, 84, 88, .36);
    --brand: #0a84ff; --brand-2: #0071e3; --brand-text: #3d9bff; --brand-weak: rgba(10, 132, 255, .18); --brand-ink: #ffffff; --on-weak: #8cc4ff; --navy: #0a84ff; --navy-ink: #ffffff; --glow: rgba(10, 132, 255, .34);
    --ok: #30d158; --ok-w: rgba(48, 209, 88, .16); --bad: #ff453a; --bad-w: rgba(255, 69, 58, .16); --warn: #ff9f0a; --warn-w: rgba(255, 159, 10, .16); --info: #0a84ff; --info-w: rgba(10, 132, 255, .18);
    --bg-img: radial-gradient(90% 50% at 8% 0%, rgba(94, 92, 230, .42) 0%, transparent 62%), radial-gradient(80% 48% at 100% 34%, rgba(10, 132, 255, .32) 0%, transparent 62%), radial-gradient(95% 55% at 20% 100%, rgba(255, 55, 95, .22) 0%, transparent 62%);
    --bg-fx: none; --card-grad: initial; --gpt-grad: linear-gradient(180deg, #2b95ff, #0a84ff); --tg-act: rgba(255, 255, 255, .12);
    --mica: linear-gradient(135deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .045) 100%); --mica-2: rgba(255, 255, 255, .17); --mica-line: rgba(255, 255, 255, .15); --mica-top: rgba(255, 255, 255, .26); --mica-sh: 0 10px 30px rgba(0, 0, 0, .45);
    --acr: linear-gradient(135deg, rgba(60, 60, 64, .5), rgba(30, 30, 32, .55)); --acr-s: rgba(28, 28, 30, .74); --acr-blur: blur(24px) saturate(190%);
    --f: -apple-system, 'SF Pro Text', 'SF Pro Display', BlinkMacSystemFont, 'Helvetica Neue', 'Inter', system-ui, sans-serif;
    --sh: 0 4px 14px rgba(0, 0, 0, .4); --sh-lg: 0 24px 60px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

/* Windows 11 va iOS 26: shriftlar va rangli tugmalar matni (aksent rangi ustida) */
:root[data-skin] body, :root[data-skin] button, :root[data-skin] input, :root[data-skin] select, :root[data-skin] textarea { font-family: var(--f); }
:root[data-skin] .addh, :root[data-skin] .fab, :root[data-skin] .rg-x.on, :root[data-skin] .rg.cust .rg-ic { color: var(--brand-ink); border-color: transparent; }
:root[data-skin] .btn.primary:not(.g):not(.r) { background: var(--gpt-grad, var(--brand)); color: var(--brand-ink); border-color: transparent; }

/* --- Sapfir (Windows 11 uslubi): burchaklar Telegramdagidek qoladi; pastki menyuda tanlangan bo'lim ostida aksent chiziq --- */
:root[data-skin="win"] .tabs .bar-ind { background: var(--tg-act); }
:root[data-skin="win"] .tabs .bar-ind::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 16px; height: 3px; margin-left: -8px; border-radius: 2px; background: var(--brand); }
:root[data-skin="win"] .card, :root[data-skin="win"] .tl-r, :root[data-skin="win"] .tg-c, :root[data-skin="win"] .kpi, :root[data-skin="win"] .rates .rt, :root[data-skin="win"] .hm-pin .bcard { box-shadow: var(--mica-sh); }
:root[data-skin="win"] .btn.primary { box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .18); }

/* --- iOS 26 (Liquid Glass): katta yumaloq burchaklar, kapsula tugmalar, suzib turadigan shisha menyu va varaqlar --- */
:root[data-skin="ios"] .card, :root[data-skin="ios"] .kpi, :root[data-skin="ios"] .tile, :root[data-skin="ios"] .list, :root[data-skin="ios"] .tg-c, :root[data-skin="ios"] .catlist, :root[data-skin="ios"] .rates .rt,
:root[data-skin="ios"] .hm-pin .bcard, :root[data-skin="ios"] .kasb-b, :root[data-skin="ios"] .pkg, :root[data-skin="ios"] .ptile, :root[data-skin="ios"] .note, :root[data-skin="ios"] .idc, :root[data-skin="ios"] .sk-c { border-radius: 26px; }
:root[data-skin="ios"] .tl-r, :root[data-skin="ios"] .sw-row, :root[data-skin="ios"] .sw-del, :root[data-skin="ios"] .rg-d { border-radius: 22px; }
:root[data-skin="ios"] .btn, :root[data-skin="ios"] .chipb, :root[data-skin="ios"] .fbar, :root[data-skin="ios"] .fbar button, :root[data-skin="ios"] .seg, :root[data-skin="ios"] .seg button, :root[data-skin="ios"] .tabs, :root[data-skin="ios"] .tabs .bar-ind,
:root[data-skin="ios"] .idc-day, :root[data-skin="ios"] .slot, :root[data-skin="ios"] .search input { border-radius: 999px; }
:root[data-skin="ios"] .tl-r.cat-li .tl-ic, :root[data-skin="ios"] .tg-i { border-radius: 14px; }
:root[data-skin="ios"] .card, :root[data-skin="ios"] .kpi, :root[data-skin="ios"] .tile, :root[data-skin="ios"] .list, :root[data-skin="ios"] .tg-c, :root[data-skin="ios"] .rates .rt, :root[data-skin="ios"] .hm-pin .bcard,
:root[data-skin="ios"] .tl-r, :root[data-skin="ios"] .rg-d, :root[data-skin="ios"] .note, :root[data-skin="ios"] .sk-c, :root[data-skin="ios"] .fbar, :root[data-skin="ios"] .chipb, :root[data-skin="ios"] .slot {
  border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top), inset 0 -1px 0 rgba(255, 255, 255, .05), var(--mica-sh); }
:root[data-skin="ios"] .tabs { background: var(--acr); border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top), 0 14px 40px rgba(0, 0, 0, .22); }
:root[data-skin="ios"] .tabs .bar-ind { background: var(--tg-act); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); }
:root[data-skin="ios"] .sheet, :root[data-skin="ios"] .pop { border: 1px solid var(--mica-line); box-shadow: inset 0 1px 0 var(--mica-top), var(--sh-lg); }
:root[data-skin="ios"] .sw-wrap.ctr .sheet, :root[data-skin="ios"] .sw-wrap.dlg .sheet, :root[data-skin="ios"] .sw-wrap.wheel-p .sheet, :root[data-skin="ios"] .sw-wrap.acc-p .sheet { border-radius: 30px; }
:root[data-skin="ios"] .addh, :root[data-skin="ios"] .fab { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 10px 26px var(--glow); }
@media (max-width: 1023px) {
  /* iOS 26 varaqlari ekran chetiga yopishmaydi — suzib turadi */
  :root[data-skin="ios"] .sw-wrap:not(.ctr):not(.side):not(.dlg):not(.wheel-p):not(.acc-p) .sheet { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 34px; padding-bottom: 0; }
  :root[data-skin="ios"] .sw-wrap:not(.ctr):not(.side):not(.dlg):not(.wheel-p):not(.acc-p).out .sheet { transform: translateY(calc(102% + 12px)); }
}
@media (max-width: 1023px) {
  :root[data-skin="ios"] .sw-wrap:not(.ctr):not(.side):not(.dlg):not(.wheel-p):not(.acc-p) .sheet { transform: translateY(calc(102% + 16px)); }
  :root[data-skin="ios"] .sw-wrap:not(.ctr):not(.side):not(.dlg):not(.wheel-p):not(.acc-p).in .sheet { transform: none; }
}

/* ===== 2.4.12: ID karta foni — gilosh naqsh va golografik yaltirash uchala temada, har biri o'z rangida ===== */
.idc { --idc-g1: var(--ac); --idc-g2: #6c7cff; --idc-s1: #9ff5dc; --idc-s2: #c7a8ff;
  background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--idc-g1) 24%, transparent), transparent 60%),
    radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--idc-g2) 16%, transparent), transparent 65%),
    linear-gradient(160deg, color-mix(in srgb, var(--surface) 88%, var(--fg) 4%), var(--surface) 60%); }
/* naqsh chiziqlari tungi rejimda ham aniq ko'rinsin (rang + matn rangi aralashmasi) */
.idc-g { opacity: .62;
  background: repeating-radial-gradient(circle at 88% 12%, transparent 0 11px, color-mix(in srgb, color-mix(in srgb, var(--idc-g1) 72%, var(--fg)) 13%, transparent) 11px 12px),
    repeating-linear-gradient(118deg, transparent 0 7px, color-mix(in srgb, var(--fg) 3.5%, transparent) 7px 8px); }
.idc::after { background: linear-gradient(112deg, transparent 0%, color-mix(in srgb, var(--idc-s1) 7%, transparent) 37.5%, color-mix(in srgb, var(--idc-s2) 7%, transparent) 62.5%, transparent 100%); }
:root[data-skin="win"] .idc { --idc-g2: #8a6cff; --idc-s1: #a8e4ff; --idc-s2: #c9b8ff; }
:root[data-skin="ios"] .idc { --idc-g2: #bf5af2; --idc-s1: #9fe3ff; --idc-s2: #ffb0e0; }

/* ===== 2.4.13: Balans plitkasi — yozuv 1,4 mm pastroq; summa (so'm yozuvisiz) aynan o'rtada; ko'zcha — summa xira-shaffof bo'lib yashirinadi ===== */
.hm-pin .bcard.sm .bc-l { top: calc(2.4mm - 1px); }
.bc-n { position: relative; display: inline-block; max-width: 100%; }
/* 04:05: iPhone (Safari) «filter: blur» ni oddiy qatordagi (inline) elementga qo'llamaydi — raqam inline-block bo'lsa, ko'zcha bosilganda Sof foydadagidek xira-shaffof bo'ladi */
.bc-d { display: inline-block; white-space: nowrap; }
.bc-n small { margin-left: .28em; }
/* faqat raqam o'rtaga olinadi: «so'm» o'ng tomonga osilib turadi va markazni surmaydi */
.hm-pin .bcard.sm .bc-v { overflow: visible; text-overflow: clip; }
.hm-pin .bcard.sm .bc-n small { position: absolute; left: 100%; bottom: .2em; margin-left: .3em; line-height: 1; white-space: nowrap; }
.bc-d, .bcard .bc-x b, .bcard .bc-m b, .hero.net .net-v { transition: filter .32s ease, opacity .32s ease; }
.bcard.hid .bc-d, .bcard.hid .bc-x b, .bcard.hid .bc-m b, .hero.net .net-v.hid { filter: blur(.34em); opacity: .42; -webkit-user-select: none; user-select: none; }
@media (prefers-reduced-motion: reduce) { .bc-d, .bcard .bc-x b, .bcard .bc-m b, .hero.net .net-v { transition: none; } }

/* ===== 2.4.14: Kasb tanlash — 5 ta kasb belgilari bilan; Avto servis — ekran o'rtasida yarim ekranlik varaq ===== */
.kb-c .kb-r { align-items: center; gap: 12px; }
.kb-r .tg-b small { display: flex; align-items: center; gap: 4px; }
.kb-r .tg-b small .ic { width: 14px; height: 14px; flex: none; color: var(--brand); stroke-width: 2.4; }
.kb-av.on .tg-b b { color: var(--brand); }
.sw-wrap.ctr.kav-p .sheet { display: flex; flex-direction: column; min-height: calc(var(--vvh, 100vh) * .5); max-height: calc(var(--vvh, 100vh) - 24px); overflow: hidden;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); box-shadow: 0 30px 70px rgba(0, 0, 0, .42); }
.sw-wrap.ctr.kav-p .sh-h { display: flex; justify-content: center; padding: 16px 16px 4px; }
.sw-wrap.ctr.kav-p .sh-h h3 { flex: none; text-align: center; max-width: 100%; }
.sw-wrap.ctr.kav-p .sh-h .ib { display: none; }
.sw-wrap.ctr.kav-p .sheet { justify-content: center; padding: 6px 0 10px; }
.sw-wrap.ctr.kav-p .sh-b { flex: 0 1 auto; min-height: 0; gap: 12px; padding: 4px 14px 14px; overflow-y: auto; }
.sw-wrap.ctr.kav-p .sh-b > * { margin: 0; }
.sw-wrap.ctr.kav-p .sub { text-align: center; }
.sw-wrap.ctr.kav-p .kb-r { min-height: 64px; }
/* kirim: kasbga xos xizmat tanlash (bir bosishda) */
.dk-svc { display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dk-svc::-webkit-scrollbar { display: none; }
.dk-svc .chipb { flex: none; height: 36px; }
/* xarajat summasi: klaviatura ochilmasidan oldin ham kursor miltillab turadi (kiritish kerakligi bilinadi) */
.pf-cur { display: none; flex: none; align-self: center; width: 2px; height: 23px; margin: 0 1px 0 -4px; border-radius: 1px; background: var(--brand); animation: pfBlink 1.06s steps(1, end) infinite; }
.pf-am.want .pf-am-v input:placeholder-shown:not(:focus) + .pf-cur { display: block; }
.pf-ams:focus-within .pf-cur { display: none !important; }
@keyframes pfBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pf-cur { animation: none; } }
/* navbatgacha qolgan vaqt — raqamlar sakramaydi */
.tl-badge.bk-cd { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; letter-spacing: 0; }

/* ===== 2.4.15: Xarajat qo'shish — + tugmasi qayerda bo'lsa, o'shaning ichidan kattalashib chiqadi va ekran o'rtasiga shu o'lchamda joylashadi;
   istalgan tomonga surilsa yopiladi (o'rtadagi kartalar kabi) ===== */
.sw-wrap.ctr.pfc .sheet { width: min(440px, calc(100vw - 24px)); height: 60vh; height: 60dvh; max-height: calc(100% - 16px); display: flex; flex-direction: column; padding: 0;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--fg) 9%, transparent); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  /* transform-origin = tugma markazi (varaqning o'z o'lchamiga nisbatan): x − (ekran − varaq)/2 */
  transform-origin: calc(var(--or-x, 50vw) - 50vw + 50%) calc(var(--or-y, 50vh) - var(--vvh, 100vh) / 2 + 50%);
  transform: translate(-50%, -50%) scale(.06); opacity: 0;
  transition: transform .4s cubic-bezier(.2, .9, .25, 1.04), opacity .2s ease; }
.sw-wrap.ctr.pfc.in .sheet { transform: translate(-50%, -50%); opacity: 1; }
.sw-wrap.ctr.pfc.out .sheet { transform: translate(-50%, -50%) scale(.06); opacity: 0; transition: transform .24s cubic-bezier(.4, 0, .8, .6), opacity .2s ease .03s; }
.sw-wrap.ctr.pfc .sh-h { display: flex; padding-top: 14px; }
.sw-wrap.ctr.pfc .sh-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; padding: 6px 18px 14px; }
.sw-wrap.ctr.pfc .sh-b > * { margin-top: 0; margin-bottom: 0; }
.sw-wrap.ctr.pfc .sh-foot { padding-bottom: 2px; }
@media (prefers-reduced-motion: reduce) { .sw-wrap.ctr.pfc .sheet { transform: translate(-50%, -50%); transition: opacity .2s; } }

/* ===== 2.4.16: TEZLIK — o'rtadagi kartalar (ID karta, ro'yxat, xarajat, Avto servis) foni to'liq (shaffof emas):
   orqasidagi blur ko'rinmasdi, lekin karta surilganda/ochilganda har kadrda qayta hisoblanardi ===== */
.sw-wrap.ctr .sheet { -webkit-backdrop-filter: none; backdrop-filter: none; }


/* ===== 2.4.17: Asosiy — «Asosiy» yozuvi ostida o'rtada ikki plitka: Chiqim · Hisobot (shaxsiy hisob va ishxona aralashmaydi) ===== */
/* (03:22) Chiqim · Hisobot — Xizmatlardagi «Navbat olish · Navbatlarim» paneli bilan bir xil: .fbar.seg2 */
/* Asosiy ichki oynasi: plitkalar ostida qolgan butun joyni egallaydi */
.shell .v-home > .home-v > .fbody { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; touch-action: pan-y; }
.shell .v-home > .home-v > .fbody.hm-rep { --rp-gap: 8px; gap: var(--rp-gap); overflow: hidden; padding-bottom: calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + var(--rp-gap)); }
@media (max-height: 700px) { .shell .v-home > .home-v > .fbody.hm-rep { --rp-gap: 7px; } }
.home-v > .fbody.pg-ghost { display: flex; flex-direction: column; overflow: hidden; }

/* ===== 2.4.18: Xizmatlar — kirish matni tepada, uning ostida «Navbat olish · Navbatlarim» paneli, so'ng papka ichi;
   panel yozuvlari panelga mos kattalikda (har qanday ekranda sig'adi) ===== */
.books-v > .bk-intro { padding: 0 4px 12px; }   /* 03:22: ortiqcha bo'sh joy olib tashlandi — boshqa oynalardagidek sarlavha ostidan boshlanadi */
:is(.books-v > .fbar, .fbar.seg2) { container-type: inline-size; }
.books-v > .fbody { padding-top: 12px; }   /* panel va ro'yxat orasida (.vstack bolalarida margin ishlamaydi) */
:is(.books-v > .fbar, .fbar.seg2) button { font-size: clamp(11px, 5.6cqw, 15px); font-weight: 600; letter-spacing: -.01em; padding: 0 6px; gap: 5px; }
:is(.books-v > .fbar, .fbar.seg2) .fb-n { min-width: 1.3em; height: 1.3em; padding: 0 .35em; font-size: .78em; }

/* ===== 2.4.19: Asosiy va Xizmatlar paneli bir xil (seg2); Navbatlarim arxivi — sana tanlab ko'riladi ===== */
.shell .v-home > .home-v > .fbody { padding-top: 12px; }
.bk-intro h2 { margin-bottom: 6px; }
.bk-none { margin: 4px 0 0; padding: 10px 4px; text-align: center; font-size: 14px; color: var(--muted); }
.bk-arch { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 0 2px; }
.bk-arch-l { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.bk-arch-l .ic { width: 18px; height: 18px; }
.bk-arch-l b { font-weight: 600; }
.bk-arch .rg-d.bk-day { flex: 1 1 auto; min-width: 0; justify-content: flex-start; }
.bk-arch .rg-d.bk-day:not(.on) .rg-t b { font-family: var(--f); font-weight: 600; color: var(--muted); }
.bk-arch .bk-day-x { flex: none; }
.bk-arch + .tl { margin-top: 10px; }

/* ===== 2.4.20: Balans — «− summa so'm» birgalikda plitka o'rtasida (so'm ham hisobga olinadi) ===== */
.hm-pin .bcard.sm .bc-n small { position: static; margin-left: .28em; bottom: auto; }

/* ===== 2.4.21: Xizmatlar — «Xizmat turlari» sarlavhasi qotmaydi (kontent bilan yuqoriga ketadi); «Navbat olish · Navbatlarim» paneli tepada qotadi ===== */
.shell #app.bk-flow .top, .shell #app.bk-flow #banner { transform: translate3d(0, calc(-1 * var(--bk-y, 0px)), 0); will-change: transform; }
.shell #app.bk-flow #view.vw { -webkit-mask-image: none; mask-image: none; }
.shell #app.bk-flow:has(#banner:not(:empty)) #banner { position: absolute; left: 0; right: 0; top: 0; z-index: 5; }
/* sarlavha joyi — oynaning paddingi emas, ichidagi bo'sh blok (sticky hamma brauzerda ekran tepasiga nisbatan bir xil ishlaydi) */
.shell #app.bk-flow #view.vw, .shell #app.bk-flow:has(#banner:not(:empty)) #view.vw { padding-top: 0; }
.books-v > .bk-sp { display: none; }
.shell #app.bk-flow #view .books-v > .bk-sp { display: block; flex: none; height: var(--cnt-top); }
.shell #app.bk-flow:has(#banner:not(:empty)) #view .books-v > .bk-sp { height: calc(var(--top-safe) + var(--hd-h) + var(--bn-h, 0px) + 8px); }
.books-v > .bk-pin { position: sticky; top: calc(var(--top-safe) + 8px); z-index: 4; display: flex; justify-content: center; padding: 0; }
/* qotganda — orqasidagi ro'yxat panel atrofida ko'rinmasin: ekran kengligidagi xira-shisha tasma */
.books-v > .bk-pin::before { content: ''; position: absolute; z-index: -1; left: 50%; width: 100vw; transform: translateX(-50%); top: calc(-1 * (var(--top-safe) + 8px)); bottom: -10px;
  background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); opacity: 0; transition: opacity .18s ease; pointer-events: none; }
.books-v > .bk-pin.stuck::before { opacity: 1; }
.books-v > .bk-pin > .fbar { flex: none; }

/* ===== 2.4.22: Profil bo'limlari — alohida oyna emas, ekran o'rtasida kerakli hajmdagi varaq (qatordan kattalashib chiqadi, istalgan tomonga surib yopiladi) ===== */
.sw-wrap.ctr.pgc .sheet { width: min(420px, calc(100vw - 24px)); max-height: min(calc(var(--vvh, 100vh) - 40px), 700px); display: flex; flex-direction: column; overflow: hidden; padding: 0;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--fg) 9%, transparent); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  transform-origin: calc(var(--or-x, 50vw) - 50vw + 50%) calc(var(--or-y, 50vh) - var(--vvh, 100vh) / 2 + 50%);
  transform: translate(-50%, -50%) scale(.06); opacity: 0; transition: transform .4s cubic-bezier(.2, .9, .25, 1.04), opacity .2s ease; }
.sw-wrap.ctr.pgc.in .sheet { transform: translate(-50%, -50%); opacity: 1; }
.sw-wrap.ctr.pgc.out .sheet { transform: translate(-50%, -50%) scale(.06); opacity: 0; transition: transform .24s cubic-bezier(.4, 0, .8, .6), opacity .2s ease .03s; }
.pgc .ph { position: relative; flex: none; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 10px 52px 6px; background: none; border: 0; box-shadow: none; }
.pgc .ph .pt { margin: 0; font: 700 17px/1.25 var(--f); text-align: center; color: var(--fg); white-space: normal; }
.pgc .ph .pc-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.pgc .ph .pa { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); display: flex; gap: 4px; }
.pgc .ph .pa:empty { display: none; }
.pgc .pb { flex: 1 1 auto; min-height: 0; max-width: none; margin: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 14px 16px; }
.pgc .pb.wrap { padding-left: 14px; padding-right: 14px; }
.pgc .pf { flex: none; padding: 10px 14px 14px; background: none; border-top: 1px solid var(--line-2); }
.pgc .pb > .tg-c:first-child, .pgc .pb > .sk-sec:first-child { margin-top: 0; }
/* Mavzu: rejim tanlash — ixcham, varaqqa aniq sig'adi */
.pgc .sk-mode h4 { margin: 10px 12px 6px; }
.pgc .sk-seg { margin: 0 10px; }
.pgc .sk-seg button { min-height: 34px; gap: 4px; padding: 0 6px; font-size: 13px; }
.pgc .sk-seg button .ic { width: 15px; height: 15px; flex: none; }
.pgc .sk-g { gap: 8px; }
.pgc .sk-c { padding: 6px 6px 8px; gap: 6px; }
.pgc .sk-p { aspect-ratio: 9 / 13; }
@media (prefers-reduced-motion: reduce) { .sw-wrap.ctr.pgc .sheet { transform: translate(-50%, -50%); transition: opacity .2s; } }

/* ===== 2.4.23: Valyuta — Profil → Valyuta (hisob valyutasi) ===== */
/* 04:38: valyuta — bayroq + kod (UZS) + nomi */
.flag { flex: none; display: block; width: 36px; height: 24px; border-radius: 6px; overflow: hidden; position: relative; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.flag svg { display: block; width: 100%; height: 100%; }
.flag::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); pointer-events: none; }
.cur-r { gap: 12px; min-height: 54px; }
.cur-r .tg-b { display: flex; flex-direction: column; gap: 1px; }
.cur-r .tg-b b { font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.cur-r .tg-b small { font-size: 12.5px; color: var(--muted); }
.cur-r[disabled], .cur-r[aria-disabled=true] { opacity: .6; }
.cur-h { margin: 10px 6px 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ===== 04:38: «+» — bitta tugma (Asosiy va Ishxona): bosib turganda aylana chiqmaydi, faqat biroz kichrayadi;
   surish rejimida kattalashadi va soya beradi (halqasiz) ===== */
.addh.hold::before { content: none; display: none; animation: none; }
.addh.hold { transform: scale(.94); transition: transform .12s ease; }
.addh.drag { box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.addh.locked { background: var(--surface-3); color: var(--muted); box-shadow: var(--sh); border-color: transparent; }
/* «+» dan ochiladigan Ishxona varaqlari (Kirim, Xarajat, Navbat, Mijoz): ekran o'rtasida, mazmuniga qarab balandlik */
.sw-wrap.ctr.pfc.fbc .sheet { height: auto; max-height: min(88vh, calc(100% - 24px)); max-height: min(88dvh, calc(100% - 24px)); }
.sw-wrap.ctr.pfc.fbc.h60 .sheet { height: 62vh; height: 62dvh; }
.sw-wrap.ctr.pfc.fbc.h80 .sheet { height: auto; }

/* ===== 04:38: Ishxona — Bugun · Navbat · Mijozlar · Hisobot: hammasiga teng joy, panel to'liq kenglikda ===== */
.work-v > .fbar { container-type: inline-size; }
.work-v > .fbar > button { flex: 1 1 0; min-width: 0; padding: 0 4px; font-size: clamp(12px, 4.3cqw, 15.5px); }
/* «Kirim» plitkasi — hamma yozuv o'rtada */
.dk-top { justify-content: center; text-align: center; padding: 16px 14px; }
.dk-top .dk-s { align-items: center; }
.dk-top .dk-c { justify-content: center; }
@media (min-width: 1024px) { .work-v > .fbar { width: min(560px, 100%); } }

/* ===== 04:05 (tekshiruv): Balans — ko'z bosilganda summa VA valyuta birga xira-shaffof (Sof foyda kabi) ===== */
.bc-n { transition: filter .32s ease, opacity .32s ease; }
.bcard.hid .bc-d { filter: none; opacity: 1; }
.bcard.hid .bc-n { filter: blur(.34em); opacity: .42; -webkit-user-select: none; user-select: none; }
@media (prefers-reduced-motion: reduce) { .bc-n { transition: none; } }

/* ===== 13.11: hamma varaqlar — o'rtadagi karta: nomi, izohi va X tugmasi yo'q (istalgan tomonga surib yopiladi) ===== */
.sw-wrap.ctr .sh-h, .sw-wrap.ctr .grab { display: none !important; }
.sw-wrap.ctr.pfc .sh-b { padding-top: 18px; }
.sw-wrap.ctr.kav-p .sh-b, .sw-wrap.ctr.prv-s .sh-b { padding-top: 14px; }
.pgc .sheet > .pb:first-child { padding-top: 16px; }
/* ekran o'rtasidan 1 sm pastroqda ochiladi (Xarajat qo'shish varag'i — o'rtada qoladi); pastdan ham 12 px joy qoladi */
:root .sw-wrap.ctr:not(.pfs):not(.dkp) .sheet { top: calc(50% + 1cm); max-height: min(700px, calc(100% - 2cm - 24px)); }
.sw-wrap.ctr.pfc:not(.pfs) .sheet, .sw-wrap.ctr.pgc .sheet { transform-origin: calc(var(--or-x, 50vw) - 50vw + 50%) calc(var(--or-y, 50vh) - var(--vvh, 100vh) / 2 - 1cm + 50%); }
/* klaviatura ochilganda: karta ko'rinib turgan joyning o'rtasiga o'tadi (yozilayotgan maydon klaviatura ostida qolmaydi) */
:root.kb-on .sw-wrap.ctr .sheet { top: calc(var(--vvt, 0px) + var(--vvh, 100vh) / 2); max-height: calc(var(--vvh, 100vh) - 16px); }

/* ===== 13.11 (16:05): Ishxona → Hisobot → «Xarajatlar»: pastdan chiqadigan varaq, ekranning ~6/10 qismi; ichi oddiy foydalanuvchining Hisoboti kabi ===== */
.sw-wrap.bot .sheet { height: 60vh; height: 60dvh; max-height: calc(100% - 16px); display: flex; flex-direction: column; padding-bottom: 0; }
.sw-wrap.bot .sh-b { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 14px calc(14px + env(safe-area-inset-bottom, 0px)); }
.wc-rep { gap: 10px; }
.wc-rep > .rp-top { margin: 0; }
.wc-rep .card.bars { flex: none; }
/* «Sof foyda» plitkasi: ko'rinishi o'sha, faqat yozuvlar markazda (ko'zcha o'ng burchakda qoladi) */
.hero.net { align-items: center; text-align: center; }
.hero.net .net-t { position: relative; justify-content: center; align-self: stretch; margin: 0; min-height: 30px; }
.hero.net .net-t .eye-b { position: absolute; right: -8px; top: 50%; transform: translateY(-50%); }

/* ===== 13.11 (20:04): Bugun «+» — Navbatdan · Navbatsiz ===== */
.dkq-s .sh-b { gap: 10px; }
.dkq-bar { container-type: inline-size; align-self: stretch; }
.dkq-bar > button { flex: 1 1 0; min-width: 0; padding: 0 6px; font-size: clamp(13px, 4.6cqw, 15.5px); }
.dkq-l { display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; }
.dkq-c { padding: 0; margin: 0; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.dkq-c.open { border-color: color-mix(in srgb, var(--brand) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--brand) 35%, transparent); }
.dkq-h { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 12px; text-align: left; background: none; border: 0; color: inherit; }
.dkq-h .li-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dkq-h .li-b b { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dkq-h .li-b small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dkq-t { flex: none; min-width: 48px; font-size: 16px; font-weight: 750; color: var(--brand-text); font-variant-numeric: tabular-nums; }
.dkq-h .av, .dkq-h .ava { flex: none; width: 36px; height: 36px; }
.dkq-pay { display: flex; flex-direction: column; gap: 8px; padding: 0 12px 12px; animation: dkqIn .22s ease both; }
.dkq-pay .err:empty { display: none; }
@keyframes dkqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dkq-w { display: flex; flex-direction: column; gap: 8px; }
.pill.warn { background: color-mix(in srgb, var(--warn, #f5a524) 18%, transparent); color: var(--warn, #f5a524); font-style: normal; }

/* ===== 13.11 (20:12): Navbatdan → mijoz bosilsa — ekran o'rtasida 5 sm lik oyna: ismi, summa, «Saqlash» ===== */
.sw-wrap.ctr.dkp .sheet { height: 5cm; max-height: calc(100% - 16px); display: flex; flex-direction: column; }
.sw-wrap.ctr.dkp .sh-b { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px 16px; overflow: hidden; }
.sw-wrap.ctr.dkp .sh-b > * { margin: 0; }
.dkp-n { display: flex; align-items: baseline; justify-content: center; gap: 8px; min-width: 0; text-align: center; }
.dkp-n b { font: 700 19px/1.2 var(--f); color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dkp-n small { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.sw-wrap.ctr.dkp .amt { margin: 0; }
.sw-wrap.ctr.dkp .err:empty { display: none; }
.sw-wrap.ctr.dkp .btn.lg { min-height: 46px; }
.dkq-h > .ic.mut { flex: none; width: 18px; height: 18px; margin-left: auto; }
.sw-wrap.ctr.dkp .sheet { background: var(--surface); border: 1px solid color-mix(in srgb, var(--fg) 9%, transparent); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }

/* ===== 13.11 (22:32): «+» varaqlari — balandligi ichidagiga qarab: tur tanlanmaganda pastda katta bo'sh joy qolmaydi;
   turlar tanlangach — summa qatorlari bilan o'sadi (sig'masa ichi aylanadi). Klaviatura ochilganda karta ko'rinadigan joyga o'tadi ===== */
.sw-wrap.ctr.pfc.pfs .sheet { height: auto; max-height: min(88vh, calc(100% - 24px)); max-height: min(88dvh, calc(100% - 24px)); }
.sw-wrap.ctr.pfc.pfs .sh-b { flex: 0 1 auto; }
.dkq-s .dkq-w { display: flex; flex-direction: column; gap: 8px; }
.dkq-s .dkq-l:empty { display: none; }
:root.kb-on .sw-wrap.ctr.pfc .sheet { max-height: calc(var(--vvh, 100vh) - 16px); }

/* klaviatura ochiq: hamma varaq (1 sm pastdagilar ham) ko'rinadigan joyning o'rtasida — ustunlik yuqori */
:root.kb-on.kb-on .sw-wrap.ctr.ctr .sheet { top: calc(var(--vvt, 0px) + var(--vvh, 100vh) / 2); max-height: calc(var(--vvh, 100vh) - 16px); }

/* ===== 13.11 (23:18): barber oynalari — oddiy foydalanuvchi qismidagi kabi sodda, Telegram/iPhone uslubida ===== */
.av.tgav { width: 40px; height: 40px; font-size: 14px; }
.tg-badge { font-style: normal; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; flex: none; }
/* Navbatlar tepasi */
#prov-c.prov-c { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 0; } #prov-c.prov-c:empty { display: none; }
.prv-row { display: block; width: 100%; padding: 0; text-align: left; color: var(--fg); }
.prv-row .tg-r { min-height: 64px; }
.pv-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--faint); }
.prv-row.on .pv-dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.br-in .tg-r { min-height: 62px; } .br-in .tg-b b { white-space: normal; line-height: 1.3; }
.br-in-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 12px; } .br-in-a .btn { min-height: 40px; }
button.br-in { display: block; width: 100%; padding: 0; text-align: left; color: var(--fg); }
/* brend egasi: jamoa ustalari (Telegram «hikoyalar» qatori kabi) */
.qw { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 2px 4px 0; }
.qw::-webkit-scrollbar { display: none; }
.qw-b { display: flex; flex-direction: column; align-items: center; gap: 5px; flex: none; width: 62px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.qw-b span { max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.av.qw-av { width: 52px; height: 52px; font-size: 17px; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px transparent; transition: box-shadow .18s; }
.qw-b.on { color: var(--brand-text); } .qw-b.on .av.qw-av { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--brand); }
/* kun: Bugun · Ertaga · sana plitkasi */
.qd2 { display: flex; gap: 8px; }
.qd-b { flex: 1 1 0; min-width: 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); font: 600 15px var(--f); box-shadow: var(--sh); }
.qd-b.on { background: var(--brand-weak); color: var(--brand-text); border-color: transparent; }
.qd-b.qd-c { flex: 0 0 auto; min-width: 54px; } .qd-b.qd-c .ic { width: 19px; height: 19px; } .qd-b.qd-c b { font-size: 14.5px; }
.q-ro .q-t { cursor: default; } .q-ro-n { margin: 2px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
/* «Navbat olish» oynasi */
.pv-w { display: flex; flex-direction: column; gap: 12px; }
.pv-w .tg-c h4, .qa-s .tg-c h4, .br-s .tg-c h4 { padding-bottom: 4px; }
.tg-r.tg-in { gap: 10px; min-height: 52px; cursor: text; }
.tg-in .tg-l { flex: none; width: 74px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.tg-in input { flex: 1; min-width: 0; height: 40px; padding: 0; border: 0; outline: 0; background: none; box-shadow: none; color: var(--fg); font: 500 16px var(--f); }
.tg-in input::placeholder { color: var(--faint); font-weight: 400; }
.tg-r.tg-in + .tg-r::before, .tg-r + .tg-r.tg-in::before { left: 16px; }
.pv-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 6px 12px 14px; }
.pv-d { aspect-ratio: 1; max-width: 44px; width: 100%; justify-self: center; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font: 700 13.5px var(--f); transition: background .15s, color .15s, transform .1s; }
.pv-d.on { background: var(--brand); color: var(--brand-ink); } .pv-d:active { transform: scale(.92); }
.pv-d.we:not(.on) { color: var(--bad); }
.pv-hr { display: flex; align-items: center; gap: 10px; padding: 6px 12px 14px; }
.pv-dash { width: 14px; height: 2px; border-radius: 2px; background: var(--faint); flex: none; }
.pv-t { flex: 1 1 0; min-width: 0; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 14px; background: var(--surface-2); color: var(--fg); }
.pv-t b { font: 700 22px/1.1 var(--f); letter-spacing: -.01em; } .pv-t small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.pv-t:active { background: var(--surface-3); }
.pv-sl { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 6px 12px 14px; }
.pv-sb { min-height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; border-radius: 12px; background: var(--surface-2); color: var(--fg); }
.pv-sb b { font-size: 17px; font-weight: 700; } .pv-sb small { font-size: 10.5px; font-weight: 600; color: var(--muted); }
.pv-sb.on { background: var(--brand); color: var(--brand-ink); } .pv-sb.on small { color: inherit; opacity: .85; }
/* brend oynalari */
.br-s .sh-b, .qa-s .sh-b { gap: 12px; }
.br-q { margin: 0; }
.br-wq { margin: 4px 0 0; text-align: center; font: 700 19px/1.3 var(--f); letter-spacing: -.01em; }
.br-wn { margin: -4px 4px 0; text-align: center; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.br-mh { padding: 4px 0 2px; } .br-mh .tg-n { font-size: 20px; }
.ib.br-ok { background: var(--ok); color: #fff; border-radius: 50%; } .ib.br-no { background: var(--surface-2); border-radius: 50%; }
.tg-r .btn.sm { flex: none; } .tg-r .pill { flex: none; }
.tg-r em.mut { font-style: normal; font-weight: 500; color: var(--muted); }
.tg-r[disabled] { opacity: 1; cursor: default; } .tg-r[disabled]:active { background: none; }
/* navbat qo'shish: sana va vaqt plitkalari */
.qa-dt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .qa-dt .pv-t { background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--sh); min-height: 60px; }
/* mijozlar: sizni saqlagan */
.cl-fan { display: inline-grid; place-items: center; margin-left: 6px; color: var(--brand); vertical-align: -2px; } .cl-fan .ic { width: 15px; height: 15px; fill: currentColor; }
/* mijoz tomoni: brend qatori, ID kartada ustalar, «Endi X'da» */
.pv-avs { margin-left: 0; padding-left: 0; } .pv-avs .av { width: 24px; height: 24px; font-size: 9px; margin-left: -8px; } .pv-avs .av:first-child { margin-left: 0; }
.idc-team { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; margin: 0 0 2px; position: relative; z-index: 1; }
.idc-team::-webkit-scrollbar { display: none; }
.idc-tm { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: none; color: inherit; opacity: .72; font-size: 11.5px; font-weight: 600; }
.idc-tm.on { opacity: 1; } .av.tm-av { width: 40px; height: 40px; font-size: 14px; box-shadow: 0 0 0 2px transparent; } .idc-tm.on .av.tm-av { box-shadow: 0 0 0 2px currentColor; }
.idc-mv { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 6px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--warn) 16%, transparent); position: relative; z-index: 1; }
.idc-mv .ic { width: 15px; height: 15px; flex: none; }
.bk-fav.mv small { color: var(--warn); }
.tl-badge.mv { background: var(--warn-w); color: var(--warn); }
.kv.bk-mv { background: var(--warn-w); color: var(--warn); border-radius: 10px; }
.exp-c { margin-top: 2px; }
/* ixcham sana / vaqt barabani — plitka ustida, o'z joyida */
.sw-wrap.wheel-p.rgp .sheet { top: 0; left: 0; right: auto; bottom: auto; width: 196px; max-width: none; max-height: none; margin: 0; padding: 4px 6px; border-radius: 16px;
  transform: scale(.86); opacity: 0; transform-origin: 50% 50%; transition: transform .2s cubic-bezier(.2, .9, .3, 1.15), opacity .15s ease; box-shadow: 0 14px 40px rgba(0, 0, 0, .22), 0 0 0 1px var(--line); }
.sw-wrap.wheel-p.rgp.in .sheet { transform: none; opacity: 1; }
.sw-wrap.wheel-p.rgp.out .sheet { transform: scale(.92); opacity: 0; }
@media (min-width: 1024px) { .sw-wrap.wheel-p.rgp .sheet { left: 0; top: 0; transform: scale(.86); } .sw-wrap.wheel-p.rgp.in .sheet { transform: none; } .sw-wrap.wheel-p.rgp.out .sheet { transform: scale(.92); } }
:root[data-skin] .sw-wrap.wheel-p.rgp .sheet { border-radius: 16px; }
.sw-wrap.rgp .scrim { background: rgba(0, 0, 0, .06); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sw-wrap.wheel-p.rgp .sh-b { padding: 0; gap: 0; overflow: visible; }
.rgp .wh { height: 96px; margin: 0; padding: 0 2px; gap: 0; grid-template-columns: .9fr 1fr 1.45fr; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%, #000 70%, transparent 100%); }
.rgp .wh.wh-tm { grid-template-columns: 1fr auto 1fr; }
.rgp .wh-s { height: 96px; padding: 32px 0; }
.rgp .wh-i, .rgp .c-m .wh-i { height: 32px; font-size: 17px; }
.rgp .wh-band { top: 32px; height: 32px; border-radius: 9px; }
.wh-col { align-self: center; position: relative; z-index: 1; font: 700 17px var(--f); font-style: normal; color: var(--fg); padding: 0 2px; }
/* Ishxona → Xarajatlar varag'i: ixcham */
.wc-rep { gap: 10px; } .wc-rep .kpis.n1 .kpi.k-tot { padding: 10px 14px; } .wc-rep .card.bars .bars-g { height: 96px; }
/* 14.11: Ishxona Hisobot — Kirim va Xarajatlar qatorlari (oddiy foydalanuvchi Hisobotidagi turlar kabi) */
.wr-c { padding: 2px 14px; } button.wr-r { width: 100%; text-align: left; color: var(--fg); } .wr-r > .ic:last-child { width: 18px; height: 18px; flex: none; color: var(--muted); }
.wr-r .li-ic.k-in { --cc: var(--ok); background: var(--ok-w); } .wr-r .li-ic.k-out { --cc: var(--bad); background: var(--bad-w); }
/* 14.11: Xarajatlar — ekran o'rtasida 8/10 hajmdagi karta (faqat grafik va turlar) */
:root .sw-wrap.ctr.wc-s.wc-s:not(.pfs):not(.dkp) .sheet { top: 50%; height: 80%; max-height: 80%; }
.sw-wrap.wc-s .sh-b { padding-top: 14px; } .wc-s .wc-rep { gap: 12px; } .wc-s .wc-rep .card.bars .bars-g { height: 150px; }
/* boshqa brenddagi usta: nomi va manzili o'zi qo'yilgan (yozilmaydi) */
.tg-r.tg-in.ro { cursor: default; } .tg-val { flex: 1; min-width: 0; font: 600 16px var(--f); color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av.tgav.sm { width: 30px; height: 30px; font-size: 11px; }
/* «Navbat olish» oynasi bitta ekranga sig'adi */
.pv-w { gap: 10px; } .pv-w .tg-c h4 { padding: 10px 16px 2px; font-size: 13px; } .pv-w .tg-c h4.pv-h2 { padding-top: 2px; }
.pv-w .tg-r { min-height: 50px; padding-top: 6px; padding-bottom: 6px; } .pv-w .tg-r.tg-in { min-height: 48px; }
.pv-days { padding: 4px 12px 10px; } .pv-d { max-width: 40px; }
.pv-hr { padding: 4px 12px 8px; } .pv-hr .pv-t { min-height: 46px; } .pv-hr .pv-t b { font-size: 20px; }
.pv-sl { padding: 4px 12px 12px; } .pv-sb { min-height: 44px; } .pv-sb b { font-size: 16px; }

/* ===== 14.11 (03:38): Hisobot — xarajat turlari plitkalari va kunlik xarajatlar ===== */
.ctiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ctile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; border-radius: var(--r-c, 18px); background: var(--surface); box-shadow: var(--sh); min-width: 0; }
.ctile .li-ic { width: 32px; height: 32px; border-radius: 10px; margin-bottom: 4px; } .ctile .li-ic .ic { width: 17px; height: 17px; }
.ct-n { font: 600 13.5px/1.25 var(--f); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-v { font: 700 16px/1.2 var(--f); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-p { display: block; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: 7px; }
.ct-p i { display: block; height: 100%; border-radius: 4px; } .ct-p i.r { background: var(--bad); } .ct-p i.g { background: var(--ok); }
.ctile > small { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 700; color: var(--faint); }
.ctiles.c-in .ct-v { color: var(--ok); }
/* kunlik xarajatlar: chapda sana va oy, o'ngda qizil summa */
.dsum { padding: 2px 14px; }
.dsum-r { display: flex; align-items: center; gap: 12px; min-height: 52px; position: relative; }
.dsum-r + .dsum-r::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.dsum-d { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.dsum-d > b { font: 700 20px/1 var(--f); min-width: 26px; text-align: right; letter-spacing: -.02em; }
.dsum-d > span { display: flex; flex-direction: column; min-width: 0; }
.dsum-d > span b { font: 600 14.5px/1.25 var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsum-d > span small { font-size: 12px; color: var(--muted); }
.dsum-v { color: var(--bad); font: 700 16px var(--f); white-space: nowrap; flex: none; }
/* Sof foyda plitkasi — yozuvsiz (faqat summa va ko'zcha) */
.card.hero.net.n-bare { padding-top: 10px; } .n-bare .net-t { min-height: 28px; } .n-bare .net-v { margin-bottom: 2px; }
/* Bugun plitkasi — summani yashirish ko'zchasi */
.dk-top { position: relative; } .dk-eye { position: absolute; top: 10px; right: 10px; z-index: 1; }
.dk-v.hid { filter: blur(10px); opacity: .55; user-select: none; }
/* «Navbat olish»: tepada chapda ish joyi, o'ng burchakda onlayn tugmasi */
.pv-top { display: flex; align-items: stretch; gap: 10px; }
.pv-pl { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-c, 18px); background: var(--surface); box-shadow: var(--sh); color: var(--fg); text-align: left; }
.pv-pl > .ic:last-child { width: 18px; height: 18px; flex: none; color: var(--muted); }
.pv-pb { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pv-pb b { font: 600 15.5px/1.3 var(--f); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-pb small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-on { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 78px; padding: 8px 6px; border-radius: var(--r-c, 18px); background: var(--surface); box-shadow: var(--sh); cursor: pointer; }
.pv-on small { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .01em; }
.pv-on.on small { color: var(--ok); }
/* 14.11: Asosiy → Chiqim — yozuv yo'q bo'lsa, rasm va o'rgatish yozuvi bo'sh joyning o'rtasida turadi */
.shell #hm-l > .fbody:has(> .empty) { min-height: 100%; justify-content: center; }

/* 14.11: bitta ekranga sig'ish — turlar yon tomonga suriladigan plitkalar, kunlik xarajatlar qolgan joyni egallaydi */
:is(.v-fit, .hm-rep) .ctiles { flex: none; display: flex; grid-template-columns: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-snap-type: x proximity; margin: 0; padding: 0 0 2px; gap: 8px; }
:is(.v-fit, .hm-rep) .ctiles::-webkit-scrollbar { display: none; }
:is(.v-fit, .hm-rep) .ctile { flex: 0 0 calc(50% - 4px); scroll-snap-align: start; padding: 10px 12px 12px; }
:is(.v-fit, .hm-rep) .ctile .li-ic { width: 28px; height: 28px; border-radius: 9px; margin-bottom: 2px; } :is(.v-fit, .hm-rep) .ctile .li-ic .ic { width: 16px; height: 16px; }
:is(.v-fit, .hm-rep) .ct-n { font-size: 12.5px; } :is(.v-fit, .hm-rep) .ct-v { font-size: 15px; }
:is(.v-fit, .hm-rep) .ctile > small { top: 11px; right: 12px; font-size: 11px; }
:is(.v-fit, .hm-rep) .ct-p { margin-top: 5px; height: 3px; }
:is(.v-fit, .hm-rep) .dsum { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; margin: 0; padding: 0 14px; }
:is(.v-fit, .hm-rep) .dsum::-webkit-scrollbar { display: none; }
:is(.v-fit, .hm-rep) .dsum-r { min-height: 46px; }
:is(.v-fit, .hm-rep) .dsum-d > b { font-size: 18px; } :is(.v-fit, .hm-rep) .dsum-d > span b { font-size: 13.5px; } :is(.v-fit, .hm-rep) .dsum-v { font-size: 15px; }
@media (max-height: 700px) { :is(.v-fit, .hm-rep) .ctile { padding: 8px 10px 10px; } :is(.v-fit, .hm-rep) .dsum-r { min-height: 42px; } }
/* 14.11: Ishxona → Hisobot (barber) — Asosiy Hisoboti kabi bitta ekranda: Sof foyda, Kirim | Xarajatlar, dan–gacha qotib turadi,
   ostidagi kunlik xarajatlar ro'yxati qolgan joyni egallab, o'z kartasi ichida aylanadi (pastki menyu ostiga kirib ketmaydi) */
.shell .vw.v-wrep { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 0; }
.shell .v-wrep > .work-v { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.shell .v-wrep > .work-v > .fbar { flex: none; }
.shell .v-wrep > .work-v > .fbody { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden;
  padding-bottom: calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + 8px); }
.shell .v-wrep .fbody > .rep-v { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 0; }
.shell .v-wrep .rep-v > * { flex: none; margin: 0; }
.shell .v-wrep .rep-v > .dsum { flex: 0 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: none; padding: 0 14px; }
.shell .v-wrep .rep-v > .dsum::-webkit-scrollbar { display: none; }
.v-wrep .dsum-r { min-height: 46px; } .v-wrep .dsum-d > b { font-size: 18px; } .v-wrep .dsum-d > span b { font-size: 13.5px; } .v-wrep .dsum-v { font-size: 15px; }
@media (max-height: 700px) { .shell .v-wrep .rep-v { gap: 8px; } .v-wrep .dsum-r { min-height: 42px; } .v-wrep .card.hero.net.n-bare { padding-bottom: 10px; } }
/* 14.11: grafik balandligi kunlar soniga qarab o'zgarmaydi — joy yetmasa, faqat kunlik xarajatlar ro'yxati qisqaradi (o'z kartasi ichida aylanadi) */
:is(.v-fit, .hm-rep) .card.bars { flex-shrink: 0; }
:is(.v-fit, .hm-rep) .dsum { min-height: 46px; }
@media (max-height: 600px) { :is(.v-fit, .hm-rep) .card.bars { flex-basis: 100px; } }
/* 14.11 (13:51): xarajat turlari — bitta plitkada (grafik va ikki plitka o'rniga). Hamma turlar 2 ustunda, plitkadan chiqib ketmaydi */
.tcard { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px; margin: 0; }
.tc-i { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 8px 9px; border-radius: 12px; background: var(--surface-2); overflow: hidden; }
.tc-i .li-ic { --cc: var(--bad); width: 30px; height: 30px; border-radius: 9px; flex: none; } .tc-i .li-ic .ic { width: 16px; height: 16px; }
.tc-b { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.tc-n { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-v { font-size: clamp(13px, 3.9vw, 15px); font-weight: 700; line-height: 1.2; color: var(--bad); white-space: nowrap; }
.tc-i.z .tc-v { color: var(--faint); } .tc-i.z .li-ic { opacity: .5; }
.tc-bar { position: absolute; left: 8px; right: 8px; bottom: 4px; height: 3px; border-radius: 3px; background: color-mix(in srgb, var(--bad) 12%, transparent); }
.tc-bar i { display: block; height: 100%; border-radius: inherit; background: var(--bad); }
.tc-i.z .tc-bar { display: none; }
:is(.v-fit, .hm-rep) .tcard { flex: none; }
@media (max-height: 640px) { .tcard:not(.tc-stack) .tc-i { padding: 5px 8px 7px; } .tcard:not(.tc-stack) .li-ic { width: 26px; height: 26px; } }
/* Ishxona → Xarajatlar varag'i: «+» tugmasidagi hamma turlar ustma-ust, har biri alohida qator, varaqni teng to'ldiradi */
.sw-wrap.wc-s .sh-b { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow: hidden; padding-bottom: 16px; }
.wc-s .wc-rep { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 0; }
.tcard.tc-stack { display: flex; flex-direction: column; gap: 8px; padding: 0; background: none; box-shadow: none; border: 0; flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.tcard.tc-stack::-webkit-scrollbar { display: none; }
.tc-stack .tc-i { flex: 1 1 0; min-height: 56px; max-height: 96px; gap: 12px; padding: 10px 14px 13px; border-radius: 16px; background: var(--surface-2); }
.tc-stack .li-ic { width: 40px; height: 40px; border-radius: 12px; } .tc-stack .li-ic .ic { width: 20px; height: 20px; }
.tc-stack .tc-b { flex: 1; gap: 2px; } .tc-stack .tc-n { font-size: 15px; color: var(--fg); } .tc-stack .tc-v { font-size: 16px; }
.tc-stack .tc-v small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.tc-stack .tc-p { flex: none; font-size: 12px; font-weight: 700; color: var(--faint); }
.tc-stack .tc-bar { left: 14px; right: 14px; bottom: 6px; }
/* Ishxona → Hisobot: birinchi plitkada summa plitkaning o'rtasida, valyuta kichik harflarda */
.card.hero.net.n-mid { position: relative; display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 14px 44px; }
.card.hero.net.n-mid .net-t { position: absolute; top: 8px; right: 8px; min-height: 0; margin: 0; align-self: auto; }
.card.hero.net.n-mid .net-t .eye-b { position: static; transform: none; }
.card.hero.net.n-mid .net-v { margin: 0; line-height: 1.1; }
/* Navbatlar: onlayn tugmasi plitkaning o'zida (izohsiz) */
.prv-row .tg-r { padding: 0; gap: 0; min-height: 64px; }
.prv-open { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 6px 10px 14px; text-align: left; color: var(--fg); border-radius: inherit; }
.prv-open .tg-b { flex: 1; min-width: 0; }
.prv-open:active { background: var(--surface-2); }
.prv-tgl { flex: none; align-self: stretch; display: flex; align-items: center; padding: 0 14px 0 8px; cursor: pointer; }

/* ===== 2.3.1: o'rtadagi oynalar tezroq ochiladi (bosilgan tugmadan chiqishi saqlanadi) ===== */
.sw-wrap.ctr .sheet { transition: transform .2s cubic-bezier(.2, .85, .25, 1), opacity .12s ease; }
.sw-wrap.ctr.pfc .sheet, .sw-wrap.ctr.pgc .sheet { transition: transform .22s cubic-bezier(.2, .85, .25, 1.02), opacity .12s ease; }
.sw-wrap.ctr.out .sheet, .sw-wrap.ctr.pfc.out .sheet, .sw-wrap.ctr.pgc.out .sheet { transition: transform .16s cubic-bezier(.4, 0, .8, .6), opacity .14s ease; }
.sw-wrap.dlg .sheet { transition: transform .16s ease, opacity .14s ease; }
.sw-wrap.acc-p .sheet { transition: transform .2s cubic-bezier(.2, .85, .25, 1.02), opacity .12s ease; }
.sw-wrap.acc-p.out .sheet { transition-duration: .16s; }
.sw-wrap.ctr .scrim, .sw-wrap.dlg .scrim, .sw-wrap.acc-p .scrim { transition: opacity .16s; }
@media (min-width: 1024px) { .sw-wrap.dlg .sheet { transition: transform .16s ease, opacity .14s ease; } }
@media (prefers-reduced-motion: reduce) { .sw-wrap.ctr .sheet, .sw-wrap.ctr.pfc .sheet, .sw-wrap.ctr.pgc .sheet { transform: translate(-50%, -50%); transition: opacity .14s; } }

/* ===== 2.3.1: qo'ng'iroqcha — barcha bildirishnomalar; navbat so'rovi: chapda «Rad etish», o'ngda «Tasdiqlash» ===== */
.li.nt-r { cursor: default; }
.li.nt .li-b b { white-space: normal; line-height: 1.3; }
.li.nt-act { flex-wrap: wrap; row-gap: 10px; }
.nt-act .nt-btns { flex: 1 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nt-act .nt-btns .btn { min-height: 40px; height: 40px; }
.nt-act .nt-btns .q-no { color: var(--bad); }
.nt-act .nt-btns .ok-b { background: var(--ok); color: #fff; }
.li.nt-act.nt-req { box-shadow: inset 3px 0 0 #ffb400; }
/* usta onlayn emas: vaqtlar band vaqtlar kabi — tanlab bo'lmaydi */
.idc-sc .note.pv-off { margin-bottom: 10px; }

/* ===== 2.3.2: joylashuv — Xizmatlar ro'yxati ostida shahar nomi; ustalar ro'yxati 15 km ichida ===== */
.books-v { min-height: 100%; }
.books-v > .fbody.bk-take { flex: 1 0 auto; }
.bk-take > .bk-c { flex: 1 0 auto; display: flex; flex-direction: column; }
.bk-loc-w { margin-top: auto; display: flex; justify-content: center; padding: 24px 0; }
/* telefonda: pastki menyudan taxminan 2 sm yuqorida (ro'yxat uzun bo'lsa — ro'yxatdan keyin) */
@media (max-width: 1023px) { .bk-loc-w { padding: 24px 0 0; margin-bottom: -48px; } }
.bk-loc { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 36px; padding: 6px 14px 6px 10px; border-radius: 99px; color: var(--muted); font: 600 15px/1.2 var(--f); letter-spacing: -.005em; -webkit-tap-highlight-color: transparent; }
.bk-loc b { font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-loc-i { flex: none; width: 20px; height: 20px; display: grid; place-items: center; }
.bk-loc-i .ic { width: 20px; height: 20px; }
.bk-loc-i .aspin { width: 18px; height: 18px; }
.bk-loc.on { color: var(--fg); }
.bk-loc.on .bk-loc-i { color: var(--brand-text); }
.bk-loc:active { background: var(--surface-2); }
.prv-geo { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 8px; font-size: 12.5px; color: var(--muted); }
.prv-geo .ic { width: 15px; height: 15px; color: var(--brand-text); flex: none; }
.note.geo-n { flex-wrap: wrap; margin: 2px 0 10px; }
.note.geo-n > span { flex: 1 1 160px; }
.note.geo-n .btn { margin-left: auto; }
/* usta: ish joyi manzili yonida — lokatsiya tugmasi */
.pv-addr-r .pv-gps { flex: none; margin-right: -6px; color: var(--muted); }
.pv-addr-r .pv-gps.on { color: var(--brand-text); }
.pv-addr-r .pv-gps .ic { width: 22px; height: 22px; }
.pv-addr-r .pv-gps .aspin { width: 18px; height: 18px; }
.pv-geo-s { display: flex; align-items: center; gap: 7px; margin: 0; padding: 8px 16px 12px; font-size: 12.5px; line-height: 1.35; }
.pv-geo-s .ic { width: 15px; height: 15px; flex: none; }
.pv-geo-s.ok { color: var(--ok); }
.pv-geo-s.warn { color: var(--warn); }
.pv-geo-w .tg-b small { white-space: normal; line-height: 1.35; }

/* ===== 2.3.3: qo'ng'iroqcha — shu oynaning o'zida varaq (qo'ng'iroqchadan chiqadi, ekranni to'liq qoplamaydi) ===== */
.sw-wrap.ctr.pfc.bell-s .sh-b { padding: 4px 12px 12px; gap: 8px; }
.bell-s .nt-hd { flex: none; display: flex; justify-content: center; padding: 10px 0 4px; }
.bell-s .nt-hd b { font: 700 16px/1.25 var(--f); color: var(--fg); }
.bell-s .list { margin: 0; }
.bell-s .empty { padding: 18px 0 24px; margin: 0; }

/* ===== 2.3.4: qo'ng'iroqcha varag'i — o'ng yuqori burchagi qo'ng'iroqcha ostidan boshlanadi, shu yerdan kattalashib ochiladi ===== */
:root .sw-wrap.ctr.pfc.bell-s .sheet { top: var(--bl-top, 64px); right: var(--bl-right, 12px); left: auto; bottom: auto; margin: 0;
  width: min(360px, calc(100vw - var(--bl-right, 12px) - 12px)); height: auto;
  max-height: min(72vh, calc(100% - var(--bl-top, 64px) - 96px)); max-height: min(72dvh, calc(100% - var(--bl-top, 64px) - 96px));
  transform-origin: calc(100% - var(--bl-ox, 20px)) calc(var(--bl-oy, 26px) * -1); transform: scale(.06); opacity: 0; border-radius: 22px; }
:root .sw-wrap.ctr.pfc.bell-s.in .sheet { transform: none; opacity: 1; }
:root .sw-wrap.ctr.pfc.bell-s.out .sheet { transform: scale(.06); opacity: 0; }
:root[data-skin="ios"] .sw-wrap.ctr.pfc.bell-s .sheet { border-radius: 26px; }
@media (prefers-reduced-motion: reduce) { :root .sw-wrap.ctr.pfc.bell-s .sheet, :root .sw-wrap.ctr.pfc.bell-s.out .sheet { transform: none; } }

/* ===== 2.3.5: papka surilganda — yangi papka butun oyna nusxasida (papka ichidan boshqasi ko'rinmaydi, joyini egallaydi) ===== */
.pg-fold > * > :not(.fbody), .pg-fold > :not(:first-child) { visibility: hidden; }
/* tugma ostidan chiqadigan varaq (masalan, Profil → rasm qo'yish / o'chirish) */
:root .sw-wrap.ctr.pfc.anc-s .sheet { top: var(--an-top, 120px); left: var(--an-left, 12px); right: auto; bottom: auto; margin: 0; width: var(--an-w, 300px); height: auto;
  max-height: calc(100% - var(--an-top, 120px) - 96px); transform-origin: var(--an-ox, 50%) calc(var(--an-oy, 30px) * -1); transform: scale(.06); opacity: 0; border-radius: 22px; }
:root .sw-wrap.ctr.pfc.anc-s.in .sheet { transform: none; opacity: 1; }
:root .sw-wrap.ctr.pfc.anc-s.out .sheet { transform: scale(.06); opacity: 0; }
:root[data-skin="ios"] .sw-wrap.ctr.pfc.anc-s .sheet { border-radius: 24px; }
.sw-wrap.ctr.pfc.anc-s .sh-b { padding: 6px; }
.anc-s .list { margin: 0; }
@media (prefers-reduced-motion: reduce) { :root .sw-wrap.ctr.pfc.anc-s .sheet, :root .sw-wrap.ctr.pfc.anc-s.out .sheet { transform: none; } }

/* ===== 2.3.6: Xizmatlar va Ishxona papkalari — tepa qismi qotadi, ostidagi ro'yxat alohida aylanadi (Asosiydagi kabi) =====
   pin-c — qotadigan qism va ro'yxatni o'z ichiga olgan ustun; pin-l — aylanadigan ro'yxat (oyna butunicha aylanmaydi) */
.pin-l:not(.fbody) { display: flex; flex-direction: column; gap: inherit; }
.pin-l:not(.fbody) > * { flex: none; }
.shell .vw.v-pin { overflow: hidden; display: flex; flex-direction: column; padding-bottom: 0; }
.shell .v-pin .pin-c { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.shell .v-pin .pin-c > * { flex: none; }
.shell .v-pin .pin-c > .pin-c, .shell .v-pin .pin-c > .pin-l { flex: 1 1 auto; min-height: 0; }
.shell .v-pin .pin-l { position: relative; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y; scrollbar-width: none;
  margin: -8px calc(-1 * max(16px, env(safe-area-inset-right, 0px))) 0 calc(-1 * max(16px, env(safe-area-inset-left, 0px)));
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + 96px) max(16px, env(safe-area-inset-left, 0px));
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9px); mask-image: linear-gradient(to bottom, transparent 0, #000 9px); }
.shell .v-pin .pin-l::-webkit-scrollbar { display: none; }
/* Xizmatlar: panel va ro'yxat orasidagi joy avvalgidek (12px) */
.shell .v-pin .books-v > .fbody.pin-l { margin-top: 0; padding-top: 12px; }
html.no-ios .v-pin .pin-l { overflow-y: hidden; touch-action: none; overscroll-behavior-y: none; }
/* Barbershop / Go'zallik saloni Hisoboti: kunlar ro'yxati (o'z kartasi ichida) Androidda ham barmoq bilan silliq aylanadi */
html.no-ios .shell .v-wrep .rep-v > .dsum { overflow-y: hidden; touch-action: none; overscroll-behavior-y: none; }

/* ===== 2.3.7: Navbatlar — navbat plitkalari Asosiydagi xarajatlar kabi alohida plitka (o'ngga surib o'chiriladi);
   o'ng pastda — navbat olingan sana va vaqt (Telegram xabaridagidek); «Keldi» tugmasi yo'q ===== */
.q-tl .tl-r { min-height: 64px; gap: 11px; padding: 0 12px; cursor: default; }
.q-tl .tl-r:active { background: var(--mica); }
.q-tl .q-t { width: 56px; height: 44px; }
.q-tl .tl-r > .av { width: 36px; height: 36px; flex: none; }
.q-tl .tl-b { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; row-gap: 1px; align-items: center; padding: 7px 0 6px; }
.q-tl .tl-1, .q-tl .tl-2 { display: contents; }
.q-tl .tl-1 b { grid-row: 2; font-size: 15.5px; line-height: 1.25; }
.q-tl .tl-2 > span { grid-row: 3; font-size: 12.5px; line-height: 1.35; }
.q-tl .tl-2 > span:empty { display: none; }
.q-tl .tl-1 small.q-at { grid-row: 4; justify-self: end; margin-top: -1px; font-size: 10.5px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.q-tl .tl-2 > span .q-on { margin-left: 0; }
/* Ish joyi va sozlama varaqlari: pastda «Saqlash» */
.pv-s .sh-foot.pv-foot { margin-top: 12px !important; }

/* ===== 2.3.8: Asosiy → Hisobot: kunlar ro'yxati (o'z kartasi ichida) Androidda ham barmoq bilan aylanadi; «dan – gacha» va tepasi joyida ===== */
html.no-ios .shell .hm-rep .dsum { overflow-y: hidden; touch-action: none; overscroll-behavior-y: none; }
/* «+» tugmasidagi xarajat turlari: ikki qatorli nom ham plitka ichida qoladi (belgi chetdan chiqmaydi) */
.pf-ms .pft { height: auto; min-height: clamp(54px, 7.8vh, 70px); padding: 8px 3px; font-size: clamp(10.5px, 3.4vw, 12px); line-height: 1.2; text-align: center; overflow-wrap: break-word; }
/* Ishxona → Hisobot → Xarajatlar: kichikroq varaq; turlar «+» dagidek plitkalarda, 3 ustun (belgi, nomi, summasi) */
:root .sw-wrap.ctr.wc-s.wc-s:not(.pfs):not(.dkp) .sheet { height: auto; max-height: min(80%, calc(var(--vvh, 100vh) - 40px)); }
.sw-wrap.wc-s .sh-b { flex: 0 1 auto; overflow-y: auto; scrollbar-width: none; padding: 14px 14px 14px; }
.sw-wrap.wc-s .sh-b::-webkit-scrollbar { display: none; }
.wc-s .wc-rep { flex: none; padding: 0; }
.tcard.tc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; }
.tc-grid .tc-i { flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding: 10px 5px 13px; border-radius: 16px; text-align: center; }
.tc-grid .tc-i .li-ic { width: 32px; height: 32px; border-radius: 10px; } .tc-grid .tc-i .li-ic .ic { width: 18px; height: 18px; }
.tc-grid .tc-b { flex: 1 1 auto; width: 100%; align-items: center; justify-content: space-between; gap: 4px; }
.tc-grid .tc-n { max-width: 100%; font-size: clamp(10.5px, 3.4vw, 12px); line-height: 1.2; color: var(--fg); white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; }
.tc-grid .tc-v { max-width: 100%; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; }
.tc-grid .tc-bar { left: 10px; right: 10px; bottom: 5px; }
@media (max-width: 340px) { .tcard.tc-grid { gap: 6px; } .tc-grid .tc-v { font-size: 12.5px; } }

/* ===== 2.3.9: mebel ustasi ===== */
/* yangi ish varag'i: ekranning 6/10 qismi, o'rtasi ekran o'rtasidan 1 sm yuqorida (shu joydan kattalashib chiqadi) */
:root .sw-wrap.ctr.pgc.pg-of .sheet { top: calc(50% - 1cm); height: 60%; max-height: calc(100% - 24px);
  transform-origin: calc(var(--or-x, 50vw) - 50vw + 50%) calc(var(--or-y, 50vh) - var(--vvh, 100vh) / 2 + 1cm + 50%); }
/* ish varag'i (ish plitkasi bosilganda): ekranning 5/10 qismi */
:root .sw-wrap.ctr.pgc.pg-oc .sheet { height: 50%; max-height: calc(100% - 24px); }
/* klaviatura ochilganda — ko'rinib turgan joyning o'rtasida, sig'adigan balandlikda */
:root.kb-on .sw-wrap.ctr.pgc.pg-of .sheet, :root.kb-on .sw-wrap.ctr.pgc.pg-oc .sheet { top: calc(var(--vvt, 0px) + var(--vvh, 100vh) / 2); height: auto; max-height: calc(var(--vvh, 100vh) - 16px); }
.pg-of .pb > .oform { padding-top: 2px; } .pg-of .pb > .oform > .sec:first-of-type { margin-top: 2px; }
.pg-oc .pb { padding-top: 12px; }
/* «Pul oldim» — faqat summa */
.oin-s .pf-body { padding-top: 2px; }
/* Hisobotdagi xarajat «+» — qizil */
:root .addh.red:not(.locked), :root[data-skin] .addh.red:not(.locked) { background: linear-gradient(160deg, #f06363 0%, #c93535 100%); color: #fff; border-color: transparent; box-shadow: 0 8px 22px rgba(201, 53, 53, .42); }
.pgc .pf:empty { display: none; }
.pg-oc .pf { padding: 10px 14px 12px; } .pg-oc .pf .quick { flex: 1 1 auto; width: 100%; margin: 0; }
.pg-oc .pf .qbtn { flex-direction: row; justify-content: center; gap: 10px; padding: 9px 10px; font-size: 15px; }
.pg-oc .pf .qbtn .ic { width: 34px; height: 34px; padding: 7px; }

/* ===== 2.3.11: mebel ustasi — ish varag'i 7/10, Hisobot (bajarilgan buyurtmalar), Xizmatlar masofasi ===== */
:root .sw-wrap.ctr.pgc.pg-oc.pg-o7 .sheet { height: 76%; }
.pg-o7 .pb { display: flex; flex-direction: column; overflow: hidden; padding-top: 14px; padding-bottom: 8px; }
.o7 { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }
.o7 > * { flex: none; }
.o7-h { display: flex; align-items: center; gap: 12px; min-height: 48px; }
.o7-h > .av { flex: none; width: 46px; height: 46px; font-size: 16px; }
.o7-t { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.o7-t b { font: 700 18px/1.25 var(--f); letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o7-t small { font-size: 13.5px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o7-more { flex: none; margin-right: -6px; }
.o7-cl .kv > span:first-child { flex: 1 1 auto; } .o7-ad { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card.o7-m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; overflow: hidden; }
.o7-n { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 12px 6px 13px; text-align: center; }
.o7-n + .o7-n { border-left: 1px solid var(--line-2); }
.o7-n small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.o7-n b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(13px, 4.1vw, 16px); font-weight: 800; }
.o7-n.pos b { color: var(--ok); } .o7-n.neg b { color: var(--bad); }
.pg-o7 .pf .quick.o7-q { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pg-o7 .pf .o7-q .qbtn { flex-direction: column; justify-content: center; gap: 5px; min-width: 0; padding: 9px 4px 10px; font-size: 13.5px; }
.pg-o7 .pf .o7-q .qbtn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-o7 .pf .o7-q .qbtn .ic { width: 34px; height: 34px; padding: 7px; }
.q-done .ic { background: var(--brand-weak); color: var(--brand-text); } .q-done.on .ic { background: var(--surface-3); color: var(--muted); }
@media (max-height: 640px) { .o7 { gap: 9px; } .o7-n { padding: 9px 4px 10px; } .pg-o7 .pf .o7-q .qbtn { padding: 7px 4px 8px; } .pg-o7 .pf .o7-q .qbtn .ic { width: 30px; height: 30px; padding: 6px; } }
/* «⋯» — Tahrirlash, Pul yozuvlari, O'chirish */
.sw-wrap.om-s .sheet { background: var(--surface); box-shadow: 0 18px 50px rgba(0, 0, 0, .22); }
.sw-wrap.om-s .sh-b { padding: 6px 0; }
.om-s .list { margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.om-s .om-del .li-ic, .om-s .om-del b { color: var(--bad); }
.om-ms .list { max-height: min(60vh, 520px); overflow-y: auto; overscroll-behavior: contain; }
.mr-v .kpi small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.2; }
/* Hisobot: tepada «Sof foyda», ostida ikki plitka, pastda bajarilgan buyurtmalar */
.mr-net .mr-nl { position: absolute; top: 10px; left: 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.mr-v > .mr-h { margin: 2px 2px -2px; }
.mr-r .li-b b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-x { flex: none; } .mr-x b { font-size: 14.5px; font-weight: 800; }
.mr-x.pos b { color: var(--ok); } .mr-x.neg b, .li-v.rj.mr-x.neg small { color: var(--bad); }
.mr-s .mr-oc { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 10px; text-align: center; } .mr-oc b { font-size: 16.5px; font-weight: 700; } .mr-oc small { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.mr-o .card.o7-m { flex: none; margin-bottom: 12px; }
/* Xizmatlar: usta plitkasida o'ngda masofa; «Toshkent 📍 15 km radius» — qotgan */
.pv-km { flex: none; font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.bk-loc-r { white-space: nowrap; }
@media (max-width: 1023px) {
  /* ro'yxat yozuv ustida tugaydi (yozuvni yopmaydi), yozuv — pastki menyudan bir xil masofada */
  .shell .v-pin .books-v > .bk-loc-pin { flex: none; margin: 0; padding: 6px 0 calc(var(--tab-h) + var(--tab-gap, 6px) + env(safe-area-inset-bottom, 0px) + 37px); }
  .shell .v-pin .books-v > .bk-take.pin-l { padding-bottom: 10px; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9px, #000 calc(100% - 12px), transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 9px, #000 calc(100% - 12px), transparent 100%); }
}

/* ===== 2.3.12: mebel — ish varag'i 7,6/10 (amallar ro'yxati), Ish haqi varag'i, yangi ish varag'i, jamoaga taklif ===== */
.o7 > .o7-ops { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -4px; padding: 0 4px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 10px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 10px), transparent); }
.o7-ops .list { margin: 0; } .o7-ops .li { min-height: 52px; padding-top: 7px; padding-bottom: 7px; }
.o7-ops .li-b small { font-size: 12.5px; } .o7-ops .li-v { font-size: 14.5px; font-weight: 800; } .o7-ops .li-v.pos { color: var(--ok); } .o7-ops .k-out + .li-b + .li-v, .o7-ops .li-v:not(.pos):not(.mut) { color: var(--bad); }
.o7-none { margin: 6px 0 0; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.pg-o7 .pf { flex-direction: column; align-items: stretch; gap: 8px; }
.btn.o7-done { width: 100%; min-height: 46px; margin: 0; gap: 8px; background: var(--brand); color: var(--brand-ink); border: 0; font-weight: 700; }
.btn.o7-done .ic { width: 20px; height: 20px; } .btn.o7-done.on { background: var(--surface-3); color: var(--fg); }
.q-wage .ic { background: var(--warn-w); color: var(--warn); }
@media (max-height: 640px) { .btn.o7-done { min-height: 40px; } .o7 { gap: 9px; } }
/* Ish haqi — ekranning 5/10 qismi */
:root .sw-wrap.ctr.pfc.pfs.ow-s .sheet, :root .sw-wrap.ctr.pfc.fbc.ow-s .sheet { height: 50vh; height: 50dvh; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; }
:root.kb-on .sw-wrap.ctr.pfc.pfs.ow-s .sheet, :root.kb-on .sw-wrap.ctr.pfc.fbc.ow-s .sheet { height: auto; max-height: calc(var(--vvh, 100vh) - 16px); }
.ow-s .sh-b { flex: 1 1 auto; height: 100%; min-height: 0; display: flex; flex-direction: column; } .ow-s .sh-foot { margin-top: auto; }
.ow-s .pf-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ow-h { margin: 0 2px 10px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.ow-l { display: flex; flex-direction: column; gap: 8px; }
.ow-r { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.ow-r.on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.ow-m { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 8px 14px; background: none; border: 0; text-align: left; font: inherit; color: inherit; }
.ow-m .av { flex: none; width: 36px; height: 36px; font-size: 14px; } .ow-m b { flex: 1 1 auto; min-width: 0; font-size: 15.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ow-m > .ic { flex: none; width: 22px; height: 22px; color: var(--muted); } .ow-r.on .ow-m > .ic { color: var(--brand-text); }
.ow-am { margin: 0 12px 12px; }
.ow-e { display: flex; align-items: center; justify-content: center; text-align: center; }
/* yangi ish varag'i (mebel) — ixcham */
.oform.of7 { display: flex; flex-direction: column; gap: 10px; }
.oform.of7 > .fld, .oform.of7 > .two, .oform.of7 > .seg, .oform.of7 .two > .fld { margin: 0; }
.oform.of7 .two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.oform.of7 .fld label { margin-bottom: 5px; }
.incl.incl-s { margin: 0; padding: 2px 2px; align-items: center; } .incl.incl-s .incl-b b { font-size: 14px; }
@media (max-height: 700px) {
  .oform.of7 { gap: 6px; } .oform.of7 .fld label { margin-bottom: 3px; font-size: 12.5px; }
  .oform.of7 .fld input, .oform.of7 .fld select { min-height: 40px; height: 40px; } .oform.of7 .seg button { min-height: 34px; padding-top: 6px; padding-bottom: 6px; }
  .incl.incl-s { padding-top: 6px; padding-bottom: 6px; } .pg-of .pb { padding-top: 0; } .pg-of .pf { padding-top: 8px; padding-bottom: 10px; }
}
/* jamoaga taklif */
.search.tm-q { margin: 2px 0 8px; } #tm-r .tg-c { margin-top: 0; }
.tm-out { margin-top: 12px; } .btn.tm-np { margin-top: 12px; width: 100%; }
.tg-r > i.av { flex: none; width: 38px; height: 38px; font-size: 14px; }
.card.tm-gc { display: flex; align-items: center; gap: 12px; padding: 14px; } .tm-gc .av { width: 46px; height: 46px; font-size: 16px; flex: none; }
.tm-gc span { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .tm-gc b { font-size: 17px; } .tm-gc small { color: var(--muted); font-weight: 600; }
/* kichik ekranlarda (balandligi 700 px dan past) yangi ish varag'i aylanmasligi uchun biroz balandroq */
@media (max-height: 700px) { :root .sw-wrap.ctr.pgc.pg-of .sheet { height: max(60%, 412px); } }
/* juda past ekranlarda (iPhone SE va shu kabi) ish varag'i ixchamroq — amallar ro'yxatiga joy qoladi */
@media (max-height: 620px) {
  .pg-o7 .pb { padding-top: 10px; } .o7 { gap: 7px; } .o7-h { min-height: 40px; } .o7-h > .av { width: 38px; height: 38px; font-size: 14px; }
  .o7-t b { font-size: 16.5px; } .o7-cl .kv { min-height: 40px; padding-top: 4px; padding-bottom: 4px; } .o7-n { padding: 7px 4px 8px; gap: 1px; }
  .btn.o7-done { min-height: 38px; } .pg-o7 .pf { gap: 6px; padding-top: 8px; padding-bottom: 10px; }
  .pg-o7 .pf .o7-q .qbtn { gap: 3px; padding: 6px 2px 7px; font-size: 13px; } .pg-o7 .pf .o7-q .qbtn .ic { width: 26px; height: 26px; padding: 5px; }
}

/* ===== 2.3.13 ===== */
/* ish varag'i: ekranning 8/10 qismi, ko'rinib turgan joyning aynan o'rtasida; ichi ixcham, aylantirish chizig'i ko'rinmaydi */
:root .sw-wrap.ctr.pgc.pg-oc.pg-o7 .sheet { top: calc(var(--vvt, 0px) + var(--vvh, 100vh) / 2); height: calc(var(--vvh, 100vh) * .8); max-height: calc(var(--vvh, 100vh) - 24px); }
.pg-o7 .pb { overflow-y: auto; padding: 12px 14px 6px; }
.pg-o7 .pb, .o7 > .o7-ops, .pg-of .pb { scrollbar-width: none; }
.pg-o7 .pb::-webkit-scrollbar, .o7 > .o7-ops::-webkit-scrollbar, .pg-of .pb::-webkit-scrollbar { display: none; }
.o7 { gap: 8px; }
.o7-h { min-height: 40px; gap: 10px; } .o7-h > .av { width: 38px; height: 38px; font-size: 14px; }
.o7-t b { font-size: 16px; } .o7-t small { font-size: 12.5px; }
.o7-cl .kv { min-height: 40px; padding-top: 4px; padding-bottom: 4px; font-size: 14px; }
.o7-cl .kv .ic { width: 18px; height: 18px; } .o7-cl .kv-a .ib { width: 34px; height: 34px; min-width: 34px; }
.o7 > .btn.o7-done { min-height: 40px; padding: 8px 12px; font-size: 15px; border-radius: 12px; }
.o7 > .btn.o7-done .ic { width: 18px; height: 18px; }
.o7-n { padding: 8px 4px 9px; gap: 2px; } .o7-n small { font-size: 11.5px; } .o7-n b { font-size: clamp(12.5px, 3.8vw, 15px); }
/* amal qatori: nomi va kim kiritgani — chapda; summa va vaqti — o'ngda */
.o7-ops .li.op-r { min-height: 46px; padding: 6px 10px; gap: 10px; }
.op-r .li-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; } .op-r .li-ic .ic { width: 17px; height: 17px; }
.op-r .li-b b { font-size: 14px; } .op-r .li-b small { font-size: 12px; }
.op-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.op-v b { font-size: 14px; font-weight: 800; white-space: nowrap; } .op-v b.pos { color: var(--ok); } .op-v b.neg { color: var(--bad); }
.op-v small { font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.pg-o7 .pf { padding: 8px 12px 10px; }
.pg-o7 .pf .o7-q .qbtn { gap: 3px; padding: 6px 2px 7px; font-size: 13px; } .pg-o7 .pf .o7-q .qbtn .ic { width: 28px; height: 28px; padding: 6px; }
/* yangi ish varag'i: balandligi mazmuniga qarab (kamida 6/10), ichida aylanmaydi */
:root .sw-wrap.ctr.pgc.pg-of .sheet { top: calc(var(--vvt, 0px) + var(--vvh, 100vh) / 2 - 1cm); height: auto; min-height: min(calc(var(--vvh, 100vh) * .6), calc(var(--vvh, 100vh) - 24px - 2cm)); max-height: calc(var(--vvh, 100vh) - 24px - 2cm); }
@media (max-height: 700px) { :root .sw-wrap.ctr.pgc.pg-of .sheet { height: auto; } }
/* Hisobot: «Sof foyda» — yozuvi o'rtada, kichik; «uzs» summaga mos, kichik harflarda (hamma kasblarda) */
.card.hero.net.n-mid { flex-direction: column; gap: 3px; min-height: 84px; padding: 10px 44px 12px; }
.card.hero.net.n-mid .net-lb { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted); line-height: 1.2; }
.hero.net .net-cur { font-size: .48em; font-weight: 700; text-transform: lowercase; letter-spacing: 0; }
.card.hero.net.mr-net { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mr-v > .search.mr-q { flex: none; margin: 0; }
/* turlar qator bo'lib: ikonka, yonida nomi; o'ngda summa (va foiz) */
.card.ex-l { flex: none; padding: 2px 0; overflow: hidden; }
.ex-r { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 14px; }
.ex-r + .ex-r { border-top: 1px solid var(--line-2); }
.ex-r .li-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; } .ex-r .li-ic .ic { width: 17px; height: 17px; }
.ex-n { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-v { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.ex-v b { font-size: 14.5px; font-weight: 800; color: var(--bad); white-space: nowrap; } .ex-v small { font-size: 12px; font-weight: 700; color: var(--muted); }
.ex-r.z .ex-v b { color: var(--faint); font-weight: 700; } .ex-r.z .li-ic { opacity: .55; }
.ex-r.ex-tot { background: var(--surface-2); } .ex-tot .ex-n { font-weight: 800; } .ex-tot .ex-v b { font-size: 16px; }
.ex-note { margin: 8px 2px 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.mr-s .wc-rep { gap: 10px; } .mr-s .mr-oc { margin: 0; } .mr-o .card.o7-m { margin: 0; }
/* Sof foyda bosilganda — jamoa a'zolari va olgan puli */
.mrn-s .li.mrn-r { min-height: 52px; gap: 12px; padding: 8px 14px; } .mrn-r .av { flex: none; width: 36px; height: 36px; font-size: 13.5px; }
.mrn-r .li-v { font-size: 15px; font-weight: 800; } .mrn-r .li-v.pos { color: var(--ok); } .mrn-r .li-v.neg { color: var(--bad); }
.mrn-r .li-b b .ic { color: var(--warn); }
:root .sw-wrap.ctr.wc-s.wc-s.mr-s:not(.pfs):not(.dkp) .sheet { max-height: calc(var(--vvh, 100vh) - 24px); }
@media (max-height: 640px) { .ex-r { min-height: 38px; padding: 4px 12px; } .ex-n, .ex-v b { font-size: 13.5px; } .mr-s .wc-rep { gap: 8px; } .mr-s .mr-oc b { font-size: 15px; } }

/* ===== 2.3.14 ===== */
/* ish varag'i: Pul oldim · Xarajat · Ish haqi — raqamlar ostida; pastki qism yo'q */
.pg-o7 .pf:empty { display: none; }
.pg-o7 .pb { padding-bottom: 12px; }
.o7 > .quick.o7-q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.o7 > .o7-q .qbtn { min-width: 0; gap: 3px; padding: 6px 2px 7px; font-size: 13px; box-shadow: none; }
.o7 > .o7-q .qbtn .ic { width: 28px; height: 28px; padding: 6px; border-radius: 9px; }
.o7 > .o7-q .qbtn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o7 > .o7-q .q-in .ic { background: var(--ok-w, var(--brand-weak)); color: var(--ok); } .o7 > .o7-q .q-out .ic { background: var(--bad-w); color: var(--bad); }
/* Hisobot: Xarajat summasi qizil */
.mr-v .kpi.k-out b { color: var(--bad); }
/* Xarajat varag'i: qizil ikonka, foizga qarab to'ladigan chiziqcha */
.ex-red .li-ic { background: var(--bad-w); color: var(--bad); } .ex-red .ex-r.z .li-ic { opacity: .6; }
.ex-m { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ex-m .ex-n { flex: none; }
.ex-bar { display: block; height: 6px; border-radius: 99px; background: var(--surface-3, var(--line-2)); overflow: hidden; }
.ex-bar i { display: block; height: 100%; border-radius: inherit; background: var(--bad); }
.ex-red .ex-v b { color: var(--bad); } .ex-red .ex-r.z .ex-v b { color: var(--bad); opacity: .55; }
.ex-red .ex-r { min-height: 52px; }
/* Mijozlar qarzi */
.cl-v > .cd-h { flex: none; } .cd-h .net-v.neg { color: var(--bad); } .cd-h .net-v.zero { color: var(--muted); }
.cl-v > .cd-h + .search { margin-top: 0; }
/* mijoz varag'i (karta) — kerakli hajmda, ekran o'rtasida */
:root .sw-wrap.ctr.pgc.pg-cl .sheet { top: calc(var(--vvt, 0px) + var(--vvh, 100vh) / 2); height: auto; max-height: calc(var(--vvh, 100vh) - 24px); }
.pg-cl .pb { padding: 12px 14px 14px; scrollbar-width: none; } .pg-cl .pb::-webkit-scrollbar { display: none; }
.cl7 { display: flex; flex-direction: column; gap: 10px; } .cl7 > * { margin-top: 0; margin-bottom: 0; }
.cl7 > .sec { margin: 4px 2px -2px; }

/* ===== 2.3.15 ===== */
/* Til varag'ida bayroqlar */
.lang-c .tg-r .flag { width: 30px; height: 21px; border-radius: 5px; margin-right: 2px; }
/* Hisobot: Kirim / Xarajatlar plitkalarida yozuvlar o'rtada (hamma foydalanuvchilarda) */
.kpi { align-items: center; text-align: center; }
/* Barbershop ish joyi: brend rasmi — profil rasmi kabi, lekin yumaloq emas (burchaklari yumaloq kvadrat) */
.bp-w { display: flex; align-items: center; gap: 14px; margin: 2px 2px 12px; }
.bp-slot { position: relative; flex: none; width: 76px; height: 76px; padding: 0; border: 1.5px dashed var(--line); border-radius: 20px; background: var(--surface); display: grid; place-items: center; }
.bp-slot.has { border-style: solid; border-color: transparent; }
.bp-slot .bp-ph { color: var(--muted); } .bp-slot .bp-ph .ic { width: 28px; height: 28px; }
.bp-slot .av.bp-av { width: 76px; height: 76px; border-radius: 20px; font-size: 24px; }
.bp-slot .av.bp-av img { border-radius: 20px; }
.bp-cam { position: absolute; right: -6px; bottom: -6px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); box-shadow: 0 0 0 3px var(--bg); }
.bp-cam .ic { width: 15px; height: 15px; }
.bp-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .bp-t b { font-size: 15.5px; } .bp-t small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
/* Xizmatlar: taymer chaproqda, o'rtada yurib turadigan lokatsiya ikonkasi (faqat navbat tasdiqlanganda) */
.cat-li { position: relative; }
.cat-li .bk-nav { position: absolute; top: 50%; right: 40px; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bad-w); color: var(--bad); box-shadow: 0 2px 8px color-mix(in srgb, var(--bad) 22%, transparent); animation: bkNav 1.8s ease-in-out infinite; cursor: pointer; z-index: 1; }
.cat-li .bk-nav .ic { width: 22px; height: 22px; }
.cat-li.bk-on .tl-2 > span .bk-cd, .cat-li:has(.bk-nav) .tl-2 > span .bk-cd { margin-right: var(--bkn-gap, 44px); }
@keyframes bkNav { 0%, 100% { transform: scale(.88); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .cat-li .bk-nav { animation: none; } }
/* xarita tanlash varag'i */
.nav-s .nav-h { display: flex; flex-direction: column; gap: 3px; margin: 4px 16px 8px; text-align: center; } .nav-h b { font-size: 16px; } .nav-h small { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.nav-s .li.nav-o { text-decoration: none; color: inherit; } .nav-o .li-ic { background: var(--bad-w); color: var(--bad); } .nav-o.n-dev .li-ic { background: var(--brand-weak); color: var(--brand-text); }
/* jins: ro'yxatdan o'tishda va alohida oynada */
.gd-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .gd-seg .ic { width: 18px; height: 18px; }
.gd-in { text-align: center; } .gd-in .sub { margin-bottom: 18px; }
.gd-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gd-b { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px 18px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); font: inherit; color: inherit; box-shadow: var(--sh); }
.gd-b .ic { width: 44px; height: 44px; padding: 10px; border-radius: 16px; } .gd-b b { font-size: 17px; }
.gd-b.gd-m .ic { background: color-mix(in srgb, #3b82f6 16%, transparent); color: #2563eb; } .gd-b.gd-f .ic { background: color-mix(in srgb, #ec4899 16%, transparent); color: #db2777; }
.gd-b:active { transform: scale(.97); }

/* ===== 2.3.16 ===== */
/* Xarajatlar varag'i — bir qatlam: turlar varaqning o'zida; chiziqlar teng uzunlikda, foiz chiziq oxirida, summa chiziq ustida */
.ex-l.ex-flat { display: flex; flex-direction: column; }
.ex-flat .ex-r { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 2px; }
.ex-flat .ex-r + .ex-r { border-top: 1px solid var(--line-2); }
.ex-flat .ex-r .li-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; } .ex-flat .ex-r .li-ic .ic { width: 18px; height: 18px; }
.ex-flat .ex-m { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ex-flat .ex-t { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ex-flat.ex-red .ex-t { padding-right: 52px; }
.ex-flat .ex-t .ex-n { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-flat .ex-t .ex-v { flex: none; display: block; }
.ex-flat .ex-t .ex-v b { font-size: 14.5px; font-weight: 800; color: var(--bad); white-space: nowrap; }
.ex-flat .ex-bw { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ex-flat .ex-bw .ex-bar { flex: 1 1 auto; min-width: 0; height: 7px; }
.ex-flat .ex-p { flex: none; width: 44px; text-align: right; font-size: 12.5px; font-weight: 800; color: var(--muted); white-space: nowrap; }
.ex-flat .ex-r.z .ex-t .ex-v b { opacity: .55; }
.exs .ex-note { margin-top: 10px; }
@media (max-height: 640px) { .ex-flat .ex-r { min-height: 50px; padding: 6px 2px; } .ex-flat .ex-r .li-ic { width: 32px; height: 32px; } .ex-flat .ex-t .ex-n, .ex-flat .ex-t .ex-v b { font-size: 13.5px; } }
/* Hisobot: har bir xarajat amali */
.dsum.rep-ops, .shell .v-wrep .rep-v > .dsum.rep-ops { padding: 0; }
.rep-ops .li.op-r { min-height: 54px; padding: 7px 14px; gap: 11px; }
.rep-ops .op-r .li-b small { font-size: 12.5px; }
.v-wrep .rep-ops .li.op-r { min-height: 50px; }
.rep-v > .rp-empty { margin: 0; }
/* Kirim varag'i: qidiruv qotgan, ro'yxat o'zi aylanadi, ekranning 8/10 qismidan oshmaydi */
:root .sw-wrap.ctr.mri-s.mri-s:not(.pfs):not(.dkp) .sheet { display: flex; flex-direction: column; height: auto; max-height: min(80%, calc(var(--vvh, 100vh) * .8)); }
:root.kb-on .sw-wrap.ctr.mri-s.mri-s:not(.pfs):not(.dkp) .sheet { max-height: calc(var(--vvh, 100vh) - 16px); }
.sw-wrap.ctr.mri-s .sh-b { flex: 1 1 auto; min-height: 0; overflow: hidden; padding: 12px 0 6px; display: flex; flex-direction: column; }
.mri-v { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 6px; }
.mri-v > .search.mr-q { flex: none; margin: 0 12px 4px; }
.mri-l { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mri-l::-webkit-scrollbar { display: none; }
.mri-l .list { margin: 0; } .mri-l .li.mr-r { min-height: 56px; }
.mri-v > .empty { margin: 8px 16px 12px; }
/* Ish joyi: Logotip va «Xizmatlarda ko'rsatish» tugmasi */
.bp-w .bp-t { flex: 1 1 auto; }
.bp-w .bp-tgl { flex: none; margin-left: auto; display: flex; align-items: center; }
.bp-w .bp-tgl .tgl.in { padding: 0; border: 0; flex: none; }

/* ===== 2.3.17 ===== */
/* Go'zallik saloni yo'nalishlari — Xizmatlar va Kasb tanlashdagi ranglari */
.tg-i.c-pink { background: #e8559a; } .tg-i.c-rose { background: #f06a7a; } .tg-i.c-plum { background: #b04fb8; } .tg-i.c-amber { background: #e6a23c; }
.c-gz_sartarosh .cat-ic, .cat-t.c-gz_sartarosh > span { background: #fde3ee; color: #c23f77; }
:root[data-theme="dark"] .c-gz_sartarosh .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_sartarosh > span { background: #3d1c2b; color: #f08cba; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_sartarosh .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_sartarosh > span { background: #3d1c2b; color: #f08cba; } }
.c-gz_nail .cat-ic, .cat-t.c-gz_nail > span { background: #ffe4e0; color: #c8414f; }
:root[data-theme="dark"] .c-gz_nail .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_nail > span { background: #3f1a1e; color: #ff9e94; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_nail .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_nail > span { background: #3f1a1e; color: #ff9e94; } }
.c-gz_lash .cat-ic, .cat-t.c-gz_lash > span { background: #ece3fd; color: #6f43bd; }
:root[data-theme="dark"] .c-gz_lash .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_lash > span { background: #2a2046; color: #c4a8f6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_lash .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_lash > span { background: #2a2046; color: #c4a8f6; } }
.c-gz_kosmet .cat-ic, .cat-t.c-gz_kosmet > span { background: #dcf5f0; color: #17806f; }
:root[data-theme="dark"] .c-gz_kosmet .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_kosmet > span { background: #123430; color: #77d6c6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_kosmet .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_kosmet > span { background: #123430; color: #77d6c6; } }
.c-gz_vizaj .cat-ic, .cat-t.c-gz_vizaj > span { background: #fde2e2; color: #b3242a; }
:root[data-theme="dark"] .c-gz_vizaj .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_vizaj > span { background: #3f1616; color: #f59a9a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_vizaj .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_vizaj > span { background: #3f1616; color: #f59a9a; } }
.c-gz_depil .cat-ic, .cat-t.c-gz_depil > span { background: #fdeedb; color: #b86b1d; }
:root[data-theme="dark"] .c-gz_depil .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_depil > span { background: #3d2a12; color: #f5b874; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_depil .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_depil > span { background: #3d2a12; color: #f5b874; } }
.c-gz_massaj .cat-ic, .cat-t.c-gz_massaj > span { background: #e0f5e6; color: #257f45; }
:root[data-theme="dark"] .c-gz_massaj .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_massaj > span { background: #173322; color: #8fd8a4; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_massaj .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_massaj > span { background: #173322; color: #8fd8a4; } }
.c-gz_perm .cat-ic, .cat-t.c-gz_perm > span { background: #f6e2f6; color: #8a338c; }
:root[data-theme="dark"] .c-gz_perm .cat-ic, :root[data-theme="dark"] .cat-t.c-gz_perm > span { background: #36173a; color: #e09be2; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-gz_perm .cat-ic, :root:not([data-theme="light"]) .cat-t.c-gz_perm > span { background: #36173a; color: #e09be2; } }
/* yo'nalishlar varag'i: 8 ta qator ekranga sig'adi */
.sw-wrap.ctr.kav-p.kgz-p .sheet { min-height: 0; }
.sw-wrap.ctr.kav-p.kgz-p .kb-r { min-height: 54px; }
@media (max-height: 700px) { .sw-wrap.ctr.kav-p.kgz-p .kb-r { min-height: 46px; padding-top: 5px; padding-bottom: 5px; } .sw-wrap.ctr.kav-p.kgz-p .sh-b { gap: 8px; } }
.kb-gz.on .tg-b b { color: var(--brand); }
/* akkauntni o'chirish */
.acc-f .acc-del-b { margin-top: 6px; color: var(--bad); border-color: transparent; background: none; box-shadow: none; }
.accdel { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 4px 2px 2px; text-align: center; }
.accdel .big-ic { margin: 0 auto; } .big-ic.bad { background: var(--bad-w); color: var(--bad); } .accdel h3 { margin: 0; } .accdel .sub { margin: 0; }
.accdel .fld { text-align: left; }

/* ===== 2.3.18 ===== */
/* Navbatdan / Navbatsiz: tepa cheti qotgan (JS hisoblaydi), pastga cho'ziladi; klaviatura ochilganda — ko'rinadigan joy o'rtasida */
:root .sw-wrap.ctr.pfc.dkq-s .sheet { top: var(--dkq-top, calc(50% + 1cm)); }
/* navbat plitkasidagi yo'l belgisi: ko'k doira, oq romb ichida burilish strelkasi (yo'nalish) */
.cat-li .bk-nav { background: #1a73e8; color: #fff; box-shadow: 0 3px 10px rgba(26, 115, 232, .35); }
.cat-li .bk-nav .ic { width: 24px; height: 24px; }
.cat-li .bk-nav .ic .nv-a { fill: none; stroke: #1a73e8; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
:root[data-theme="dark"] .cat-li .bk-nav { background: #4c8df6; } :root[data-theme="dark"] .cat-li .bk-nav .ic .nv-a { stroke: #4c8df6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cat-li .bk-nav { background: #4c8df6; } :root:not([data-theme="light"]) .cat-li .bk-nav .ic .nv-a { stroke: #4c8df6; } }

/* ===== 2.3.19: Hisobotdagi Xarajatlar varag'i — 30% kichikroq (qatorlar ixchamroq, yozuvlar o'qiladigan o'lchamda) ===== */
.sw-wrap.ctr.wc-s.exs .sh-b { padding: 10px 14px; }
.exs .ex-flat .ex-r { min-height: 42px; padding: 3px 2px; gap: 10px; }
.exs .ex-flat .ex-r .li-ic { width: 28px; height: 28px; border-radius: 8px; } .exs .ex-flat .ex-r .li-ic .ic { width: 15px; height: 15px; }
.exs .ex-flat .ex-m { gap: 4px; }
.exs .ex-flat .ex-t .ex-n, .exs .ex-flat .ex-t .ex-v b { font-size: 13.5px; }
.exs .ex-flat .ex-bw .ex-bar { height: 5px; }
.exs .ex-flat .ex-p { width: 40px; font-size: 11.5px; }
.exs .ex-flat.ex-red .ex-t { padding-right: 48px; }
.exs .ex-note { margin-top: 6px; font-size: 11.5px; }
.exs .ex-flat .ex-r { min-height: 40px; } .exs .ex-flat .ex-m { gap: 3px; }
.exs .ex-flat .ex-t { line-height: 18px; } .exs .ex-flat .ex-bw { line-height: 14px; } .exs .wc-rep { gap: 6px; }
@media (max-height: 640px) { .exs .ex-flat .ex-r { min-height: 38px; padding: 1px 2px; } .exs .ex-flat .ex-m { gap: 2px; } }

/* ===== 2.3.20: Hisobotdagi yozuvlar bosilmaydi; ish varag'idagi yozuv menyusi va o'zgartirish varag'i ===== */
.li.op-r.ro { cursor: default; -webkit-tap-highlight-color: transparent; }
.card.o7-m.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.op-ms .list .li { min-height: 48px; padding: 8px 12px; gap: 11px; border-radius: 14px; }
.op-ms .list .li + .li { border-top: 1px solid var(--line-2); border-radius: 0 0 14px 14px; } .op-ms .list .li:first-child { border-radius: 14px 14px 0 0; }
.op-ms .li .li-ic { width: 32px; height: 32px; border-radius: 10px; } .op-ms .li .li-ic .ic { width: 17px; height: 17px; }
.op-ms .li .li-b b { font-size: 15px; }
.ope-h { display: flex; align-items: center; gap: 11px; padding: 2px 2px 12px; } .ope-h .li-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; }
.ope-h b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; }
.ope-s .pf-tiles { margin-bottom: 12px; }
:root .sw-wrap.ctr.pgc.pg-of.pg-of7 .sheet { min-height: 0; }

/* ===== 2.3.21: mebel — «Ish tugadi»: mijozda qolgan haq varag'i ===== */
.od-s .pf-body { display: flex; flex-direction: column; gap: 10px; }
.od-h { margin: 2px 2px 0; font-size: 17px; line-height: 1.3; font-weight: 800; text-align: center; text-wrap: balance; }
.od-p { margin: 0 2px; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-align: center; text-wrap: pretty; }
.od-amt { margin-top: 4px; }
.od-f { display: flex; align-items: flex-start; gap: 7px; margin: 0 2px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.od-f .ic { flex: none; width: 15px; height: 15px; margin-top: 1px; }

/* ===== 2.3.21: Play Market / App Store — Obuna sahifasi ===== */
.iap { display: flex; flex-direction: column; gap: 12px; }
.iap-p { margin-top: 10px; }
.iap-p .pkg { cursor: pointer; color: inherit; font: inherit; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.iap-p .pkg.best { border-color: var(--line); background: var(--surface); }
.iap-p .pkg.on { border-color: var(--brand); background: var(--brand-weak); box-shadow: inset 0 0 0 1px var(--brand); }
.iap-p .pkg:disabled { opacity: .55; cursor: default; }
.iap-p .pkg .pp { min-height: 20px; display: flex; align-items: center; justify-content: center; }
.iap-ld { display: inline-block; width: 46px; height: 12px; border-radius: 6px; background: var(--surface-2); animation: iapLd 1.1s ease-in-out infinite alternate; }
@keyframes iapLd { from { opacity: .45; } to { opacity: 1; } }
.iap-t { margin: 0 2px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.iap-l { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 14px; }
.iap-l .btn.text { min-height: 34px; padding: 4px 6px; font-size: 13.5px; }
.iap-d { display: flex; justify-content: center; align-items: center; gap: 8px; margin: -4px 0 0; font-size: 12px; }
.iap-d a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; } .iap-d i { color: var(--muted); font-style: normal; }
.iap-cur { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-2); }
.iap-cur .ic { flex: none; width: 18px; height: 18px; color: var(--brand); }
.iap-cur span { display: flex; flex-direction: column; gap: 1px; min-width: 0; } .iap-cur b { font-size: 14px; } .iap-cur small { font-size: 12px; color: var(--muted); }
.iap-off { margin-top: 4px; }
.iap-dm { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line); }
.iap-dm small { font-size: 11.5px; color: var(--muted); text-align: center; }
.lock-sub { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .iap-ld { animation: none; } }

/* ===== 2.3.23: telefonning yuqori paneli (soat, zaryad) bilan ekran tepasi choksiz qo'shiladi — Telegramdagidek.
   Panel rangi = fon rangi (theme-color); fon nuri tepada 48 px ichida shu rangga silliq o'tadi, shuning uchun chegara ko'rinmaydi. ===== */
:root { --top-fade: linear-gradient(to bottom, var(--bg) 0, transparent 48px); }
body, .top { background-image: var(--top-fade), var(--bg-img, none); }
html.shell body { background-image: none; }
html.shell body::after { background-image: var(--top-fade), var(--bg-img, none), var(--bg-fx, none); }

/* ===== 2.3.25: PIN oynasida Face ID / barmoq izi tugmasi (raqamlar ostida, chapda) ===== */
.pin-k .fn.bio { color: var(--brand); }
.pin-k .fn.bio .ic { width: 30px; height: 30px; stroke-width: 1.7; }

/* ===== 2.3.28: Hisobot plitkalari — valyuta summa yonida, summa bilan bir xil o'lchamda, kichik harfda; yozuvlar o'rtada ===== */
.kpi { align-items: center; text-align: center; }
.kpi b .kc, .kpis.n1 .kpi.k-tot b span.kc { font-size: 1em; font-weight: inherit; letter-spacing: inherit; color: inherit; text-transform: lowercase; }
.kpi b.num { text-overflow: clip; }
.hero.net .net-cur { font-size: 1em; }
.hero.net b.net-v { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: clip; }
