/* =========================================================
   Huquqdan milliy sertifikat — dizayn tizimi (v4, ilova ko‘rinishi)
   Ranglar: oq · ko‘k · qizil. Tuzilma: pastki tablar (Profil · Imtihon · Natijalar · Mashq · Bugun). Shrift: Helvetica Neue (meraki.uz uslubi).
   Referenslar: milliysinov.uz, 5ball.uz, sertifikatim.uz (mahsulot UI),
   7Sage / Kaplan / IELTS (maqsadga yo‘naltirilgan yo‘l, reja, arxitektura),
   Pinterest — navy + gold sertifikatlar va ta’lim platformalari.
   Kompozitsiya: to‘q ko‘k «sahna» bloklari + oq ish maydoni; oltin faqat urg‘u uchun.
   ========================================================= */
:root {
  --navy-990: #D4E9FF;
  --navy-950: #E4F1FF;
  --navy-900: #BADCFF;   /* asosiy och ko‘k (to‘q ko‘k o‘rniga) */
  --navy-850: #C9E3FF;
  --navy-800: #A9D3FF;
  --navy-700: #93C6FF;
  --navy-600: #4E97E3;
  --navy-400: #9DB8D6;
  --navy-200: #CFE2F6;
  --navy-100: #E3EFFB;
  --navy-50:  #F2F8FE;
  --blue: #2873C8;       /* urg‘u matn va ikonlar */
  --gold: #FFC93C;       /* sariq — asosiy urg‘u */
  --gold-2: #2873C8;
  --gold-3: #2873C8;
  --gold-50: #EAF4FF;
  --gold-grad: linear-gradient(135deg, #FFE27A 0%, #FFC93C 55%, #F7B928 100%);
  --sky: #4E97E3;
  --bg: #FFFFFF;
  --bg-alt: #F5F6FA;
  --ink: #15181E;
  --ink-2: #444A56;
  --muted: #6D7483;
  --line: #DCE8F5;
  --line-dark: rgba(21,24,30,.1);
  --ok: #18794E; --ok-bg: #E6F4EC;
  --bad: #B42318; --bad-bg: #FDECEA;
  --sans: "Helvetica Neue", "HelveticaNeueCyr", "Inter Tight", Helvetica, Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1220px;
  --r: 12px; --r-lg: 20px;
  --shadow: 0 1px 2px rgba(10,22,54,.04), 0 8px 24px -12px rgba(10,22,54,.16);
  --shadow-lg: 0 2px 4px rgba(10,22,54,.05), 0 32px 64px -28px rgba(10,22,54,.4);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Tipografiya ---------- */
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; letter-spacing: -0.025em; line-height: 1.06; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.9rem); }
h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.22; }
p { margin: 0 0 1em; }
.hl { color: var(--ink); background: linear-gradient(transparent 66%, rgba(125,190,255,.38) 66%, rgba(125,190,255,.38) 92%, transparent 92%); }
.gold { color: var(--blue); background: none; }
.dark .hl { color: var(--ink); background: linear-gradient(transparent 66%, rgba(125,190,255,.45) 66%, rgba(125,190,255,.45) 92%, transparent 92%); }
.dark .gold, .result-hero .gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-3); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.dark .eyebrow, .result-hero .eyebrow { color: var(--gold-2); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.dark .lead, .result-hero .lead { color: rgba(21,24,30,.72); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.d-block { display: block; }
.nowrap { flex-wrap: nowrap !important; white-space: nowrap; }
.w100 { width: 100%; }
.row-gap { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.fine { font-size: .8rem; color: var(--muted); margin: 10px 0 0; line-height: 1.5; }

/* ---------- Tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 20px; border-radius: var(--r); border: 1.5px solid var(--navy-900); background: var(--navy-900); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--navy-700); border-color: var(--ink); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-lg { padding: 15px 26px; font-size: 1rem; border-radius: 14px; }
.btn-sm { padding: 7px 13px; font-size: .85rem; border-radius: 10px; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--navy-50); border-color: var(--navy-200); color: var(--ink); }
.btn-gold { background: var(--gold-grad); border-color: transparent; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(125,190,255,.9), inset 0 1px 0 rgba(21,24,30,.4); }
.btn-gold:hover { background: var(--gold-grad); filter: brightness(1.06); border-color: transparent; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-line-white { background: transparent; border-color: rgba(21,24,30,.3); color: var(--ink); }
.btn-line-white:hover { background: rgba(21,24,30,.08); border-color: var(--gold-2); color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--navy-950); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: rgba(228,241,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(125,190,255,.22); color: var(--ink); }
.site-header .wrap { display: flex; align-items: center; height: 72px; gap: 26px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; color: inherit; }
.brand-mark { width: 40px; height: 40px; background: var(--navy-900); color: var(--blue); display: grid; place-items: center; font-family: Georgia, serif; font-size: 1.45rem; border-radius: 11px; box-shadow: inset 0 0 0 1.5px var(--gold); text-decoration: none; flex-shrink: 0; }
.brand-text { line-height: 1.05; font-size: 1rem; font-weight: 700; letter-spacing: -0.025em; }
.brand-text small { display: block; font-size: .72rem; font-weight: 500; opacity: .6; letter-spacing: 0; margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { white-space: nowrap; text-decoration: none; padding: 8px 12px; font-size: .92rem; font-weight: 500; color: rgba(21,24,30,.75); border-radius: 10px; }
.nav a:hover { color: var(--ink); background: rgba(21,24,30,.07); }
.nav a.active { color: var(--gold-2); background: rgba(125,190,255,.12); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn-ghost { background: transparent; color: var(--ink); border-color: rgba(21,24,30,.25); }
.header-cta .btn-ghost:hover { border-color: var(--gold-2); background: rgba(21,24,30,.06); }
.user-chip { display: flex; align-items: center; gap: 8px; text-decoration: none; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid rgba(21,24,30,.18); font-size: .88rem; font-weight: 600; }
.user-chip:hover { border-color: var(--gold-2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .85rem; text-transform: uppercase; flex-shrink: 0; }
.avatar.lg { width: 64px; height: 64px; font-size: 1.6rem; box-shadow: 0 0 0 4px rgba(125,190,255,.25); }
.plan-badge { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid currentColor; color: var(--navy-400); white-space: nowrap; }
.plan-badge.comfort { background: var(--navy-100); color: var(--ink); border-color: var(--navy-200); }
.plan-badge.pro { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.burger { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(21,24,30,.25); width: 42px; height: 42px; border-radius: 10px; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; }
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy-950); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 80px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid rgba(125,190,255,.25); }
  .site-header.open .header-cta { display: flex; position: absolute; top: calc(72px + 300px); left: max(16px, env(safe-area-inset-left, 0px)); }
}

/* ---------- Hero ---------- */
.dark { background: var(--navy-950); color: var(--ink); }
.hero { position: relative; overflow: hidden; padding: 72px 0 0; background: radial-gradient(900px 520px at 85% 10%, rgba(125,190,255,.45), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(125,190,255,.12), transparent 60%), var(--navy-950); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(21,24,30,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(21,24,30,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(#000 0%, transparent 85%); -webkit-mask-image: linear-gradient(#000 0%, transparent 85%); }
.hero > .wrap:first-child { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.hero-copy { min-width: 0; }
.pill-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(21,24,30,.06); border: 1px solid rgba(125,190,255,.35); font-size: .84rem; font-weight: 600; color: var(--gold-2); }
.pill-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(125,190,255,.2); }
.hero h1 { margin: 22px 0 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; margin-top: 38px; border: 1px solid rgba(21,24,30,.12); border-radius: 16px; width: max-content; max-width: 100%; background: rgba(21,24,30,.03); }
.hero-meta div { padding: 13px 20px; font-size: .8rem; color: rgba(21,24,30,.6); }
.hero-meta div + div { border-left: 1px solid rgba(21,24,30,.12); }
.hero-meta b { display: block; font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
@media (max-width: 980px) { .hero > .wrap:first-child { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 44px; } }
@media (max-width: 560px) { .hero-meta { grid-template-columns: repeat(2, 1fr); width: 100%; } .hero-meta div:nth-child(3) { border-left: 0; } .hero-meta div:nth-child(n+3) { border-top: 1px solid rgba(21,24,30,.12); } }

/* Maqsad kartasi */
.goal { background: linear-gradient(180deg, rgba(21,24,30,.07), rgba(21,24,30,.02)); border: 1px solid rgba(125,190,255,.3); border-radius: 24px; padding: 18px; box-shadow: 0 40px 80px -40px rgba(40,96,160,.25); min-width: 0; }
.goal-tabs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.goal-tabs button { background: rgba(21,24,30,.06); border: 1px solid rgba(21,24,30,.12); color: var(--ink); padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.goal-tabs button.on { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.goal-tabs span { margin-left: auto; font-size: .78rem; color: rgba(21,24,30,.5); }
.goal-art { color: var(--sky); margin: 14px 0 4px; padding: 10px 6px 0; background: radial-gradient(300px 140px at 50% 100%, rgba(125,190,255,.14), transparent 70%); border-radius: 16px; }
.goal-art .bld { width: 100%; height: auto; display: block; }
.goal-info { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: end; padding: 12px 6px 4px; }
.goal-info > div { min-width: 0; }
.goal-short { font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--gold-2); }
.goal-info h3 { color: var(--ink); margin: 4px 0 6px; font-size: 1.15rem; }
.goal-info p { color: rgba(21,24,30,.62); font-size: .88rem; margin: 0; }
.goal-score { text-align: right; }
.goal-score b { display: block; font-size: 2.3rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.goal-score span { font-size: .78rem; color: rgba(21,24,30,.6); display: block; }
.goal-score small { font-size: .7rem; color: rgba(21,24,30,.4); display: block; max-width: 18ch; margin-left: auto; line-height: 1.3; margin-top: 4px; }
.goal-path { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; background: rgba(255,255,255,.35); border-radius: 14px; font-size: .78rem; color: rgba(21,24,30,.75); flex-wrap: wrap; }
.goal-path i { flex: 1; min-width: 12px; height: 1px; background: linear-gradient(90deg, rgba(125,190,255,.2), var(--gold)); }
.goal-path .gold { font-weight: 700; }
@media (max-width: 560px) { .goal-info { grid-template-columns: 1fr; } .goal-score { text-align: left; } .goal-score small { margin-left: 0; } .goal-tabs span { display: none; } }

.hero-skyline { position: relative; margin-top: 56px; color: rgba(125,190,255,.55); border-top: 1px solid rgba(125,190,255,.15); background: linear-gradient(180deg, transparent, rgba(255,255,255,.35)); }
.hero-skyline .wrap { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 10px; align-items: end; padding-top: 18px; }
.hero-skyline .bld { width: 100%; height: auto; display: block; }
@media (max-width: 700px) { .hero-skyline .wrap { grid-template-columns: 1fr; } .hero-skyline .bld:not(:first-child) { display: none; } }

/* ---------- Bo‘limlar ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 52px 0; }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.section-head h2 { margin-top: 12px; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 1.04rem; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; gap: 14px; } .section { padding: 64px 0; } }
.alt { background: var(--bg-alt); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.split-60 { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split > *, .split-60 > * { min-width: 0; }
.split-60.rev { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .split, .split-60, .split-60.rev { grid-template-columns: 1fr; gap: 36px; } }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ticks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--gold-50); color: var(--gold-3); flex-shrink: 0; }
.ticks.light li { color: rgba(21,24,30,.85); }
.ticks.light svg { background: rgba(125,190,255,.18); color: var(--gold-2); }

/* Yo‘l xaritasi */
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: rm; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 6%; right: 6%; top: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 14px); opacity: .6; }
.roadmap li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.roadmap h3 { font-size: 1.08rem; }
.roadmap p { color: var(--ink-2); font-size: .9rem; margin: 0; }
.rm-n { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; box-shadow: inset 0 0 0 1.5px rgba(125,190,255,.6); margin-bottom: 6px; position: relative; z-index: 1; }
.rm-tag { margin-top: auto; padding-top: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-3); }
.rm-goal { background: var(--navy-950) !important; color: var(--ink); border-color: var(--ink) !important; }
.rm-goal p { color: rgba(21,24,30,.7) !important; }
.rm-goal .rm-n { background: var(--gold-grad); color: var(--ink); }
.rm-goal .rm-tag { color: var(--gold-2); }
@media (max-width: 1000px) { .roadmap { grid-template-columns: 1fr 1fr; } .roadmap::before { display: none; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }

/* Ikonli kartalar */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.feature:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.icon-sq { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: var(--blue); margin-bottom: 6px; flex-shrink: 0; }
.icon-sq.gold { background: var(--gold-grad); color: var(--ink); }
.feature p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.feature .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9rem; color: var(--gold-3); display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Jonli savol kartasi */
.q-demo { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; min-width: 0; }
.qd-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--navy-950); color: var(--ink); }
.qd-chip { font-size: .8rem; font-weight: 600; background: rgba(125,190,255,.16); color: var(--gold-2); padding: 4px 10px; border-radius: 999px; }
.qd-timer { font-family: var(--mono); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.qd-progress { height: 4px; background: var(--navy-100); }
.qd-progress i { display: block; height: 100%; background: var(--gold); }
.qd-body { padding: 20px 20px 22px; }
.qd-no { font-size: .78rem; font-weight: 700; color: var(--gold-3); }
.qd-q { font-weight: 600; font-size: 1.05rem; line-height: 1.45; margin: 8px 0 16px; }
.qd-opts { display: grid; gap: 8px; }
.qd-opt { display: flex; align-items: center; gap: 12px; text-align: left; padding: 11px 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font-size: .93rem; transition: border-color .12s; }
.qd-opt span { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--navy-50); font-weight: 700; font-size: .82rem; color: var(--ink); }
.qd-opt:hover { border-color: var(--navy-400); }
.q-demo.done .qd-opt { pointer-events: none; }
.qd-opt.ok { border-color: var(--ok); background: var(--ok-bg); } .qd-opt.ok span { background: var(--ok); color: var(--ink); }
.qd-opt.bad { border-color: var(--bad); background: var(--bad-bg); } .qd-opt.bad span { background: var(--bad); color: var(--ink); }
.qd-expl { margin-top: 14px; padding: 12px 14px; background: var(--gold-50); border: 1px solid rgba(125,190,255,.3); border-radius: 12px; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.qd-expl a { color: var(--gold-3); font-weight: 700; text-decoration: none; }

/* ---------- Mock katalogi ---------- */
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px) { .mock-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .mock-grid { grid-template-columns: 1fr; } }
.mock-card { border: 1px solid var(--line); background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; border-radius: var(--r-lg); transition: border-color .15s, box-shadow .15s; min-width: 0; }
.mock-card:hover { border-color: var(--navy-200); box-shadow: var(--shadow-lg); }
.mock-card.free { background: var(--navy-950); color: var(--ink); border-color: var(--ink); }
.mock-card.free .variant, .mock-card.free ul { color: rgba(21,24,30,.65); }
.mock-card.free ul li { border-color: rgba(21,24,30,.14); }
.mock-card.free ul li b { color: var(--ink); }
.mock-card.free .last { background: rgba(21,24,30,.08); }
.mock-card.free .actions .btn { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.mock-card.free .actions .btn-ghost { background: transparent; color: var(--ink); border-color: rgba(21,24,30,.3); }
.mock-card .tag { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; background: var(--navy-50); color: var(--ink); border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.mock-card.free .tag { background: var(--gold-grad); color: var(--ink); }
.mock-card.pro .tag { background: var(--gold-50); color: var(--gold-3); }
.mock-card .variant { font-size: .82rem; color: var(--muted); font-weight: 500; }
.mock-card h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.mock-card ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; color: var(--ink-2); display: grid; gap: 2px; }
.mock-card ul li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding: 6px 0; }
.mock-card ul li b { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.mock-card .last { font-size: .86rem; background: var(--navy-50); padding: 9px 12px; display: flex; justify-content: space-between; border-radius: 10px; }
.mock-card .actions { margin-top: auto; display: flex; gap: 8px; }
.mock-card .actions .btn { flex: 1; }
.mock-card.soon { background: transparent; border-style: dashed; color: var(--muted); }
.mock-card.soon h3 { color: var(--ink-2); }

/* ---------- Sertifikat promo / ramka ---------- */
.cert-promo { background: radial-gradient(800px 400px at 20% 50%, rgba(125,190,255,.14), transparent 70%), var(--navy-950); }
.cert-frame { border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(40,96,160,.25), 0 0 0 1px rgba(125,190,255,.3); background: #fffdf7; line-height: 0; }
.cert-frame .cert-svg { width: 100%; height: auto; display: block; }
.cert-promo .cert-frame { transform: rotate(-1.5deg); }

/* ---------- Asoschi ---------- */
.founder-sec { background: linear-gradient(180deg, var(--bg-alt), #fff); }
.founder { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: center; }
.founder > * { min-width: 0; }
.founder-photo { position: relative; aspect-ratio: 4/5; max-width: 100%; background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-950)); overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(125,190,255,.4); }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-photo .mono-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 7.5rem; font-weight: 600; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.founder-photo .cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 14px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 14px; font-size: .9rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid rgba(125,190,255,.35); }
.founder blockquote { font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 400; font-style: normal; line-height: 1.3; margin: 18px 0 24px; padding-left: 20px; border-left: 3px solid var(--gold); color: var(--ink); }
.founder-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.founder-stats div { padding: 16px; font-size: .84rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.founder-stats b { display: block; font-size: 1.9rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); line-height: 1.1; }
.ig-link { text-decoration: none; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 36px; } .founder-photo { max-width: 360px; } }
@media (max-width: 480px) { .founder-stats { grid-template-columns: 1fr; } }

/* ---------- Tariflar ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.plan.featured { background: var(--navy-950); color: var(--ink); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan.pro { border-color: var(--blue); background: linear-gradient(180deg, var(--gold-50), #fff 40%); box-shadow: 0 0 0 1px var(--gold) inset; }
.plan .pname { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; }
.plan .pname em { font-style: normal; background: var(--gold-grad); color: var(--ink); padding: 3px 10px; border-radius: 999px; font-size: .7rem; letter-spacing: .04em; }
.plan .price { font-size: 2.7rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: .88rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan.featured .price small, .plan.featured .pdesc { color: rgba(21,24,30,.65); }
.plan .pdesc { font-size: .93rem; color: var(--ink-2); margin: 0; }
.plan ul { list-style: none; padding: 18px 0 0; margin: 0; display: grid; gap: 11px; font-size: .93rem; border-top: 1px solid var(--line); }
.plan.featured ul { border-color: rgba(21,24,30,.14); }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.plan li svg { margin-top: 3px; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--gold-50); color: var(--gold-3); }
.plan.featured li svg { background: rgba(125,190,255,.2); color: var(--gold-2); }
.plan li.off { color: var(--muted); } .plan li.off svg { background: transparent; color: var(--muted); }
.plan.featured li.off { color: rgba(21,24,30,.4); }
.plan .btn { margin-top: auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq details[open] { border-color: rgba(125,190,255,.6); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-size: 1.06rem; font-weight: 700; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--navy-50); display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s, background .2s; color: var(--ink); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold-grad); color: var(--ink); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; max-width: 75ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-990); color: rgba(21,24,30,.66); padding: 64px 0 32px; font-size: .92rem; border-top: 1px solid rgba(125,190,255,.2); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--ink); }
.site-footer h4 { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; margin-bottom: 14px; }
.site-footer a:not(.brand) { text-decoration: none; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: rgba(21,24,30,.42); }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Ichki sahifa sarlavhasi ---------- */
.page-head { padding: 56px 0 44px; background: radial-gradient(700px 300px at 85% 0%, rgba(125,190,255,.5), transparent 70%), var(--navy-950); color: var(--ink); }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin: 14px 0 12px; }
.page-head .lead { color: rgba(21,24,30,.7); }
.page-head .hl { color: var(--ink); background: linear-gradient(transparent 66%, rgba(125,190,255,.5) 66%, rgba(125,190,255,.5) 92%, transparent 92%); }
.crumbs { font-size: .86rem; color: var(--muted); }
.page-head .crumbs { color: rgba(21,24,30,.5); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }

/* ---------- Jadvallar va baholash ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.table-wrap.flat { border: 0; border-radius: 0; }
.grade-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.grade-table th, .grade-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.grade-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; background: var(--bg-alt); white-space: nowrap; }
.grade-table tr:last-child td { border-bottom: 0; }
.grade-table .bar { height: 8px; background: var(--navy-100); position: relative; min-width: 120px; border-radius: 99px; overflow: hidden; }
.grade-table .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--navy-900); border-radius: 99px; }
.grade-table a { color: var(--ink); font-weight: 600; }
.admin-t td { white-space: nowrap; }
.admin-t tr.blocked td { opacity: .5; }
.admin-t select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.gchip { display: inline-grid; place-items: center; min-width: 38px; padding: 3px 8px; border-radius: 8px; background: var(--navy-900); color: var(--ink); font-weight: 700; font-size: .85rem; }
.gchip.top { background: var(--gold-grad); color: var(--ink); }
.gchip.none { background: var(--navy-100); color: var(--muted); }
.st { display: inline-block; font-weight: 700; padding: 3px 10px; font-size: .74rem; letter-spacing: .03em; border-radius: 999px; white-space: nowrap; }
.st.ok { background: var(--ok-bg); color: var(--ok); }
.st.bad { background: var(--bad-bg); color: var(--bad); }
.st.skip { background: var(--gold-50); color: var(--gold-3); }
.formula { background: var(--navy-950); color: var(--ink); padding: 24px 26px; font-family: var(--mono); font-size: .9rem; line-height: 1.9; border-radius: var(--r-lg); overflow-x: auto; border: 1px solid rgba(125,190,255,.3); }
.formula .c { color: var(--gold-2); opacity: .8; }
.note { border: 1px solid rgba(125,190,255,.35); padding: 14px 18px; background: var(--gold-50); font-size: .92rem; color: var(--ink-2); border-radius: 14px; }
.note b { color: var(--ink); }
.note a { color: var(--gold-3); font-weight: 700; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: 16px; background: #fff; }
.empty a { color: var(--gold-3); font-weight: 700; }

/* ---------- Qonunchilik ---------- */
.law-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; align-items: center; }
.search { flex: 1; min-width: 220px; position: relative; display: block; }
.search.sm { flex: 0 1 300px; min-width: 180px; }
.search input { width: 100%; padding: 12px 16px 12px 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; outline: none; }
.search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(125,190,255,.18); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.chip:hover { border-color: var(--navy-200); }
.chip.on { background: var(--navy-900); border-color: var(--ink); color: var(--ink); }
.law-list { display: grid; gap: 10px; }
.law { background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.law.open { border-color: rgba(125,190,255,.6); box-shadow: var(--shadow); }
.law > button { width: 100%; background: none; border: 0; text-align: left; padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr auto 28px; gap: 16px; align-items: center; }
.law .lnum { width: 40px; height: 40px; border-radius: 12px; background: var(--navy-900); display: grid; place-items: center; color: var(--blue); font-weight: 700; font-size: .85rem; }
.law .lname { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.law .lname small { display: block; font-size: .84rem; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 4px; }
.law .weight { font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--navy-50); color: var(--ink); white-space: nowrap; }
.law .weight.hi { background: var(--gold-grad); color: var(--ink); }
.law .tog { font-size: 1.3rem; transition: transform .2s; text-align: center; color: var(--gold-3); }
.law.open .tog { transform: rotate(45deg); }
.law-body { display: none; padding: 0 20px 22px 80px; }
.law.open .law-body { display: block; }
.law-body .kp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.law-body .kp div { padding: 12px 14px; background: var(--bg-alt); border-radius: 12px; font-size: .92rem; display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.law-body .kp div::before { content: "§"; font-family: Georgia, serif; color: var(--blue); font-weight: 700; }
.law-body .src { margin-top: 16px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: .86rem; color: var(--muted); }
@media (max-width: 720px) { .law > button { grid-template-columns: 1fr 28px; gap: 8px; padding: 16px; } .law .lnum, .law .weight { display: none; } .law-body { padding: 0 16px 18px; } .law-body .kp { grid-template-columns: 1fr; } }

/* ---------- Darsliklar ---------- */
.grade-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 36px; }
.grade-tabs a { background: #fff; border: 1px solid var(--line); padding: 16px 18px; text-align: left; border-radius: 16px; text-decoration: none; }
.grade-tabs a:hover { border-color: var(--blue); }
.grade-tabs b { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.grade-tabs span { font-size: .84rem; color: var(--muted); }
.grade-tabs a.on { background: var(--navy-950); border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-lg); }
.grade-tabs a.on b { color: var(--gold-2); }
.grade-tabs a.on span { color: rgba(21,24,30,.6); }
@media (max-width: 700px) { .grade-tabs { grid-template-columns: repeat(2, 1fr); } }
.book { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.book > * { min-width: 0; }
.book-side { position: sticky; top: 96px; align-self: start; }
.book-cover { aspect-ratio: 3/4; max-width: 100%; background: radial-gradient(circle at 70% 20%, var(--navy-700), var(--navy-950)); color: var(--ink); padding: 24px 22px; display: flex; flex-direction: column; justify-content: space-between; position: relative; border-radius: 6px 18px 18px 6px; box-shadow: var(--shadow-lg); overflow: hidden; }
.book-cover::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: var(--gold); opacity: .6; }
.book-cover::after { content: ""; position: absolute; inset: 14px 14px 14px 22px; border: 1px solid rgba(125,190,255,.35); border-radius: 4px 12px 12px 4px; pointer-events: none; }
.book-cover .bc-top { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); padding-left: 12px; }
.book-cover .bc-title { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; padding-left: 12px; }
.book-cover .bc-title small { font-size: .78rem; font-weight: 500; opacity: .7; letter-spacing: 0; }
.book-cover .bc-grade { font-family: var(--serif); font-size: 6rem; line-height: .85; padding-left: 12px; font-weight: 600; color: var(--blue); }
.book-side .toc { margin-top: 18px; font-size: .9rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px 14px; }
.book-side .toc a { display: block; text-decoration: none; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.book-side .toc a:last-child { border-bottom: 0; }
.book-side .toc a:hover { color: var(--gold-3); }
.topic { padding: 28px; margin-bottom: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: 90px; }
.topic .tnum { font-size: .8rem; font-weight: 700; color: var(--gold-3); }
.topic h3 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 12px; }
.topic p { color: var(--ink-2); }
.topic .facts { background: var(--navy-50); padding: 16px 20px; margin-top: 14px; border-radius: 14px; border-left: 3px solid var(--gold); }
.topic .facts h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.topic .facts ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .93rem; }
@media (max-width: 900px) { .book { grid-template-columns: 1fr; } .book-side { position: static; display: grid; grid-template-columns: 130px 1fr; gap: 16px; } .book-side .toc { margin-top: 0; } .book-cover .bc-grade { font-size: 3rem; } .book-cover .bc-title { font-size: 1rem; } .book-cover { padding: 14px 12px; } .topic { padding: 20px; } }

/* =========================================================
   TEST INTERFEYSI
   ========================================================= */
.exam { min-height: 100vh; background: #ECEFF6; display: flex; flex-direction: column; }
.exam-bar { background: var(--navy-950); color: var(--ink); height: 64px; display: flex; align-items: center; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); gap: 18px; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; border-bottom: 1px solid rgba(125,190,255,.25); }
.exam-bar .brand-mark { width: 36px; height: 36px; font-size: 1.2rem; }
.exam-title { font-size: .92rem; font-weight: 600; line-height: 1.2; }
.exam-title small { display: block; font-family: var(--mono); font-size: .7rem; color: var(--gold-2); letter-spacing: .06em; font-weight: 500; }
.timer { margin-left: auto; font-family: var(--mono); font-size: 1.22rem; font-weight: 600; display: flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 10px; background: rgba(21,24,30,.08); font-variant-numeric: tabular-nums; }
.timer.warn { background: #fff; color: var(--bad); }
.exam-body { flex: 1; display: grid; grid-template-columns: 1fr 340px; gap: 18px; padding: 18px; max-width: 1400px; width: 100%; margin: 0 auto; }
.exam-body > * { min-width: 0; }
.q-panel { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; min-height: calc(100vh - 100px); border-radius: 16px; overflow: hidden; }
.q-head { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.q-head .qno { font-weight: 700; background: var(--navy-900); color: var(--gold-2); padding: 4px 12px; font-size: .95rem; border-radius: 8px; font-variant-numeric: tabular-nums; }
.q-head .qtype { font-size: .85rem; color: var(--muted); }
.q-head .flag { margin-left: auto; background: #fff; border: 1px solid var(--line); padding: 7px 12px; font-size: .84rem; display: flex; gap: 8px; align-items: center; border-radius: 10px; }
.q-head .flag.on { border-color: var(--blue); background: var(--gold-50); font-weight: 700; color: var(--gold-3); }
.q-content { padding: 30px 34px; flex: 1; }
.q-text { font-size: 1.14rem; line-height: 1.65; margin-bottom: 26px; max-width: 75ch; font-weight: 500; }
.opts { display: grid; gap: 10px; max-width: 760px; }
.opt { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; text-align: left; padding: 13px 15px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; transition: border-color .12s, background .12s; }
.opt:hover { border-color: var(--navy-400); }
.opt .l { width: 36px; height: 36px; display: grid; place-items: center; background: var(--navy-50); font-weight: 700; border-radius: 10px; color: var(--ink); }
.opt.sel { border-color: var(--ink); background: var(--navy-50); }
.opt.sel .l { background: var(--navy-900); color: var(--gold-2); }
.match { display: grid; gap: 10px; max-width: 820px; }
.match-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.match-row .ml { font-weight: 600; }
.match-row .ml b { margin-right: 8px; color: var(--gold-3); }
.match-row select, .field select { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; }
.match-row.filled { border-color: var(--navy-400); background: var(--navy-50); }
.open-input { max-width: 520px; }
.open-input input { width: 100%; padding: 15px 18px; border: 1.5px solid var(--line); font-size: 1.1rem; border-radius: 12px; outline: none; background: #fff; }
.open-input input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(125,190,255,.18); }
.open-input .hint { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.q-foot { display: flex; justify-content: space-between; padding: 14px 22px; border-top: 1px solid var(--line); gap: 10px; background: var(--bg-alt); }
.side-panel { display: flex; flex-direction: column; gap: 14px; }
.side-box { background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: 16px; }
.side-box h4 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.nav-part { font-size: .8rem; color: var(--ink-2); margin: 12px 0 6px; font-weight: 600; }
.nav-part:first-of-type { margin-top: 0; }
.qgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.qgrid button { aspect-ratio: 1; border: 1px solid var(--line); background: #fff; font-size: .78rem; font-weight: 600; border-radius: 8px; position: relative; padding: 0; font-variant-numeric: tabular-nums; }
.qgrid button.ans { background: var(--navy-900); color: var(--ink); border-color: var(--ink); }
.qgrid button.cur { outline: 2px solid var(--gold); outline-offset: 1px; }
.qgrid button.flg::after { content: ""; position: absolute; top: 2px; right: 2px; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: .76rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border: 1px solid var(--line); display: inline-block; border-radius: 3px; }
.legend i.a { background: var(--navy-900); border-color: var(--ink); }
.legend i.f { background: var(--gold); border-radius: 50%; border: 0; width: 8px; height: 8px; }
.progress { height: 6px; background: var(--navy-100); margin-top: 10px; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.stat-line { display: flex; justify-content: space-between; font-size: .86rem; padding: 5px 0; }
.stat-line b { font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .exam-body { grid-template-columns: 1fr; padding: 12px; } .q-panel { min-height: auto; } .q-content { padding: 22px 18px; } .match-row { grid-template-columns: 1fr; } .exam-title { display: none; } .qgrid { grid-template-columns: repeat(10, 1fr); } }

/* ---------- Natija ---------- */
.result-hero { background: radial-gradient(700px 400px at 15% 0%, rgba(125,190,255,.16), transparent 70%), var(--navy-950); color: var(--ink); padding: 56px 0; }
.result-grid { display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; }
.result-grid > * { min-width: 0; }
.score-ring { width: 220px; height: 220px; position: relative; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring svg circle:last-child { stroke-linecap: round; }
.score-ring .inner { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.score-ring b { font-size: 4rem; font-weight: 700; line-height: 1; letter-spacing: -0.05em; display: block; font-variant-numeric: tabular-nums; }
.score-ring span { font-size: .85rem; color: var(--gold-2); }
.result-grade { display: inline-flex; align-items: center; gap: 14px; margin: 14px 0 16px; }
.result-grade .g { font-weight: 700; font-size: 1.6rem; background: var(--gold-grad); color: var(--ink); padding: 4px 16px; border-radius: 12px; }
.result-counts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; max-width: 640px; }
.result-counts div { padding: 14px 16px; font-size: .82rem; color: rgba(21,24,30,.62); background: rgba(21,24,30,.06); border: 1px solid rgba(21,24,30,.1); border-radius: 14px; }
.result-counts b { display: block; font-size: 1.8rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.result-actions svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .result-grid { grid-template-columns: 1fr; gap: 28px; } .score-ring { width: 180px; height: 180px; } .result-counts { grid-template-columns: repeat(2, 1fr); } }
.topic-bars { display: grid; gap: 14px; }
.topic-bar { display: grid; grid-template-columns: 220px 1fr 64px; gap: 16px; align-items: center; font-size: .9rem; }
.topic-bar.sm { grid-template-columns: 60px 1fr 44px; }
.topic-bar .t { height: 10px; background: var(--navy-100); position: relative; border-radius: 99px; overflow: hidden; }
.topic-bar .t i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--navy-900), var(--navy-700)); border-radius: 99px; }
.topic-bar b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .topic-bar { grid-template-columns: 1fr 60px; } .topic-bar .t { grid-column: 1 / -1; grid-row: 2; } }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.review-item { border: 1px solid var(--line); background: #fff; margin-bottom: 12px; border-radius: 16px; overflow: hidden; }
.review-item .rh { display: flex; gap: 12px; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: .86rem; flex-wrap: wrap; background: var(--bg-alt); }
.review-item .rb { padding: 18px; }
.review-item .rq { font-size: 1.02rem; margin-bottom: 12px; font-weight: 500; }
.review-item .ra { display: grid; gap: 6px; font-size: .92rem; margin-bottom: 12px; }
.review-item .ra .row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.review-item .ra .row span:first-child { color: var(--muted); }
.good { color: var(--ok); font-weight: 600; }
.wrong { color: var(--bad); font-weight: 600; }
.review-item .expl { background: var(--gold-50); padding: 12px 16px; font-size: .9rem; color: var(--ink-2); border-radius: 12px; border-left: 3px solid var(--gold); }
.review-item .expl b { color: var(--ink); }
@media (max-width: 640px) { .review-item .ra .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Natijani olish / auth ---------- */
.claim { padding: 64px 0 80px; background: radial-gradient(800px 500px at 90% 0%, rgba(125,190,255,.5), transparent 60%), var(--navy-950); min-height: calc(100vh - 72px); }
.claim-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.claim-grid > * { min-width: 0; }
.claim h1 { margin: 16px 0 14px; }
.teaser-card { margin-top: 28px; background: rgba(21,24,30,.05); border: 1px solid rgba(125,190,255,.3); border-radius: 20px; padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; max-width: 520px; }
.tc-score b { font-size: 3.6rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; display: block; }
.tc-score span { color: var(--gold-2); font-size: .85rem; }
.tc-rows { display: grid; gap: 8px; font-size: .88rem; color: rgba(21,24,30,.65); }
.tc-rows div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(21,24,30,.12); padding-bottom: 6px; }
.tc-rows b { color: var(--ink); display: inline-flex; gap: 6px; align-items: center; }
.blur { filter: blur(9px); user-select: none; }
@media (max-width: 900px) { .claim-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .teaser-card { grid-template-columns: 1fr; } }
.auth-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(40,96,160,.25), 0 0 0 1px rgba(125,190,255,.35); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.auth-tabs button { border: 0; background: transparent; padding: 10px; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.auth-tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.auth-note { font-size: .9rem; background: var(--gold-50); border: 1px solid rgba(125,190,255,.35); border-radius: 10px; padding: 10px 12px; color: var(--ink-2); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 600; }
.field input { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; outline: none; background: #fff; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(125,190,255,.18); }
.field input:disabled { background: var(--bg-alt); color: var(--muted); }
.form-err { background: var(--bad-bg); color: var(--bad); border-radius: 10px; padding: 10px 12px; font-size: .88rem; font-weight: 500; }
.demo-banner { background: var(--gold-50); color: var(--gold-3); border-bottom: 1px solid rgba(125,190,255,.35); font-size: .84rem; font-weight: 600; text-align: center; padding: 8px 16px; }
.loading { min-height: 60vh; display: grid; place-items: center; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid var(--navy-100); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sertifikat sahifasi ---------- */
.cert-page { padding: 36px 0 72px; background: radial-gradient(900px 500px at 30% 0%, rgba(125,190,255,.1), transparent 60%), var(--bg-alt); }
.cert-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; margin-top: 18px; align-items: start; }
.cert-layout > * { min-width: 0; }
.cert-side { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 12px; position: sticky; top: 92px; }
.cert-side h2 { font-size: 1.5rem; }
.verified { display: inline-flex; align-items: center; gap: 6px; background: var(--ok-bg); color: var(--ok); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 999px; width: max-content; }
.cert-side dl, .kv { margin: 0; display: grid; gap: 0; }
.cert-side dl div, .kv div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.cert-side dt, .kv dt { color: var(--muted); }
.cert-side dd, .kv dd { margin: 0; font-weight: 700; text-align: right; }
.link-field { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .8rem; color: var(--muted); background: var(--bg-alt); }
@media (max-width: 900px) { .cert-layout { grid-template-columns: 1fr; } .cert-side { position: static; } }
.verify { display: flex; gap: 12px; flex-wrap: wrap; max-width: 640px; }

/* ---------- Kabinet ---------- */
.cab-head { padding: 40px 0 0; background: radial-gradient(800px 400px at 90% 0%, rgba(125,190,255,.5), transparent 60%), var(--navy-950); }
.cab-user { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cab-user h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 6px 0 4px; }
.cab-user p { margin: 0; color: rgba(21,24,30,.6); font-size: .92rem; }
.cab-badges { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.tgt { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--gold-2); border: 1px solid rgba(125,190,255,.35); padding: 4px 10px; border-radius: 999px; }
.tgt svg { width: 16px; height: 16px; }
.cab-tabs { display: flex; gap: 4px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; }
.cab-tabs a { white-space: nowrap; text-decoration: none; color: rgba(21,24,30,.65); padding: 12px 16px; font-weight: 600; font-size: .92rem; border-radius: 12px 12px 0 0; display: inline-flex; gap: 6px; align-items: center; }
.cab-tabs a:hover { color: var(--ink); }
.cab-tabs a.on { background: var(--bg-alt); color: var(--ink); }
.cab-body { background: var(--bg-alt); min-height: 50vh; }
.cab-body .wrap { display: grid; gap: 18px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis.six { grid-template-columns: repeat(6, 1fr); }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: grid; gap: 4px; text-decoration: none; min-width: 0; }
.kpi span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi small { color: var(--gold-3); font-weight: 700; font-size: .78rem; }
.kpi.gold { background: var(--navy-950); color: var(--ink); border-color: var(--ink); }
.kpi.gold b { color: var(--gold-2); font-size: 1.4rem; }
.kpi.gold span { color: rgba(21,24,30,.6); }
.kpi.alert { border-color: var(--blue); background: var(--gold-50); }
@media (max-width: 1100px) { .kpis.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .kpis, .kpis.six { grid-template-columns: repeat(2, 1fr); } }
.cab-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.cab-grid > * { min-width: 0; }
@media (max-width: 900px) { .cab-grid { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-h a { color: var(--gold-3); font-weight: 700; text-decoration: none; font-size: .9rem; }
.panel .mock-grid .mock-card { box-shadow: none; }
.spark, .bars { width: 100%; height: auto; display: block; }
.goal-panel { background: var(--navy-950); color: var(--ink); border-color: var(--ink); }
.goal-panel h3 { color: var(--ink); margin: 6px 0 14px; }
.goal-panel .muted { color: rgba(21,24,30,.55); }
.goal-mini { color: var(--sky); margin: -6px -6px 10px; }
.goal-mini .bld { width: 100%; height: auto; }
.gp-bar { height: 12px; background: rgba(21,24,30,.1); border-radius: 99px; position: relative; overflow: visible; }
.gp-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--gold-grad); border-radius: 99px; }
.gp-bar em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: rgba(21,24,30,.5); }
.gp-legend { display: flex; justify-content: space-between; font-size: .84rem; color: rgba(21,24,30,.7); margin-top: 8px; }
.gp-legend b { color: var(--ink); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-thumb { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; display: grid; gap: 10px; transition: box-shadow .15s, border-color .15s; }
.cert-thumb:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.cert-thumb .cert-frame { box-shadow: none; border: 1px solid var(--line); }
.ct-meta b { display: block; font-size: .95rem; }
.ct-meta span { font-size: .8rem; color: var(--muted); }
.locked-panel { background: #fff; border: 1px dashed var(--gold); border-radius: 20px; padding: 40px; text-align: center; display: grid; justify-items: center; gap: 10px; }
.locked-panel p { color: var(--ink-2); max-width: 52ch; }
.premium-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--navy-950); color: var(--ink); border-radius: 20px; padding: 22px 24px; border: 1px solid rgba(125,190,255,.35); }
.premium-head.pro { background: linear-gradient(120deg, var(--navy-950) 55%, #CFE6FF); }
.premium-head h3 { color: var(--ink); font-size: 1.5rem; margin: 8px 0 4px; }
.premium-head p { margin: 0; color: rgba(21,24,30,.65); font-size: .9rem; }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px; background: var(--bg-alt); border-radius: 14px; }
.plan-list b { display: block; font-size: .94rem; }
.plan-list small { color: var(--muted); }
.plan-list a { color: var(--gold-3); font-weight: 700; text-decoration: none; font-size: .86rem; white-space: nowrap; }
.pl-n { width: 36px; height: 36px; border-radius: 10px; background: var(--navy-900); color: var(--blue); display: grid; place-items: center; font-weight: 700; }
.lessons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .lessons { grid-template-columns: 1fr; } }
.lesson { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: linear-gradient(180deg, var(--gold-50), #fff); }
.lesson .l-day { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-3); }
.lesson b { display: block; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
.lesson p { margin: 4px 0 0; color: var(--ink-2); font-size: .9rem; }
.cur-plan { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.pay-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.pay-plan { border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; display: grid; gap: 2px; position: relative; }
.pay-plan input { position: absolute; opacity: 0; }
.pay-plan b { font-size: 1.05rem; }
.pay-plan span { color: var(--muted); font-size: .9rem; }
.pay-plan:has(input:checked) { border-color: var(--ink); background: var(--navy-50); box-shadow: inset 0 0 0 1px var(--navy-900); }
.pay-plan.pro:has(input:checked) { border-color: var(--blue); background: var(--gold-50); box-shadow: inset 0 0 0 1px var(--gold); }
.pay-steps { display: grid; gap: 14px; margin-bottom: 16px; }
.pay-steps > div { display: flex; gap: 14px; align-items: flex-start; }
.ps-n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-900); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.card-num { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.card-num span { font-size: 1.3rem; font-weight: 700; letter-spacing: .06em; background: var(--navy-950); color: var(--gold-2); padding: 8px 14px; border-radius: 10px; }
.chip-r { display: inline-flex; cursor: pointer; margin-top: 6px; }
.chip-r input { position: absolute; opacity: 0; }
.chip-r span { border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; }
.chip-r input:checked + span { background: var(--navy-900); color: var(--ink); border-color: var(--ink); }
.chip-r input:focus-visible + span { outline: 2px solid var(--gold); }
@media (max-width: 560px) { .pay-plans { grid-template-columns: 1fr; } .card-num span { font-size: 1.05rem; } }

/* ---------- Admin ---------- */
.admin { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: var(--bg-alt); }
.admin-side { background: var(--navy-950); color: var(--ink); padding: 22px 16px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; border-right: 1px solid rgba(125,190,255,.2); }
.admin-side nav { display: grid; gap: 4px; }
.admin-side nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: rgba(21,24,30,.7); text-decoration: none; font-weight: 600; font-size: .92rem; }
.admin-side nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-side nav a:hover { background: rgba(21,24,30,.06); color: var(--ink); }
.admin-side nav a.on { background: rgba(125,190,255,.14); color: var(--gold-2); }
.admin-side nav em { margin-left: auto; font-style: normal; background: var(--gold-grad); color: var(--ink); font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.admin-side .btn { margin-top: auto; }
.admin-main { padding: 26px max(28px, env(safe-area-inset-right, 0px)) 48px 28px; min-width: 0; display: grid; gap: 18px; align-content: start; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.8rem; }
.mode-chip { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--navy-900); color: var(--gold-2); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(800px 500px at 50% 0%, rgba(125,190,255,.5), transparent 60%), var(--navy-950); }
.admin-login .brand { color: var(--ink); }
.admin-login .brand-text small { opacity: .6; }
.plan-split { display: flex; gap: 16px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); flex-wrap: wrap; }
.plan-split b { color: var(--ink); }
.setup { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.setup code, .events pre { font-family: var(--mono); font-size: .82rem; }
.setup code { background: var(--navy-50); padding: 1px 6px; border-radius: 6px; }
.events { display: grid; gap: 10px; max-height: 70vh; overflow: auto; }
.event { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.ev-h { display: flex; gap: 10px; align-items: center; font-size: .8rem; flex-wrap: wrap; margin-bottom: 6px; }
.events pre { margin: 0; white-space: pre-wrap; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) {
  .admin { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; padding: 14px 16px; gap: 12px; }
  .admin-side nav { display: flex; overflow-x: auto; }
  .admin-side nav a span { white-space: nowrap; }
  .admin-side .btn { margin-top: 0; align-self: flex-start; }
  .admin-main { padding: 18px 16px 40px; }
}

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(21,24,30,.38); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 16px; animation: fade .15s ease; }
.modal { background: #fff; width: 100%; max-width: 480px; padding: 30px; position: relative; max-height: 92vh; overflow-y: auto; border-radius: 22px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold); }
.modal h3 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.modal p { color: var(--ink-2); }
.modal .x { position: absolute; top: 14px; right: 14px; background: var(--navy-50); border: 0; font-size: 1.3rem; line-height: 1; width: 36px; height: 36px; border-radius: 50%; z-index: 1; }
.modal.auth-modal { padding-top: 54px; }
.modal .row-btns { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.modal .row-btns .btn { flex: 1; }
.mini-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.mini-plan { border: 1px solid var(--line); padding: 16px; border-radius: 16px; }
.mini-plan.comfort { background: var(--navy-950); color: var(--ink); border-color: var(--ink); }
.mini-plan.comfort ul { color: rgba(21,24,30,.7); }
.mini-plan.pro { border-color: var(--blue); background: var(--gold-50); }
.mini-plan b { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.mini-plan .p { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0; }
.mini-plan .p small { font-size: .78rem; font-weight: 500; }
.mini-plan ul { margin: 0; padding-left: 16px; font-size: .85rem; color: var(--ink-2); }
@media (max-width: 520px) { .mini-plans { grid-template-columns: 1fr; } .modal { padding: 24px 18px; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--navy-950); color: var(--ink); padding: 12px 20px; font-size: .9rem; z-index: 200; animation: fade .2s ease; border-radius: 12px; box-shadow: var(--shadow-lg); border: 1px solid rgba(125,190,255,.4); max-width: calc(100vw - 32px); }
@media (max-width: 640px) { .hide-sm { display: none !important; } }
.result-grid .eyebrow { display: flex; }
.admin > *, .admin-side nav { min-width: 0; }

/* ---------- TDYU binosi (hero pastki qismi) ---------- */
.hero-tdyu { position: relative; margin-top: 56px; color: var(--sky); border-top: 1px solid rgba(125,190,255,.18); background: linear-gradient(180deg, transparent, rgba(255,255,255,.4)); }
.tdyu-stage { position: relative; padding-top: 22px; }
.tdyu-stage .bld { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 18px rgba(125,190,255,.18)); }
.tdyu-stage img { position: absolute; inset: 22px 0 0; width: 100%; height: calc(100% - 22px); object-fit: cover; border-radius: 18px 18px 0 0; opacity: .55; mix-blend-mode: luminosity; }
.tdyu-stage img + .bld { opacity: .8; }
.tdyu-cap { display: flex; gap: 10px 18px; align-items: center; flex-wrap: wrap; padding: 16px 0 22px; font-size: .88rem; color: rgba(21,24,30,.62); border-top: 1px solid rgba(125,190,255,.2); }
.tdyu-cap b { color: var(--ink); font-weight: 600; }
.tdyu-cap .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,201,60,.22); }
.tdyu-goal { margin-left: auto; background: var(--gold-grad); color: var(--ink) !important; font-weight: 700; padding: 5px 12px; border-radius: 999px; font-size: .8rem; }
@media (max-width: 640px) { .tdyu-goal { margin-left: 0; } }
.founder-results { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: -6px 0 22px; font-size: .86rem; color: var(--muted); }
.founder-results b { background: var(--gold-50); color: var(--gold-3); border: 1px solid rgba(125,190,255,.45); padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.founder-phone { margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.founder-phone b { color: var(--ink); }
.dark .gold, .result-hero .gold { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue); }

/* Asoschi rasmi (Instagram profil surati, 150×150) — doira ko‘rinishida */
.founder-photo img { inset: auto; left: 50%; top: 44%; width: 168px; height: 168px; transform: translate(-50%, -50%); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--gold), 0 0 0 14px rgba(125,190,255,.18), 0 30px 60px -20px rgba(40,96,160,.25); }
.founder-photo:has(img) .mono-fallback { opacity: .05; font-size: 13rem; }

/* ---------- Och tema: to‘q ko‘k ishlatilmaydi ---------- */
.gold, .dark .gold, .result-hero .gold { color: var(--ink); background: linear-gradient(transparent 60%, var(--gold) 60%, var(--gold) 92%, transparent 92%); -webkit-background-clip: border-box; background-clip: border-box; }
.hero { background: radial-gradient(900px 520px at 85% 10%, rgba(125,190,255,.5), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(255,201,60,.16), transparent 60%), linear-gradient(180deg, #EEF6FF, #DDEEFF); }
.btn { box-shadow: 0 8px 20px -12px rgba(40,115,200,.6); }
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); }
.brand-mark { color: var(--blue); background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy-700); }
.icon-sq, .rm-n, .law .lnum, .pl-n, .ps-n { background: var(--navy-100); color: var(--blue); box-shadow: none; }
.rm-goal .rm-n, .icon-sq.gold { background: var(--gold-grad); color: var(--ink); }
a.feature:hover .icon-sq { background: var(--gold-grad); color: var(--ink); }
.card-num span { background: var(--navy-100); color: var(--ink); }
.q-head .qno, .opt.sel .l { color: var(--ink); }
.qgrid button.ans { background: var(--navy-700); border-color: var(--navy-700); }
.legend i.a { background: var(--navy-700); border-color: var(--navy-700); }
.chip.on, .chip-r input:checked + span { background: var(--navy-700); border-color: var(--navy-700); color: var(--ink); }
.gchip { background: var(--navy-100); color: var(--ink); }
.grade-table .bar i, .topic-bar .t i { background: linear-gradient(90deg, var(--navy-600), var(--navy-700)); }
.site-header { border-bottom-color: var(--navy-200); }
.page-head, .cab-head, .claim, .result-hero, .cert-promo { background: radial-gradient(800px 400px at 85% 0%, rgba(125,190,255,.45), transparent 60%), linear-gradient(180deg, #EAF4FF, #DCEDFF); }
.cab-tabs a.on { background: var(--bg-alt); }
.mock-card.free, .plan.featured, .kpi.gold, .goal-panel, .premium-head, .rm-goal, .grade-tabs a.on, .mini-plan.comfort { background: linear-gradient(160deg, #D9ECFF, #C3E0FF); border-color: var(--navy-700) !important; }
.mock-card.free .tag { background: var(--gold-grad); color: var(--ink); }
.kpi.gold b { color: var(--blue); }
.goal, .teaser-card { background: rgba(255,255,255,.65); border-color: var(--navy-700); }
.goal-tabs button { background: #fff; border-color: var(--navy-200); }
.goal-tabs button.on { background: var(--gold-grad); border-color: transparent; }
.goal-path { background: rgba(255,255,255,.7); }
.hero-meta, .pill-badge { background: rgba(255,255,255,.7); }
.pill-badge { border-color: var(--navy-700); color: var(--blue); }
.qd-top { background: var(--navy-100); }
.exam-bar { background: #fff; border-bottom: 1px solid var(--navy-200); }
.timer { background: var(--navy-100); }
.admin-side { background: linear-gradient(180deg, #E4F1FF, #D4E9FF); border-right-color: var(--navy-200); }
.admin-side nav a.on { background: #fff; color: var(--blue); }
.site-footer { border-top-color: var(--navy-200); }
.site-footer h4 { color: var(--blue); }
.founder-photo { background: radial-gradient(circle at 50% 40%, #fff, var(--navy-800)); box-shadow: var(--shadow-lg), 0 0 0 1px var(--navy-700); }
.founder-photo .cap { border-color: var(--navy-700); }
.book-cover { background: radial-gradient(circle at 70% 20%, #fff, var(--navy-800)); }
.book-cover .bc-grade, .book-cover .bc-top { color: var(--blue); }
.eyebrow, .dark .eyebrow, .result-hero .eyebrow { color: var(--blue); }
.tdyu-cap .dot { box-shadow: 0 0 0 4px rgba(255,201,60,.35); }
.hero-tdyu { background: linear-gradient(180deg, transparent, rgba(255,255,255,.5)); border-top-color: var(--navy-700); }
.score-ring b { color: var(--ink); }
.modal-bg { background: rgba(21,24,30,.38); }

/* =========================================================
   v4 — ILOVA KO‘RINISHI: oq · ko‘k · qizil
   Pastki tab-panel, kartalar, katta rangli bo‘lim plitkalari.
   ========================================================= */
:root {
  --blue: #1E6FF0; --blue-2: #1557D6; --blue-50: #EEF4FF; --blue-100: #DDE9FF; --blue-200: #C3D8FF;
  --red: #E5193B; --red-2: #C30F2E; --red-50: #FFEEF1;
  --blue-grad: linear-gradient(140deg, #3D8BFF 0%, #1E6FF0 52%, #1557D6 100%);
  --red-grad: linear-gradient(140deg, #FF4A64 0%, #E5193B 55%, #C30F2E 100%);
  --gold: #1E6FF0; --gold-2: #1E6FF0; --gold-3: #1E6FF0; --gold-50: #EEF4FF;
  --gold-grad: var(--blue-grad);
  --navy-990: #E8F0FE; --navy-950: #EEF4FF; --navy-900: #DDE9FF; --navy-850: #E3EDFF; --navy-800: #C8DBFF; --navy-700: #B9D2FF;
  --navy-600: #1E6FF0; --navy-400: #9FB3D1; --navy-200: #D6E4FB; --navy-100: #EEF4FF; --navy-50: #F5F8FE;
  --bg: #F3F6FB; --bg-alt: #F3F6FB; --line: #E3EAF4;
  --title: #0E1B33;
  --app: 760px;
}
body { background: var(--bg); }
body::before { background: var(--bg); }
::selection { background: var(--blue-100); color: var(--ink); }

/* Tugmalar — dumaloq «pill» shakl */
.btn { background: var(--blue); border-color: var(--blue); color: #fff; border-radius: 999px; box-shadow: 0 8px 20px -12px rgba(30,111,240,.8); }
.btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.btn-gold, .btn-gold:hover { background: var(--blue-grad); color: #fff; border-color: transparent; }
.btn-ghost, .btn-line-white, .btn-white { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover, .btn-line-white:hover { background: var(--blue-50); color: var(--blue-2); border-color: var(--blue-200); }
.btn-lg, .btn-sm { border-radius: 999px; }

/* Matn urg‘ulari */
.gold, .dark .gold, .result-hero .gold { color: var(--red); background: none; -webkit-text-fill-color: currentColor; }
.hl, .dark .hl, .page-head .hl { color: var(--blue); background: none; }
.eyebrow::before { background: var(--red); }
.plan-badge.comfort { background: var(--blue-50); color: var(--blue-2); border-color: var(--blue-200); }
.plan-badge.pro { background: var(--red-grad); color: #fff; border-color: transparent; }
.gchip.top { background: var(--red); color: #fff; }
.mock-card.free .tag, .goal-tabs button.on, .rm-goal .rm-n, .icon-sq.gold, a.feature:hover .icon-sq { color: #fff; }
.mock-card.free { background: linear-gradient(160deg, #FFF3F5, #FFE3E8) !important; border-color: #FFB9C5 !important; }
.mock-card.free .tag { background: var(--red); }
.brand-mark { color: #fff; background: var(--blue-grad); box-shadow: none; }

/* ---------- Qobiq ---------- */
.app-col { max-width: var(--app); margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(243,246,251,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.topbar .app-col { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 62px; }
.topbar .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.topbar .brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.topbar .brand-text { font-weight: 700; font-size: .98rem; line-height: 1.15; color: var(--title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .brand-text small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.topbar .user-chip { display: flex; align-items: center; gap: 8px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px 4px 4px; }
.topbar .avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-grad); color: #fff; font-weight: 700; }
.app-main { padding: 4px 0 calc(118px + env(safe-area-inset-bottom, 0px)); }
.app-main .wrap { max-width: none; padding: 0; }
.app-main .section, .app-main .section-sm { padding: 10px 0; background: none; }
.app-main :is(.split, .split-60, .split-60.rev, .section-head, .founder, .cab-grid, .cert-layout, .claim-grid, .book, .pricing) { grid-template-columns: 1fr !important; gap: 16px; }
.app-main .mock-grid, .app-main .cert-grid, .app-main .features { grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .app-main .mock-grid, .app-main .cert-grid, .app-main .features { grid-template-columns: 1fr; } }
.app-main .book-side { position: static; display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.app-main h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; color: var(--title); }
.app-main h3 { color: var(--title); }

/* Pastki tab-panel */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 0 12px calc(12px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.tabbar-in { pointer-events: auto; max-width: calc(var(--app) - 8px); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 6px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line); border-radius: 30px; box-shadow: 0 18px 40px -18px rgba(20,50,110,.35), 0 2px 6px rgba(20,50,110,.06); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; border-radius: 24px; text-decoration: none; color: #1F2A3D; font-size: .76rem; font-weight: 600; transition: background .15s, color .15s; }
.tabbar a:hover { background: var(--blue-50); }
.tabbar a.on { background: var(--blue-50); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue-100); }
.tabbar a.on .f { fill: currentColor; fill-opacity: .2; }

/* Sarlavhalar */
.ph { padding: 8px 2px 14px; }
.ph.top { padding-top: 22px; }
.ph h1 { font-size: clamp(2.05rem, 6.4vw, 2.7rem); font-weight: 700; letter-spacing: -.03em; color: var(--title); margin: 10px 0 6px; }
.ph.top h1 { margin-top: 0; }
.ph-lead { color: var(--muted); margin: 0; font-size: 1.02rem; max-width: 62ch; }
.back { display: inline-flex; align-items: center; gap: 4px; padding: 7px 14px 7px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin: 10px 0 4px; }
.back:hover { color: var(--blue); border-color: var(--blue-200); }
.hello { display: flex; align-items: baseline; gap: 12px; margin: 18px 2px 16px; }
.hello .hi-mark { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--red); }
.hello h1 { font-size: clamp(1.95rem, 6vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; color: var(--title); }
.sec-t { font-size: 1.15rem; font-weight: 700; margin: 24px 4px 10px; color: var(--title); }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-row a { color: var(--blue); font-weight: 700; text-decoration: none; font-size: .95rem; }
.eb { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }

/* Kartalar */
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 20px; margin: 0 0 14px; box-shadow: 0 1px 2px rgba(20,50,110,.04); text-decoration: none; color: inherit; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.card-h .ch-l { display: flex; align-items: center; gap: 14px; }
.ch-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-grad); color: #fff; flex: none; }
.cnt { font-size: 1.2rem; font-weight: 700; color: var(--blue); }
.chip-sm { font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; background: var(--red-50); color: var(--red-2); white-space: nowrap; }
.li-t { min-width: 0; }
.li-t b { display: block; font-size: 1.06rem; font-weight: 700; color: var(--title); line-height: 1.3; }
.li-t small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.4; margin-top: 2px; }
.chev { color: #94A3B8; flex: none; }

.hero-card { position: relative; overflow: hidden; display: block; text-decoration: none; color: #fff; background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.22), transparent 60%), var(--blue-grad); border-radius: 30px; padding: 24px 22px 26px; margin-bottom: 14px; box-shadow: 0 26px 44px -24px rgba(21,87,214,.8); }
.hero-card .hc-eb { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.hero-card h2 { color: #fff; font-size: clamp(1.5rem, 4.8vw, 1.95rem); margin: 8px 0 6px; max-width: 20ch; }
.hero-card p { color: rgba(255,255,255,.86); margin: 0 0 20px; }
.hc-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--blue-2); font-weight: 700; padding: 13px 26px; border-radius: 999px; font-size: 1.05rem; box-shadow: 0 10px 22px -12px rgba(0,0,0,.4); }
.hero-card:hover .hc-btn { transform: translateY(-1px); }
.hc-deco { position: absolute; right: -22px; bottom: -34px; opacity: .14; }
.hc-deco svg { width: 190px; height: 190px; }

.row-card { display: grid; grid-template-columns: 56px 1fr 20px; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 24px; margin-bottom: 14px; text-decoration: none; color: inherit; }
.rc-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-grad); color: #fff; }
.rows > * + * { border-top: 1px solid var(--line); }
.row-link, .step-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; text-decoration: none; color: inherit; }
.rl-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.rl-ic.on, .row-link.ok .rl-ic { background: var(--blue); color: #fff; }
.row-link.ok .li-t small { color: var(--blue); font-weight: 600; }
.ok-ic { color: var(--blue); display: grid; }
.pill-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; border: 0; white-space: nowrap; line-height: 1.3; }
.pill-btn .chev { color: currentColor; width: 16px; height: 16px; }
.pill-btn:hover { background: var(--blue-2); }
.pill-btn.white { background: #fff; color: var(--blue-2); }
.pill-btn.red { background: var(--red); }
.pill-btn.ghost { background: var(--blue-50); color: var(--blue-2); }
.pill-btn.big { width: 100%; padding: 15px; font-size: 1.08rem; }

.alert-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 54px 1fr 20px; gap: 14px; align-items: center; padding: 18px; border-radius: 26px; background: var(--red-grad); color: #fff; text-decoration: none; margin-bottom: 14px; box-shadow: 0 18px 36px -20px rgba(229,25,59,.85); }
.alert-card .li-t b { color: #fff; font-size: 1.12rem; }
.alert-card .li-t small { color: rgba(255,255,255,.88); }
.alert-card .chev { color: #fff; }
.ac-ic { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.ac-deco { position: absolute; right: -8px; bottom: -22px; opacity: .14; }
.ac-deco svg { width: 96px; height: 96px; }

/* Maqsad kartasi */
.goal-card h2 { font-size: 1.3rem; max-width: 26ch; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: var(--bg); border-radius: 16px; margin: 12px 0 14px; }
.seg button { border: 0; background: transparent; border-radius: 12px; padding: 9px; font-weight: 700; color: var(--ink-2); }
.seg button.on { background: #fff; color: var(--title); box-shadow: 0 2px 6px rgba(20,50,110,.1); }
.goal-card .goal-art { position: relative; color: var(--blue); background: linear-gradient(180deg, #F5F9FF, #E6EFFF); border-radius: 18px; padding: 14px 10px 0; overflow: hidden; }
.goal-card .goal-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.goal-card .goal-art img + .bld { opacity: 0; }
.goal-card .goal-art .bld { width: 100%; height: auto; display: block; }
.goal-card .goal-info { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: end; padding: 14px 2px 4px; }
.goal-card .goal-short { font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.goal-card .goal-info h3 { font-size: 1.12rem; margin: 2px 0 2px; }
.goal-city { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 6px; }
.goal-card .goal-info p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.goal-card .goal-score { text-align: right; }
.goal-card .goal-score b { display: block; font-size: 1.9rem; font-weight: 700; color: var(--blue); line-height: 1; }
.goal-card .goal-score span { display: block; font-size: .8rem; color: var(--muted); }
.goal-card .goal-score small { display: block; font-size: .72rem; color: var(--muted); max-width: 22ch; margin-left: auto; }
.goal-card .goal-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; padding: 10px 12px; background: var(--bg); border-radius: 14px; font-size: .84rem; font-weight: 600; }
.goal-card .goal-path i { width: 14px; height: 2px; background: var(--blue-200); }
.goal-card .goal-path .gold { color: var(--red); }
@media (max-width: 560px) { .goal-card .goal-info { grid-template-columns: 1fr; } .goal-card .goal-score { text-align: left; } .goal-card .goal-score small { margin-left: 0; } }

/* Kunlik savol */
.qd-q { font-size: 1.06rem; font-weight: 600; margin: 6px 0 14px; color: var(--title); }
.qd-opts { display: grid; gap: 8px; }
.qd-opt { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; text-align: left; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; }
.qd-opt span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-2); font-weight: 700; }
.qd-opt:hover { border-color: var(--blue-200); }
.qd-opt.ok { border-color: var(--blue); background: var(--blue-50); }
.qd-opt.ok span { background: var(--blue); color: #fff; }
.qd-opt.bad { border-color: var(--red); background: var(--red-50); }
.qd-opt.bad span { background: var(--red); color: #fff; }
.qd-expl { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-size: .94rem; }
.qd-expl a { color: var(--blue); font-weight: 700; }
.ticks.sm { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.ticks.sm li { display: flex; gap: 8px; align-items: center; }
.ticks.sm svg { color: var(--blue); flex: none; }

.mini-road { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-road li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; background: var(--bg); border-radius: 16px; }
.mini-road li > span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--blue-200); }
.mini-road b { display: block; font-size: .98rem; color: var(--title); }
.mini-road small { color: var(--muted); font-size: .86rem; display: block; line-height: 1.4; }
.mini-road em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--blue-2); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.mini-road li.goal { background: var(--red-50); }
.mini-road li.goal > span { background: var(--red); color: #fff; box-shadow: none; }
.mini-road li.goal em { background: var(--red); color: #fff; }

/* Hamjamiyat */
.founder-card { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 18px; border-radius: 26px; background: var(--blue-grad); color: #fff; text-decoration: none; margin-bottom: 12px; box-shadow: 0 20px 40px -24px rgba(21,87,214,.85); }
.fcd-av { position: relative; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.2); box-shadow: 0 0 0 3px rgba(255,255,255,.55); font-weight: 700; }
.fcd-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-card .li-t b, .fcd-t b { display: flex; align-items: center; gap: 6px; color: #fff; font-size: 1.15rem; font-weight: 700; }
.fcd-t small { display: block; color: rgba(255,255,255,.86); font-size: .9rem; }
.list-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; margin-bottom: 14px; }
.list-card.soft { background: #EEF2F8; border-color: #E2E8F2; }
.list-card > * + * { border-top: 1px solid var(--line); }
.li { display: grid; grid-template-columns: 48px 1fr 20px; gap: 14px; align-items: center; width: 100%; padding: 15px 18px; text-decoration: none; color: inherit; background: none; border: 0; text-align: left; }
a.li:hover, button.li:hover { background: var(--blue-50); }
.li-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.li-ic.red { background: var(--red-50); color: var(--red); }
.li.soon { grid-template-columns: 48px 1fr auto; }
.soon-tag { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--bg); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.g-badge { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-2); font-weight: 700; font-size: 1rem; }
.g-badge.top { background: var(--red); color: #fff; }
.promo-strip { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 20px; background: var(--red-50); border: 1px solid #FFCCD5; color: var(--title); text-decoration: none; margin-bottom: 14px; }
.promo-strip > svg { color: var(--red); flex: none; }
.promo-strip .pill-btn { margin-left: auto; }

/* Mashq: bo‘lim plitkalari */
.feat-card { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 18px; border-radius: 26px; background: linear-gradient(135deg, #F6F9FF, #E2ECFF); border: 1.5px solid var(--blue-200); text-decoration: none; color: inherit; margin-bottom: 14px; }
.feat-card .li-t b { font-size: 1.25rem; }
.fc-ic { width: 62px; height: 62px; border-radius: 50%; background: var(--blue-grad); color: #fff; display: grid; place-items: center; }
.fc-meta { grid-column: 1 / -1; color: var(--ink-2); font-size: .9rem; font-weight: 600; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 176px; padding: 20px; border-radius: 28px; text-decoration: none; color: var(--title); background: #fff; border: 1px solid var(--line); transition: transform .15s; }
.tile:hover { transform: translateY(-2px); }
.tile.big { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 190px; gap: 18px; }
.tile .li-t b { font-size: 1.45rem; color: inherit; }
.tile .li-t small { font-size: .95rem; }
.tile.blue { background: radial-gradient(380px 200px at 0% 0%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, #5AA0FF, #1E6FF0); color: #fff; border: 0; box-shadow: 0 20px 40px -24px rgba(30,111,240,.9); }
.tile.deep { background: radial-gradient(380px 200px at 0% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #2A7BFF, #1453CC); color: #fff; border: 0; box-shadow: 0 20px 40px -24px rgba(21,83,204,.9); }
.tile.red { background: var(--red-grad); color: #fff; border: 0; box-shadow: 0 20px 40px -24px rgba(229,25,59,.9); }
.tile:is(.blue, .deep, .red) .li-t small { color: rgba(255,255,255,.88); }
.tile:is(.blue, .deep, .red) .chev { color: #fff; }
.tile .chev { margin-left: auto; }
.t-ic { width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; flex: none; }
.tile.white .t-ic { background: var(--blue-grad); color: #fff; width: 54px; height: 54px; }
.tile:not(.big) .t-ic { width: 54px; height: 54px; }
.t-deco { position: absolute; right: -16px; bottom: -22px; opacity: .14; pointer-events: none; }
.t-deco svg { width: 130px; height: 130px; }
.tile.white .t-deco { color: var(--blue); opacity: .08; }
.empty-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; text-align: center; color: var(--muted); margin-bottom: 14px; }
.empty-card a { color: var(--blue); font-weight: 700; }
@media (max-width: 420px) { .tile { padding: 16px; min-height: 160px; } .tile .li-t b { font-size: 1.22rem; } .t-ic { width: 54px; height: 54px; } }

/* Konstitutsiya */
.const-hero { background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.22), transparent 60%), var(--blue-grad); color: #fff; border-radius: 28px; padding: 22px; margin-bottom: 6px; }
.const-hero .eb { color: rgba(255,255,255,.85); }
.const-hero p { color: rgba(255,255,255,.88); font-size: .94rem; }
.ch-num { display: grid; grid-template-columns: repeat(3, 1fr); margin: 10px 0 14px; }
.ch-num div { text-align: center; font-size: .86rem; color: rgba(255,255,255,.85); }
.ch-num div + div { border-left: 1px solid rgba(255,255,255,.25); }
.ch-num b { display: block; font-size: 2rem; font-weight: 700; color: #fff; line-height: 1.1; }
.kp-list { margin: 0; padding: 0; list-style: none; counter-reset: kp; display: grid; gap: 10px; }
.kp-list li { counter-increment: kp; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: .98rem; }
.kp-list li::before { content: counter(kp); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-2); font-weight: 700; font-size: .9rem; }
.card.topic { border-top: 1px solid var(--line); padding-top: 20px; }
.card.topic .tnum { color: var(--red); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.card.topic h3 { margin: 6px 0 8px; font-size: 1.2rem; }
.card.topic .facts { background: var(--bg); border-radius: 16px; }

/* Imtihon */
.ex-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 78px 1fr 24px; gap: 16px; align-items: center; width: 100%; text-align: left; padding: 34px 20px 26px; border-radius: 32px; color: #fff; text-decoration: none; border: 0; margin-bottom: 14px; font: inherit; transition: transform .15s; }
.ex-card:hover { transform: translateY(-2px); }
.ex-card.red { background: radial-gradient(400px 220px at 0% 0%, rgba(255,255,255,.2), transparent 60%), var(--red-grad); box-shadow: 0 22px 40px -22px rgba(229,25,59,.9); }
.ex-card.blue { background: radial-gradient(400px 220px at 0% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #2F7BFF, #1453CC); box-shadow: 0 22px 40px -22px rgba(21,83,204,.9); }
.ex-card .chev { color: #fff; }
.ex-badge { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--red-2); font-weight: 700; font-size: .84rem; padding: 4px 12px; border-radius: 999px; }
.ex-card.blue .ex-badge { color: var(--blue-2); }
.ex-ic { width: 78px; height: 78px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
.ex-ic svg { width: 36px; height: 36px; }
.ex-t b { display: block; font-size: 1.65rem; font-weight: 700; line-height: 1.15; }
.ex-t small { display: block; color: rgba(255,255,255,.9); margin-top: 2px; }
.ex-t em { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: .85rem; background: rgba(255,255,255,.2); padding: 4px 12px; border-radius: 999px; }
.ex-deco { position: absolute; right: -10px; bottom: -28px; opacity: .15; pointer-events: none; }
.ex-deco svg { width: 140px; height: 140px; }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.parts div { background: var(--bg); border-radius: 16px; padding: 12px; font-size: .86rem; color: var(--ink-2); }
.parts b { display: block; font-size: 1.15rem; color: var(--blue); }
.cert-card h2 { margin-bottom: 14px; }
.cert-card .cert-frame { margin-bottom: 14px; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 30px -18px rgba(20,50,110,.45); }
.cert-card .btn { margin-top: 16px; }

/* Natijalar */
.stat-card { background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.22), transparent 60%), var(--blue-grad); color: #fff; border-radius: 28px; padding: 20px; margin-bottom: 14px; }
.stat-card .eb { color: rgba(255,255,255,.85); }
.pc-stats { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; margin-top: 12px; text-align: center; }
.pc-stats div { font-size: .86rem; color: rgba(255,255,255,.86); }
.pc-stats div + div { border-left: 1px solid rgba(255,255,255,.25); }
.pc-stats b { display: block; font-size: 1.6rem; font-weight: 700; color: #fff; line-height: 1.2; }
.res-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; }
@media (max-width: 560px) { .res-row { grid-template-columns: 48px 1fr; } .res-row > .row-gap { grid-column: 1 / -1; } }

/* Profil */
.profile-card { background: radial-gradient(420px 240px at 100% 100%, rgba(255,255,255,.14), transparent 60%), var(--blue-grad); color: #fff; border-radius: 30px; padding: 22px; margin-bottom: 14px; box-shadow: 0 24px 44px -24px rgba(21,87,214,.8); }
.pc-top { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; }
.pc-av { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; font-weight: 700; background: rgba(255,255,255,.18); box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.pc-top h2 { color: #fff; font-size: 1.6rem; }
.pc-top small { display: block; color: rgba(255,255,255,.85); font-size: .9rem; overflow-wrap: anywhere; }
.pc-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 6px; }
.pc-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); padding: 4px 12px 4px 8px; border-radius: 999px; font-weight: 700; font-size: .86rem; }
.pc-chip svg { width: 16px; height: 16px; }
.profile-card .pc-stats { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); }
.upsell { position: relative; overflow: hidden; display: block; background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.18), transparent 60%), var(--red-grad); color: #fff; border-radius: 30px; padding: 22px; margin-bottom: 14px; text-decoration: none; box-shadow: 0 22px 40px -24px rgba(229,25,59,.9); }
.upsell .eb { color: #FFD9DF; }
.upsell h2 { color: #fff; margin-bottom: 6px; }
.upsell p { color: rgba(255,255,255,.9); margin: 0; }
.upsell.paid { background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #2F7BFF, #1453CC); }
.upsell.paid .eb { color: rgba(255,255,255,.85); }
.upsell .pill-btn.big { margin-top: 16px; color: var(--red-2); }
.upsell.paid .pill-btn.big { color: var(--blue-2); }
.lock-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.lock-chips span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.18); padding: 5px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; }
.card.daraja { display: grid; grid-template-columns: 96px 1fr 20px; gap: 18px; align-items: center; }
.dr-ring { width: 96px; height: 96px; border-radius: 50%; border: 5px solid var(--blue); display: grid; place-items: center; font-size: 1.7rem; font-weight: 700; color: var(--blue); }
.daraja .li-t b { font-size: 1.3rem; }
.dr-chips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.dr-chips span { text-align: center; padding: 6px 0; border-radius: 999px; background: var(--blue-50); font-weight: 700; font-size: .86rem; color: var(--ink-2); }
.dr-chips span.on { background: var(--blue); color: #fff; }
.ver { text-align: center; color: var(--muted); font-size: .86rem; margin: 18px 0 0; }

/* Ichki sahifalar ilova ichida */
.app-main .auth-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: none; }
.app-main .result-hero, .app-main .claim, .app-main .cab-head { border-radius: 30px; padding: 24px 22px; margin: 10px 0 14px; }
.app-main .result-hero, .app-main .claim { background: radial-gradient(500px 260px at 100% 0%, rgba(30,111,240,.16), transparent 60%), #fff; border: 1px solid var(--line); }
.app-main .result-grid { gap: 28px; }
.app-main .claim h1, .app-main .result-hero h1 { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 700; color: var(--title); }
.app-main .cab-head { background: var(--blue-grad); color: #fff; }
.app-main .cab-head :is(h1, p, .eyebrow) { color: #fff; }
.app-main .cab-head h1 { font-size: clamp(1.7rem, 5vw, 2.2rem); font-weight: 700; }
.app-main .cab-head .eyebrow::before { background: #fff; }
.app-main .cab-head .avatar { background: rgba(255,255,255,.2); color: #fff; }
.app-main .cab-head .tgt { color: #fff; }
.app-main .cab-tabs { display: flex; gap: 6px; overflow-x: auto; margin-top: 18px; border: 0; padding-bottom: 2px; }
.app-main .cab-tabs a { flex: none; padding: 8px 14px; border-radius: 999px; text-decoration: none; white-space: nowrap; font-weight: 600; font-size: .9rem; color: rgba(255,255,255,.88); background: rgba(255,255,255,.12); border: 0; }
.app-main .cab-tabs a.on { background: #fff; color: var(--blue-2); }
.app-main .demo-banner { border-radius: 16px; margin-bottom: 10px; }
.app-main .founder-photo { max-width: 320px; margin: 0 auto; }
.app-main .founder-sec .founder > div:last-child h2 { font-size: 1.8rem; }
.app-main .mock-card, .app-main .plan, .app-main .law, .app-main .panel, .app-main .kpi, .app-main .grade-tabs a, .app-main .table-wrap, .app-main .faq details, .app-main .review-item, .app-main .topic, .app-main .cert-side { border-radius: 22px; }
.app-main .plan.featured { background: linear-gradient(160deg, #F2F7FF, #DCE8FF) !important; border-color: var(--blue-200) !important; }
.app-main .plan.pro { border-color: #FFC2CC; }
.app-main .grade-tabs a.on { background: var(--blue-grad) !important; color: #fff; border-color: transparent !important; }
.app-main .grade-tabs a.on span { color: rgba(255,255,255,.85); }
.app-main .verify { display: flex; gap: 10px; flex-wrap: wrap; }
.app-main .verify .search { flex: 1; min-width: 220px; }
.app-main .note { border-radius: 18px; }
.app-main .note b { color: var(--title); }
.app-main .cert-page { padding: 0; }

/* Ilova pastki qismi */
.app-foot { margin: 30px 0 0; padding: 18px 4px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; }
.app-foot p { margin: 8px auto 0; max-width: 56ch; }
.af-links { display: flex; justify-content: center; gap: 8px 18px; flex-wrap: wrap; }
.af-links a { display: inline-flex; gap: 6px; align-items: center; text-decoration: none; color: var(--ink-2); font-weight: 600; }

/* Test oynasi va admin: ko‘k + qizil urg‘u */
.timer.warn { background: var(--red-50); color: var(--red); }
.qgrid button.flg { box-shadow: inset 0 0 0 2px var(--red); }
.admin-side { background: #fff; }
.admin-side nav a.on { background: var(--blue-50); color: var(--blue); }
.kpi.alert { border-color: #FFB9C5; background: var(--red-50); }
.kpi.alert b { color: var(--red); }
.fcd-t { min-width: 0; }
.founder-card .fcd-t b { font-size: 1.08rem; flex-wrap: wrap; }
@media (max-width: 420px) { .founder-card { grid-template-columns: 64px 1fr; } .fcd-av { width: 64px; height: 64px; } .founder-card .pill-btn { grid-column: 1 / -1; } }
@media (max-width: 480px) {
  .feat-card { grid-template-columns: 56px 1fr; gap: 10px 14px; }
  .feat-card .fc-ic { width: 56px; height: 56px; }
  .feat-card .li-t b { font-size: 1.15rem; }
  .feat-card .pill-btn { grid-column: 1 / -1; justify-self: stretch; padding: 11px; }
  .feat-card .fc-meta { order: -1; grid-column: 1 / -1; display: none; }
}
.toast { bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important; z-index: 60; }
.app-main .result-counts div { background: var(--bg); border: 0; }

/* ---------- v5: logotip, kunlik bepul mock, tantanali natija ---------- */
.brand-mark { background: #fff !important; box-shadow: inset 0 0 0 1px var(--line) !important; overflow: hidden; padding: 3px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.exam-bar .brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; }
.admin-side .brand-mark { display: grid; place-items: center; }
.hello .hi-mark { width: 44px; height: 44px; flex: none; align-self: center; }
.hello .hi-mark img { width: 100%; height: 100%; object-fit: contain; }
button.hero-card { width: 100%; border: 0; text-align: left; font: inherit; cursor: pointer; }

/* Mashq: sariq belgi va katta sarlavhalar */
.y-badge { display: inline-block; background: #FFD43B; color: #1A1A1A; padding: 4px 12px; border-radius: 10px; box-shadow: 0 6px 14px -8px rgba(200,150,0,.8); line-height: 1.25; }
.tile.xl .li-t b { font-size: clamp(1.9rem, 6.4vw, 2.5rem); letter-spacing: -.02em; line-height: 1.1; }
.tile.xl .li-t small { font-size: 1rem; margin-top: 6px; }
.t-num { display: inline-block; background: rgba(255,255,255,.22); padding: 0 10px; border-radius: 12px; margin-right: 4px; }

.parts.two { grid-template-columns: 1fr 1fr; }

/* Tarif oynasi */
.up-modal { max-width: 560px; }
.up-head { text-align: center; }
.up-logo { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -14px rgba(20,50,110,.5); margin-bottom: 10px; }
.up-logo img { width: 52px; height: 52px; object-fit: contain; }
.up-head h3 { font-size: 1.4rem; font-weight: 700; color: var(--title); margin: 2px 0 8px; }
.up-head p { color: var(--ink-2); font-size: .95rem; }
.up-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 10px; }
.up-plan { display: flex; flex-direction: column; gap: 8px; text-align: left; padding: 16px; border-radius: 22px; background: #fff; border: 1.5px solid var(--line); font: inherit; cursor: pointer; transition: transform .15s, border-color .15s; }
.up-plan:hover { transform: translateY(-2px); border-color: var(--blue-200); }
.up-plan.comfort { background: linear-gradient(160deg, #F4F8FF, #E2ECFF); border-color: var(--blue-200); }
.up-plan.pro { background: linear-gradient(160deg, #FFF6F7, #FFE6EA); border-color: #FFC2CC; }
.up-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.up-top b { font-size: 1.2rem; color: var(--title); }
.up-top em { font-style: normal; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--blue); color: #fff; }
.up-top em.r { background: var(--red); }
.up-price { font-size: 1.5rem; font-weight: 700; color: var(--title); }
.up-price small { font-size: .8rem; font-weight: 600; color: var(--muted); }
.up-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: .84rem; color: var(--ink-2); flex: 1; }
.up-plan li { display: grid; grid-template-columns: 16px 1fr; gap: 6px; align-items: start; }
.up-plan li svg { color: var(--blue); margin-top: 3px; }
.up-plan .pill-btn.big { padding: 12px; font-size: .95rem; }
@media (max-width: 520px) { .up-plans { grid-template-columns: 1fr; } }

/* Tantanali natija */
.celebrate { position: relative; overflow: hidden; text-align: center; color: #fff; background: radial-gradient(500px 300px at 50% 0%, rgba(255,255,255,.28), transparent 65%), var(--blue-grad); border-radius: 32px; padding: 28px 20px 22px; margin: 14px 0; box-shadow: 0 30px 50px -26px rgba(21,87,214,.9); animation: celIn .6s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes celIn { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.cel-logo { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 22px; background: #fff; box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); margin-bottom: 12px; }
.cel-logo img { width: 60px; height: 60px; object-fit: contain; }
.celebrate .eb { color: rgba(255,255,255,.85); }
.celebrate h1 { color: #fff; font-size: clamp(1.9rem, 6.5vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; margin: 2px 0 8px; }
.cel-score { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.cel-score b { font-size: clamp(4.2rem, 18vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.cel-score span { font-size: 1.1rem; opacity: .85; }
.cel-grade { display: inline-block; margin: 10px 0 12px; padding: 7px 18px; border-radius: 999px; background: #fff; color: var(--blue-2); font-weight: 700; font-size: 1.05rem; }
.cel-grade.top { background: var(--red); color: #fff; }
.celebrate > p { color: rgba(255,255,255,.9); max-width: 46ch; margin: 0 auto 16px; }
.cel-cert { background: #fff; border-radius: 22px; padding: 14px; text-align: left; position: relative; z-index: 1; }
.cel-cert .eb { color: var(--blue); }
.cel-cert .cert-frame { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 24px -16px rgba(20,50,110,.6); margin: 4px 0 12px; }
.second-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 58px 1fr 44px; gap: 14px; align-items: center; width: 100%; padding: 18px; margin: 4px 0 14px; border: 0; border-radius: 26px; background: var(--red-grad); color: #fff; text-align: left; font: inherit; cursor: pointer; box-shadow: 0 20px 36px -20px rgba(229,25,59,.9); animation: pulse 2.4s ease-in-out 1.2s infinite; }
.second-cta .li-t b { color: #fff; font-size: 1.3rem; }
.second-cta .li-t small { color: rgba(255,255,255,.88); }
.sc-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.sc-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); }
.sc-go .chev { color: var(--red); }
@keyframes pulse { 0%, 100% { transform: none; } 50% { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .celebrate, .second-cta { animation: none; } }
.hello .hi-mark { background: #fff; border-radius: 12px; padding: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.ex-card { padding-top: 46px; }

/* v6: Mashq — barcha bo‘limlar bir xil katta formatda */
.tile.light { background: radial-gradient(380px 200px at 0% 0%, rgba(255,255,255,.7), transparent 60%), linear-gradient(135deg, #F6F9FF, #E2ECFF); border: 1.5px solid var(--blue-200); color: var(--title); }
.tile.light .t-ic, .tile.white .t-ic { background: var(--blue-grad); color: #fff; width: 66px; height: 66px; }
.tile.light .t-deco { color: var(--blue); opacity: .1; }
.tile.xl .y-badge { font-size: .78em; padding: 6px 14px; border-radius: 12px; }
.tile.white .li-t small { color: var(--muted); }

/* v6: umumiy reyting */
.lb-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; }
.lb-row.me { background: var(--blue-50); }
.rank { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--bg); color: var(--ink-2); }
.rank.r1 { background: var(--red-grad); color: #fff; box-shadow: 0 8px 16px -8px rgba(229,25,59,.8); }
.rank.r2 { background: var(--blue-grad); color: #fff; }
.rank.r3 { background: var(--blue-100); color: var(--blue-2); }
.lb-ball { display: flex; align-items: center; gap: 8px; }
.lb-ball b { font-size: 1.25rem; font-weight: 700; color: var(--title); font-variant-numeric: tabular-nums; }
.lb-ball small { color: var(--muted); }
.me-tag { font-style: normal; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--blue); color: #fff; vertical-align: middle; }
.lb-row .g-badge { width: 40px; height: 40px; border-radius: 12px; }
.pc-stats.dark div { color: var(--muted); }
.pc-stats.dark div + div { border-left-color: var(--line); }
.pc-stats.dark b { color: var(--title); }
.my-stats { padding: 16px 10px; }
.my-stats .pc-stats { margin: 0; }
@media (max-width: 420px) { .pc-stats b { font-size: 1.3rem; } .pc-stats div { font-size: .76rem; } }

/* ===== v7: Admin — tushum va natijalar ===== */
.adm-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.adm-hero.one { grid-template-columns: 1fr; }
.adm-money, .adm-res { position: relative; border-radius: 22px; padding: 22px 24px; display: grid; gap: 6px; text-decoration: none; color: #fff; overflow: hidden; min-width: 0; }
.adm-money { background: var(--blue-grad); box-shadow: 0 18px 34px -22px rgba(21,87,214,.9); }
.adm-res { background: var(--red-grad); box-shadow: 0 18px 34px -22px rgba(229,25,59,.9); }
.adm-money span, .adm-res span { font-size: .86rem; font-weight: 600; opacity: .85; }
.adm-money b, .adm-res b { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.adm-res b i { font-style: normal; font-size: .5em; opacity: .8; }
.adm-money small, .adm-res small { font-size: .85rem; opacity: .85; }
.adm-money em, .adm-res em { position: absolute; right: 20px; top: 20px; font-style: normal; font-size: .8rem; font-weight: 700; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 999px; }
.kpi small.up { color: #12925A; }
.kpi small.down { color: var(--red); }
.kpi small { color: var(--muted); font-weight: 600; }
.rv-plan { display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.rv-plan:last-child { border-bottom: 0; }
.rv-plan small { display: block; color: var(--muted); font-size: .8rem; }
.rv-plan .num { text-align: right; }
.rv-bar { height: 10px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.rv-bar i { display: block; height: 100%; border-radius: inherit; background: var(--blue-grad); }
.rv-plan.pro .rv-bar i { background: var(--red-grad); }
.rv-months { display: grid; gap: 10px; }
.rv-months > div { display: grid; grid-template-columns: 76px 1fr 72px; align-items: center; gap: 12px; font-size: .88rem; }
.rv-months > div span { color: var(--muted); font-weight: 600; }
.rv-months > div b { text-align: right; font-variant-numeric: tabular-nums; }
.adm-sel { padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: .88rem; }
.admin-t .rank { width: 30px; height: 30px; font-size: .82rem; }
.admin-t td .gchip { margin-left: 4px; }
@media (max-width: 700px) {
  .adm-hero { grid-template-columns: 1fr; }
  .rv-plan { grid-template-columns: 1fr auto; }
  .rv-plan .rv-bar { grid-column: 1 / -1; order: 3; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis.six { grid-template-columns: 1fr 1fr; }
}
.panel-h.wrap-h > .row-gap { display: flex; flex-wrap: nowrap; gap: 8px; align-items: center; flex: 1 1 420px; justify-content: flex-end; min-width: 0; }
.panel-h.wrap-h .search.sm { flex: 1 1 200px; min-width: 0; }
.panel-h.wrap-h .search input { padding-top: 9px; padding-bottom: 9px; }
@media (max-width: 700px) { .panel-h.wrap-h > .row-gap { flex-wrap: wrap; justify-content: flex-start; } }

/* ===== v8: O‘zlashtirish foizi, Konstitutsiya bo‘limlari va testlari ===== */
.ms-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 8px 18px 14px; margin-bottom: 18px; }
.ms-row { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "ic t p" "ic bar bar"; column-gap: 14px; row-gap: 8px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.ms-row:last-of-type { border-bottom: 0; }
.ms-ic { grid-area: ic; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--blue-grad); }
.ms-row.red .ms-ic { background: var(--red-grad); }
.ms-row.deep .ms-ic { background: linear-gradient(135deg, #2A7BFF, #1453CC); }
.ms-ic svg { width: 22px; height: 22px; }
.ms-row .li-t { grid-area: t; min-width: 0; }
.ms-row .li-t small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.ms-pct { grid-area: p; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--title); font-variant-numeric: tabular-nums; }
.ms-row.red .ms-pct { color: var(--red); }
.ms-row.blue .ms-pct, .ms-row.deep .ms-pct { color: var(--blue-2); }
.ms-row .ms-bar { grid-area: bar; }
.ms-bar { display: block; height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.ms-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--blue-grad); transition: width .4s; }
.ms-row.red .ms-bar i { background: var(--red-grad); }
.ms-bar.light { background: rgba(255,255,255,.25); }
.ms-bar.light i { background: #fff; }
.ms-note { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }

.learn-btn { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--blue); color: var(--blue-2); background: #fff; border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; font-size: .86rem; cursor: pointer; }
.learn-btn svg { width: 18px; height: 18px; }
.learn-btn.on { background: var(--blue); color: #fff; }
.topic .learn-btn { margin-top: 14px; }
.law .src { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.ch-prog { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25); display: grid; gap: 8px; }
.ch-prog > div { display: flex; justify-content: space-between; align-items: baseline; }
.ch-prog span { font-size: .85rem; opacity: .9; font-weight: 600; }
.ch-prog b { font-size: 1.8rem; letter-spacing: -0.03em; }
.ch-prog small { font-size: .78rem; opacity: .85; }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #fff; border: 1px solid var(--line); padding: 6px; border-radius: 20px; margin: 16px 0; position: sticky; top: 70px; z-index: 5; }
.seg3 a { text-decoration: none; color: var(--ink-2); text-align: center; padding: 10px 6px; border-radius: 15px; display: grid; gap: 2px; }
.seg3 a b { font-size: .92rem; }
.seg3 a small { font-size: .72rem; color: var(--muted); }
.seg3 a.on { background: var(--blue-grad); color: #fff; }
.seg3 a.on small { color: rgba(255,255,255,.85); }

details.kb { padding: 0; overflow: hidden; }
details.kb summary { list-style: none; display: grid; grid-template-columns: 40px 1fr 24px; gap: 14px; align-items: center; padding: 18px 20px; cursor: pointer; }
details.kb summary::-webkit-details-marker { display: none; }
details.kb summary small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.kb-n { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; background: var(--blue-50); color: var(--blue-2); }
.kb-ok { color: var(--line); }
.kb-ok svg { width: 24px; height: 24px; }
details.kb.done .kb-ok { color: var(--blue); }
details.kb.done .kb-n { background: var(--blue-grad); color: #fff; }
.kb-list { margin: 0; padding: 0 20px 0 74px; display: grid; gap: 9px; font-size: .92rem; line-height: 1.5; }
.kb-act { display: flex; gap: 10px; flex-wrap: wrap; padding: 16px 20px 20px 74px; }
@media (max-width: 520px) { .kb-list { padding-left: 38px; } .kb-act { padding-left: 20px; } }

.kq-lead { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-bottom: 18px; }
.kv-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 12px; text-decoration: none; color: inherit; display: grid; gap: 2px; text-align: center; }
.kv-card span { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kv-card b { font-size: 1.7rem; color: var(--title); letter-spacing: -0.03em; }
.kv-card em { font-style: normal; font-size: .78rem; font-weight: 700; color: var(--blue-2); }
.kv-card.done { border-color: var(--blue-100); background: var(--blue-50); }
.kv-card.good { background: var(--blue-grad); border-color: transparent; }
.kv-card.good span, .kv-card.good b, .kv-card.good em { color: #fff; }
.kq-best { color: var(--blue-2); margin-right: 6px; }

.kq-bar { position: sticky; top: 70px; z-index: 5; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 12px 10px 16px; margin-bottom: 14px; box-shadow: 0 10px 24px -18px rgba(20,50,110,.5); }
.kq-bar > span:first-child { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9rem; }
.kq-time { font-family: "IBM Plex Mono", monospace; font-weight: 600; color: var(--blue-2); }
.kq-time.low { color: var(--red); }
.kq h3 { font-size: 1.02rem; line-height: 1.45; margin: 6px 0 14px; }
.kq .tnum em { font-style: normal; margin-left: 6px; }
.kq.ok .tnum em { color: #12925A; } .kq.bad .tnum em { color: var(--red); } .kq.skip .tnum em { color: var(--muted); }
.kq-opts { display: grid; gap: 8px; }
.kq-o { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; text-align: left; width: 100%; background: var(--bg); border: 1.5px solid transparent; border-radius: 14px; padding: 11px 12px; font: inherit; font-size: .93rem; color: inherit; cursor: pointer; }
button.kq-o:hover:not(:disabled) { border-color: var(--blue-100); }
.kq-o span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: #fff; font-weight: 700; font-size: .85rem; color: var(--blue-2); }
.kq-o.sel { border-color: var(--blue); background: var(--blue-50); }
.kq-o.sel span { background: var(--blue); color: #fff; }
.kq-o.right { border-color: #12925A; background: #E7F7EF; }
.kq-o.right span { background: #12925A; color: #fff; }
.kq-o.wrong { border-color: var(--red); background: #FDECEF; }
.kq-o.wrong span { background: var(--red); color: #fff; }
.kq-o:disabled { cursor: default; color: inherit; opacity: 1; }
.kq-e { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: var(--blue-50); font-size: .88rem; line-height: 1.5; }
.kq-res { border-radius: 28px; padding: 26px 22px; color: #fff; display: grid; gap: 6px; text-align: center; background: var(--blue-grad); margin-bottom: 14px; }
.kq-res.low { background: var(--red-grad); }
.kq-res b { font-size: 3.4rem; letter-spacing: -0.04em; line-height: 1; }
.kq-res span { font-weight: 600; }
.kq-res small { opacity: .9; }
.kq-secs { display: grid; gap: 12px; }
.kq-secs a { display: grid; grid-template-columns: 1fr 90px 44px; gap: 12px; align-items: center; text-decoration: none; color: inherit; font-size: .86rem; }
.kq-secs a b { text-align: right; font-variant-numeric: tabular-nums; }
.kq-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 18px; }
@media (max-width: 520px) { .kq-secs a { grid-template-columns: 1fr 60px 40px; } .kq-bar { gap: 8px; padding-left: 12px; } }

/* ===== v9: 35 ta qonunchilik hujjati ===== */
.const-hero.law-hero { background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.2), transparent 60%), linear-gradient(135deg, #2A7BFF, #1453CC); }
.const-hero.red-hero { background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.2), transparent 60%), var(--red-grad); }
.law-hero .ch-num { grid-template-columns: repeat(4, 1fr); }
.const-hero .ch-num div { min-width: 0; }
.seg3.two { grid-template-columns: 1fr 1fr; }
.row-card + .seg3 { margin-top: 12px; }
.law-docs .li { align-items: center; }
.law-docs .li-t .ms-bar { margin-top: 8px; height: 6px; }
.law-docs .kb-n { flex-shrink: 0; font-size: .9rem; }
.law-docs .kb-n.on { background: var(--blue-grad); color: #fff; }
.law-docs .kq-best { font-variant-numeric: tabular-nums; min-width: 42px; text-align: right; }
.law-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.law-tools .search { flex: 1 1 240px; min-width: 0; }
.law-intro p, .art-b p { margin: 0 0 8px; font-size: .92rem; line-height: 1.6; }
.art-g { margin: 18px 4px 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-2); }
details.art { padding: 0; margin-bottom: 8px; border-radius: 18px; }
details.art summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; padding: 14px 16px; }
details.art summary::-webkit-details-marker { display: none; }
details.art summary b { font-size: .95rem; line-height: 1.4; font-weight: 600; }
details.art[open] summary b { color: var(--blue-2); }
.art-n { font-size: .74rem; font-weight: 700; color: var(--blue-2); background: var(--blue-50); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.art-b { padding: 0 16px 14px; border-top: 1px dashed var(--line); padding-top: 12px; margin: 0 16px; padding-left: 0; padding-right: 0; }
@media (max-width: 520px) { .law-hero .ch-num b { font-size: 1.6rem; } .law-hero .ch-num { font-size: .78rem; } }
.law-docs .li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 18px; gap: 12px; align-items: center; }
.law-docs .li > svg { width: 18px; height: 18px; color: var(--muted); }
.law-docs .li-t b { display: block; }

/* ===== v10: Asosiy — lex.uz qidiruv va yangiliklar ===== */
.lex-search { display: grid; gap: 12px; }
.lex-h { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; text-decoration: none; color: inherit; }
.lex-h .li-t b { font-size: 1.05rem; }
.lex-h .li-t small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.lex-h > svg { width: 18px; height: 18px; color: var(--muted); }
.lex-h .ch-ic svg { width: 20px; height: 20px; }
.lex-row { display: flex; gap: 8px; }
.lex-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; font: inherit; background: var(--bg); outline: none; }
.lex-row input:focus { border-color: var(--blue); background: #fff; }
.lex-news .row-link > svg:last-child { width: 16px; height: 16px; color: var(--muted); }

/* ===== v11: OTM suratlari ===== */
.goal-card .goal-art.has-photo { aspect-ratio: 16 / 10; padding: 0; }
.goal-card .goal-art.has-photo .bld { display: none; }
.goal-card .goal-art.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,87,214,0) 55%, rgba(14,27,51,.55)); pointer-events: none; }
.goal-art .ga-tag { display: none; }
.goal-art.has-photo .ga-tag { display: inline-block; position: absolute; left: 14px; bottom: 12px; z-index: 1; background: var(--red-grad); color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px; box-shadow: 0 8px 18px -10px rgba(229,25,59,.9); }

/* ===== v12: daraja, darvozalar ===== */
.daraja .li-t small + b + small, .daraja .li-t b + small { display: block; color: var(--muted); font-size: .8rem; margin-top: 4px; font-weight: 500; }
.dr-ring.none { border-color: var(--line); color: var(--muted); }
.gate.locked { opacity: .55; filter: grayscale(.4); }
.gate .lock-i, .pill-btn.gate svg { width: 13px; height: 13px; }
.pill-btn.gate:not(.locked) svg { display: none; }
.kv-card.gate.locked em::before { content: "🔒 "; }
.li.gate.locked .li-t small::after { content: " · 🔒 avval bo‘limni o‘rganing"; }
.gate-note { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; background: #FFF4F6; border: 1px solid #FFD0D9; color: var(--title); border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; font-size: .9rem; }
.gate-note > svg { width: 18px; height: 18px; color: var(--red); }
.gate-note .learn-btn { grid-column: 1 / -1; justify-self: start; }
.kb-all { display: grid; gap: 8px; margin-bottom: 14px; }
.kb-all small { color: var(--muted); font-size: .82rem; }
.learn-btn.big { padding: 12px 20px; font-size: .95rem; }

/* ===== v13: hujjat qo‘llanmasi ===== */
.law-guide { border: 1.5px solid var(--blue-100); background: linear-gradient(180deg, #F6F9FF, #fff); }
.lg-h { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; margin-bottom: 8px; }
.lg-h h3 { margin: 2px 0 0; font-size: 1.1rem; }
.lg-about { color: var(--muted); font-size: .9rem; margin: 6px 0 10px; }
.lg-list { margin: 0; padding-left: 22px; display: grid; gap: 9px; font-size: .93rem; line-height: 1.55; }
.lg-list li::marker { color: var(--blue); font-weight: 700; }
.lg-src { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 700; font-size: .86rem; color: var(--blue-2); text-decoration: none; }

/* ===== v14: xatolar, mavzular xaritasi, admin tahlillari ===== */
.mist-hero { background: var(--red-grad); color: #fff; border-radius: 24px; padding: 20px 22px; display: grid; gap: 2px; margin-bottom: 14px; }
.mist-hero b { font-size: 2.6rem; letter-spacing: -0.03em; line-height: 1; }
.mist-hero small { opacity: .85; }
.mist-chips { margin-bottom: 14px; }
.mq .tnum a { margin-left: 8px; font-size: .78rem; color: var(--blue-2); }
.mq.ok { border-color: #12925A; } .mq.bad { border-color: var(--red); }
.mq-open { display: flex; gap: 8px; flex-wrap: wrap; }
.mq-open input { flex: 1 1 200px; min-width: 0; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }
.mq-ans { flex-basis: 100%; color: var(--red); }
.mist-card { display: grid; grid-template-columns: 44px 1fr 18px; gap: 12px; align-items: center; background: #FFF4F6; border: 1.5px solid #FFD0D9; border-radius: 22px; padding: 14px 16px; text-decoration: none; color: inherit; margin-bottom: 18px; }
.mist-card .ms-ic { background: var(--red-grad); }
.mist-card small { display: block; color: var(--muted); font-size: .82rem; }
.mist-card.zero { background: #fff; border-color: var(--line); }
.tmap .tm-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); text-decoration: none; color: inherit; font-size: .9rem; }
.tmap .tm-row small { display: block; color: var(--muted); font-size: .74rem; }
.tmap .tm-row b { text-align: right; }
.tm-row.low .ms-bar i { background: var(--red-grad); } .tm-row.low b { color: var(--red); }
.tm-row.mid .ms-bar i { background: linear-gradient(90deg, #F5A524, #E08A00); } .tm-row.mid b { color: #C27400; }
.tm-row.hi b { color: #12925A; }
.qs-list { display: grid; }
.qs-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.qs-row small { display: block; color: var(--muted); }
.qs-rate { text-align: center; padding: 4px 6px; border-radius: 10px; background: var(--blue-50); color: var(--blue-2); }
.qs-rate.mid { background: #FFF3DC; color: #C27400; } .qs-rate.hi { background: #FDECEF; color: var(--red); }

/* ===== v15: 6 ta tab + O‘rganish sahifasi ===== */
.tabbar-in { grid-template-columns: repeat(6, 1fr); gap: 0; padding: 5px; }
.tabbar a { font-size: .66rem; padding: 8px 0 7px; letter-spacing: -.01em; white-space: nowrap; }
.tabbar a svg { width: 21px; height: 21px; }
@media (max-width: 360px) { .tabbar a { font-size: .6rem; } .tabbar { padding-left: 8px; padding-right: 8px; } }
.vid-empty { background: linear-gradient(160deg, #fff, #EEF4FF); border: 1.5px solid var(--blue-100); border-radius: 26px; padding: 26px 20px; text-align: center; margin-bottom: 14px; display: grid; justify-items: center; gap: 10px; }
.vid-empty .ve-ic { width: 58px; height: 58px; border-radius: 50%; background: var(--blue-grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(30,90,220,.6); }
.vid-empty .ve-ic svg { width: 22px; height: 22px; margin-left: 3px; }
.vid-empty b { font-size: 1.15rem; }
.vid-empty p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 420px; }
.ve-cats { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 2px 0 6px; }
.ve-cats span { font-size: .75rem; font-weight: 600; padding: 5px 11px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.vid-player { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; background: #000; margin-bottom: 10px; }
.vid-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-now { margin-bottom: 8px; } .vid-now p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.vid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.vid-card { text-decoration: none; color: inherit; display: grid; gap: 6px; font-size: .86rem; }
.vid-card.on b { color: var(--blue); }
.vc-th { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: var(--blue-50); }
.vc-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-th i { position: absolute; inset: 0; margin: auto; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; }
.vc-th em { position: absolute; right: 6px; bottom: 6px; font-style: normal; font-size: .7rem; background: rgba(0,0,0,.7); color: #fff; padding: 2px 6px; border-radius: 6px; }
.lib-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.lib-book { text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px; display: grid; gap: 4px; }
.lib-book b { font-size: .9rem; line-height: 1.2; margin-top: 6px; }
.lib-book small { color: var(--muted); font-size: .74rem; }
.lb-cover { aspect-ratio: 4/3; border-radius: 6px 14px 14px 6px; background: linear-gradient(150deg, #2F6BFF, #0B2C7A); color: #fff; display: grid; align-content: center; justify-items: center; position: relative; overflow: hidden; }
.lib-book:nth-child(even) .lb-cover { background: linear-gradient(150deg, #FF5A5F, #A3121C); }
.lb-cover::before { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.45); }
.lb-top { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.lb-grade { font-family: var(--serif); font-size: 2.6rem; line-height: 1; font-weight: 600; }
.lb-sub { font-size: .7rem; opacity: .85; }
.lb-bar { height: 5px; border-radius: 4px; background: var(--blue-50); overflow: hidden; margin-top: 4px; }
.lb-bar i { display: block; height: 100%; background: var(--blue-grad); }

/* ===== v16: «Xatolar ustida ishlash» kartasi ===== */
.mist-card { grid-template-columns: 48px minmax(0, 1fr) 20px; grid-template-areas: none; gap: 14px; padding: 16px 18px; }
.mist-card .ms-ic { grid-area: auto; grid-column: 1; grid-row: 1; width: 48px; height: 48px; }
.mist-card .li-t { grid-column: 2; grid-row: 1; min-width: 0; display: block; }
.mist-card .li-t b { display: block; font-size: 1.02rem; line-height: 1.25; }
.mist-card .li-t small { margin-top: 3px; line-height: 1.35; }
.mist-card > svg:last-child { grid-column: 3; grid-row: 1; color: var(--muted); justify-self: end; }
.mist-card:hover { border-color: #FFB3C2; }

/* ===== v17: aprobatsiya formatidagi savollar ===== */
ol.qst { margin: 12px 0 4px; padding-left: 0; list-style: none; counter-reset: qst; display: grid; gap: 8px; }
ol.qst li { counter-increment: qst; position: relative; padding: 10px 12px 10px 40px; background: var(--blue-50, #F2F6FF); border: 1px solid var(--line); border-radius: 12px; font-size: .95em; line-height: 1.5; }
ol.qst li::before { content: counter(qst); position: absolute; left: 10px; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--blue-100, #D6E4FF); color: var(--blue); font-weight: 700; font-size: .78rem; display: grid; place-items: center; }
.q-opts-line { margin-top: 8px; font-weight: 600; color: var(--ink-2); }
.q-text u, .rq u, .kq h3 u { text-decoration: none; display: inline-block; min-width: 64px; border-bottom: 2px solid var(--blue); margin: 0 2px; }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .tpl-grid { grid-template-columns: 1fr; } }
.tpl-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .92rem; }
.tpl-table th, .tpl-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.tpl-table th:last-child, .tpl-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tpl-table th { font-weight: 700; color: var(--ink); background: var(--blue-50, #F2F6FF); }
.tpl-table tr.sum td { font-weight: 700; border-bottom: 0; }
.lvl-chip { display: inline-block; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: var(--blue-50, #F2F6FF); color: var(--blue); margin-left: 6px; }
.lvl-chip.l3 { background: #FFF4E5; color: #B25E00; } .lvl-chip.l4 { background: #FFECEF; color: #C21D35; }

/* ===== v18: Asosiy — «Platforma sizga qanday yordam bera oladi» va ko‘k izoh ===== */
.help-card { position: relative; overflow: hidden; color: #fff; background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.2), transparent 60%), var(--red-grad); border-radius: 30px; padding: 22px 18px 18px; margin-bottom: 14px; box-shadow: 0 22px 40px -22px rgba(229,25,59,.85); }
.help-card .hp-eb { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }
.help-card h2 { color: #fff; font-size: clamp(1.35rem, 4.4vw, 1.7rem); line-height: 1.2; margin: 8px 0 6px; max-width: 24ch; position: relative; z-index: 1; }
.help-card h2 span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.55); }
.help-card .hp-lead { color: rgba(255,255,255,.88); margin: 0 0 14px; font-size: .95rem; position: relative; z-index: 1; }
.hp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; z-index: 1; }
@media (max-width: 420px) { .hp-grid { grid-template-columns: 1fr; } }
.hp-item { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; transition: background .15s; }
.hp-item:hover { background: rgba(255,255,255,.22); }
.hp-ic { width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--red); display: grid; place-items: center; }
.hp-ic svg { width: 20px; height: 20px; }
.hp-item .li-t { display: block; min-width: 0; }
.hp-item b { display: block; font-size: .92rem; line-height: 1.2; color: #fff; }
.hp-item small { display: block; font-size: .76rem; line-height: 1.3; color: rgba(255,255,255,.82); margin-top: 2px; }
.hp-deco { position: absolute; right: -26px; top: -20px; opacity: .1; pointer-events: none; }
.hp-deco svg { width: 170px; height: 170px; }
.info-blue { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; background: linear-gradient(135deg, #EEF4FF, #E0EBFF); border: 1px solid var(--blue-100, #D6E4FF); border-radius: 18px; padding: 12px 14px; margin: 4px 0 10px; }
.info-blue .ib-ic { width: 34px; height: 34px; border-radius: 11px; background: var(--blue-grad); color: #fff; display: grid; place-items: center; }
.info-blue .ib-ic svg { width: 18px; height: 18px; }
.info-blue p { margin: 0; font-size: .88rem; line-height: 1.5; color: #1F3B73; }
.info-blue b { color: var(--blue); }

/* ===== v19: imkoniyatlar kartasi — oq fon, faqat sarlavha qizil ===== */
.help-card { color: inherit; background: #fff; box-shadow: none; padding: 20px 18px 18px; border-radius: 26px; }
.help-card .hp-title { color: #fff; background: var(--red-grad); font-size: clamp(1.15rem, 4vw, 1.4rem); line-height: 1.25; margin: 0 0 12px; padding: 14px 16px; border-radius: 18px; max-width: none; box-shadow: 0 14px 28px -18px rgba(229,25,59,.9); }
.help-card .hp-lead { color: var(--ink-2); margin: 0 0 14px; }
.help-card .hp-lead b { color: var(--ink); }
.hp-item { background: #F7F9FD; border: 1px solid var(--line); color: inherit; }
.hp-item:hover { background: #FFF4F6; border-color: #FFD0D9; }
.hp-ic { background: var(--red-grad); color: #fff; }
.hp-item b { color: var(--ink); }
.hp-item small { color: var(--muted); }

/* ===== v20: imkoniyatlar kartasi — ko‘k «Keyingi qadam» kartasi kabi, lekin qizil ===== */
.help-card.hero-red { position: relative; overflow: hidden; color: #fff; background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.22), transparent 60%), var(--red-grad); border: 0; border-radius: 30px; padding: 24px 22px 22px; margin-bottom: 14px; box-shadow: 0 26px 44px -24px rgba(229,25,59,.8); }
.help-card.hero-red .hc-eb { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; position: relative; z-index: 1; }
.help-card.hero-red .hp-title { color: #fff; background: none; box-shadow: none; padding: 0; border-radius: 0; font-size: clamp(1.5rem, 4.8vw, 1.95rem); line-height: 1.15; margin: 8px 0 6px; max-width: 20ch; position: relative; z-index: 1; }
.help-card.hero-red .hp-lead { color: rgba(255,255,255,.88); margin: 0 0 18px; position: relative; z-index: 1; }
.help-card.hero-red .hp-lead b { color: #fff; }
.help-card.hero-red .hp-item { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); }
.help-card.hero-red .hp-item:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.35); }
.help-card.hero-red .hp-ic { background: #fff; color: var(--red); }
.help-card.hero-red .hp-item b { color: #fff; }
.help-card.hero-red .hp-item small { color: rgba(255,255,255,.82); }
.help-card.hero-red .hc-deco { position: absolute; right: -22px; top: -26px; bottom: auto; opacity: .14; pointer-events: none; }
.help-card.hero-red .hc-deco svg { width: 190px; height: 190px; }

/* ===== v21: tariflar jadvali (taqqoslash) va to‘lov sahifasi ===== */
.ptable-wrap { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 8px; }
.ptable { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .9rem; }
.ptable th, .ptable td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ptable tfoot td { border-bottom: 0; padding: 16px 6px; }
.ptable .pt-feat { width: 40%; text-align: left; padding-left: 16px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.ptable thead .pt-feat { vertical-align: bottom; color: var(--muted); font-weight: 600; font-size: .82rem; }
.ptable .pt-col { text-align: center; }
.ptable .pt-col.hot { background: #0E1B3D; color: #fff; border-bottom-color: rgba(255,255,255,.08); }
.ptable thead .pt-col { position: relative; padding-top: 26px; vertical-align: top; }
.pt-tag { position: absolute; left: 0; right: 0; top: 0; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 700; padding: 3px 0; letter-spacing: .02em; }
.pt-name { display: block; font-weight: 700; color: var(--blue); font-size: .95rem; }
.pt-col.hot .pt-name { color: #9DBBFF; }
.pt-col.pro .pt-name { color: var(--ink); }
.pt-price { display: block; font-weight: 800; font-size: 1.15rem; margin-top: 4px; color: var(--ink); white-space: nowrap; }
.pt-col.hot .pt-price { color: #fff; }
.pt-per { display: block; font-size: .7rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.pt-col.hot .pt-per { color: rgba(255,255,255,.7); }
.pt-yes { display: inline-grid; place-items: center; color: var(--blue); }
.pt-yes svg { width: 18px; height: 18px; }
.pt-col.hot .pt-yes { color: #9DBBFF; }
.pt-col small { display: block; font-size: .7rem; font-weight: 700; margin-top: 2px; color: var(--ink-2); line-height: 1.2; }
.pt-col.hot small { color: #fff; }
.pt-no { color: var(--muted); }
.pt-btn { display: inline-block; width: 100%; max-width: 110px; padding: 10px 4px; border-radius: 12px; font-weight: 700; font-size: .85rem; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; background: var(--blue); color: #fff; }
.pt-btn.ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.pt-btn.pro { background: #0E1B3D; color: #fff; }
.pt-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 16px 0 6px; color: var(--ink-2); font-size: .85rem; font-weight: 500; }
.pt-trust span { display: inline-flex; align-items: center; gap: 6px; }
.pt-trust svg { width: 17px; height: 17px; color: var(--blue); }
.pt-note { text-align: center; color: var(--muted); font-size: .8rem; margin: 0 0 8px; }
@media (max-width: 400px) { .ptable { font-size: .8rem; } .ptable .pt-feat { width: 36%; padding-left: 12px; } .pt-price { font-size: 1rem; } }
.co-sum { position: relative; overflow: hidden; color: #fff; background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.18), transparent 60%), var(--blue-grad); border-radius: 28px; padding: 22px 20px; margin: 4px 0 14px; box-shadow: 0 22px 40px -24px rgba(21,87,214,.8); }
.co-sum.pro { background: radial-gradient(420px 240px at 0% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(135deg, #1A2A55, #0E1B3D); }
.co-eb { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.co-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin: 6px 0 12px; }
.co-row h2 { color: #fff; margin: 0; font-size: 1.9rem; }
.co-price { text-align: right; } .co-price b { display: block; font-size: 1.6rem; line-height: 1; } .co-price span { font-size: .78rem; opacity: .8; }
.co-sum ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.co-sum li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; } .co-sum li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.co-until { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border-radius: 14px; padding: 10px 12px; font-size: .88rem; }
.co-until svg { width: 18px; height: 18px; }
.co-form .co-h { margin: 0 0 10px; font-size: 1.05rem; }
.co-m { display: grid; grid-template-columns: 52px 1fr 22px; gap: 12px; align-items: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 18px; margin-bottom: 8px; cursor: pointer; }
.co-m input { position: absolute; opacity: 0; pointer-events: none; }
.co-m:has(input:checked) { border-color: var(--blue); background: #F4F8FF; }
.co-m.off { opacity: .55; cursor: not-allowed; }
.co-logo { width: 52px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; }
.co-logo.click { background: #00AEEF; color: #fff; font-size: .95rem; letter-spacing: -.02em; }
.co-logo.card { background: #EEF4FF; color: var(--blue); } .co-logo.card svg { width: 22px; height: 22px; }
.co-m b { display: block; } .co-m small { color: var(--muted); font-size: .8rem; }
.co-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.co-m:has(input:checked) .co-radio { border: 6px solid var(--blue); }
.co-card { background: #F7F9FD; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin: 4px 0 10px; display: grid; gap: 12px; }
.co-step { display: flex; gap: 10px; align-items: flex-start; }
.co-step > span { width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .78rem; display: grid; place-items: center; flex: none; }
.co-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding: 12px 2px 4px; margin-top: 6px; }
.co-total b { font-size: 1.25rem; }
.co-pay { width: 100%; justify-content: center; margin-top: 8px; }
.co-fine { text-align: center; color: var(--muted); font-size: .8rem; margin: 10px 0 0; }
.co-res { text-align: center; display: grid; justify-items: center; gap: 4px; }
.co-res .cr-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #EEF4FF; color: var(--blue); }
.co-res.ok .cr-ic { background: #E8F8EE; color: #14995B; } .co-res.bad .cr-ic { background: #FFECEF; color: var(--red); }
.co-res .cr-ic svg { width: 30px; height: 30px; }
.co-res .co-total { width: 100%; }
.co-card .card-num .num { font-size: 1rem; white-space: nowrap; letter-spacing: .02em; }

/* ===== v22: pastki menyu yozuvlari kattaroq ===== */
.tabbar-in { padding: 5px 4px; }
.tabbar a { font-size: .74rem; font-weight: 600; letter-spacing: -.015em; padding: 8px 0 7px; }
@media (max-width: 380px) { .tabbar a { font-size: .7rem; letter-spacing: -.025em; } }
@media (max-width: 340px) { .tabbar a { font-size: .64rem; } }

/* ===== v23: imtihongacha qolgan kunlar va profil maqsad foizi ===== */
.cd-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cd-head h2 { margin: 0; line-height: 1.2; }
.cd-num { flex: none; min-width: 52px; height: 52px; padding: 0 8px; border-radius: 16px; background: var(--red-grad); color: #fff; font-weight: 800; font-size: 1.45rem; display: grid; place-items: center; box-shadow: 0 10px 22px -12px rgba(229,25,59,.8); font-variant-numeric: tabular-nums; }
.cd-sub { margin: 2px 0 8px; color: var(--muted); font-size: .9rem; }
.goal-pct .gp-top { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.gp-ring { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--blue) calc(var(--p) * 1%), #E6EEFF 0); position: relative; }
.gp-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.gp-ring b { position: relative; font-size: 1.25rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.goal-pct .li-t { display: grid; gap: 2px; min-width: 0; }
.goal-pct .li-t > b { font-size: 1.05rem; }
.goal-pct .li-t small { color: var(--muted); font-size: .82rem; }
.goal-pct .li-t small b { color: var(--ink); }
.gp-bar { height: 8px; border-radius: 6px; background: #E6EEFF; overflow: hidden; margin: 14px 0 12px; }
.gp-bar i { display: block; height: 100%; background: var(--blue-grad); border-radius: 6px; }
.gp-pick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.gp-pick button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 5px 12px; font-weight: 700; font-family: inherit; color: var(--ink-2); cursor: pointer; }
.gp-pick button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.goal-pct .li-t small b { display: inline; font-size: inherit; }
