/* ProSeller kabineti — TezSlot Mini App'dan alohida dizayn.
   Brend: binafsha #4B16E0→#8A3FFC, quyosh #FFC83D. Shrift: Manrope (o'zimizda). */
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/kabinet/fonts/manrope-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/kabinet/fonts/manrope-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --b1: #4b16e0; --b2: #8a3ffc; --sun: #ffc83d; --sun-ink: #2a1d00;
  --grad: linear-gradient(135deg, #4b16e0 0%, #6a2bf3 50%, #8a3ffc 100%);
  --ok: #10b981; --bad: #f0466e; --warn: #f59e0b; --info: #3b82f6;
  --r-lg: 24px; --r-md: 18px; --r-sm: 12px;
  --side: 268px; --top: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --bg: #f4f3fb; --bg2: #eceaf8; --panel: #ffffff; --panel2: #f8f7fe; --ink: #0f0c24; --ink2: #3a3660; --muted: #6e6a95;
  --line: rgba(24, 16, 74, .08); --line2: rgba(24, 16, 74, .14);
  --shadow: 0 1px 2px rgba(20, 12, 70, .05), 0 12px 32px -14px rgba(36, 20, 120, .18);
  --shadow-lg: 0 30px 80px -30px rgba(40, 16, 140, .35);
  --brand-ink: #4b16e0; --chip: #efedfb; --hover: rgba(75, 22, 224, .06);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0b0a1c; --bg2: #0f0d24; --panel: #14122c; --panel2: #1a1736; --ink: #f2f0ff; --ink2: #cbc7ee; --muted: #9692c0;
  --line: rgba(255, 255, 255, .07); --line2: rgba(255, 255, 255, .12);
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 16px 40px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 90px -30px rgba(0, 0, 0, .8);
  --brand-ink: #b49cff; --chip: #221e44; --hover: rgba(180, 156, 255, .07);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 15px/1.5 "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "tnum" 1, "ss01" 1; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 16px; height: 16px; }
.ico.lg { width: 26px; height: 26px; }
::selection { background: rgba(138, 63, 252, .25); }

/* ---------- ishga tushish ---------- */
.boot-splash { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--bg); z-index: 100; transition: opacity .4s var(--ease); }
.boot-splash img { border-radius: 18px; box-shadow: 0 20px 50px -16px rgba(75, 22, 224, .6); animation: pop .6s var(--spring) both; }
.boot-bar { width: 120px; height: 4px; border-radius: 9px; background: var(--line2); overflow: hidden; }
.boot-bar i { display: block; width: 40%; height: 100%; border-radius: inherit; background: var(--grad); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- karkas ---------- */
.app { min-height: 100vh; }
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 20px 16px;
  background: #0d0b22; color: #e9e6ff; overflow: hidden; isolation: isolate;
}
.side::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(106, 43, 243, .55), transparent 65%); }
.side::after { content: ""; position: absolute; z-index: -1; width: 300px; height: 300px; right: -170px; bottom: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 61, .16), transparent 65%); }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 10px 24px -10px rgba(138, 63, 252, .9); }
.brand b { color: var(--sun); }
.brand small { display: block; font-size: 11.5px; font-weight: 650; letter-spacing: .02em; color: #9c97cf; margin-top: -3px; }
.nav-group { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6f6a9e; padding: 14px 12px 6px; }
.nav a, .nav button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; color: #bdb8e6; font-weight: 650; font-size: 14.5px; text-align: left; transition: background .2s, color .2s; }
.nav a:hover, .nav button:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.nav a.on { background: linear-gradient(90deg, rgba(138, 63, 252, .28), rgba(138, 63, 252, .06)); color: #fff; }
.nav a.on::before { content: ""; position: absolute; left: -16px; top: 9px; bottom: 9px; width: 4px; border-radius: 0 4px 4px 0; background: var(--sun); box-shadow: 0 0 14px var(--sun); }
.nav a.on .ico { color: var(--sun); }
.nav .count { margin-left: auto; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--sun); color: var(--sun-ink); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.nav .ext { margin-left: auto; opacity: .45; width: 15px; height: 15px; }
.nav .live-dot { margin-left: auto; }
.side-cta { margin-top: auto; padding: 16px; border-radius: 18px; background: linear-gradient(150deg, rgba(138, 63, 252, .35), rgba(75, 22, 224, .15)); border: 1px solid rgba(255, 255, 255, .08); }
.side-cta b { display: block; font-size: 14.5px; color: #fff; }
.side-cta span { display: block; font-size: 12.5px; color: #b5b0e0; margin: 2px 0 12px; }
.side-cta .btn { width: 100%; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 32px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.crumbs { display: flex; flex-direction: column; min-width: 0; }
.crumbs small { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.crumbs b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmdk { margin-left: auto; display: flex; align-items: center; gap: 10px; width: min(360px, 34vw); height: 42px; padding: 0 12px 0 14px; border-radius: 13px; border: 1px solid var(--line2); background: var(--panel); color: var(--muted); font-weight: 600; font-size: 14px; box-shadow: var(--shadow); transition: border-color .2s, transform .2s; }
.cmdk:hover { border-color: rgba(138, 63, 252, .5); }
.cmdk kbd { margin-left: auto; font: 700 11.5px/1 "Manrope", sans-serif; padding: 5px 7px; border-radius: 7px; background: var(--chip); color: var(--ink2); }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line2); background: var(--panel); color: var(--ink2); box-shadow: var(--shadow); transition: transform .2s var(--spring), color .2s; flex: none; }
.icon-btn:hover { color: var(--brand-ink); transform: translateY(-1px); }
.icon-btn:active { transform: scale(.94); }
.bal-chip { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 6px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line2); box-shadow: var(--shadow); font-weight: 800; }
.bal-chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); color: var(--sun); }
.bal-chip small { color: var(--muted); font-weight: 650; }
.avatar { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sun), #ff9f43); color: var(--sun-ink); font-weight: 800; font-size: 16px; border: 0; flex: none; box-shadow: 0 8px 20px -10px rgba(255, 159, 67, .9); }
.lang-sw { display: flex; height: 42px; padding: 4px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line2); box-shadow: var(--shadow); }
.lang-sw button { border: 0; background: none; padding: 0 10px; border-radius: 9px; font-weight: 750; font-size: 13px; color: var(--muted); }
.lang-sw button.on { background: var(--ink); color: var(--bg); }

.page { width: 100%; max-width: 1280px; margin: 0 auto; padding: 8px 32px 64px; }
.page-enter > * { animation: rise .55s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- umumiy elementlar ---------- */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; min-width: 0; }
.card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.card-h h3 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.card-h .more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--brand-ink); }
.card-h .more:hover { gap: 8px; }
.card-h .more, .card-h .more .ico { transition: gap .2s; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.small .ico { vertical-align: -3px; }
.h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.lead { color: var(--muted); font-size: 15.5px; margin: 6px 0 0; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px;
  border-radius: 14px; border: 0; font-weight: 750; font-size: 14.5px; white-space: nowrap; overflow: hidden;
  transition: transform .2s var(--spring), box-shadow .25s, background .2s, opacity .2s;
}
.btn:active { transform: scale(.96); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -12px rgba(75, 22, 224, .8); }
.btn.primary:hover { box-shadow: 0 16px 34px -12px rgba(75, 22, 224, .95); transform: translateY(-1px); }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn.primary:hover::after { transform: translateX(120%); }
.btn.sun { background: var(--sun); color: var(--sun-ink); box-shadow: 0 12px 26px -12px rgba(255, 200, 61, .9); }
.btn.sun:hover { transform: translateY(-1px); }
.btn.ghost { background: var(--chip); color: var(--ink); }
.btn.ghost:hover { background: color-mix(in srgb, var(--chip) 70%, var(--b2) 12%); }
.btn.line { background: transparent; color: var(--ink); border: 1px solid var(--line2); }
.btn.danger { background: rgba(240, 70, 110, .1); color: var(--bad); }
.btn.white { background: #fff; color: #2b1394; }
.btn.glass { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .22); }
.btn.sm { height: 36px; padding: 0 14px; border-radius: 11px; font-size: 13.5px; }
.btn.block { width: 100%; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 750; background: var(--chip); color: var(--ink2); white-space: nowrap; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.active { background: rgba(138, 63, 252, .13); color: var(--brand-ink); }
.badge.active i { animation: blink 1.4s ease-in-out infinite; box-shadow: 0 0 0 0 currentColor; }
.badge.done { background: rgba(16, 185, 129, .13); color: var(--ok); }
.badge.failed { background: rgba(240, 70, 110, .12); color: var(--bad); }
.badge.cancelled { color: var(--muted); }
.badge.pending, .badge.review { background: rgba(245, 158, 11, .14); color: #c27803; }
:root[data-theme="dark"] .badge.pending, :root[data-theme="dark"] .badge.review { color: var(--warn); }
.badge.approved, .badge.paid { background: rgba(16, 185, 129, .13); color: var(--ok); }
.badge.rejected { background: rgba(240, 70, 110, .12); color: var(--bad); }
@keyframes blink { 50% { opacity: .35; } }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: ping 1.8s infinite; flex: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 9px; background: var(--chip); font-size: 12.5px; font-weight: 750; color: var(--ink2); }
.chip.hit { background: var(--ok); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

.field { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 16px; border-radius: 16px; background: var(--panel2); border: 1.5px solid var(--line2); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: var(--b2); box-shadow: 0 0 0 4px rgba(138, 63, 252, .14); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 16px; font-weight: 650; }
.field input::placeholder { color: var(--muted); opacity: .7; font-weight: 600; }
.field .ico { color: var(--muted); }
.field.xl { height: 72px; border-radius: 20px; padding-left: 22px; }
.field.xl input { font-size: 26px; font-weight: 800; letter-spacing: .06em; }
.hint { font-size: 13.5px; color: var(--muted); margin: 10px 4px 0; }
.hint.err { color: var(--bad); font-weight: 650; }

.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 13px; background: var(--chip); }
.seg button { position: relative; z-index: 1; border: 0; background: none; height: 34px; padding: 0 14px; border-radius: 10px; font-weight: 750; font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.seg button.on { color: var(--ink); }
.seg .thumb { position: absolute; top: 4px; bottom: 4px; border-radius: 10px; background: var(--panel); box-shadow: 0 2px 8px rgba(20, 10, 60, .12); transition: left .35s var(--spring), width .35s var(--spring); }
.seg .n { font-size: 11.5px; padding: 1px 7px; border-radius: 99px; background: var(--line2); }

.empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 20px; color: var(--muted); }
.empty .em-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--chip); color: var(--brand-ink); }
.empty b { color: var(--ink); font-size: 16px; }
.skel { border-radius: var(--r-lg); background: linear-gradient(100deg, var(--panel) 30%, var(--panel2) 50%, var(--panel) 70%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; border: 1px solid var(--line); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* ---------- bosh sahifa: bento ---------- */
.hello { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px 24px; margin: 10px 0 24px; }
.hello .acts { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c3 { grid-column: span 3; } .c8 { grid-column: span 8; } .c7 { grid-column: span 7; } .c6 { grid-column: span 6; } .c12 { grid-column: span 12; }

.balance {
  overflow: hidden; color: #fff; border: 0; padding: 26px; min-height: 250px; display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 100% 0%, #9b5bff 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, #2c0fa3 0%, transparent 60%), var(--grad);
  box-shadow: 0 30px 60px -28px rgba(75, 22, 224, .85);
}
.balance .blob { position: absolute; border-radius: 50%; filter: blur(30px); pointer-events: none; }
.balance .b1 { width: 180px; height: 180px; right: -40px; top: -50px; background: rgba(255, 200, 61, .35); animation: drift 9s ease-in-out infinite alternate; }
.balance .b2 { width: 140px; height: 140px; left: 30%; bottom: -70px; background: rgba(255, 255, 255, .18); animation: drift 12s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-30px, 24px) scale(1.15); } }
.balance .grid-bg { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 80% 20%, #000, transparent 65%); -webkit-mask-image: radial-gradient(circle at 80% 20%, #000, transparent 65%); }
.balance > * { position: relative; }
.balance .lbl { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.balance .big { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 14px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.balance .big small { font-size: 18px; font-weight: 700; letter-spacing: 0; color: rgba(255, 255, 255, .75); }
.balance .sub { color: rgba(255, 255, 255, .75); font-size: 13.5px; font-weight: 600; }
.meter { display: flex; height: 8px; border-radius: 9px; background: rgba(255, 255, 255, .16); overflow: hidden; margin: 18px 0 8px; }
.meter i { display: block; height: 100%; transition: width 1s var(--ease); }
.meter .f { background: var(--sun); }
.meter .r { background: rgba(255, 255, 255, .55); }
.meter-l { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; font-weight: 650; color: rgba(255, 255, 255, .8); }
.meter-l span { display: inline-flex; align-items: center; gap: 6px; }
.meter-l i { width: 8px; height: 8px; border-radius: 3px; }
.balance .acts { margin-top: auto; padding-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.radar-card { background: #0d0b22; color: #e8e5ff; border-color: rgba(255, 255, 255, .06); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .3s var(--ease); }
.radar-card:hover { transform: translateY(-3px); }
.radar-card .card-h h3 { color: #fff; }
.radar { position: relative; width: 170px; height: 170px; margin: 2px auto 8px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .08), transparent 70%); }
.radar .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(16, 185, 129, .22); }
.radar .r1 { inset: 0; } .radar .r2 { inset: 22%; } .radar .r3 { inset: 42%; }
.radar .cross { position: absolute; inset: 0; background: linear-gradient(rgba(16, 185, 129, .16), rgba(16, 185, 129, .16)) center / 1px 100% no-repeat, linear-gradient(rgba(16, 185, 129, .16), rgba(16, 185, 129, .16)) center / 100% 1px no-repeat; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0deg 280deg, rgba(16, 185, 129, .6) 360deg); animation: rot 3.2s linear infinite; }
.radar.idle .sweep { animation-duration: 9s; opacity: .35; }
.radar .blip { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 12px var(--sun); animation: blip 3.2s ease-out infinite; }
@keyframes blip { 0%, 100% { opacity: .35; transform: scale(.8); } 12% { opacity: 1; transform: scale(1.3); } }
.radar .core { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 16px var(--ok); }
.radar-n { text-align: center; }
.radar-n b { font-size: 30px; font-weight: 800; color: #fff; display: block; line-height: 1.1; }
.radar-n span { font-size: 13px; color: #9c97cf; font-weight: 600; }

.kpis { display: grid; gap: 18px; grid-template-rows: repeat(3, 1fr); }
.kpi { padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.kpi .k-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.kpi .k-ic.g { background: rgba(16, 185, 129, .13); color: var(--ok); }
.kpi .k-ic.p { background: rgba(138, 63, 252, .13); color: var(--brand-ink); }
.kpi .k-ic.y { background: rgba(255, 200, 61, .2); color: #b7791f; }
:root[data-theme="dark"] .kpi .k-ic.y { color: var(--sun); }
.kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.kpi span { font-size: 12.5px; color: var(--muted); font-weight: 650; }
.kpi b span { font-size: inherit; color: inherit; font-weight: inherit; }

.chart { position: relative; height: 210px; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart .bar { transition: opacity .2s; cursor: pointer; }
.chart .bar-a { fill: url(#gA); }
.chart .bar-b { fill: var(--sun); }
.chart .axis { fill: var(--muted); font-size: 10.5px; font-weight: 650; }
.chart .gl { stroke: var(--line); stroke-dasharray: 3 4; }
.chart .grow-in { transform-origin: bottom; transform-box: fill-box; animation: growUp .8s var(--ease) both; }
@keyframes growUp { from { transform: scaleY(0); } }
.legend { display: flex; gap: 16px; margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.tip { position: absolute; pointer-events: none; z-index: 5; padding: 8px 12px; border-radius: 11px; background: var(--ink); color: var(--bg); font-size: 12.5px; font-weight: 700; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .15s; }
.tip.on { opacity: 1; }

.shop-row { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 14px; transition: background .2s; }
.shop-row:hover { background: var(--hover); }
.shop-ava { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; background: var(--grad); }
.shop-row .grow { flex: 1; min-width: 0; }
.shop-row .t { font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-row .s { font-size: 12.5px; color: var(--muted); }

.feed { display: grid; }
.feed-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 6px; border-radius: 14px; border-bottom: 1px solid var(--line); transition: background .2s; }
.feed-item:last-child { border-bottom: 0; }
.feed-item:hover { background: var(--hover); }
.st-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; }
.st-ic.active { background: rgba(138, 63, 252, .13); color: var(--brand-ink); }
.st-ic.done { background: rgba(16, 185, 129, .13); color: var(--ok); }
.st-ic.failed { background: rgba(240, 70, 110, .12); color: var(--bad); }
.st-ic.cancelled { background: var(--chip); color: var(--muted); }
.feed-item .t { font-weight: 750; font-variant-numeric: tabular-nums; }
.feed-item .s { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.steps-v { display: grid; gap: 0; counter-reset: s; }
.steps-v li { list-style: none; position: relative; padding: 0 0 18px 46px; }
.steps-v li:last-child { padding-bottom: 0; }
.steps-v li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; background: var(--chip); color: var(--brand-ink); font-weight: 800; font-size: 14px; }
.steps-v li::after { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 2px; width: 1.5px; background: var(--line2); }
.steps-v li:last-child::after { display: none; }
.steps-v li.done::before { content: "✓"; background: var(--ok); color: #fff; }
.steps-v b { display: block; font-size: 14.5px; }
.steps-v span { font-size: 13px; color: var(--muted); }
.steps-v a.go { display: inline-flex; margin-top: 8px; }
.steps-v { padding: 0; margin: 0; }

.banner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; margin-bottom: 18px; font-weight: 650; }
.banner .b-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.banner.warn { background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .3); }
.banner.warn .b-ic { background: var(--warn); color: #fff; }
.banner.sale { background: linear-gradient(100deg, rgba(255, 200, 61, .25), rgba(255, 120, 80, .15)); border: 1px solid rgba(255, 170, 60, .35); }
.banner.sale .b-ic { background: linear-gradient(135deg, #ff9f43, #ff5e62); color: #fff; }
.banner span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.banner .btn { margin-left: auto; }

.onboard { display: grid; grid-template-columns: 1.1fr 2fr; gap: 26px; align-items: center; padding: 26px; margin-bottom: 18px; overflow: hidden; }
.onboard .ob-l h2 { margin: 6px 0; font-size: 24px; letter-spacing: -.03em; }
.onboard .prog { height: 8px; border-radius: 9px; background: var(--chip); overflow: hidden; margin-top: 14px; }
.onboard .prog i { display: block; height: 100%; background: var(--grad); border-radius: inherit; }
.ob-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ob-step { padding: 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--panel2); display: grid; gap: 8px; align-content: start; }
.ob-step .n { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--brand-ink); font-weight: 800; }
.ob-step.done .n { background: var(--ok); color: #fff; }
.ob-step.now { border-color: rgba(138, 63, 252, .6); box-shadow: 0 0 0 4px rgba(138, 63, 252, .1); }
.ob-step b { font-size: 14.5px; }
.ob-step span { font-size: 12.5px; color: var(--muted); }

.tools-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tool { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel2); transition: transform .25s var(--ease), border-color .2s; }
.tool:hover { transform: translateY(-3px); border-color: rgba(138, 63, 252, .4); }
.tool .t-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--brand-ink); flex: none; }
.tool b { font-size: 13.5px; display: block; line-height: 1.3; }
.tool span { font-size: 12px; color: var(--muted); }

/* ---------- slot so'rash ---------- */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.stepper .st { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 14px; color: var(--muted); }
.stepper .st i { width: 32px; height: 32px; border-radius: 11px; display: grid; place-items: center; font-style: normal; background: var(--chip); transition: background .3s, color .3s, transform .3s var(--spring); }
.stepper .st.on { color: var(--ink); }
.stepper .st.on i { background: var(--grad); color: #fff; transform: scale(1.08); box-shadow: 0 8px 18px -8px rgba(75, 22, 224, .9); }
.stepper .st.done i { background: var(--ok); color: #fff; }
.stepper .bar { flex: 1; height: 2px; border-radius: 2px; background: var(--line2); position: relative; overflow: hidden; min-width: 20px; }
.stepper .bar::after { content: ""; position: absolute; inset: 0; background: var(--ok); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .5s var(--ease); }
.wz-body { min-height: 380px; }
.wz-body h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.03em; }
.recent { margin-top: 20px; }
.recent .chips button { border: 1px solid var(--line2); background: var(--panel2); height: 34px; padding: 0 12px; border-radius: 10px; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; transition: border-color .2s, transform .2s; }
.recent .chips button:hover { border-color: var(--b2); transform: translateY(-1px); }
.wz-foot { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.wz-foot .grow { flex: 1; }

.cal-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.cal-tools .count { margin-left: auto; font-weight: 800; font-size: 14px; }
.cal-tools .count em { font-style: normal; color: var(--muted); font-weight: 650; }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.month { padding: 16px; border-radius: 20px; background: var(--panel2); border: 1px solid var(--line); }
.month h4 { margin: 0 0 10px 4px; font-size: 15px; text-transform: capitalize; }
.mgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mgrid .wd { font-size: 11px; font-weight: 800; color: var(--muted); text-align: center; padding: 4px 0; text-transform: uppercase; }
.mgrid .d { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; background: none; font-weight: 700; font-size: 14px; transition: background .15s, transform .25s var(--spring), color .15s; }
.mgrid .d:hover:not(.off) { background: var(--hover); }
.mgrid .d.off { color: var(--muted); opacity: .35; cursor: default; }
.mgrid .d.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--brand-ink); }
.mgrid .d.cur { box-shadow: inset 0 0 0 2px var(--warn); }
.mgrid .d.sel { background: var(--grad); color: #fff; transform: scale(1.04); box-shadow: 0 8px 16px -8px rgba(75, 22, 224, .9); }
.mgrid .d.sel.pop { animation: dpop .35s var(--spring); }
@keyframes dpop { 40% { transform: scale(1.2); } }

.ticket-wrap { position: sticky; top: calc(var(--top) + 14px); }
.ticket { position: relative; border-radius: 24px; color: #fff; overflow: hidden; background: #120f2e; box-shadow: var(--shadow-lg); }
.ticket .tk-top { position: relative; padding: 22px 22px 18px; background: radial-gradient(100% 120% at 100% 0%, #9b5bff, transparent 60%), var(--grad); }
.ticket .tk-top .tk-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .9; }
.ticket .tk-num { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .7); font-weight: 700; }
.ticket .tk-num b { display: block; font-size: 26px; letter-spacing: .04em; color: #fff; min-height: 34px; font-variant-numeric: tabular-nums; }
.ticket .tk-cut { position: relative; height: 22px; background: #120f2e; }
.ticket .tk-cut::before, .ticket .tk-cut::after { content: ""; position: absolute; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); }
.ticket .tk-cut::before { left: -11px; } .ticket .tk-cut::after { right: -11px; }
.ticket .tk-cut i { position: absolute; left: 20px; right: 20px; top: 0; border-top: 2px dashed rgba(255, 255, 255, .16); }
.ticket .tk-body { padding: 4px 22px 22px; display: grid; gap: 12px; }
.tk-row { display: flex; justify-content: space-between; gap: 14px; font-size: 13.5px; }
.tk-row span { color: #9c97cf; font-weight: 650; }
.tk-row b { text-align: right; font-weight: 750; }
.tk-row b.ph { color: #4e4a7a; }
.tk-days { display: flex; flex-wrap: wrap; gap: 6px; min-height: 28px; }
.tk-days .chip { background: rgba(255, 255, 255, .08); color: #fff; animation: pop .35s var(--spring); }
.tk-code { height: 44px; border-radius: 10px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 2px, transparent 2px 5px, rgba(255, 255, 255, .85) 5px 6px, transparent 6px 9px, rgba(255, 255, 255, .85) 9px 12px, transparent 12px 14px); opacity: .18; }
.stamp { position: absolute; right: 18px; top: 92px; padding: 8px 14px; border: 3px solid var(--sun); color: var(--sun); border-radius: 12px; font-weight: 900; letter-spacing: .12em; font-size: 15px; transform: rotate(-14deg) scale(2.4); opacity: 0; pointer-events: none; }
.stamp.on { animation: stamp .5s var(--spring) .15s forwards; }
@keyframes stamp { to { transform: rotate(-14deg) scale(1); opacity: 1; } }
.success { text-align: center; padding: 30px 10px; }
.success .ok-ring { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(16, 185, 129, .14); color: var(--ok); animation: pop .6s var(--spring); }
.success .ok-ring .ico { width: 44px; height: 44px; stroke-width: 2.4; }
.success h2 { margin: 0 0 6px; }

/* ---------- vazifalar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.toolbar .field { height: 44px; border-radius: 13px; flex: 1; min-width: 200px; max-width: 340px; }
.toolbar .field input { font-size: 14.5px; }
.toolbar .live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); margin-left: auto; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; }
.table th { text-align: left; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 14px 10px; }
.table td { padding: 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.table tr.row { cursor: pointer; transition: background .15s; }
.table tr.row:hover td { background: var(--hover); }
.table tr.row td:first-child { border-radius: 14px 0 0 14px; } .table tr.row td:last-child { border-radius: 0 14px 14px 0; }
.table .num { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .shop { font-size: 12.5px; color: var(--muted); }
.table .res { font-size: 13px; font-weight: 650; }
.table .res.ok { color: var(--ok); }
.table .res.bad { color: var(--bad); }
.table .when { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.detail td { padding: 0 14px 16px !important; border-top: 0 !important; }
.detail .tl { display: flex; gap: 0; padding: 16px; border-radius: 16px; background: var(--panel2); overflow-x: auto; }
.tl-step { flex: 1; min-width: 140px; position: relative; padding-top: 26px; }
.tl-step::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--line2); }
.tl-step:first-child::before { left: 8px; }
.tl-step i { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--line2); border: 3px solid var(--panel2); }
.tl-step.ok i { background: var(--ok); } .tl-step.ok::before { background: var(--ok); }
.tl-step.now i { background: var(--b2); animation: ping 1.8s infinite; }
.tl-step.bad i { background: var(--bad); }
.tl-step b { display: block; font-size: 13.5px; } .tl-step span { font-size: 12px; color: var(--muted); }
.tcards { display: none; }
.tcard { padding: 16px; display: grid; gap: 12px; }
.tcard .hd { display: flex; align-items: center; gap: 12px; }
.tcard .hd .grow { flex: 1; min-width: 0; }

/* ---------- hamyon ---------- */
.wallet-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; margin-bottom: 22px; }
.split { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.split .sp { padding: 14px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line); }
.split .sp b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.split .sp span { font-size: 12px; color: var(--muted); font-weight: 650; }
.pkgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.pkg { position: relative; text-align: left; padding: 20px; border-radius: 22px; border: 1.5px solid var(--line2); background: var(--panel); box-shadow: var(--shadow); display: grid; gap: 4px; overflow: hidden; transition: transform .3s var(--ease), border-color .2s, box-shadow .3s; transform-style: preserve-3d; }
.pkg:hover { border-color: rgba(138, 63, 252, .55); box-shadow: 0 24px 50px -24px rgba(75, 22, 224, .55); }
.pkg .glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 63, 252, .16), transparent 60%); }
.pkg:hover .glow { opacity: 1; }
.pkg.hot { background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border-color: transparent; }
.pkg .flag { position: absolute; top: 14px; right: 14px; height: 24px; padding: 0 9px; border-radius: 8px; background: var(--sun); color: var(--sun-ink); font-size: 11.5px; font-weight: 800; display: grid; place-items: center; text-transform: uppercase; letter-spacing: .04em; }
.pkg .qty { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 6px; }
.pkg .qty small { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.pkg .qty em { font-style: normal; font-size: 15px; color: var(--ok); margin-left: 6px; }
.pkg .per { font-size: 12.5px; color: var(--muted); font-weight: 650; }
.pkg .price { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line2); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pkg .price b { font-size: 19px; font-weight: 800; }
.pkg .price s { font-size: 13px; color: var(--muted); }
.pkg .save { display: inline-flex; width: max-content; height: 22px; padding: 0 8px; border-radius: 7px; background: rgba(16, 185, 129, .13); color: var(--ok); font-size: 11.5px; font-weight: 800; align-items: center; }
.qty-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.qty-big { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.qty-big small { font-size: 18px; color: var(--muted); font-weight: 700; letter-spacing: 0; margin-left: 6px; }
input[type=range].rng { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 9px; background: linear-gradient(90deg, var(--b1), var(--b2)) 0 / var(--fill, 20%) 100% no-repeat, var(--chip); outline: none; margin: 22px 0 10px; }
input[type=range].rng::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--b2); box-shadow: 0 6px 16px -4px rgba(75, 22, 224, .7); cursor: grab; transition: transform .2s var(--spring); }
input[type=range].rng::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type=range].rng::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--b2); }
.rng-marks { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 700; }
.history { display: grid; }
.h-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.h-item:last-child { border-bottom: 0; }
.h-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--ink2); }
.h-ic.plus { background: rgba(16, 185, 129, .13); color: var(--ok); }
.h-item .t { font-weight: 700; font-size: 14px; }
.h-item .s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-item .v { font-weight: 800; font-variant-numeric: tabular-nums; }
.h-item .v.plus { color: var(--ok); }

/* ---------- do'konlar ---------- */
.shops-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.shop-card { padding: 20px; display: grid; gap: 14px; overflow: hidden; }
.shop-card .top { display: flex; align-items: center; gap: 12px; }
.shop-card .shop-ava { width: 52px; height: 52px; font-size: 20px; border-radius: 16px; }
.shop-card .id { font-size: 12.5px; color: var(--muted); font-weight: 650; }
.shop-card .deco { position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(138, 63, 252, .15), transparent 70%); }
.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.phone-chip { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--panel2); border: 1px dashed var(--line2); margin-top: 14px; }
.phone-chip b { font-size: 18px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.phone-chip .btn { margin-left: auto; }

/* ---------- sozlamalar ---------- */
.settings { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
.profile-card { text-align: center; padding: 30px 22px; overflow: hidden; }
.profile-card .pc-bg { position: absolute; inset: 0 0 auto; height: 96px; background: var(--grad); }
.profile-card .pc-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(255, 200, 61, .5), transparent 50%); }
.profile-card .avatar { position: relative; width: 84px; height: 84px; font-size: 32px; border-radius: 26px; margin: 22px auto 12px; border: 4px solid var(--panel); }
.profile-card h3 { margin: 0; font-size: 20px; }
.profile-card .id { color: var(--muted); font-size: 13px; font-weight: 650; }
.rows { display: grid; }
.set-row { display: flex; align-items: center; gap: 14px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.set-row:last-child { border-bottom: 0; }
.set-row .s-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--chip); color: var(--brand-ink); flex: none; }
.set-row .grow { flex: 1; min-width: 0; }
.set-row b { display: block; font-size: 14.5px; }
.set-row span { font-size: 12.5px; color: var(--muted); }
.qa { border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 15px 4px; font-weight: 700; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ico { margin-left: auto; transition: transform .3s var(--ease); color: var(--muted); }
.qa[open] summary .ico { transform: rotate(90deg); }
.qa p { margin: 0 4px 16px; color: var(--muted); font-size: 14px; animation: rise .35s var(--ease); }

/* ---------- qatlamlar: modal, palitra, toast ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(8, 6, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .25s var(--ease); }
.scrim.out { animation: fade .2s var(--ease) reverse forwards; }
@keyframes fade { from { opacity: 0; } }
.modal { width: min(480px, 100%); max-height: min(88vh, 820px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 26px; animation: modalIn .45s var(--spring); position: relative; }
.modal.wide { width: min(620px, 100%); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.modal .x { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 11px; border: 0; background: var(--chip); display: grid; place-items: center; color: var(--muted); }
.modal h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -.02em; }
.modal .sub { color: var(--muted); margin: 0 0 18px; }
.method { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 18px; border: 1.5px solid var(--line2); background: var(--panel2); text-align: left; margin-bottom: 10px; transition: border-color .2s, transform .2s var(--spring); }
.method:hover { border-color: var(--b2); transform: translateY(-2px); }
.method .m-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.method b { display: block; } .method span { font-size: 12.5px; color: var(--muted); }
.method .amt { margin-left: auto; font-weight: 800; white-space: nowrap; }
.bank-card { position: relative; aspect-ratio: 1.6; border-radius: 22px; padding: 22px; color: #fff; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(120% 100% at 100% 0%, #9b5bff, transparent 55%), linear-gradient(135deg, #1c0f5e, #4b16e0 60%, #8a3ffc); box-shadow: 0 26px 50px -24px rgba(75, 22, 224, .9); margin-bottom: 18px; }
.bank-card .chipx { width: 44px; height: 32px; border-radius: 7px; background: linear-gradient(135deg, #ffe08a, #d4a017); margin: 14px 0 auto; }
.bank-card .no { font-size: clamp(18px, 4.4vw, 23px); font-weight: 800; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.bank-card .row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 10px; gap: 10px; }
.bank-card .row span { font-size: 13px; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.bank-card .bank { font-weight: 800; opacity: .9; }
.timer { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: var(--panel2); border: 1px solid var(--line); margin: 14px 0; }
.timer svg { width: 54px; height: 54px; transform: rotate(-90deg); flex: none; }
.timer circle { fill: none; stroke-width: 5; }
.timer .tr { stroke: var(--line2); } .timer .tv { stroke: var(--b2); stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke .3s; }
.timer.urgent .tv { stroke: var(--bad); }
.timer b { font-size: 22px; font-variant-numeric: tabular-nums; }
.timer span { display: block; font-size: 12.5px; color: var(--muted); }
.drop { display: grid; justify-items: center; gap: 8px; padding: 26px; border-radius: 20px; border: 2px dashed var(--line2); text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--b2); background: var(--hover); color: var(--ink); }
.drop .d-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--chip); color: var(--brand-ink); }
.ol { padding: 0; margin: 0 0 6px; counter-reset: o; display: grid; gap: 10px; }
.ol li { list-style: none; display: flex; gap: 12px; font-size: 14px; }
.ol li::before { counter-increment: o; content: counter(o); width: 26px; height: 26px; border-radius: 9px; background: var(--chip); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }

.palette { width: min(600px, 100%); align-self: start; margin-top: 12vh; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; animation: modalIn .35s var(--spring); }
.palette .p-in { display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 62px; border-bottom: 1px solid var(--line); }
.palette .p-in input { flex: 1; border: 0; outline: 0; background: none; font-size: 17px; font-weight: 650; }
.palette .p-list { max-height: 380px; overflow: auto; padding: 8px; }
.palette .p-g { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 4px; }
.palette .p-it { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 0; border-radius: 12px; background: none; text-align: left; font-weight: 650; }
.palette .p-it .p-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--brand-ink); }
.palette .p-it.on { background: var(--hover); }
.palette .p-it.on .p-ic { background: var(--grad); color: #fff; }
.palette .p-it kbd { margin-left: auto; font: 700 11px/1 "Manrope"; color: var(--muted); }
.palette .p-foot { display: flex; gap: 16px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); font-weight: 650; }

.menu-pop { position: fixed; z-index: 70; min-width: 230px; padding: 8px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-lg); animation: modalIn .3s var(--spring); }
.menu-pop .mp-h { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-pop .mp-h b { display: block; } .menu-pop .mp-h span { font-size: 12.5px; color: var(--muted); }
.menu-pop a, .menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 11px; border: 0; background: none; font-weight: 650; font-size: 14px; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--hover); }

.toasts { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 16px; border-radius: 16px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 14px; box-shadow: var(--shadow-lg); animation: toastIn .45s var(--spring); pointer-events: auto; }
.toast .t-dot { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--ok); color: #fff; flex: none; }
.toast.bad .t-dot { background: var(--bad); }
.toast.out { animation: toastIn .25s var(--ease) reverse forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.95); } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: fall 2.4s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes fall { to { transform: translate(var(--dx), 105vh) rotate(var(--r)); opacity: .9; } }

/* ---------- mobil va Telegram ---------- */
.mtop, .dock { display: none; }
@media (max-width: 1180px) {
  .c5 { grid-column: span 6; } .c4 { grid-column: span 6; } .c3 { grid-column: span 12; }
  .kpis { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .c8, .c7 { grid-column: span 12; } .c4.side-col { grid-column: span 12; }
  .tools-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wizard { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1023px) {
  :root { --side: 84px; }
  .side { padding: 20px 12px; align-items: center; }
  .brand span, .nav-group, .nav a span, .nav .count, .nav .ext, .side-cta, .nav .live-dot { display: none; }
  .brand { padding: 4px 0 18px; }
  .nav a { justify-content: center; padding: 12px; }
  .nav a.on::before { left: -12px; }
  .cmdk { width: auto; } .cmdk span, .cmdk kbd { display: none; }
  .wizard, .wallet-top, .connect, .settings, .onboard { grid-template-columns: 1fr; }
  .ticket-wrap { position: static; order: -1; }
  .ob-steps { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  body { font-size: 14.5px; }
  .shell { display: block; }
  .side, .topbar { display: none; }
  .mtop { display: flex; position: sticky; top: 0; z-index: 20; align-items: center; gap: 10px; height: 62px; padding: 0 16px;
    background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; }
  .mtop.scrolled { border-bottom-color: var(--line); }
  .mtop .brand { padding: 0; font-size: 17px; gap: 10px; } .mtop .brand img { width: 34px; height: 34px; }
  .mtop .bal-chip { margin-left: auto; height: 38px; } .mtop .avatar { width: 38px; height: 38px; border-radius: 12px; }
  .page { padding: 4px 16px 120px; }
  .bento { gap: 14px; }
  .c5, .c4, .c3, .c6 { grid-column: span 12; }
  .kpis { gap: 10px; }
  .kpi { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .kpi b { font-size: 20px; }
  .balance { min-height: 0; padding: 22px; }
  .balance .big { font-size: 52px; }
  .hello .acts { display: none; }
  .tools-row { grid-template-columns: 1fr 1fr; }
  .tool { flex-direction: column; align-items: flex-start; }
  .table { display: none; } .tcards { display: grid; gap: 12px; }
  .toolbar .field { max-width: none; flex-basis: 100%; }
  .toolbar .live { margin-left: 0; }
  .split .sp b { font-size: 18px; }
  .qty-big { font-size: 48px; }
  .dock { display: flex; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 66px; padding: 0 8px; align-items: center; justify-content: space-around;
    border-radius: 22px; background: #0d0b22; box-shadow: 0 20px 40px -16px rgba(13, 11, 34, .7); }
  .dock a { display: grid; justify-items: center; gap: 3px; width: 62px; padding: 6px 0; color: #8f8ac0; font-size: 10.5px; font-weight: 750; transition: color .2s; }
  .dock a.on { color: #fff; } .dock a.on .ico { color: var(--sun); }
  .dock .fab { width: 58px; height: 58px; margin-top: -30px; border-radius: 19px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 0 0 5px var(--bg), 0 14px 26px -8px rgba(75, 22, 224, .9); transition: transform .25s var(--spring); }
  .dock .fab:active { transform: scale(.92); }
  .dock .fab .ico { width: 26px; height: 26px; stroke-width: 2.4; }
  .toasts { left: 16px; right: 16px; bottom: 96px; justify-items: stretch; }
  .scrim { place-items: end center; padding: 0; }
  .modal { width: 100%; border-radius: 28px 28px 0 0; max-height: 92vh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); animation: sheetIn .45s var(--spring); }
  @keyframes sheetIn { from { transform: translateY(100%); } }
  .palette { margin-top: 8vh; width: calc(100% - 24px); }
  .wz-body h2 { font-size: 22px; }
  .field.xl input { font-size: 21px; }
  .months { grid-template-columns: 1fr; }
  .wz-foot { position: sticky; bottom: 90px; background: var(--panel); margin: 18px -22px -22px; padding: 14px 22px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
}
@media (max-width: 460px) { .stepper .st span { display: none; } .stepper .st.on span { display: inline; } }
/* Telegram ichida: tizim paneli yo'q, xavfsiz hudud */
html.tg .mtop { padding-top: 0; }
html.tg .page { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* ---------- vositalar ---------- */
.banner.notice { background: linear-gradient(100deg, rgba(138, 63, 252, .14), rgba(75, 22, 224, .06)); border: 1px solid rgba(138, 63, 252, .28); }
.banner.notice .b-ic { background: var(--grad); color: var(--sun); }
.tool-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tcard2 { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); transition: transform .3s var(--ease), border-color .2s; }
.tcard2::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 63, 252, .14), transparent 60%); pointer-events: none; }
a.tcard2:hover { transform: translateY(-4px); border-color: rgba(138, 63, 252, .45); }
a.tcard2:hover::before { opacity: 1; }
.tcard2 .badge { position: absolute; top: 20px; right: 20px; }
.tcard2 b { font-size: 16px; margin-top: 8px; }
.tcard2 .muted { font-size: 13.5px; }
.tcard2 .go { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 750; font-size: 13.5px; color: var(--brand-ink); }
.tcard2.soon { opacity: .62; } .tcard2.soon .tool-glyph { filter: grayscale(.6); }
.tool-glyph { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; box-shadow: 0 12px 24px -12px rgba(40, 20, 120, .7); }
.tool-head .h1 { font-size: clamp(24px, 2.6vw, 30px); }
.tool-switch { flex-wrap: wrap; }
.tool-switch .chip { gap: 6px; height: 34px; transition: background .2s; }
.tool-switch .chip:hover { background: color-mix(in srgb, var(--chip) 60%, var(--b2) 20%); }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.tool-out { position: sticky; top: calc(var(--top) + 14px); transition: background .3s; }
.tool-out.loss { background: color-mix(in srgb, var(--panel) 90%, var(--bad) 10%); }
.tl-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tf { display: grid; gap: 7px; min-width: 0; }
.tf-wide { grid-column: 1 / -1; }
.tf-l { font-size: 13px; font-weight: 700; color: var(--muted); }
.tf-in { display: flex; align-items: center; height: 50px; border-radius: 14px; background: var(--panel2); border: 1.5px solid var(--line2); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.tf-in:focus-within { border-color: var(--b2); box-shadow: 0 0 0 4px rgba(138, 63, 252, .12); }
.tf-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; padding: 0 12px; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.tf-in input.bump { animation: bump .3s var(--spring); }
@keyframes bump { 40% { transform: scale(1.06); } }
.tf-in em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--muted); padding-right: 6px; }
.tf-b { width: 38px; height: 100%; border: 0; background: none; color: var(--muted); font-size: 18px; font-weight: 700; display: grid; place-items: center; transition: background .15s, color .15s; flex: none; }
.tf-b:hover { background: var(--hover); color: var(--brand-ink); }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-chips button { height: 38px; padding: 0 14px; border-radius: 11px; border: 1.5px solid var(--line2); background: var(--panel2); font-weight: 750; font-size: 13.5px; transition: all .2s; }
.tf-chips button.on { background: var(--grad); color: #fff; border-color: transparent; }
.tool-note { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.tool-note .ico { flex: none; margin-top: 1px; }
.tr-l { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.tr-big { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; margin: 6px 0 14px; font-variant-numeric: tabular-nums; }
.tr-big.bad { color: var(--bad); }
.tr-warn { color: var(--bad); font-weight: 700; margin: -6px 0 12px; }
.tr-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.tr-row span { color: var(--muted); font-weight: 650; }
.tr-row b { font-variant-numeric: tabular-nums; text-align: right; }
.tr-row b.acc, .acc { color: var(--brand-ink); }
.neg { color: var(--bad); }
.tr-alert { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 14px; border-radius: 14px; font-weight: 650; font-size: 14px; }
.tr-alert.ok { background: rgba(16, 185, 129, .1); color: var(--ok); }
.tr-alert.bad { background: rgba(240, 70, 110, .1); color: var(--bad); }
.tr-alert .ico { flex: none; margin-top: 1px; }
.tr-kpis { display: grid; grid-template-columns: 1fr 1fr 1.7fr; gap: 10px; margin-bottom: 16px; }
.tr-kpis div { padding: 12px; border-radius: 14px; background: var(--panel2); border: 1px solid var(--line); min-width: 0; }
.tr-kpis b { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-kpis span { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.tr-donut { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.tr-donut svg { width: 150px; height: 150px; transform: rotate(-90deg); }
.tr-donut circle { transition: stroke-dasharray .6s var(--ease), stroke-dashoffset .6s var(--ease); }
.tr-donut text { transform: rotate(90deg); transform-origin: 70px 70px; fill: var(--ink); }
.tr-donut .d-v { font-size: 20px; font-weight: 800; } .tr-donut .d-l { font-size: 10px; font-weight: 700; fill: var(--muted); }
.tr-legend { display: grid; gap: 7px; font-size: 13px; font-weight: 650; }
.tr-legend span { display: flex; align-items: center; gap: 8px; }
.tr-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.tr-legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.tr-stack { display: flex; height: 12px; border-radius: 9px; overflow: hidden; margin-top: 16px; gap: 2px; }
.tr-stack i { transition: flex .5s var(--ease); }
.tr-bars { display: grid; gap: 10px; margin: 14px 0 4px; }
.tr-bars div { display: grid; grid-template-columns: 1fr; gap: 4px; position: relative; }
.tr-bars span { font-size: 12px; color: var(--muted); font-weight: 650; }
.tr-bars i { display: block; height: 10px; border-radius: 9px; background: var(--chip); transition: width .5s var(--ease); background: #94a3b8; }
.tr-bars i.hot { background: var(--grad); }
.tr-bars b { position: absolute; right: 0; top: 0; font-size: 12.5px; }
.tr-gauge { position: relative; height: 14px; border-radius: 9px; background: var(--chip); margin: 4px 0 30px; }
.tr-gauge .g-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: linear-gradient(90deg, #10b981, #34d399); transition: width .5s var(--ease); }
.tr-gauge .g-fill.bad { background: linear-gradient(90deg, #f59e0b, #f0466e); }
.tr-gauge .g-mark { position: absolute; top: -5px; bottom: -5px; width: 3px; border-radius: 2px; background: var(--ink); transition: left .5s var(--ease); }
.tr-gauge .g-mark em { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 800; white-space: nowrap; color: var(--muted); }
.tr-time { position: relative; height: 56px; margin: 12px 8px 0; }
.tr-time .tt-bar { position: absolute; left: 0; right: 0; top: 10px; height: 8px; border-radius: 9px; background: linear-gradient(90deg, var(--ok), var(--warn), var(--bad)); opacity: .85; }
.tr-time .tt-safe { position: absolute; top: 6px; height: 16px; border-radius: 9px; border: 2px dashed var(--b2); max-width: 100%; }
.tr-time span { position: absolute; top: 24px; transform: translateX(-50%); font-size: 11.5px; font-weight: 750; white-space: nowrap; color: var(--muted); }
.tr-time span i { position: absolute; top: -20px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); border: 3px solid var(--panel); }
.tr-time span.ship i { background: var(--b2); } .tr-time span.out i { background: var(--bad); }
.tr-time span:first-of-type { transform: none; } .tr-time span.out { transform: translateX(-100%); }
.bc-box { display: grid; place-items: center; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.bc-box svg { max-width: 100%; height: auto; }
.bc-code { text-align: center; font: 800 22px/1.4 ui-monospace, monospace; letter-spacing: .12em; margin: 12px 0; }
.bc-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.bc-acts .btn { flex: 1; }
.sv-list { display: grid; gap: 12px; margin-top: 12px; }
.sv { padding: 16px; border-radius: 16px; background: var(--panel2); border: 1px solid var(--line); animation: rise .4s var(--ease) both; }
.sv p { margin: 0; font-weight: 700; line-height: 1.45; }
.sv-f { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.sv-meter { flex: 1; height: 6px; border-radius: 9px; background: var(--chip); overflow: hidden; }
.sv-meter i { display: block; height: 100%; background: var(--warn); transition: width .3s; } .sv-meter i.ok { background: var(--ok); }
@media (max-width: 1023px) { .tool-grid { grid-template-columns: 1fr; } .tool-out { position: static; } }
@media (max-width: 719px) {
  .tl-form { grid-template-columns: 1fr; }
  .tool-head > div:first-child { flex-wrap: wrap; }
  .tool-switch { display: none; }
  .tr-donut { grid-template-columns: 1fr; justify-items: center; }
  .tr-kpis b { font-size: 15px; }
}
