:root {
  --bg: #F3F5F9;
  --ink: #1C2230;
  --ink-2: #5B6475;
  --ink-3: #9AA2B1;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --soft: rgba(236, 239, 245, 0.9);
  --blue: #2F6FEB;
  --blue-2: #5B8CF5;
  --blue-soft: #EAF1FE;
  --green: #1F9D6B;
  --red: #E0524A;
  --violet: #8B7CF6;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-pill: 999px;
  --blur: blur(24px) saturate(160%);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }

/* fon: yumshoq iridescent dog'lar */
.bg { position: fixed; inset: 0; overflow: hidden; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.b1 { width: 420px; height: 420px; left: -140px; top: -120px; background: #BFD3FF; }
.b2 { width: 360px; height: 360px; right: -120px; top: 30%; background: #E2D6FF; }
.b3 { width: 380px; height: 380px; left: 10%; bottom: -180px; background: #CFF3E4; }

.app { max-width: 480px; margin: 0 auto; padding: 20px 16px 120px; }

/* shisha karta */
.glass {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-xl);
}
.card { padding: 20px; }
.stack > * + * { margin-top: 14px; }

/* tipografiya */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  background: linear-gradient(90deg, #8FB2F7, #B9A6F6 45%, #9BD9C3);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.title { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.small { font-size: 13px; }

/* tugmalar */
.btn {
  height: 52px; padding: 0 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform .15s ease, background .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: var(--soft); color: var(--ink); }
.btn-ghost { background: var(--blue-soft); color: var(--blue); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--glass-strong); color: var(--ink-2);
}
.icon-btn svg { width: 20px; height: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 14px; border-radius: var(--r-pill); background: var(--soft);
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.chip.active { background: var(--blue); color: #fff; }
.chip.lite { background: rgba(255,255,255,.7); }

/* inputlar */
.field { display: block; }
.field span { display: block; font-size: 13px; color: var(--ink-2); margin: 0 0 6px 4px; }
.input {
  width: 100%; height: 52px; border-radius: var(--r-md); border: 0; padding: 0 16px;
  background: rgba(255,255,255,.85); font-size: 16px; outline: none;
  transition: box-shadow .2s ease;
}
.input:focus { box-shadow: 0 0 0 2px rgba(47,111,235,.25); }

/* yozish paneli */
.composer { display: flex; gap: 10px; align-items: center; }
.composer .input { flex: 1; border-radius: var(--r-pill); height: 56px; padding: 0 22px; background: var(--glass-strong); }
.composer .send { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.composer .send svg { width: 22px; height: 22px; }
.composer .mic { width: 56px; height: 56px; }
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(243,245,249,.96) 60%, rgba(243,245,249,0));
}
.dock .composer { max-width: 448px; margin: 0 auto; }

/* sarlavha */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.topbar .who { display: flex; align-items: center; gap: 12px; }

/* orb */
.orb {
  width: 64px; height: 64px; border-radius: 50%; position: relative; flex: none;
  background: radial-gradient(circle at 35% 30%, #fff 0 18%, transparent 45%),
              conic-gradient(from 200deg, #9CC0FF, #C9B8FF, #A8EBD3, #FFD6E8, #9CC0FF);
  filter: saturate(1.1);
  animation: orb 9s linear infinite;
}
.orb::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: inherit; filter: blur(16px); opacity: .45; z-index: -1; }
.orb.sm { width: 40px; height: 40px; }
@keyframes orb { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

/* bosh ekran */
.hero { position: relative; overflow: hidden; padding: 28px 22px 22px; }
.hero::before {
  content: ""; position: absolute; inset: 30% -20% -30% -20%;
  background: radial-gradient(40% 50% at 15% 70%, rgba(200,240,190,.75), transparent 70%),
              radial-gradient(40% 50% at 85% 60%, rgba(196,186,255,.7), transparent 70%),
              radial-gradient(45% 50% at 60% 90%, rgba(170,210,255,.75), transparent 70%),
              radial-gradient(30% 40% at 95% 20%, rgba(255,200,210,.5), transparent 70%);
  filter: blur(20px); z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero h2 { font-size: 34px; margin: 56px 0 16px; line-height: 1.05; }

.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.module {
  text-align: left; padding: 18px; border-radius: var(--r-lg); min-height: 150px;
  display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
}
.module .art { width: 56px; height: 56px; border-radius: 18px; filter: blur(.2px); }
.module.finance .art { background: radial-gradient(circle at 40% 70%, #6F8CFF, #B6C8FF 55%, #EAF0FF); }
.module.work .art { background: radial-gradient(circle at 60% 30%, #9BE3C8, #D9F5EA 60%, #F7FFFB); }
.module b { font-size: 17px; font-weight: 600; display: block; margin-top: 14px; }
.module small { color: var(--ink-2); font-size: 13px; line-height: 1.35; display: block; margin-top: 4px; }
.badge { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 600; color: var(--ink-3); background: var(--soft); padding: 4px 8px; border-radius: var(--r-pill); }

/* balans kartasi */
.balance {
  position: relative; overflow: hidden; color: #fff; padding: 22px; border-radius: var(--r-xl);
  background: radial-gradient(120% 140% at 50% 120%, #8FD3FF 0%, #4E86F0 45%, #3A6FE0 100%);
}
.balance::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.45), transparent 65%);
}
.balance .label { font-size: 13px; opacity: .85; }
.balance .total { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 16px; }
.balance .row { display: flex; gap: 10px; position: relative; z-index: 1; }
.balance .pill { flex: 1; background: rgba(255,255,255,.18); border-radius: var(--r-md); padding: 10px 12px; }
.balance .pill small { display: block; font-size: 12px; opacity: .85; }
.balance .pill b { font-size: 15px; font-weight: 600; }

.wallets { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.wallets::-webkit-scrollbar { display: none; }
.wallet { flex: none; min-width: 140px; padding: 14px 16px; border-radius: var(--r-lg); text-align: left; }
.wallet small { color: var(--ink-2); font-size: 13px; }
.wallet b { display: block; font-size: 16px; font-weight: 600; margin-top: 6px; white-space: nowrap; }
.wallet.neg b { color: var(--red); }

/* natija kartasi */
.result { padding: 18px 20px; }
.result ol { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: n; }
.result li { counter-increment: n; display: flex; align-items: baseline; gap: 10px; padding: 7px 0; font-size: 16px; }
.result li::before { content: counter(n) "."; color: var(--ink-3); font-size: 14px; width: 18px; flex: none; }
.result li .what { flex: 1; min-width: 0; }
.result li .amt { font-weight: 600; white-space: nowrap; }
.result .err { color: var(--red); font-size: 14px; margin-top: 8px; }
.result .hint { color: var(--ink-3); font-size: 13px; margin-top: 8px; }
.inc { color: var(--green); }

/* ro'yxat */
.seg { display: flex; background: var(--soft); border-radius: var(--r-pill); padding: 4px; }
.seg button { flex: 1; height: 40px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.seg button.active { background: #fff; color: var(--ink); }

.list { padding: 6px 8px; }
.day-head { display: flex; justify-content: space-between; padding: 14px 12px 6px; font-size: 13px; color: var(--ink-3); font-weight: 600; }
.row-tx { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); text-align: left; transition: background .2s ease; }
.row-tx:hover { background: rgba(255,255,255,.6); }
.row-tx .ico { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.85); display: grid; place-items: center; font-size: 20px; flex: none; }
.row-tx .mid { flex: 1; min-width: 0; }
.row-tx .mid b { display: block; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-tx .mid small { color: var(--ink-3); font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-tx .amt { font-weight: 600; text-align: right; white-space: nowrap; font-size: 15px; }
.row-tx .amt small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.empty { text-align: center; padding: 34px 20px; color: var(--ink-3); }

/* toifalar chiziqlari */
.bars .bar-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 8px 0; font-size: 14px; }
.bars .track { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.bars .fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--blue-2), var(--violet)); }

/* pastki varaq (tahrirlash) */
.scrim { position: fixed; inset: 0; background: rgba(28,34,48,.18); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .2s ease; z-index: 20; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; z-index: 21;
  background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 12px 20px calc(20px + env(safe-area-inset-bottom));
  max-height: 88vh; overflow-y: auto; animation: up .28s cubic-bezier(.2,.8,.2,1);
}
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.12); margin: 0 auto 14px; }
.sheet h3 { margin: 0 0 14px; font-size: 20px; font-weight: 600; }
.sheet .group { margin-top: 16px; }
.sheet .group > span { display: block; font-size: 13px; color: var(--ink-2); margin: 0 0 8px 4px; }
.sheet .actions { display: flex; gap: 10px; margin-top: 22px; }
.sheet .actions .btn { flex: 1; }
.amount-row { display: flex; gap: 10px; }
.amount-row .input { flex: 1; font-size: 22px; font-weight: 600; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }

.toast {
  position: fixed; left: 50%; bottom: 100px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(28,34,48,.88); color: #fff; padding: 12px 16px; border-radius: var(--r-pill); font-size: 14px;
  display: flex; gap: 14px; align-items: center; transition: all .25s ease; z-index: 30; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { color: #9CC0FF; font-weight: 600; }

.login { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; }
.login .card { padding: 28px 22px; }
.login h1 { font-size: 30px; margin: 18px 0 6px; line-height: 1.1; }
.error-text { color: var(--red); font-size: 14px; min-height: 20px; margin: 8px 4px 0; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 4px 10px; }
.section-title h3 { margin: 0; font-size: 17px; font-weight: 600; }
.fade-in { animation: fade .35s ease; }

/* bo'lim ichidagi tablar */
.tabs { margin-bottom: 4px; }
.period-nav { display: flex; align-items: center; justify-content: space-between; margin: 14px 0; }
.period-nav b { font-size: 17px; font-weight: 600; }
.icon-btn.flip svg { transform: rotate(180deg); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

/* ustunli diagramma: bitta qator, ingichka ustunlar, yuqori uchi yumaloq */
.cols { display: flex; align-items: flex-end; gap: 2px; height: 150px; padding-top: 6px; }
.col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: pointer; outline: none; }
.col-bar { width: 100%; max-width: 18px; border-radius: 4px 4px 0 0; background: var(--blue-2); transition: background .2s ease; }
.col.on .col-bar, .col:hover .col-bar { background: var(--blue); }
.col-lab { font-size: 10px; color: var(--ink-3); height: 16px; line-height: 16px; margin-top: 4px; }
.cols { border-bottom: 1px solid rgba(28,34,48,.08); padding-bottom: 0; }
.col-tip { margin-top: 10px; min-height: 18px; }
.report-text { white-space: pre-wrap; font-family: var(--font); font-size: 15px; line-height: 1.55; margin: 0; background: rgba(255,255,255,.7); border-radius: var(--r-md); padding: 16px; }

/* qarz kartalari */
.debt { width: 100%; text-align: left; padding: 16px; border-radius: var(--r-lg); display: block; }
.debt-top { display: flex; align-items: center; gap: 12px; }
.debt .ico { width: 40px; height: 40px; border-radius: 14px; background: rgba(255,255,255,.85); display: grid; place-items: center; font-size: 18px; color: var(--blue); flex: none; }
.debt .mid { flex: 1; min-width: 0; }
.debt .mid b { display: block; font-size: 16px; font-weight: 600; }
.debt .mid small, .debt .amt small { color: var(--ink-3); font-size: 12px; }
.debt .amt { text-align: right; font-weight: 600; white-space: nowrap; }
.debt .amt small { display: block; font-weight: 500; }
.debt .track { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; margin-top: 12px; }
.debt .fill { height: 100%; background: linear-gradient(90deg, var(--blue-2), var(--violet)); border-radius: 6px; }
.debt.closed { opacity: .6; }
.debt-due { font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.debt-due.late { color: var(--red); font-weight: 600; }

/* mikrofon holatlari */
.mic.rec { background: var(--red); color: #fff; animation: pulse 1.4s ease-in-out infinite; }
.mic.busy { background: var(--blue-soft); color: var(--blue); animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); opacity: .85; } }

/* Ish hisobi */
.work-hero { background: radial-gradient(120% 140% at 50% 120%, #A8EBD3 0%, #5FB8A0 45%, #3E9A86 100%); }
.hist { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-size: 14px; }
.hist b { white-space: nowrap; }
.hist button { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); color: var(--ink-2); font-size: 16px; flex: none; }

/* ish joylari: uzun qatorlar */
.place-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px 16px 18px 20px; border-radius: var(--r-lg); text-align: left; }
.place-row .mid { flex: 1; min-width: 0; }
.place-row .mid b { display: block; font-size: 17px; font-weight: 600; }
.place-row .mid small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 3px; line-height: 1.35; }
.place-row .amt { text-align: right; font-weight: 600; white-space: nowrap; }
.place-row .amt small { display: block; color: var(--ink-3); font-size: 12px; font-weight: 500; }
.chev { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.month-row { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 12px; border-radius: var(--r-md); font-size: 15px; text-align: left; }
.month-row + .month-row { border-top: 1px solid rgba(28,34,48,.05); }
.month-row b { font-weight: 600; white-space: nowrap; }
.link-btn { display: block; margin: 18px auto 0; color: var(--ink-3); font-size: 14px; padding: 8px 14px; }
select.input { appearance: none; -webkit-appearance: none; }

/* Safari/Telegram: parol maydonidagi tizim ikonkalarini (Caps Lock, avtoto'ldirish) yashirish */
input::-webkit-caps-lock-indicator,
input::-webkit-credentials-auto-fill-button,
input::-webkit-contacts-auto-fill-button,
input::-webkit-strong-password-auto-fill-button { display: none !important; visibility: hidden; pointer-events: none; width: 0; }
input::-ms-reveal, input::-ms-clear { display: none; }
.input.pin { letter-spacing: .5em; font-size: 22px; text-align: center; }
.month-row .m-left { display: flex; flex-direction: column; gap: 8px; flex: none; white-space: nowrap; }
.month-row .m-right { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.month-row .m-right small { font-size: 12px; }
.m-track { display: block; height: 4px; width: 90px; border-radius: 4px; background: var(--soft); overflow: hidden; }
.m-track span { display: block; height: 100%; border-radius: 4px; background: #5FB8A0; }
.amount-preview { font-size: 13px; color: var(--blue); margin: 6px 6px 0; min-height: 18px; font-weight: 600; }
.icon-btn svg { pointer-events: none; }

/* ===================================================================
   Bento uslubi (foydalanuvchi referensi, 2026-10-19): och kulrang fon, oq kartalar,
   katta yumshoq burchaklar, ko'k gradient sarlavhalar, ko'k doira ikonkalar,
   pill tugmalar ko'k gradient. Yuqoridagi qoidalarni ustidan yozadi.
   =================================================================== */
:root {
  --bg: #F2F2F4;
  --ink: #111114;
  --ink-2: #5E5E66;
  --ink-3: #9C9CA3;
  --card: #FFFFFF;
  --soft: #F2F2F4;
  --blue: #2E7CF6;
  --blue-2: #56A8F5;
  --blue-soft: #E9F2FF;
  --grad-blue: linear-gradient(135deg, #2F80ED 0%, #56CCF2 100%);
  --grad-violet: linear-gradient(135deg, #7B61FF 0%, #B58CFF 100%);
  --green: #1FA463;
  --green-soft: #E3F6EC;
  --red: #E5484D;
  --red-soft: #FDECEC;
  --r-xl: 28px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow: 0 1px 2px rgba(17,17,20,.04), 0 8px 24px rgba(17,17,20,.04);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
}
body { background: var(--bg); letter-spacing: -.01em; }
.bg { display: none; }

/* kartalar: oq, chegarasiz, juda yumshoq soya */
.glass {
  background: var(--card); border: 0; box-shadow: var(--shadow);
  backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: var(--r-xl);
}

/* sarlavhalar: qalin, ko'k gradient */
.serif, .grad-title {
  font-family: var(--font); font-weight: 800; letter-spacing: -.03em;
  background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { background: none; color: var(--ink-3); -webkit-text-fill-color: currentColor; font-weight: 500; }
.section-title h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }

/* tugmalar: to'liq yumaloq, ko'k gradient */
.btn { height: 54px; font-weight: 600; }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 6px 18px rgba(47,128,237,.25); }
.btn-secondary { background: var(--soft); color: var(--ink); }
.btn-ghost { background: var(--blue-soft); color: var(--blue); }
.icon-btn { background: var(--card); color: var(--blue); box-shadow: var(--shadow); }
.chip { background: var(--soft); color: var(--ink); font-weight: 600; }
.chip.lite { background: var(--blue-soft); color: var(--blue); }
.chip.active { background: var(--grad-blue); color: #fff; }
.seg { background: #E8E8EC; }
.seg button { color: var(--ink-2); }
.seg button.active { background: var(--grad-blue); color: #fff; box-shadow: 0 4px 12px rgba(47,128,237,.25); }
.link-btn { color: var(--blue); font-weight: 600; }

/* inputlar */
.input { background: var(--soft); }
.sheet .input { background: var(--soft); }
.input:focus { box-shadow: 0 0 0 2px rgba(46,124,246,.35); background: #fff; }
.composer .input { background: var(--card); box-shadow: var(--shadow); }
.composer .send { background: var(--grad-blue); box-shadow: 0 6px 18px rgba(47,128,237,.3); }
.composer .mic { background: var(--card); color: var(--blue); }
.dock { background: linear-gradient(to top, rgba(242,242,244,.97) 60%, rgba(242,242,244,0)); }

/* ko'k doira ikonka */
.icon-badge {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; flex: none;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.sm { width: 40px; height: 40px; }
.icon-badge.sm svg { width: 20px; height: 20px; }
.icon-badge.violet { background: #7B61FF; }

/* bento panjara */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bento .span-2 { grid-column: 1 / -1; }
.hero { padding: 26px 22px 22px; }
.hero::before { display: none; }
.hero h2, .grad-title { font-size: 34px; line-height: 1.05; margin: 0 0 10px; }
.module { min-height: 160px; padding: 20px; align-items: center; text-align: center; justify-content: center; gap: 14px; }
.module b { margin-top: 0; font-size: 17px; font-weight: 700; }
.module small { color: var(--ink-3); }
.module.work .icon-badge { background: #7B61FF; }
.stat { padding: 20px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.stat-pill { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.stat-pill.green { background: var(--green-soft); color: var(--green); }
.stat-pill.red { background: var(--red-soft); color: var(--red); }
.stat-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.meter-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; text-align: left; flex-wrap: wrap; }
.meter-text { flex: 1; min-width: 0; }
.meter-text b { display: block; font-size: 16px; font-weight: 700; }
.meter-text small { color: var(--ink-3); font-size: 13px; }
.meter { display: flex; gap: 4px; width: 100%; }
.meter i { flex: 1; height: 10px; border-radius: 4px; background: #E3ECFB; }
.meter i.on { background: var(--blue); }

/* balans va ish kartalari: gradient, oq matn */
.balance { background: var(--grad-blue); box-shadow: 0 10px 30px rgba(47,128,237,.25); text-align: center; }
.balance::after { opacity: .5; }
.balance .total { font-size: 36px; font-weight: 800; }
.balance .pill { background: rgba(255,255,255,.2); text-align: center; }
.work-hero { background: var(--grad-violet); box-shadow: 0 10px 30px rgba(123,97,255,.25); }

/* ro'yxatlar: kategoriya belgisi yumshoq ko'k doirada */
.row-tx .ico, .debt .ico { border-radius: 50%; background: var(--blue-soft); }
.row-tx:hover { background: var(--soft); }
.wallet { box-shadow: var(--shadow); }
.wallet small { color: var(--ink-3); }

/* diagramma va chiziqlar: ko'k, bo'lakli */
.col-bar { background: #B9D3FB; border-radius: 6px 6px 0 0; }
.col.on .col-bar, .col:hover .col-bar { background: var(--blue); }
.bars .track, .debt .track { background: #E3ECFB; height: 10px; border-radius: 5px; }
.bars .fill, .debt .fill {
  background: repeating-linear-gradient(90deg, var(--blue) 0 14px, transparent 14px 18px);
  border-radius: 5px;
}
.m-track { background: #E3ECFB; height: 6px; }
.m-track span { background: var(--blue); }

/* varaqlar va kirish */
.sheet { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.login .card { text-align: center; }
.login h1 { font-size: 32px; }
.orb {
  margin: 0 auto; width: 64px; height: 64px; animation: none;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.orb::after { display: none; }
.toast { background: rgba(17,17,20,.9); }
.amount-preview { color: var(--blue); }

/* ===================================================================
   Qorong'i uslub + pastki glass menyu (foydalanuvchi referensi, 2026-10-22).
   Ko'mir rang fon, to'q kulrang kartalar ingichka och chegara bilan, oq qalin
   sarlavhalar, ko'k pill tugmalar, ko'k doira ikonka, 2×2 raqam kartalari.
   =================================================================== */
:root {
  --bg: #121214;
  --card: #1C1C1F;
  --card-2: #26262A;
  --line: rgba(255,255,255,.08);
  --ink: #F5F5F7;
  --ink-2: #A1A1A8;
  --ink-3: #6E6E76;
  --soft: #2A2A2F;
  --blue: #3B82F6;
  --blue-2: #60A5FA;
  --blue-soft: rgba(59,130,246,.16);
  --green: #34D399;
  --green-soft: rgba(52,211,153,.14);
  --red: #F87171;
  --red-soft: rgba(248,113,113,.14);
  --shadow: none;
  --grad-blue: linear-gradient(135deg, #3B82F6, #3B82F6);
  --grad-violet: linear-gradient(135deg, #2A2A3A, #2A2A3A);
}
html { color-scheme: dark; }
body { background: var(--bg); color: var(--ink); }
.app { padding-bottom: 200px; }

.glass { background: var(--card); border: 1px solid var(--line); box-shadow: none; border-radius: 24px; }
.serif, .grad-title, .hero-title, .page-title {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  color: var(--ink); -webkit-text-fill-color: currentColor; font-weight: 800; letter-spacing: -.03em;
}
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.section-title h3 { color: var(--ink); }

/* sarlavha: ko'k doira ikonka + qalin oq matn */
.page-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 18px; }
.page-title { font-size: 28px; margin: 0; line-height: 1.1; flex: 1; min-width: 0; }
.icon-badge { background: var(--blue); color: #fff; }
.icon-badge.violet { background: #7C5CFF; }
.icon-btn { background: var(--card); border: 1px solid var(--line); color: var(--ink); }

/* tugmalar */
.btn-primary { background: var(--blue); color: #fff; box-shadow: none; }
.btn-secondary { background: var(--card-2); color: var(--ink); }
.btn-ghost { background: var(--blue-soft); color: var(--blue-2); }
.chip, .chip.lite { background: var(--card-2); color: var(--ink); border: 1px solid var(--line); }
.chip.active { background: var(--blue); color: #fff; border-color: transparent; }
.seg { background: var(--card-2); }
.seg button { color: var(--ink-2); }
.seg button.active { background: var(--blue); color: #fff; box-shadow: none; }
.link-btn { color: var(--blue-2); }

/* inputlar */
.input, .sheet .input { background: var(--card-2); color: var(--ink); border: 1px solid var(--line); }
.input::placeholder { color: var(--ink-3); }
.input:focus { background: var(--card-2); box-shadow: 0 0 0 2px rgba(59,130,246,.45); }
select.input option { background: var(--card); }

/* bosh ekran */
.hero { padding: 22px; }
.hero .hero-title { font-size: 26px; margin: 0 0 6px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.stat-card { padding: 16px 16px 18px; text-align: left; display: flex; flex-direction: column; gap: 10px; min-height: 104px; justify-content: space-between; }
.stat-card small { color: var(--ink-2); font-size: 13px; font-weight: 500; }
.stat-card b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; word-break: break-word; }
.stat-card b span { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.meter-card { margin-top: 12px; width: 100%; }
.meter i { background: var(--card-2); }
.meter i.on { background: var(--blue); }

/* katta kartalar: to'q, ko'k urg'u */
.balance, .work-hero {
  background: var(--card); border: 1px solid var(--line); box-shadow: none; color: var(--ink); text-align: left;
}
.balance::after { display: none; }
.balance .label { color: var(--ink-2); opacity: 1; }
.balance .total { color: var(--ink); }
.balance .pill { background: var(--card-2); text-align: left; }
.balance .pill small { color: var(--ink-2); opacity: 1; }

/* ro'yxatlar */
.row-tx .ico, .debt .ico { background: var(--blue-soft); }
.row-tx:hover, .month-row:hover { background: var(--card-2); }
.month-row + .month-row { border-top-color: var(--line); }
.day-head { color: var(--ink-3); }
.wallet small { color: var(--ink-2); }
.badge { background: var(--card-2); color: var(--ink-2); }
.result li::before { color: var(--ink-3); }
.inc { color: var(--green); }

/* diagramma va chiziqlar */
.cols { border-bottom-color: var(--line); }
.col-bar { background: rgba(59,130,246,.35); }
.col.on .col-bar, .col:hover .col-bar { background: var(--blue); }
.bars .track, .debt .track, .m-track { background: var(--card-2); }
.bars .fill, .debt .fill { background: repeating-linear-gradient(90deg, var(--blue) 0 14px, transparent 14px 18px); }
.m-track span { background: var(--blue); }
.report-text { background: var(--card-2); color: var(--ink); }

/* varaq, toast, kirish */
.scrim { background: rgba(0,0,0,.5); }
.sheet { background: var(--card); border-top: 1px solid var(--line); }
.sheet .grab { background: rgba(255,255,255,.2); }
.toast { background: rgba(38,38,42,.96); border: 1px solid var(--line); }
.orb { background-color: var(--blue); }

/* yozish paneli: menyu ustida */
.dock { bottom: calc(84px + env(safe-area-inset-bottom)); padding-bottom: 10px; background: none; }
.composer .input { background: rgba(38,38,42,.85); border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); }
.composer .mic { background: rgba(38,38,42,.85); color: var(--ink); border: 1px solid var(--line); }
.composer .send { background: var(--blue); box-shadow: none; }

/* pastki menyu: suzib turgan pill, matlangan shisha */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 15;
  bottom: calc(12px + env(safe-area-inset-bottom));
  width: calc(100% - 24px); max-width: 456px;
  display: flex; justify-content: space-between; gap: 2px; padding: 6px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(28,28,31,.62);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.tabbar[hidden] { display: none; }
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 2px 7px; border-radius: 999px; color: var(--ink-2); text-decoration: none;
  font-size: 11px; font-weight: 600; transition: background .2s ease, color .2s ease;
}
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a.active { background: rgba(255,255,255,.12); color: #fff; }
.tabbar a.active svg { color: var(--blue-2); }

/* Haqiqiy glass menyu (2026-10-22): orqadagi kontent va fondagi rangli nurlar
   menyu orqali xira bo'lib ko'rinadi. */
.bg { display: block; }
.blob { filter: blur(90px); opacity: .32; }
.b1 { background: #3B82F6; width: 360px; height: 360px; left: -160px; top: -140px; }
.b2 { background: #7C5CFF; width: 320px; height: 320px; right: -140px; top: 38%; }
.b3 { background: #0EA5E9; width: 340px; height: 340px; left: 15%; bottom: -170px; opacity: .26; }
.tabbar {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 32px rgba(0,0,0,.45);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
}
.tabbar a.active { background: rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.2); }
.glass { background: rgba(28,28,31,.82); }
.composer .input, .composer .mic {
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
}

/* O'ng yuqori: yangilash va to'liq ekran tugmalari */
.win-actions { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 16; display: flex; gap: 8px; }
.win-actions[hidden] { display: none; }
.win-actions .icon-btn {
  width: 40px; height: 40px; color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
}
.win-actions .icon-btn svg { width: 18px; height: 18px; }
.win-actions .spin svg { animation: spin .6s linear; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-head { padding-right: 100px; }
.nav-brand { display: none; }

/* ===== Kompyuter (keng ekran): menyu chapda yon panel, kontent keng ===== */
@media (min-width: 960px) {
  .tabbar {
    left: 20px; top: 20px; bottom: 20px; transform: none;
    width: 220px; max-width: none; flex-direction: column; justify-content: flex-start;
    gap: 4px; padding: 16px 12px; border-radius: 28px;
  }
  .tabbar a { flex: none; flex-direction: row; gap: 12px; padding: 12px 16px; font-size: 15px; justify-content: flex-start; border-radius: 16px; }
  .tabbar a svg { width: 20px; height: 20px; }
  .nav-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font-size: 17px; }

  body.authed .app { max-width: 1080px; margin: 0 40px 0 268px; padding: 28px 0 150px; }
  .page-head { margin-top: 2px; }
  .page-title { font-size: 34px; }
  .win-actions { top: 24px; right: 24px; }
  .win-actions .icon-btn { width: 44px; height: 44px; }

  .dock { left: 268px; right: 40px; bottom: 24px; padding: 0; }
  .dock .composer { max-width: 1080px; margin: 0; }

  .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .stat-card { min-height: 120px; padding: 20px; }
  .stat-card b { font-size: 28px; }
  .hero { padding: 28px; }
  .hero .hero-title { font-size: 32px; }
  .wallets { margin: 0; padding: 0; flex-wrap: wrap; }
  .wallet { min-width: 200px; }
  .balance .total { font-size: 44px; }
  .cols { height: 220px; }
  .stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .stack > * + * { margin-top: 0; }
  .login .stack, .sheet .stack { display: block; }
  .login .stack > * + *, .sheet .stack > * + * { margin-top: 14px; }

  /* pastki varaqlar markazda oyna bo'lib ochiladi */
  .sheet {
    top: 50%; bottom: auto; left: 50%; right: auto; transform: translate(-50%, -50%);
    width: 520px; max-width: calc(100vw - 48px); border-radius: 28px; border: 1px solid var(--line);
    animation: fade .2s ease;
  }
  .sheet .grab { display: none; }
  .login { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 959px) { .page-head > .faint.small { display: none; } }

/* Soddalashtirilgan ekranlar (2026-10-22): raqamlar dashboardi, profil */
.stat-card.wide { grid-column: 1 / -1; min-height: 120px; }
.stat-card.wide b { font-size: 34px; }
.stat-grid.three { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.stat-grid.three .stat-card { min-height: 88px; padding: 14px; }
.stat-grid.three .stat-card b { font-size: 17px; }
.stat-card.active { border-color: var(--blue); background: rgba(59,130,246,.14); }
.profile-card { display: flex; align-items: center; gap: 14px; }
.profile-card b { display: block; font-size: 18px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; flex: none; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 16px 14px; color: var(--ink); text-decoration: none; font-size: 16px; text-align: left; border-radius: 14px; }
.set-row + .set-row { border-top: 1px solid var(--line); }
.set-row svg { width: 18px; height: 18px; color: var(--ink-3); transform: rotate(180deg); }
.set-row#logout svg { transform: none; }
.switch { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; border-radius: 999px; background: var(--card-2); position: relative; cursor: pointer; transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch:checked { background: var(--blue); }
.switch:checked::after { transform: translateX(20px); }
@media (min-width: 960px) {
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid.three .stat-card b { font-size: 24px; }
}
.stat-grid.three .stat-card b { white-space: nowrap; font-size: 16px; }
.stat-grid.three .stat-card b span { display: none; }

/* ===================================================================
   Glass uslubi (2026-10-28, foydalanuvchi referenslari): yumshoq ko'k-kulrang
   gradient fon, matlangan yarim shaffof kartalar va tugmalar, menyuda tanlangan
   bo'lim — to'liq och pill. Yuqoridagi qoidalar ustidan yozadi.
   =================================================================== */
:root {
  --glass-bg: rgba(255,255,255,.08);
  --glass-bg-2: rgba(255,255,255,.14);
  --glass-line: rgba(255,255,255,.16);
  --glass-blur: blur(26px) saturate(170%);
  --light-pill: #EEF2F7;
  --light-ink: #121821;
  --card: rgba(255,255,255,.08);
  --card-2: rgba(255,255,255,.12);
  --line: rgba(255,255,255,.14);
}
body {
  background: radial-gradient(120% 80% at 10% 0%, #2B3B52 0%, transparent 60%),
              radial-gradient(100% 70% at 100% 40%, #253247 0%, transparent 55%),
              linear-gradient(170deg, #1A2230 0%, #121820 55%, #0D1117 100%);
  background-attachment: fixed;
}
.blob { opacity: .22; }
.b1 { background: #5B8DEF; }
.b2 { background: #8EA4C8; }
.b3 { background: #4C6A92; }

/* matlangan shisha kartalar */
.glass, .stat-card, .place-row, .debt, .wallet {
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.05));
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.18);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.balance, .work-hero {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.balance .pill, .input, .sheet .input, .chip, .chip.lite, .seg {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.stat-card.active { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.35); }

/* tugmalar: shisha; asosiysi — to'liq och pill */
.btn-primary, .composer .send { background: var(--light-pill); color: var(--light-ink); box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.btn-secondary, .btn-ghost {
  background: rgba(255,255,255,.1); color: var(--ink); border: 1px solid var(--glass-line);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.seg button.active, .chip.active { background: var(--light-pill); color: var(--light-ink); }
.icon-btn {
  background: rgba(255,255,255,.1); border: 1px solid var(--glass-line); color: var(--ink);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.icon-badge, .icon-badge.violet, .avatar {
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.switch { background: rgba(255,255,255,.16); }
.switch:checked { background: var(--light-pill); }
.switch:checked::after { background: var(--light-ink); }
.meter i { background: rgba(255,255,255,.1); }
.meter i.on, .m-track span { background: var(--light-pill); }
.bars .fill, .debt .fill { background: repeating-linear-gradient(90deg, var(--light-pill) 0 14px, transparent 14px 18px); }
.col-bar { background: rgba(255,255,255,.25); }
.col.on .col-bar, .col:hover .col-bar { background: var(--light-pill); }

/* pastki menyu: shisha pill, tanlangani — to'liq och pill */
.tabbar {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(30px) saturate(180%); -webkit-backdrop-filter: blur(30px) saturate(180%);
}
.tabbar a { color: rgba(255,255,255,.72); }
.tabbar a.active { background: var(--light-pill); color: var(--light-ink); box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.tabbar a.active svg { color: var(--light-ink); }

/* varaq va yozish qatori */
.sheet { background: rgba(28,34,44,.72); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%); border-top: 1px solid var(--glass-line); }
.composer .input, .composer .mic {
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.06)); border: 1px solid var(--glass-line);
}
.toast { background: rgba(30,36,46,.8); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }

/* ===================================================================
   Premium glass (2026-10-28, referens: firuza shisha telefon UI).
   Firuza-ko'k gradient fon, yarim shaffof och shisha kartalar, katta yengil
   oq raqamlar + kichik birlik, oq ustunli diagramma, kunlar shisha pillari.
   =================================================================== */
:root {
  --ink: #FFFFFF;
  --ink-2: rgba(255,255,255,.72);
  --ink-3: rgba(255,255,255,.5);
  --line: rgba(255,255,255,.16);
  --glass-line: rgba(255,255,255,.18);
  --light-pill: #FFFFFF;
  --light-ink: #1F4653;
  --green: #B6F2D6;
  --red: #FFD0CC;
  --blue: #FFFFFF;
  --blue-2: #FFFFFF;
  --blue-soft: rgba(255,255,255,.14);
}
body {
  background: linear-gradient(172deg, #7FA7B2 0%, #5D8A97 18%, #3F6D7B 45%, #2A5160 72%, #1C3A46 100%);
  background-attachment: fixed;
}
.blob { opacity: .35; filter: blur(80px); }
.b1 { background: #A9CBD3; left: -120px; top: -160px; }
.b2 { background: #4C8796; }
.b3 { background: #163541; opacity: .6; }

/* shisha: och, yumshoq, deyarli chegarasiz */
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .balance, .work-hero {
  background: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.07) 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 40px rgba(10,30,38,.18);
  backdrop-filter: blur(30px) saturate(160%); -webkit-backdrop-filter: blur(30px) saturate(160%);
  border-radius: 30px; color: #fff;
}
.muted, .faint, small { color: var(--ink-2); }

/* sarlavha va katta raqamlar: yengil, katta, kichik birlik */
.page-title { font-weight: 600; letter-spacing: -.02em; }
.hero-num { padding: 8px 6px 18px; }
.hero-num small { font-size: 18px; font-weight: 500; color: var(--ink-2); }
.hero-num h1 { margin: 2px 0 0; font-size: 46px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.hero-num h1 span, .tile b span, .stat-card b span, .balance .total span {
  font-size: .45em; font-weight: 500; margin-left: 6px; color: var(--ink-2); letter-spacing: 0;
}
.home { padding-top: 34px; }

/* haftalik ustunli diagramma */
.chart-card { display: block; width: 100%; padding: 22px 20px 16px; }
.bars7 { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; height: 150px; }
.bars7 i { flex: 1; max-width: 22px; border-radius: 999px; background: rgba(255,255,255,.3); transition: height .5s ease; }
.bars7 i.on { background: #fff; box-shadow: 0 0 24px rgba(255,255,255,.45); }
.bars7-lab { display: flex; justify-content: space-between; margin-top: 12px; }
.bars7-lab span { flex: 1; text-align: center; font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ikkita katta raqam kartasi */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.tile { padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 8px; min-height: 104px; justify-content: center; }
.tile small { font-size: 15px; font-weight: 500; }
.tile b { font-size: 24px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }

/* kunlar pillari */
.day-pills { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 14px; }
.day-pill { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.day-pill .pill-in {
  width: 100%; height: 58px; display: grid; place-items: center; border-radius: 999px;
  font-size: 13px; font-weight: 600; padding: 0; border-radius: 22px;
}
.day-pill small { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.day-pill.on .pill-in { background: rgba(255,255,255,.92); color: var(--light-ink); }
.day-pill.on small { color: #fff; }

/* tugmalar, inputlar, menyu */
.btn-primary, .composer .send, .seg button.active, .chip.active { background: #fff; color: var(--light-ink); }
.icon-badge, .icon-badge.violet, .avatar { background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.28); }
.input, .sheet .input, .chip, .chip.lite, .seg, .balance .pill { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); color: #fff; }
.input::placeholder { color: rgba(255,255,255,.55); }
.stat-card.active { background: rgba(255,255,255,.3); border-color: rgba(255,255,255,.45); }
.tabbar { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.08)); border-color: rgba(255,255,255,.24); }
.tabbar a { color: rgba(255,255,255,.8); }
.tabbar a.active { background: #fff; color: var(--light-ink); }
.tabbar a.active svg { color: var(--light-ink); }
.sheet { background: rgba(42,81,96,.78); }
.inc { color: var(--green); }
.row-tx .ico, .debt .ico { background: rgba(255,255,255,.16); }
.toast { background: rgba(28,58,70,.85); }
@media (min-width: 960px) {
  .hero-num h1 { font-size: 64px; }
  .bars7 { height: 220px; }
  .tiles { gap: 16px; }
  .tile b { font-size: 32px; }
}
.tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tile b { font-size: clamp(16px, 4.8vw, 24px); overflow: hidden; text-overflow: ellipsis; }

/* ===================================================================
   Vidjet uslubi (2026-10-28, referens: kredit vidjetlari). Och iliq xira fon
   (krem + amber/jigarrang dog'lar), oq vidjetlar, bitta shisha gradient katta
   karta, ingichka chiziqli doira ikonkalar, ingichka geometrik shrift,
   mini diagrammalar. Oldingi qorong'i qoidalarni bekor qiladi.
   =================================================================== */
:root {
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --ink: #141414;
  --ink-2: #5C5C5C;
  --ink-3: #9A9A9A;
  --line: rgba(20,20,20,.08);
  --card: #FFFFFF;
  --card-2: #F3F1EE;
  --soft: #F3F1EE;
  --blue: #141414;
  --blue-2: #141414;
  --blue-soft: #F3F1EE;
  --green: #2E8B57;
  --red: #C2452D;
  --light-pill: #141414;
  --light-ink: #FFFFFF;
}
html { color-scheme: light; }
body {
  font-family: var(--font); color: var(--ink); letter-spacing: -.005em;
  background: #E9E6E1;
}
/* xira iliq dog'lar */
.bg { display: block; }
.blob { filter: blur(70px); opacity: .9; }
.b1 { width: 520px; height: 420px; left: -180px; top: -140px; background: radial-gradient(circle, #E9902E 0%, #E2C44A 45%, transparent 70%); }
.b2 { width: 460px; height: 520px; right: -220px; top: 30%; background: radial-gradient(circle, #E3D24F 0%, #D98B2B 45%, transparent 70%); opacity: .75; }
.b3 { width: 620px; height: 460px; left: -80px; bottom: -220px; background: radial-gradient(circle, #3A3036 0%, #6B4A2E 45%, transparent 72%); opacity: .85; }

/* barcha kartalar: oq, juda yumaloq, soyasiz */
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .balance, .work-hero, .w {
  background: rgba(255,255,255,.94); color: var(--ink);
  border: 0; box-shadow: 0 10px 30px rgba(60,40,20,.08);
  backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 34px;
}
.muted, small { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.page-title { color: var(--ink); font-weight: 500; letter-spacing: -.02em; }
.section-title h3 { color: var(--ink); font-weight: 500; }

/* katta (hero) karta: ko'k-jigarrang xira shisha */
.balance, .work-hero, .hero-w {
  color: #fff;
  background:
    radial-gradient(70% 90% at 15% 80%, rgba(122,78,44,.95), transparent 70%),
    radial-gradient(60% 80% at 85% 30%, rgba(78,130,160,.95), transparent 70%),
    linear-gradient(135deg, #8A7466, #6E8EA3);
  box-shadow: 0 16px 40px rgba(60,40,20,.18);
}
.balance .label, .balance .pill small, .hero-w .w-title { color: rgba(255,255,255,.9); }
.balance .total, .balance .pill b { color: #fff; }
.balance .pill { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); }

/* ingichka chiziqli doira ikonka */
.ring { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(20,20,20,.28); display: grid; place-items: center; flex: none; color: var(--ink); }
.ring svg { width: 22px; height: 22px; }
.hero-w .ring, .w.tint .ring { border-color: rgba(255,255,255,.55); color: #fff; }
.icon-badge, .icon-badge.violet, .avatar {
  background: transparent; border: 1px solid rgba(20,20,20,.28); color: var(--ink);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

/* bosh ekran vidjetlari */
.home { padding-top: 24px; }
.w { display: flex; flex-direction: column; justify-content: space-between; text-align: left; padding: 20px; width: 100%; min-height: 168px; }
.w-top { display: flex; align-items: center; gap: 14px; }
.w-label { font-size: 17px; line-height: 1.2; font-weight: 400; color: var(--ink); }
.w-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 18px; }
.w-bot b { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.w-bot b span { font-size: 13px; font-weight: 400; color: var(--ink-3); margin-left: 3px; }
.hero-w { min-height: 236px; padding: 24px; }
.hero-w .w-top { justify-content: space-between; }
.hero-w .w-title { font-size: 24px; font-weight: 400; margin-top: 22px; }
.hero-w .w-bot b { font-size: 44px; color: #fff; }
.hero-w .w-bot b span { color: rgba(255,255,255,.75); font-size: 16px; }
.go-btn { width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.go-btn svg { width: 22px; height: 22px; }
.dots { display: flex; align-items: center; gap: 0; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.85); position: relative; margin-left: 14px; }
.dots i::before { content: ""; position: absolute; right: 100%; top: 5px; width: 14px; height: 2px; background: rgba(255,255,255,.55); }
.dots i:first-child::before { display: none; }
.dots i.on { width: 20px; height: 20px; background: #C9D3EA; }
.dots i.on:last-of-type, .dots i:last-child { width: 34px; height: 34px; background: #fff; }
.w-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; margin-top: 10px; }
.w-grid .w { min-height: 172px; padding: 16px; }
.w-grid .ring { width: 48px; height: 48px; }
.w-grid .w-bot b { font-size: clamp(18px, 5.2vw, 26px); overflow: hidden; text-overflow: ellipsis; }
.w-grid .w-bot { flex-direction: column; align-items: flex-start; gap: 10px; }
.w.tint {
  color: #fff; background: radial-gradient(90% 90% at 30% 20%, rgba(150,120,50,.85), rgba(96,74,30,.88));
}
.w.tint .w-label, .w.tint .w-bot b { color: #fff; }
.w.tint .w-bot b span { color: rgba(255,255,255,.7); }
/* mini diagrammalar */
.mini { display: flex; align-items: flex-end; height: 30px; width: 100%; }
.mbars { display: flex; align-items: flex-end; gap: 6px; height: 100%; width: 100%; border-bottom: 1px solid rgba(20,20,20,.15); }
.mbars i { width: 4px; height: 12%; background: #141414; border-radius: 2px; }
.mbars i.on { background: #141414; width: 6px; }
.mbars.soft i { background: #9A9A9A; }
.spark { width: 100%; height: 34px; }
.spark path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 1.4; stroke-linejoin: round; }
.mdots { display: grid; grid-template-columns: repeat(6, 8px); gap: 6px; }
.mdots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid rgba(20,20,20,.3); }
.mdots i.on { background: #141414; border-color: #141414; }

/* boshqa ekranlar: och */
.stat-card b, .tile b { color: var(--ink); font-weight: 500; }
.stat-card b span, .tile b span { color: var(--ink-3); }
.stat-card.active { background: #141414; }
.stat-card.active small, .stat-card.active b { color: #fff; }
.input, .sheet .input, .chip, .chip.lite, .seg { background: #F3F1EE; border: 1px solid transparent; color: var(--ink); }
.input::placeholder { color: #A3A09B; }
.input:focus { background: #fff; box-shadow: 0 0 0 2px rgba(20,20,20,.15); }
.btn-primary, .composer .send, .seg button.active, .chip.active { background: #141414; color: #fff; box-shadow: none; }
.btn-secondary, .btn-ghost { background: #F3F1EE; color: var(--ink); border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.icon-btn { background: rgba(255,255,255,.85); border: 0; color: var(--ink); box-shadow: 0 4px 14px rgba(60,40,20,.08); }
.row-tx .ico, .debt .ico { background: #F3F1EE; }
.row-tx:hover, .month-row:hover { background: #F7F5F2; }
.day-head { color: var(--ink-3); }
.inc { color: var(--green); }
.switch { background: #E2DED8; }
.switch:checked { background: #141414; }
.switch:checked::after { background: #fff; }
.bars .track, .debt .track, .m-track { background: #EEEAE4; }
.bars .fill, .debt .fill, .m-track span { background: #141414; }
.col-bar { background: #D8D3CC; }
.col.on .col-bar, .col:hover .col-bar { background: #141414; }
.report-text { background: #F3F1EE; color: var(--ink); }
.sheet { background: rgba(255,255,255,.97); border-top: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.sheet .grab { background: rgba(0,0,0,.15); }
.scrim { background: rgba(40,30,20,.25); }
.toast { background: rgba(20,20,20,.9); color: #fff; border: 0; }

/* menyu va yuqori tugmalar: och shisha */
.tabbar {
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 12px 30px rgba(60,40,20,.15);
  backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%);
}
.tabbar a { color: #5C5C5C; }
.tabbar a.active { background: #141414; color: #fff; box-shadow: none; }
.tabbar a.active svg { color: #fff; }
.nav-brand { color: var(--ink); }
.win-actions .icon-btn { background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.75); color: var(--ink); }
.composer .input, .composer .mic { background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.85); color: var(--ink);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.amount-preview { color: var(--ink); }
.error-text { color: var(--red); }
@media (min-width: 960px) {
  .w-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-w { min-height: 260px; }
  .hero-w .w-bot b { font-size: 60px; }
}
html, body { overflow-x: hidden; }
.hero-w .w-bot { flex-wrap: wrap; row-gap: 14px; }
.hero-w .w-bot b { font-size: clamp(32px, 10vw, 44px); }
.dots i { margin-left: 12px; }
.dots i::before { width: 12px; }

/* Sutsimon matlangan shisha menyu (2026-10-28, referens: hamyon ilovasi) */
.tabbar {
  background: linear-gradient(180deg, rgba(255,255,255,.52), rgba(255,255,255,.26));
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 -1px 1px rgba(255,255,255,.25), 0 14px 34px rgba(60,40,20,.18);
  backdrop-filter: blur(32px) saturate(190%); -webkit-backdrop-filter: blur(32px) saturate(190%);
}
.tabbar a { color: #3D3D3D; }
.tabbar a.active {
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.7));
  color: #141414; box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(60,40,20,.12);
}
.tabbar a.active svg { color: #141414; }
.composer .input, .composer .mic, .win-actions .icon-btn {
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.3));
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.9), 0 8px 22px rgba(60,40,20,.12);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
}
/* katta raqamlar ingichka (referensdagidek) */
.hero-w .w-bot b, .w-bot b, .stat-card b { font-weight: 300; }

/* ===================================================================
   Hamyon referensi, birma-bir (2026-10-28): oq fon; tepada katta qora panel
   (pastki burchaklari yumaloq) — avatar, sarlavha, ingichka katta balans, qora
   shisha tugmalar; pastda oq fonda pill-yozuvlar (birinchisi qora); pastda
   ixcham qora shisha menyu (faqat ikonkalar) + o'ngda alohida qora doira tugma.
   =================================================================== */
:root {
  --ink: #0B0B0C; --ink-2: #6E6E73; --ink-3: #A1A1A6;
  --card: #F4F4F5; --card-2: #EDEDEF; --soft: #F4F4F5; --line: rgba(0,0,0,.06);
}
body { background: #FFFFFF; }
.bg { display: none; }
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .w {
  background: #F4F4F5; border: 0; box-shadow: none; border-radius: 26px; color: var(--ink);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.balance, .work-hero {
  background: #0B0B0C; color: #fff; border: 0; box-shadow: none; border-radius: 30px;
}
.balance .total { font-weight: 300; }
.balance .pill { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.stat-card.active { background: #0B0B0C; }
.stat-card.active small, .stat-card.active b { color: #fff; }
.icon-badge, .icon-badge.violet { border: 1px solid rgba(0,0,0,.14); background: #fff; color: var(--ink); }
.input, .sheet .input, .chip, .chip.lite, .seg { background: #F4F4F5; }
.sheet { background: #fff; }

/* --- bosh ekran --- */
.home5 { margin: -20px -16px 0; }
.panel {
  background: #0B0B0C; color: #fff; padding: calc(18px + env(safe-area-inset-top)) 22px 14px;
  border-radius: 0 0 44px 44px; text-align: center; position: relative;
  background-image: radial-gradient(80% 50% at 50% 0%, #1E1E21 0%, transparent 70%);
}
.panel-top { display: flex; align-items: center; justify-content: space-between; }
.panel-top b { font-weight: 400; font-size: 16px; }
.avatar.sm { width: 46px; height: 46px; font-size: 18px; background: #2A2A2E; border: 1px solid rgba(255,255,255,.12); color: #fff; }
.ghost-circle {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.ghost-circle svg { width: 18px; height: 18px; }
.ghost-circle.lg { width: 54px; height: 54px; }
.ghost-circle.spin svg { animation: spin .6s linear; }
.cur { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.7); }
.cur::before { content: "⌄ "; }
.bal-label { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.6); }
.bal { font-size: 42px; font-weight: 300; letter-spacing: -.02em; margin-top: 6px; }
.panel-actions { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 30px; }
.ghost-pill {
  height: 54px; padding: 0 22px; border-radius: 999px; display: flex; align-items: center; gap: 14px; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.ghost-pill svg { width: 20px; height: 20px; }
.ghost-pill .sep { width: 1px; height: 22px; background: rgba(255,255,255,.25); }
.mini-stats { margin-top: 28px; font-size: 13px; color: rgba(255,255,255,.75); letter-spacing: .02em; }
.panel-cards { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.ghost-card {
  width: 96px; height: 66px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.2);
}
.ghost-card svg { width: 20px; height: 20px; }
.ghost-card small { color: rgba(255,255,255,.7); font-size: 11px; }
.panel-link { display: inline-block; margin-top: 26px; color: rgba(255,255,255,.75); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.grab-line { display: block; width: 44px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); margin: 18px auto 0; }

.list-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 22px 12px; }
.list-head b { font-weight: 500; font-size: 15px; }
.list-head a { color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.tx-pills { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.tx-pill {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 22px;
  background: #F4F4F5; color: var(--ink); text-align: left; font-size: 13px;
}
.tx-pill:first-child { background: #0B0B0C; color: #fff; }
.tx-pill:first-child .tx-ico { background: #1F1F22; }
.tx-pill.empty { justify-content: center; color: var(--ink-3); }
.tx-ico { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px; flex: none; }
.tx-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-pill b { font-weight: 500; white-space: nowrap; }
.tx-pill:first-child .inc { color: #7EE2A8; }

/* --- ixcham qora shisha menyu + o'ngda doira tugma (telefon) --- */
@media (max-width: 959px) {
  .tabbar {
    left: 50%; transform: translateX(-50%); width: auto; max-width: none; gap: 4px; padding: 6px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    background: rgba(18,18,20,.78); border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 12px 30px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  }
  .tabbar a { flex: none; width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; color: rgba(255,255,255,.6); }
  .tabbar a span { display: none; }
  .tabbar a svg { width: 20px; height: 20px; }
  .tabbar a.active { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }
  .tabbar a.active svg { color: #fff; }
  .win-actions { display: none; }
  .page-head { padding-right: 0; }
}
.fab {
  position: fixed; z-index: 15; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom));
  width: 50px; height: 50px; border-radius: 50%; background: #0B0B0C; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
}
.fab[hidden] { display: none; }
.fab svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .fab { display: none; }
  .tabbar { background: #0B0B0C; border: 0; }
  .tabbar a { color: rgba(255,255,255,.65); }
  .tabbar a.active { background: rgba(255,255,255,.14); color: #fff; }
  .tabbar a.active svg { color: #fff; }
  .nav-brand { color: #fff; }
  .home5 { margin: 0; }
  .panel { border-radius: 36px; }
}

/* yozish qatori va boshqa sahifalar */
.dock { bottom: calc(78px + env(safe-area-inset-bottom)); }
.composer .input { background: #F4F4F5; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.composer .mic { background: #F4F4F5; border: 0; color: var(--ink); backdrop-filter: none; -webkit-backdrop-filter: none; }
.composer .send, .btn-primary, .seg button.active, .chip.active { background: #0B0B0C; color: #fff; }

/* Pastki (pin) menyu, referens 2026-10-29: keng to'q shisha pill, ingichka yaltiroq
   och-kulrang chegara; 4 bo'lim — to'ldirilgan ikonka ustida nomi; tanlangani oq,
   qolganlari kulrang; tanlanganining orqasida fon yo'q. */
@media (max-width: 959px) {
  .tabbar {
    left: 50%; transform: translateX(-50%); width: calc(100% - 28px); max-width: 440px;
    display: flex; justify-content: space-around; gap: 0; padding: 10px 8px 8px;
    border-radius: 999px; bottom: calc(14px + env(safe-area-inset-bottom));
    background: rgba(42,42,42,.86);
    border: 1px solid rgba(200,200,200,.28);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 12px 30px rgba(0,0,0,.28);
    backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  }
  .tabbar a {
    flex: 1; width: auto; height: auto; flex-direction: column; gap: 3px; padding: 2px 0;
    border-radius: 0; color: #666; background: none; box-shadow: none;
  }
  .tabbar a span { display: block; font-size: 11px; font-weight: 500; }
  .tabbar a svg { width: 24px; height: 24px; }
  .tabbar a.active { background: none; box-shadow: none; color: #fff; }
  .tabbar a.active svg { color: #fff; }
  .fab { display: none; }
  .dock { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* ===================================================================
   Foydalanuvchi assetlari (2026-10-29): fon — Footage/BG.png (ko'k gradient),
   menyu ikonkalari — Footage/Icon (oq shisha). Hamma yuzalar oq matlangan shisha.
   =================================================================== */
:root { --ink: #FFFFFF; --ink-2: rgba(255,255,255,.78); --ink-3: rgba(255,255,255,.58); --line: rgba(255,255,255,.22); }
body { background: #5A9FD0 url("/static/assets/bg.jpg") center top / cover fixed; color: #fff; }
.bg { display: none; }
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .w, .balance, .work-hero, .tx-pill, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.12));
  border: 1px solid rgba(255,255,255,.38); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(20,60,110,.15);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.panel { border-top: 0; background-image: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.1)); }
.muted, small, .faint, .day-head, .list-head a { color: var(--ink-2); }
.page-title, .section-title h3, .list-head b, .stat-card b, .tile b, .w-bot b { color: #fff; }
.icon-badge, .icon-badge.violet, .avatar, .avatar.sm, .ring, .ghost-circle, .ghost-pill, .ghost-card, .row-tx .ico, .debt .ico, .tx-ico {
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.tx-pill:first-child { background: #fff; color: #1A4E7A; }
.tx-pill:first-child .tx-ico { background: #E6F1FB; }
.tx-pill:first-child .inc { color: #1E8E5A; }
.inc { color: #CFF7E2; }
.stat-card.active { background: #fff; }
.stat-card.active small, .stat-card.active b { color: #1A4E7A; }
.input, .sheet .input, .chip, .chip.lite, .seg, .composer .input, .composer .mic {
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.35); color: #fff;
}
.input::placeholder { color: rgba(255,255,255,.7); }
.input:focus { background: rgba(255,255,255,.28); box-shadow: 0 0 0 2px rgba(255,255,255,.45); }
.btn-primary, .composer .send, .seg button.active, .chip.active { background: #fff; color: #1A4E7A; }
.btn-secondary, .btn-ghost, .icon-btn { background: rgba(255,255,255,.2); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.sheet { background: rgba(70,140,200,.86); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); color: #fff; }
.toast { background: rgba(20,60,100,.88); }
.switch { background: rgba(255,255,255,.25); }
.switch:checked { background: #fff; }
.switch:checked::after { background: #2C7FC4; }
.bars .track, .debt .track, .m-track, .meter i, .mbars { background: rgba(255,255,255,.2); }
.bars .fill, .debt .fill, .m-track span, .meter i.on { background: #fff; }
.col-bar { background: rgba(255,255,255,.35); }
.col.on .col-bar, .col:hover .col-bar { background: #fff; }
.report-text { background: rgba(255,255,255,.18); color: #fff; }

/* menyu: to'q shisha pill (avvalgidek), ikonkalar — foydalanuvchiniki */
.tabbar img { width: 26px; height: 26px; object-fit: contain; opacity: .42; transition: opacity .2s; }
.tabbar a.active img { opacity: 1; }
.tabbar a svg { color: rgba(255,255,255,.42); }
.tabbar a.active svg { color: #fff; }
.tabbar a { color: rgba(255,255,255,.42); }
.tabbar a.active { color: #fff; }
@media (min-width: 960px) { .tabbar { background: rgba(20,50,80,.55); } }

/* ===================================================================
   Referens 2026-10-29 ("This month" kartalari): hamma joyda burchak 18px;
   shisha — juda yengil oq tus + ingichka oq chegara; tugmalar ham shunday;
   ikonkalar — kichik shisha kvadratchada oq to'ldirilgan belgi; raqamlar qalin.
   =================================================================== */
:root { --r: 18px; --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif; }
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .w, .balance, .work-hero, .tx-pill, .g-card,
.btn, .input, .sheet .input, .composer .input, .seg, .chip, .ghost-pill, .ghost-card, .result, .list, .month-row, .row-tx,
.set-row, .report-text {
  border-radius: var(--r);
}
.seg button { border-radius: 14px; }
.panel { border-radius: 0 0 var(--r) var(--r); }
.sheet { border-radius: var(--r) var(--r) 0 0; }
@media (min-width: 960px) { .sheet, .panel { border-radius: var(--r); } }

/* shisha yuza */
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .w, .balance, .work-hero, .tx-pill, .panel, .g-card {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.panel { background: rgba(255,255,255,.12); border-top: 0; }

/* tugmalar: shisha, 18px; asosiysi oq */
.btn-secondary, .btn-ghost, .icon-btn, .ghost-pill, .ghost-card, .chip, .chip.lite,
.composer .mic, .win-actions .icon-btn {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.icon-btn, .ghost-circle, .composer .mic, .composer .send, .win-actions .icon-btn { border-radius: 14px; }
.ghost-circle { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); }
.btn-primary, .composer .send { background: #fff; color: #1F5F99; border: 0; }

/* ikonkalar: shisha kvadratcha */
.g-ico, .icon-badge, .icon-badge.violet, .avatar.sm, .ring, .tx-ico, .row-tx .ico, .debt .ico {
  border-radius: 14px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.g-ico { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; }
.g-ico svg { width: 22px; height: 22px; }
.avatar { border-radius: 18px; }

/* "Bu oy" bo'limi */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 18px 12px; }
.sec-head h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.sec-head span { color: rgba(255,255,255,.75); font-size: 15px; }
.g-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 0 16px; }
.g-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 14px 16px 16px; color: #fff; min-height: 150px; }
.g-top { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.g-trend { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.92); }
.g-trend svg { width: 18px; height: 18px; }
.g-num { margin-top: 22px; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.g-label { margin-top: 8px; font-size: 15px; color: rgba(255,255,255,.8); }
.bal, .hero-num h1 { font-weight: 700; }
@media (min-width: 960px) { .g-grid { grid-template-columns: repeat(4, minmax(0,1fr)); padding: 0; } .sec-head { margin: 28px 4px 12px; } }

/* Hisobot diagrammasi (referens 2026-10-29) */
.rep-card {
  margin-top: 14px; padding: 22px 20px 18px; border-radius: 18px; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.rep-total { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rep-label { margin-top: 10px; font-size: 16px; color: rgba(255,255,255,.8); }
.rep-bars { display: flex; gap: 8px; height: 190px; margin-top: 26px; align-items: flex-end; }
.rep-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.rep-col i { display: block; width: 100%; border-radius: 14px; background: rgba(255,255,255,.32); }
.rep-val { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; }
.rep-day { font-size: 13px; color: rgba(255,255,255,.72); white-space: nowrap; }
.rep-col.on i { background: #fff; }
.rep-col.on .rep-val, .rep-col.on .rep-day { color: #fff; font-weight: 700; }
.rep-grid { padding: 0; margin-top: 12px; }
.rep-grid .g-card { min-height: 0; gap: 6px; }
.rep-grid .g-num { margin-top: 4px; font-size: 28px; }
@media (min-width: 960px) { .rep-bars { height: 240px; gap: 14px; } .rep-grid { grid-template-columns: 1fr 1fr; } }

/* Toifalar taqsimoti kartasi (referens 2026-10-29), shisha */
.bd-card {
  margin-top: 12px; border-radius: 18px; overflow: hidden; color: #fff;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.bd-head { text-align: center; padding: 22px 18px 18px; border-bottom: 1px solid rgba(255,255,255,.22); position: relative; }
.bd-head::before { content: ""; position: absolute; left: 0; top: 0; width: 34%; height: 100%;
  background: radial-gradient(60% 70% at 40% 60%, rgba(255,140,100,.55), transparent 75%); filter: blur(10px); pointer-events: none; }
.bd-big { position: relative; font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.bd-sub { position: relative; margin-top: 8px; font-size: 16px; color: rgba(255,255,255,.85); }
.bd-row { padding: 14px 16px; }
.bd-row + .bd-row { border-top: 1px solid rgba(255,255,255,.18); }
.bd-row.extra { display: none; }
.bd-card.open .bd-row.extra { display: block; }
.bd-line { display: flex; align-items: center; gap: 12px; }
.bd-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; flex: none;
  background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.bd-text { flex: 1; min-width: 0; }
.bd-text b { display: block; font-size: 17px; font-weight: 700; }
.bd-text small { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-top: 2px; }
.bd-pct { padding: 6px 12px; border-radius: 12px; font-weight: 700; font-size: 15px; background: rgba(255,255,255,.22); }
.bd-pct.hot { background: rgba(255,120,90,.3); color: #FFE3DB; }
.bd-track { height: 8px; border-radius: 6px; background: rgba(255,255,255,.28); margin-top: 12px; overflow: hidden; }
.bd-track i { display: block; height: 100%; border-radius: 6px; background: #fff; }
.bd-track i.hot { background: #FF8A6B; }
.bd-toggle { width: 100%; padding: 14px; border-top: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: 15px; }

/* ===================================================================
   Figma "Kotiba" → Section 1 → Body (2026-10-29), qiymatlar Figma'dan aniq olingan:
   karta — #FFF 14%, background blur 30 (CSS'da 15px), ichki soya #FFF 22% 0/1/0
   (yuqorida 1px yorug' chiziq), chegara va tashqi soya yo'q, burchak 28;
   ikonka — 40px, #FFF 18%, burchak 12, ichki soya #FFF 30% 0/1/0;
   segment — 52px, #FFF 12%, burchak 26, ichida 44px, tanlangani oq (#181818 matn);
   asosiy tugma — #178DEB + oq radial yorug'lik 30%, 64px, burchak 24;
   ikkilamchi — #FFF 18% shisha. Shrift — SF Pro (Black raqamlar, Medium izohlar).
   =================================================================== */
:root {
  --gl-fill: rgba(255,255,255,.14);
  --gl-fill-2: rgba(255,255,255,.18);
  --gl-blur: blur(15px);
  --gl-hi: inset 0 1px 0 rgba(255,255,255,.22);
  --r-card: 28px;
}
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .w, .balance, .work-hero, .tx-pill, .g-card,
.rep-card, .bd-card, .ghost-pill, .ghost-circle, .ghost-card, .icon-btn, .avatar.sm, .btn-secondary, .btn-ghost,
.chip, .composer .mic, .composer .input, .input, .result, .list {
  position: relative;
  background: var(--gl-fill);
  border: 0;
  box-shadow: var(--gl-hi);
  backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur);
}
.glass::before, .stat-card::before, .place-row::before, .debt::before, .tile::before, .w::before, .balance::before,
.tx-pill::before, .g-card::before, .rep-card::before, .bd-card::before, .ghost-pill::before, .ghost-circle::before,
.ghost-card::before, .icon-btn::before, .btn-secondary::before, .chip::before, .composer .mic::before,
.g-ico::before, .bd-ico::before, .tx-ico::before, .icon-badge::before { display: none; }
.glass, .stat-card, .place-row, .debt, .wallet, .tile, .chart-card, .w, .work-hero, .g-card, .rep-card, .bd-card,
.ghost-card, .result, .list { border-radius: var(--r-card); }
.panel { box-shadow: var(--gl-hi); }

/* ikonkalar */
.g-ico, .bd-ico, .tx-ico, .icon-badge, .icon-badge.violet, .row-tx .ico, .debt .ico, .ring {
  width: 40px; height: 40px; border-radius: 12px; border: 0;
  background: var(--gl-fill-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); color: #fff;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.g-ico svg { width: 22px; height: 22px; }

/* bo'lim sarlavhasi: SF Pro Black 24, -3%; o'ngda Medium 15, 70% */
.sec-head { margin: 24px 18px 12px; }
.sec-head h2 { font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.sec-head span { font-size: 15px; font-weight: 500; letter-spacing: -.02em; color: rgba(255,255,255,.7); }

/* 2×2 kartalar: 175×146, ichki chekka 16/16/18/16, ikonka bilan matn orasi 14 */
.g-grid { gap: 8px; padding: 0 18px; }
.g-card { padding: 16px 16px 18px; min-height: 146px; justify-content: space-between; }
.g-num { margin-top: 14px; font-size: 34px; font-weight: 900; letter-spacing: -.07em; line-height: 38px; }
.g-label { margin-top: 2px; font-size: 14px; font-weight: 500; letter-spacing: -.02em; color: rgba(255,255,255,.75); }
.g-trend { font-size: 14px; font-weight: 600; color: #fff; }

/* katta karta (Points) va diagramma: chekka 20, ustunlar orasi 8, ustun 30% oq, burchak 10 */
.rep-card { padding: 20px; }
.rep-total { font-weight: 900; letter-spacing: -.05em; }
.rep-bars { gap: 8px; margin-top: 20px; }
.rep-col { gap: 6px; }
.rep-col i { border-radius: 10px; background: rgba(255,255,255,.3); }
.rep-col.on i { background: #fff; }
.rep-val { font-size: 13px; font-weight: 600; letter-spacing: -.03em; color: rgba(255,255,255,.7); }
.rep-day { font-size: 12px; font-weight: 500; letter-spacing: -.01em; color: rgba(255,255,255,.6); }
.rep-col.on .rep-val, .rep-col.on .rep-day { color: #fff; font-weight: 700; }
.rep-grid { padding: 0; }

/* segment (Bugun / Hafta / Oy va h.k.) */
.seg { height: 52px; padding: 4px; border-radius: 26px; background: rgba(255,255,255,.12); border: 0;
  box-shadow: var(--gl-hi); backdrop-filter: var(--gl-blur); -webkit-backdrop-filter: var(--gl-blur); }
.seg button { height: 44px; border-radius: 22px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; color: rgba(255,255,255,.7); }
.seg button.active { background: #fff; color: #181818; }

/* tugmalar */
.btn { height: 64px; border-radius: 24px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.btn-primary, .composer .send {
  background:
    radial-gradient(70% 90% at 30% 25%, rgba(255,255,255,.3), rgba(255,255,255,0) 70%),
    #178DEB;
  color: #fff; border: 0;
  box-shadow: 0 4px 24px rgba(51,169,219,.10), inset -3px -4px 7px rgba(255,255,255,.15);
}
.btn-secondary, .btn-ghost { background: rgba(255,255,255,.18); color: #fff; }
.chip.active { background: #fff; color: #181818; }
.composer .send { border-radius: 18px; }

/* birinchi yozuv — oq (avvalgidek) */
.tx-pill:first-child { background: rgba(255,255,255,.95); box-shadow: none; }

/* bosilganda yengil siqiladi */
.ghost-pill, .ghost-circle, .ghost-card, .icon-btn, .g-card, .tx-pill, .btn { transition: transform .15s ease, opacity .2s ease; }
.ghost-pill:active, .ghost-circle:active, .ghost-card:active, .icon-btn:active, .g-card:active, .tx-pill:active, .btn:active { transform: scale(.97); }

/* iva avatari (Figma «Kotiba» → ava, 2026-10-29): ilova nomi va belgisi hamma joyda */
.iva-ava { width: 46px; height: 46px; border-radius: 14px; object-fit: cover; flex: none; display: block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22); }
.iva-ava.lg { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 18px; }
.iva-ava.sm { width: 32px; height: 32px; border-radius: 10px; }

/* Fon (2026-10-29): Footage/bg2.png — to'q ko'k gradient, shishalar aniq ko'rinadi */
body { background: #0B1A44 url("/static/assets/bg2.jpg") center top / cover fixed; }
/* telefonda yuqori panel chetlari yumaloq emas — tekis, toza */
@media (max-width: 959px) { .panel { border-radius: 0; } }

/* Menyu (referens 2026-10-29): deyarli shaffof shisha pill, ingichka och chegara
   (yuqorisi yorqinroq), tanlangani oq, qolganlari ~28% oq. Fon to'q ko'k ustida. */
@media (max-width: 959px) {
  .tabbar {
    background: linear-gradient(180deg, rgba(40,52,95,.55), rgba(18,28,66,.55));
    border: 1px solid rgba(255,255,255,.32);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 30px rgba(3,10,35,.35);
    backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
    padding: 12px 8px 10px;
  }
  .tabbar a, .tabbar a svg { color: rgba(255,255,255,.3); }
  .tabbar a span { font-size: 12px; font-weight: 500; }
  .tabbar a.active, .tabbar a.active svg { color: #fff; }
  .tabbar img { opacity: .3; }
  .tabbar a.active img { opacity: 1; }
}

/* yuqori panel fon bilan bir tekis: alohida fon, chiziq va soya yo'q */
.panel { background: none !important; background-image: none !important; border: 0 !important;
  box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.panel::before, .panel::after { display: none !important; }
/* fon telefonda ham qimirlamasin (Android WebView "fixed" fonni qo'llamaydi) */
body { background: #0B1A44; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background: #0B1A44 url("/static/assets/bg2.jpg") center top / cover no-repeat; }

/* Yangi fon: ko'k gradient (teal → yorqin ko'k → och ko'k-kulrang), butun UI shisha */
:root { --gl-fill: rgba(255,255,255,.16); --gl-fill-2: rgba(255,255,255,.22); --gl-blur: blur(18px) saturate(140%); }
body { background: #2A8AB5; }
body::before {
  background:
    radial-gradient(120% 70% at 100% 100%, #75A8CC 0%, rgba(117,168,204,0) 60%),
    linear-gradient(180deg, #2A8AB5 0%, #30A0E0 50%, #5AA6D8 100%);
}
.glass,.stat-card,.input,.result,.list { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 8px 24px rgba(10,50,90,.12); }
@media (max-width: 959px) {
  .tabbar { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 30px rgba(10,50,90,.2); }
  .tabbar a, .tabbar a svg { color: rgba(255,255,255,.55); } .tabbar img { opacity: .55; }
}
.btn-primary,.composer .send { background: radial-gradient(60% 80% at 30% 20%, #72ACEC 0%, rgba(114,172,236,0) 70%), #428AE2;
  box-shadow: inset 0 -4px 10px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.25), 0 4px 18px rgba(30,90,170,.18); }

/* Oq shape'lar (referens: oq kartalar, to'q matn, och ko'k belgi plitkasi, ko'k belgi) — ko'k fonda kontrast uchun */
:root { --w-card: #fff; --w-ink: #16181D; --w-ink-2: #6B7280; --w-tile: #EAF2FD; --w-blue: #3B82E8; }
.tx-pill, .tx-pill:first-child, .list, .debt, .g-card, .rep-card, .profile-card {
  background: var(--w-card) !important; color: var(--w-ink); box-shadow: 0 6px 20px rgba(10,50,90,.10) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.tx-pill *, .list b, .debt b, .g-card .g-num, .rep-card b, .profile-card b, .set-row span { color: var(--w-ink); }
.tx-pill small, .list small, .debt small, .g-label, .g-trend, .rep-card small, .profile-card small, .list-group-head, .list .amt small { color: var(--w-ink-2) !important; }
.tx-ico, .row-tx .ico, .debt .ico, .g-ico { background: var(--w-tile) !important; color: var(--w-blue); box-shadow: none !important; }
.g-ico svg, .debt .ico svg, .row-tx .ico svg { color: var(--w-blue); fill: currentColor; }
.row-tx:hover, .set-row:hover { background: #F4F7FB; }
.set-row svg { color: #B8BFCA; }
.rep-col i { background: var(--w-tile) !important; } .rep-col.on i { background: var(--w-blue) !important; }
.list .day-head, .list .day-head span { color: var(--w-ink-2) !important; }
.list .amt, .debt .amt { color: var(--w-ink); }
.profile-card .avatar { background: var(--w-blue) !important; color: #fff !important; }
.list .switch { background: #DDE3EC; } .list .switch::after { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.list .switch:checked { background: var(--w-blue); } .list .switch:checked::after { background: #fff; }

/* Menyu: kichik ixcham pill (referens 2026-11-02) — kenglik kontent bo'yicha, chetlari yaltiroq chegara */
@media (max-width: 959px) {
  .tabbar { width: auto; max-width: none; gap: 26px; padding: 10px 26px 8px; border: 0;
    background: rgba(255,255,255,.14); box-shadow: 0 10px 28px rgba(10,50,90,.18); }
  .tabbar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,.75), rgba(255,255,255,.18) 30%, rgba(255,255,255,.18) 70%, rgba(255,255,255,.75));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; display: block !important; }
  .tabbar a { flex: none; min-width: 48px; gap: 2px; }
  .tabbar a span { font-size: 12px; }
  .tabbar a, .tabbar a svg { color: rgba(255,255,255,.4); } .tabbar img { opacity: .4; }
  .tabbar a.active, .tabbar a.active svg { color: #fff; } .tabbar a.active img { opacity: 1; }
}

/* Chat ko'rinishi (referens 2026-11-02): och kulrang panel, yuqorida avatar + nom + yopish,
   foydalanuvchi matni — o'ngda ko'k pufak, javob — chapda oq karta, yashil ✓ / qizil ✕ */
.chat { background: #F4F6FA; color: #16181D; border-radius: 28px; padding: 18px 16px 16px; box-shadow: 0 10px 30px rgba(10,50,90,.16); }
.chat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chat-head .iva-ava { width: 44px; height: 44px; border-radius: 50%; }
.chat-head div { flex: 1; min-width: 0; }
.chat-head b { display: block; font-size: 18px; font-weight: 700; color: #16181D; letter-spacing: -.01em; }
.chat-head small { display: block; font-size: 13px; color: #8A9099; }
.chat-x { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #4B5160; display: grid; place-items: center; flex: none; }
.chat-x svg { width: 16px; height: 16px; }
.bubble { max-width: 86%; font-size: 15px; line-height: 1.35; }
.bubble.me { margin: 0 0 10px auto; width: fit-content; color: #fff; padding: 10px 14px 8px; border-radius: 20px 20px 6px 20px;
  background: radial-gradient(60% 80% at 30% 20%, #72ACEC 0%, rgba(114,172,236,0) 70%), #428AE2; }
.bubble.me .meta { display: block; text-align: right; font-size: 11px; opacity: .8; margin-top: 2px; }
.bubble.bot { list-style: none; margin: 0; padding: 6px 14px; background: #fff; border-radius: 20px 20px 20px 6px; max-width: 100%; }
.bubble.bot li { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.bubble.bot li + li { border-top: 1px solid #EEF0F4; }
.bubble.bot .what { flex: 1; min-width: 0; color: #16181D; }
.bubble.bot .what small, .bubble.bot .muted { color: #8A9099 !important; font-size: 13px; }
.bubble.bot .amt { font-weight: 600; color: #16181D; white-space: nowrap; }
.ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; }
.ck svg { width: 12px; height: 12px; }
.ck.ok { background: #3FAE5A; } .ck.no { background: #EE6B4D; }
.list .empty { color: var(--w-ink-2) !important; }

/* Oq bilan muvozanat (referens 2026-11-02): ko'k fonda faqat sarlavha, balans, menyu; qolgan yuzalar oq.
   Rangli nishonlar: qizil (chiqim), yashil (kirim), ko'k (harakat). */
.glass.card:not(.login .card), .glass.empty, .stat-card, .month-row, .work-hero .pill, .bars, .breakdown, .debt-hero .pill {
  background: #fff !important; color: var(--w-ink) !important; box-shadow: 0 6px 20px rgba(10,50,90,.10) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.glass.card:not(.login .card) *, .glass.empty, .month-row *, .bars *, .stat-card * { color: inherit; }
.glass.card:not(.login .card) small, .glass.card .faint, .glass.card .g-label, .month-row .faint, .stat-card small, .bars span { color: var(--w-ink-2) !important; }
.stat-card b { color: var(--w-ink) !important; }
.stat-card.active { background: radial-gradient(60% 80% at 30% 20%, #72ACEC 0%, rgba(114,172,236,0) 70%), #428AE2 !important; }
.stat-card.active small, .stat-card.active b { color: #fff !important; }
.bars .track { background: var(--w-tile) !important; } .bars .fill { background: var(--w-blue) !important; }
.bars .inc { color: #2E9B4E !important; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.badge.red { background: #FDEBE6; color: #E5533A !important; }
.badge.green { background: #E6F6EA; color: #2E9B4E !important; }
.badge.blue { background: var(--w-tile); color: var(--w-blue) !important; }
.list .day-head { align-items: center; }
/* yozish qatori — oq */
.composer .input { background: #fff !important; color: var(--w-ink) !important; border: 0 !important; box-shadow: 0 6px 20px rgba(10,50,90,.10) !important; }
.composer .input::placeholder { color: #9AA1AC; }
.composer .mic { background: #fff !important; color: var(--w-blue) !important; box-shadow: 0 6px 20px rgba(10,50,90,.10) !important; }
.composer .mic svg { color: var(--w-blue); }
/* oynalar (sheet) — oq, ichida och kulrang maydonlar */
.sheet { background: #F4F6FA !important; color: var(--w-ink) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.sheet h3, .sheet .group > span, .sheet p, .sheet label { color: var(--w-ink); }
.sheet .faint { color: var(--w-ink-2) !important; }
.sheet .input, .sheet .chip, .sheet .seg { background: #fff !important; color: var(--w-ink) !important; border: 1px solid #E6E9EF !important; box-shadow: none !important; }
.sheet .seg button { color: var(--w-ink-2); } .sheet .seg button.active { background: var(--w-blue) !important; color: #fff !important; }
.sheet .chip.active, .sheet .chip.on { background: var(--w-blue) !important; color: #fff !important; border-color: transparent !important; }
.sheet .btn-secondary, .sheet .btn-ghost { background: #fff !important; color: var(--w-ink) !important; border: 1px solid #E6E9EF; }
.sheet .grab { background: #D3D8E0 !important; }
.sheet .report-text { color: var(--w-ink); }
.bd-card { background: #fff !important; color: var(--w-ink) !important; box-shadow: 0 6px 20px rgba(10,50,90,.10) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.bd-card b, .bd-big { color: var(--w-ink) !important; }
.bd-card small, .bd-head div:not(.bd-big) { color: var(--w-ink-2) !important; }
.bd-head { border-bottom-color: #EEF0F4 !important; } .bd-head::before { display: none; }
.bd-row + .bd-row, .bd-row { border-color: #EEF0F4 !important; }
.bd-ico { background: var(--w-tile) !important; box-shadow: none !important; }
.bd-pct { background: var(--w-tile) !important; color: var(--w-blue) !important; }
.bd-pct.hot { background: #FDEBE6 !important; color: #E5533A !important; }
.bd-track { background: #EEF0F4 !important; } .bd-track i { background: var(--w-blue) !important; } .bd-track i.hot { background: #EE6B4D !important; }
/* menyu oq kartalar ustida ham ko'rinsin — ko'k tusli shisha */
@media (max-width: 959px) { .tabbar { background: rgba(48,120,200,.72) !important; } }

/* Moliya ichidagi bo'limlar: Yozuvlar · Qarzlar · Hisobot */
.fin-tabs { display: flex; margin: 0 0 14px; }
.fin-tabs a { flex: 1; height: 44px; border-radius: 22px; display: grid; place-items: center; font-size: 15px; font-weight: 600;
  color: rgba(255,255,255,.8); text-decoration: none; letter-spacing: -.01em; }
.fin-tabs a.active { background: #fff; color: #181818; }
/* balans bloki olib tashlandi — panel ixchamroq */
.home5 .panel-top { margin-bottom: 8px; }

/* Oq tugmalar → to'liq shisha (2026-11-02): tanlangan bo'lim/davr tugmalari va davr kartalari */
.fin-tabs a.active, .seg button.active, .stat-card, .stat-card.active {
  background: rgba(255,255,255,.26) !important; color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.28), 0 6px 18px rgba(10,50,90,.12) !important;
  backdrop-filter: blur(18px) saturate(150%) !important; -webkit-backdrop-filter: blur(18px) saturate(150%) !important; }
.stat-card { background: rgba(255,255,255,.12) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,255,255,.16) !important; }
.stat-card.active { background: rgba(255,255,255,.3) !important; }
.stat-card small { color: rgba(255,255,255,.75) !important; } .stat-card b { color: #fff !important; }
.sheet .seg button.active { background: var(--w-blue) !important; box-shadow: none !important; }

/* Menyu — Figma «Frame 2147238288» (2026-11-02): 314×79 pill, oq 5% shisha, faol oq, qolganlari 20–30% */
@media (max-width: 959px) {
  .tabbar { width: 314px; height: 79px; padding: 0 18px; gap: 0; justify-content: space-between; align-items: center;
    border-radius: 39.5px; background: rgba(255,255,255,.05) !important;
    backdrop-filter: blur(24px) saturate(160%) !important; -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 30px rgba(10,50,90,.18) !important; }
  .tabbar a { min-width: 56px; gap: 6px; }
  .tabbar a svg, .tabbar img { width: 28px; height: 28px; }
  .tabbar a span { font-size: 15px; font-weight: 400; letter-spacing: -.01em; }
  .tabbar a, .tabbar a span { color: rgba(255,255,255,.3) !important; }
  .tabbar a svg { color: rgba(255,255,255,.2) !important; } .tabbar img { opacity: .2 !important; }
  .tabbar a.active, .tabbar a.active span, .tabbar a.active svg { color: #fff !important; } .tabbar a.active img { opacity: 1 !important; }
  .dock { bottom: calc(103px + env(safe-area-inset-bottom)); }
}

/* Ish: oy bo'yicha jami — karta / naqd */
.m-sum { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin: 4px 0 12px; }
.m-sum div { background: #fff; border-radius: 16px; padding: 10px 12px; border: 1px solid #E6E9EF; }
.m-sum small { display: block; font-size: 12px; color: var(--w-ink-2); }
.m-sum b { display: block; font-size: 15px; font-weight: 700; color: var(--w-ink); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet .m-items .month-row { background: #fff !important; border-radius: 16px; margin-bottom: 6px; border: 1px solid #E6E9EF; }
.sheet .m-items .month-row b { color: var(--w-ink); }
.m-split { display: block; font-size: 12px; margin-top: 2px; }
.sheet .seg { display: flex; } .sheet .seg button { flex: 1; }
.work-hero .pill small { color: var(--w-ink-2) !important; } .work-hero .pill b { color: var(--w-ink) !important; }
.list .month-row { background: transparent !important; box-shadow: none !important; }
.month-row { display: flex; align-items: center; gap: 10px; }
.month-row .m-left { flex: 1; min-width: 0; } .month-row .m-right { flex: none; text-align: right; }
.m-split { white-space: normal; }
.m-sum { grid-template-columns: 1fr 1fr; } .m-sum div:first-child { grid-column: 1 / -1; } .m-sum div:first-child b { font-size: 20px; }

/* Oylik dashboard (bosh sahifa) — sodda: oy, qoldi, kirim/chiqim, kompaniyalar, toifalar, oyma-oy */
.dash-month { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 14px; }
.dash-month b { font-size: 20px; font-weight: 700; color: #fff; }
.dash-month .flip svg { transform: scaleX(-1); }
.dash-month button[disabled] { opacity: .35; }
.dash-card { background: #fff; color: var(--w-ink); border-radius: 24px; padding: 16px; box-shadow: 0 6px 20px rgba(10,50,90,.10); }
.dash-card.empty, .dash-card .empty { color: var(--w-ink-2); text-align: center; padding: 18px 8px; }
.dash-sum small { color: var(--w-ink-2); font-size: 14px; }
.dash-net { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 14px; color: var(--w-ink); }
.dash-io { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dash-io div { background: #F4F6FA; border-radius: 16px; padding: 10px 12px; }
.dash-io small { display: block; font-size: 12px; }
.dash-io b { font-size: 16px; font-weight: 700; white-space: nowrap; }
.pos { color: #2E9B4E !important; } .neg { color: #E5533A !important; }
.dash-h { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 4px 10px; }
.dash-h h2 { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; margin: 0; }
.dash-h span, .dash-h a { color: rgba(255,255,255,.8); font-size: 14px; }
.dash-list { padding: 6px 12px; }
.dash-row { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 2px; text-align: left; background: none; }
.dash-row + .dash-row, .dash-hist + .dash-hist, .dash-cat + .dash-cat { border-top: 1px solid #EEF0F4; }
.dash-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--w-tile); color: var(--w-blue); display: grid; place-items: center; flex: none; }
.dash-ico svg { width: 20px; height: 20px; }
.dash-row .mid { flex: 1; min-width: 0; }
.dash-row .mid b { display: block; font-size: 16px; color: var(--w-ink); }
.dash-row .mid small { display: block; font-size: 12px; color: var(--w-ink-2); }
.dash-row .amt { font-weight: 700; white-space: nowrap; font-size: 15px; }
.dash-total { display: flex; justify-content: space-between; padding: 12px 2px 8px; border-top: 1px dashed #DCE1E8; font-weight: 600; }
.dash-total b { color: var(--w-ink); }
.dash-cat { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; padding: 11px 2px; }
.dash-cat span { color: var(--w-ink); } .dash-cat b { color: var(--w-ink); font-weight: 600; }
.dash-cat i { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: #EEF0F4; overflow: hidden; }
.dash-cat em { display: block; height: 100%; background: var(--w-blue); border-radius: 4px; }
.dash-hist { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 11px 2px; text-align: left; background: none; }
.dash-hist b { color: var(--w-ink); font-size: 15px; } .dash-hist .net { text-align: right; font-weight: 700; color: var(--w-ink); }
.dash-hist .pos, .dash-hist .neg:not(.net) { font-size: 13px; }
.dash-hist span:nth-of-type(2) { text-align: left; }
.dash-hist.on { background: #F4F6FA; border-radius: 12px; padding-left: 8px; padding-right: 8px; }
#dash { padding: 0 16px 24px; }
.dash-hist { display: flex; align-items: center; gap: 10px; }
.dash-hist .hm { flex: 1; min-width: 0; } .dash-hist .hm b { display: block; }
.dash-hist .hm small { display: block; font-size: 12px; color: var(--w-ink-2); margin-top: 2px; }
.dash-hist .hm i { font-style: normal; }
.dash-hist .net { flex: none; text-align: right; font-size: 16px; }
.dash-hist .net small { display: block; font-size: 11px; font-weight: 500; color: var(--w-ink-2); }
.dash-cat { width: 100%; text-align: left; background: none; }
.dash-cat small { color: var(--w-ink-2); font-size: 12px; }
.dash-row, .dash-cat { cursor: pointer; } .dash-row:active, .dash-cat:active { background: #F4F7FB; border-radius: 12px; }

/* ===================================================================
   Dizayn yangilanishi (Figma, 2026-11-02 — Footage/dizayn-2026-11-02):
   matn #2C2A45 / #9695A2, ajratgich #DFDFE3, aksent #26A4FF, yashil #66BB6A, qizil #E63431,
   oq kartalar radius 20, fon — osmon-ko'k → yashil-zaytun (#9FAB69), menyu — «Navigation Bar».
   =================================================================== */
:root { --w-ink: #2C2A45; --w-ink-2: #9695A2; --w-blue: #26A4FF; --w-tile: #E2EEFB; --line-2: #DFDFE3; --soft-2: #F4F4F5;
  --ok: #66BB6A; --bad: #E63431; }
body { background: #35AAFF; }
body::before { background: linear-gradient(180deg, #2A9CF5 0%, #48B0F7 38%, #8CC3D8 68%, #A9B884 88%, #9FAB69 100%) !important; }
.pos { color: var(--ok) !important; } .neg { color: var(--bad) !important; }

/* oq kartalar — radius 20, yumshoq soya */
.dash-card, .list, .g-card, .tx-pill, .debt, .rep-card, .bd-card, .profile-card, .glass.card:not(.login .card), .glass.empty, .bars, .chat {
  border-radius: 20px !important; box-shadow: 0 3px 18px rgba(44,42,69,.10) !important; }
.dash-row + .dash-row, .dash-hist + .dash-hist, .dash-cat + .dash-cat, .bubble.bot li + li, .bd-row + .bd-row { border-color: var(--line-2) !important; }
.dash-io div, .m-sum div, .dash-hist.on { background: var(--soft-2) !important; border: 0 !important; }
.dash-ico, .tx-ico, .row-tx .ico, .g-ico, .bd-ico { border-radius: 12px !important; }
/* rangli ikonka plitkalari: ko'k / to'q sariq / yashil, oq ikonka */
.dash-list .dash-row:nth-child(3n+1) .dash-ico { background: #26A4FF !important; color: #fff !important; }
.dash-list .dash-row:nth-child(3n+2) .dash-ico { background: #FC940D !important; color: #fff !important; }
.dash-list .dash-row:nth-child(3n) .dash-ico { background: #66BB6A !important; color: #fff !important; }
.dash-ico svg { color: #fff; }
.dash-cat em, .bd-track i, .bars .fill { background: var(--w-blue) !important; }
.badge.red { background: rgba(230,52,49,.12); color: var(--bad) !important; }
.badge.green { background: rgba(102,187,106,.2); color: var(--ok) !important; }
.ck.ok { background: var(--ok); } .ck.no { background: var(--bad); }

/* tugmalar — «Continue Task»: #26A4FF, radius 20, ichki yorug'lik */
.btn-primary, .composer .send, .sheet .btn-primary {
  background: #26A4FF !important; color: #fff !important; border-radius: 20px !important;
  box-shadow: inset 0 4px 9px rgba(103,191,255,.9), 0 6px 16px rgba(38,164,255,.25) !important; }
.sheet .seg button.active, .sheet .chip.active { background: #26A4FF !important; }
.bubble.me { background: #26A4FF !important; }

/* oy sarlavhalari — yo'l (timeline) uslubida: «Group 2085664377» */
.dash-hist { position: relative; padding-left: 40px !important; }
.dash-hist::before { content: ""; position: absolute; left: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%;
  background: #3BADFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.dash-hist::after { content: ""; position: absolute; left: 16px; top: calc(50% + 11px); bottom: calc(-50% + 11px); width: 2px; background: #3BADFF; }
.dash-hist:last-child::after { display: none; }
.dash-hist.on { padding-left: 40px !important; }

/* Menyu — Figma «Navigation Bar»: och shisha panel, tepada AI qatori, pastda to'q ikonkalar */
@media (max-width: 959px) {
  .tabbar.v2 { display: block !important; width: auto !important; height: auto !important; left: 14px !important; right: 14px !important;
    transform: none !important; max-width: 520px; margin: 0 auto; padding: 4px !important; border-radius: 32px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,246,251,.92)) !important; border: 0 !important;
    box-shadow: 0 3px 18px rgba(44,42,69,.15) !important;
    backdrop-filter: blur(16.5px) !important; -webkit-backdrop-filter: blur(16.5px) !important; }
  .tabbar.v2::before { display: none !important; }
  .tabbar.v2 .nav-brand { display: none; }
  .nav-ask { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 12px 10px 16px; background: none; border: 0; text-align: left; }
  .nav-ask svg:first-child { width: 22px; height: 22px; flex: none; }
  .nav-ask span { flex: 1; font-size: 17px; font-weight: 500; letter-spacing: -.01em;
    background: linear-gradient(90deg, #0292FF, #0DD7FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .nav-ask i { width: 30px; height: 30px; border-radius: 50%; background: #E2EEFB; color: #26A4FF; display: grid; place-items: center; flex: none; }
  .nav-ask i svg { width: 18px; height: 18px; }
  .nav-items { display: flex; justify-content: space-between; gap: 2px; }
  .tabbar.v2 .nav-items a { flex: 1 1 0; min-width: 0; height: 56px; border-radius: 28px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 4px; background: none !important; box-shadow: none !important; padding: 0 !important; }
  .tabbar.v2 .nav-items a svg { width: 20px; height: 20px; color: #2C2A45 !important; opacity: 1 !important; }
  .tabbar.v2 .nav-items a span { font-size: 13px !important; font-weight: 500 !important; color: #9695A2 !important; display: block; }
  .tabbar.v2 .nav-items a.active { background: #E8E8F0 !important; }
  .tabbar.v2 .nav-items a.active span { color: #2C2A45 !important; font-weight: 600 !important; }
  .dock { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
  .app { padding-bottom: 260px !important; }
}
/* yuqori tugmalar — oq, to'q ikonka (Figma: oq chiplar) */
.ghost-circle, .icon-badge, .icon-btn { background: rgba(255,255,255,.92) !important; color: #2C2A45 !important; border: 0 !important;
  box-shadow: 0 3px 12px rgba(44,42,69,.10) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.ghost-circle svg, .icon-badge svg, .icon-btn svg { color: #2C2A45 !important; }
.ghost-circle[disabled], .icon-btn[disabled] { opacity: .45; }
.page-title, .dash-month b, .dash-h h2, .sec-head h2 { color: #fff; }
.fin-tabs { background: rgba(255,255,255,.22) !important; }
.fin-tabs a.active, .seg button.active { background: #fff !important; color: #2C2A45 !important; box-shadow: 0 2px 8px rgba(44,42,69,.10) !important; }
.stat-card { background: #fff !important; } .stat-card small { color: #9695A2 !important; } .stat-card b { color: #2C2A45 !important; }
.stat-card.active { background: #26A4FF !important; box-shadow: inset 0 4px 9px rgba(103,191,255,.9) !important; }
.stat-card.active small, .stat-card.active b { color: #fff !important; }

/* Menyu o'lchami — oldingidek ixcham 314×79 pill (uslub yangi: och panel, to'q ikonkalar) */
@media (max-width: 959px) {
  .tabbar.v2 { left: 50% !important; right: auto !important; width: 314px !important; height: 79px !important;
    transform: translateX(-50%) !important; padding: 6px !important; border-radius: 39.5px !important; }
  .tabbar.v2 .nav-items { height: 100%; gap: 0; }
  .tabbar.v2 .nav-items a { height: 100%; border-radius: 33.5px; gap: 3px; }
  .tabbar.v2 .nav-items a span { font-size: 12px !important; }
}

/* Ixcham va nozik (2026-11-02): hamma narsa kichikroq, matnlar yengilroq */
@media (max-width: 959px) {
  #app { zoom: .86; }
  .sheet { zoom: .9; }
}
.dash-net, .bd-big, .g-num, .bal, .work-hero .total { font-weight: 600 !important; letter-spacing: -.02em !important; }
.dash-net { font-size: 28px !important; }
.dash-h h2, .sec-head h2, .page-title, .section-title h3 { font-weight: 600 !important; letter-spacing: -.01em !important; }
.dash-h h2 { font-size: 18px !important; }
.dash-month b { font-size: 17px !important; font-weight: 600 !important; }
.dash-row .mid b, .dash-hist b, .row-tx .mid b, .chat-head b, .sheet h3 { font-weight: 500 !important; }
.dash-row .amt, .dash-io b, .dash-hist .net, .dash-cat b, .row-tx .amt, .dash-total b, .m-sum b, .stat-card b { font-weight: 500 !important; }
.dash-io b { font-size: 15px !important; }
.ghost-circle, .icon-badge, .icon-btn { width: 40px !important; height: 40px !important; border-radius: 13px !important; }
.ghost-circle svg, .icon-btn svg { width: 18px !important; height: 18px !important; }
.panel-top .iva-ava { width: 40px !important; height: 40px !important; border-radius: 12px !important; }
.panel-top b { font-weight: 500 !important; }
.btn { font-weight: 500 !important; }

/* Asosiy: oy filtri, kompaniyalar soni, o'tgan oy bilan solishtirish */
.month-pick { appearance: none; -webkit-appearance: none; border: 0; background: rgba(255,255,255,.92); color: #2C2A45;
  font: inherit; font-size: 16px; font-weight: 600; padding: 9px 16px; border-radius: 13px; text-align: center; text-align-last: center;
  box-shadow: 0 3px 12px rgba(44,42,69,.10); min-width: 170px; }
.dash-sum { cursor: pointer; }
.dash-comp { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 12px; text-align: left; border: 0; }
.dash-comp .mid { flex: 1; min-width: 0; } .dash-comp .mid b { display: block; font-size: 16px; font-weight: 500; color: #2C2A45; }
.dash-comp .mid small { display: block; font-size: 12px; color: #9695A2; }
.dash-comp .dash-ico { background: #26A4FF !important; color: #fff !important; }
.dash-comp .chev svg { width: 16px; height: 16px; color: #9695A2; transform: scaleX(-1); }
.cmp { padding: 6px 14px; }
.cmp-row { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 2px 8px; align-items: baseline; padding: 10px 0; }
.cmp-row + .cmp-row { border-top: 1px solid #DFDFE3; }
.cmp-row span { color: #9695A2; font-size: 13px; }
.cmp-row b { font-size: 14px; font-weight: 500; color: #2C2A45; text-align: right; white-space: nowrap; }
.cmp-head { padding: 6px 0; } .cmp-head b { font-size: 12px; color: #9695A2; font-weight: 500; }
.cmp-d { grid-column: 2 / -1; text-align: right; font-size: 12px; color: #9695A2; }

/* Moliya sahifasi — namunalar uslubida (2026-11-03):
   shisha segment + oq pill; ostida kichik progress qator; oq kartalar r28, rangli nishon, progress chiziq */
.fin-tabs { background: rgba(255,255,255,.18) !important; border: 1px solid rgba(255,255,255,.55) !important; border-radius: 26px !important;
  padding: 4px !important; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.fin-tabs a { color: rgba(255,255,255,.75) !important; font-weight: 500; }
.fin-tabs a.active { background: #fff !important; color: #16181D !important; font-weight: 700 !important; box-shadow: 0 2px 8px rgba(44,42,69,.12) !important; }
.fin-strip { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 4px 6px; }
.fin-strip span { color: rgba(255,255,255,.75); font-size: 13px; }
.fin-strip b { color: #fff; font-size: 14px; font-weight: 700; }
.fin-strip-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.3); margin: 0 4px 14px; overflow: hidden; }
.fin-strip-bar i { display: block; height: 100%; background: #fff; border-radius: 4px; }
.per-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.per-card { display: flex; flex-direction: column; align-items: stretch; gap: 6px; text-align: left; padding: 12px; border: 0;
  border-radius: 22px; background: rgba(255,255,255,.55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 3px 14px rgba(44,42,69,.08); }
.per-card.on { background: #fff; box-shadow: 0 4px 18px rgba(44,42,69,.14), inset 0 0 0 1.5px rgba(255,255,255,1); }
.per-top { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.per-top b { font-size: 14px; font-weight: 700; color: #16181D; }
.per-top em { font-style: normal; font-size: 11px; font-weight: 700; color: #F07B0C; background: #FFF1DE; border-radius: 999px; padding: 2px 7px; }
.per-sum { font-size: 15px; font-weight: 600; color: #16181D; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.per-card small { font-size: 11px; color: #9695A2; }
.per-bar, .tx-bar { display: block; height: 5px; border-radius: 4px; background: #EEEEF3; overflow: hidden; }
.per-bar i, .tx-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #FFB547, #F07B0C); }
.per-bar i.full { background: linear-gradient(90deg, #7AD67E, #2FAE4A); }
.tx-card { margin-top: 12px; background: #fff; border-radius: 28px; padding: 6px 14px 10px; box-shadow: 0 3px 18px rgba(44,42,69,.10); }
.tx-card .day-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px 4px; color: #9695A2 !important; font-size: 13px; }
.row-tx.v2 { display: grid !important; grid-template-columns: 42px 1fr auto; column-gap: 12px; row-gap: 8px; align-items: center;
  padding: 12px 2px !important; border-radius: 0 !important; background: none !important; }
.row-tx.v2 + .row-tx.v2 { border-top: 1px solid #EEEEF3; }
.row-tx.v2 .ico { width: 42px; height: 42px; border-radius: 13px; background: #fff !important; box-shadow: 0 2px 8px rgba(44,42,69,.10) !important;
  display: grid; place-items: center; font-size: 20px; }
.row-tx.v2 .mid b { font-size: 15px; font-weight: 600 !important; color: #16181D; }
.row-tx.v2 .mid small { font-size: 12px; color: #9695A2 !important; }
.row-tx.v2 .amt { text-align: right; }
.row-tx.v2 .amt em { font-style: normal; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.row-tx.v2 .amt em.out { color: #E5533A; background: #FDEBE6; }
.row-tx.v2 .amt em.in { color: #2E9B4E; background: #E6F6EA; }
.row-tx.v2 .amt small { display: block; margin-top: 3px; font-size: 11px; color: #9695A2; }
.row-tx.v2 .tx-bar { grid-column: 1 / -1; }
.empty-v2 { text-align: center; padding: 26px 10px; }
.empty-v2 b { display: block; font-size: 16px; font-weight: 600; color: #16181D; }
.empty-v2 small { display: block; margin-top: 4px; font-size: 13px; color: #9695A2; }
.day-head .badge { position: static !important; }
.row-tx.v2 .amt em * { color: inherit !important; opacity: 1 !important; background: none !important; }

/* Moliya — main.svg (2026-11-03): davr segmenti, shaftoli «breakdown» kartasi, «Topics» uslubidagi yozuvlar */
.fin-strip, .fin-strip-bar, .per-grid { display: none !important; }
.per-seg { display: flex; margin: 0 0 12px !important; height: 44px !important; padding: 4px !important; border-radius: 22px !important;
  background: rgba(255,255,255,.16) !important; border: 1px solid rgba(255,255,255,.45) !important; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); }
.per-seg button { flex: 1; height: 100% !important; border-radius: 18px !important; font-size: 14px !important; color: rgba(255,255,255,.8) !important; background: none; border: 0; font-weight: 500; }
.per-seg button.active { background: #fff !important; color: #181818 !important; font-weight: 700 !important; }
.bd2 { position: relative; overflow: hidden; border-radius: 32px; background: rgba(255,232,226,.92); color: #6E1A0E;
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6); padding-bottom: 6px; }
.bd2-head { position: relative; text-align: center; padding: 20px 16px 16px; border-bottom: 1px solid rgba(110,26,14,.08); }
.bd2-blob { position: absolute; left: 0; top: 0; bottom: 0; width: 32%; background: linear-gradient(135deg, #FF6649, #FF8F6B 60%, rgba(255,143,107,0));
  filter: blur(2px); opacity: .9; border-radius: 0 0 0 0; }
.bd2-head b { position: relative; display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: #6E1A0E; }
.bd2-head small { position: relative; display: block; margin-top: 2px; font-size: 13px; color: rgba(110,26,14,.7); }
.bd2-row { display: grid; grid-template-columns: 40px 1fr auto; column-gap: 12px; row-gap: 10px; align-items: center; margin: 0 16px; padding: 14px 0; }
.bd2-row + .bd2-row { border-top: 1px solid rgba(110,26,14,.08); }
.bd2-ico { width: 40px; height: 40px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 19px; box-shadow: 0 1px 4px rgba(110,26,14,.08); }
.bd2-txt b { display: block; font-size: 15px; font-weight: 600; color: #6E1A0E; }
.bd2-txt small { display: block; font-size: 12px; color: rgba(110,26,14,.55); }
.bd2-row em { font-style: normal; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.bd2-row em.hot { color: #E0452B; background: #FFEEEA; } .bd2-row em.ok { color: #179D35; background: #E9FBEF; }
.bd2-bar { grid-column: 1 / -1; height: 8px; border-radius: 4px; background: rgba(255,255,255,.8); overflow: hidden; }
.bd2-bar i { display: block; height: 100%; border-radius: 4px; } .bd2-bar i.hot { background: #FF6649; } .bd2-bar i.ok { background: #22B048; }
.bd2-empty { text-align: center; padding: 18px; color: rgba(110,26,14,.6); font-size: 14px; }
.sec2 { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 2px 10px; }
.sec2 h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.sec2 span { color: rgba(255,255,255,.8); font-size: 13px; }
.tx-stack .day-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 8px; color: rgba(255,255,255,.85) !important; font-size: 13px; }
.tx-stack .day-head .badge { background: rgba(255,255,255,.9) !important; }
.tx-stack .row-tx.v2 { grid-template-columns: 46px 1fr auto 10px !important; background: #fff !important; border-radius: 22px !important;
  padding: 12px 14px !important; margin-bottom: 8px; box-shadow: 0 3px 14px rgba(44,42,69,.08); border: 0 !important; }
.tx-stack .row-tx.v2 + .row-tx.v2 { border-top: 0 !important; }
.ico.ring { width: 46px !important; height: 46px !important; border-radius: 50% !important; padding: 4px; box-shadow: none !important;
  background: conic-gradient(#FF6649 calc(var(--p) * 1%), #EEF0F4 0) !important; }
.ico.ring > span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 18px; }
.tx-chev { width: 0; height: 0; border-left: 5px solid #C4C9D1; border-top: 4px solid transparent; border-bottom: 4px solid transparent; justify-self: end; }
.tx-stack .empty-v2 { background: #fff; border-radius: 22px; }
.row-tx.v2 .ico.ring { background: conic-gradient(#FF6649 calc(var(--p) * 1%), #EEF0F4 0) !important; box-shadow: none !important; }
.row-tx.v2 .ico.ring.in { background: conic-gradient(#22B048 calc(var(--p) * 1%), #EEF0F4 0) !important; }

/* Hisobot — main.svg uslubi (2026-11-03) */
.period-nav b { color: #fff; font-weight: 700; }
/* grafik — shisha karta (oq 14%, r28), oq matn va ustunlar */
.rep-card.glass2 { background: rgba(255,255,255,.14) !important; border: 1px solid rgba(255,255,255,.35) !important; border-radius: 28px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35) !important; backdrop-filter: blur(15px) !important; -webkit-backdrop-filter: blur(15px) !important; color: #fff !important; }
.rep-card.glass2 .rep-label { color: rgba(255,255,255,.75) !important; font-size: 13px; }
.rep-card.glass2 .rep-total { color: #fff !important; font-size: 34px; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 6px; }
.rep-card.glass2 .rep-total small { font-size: 16px; font-weight: 600; opacity: .8; }
.rep-card.glass2 .rep-col i { background: rgba(255,255,255,.3) !important; }
.rep-card.glass2 .rep-col.on i { background: #fff !important; }
.rep-card.glass2 .rep-val, .rep-card.glass2 .rep-day { color: rgba(255,255,255,.85) !important; }
/* «This month» plitkalari: shisha 2×2, oq raqamlar */
.gt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gt { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: 28px; padding: 14px;
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); color: #fff; min-height: 128px;
  display: flex; flex-direction: column; }
.gt-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.gt-ico { width: 36px; height: 36px; border-radius: 11px; background: rgba(255,255,255,.22); display: grid; place-items: center; }
.gt-ico svg { width: 18px; height: 18px; color: #fff; }
.gt-tr { font-size: 13px; font-weight: 600; color: #fff; }
.gt b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; margin-top: 14px; color: #fff; }
.gt b small { font-size: 16px; font-weight: 600; margin-left: 2px; }
.gt > span:last-child { font-size: 13px; color: rgba(255,255,255,.8); }
/* toifalar — shaftoli «breakdown» karta */
.bd-card { background: rgba(255,232,226,.92) !important; border-radius: 32px !important; color: #6E1A0E !important;
  backdrop-filter: blur(15px) !important; -webkit-backdrop-filter: blur(15px) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.6) !important; margin-top: 12px; overflow: hidden; }
.bd-card .bd-head { position: relative; border-bottom: 1px solid rgba(110,26,14,.08) !important; }
.bd-card .bd-head::before { display: block !important; content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 32%;
  background: linear-gradient(135deg, #FF6649, #FF8F6B 60%, rgba(255,143,107,0)) !important; }
.bd-card .bd-big { color: #6E1A0E !important; font-weight: 800 !important; }
.bd-card .bd-sub, .bd-card small { color: rgba(110,26,14,.6) !important; }
.bd-card .bd-text b { color: #6E1A0E !important; font-weight: 600 !important; }
.bd-card .bd-ico { background: #fff !important; border-radius: 12px !important; }
.bd-card .bd-row, .bd-card .bd-row + .bd-row { border-color: rgba(110,26,14,.08) !important; }
.bd-card .bd-pct { background: #E9FBEF !important; color: #179D35 !important; }
.bd-card .bd-pct.hot { background: #FFEEEA !important; color: #E0452B !important; }
.bd-card .bd-track { background: rgba(255,255,255,.8) !important; height: 8px !important; }
.bd-card .bd-track i { background: #22B048 !important; } .bd-card .bd-track i.hot { background: #FF6649 !important; }
.bd-card .bd-toggle { color: #6E1A0E !important; font-weight: 600; }
#r-text { background: rgba(255,255,255,.18) !important; color: #fff !important; border: 1px solid rgba(255,255,255,.45) !important; box-shadow: none !important; }
.tx-stack div.row-tx.v2 > i:last-child { display: none; }
.rep-card.glass2 .rep-total small { color: rgba(255,255,255,.85) !important; }
.row-tx .amt.inc, .row-tx .amt .inc { color: #4CAF50 !important; opacity: 1 !important; -webkit-text-fill-color: currentColor; background: none !important; }
/* Moliya (Yozuvlar) — 3 ta karta versiyasi: progress qator va kartalar yana ko'rinadi */
.fin-strip { display: flex !important; } .fin-strip-bar { display: block !important; } .per-grid { display: grid !important; }
.tx-card .row-tx.v2 { grid-template-columns: 42px 1fr auto !important; background: none !important; box-shadow: none !important; margin: 0; border-radius: 0 !important; }

/* Bugun / Hafta / Oy — «Topics to fix» qatorlari (main.svg): halqa ichida soni, sarlavha, kulrang izoh, › */
.per-grid { display: none !important; }
.per-rows { display: flex; flex-direction: column; gap: 8px; }
.per-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 26px; background: #fff;
  text-align: left; box-shadow: 0 3px 14px rgba(44,42,69,.08); }
.per-row.on { box-shadow: 0 0 0 2px #26A4FF, 0 3px 14px rgba(44,42,69,.10); }
.ring-n { width: 50px; height: 50px; border-radius: 50%; padding: 5px; flex: none;
  background: conic-gradient(#F07158 calc(var(--p) * 1%), #EEF0F4 0); }
.ring-n > span { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 17px; font-weight: 600; color: #181818; }
.per-row .mid { flex: 1; min-width: 0; }
.per-row .mid b { display: block; font-size: 18px; font-weight: 600; color: #181818; letter-spacing: -.01em; }
.per-row .mid small { display: block; font-size: 14px; color: #6B7280; margin-top: 2px; }
.per-row .tx-chev { flex: none; }
.per-row.on { box-shadow: 0 0 0 2px #26A4FF, 0 3px 14px rgba(44,42,69,.10) !important; }

/* Bugun / Hafta / Oy — «score breakdown» qatorlari uslubida (shaftoli karta, ikonka plitkasi, foiz nishoni, chiziq) */
.per-rows { display: none !important; }
.per-bd { border-radius: 32px; background: rgba(255,232,226,.92); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6); padding: 4px 0; overflow: hidden; }
.per-bd-row { display: grid; grid-template-columns: 44px 1fr auto; column-gap: 12px; row-gap: 12px; align-items: center; width: calc(100% - 24px);
  margin: 0 12px; padding: 14px 8px; border: 0; background: none; text-align: left; border-radius: 20px; }
.per-bd-row + .per-bd-row { border-top: 1px solid rgba(110,26,14,.08); }
.per-bd-row.on { background: rgba(255,255,255,.55); border-top-color: transparent; }
.per-bd-row.on + .per-bd-row { border-top-color: transparent; }
.per-bd-row .bd2-ico { width: 44px; height: 44px; border-radius: 13px; font-size: 20px; }
.per-bd-row .bd2-txt b { font-size: 17px; font-weight: 600; color: #6E1A0E; }
.per-bd-row .bd2-txt small { font-size: 13px; color: rgba(110,26,14,.6); }
.per-bd-row em { font-style: normal; font-size: 14px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.per-bd-row em.hot { color: #E0452B; background: #FFEEEA; } .per-bd-row em.ok { color: #179D35; background: #E9FBEF; }
.per-bd-row .bd2-bar { grid-column: 1 / -1; height: 8px; }
/* Tasdiqlangan versiya (2026-11-03): Bugun/Hafta/Oy — 3 ta karta */
.per-grid { display: grid !important; } .fin-strip { display: flex !important; } .fin-strip-bar { display: block !important; }
.per-rows, .per-bd { display: none !important; }

/* Asosiy: Rejalashtirilgan xarajat */
.plan-seg { display: flex; margin: 0 0 10px; height: 40px !important; padding: 3px !important; border-radius: 20px !important;
  background: rgba(255,255,255,.18) !important; border: 1px solid rgba(255,255,255,.45) !important; }
.plan-seg button { flex: 1; border: 0; background: none; border-radius: 17px !important; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85) !important; height: 100% !important; }
.plan-seg button.active { background: #fff !important; color: #181818 !important; font-weight: 700; }
.plan-card { padding: 14px; }
.plan-sum { display: flex; justify-content: space-between; align-items: flex-end; padding: 2px 2px 10px; border-bottom: 1px solid #EEF0F4; margin-bottom: 4px; }
.plan-sum small { display: block; font-size: 12px; color: #9695A2; }
.plan-sum b { font-size: 20px; font-weight: 700; color: #2C2A45; }
.plan-sum .r { text-align: right; } .plan-sum .r b { font-size: 15px; }
.plan-row { display: flex; align-items: center; gap: 10px; padding: 10px 2px; }
.plan-row + .plan-row { border-top: 1px solid #EEF0F4; }
.plan-ck { width: 24px; height: 24px; border-radius: 8px; border: 2px solid #C4C9D1; background: #fff; color: #fff; font-size: 14px; font-weight: 800;
  display: grid; place-items: center; flex: none; padding: 0; }
.plan-row.done .plan-ck { background: #22B048; border-color: #22B048; }
.plan-t { flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 8px; background: none; border: 0; padding: 0; text-align: left; }
.plan-t b { font-size: 15px; font-weight: 500; color: #2C2A45; }
.plan-t span { font-size: 15px; font-weight: 600; color: #2C2A45; white-space: nowrap; }
.plan-row.done .plan-t b, .plan-row.done .plan-t span { color: #9695A2; text-decoration: line-through; }
.plan-card .empty { color: #9695A2; text-align: center; padding: 14px 4px; font-size: 14px; }
.plan-ta { width: 100%; min-height: 120px; resize: vertical; font: inherit; line-height: 1.5; padding: 12px 14px !important; border-radius: 16px !important; }

/* Ish hisobi — oq kartalar (referens: «Write an essay with AI feedback»): och ko'k plitka + ko'k ikonka, to'q sarlavha, kulrang izoh, › */
.place-row { display: flex !important; align-items: center; gap: 14px; width: 100%; padding: 16px !important; border-radius: 30px !important;
  background: #fff !important; border: 0 !important; box-shadow: 0 3px 14px rgba(44,42,69,.08) !important; text-align: left;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.place-row::before { display: none !important; }
.place-row .icon-badge { width: 56px !important; height: 56px !important; border-radius: 18px !important; background: #E8F3FE !important; color: #178DEB !important; box-shadow: none !important; flex: none; }
.place-row .icon-badge svg { width: 26px !important; height: 26px !important; color: #178DEB !important; }
.place-row .mid { flex: 1; min-width: 0; }
.place-row .mid b { display: block; font-size: 18px; font-weight: 600; color: #181818 !important; }
.place-row .mid small { display: block; font-size: 14px; color: #6B7280 !important; margin-top: 2px; }
.place-row .amt { color: #181818 !important; font-weight: 600; font-size: 15px; text-align: right; white-space: nowrap; }
.place-row .amt small { display: block; font-size: 12px; color: #9695A2 !important; font-weight: 400; }
.place-row svg:last-child:not(.icon-badge svg) { color: #C4C9D1 !important; }
#add-place { background: #fff !important; color: #178DEB !important; border: 0 !important; border-radius: 30px !important;
  box-shadow: 0 3px 14px rgba(44,42,69,.08) !important; font-weight: 600 !important; }
.place-row .chev { display: none !important; }
.place-row::after { content: ""; flex: none; width: 0; height: 0; border-left: 7px solid #C4C9D1; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }

/* Fon — foydalanuvchi bergan «fon uchun.png» (Footage), ko'k → yashil; butun ekranga cho'zilgan, joyida qotgan */
body { background: #0A7A55 !important; }
body::before { background: #2A9CF5 url("/static/assets/bg3.jpg?v=1") center / 100% 100% no-repeat !important; }
/* Reja qo'shish formasi: har xarajat alohida bo'lak */
.pf-list { display: flex; flex-direction: column; gap: 8px; }
.pf-row { display: grid; grid-template-columns: 22px 1fr 128px; gap: 8px; align-items: center; }
.pf-n { width: 22px; height: 22px; border-radius: 50%; background: #E8F3FE; color: #178DEB; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.pf-row .input { height: 46px; padding: 0 12px !important; border-radius: 14px !important; font-size: 15px; min-width: 0; }
.pf-row .pf-a { text-align: right; }
.pf-row .input::placeholder { color: #A9ADB8 !important; opacity: 1; }
/* summa ostidagi «= 6 500 000 so'm» — to'q rangda, aniq o'qiladi */
.amount-preview { color: #2C2A45 !important; font-weight: 600; font-size: 14px; margin: 6px 4px 0; opacity: 1 !important; }
