/* =========================================================
   Shaffof Nasiya — dizayn tizimi
   G‘oya: telefon qutisidagi IMEI yorlig‘i + "to‘lov tasmasi" (har oy bitta bo‘lak).
   Ranglar: chuqur zumrad (ishonch, pul), za’faron (bugun), qizil (kechikkan).
   ========================================================= */
:root {
  --bg: #0A0A0B;
  --surface: #131315;
  --surface-2: #1A1A1D;
  --ink: #F5F5F6;
  --ink-2: #C7C7CE;
  --muted: #8A8A93;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --brand: #FF5B1F;
  --brand-600: #E8470E;
  --brand-50: rgba(255, 91, 31, .13);
  --brand-grad: linear-gradient(145deg, #FF8A3D 0%, #FF5B1F 45%, #B8360A 100%);
  --accent: #FFC08A;
  --accent-ink: #FFC08A;
  --accent-50: rgba(255, 192, 138, .12);
  --danger: #FF4D5E;
  --danger-50: rgba(255, 77, 94, .13);
  --ok: #5EE0A0;
  --side: #0E0E10;
  --side-2: #1A1A1D;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  --r: 18px;
  --r-s: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 20px 40px -24px rgba(0, 0, 0, .8);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
p { margin: 0 0 .8rem; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.mono, code { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.red { color: var(--danger) !important; }
.ok-t { color: var(--ok); }
.accent-t { color: var(--accent-ink); font-weight: 700; }
.warn { color: var(--accent-ink); background: var(--accent-50); padding: .6rem .8rem; border-radius: var(--r-s); font-size: 13px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.ic { width: 18px; height: 18px; flex: none; }
[hidden] { display: none !important; }

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 42px; padding: 0 1rem; border-radius: var(--r-s); border: 1px solid var(--line-2);
  background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .05s; white-space: nowrap;
}
.btn:hover { border-color: rgba(255,255,255,.3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.primary { background: var(--brand-grad); border-color: rgba(255,255,255,.16); color: #fff; box-shadow: 0 10px 26px -12px rgba(255,91,31,.9); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); }
.btn.soft { background: var(--brand-50); border-color: transparent; color: #FF9A6A; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.danger-soft { background: var(--danger-50); border-color: transparent; color: var(--danger); }
.btn.tg { background: #229ED9; border-color: #229ED9; color: #fff; }
.btn.sm { min-height: 34px; padding: 0 .75rem; font-size: 13px; }
.btn.lg { min-height: 52px; padding: 0 1.4rem; font-size: 15px; border-radius: 13px; }
.btn.block { width: 100%; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.logo b { color: var(--brand); font-weight: 800; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo.light, .side .logo { color: #fff; }

/* ---------- Badge, chip, pill ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); vertical-align: middle; letter-spacing: 0; }
.badge .ic { width: 13px; height: 13px; }
.b-active { background: var(--brand-50); color: #FF9A6A; border-color: transparent; }
.b-overdue { background: var(--danger-50); color: var(--danger); border-color: transparent; }
.b-today { background: var(--accent-50); color: var(--accent-ink); border-color: transparent; }
.b-closed { background: rgba(255,255,255,.06); color: var(--muted); border-color: transparent; }
.chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .9rem; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: 13px; cursor: pointer; }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 6px 18px -8px rgba(255,91,31,.8); }
.pill { min-width: 26px; height: 22px; padding: 0 .45rem; border-radius: 99px; background: var(--accent-50); color: var(--accent-ink); font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.pill.red { background: var(--danger-50); color: var(--danger); }

/* ---------- To‘lov tasmasi (asosiy belgi) ---------- */
.ribbon { display: flex; gap: 3px; margin: .45rem 0 .1rem; max-width: 260px; }
.ribbon i { flex: 1; height: 7px; border-radius: 3px; background: rgba(255,255,255,.08); animation: segin .5s both; animation-delay: calc(var(--i) * 45ms); }
.ribbon.big { max-width: none; gap: 4px; margin: .9rem 0 .5rem; }
.ribbon.big i { height: 12px; border-radius: 4px; }
.rb-paid { background: var(--brand-grad) !important; }
.rb-today { background: #fff !important; box-shadow: 0 0 10px rgba(255,255,255,.6); animation: segin .5s both, pulse 1.6s 1s ease-in-out infinite !important; animation-delay: calc(var(--i) * 45ms), 1s !important; }
.rb-overdue { background: repeating-linear-gradient(135deg, var(--danger) 0 4px, #B5212F 4px 8px) !important; }

/* ---------- IMEI yorlig‘i ---------- */
.imei { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .8rem; padding: .7rem .85rem; margin-top: .7rem; border: 1px dashed var(--line-2); border-radius: var(--r-s); background: repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 6px, transparent 6px 12px); }
.imei-t { grid-row: span 2; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.imei svg { width: 100%; height: 30px; fill: #E9E9EC; }
.imei code { font-size: 14px; letter-spacing: .08em; color: var(--ink); margin-top: .2rem; }

/* ---------- Yuklanish va bo‘sh holat ---------- */
.loading { display: flex; justify-content: center; gap: 6px; padding: 5rem 0; }
.loading span { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); animation: dot 1s infinite ease-in-out; }
.loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .ic { width: 36px; height: 36px; color: var(--line-2); margin-bottom: .5rem; }
.empty h3 { color: var(--ink); margin-bottom: .3rem; }
.empty.sm { padding: 1.4rem .5rem; } .empty.sm .ic { width: 26px; height: 26px; } .empty.sm p { margin: 0; font-size: 14px; }

/* =========================================================
   ILOVA QOBIG‘I
   ========================================================= */
.app #shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 1.6rem; padding: 1.3rem 1rem; background: var(--side); color: #B9B9C1; border-right: 1px solid var(--line); }
.side-nav { display: grid; gap: 3px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: .7rem; padding: .62rem .75rem; border-radius: 10px; font-weight: 600; font-size: 14px; }
.side-nav a:hover { background: var(--side-2); color: #fff; }
.side-nav a.on { background: var(--side-2); color: #fff; box-shadow: inset 3px 0 0 var(--brand); }
.side-nav a.nav-cta { margin: .5rem 0; background: var(--brand-grad); color: #fff; box-shadow: 0 10px 24px -12px rgba(255,91,31,.9); }
.side-nav a.nav-cta:hover { background: var(--brand-600); }
.side-foot { margin-top: auto; display: grid; gap: .6rem; }
.shop { display: flex; align-items: center; gap: .65rem; padding: .7rem; border-radius: 12px; background: var(--side-2); }
.shop b { display: block; color: #fff; font-size: 13px; line-height: 1.3; }
.shop small { color: var(--muted); font-size: 12px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-grad); color: #fff; font-weight: 800; flex: none; }
.side-out { display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border: 0; border-radius: 10px; background: none; color: var(--muted); cursor: pointer; font-weight: 600; font-size: 13px; }
.side-out:hover { color: #fff; background: var(--side-2); }
.dot-count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; display: inline-grid; place-items: center; }
.mtop, .tabbar { display: none; }
#main { min-width: 0; outline: none; }

.page { max-width: 1180px; margin: 0 auto; padding: 1.8rem 2rem 4rem; }
.page.narrow { max-width: 760px; }
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.ph h1 { font-size: 28px; font-weight: 800; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.ph .muted { margin: .25rem 0 0; }
.ph-date { margin: 0 0 .25rem; font-size: 13px; color: var(--muted); font-weight: 600; }
.ph-act { display: flex; gap: .5rem; flex-wrap: wrap; }
.back { display: inline-block; margin-bottom: .8rem; color: var(--muted); font-weight: 600; font-size: 14px; }
.back:hover { color: var(--ink); }

.card { position: relative; background: var(--glass), var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.25rem; box-shadow: var(--shadow); margin-bottom: 1rem; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .8rem; }
.card-h h2 { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.link { color: var(--brand); font-weight: 700; font-size: 13px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-2 > .card { margin-bottom: 0; }
.grid-2 + .card, .grid-2 + .grid-2 { margin-top: 1rem; }
.grid-2.wide-left { grid-template-columns: 1.5fr 1fr; }
.page > .grid-2 { margin-bottom: 1rem; }

/* ---------- Panel ---------- */
.callout { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.1rem; margin-bottom: 1rem; border-radius: var(--r); background: linear-gradient(90deg, rgba(34,158,217,.16), rgba(34,158,217,.04)); border: 1px solid rgba(34,158,217,.3); color: #D7EEFA; }
.callout > .ic { width: 26px; height: 26px; color: #229ED9; }
.callout b { display: block; }
.callout span { font-size: 13px; }
.callout em { margin-left: auto; font-style: normal; font-weight: 800; white-space: nowrap; }

.kpis { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.kpi { position: relative; padding: 1.1rem 1.15rem; border-radius: var(--r); background: var(--glass), var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; transition: transform .25s, border-color .25s; }
.kpi:hover { transform: translateY(-3px); border-color: var(--line-2); }
.kpi span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi b { display: block; font-family: var(--mono); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: .35rem 0 .15rem; overflow-wrap: anywhere; }
.kpi small { color: var(--muted); font-size: 12px; }
.kpi.main { background: var(--brand-grad); border-color: rgba(255,255,255,.18); color: #fff; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(255,91,31,.75); }
.kpi.main span, .kpi.main small { color: rgba(255,255,255,.82); }
.kpi-glow { position: absolute; inset: auto -30% -60% auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); pointer-events: none; animation: breathe 5s ease-in-out infinite; }
.kpi.main b { font-size: 30px; color: #fff; }
.kpi.main::after { content: ""; position: absolute; left: 1.15rem; right: 1.15rem; bottom: .8rem; height: 0; }
.kpi.danger b { color: var(--danger); }
.kbar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin: .35rem 0 .35rem; }
.kbar i { display: block; height: 100%; background: var(--brand-grad); border-radius: 99px; transform-origin: left; animation: growx 1.1s .2s cubic-bezier(.2,.8,.2,1) both; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li + li { border-top: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem .2rem; align-items: center; }
.row:hover { background: rgba(255,255,255,.03); }
.r-main { min-width: 0; }
.r-main b { display: block; font-size: 14px; }
.r-main span { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-side { display: grid; justify-items: end; gap: .15rem; flex: none; }
.r-side b { font-family: var(--mono); font-size: 14px; }
.r-side small { font-size: 12px; color: var(--muted); }
.r-side .btn { margin-top: .25rem; }

.chart svg { width: 100%; height: auto; display: block; }
.c-col { fill: #4A4A52; }
.c-col.hot { fill: url(#hotg); filter: drop-shadow(0 0 10px rgba(255,91,31,.55)); }
.c-col, .c-exp { transform-box: fill-box; transform-origin: bottom; animation: grow .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 70ms); }
.c-tip rect { fill: #fff; } .c-tip text { fill: #0A0A0B !important; font-family: var(--mono) !important; font-weight: 600; font-size: 12px; } .c-tip { animation: fade .4s .7s both; }
.c-exp { fill: #26262B; }
.c-axis { stroke: var(--line-2); }
.chart text { font-size: 12px; fill: var(--muted); font-family: var(--font); font-weight: 600; }
.legend { display: flex; gap: .8rem; font-size: 12px; color: var(--muted); font-weight: 600; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; vertical-align: -1px; }
.lg-col { background: #4A4A52; } .lg-exp { background: #26262B; }

.models { list-style: none; padding: 0; margin: 0 0 1rem; }
.models li { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; }
.models li + li { border-top: 1px dashed var(--line); }
.mi { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--surface-2); font-size: 12px; font-weight: 800; color: var(--muted); }
.models b { font-size: 14px; }
.models em { margin-left: auto; font-style: normal; font-weight: 700; color: #FF9A6A; font-size: 13px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.mini-stats b { display: block; font-family: var(--mono); font-size: 15px; }
.mini-stats span { font-size: 12px; color: var(--muted); }

/* ---------- Savdolar jadvali ---------- */
.toolbar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.search { flex: 1 1 320px; display: flex; align-items: center; gap: .55rem; padding: 0 .9rem; height: 44px; border-radius: var(--r-s); background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.search input { flex: 1; border: 0; outline: 0; background: none; font: inherit; color: var(--ink); min-width: 0; }
.chips { display: flex; gap: .4rem; flex-wrap: wrap; }
.tbl { background: var(--glass), var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.tr { display: grid; grid-template-columns: 1.4fr 1.3fr .8fr .95fr 1.1fr .7fr; gap: 1rem; padding: .85rem 1.1rem; align-items: center; border-top: 1px solid var(--line); }
.tr.th { border-top: 0; background: rgba(255,255,255,.03); font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: .6rem 1.1rem; }
a.tr:hover { background: rgba(255,255,255,.025); }
.tr b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-num b { font-family: var(--mono); }
.c-rb .ribbon { margin: 0 0 .2rem; }

/* ---------- Forma ---------- */
.fld { display: grid; gap: .35rem; min-width: 0; }
.fld > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 44px; padding: .55rem .8rem; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--surface); font: inherit; color: var(--ink); outline: none; }
.fld textarea { resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.pre { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--r-s); background: var(--surface); overflow: hidden; }
.pre:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); }
.pre em { display: grid; place-items: center; padding: 0 .7rem; background: var(--surface-2); border-right: 1px solid var(--line); font-style: normal; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.pre input { border: 0 !important; box-shadow: none !important; border-radius: 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.span2 { grid-column: 1 / -1; }
.form-err { color: var(--danger); font-weight: 600; font-size: 14px; min-height: 1.2em; display: flex; gap: .4rem; align-items: center; margin: .5rem 0; }
.form-err:empty { display: none; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); gap: 3px; flex-wrap: wrap; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; padding: .5rem .9rem; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg input:focus-visible + span { outline: 3px solid var(--brand-50); }
.imei-in { position: relative; }
.imei-in input { padding-right: 7.5rem; letter-spacing: .08em; font-size: 15px; }
.imei-st { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); display: inline-flex; gap: .3rem; align-items: center; font-size: 12px; font-weight: 700; font-style: normal; color: var(--muted); }
.imei-st .ic { width: 14px; height: 14px; }
.imei-st.ok { color: var(--ok); } .imei-st.bad { color: var(--danger); }
.terms { display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.terms .chip { min-width: 46px; justify-content: center; }
.term-in { width: 80px !important; text-align: center; }

.ns { display: grid; grid-template-columns: 1fr 360px; gap: 1rem; align-items: start; }
.form-card h2 { font-size: 16px; font-weight: 800; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.step { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--brand-grad); color: #fff; font-size: 13px; }
.ns-side { position: sticky; top: 1.2rem; }
.sum-card { background: var(--glass), #111113; border-color: var(--line-2); color: #fff; position: relative; overflow: hidden; }
.sum-card::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 80%; height: 70%; background: radial-gradient(closest-side, rgba(255,91,31,.28), transparent); pointer-events: none; }
.sum-t { position: relative; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .8rem; }
.sum-card .muted { color: #9FB0C6; }
.sum-big small { display: block; color: #9FB0C6; font-size: 13px; }
.sum-big b { font-family: var(--mono); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.sum-big span { color: #9FB0C6; margin-left: .3rem; }
.sum-dl { margin: 1rem 0; }
.sum-dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.sum-dl dt { color: #B7C4D6; }
.sum-dl dd { margin: 0; font-family: var(--mono); text-align: right; }
.sum-dl dd small { display: block; color: #9FB0C6; font-size: 11px; }
.sum-dl .over dd { color: var(--brand); }
.sum-dl .hl dd { color: var(--brand); font-size: 17px; font-weight: 600; }
.sum-card .warn { margin-top: .6rem; }

/* ---------- Haqiqiy narx kartasi ---------- */
.truth { position: relative; padding: 1.3rem; border-radius: var(--r); background: var(--glass), #111113; border: 1px solid var(--line-2); color: #fff; box-shadow: 0 40px 80px -40px rgba(255,91,31,.45); }
.truth-t { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: .9rem; }
.truth-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: #B7C4D6; }
.truth-row b { color: #fff; font-family: var(--mono); font-weight: 600; text-align: right; }
.truth-row.over b { color: var(--brand); }
.truth-bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; margin: .7rem 0 .8rem; background: rgba(255, 255, 255, .1); gap: 2px; }
.truth-bar i { display: block; height: 100%; background: #5A5A63; transform-origin: left; animation: growx 1s cubic-bezier(.2,.8,.2,1) both; }
.truth-bar i.over { background: var(--brand-grad); animation-delay: .5s; }

/* ---------- Savdo sahifasi ---------- */
.contact { display: flex; gap: 1rem; flex-wrap: wrap; margin: .5rem 0 0; }
.contact a { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--mono); font-size: 14px; color: #FF9A6A; font-weight: 600; }
.progress-card .pc-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.pc-top small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pc-top b { display: block; font-family: var(--mono); font-size: 22px; font-weight: 600; margin-top: .15rem; }
.pc-top span { font-size: 12.5px; color: var(--muted); }
.pc-top .late { padding-left: 1rem; border-left: 3px solid var(--danger); }
.pc-top .late b { color: var(--danger); }
.dev-line { display: flex; gap: .8rem; align-items: center; }
.dev-line > .ic { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: var(--surface-2); color: var(--ink-2); }
.dev-line b { display: block; font-size: 16px; }
.dev-line span { font-size: 13px; color: var(--muted); }
.kv { margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: 14px; }
.kv div:first-child { border-top: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 600; }
.sched { display: grid; gap: 2px; }
.sr { display: grid; grid-template-columns: 34px 1fr 1fr 1fr 110px; gap: .8rem; align-items: center; padding: .5rem .6rem; border-radius: 9px; font-size: 14px; }
.sr:nth-child(odd) { background: rgba(255,255,255,.025); }
.sn { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: rgba(255,255,255,.07); font-size: 12px; font-weight: 800; color: var(--ink-2); }
.sd { font-weight: 600; white-space: nowrap; }
.sa { font-weight: 600; }
.sp { font-size: 12.5px; color: var(--muted); }
.ss { justify-self: end; font-size: 12px; font-weight: 800; padding: .15rem .55rem; border-radius: 99px; background: rgba(255,255,255,.06); color: var(--muted); }
.st-paid .sn { background: var(--brand); color: #fff; } .st-paid .ss { background: var(--brand-50); color: #FF9A6A; }
.st-today .sn { background: #fff; color: #0A0A0B; } .st-today .ss { background: var(--accent-50); color: var(--accent-ink); } .st-today { box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.st-overdue .sn { background: var(--danger); color: #fff; } .st-overdue .ss { background: var(--danger-50); color: var(--danger); }
.qr-row { display: flex; gap: 1.1rem; align-items: flex-start; flex-wrap: wrap; margin: .6rem 0; }
.qr { padding: 10px; border-radius: 14px; background: #fff; flex: none; box-shadow: 0 0 0 1px var(--line-2), 0 20px 40px -20px rgba(255,91,31,.5); }
.qr img, .qr canvas { display: block; }
.qr-act { display: grid; gap: .45rem; }
.row-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.pays { list-style: none; margin: 0; padding: 0; }
.pays li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-top: 1px solid var(--line); font-size: 14px; }
.pays li:first-child { border-top: 0; }
.pays b { color: var(--ok); }
.pays span { color: var(--muted); }
.danger-zone { display: flex; justify-content: flex-end; margin-top: .5rem; }
.tg-connect.on { border-color: rgba(34,158,217,.35); }
.tg-connect h2 .ic { color: #229ED9; }

/* ---------- Xabarlar ---------- */
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.notes a { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem 1rem; border-radius: var(--r); background: var(--glass), var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.notes a:hover { border-color: var(--line-2); transform: translateX(3px); }
.notes li.unread a { border-color: var(--line-2); box-shadow: inset 3px 0 0 var(--brand), var(--shadow); }
.notes p { margin: 0 0 .2rem; font-size: 14px; font-weight: 600; }
.notes li:not(.unread) p { font-weight: 500; color: var(--ink-2); }
.notes small { color: var(--muted); font-size: 12px; }
.n-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none; background: var(--surface-2); }
.n-today { background: var(--accent-50); color: var(--accent-ink); }
.n-overdue { background: var(--danger-50); color: var(--danger); }
.n-soon { background: var(--brand-50); color: #FF9A6A; }

/* ---------- Modal va toast ---------- */
.modal-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1rem; background: rgba(0, 0, 0, .65); backdrop-filter: blur(6px); animation: fade .15s ease; }
.modal { width: min(460px, 100%); max-height: 92vh; overflow: auto; background: var(--glass), #141416; border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255,91,31,.08); animation: up .22s cubic-bezier(.2,.8,.2,1); }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.2rem .4rem; }
.modal-h h3 { font-size: 18px; font-weight: 800; }
.modal-b { padding: .4rem 1.2rem; display: grid; gap: .9rem; }
.modal-b p { margin: 0; }
.modal-f { display: flex; justify-content: flex-end; gap: .5rem; padding: 1rem 1.2rem 1.2rem; }
.quick { display: flex; gap: .4rem; flex-wrap: wrap; }
.quick .chip { flex-direction: column; align-items: flex-start; gap: 0; padding: .4rem .8rem; border-radius: 12px; min-height: 0; }
.quick .chip b { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.big-in { font-size: 22px !important; font-weight: 600; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(12px); opacity: 0; } }
#toasts { position: fixed; z-index: 60; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; max-width: min(380px, calc(100vw - 2rem)); }
.toast { display: flex; gap: .6rem; align-items: flex-start; padding: .8rem 1rem; border-radius: 14px; background: #1C1C20; border: 1px solid var(--line-2); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 20px 40px -16px rgba(12, 26, 43, .5); animation: up .2s ease; transition: opacity .3s, transform .3s; }
.toast .ic { color: var(--brand); margin-top: 1px; }
.toast.t-err .ic { color: #FF9B94; }
.toast.t-info .ic { color: var(--accent); }
.toast.out { opacity: 0; transform: translateY(8px); }


/* ---------- Animatsiyalar ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes grow { from { transform: scaleY(0); } }
@keyframes growx { from { transform: scaleX(0); } }
@keyframes segin { from { opacity: 0; transform: scaleX(.2); } }
@keyframes pulse { 50% { opacity: .45; } }
@keyframes breathe { 50% { opacity: .55; transform: scale(1.08); } }
@keyframes beam { 0%, 100% { opacity: .9; } 50% { opacity: 1; filter: blur(0) brightness(1.15); } }
@keyframes flicker { 0%, 100% { opacity: .75; } 45% { opacity: 1; } 55% { opacity: .85; } }
@keyframes drift { to { background-position: 0 64px, 64px 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes shine { 0% { transform: translateX(-120%) skewX(-20deg); } 60%, 100% { transform: translateX(220%) skewX(-20deg); } }
@keyframes gseg { from { fill: #26262B; } }

.page > * { animation: rise .55s cubic-bezier(.2,.8,.2,1) both; }
.page > *:nth-child(2) { animation-delay: .05s; } .page > *:nth-child(3) { animation-delay: .1s; }
.page > *:nth-child(4) { animation-delay: .15s; } .page > *:nth-child(5) { animation-delay: .2s; }
.page > *:nth-child(6) { animation-delay: .25s; } .page > *:nth-child(n+7) { animation-delay: .3s; }
.kpis > * { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.kpis > *:nth-child(2) { animation-delay: .08s; } .kpis > *:nth-child(3) { animation-delay: .16s; } .kpis > *:nth-child(4) { animation-delay: .24s; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .34s; }

/* Kursor ortidan yorug‘lik */
.spot { --mx: 50%; --my: 0%; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 120, 60, .13), transparent 60%); }
.spot:hover::after { opacity: 1; }
.btn.glow { box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 10px 30px -8px rgba(255,91,31,.9), 0 0 40px -10px rgba(255,91,31,.8); }
.btn.shine { position: relative; overflow: hidden; }
.btn.shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 3.2s 1.2s ease-in-out infinite; }
.btn.light { background: #fff; color: #0A0A0B; border-color: #fff; }
.btn.ghost-line { background: rgba(255,255,255,.04); border-color: var(--line-2); color: #fff; }
.card-h.mt { margin-top: 1.2rem; }

/* O‘lchagich */
.gauge { position: relative; max-width: 260px; margin: 0 auto; }
.gauge svg { width: 100%; display: block; }
.g-seg { fill: #26262B; }
.g-seg.on { fill: url(#gg); animation: gseg .4s both; animation-delay: calc(var(--i) * 40ms + .2s); }
.g-val { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; }
.g-val b { display: block; font-family: var(--mono); font-size: 28px; font-weight: 600; }
.g-val span { font-size: 12px; color: var(--muted); }

/* =========================================================
   BOSH SAHIFA (LANDING)
   ========================================================= */
.bare { background: var(--bg); min-height: 100vh; }
.land { overflow-x: clip; }
.l-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1.5rem; max-width: 1240px; margin: 0 auto; padding: .9rem 1.5rem; }
.l-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.9), rgba(10,10,11,.55)); backdrop-filter: blur(14px); mask: linear-gradient(#000 70%, transparent); }
.l-nav { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.l-nav a { padding: .45rem 1rem; border-radius: 99px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); transition: background .25s, color .25s; }
.l-nav a:hover { color: #fff; }
.l-nav a.on { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 18px -8px rgba(255,91,31,.9); }
.l-cta { display: flex; gap: .5rem; }

.hero { position: relative; max-width: 1240px; margin: 0 auto; padding: 4.5rem 1.5rem 3rem; text-align: center; }
.hero-grid { position: absolute; inset: -80px 0 20% 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; animation: drift 14s linear infinite;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 30%, transparent 75%); }
.beam { position: absolute; z-index: 0; left: 50%; top: -120px; width: 4px; height: 620px; transform: translateX(-50%); pointer-events: none; }
.preview .beam { top: auto; bottom: 100%; height: 190px; z-index: -1; }
.preview .beam i { background: linear-gradient(180deg, transparent 0%, rgba(255,122,58,.5) 35%, #FFD1B0 80%, #FF5B1F 100%); }
.preview .beam::before { bottom: -110px; }
.beam i { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, #FF7A3A 30%, #FFD1B0 70%, #FF5B1F 100%); border-radius: 99px; box-shadow: 0 0 18px 4px rgba(255,110,50,.9), 0 0 80px 30px rgba(255,91,31,.45); animation: beam 3.5s ease-in-out infinite; }
.beam::before { content: ""; position: absolute; left: 50%; bottom: -60px; width: 560px; height: 200px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255,91,31,.55), rgba(255,91,31,.12) 55%, transparent); filter: blur(10px); animation: flicker 4s ease-in-out infinite; }
.beam::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 160px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255,91,31,.12), transparent); filter: blur(12px); }
.hero-copy { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.eyebrow-pill { display: inline-flex; gap: .5rem; align-items: center; padding: .4rem .9rem; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 1.4rem; backdrop-filter: blur(8px); }
.eyebrow-pill span { color: var(--brand); transition: transform .2s; }
.eyebrow-pill:hover span { transform: translateX(3px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 74px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.grad { background: linear-gradient(180deg, #fff 20%, #8A8A93); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 17.5px; color: var(--ink-2); max-width: 40rem; margin: 1.4rem auto 2rem; }
.hero-act { display: flex; gap: .7rem; flex-wrap: wrap; justify-content: center; }

.preview { position: relative; z-index: 2; max-width: 980px; margin: 4.5rem auto 0; border-radius: 22px; padding: 8px; background: linear-gradient(180deg, rgba(255,140,80,.55), rgba(255,255,255,.06) 30%, rgba(255,255,255,.03)); box-shadow: 0 -20px 80px -30px rgba(255,91,31,.9), 0 60px 120px -40px rgba(0,0,0,.9); text-align: left; }
.preview > * { border-radius: 16px; }
.pv-top { display: flex; align-items: center; gap: 1rem; padding: .7rem 1rem; background: #121214; border-radius: 16px 16px 0 0 !important; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.pv-dots { display: flex; gap: 6px; } .pv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #2A2A30; }
.pv-url { padding: .25rem .8rem; border-radius: 8px; background: rgba(255,255,255,.04); }
.pv-btn { margin-left: auto; padding: .3rem .8rem; border-radius: 8px; background: var(--brand-grad); color: #fff; font-weight: 700; }
.pv-body { display: grid; grid-template-columns: 190px 1fr; background: #0E0E10; border-radius: 0 0 16px 16px !important; }
.pv-side { display: grid; align-content: start; gap: 4px; padding: 1rem .8rem; border-right: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pv-side span { display: flex; gap: .5rem; align-items: center; padding: .45rem .6rem; border-radius: 9px; }
.pv-side span.on { background: rgba(255,255,255,.06); color: #fff; box-shadow: inset 2px 0 0 var(--brand); }
.pv-side .ic { width: 15px; height: 15px; }
.pv-logo { margin-bottom: .6rem; } .pv-logo .logo-mark { width: 26px; height: 26px; }
.pv-main { padding: 1.1rem 1.2rem 1.3rem; min-width: 0; }
.pv-h { font-weight: 700; margin-bottom: .9rem; } .pv-h small { color: var(--muted); font-weight: 500; margin-left: .4rem; }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.pv-card { padding: .9rem; border-radius: 14px; background: var(--glass), #17171A; border: 1px solid var(--line); }
.pv-card small { display: block; font-size: 11.5px; color: var(--muted); }
.pv-card b { display: block; font-family: var(--mono); font-size: 18px; font-weight: 600; margin: .35rem 0 .15rem; }
.pv-card span { font-size: 11px; color: var(--muted); }
.pv-card.hot { background: var(--brand-grad); border-color: rgba(255,255,255,.2); box-shadow: 0 20px 40px -20px rgba(255,91,31,.9); }
.pv-card.hot small, .pv-card.hot span { color: rgba(255,255,255,.85); }
.pv-rows { margin-top: .9rem; display: grid; gap: 6px; }
.pv-rows > div { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; align-items: center; gap: .8rem; padding: .6rem .8rem; border-radius: 11px; background: rgba(255,255,255,.025); font-size: 12.5px; }
.pv-rows span { color: var(--muted); } .pv-rows em { font-style: normal; font-family: var(--mono); font-weight: 600; }
.pv-rows .ribbon { margin: 0; }

.sec { position: relative; max-width: 1240px; margin: 0 auto; padding: 6rem 1.5rem 1rem; text-align: center; }
.tag { display: inline-block; padding: .3rem .8rem; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--ink-2); margin-bottom: 1rem; }
.sec h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.sec-sub { color: var(--muted); max-width: 36rem; margin: 1rem auto 0; font-size: 16px; }
.sec-sub.left { margin-left: 0; }

.f3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; text-align: left; }
.fcard { position: relative; padding: 1rem 1rem 1.4rem; border-radius: 22px; background: var(--glass), #111113; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; overflow: hidden; }
.fcard:hover { transform: translateY(-6px); border-color: rgba(255,120,60,.35); }
.fvis { height: 190px; border-radius: 16px; padding: 1rem; margin-bottom: 1.2rem; background: radial-gradient(120% 80% at 50% 100%, rgba(255,91,31,.18), transparent 60%), #0D0D0F; border: 1px solid var(--line); display: grid; align-content: center; gap: .6rem; overflow: hidden; }
.fcard h3 { font-size: 18px; margin: 0 .3rem .4rem; }
.fcard p { color: var(--muted); font-size: 14.5px; margin: 0 .3rem; }
.mini-pill { display: flex; align-items: center; gap: .5rem; font-size: 13px; font-weight: 600; }
.mini-pill .ic { width: 16px; height: 16px; color: var(--brand); }
.mini-pill em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ok); }
.fvis .imei { margin-top: 0; }
.tgvis { gap: .7rem; }
.bubble { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .8rem; border-radius: 14px 14px 14px 4px; background: #1B1B1F; border: 1px solid var(--line-2); font-size: 12.5px; animation: float 4s ease-in-out infinite; }
.bubble.b2 { margin-left: 1.6rem; animation-delay: -2s; }
.bubble > .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #229ED9; color: #fff; flex: none; }
.bubble.b2 > .ic { background: var(--danger); }
.bubble b { display: block; } .bubble span { color: var(--muted); }
.fvis .gauge { max-width: 210px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; text-align: left; }
.split.rev .truth { order: 0; }
.steps3 { list-style: none; padding: 0; margin: 2rem 0 2rem; display: grid; gap: 1.2rem; }
.steps3 li { display: flex; gap: 1rem; }
.steps3 span { font-family: var(--mono); font-size: 14px; color: var(--brand); padding-top: .15rem; }
.steps3 b { font-size: 17px; } .steps3 p { color: var(--muted); margin: .2rem 0 0; }
.cash { position: relative; padding: 1.4rem; border-radius: 22px; background: var(--glass), #111113; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -50px rgba(255,91,31,.5); }
.cash-h { display: flex; justify-content: space-between; align-items: flex-start; }
.cash-h small { color: var(--muted); } .cash-h b { display: block; font-family: var(--mono); font-size: 30px; font-weight: 600; }
.seg-mini { display: flex; gap: 3px; padding: 3px; border-radius: 99px; background: rgba(255,255,255,.05); font-size: 12px; }
.seg-mini i { font-style: normal; padding: .25rem .7rem; border-radius: 99px; color: var(--muted); }
.seg-mini i.on { background: var(--brand-grad); color: #fff; }
.bars { display: flex; align-items: flex-end; gap: .8rem; height: 220px; margin-top: 1.4rem; padding: 0 .2rem; background: repeating-linear-gradient(180deg, transparent 0 43px, rgba(255,255,255,.05) 43px 44px); }
.bar { position: relative; flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, #3A3A41, #232328); transform-origin: bottom; transform: scaleY(0); transition: transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 90ms + .2s); }
.reveal.in .bar { transform: scaleY(1); }
.bar.hot { background: linear-gradient(180deg, #FF9A55, #FF5B1F 55%, #B8360A); box-shadow: 0 0 40px -6px rgba(255,91,31,.8); }
.bar em { position: absolute; left: 50%; top: -38px; transform: translateX(-50%); white-space: nowrap; padding: .25rem .6rem; border-radius: 8px; background: #fff; color: #0A0A0B; font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.bars-x { display: flex; gap: .8rem; margin-top: .6rem; font-size: 12px; color: var(--muted); }
.bars-x span { flex: 1; text-align: center; }
.truth-q { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(255, 255, 255, .14); }
.truth-q small { color: var(--brand); font-weight: 800; }
.truth-q p { margin: .2rem 0 .6rem; font-weight: 700; }
.truth-q span { display: block; padding: .5rem .8rem; margin-top: .35rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); font-family: var(--mono); font-size: 14px; color: var(--muted); }
.truth-q span.sel { border-color: var(--brand); color: #fff; background: var(--brand-50); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 1.2rem; margin-top: 3rem; text-align: left; }
.plan { position: relative; padding: 1.8rem; border-radius: 24px; background: var(--glass), #111113; border: 1px solid var(--line-2); overflow: hidden; transition: transform .35s; }
.plan:hover { transform: translateY(-6px); }
.plan.hot { background: var(--brand-grad); border-color: rgba(255,255,255,.2); box-shadow: 0 40px 80px -40px rgba(255,91,31,.9); }
.plan h3 { font-size: 20px; }
.plan-d { color: var(--muted); font-size: 14px; margin: .4rem 0 1.2rem; }
.plan.hot .plan-d { color: rgba(255,255,255,.85); }
.pp { margin: 0 0 1.2rem; color: var(--muted); }
.plan.hot .pp { color: rgba(255,255,255,.85); }
.pp b { font-family: var(--mono); font-size: 40px; color: #fff; font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .65rem; }
.plan li { display: flex; gap: .55rem; font-size: 14.5px; }
.plan li .ic { color: var(--brand); width: 17px; height: 17px; }
.plan.hot li .ic { color: #fff; }

.faq-list { max-width: 820px; margin: 2.5rem auto 0; text-align: left; display: grid; gap: .6rem; }
.faq details { border-radius: 16px; background: var(--glass), #111113; border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: rgba(255,120,60,.35); background: radial-gradient(120% 140% at 100% 100%, rgba(255,91,31,.16), transparent 55%), #111113; }
.faq summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.faq summary i { margin-left: auto; display: grid; place-items: center; transition: transform .3s; color: var(--muted); }
.faq details[open] summary i { transform: rotate(45deg); color: var(--brand); }
.faq details p { margin: 0; padding: 0 1.2rem 1.2rem 3.4rem; color: var(--ink-2); }

.l-foot { position: relative; max-width: 1240px; margin: 6rem auto 0; padding: 0 1.5rem; overflow: hidden; }
.foot-cta { display: grid; justify-items: start; gap: .9rem; max-width: 30rem; padding: 2rem 0; }
.foot-cta p { color: var(--muted); margin: 0; }
.foot-mark { font-size: clamp(90px, 21vw, 300px); font-weight: 800; letter-spacing: -0.06em; line-height: .8; margin: 1rem 0 -2rem; background: linear-gradient(180deg, #F5F5F6 10%, rgba(255,140,80,.55) 55%, transparent 92%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.foot-line { position: relative; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0 2rem; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Kirish ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 100vh; }
.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 2.4rem; background: #0D0D0F; border-right: 1px solid var(--line); color: #fff; }
.auth-side > * { position: relative; z-index: 1; }
.auth-side .hero-grid, .auth-side .beam { position: absolute; z-index: 0; }
.auth-side .hero-grid { inset: 0; }
.beam.small { height: 100%; top: 0; left: 70%; opacity: .7; }
.auth-pitch { font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; max-width: 22ch; }
.auth-stats { display: flex; gap: 2rem; }
.auth-stats b { display: block; font-family: var(--mono); font-size: 28px; color: var(--brand); font-weight: 600; }
.auth-stats span { font-size: 13px; color: var(--muted); }
.auth-main { display: flex; flex-direction: column; justify-content: center; width: min(440px, 100%); margin: 0 auto; padding: 2rem 1.5rem; }
.auth-main h1 { font-size: 30px; font-weight: 800; margin-bottom: .4rem; }
.auth-main form { display: grid; gap: 1rem; margin-top: 1.6rem; }
.switch-auth { margin-top: 1.4rem; text-align: center; color: var(--muted); }
.switch-auth a { color: var(--brand); font-weight: 700; }
.mobile-only { display: none; }

/* ---------- Mijoz sahifasi ---------- */
.pub { max-width: 560px; margin: 0 auto; padding: 1.2rem 1.1rem 3rem; }
.pub-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.6rem; }
.pub h1 { font-size: 26px; font-weight: 800; margin-bottom: .3rem; }
.pub .truth { margin: 1.2rem 0 1rem; }
.pub .btn.tg { margin: 0 0 1rem; }
.pub .sr { grid-template-columns: 30px 1fr 1fr 100px; }
.qz { border: 0; padding: 0; margin: 0 0 1rem; }
.qz legend { font-weight: 700; margin-bottom: .5rem; }
.qz label { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; margin-bottom: .4rem; border: 1px solid var(--line-2); border-radius: var(--r-s); cursor: pointer; font-family: var(--mono); font-size: 14px; transition: border-color .2s, background .2s; }
.qz label:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.qz input { accent-color: var(--brand); width: 18px; height: 18px; }
.done { display: flex; gap: .8rem; align-items: center; color: var(--ok); }
.done .ic { width: 34px; height: 34px; }
.done b { font-size: 17px; color: var(--ink); }
.done p { margin: 0; color: var(--ink-2); }
.pub-foot { text-align: center; margin-top: 1.5rem; }

/* =========================================================
   MOSLASHUVCHAN (mobil)
   ========================================================= */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .ns { grid-template-columns: 1fr; }
  .ns-side { position: static; }
  .tr { grid-template-columns: 1.3fr 1.2fr .9fr .9fr; }
  .tr .c-rb, .tr .c-st { display: none; }
  .tr.th span:nth-child(5), .tr.th span:nth-child(6) { display: none; }
  .f3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .app #shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .mtop { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 20; padding: calc(.7rem + env(safe-area-inset-top, 0px)) 1rem .7rem; background: rgba(10, 10, 11, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); }
  .bell .dot-count { position: absolute; top: -6px; right: -6px; margin: 0; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; padding: .4rem .3rem calc(.4rem + env(safe-area-inset-bottom, 0px)); background: rgba(14, 14, 16, .92); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabbar a { position: relative; display: grid; justify-items: center; gap: 2px; padding: .3rem 0; font-size: 11px; font-weight: 700; color: var(--muted); }
  .tabbar a .ic { width: 22px; height: 22px; }
  .tabbar a.on { color: #fff; }
  .tabbar a.on .ic { color: var(--brand); }
  .tabbar .dot-count { position: absolute; top: 0; right: 22%; margin: 0; min-width: 17px; height: 17px; font-size: 10px; }
  .tab-fab .ic { width: 46px !important; height: 46px !important; padding: 12px; margin-top: -20px; border-radius: 16px; background: var(--brand-grad); color: #fff !important; box-shadow: 0 12px 28px -8px rgba(255, 91, 31, .9); }
  .page { padding: 1.2rem 1rem 6.5rem; }
  .ph h1 { font-size: 24px; }
  .grid-2, .grid-2.wide-left { grid-template-columns: 1fr; }
  .l-nav { display: none; }
  .hero { padding-top: 3rem; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-side { display: none; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.rev .truth { order: 2; }
  .plans { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .mobile-only { display: inline-flex; margin-bottom: 1.6rem; }
  #toasts { left: 1rem; right: 1rem; bottom: 5.5rem; max-width: none; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .kpis { gap: .6rem; }
  .kpi { padding: .9rem; }
  .kpi b { font-size: 19px; }
  .kpi.main, .kpi:last-child { grid-column: 1 / -1; }
  .kpi.main b { font-size: 26px; }
  .fgrid { grid-template-columns: 1fr; }
  .tbl { background: none; border: 0; box-shadow: none; display: grid; gap: .6rem; }
  .tr.th { display: none; }
  .tr { grid-template-columns: 1fr auto; gap: .3rem .8rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--glass), var(--surface); box-shadow: var(--shadow); }
  .tr .c-cust { grid-column: 1; }
  .tr .c-st { display: block; grid-column: 2; grid-row: 1; justify-self: end; }
  .tr .c-dev { grid-column: 1 / -1; }
  .tr .c-rb { display: block; grid-column: 1 / -1; }
  .tr .c-rb .ribbon { max-width: none; }
  .sr { grid-template-columns: 28px 1fr 1fr 92px; }
  .sr .sp { display: none; }
  .ph-act .btn span { display: none; }
  .ph-act .btn { padding: 0 .8rem; }
  .ph-act .btn.primary span { display: inline; }
  .l-top { padding: .8rem 1rem; gap: .8rem; }
  .l-cta { margin-left: auto; }
  .l-cta .btn.ghost { display: none; }
  .f3 { grid-template-columns: 1fr; }
  .pv-cards { grid-template-columns: 1fr 1fr; }
  .pv-cards .pv-card:first-child { grid-column: 1 / -1; }
  .pv-rows > div { grid-template-columns: 1fr auto; }
  .pv-rows span, .pv-rows .ribbon { display: none; }
  .lead { font-size: 16px; }
  .sec { padding-top: 4.5rem; }
  .bars { height: 170px; gap: .5rem; }
  .modal-wrap { place-items: end center; padding: 0; }
  .modal { border-radius: 22px 22px 0 0; width: 100%; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .callout em { display: none; }
  .faq details p { padding-left: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bar { transform: none; }
}


/* =========================================================
   HERO v2 — matn chapda, nur o‘ngdan panelga tushadi
   ========================================================= */
.hero { text-align: left; padding: 3.5rem 1.5rem 2rem; }
.hero-copy { margin: 0; max-width: 640px; }
.hero h1 { font-weight: 300; font-size: clamp(42px, 6vw, 76px); letter-spacing: -0.05em; line-height: 1.02; color: #fff; }
.hero h1 .dim { background: linear-gradient(90deg, #8A8A93, #E6E6EA); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 1.4rem 0 2rem; max-width: 34rem; color: var(--muted); }
.hero-act { justify-content: flex-start; }
.hero-grid { mask-image: radial-gradient(ellipse 70% 80% at 65% 30%, #000 25%, transparent 75%); }

.preview { max-width: 1120px; margin: 4rem auto 0; }
.preview .beam { left: 66%; top: auto; bottom: calc(100% - 4px); height: 820px; width: 5px; z-index: -1; }
.preview .beam i { background: linear-gradient(180deg, rgba(255,110,50,.15) 0%, rgba(255,122,58,.75) 30%, #FFE2CC 78%, #FFF4EA 92%, #FF7A3A 100%); box-shadow: 0 0 22px 6px rgba(255,110,50,.85), 0 0 120px 40px rgba(255,91,31,.35); }
.preview .beam::after { width: 260px; background: linear-gradient(90deg, transparent, rgba(255,91,31,.16), transparent); }
.preview .beam::before { bottom: -150px; width: 820px; height: 300px; background: radial-gradient(closest-side, rgba(255,120,60,.75), rgba(255,91,31,.22) 50%, transparent); }
.flare { position: absolute; left: 50%; bottom: -14px; width: 220px; height: 28px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, #FFF6EE, rgba(255,150,90,.9) 40%, transparent); filter: blur(2px); animation: flare 2.6s ease-in-out infinite; }
@keyframes flare { 50% { width: 300px; opacity: .8; } }
.preview { background: linear-gradient(180deg, rgba(255,140,80,.85), rgba(255,91,31,.25) 12%, rgba(255,255,255,.05) 35%, rgba(255,255,255,.03)); }

.pv-top { gap: .8rem; }
.pv-url em { font-style: normal; color: var(--muted); margin: 0 .3rem; }
.pv-url { color: var(--ink-2); }
.pv-icons { margin-left: auto; display: flex; gap: 6px; }
.pv-icons i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); }
.pv-btn { margin-left: 0; }
.pv-body { grid-template-columns: 210px 1fr; }
.pv-side small { margin: .8rem .6rem .2rem; font-size: 10px; letter-spacing: .12em; color: #5E5E66; font-weight: 700; }
.pv-side span em { margin-left: auto; font-style: normal; font-size: 10.5px; padding: 0 .4rem; border-radius: 99px; background: rgba(255,255,255,.08); color: var(--ink-2); }
.pv-side span em.hot { background: var(--brand); color: #fff; }
.pv-search { margin-bottom: .6rem; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.pv-h { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.pv-h b { display: block; font-size: 16px; } .pv-h small { color: var(--muted); font-weight: 500; margin: 0; font-size: 12px; }
.pv-chip { padding: .3rem .7rem; border-radius: 8px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
.pv-card { display: grid; gap: .2rem; padding: .9rem .9rem 0; overflow: hidden; }
.pc-h { display: flex; gap: .55rem; align-items: center; }
.pc-h > .ic { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: rgba(255,255,255,.08); }
.pv-card.hot .pc-h > .ic { background: #fff; color: var(--brand); }
.pc-h b { display: block; font-family: var(--font); font-size: 13px; margin: 0; }
.pc-h small { font-size: 11px; }
.pv-num { font-family: var(--mono); font-size: 20px !important; font-weight: 600; margin: .6rem 0 .5rem !important; }
.pv-foot { display: flex; justify-content: space-between; margin: 0 -.9rem; padding: .5rem .9rem; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.15); font-size: 11.5px !important; }
.pv-card.hot .pv-foot { background: rgba(0,0,0,.12); border-color: rgba(255,255,255,.2); }
.pv-row2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: .7rem; margin-top: .7rem; }
.pv-box { padding: .9rem; border-radius: 14px; background: var(--glass), #151518; border: 1px solid var(--line); min-width: 0; }
.pv-bh { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; margin-bottom: .7rem; font-size: 13px; }
.pv-bh small { display: block; color: var(--muted); font-size: 11px; }
.pv-big { font-family: var(--mono); font-size: 20px; font-weight: 600; }
.pv-add { padding: .2rem .6rem; border-radius: 99px; background: var(--brand-grad); color: #fff; font-size: 11px; font-weight: 700; }
.pv-list { display: grid; gap: 6px; }
.pv-list div { display: flex; align-items: center; gap: .55rem; padding: .5rem .55rem; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 12px; }
.pv-list span { min-width: 0; } .pv-list b { display: block; } .pv-list small { color: var(--muted); font-size: 11px; }
.pv-list em { margin-left: auto; font-style: normal; font-family: var(--mono); font-weight: 600; }
.av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #26262B; font-style: normal; font-weight: 800; font-size: 11px; flex: none; }
.pv-bars { display: flex; align-items: flex-end; gap: .55rem; height: 128px; padding-top: 24px; background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(255,255,255,.05) 25px 26px); }
.pv-bars i { position: relative; flex: 1; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #3A3A41, #222227); transform-origin: bottom; transform: scaleY(0); transition: transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 90ms + .6s); }
.preview.in .pv-bars i { transform: scaleY(1); }
.pv-bars i.hot { background: linear-gradient(180deg, #FF9A55, #FF5B1F 55%, #B8360A); box-shadow: 0 0 30px -6px rgba(255,91,31,.9); }
.pv-bars em { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); padding: .1rem .45rem; border-radius: 6px; background: #fff; color: #0A0A0B; font-style: normal; font-family: var(--mono); font-size: 10.5px; font-weight: 600; white-space: nowrap; }

.brands { max-width: 1240px; margin: 0 auto; padding: 3.5rem 1.5rem 0; text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 3rem; }
.brands p { color: var(--ink-2); font-weight: 600; margin-bottom: 1.4rem; }
.brand-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem 2.4rem; }
.brand-row span { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 17px; color: #6E6E77; letter-spacing: -0.01em; transition: color .25s; }
.brand-row span:hover { color: #fff; }
.brand-row .ic { width: 17px; height: 17px; }
.tg-link .ic { color: #fff; }

@media (max-width: 900px) {
  .pv-row2 { grid-template-columns: 1fr; }
  .preview .beam { left: 82%; opacity: .85; }
  .tg-link { display: none; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 40px; }
  .preview .beam { height: 190px; left: 70%; }
  .pv-url, .pv-icons { display: none; }
  .pv-btn { margin-left: auto; white-space: nowrap; }
  .pv-chip { white-space: nowrap; }
  .pv-main { padding: .9rem; }
  .pv-card .pc-h small { display: none; }
  .pv-row2 .pv-box:first-child { display: none; }
}

/* =========================================================
   ILOVA QOBIG‘I v2 — yon menyu + yuqori panel (rasmdagi panel)
   ========================================================= */
.app #shell { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }
.side { background: #0C0C0E; border-right: 1px solid var(--line); gap: 1.1rem; padding: 1.2rem 1rem; color: #A9A9B1; }
.side .logo { padding: 0 .3rem; }
.side-search { display: flex; align-items: center; gap: .55rem; height: 44px; padding: 0 .85rem; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.side-search:focus-within { border-color: rgba(255,120,60,.55); box-shadow: 0 0 0 3px rgba(255,91,31,.12); }
.side-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: 14px; }
.side-search input::placeholder { color: var(--muted); }
.side-nav { gap: 4px; }
.side-nav a { position: relative; display: flex; align-items: center; gap: .75rem; padding: .7rem .8rem; border-radius: 12px; font-size: 15px; font-weight: 500; color: #A9A9B1; transition: background .2s, color .2s; }
.side-nav a .ic { width: 19px; height: 19px; }
.side-nav a:hover { background: rgba(255,255,255,.04); color: #fff; }
.side-nav a.on { background: #1C1C1F; color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); border-radius: 12px; }
.side-nav a.on::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 12px 0 0 12px; background: linear-gradient(90deg, rgba(255,91,31,.25), transparent); }
.side-label { display: block; margin: 1.4rem .8rem .5rem; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; color: #5F5F68; }
.nb { margin-left: auto; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; display: inline-grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.08); color: #D5D5DA; }
.nb.hot { background: var(--brand); color: #fff; }
.side-nav .dot-count { margin-left: auto; }
.nb-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.side-foot .shop { background: #151517; border: 1px solid var(--line); }

.main-col { min-width: 0; display: flex; flex-direction: column; background: radial-gradient(700px 180px at 62% 0, rgba(255,91,31,.07), transparent 70%), #0F0F11; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1rem; height: 68px; padding: 0 1.6rem; border-bottom: 1px solid var(--line); background: rgba(15,15,17,.85); backdrop-filter: blur(14px); }
.m-logo { display: none; }
.crumb-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 14px; color: #D5D5DA; }
.crumb-pill a:hover { color: #fff; }
.crumb-pill em { font-style: normal; color: var(--muted); }
.crumb-pill span { color: #fff; font-weight: 600; }
.top-act { margin-left: auto; display: flex; align-items: center; gap: .55rem; }
.circle-btn { position: relative; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); color: #C9C9CF; transition: border-color .2s, color .2s, background .2s; }
.circle-btn:hover { border-color: rgba(255,120,60,.6); color: #fff; background: rgba(255,91,31,.08); }
.circle-btn .ic { width: 17px; height: 17px; }
.circle-btn .dot-count { position: absolute; top: -5px; right: -6px; margin: 0; min-width: 18px; height: 18px; font-size: 10px; }
.avatar-btn { font-weight: 800; font-size: 14px; background: var(--brand-grad); border-color: transparent; color: #fff; }
.new-btn { margin-left: .4rem; min-height: 40px; border-radius: 11px; }
.new-btn.on { filter: brightness(1.1); }
#main .page { padding-top: 1.6rem; }

/* =========================================================
   PANEL ("Umumiy holat")
   ========================================================= */
.dash { max-width: 1320px; }
.callout.slim { padding: .7rem 1rem; }
.db-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.db-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.db-head p { margin: .3rem 0 0; color: var(--muted); font-size: 14.5px; }
.period { position: relative; display: inline-flex; align-items: center; }
.period select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 2.2rem 0 .95rem; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.period select:focus { outline: none; border-color: rgba(255,120,60,.6); }
.period option { background: #17171A; color: #fff; }
.period .caret { position: absolute; right: .7rem; width: 15px; height: 15px; pointer-events: none; color: #C9C9CF; }

.db-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.db-card { position: relative; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #202023, #19191C); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 40px -28px rgba(0,0,0,.9); transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.db-card:nth-child(2) { animation-delay: .08s; } .db-card:nth-child(3) { animation-delay: .16s; }
.db-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.14); }
.db-card.hot { background: linear-gradient(150deg, #FF8A3D 0%, #FF5B1F 42%, #D9440F 100%); border-color: rgba(255,255,255,.25); box-shadow: 0 24px 60px -24px rgba(255,91,31,.85); }
.dc-h { display: flex; align-items: center; gap: .8rem; padding: 1.2rem 1.2rem 0; }
.dc-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); flex: none; }
.dc-ic .ic { width: 19px; height: 19px; }
.db-card.hot .dc-ic { background: #fff; color: var(--brand); border-color: transparent; }
.dc-h b { display: block; font-size: 15.5px; font-weight: 700; }
.dc-h small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.db-card.hot .dc-h small { color: rgba(255,255,255,.82); }
.dc-num { margin: 1.2rem 1.2rem 1.15rem; font-family: var(--mono); font-size: 27px; font-weight: 600; letter-spacing: .01em; position: relative; z-index: 1; }
.dc-foot { position: relative; z-index: 1; margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: .75rem 1.2rem; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.dc-foot em { font-style: normal; transition: transform .2s; }
.dc-foot:hover { color: #fff; background: rgba(255,255,255,.03); }
.dc-foot:hover em { transform: translateX(4px); }
.db-card.hot .dc-foot { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(0,0,0,.08); }
.db-card.hot .dc-foot:hover { background: rgba(0,0,0,.16); }

.db-row2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1rem; margin-bottom: 1rem; }
.db-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.db-box { position: relative; min-width: 0; padding: 1.15rem 1.2rem 1.2rem; border-radius: 18px; background: linear-gradient(180deg, #1A1A1D, #141416); border: 1px solid rgba(255,255,255,.08); animation: rise .6s .15s cubic-bezier(.2,.8,.2,1) both; }
.db-bh { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .95rem; }
.db-bh h2 { font-size: 16px; font-weight: 700; }
.db-pill { padding: .22rem .7rem; border-radius: 99px; background: var(--brand-grad); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 16px -8px rgba(255,91,31,.9); }
.db-pill.red { background: var(--danger); box-shadow: none; color: #fff !important; } /* umumiy .red qizil matnni bekor qiladi */
.db-pill.dim { background: rgba(255,255,255,.08); color: #D5D5DA; box-shadow: none; }
.db-link { font-size: 13px; font-weight: 700; color: #FF9A6A; }
.db-list { display: grid; gap: 7px; }
.db-li { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid transparent; transition: background .2s, border-color .2s, transform .2s; }
.db-li:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.08); transform: translateX(3px); }
.db-li .av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #29292E; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.db-li .av.red { background: var(--danger-50); color: var(--danger); }
.li-main { min-width: 0; flex: 1; }
.li-main b { display: block; font-size: 14.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-main small { display: block; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li-amt { display: grid; justify-items: end; flex: none; }
.li-amt em { font-style: normal; font-family: var(--mono); font-weight: 600; font-size: 14px; }
.li-amt small { font-size: 11.5px; color: var(--muted); }
.db-more { display: block; margin-top: .7rem; text-align: center; font-size: 13px; font-weight: 700; color: #FF9A6A; }

.cash-h { align-items: flex-start; }
.cash-h small { display: block; font-size: 13px; color: var(--muted); }
.cash-total { margin: .2rem 0 0; font-family: var(--mono); font-size: 27px; font-weight: 600; }
.db-box .seg-mini { padding: 4px; gap: 2px; background: rgba(255,255,255,.06); }
.db-box .seg-mini button { border: 0; background: none; padding: .38rem .85rem; border-radius: 99px; color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.db-box .seg-mini button.on { background: var(--brand-grad); color: #fff; box-shadow: 0 6px 16px -8px rgba(255,91,31,.9); }
.db-chart { margin-top: .6rem; }
.db-bars { display: flex; align-items: flex-end; gap: .7rem; height: 190px; padding-top: 34px; background: repeating-linear-gradient(180deg, transparent 0 38px, rgba(255,255,255,.055) 38px 39px); }
.db-bar { position: relative; flex: 1; height: var(--h); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #3B3B42, #26262B); transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 80ms); cursor: default; outline: none; transition: filter .2s; }
.db-bar:hover, .db-bar:focus-visible { filter: brightness(1.25); }
.db-bar.hot { background: linear-gradient(180deg, #FF9A55 0%, #FF5B1F 55%, #C93A0B 100%); box-shadow: 0 0 34px -6px rgba(255,91,31,.85); }
.db-bar em { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); padding: .2rem .55rem; border-radius: 7px; background: #fff; color: #0A0A0B; font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 2; }
.db-bar.hot em, .db-bar:hover em, .db-bar:focus-visible em { opacity: 1; }
.db-bar:hover:not(.hot) em { background: #2C2C31; color: #fff; }
.db-bars:hover .db-bar.hot:not(:hover) em { opacity: 1; }
.db-x { display: flex; gap: .7rem; margin-top: .55rem; }
.db-x span { flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.db-x span.on { color: #fff; font-weight: 700; }
.cash-note { margin: .8rem 0 0; font-size: 12.5px; color: var(--muted); }
.cash-note.center { text-align: center; }
.db-row3 .gauge { max-width: 230px; margin-top: .2rem; }
.db-models { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: 6px; }
.db-models li { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 10px; background: rgba(255,255,255,.03); font-size: 13.5px; }
.db-models span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.07); font-size: 11.5px; font-weight: 800; color: var(--muted); }
.db-models em { margin-left: auto; font-style: normal; font-weight: 700; color: #FF9A6A; }

/* Panel animatsiyalari (prefers-reduced-motion yuqoridagi umumiy qoida bilan o‘chadi) */
.db-card:hover { transform: perspective(900px) rotateX(calc(var(--ry, 0) * -4deg)) rotateY(calc(var(--rx, 0) * 5deg)) translateY(-4px); }
.db-card.hot::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); pointer-events: none; animation: shine 5.5s 1.4s ease-in-out infinite; }
.dc-ic { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.db-card:hover .dc-ic { transform: scale(1.1) rotate(-8deg); }
.db-row2 > :nth-child(2), .db-row3 > :nth-child(2) { animation-delay: .23s; }
.db-row3 > :nth-child(3) { animation-delay: .31s; }
.db-li, .db-models li { animation: slidein .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--i, 0) * 70ms); }
.db-models li:nth-child(2) { --i: 1; } .db-models li:nth-child(3) { --i: 2; }
.db-li .av { transition: transform .25s cubic-bezier(.3,1.6,.5,1), background .25s; }
.db-li:hover .av { transform: scale(1.12); background: var(--brand-grad); }
.db-li:hover .av.red { background: var(--danger); color: #fff; }
.db-pill { animation: pop .5s .45s cubic-bezier(.3,1.6,.5,1) both; }
.db-box .seg-mini button:active, .period select:active { transform: scale(.96); }
.db-bar.hot { animation: grow .9s cubic-bezier(.2,.8,.2,1) calc(var(--i) * 80ms) both, barglow 3s 1.5s ease-in-out infinite; }
/* ustun o‘sib bo‘lgach yorliq chiqadi — aks holda scaleY uni cho‘zib ko‘rsatadi */
.db-bar.hot em { animation: tipin .35s calc(var(--i) * 80ms + .85s) cubic-bezier(.2,.8,.2,1) both; }
.callout.slim > .ic { animation: fly 3.2s ease-in-out infinite; }
.callout.slim em { transition: transform .2s; }
.callout.slim:hover em { transform: translateX(4px); }
@keyframes slidein { from { opacity: 0; transform: translateX(-12px); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes barglow { 50% { box-shadow: 0 0 48px -2px rgba(255,91,31,.95); } }
@keyframes tipin { from { opacity: 0; transform: translate(-50%, 6px); } }
@keyframes fly { 50% { transform: translate(3px, -3px) rotate(-6deg); } }

/* Statistika */
.st-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
.st-tile { position: relative; padding: 1rem 1.1rem; border-radius: 16px; background: linear-gradient(180deg, #1C1C1F, #151517); border: 1px solid rgba(255,255,255,.08); animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.st-tile small { display: block; font-size: 12.5px; color: var(--muted); }
.st-tile b { display: block; font-family: var(--mono); font-size: 22px; font-weight: 600; margin-top: .3rem; overflow-wrap: anywhere; }
.st-tile span { font-size: 12px; color: var(--muted); }
.st-tile:first-child { background: linear-gradient(150deg, #FF8A3D, #FF5B1F 45%, #D9440F); border-color: rgba(255,255,255,.22); }
.st-tile:first-child small, .st-tile:first-child span { color: rgba(255,255,255,.85); }
.st-row { grid-template-columns: 1.5fr 1fr; }
.st-row2 { grid-template-columns: 1fr 1fr; }
.hbars { display: grid; gap: .65rem; }
.hbar { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: .8rem; font-size: 13.5px; }
.hbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #D5D5DA; }
.hbar i { height: 10px; border-radius: 99px; background: rgba(255,255,255,.06); position: relative; overflow: hidden; }
.hbar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, #4A4A52, #6A6A73); transform-origin: left; animation: growx .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i) * 80ms); }
.hbar:first-child i::after, .hbar.hot i::after { background: var(--brand-grad); }
.hbar em { font-style: normal; font-weight: 700; color: #FF9A6A; font-size: 13px; }

@media (max-width: 1200px) {
  .db-row3 { grid-template-columns: 1fr 1fr; }
  .db-row3 > :last-child { grid-column: 1 / -1; }
  .st-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .db-cards { grid-template-columns: 1fr 1fr; }
  .db-cards .db-card.hot { grid-column: 1 / -1; }
  .db-row2, .st-row, .st-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .app #shell { grid-template-columns: 1fr; }
  .topbar { height: 60px; padding: 0 1rem; padding-top: env(safe-area-inset-top, 0px); }
  .m-logo { display: inline-flex; }
  .crumb-pill, .hide-m, .new-btn { display: none; }
}
@media (max-width: 640px) {
  .db-head h1 { font-size: 21px; }
  .db-head p { font-size: 13px; }
  .db-cards { grid-template-columns: 1fr; gap: .7rem; }
  .db-row3 { grid-template-columns: 1fr; }
  .dc-num { font-size: 25px; margin: 1rem 1.1rem; }
  .db-bars { height: 160px; gap: .45rem; }
  .db-x { gap: .45rem; }
  .db-x span { font-size: 11px; }
  .hbar { grid-template-columns: 96px 1fr auto; }
  .st-tile b { font-size: 18px; }
}
.db-bar:last-child em { left: auto; right: 0; transform: none; }
.db-bar:first-child em { left: 0; transform: none; }
