/* ============================================================
   YaqinJoy — sahifalarga xos stillar (mockuplar 1:1)
   ============================================================ */

/* ════════ BOSH SAHIFA (3-mockup, light) ════════ */
.home-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 4px; }
.loc-pill { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 15px; cursor: pointer; }
.loc-pill .ic-sm { color: var(--blue); }
.bell { position: relative; }
.bell .bubble {
  position: absolute; top: -4px; right: -5px; min-width: 17px; height: 17px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 800;
  border-radius: var(--r-full); display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--bg);
}

.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 12px 16px 4px; }
.hero h1 { font-size: 27px; line-height: 1.16; }
.hero p { color: var(--text-2); font-size: 13.5px; margin-top: 9px; max-width: 250px; }
.hero-art { width: 96px; height: 96px; flex: none; opacity: 0.95; }

.search-bar {
  margin: 14px 16px 0; display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border-radius: var(--r-full);
  padding: 6px 6px 6px 18px; box-shadow: var(--shadow-card);
}
.search-bar input { flex: 1; border: 0; outline: 0; background: none; font-size: 14.5px; min-width: 0; }
.search-bar .ic-sm { color: var(--text-3); }
.search-fbtn {
  width: 42px; height: 42px; border-radius: var(--r-full);
  background: var(--blue); color: #fff; flex: none;
  display: flex; align-items: center; justify-content: center;
}

.home-cats { margin: 16px 16px 0; }

.banner {
  margin: 16px; background: var(--bg-navy); border-radius: var(--r-lg);
  padding: 16px; display: flex; align-items: center; gap: 12px;
  color: #fff; overflow: hidden; position: relative;
}
.banner-ic {
  width: 42px; height: 42px; border-radius: 13px; flex: none;
  background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center; color: var(--yellow);
}
.banner h3 { font-size: 13.5px; line-height: 1.3; }
.banner p { font-size: 11.5px; opacity: 0.75; margin-top: 3px; }
.banner-btn {
  flex: none; display: flex; align-items: center; gap: 5px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 8px 10px; border-radius: var(--r-md);
}

.section-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 16px 10px; }
.section-head a { font-size: 13px; font-weight: 700; }

.home-list { display: flex; flex-direction: column; gap: 10px; padding: 4px 16px 8px; }

.bc-name { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.bc-cat { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.bc-meta { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--text-2); margin-top: 6px; flex-wrap: wrap; }
.bc-meta .open-t { color: var(--green); font-weight: 700; }
.bc-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }

/* ════════ XARITA (2-mockup, dark) ════════ */
.map-page { position: relative; height: 100dvh; overflow: hidden; background: var(--bg); }
#leaflet-map { position: absolute; inset: 0; z-index: 1; background: #0c1220; }
.map-ui-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  padding: 12px 16px 8px;
  background: linear-gradient(to bottom, rgba(10, 15, 30, 0.92) 30%, transparent);
  pointer-events: none;
}
.map-ui-top > * { pointer-events: auto; }
.map-loc-row { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.map-loc-row .lbl { font-size: 11px; color: var(--text-2); }
.map-loc-row .val { font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.map-actions { display: flex; gap: 8px; }
.map-actions .icon-btn { background: var(--bg-card); color: var(--text); width: 38px; height: 38px; }

.map-search {
  margin-top: 10px; display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border-radius: var(--r-full);
  padding: 12px 16px; box-shadow: var(--shadow-float); color: var(--text);
}
.map-search input { flex: 1; border: 0; outline: 0; font-size: 14.5px; background: none; color: var(--text); min-width: 0; }
.map-search .ic-sm { color: var(--text-3); }

.map-cats { margin: 10px -16px 0; }

.search-area-btn {
  position: absolute; top: 112px; left: 50%; transform: translateX(-50%);
  z-index: 15; background: rgba(10, 15, 30, 0.88); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 9px 16px;
  border-radius: var(--r-full); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-float);
  display: none;
}
.search-area-btn.show { display: block; animation: fadeIn 0.2s ease; }

/* Marshrut kartasi (ilova ichidagi Yo'l olish) — ikki qator:
   1) nom + masofa + yopish  2) Navigator + nusxa + ulashish */
.route-card {
  position: absolute; top: 120px; left: 12px; right: 12px; z-index: 25;
  display: flex; flex-direction: column; align-items: stretch; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 10px 12px;
  box-shadow: var(--shadow-float); animation: fadeIn 0.25s ease;
}

/* ════════ TO'LIQ EKRAN XARITA UI (Yandex Go patterni) ════════ */
/* Tepa gradient temaga mos: yorug'da oq nafas, tungida qora */
.map-ui-top.slim {
  padding: 10px 14px 6px;
  background: linear-gradient(to bottom, rgba(238, 241, 248, 0.94) 40%, transparent);
}
[data-theme="dark"] .map-ui-top.slim, .force-dark .map-ui-top.slim {
  background: linear-gradient(to bottom, rgba(7, 11, 22, 0.85) 40%, transparent);
}
.map-search { border: 1px solid var(--border); }
.map-filter-inline {
  width: 36px; height: 36px; border-radius: var(--r-full); flex: none;
  background: var(--blue-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: -6px -10px -6px 0;
}
.map-ui-top.slim .map-search { margin-top: 0; padding: 9px 6px 9px 16px; }
.map-ui-top.slim .map-cats { margin: 8px -14px 0; padding: 2px 14px 6px; }

/* UI avtoyashirinish (xarita surilayotganda) */
#ui-top, .map-fabs, .map-sheet, .search-area-btn, .picked-card, .route-card {
  transition: opacity 0.22s ease;
}
.map-hidden { opacity: 0 !important; pointer-events: none !important; }

/* Yig'iladigan bottom-sheet */
.map-sheet {
  position: absolute; left: 0; right: 0; bottom: var(--nav-h); z-index: 24;
  background: var(--bg-card);
  border-radius: 18px 18px 0 0;
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(calc(100% - 46px));
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.22s ease;
}
.map-sheet.open { transform: translateY(0); }
.sheet-head {
  width: 100%; height: 46px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  color: var(--text); position: relative;
}
.sheet-grip2 {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 4px; border-radius: 3px; background: var(--border);
}
.sheet-title { font-size: 12.5px; color: var(--text-2); margin-top: 6px; }
.sheet-title b { color: var(--text); font-size: 13px; }
.sheet-chev { color: var(--text-3); margin-top: 6px; transform: rotate(180deg); transition: transform 0.25s; }
.map-sheet.open .sheet-chev { transform: rotate(0deg); }
.sheet-body { padding-bottom: 6px; }

/* Marker bosilganda chiqadigan ixcham karta */
.picked-card {
  position: absolute; left: 12px; right: 12px;
  bottom: calc(var(--nav-h) + 56px); z-index: 26;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 10px 12px;
  box-shadow: var(--shadow-float);
  animation: sheetIn2 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes sheetIn2 { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Xarita FAB'lari (joylashuv/qatlamlar) — DOIM panel USTIDA suzadi.
   Aniq balandlikni JS (positionFabs) panel holatiga qarab beradi;
   z-index 25 = sheet(24)dan baland — tugma panel ortida qolmaydi (v27). */
.map-fabs {
  position: absolute; right: 14px; bottom: calc(var(--nav-h) + 52px); z-index: 25;
  display: flex; flex-direction: column; gap: 10px;
  transition: bottom 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.22s ease;
}
.map-fabs .icon-btn { box-shadow: var(--shadow-float); }
.map-fabs .primary { background: var(--blue); color: #fff; }

.map-bottom {
  position: absolute; left: 0; right: 0; bottom: var(--nav-h); z-index: 20;
  padding-bottom: 6px;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.95) 55%, transparent);
}
.quick-chips { padding-top: 14px; }
.qchip {
  display: flex; align-items: center; gap: 9px; flex: none;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 13px; cursor: pointer;
}
.qchip .qic {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.qchip .t { font-size: 12.5px; font-weight: 800; color: var(--text); white-space: nowrap; }
.qchip .s { font-size: 10.5px; color: var(--text-2); white-space: nowrap; }

.map-carousel { padding-bottom: 8px; }

/* Xarita markerlari — KOMPAKT (tez ishlashi uchun yengil, blursiz) */
.biz-marker { background: none !important; border: none !important; }
.bm-wrap { display: flex; flex-direction: column; align-items: center; transform: translateY(-2px); }
.bm-logo {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #1e2b52, #0f1b3d);
  color: #fff; font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bm-logo img { width: 100%; height: 100%; object-fit: cover; }
.bm-label {
  margin-top: 2px; text-align: center;
  background: rgba(10, 15, 30, 0.85); border-radius: 7px; padding: 2px 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.bm-label .n { color: #fff; font-size: 9.5px; font-weight: 700; white-space: nowrap; max-width: 92px; overflow: hidden; text-overflow: ellipsis; }

/* O'rta zoom: faqat logo doirasi (ko'proq joy sig'adi) */
.bm-mini {
  width: 24px; height: 24px; border-radius: 50%; margin-top: 4px;
  border: 2px solid #2563eb; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #1e2b52, #0f1b3d);
  color: #fff; font-size: 8px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.bm-mini img { width: 100%; height: 100%; object-fit: cover; }

/* Uzoq zoom: mayda rangli nuqta — yuzlab joy ham yengil chiziladi,
   xarita "jonli bozor" bo'lib ko'rinadi */
.bm-dot {
  width: 11px; height: 11px; border-radius: 50%; margin-top: 10px;
  border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* KLASTER: shahar/mamlakat ko'rinishida joylar soni yozilgan doiralar —
   markerlar hech qachon "yo'qolib qolmaydi" */
.bm-cluster {
  min-width: 34px; height: 34px; padding: 0 8px; border-radius: 50%;
  background: var(--blue-grad, #2563eb); color: #fff;
  border: 2.5px solid #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.45);
}
.bm-cluster.md { min-width: 42px; height: 42px; font-size: 13.5px; }
.bm-cluster.lg { min-width: 52px; height: 52px; font-size: 15px; border-width: 3px; }

/* "Butun O'zbekiston bo'ylab N ta xizmat" — marketing belgisi */
.uz-total {
  position: absolute; top: 148px; left: 50%; transform: translateX(-50%);
  z-index: 24; white-space: nowrap;
  background: rgba(10, 15, 30, 0.88); color: #fff;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.2px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: opacity 0.22s ease;
}

.user-marker { background: none !important; border: none !important; }
.um-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.25), 0 2px 8px rgba(0,0,0,0.4);
}

/* ════════ BIZNES DETAL ════════ */
/* v33: pastki burchaklar yumaloq — rasm burchak bo'lib qolmaydi */
.detail-hero { position: relative; height: 240px; background: var(--bg-input); overflow: hidden; border-radius: 0 0 20px 20px; }
.detail-hero .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.detail-hero .ph svg { width: 60px; height: 60px; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }

/* Rasm karuseli — barmoq bilan suriladi (scroll-snap), nuqta-indikator */
.hero-swipe {
  display: flex; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hero-swipe::-webkit-scrollbar { display: none; }
.hero-swipe img {
  width: 100%; height: 100%; flex: none;
  object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always;
}
/* Samsung uslubi: kichkina dumaloq nuqtalar, faoli oq va kattaroq.
   v33: karta endi rasm ustiga chiqmagani uchun nuqtalar rasm pastida */
.hero-dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.hero-dots span {
  width: 6.5px; height: 6.5px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55); transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-dots span.on { background: #fff; transform: scale(1.35); }
.detail-topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; padding: 14px 16px;
}
.detail-topbar .icon-btn { background: rgba(10, 15, 30, 0.5); color: #fff; backdrop-filter: blur(8px); box-shadow: none; }
/* v33: karta endi rasm USTIGA chiqmaydi — rasmdan pastda boshlanadi */
.detail-card {
  margin: 10px 12px 0; position: relative; z-index: 6;
  background: var(--bg-card); border-radius: var(--r-xl);
  padding: 18px 16px; box-shadow: var(--shadow-card);
}
.detail-logo-row { display: flex; gap: 12px; align-items: center; }
.detail-name { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.detail-stats { display: flex; gap: 14px; margin-top: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); font-weight: 600; }
.detail-actions { display: flex; gap: 10px; margin-top: 16px; }
.detail-actions .btn { flex: 1; padding: 12px; font-size: 13.5px; }
.dsection { margin: 12px 12px 0; background: var(--bg-card); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--shadow-card); }
.dsection h3 { margin-bottom: 12px; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: var(--text-2); font-weight: 600; }
.hours-row.today .d, .hours-row.today .t { color: var(--blue); font-weight: 800; }
.contact-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ic-sm { color: var(--blue); }
.review-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.review-item:last-child { border-bottom: 0; }
.rate-stars { display: flex; gap: 8px; justify-content: center; margin: 10px 0 16px; }
.rate-stars button { color: var(--text-3); transition: transform 0.1s; }
.rate-stars button.on { color: var(--yellow); }
.rate-stars button:active { transform: scale(1.2); }
.rate-stars svg { width: 34px; height: 34px; }
.photo-strip { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.photo-strip img { width: 110px; height: 82px; border-radius: var(--r-sm); object-fit: cover; flex: none; }

/* ════════ BIZNES QO'SHISH (v28: yorug' — ilova temasiga mos) ════════ */
.wiz-page { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.wiz-body { flex: 1; padding: 4px 16px 20px; overflow-y: auto; }
.wiz-footer { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); }

.intro-hero { padding: 10px 16px 0; }
.intro-hero h1 { font-size: 26px; line-height: 1.22; }
.intro-sub { color: var(--text-2); font-size: 13px; margin-top: 8px; }

/* Ustuvorlik raqamlari — afzalliklar bir qarashda */
.intro-stats { display: flex; gap: 8px; padding: 16px 16px 2px; }
.istat {
  flex: 1; text-align: center; padding: 11px 4px 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-card);
}
.istat b { display: block; font-size: 15.5px; color: var(--blue); letter-spacing: -0.2px; }
.istat span { display: block; font-size: 10.5px; color: var(--text-2); margin-top: 3px; }

.benefits { display: flex; flex-direction: column; gap: 16px; padding: 22px 16px 8px; }
.benefit { display: flex; gap: 13px; align-items: flex-start; }
.benefit-ic {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.benefit h3 { font-size: 14.5px; }
.benefit p { font-size: 12.5px; color: var(--text-2); margin-top: 3px; }

/* 2×2 afzallik kartalari (intro) */
.benefits.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 16px 2px; }
.benefits.grid2 .benefit {
  flex-direction: column; gap: 9px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 13px 12px;
  box-shadow: var(--shadow-card);
}

/* "Qanday ishlaydi" — 3 qadam */
.how-wrap { padding: 16px 16px 0; }
.how-wrap h2 { font-size: 15px; }
.how-row { display: flex; gap: 6px; margin-top: 12px; }
.how-step { flex: 1; text-align: center; position: relative; }
.how-n {
  width: 26px; height: 26px; border-radius: 50%; position: relative; z-index: 1;
  background: var(--blue); color: #fff; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}
.how-step:not(:last-child)::after {
  content: ""; position: absolute; top: 12px; height: 2px;
  left: calc(50% + 20px); right: calc(-50% + 20px);
  background: var(--blue-soft);
}
.how-step p { font-size: 11.5px; color: var(--text-2); margin-top: 7px; line-height: 1.35; }

/* Pastki ishonch belgisi */
.intro-note {
  display: flex; gap: 8px; align-items: center;
  margin: 16px 16px 0; padding: 10px 12px;
  background: var(--green-soft); border-radius: 12px;
  font-size: 12px; color: var(--text-2);
}
.intro-note .ic-sm { color: var(--green); flex: none; }

.logo-upload-row { display: flex; gap: 14px; align-items: center; }
.logo-preview { width: 84px; height: 84px; font-size: 20px; }
.upload-box {
  flex: 1; height: 84px; border: 1.5px dashed var(--border);
  border-radius: var(--r-md); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  color: var(--text-2); font-size: 12px; font-weight: 600; cursor: pointer;
}
.upload-box:active { border-color: var(--blue); color: var(--blue); }

.wiz-map-wrap { position: relative; height: 250px; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 16px; background: #0c1220; }
#wiz-map { position: absolute; inset: 0; }
/* MUHIM: Leaflet ichki qatlamlari z-index 200-800 oralig'ida —
   pin va eslatma ULARDAN TEPADA turishi shart (aks holda plitkalar
   yuklangach pin ko'rinmay qoladi, faqat bo'sh xaritada ko'rinadi) */
.wiz-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  z-index: 1000; pointer-events: none; color: var(--blue);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.wiz-pin::after {
  /* pin uchi ostidagi "soya" nuqta — aniq qaysi nuqta tanlanayotgani ko'rinadi */
  content: ""; position: absolute; left: 50%; bottom: -3px;
  width: 9px; height: 4px; border-radius: 50%;
  transform: translateX(-50%); background: rgba(0, 0, 0, 0.35);
}
.wiz-map-hint {
  position: absolute; bottom: 10px; left: 10px; right: 10px; z-index: 1001;
  background: rgba(10, 15, 30, 0.85); color: #e2e8f0; font-size: 11.5px; font-weight: 600;
  padding: 8px 12px; border-radius: var(--r-sm); text-align: center; backdrop-filter: blur(6px);
}
.addr-row { display: flex; gap: 10px; }
.addr-row .input { flex: 1; }
.gps-btn {
  width: 51px; border-radius: var(--r-sm); flex: none;
  background: var(--bg-input); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}

.hours-editor { display: flex; flex-direction: column; }
.he-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.he-row:last-child { border-bottom: 0; }
.he-day { flex: 1; font-size: 14px; font-weight: 600; }
.he-times { display: flex; align-items: center; gap: 5px; }
.he-times input {
  width: 84px; padding: 8px 4px; text-align: center;
  background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 12px; font-weight: 700; color: var(--text); outline: none;
}
.he-times input::-webkit-calendar-picker-indicator { display: none; }
.he-day { font-size: 13px; }
.he-times input:focus { border-color: var(--blue); }
.he-times input:disabled { opacity: 0.35; }
.he-sep { color: var(--text-3); font-size: 12px; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-item { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-input); }
.pg-item img { width: 100%; height: 100%; object-fit: cover; }
.pg-x {
  position: absolute; top: 7px; right: 7px; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(10, 15, 30, 0.7); color: #fff;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.pg-add {
  aspect-ratio: 4/3; border: 1.5px dashed var(--border); border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--text-2); font-size: 12px; font-weight: 600; cursor: pointer;
}
.pg-add.wide { aspect-ratio: auto; padding: 18px; grid-column: 1 / -1; flex-direction: row; }

/* Rasm format tavsiyasi (yuklash joylarida) */
.photo-format-hint {
  font-size: 11.5px; line-height: 1.5; color: var(--text-2);
  background: var(--blue-soft); border-left: 3px solid var(--blue);
  padding: 8px 11px; border-radius: 9px; margin-bottom: 12px;
}

/* BOSH rasm belgilash (wizard 5-qadam + tahrirlash) */
.pg-is-main { outline: 2px solid var(--blue); outline-offset: -2px; }
.pg-main {
  position: absolute; left: 7px; bottom: 7px;
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--blue); color: #fff;
  font-size: 10.5px; font-weight: 800;
  padding: 3px 8px; border-radius: 20px;
}
.pg-main .ic-sm { width: 11px; height: 11px; }
.pg-star {
  position: absolute; left: 7px; bottom: 7px; width: 27px; height: 27px;
  border-radius: 50%; background: rgba(10, 15, 30, 0.7); color: #fbbf24;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.pg-star .ic-sm { width: 14px; height: 14px; }

/* Tahrirlash sahifasi bo'lim sarlavhalari */
.ed-sec {
  font-size: 15.5px; margin: 22px 0 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}

.review-card { background: var(--bg-card); border-radius: var(--r-lg); padding: 16px; margin-bottom: 12px; }
.review-card h3 { margin-bottom: 10px; }
.rv-row { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 13.5px; color: var(--text-2); }
.rv-row .ic-sm { color: var(--blue); flex: none; }
.rv-row b { color: var(--text); }

.success-page { text-align: center; padding: 80px 30px 30px; }
.success-ic {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.success-ic svg { width: 40px; height: 40px; }

/* ════════ AUTH ════════ */
.auth-page { padding: 30px 22px; }
.auth-logo { text-align: center; margin-bottom: 26px; }
.auth-logo .mark {
  width: 68px; height: 68px; border-radius: 20px; margin: 0 auto 12px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.4);
}
.auth-tabs { display: flex; background: var(--bg-input); border-radius: var(--r-md); padding: 4px; margin-bottom: 22px; }
.auth-tabs button { flex: 1; padding: 11px; border-radius: 11px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.auth-tabs button.active { background: var(--bg-card); color: var(--text); box-shadow: var(--shadow-card); }

/* ════════ PROFIL ════════ */
.prof-head { display: flex; align-items: center; gap: 14px; padding: 20px 16px; }
.prof-ava { width: 60px; height: 60px; font-size: 22px; background: var(--blue); border-radius: 50%; color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; }
.prof-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--bg-card); border-radius: var(--r-md);
  padding: 15px 16px; margin-bottom: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-card); text-align: left;
}
.prof-item .ic-sm { color: var(--blue); }

/* ════ BIZNES TOMONIGA YAGONA ESHIK (v75) ════
   Oddiy qatorlardan ATAYLAB ajralib turadi: bu ikkinchi darajali sozlama
   emas, ilovaning ikkinchi yarmiga kiradigan eshik. Shuning uchun ko'k,
   ikki qatorli va biroz balandroq. */
.prof-biz {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 15px 16px; margin-bottom: 14px; text-align: left;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #2563EB 0%, #1E4FCC 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(20, 45, 110, .18), 0 8px 22px rgba(20, 45, 110, .26);
  transition: transform .16s ease, box-shadow .16s ease;
}
.prof-biz:hover { transform: translateY(-1px);
  box-shadow: 0 1px 2px rgba(20,45,110,.20), 0 12px 28px rgba(20,45,110,.32); }
.prof-biz:active { transform: translateY(0); }
.prof-biz .pb-ic {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  background: rgba(255, 255, 255, .16);
}
.prof-biz .pb-ic .ic-sm { color: #fff; }
.prof-biz .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.prof-biz b { font-size: 15px; font-weight: 700; letter-spacing: -.1px; }
.prof-biz span span { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.78); }
.prof-biz .ic-sm { color: rgba(255, 255, 255, .8); }
.lang-seg { display: flex; gap: 6px; }
.lang-seg button { padding: 7px 14px; border-radius: var(--r-full); background: var(--bg-input); font-size: 12.5px; font-weight: 700; color: var(--text-2); }
.lang-seg button.active { background: var(--blue); color: #fff; }
.mybiz-status { margin-left: auto; }

/* ════════ ADMIN ════════ */
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px 14px; }
.astat { background: var(--bg-card); border-radius: var(--r-md); padding: 13px; text-align: center; box-shadow: var(--shadow-card); }
.astat .v { font-size: 21px; font-weight: 800; color: var(--blue); }
.astat .l { font-size: 11px; color: var(--text-2); font-weight: 600; margin-top: 2px; }
.admin-tabs { padding: 0 16px 6px; }

/* Admin v15 — oyna-oyna panel */
.adm-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 17px; height: 17px; padding: 0 5px; margin-left: 2px;
  border-radius: 10px; background: var(--red); color: #fff;
  font-size: 10.5px; font-weight: 800;
}
.chip.active .adm-badge { background: rgba(255, 255, 255, 0.9); color: var(--blue); }
.adm-sec { font-size: 14px; margin: 16px 0 10px; }
.px .admin-stats { padding: 0 0 10px; }
.adm-list { background: var(--bg-card); border-radius: var(--r-md); padding: 4px 12px; box-shadow: var(--shadow-card); }
.adm-row {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 0; font-size: 13px; border-bottom: 1px solid var(--border);
  color: var(--text); text-align: left;
}
.adm-row:last-child { border-bottom: 0; }
.adm-rank {
  width: 22px; height: 22px; flex: none; border-radius: 7px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.err-item {
  background: var(--bg-card); border-radius: var(--r-md); padding: 10px 12px;
  margin-bottom: 8px; font-size: 12px; box-shadow: var(--shadow-card);
  border-left: 3px solid var(--red);
}
.err-item b { color: var(--red); font-size: 12px; word-break: break-all; }
.err-tb {
  margin-top: 6px; padding: 7px 9px; border-radius: 8px;
  background: var(--bg-input); font-family: monospace; font-size: 10.5px;
  color: var(--text-2); word-break: break-all; line-height: 1.5;
}
.chip.sm { padding: 6px 12px; font-size: 12px; }
.abiz { background: var(--bg-card); border-radius: var(--r-lg); padding: 15px; margin: 0 16px 12px; box-shadow: var(--shadow-card); }
.abiz-actions { display: flex; gap: 8px; margin-top: 12px; }
.abiz-actions .btn { flex: 1; }

/* ════════ AUTH qo'shimcha (OTP oqimi) ════════ */
.input-lg { font-size: 17px; padding: 16px; font-weight: 600; }
.code-input {
  font-size: 30px; font-weight: 800; text-align: center;
  letter-spacing: 12px; padding: 14px;
}
.code-input::placeholder { letter-spacing: 8px; color: var(--text-3); }

/* Manzil qidirish takliflari (wizard 2-qadam) */
.addr-suggest { z-index: 1002 !important;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-float);
}
.addr-item {
  display: flex; align-items: flex-start; gap: 9px; width: 100%;
  padding: 12px 14px; font-size: 12.5px; font-weight: 600; color: var(--text);
  text-align: left; border-bottom: 1px solid var(--border);
}
.addr-item:last-child { border-bottom: 0; }
.addr-item .ic-sm { color: var(--blue); flex: none; margin-top: 1px; }
.addr-item span { line-height: 1.4; }

/* Egallab olish kartasi */
.claim-card { border: 1.5px dashed var(--blue); background: var(--blue-soft); box-shadow: none; }

/* ════════ YORDAM (FAQ) ════════ */
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 15px 16px; font-size: 14px; font-weight: 700;
  color: var(--text); text-align: left;
}
.faq-chev { transition: transform 0.2s ease; flex: none; color: var(--text-3); }
.faq-item.open .faq-chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 220px; }
.faq-a p { padding: 0 16px 15px; font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* Leaflet default o'lchov chizig'ini yashirish */
.leaflet-control-attribution { font-size: 9px !important; opacity: 0.6; }

/* ════════════════════════════════════════════════════════════
   IXCHAM REJIM (v12) — hamma narsa kichikroq, joy tejaladi.
   Bitta blok: o'lchamni sozlash/qaytarish faqat shu yerda.
   ════════════════════════════════════════════════════════════ */
:root { --nav-h: 56px; }
body { font-size: 14px; }
h1 { font-size: 23px; }
h2 { font-size: 16px; }
h3 { font-size: 14.5px; }
.btn { padding: 12px 16px; font-size: 14px; border-radius: 13px; }
.btn-sm { padding: 8px 12px; font-size: 12.5px; }
.input, .textarea, .select { padding: 11px 13px; font-size: 14px; }
.input-lg { font-size: 15.5px; padding: 13px; }
.code-input { font-size: 26px; letter-spacing: 10px; }
.field { margin-bottom: 13px; }
.field label { font-size: 11.5px; margin-bottom: 5px; }
.chip { padding: 6px 13px; font-size: 12.5px; gap: 5px; }
.icon-btn { width: 36px; height: 36px; }
.topbar { padding: 10px 14px; }
.topbar .title { font-size: 16px; }
.bn-item { font-size: 9.5px; gap: 2px; }
.bn-item .ic { width: 20px; height: 20px; }
.bn-fab { width: 46px; height: 46px; margin-top: -16px; }
.bn-fab .ic { width: 20px; height: 20px; }

/* Bosh sahifa */
.home-top { padding: 10px 14px 2px; }
.hero { padding: 8px 14px 2px; }
.hero h1 { font-size: 24px; }
.hero p { font-size: 12.5px; margin-top: 6px; }
.hero-art { width: 78px; height: 78px; }
.search-bar { padding: 4px 4px 4px 14px; margin: 10px 14px 0; }
.search-bar input { font-size: 14.5px; }
.search-fbtn { width: 36px; height: 36px; }
.home-cats { margin: 12px 14px 0; }
.cat-grid { padding: 12px 8px; gap: 10px 4px; }
.cat-ic { width: 42px; height: 42px; border-radius: 13px; }
.cat-item span { font-size: 11px; }
.banner { padding: 12px; margin: 12px 14px; gap: 10px; }
.banner-ic { width: 36px; height: 36px; border-radius: 11px; }
.banner h3 { font-size: 13.5px; }
.banner p { font-size: 11px; }
.section-head { padding: 12px 14px 8px; }
.home-list { padding: 2px 14px 6px; gap: 8px; }
.biz-card { padding: 10px; border-radius: 15px; gap: 10px; }
.biz-thumb { width: 60px; height: 60px; border-radius: 12px; }
.bc-name { font-size: 15px; }
.bc-cat { font-size: 12px; }
.bc-meta { font-size: 12px; gap: 5px; margin-top: 4px; }
.stars { font-size: 13px; }

/* Karusel kartalari */
.pop-card { width: 144px; border-radius: 15px; }
.pop-img { height: 88px; }
.pop-logo { width: 30px; height: 30px; font-size: 9.5px; left: 8px; bottom: 8px; }
.pop-heart { width: 26px; height: 26px; }
.pop-body { padding: 8px 10px 10px; }

/* Xarita */
.map-ui-top.slim { padding: 8px 12px 4px; }
.map-ui-top.slim .map-search { padding: 7px 5px 7px 13px; }
.map-search input { font-size: 14px; }
.map-filter-inline { width: 30px; height: 30px; margin: -4px -8px -4px 0; }
.search-area-btn { top: 94px; font-size: 11px; padding: 7px 13px; }
.map-fabs { bottom: calc(var(--nav-h) + 52px); gap: 8px; }
.map-fabs .icon-btn { width: 36px; height: 36px; }
.map-sheet { transform: translateY(calc(100% - 40px)); }
.map-sheet.open { transform: translateY(0); }
.sheet-head { height: 40px; }
.sheet-grip2 { top: 5px; width: 34px; }
.sheet-title { font-size: 12.5px; margin-top: 5px; }
.sheet-title b { font-size: 13.5px; }
.picked-card { padding: 8px 10px; bottom: calc(var(--nav-h) + 48px); border-radius: 15px; gap: 8px; }
.bm-logo { width: 26px; height: 26px; font-size: 9px; border-width: 1.5px; }
.bm-label { padding: 2px 5px; border-radius: 6px; }
.bm-label .n { font-size: 9.5px; max-width: 88px; }
.route-card { padding: 8px 10px; top: 96px; }

/* Biznes sahifasi */
.detail-hero { height: 196px; }
.detail-card { padding: 14px 13px; margin: 8px 10px 0; }
.detail-name { font-size: 18.5px; }
.detail-stats { font-size: 12px; gap: 10px; margin-top: 9px; }
.detail-actions { margin-top: 12px; gap: 8px; }
.detail-actions .btn { padding: 10px; font-size: 12.5px; }
.dsection { padding: 13px; margin: 10px 10px 0; }
.contact-row { padding: 8px 0; font-size: 13px; }
.hours-row { font-size: 12.5px; padding: 7px 0; }
.review-item { padding: 9px 0; }
.rate-stars svg { width: 28px; height: 28px; }

/* Profil / Yordam */
.prof-head { padding: 14px; gap: 11px; }
.prof-ava { width: 50px; height: 50px; font-size: 18px; }
.prof-item { padding: 12px 14px; font-size: 13.5px; margin-bottom: 8px; }
.faq-q { padding: 12px 13px; font-size: 13px; }
.faq-a p { font-size: 12px; padding: 0 13px 12px; }

/* Wizard */
.wiz-body h1 { font-size: 19px !important; margin-bottom: 12px !important; }
.benefit-ic { width: 38px; height: 38px; border-radius: 11px; }
.benefit h3 { font-size: 13px; }
.benefit p { font-size: 11.5px; }
.he-row { padding: 8px 0; }
.he-day { font-size: 12.5px; }
.he-times input { width: 76px; font-size: 11.5px; padding: 7px 3px; }
.wiz-map-wrap { height: 220px; }
.logo-preview { width: 72px; height: 72px; }
.upload-box { height: 72px; font-size: 11px; }
.admin-stats { gap: 8px; }
.astat { padding: 10px; }
.astat .v { font-size: 18px; }

/* v20: asosiy sarlavhalar sal kattaroq (ko'z birinchi tushadigan joylar) */
.section-head h2 { font-size: 17px; }

/* v22: "Yo'l olish" — KATTA, ko'zga tashlanadigan, yaltiroq asosiy amal */
.btn-route-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 54px; margin-top: 14px;
  background: var(--blue-grad); color: #fff;
  font-size: 16.5px; font-weight: 800; letter-spacing: 0.2px;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(29, 78, 216, 0.3), 0 10px 26px rgba(37, 99, 235, 0.42),
              inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.btn-route-hero .ic { width: 21px; height: 21px; }
.btn-route-hero:active { transform: scale(0.97); }
@media (prefers-reduced-motion: no-preference) {
  /* yaltiroq nur tugma ustidan vaqti-vaqti bilan o'tib turadi */
  .btn-route-hero::after {
    content: ""; position: absolute; top: 0; bottom: 0; width: 46%;
    left: -60%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    animation: yj-shine 3.2s ease-in-out infinite;
  }
  @keyframes yj-shine {
    0%, 55% { left: -60%; }
    85%, 100% { left: 130%; }
  }
}

/* ════════════════════════════════════════════════════════════
   TIL TANLASH EKRANI (birinchi ochilish, v29) — kirishdan OLDIN,
   SMS'siz. Bir marta tanlanadi, eslab qolinadi.
   ════════════════════════════════════════════════════════════ */
#lang-gate {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  padding: 24px;
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  transition: opacity 0.26s ease;
}
#lang-gate.out { opacity: 0; pointer-events: none; }
.lg-box { width: min(100%, 330px); text-align: center; }
.lg-logo { font-size: 31px; font-weight: 800; letter-spacing: -0.6px; color: var(--text); }
.lg-logo span { color: var(--blue); }
.lg-title { margin: 24px 0 16px; font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.55; }
.lg-title span { font-size: 14.5px; color: var(--text-2); font-weight: 600; }
.lg-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 16px; margin-top: 12px;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow-card);
  font-family: var(--font); font-size: 16.5px; font-weight: 700; color: var(--text);
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.lg-btn:active { transform: scale(0.97); border-color: var(--blue); }
.lg-flag { font-size: 20px; line-height: 1; }

/* ════════════════════════════════════════════════════════════
   ILOVA REJIMI (standalone, v29): o'rnatilgan ilova sifatida
   ochilganda brauzer paneli bo'lmaydi — bo'shagan joy hisobiga
   shriftlar biroz kattaradi (cho'zilmaydi!), telefon "safe-area"
   (soat/quyma chegara) hurmat qilinadi. Brauzerda hech narsa
   o'zgarmaydi — graceful.
   ════════════════════════════════════════════════════════════ */
html.standalone #app { padding-top: env(safe-area-inset-top, 0px); }
html.standalone { --nav-h: calc(56px + env(safe-area-inset-bottom, 0px)); }
html.standalone .bottom-nav { padding-bottom: env(safe-area-inset-bottom, 0px); }

html.standalone body { font-size: 15px; }
html.standalone h1 { font-size: 24.5px; }
html.standalone h2 { font-size: 17px; }
html.standalone h3 { font-size: 15px; }
html.standalone .bc-name { font-size: 16px; }
html.standalone .section-head h2 { font-size: 18px; }
html.standalone .detail-name { font-size: 19.5px; }
html.standalone .sheet-title { font-size: 13px; }
html.standalone .sheet-title b { font-size: 14px; }
html.standalone .input, html.standalone .select { font-size: 15px; }
html.standalone .bm-label .n { font-size: 10px; max-width: 96px; }
html.standalone .cat-item span { font-size: 11.5px; }
html.standalone .bottom-nav span { font-size: 11px; }

/* Yetib borish vaqti — kichkina, ko'zga tashlanadigan lekin halaqit
   bermaydigan yozuv (profil sahifasi, v30) */
.eta-note { color: var(--text-3); font-weight: 600; margin-left: 4px; white-space: nowrap; }

/* ════════════════════════════════════════════════════════════
   KENG QAMROVLI FILTR PANELI (v31) — pastdan chiqadigan oyna:
   masofa (1/3/10 km) + kategoriya + saralash + hozir ochiq.
   ════════════════════════════════════════════════════════════ */
#fs-wrap { position: fixed; inset: 0; z-index: 320; }
#fs-wrap .fs-back {
  position: absolute; inset: 0; background: rgba(10, 15, 30, 0.45);
  opacity: 0; transition: opacity 0.24s ease;
}
#fs-wrap .fs-panel {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-width: var(--page-max); margin: 0 auto;
  background: var(--bg-card); border-radius: 20px 20px 0 0;
  border-top: 1px solid var(--border);
  padding: 18px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.25);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  max-height: 78dvh; overflow-y: auto;
}
#fs-wrap.on .fs-back { opacity: 1; }
#fs-wrap.on .fs-panel { transform: translateY(0); }
.fs-title { font-size: 16.5px; margin: 2px 0 4px; }
.fs-sec { margin-top: 14px; }
.fs-sec label { display: block; font-size: 12px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.fs-chips { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.fs-chips::-webkit-scrollbar { display: none; }
.fs-chips.wrap { flex-wrap: wrap; overflow: visible; }
.fs-chips .chip { flex: none; }
.fs-actions { display: flex; gap: 10px; margin-top: 20px; }
.fs-actions .btn-ghost { flex: 1; }
.fs-actions .btn-primary { flex: 1.7; }

/* Filtr tugmasidagi faol mezonlar soni */
.map-filter-inline { position: relative; }
.fbadge {
  position: absolute; top: -4px; right: -4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--red); color: #fff;
  font-size: 9.5px; font-weight: 800; line-height: 16px;
  border-radius: 999px; text-align: center;
  border: 2px solid var(--bg-card); box-sizing: content-box;
}

/* ════════════════════════════════════════════════════════════
   TO'LIQ EKRAN RASM KO'RUVCHI (v32) — Samsung galereya uslubi.
   Rasm ustiga bosilganda: original formatda (kesilmaydi), suriladi,
   tepada hisobchi, pastda dumaloq nuqtalar.
   ════════════════════════════════════════════════════════════ */
#pv-wrap {
  position: fixed; inset: 0; z-index: 380;
  background: rgba(4, 7, 14, 0.97);
  opacity: 0; transition: opacity 0.22s ease;
}
#pv-wrap.on { opacity: 1; }
body.pv-lock { overflow: hidden; }
.pv-track {
  position: absolute; inset: 0;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.pv-track::-webkit-scrollbar { display: none; }
.pv-slide {
  width: 100%; height: 100%; flex: none;
  display: flex; align-items: center; justify-content: center;
  scroll-snap-align: start; scroll-snap-stop: always;
  padding: 58px 0 68px;
}
.pv-slide img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;  /* rasm QANDAY tushirilgan bo'lsa — shu formatda */
  border-radius: 10px;  /* v33: burchaklar yumaloq */
  transform: scale(0.97); transition: transform 0.25s ease;
}
#pv-wrap.on .pv-slide img { transform: scale(1); }
.pv-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  display: flex; align-items: center; justify-content: center;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 10px;
  pointer-events: none;
}
.pv-count {
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.14); border-radius: 999px;
  padding: 5px 13px; backdrop-filter: blur(6px);
}
.pv-x {
  position: absolute; right: 12px; top: calc(8px + env(safe-area-inset-top, 0px));
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.14); color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); pointer-events: auto;
}
.pv-dots {
  position: absolute; left: 0; right: 0; z-index: 4;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; justify-content: center; gap: 7px; pointer-events: none;
}
.pv-dots span {
  width: 6.5px; height: 6.5px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.4); transition: all 0.2s ease;
}
.pv-dots span.on { background: #fff; transform: scale(1.35); }

/* ════════════════════════════════════════════════════════════
   DARHOL TAKLIF (autocomplete dropdown, v38) — qidiruv qutisi ostida
   ════════════════════════════════════════════════════════════ */
.sug-box {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-float);
  overflow: hidden; max-height: 60vh; overflow-y: auto;
  display: none;
}
.sug-box.on { display: block; animation: fadeIn 0.14s ease; }
.sug-item {
  width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 11px 13px; text-align: left;
  border-bottom: 1px solid var(--border); background: none;
}
.sug-item:last-child { border-bottom: 0; }
.sug-item:active { background: var(--bg-input); }
.sug-ic {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--blue-soft); color: var(--blue);
  font-size: 11px; font-weight: 800;
}
.sug-ic.ph { background: var(--bg-input); color: var(--text-2); }
.sug-ic img { width: 100%; height: 100%; object-fit: cover; }
.sug-tx { min-width: 0; display: flex; flex-direction: column; }
.sug-tx b { font-size: 14px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-tx i { font-size: 11.5px; color: var(--text-3); font-style: normal; margin-top: 1px; }

/* Ixtiyoriy maydon yorlig'i (v39) */
.opt { font-size: 11px; font-weight: 600; color: var(--text-3); }

/* Egalik tasdig'i ogohlantirishi (biznes qo'shish oxiri, v39) */
.own-warn {
  margin-top: 4px; padding: 13px 14px;
  background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 14px;
}
.own-warn-top { display: flex; align-items: center; gap: 8px; color: var(--yellow); }
.own-warn-top .ic-sm { flex: none; }
.own-warn-top b { font-size: 13.5px; color: var(--text); }
.own-warn p { font-size: 12.5px; color: var(--text-2); margin-top: 7px; line-height: 1.5; }

/* ════════════════════════════════════════════════════════════
   ☰ MENYU PANELI (v40) — o'ngdan chiqadi (biznes va xizmatlar)
   ════════════════════════════════════════════════════════════ */
#app-menu { position: fixed; inset: 0; z-index: 350; }
#app-menu .mnu-back {
  position: absolute; inset: 0; background: rgba(10, 15, 30, 0.45);
  opacity: 0; transition: opacity 0.26s ease;
}
#app-menu .mnu-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(84%, 340px); background: var(--bg-card);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.25);
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top, 0px);
}
#app-menu.on .mnu-back { opacity: 1; }
#app-menu.on .mnu-panel { transform: translateX(0); }
.mnu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 14px 12px 18px; border-bottom: 1px solid var(--border);
}
.mnu-head b { font-size: 17px; }
.mnu-body { flex: 1; overflow-y: auto; padding: 8px 12px 20px; }
.mnu-sec {
  font-size: 11px; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.4px;
  padding: 14px 6px 6px;
}
.mnu-item {
  width: 100%; display: flex; align-items: center; gap: 12px;
  padding: 13px 10px; border-radius: 12px; background: none;
  font-size: 14.5px; font-weight: 600; color: var(--text); text-align: left;
}
.mnu-item:active { background: var(--bg-input); }
.mnu-item[disabled] { opacity: 0.55; pointer-events: none; }
.mnu-item.adm { color: var(--blue); }
.mnu-ic {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft); color: var(--blue);
}
.mnu-item.adm .mnu-ic { background: rgba(37, 99, 235, 0.16); }
.mnu-item .chevR, .mnu-item .ic-sm { color: var(--text-3); }
.mnu-soon {
  font-size: 10px; font-weight: 800; color: var(--text-3);
  background: var(--bg-input); border-radius: 999px; padding: 3px 8px;
}

/* ════════════════════════════════════════════════════════════
   MARKETING CHAQIRUV (Mening bizneslarim — bo'sh holat, v40)
   ════════════════════════════════════════════════════════════ */
.biz-cta { text-align: center; padding: 34px 22px 20px; max-width: 440px; margin: 0 auto; }
.biz-cta-ic {
  width: 78px; height: 78px; border-radius: 22px; margin: 0 auto 18px;
  background: var(--blue-grad, linear-gradient(135deg, #2563eb, #3b82f6)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.4);
}
.biz-cta-ic .ic { width: 40px; height: 40px; }
.biz-cta h2 { font-size: 21px; line-height: 1.25; }
.biz-cta p { color: var(--text-2); font-size: 14px; margin-top: 10px; line-height: 1.5; }
.biz-cta-perks { display: flex; flex-direction: column; gap: 10px; margin: 20px auto 0; max-width: 300px; text-align: left; }
.biz-cta-perks .perk {
  display: flex; align-items: center; gap: 11px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 13px; padding: 11px 13px; font-size: 13.5px; font-weight: 600;
  box-shadow: var(--shadow-card);
}
.biz-cta-perks .perk .ic-sm { color: var(--blue); flex: none; }
.biz-cta .btn-primary { max-width: 300px; margin-inline: auto; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: yj-shine 3s ease-in-out infinite;
}
.biz-cta-free { font-size: 12px; color: var(--text-3); margin-top: 12px; }

/* Joylashuv chaqiruvi (v41) — GPS aniqlanmaса bosh sahifada ko'rinadi */
.loc-prompt {
  margin: 8px 16px 0; padding: 12px 14px;
  background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.28);
  border-radius: 14px;
}
.loc-prompt.hide { display: none; }
.lp-txt { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.lp-txt .ic-sm { color: var(--blue); flex: none; }
.lp-btns { display: flex; gap: 8px; margin-top: 10px; }
.lp-btns .btn-sm { flex: 1; }

/* ════════════════════════════════════════════════════════════
   v42 — "TOPISH" markazi + 5-bo'limli pastki panel (ko'tarilgan o'rta)
   ════════════════════════════════════════════════════════════ */
/* Pastki panel: 5 ta teng bo'lim, o'rtada KO'TARILGAN "Topish" tugmasi */
.bn5 { justify-content: space-around; }
.bn5 .bn-item { flex: 1; }
.bn5 .bn-center {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  background: none; border: 0; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bn5 .bn-center .bn-fab {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.45);
  margin-top: -20px; border: 4px solid var(--bg);
  transition: transform 0.15s ease;
}
.bn5 .bn-center:active .bn-fab { transform: scale(0.93); }
.bn5 .bn-center .bn-fab svg { width: 26px; height: 26px; }
.bn5 .bn-center .bn-lbl { font-size: 10px; font-weight: 800; color: var(--blue); margin-top: 3px; }

/* Topish — tepa: sarlavha + "Xaritada" + katta qidiruv */
.tp-top { padding: 14px 14px 4px; }
.tp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.tp-head b { font-size: 21px; font-weight: 800; color: var(--text); }
.tp-map {
  display: flex; align-items: center; gap: 6px; cursor: pointer;
  background: var(--blue-soft); color: var(--blue); border: 0;
  padding: 8px 12px; border-radius: 11px; font-size: 12.5px; font-weight: 700;
}
.tp-map svg { width: 16px; height: 16px; }
.tp-search {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 12px 13px;
}
.tp-search > svg { width: 20px; height: 20px; color: var(--text-3); flex: none; }
.tp-search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 15px; color: var(--text); }
.tp-search input::placeholder { color: var(--text-3); }
.tp-clear { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 0; background: transparent; color: var(--text-3); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tp-clear svg { width: 16px; height: 16px; }
.tp-clear.hide { display: none; }
.tp-cnt { font-size: 12.5px; color: var(--text-3); font-weight: 600; }

/* Kategoriyalar — yonboshga uzun siljiydigan qator */
.cat-strip { display: flex; gap: 12px; overflow-x: auto; padding: 13px 14px 14px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-chip { flex: none; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 66px; background: none; border: 0; padding: 0; cursor: pointer; }
.cat-chip .cw { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; transition: box-shadow 0.15s ease; }
.cat-chip .cw svg { width: 22px; height: 22px; }
.cat-chip span { font-size: 11px; color: var(--text-2); font-weight: 600; max-width: 66px;
  line-height: 1.22; min-height: 2.44em; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-align: center; }
.cat-chip.on .cw { box-shadow: 0 0 0 2.5px var(--blue); }
.cat-chip.on span { color: var(--blue); }

/* Topish ro'yxati kartasi — kichik amal tugmalari (qo'ng'iroq + yo'l) */
.find-card { align-items: center; }
.fc-actions { flex: none; display: flex; align-items: center; gap: 8px; }
.fc-b { width: 40px; height: 40px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer; transition: transform 0.15s ease; }
.fc-b svg { width: 19px; height: 19px; }
.fc-b.call { background: rgba(22, 163, 74, 0.13); color: #16a34a; }
.fc-b.route { background: var(--blue-soft); color: var(--blue); }
.fc-b:active { transform: scale(0.9); }

/* ════════════════════════════════════════════════════════════
   v44 — SOZLAMALAR: til + ko'rinish (rang) tanlash
   ════════════════════════════════════════════════════════════ */
.set-sec { display: flex; align-items: center; gap: 8px; margin: 20px 2px 0;
  font-size: 12px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--text-3); }
.set-sec svg { width: 16px; height: 16px; color: var(--text-3); }
.set-hint { font-size: 12.5px; color: var(--text-3); margin: 5px 2px 0; }
.set-opts { display: flex; flex-direction: column; gap: 9px; margin-top: 10px; }
.set-opt { display: flex; align-items: center; gap: 12px; cursor: pointer; width: 100%; text-align: left;
  background: var(--bg-card); border: 2px solid var(--border); border-radius: 14px;
  padding: 13px 15px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.set-opt.on { border-color: var(--blue); }
.set-flag { font-size: 22px; line-height: 1; }
.set-check { color: var(--blue); display: flex; }
.set-check.inline { display: inline-flex; vertical-align: middle; margin-left: 4px; }
.set-themes { display: flex; gap: 12px; margin-top: 10px; }
.set-theme { flex: 1; cursor: pointer; background: var(--bg-card);
  border: 2px solid var(--border); border-radius: 16px; padding: 9px;
  display: flex; flex-direction: column; gap: 9px; }
.set-theme.on { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.set-prev { height: 74px; border-radius: 11px; padding: 10px;
  display: flex; flex-direction: column; gap: 7px; border: 1px solid rgba(0, 0, 0, 0.06); }
.set-prev.light { background: #eef1f8; }
.set-prev.dark { background: #0f1420; border-color: #243049; }
.sp-bar { width: 38px; height: 9px; border-radius: 5px; background: #2563eb; }
.sp-card { height: 13px; border-radius: 5px; }
.sp-card.short { width: 62%; }
.set-prev.light .sp-card { background: #ffffff; }
.set-prev.dark .sp-card { background: #1b2233; }
.set-tl { font-size: 13px; font-weight: 700; color: var(--text); text-align: center; }

/* v46 — "Mening bizneslarim" bo'sh holati: add-intro bilan bir xil, tepada
   aniq "biznes yo'q" sarlavhasi */
.nobiz-hero { text-align: center; }
.nobiz-ic { width: 66px; height: 66px; margin: 0 auto 12px; border-radius: 19px;
  background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.nobiz-ic svg { width: 33px; height: 33px; }
.nobiz-hero h1 { font-size: 22px; }

/* v49 — kategoriya qatori "Davlat xizmatlari" kengayish animatsiyasi */
@keyframes chipIn { from { opacity: 0; transform: translateX(-14px) scale(0.9); } to { opacity: 1; transform: none; } }
.cat-chip.anim { animation: chipIn 0.34s cubic-bezier(0.2, 0.9, 0.3, 1) backwards; }
.chip.anim { animation: chipIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1) backwards; }
.chip.chip-gov { background: var(--blue-soft); color: var(--blue); font-weight: 700; }

/* v52 — Brend (ko'p filial) intro va filiallar */
.biz-intro-hero { text-align: center; padding: 22px 0 6px; }
.biz-intro-hero .bih-badge { width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, #2563EB, #3B82F6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px; box-shadow: 0 10px 26px rgba(37, 99, 235, .32); }
.biz-intro-hero .bih-badge svg { width: 30px; height: 30px; }
.biz-intro-hero h1 { font-size: 23px; margin-bottom: 8px; }
.biz-intro-hero p { color: var(--muted); font-size: 14.5px; line-height: 1.6;
  max-width: 340px; margin: 0 auto; }
.bih-benefits { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.bih-b { display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px;
  font-size: 14.5px; font-weight: 500; }
.bih-b svg { color: var(--blue); flex: none; }

/* v53 — E-IMZO bilan tasdiqlash bloki */
.eimzo-box { border: 1px solid var(--blue); background: var(--blue-soft); }
.eimzo-box .own-warn-top { display: flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--blue); }
.eimzo-box .own-warn-top svg { flex: none; }

/* v56 — ogohlantirish kartasi va rozilik qatori */
.warn-card { background: #FFF7ED; border: 1px solid #FDBA74; border-radius: 16px;
  padding: 16px 18px; }
[data-theme="dark"] .warn-card { background: rgba(249,115,22,.10); border-color: rgba(249,115,22,.35); }
.warn-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
  font-size: 15px; color: #C2410C; }
[data-theme="dark"] .warn-card-top { color: #FDBA74; }
.warn-card-top svg { flex: none; }
.warn-card p { font-size: 13.5px; line-height: 1.65; color: var(--text);
  margin-bottom: 8px; }
.warn-card p:last-child { margin-bottom: 0; }
.agree-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px;
  font-size: 14px; line-height: 1.5; cursor: pointer; }
.agree-row input { width: 20px; height: 20px; flex: none; margin-top: 1px;
  accent-color: var(--blue); }

/* v56 — KABINET */
.cab-head { padding: 4px 0 14px; }
.cab-head h1 { font-size: 24px; margin-bottom: 4px; }
.cab-head p { font-size: 13.5px; color: var(--muted); }
.cab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 18px; }
.cab-stat { background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 10px; text-align: center; }
.cab-stat .v { font-size: 20px; font-weight: 700; color: var(--blue); }
.cab-stat .l { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cab-sec { display: flex; align-items: center; justify-content: space-between;
  margin: 18px 0 10px; }
.cab-sec h3 { font-size: 15px; font-weight: 600; }
.cab-card { background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.cab-row { display: flex; align-items: center; gap: 12px; }
.cab-row .grow { min-width: 0; }
.cab-name { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cab-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cab-bar { height: 6px; border-radius: 99px; background: var(--bg-input);
  margin: 12px 0 6px; overflow: hidden; }
.cab-bar i { display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #2563EB, #3B82F6); transition: width .4s ease; }
.cab-bar.full i { background: linear-gradient(90deg, #16A34A, #22C55E); }
.cab-miss { font-size: 12px; color: var(--muted); }
.cab-miss b { color: var(--text); font-weight: 600; }
.cab-acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.cab-acts .btn { flex: 1; min-width: 92px; }
.cab-tip { font-size: 12.5px; color: var(--muted); background: var(--bg-input);
  border-radius: 12px; padding: 10px 12px; margin-top: 4px; }

/* ═══════════ v57 — BIZNES KABINETI (alohida rejim) ═══════════ */
.cab-app { min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--bg); }
.cab-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-top)) 12px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: var(--surface); border-bottom: 1px solid var(--border); }
.cab-top-t { flex: 1; text-align: center; line-height: 1.15; }
.cab-top-t b { display: block; font-size: 16px; }
.cab-top-t span { font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.cab-main { flex: 1; padding: 14px 14px calc(84px + env(safe-area-inset-bottom)); }

/* pastki panel — mijoz panelidan FARQLI (to'q, konsol hissi) */
.cab-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #0F1729; border-top: 1px solid rgba(255,255,255,.08);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px rgba(15,23,41,.18); }
.cab-nav-i { display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 2px 8px; background: none; border: 0; cursor: pointer;
  color: #8A97AD; font-size: 10.5px; font-weight: 600; }
.cab-nav-i svg { width: 21px; height: 21px; }
.cab-nav-i.on { color: #fff; }
.cab-nav-i.on svg { color: #60A5FA; }

/* hero — asosiy raqam + mini grafik */
.cab-hero { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: #fff;
  border-radius: 20px; padding: 18px 18px 14px; margin-bottom: 14px;
  box-shadow: 0 10px 28px rgba(37,99,235,.28); }
.cab-hero-l { font-size: 12px; opacity: .85; font-weight: 600; letter-spacing: .04em; }
.cab-hero-v { font-size: 40px; font-weight: 800; line-height: 1.05; margin: 2px 0 4px;
  font-variant-numeric: tabular-nums; }
.cab-hero-s { font-size: 12.5px; opacity: .9; }
.cab-hero-s b { font-weight: 700; }
.cab-spark { display: flex; align-items: flex-end; gap: 2px; height: 40px; margin-top: 12px; }
.cab-spark i { flex: 1; background: rgba(255,255,255,.5); border-radius: 2px 2px 0 0;
  min-height: 2px; }
.cab-spark i.z { background: rgba(255,255,255,.18); }
.cab-spark i:last-child { background: #fff; }
.cab-spark.empty { align-items: center; justify-content: center;
  border-bottom: 2px solid rgba(255,255,255,.22); }
.cab-spark.empty span { font-size: 11.5px; opacity: .75; }

/* KPI setka */
.cab-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 6px; }
.cab-kpi { display: flex; align-items: center; gap: 10px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 12px; }
.cab-kpi-ic { width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center; }
.cab-kpi b { display: block; font-size: 18px; font-weight: 700; line-height: 1.1;
  font-variant-numeric: tabular-nums; }
.cab-kpi span { font-size: 11.5px; color: var(--muted); }

.cab-h { font-size: 14px; font-weight: 600; margin: 20px 0 10px; }

/* e'tibor kartalari */
.cab-att { width: 100%; display: flex; align-items: center; gap: 11px; text-align: left;
  background: var(--surface); border: 1px solid var(--border); border-left-width: 3px;
  border-radius: 14px; padding: 12px; margin-bottom: 8px; cursor: pointer; }
.cab-att.bad { border-left-color: #EF4444; }
.cab-att.wait { border-left-color: #F59E0B; }
.cab-att.info { border-left-color: #2563EB; }
.cab-att-ic { width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-input); color: var(--muted); }
.cab-att.bad .cab-att-ic { background: rgba(239,68,68,.12); color: #EF4444; }
.cab-att.wait .cab-att-ic { background: rgba(245,158,11,.14); color: #D97706; }
.cab-att.info .cab-att-ic { background: var(--blue-soft); color: var(--blue); }
.cab-att b { display: block; font-size: 14px; }
.cab-att-t { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.cab-att-s { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cab-ok { display: flex; align-items: center; gap: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.cab-ok svg { width: 30px; height: 30px; color: #16A34A; flex: none; }
.cab-ok b { font-size: 14.5px; }
.cab-ok p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.cab-quick { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cab-quick .btn { flex: 1; min-width: 150px; }

.cab-user { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cab-user h2 { font-size: 17px; }

.cab-soon { text-align: center; padding: 48px 20px; }
.cab-soon svg { width: 40px; height: 40px; color: var(--text-3); }
.cab-soon b { display: block; font-size: 17px; margin: 12px 0 6px; }
.cab-soon p { font-size: 13.5px; color: var(--muted); line-height: 1.6;
  max-width: 300px; margin: 0 auto 18px; }

@media (min-width: 900px) {
  .cab-top { padding: 14px 24px; }
  .cab-top-t { text-align: left; }
  .cab-main { max-width: 1060px; margin: 0 auto; width: 100%;
    padding: 22px 24px calc(96px + env(safe-area-inset-bottom)); }
  /* Desktop = ZICHLIK: bir ustun ikkitaga bo'linadi, element kattalashmaydi */
  .cab-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: start; }
  .cab-h { margin-top: 0; }
  .cab-hero-v { font-size: 44px; }
  /* pastki panel FIXED va to'liq kenglikda qoladi — o'rtada suzmaydi */
  .cab-nav { grid-template-columns: repeat(5, 116px); justify-content: center; }
}

/* v57 — kabinet konsol rejimi: katta ekranda telefon ramkasidan chiqadi */
body.cab-mode #app { max-width: 100%; box-shadow: none; }


/* v58 — manzil takliflari ro'yxati XARITA ustida turishi uchun ota-element
   ham alohida qatlam hosil qilishi kerak (Leaflet panellari 200-800 da) */
.wiz-body .field:has(> .addr-suggest) { position: relative; z-index: 3; }
/* v58 — xarita qidiruv takliflari pastki varaq ostida qolib ketmasin */
.map-ui-top { z-index: 30 !important; }
.sug-box { z-index: 41 !important; }

/* v59 — guruh nomlari uzunroq: bitta qator o'rniga IKKI qatorgacha
   (oldin "Salomatli..." bo'lib qirqilib qolardi) */
.cat-item span {
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
  min-height: 2.5em;
  text-overflow: unset;
}

/* ═══════════════════════════════════════════════════════════════
   v59 — ADMIN KONSOLI + GRAFIKLAR
   Maket: telefonda bitta ustun (tepada gorizontal tab), 1024px dan
   boshlab CHAP YON PANEL + keng kontent (zichlik ortadi, o'lchamlar
   kattalashmaydi — bu "kompyuterda multfilm" ko'rinishining oldini oladi).
   ═══════════════════════════════════════════════════════════════ */
body.adm-mode #app { max-width: 100%; box-shadow: none; }

.adm-app { min-height: 100dvh; background: var(--bg); }
.adm-side { display: none; }
.adm-main { min-width: 0; }

.adm-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  gap: 10px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top));
  background: var(--nav-bg); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line); }
.adm-top-t { flex: 1; min-width: 0; line-height: 1.15; }
.adm-top-t b { display: block; font-size: 16px; font-weight: 700; letter-spacing: -0.2px;
  color: var(--text); }
.adm-top-t span { font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-3); }
.adm-who { flex: none; font-size: 12px; font-weight: 600; color: var(--text-3);
  padding: 5px 10px; border-radius: var(--r-full); background: var(--bg-input); }

.adm-mtabs { padding: 10px 12px 2px; }
.adm-body { padding: 12px 14px 40px; display: flex; flex-direction: column; gap: 14px; }

/* ── Bosh ekran: gero + navbat ── */
.adm-hero { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 8px;
  border-radius: var(--r-lg); background: var(--bg-navy); color: #fff;
  box-shadow: var(--shadow-card); overflow: hidden; }
.adm-hero .eyebrow { display: block; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.adm-hero-l b { display: block; font-size: 34px; font-weight: 700; letter-spacing: -1px;
  font-variant-numeric: tabular-nums; margin-top: 2px; }
.adm-hero-l p { font-size: 12.5px; color: rgba(255,255,255,.72); margin-top: 2px; }
.adm-hero-r { margin: 0 -16px -8px; opacity: .9; }
.adm-hero-r .ch { width: 100%; height: 96px; display: block; }

.adm-todo { display: grid; gap: 8px; }
.adm-td { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 11px 13px; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--bg-card); cursor: pointer; box-shadow: var(--shadow-card); }
.adm-td b { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums;
  min-width: 26px; color: var(--blue); }
.adm-td span { flex: 1; font-size: 13.5px; font-weight: 600; color: var(--text); }
.adm-td svg { color: var(--text-3); }
.adm-td.warn b { color: var(--yellow); }
.adm-td.bad b { color: var(--red); }
.adm-allgood { display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px; border-radius: var(--r-md); background: var(--green-soft);
  color: var(--green); font-size: 13.5px; font-weight: 600; }
.adm-allgood svg { width: 20px; height: 20px; }

.adm-more { display: flex; align-items: center; gap: 9px; width: 100%; padding: 13px 15px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-card);
  font-size: 13.5px; font-weight: 600; color: var(--text); cursor: pointer; }
.adm-more span { flex: 1; text-align: left; }
.adm-more svg:first-child { color: var(--blue); }
.adm-more svg:last-child { color: var(--text-3); }

/* ── KPI to'r ── */
.adm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.adm-kpi { padding: 12px 13px; border-radius: var(--r-md); background: var(--bg-card);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.adm-kpi .l { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--text-3); }
.adm-kpi .v { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums; color: var(--text); margin-top: 3px; }
.adm-kpi .s { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.adm-kpi.warn .v { color: var(--yellow); }

/* ── Karta ── */
.adm-card { padding: 14px; border-radius: var(--r-lg); background: var(--bg-card);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.adm-ch { margin-bottom: 12px; }
.adm-ch h3 { font-size: 14px; font-weight: 700; letter-spacing: -0.2px; color: var(--text); }
.adm-ch p { font-size: 12px; line-height: 1.45; color: var(--text-3); margin-top: 3px; }
.adm-two { display: grid; gap: 14px; }
.adm-empty { padding: 16px 2px; font-size: 12.5px; color: var(--text-3); text-align: center; }
.adm-note { font-size: 12.5px; color: var(--text-2); margin-bottom: 8px; }
.adm-note b { font-variant-numeric: tabular-nums; }
.adm-gen { font-size: 11px; color: var(--text-3); text-align: center; padding: 2px 0 6px; }

/* ── Davr tanlagich ── */
.adm-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: var(--r-full);
  background: var(--bg-input); border: 1px solid var(--line); }
.seg button { padding: 6px 13px; border: 0; background: none; border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 600; color: var(--text-3); cursor: pointer;
  transition: color .16s ease, background .16s ease; }
.seg button.on { background: var(--bg-card); color: var(--text);
  box-shadow: 0 1px 2px rgba(15,23,42,.10); }

/* ── Legenda ── */
.adm-leg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }
.adm-leg span { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px;
  font-weight: 600; color: var(--text-2); }
.adm-leg i { width: 9px; height: 9px; border-radius: 3px; }

/* ── Jadval ── */
.adm-tw { overflow-x: auto; margin: 0 -14px -14px; padding: 0 14px 14px; }
.adm-tb { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.adm-tb th { text-align: right; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-3); padding: 0 0 8px 12px;
  white-space: nowrap; border-bottom: 1px solid var(--line); }
.adm-tb th:first-child { text-align: left; padding-left: 0; }
.adm-tb td { text-align: right; padding: 9px 0 9px 12px; color: var(--text-2);
  font-variant-numeric: tabular-nums; white-space: nowrap;
  border-bottom: 1px solid var(--line); }
.adm-tb td:first-child { text-align: left; padding-left: 0; }
.adm-tb tr:last-child td { border-bottom: 0; }
.adm-tb td.nm { color: var(--text); font-weight: 600; max-width: 220px;
  overflow: hidden; text-overflow: ellipsis; }
.adm-tb td.mut, .adm-tb .mut { color: var(--text-3); font-weight: 500; font-style: normal; }
.pill { display: inline-block; padding: 2px 8px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 700; }
.pill.bad { background: rgba(220,38,38,.12); color: var(--red); }

/* ── Halqalar (sifat) ── */
.adm-rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 4px;
  justify-items: center; }
.adm-rg { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.adm-rg span { font-size: 11px; font-weight: 600; color: var(--text-3); text-align: center; }
.ch-ring-v { font-size: 19px; font-weight: 700; fill: var(--text);
  font-variant-numeric: tabular-nums; }

/* ── Moderatsiya ro'yxati ── */
.adm-ml { display: flex; flex-direction: column; }
.adm-mr { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid var(--line); }
.adm-mr:last-child { border-bottom: 0; }
.adm-mr span { font-size: 12.5px; color: var(--text-2); }
.adm-mr b { font-size: 14px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; }

/* ── Eksport ── */
.adm-ex { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-ex .btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }

/* ── Katalog daraxti ── */
.adm-tree { border-bottom: 1px solid var(--line); }
.adm-tree:last-child { border-bottom: 0; }
.adm-tree > summary { display: flex; align-items: center; gap: 10px; padding: 11px 2px;
  cursor: pointer; list-style: none; }
.adm-tree > summary::-webkit-details-marker { display: none; }
.adm-tree > summary b { font-size: 13.5px; font-weight: 600; color: var(--text);
  text-align: left; }
.tr-ic { width: 30px; height: 30px; border-radius: 9px; display: flex; flex: none;
  align-items: center; justify-content: center; }
.tr-n { font-size: 11px; font-weight: 700; color: var(--text-3); padding: 2px 7px;
  border-radius: var(--r-full); background: var(--bg-input); }
.tr-v { min-width: 40px; text-align: right; font-size: 13px; font-weight: 700;
  color: var(--blue); font-variant-numeric: tabular-nums; }
.adm-trow { display: flex; align-items: center; gap: 9px; padding: 7px 2px 7px 40px;
  font-size: 12.5px; color: var(--text-2); }
.adm-trow.zero { color: var(--text-3); }
.tr-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.tr-b { font-size: 12px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; }
.adm-trow.zero .tr-b { color: var(--text-3); font-weight: 500; font-size: 11.5px; }

/* ── Yon paneldagi nishon ── */
.adm-badge { flex: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px;
  text-align: center; }

/* ═══════════ GRAFIKLAR (charts.js) ═══════════ */
.ch { width: 100%; display: block; overflow: visible; }
.ch-ax { font-size: 10px; font-weight: 600; fill: var(--text-3); }
.ch-spark { width: 100%; height: 34px; display: block; }
.gm-l { font-size: 9.5px; font-weight: 700; fill: var(--text-2); }
.gm-v { font-size: 10px; font-weight: 700; fill: #fff; }
.gm-p { transition: opacity .16s ease; }
.gm:hover .gm-p { opacity: .5; }
.gm .gm-p:hover { opacity: 1; }

.ch-rank { display: flex; flex-direction: column; }
.ch-rk { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 0;
  border: 0; background: none; text-align: left; font: inherit; color: inherit; }
button.ch-rk { cursor: pointer; }
button.ch-rk:hover .ch-rk-t b { color: var(--blue); }
.ch-no { flex: none; width: 20px; font-size: 11px; font-weight: 700; color: var(--text-3);
  font-variant-numeric: tabular-nums; }
.ch-rk-b { flex: 1; min-width: 0; }
.ch-rk-t { display: flex; align-items: baseline; gap: 7px; min-width: 0; }
.ch-rk-t b { font-size: 12.5px; font-weight: 600; color: var(--text); overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.ch-rk-t i { font-size: 11px; font-style: normal; color: var(--text-3); flex: none; }
.ch-rk-tr { display: block; height: 5px; margin-top: 5px; border-radius: 3px;
  background: var(--bg-input); overflow: hidden; }
.ch-rk-fill { display: block; height: 100%; border-radius: 3px;
  transition: width .4s cubic-bezier(.2,.9,.3,1); }
.ch-val { flex: none; font-size: 12.5px; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }

/* ═══════════ DESKTOP: konsol maketi ═══════════ */
@media (min-width: 1024px) {
  .adm-app { display: grid; grid-template-columns: 246px minmax(0, 1fr); }
  .adm-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0;
    height: 100dvh; padding: 18px 12px; background: var(--bg-card);
    border-right: 1px solid var(--line); }
  .adm-brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 16px; }
  .adm-brand b { display: block; font-size: 14px; font-weight: 700; color: var(--text);
    letter-spacing: -0.2px; }
  .adm-brand span { display: block; font-size: 10.5px; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
  .adm-nav { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
  .adm-ng { padding: 14px 10px 5px; font-size: 10px; font-weight: 700;
    letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-3); }
  .adm-ni { display: flex; align-items: center; gap: 10px; padding: 9px 10px;
    border: 0; border-radius: var(--r-sm); background: none; cursor: pointer;
    font-size: 13px; font-weight: 600; color: var(--text-2); text-align: left;
    transition: background .15s ease, color .15s ease; }
  .adm-ni:hover { background: var(--bg-input); color: var(--text); }
  .adm-ni.on { background: var(--blue-soft); color: var(--blue); }
  .adm-ni svg { flex: none; }
  .adm-exit { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 0;
    border-radius: var(--r-sm); background: none; cursor: pointer; font-size: 12.5px;
    font-weight: 600; color: var(--text-3); }
  .adm-exit:hover { background: var(--bg-input); color: var(--text); }
  .adm-mtabs, .adm-back { display: none; }
  .adm-top { padding: 16px 28px; }
  .adm-top-t b { font-size: 20px; letter-spacing: -0.4px; }
  .adm-body { padding: 20px 28px 56px; gap: 18px; max-width: 1240px; }
  .adm-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .adm-two { grid-template-columns: 1fr 1fr; }
  .adm-todo { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
  .adm-hero { flex-direction: row; align-items: center; gap: 28px; padding: 22px 26px; }
  .adm-hero-l { flex: none; min-width: 190px; }
  .adm-hero-r { flex: 1; margin: 0 -10px -10px 0; }
  .adm-card { padding: 18px 20px; }
  .adm-rings { grid-template-columns: repeat(6, 1fr); }
  .adm-tw { margin: 0 -20px -18px; padding: 0 20px 18px; }
  /* v70: kompyuterda parol/telefon maydonlari butun kartani bo'ylab
     cho'zilib ketardi — 1900px kenglikdagi parol maydoni "cho'zilgan mobil"
     ko'rinishi beradi. Kenglik o'qiladigan darajada cheklanadi. */
  .adm-card .field .input,
  .adm-card .field .select { max-width: 420px; }
}
@media (min-width: 700px) and (max-width: 1023.98px) {
  .adm-grid { grid-template-columns: repeat(4, 1fr); }
  .adm-two { grid-template-columns: 1fr 1fr; }
  .adm-rings { grid-template-columns: repeat(6, 1fr); }
}

/* v59 — gero ichidagi grafik: navy fonda o'q raqamlari ko'rinmasdi */
.adm-hero .ch-ax { fill: rgba(255, 255, 255, 0.55); }
/* Katta ekranda pastdagi "Statistika" tugmasi ortiqcha — yon panelda bor */
@media (min-width: 1024px) { .adm-more { display: none; } }
.tr-v.zero { color: var(--text-3); font-weight: 600; }

/* Telefonda xarita viewBox'i siqiladi — yozuvlar o'qilmay qoladi.
   SVG matni user-unit'da bo'lgani uchun kichik ekranda kattalashtiramiz. */
@media (max-width: 700px) {
  .gm-l { font-size: 17px; }
  .gm-v { font-size: 18px; }
}

/* v59 — halqa grafigi konteyner uslubi (avval CSS qoidasi umuman yo'q edi) */
.ch-ring { display: block; }

/* v59 — KLAVIATURA FOKUSI: admin konsolidagi barcha bosiladigan elementlar.
   Sichqoncha bilan bosganda ko'rinmaydi (:focus-visible), faqat Tab bilan. */
.adm-ni:focus-visible, .seg button:focus-visible, .adm-td:focus-visible,
.adm-more:focus-visible, .adm-exit:focus-visible, .ch-rk:focus-visible,
.adm-tree > summary:focus-visible, .adm-ex .btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ═══════════════════════════════════════════════════════════════
   v60 — KABINET 2-BOSQICHI: Statistika va Sharhlar
   ═══════════════════════════════════════════════════════════════ */
/* DIQQAT: `.cab-bar` allaqachon "to'liqlik" progress chizig'i (6px, overflow
   hidden). Shu nom qayta ishlatilganda davr tanlagichi kesilib qolgan edi —
   endi alohida nom. */
.cab-tools { display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin: 2px 0 12px; }
.cab-hero-s.up { color: var(--green-bright); }
.cab-hero-s.down { color: #fca5a5; }

.cab-card2 { padding: 14px; border-radius: var(--r-lg); background: var(--bg-card);
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  margin-bottom: 12px; }
.cab-card2 h3 { font-size: 14px; font-weight: 700; letter-spacing: -0.2px;
  color: var(--text); }
.cab-sub { font-size: 12px; line-height: 1.45; color: var(--text-3);
  margin: 3px 0 10px; }
.cab-card2 h3 + .ch, .cab-card2 h3 + .ch-rank { margin-top: 10px; }
.cab-none { padding: 16px 2px; font-size: 12.5px; color: var(--text-3);
  text-align: center; }

/* Baholar taqsimoti */
.cab-dist { display: flex; flex-direction: column; gap: 7px; }
.cab-dr { display: flex; align-items: center; gap: 9px; }
.cab-dn { flex: none; width: 40px; display: inline-flex; align-items: center; gap: 2px;
  font-size: 12px; font-weight: 700; color: var(--text-2);
  font-variant-numeric: tabular-nums; }
.cab-dn svg { width: 12px; height: 12px; color: var(--yellow); }
.cab-dt { flex: 1; height: 8px; border-radius: 4px; background: var(--bg-input);
  overflow: hidden; }
.cab-dt i { display: block; height: 100%; border-radius: 4px;
  transition: width .4s cubic-bezier(.2,.9,.3,1); }
.cab-dr b { flex: none; min-width: 26px; text-align: right; font-size: 12.5px;
  font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }

/* Soha bilan solishtirish */
.cab-cmp { padding: 13px 0; border-bottom: 1px solid var(--line); }
.cab-cmp:last-child { border-bottom: 0; padding-bottom: 0; }
.cab-cmp-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.cab-cmp-h b { font-size: 13px; font-weight: 600; color: var(--text); }
.cab-cmp-m { margin-bottom: 12px; }
.cab-cmp-m:last-child { margin-bottom: 0; }
.cab-cl { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 5px; }
.cab-cl i { font-style: normal; font-weight: 600; text-transform: none;
  letter-spacing: 0; color: var(--text-3); opacity: .8; }
.cab-nodata { font-size: 12px; color: var(--text-3); padding: 2px 0 4px; }
.cab-badge { font-size: 10px; letter-spacing: 0; }
.cab-badge.up { color: var(--green); }
.cab-badge.down { color: var(--red); }
.cab-mb { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cab-mn { flex: none; width: 84px; font-size: 11.5px; color: var(--text-2); }
.cab-mt { flex: 1; height: 9px; border-radius: 5px; background: var(--bg-input);
  overflow: hidden; min-width: 0; }
.cab-mt i { display: block; height: 100%; border-radius: 5px;
  transition: width .4s cubic-bezier(.2,.9,.3,1); }
.cab-mt i.me { background: var(--blue); }
.cab-mt i.ot { background: var(--border); }
.cab-mb b { flex: none; min-width: 34px; text-align: right; font-size: 12.5px;
  font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cab-mb b.me { color: var(--blue); }

/* Sharhlar oqimi */
.cab-fchips { padding: 2px 0 10px; }
.cab-fn { display: inline-block; min-width: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--bg-input); font-size: 11px; font-weight: 700; line-height: 17px;
  text-align: center; color: var(--text-2); }
.chip.active .cab-fn { background: rgba(255,255,255,.24); color: #fff; }
.cab-fsel { margin-bottom: 10px; }

.cab-rv { padding: 13px 14px; border-radius: var(--r-lg); background: var(--bg-card);
  border: 1px solid var(--line); box-shadow: var(--shadow-card); margin-bottom: 10px; }
.cab-rv-h { display: flex; align-items: flex-start; gap: 10px; }
.cab-rv-h b { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); }
.cab-rv-b { display: block; font-size: 11.5px; color: var(--text-3); margin-top: 1px; }
.cab-rv-s { flex: none; display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 9px 3px 7px; border-radius: var(--r-full);
  background: rgba(245,158,11,.12); color: var(--yellow); }
.cab-rv-s svg { width: 13px; height: 13px; }
.cab-rv-s b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cab-rv-s i { font-size: 11px; font-style: normal; opacity: .65; }
.cab-rv-s.low { background: rgba(220,38,38,.12); color: var(--red); }
.cab-rv-t { font-size: 13px; line-height: 1.55; color: var(--text-2); margin-top: 8px;
  white-space: pre-wrap; overflow-wrap: anywhere; }
.cab-rv-d { display: block; font-size: 11px; color: var(--text-3); margin-top: 6px; }
.cab-rv-rep { margin-top: 10px; padding: 9px 11px; border-radius: var(--r-sm);
  background: var(--blue-soft); border-left: 3px solid var(--blue); }
.cab-rv-rep b { display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--blue); }
.cab-rv-rep p { font-size: 12.5px; line-height: 1.5; color: var(--text-2);
  margin-top: 3px; white-space: pre-wrap; overflow-wrap: anywhere; }
.cab-rv-a { display: flex; gap: 8px; margin-top: 10px; }

.cab-rf { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.cab-rf textarea { width: 100%; resize: vertical; min-height: 74px;
  font-family: inherit; font-size: 13.5px; line-height: 1.5; }
.cab-rf-h { font-size: 11.5px; line-height: 1.45; color: var(--text-3); margin: 6px 0 9px; }
.cab-rf-a { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }

/* Egasining javobi — ommaviy sahifada */
.rv-reply { margin-top: 8px; padding: 8px 11px; border-radius: var(--r-sm);
  background: var(--blue-soft); border-left: 3px solid var(--blue); }
.rv-reply b { display: block; font-size: 11px; font-weight: 700; color: var(--blue); }
.rv-reply p { font-size: 12.5px; line-height: 1.5; color: var(--text-2);
  margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .cab-card2 { padding: 18px 20px; }
  .cab-mn { width: 110px; }
}

/* ═══════════════════════════════════════════════════════════════
   v61 — AUDITDA TOPILGAN KO'RINISH XATOLARI
   ═══════════════════════════════════════════════════════════════ */

/* 1) Kategoriya plitkasi endi <button> — tugma standartlarini bosamiz */
.cat-item { border: 0; background: none; font: inherit; color: inherit;
  cursor: pointer; -webkit-appearance: none; appearance: none; }

/* 2) Uzun so'z plitkada YARIM KESILARDI ("Образовани", "Vulkanizatsi").
   max-width + overflow:hidden bo'lgani uchun ko'chirish ham, uch nuqta ham
   ishlamasdi. */
.cat-item span, .cat-chip span {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
}

/* 3) KLAVIATURA FOKUSI — asosiy qidiruv maydonlarida umuman yo'q edi */
.search-bar:focus-within, .tp-search:focus-within, .map-search:focus-within {
  outline: 2px solid var(--blue); outline-offset: 2px; border-radius: var(--r-md); }
.biz-card:focus-visible, .find-card:focus-visible, .pop-card:focus-visible,
.cat-item:focus-visible, .chip:focus-visible, .cat-chip:focus-visible,
.bn-item:focus-visible, .bn-center:focus-visible, .icon-btn:focus-visible,
.btn:focus-visible, .prof-item:focus-visible, .cab-nav-i:focus-visible,
.abiz-actions .btn:focus-visible, #ab-q:focus, .set-opt:focus-visible {
  outline: 2px solid var(--blue); outline-offset: 2px; }

/* 4) TEGISH MAYDONI — 36px va 40px lar barmoq uchun kichik edi (min 44px) */
.icon-btn { width: 44px; height: 44px; }
.icon-btn.plain { width: 40px; height: 40px; }   /* karta ichidagilar biroz kichik */
.btn { padding-top: 13px; padding-bottom: 13px; }
.input, .textarea, .select { padding-top: 12px; padding-bottom: 12px; }
.chip { padding-top: 9px; padding-bottom: 9px; }
.pop-heart { width: 34px; height: 34px; }

/* 5) BREND kartalari o'ng chekkaga TEGIB turardi (.px allaqachon 16px beradi,
   .abiz esa yana margin qo'shib, width:100% bilan tashqariga chiqib ketardi) */
.px .abiz { margin-inline: 0; }

/* 6) Admin statistika 360px va 1024px da GORIZONTAL SURILARDI —
   grid track "1fr" min-width:auto bilan kontentdan kengayib ketardi */
.adm-two { grid-template-columns: minmax(0, 1fr); }
.adm-card, .adm-body > * { min-width: 0; }
.adm-mr > span { min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 700px) { .adm-two { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }

/* 7) Amal tugmalari qatori 360px da ekrandan chiqib ketardi (ru) */
.abiz-actions { flex-wrap: wrap; }
.abiz-actions .btn { flex: 1 1 auto; min-width: 0; }
@media (min-width: 1024px) {
  .abiz-actions { justify-content: flex-end; }
  .abiz-actions .btn { flex: 0 0 auto; min-width: 96px; }
  #ab-q { max-width: 420px; }
}

/* 8) Ruscha uzun yozuvlar tugmani ikki qatorga bo'lardi */
@media (max-width: 400px) { .cab-quick .btn { flex: 1 1 100%; } }
.adm-ex .btn { white-space: nowrap; }

/* 9) Admin kontenti 1920px da chapga yopishib qolardi */
@media (min-width: 1024px) {
  .adm-body { margin-inline: auto; }
  .adm-top { max-width: 1240px; margin-inline: auto; width: 100%; }
}

/* 10) Uzluksiz uzun matn sahifani gorizontal cho'zardi (har joyda) */
.bc-name, .bc-cat, .cab-name, .adm-tb td.nm, .ch-rk-t b,
.review-item p, .dsection p { overflow-wrap: anywhere; }

/* ═══════════════════════════════════════════════════════════════
   v62 — SHAXSIY HAVOLA (PRO)
   ═══════════════════════════════════════════════════════════════ */
.pro-tag { flex: none; padding: 2px 7px; border-radius: var(--r-full);
  background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.04em; line-height: 1.5; }

.cab-link { margin-top: 12px; padding: 12px 13px; border-radius: var(--r-md);
  background: var(--bg-input); border: 1px solid var(--line); }
.cab-link-h { display: flex; align-items: center; gap: 7px; }
.cab-link-h b { font-size: 12.5px; font-weight: 700; color: var(--text); }
.cab-link-h svg { color: var(--blue); }
.cab-link-s { font-size: 12px; line-height: 1.5; color: var(--text-3); margin-top: 5px; }
/* Havolaning O'ZI bosiladi (alohida "Ochish" tugmasi yo'q — u kartaning
   pastidagi "Ochish" bilan chalkashardi: ikkalasi boshqa joyga olib borardi) */
.cab-link-u { display: flex; align-items: center; gap: 8px; margin-top: 8px;
  padding: 9px 11px; border-radius: var(--r-sm); text-decoration: none;
  background: var(--bg-card); border: 1px solid var(--line);
  transition: border-color .16s ease, background .16s ease; }
.cab-link-u span { flex: 1; min-width: 0; font-size: 13px; font-weight: 600;
  color: var(--blue); word-break: break-all; }
.cab-link-u svg { flex: none; color: var(--text-3); transition: color .16s ease; }
.cab-link-u:hover { border-color: var(--blue); background: var(--blue-soft); }
.cab-link-u:hover svg { color: var(--blue); }
.cab-link-u:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.cab-link-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.cab-link-a .btn { text-decoration: none; }

/* PRO emas — sotuv oynasi */
.cab-link.locked { background: linear-gradient(135deg,
    rgba(245,158,11,.10), rgba(245,158,11,.04)); border-color: rgba(245,158,11,.28); }
.cab-link.locked .cab-link-h svg { color: var(--yellow-text); }
.cab-link-eg { margin-top: 9px; font-size: 12px; color: var(--text-3); }
.cab-link-eg code { display: inline-block; margin-top: 4px; padding: 6px 9px;
  border-radius: var(--r-sm); background: var(--bg-card); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--text-2); word-break: break-all; }

/* Havolani tanlash */
.cab-lf { margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); }
.cab-lf-row { display: flex; align-items: stretch; gap: 0; }
.cab-lf-pre { display: flex; align-items: center; padding: 0 9px; font-size: 12.5px;
  color: var(--text-3); background: var(--bg-card); border: 1px solid var(--border);
  border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); white-space: nowrap; }
.cab-lf-row .input { flex: 1; min-width: 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.cab-lf-st { font-size: 11.5px; color: var(--text-3); margin-top: 6px; }
.cab-lf-st.good { color: var(--green); font-weight: 600; }
.cab-lf-st.bad { color: var(--red); font-weight: 600; }
.cab-lf-warn { font-size: 11.5px; line-height: 1.45; color: var(--yellow-text);
  margin-top: 6px; }
.cab-lf-a { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }

/* Admin: PRO tugmasi. Yashil "tasdiqlash" dan ajralib tursin — bu pul
   bilan bog'liq amal, adashib bosilmasin. */
.btn-pro { background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff; }
.btn-pro:hover { filter: brightness(1.06); }

/* DESKTOP: blok CHO'ZILMAYDI — qayta TERILADI.
   Ichida atigi ~30 belgi bor. 1440px da uni butun kenglikka yoysak
   "kattalashtirilgan mobil" chiqadi. Shuning uchun havola va tugmalar
   yonma-yon turadi, ortiqcha joy bo'sh qoladi — desktopning bezagi
   bo'sh joy, cho'zilgan element emas. */
@media (min-width: 900px) {
  .cab-link:not(.locked) {
    display: grid; grid-template-columns: minmax(0, 460px) auto;
    justify-content: start; align-items: center; column-gap: 12px; }
  .cab-link:not(.locked) > .cab-link-h,
  .cab-link:not(.locked) > .cab-link-s,
  .cab-link:not(.locked) > .cab-lf { grid-column: 1 / -1; }
  .cab-link:not(.locked) > .cab-link-a { margin-top: 8px; }
  .cab-link.locked { max-width: 620px; }
  .cab-lf { max-width: 620px; }
  .cab-lf-a { justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   v63 — PRO TARIF SAHIFASI (Kabinet → Ko'proq)
   Bu ekran SOTADI. Shuning uchun bitta urg'u bor: NARX va tugma.
   Qolgan hamma narsa tinch — matn o'qiladi, ranglar baqirmaydi.
   ═══════════════════════════════════════════════════════════════ */
.pro-hero { padding: 22px 18px 20px; border-radius: var(--r-lg);
  background: linear-gradient(150deg, #1a2540 0%, #0f1728 100%);
  /* Chegara qorong'i tema uchun: usiz karta fon bilan qo'shilib ketardi
     (kontrast 1.29) va "karta" degan tuyg'u yo'qolardi. */
  border: 1px solid rgba(255,255,255,.09);
  color: #fff; position: relative; overflow: hidden; }
/* Bitta nozik yorug'lik — bezak shakl EMAS. Ekran kattalashganda u ham
   o'smaydi (uzbekdizayn: bezak element ekran bilan o'smaydi). */
.pro-hero::after { content: ""; position: absolute; right: -40px; top: -50px;
  width: 150px; height: 150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(245,158,11,.16), transparent 70%); }
.pro-hero-tag { position: relative; display: inline-block; padding: 3px 10px;
  border-radius: var(--r-full); background: linear-gradient(135deg, #F59E0B, #D97706);
  font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.pro-hero h2 { position: relative; margin: 12px 0 8px; font-size: 22px;
  font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.pro-hero p { position: relative; margin: 0; font-size: 13.5px; line-height: 1.65;
  color: rgba(255,255,255,.72); max-width: 46ch; }
.pro-price { position: relative; display: flex; align-items: baseline; gap: 7px;
  margin-top: 18px; }
.pro-price b { font-size: 27px; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; }
.pro-price span { font-size: 13px; color: rgba(255,255,255,.6); }

/* Halol blok — tinch, ogohlantirish emas: bu ishonch qurish, qo'rqitish emas */
.pro-honest { display: flex; gap: 11px; margin-top: 12px; padding: 13px 14px;
  border-radius: var(--r-md); background: var(--bg-input); border: 1px solid var(--line); }
.pro-honest svg { flex: none; color: var(--text-3); margin-top: 1px; }
.pro-honest b { display: block; font-size: 12.5px; font-weight: 700; }
.pro-honest p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }

/* `grid-template-columns` SHART. Usiz brauzer ustunni min-content bo'yicha
   hisoblaydi va uzun biznes nomi (nowrap + ellipsis) ustunni 557px ga
   cho'zib, BUTUN SAYTNI yon tomonga siljitardi — sarlavha ham, "PRO olish"
   tugmasi ham ekrandan chiqib ketardi. O'lchandi: 390px da 238px siljish. */
.pro-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pro-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px;
  border-radius: var(--r-md); background: var(--bg-card); border: 1px solid var(--line); }
.pro-row-n { display: flex; align-items: center; gap: 6px; min-width: 0;
  font-size: 14px; font-weight: 650; }
.pro-row-s { margin-top: 2px; font-size: 12px; color: var(--text-3); }
.pro-row-u { color: var(--blue); font-weight: 600; word-break: break-all; }
/* Bepul joydagi havola — "hali sizniki emas": xira va uzuq chiziqli */
.pro-row-soon { display: inline-block; padding: 1px 7px; border-radius: var(--r-sm);
  border: 1px dashed var(--line-2); color: var(--text-3); word-break: break-all; }
.pro-row-b { flex: none; padding: 3px 9px; border-radius: var(--r-full);
  background: var(--bg-input); border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; color: var(--text-3); }

.pro-buy { margin-top: 12px; padding: 16px 15px; border-radius: var(--r-md);
  background: var(--bg-card); border: 1px solid var(--line); }
.pro-buy-p { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.pro-buy-p b { font-size: 21px; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; }
.pro-buy-p span { font-size: 12.5px; color: var(--text-3); }
.pro-buy .btn { width: 100%; }
.pro-buy-n { margin: 10px 0 0; font-size: 11.5px; line-height: 1.55; color: var(--text-3); }

.pro-cta { display: flex; gap: 11px; margin-top: 12px; padding: 14px 15px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--bg-card); }
.pro-cta svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.pro-cta b { display: block; font-size: 13.5px; }
.pro-cta p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.pro-cta.done { border-color: rgba(18,128,64,.3); }
.pro-cta.done svg { color: var(--green); }
.pro-cta.wait { border-color: rgba(245,158,11,.32); background: rgba(245,158,11,.06); }
.pro-cta.wait svg { color: var(--yellow-text); }

/* Admin: PRO so'rovi oddiy savoldan darhol ajralsin — bu PUL */
.tk-pro { border-color: rgba(245,158,11,.4) !important;
  background: linear-gradient(135deg, rgba(245,158,11,.09), transparent 60%); }
/* Qorong'i temada .07 amalda ko'rinmasdi — "pul so'rovi ajralib tursin"
   degan butun maqsad faqat yorug' temada ishlardi. */
[data-theme="dark"] .tk-pro {
  background: linear-gradient(135deg, rgba(245,158,11,.16), transparent 62%); }
.tk-kind { flex: none; padding: 2px 8px; border-radius: var(--r-full);
  background: linear-gradient(135deg, #F59E0B, #D97706); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .04em; }

@media (min-width: 900px) {
  .pro-hero h2 { font-size: 26px; }
  .pro-buy { max-width: 420px; }
  .pro-honest, .pro-cta { max-width: 620px; }
  /* Katta ekranda ikkala ustun BIR VAQTDA ko'rinadi va narx takrorlanardi.
     Olib tashlanadigan — SOTUV blokidagisi, sarlavhadagisi emas: sarlavha
     HAR DOIM chiziladi, sotuv bloki esa faqat "sotib olish mumkin"
     holatida. Teskarisi qilinganda narx 4 holatning 3 tasida umuman
     ko'rinmasdi — jumladan hali joyi yo'q odamda, ya'ni aynan shu sahifa
     kimga sotayotgan bo'lsa o'shanda. Telefonda ular bir-biridan uzoq
     (uzun aylantirish) — u yerda ikkalasi ham qoladi. */
  .pro-buy-p { display: none; }
  .pro-buy .btn { margin-top: 2px; }
}

/* Javobsiz PRO so'rovlari soni — ro'yxat tepasida */
.tk-sum { margin: 0 0 10px; padding: 9px 13px; border-radius: var(--r-md);
  background: rgba(245,158,11,.10); border: 1px solid rgba(245,158,11,.32);
  font-size: 12.5px; color: var(--yellow-text); }
.tk-sum b { font-size: 14px; font-variant-numeric: tabular-nums; }

/* ═══════════════════════════════════════════════════════════════
   v64 — ENG YAQIN FILIAL. Bitta havolaning butun ma'nosi shu blokda:
   mijoz 300 ta filial ro'yxatini emas, O'ZIGA eng yaqinini ko'radi.
   Shuning uchun u sahifadagi eng kuchli element.
   ═══════════════════════════════════════════════════════════════ */
.near-box { margin: 14px 0 4px; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(11,18,32,.05), 0 10px 26px rgba(11,18,32,.06); }
.near-h { display: flex; align-items: center; gap: 7px; padding: 12px 14px 0; }
.near-h svg { color: var(--blue); }
.near-h b { font-size: 12px; font-weight: 700; letter-spacing: .02em;
  text-transform: uppercase; color: var(--text-3); }
.near-main { display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 14px 14px; background: none; border: 0; text-align: left;
  cursor: pointer; color: inherit; }
.near-main:hover { background: var(--bg-input); }
.near-main > svg { flex: none; color: var(--text-3); }
/* Uzun, bo'sh joysiz manzil (masalan "Chilonzortumani12mavze...") kartadan
   chiqib, ">" belgisi ustidan o'tib ketardi — .near-box da overflow:hidden
   bo'lgani uchun u ellipsissiz kesilardi. */
.near-a { font-size: 15.5px; font-weight: 650; line-height: 1.35;
  overflow-wrap: anywhere; }
.near-m { display: flex; align-items: center; gap: 9px; margin-top: 5px; font-size: 13px; }
.near-m b { font-variant-numeric: tabular-nums; color: var(--blue); font-size: 15px; }
.near-m .ok { color: var(--green); font-weight: 600; }
.near-m .no { color: var(--text-3); }
.near-rest { border-top: 1px solid var(--line); }
.near-rest button { display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 14px; background: none; border: 0; border-top: 1px solid var(--line);
  text-align: left; cursor: pointer; color: var(--text-3); font-size: 13px; }
.near-rest button:first-child { border-top: 0; }
.near-rest button:hover { background: var(--bg-input); }
.near-rest .ellipsis { flex: 1; min-width: 0; }
.near-rest b { flex: none; font-variant-numeric: tabular-nums; color: var(--text-2); }
@media (min-width: 900px) { .near-box { max-width: 620px; } }

/* v64 — Ommaviy tahrir oynasi */
.bulk-wrap { position: fixed; inset: 0; z-index: 90; display: flex;
  align-items: flex-end; justify-content: center; padding: 0;
  background: rgba(9,13,24,.55); backdrop-filter: blur(2px);
  animation: bulkIn .18s ease; }
@keyframes bulkIn { from { opacity: 0 } to { opacity: 1 } }
.bulk-card { width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--bg-card);
  animation: bulkUp .22s cubic-bezier(.2,.8,.3,1); }
@keyframes bulkUp { from { transform: translateY(18px) } to { transform: none } }
.bulk-h { display: flex; align-items: flex-start; gap: 10px; }
.bulk-h b { display: block; font-size: 16.5px; font-weight: 700; }
.bulk-h span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--text-3); }
.bulk-h .icon-btn { margin: -6px -6px 0 auto; }
.bulk-note { margin: 10px 0 14px; padding: 10px 12px; border-radius: var(--r-md);
  background: var(--bg-input); border: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.55; color: var(--text-3); }
.bulk-fields { display: grid; gap: 11px; }
.bulk-f span { display: block; margin-bottom: 5px; font-size: 12.5px;
  font-weight: 600; color: var(--text-2); }
.bulk-a { display: flex; gap: 9px; margin-top: 16px; }
.bulk-a .btn { flex: 1; }
@media (min-width: 700px) {
  .bulk-wrap { align-items: center; padding: 20px; }
  .bulk-card { border-radius: var(--r-lg); }
  .bulk-fields { grid-template-columns: 1fr 1fr; }
}

.brd-more { padding: 6px 0 14px; text-align: center; }
.brd-more .btn { max-width: 320px; margin-inline: auto; }
.brd-more p { margin-top: 8px; }

/* v65 — PRO belgisi kartada.
   MODERATSIYA belgisidan (yashil vcheck) ATAYLAB boshqacha: yashil belgi
   "hujjati tekshirilgan" degani va uni PUL bilan sotib bo'lmaydi — aks
   holda mijoz uchun uning ma'nosi yo'qoladi. Oltin belgi esa "PRO
   obunachi" degani, boshqa narsa. */
.pro-chk { flex: none; display: inline-flex; color: #D97706; }
[data-theme="dark"] .pro-chk { color: #fbbf24; }

/* ═══════════════════════════════════════════════════════════════
   v65 — BEPUL / PRO SOLISHTIRISH JADVALI.
   Sahifadagi eng muhim element: odam matnni o'qimasdan, bitta
   qarashda farqni ko'rishi kerak. Shuning uchun PRO ustuni butun
   balandligi bo'ylab ajratilgan va ✓ belgisi ko'k, ✕ esa xira.
   ═══════════════════════════════════════════════════════════════ */
.cmp { position: relative; margin-top: 14px; border-radius: var(--r-md);
  background: var(--bg-card); border: 1px solid var(--line); overflow: hidden; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: minmax(0, 1fr) 64px 64px;
  align-items: center; }
.cmp-head { padding: 10px 0 10px 14px; border-bottom: 1px solid var(--line); }
.cmp-head span { text-align: center; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.cmp-h-pro { color: #fff !important; background: linear-gradient(135deg, #F59E0B, #D97706);
  border-radius: var(--r-full); padding: 3px 0; margin: 0 8px; }
.cmp-row { padding: 11px 0 11px 14px; border-top: 1px solid var(--line); }
.cmp-row:first-of-type { border-top: 0; }
.cmp-l { font-size: 13px; line-height: 1.4; color: var(--text-2); padding-right: 8px; }
.cmp-y, .cmp-n, .cmp-v { display: grid; place-items: center; }
.cmp-y { color: var(--blue); }
.cmp-n { color: var(--line-2); }
.cmp-v { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* PRO ustuni butun jadval bo'ylab ajralib tursin.
   FAQAT qatorlarga: sarlavhadagi oltin "PRO" tabletkasi ham shu qoidaga
   tushib, gradienti xira fon bilan bosilardi va oq matn KO'RINMAY qolardi. */
.cmp-row > *:last-child { background: rgba(245,158,11,.055); }
.cmp-row > *:last-child.cmp-v { color: #b45309; }
[data-theme="dark"] .cmp-row > *:last-child { background: rgba(245,158,11,.09); }
[data-theme="dark"] .cmp-row > *:last-child.cmp-v { color: #fbbf24; }
@media (min-width: 900px) {
  .cmp { max-width: 620px; }
  .cmp-head, .cmp-row { grid-template-columns: minmax(0, 1fr) 96px 96px; }
}

/* ═══════════════════════════════════════════════════════════════
   v66 — "PRO OLISH" tugmasi. Sahifadagi YAGONA to'ldirilgan tugma,
   shuning uchun u eng kuchli element bo'lishi kerak: chuqurroq ko'k
   gradient, yuqori qirrada nozik yorug'lik va tepasidan sekin o'tadigan
   yaltirash. Harakat faqat transform/opacity — sakrash yo'q.
   ═══════════════════════════════════════════════════════════════ */
.btn-buy {
  position: relative; width: 100%; overflow: hidden; border: 0;
  color: #fff; font-weight: 700; font-size: 15.5px; letter-spacing: -.01em;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 52%, #1d4ed8 100%);
  box-shadow: 0 1px 2px rgba(29,78,216,.30), 0 10px 24px rgba(37,99,235,.34),
              inset 0 1px 0 rgba(255,255,255,.26);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn-buy > span { position: relative; z-index: 1; }
/* Yaltirash: 3.2 soniyada bir marta o'tadi — bezovta qilmaydi, lekin
   tugma "tirik" ekanini bildiradi */
.btn-buy::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%,
    rgba(255,255,255,.34) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: buyShine 3.2s ease-in-out infinite;
}
@keyframes buyShine {
  0%, 62% { transform: translateX(-120%); }
  86%, 100% { transform: translateX(120%); }
}
.btn-buy:hover { filter: brightness(1.05); transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(29,78,216,.32), 0 14px 30px rgba(37,99,235,.40),
              inset 0 1px 0 rgba(255,255,255,.30); }
.btn-buy:active { transform: translateY(0); }
.btn-buy:disabled { filter: grayscale(.35) brightness(.9); }
.btn-buy:disabled::after { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .btn-buy::after { animation: none; }
}

/* PRO sahifasi — yagona ustun. Jadval asosiy dalil bo'lgani uchun
   o'qish kengligida qoladi, ikki ustunga bo'linmaydi. */
.pro-wrap { display: block; }
.pro-wrap .cab-h { margin-top: 20px; }
@media (min-width: 900px) {
  .pro-wrap { max-width: 640px; }
  .pro-wrap .pro-buy { max-width: none; }
  .pro-wrap .pro-buy-p { display: flex; }
}

/* v68 — SMS tashxisi */
.sms-r { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.sms-r:first-of-type { border-top: 0; }
.sms-l { color: var(--text-3); }
.sms-v { font-weight: 650; text-align: right; word-break: break-all; }
.sms-v.good { color: var(--green); }
.sms-v.bad { color: var(--red); }
.sms-tpl { margin-top: 10px; font-size: 12.5px; color: var(--text-3); }
.sms-tpl code { display: block; margin-top: 5px; padding: 8px 10px; border-radius: var(--r-sm);
  background: var(--bg-input); border: 1px solid var(--line);
  color: var(--text-2); font-size: 12.5px; word-break: break-word; }
.sms-err { display: flex; gap: 10px; margin-top: 12px; padding: 11px 12px;
  border-radius: var(--r-md); background: rgba(220,38,38,.07);
  border: 1px solid rgba(220,38,38,.3); }
.sms-err svg { flex: none; color: var(--red); margin-top: 1px; }
.sms-err b { font-size: 13px; }
.sms-err p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-3);
  word-break: break-word; }
.sms-test { display: flex; gap: 8px; margin-top: 14px; }
.sms-test .input { flex: 1; min-width: 0; }
.sms-test .btn { flex: none; }
.sms-note { margin: 9px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--text-3); }

/* v69 — Ismni o'zgartirish oynasi */
.pf-wrap { position: fixed; inset: 0; z-index: 90; display: flex;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(9,13,24,.55); backdrop-filter: blur(2px); }
.pf-card { width: 100%; max-width: 380px; padding: 18px;
  border-radius: var(--r-lg); background: var(--bg-card); }
.pf-card > b { display: block; font-size: 16.5px; font-weight: 700; margin-bottom: 12px; }
.pf-note { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-3); }
.pf-a { display: flex; gap: 9px; margin-top: 16px; }
.pf-a .btn { flex: 1; }
.prof-head .icon-btn { flex: none; margin-left: auto; }
