/* =====================================================================
   ISHTOPAR.UZ — dizayn tizimi (oq · qora · yashil)
   Ranglar: fon #FFFFFF, sahifa foni #F8F9FA, matn #171717,
   aksent #20B86A, ikkinchi darajali matn #737373, chegara #EAEAEA
   ===================================================================== */
:root {
  /* asosiy tokenlar — yagona dizayn tizimi */
  --white: #ffffff;
  --page: #ffffff;          /* Fon */
  --soft: #f8faf9;          /* juda och fon (bo'limlar) */
  --black: #101828;         /* Asosiy matn */
  --gray: #667085;          /* Ikkinchi darajali matn */
  --gray-2: #98a2b3;
  --line: #e4e7ec;          /* Chegaralar */
  --line-2: #d0d5dd;
  --green: #078348;         /* Asosiy yashil */
  --green-600: #066d3c;     /* hover */
  --bright: #00a94f;        /* Yorqin yashil */
  --green-50: #eff9f3;      /* Ochiq yashil */
  --green-100: #cdebd9;
  --dark: #0b1f17;          /* to'q qora-yashil karta foni */
  --star: #f5b301;
  --red: #d92d20;
  --red-50: #fef3f2;
  --amber: #b54708;
  --amber-50: #fffaeb;
  --info-50: #eff8ff;

  /* eski nomlar (komponentlar uchun) */
  --bg: var(--page);
  --bg-2: #f3f4f5;
  --bg-3: #ececec;
  --card: var(--white);
  --text: var(--black);
  --text-2: var(--gray);
  --text-3: var(--gray-2);
  --inv: var(--black);
  --inv-text: var(--white);
  --ok: var(--green-600);
  --warn: var(--amber);
  --err: var(--red);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(23,23,23,.04), 0 4px 16px -8px rgba(23,23,23,.08);
  --font: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: var(--font);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tabbar-h: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--page); color: var(--black); font-family: var(--font); }
body { font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; overscroll-behavior-y: none; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }

#app { max-width: 560px; margin: 0 auto; min-height: 100vh; padding: 0 16px calc(100px + var(--safe-b)); }
body.has-tabbar #app { padding-bottom: calc(var(--tabbar-h) + 100px + var(--safe-b)); }
.page { animation: in .2s ease; }
@keyframes in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ boot / logo */
.boot { min-height: 100vh; display: grid; place-content: center; gap: 22px; justify-items: center; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--black); }
.logo img { height: 30px; width: auto; }
.logo-text { font-weight: 800; letter-spacing: -.03em; font-size: 19px; }
.boot-logo { font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.boot-logo span, .logo-text span { color: var(--gray); font-weight: 700; }
.spinner { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ topbar */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 90%, transparent); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 -16px; padding: 12px 16px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: none; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; position: relative; color: var(--black); }
.icon-btn:active { transform: scale(.96); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-weight: 800; overflow: hidden; cursor: pointer; font-size: 15px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.dot-badge { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); border: 2px solid var(--white); }
.test-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--amber); background: var(--amber-50);
  border: 1px solid #f1dfb6; padding: 4px 8px; border-radius: 8px; }
.theme-toggle { display: none; }

.page-head { display: flex; align-items: center; gap: 10px; padding: 12px 0 2px; }
.back-btn { height: 44px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; font-weight: 700; }
.page-head .spacer { flex: 1; }
.step-pill { font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }

/* ------------------------------------------------------------ typography */
h1, .h1 { font-size: 26px; line-height: 1.15; letter-spacing: -.025em; margin: 14px 0 6px; font-weight: 800; }
h2, .h2 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; margin: 0; font-weight: 800; }
h3 { font-size: 16px; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.muted { color: var(--gray); }
.faint { color: var(--gray-2); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.green { color: var(--green-600); }
.label-caps { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); margin: 26px 2px 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 2px 12px; }
.section-head h2 { font-size: 19px; }
.section-head a { color: var(--green-600); font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer; }
.hello { color: var(--gray); font-weight: 600; margin-top: 8px; }
.hero-title { font-size: 28px; line-height: 1.12; letter-spacing: -.03em; margin: 4px 0 16px; font-weight: 800; }
.hero-title em { font-style: normal; color: var(--green); }

/* ------------------------------------------------------------ cards */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card + .card { margin-top: 12px; }
.card.flat { box-shadow: none; }
.card.inverse { background: var(--black); color: var(--white); border-color: var(--black); }
.card.inverse .muted, .card.inverse .faint { color: rgba(255,255,255,.62); }
.card.accent { background: var(--green-50); border-color: var(--green-100); box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--black); white-space: nowrap; }
.chip.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.chip.green, .chip.ok { color: var(--green-600); border-color: var(--green-100); background: var(--green-50); }
.chip.err { color: var(--red); border-color: #f6d0d0; background: var(--red-50); }
.chip.warn { color: var(--amber); border-color: #f1dfb6; background: var(--amber-50); }
.card.inverse .chip { background: transparent; border-color: rgba(255,255,255,.25); color: var(--white); }
.icon-box { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--page); border: 1px solid var(--line); color: var(--black); }
.icon-box.green { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.card.inverse .icon-box { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--white); }
.row { display: flex; align-items: center; gap: 12px; }
.row.between { justify-content: space-between; }
.row.top { align-items: flex-start; }
.grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px !important; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-2 > .card + .card, .stack > .card + .card { margin-top: 0; }
.tile { cursor: pointer; padding: 16px; min-height: 118px; display: flex; flex-direction: column; justify-content: flex-start; gap: 12px; }
.tile:active, .list-item:active, .vac-card:active, .choice:active { transform: scale(.985); }
.tile.disabled { opacity: .55; }
.tile h3 { font-size: 15px; }

/* ------------------------------------------------------------ bosh sahifa */
.search-hero { display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 16px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; color: var(--gray); }
.search-hero span { flex: 1; font-weight: 600; }
.search-hero .go { height: 40px; padding: 0 14px; border-radius: 12px; background: var(--green); color: var(--white); display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.choice { cursor: pointer; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; position: relative; }
.choice b { font-size: 16px; letter-spacing: -.01em; display: block; }
.choice .s { font-size: 13px; color: var(--gray); margin-top: 2px; }
.choice .cta { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 14px; color: var(--green-600); }
.choice.primary { background: var(--black); color: var(--white); border-color: var(--black); }
.choice.primary .s { color: rgba(255,255,255,.6); }
.choice.primary .cta { color: #5ee09c; }
.choice.primary .icon-box { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--white); }
.free-tag { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--green-600); background: var(--green-50); border: 1px solid var(--green-100); padding: 3px 7px; border-radius: 999px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.stats div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.stats b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 12px; color: var(--gray); font-weight: 600; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: none; }
.quick .icon-box { width: 56px; height: 56px; border-radius: 16px; background: var(--white); }
.quick a.off { opacity: .45; }
/* eski komponentlar (qayta ishlatiladi) */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.stat-strip div { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.08); }
.stat-strip b { display: block; font-size: 17px; font-weight: 800; }
.stat-strip span { font-size: 11px; opacity: .7; font-weight: 700; }

/* ------------------------------------------------------------ list menu */
.list { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; cursor: pointer; text-decoration: none; min-height: 60px; }
.list-item + .list-item { border-top: 1px solid var(--line); }
.list-item .icon-box { width: 40px; height: 40px; border-radius: 12px; }
.list-item .t { font-weight: 700; }
.list-item .s { font-size: 13px; color: var(--gray); }
.list-item .chev { color: var(--gray-2); }
.counter { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

/* ------------------------------------------------------------ vakansiya kartasi */
.vac-card { display: block; text-decoration: none; cursor: pointer; padding: 16px; }
.vac-card .vac-top { display: flex; gap: 12px; align-items: flex-start; }
.vac-card .co-logo { width: 44px; height: 44px; border-radius: 12px; background: var(--page); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.vac-card .title { font-weight: 800; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; }
.vac-card .company { color: var(--gray); font-size: 13px; font-weight: 600; margin-top: 2px; }
.vac-card .salary { font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin: 14px 0 12px; color: var(--black); }
.vac-card .salary.neg { color: var(--gray); font-size: 16px; }
.vac-info { display: grid; gap: 8px; }
.vac-info div { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3d3d3d; min-width: 0; }
.vac-info svg { color: var(--gray-2); }
.vac-info span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vac-card .foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.vac-card .more { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--white); color: var(--black); font-weight: 800; font-size: 13px; }
.hot { display: inline-flex; font-size: 10px; font-weight: 800; letter-spacing: .08em; background: var(--green); color: var(--white); padding: 3px 7px; border-radius: 6px; margin-right: 6px; vertical-align: 2px; }
.search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; background: var(--white); height: 52px; color: var(--gray); }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.search input { border: 0; outline: 0; background: transparent; flex: 1; font-size: 15px; height: 100%; color: var(--black); }
.filter-row { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-row .chip { cursor: pointer; padding: 9px 13px; font-size: 13px; }
.filter-row .chip.on { background: var(--green-50); color: var(--green-600); border-color: var(--green); }

/* ------------------------------------------------------------ kalendar */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { border: 1px solid var(--line); border-radius: 14px; padding: 8px 0 7px; text-align: center; background: var(--white); cursor: pointer; position: relative; user-select: none; }
.day .w { font-size: 11px; font-weight: 700; color: var(--gray); }
.day .d { font-size: 18px; font-weight: 800; line-height: 1.3; }
.day .st { width: 6px; height: 6px; border-radius: 50%; margin: 2px auto 0; }
.day.free .st { background: var(--green); }
.day.partial .st { background: #f0b429; }
.day.full { background: var(--page); color: var(--gray-2); }
.day.full .st { background: var(--gray-2); width: 10px; height: 2px; border-radius: 1px; }
.day.on { border-color: var(--green); background: var(--green-50); box-shadow: 0 0 0 1px var(--green) inset; }
.day.picked::after { content: ""; position: absolute; top: -5px; right: -5px; width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 2px solid var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); background-size: 10px; background-repeat: no-repeat; background-position: center; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: var(--gray); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.legend i.free { background: var(--green); }
.legend i.partial { background: #f0b429; }
.legend i.full { background: var(--gray-2); border-radius: 2px; height: 3px; width: 10px; }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.time { border: 1px solid var(--line); border-radius: 12px; padding: 10px 0; text-align: center; font-weight: 800; cursor: pointer; background: var(--white); }
.time small { display: block; font-size: 10px; font-weight: 600; color: var(--gray); }
.time.off { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.time.on { background: var(--green); color: var(--white); border-color: var(--green); }
.time.on small { color: rgba(255,255,255,.85); }
.nearest { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--green-50); color: #14563a; font-size: 14px; }
.nearest svg { color: var(--green-600); }

/* ------------------------------------------------------------ forms */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; font-weight: 700; margin: 0 2px 6px; color: var(--black); }
.field > span b { color: var(--red); font-weight: 800; }
.input, .select, .textarea { width: 100%; min-height: 50px; border: 1px solid var(--line-2); background: var(--white); border-radius: 12px; padding: 13px 14px; outline: none; font-size: 15px; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; color: var(--black); }
.input::placeholder, .textarea::placeholder { color: var(--gray-2); }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.input.err, .select.err, .textarea.err { border-color: var(--red); }
.hint { font-size: 12px; color: var(--gray); margin: 6px 2px 0; }
.err-text { font-size: 12px; color: var(--red); margin: 6px 2px 0; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { border: 1px solid var(--line-2); background: var(--white); min-height: 40px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; }
.seg button.on { background: var(--green-50); color: var(--green-600); border-color: var(--green); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--white); }
.check:has(input:checked) { border-color: var(--green); }
.check input { display: none; }
.check .box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; margin-top: 1px; color: var(--white); }
.check input:checked + .box { background: var(--green); border-color: var(--green); }
.check input:not(:checked) + .box svg { opacity: 0; }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { display: none; }
.switch i { position: absolute; inset: 0; background: #e2e2e2; border-radius: 999px; transition: .2s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .2s; }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }
.check:has(.switch) { border-color: var(--line); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--green); background: var(--green); color: var(--white); font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none; width: 100%; transition: transform .1s, background .15s; }
.btn:hover { background: var(--green-600); border-color: var(--green-600); }
.btn:active { transform: scale(.98); }
.btn[disabled] { background: #cfd8d3; border-color: #cfd8d3; color: var(--white); pointer-events: none; }
.btn.ghost { background: var(--white); color: var(--black); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--page); }
.btn.dark { background: var(--black); border-color: var(--black); }
.btn.danger { background: var(--white); color: var(--red); border-color: #f2c4c4; }
.btn.sm { height: 44px; border-radius: 12px; font-size: 14px; padding: 0 14px; width: auto; }
.btn.xs { height: 36px; border-radius: 10px; font-size: 13px; padding: 0 12px; width: auto; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + var(--safe-b)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
body.has-tabbar .bottom-bar { bottom: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: 12px; }
.bottom-bar-inner { max-width: 528px; margin: 0 auto; }
.bottom-bar .sum { display: flex; justify-content: space-between; font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.bottom-bar .sum b { color: var(--black); font-size: 15px; }

/* ------------------------------------------------------------ pastki navigatsiya */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--white); border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.tabbar-inner { max-width: 560px; margin: 0 auto; height: var(--tabbar-h); display: grid; grid-template-columns: repeat(3, 1fr); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--gray-2); text-decoration: none; cursor: pointer; }
.tabbar a.on { color: var(--black); }
.tabbar a.on svg { color: var(--green); }
.tabbar a.plus span.pl { width: 44px; height: 44px; border-radius: 14px; background: var(--green); color: var(--white); display: grid; place-items: center; margin-top: -2px; box-shadow: 0 6px 16px -6px rgba(32,184,106,.6); }
.tabbar a.plus { color: var(--black); }

/* ------------------------------------------------------------ progress / tabs */
.progress { display: grid; grid-auto-flow: column; gap: 5px; margin: 6px 0 4px; }
.progress i { height: 4px; border-radius: 4px; background: var(--line); }
.progress i.on { background: var(--green); }
.tabs { display: flex; padding: 4px; border-radius: 14px; background: #eff0f1; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1; border: 0; background: transparent; min-height: 42px; padding: 8px 12px; border-radius: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; color: var(--gray); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; }
.tabs button.on { background: var(--white); color: var(--black); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.tabs .disc { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--green); color: var(--white); }

/* ------------------------------------------------------------ tariffs */
.tariff { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 16px; cursor: pointer; background: var(--white); position: relative; transition: border-color .15s; }
.tariff + .tariff { margin-top: 12px; }
.tariff.on { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-50); }
.tariff .mult { width: 44px; height: 44px; border-radius: 12px; background: var(--page); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.tariff.on .mult { background: var(--green-50); border-color: var(--green-100); color: var(--green-600); }
.tariff .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; }
.tariff.on .radio { border-color: var(--green); }
.tariff.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.tariff .price { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.tariff .price small { font-size: 14px; color: var(--gray); font-weight: 600; }
.tariff .old { text-decoration: line-through; color: var(--gray-2); font-size: 13px; }
.tariff hr { border: 0; border-top: 1px dashed var(--line-2); margin: 14px 0 12px; }
.tariff .popular { position: absolute; top: -10px; left: 16px; font-size: 10px; letter-spacing: .08em; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--black); color: var(--white); }
.tariff .chip.dark { background: var(--green); border-color: var(--green); }

/* ------------------------------------------------------------ detail */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; font-size: 14px; margin: 0; }
.kv dt { color: var(--gray); font-weight: 600; }
.kv dd { margin: 0; font-weight: 700; text-align: right; }
.bul { margin: 10px 0 0; padding: 0; list-style: none; }
.bul li { position: relative; padding-left: 18px; margin: 7px 0; }
.bul li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.salary-box { margin-top: 16px; padding: 16px; border-radius: var(--radius); background: var(--green-50); border: 1px solid var(--green-100); }
.salary-box .l { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--green-600); }
.salary-box .v { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.timeline { position: relative; margin: 4px 0 0; padding: 0; list-style: none; }
.timeline li { position: relative; padding: 0 0 14px 26px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--white); }
.timeline li::after { content: ""; position: absolute; left: 11px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--green); border-color: var(--green); }
.timeline li.done::after { background: var(--green-100); }
.timeline li.now::before { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-50); }

/* ------------------------------------------------------------ map */
.map { height: 56vh; min-height: 320px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); z-index: 1; }
.map.small { height: 220px; min-height: 0; }
.leaflet-container { font-family: var(--font); background: #eef0f1; }
.leaflet-tile { filter: grayscale(.85) contrast(1.02) brightness(1.03); }
.pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--green); border: 3px solid var(--white); box-shadow: 0 4px 10px rgba(0,0,0,.25); display: grid; place-items: center; }
.pin span { transform: rotate(45deg); color: var(--white); font-weight: 800; font-size: 11px; }
.pin.me { background: var(--black); border-color: var(--white); border-radius: 50%; width: 20px; height: 20px; transform: none; }

/* ------------------------------------------------------------ sheet / toast */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(23,23,23,.4); z-index: 100; animation: fade .2s ease; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 101; background: var(--white); border-radius: 22px 22px 0 0; padding: 10px 16px calc(18px + var(--safe-b)); max-height: 88vh; overflow-y: auto; animation: up .25s cubic-bezier(.2,.9,.3,1); max-width: 560px; margin: 0 auto; }
.sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line-2); margin: 0 auto 14px; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }
#toast-root { position: fixed; top: 12px; left: 0; right: 0; z-index: 200; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--black); color: var(--white); padding: 12px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.2); animation: in .2s ease; max-width: 520px; display: flex; gap: 8px; align-items: center; }
.toast svg { color: #5ee09c; }
.toast.err { background: var(--red); }
.toast.err svg { color: var(--white); }

/* ------------------------------------------------------------ misc */
.empty { text-align: center; padding: 40px 20px; color: var(--gray); }
.empty .icon-box { margin: 0 auto 14px; width: 60px; height: 60px; border-radius: 18px; background: var(--white); }
.empty h3 { color: var(--black); margin-bottom: 6px; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.rule { display: flex; gap: 12px; padding: 12px 0; }
.rule + .rule { border-top: 1px solid var(--line); }
.rule .icon-box { width: 38px; height: 38px; border-radius: 11px; background: var(--red-50); border-color: #f6d0d0; color: var(--red); }
.rule b { display: block; font-size: 14px; }
.rule p { margin: 2px 0 0; font-size: 13px; color: var(--gray); }
.preview-post { white-space: pre-wrap; font-size: 14px; line-height: 1.55; background: var(--page); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.copy-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; border: 1px dashed var(--line-2); border-radius: 14px; font-size: 17px; font-weight: 800; letter-spacing: .03em; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 16px; font-size: 14px; white-space: pre-wrap; }
.msg.me { align-self: flex-end; background: var(--green); color: var(--white); border-bottom-right-radius: 6px; }
.msg.them { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg time { display: block; font-size: 10px; opacity: .7; margin-top: 4px; }
.offer-text { white-space: pre-wrap; font-size: 14px; line-height: 1.65; }
.pager { display: flex; justify-content: center; margin: 16px 0; }
.skeleton { background: linear-gradient(90deg, #f0f1f2, #e7e8ea, #f0f1f2); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--radius); height: 140px; }
.skeleton + .skeleton { margin-top: 12px; }
@keyframes sk { to { background-position: -200% 0; } }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); font-size: 13px; align-items: flex-start; }
.notice svg { color: var(--green-600); margin-top: 1px; }
.notice.err { border-color: #f6d0d0; background: var(--red-50); }
.notice.err svg { color: var(--red); }
.notice.test { border-color: #f1dfb6; background: var(--amber-50); color: #6b4a12; }
.notice.test svg { color: var(--amber); }
.mt-0 { margin-top: 0 !important; } .mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; }
.center { text-align: center; }
.wrap { flex-wrap: wrap; }
.hidden { display: none !important; }
.card:not(.inverse) .stat-strip div { background: var(--page); border: 1px solid var(--line); }
.search-hero span:first-of-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.choice .cta { white-space: nowrap; font-size: 13.5px; }

/* =====================================================================
   v3 — yakuniy dizayn (4 ta maket asosida)
   ===================================================================== */
.topbar { background: rgba(255,255,255,.92); }
.logo img { height: 34px; }
.test-badge { color: var(--green); background: var(--green-50); border-color: var(--green-100); font-size: 12px; padding: 7px 12px; border-radius: 10px; }
.avatar { background: var(--black); }
.btn { border-radius: 14px; }
.btn.soft { background: var(--green-50); color: var(--green); border-color: var(--green-50); }
.btn.soft:hover { background: #e2f3e9; }
.icon-sq { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green); flex-shrink: 0; }
.icon-sq.solid { background: var(--green); color: var(--white); }

/* ---- bosh sahifa ---- */
.greet { color: var(--gray); font-size: 16px; margin-top: 10px; }
.slogan { font-size: 34px; line-height: 1.12; font-weight: 800; letter-spacing: -.035em; margin: 8px 0 22px; color: var(--black); }
.slogan em { font-style: normal; color: var(--green); }
.hire-card { position: relative; overflow: hidden; border-radius: 22px; padding: 20px; color: var(--white);
  background: radial-gradient(120% 140% at 100% 0%, #0f5a36 0%, #0b3a25 38%, #0a1712 75%); min-height: 236px; }
.hire-card .blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.04); }
.hire-card .content { position: relative; z-index: 2; max-width: 58%; }
.hire-card .icon-sq { background: var(--green); color: var(--white); }
.hire-card h2 { color: var(--white); font-size: 26px; margin: 18px 0 8px; letter-spacing: -.02em; }
.hire-card p { margin: 0 0 18px; color: rgba(255,255,255,.82); font-size: 14.5px; line-height: 1.45; }
.hire-card .btn { width: auto; background: var(--bright); border-color: var(--bright); padding: 0 22px; }
.hire-card .btn:hover { background: #009746; }
.hire-card .art { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); width: 46%; max-width: 230px; z-index: 1; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.feat { position: relative; border-radius: 20px; border: 1px solid var(--line); background: var(--white); padding: 16px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; min-height: 196px; }
.feat.soon { background: var(--soft); cursor: default; }
.feat.soon:has(.soon-tag) { background: #f6fbf8; border-color: #e3efe8; }
.feat .icon-sq { margin-bottom: 12px; width: 50px; height: 50px; border-radius: 14px; }
.feat h3 { font-size: 18px; }
.feat p { margin: 0; color: var(--gray); font-size: 13.5px; line-height: 1.45; }
.soon-tag { position: absolute; top: 16px; right: 14px; font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--green); background: var(--green-50); border: 1px solid var(--green-100); padding: 5px 9px; border-radius: 8px; }
.feat .go { position: absolute; right: 14px; bottom: 16px; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-50); color: var(--green); }
.feat:not(.soon):active { transform: scale(.985); }

/* ---- pastki menyu (3 ta) ---- */
.tabbar { border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; box-shadow: 0 -6px 24px -12px rgba(16,24,40,.12); }
.tabbar a { font-size: 12px; color: var(--gray); }
.tabbar a.on { color: var(--green); }
.tabbar a.on svg { color: var(--green); }
.tabbar a.on::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-top: 1px; }
.tabbar a.plus { color: var(--black); font-weight: 700; }
.tabbar a.plus span.pl { width: 58px; height: 58px; border-radius: 50%; background: var(--green); margin-top: -30px; border: 4px solid var(--white); box-shadow: 0 8px 18px -6px rgba(7,131,72,.55); }

/* ---- e'lon joylash usuli ---- */
.center-head { text-align: center; margin: 6px 0 22px; }
.center-head h1 { font-size: 27px; margin: 10px 0 8px; }
.center-head p { color: var(--gray); margin: 0; }
.method { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); background: var(--white); padding: 20px; }
.method + .method { margin-top: 14px; }
.method.primary { background: linear-gradient(180deg, #f3fbf6, #ffffff 70%); border-color: #d6eee0; }
.method h2 { font-size: 22px; margin-bottom: 8px; }
.method .txt { position: relative; z-index: 2; max-width: 60%; }
.method p { color: var(--gray); margin: 0 0 14px; font-size: 14px; line-height: 1.45; }
.method ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.method li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: #344054; }
.method li .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; flex-shrink: 0; }
.method .btn { width: auto; padding: 0 22px; }
.method .art { position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 42%; max-width: 200px; z-index: 1; }

/* ---- tarif kartalari (2-maket) ---- */
.step-h { display: flex; align-items: center; gap: 12px; margin: 22px 2px 12px; }
.step-h .n { width: 34px; height: 34px; border-radius: 50%; background: var(--green-50); color: var(--black); display: grid; place-items: center; font-weight: 800; }
.step-h b { font-size: 18px; letter-spacing: -.01em; }
.step-h b.caps { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.tcard { position: relative; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px 16px 14px; background: var(--white); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.tcard + .tcard { margin-top: 12px; }
.tcard.pop { background: var(--green-50); border-color: #a9dcbf; }
.tcard.on { border-color: var(--green); box-shadow: 0 0 0 3px rgba(7,131,72,.12); }
.tcard .pop-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--white); background: var(--green); padding: 4px 10px; border-radius: 999px; margin-bottom: 6px; }
.tcard .nm { font-size: 20px; font-weight: 800; letter-spacing: -.02em; padding-right: 36px; }
.tcard .ds { color: var(--green); font-size: 14px; line-height: 1.45; margin-top: 3px; padding-right: 30px; }
.tcard .pr { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 10px; }
.tcard .pr b { font-size: 28px; font-weight: 800; letter-spacing: -.025em; }
.tcard .pr b small { font-size: 15px; font-weight: 600; color: var(--gray); letter-spacing: 0; }
.tcard .pr span { color: var(--gray); font-size: 13px; white-space: nowrap; }
.tcard .rd { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; background: var(--white); }
.tcard.pop .rd { border-color: #6cbf91; }
.tcard.on .rd { border-color: var(--green); background: var(--green); }
.tcard.on .rd::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--white); }
.tcard .old { text-decoration: line-through; color: var(--gray-2); font-size: 13px; }
.sum-row { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.sum-row b { font-size: 17px; }

/* ---- profil (4-maket) ---- */
.p-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 6px; }
.p-head h1 { margin: 0; font-size: 28px; }
.p-user { display: flex; align-items: center; gap: 14px; padding: 14px 0 16px; cursor: pointer; }
.p-user .ph { width: 60px; height: 60px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.p-user .ph img { width: 100%; height: 100%; object-fit: cover; }
.p-user b { font-size: 20px; letter-spacing: -.01em; display: block; }
.p-user span { color: var(--gray); font-size: 14px; }
.stars-card { border: 1.5px solid #a9dcbf; background: linear-gradient(180deg, #f3fbf6, #fff); border-radius: 18px; padding: 16px; cursor: pointer; }
.stars-card .top { display: flex; align-items: center; gap: 10px; }
.stars-card .top b { flex: 1; font-size: 16px; }
.stars-card .top .cnt { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 4px; }
.star-row { display: flex; gap: 8px; margin: 14px 0 10px; }
.star-row svg { width: 34px; height: 34px; }
.stars-card p { margin: 0; color: var(--green); font-size: 13.5px; font-weight: 600; }
.menu-list { margin-top: 16px; display: grid; gap: 10px; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--white); text-decoration: none; cursor: pointer; min-height: 58px; }
.menu-list a .t { flex: 1; font-weight: 600; font-size: 15.5px; }
.menu-list a .chev { color: var(--gray-2); }
.mi { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.mi.g { background: var(--green-50); color: var(--green); }
.mi.r { background: #fef0ef; color: #e5484d; }
.mi.p { background: #fff1f3; color: #d6336c; }
.mi.b { background: #eef4ff; color: #3e63dd; }
.mi.n { background: #f2f4f7; color: #475467; }
.badge-n { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--green); color: var(--white); font-size: 13px; font-weight: 800; display: grid; place-items: center; }

/* ---- yulduzlar sahifasi ---- */
.title-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 12px 0 6px; }
.title-bar h1 { margin: 0; font-size: 19px; text-align: center; }
.title-bar .back { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; background: transparent; border: 0; }
.stars-hero { border-radius: 22px; background: linear-gradient(180deg, #eef8f2, #f7fbf9); padding: 22px 18px 20px; text-align: center; margin-top: 8px; }
.stars-hero .big { font-size: 46px; font-weight: 800; color: var(--green); letter-spacing: -.03em; margin: 6px 0 4px; }
.stars-hero p { color: #344054; margin: 0 auto 16px; max-width: 280px; font-size: 14.5px; }
.star-circles { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.star-circles span { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; }
.pbar { height: 8px; border-radius: 8px; background: #dfe7e2; margin: 16px 6px 0; overflow: hidden; }
.pbar i { display: block; height: 100%; background: var(--green); border-radius: 8px; }
.reward-card { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px; border-radius: 16px; background: var(--green-50); border: 1px solid var(--green-100); cursor: pointer; }
.reward-card b { flex: 1; font-size: 14.5px; line-height: 1.4; }
.hist { margin-top: 6px; }
.hist .it { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hist .it:last-child { border-bottom: 0; }
.hist .it b { display: block; font-size: 15px; }
.hist .it span { color: var(--gray); font-size: 13px; }
.hist .it time { color: var(--gray); font-size: 13px; white-space: nowrap; }
.hist .it.revoked { opacity: .55; }

/* ---- promokodlar ---- */
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
.seg2 button { height: 46px; border-radius: 12px; border: 0; background: #f2f4f7; font-weight: 600; color: var(--gray); cursor: pointer; }
.seg2 button.on { background: var(--green-50); color: var(--green); font-weight: 800; }
.promo-card { border: 1px solid var(--line); border-radius: 20px; padding: 16px; background: var(--white); box-shadow: var(--shadow); }
.promo-card + .promo-card { margin-top: 12px; }
.promo-card .hd { display: flex; gap: 12px; align-items: center; }
.promo-card .hd b { font-size: 16.5px; display: block; }
.promo-card .hd span { color: var(--gray); font-size: 13.5px; }
.code-box { margin: 16px 0 12px; border: 1.5px dashed #9fd3b7; border-radius: 14px; padding: 14px; display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; }
.code-box b { font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.code-box button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--gray); cursor: pointer; display: grid; place-items: center; }
.cond { display: grid; gap: 6px; margin-bottom: 14px; }
.cond div { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #344054; }
.cond svg { color: var(--gray); }
.info-note { display: flex; gap: 10px; padding: 14px; border-radius: 14px; background: var(--info-50); color: #344054; font-size: 13.5px; line-height: 1.45; margin-top: 14px; }
.info-note svg { color: #2e90fa; flex-shrink: 0; margin-top: 1px; }
.used-item { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.used-item + .used-item { margin-top: 10px; }
.used-item .icon-sq { background: #f2f4f7; color: var(--gray); }
.used-item b { display: block; font-size: 14.5px; }
.used-item span { color: var(--gray); font-size: 12.5px; display: block; }
.chip.gray { background: #f2f4f7; color: var(--gray); border-color: #f2f4f7; }
.pay-item { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.pay-item + .pay-item { margin-top: 10px; }
.pay-item b { display: block; }
.pay-item span { color: var(--gray); font-size: 13px; }
.pay-item .amt { font-weight: 800; white-space: nowrap; text-align: right; }

@media (max-width: 370px) {
  .slogan { font-size: 29px; }
  .hire-card .content, .method .txt { max-width: 64%; }
  .feat { min-height: 210px; }
}
.method .txt { max-width: 64%; }
.method .art { width: 38%; }
.method .btn { white-space: nowrap; font-size: 14.5px; padding: 0 18px; }
.hire-card .btn { white-space: nowrap; }

/* =====================================================================
   v4 — qoidalar sahifasi va to'lov oqimi (mijoz maketlari)
   ===================================================================== */
.rules-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 12px; }
.step-pill.green { background: var(--green-50); border-color: var(--green-50); color: var(--black); font-size: 15px; padding: 8px 14px; border-radius: 12px; }
.progress { gap: 6px; }
.progress i { height: 5px; }
.rules-title { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; margin: 18px 0 8px; }
.rules-sub { margin: 0 0 18px; font-size: 16px; }
.rules-hero { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 18px; background: var(--green-50); margin-bottom: 14px; }
.rules-hero b { display: block; font-size: 17.5px; color: #065c33; margin-bottom: 4px; }
.rules-hero p { margin: 0; color: #344054; font-size: 14.5px; line-height: 1.45; }
.rule-list { display: grid; gap: 10px; }
.rule-card { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.rule-card b { display: block; font-size: 16px; margin-bottom: 2px; }
.rule-card span.grow > span { display: block; color: var(--gray); font-size: 14px; line-height: 1.4; }
.rule-card .chev { color: var(--gray-2); }
.ri { width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.ri.big { width: 56px; height: 56px; }
.agree { display: flex; align-items: center; gap: 14px; margin: 20px 2px 0; cursor: pointer; font-size: 16px; color: #344054; }
.agree input { display: none; }
.agree .sq { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--line-2); display: grid; place-items: center; color: transparent; flex-shrink: 0; transition: .15s; }
.agree input:checked + .sq { background: var(--green); border-color: var(--green); color: var(--white); }
.btn[disabled] { background: #b7d9c6; border-color: #b7d9c6; }

/* stepper */
.stepper { display: flex; align-items: center; gap: 8px; margin: 6px 0 14px; }
.stepper .st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--gray); white-space: nowrap; }
.stepper .st .c { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); font-weight: 800; font-size: 13px; color: var(--gray); background: var(--white); }
.stepper .st.on { color: var(--green); }
.stepper .st.on .c { background: var(--green); border-color: var(--green); color: var(--white); }
.stepper .st.done { color: var(--green); }
.stepper .st.done .c { background: var(--green); border-color: var(--green); color: var(--white); }
.stepper .ln { flex: 1; height: 1.5px; background: var(--line); min-width: 10px; }
@media (max-width: 360px) { .stepper .st { font-size: 11.5px; } .stepper .st .c { width: 22px; height: 22px; } }

/* to'lov */
.pay-title { font-size: 28px; margin: 6px 0 6px; }
.pay-sub { margin: 0 0 14px; font-size: 15px; }
.price-card { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: 18px; background: var(--green-50); }
.price-card .icon-sq.solid-soft { width: 60px; height: 60px; border-radius: 16px; background: #d6f0e1; color: var(--green); }
.price-card .l { display: block; color: var(--green); font-size: 14px; font-weight: 600; }
.price-card b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0; }
.price-card .pk { display: block; color: var(--green); font-weight: 600; font-size: 14.5px; }
.price-card .tn { display: block; color: #344054; font-size: 13px; margin-top: 2px; }
.sec-cap { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #344054; margin: 20px 2px 10px; }
.pm-list { display: grid; gap: 10px; }
.pm { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--white); cursor: pointer; }
.pm.on { border-color: var(--green); background: var(--green-50); }
.pm.off { opacity: .55; cursor: not-allowed; }
.pm b { display: block; font-size: 15.5px; }
.pm .grow > span { display: block; color: var(--gray); font-size: 13px; line-height: 1.35; margin-top: 2px; }
.pm .rd { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; }
.pm.on .rd { border-color: var(--green); }
.pm.on .rd::after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--green); }
.pay-logo { position: relative; border-radius: 14px; display: grid; place-items: center; color: #fff; flex-shrink: 0; overflow: hidden; }
.pay-logo b { font-weight: 800; }
.pay-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.test-badge.mini { font-size: 10px; padding: 2px 6px; vertical-align: 2px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--gray); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.or i { flex: 1; height: 1px; background: var(--line); }
.warn-card { display: flex; gap: 12px; margin-top: 16px; padding: 16px; border-radius: 16px; background: #fff6ea; border: 1px solid #fde3c3; }
.warn-card .wi { width: 26px; height: 26px; border-radius: 50%; background: #f79009; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.warn-card b { color: #b54708; font-size: 15.5px; }
.warn-card ul { margin: 6px 0 0; padding-left: 18px; color: #344054; font-size: 13.5px; line-height: 1.55; }
.warn-card p { margin: 4px 0 0; color: #344054; font-size: 13.5px; line-height: 1.5; }
.ok-card { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--green-50); }
.ok-card > svg { background: var(--green); color: #fff; border-radius: 50%; padding: 4px; width: 28px; height: 28px; flex-shrink: 0; }
.ok-card b { display: block; color: #065c33; }
.ok-card span { color: #344054; font-size: 14px; }
.num-steps { list-style: none; padding: 0; margin: 18px 0; counter-reset: s; display: grid; gap: 12px; }
.num-steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; color: #344054; font-size: 15px; }
.num-steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.btn.big { height: 58px; font-size: 17px; border-radius: 16px; }
.btn.gray { background: #f2f4f7; border-color: #f2f4f7; color: var(--black); }
.btn.gray:hover { background: #e9ecf1; }
.card-info { border: 1px solid var(--line); border-radius: 18px; padding: 16px; background: var(--white); }
.card-info .h { font-size: 16px; }
.card-info .holder { color: #344054; font-size: 17px; margin: 10px 0 4px; }
.card-info .num { font-size: 24px; font-weight: 800; letter-spacing: .02em; cursor: pointer; word-break: break-all; }
.card-info .bank { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; }
.icon-btn.plain { border: 0; background: transparent; width: 40px; height: 40px; color: var(--gray); }
.hint-card { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--green-50); color: #344054; font-size: 13.5px; }
.hint-card svg { color: var(--green); }
.sec-h { font-size: 19px; margin: 22px 2px 12px; }
.drop { display: block; border: 2px dashed var(--line-2); border-radius: 18px; padding: 26px 16px; text-align: center; cursor: pointer; background: #fcfcfd; }
.drop input { display: none; }
.drop .di { width: 56px; height: 56px; border-radius: 50%; background: #eaf2ff; color: #2e6bd6; display: grid; place-items: center; margin: 0 auto 12px; }
.drop b { display: block; font-size: 15.5px; }
.drop span { color: var(--gray); font-size: 13.5px; display: block; margin-top: 4px; }
.drop.has { border-color: var(--green); border-style: solid; background: var(--green-50); padding: 14px; }
.drop img { max-height: 220px; max-width: 100%; border-radius: 12px; margin: 0 auto 10px; }
.drop .fn { color: var(--black); font-weight: 600; }
.drop .chg { color: var(--green); font-weight: 700; margin-top: 6px; }
.done-hero { text-align: center; padding: 14px 0 18px; }
.done-hero .dh { width: 120px; height: 120px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin: 6px auto 16px; }
.done-hero .dh.bad { background: var(--red-50); color: var(--red); }
.done-hero h1 { font-size: 30px; margin: 0 0 8px; }
.done-hero p { margin: 0 auto; max-width: 320px; font-size: 15px; line-height: 1.5; }
.info-row { display: flex; gap: 12px; padding: 16px; border-radius: 16px; margin-top: 12px; }
.info-row b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.info-row span { display: block; color: #344054; font-size: 14px; line-height: 1.45; }
.info-row.amber { background: #fff6ea; } .info-row.amber > svg, .info-row.amber b { color: #b54708; }
.info-row.green { background: var(--green-50); } .info-row.green > svg { color: var(--green); } .info-row.green b { color: #065c33; }
.notice.wait { background: var(--green-50); border-color: var(--green-100); }

/* ================= v6: tarif bo'limlari, oylik kalendar, ogohlantiruvchi qoidalar ================= */
.ttabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; padding: 5px; background: var(--page-2, #f2f4f7); border-radius: 16px; margin-bottom: 8px; }
.ttabs button { border: 0; background: transparent; border-radius: 12px; padding: 10px 8px; cursor: pointer; text-align: center; color: var(--gray); font: inherit; transition: background .15s, box-shadow .15s; }
.ttabs button b { display: block; font-size: 14.5px; font-weight: 800; color: inherit; letter-spacing: -.01em; }
.ttabs button small { display: block; font-size: 11.5px; font-weight: 600; margin-top: 1px; opacity: .8; }
.ttabs button.on { background: var(--white); color: var(--black, #101828); box-shadow: 0 1px 3px rgba(16,24,40,.12), 0 0 0 1px var(--line) inset; }
.ttabs button.on small { color: var(--green); opacity: 1; }
.ttabs-sub { margin: 4px 4px 12px; }
.tcard .feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tcard .feats span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: rgba(16,24,40,.05); color: #344054; }
.tcard .ds.dt { color: var(--gray); font-size: 13px; }
.tcard.on { box-shadow: 0 0 0 3px rgba(7,131,72,.18); }

.day-title { margin-top: 14px; font-weight: 800; font-size: 14px; }
.day-title a { font-weight: 700; color: var(--err, #d92d20); font-size: 13px; }
.picked-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; max-height: 150px; overflow: auto; }
.autofill { border: 1px dashed var(--green-100); background: var(--green-50); border-radius: 14px; padding: 12px; margin-bottom: 12px; }
.af-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin-top: 10px; }
.af-grid label span { display: block; font-size: 11px; font-weight: 700; color: var(--gray); margin-bottom: 4px; }
.af-grid .input { height: 40px; padding: 0 8px; font-size: 13.5px; }
.mcal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mcal-h b { font-size: 15px; }
.mgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mw { text-align: center; font-size: 11px; font-weight: 700; color: var(--gray); padding-bottom: 2px; }
.mc { aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: 10px; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit; cursor: pointer; padding: 0; position: relative; color: inherit; }
.mc b { font-size: 14px; font-weight: 800; line-height: 1; }
.mc i { width: 5px; height: 5px; border-radius: 50%; display: block; margin-top: 3px; }
.mc small { font-size: 9.5px; font-weight: 700; line-height: 1; margin-top: 2px; }
.mc.free i { background: var(--green); } .mc.partial i { background: #f0b429; }
.mc.full { background: var(--page-2, #f2f4f7); color: var(--gray-2); cursor: not-allowed; } .mc.full i { background: var(--gray-2); height: 2px; width: 9px; border-radius: 1px; }
.mc.blank { border: 0; background: transparent; cursor: default; }
.mc.out { border: 0; background: transparent; color: var(--gray-2); opacity: .45; cursor: default; }
.mc.on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.mc.picked { background: var(--green); border-color: var(--green); color: #fff; }
.mc.picked.on { box-shadow: 0 0 0 3px rgba(7,131,72,.3); }

/* Qoidalar — ogohlantiruvchi ranglar (admin paneldan: sariq / qizil / yashil) */
.rules-wrap.theme-warning { --r-bg: #FFF7E6; --r-line: #FCD38D; --r-title: #92400E; --r-icon-bg: #FEF0C7; --r-icon: #B54708; }
.rules-wrap.theme-danger { --r-bg: #FEF3F2; --r-line: #FDA29B; --r-title: #B42318; --r-icon-bg: #FEE4E2; --r-icon: #D92D20; }
.rules-wrap.theme-green { --r-bg: var(--green-50); --r-line: var(--green-100); --r-title: #065c33; --r-icon-bg: var(--green-50); --r-icon: var(--green); }
.rules-wrap .rules-hero { background: var(--r-bg); border: 1px solid var(--r-line); }
.rules-wrap .rules-hero b { color: var(--r-title); }
.rules-wrap .rule-card .ri { background: var(--r-icon-bg); color: var(--r-icon); }
.rules-wrap.theme-warning .rule-card, .rules-wrap.theme-danger .rule-card { border-left: 3px solid var(--r-line); }
