/* Yaqinda — dizayn tizimi: yorug', toza, mobil-first. Asosiy rang — ko'k, urg'u — to'q sariq (dizayn rasmlari bo'yicha). */
:root {
  --primary: #1f5eff; --primary-d: #1748c9; --primary-l: #eaf0ff;
  --accent: #ff7a1a; --accent-d: #e8650a; --accent-btn: #cc4e0a; --accent-btn-d: #b54408;  /* oq matnli tugma — kontrast 4.5:1 */
  --primary-t: #1a4fd6; --rate: #9a5800;
  --bg: #f6f8fc; --surface: #fff; --text: #171923; --muted: #697083; --line: #e5e7ef;
  --ok: #0f6e4c; --ok-l: #e7f6ef; --warn: #9a5800; --err: #c53a43;
  --r: 16px; --r-sm: 12px; --shadow: 0 8px 24px -14px rgba(23, 25, 35, .35);
  --tab-h: 64px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }  /* "hidden" har doim ustun (display bergan klasslar ham) */
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
body { overscroll-behavior-y: none; }  /* pastga tortganda sahifa yangilanmaydi — ilova kabi */
/* Ilova ko'rinishi (Neura AI kabi): sahifalar silliq almashadi, tugma va menyular tasodifan belgilanmaydi */
@view-transition { navigation: auto; }
.btn, .tabbar, .top, .pill, .chip, .cat, .lang, .langsel summary, .install { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.leaflet-container { touch-action: none; z-index: 0; isolation: isolate; }  /* xarita qatlamlari menyu va oynalar ustiga chiqmasin */
/* Himoya (Neura AI kabi): hech qanday element sahifani yon tomonga kengaytirmasin — ekran yonga surilmaydi */
html, body { max-width: 100%; overflow-x: clip; }
main > *, .wrap > *, .form > *, .row2 > *, .geo > * { min-width: 0; }
.top-in { gap: 10px; }
.logo { min-width: 0; flex-shrink: 1; }
.top-act { min-width: 0; flex-shrink: 0; }
/* Tor telefon (yoki telefonda katta shrift): "Andijon" belgisi yashiriladi — logotip, til va "+" sig'adi */
@media (max-width: 420px) { .chip-loc { display: none; } .logo { font-size: 19px; } .logo-pin { width: 22px; height: 22px; } }
@media (max-width: 340px) { .logo span { display: none; } }
/* Telefon/planshetda 16px dan kichik maydonga bosilganda iPhone sahifani kattalashtiradi — hamma maydon 16px */
@media (max-width: 1024px), (pointer: coarse) { input, select, textarea, .pill-select, .copy input, .reply-form textarea { font-size: 16px !important; } }
/* Ilova sifatida ochilganda: telefonning yuqori qismi (soat, kamera) ostiga kirib ketmasin */
@media (display-mode: standalone) { .top { padding-top: env(safe-area-inset-top, 0px); } .install { display: none !important; } }
/* Internet holati */
.net-pill { position: fixed; z-index: 2500; left: 50%; transform: translateX(-50%); bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px) + 12px);
  max-width: calc(100% - 32px); padding: 9px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); text-align: center; }
.net-off { background: #2b2f3a; color: #fff; }
.net-ok { background: var(--ok); color: #fff; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; font: 400 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg);
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.narrow { max-width: 640px; }
.h1 { font-size: 26px; line-height: 1.2; margin: 6px 0 14px; font-weight: 800; letter-spacing: -.2px; }
.h2 { font-size: 20px; margin: 0; font-weight: 800; }
.h3 { font-size: 17px; margin: 22px 0 8px; font-weight: 700; }
h2 { font-size: 20px; margin: 0 0 14px; font-weight: 800; letter-spacing: -.2px; }
.link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 2px; font-size: 14px; }
.link svg { width: 16px; height: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--r-sm);
  border: 1px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .1s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); }
.btn-accent { background: var(--accent-btn); color: #fff; }
.btn-accent:hover { background: var(--accent-btn-d); }
.btn-ghost { background: var(--surface); border-color: #d6defa; color: var(--primary); }
.btn-sm { min-height: 38px; padding: 0 12px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.icon-btn { width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--surface); border: 1px solid var(--line); flex: none; }

/* Yuqori panel */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { height: 60px; display: flex; align-items: center; gap: 18px; }
.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 21px; letter-spacing: -.4px; }
.logo b { color: var(--accent); font-weight: 800; }
.logo-pin { width: 26px; height: 26px; color: var(--accent); }
.top-links { display: none; gap: 22px; font-weight: 600; font-size: 15px; color: #394357; }
.top-links a:hover { color: var(--primary); }
.top-act { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.chip-loc { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 999px; background: var(--primary-l); color: var(--primary); font-weight: 600; font-size: 13px; }
.chip-loc svg { width: 15px; height: 15px; }
.lang { font-weight: 700; font-size: 13px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; }
.top-join span { display: none; }
.top-join { width: 38px; padding: 0; }

/* Hero */
.hero { background: radial-gradient(circle at 85% 10%, rgba(255, 122, 26, .25), transparent 40%),
  linear-gradient(160deg, #0b1b3a 0%, #133d7a 60%, #1f5eff 130%); color: #fff; padding: 26px 0 22px; }
.hero h1 { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.6px; }
.hero h1 span { color: #ffa45c; }
.hero-sub { margin: 10px 0 18px; color: #cbd6f2; font-size: 15px; max-width: 520px; }
.search { display: grid; grid-template-columns: 1fr; gap: 8px; background: #fff; padding: 8px; border-radius: 16px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); }
.search label { display: flex; align-items: center; gap: 8px; padding: 0 12px; min-height: 48px; border-radius: 12px; background: #f3f5fb; color: var(--muted); }
.search input, .search select { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; color: var(--text); font-size: 16px; }
.search .search-d { display: none; }
.search-sm { box-shadow: none; border: 1px solid var(--line); grid-template-columns: auto 1fr auto; align-items: center; padding: 6px; }
.search-sm .icon-btn { border: 0; background: transparent; width: 40px; height: 40px; }
.search-sm .btn { min-height: 44px; }
.pop { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pop::-webkit-scrollbar { display: none; }
.pop a { flex: none; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: 13px; font-weight: 600; }

/* Bo'limlar */
.sec { margin-top: 26px; }
.page-top { margin-top: 16px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }
.sec-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* Kategoriyalar */
.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: -2px; }
.cat { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--tint, var(--primary-l)); color: var(--accent); flex: none; }
.cat-ic svg { width: 24px; height: 24px; }
.cat-txt { display: grid; min-width: 0; }
.cat-txt b { font-size: 14px; line-height: 1.25; }
.cat-txt small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-all .cat-ic { background: var(--primary-l); color: var(--primary); }

.catlist { display: grid; gap: 12px; }
.catbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.catbox-head { display: flex; align-items: center; gap: 12px; }
.catbox-head > span:nth-child(2) { display: grid; flex: 1; }
.catbox-head small { color: var(--muted); font-size: 13px; }
.chev { color: var(--muted); }
.subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.subs a { padding: 6px 11px; border-radius: 999px; background: #f3f5fb; font-size: 13px; font-weight: 600; }
.subs em { font-style: normal; color: var(--muted); font-weight: 500; }

/* Kartalar */
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card { position: relative; display: grid; grid-template-columns: 104px 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.card-img { position: relative; background: var(--tint, #eef2ff); display: grid; place-items: center; min-height: 118px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .75); color: var(--accent); }
.card-ic svg { width: 28px; height: 28px; }
.badge { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 8px; }
.badge svg { width: 13px; height: 13px; }
.badge-ok { background: var(--ok-l); color: var(--ok); }
.fav { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #9aa2b6; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); z-index: 2; }
.fav svg { width: 18px; height: 18px; }
.fav.on { color: #ef4466; }
.fav.on svg path { fill: currentColor; }
.card-body { padding: 10px 12px 10px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.card-title { font-weight: 700; font-size: 15.5px; line-height: 1.3; padding-right: 34px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tag { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 7px; background: var(--primary-l); color: var(--primary-t); }
.dist { display: inline-flex; align-items: center; gap: 2px; font-size: 12.5px; color: var(--muted); }
.dist svg { width: 14px; height: 14px; }
.card-addr { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { font-weight: 700; font-size: 14px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 2px; }
.state { font-size: 12.5px; font-weight: 700; }
.state.on { color: var(--ok); }
.state.off { color: var(--muted); }
.mini-call { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-l); color: var(--ok); }
.mini-call svg { width: 17px; height: 17px; }

/* Filtrlar */
.filters, .chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 12px -16px 0; padding: 0 16px 2px; }
.filters::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.pill, .pill-select, .chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; }
.pill svg { width: 16px; height: 16px; }
.pill-select { appearance: none; padding-right: 28px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23697083' stroke-width='2' d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center / 16px; }
.pill.on, .chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.chips { margin-top: 10px; }
.res-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 12px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; }

.empty { text-align: center; padding: 34px 16px; background: var(--surface); border: 1px dashed #cfd6e6; border-radius: var(--r); }
.empty-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--primary-l); color: var(--primary); display: inline-grid; place-items: center; }
.empty-ic svg { width: 28px; height: 28px; }
.empty h3 { margin: 12px 0 6px; }
.empty-act { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* Xarita tanishtiruvi */
.map-teaser { position: relative; display: grid; grid-template-columns: 1fr; gap: 14px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.map-teaser h2 { margin-bottom: 4px; }
.map-teaser .btn { margin-top: 10px; }
.map-art { position: relative; height: 140px; border-radius: 14px; background:
  linear-gradient(90deg, rgba(31, 94, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(rgba(31, 94, 255, .06) 1px, transparent 1px) 0 0 / 22px 22px,
  linear-gradient(125deg, #eef3ff, #f8fbff 55%, #eaf6ef); }
.map-art::before { content: ""; position: absolute; left: -10%; right: -10%; top: 48%; height: 10px; background: #fff; transform: rotate(-12deg); box-shadow: 0 0 0 1px #e1e8f7; }
.map-art i { position: absolute; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--primary); box-shadow: 0 6px 14px -4px rgba(31, 94, 255, .7); }
.map-art i.o { background: var(--accent); box-shadow: 0 6px 14px -4px rgba(255, 122, 26, .7); }

/* Afzalliklar, CTA */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.why div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 2px; }
.why span { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-l); color: var(--primary); display: grid; place-items: center; margin-bottom: 6px; }
.why b { font-size: 14.5px; }
.why small { color: var(--muted); font-size: 12.5px; }
.cta { display: grid; gap: 14px; padding: 20px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 90% 0%, rgba(255, 164, 92, .45), transparent 45%), linear-gradient(135deg, #133d7a, #1f5eff); }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #dbe5ff; font-size: 14.5px; }

/* Joy sahifasi */
.place { padding: 0 16px; }  /* rasm (hero) chetgacha, matn — chetdan 16px */
.place-hero { position: relative; height: 210px; background: var(--tint, #eef2ff); display: grid; place-items: center; margin: 0 -16px; overflow: hidden; }
.place-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place-ic { width: 92px; height: 92px; border-radius: 28px; background: rgba(255, 255, 255, .8); color: var(--accent); display: grid; place-items: center; }
.place-ic svg { width: 48px; height: 48px; }
.hero-back { position: absolute; left: 12px; top: 12px; border: 0; background: rgba(255, 255, 255, .92); }
.fav-lg { width: 44px; height: 44px; right: 12px; top: 12px; }
.place-main { position: relative; margin: -18px -16px 0; background: var(--surface); border-radius: 22px 22px 0 0; padding: 18px 16px 8px; }
.place-head h1 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 800; }
.vbadge { width: 22px; height: 22px; color: var(--primary); vertical-align: -3px; }
.place-state { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.price { font-weight: 800; font-size: 17px; }
.actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px; margin: 16px 0 6px; }
.actions .btn { min-width: 0; padding-left: 10px; padding-right: 10px; }
.actions-l { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.actions .btn:only-child { grid-column: 1 / -1; }
.quick { display: flex; gap: 6px; margin: 6px 0 14px; }
.quick a, .quick button { flex: 1; display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: #f3f5fb; border: 0; font-size: 12.5px; font-weight: 600; color: #394357; cursor: pointer; }
.quick svg { color: var(--primary); }
.info { display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 10px; }
.info > div { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.info svg { color: var(--primary); margin-top: 2px; }
.info small { display: block; color: var(--muted); font-size: 12.5px; }
.info a { color: var(--primary); font-weight: 600; }
.services { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.services li { padding: 10px 12px; background: #f6f8fc; border-radius: 10px; font-size: 15px; }
.about { white-space: pre-line; margin: 0; }
.mini-map { height: 200px; border-radius: 16px; margin: 18px 0 6px; overflow: hidden; border: 1px solid var(--line); background: #eef2fb; }
.note { margin: 14px 0; padding: 14px; border-radius: 14px; background: #fff8ec; border: 1px solid #ffe2b8; display: grid; gap: 10px; }
.note p { margin: 0; font-size: 14px; color: #6b4a12; }

/* Forma */
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 600; font-size: 14px; }
.order-who { display: grid; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 14px; }
.form { display: grid; gap: 14px; }
.form label, .form fieldset { display: grid; gap: 6px; margin: 0; border: 0; padding: 0; }
/* faqat maydon sarlavhasi; tanlash kartochkalari, kun/vaqt tugmalari va belgilash katakchalari o'z uslubida */
.form label:not(.kind, .chk, .day, .tm, .wd) > span, .form legend { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; padding: 0; }
.form i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-grid; place-items: center; font-size: 12px; }
/* katakcha (checkbox) yozish maydoni uslubini olmaydi */
.form input:not([type=radio], [type=checkbox]), .form select, .form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #d9deea; background: var(--surface); font-size: 16px; outline: 0; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 94, 255, .15); }
.row2 { display: grid; gap: 14px; }
.days, .times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.times { grid-template-columns: repeat(3, 1fr); margin-top: 8px; }
.day input, .tm input { position: absolute; opacity: 0; pointer-events: none; }
.day span, .tm span { display: grid; justify-items: center; padding: 9px 4px; border-radius: 12px; border: 1px solid #d9deea; background: var(--surface); cursor: pointer; font-size: 14px; }
.day small { color: var(--muted); font-size: 12px; }
.day input:checked + span, .tm input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.day input:checked + span small { color: #fff; opacity: .92; }
.alert { padding: 12px 14px; border-radius: 12px; background: #fdecee; color: var(--err); font-weight: 600; margin-bottom: 12px; }
.done-ic { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-l); color: var(--ok); display: inline-grid; place-items: center; margin: 20px 0 6px; }
.done-ic svg { width: 40px; height: 40px; }
.prose p { color: #3b4254; }

/* Xarita sahifasi */
/* Xarita sarlavha va pastki menyu orasiga mahkamlanadi (fixed): telefon "100dvh" ni noto'g'ri hisoblasa ham (ilova rejimi, tizim tugmalari) menyu ostiga kirmaydi; sarlavha balandligi JS'da --map-top ga yoziladi */
.page-map { overflow: hidden; }
.page-map .mapwrap { position: fixed; left: 0; right: 0; top: var(--map-top, 60px); bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); height: auto; }
.page-map .foot { display: none; }
.mapwrap { position: relative; height: calc(100dvh - 60px - var(--tab-h) - env(safe-area-inset-bottom, 0px)); }
#bigmap { position: absolute; inset: 0; background: #eef2fb; }
.map-bar { position: absolute; z-index: 500; left: 0; right: 0; top: 0; padding: 10px 12px 0; pointer-events: none; }
.map-bar > * { pointer-events: auto; }
.map-bar .search-sm { grid-template-columns: 1fr; box-shadow: var(--shadow); }
.map-bar .chips { margin: 8px -12px 0; padding: 0 12px 4px; }
.map-bar .chip { box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .3); }
.locate-btn { position: absolute; z-index: 500; right: 12px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--primary); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; }
.map-side { display: contents; }
.map-detail, .chips-arrow { display: none; }
.map-sheet { position: absolute; z-index: 600; left: 10px; right: 10px; bottom: 12px; }
.map-sheet .card { box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .35); }
.pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; background: var(--primary); border: 2px solid #fff; box-shadow: 0 4px 10px -2px rgba(0, 0, 0, .35); }
.pin svg { transform: rotate(45deg); width: 15px; height: 15px; color: #fff; }
.pin.c-tibbiyot { background: #16a34a; } .pin.c-avtomobil { background: var(--primary); } .pin.c-gozallik { background: #e11d74; }
.pin.c-uy-xizmatlari, .pin.c-kunlik-ish { background: var(--accent); } .pin.c-dokonlar { background: #9333ea; } .pin.c-maishiy { background: #0891b2; }
.pin.c-talim, .pin.c-biznes, .pin.c-yetkazib-berish { background: #4f46e5; }
.me-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(31, 94, 255, .2); }

/* Pastki menyu (telefon) */
.tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.tabbar a { display: grid; justify-items: center; align-content: center; gap: 3px; font-size: 11px; font-weight: 600; color: #626979; }
.tabbar a.on { color: var(--primary); }
.tab-plus span { width: 44px; height: 44px; margin-top: -20px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff9a4a); box-shadow: 0 8px 18px -6px rgba(255, 122, 26, .8); border: 3px solid #fff; }

/* Pastki qism */
/* Pastki qism: ixcham va doim ekranning eng pastida (sahifa qisqa bo'lsa ham — body flex ustun, main cho'ziladi) */
.foot { margin-top: 20px; padding: 10px 0 8px; background: var(--surface); border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; white-space: nowrap; font-size: 13px; font-weight: 600; color: #394357; padding: 2px 0; }
.foot-links::-webkit-scrollbar { display: none; }
.foot-copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding-top: 6px; border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.foot-by b { color: var(--text); font-weight: 700; }

/* Leaflet ichidagi kichik moslashuv */
.leaflet-container { font: inherit; }
.leaflet-div-icon { background: none; border: 0; }

/* Planshet va kompyuter */
@media (min-width: 720px) {
  .cats { grid-template-columns: repeat(5, 1fr); }
  .cat { flex-direction: column; align-items: flex-start; padding: 14px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(4, 1fr); }
  .row2 { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr auto; align-items: center; padding: 26px 30px; }
  .map-teaser { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 22px; }
  .map-art { height: 180px; }
  .top-join { width: auto; padding: 0 14px; }
  .top-join span { display: inline; }
  .catlist { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .tabbar { display: none; }
  .top-links { display: flex; }
  .top-in { height: 68px; }
  .hero { padding: 54px 0 46px; }
  .hero h1 { font-size: 52px; }
  .hero-sub { font-size: 18px; }
  .search { grid-template-columns: 1fr 230px 150px; }
  .search .search-d { display: flex; }
  .search-sm { grid-template-columns: auto 1fr auto; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid .card { grid-template-columns: 1fr; }
  .grid .card-img { min-height: 150px; }
  .place { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start; margin-top: 20px; }
  .place-hero { margin: 0; border-radius: 22px; height: 380px; position: sticky; top: 90px; }
  .place-main { margin: 0; border-radius: 0; padding-top: 0; }
  .mapwrap { height: calc(100dvh - 68px); }
  .page-map .mapwrap { bottom: 0; }
  /* Kompyuter: chapda qidiruv, xizmatlar va tanlangan joy; o'ngda xarita — ekranning teng yarmi */
  .page-map .map-side { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 50%; display: flex; flex-direction: column; background: var(--surface); border-right: 1px solid var(--line); }
  .page-map #bigmap { left: 50%; }
  .page-map .map-bar { position: static; flex: none; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); pointer-events: auto; }
  .page-map .map-bar .search-sm { box-shadow: none; }
  .page-map .map-chips { position: relative; margin-top: 10px; }
  .page-map .map-bar .chips { margin: 0; padding: 0 0 2px; }
  .page-map .map-bar .chip { box-shadow: none; flex: none; }
  .chips-arrow { position: absolute; z-index: 2; top: 50%; width: 34px; height: 34px; margin-top: -18px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text, inherit); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
  .chips-arrow[hidden] { display: none; }
  .chips-arrow svg { width: 18px; height: 18px; }
  .chips-arrow.prev { left: -6px; } .chips-arrow.next { right: -6px; }
  .page-map .map-sheet { display: none; }
  .map-detail { display: block; flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 18px; transition: opacity .15s; }
  .map-detail[aria-busy] { opacity: .5; }
  .md-empty { height: 100%; min-height: 200px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; color: var(--muted); }
  .md-empty b { color: inherit; font-size: 17px; } .md-empty p { margin: 0 0 6px; }
  .md-empty-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--primary-l); color: var(--primary); margin-bottom: 8px; }
  .md-empty-ic svg { width: 30px; height: 30px; }
  .md-hero { position: relative; height: 200px; margin: 16px 0 14px; border-radius: 16px; overflow: hidden; background: var(--primary-l); background: color-mix(in srgb, var(--tint, #eef2ff) 28%, var(--surface)); display: grid; place-items: center; }
  .md-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
  .md-hero:not(:has(img)) { height: 110px; }
  .map-detail .place-main { margin: 0; padding: 0; background: none; }
  .map-detail .place-head h1 { font-size: 24px; }
  .md-full { margin-top: 14px; }
  .pin.pin-on { outline: 3px solid var(--accent); outline-offset: 1px; transform: rotate(-45deg) scale(1.25); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== Qo'shilish va boshqaruv formalari ===== */
.ferr { color: var(--err); font-size: 13px; font-weight: 600; }
.steps { margin: 0 0 18px; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.steps li { counter-increment: st; display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.steps li::before { content: counter(st); width: 26px; height: 26px; border-radius: 50%; background: var(--primary-l); color: var(--primary); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0; }
.kinds legend { grid-column: 1 / -1; margin-bottom: 8px; }
.kind { position: relative; cursor: pointer; }
.kind input { position: absolute; opacity: 0; pointer-events: none; }
/* Tanlash kartochkasi: belgi, nomi, izohi ustma-ust */
.form .kind > .kind-box { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; height: 100%; padding: 14px;
  border-radius: 16px; border: 1.5px solid #d9deea; background: var(--surface); font-weight: 400; transition: border-color .15s, background .15s; }
.kind-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f1f4fb; color: var(--primary); margin-bottom: 4px; }
.kind-ic svg { width: 22px; height: 22px; }
.kind-box b { font-size: 15.5px; font-weight: 700; line-height: 1.25; }
.kind-box small { color: #5b6275; font-size: 13px; line-height: 1.35; }
.kind-ok { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--primary); color: #fff; opacity: 0; transform: scale(.6); transition: .15s; }
.kind input:checked + .kind-box { border-color: var(--primary); background: var(--primary-l); }
.kind input:checked + .kind-box .kind-ic { background: var(--primary); color: #fff; }
.kind input:checked + .kind-box .kind-ok { opacity: 1; transform: none; }
.kind input:focus-visible + .kind-box { outline: 2px solid var(--primary); outline-offset: 2px; }
.more summary { cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--primary); padding: 4px 0; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chk { display: inline-flex !important; align-items: center; gap: 8px; cursor: pointer; font-weight: 500 !important; }
.checks .chk { padding: 6px 10px; border: 1px solid #d9deea; border-radius: 999px; font-size: 13.5px; background: var(--surface); }
.chk input { width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.consent { align-items: flex-start !important; font-size: 14px; line-height: 1.45; }
.consent input { margin-top: 2px; }
.geo { display: grid; gap: 8px; }
.geo-map { height: 220px; border-radius: 14px; border: 1px solid var(--line); background: #eef2fb; overflow: hidden; }
.geo-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hours { display: flex; align-items: center; gap: 8px; }
.hours select { flex: 1.4; }
.hours input { flex: 1; min-width: 0; }
.form .hours > span { color: var(--muted); }
.cur-photo { display: flex; align-items: center; gap: 12px; }
.cur-photo img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.ic-inline { width: 15px; height: 15px; vertical-align: -2px; color: var(--primary); }
.done-box { text-align: center; padding: 6px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 18px; display: grid; justify-items: center; gap: 10px; }
.done-box p { margin: 0; color: #3b4254; }
.copy { display: flex; gap: 8px; width: 100%; min-width: 0; }
.copy .btn { flex: none; }
.note { grid-template-columns: minmax(0, 1fr); }
.note p { overflow-wrap: anywhere; }
.copy input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid #d9deea; background: #f6f8fc; font-size: 14px; }
.okbar { padding: 10px 14px; border-radius: 12px; background: var(--ok-l); color: var(--ok); font-weight: 700; margin-bottom: 12px; }
.own-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.stat { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.stat-on { background: var(--ok-l); color: var(--ok); } .stat-wait { background: #fff4e0; color: var(--warn); } .stat-off { background: #f1f2f6; color: var(--muted); }
.today { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.today b { display: block; } .today small { color: var(--muted); }
.switch { width: 52px; height: 30px; border-radius: 999px; border: 0; background: #d5dae6; position: relative; cursor: pointer; flex: none; }
.switch span { position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.today.on .switch { background: var(--ok); } .today.on .switch span { left: 25px; }
.orders { display: grid; gap: 10px; }
.order { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 3px; }
.order.o-new { border-color: #ffd0a8; background: #fffaf5; }
.order-top { display: flex; justify-content: space-between; gap: 8px; }
.order-top a { color: var(--primary); font-weight: 700; }
.order-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.order-act .pill { height: 32px; font-size: 13px; }

/* Ilovani o'rnatish taklifi */
.install { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(var(--tab-h) + 10px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .35); }
.install img { border-radius: 10px; flex: none; }
.install div { flex: 1; min-width: 0; display: grid; font-size: 14px; }
.install small { color: var(--muted); font-size: 12.5px; }
.install-x { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
@media (min-width: 960px) { .install { left: auto; right: 20px; bottom: 20px; width: 380px; } }

/* Reyting va sharhlar */
.rate { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: var(--rate); }
.rate em { font-style: normal; color: var(--muted); font-weight: 500; }
.rate-lg { font-size: 15px; margin-top: 6px; }
.reviews { display: grid; gap: 10px; }
.review { padding: 12px 14px; border-radius: 14px; background: #f6f8fc; }
.review p { margin: 6px 0 0; white-space: pre-line; }
.review-top { display: flex; justify-content: space-between; gap: 8px; }
.stars-s { color: #f59e0b; letter-spacing: 1px; } .stars-s i { font-style: normal; color: #d6dae4; }
.reply { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--primary); background: var(--surface); border-radius: 0 8px 8px 0; font-size: 14px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars input { position: absolute; opacity: 0; pointer-events: none; }
.stars label { font-size: 38px; line-height: 1; color: #d6dae4; cursor: pointer; transition: transform .1s; display: inline !important; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #f59e0b; }
.stars input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 6px; }
.reply-form { display: grid; gap: 6px; margin-top: 8px; }
.reply-form textarea { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid #d9deea; font: inherit; font-size: 14px; }
.reply-form .btn { justify-self: start; }

/* Yordamchi (chat) */
.page-chat .foot { display: none; }
.chat { display: flex; flex-direction: column; min-height: calc(100dvh - 60px - var(--tab-h) - env(safe-area-inset-bottom, 0px)); }
.chat-hero { background: radial-gradient(circle at 85% 10%, rgba(255, 122, 26, .25), transparent 40%), linear-gradient(160deg, #0b1b3a 0%, #133d7a 60%, #1f5eff 130%); color: #fff; padding: 22px 0 44px; }
.chat-hero-in { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.chat-ava { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 12px; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); }
.chat-ava svg { width: 26px; height: 26px; }
.chat-hero h1 { margin: 0; font-size: 30px; line-height: 1.12; font-weight: 800; letter-spacing: -.6px; }
.chat-hero h1 span { color: #ffa45c; }
.chat-hero p { margin: 10px 0 0; color: #cbd6f2; font-size: 15px; }
.chat-on .chat-hero { display: none; }
.chat-main { flex: 1; display: flex; flex-direction: column; width: 100%; max-width: 760px; padding-bottom: 12px; }
.chat-log { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; }
.chat-on .chat-log { padding-top: 16px; }
.chat-start { margin-top: -28px; display: grid; gap: 12px; }
.say-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.say-tile { --c: #ff7a1a; --t: #fff3ea; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 14px; text-align: left; cursor: pointer; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .12s; }
.say-tile:active { transform: scale(.97); }
.say-tile span { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 13%, var(--surface)); }
.say-tile svg { width: 22px; height: 22px; }
.say-tile b { font-size: 14px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.say-health { --c: #0f9f72; }
.say-car { --c: #1f5eff; }
.say-worker { --c: #8a4fff; }
.say-photo { margin: 0; }
.chat-note { text-align: center; margin: 0; }
.bot-fix { margin-top: 10px; }
.bot-fix .pill { cursor: pointer; }
.chat-log > .msg { animation: msg-in .22s ease-out; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.chat .bubble { box-shadow: 0 6px 18px -14px rgba(23, 25, 35, .4); }
.chat .msg.me .bubble { background: linear-gradient(135deg, #1f5eff, #133d7a) border-box; border-color: transparent; }
.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg.me { justify-content: flex-end; }
.bubble { max-width: 86%; padding: 11px 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.msg.me .bubble { background: var(--primary); color: #fff; border-color: var(--primary); border-bottom-right-radius: 6px; }
.msg.bot .bubble { border-bottom-left-radius: 6px; }
.bot-ic { width: 32px; height: 32px; border-radius: 50%; background: #fff3ea; color: var(--accent); display: grid; place-items: center; flex: none; }
.bot-ic svg { width: 18px; height: 18px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b5bccc; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.chips-wrap { flex-wrap: wrap; overflow: visible; margin: 8px 0 0; padding: 0; }
.mini-list { display: grid; gap: 8px; margin-top: 10px; }
.mini-card { display: flex; gap: 10px; padding: 10px; border-radius: 14px; background: #f6f8fc; }
.mini-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--tint, #eef2ff); color: var(--accent); display: grid; place-items: center; flex: none; }
.mini-body { display: grid; gap: 1px; min-width: 0; }
.mini-body small { color: var(--muted); font-size: 12.5px; }
.mini-act { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.mini-act .pill { height: 32px; font-size: 13px; padding: 0 11px; }
.bot-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.chat-box { position: sticky; z-index: 5; bottom: calc(var(--tab-h) + 24px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 34px -16px rgba(11, 27, 58, .55); transition: border-color .15s; }
.chat-box:focus-within { border-color: var(--primary); }
.chat-box input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; padding: 0 6px 0 14px; font-size: 16px; background: transparent; }
.chat-box input::placeholder { color: var(--muted); }
.chat-box input { text-overflow: ellipsis; }
.chat-box.vo input { padding-left: 12px; }
.chat-box.vo input::placeholder { font-size: 14px; color: var(--text); }
.chat-box.vo .chat-send { display: none; }  /* yozib olish paytida ko'rsatma to'liq sig'sin */
.chat-box button { width: 46px; height: 46px; flex: none; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: transform .1s; }
.chat-box button:active { transform: scale(.94); }
.chat-box button svg { width: 21px; height: 21px; }
.chat-box .mic { background: var(--primary-l); color: var(--primary); }
.chat-box .mic:disabled { opacity: .55; }
.chat-box .mic.rec { background: #e53935; color: #fff; animation: mic-rec 1.2s infinite; }
@keyframes mic-rec { 0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, .5); } 100% { box-shadow: 0 0 0 12px rgba(229, 57, 53, 0); } }
.chat-send { background: linear-gradient(135deg, #1f5eff, #133d7a); color: #fff; }
@media (prefers-reduced-motion: reduce) { .chat-log > .msg, .chat-box .mic.rec { animation: none; } }
@media (min-width: 960px) { .chat { min-height: calc(100dvh - 68px - 40px); } .chat-box { bottom: 16px; } .say-grid { grid-template-columns: repeat(4, 1fr); } .chat-hero h1 { font-size: 42px; } }
@media (prefers-reduced-motion: reduce) { .typing i { animation: none; } }
.ask { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); max-width: 560px; }
.ask span:nth-child(2) { flex: 1; display: grid; }
.ask small { color: #cbd6f2; font-size: 13px; }
.ask .bot-ic { background: rgba(255, 255, 255, .92); }
.tab-plus.on span { box-shadow: 0 0 0 3px rgba(31, 94, 255, .25), 0 8px 18px -6px rgba(255, 122, 26, .8); }
/* Yuqori menyu (kompyuter): har biri alohida blok — ustiga kelganda ko'tariladi, bosilganda jonli botiladi, sahifa ochilgani ajralib turadi */
@media (min-width: 960px) {
  .top-links { flex: 1 1 auto; min-width: 0; gap: 6px; font-size: 14px; overflow-x: auto; scrollbar-width: none; padding: 6px 2px; }
  .top-links::-webkit-scrollbar { display: none; }
  .top .top-links a { position: relative; overflow: hidden; flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 13px; border-radius: 12px; white-space: nowrap; color: inherit;
    background: rgba(120, 135, 170, .13); border: 1px solid rgba(120, 135, 170, .2);
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease; }
  .top-links svg { width: 17px; height: 17px; flex: none; color: var(--primary); transition: color .22s ease, transform .22s cubic-bezier(.2, .8, .2, 1); }
  .top .top-links a:hover { transform: translateY(-2px); background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 10px 20px -10px rgba(31, 94, 255, .85); }
  .top-links a:hover svg { color: #fff; transform: scale(1.12); }
  .top .top-links a.on { background: linear-gradient(135deg, #1f5eff, #0a84d6); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -10px rgba(31, 94, 255, .9); }
  .top-links a.on svg { color: #fff; }
  .top .top-links a:active, .top .top-links a.pressed { transform: scale(.94); filter: none; box-shadow: none; }
  .top .top-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
}
@media (min-width: 960px) { .top .wrap.top-in { max-width: 1600px; } }
@media (min-width: 960px) and (max-width: 1500px) { .top .chip-loc { display: none; } .top-in { gap: 12px; } .top .top-links a { padding: 0 10px; gap: 5px; } .top-links { font-size: 13.5px; gap: 5px; } .top-links svg { width: 15px; height: 15px; } }
@media (min-width: 960px) and (max-width: 1240px) { .top-links svg { display: none; } .top .top-links a { padding: 0 9px; } .top-join span { display: none; } }
/* Sahifalar orasida yumshoq o'tish (qo'llaydigan brauzerlarda); yuqori menyu joyida turadi */
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
  .top { view-transition-name: top; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
}
.pill-select.on { border-color: var(--primary); color: var(--primary); background-color: var(--primary-l); }
/* Xaritadagi guruhlar — brend ranglarida */
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(31, 94, 255, .22) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: var(--primary) !important; color: #fff; font: 700 12px/30px Inter, system-ui, sans-serif; }
.danger { margin-top: 26px; padding: 12px 14px; border: 1px solid #f3c4c8; border-radius: 14px; background: #fff7f8; }
.danger summary { cursor: pointer; font-weight: 700; color: var(--err); }
.danger .form { margin-top: 10px; }
.btn-danger { color: var(--err); border-color: #f0b4b9; }

/* Galereya */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gal button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: #eef2fb; max-width: 100%; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal-count { position: absolute; right: 12px; bottom: 30px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 13px; font-weight: 700; }
.gal-count svg { width: 15px; height: 15px; }
.place-hero img[data-zoom] { cursor: zoom-in; }
.zoom { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.zoom::backdrop { background: rgba(10, 14, 25, .88); }
.zoom img { max-width: 94vw; max-height: 88vh; border-radius: 12px; }
.zoom-x { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 26px; cursor: pointer; }
.gal-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-bottom: 10px; }
.gal-edit figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #eef2fb; }
.gal-edit img { width: 100%; height: 100%; object-fit: cover; }
.gal-del { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.gal-up { display: grid; gap: 6px; }
.codebox { display: grid; justify-items: center; gap: 4px; padding: 12px 16px; border-radius: 14px; background: var(--primary-l); margin: 12px auto; max-width: 420px; text-align: center; }
.codebox small { color: #3b4a7a; font-size: 13px; }
.codebox b, .mono { font: 800 22px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; color: var(--primary); }
.mono { font-size: 15px; }
.restore { margin-top: 22px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.restore summary { cursor: pointer; font-weight: 700; color: var(--primary); }
.restore .form { margin-top: 10px; }
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.langs a { font-weight: 700; font-size: 12px; padding: 6px 7px; color: var(--muted); }
.langs a.on { background: var(--primary-l); color: var(--primary-t); }
@media (max-width: 380px) { .chip-loc { display: none; } }
/* Til tanlovi (9 til) */
.langsel { position: relative; }
.langsel summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 12.5px; cursor: pointer; color: #394357; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary svg { width: 16px; height: 16px; color: var(--primary); }
.langmenu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; min-width: 170px; display: grid; padding: 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.langmenu a { padding: 9px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 500; }
.langmenu a:hover { background: #f3f5fb; }
.langmenu a.on { background: var(--primary-l); color: var(--primary); font-weight: 700; }
@media (min-width: 720px) { .top-in { gap: 18px; } }

/* Bosish effekti (Telegram kabi): barmoq tekkan joydan yoyiladigan to'lqin va yumshoq "botish" */
.tap { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.tap-fx { transition: transform .18s cubic-bezier(.2, .8, .2, 1), filter .18s; }
.tap-fx.pressed { transform: scale(.965); filter: brightness(.97); }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: currentColor; opacity: .16; transform: scale(0);
  animation: ripple .55s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ripple { display: none; } .tap-fx.pressed { transform: none; } }

main { flex: 1 0 auto; }
.foot { flex-shrink: 0; }

/* Ish vaqti: istalgan kunlar, tez tanlash, 24 soat, vaqt */
.wh { display: grid; gap: 10px; }
.wdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.wd { position: relative; cursor: pointer; }
.wd input { position: absolute; opacity: 0; pointer-events: none; }
.wd span { display: grid; place-items: center; height: 44px; border-radius: 12px; border: 1.5px solid #d9deea; background: var(--surface);
  font-size: 14px; font-weight: 700; color: #394357; transition: background .15s, border-color .15s, color .15s; }
.wd input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.wd input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.wd-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.wd-quick .pill { height: 34px; font-size: 13px; }
.wtime { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.wtime span { color: var(--muted); font-weight: 700; }
.wtime input, .wtime select { min-width: 0; text-align: center; }
.wtime select { flex: 1; padding: 12px 10px; border-radius: 12px; border: 1px solid #d9deea; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; }
.wh.allday .wtime { opacity: .4; pointer-events: none; }

/* ===== E'lonlar: ish va uy-joy ===== */
.hubs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.hub { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 18px; color: #fff; overflow: hidden; box-shadow: var(--shadow); }
.hub-job { background: linear-gradient(135deg, #0f9f72, #2cc493); }
.hub-estate { background: linear-gradient(135deg, #ff7a1a, #ff9b4d); }
.hub-ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; }
.hub-ic svg { width: 24px; height: 24px; }
.hub-txt { display: grid; gap: 2px; }
.hub-txt b { font-size: 17px; font-weight: 800; }
.hub-txt small { font-size: 12.5px; opacity: .9; line-height: 1.35; }
.hub em { position: absolute; top: 14px; right: 14px; font-style: normal; font-weight: 800; font-size: 13px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.lhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lhead .h1 { margin: 0; }
.lhead p { margin: 4px 0 0; }
.lgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.lcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lcard-img { background: #eef2fb; display: grid; place-items: center; min-height: 128px; }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; }
.lcard-body { display: grid; gap: 5px; padding: 12px; align-content: start; }
.lcard-price, .lprice { font-weight: 800; color: var(--primary); }
.lcard-price { font-size: 15px; }
.lprice { font-size: 20px; margin: 4px 0 8px; }
.lcard .card-addr { display: flex; align-items: center; gap: 4px; }
.lcard .card-addr svg { width: 14px; height: 14px; color: var(--muted); }
.lcard-foot { display: flex; align-items: center; justify-content: space-between; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.facts div { padding: 10px 12px; border-radius: 12px; background: #f6f8fc; min-width: 0; }
.facts dt { font-size: 12px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.choose { display: grid; gap: 10px; margin-top: 16px; }
.choose-item { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 14px; border-radius: 16px; border: 1.5px solid #d9deea; background: var(--surface); }
.choose-item .kind-ic { grid-row: 1 / 3; margin: 0; }
.choose-item b { font-size: 16px; }
.choose-item small { color: var(--muted); font-size: 13px; }
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lphotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.lphoto { display: grid; gap: 4px; }
.lphoto img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; width: 100%; }
.ostat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 12px; }
.oacts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.oacts form { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 720px) {
  .lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hub { flex-direction: row; align-items: center; padding: 20px; }
  .hub-txt b { font-size: 19px; }
}
@media (max-width: 380px) { .hub { padding: 12px; gap: 6px; } .hub-ic { width: 36px; height: 36px; border-radius: 12px; } .hub-ic svg { width: 20px; height: 20px; } .hub-txt b { font-size: 15px; } .hub-txt small { font-size: 11.5px; } .hub em { top: 10px; right: 10px; } }  /* tor telefonda ham yonma-yon */

/* Telefonda bo'sh holat ixcham — bo'sh sahifa bitta ekranga sig'adi */
@media (max-width: 719px) {
  .empty { padding: 20px 14px; }
  .empty-ic { width: 48px; height: 48px; border-radius: 14px; }
  .empty-ic svg { width: 24px; height: 24px; }
  .empty h3 { margin: 8px 0 4px; font-size: 17px; }
  .empty p { margin: 0; font-size: 14px; }
  .empty-act { margin-top: 10px; }
  .lhead .h1 { font-size: 26px; }
  .lhead p { font-size: 14px; }
  .res-head { margin: 12px 0 10px; }
}

/* Orqaga tugmasi (tepada), qoralama va so'rov oynasi */
.top-back { width: 40px; height: 40px; margin-left: -4px; }
.top-back svg { width: 22px; height: 22px; }
.hero-back, .search-sm > a[data-back] { display: none; }  /* tepadagi umumiy "Orqaga" bor */
.draft-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px;
  background: #fff8e8; color: #7a5200; font-size: 14px; font-weight: 600; }
.draft-bar .link { border: 0; background: none; padding: 0; cursor: pointer; }
.ask-bg { position: fixed; inset: 0; z-index: 3000; background: rgba(15, 18, 30, .45); display: grid; place-items: end center;
  padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); animation: askfade .15s ease; }
.ask-box { width: 100%; max-width: 420px; background: var(--surface); border-radius: 20px; padding: 18px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
  animation: askup .2s cubic-bezier(.2, .8, .2, 1); }
.ask-box p { margin: 0 0 14px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.ask-btns { display: grid; gap: 8px; }
.ask-btns .btn { width: 100%; }
@keyframes askfade { from { opacity: 0; } }
@keyframes askup { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 720px) { .ask-bg { place-items: center; } }
@media (max-width: 719px) { .lhead { align-items: center; } .lhead .btn span { display: none; } .lhead .btn { width: 44px; padding: 0; } }
/* Pastki havolalar torayib so'zlar kesilmasin — butunligicha, qator suriladi */
.foot-links a { flex: none; }
/* Filtr ro'yxatlari tanlangan so'z kengligida (eng uzun variant emas) — bir qatorga ko'proq sig'adi */
.pill-select { field-sizing: content; max-width: 70vw; padding-left: 12px; }
.filters > * { flex: none; }

/* Narx va valyuta (so'm / $) yonma-yon */
.form label > span.cur-row { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; font-weight: 400; }
.lcard-price small, .lprice small { font-size: 12.5px; font-weight: 600; }
.ltabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 14px; background: #eceff6; }
.ltabs a { text-align: center; padding: 9px 8px; border-radius: 11px; font-weight: 700; font-size: 14px; color: #4a5266; }
.ltabs a.on { background: var(--surface); color: var(--primary); box-shadow: 0 2px 8px -4px rgba(23, 25, 35, .3); }

/* E'lon: saqlash, statistika, arizalar, shikoyat */
.fav-s { border: 0; background: none; padding: 4px; color: #9aa1b2; cursor: pointer; }
.fav-s.on, .quick [data-lfav].on { color: #e53950; }
.fav-s.on svg, .quick [data-lfav].on svg { fill: currentColor; }
.ostats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin: 4px 0 14px; }
.ostats div { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; }
.ostats b { font-size: 20px; }
.pstat > b { display: block; font-size: 13px; color: var(--muted); margin: 0 0 6px; }
.ostats small { color: var(--muted); font-size: 12px; }
.apps { display: grid; gap: 8px; margin-bottom: 18px; }
.app-row { padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.app-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-row p { margin: 4px 0; }
.app-act { display: flex; gap: 6px; margin-top: 4px; }
.report { margin-top: 22px; color: var(--muted); font-size: 14px; }
.report summary { cursor: pointer; }
.report .form { margin-top: 10px; gap: 8px; }
.apply { margin-bottom: 8px; }
.res-head .pill-select { order: 3; }

/* ===== Kabinet va boshqaruv sahifalari (bo'limlar) ===== */
.cab-hero { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cab-hero .h1 { margin: 0; }
.cab-hero p { margin: 2px 0 0; font-size: 14px; }
.cab-av { width: 56px; height: 56px; flex: none; border-radius: 18px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), #6f97ff); box-shadow: 0 10px 24px -12px rgba(31, 94, 255, .7); }
.cab-av svg { width: 28px; height: 28px; }
.cab-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cab-stats a { display: grid; justify-items: center; gap: 0; padding: 12px 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.cab-stats b { font-size: 20px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.cab-stats small { font-size: 11.5px; color: var(--muted); line-height: 1.2; }
.cab-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 4px; }
.cab-sec { margin-top: 22px; }
.cab-sec > .h2 { margin-bottom: 10px; }
.cab-list { display: grid; gap: 10px; }
.cab-empty { margin: 0; padding: 18px; text-align: center; color: var(--muted); border: 1px dashed #cfd6e6; border-radius: var(--r); font-size: 14px; }
.cab-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cab-th { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: #eef2fb; display: grid; place-items: center; }
.cab-th img { width: 100%; height: 100%; object-fit: cover; }
.cab-body { display: grid; gap: 4px; min-width: 0; align-content: start; }
.cab-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.cab-top b { font-size: 15px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cab-price { font-weight: 800; color: var(--primary); font-size: 14px; }
.cab-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.cab-meta .hot { color: var(--accent-d); font-weight: 700; }
.cab-act { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.cab-links { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; }
.cab-links a { display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14.5px; }
.cab-links a:last-child { border-bottom: 0; }
.cab-links svg { color: var(--primary); }
.cab-links .chev { color: #b4bccc; width: 18px; height: 18px; }
.own-card { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.own-card .h2 { margin: 0 0 6px; }
.own-card p { margin: 6px 0 0; }
.otabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 0 14px; border-radius: 14px; background: #eceff6;
  position: sticky; top: calc(60px + env(safe-area-inset-top, 0px)); z-index: 20; }
.otabs::-webkit-scrollbar { display: none; }
.otabs button { flex: none; border: 0; background: none; padding: 9px 14px; border-radius: 11px; font: inherit; font-weight: 700; font-size: 14px; color: #4a5266; cursor: pointer; white-space: nowrap; }
.otabs button.on { background: var(--surface); color: var(--primary); box-shadow: 0 2px 8px -4px rgba(23, 25, 35, .3); }
.otabs em { font-style: normal; display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--accent-btn); color: #fff; font-size: 11.5px; }
@media (max-width: 420px) { .cab-stats { gap: 6px; } .cab-stats a { padding: 10px 2px; } .cab-stats b { font-size: 18px; } .cab-stats small { font-size: 10.5px; } }

.pushbox { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 12px;
  border-radius: var(--r); background: linear-gradient(135deg, #eef3ff, #f7f9ff); border: 1px solid #d6e1ff; }
.pushbox .pb-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; font-size: 20px; box-shadow: var(--shadow); }
.pushbox b { display: block; font-size: 14.5px; }
.pushbox small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.pushbox.on { background: var(--ok-l); border-color: #bfe6cf; }
.pushbox.on small { color: var(--ok); font-weight: 700; }
.alertbox { display: grid; gap: 4px; padding: 12px 14px; margin-bottom: 12px; border-radius: var(--r); border: 1px solid var(--warn); background: var(--surface); }
.alertbox b { color: var(--warn); font-size: 14.5px; } .alertbox small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.order-stale { margin: 8px 0 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--warn); font-size: 13.5px; line-height: 1.4; }
.order-stale b { color: var(--warn); }

/* Uy-joy xaritasi */
.ltabs-sm { width: fit-content; grid-template-columns: auto auto; margin: 0 0 12px; }
.ltabs-sm a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; }
.ltabs-sm svg { width: 16px; height: 16px; }
.lmap-wrap { margin-bottom: 8px; }
.lmap { height: 62vh; min-height: 320px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: #eef2fb; }
.pricepin { display: inline-block; transform: translate(-50%, -100%); padding: 4px 9px; border-radius: 999px; background: var(--primary); color: #fff;
  font: 700 12px/1.2 Inter, system-ui, sans-serif; white-space: nowrap; box-shadow: 0 4px 12px -4px rgba(31, 94, 255, .7); border: 2px solid #fff; }
.pp { display: grid; gap: 4px; width: 200px; color: var(--text); text-decoration: none; }
.pp img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; }
.pp span { color: var(--primary); font-weight: 800; }

/* ===== Kategoriyalar sahifasi (v2): tartibli ro'yxat ===== */
.catlist { display: grid; gap: 12px; }
.catbox { padding: 0; overflow: hidden; }
.catbox-head { padding: 14px; gap: 12px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--tint, #f3f5fb), transparent 70%); }
.catbox-head .cat-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; flex: none; box-shadow: 0 4px 12px -8px rgba(23, 25, 35, .4); }
.catbox-head .cat-ic svg { width: 24px; height: 24px; color: var(--accent); }
.cb-t { display: grid; flex: 1; min-width: 0; }
.cb-t b { font-size: 16.5px; }
.cb-t small { color: var(--muted); font-size: 13px; }
.cb-n { flex: none; padding: 3px 10px; border-radius: 999px; background: var(--surface); color: var(--primary); font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; }
.catbox-head .chev { color: #b4bccc; flex: none; }
.sublist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sl { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 10px 14px; font-size: 14px; font-weight: 600;
  border-bottom: 1px solid #eef0f5; }
.sl:nth-child(odd) { border-right: 1px solid #eef0f5; }
.sl span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.sl em { flex: none; font-style: normal; font-size: 12px; font-weight: 800; color: var(--primary-t); background: var(--primary-l); padding: 2px 8px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.sl svg { flex: none; width: 15px; height: 15px; color: #c3cad8; }
.sl.z span { color: #7a8193; font-weight: 500; }
.sl:active { background: #f6f8fc; }
@media (min-width: 720px) { .catlist { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (min-width: 1100px) { .sublist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Sarlavha qatori: "orqaga" bilan ham logotip ko'rinadi; tor ekranda "Andijon" yashiriladi */
@media (max-width: 560px) { .top.inner .chip-loc { display: none; } }
@media (max-width: 360px) { .top.inner .logo { font-size: 16px; } }

/* ===== Ichki sahifalar: yagona sarlavha bloki (belgi + nom + izoh) ===== */
.phead { --ph: var(--primary); --ph-l: var(--primary-l); display: flex; align-items: center; gap: 14px; margin: 4px 0 16px; }
.phead.green { --ph: #12935f; --ph-l: #e3f6ee; }
.phead.rose { --ph: #e0365a; --ph-l: #fdeaef; }
.phead.amber { --ph: #c46a00; --ph-l: #fff1dc; }
.ph-ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--ph-l); color: var(--ph); }
.ph-ic svg { width: 26px; height: 26px; }
.ph-t { flex: 1; min-width: 0; }
.ph-t .h1 { margin: 0; font-size: 24px; text-wrap: balance; }
.ph-t p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.phead > .btn { flex: none; }
@media (max-width: 719px) { .phead > .btn span { display: none; } .phead > .btn { width: 44px; padding: 0; } .ph-t .h1 { font-size: 22px; } }
/* Huquqiy matnlar — bitta oq varaq ichida, o'qish qulay */
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 18px 8px; }
.prose .h3 { margin-top: 22px; padding-top: 14px; border-top: 1px solid #eef0f5; }
.prose p, .prose li { line-height: 1.6; }
.wrap.prose { width: calc(100% - 32px); margin-bottom: 20px; }

/* Ochiq so'rov va takliflar */
.alert.ok { background: var(--ok-l); color: var(--ok); }
.howto { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0 8px; }
.howto div { display: grid; gap: 4px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; line-height: 1.3; }
.howto b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-l); color: var(--primary); font-size: 13px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 13px; color: var(--ok); font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 5px; }
.trust svg { width: 15px; height: 15px; }
.offers { display: grid; gap: 8px; margin: 8px 0 4px; }
.offers-h { font-weight: 800; font-size: 14px; }
.offer { padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; }
.offer-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.offer-top a { color: inherit; min-width: 0; overflow-wrap: anywhere; }
.offer-price { font-weight: 800; color: var(--primary); white-space: nowrap; }
.offer p { margin: 0; }
.offer form { margin-top: 2px; }
.offers-wait { margin: 6px 0; color: var(--muted); }
.offer-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 8px; }
.pushbox, .thanks-push { text-align: left; }
@media (min-width: 560px) { .offer-form { grid-template-columns: 140px minmax(0, 1fr) auto; } }
.req-cta { display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 18px;
  background: linear-gradient(135deg, #fff7e6, #ffeccc); border: 1px solid #ffd99a; color: var(--text, #10162f); }
.req-cta .req-ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: #fff; }
.req-cta .req-ic svg { width: 22px; height: 22px; }
.req-cta b { display: block; font-size: 15.5px; }
.req-cta small { color: #6b5a3a; font-size: 13px; line-height: 1.35; }
.req-cta > svg { width: 18px; height: 18px; color: #b86a00; }
.fullness { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 12px; }
.fullness .bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.fullness .bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--ok)); }
.fullness-miss { display: flex; flex-wrap: wrap; gap: 6px; }
.fullness-miss .chip { font-size: 13px; height: 32px; }
.res-head .watch { order: 4; }
.watch svg { width: 17px; height: 17px; }
.lbadges { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0; }
.lbadges span { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--ok-l); color: var(--ok); }

/* Yozishma */
.chat-btn { margin-top: 8px; }
.chats { display: grid; gap: 6px; }
.chat-row { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); color: inherit; }
.chat-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-l); color: var(--primary); font-weight: 800; text-transform: uppercase; }
.chat-mid { min-width: 0; display: grid; }
.chat-mid b, .chat-mid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-mid small { color: var(--muted); font-size: 13px; }
.chat-end { display: grid; justify-items: end; gap: 4px; }
.chat-end small { color: var(--muted); font-size: 11.5px; }
.chat-end em, .cnt-dot { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.room-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.room-who { display: grid; min-width: 0; }
.room-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msgs { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; min-height: 40vh; max-height: calc(100dvh - 300px); overflow-y: auto; overscroll-behavior: contain; }
.msg-b { max-width: 82%; padding: 8px 12px 6px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); align-self: flex-start; overflow-wrap: anywhere; }
.msg-b.me { align-self: flex-end; background: var(--primary); border-color: var(--primary); color: #fff; }
.msg-b p { margin: 0; font-size: 15px; line-height: 1.4; }
.msg-b small { display: block; text-align: right; font-size: 11px; opacity: .65; margin-top: 2px; }
.composer { display: grid; grid-template-columns: 40px minmax(0, 1fr) 48px; gap: 8px; align-items: end; padding-top: 8px; border-top: 1px solid var(--line); }
.composer textarea { resize: none; min-height: 46px; max-height: 140px; }
.composer .btn { height: 46px; padding: 0; }
.composer svg { width: 20px; height: 20px; }
.center { text-align: center; }
.suggest-cta { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; margin: 14px 0 4px; padding: 12px 14px;
  border-radius: 14px; border: 1px dashed #c9d3ee; background: var(--primary-l); color: inherit; }
.suggest-cta > svg { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #fff; color: var(--primary); }
.suggest-cta b { display: block; }
.suggest-cta small { color: var(--muted); font-size: 13px; }
.tgbox { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 12px;
  border-radius: 16px; background: #eaf5fd; border: 1px solid #c8e4f7; text-align: left; }
.tgbox b { display: block; font-size: 14.5px; }
.tgbox small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.tg-ic { color: #229ed9; }
.tg-ic svg { width: 22px; height: 22px; }
.phone-ok { display: inline-flex; align-items: center; gap: 4px; margin: 2px 0 4px; padding: 2px 9px; border-radius: 99px; background: var(--ok-l); color: var(--ok); font-size: 12.5px; font-weight: 700; }
.phone-ok svg { width: 14px; height: 14px; }

/* Pullik ko'tarish */
.promo-b { position: absolute; bottom: 6px; left: 6px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; color: #fff; background: #ff7a1a; }
.promo-b.promo-vip { background: linear-gradient(135deg, #7b3cff, #c13cff); }
.promo-box .promo-b, .promo-on .promo-b, .promo-plan .promo-b { position: static; }
.card-vip { box-shadow: 0 0 0 2px #b46cff, var(--shadow); }
.promo-box { margin: 14px 0; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.promo-box h2 { margin-top: 0; }
.promo-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin: 8px 0; }
.promo-plan { display: grid; gap: 4px; justify-items: start; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; text-align: left; font: inherit; color: inherit; }
.promo-plan b { font-size: 16px; }
.promo-plan small { color: var(--muted); }
.promo-on { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.lcard-img { position: relative; }
.composer .att { width: 40px; height: 46px; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.composer .att svg { width: 22px; height: 22px; }
.msg-b img { display: block; max-width: 100%; max-height: 260px; border-radius: 10px; margin: 2px 0 4px; cursor: zoom-in; }

/* ===== Tungi rejim: telefon sozlamasiga qarab (prefers-color-scheme). Ranglar o'zgaruvchilar orqali; qattiq yozilgan
   och ranglar shu yerda alohida almashtiriladi. Admin panel o'zi qorong'i — tegilmaydi (body.adm). ===== */
/* avtomatik (telefon sozlamasi), agar foydalanuvchi "Yorug'" ni tanlamagan bo'lsa */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not(.adm-root) { color-scheme: dark;
    --bg: #0d1118; --surface: #161b25; --text: #e6e9f0; --muted: #9aa3b5; --line: #262d3b;
    --primary: #5b8cff; --primary-d: #4a7bf0; --primary-l: #18233f;
    --ok: #3ccf8e; --ok-l: #10291f; --warn: #f0a640; --err: #ff7a85; --primary-t: #8fb0ff; --rate: #e0a040;
    --shadow: 0 10px 28px -14px rgba(0, 0, 0, .8);
    --soft: #1c2230; }
  :root:not([data-theme="light"]) body:not(.adm) .top { background: rgba(13, 17, 24, .9); }
  :root:not([data-theme="light"]) body:not(.adm) .tabbar { background: rgba(16, 20, 28, .96); }
  :root:not([data-theme="light"]) body:not(.adm) .search, :root:not([data-theme="light"]) body:not(.adm) .locate-btn, :root:not([data-theme="light"]) body:not(.adm) .suggest-cta > svg, :root:not([data-theme="light"]) body:not(.adm) .pushbox .pb-ic, :root:not([data-theme="light"]) body:not(.adm) .switch span, :root:not([data-theme="light"]) body:not(.adm) .map-art::before { background: var(--surface); }
  :root:not([data-theme="light"]) body:not(.adm) .search label, :root:not([data-theme="light"]) body:not(.adm) .subs a, :root:not([data-theme="light"]) body:not(.adm) .quick a, :root:not([data-theme="light"]) body:not(.adm) .quick button, :root:not([data-theme="light"]) body:not(.adm) .services li, :root:not([data-theme="light"]) body:not(.adm) .review, :root:not([data-theme="light"]) body:not(.adm) .mini-card, :root:not([data-theme="light"]) body:not(.adm) .facts div, :root:not([data-theme="light"]) body:not(.adm) .kind-ic, :root:not([data-theme="light"]) body:not(.adm) .copy input, :root:not([data-theme="light"]) body:not(.adm) .langmenu a:hover, :root:not([data-theme="light"]) body:not(.adm) .sl:active, :root:not([data-theme="light"]) body:not(.adm) .ltabs, :root:not([data-theme="light"]) body:not(.adm) .otabs, :root:not([data-theme="light"]) body:not(.adm) .stat-off, :root:not([data-theme="light"]) body:not(.adm) .switch, :root:not([data-theme="light"]) body:not(.adm) .gal button, :root:not([data-theme="light"]) body:not(.adm) .gal-edit figure, :root:not([data-theme="light"]) body:not(.adm) .lcard-img, :root:not([data-theme="light"]) body:not(.adm) .cab-th, :root:not([data-theme="light"]) body:not(.adm) .mini-map, :root:not([data-theme="light"]) body:not(.adm) .geo-map, :root:not([data-theme="light"]) body:not(.adm) .lmap, :root:not([data-theme="light"]) body:not(.adm) #bigmap { background: var(--soft); }
  :root:not([data-theme="light"]) body:not(.adm) .card-img, :root:not([data-theme="light"]) body:not(.adm) .place-hero, :root:not([data-theme="light"]) body:not(.adm) .mini-ic { background: color-mix(in srgb, var(--tint, #8aa0ff) 16%, var(--surface)); }
  :root:not([data-theme="light"]) body:not(.adm) .catbox-head { background: linear-gradient(90deg, color-mix(in srgb, var(--tint, #8aa0ff) 18%, var(--surface)), transparent 70%); }
  :root:not([data-theme="light"]) body:not(.adm) .card-ic, :root:not([data-theme="light"]) body:not(.adm) .place-ic, :root:not([data-theme="light"]) body:not(.adm) .fav, :root:not([data-theme="light"]) body:not(.adm) .hero-back { background: rgba(22, 27, 37, .88); }
  :root:not([data-theme="light"]) body:not(.adm) .note, :root:not([data-theme="light"]) body:not(.adm) .order.o-new, :root:not([data-theme="light"]) body:not(.adm) .stat-wait, :root:not([data-theme="light"]) body:not(.adm) .bot-ic { background: #2a2116; border-color: #4a3a22; }
  :root:not([data-theme="light"]) body:not(.adm) .note p { color: #f0cf97; }
  :root:not([data-theme="light"]) body:not(.adm) .alert { background: #2c171b; }
  :root:not([data-theme="light"]) body:not(.adm) .alert.ok { background: var(--ok-l); }
  :root:not([data-theme="light"]) body:not(.adm) .danger { background: #24161a; border-color: #4d2a30; }
  :root:not([data-theme="light"]) body:not(.adm) .pushbox { background: linear-gradient(135deg, #17213a, #141b2b); border-color: #2a3a63; }
  :root:not([data-theme="light"]) body:not(.adm) .tgbox { background: #122434; border-color: #1f4a66; }
  :root:not([data-theme="light"]) body:not(.adm) .req-cta { background: linear-gradient(135deg, #2b2112, #2a1f10); border-color: #5a4318; color: var(--text); }
  :root:not([data-theme="light"]) body:not(.adm) .req-cta small { color: #d9c49b; }
  :root:not([data-theme="light"]) body:not(.adm) .suggest-cta { background: var(--primary-l); border-color: #2b3d6b; }
  :root:not([data-theme="light"]) body:not(.adm) [class*="okbar"] { background: var(--ok-l); color: var(--ok); }
  :root:not([data-theme="light"]) body:not(.adm) .codebox small { color: #aab8e6; }
  :root:not([data-theme="light"]) body:not(.adm) .top-links, :root:not([data-theme="light"]) body:not(.adm) .foot-links, :root:not([data-theme="light"]) body:not(.adm) .langsel summary, :root:not([data-theme="light"]) body:not(.adm) .wd span, :root:not([data-theme="light"]) body:not(.adm) .prose p, :root:not([data-theme="light"]) body:not(.adm) .done-box p, :root:not([data-theme="light"]) body:not(.adm) .ltabs a { color: #c9cfdb; }
  :root:not([data-theme="light"]) body:not(.adm) .tabbar a, :root:not([data-theme="light"]) body:not(.adm) .sl.z span { color: #8d96a8; }
  :root:not([data-theme="light"]) body:not(.adm) .form input:not([type=radio], :root:not([data-theme="light"]) [type=checkbox]), :root:not([data-theme="light"]) body:not(.adm) .form select, :root:not([data-theme="light"]) body:not(.adm) .form textarea, :root:not([data-theme="light"]) body:not(.adm) .reply-form textarea, :root:not([data-theme="light"]) body:not(.adm) .wd span, :root:not([data-theme="light"]) body:not(.adm) .copy input { border-color: #2f3747; background-color: var(--surface); }
  :root:not([data-theme="light"]) body:not(.adm) .btn-ghost { border-color: #2c3a5e; }
  :root:not([data-theme="light"]) body:not(.adm) .sl, :root:not([data-theme="light"]) body:not(.adm) .sl:nth-child(odd) { border-color: #232a37; }
  :root:not([data-theme="light"]) body:not(.adm) .stars-s i, :root:not([data-theme="light"]) body:not(.adm) .stars label { color: #3a4253; }
  :root:not([data-theme="light"]) body:not(.adm) .chat-av { background: var(--primary-l); }
  :root:not([data-theme="light"]) body:not(.adm) .lbadges span, :root:not([data-theme="light"]) body:not(.adm) .phone-ok { background: var(--ok-l); }
  :root:not([data-theme="light"]) body:not(.adm) .leaflet-tile-pane img.leaflet-tile { filter: brightness(.78) contrast(1.08) saturate(.85); }
  :root:not([data-theme="light"]) body:not(.adm) img:not(.leaflet-tile):not(.leaflet-marker-icon) { filter: brightness(.94); }
}
/* qo'lda tanlangan "Tungi" */
:root[data-theme="dark"]:not(.adm-root) { color-scheme: dark;
  --bg: #0d1118; --surface: #161b25; --text: #e6e9f0; --muted: #9aa3b5; --line: #262d3b;
  --primary: #5b8cff; --primary-d: #4a7bf0; --primary-l: #18233f;
  --ok: #3ccf8e; --ok-l: #10291f; --warn: #f0a640; --err: #ff7a85; --primary-t: #8fb0ff; --rate: #e0a040;
  --shadow: 0 10px 28px -14px rgba(0, 0, 0, .8);
  --soft: #1c2230; }
:root[data-theme="dark"] body:not(.adm) .top { background: rgba(13, 17, 24, .9); }
:root[data-theme="dark"] body:not(.adm) .tabbar { background: rgba(16, 20, 28, .96); }
:root[data-theme="dark"] body:not(.adm) .search, :root[data-theme="dark"] body:not(.adm) .locate-btn, :root[data-theme="dark"] body:not(.adm) .suggest-cta > svg, :root[data-theme="dark"] body:not(.adm) .pushbox .pb-ic, :root[data-theme="dark"] body:not(.adm) .switch span, :root[data-theme="dark"] body:not(.adm) .map-art::before { background: var(--surface); }
:root[data-theme="dark"] body:not(.adm) .search label, :root[data-theme="dark"] body:not(.adm) .subs a, :root[data-theme="dark"] body:not(.adm) .quick a, :root[data-theme="dark"] body:not(.adm) .quick button, :root[data-theme="dark"] body:not(.adm) .services li, :root[data-theme="dark"] body:not(.adm) .review, :root[data-theme="dark"] body:not(.adm) .mini-card, :root[data-theme="dark"] body:not(.adm) .facts div, :root[data-theme="dark"] body:not(.adm) .kind-ic, :root[data-theme="dark"] body:not(.adm) .copy input, :root[data-theme="dark"] body:not(.adm) .langmenu a:hover, :root[data-theme="dark"] body:not(.adm) .sl:active, :root[data-theme="dark"] body:not(.adm) .ltabs, :root[data-theme="dark"] body:not(.adm) .otabs, :root[data-theme="dark"] body:not(.adm) .stat-off, :root[data-theme="dark"] body:not(.adm) .switch, :root[data-theme="dark"] body:not(.adm) .gal button, :root[data-theme="dark"] body:not(.adm) .gal-edit figure, :root[data-theme="dark"] body:not(.adm) .lcard-img, :root[data-theme="dark"] body:not(.adm) .cab-th, :root[data-theme="dark"] body:not(.adm) .mini-map, :root[data-theme="dark"] body:not(.adm) .geo-map, :root[data-theme="dark"] body:not(.adm) .lmap, :root[data-theme="dark"] body:not(.adm) #bigmap { background: var(--soft); }
:root[data-theme="dark"] body:not(.adm) .card-img, :root[data-theme="dark"] body:not(.adm) .place-hero, :root[data-theme="dark"] body:not(.adm) .mini-ic { background: color-mix(in srgb, var(--tint, #8aa0ff) 16%, var(--surface)); }
:root[data-theme="dark"] body:not(.adm) .catbox-head { background: linear-gradient(90deg, color-mix(in srgb, var(--tint, #8aa0ff) 18%, var(--surface)), transparent 70%); }
:root[data-theme="dark"] body:not(.adm) .card-ic, :root[data-theme="dark"] body:not(.adm) .place-ic, :root[data-theme="dark"] body:not(.adm) .fav, :root[data-theme="dark"] body:not(.adm) .hero-back { background: rgba(22, 27, 37, .88); }
:root[data-theme="dark"] body:not(.adm) .note, :root[data-theme="dark"] body:not(.adm) .order.o-new, :root[data-theme="dark"] body:not(.adm) .stat-wait, :root[data-theme="dark"] body:not(.adm) .bot-ic { background: #2a2116; border-color: #4a3a22; }
:root[data-theme="dark"] body:not(.adm) .note p { color: #f0cf97; }
:root[data-theme="dark"] body:not(.adm) .alert { background: #2c171b; }
:root[data-theme="dark"] body:not(.adm) .alert.ok { background: var(--ok-l); }
:root[data-theme="dark"] body:not(.adm) .danger { background: #24161a; border-color: #4d2a30; }
:root[data-theme="dark"] body:not(.adm) .pushbox { background: linear-gradient(135deg, #17213a, #141b2b); border-color: #2a3a63; }
:root[data-theme="dark"] body:not(.adm) .tgbox { background: #122434; border-color: #1f4a66; }
:root[data-theme="dark"] body:not(.adm) .req-cta { background: linear-gradient(135deg, #2b2112, #2a1f10); border-color: #5a4318; color: var(--text); }
:root[data-theme="dark"] body:not(.adm) .req-cta small { color: #d9c49b; }
:root[data-theme="dark"] body:not(.adm) .suggest-cta { background: var(--primary-l); border-color: #2b3d6b; }
:root[data-theme="dark"] body:not(.adm) [class*="okbar"] { background: var(--ok-l); color: var(--ok); }
:root[data-theme="dark"] body:not(.adm) .codebox small { color: #aab8e6; }
:root[data-theme="dark"] body:not(.adm) .top-links, :root[data-theme="dark"] body:not(.adm) .foot-links, :root[data-theme="dark"] body:not(.adm) .langsel summary, :root[data-theme="dark"] body:not(.adm) .wd span, :root[data-theme="dark"] body:not(.adm) .prose p, :root[data-theme="dark"] body:not(.adm) .done-box p, :root[data-theme="dark"] body:not(.adm) .ltabs a { color: #c9cfdb; }
:root[data-theme="dark"] body:not(.adm) .tabbar a, :root[data-theme="dark"] body:not(.adm) .sl.z span { color: #8d96a8; }
:root[data-theme="dark"] body:not(.adm) .form input:not([type=radio], :root[data-theme="dark"] [type=checkbox]), :root[data-theme="dark"] body:not(.adm) .form select, :root[data-theme="dark"] body:not(.adm) .form textarea, :root[data-theme="dark"] body:not(.adm) .reply-form textarea, :root[data-theme="dark"] body:not(.adm) .wd span, :root[data-theme="dark"] body:not(.adm) .copy input { border-color: #2f3747; background-color: var(--surface); }
:root[data-theme="dark"] body:not(.adm) .btn-ghost { border-color: #2c3a5e; }
:root[data-theme="dark"] body:not(.adm) .sl, :root[data-theme="dark"] body:not(.adm) .sl:nth-child(odd) { border-color: #232a37; }
:root[data-theme="dark"] body:not(.adm) .stars-s i, :root[data-theme="dark"] body:not(.adm) .stars label { color: #3a4253; }
:root[data-theme="dark"] body:not(.adm) .chat-av { background: var(--primary-l); }
:root[data-theme="dark"] body:not(.adm) .lbadges span, :root[data-theme="dark"] body:not(.adm) .phone-ok { background: var(--ok-l); }
:root[data-theme="dark"] body:not(.adm) .leaflet-tile-pane img.leaflet-tile { filter: brightness(.78) contrast(1.08) saturate(.85); }
:root[data-theme="dark"] body:not(.adm) img:not(.leaflet-tile):not(.leaflet-marker-icon) { filter: brightness(.94); }

/* Kabinet: sozlamalar, kuzatuvlar, yordam */
.cab-who { display: grid; justify-items: start; gap: 2px; min-width: 0; }
.cab-who .link { padding: 0; border: 0; background: none; cursor: pointer; }
.cab-av { font-size: 24px; font-weight: 800; }
.cab-note { margin: 0 0 12px; }
.cab-actions-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cab-actions-3 .btn { padding-left: 8px; padding-right: 8px; font-size: 14px; }
@media (max-width: 420px) { .cab-actions-3 { grid-template-columns: 1fr 1fr; } .cab-actions-3 .btn:first-child { grid-column: 1 / -1; } }
.cab-set { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.set-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 14px; border-bottom: 1px solid var(--line); color: inherit; }
.set-row > span { flex: 1 1 180px; }
.set-row > .btn, .set-row > .seg3, .set-row > select { flex: none; margin-left: auto; max-width: 100%; }
.set-row:last-child { border-bottom: 0; }
.set-row > span { display: grid; min-width: 0; }
.set-row small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.set-row .chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
.seg3 { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 2px; padding: 3px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); flex: none; }
.seg3 button { border: 0; background: none; padding: 7px 10px; border-radius: 9px; font: inherit; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg3 button.on { background: var(--primary); color: #fff; }
.cab-watch { display: grid; gap: 6px; }
.watch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.watch-row a { display: grid; min-width: 0; color: inherit; }
.watch-row small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.faq { display: grid; gap: 6px; margin-bottom: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0; overflow: hidden; }
.faq summary { padding: 13px 14px; font-weight: 700; cursor: pointer; list-style: none; }  /* butun qator bosiladi */
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--primary); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0; padding: 0 14px 13px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
/* Yozishma xonasi: butun ekranni egallaydi, yozish maydoni pastda */
body.in-room .page-top { padding-bottom: 0; }
body.in-room footer, body.in-room .foot { display: none; }
.composer textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; line-height: 1.35; outline: 0; }
.composer textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 94, 255, .15); }
.ostats { grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); }
.ostats div { padding: 10px 8px; }
.offer-form input { width: 100%; min-width: 0; padding: 11px 13px; border-radius: 12px; border: 1px solid #d9deea; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; outline: 0; }
.offer-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(31, 94, 255, .15); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body:not(.adm) .quick a, :root:not([data-theme="light"]) body:not(.adm) .quick button { color: var(--text); }
  :root:not([data-theme="light"]) body:not(.adm) .btn-primary { background: #2f62e6; border-color: #2f62e6; color: #fff; }
  :root:not([data-theme="light"]) body:not(.adm) .offer-form input { border-color: #2f3747; }
}
:root[data-theme="dark"] body:not(.adm) .quick a, :root[data-theme="dark"] body:not(.adm) .quick button { color: var(--text); }
:root[data-theme="dark"] body:not(.adm) .btn-primary { background: #2f62e6; border-color: #2f62e6; color: #fff; }
:root[data-theme="dark"] body:not(.adm) .offer-form input { border-color: #2f3747; }
/* Ipoteka kalkulyatori */
.calc { display: grid; gap: 12px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.calc-mode { justify-self: start; }
.calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.calc-grid label { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.calc-grid input { width: 100%; min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.calc-out { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; }
.calc-out div { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: var(--bg); min-width: 0; }
.calc-out div:first-child { background: var(--primary-l); }
.calc-out small { font-size: 11.5px; color: var(--muted); }
.calc-out b { font-size: 15px; overflow-wrap: anywhere; }
.calc-out div:first-child b { color: var(--primary); font-size: 16px; }
.calc-out em { font-style: normal; font-size: 12px; color: var(--muted); }
.calc .muted { margin: 0; }
@media (max-width: 420px) { .calc-out { grid-template-columns: 1fr 1fr; } .calc-out div:first-child { grid-column: 1 / -1; } }
/* Sotuvchi */
.seller-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 12px 0 4px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: inherit; }
.seller-mid { display: grid; min-width: 0; }
.seller-mid small { color: var(--muted); font-size: 12.5px; }
.seller-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.rate-box { display: grid; gap: 8px; padding: 12px 14px; margin: 8px 0; border-radius: 14px; background: var(--primary-l); }
.rate-box .stars-pick { display: flex; gap: 4px; }
.rate-box .stars-pick button { border: 0; background: none; font-size: 30px; line-height: 1; color: #d6dae4; cursor: pointer; padding: 0 2px; }
.rate-box .stars-pick button.on { color: #f59e0b; }
.rate-box textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.chat-av svg { width: 20px; height: 20px; }
.verify-box { margin: 6px 0 14px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.verify-box h2 { margin-top: 0; }
/* Yordam markazi */
.help-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.help-tiles a { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: inherit; font-size: 14px; }
.help-tiles svg { width: 22px; height: 22px; color: var(--primary); flex: none; }
.ticket-room .msgs { min-height: 180px; max-height: 55vh; }
.ticket-room .msg-b small b { font-weight: 700; }
.ticket-st { font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--soft, #eef2fb); color: var(--muted); }
.ticket-st.answered { background: var(--ok-l); color: var(--ok); }
/* E'lonlar ro'yxati: bitta ixcham asboblar qatori (natija soni, saralash, kuzatish, ro'yxat/xarita) */
.ltool { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 10px; }
.ltool-n { color: var(--muted); font-size: 14px; white-space: nowrap; }
.ltool-n b { color: var(--text); }
.ltool-r { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pill-sm { height: 36px; font-size: 13.5px; max-width: 46vw; }
.icon-pill { position: relative; width: 38px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; padding: 0; }
.icon-pill svg { width: 18px; height: 18px; }
.icon-pill.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.icon-pill span:empty { display: none; }
.icon-pill span { position: absolute; top: -4px; right: -4px; font-size: 10px; font-weight: 800; background: var(--ok); color: #fff; border-radius: 99px; padding: 1px 4px; }
.vtoggle { display: flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); flex: none; }
.vtoggle a { width: 34px; height: 28px; display: grid; place-items: center; border-radius: 999px; color: var(--muted); }
.vtoggle a.on { background: var(--primary); color: #fff; }
.vtoggle svg { width: 16px; height: 16px; }
/* Rasm tanlash: chiroyli tugma va oldindan ko'rish */
.fp-native { position: absolute; left: 0; top: 0; width: 1px !important; height: 1px !important; min-width: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.fpick { display: grid; gap: 8px; }
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; }
.fp-grid:empty { display: none; }
.fp-grid figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--soft, #eef2fb); }
.fp-grid img { width: 100%; height: 100%; object-fit: cover; }
.fp-grid button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.fp-btn { justify-self: start; max-width: 100%; white-space: normal; text-align: left; height: auto; min-height: 38px; }
.fp-btn svg { width: 18px; height: 18px; }

/* Ixcham kartalar (telefon): rasm — 92px kvadrat, ichkarida; ortiqcha bo'sh joy yo'q (1000 foydalanuvchili sinovdan keyin) */
@media (max-width: 719px) {
  .card { grid-template-columns: 102px minmax(0, 1fr); align-items: start; }
  .card-img { min-height: 0; width: 92px; height: 92px; margin: 10px 0 10px 10px; border-radius: 12px; overflow: hidden; }
  .card-ic { width: 44px; height: 44px; border-radius: 13px; }
  .card-ic svg { width: 24px; height: 24px; }
  .card .badge { left: 4px; top: 4px; font-size: 10px; padding: 2px 5px; }
  .card .fav { top: 8px; right: 8px; width: 30px; height: 30px; }
  .card-body { padding: 10px 12px 10px 10px; gap: 2px; }
  .card-title { font-size: 15px; padding-right: 30px; }
  .card-meta { gap: 4px 6px; }
  .card-meta .tag { font-size: 11.5px; padding: 2px 7px; }
  .card-addr { font-size: 12.5px; }
  .card-foot { padding-top: 4px; }
  .lcard { grid-template-columns: 102px minmax(0, 1fr); align-items: start; }
  .lcard-img { min-height: 0; width: 92px; height: 92px; margin: 10px 0 10px 10px; border-radius: 12px; overflow: hidden; }
  .lcard-img .card-ic { width: 44px; height: 44px; }
  .lcard-body { padding: 10px 12px 10px 10px; gap: 3px; }
  .lcard .card-title { font-size: 15px; }
  .lcard-price { font-size: 14.5px; line-height: 1.25; }
  .lcard-price small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }
  .lcard .card-meta .tag { font-size: 11.5px; padding: 2px 7px; }
  .lcard .card-meta .muted.small { font-size: 12px; }
  .lbadges span { font-size: 10.5px; padding: 1px 6px; }
  .lcard .card-addr { font-size: 12px; }
  .lcard-foot .muted.small { font-size: 11.5px; }
  .promo-b { bottom: 4px; left: 4px; font-size: 10px; padding: 2px 6px; }
}
.lcard-noimg { grid-template-columns: minmax(0, 1fr) !important; }
.lcard-noimg .lcard-body { padding: 12px 14px; }
.promo-inline { position: static !important; display: inline-block; vertical-align: 2px; margin-right: 4px; }
.ltool-n { flex: none; font-size: 13.5px; }
.ltool-r { flex: 1 1 auto; justify-content: flex-end; }
.ltool .pill-sm { flex: 0 1 auto; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Tashqi xizmatlar: yetkazib berish va bo'lib to'lash tugmalari */
.plinks-box { display: grid; gap: 12px; margin: 14px 0 4px; padding: 14px; border-radius: 16px; background: var(--soft, #f3f6fc); border: 1px solid var(--line, #e2e7f1); }
.pl-row { display: grid; gap: 8px; }
.pl-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.pl-h svg { width: 18px; height: 18px; color: var(--green, #16a36a); }
.pl-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-btns .btn { flex: 1 1 140px; }
.tag.tag-ok { background: #e6f6ee; color: #12804f; }
.plinks small.muted { display: block; }
.seg2, .days.days2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.times .tm-asap { grid-column: 1 / -1; }

/* Butun karta bosiladi (faqat nom va rasm emas): nom havolasi kartani to'liq qoplaydi, tugmalar ustida qoladi */
.lcard { position: relative; }
.card .card-title::after, .lcard .card-title::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-foot a, .card-foot button, .lcard-foot a, .lcard-foot button { position: relative; z-index: 2; }
.card .fav { z-index: 3; }
.omode-note { margin: 8px 2px 0; line-height: 1.45; }
/* Hisob (raqam + parol) */
.acct-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px; margin: 0 0 14px; border-radius: var(--r); background: var(--primary-l); border: 1px solid var(--line); color: inherit; }
.acct-bar > svg { width: 26px; height: 26px; color: var(--primary); flex: none; }
.acct-bar > span { flex: 1 1 200px; display: grid; gap: 2px; min-width: 0; }
.acct-bar small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.acct-bar .chev { width: 18px; height: 18px; color: var(--muted); flex: none; }
.acct-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.acct-tabs a { text-align: center; padding: 10px 6px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.acct-tabs a.on { background: var(--primary); color: #fff; }
.acct-code { font: 700 30px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 3px; padding: 16px; margin: 14px auto; max-width: 320px; border-radius: 14px; border: 2px dashed var(--primary); background: var(--surface); user-select: all; }
.acct-act { margin: 12px 0; }
/* O'chirish /hisob sahifasida — kichik havola; jarayon alohida sahifada, 4 qadam */
.acct-more { display: block; margin: 28px 0 6px; text-align: center; font-size: 13px; color: var(--muted); text-decoration: underline; }
.acct-step { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.acct-bar-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.acct-bar-steps i { height: 4px; border-radius: 4px; background: var(--line); }
.acct-bar-steps i.on { background: var(--primary); }
.acct-have { margin: 6px 0 16px; }
.acct-have > div { display: grid; justify-items: center; padding: 12px 6px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.acct-alt-col { display: grid; gap: 8px; margin: 0 0 8px; }
.acct-alt-col form { margin: 0; }
.acct-nav { display: grid; justify-items: center; gap: 14px; margin: 20px 0 8px; }
.acct-nav-top { margin: 4px 0; }
.acct-go { color: var(--muted); }
.acct-why { display: grid; gap: 8px; }
.acct-why .chk { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.acct-offer { display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.acct-offer .h1 { margin: 0; font-size: 22px; }
.acct-offer p { margin: 0; color: var(--muted); }
.acct-offer form { margin: 0; }
.acct-page .h2 { margin: 26px 0 10px; }
.acct-pending { margin: 22px 0 8px; padding: 14px; border-radius: var(--r); border: 1px solid var(--warn); background: var(--surface); display: grid; gap: 8px; }
.acct-pending p { margin: 0; }
.acct-lose { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 4px; }
.acct-alt { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.acct-alt form { margin: 0; }
/* Kabinet: hisobga kirmagan foydalanuvchiga faqat kirish/ro'yxatdan o'tish */
.cab-gate { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 28px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.cab-gate .h1 { margin: 4px 0 0; }
.cab-gate p { margin: 0; color: var(--muted); max-width: 440px; }
.cab-gate small { color: var(--muted); max-width: 440px; }
.cab-gate .acct-btns { justify-content: center; margin: 6px 0 2px; }
.cab-gate-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--primary-l); color: var(--primary); }
.cab-gate-ic svg { width: 32px; height: 32px; }
/* Kabinet: profil kartasi (bosh sahifa "hero" uslubida), tezkor amallar, rangli belgili menyu ro'yxatlari */
.cab-head { position: relative; overflow: hidden; display: grid; gap: 14px; padding: 18px 16px 14px; border-radius: 22px; color: #fff; margin-bottom: 14px;
  background: radial-gradient(circle at 90% 0%, rgba(255, 122, 26, .35), transparent 45%), linear-gradient(150deg, #0b1b3a 0%, #133d7a 60%, #1f5eff 130%);
  box-shadow: 0 18px 40px -24px rgba(19, 61, 122, .9); }
.cab-head-top { display: flex; align-items: center; gap: 14px; }
.cab-head .cab-av { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); box-shadow: none; }
.cab-name { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cab-ph { font-size: 14px; color: #cbd6f2; font-weight: 600; }
.cab-head .cab-who { flex: 1; }
.cab-head-set { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #fff; flex: none; }
.cab-head .cab-stats { gap: 6px; }
.cab-head .cab-stats a { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .14); padding: 10px 4px; }
.cab-head .cab-stats b { color: #fff; }
.cab-head .cab-stats small { color: #cbd6f2; }
.cab-head-acct { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); font-weight: 600; font-size: 14px; }
.cab-head-acct span { flex: 1; }
.cab-head-acct svg { width: 18px; height: 18px; color: #ffa45c; }
.cab-head-acct .chev { color: #cbd6f2; }
.cab-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cab-tile { display: grid; justify-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 13px; text-align: center; line-height: 1.2; transition: transform .15s; }
.cab-tile:active { transform: scale(.97); }
.cab-tile > span { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--primary-l); color: var(--primary); }
.cab-tile-accent > span { background: var(--accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(255, 122, 26, .8); }
.cab-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cab-sec-h .h2 { margin: 0; }
.cab-sec-h .link svg { width: 16px; height: 16px; }
.cab-grp { margin: 22px 0 8px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); }
.cab-menu { display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 10px; }
.cab-menu > a, .cab-menu > button, .cab-menu-x > summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line);
  background: none; font: inherit; font-weight: 600; font-size: 15px; color: inherit; text-align: left; cursor: pointer; width: 100%; list-style: none; }
.cab-menu-x > summary::-webkit-details-marker { display: none; }
.cab-menu > :last-child, .cab-menu > :last-child > summary { border-bottom: 0; }
.cab-menu-x[open] > summary .chev { transform: rotate(90deg); }
.cab-menu-x .cab-watch { padding: 0 14px 14px; }
.cab-menu span small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.cab-menu .chev, .cab-set .chev { width: 18px; height: 18px; color: #b4bccc; transition: transform .15s; }
.mi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-style: normal; flex: none; }
.mi svg { width: 19px; height: 19px; }
.mi-blue { background: #eaf0ff; color: #1f5eff; } .mi-green { background: #e6f7ee; color: #12965a; } .mi-pink { background: #fdebf1; color: #e0336f; }
.mi-orange { background: #fff1e6; color: #e8650a; } .mi-gray { background: #eef1f6; color: #59627a; } .mi-purple { background: #f0ecff; color: #6a4ce0; }
.mi-red { background: #fdecec; color: #d33; } .mi-sky { background: #e6f5fd; color: #1d93d2; }
.cab-page .set-row { flex-wrap: nowrap; }
.cab-page .set-row > .mi { align-self: flex-start; }
.cab-page .cab-set .set-row { flex-wrap: wrap; }
.cab-page .cab-set .set-row > span { flex: 1 1 160px; }
.cab-faq { margin-bottom: 10px; }
.cab-page .acct-act { margin-top: 22px; }
.cab-page .acct-act .btn svg { width: 18px; height: 18px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mi:not(.mi-accent) { background: rgba(255, 255, 255, .07); }
}
:root[data-theme="dark"] .mi:not(.mi-accent) { background: rgba(255, 255, 255, .07); }
/* Kabinet — Telegram sozlamalari uslubida: markazda avatar, ism, raqam; pastda guruhlangan qatorlar (o'ngda son) */
.tg-head { display: grid; justify-items: center; gap: 2px; padding: 6px 0 18px; text-align: center; }
.tg-av { position: relative; width: 92px; height: 92px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; font: 800 36px/1 Inter, system-ui, sans-serif; cursor: pointer;
  background: linear-gradient(150deg, #133d7a 0%, #1f5eff 100%); box-shadow: 0 14px 30px -16px rgba(31, 94, 255, .9); margin-bottom: 10px; }
.tg-av svg { width: 40px; height: 40px; }
.tg-av::after { content: ""; position: absolute; right: 0; bottom: 2px; width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--bg);
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' d='M4 20h4L19 9l-4-4L4 16zM13.5 6.5l4 4'/%3E%3C/svg%3E") no-repeat center / 13px; }
.tg-name { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.3px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tg-ph { margin: 0; color: var(--muted); font-size: 15px; font-weight: 500; }
.tg-groups .cab-menu, .cab-page > .cab-menu { margin-bottom: 14px; }
.cab-menu > a, .cab-menu > button, .cab-menu-x > summary { display: flex; }
.cab-menu > a > span, .cab-menu > button > span, .cab-menu-x > summary > span { flex: 1; min-width: 0; }
.tg-val { font-style: normal; color: var(--muted); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.cab-menu > a > em[hidden] { display: none; }
.mi-accent { background: var(--accent); color: #fff; }
.cab-page .cab-sec-h { margin-bottom: 14px; }
.cab-page .cab-sec-h .h1 { margin: 0; }
/* Buyurtma to'lovi (usta sahifasi) */
.order-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0 2px; border-top: 1px dashed var(--line); margin-top: 8px; }
.order-price { display: flex; gap: 6px; flex: 1 1 100%; }
.order-price input { flex: 1; min-width: 0; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: inherit; font: inherit; }
.order-sum { font-weight: 800; color: var(--primary); }
/* Shaxsiy hisob */
.wal-card { display: grid; gap: 4px; padding: 20px 18px; border-radius: 22px; color: #fff; margin-bottom: 14px;
  background: radial-gradient(circle at 90% 0%, rgba(255, 122, 26, .35), transparent 45%), linear-gradient(150deg, #0b1b3a 0%, #133d7a 60%, #1f5eff 130%); }
.wal-card small { color: #cbd6f2; font-size: 13.5px; font-weight: 600; }
.wal-bal { font-size: 32px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.wal-bal span { font-size: 16px; font-weight: 700; color: #cbd6f2; }
.wal-card-sm .wal-bal { font-size: 26px; }
.wal-sub { display: grid; gap: 2px; font-size: 13px; color: #dfe6f7; }
.wal-note { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #dfe6f7; }
.wal-out { justify-self: start; margin-top: 10px; background: #fff; color: var(--primary); }
.wal-amt { font-variant-numeric: tabular-nums; flex: none; }
.wal-amt.plus { color: var(--ok); } .wal-amt.minus { color: var(--text); }
.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.pay-opt p { margin: 4px 0 10px; }
.pay-provs { display: flex; flex-wrap: wrap; gap: 8px; }
.order-paybox { display: grid; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--primary-l); margin-top: 8px; font-size: 14px; }
.order-paybox .order-act { margin: 0; }
/* Profil (Telegram kabi): rasm doirada avtomatik kesiladi (yuqoriroq qism — yuz), ism, familiya, o'zi haqida */
a.tg-head { color: inherit; }
.tg-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.tg-bio { margin-top: 4px; font-size: 14px; color: var(--muted); max-width: 420px; white-space: pre-line; overflow-wrap: anywhere; }
.center { text-align: center; }
.pe-form { display: grid; gap: 10px; }
.pe-av { position: relative; display: grid; justify-items: center; gap: 4px; cursor: pointer; margin-bottom: 6px; }
.pe-img { width: 120px; height: 120px; overflow: visible; }
.pe-img::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/g%3E%3C/svg%3E"); width: 34px; height: 34px; background-size: 17px; }
.pe-img svg { width: 44px; height: 44px; }
.pe-img img { width: 120px; height: 120px; }
.pe-rm { justify-self: center; font-size: 14px; }
.pe-fields { margin: 0; }
.pe-row { display: flex; align-items: flex-end; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.pe-row:last-child { border-bottom: 0; }
.pe-row input, .pe-row textarea { flex: 1; border: 0; background: none; padding: 14px 0; font: inherit; font-size: 16px; color: inherit; outline: none; resize: none; min-width: 0; }
.pe-cnt { color: var(--muted); padding-bottom: 14px; font-variant-numeric: tabular-nums; }
.pe-note { margin: 0 4px 6px; }
.tg-lines { display: grid; gap: 6px; margin-top: 10px; width: 100%; max-width: 420px; text-align: left; }
.tg-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); min-width: 0; }
.tg-line .mi { width: 26px; height: 26px; border-radius: 8px; flex: none; }
.tg-line .mi svg { width: 15px; height: 15px; }
.tg-line > span { min-width: 0; overflow-wrap: anywhere; }
.pe-h { font-size: 17px; font-weight: 800; margin: 12px 4px 0; }
.pe-roles { margin: 0; }
.pe-role { display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.pe-role:last-child { border-bottom: 0; }
.pe-role > span { flex: 1; font-weight: 600; }
.pe-role input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pe-sw { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--line); transition: background .15s; flex: none; }
.pe-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.pe-role input:checked + .pe-sw { background: var(--primary); }
.pe-role input:checked + .pe-sw::after { transform: translateX(18px); }
.pe-role input:focus-visible + .pe-sw { outline: 2px solid var(--primary); outline-offset: 2px; }
.pe-box { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pe-box[hidden] { display: none; }
.pe-bh { margin: 0 2px; font-size: 15px; font-weight: 800; }
.pe-box .cab-set { background: var(--bg); }
.pe-sel span { padding: 14px 0; color: var(--muted); flex: none; }
.pe-sel select, .pe-sel input { flex: 1; min-width: 0; border: 0; background: none; padding: 14px 0; font: inherit; font-size: 16px; color: inherit; outline: none; text-align: right; }
.pe-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pe-chip { cursor: pointer; }
.pe-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pe-chip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; }
.pe-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.pe-chip input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }
.pe-link { font-size: 14px; font-weight: 700; color: var(--primary); margin: 2px; }
.pe-tg { align-items: center; }
.pe-tg svg { width: 20px; height: 20px; color: #229ed9; flex: none; }
.crop-dlg { width: 100%; max-width: 480px; max-height: 100dvh; margin: auto; padding: 0; border: 0; border-radius: 20px; background: #111; color: #fff; overflow: hidden; }
.crop-dlg::backdrop { background: rgba(0, 0, 0, .8); }
.crop-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.crop-top b { flex: 1; font-size: 16px; }
.crop-top .icon-btn { color: #fff; background: rgba(255,255,255,.1); }
.crop-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; touch-action: none; cursor: grab; background: #000; user-select: none; -webkit-user-select: none; }
.crop-stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .55); outline: 2px solid rgba(255,255,255,.85); outline-offset: -2px; pointer-events: none; }
.crop-bar { display: grid; gap: 10px; padding: 14px 16px 18px; }
.crop-bar .muted { color: #bbb; }
.crop-bar input { width: 100%; accent-color: var(--primary); }
@media (max-width: 520px) { .crop-dlg { border-radius: 0; height: 100dvh; max-width: none; display: none; } .crop-dlg[open] { display: flex; flex-direction: column; justify-content: center; } }
.warn-big { background: #fff4e5; color: #8a4b00; }
.pay-big { flex-basis: 100%; font-size: 14px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body:not(.adm) .warn-big { background: #2e2210; color: #f0a640; } }
:root[data-theme="dark"] body:not(.adm) .warn-big { background: #2e2210; color: #f0a640; }

/* ===== Yozishmalar — Telegram uslubi ===== */
.chats-h { margin: 0 0 10px; }
.chats-q { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 40px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 10px; color: var(--muted); }
.chats-q input { flex: 1; border: 0; background: none; outline: 0; font: inherit; color: var(--text); min-width: 0; }
.chats-q svg { width: 18px; height: 18px; }
.chats { gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.chats .empty { padding: 18px; margin: 0; text-align: center; }
.chats .chat-row { grid-template-columns: 52px minmax(0, 1fr) auto; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 10px 14px; }
.chats .chat-row:last-child { border-bottom: 0; }
.chats .chat-row:active { background: var(--bg); }
.chat-av { color: #fff; background: #65aadd; overflow: hidden; font-size: 18px; }
.chats .chat-av { width: 52px; height: 52px; font-size: 21px; }
.chat-av img { width: 100%; height: 100%; object-fit: cover; }
.chat-mid b { font-size: 15.5px; }
.chat-to { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; }
.chats-note { margin: 10px 4px; }
.tk { font-style: normal; font-size: 11px; letter-spacing: -2px; margin-left: 4px; color: inherit; opacity: .8; }
.tk-r { color: #4fc3f7; opacity: 1; }
.chat-mid .tk { margin: 0 4px 0 0; color: var(--primary); }
body.in-room .tabbar, body.in-room .install, body.in-room .top { display: none; }  /* Telegram kabi: suhbat butun ekranda, bitta sarlavha */
body.in-room #chat-room:not([hidden]) { position: fixed; z-index: 40; left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column;
  background: var(--chat-bg); padding: env(safe-area-inset-top, 0px) max(12px, calc((100vw - 760px) / 2)) env(safe-area-inset-bottom, 0px); }
:root { --chat-bg: #e7edf5; --bubble-me: #dcf3ff; --bubble-them: #fff; }
body.in-room .msgs { flex: 1; min-height: 0; max-height: none; padding: 10px 2px; gap: 3px; scroll-behavior: smooth; }
.room-head { grid-template-columns: auto auto minmax(0, 1fr) auto auto; padding: 8px 0; margin: 0 calc(-1 * max(12px, calc((100vw - 760px) / 2))); padding-left: max(12px, calc((100vw - 760px) / 2));
  padding-right: max(12px, calc((100vw - 760px) / 2)); background: var(--surface); border-bottom: 1px solid var(--line); }
.room-av { width: 40px; height: 40px; font-size: 17px; }
.room-who b { font-size: 16px; }
.room-who a { color: var(--muted); }
.room-head .icon-btn { width: 40px; height: 40px; }
.msg-day { align-self: center; margin: 8px 0 4px; }
.msg-day span { display: inline-block; padding: 3px 10px; border-radius: 99px; background: rgba(0, 0, 0, .28); color: #fff; font-size: 12.5px; font-weight: 600; }
.msg-b { max-width: 80%; padding: 6px 10px 4px; border-radius: 16px; border: 0; background: var(--bubble-them); color: var(--text); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); position: relative; }
.msg-b.them { border-bottom-left-radius: 5px; }
.msg-b.me { background: var(--bubble-me); color: var(--text); border-bottom-right-radius: 5px; }
.msg-b.q { opacity: .75; }
.msg-b p { font-size: 15.5px; }
.msg-b small { display: flex; justify-content: flex-end; align-items: center; gap: 2px; font-size: 11.5px; opacity: .6; margin-top: 1px; }
.msg-b.me small { color: #4a7fa6; opacity: 1; }
.msg-b .tk-r { color: #2aa3ef; }
.msg-tel { color: var(--primary); font-weight: 700; text-decoration: underline; }
.msg-ph { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; }
.msg-ph img { display: block; max-width: 100%; max-height: 300px; border-radius: 12px; margin: 2px 0 4px; }
body.in-room .composer { margin: 0 calc(-1 * max(12px, calc((100vw - 760px) / 2))); padding: 8px max(12px, calc((100vw - 760px) / 2)); background: var(--surface); border-top: 1px solid var(--line); }
body.in-room .composer textarea { border-radius: 22px; padding: 11px 16px; min-height: 44px; background: var(--bg); border: 1px solid var(--line); }
body.in-room .composer .btn { width: 46px; height: 44px; border-radius: 50%; }
body.in-room .pushbox, body.in-room .tgbox, body.in-room .rate-box { margin: 8px 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --chat-bg: #0e1621; --bubble-me: #2b5278; --bubble-them: #182533; } }
:root[data-theme="dark"] { --chat-bg: #0e1621; --bubble-me: #2b5278; --bubble-them: #182533; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .msg-b.me small { color: #9cc3e6; } }
:root[data-theme="dark"] .msg-b.me small { color: #9cc3e6; }
.room-who a, .room-who b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.room-head [data-blocktoggle].on { color: var(--err); border-color: var(--err); }
.order-top .stat, .cab-top .stat { align-self: flex-start; flex: none; height: auto; }

/* Mijoz obro'si (usta sahifasi) va mijozni baholash */
.crep { font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.crep-st { font-weight: 800; color: #e8a10a; }
.crep-warn { color: #d33; font-weight: 700; }
.crep-bad { background: #fdecec; border-radius: 10px; padding: 4px 8px; align-self: flex-start; }
.crate { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px dashed var(--line); }
.crate-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.crate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.crate-stars label { font-size: 28px; line-height: 1; color: var(--line); cursor: pointer; padding: 0 2px; }
.crate-stars input:checked ~ label, .crate-stars label:hover, .crate-stars label:hover ~ label { color: #f5b301; }
.crate-stars input:focus-visible + label { outline: 2px solid var(--primary); border-radius: 4px; }
.crate-paid { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; }
.crate .pill { justify-self: start; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .crep-bad { background: #3a1d1d; } }
:root[data-theme="dark"] .crep-bad { background: #3a1d1d; }

/* Yozishma: narx taklifi va suhbatdosh kartochkasi */
.msg-offer { display: grid; gap: 6px; min-width: 210px; }
.mo-l { font-size: 12.5px; font-weight: 700; opacity: .8; }
.mo-sum { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.msg-offer p { margin: 0; }
.mo-act { display: flex; gap: 8px; flex-wrap: wrap; }
.mo-act .btn-ghost { background: transparent; }
.mo-note { font-size: 12px; opacity: .75; line-height: 1.35; }
.mo-st { font-size: 13px; font-weight: 700; }
.mo-ok { color: #12965a; } .mo-no { color: #d33; }
.msg-b.me .mo-ok, .msg-b.me .mo-no { color: inherit; }
.mo-link { font-size: 14px; font-weight: 700; color: var(--primary); }
.att-offer { border: 0; background: none; font-size: 22px; cursor: pointer; padding: 0 4px; }
.room-who, .room-av { cursor: pointer; }
.sheet-dlg { width: calc(100% - 24px); max-width: 440px; border: 0; border-radius: 20px; padding: 16px; background: var(--surface); color: var(--text); }
.sheet-dlg::backdrop { background: rgba(0, 0, 0, .5); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sheet-top b { font-size: 17px; }
.offer-dlg { display: grid; gap: 12px; }
.card-head { display: grid; justify-items: center; gap: 8px; text-align: center; margin-bottom: 10px; }
.card-av { width: 84px; height: 84px; font-size: 32px; }
.card-head b { font-size: 20px; }
.card-body { display: grid; gap: 8px; justify-items: center; text-align: center; font-size: 14px; }
.card-bio { margin: 0; white-space: pre-line; overflow-wrap: anywhere; color: var(--muted); }
.card-rate b { color: #e8a10a; }
.card-rate.bad { color: #d33; font-weight: 700; }
.card-ver { color: #12965a; font-weight: 700; }
.card-line { overflow-wrap: anywhere; }
/* Siz uchun */
.fy-sec { display: grid; gap: 8px; margin-top: 18px; }
.fy-h { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; margin: 0; }
.fy-h .mi { width: 30px; height: 30px; border-radius: 9px; }
.fy-h .mi svg { width: 17px; height: 17px; }
.fy-list { margin: 0; }
.fy-list small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.fy-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.fy-none { margin: 0 4px; }
.fy-empty { display: grid; gap: 12px; justify-items: start; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin-top: 14px; }
.fy-empty p { margin: 0; }
/* Profil to'liqligi (kabinet) */
.pfull { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; }
.pfull-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.pfull-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.pfull-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1f5eff, #12965a); }
.pfull small { color: var(--muted); }
.composer:has(.att-offer:not([hidden])) { grid-template-columns: 40px 34px minmax(0, 1fr) 48px; }
.composer .att-offer { width: 34px; }
.att-offer[hidden] { display: none !important; }
/* buyurtma kartasi ekrandan chiqmasin (narx maydoni va uzun matn kengaytirmasin) */
.orders, .order { grid-template-columns: minmax(0, 1fr); }
.order { min-width: 0; }
.order-top { min-width: 0; flex-wrap: wrap; }
.order-price button { flex: none; }
.order-price { min-width: 0; }
.order-price input { width: 0; }
.ph-ok { color: #12965a; font-weight: 800; }
.rate-total { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); margin: 10px 0; }
.rate-total > b { font-size: 24px; color: #e8a10a; }
.rate-item { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-top: 10px; }
.rate-item.is-hidden { opacity: .6; }
.rate-top { display: flex; justify-content: space-between; gap: 10px; }
.rate-disp summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.rate-disp form { margin-top: 8px; }
.card-rep { width: 100%; text-align: left; }
.card-rep summary { cursor: pointer; font-size: 13px; color: var(--muted); text-align: center; }
.card-rep form { display: grid; gap: 8px; margin-top: 8px; }
.card-rep select, .card-rep input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: inherit; font: inherit; font-size: 15px; }
/* Yozishma: tahrirlash, o'chirilgan xabar, menyu */
.msg-gone p { font-style: italic; opacity: .7; }
.msg-ed { font-style: normal; opacity: .75; margin-right: 2px; }
.msg-b[data-mid] { cursor: pointer; }
.editbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 4px 6px 12px; border-left: 3px solid var(--primary); background: var(--surface); font-size: 14px; }
.editbar > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-acts { display: grid; gap: 8px; }
.msg-del-btn { color: #d33; }

/* Qulaylik (WCAG AA): tungi rejimda to'q ko'k fonli tanlangan elementlar oq matn bilan o'qiladigan bo'lsin */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body:not(.adm) .pill.on, :root:not([data-theme="light"]) body:not(.adm) .chip.on,
  :root:not([data-theme="light"]) body:not(.adm) .day input:checked + span, :root:not([data-theme="light"]) body:not(.adm) .tm input:checked + span { background: #2f62e6; border-color: #2f62e6; }
  :root:not([data-theme="light"]) .kind-box small { color: var(--muted); }
}
:root[data-theme="dark"] body:not(.adm) .pill.on, :root[data-theme="dark"] body:not(.adm) .chip.on,
:root[data-theme="dark"] body:not(.adm) .day input:checked + span, :root[data-theme="dark"] body:not(.adm) .tm input:checked + span { background: #2f62e6; border-color: #2f62e6; }
:root[data-theme="dark"] .kind-box small { color: var(--muted); }

/* Profil QR kodi (chop etish) */
.qrcard { max-width: 380px; margin: 0 auto; padding: 24px 20px; text-align: center; background: #fff; color: #111; border: 2px solid #111; border-radius: 20px; }
.qrcard h1 { font-size: 24px; margin: 6px 0 2px; color: #111; }
.qrcard-brand { font-weight: 800; font-size: 15px; color: #e8590c; letter-spacing: .02em; }
.qrcard-sub { margin: 0 0 10px; color: #444; }
.qrcard-code svg { width: 100%; max-width: 280px; height: auto; }
.qrcard-call { font-weight: 700; margin: 8px 0 4px; }
.qrcard-phone { font-size: 20px; font-weight: 800; margin: 4px 0; }
.qrcard-url { font-size: 12px; color: #555; word-break: break-all; margin: 4px 0 0; }
.qr-actions { text-align: center; margin-top: 16px; }
@media print { .noprint, header, footer, nav, .bottom-nav, .fab { display: none !important; } body { background: #fff !important; } .qrcard { border-width: 3px; } }
.pausebox { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px; margin: 0 0 12px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.pausebox > div:first-child { flex: 1 1 200px; display: grid; gap: 2px; } .pausebox small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.pausebox.on { border-color: var(--warn); } .pausebox.on b { color: var(--warn); }
.pause-act { display: flex; gap: 8px; align-items: center; } .pause-act select { width: auto; min-width: 90px; }
.qrlink { display: grid; grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 12px 14px; margin: 0 0 12px;
  border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.qrlink .pb-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--bg, #f3f5f9); }
.qrlink b { display: block; font-size: 14.5px; } .qrlink small { color: var(--muted); font-size: 12.5px; }
.ophotos { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; } .ophotos img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; display: block; }
.reject { margin-top: 6px; } .reject summary { list-style: none; cursor: pointer; display: inline-flex; } .reject summary::-webkit-details-marker { display: none; }
.reject-form { display: grid; gap: 6px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.rv-photo { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; display: block; margin: 6px 0; }
.order-reason { font-size: 13px; color: var(--muted); margin-top: 4px; }
.move-form { grid-template-columns: 1fr 1fr; } .move-form button { grid-column: 1 / -1; justify-self: start; }

/* Hisob turi: ro'yxatdan o'tish va kabinet */
.role-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.role-pick legend { font-weight: 700; padding: 0; margin-bottom: 8px; }
.role-card { display: flex !important; flex-direction: row !important; align-items: center; gap: 12px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.role-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.role-card span { display: grid; gap: 2px; min-width: 0; }
.role-card b { font-size: 15px; }
.role-card small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.role-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.role-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cab-role-ask { display: grid; gap: 12px; margin: 14px 0; }
.cab-role-title { font-size: 14px; font-weight: 800; color: var(--muted); margin: 18px 4px 6px; }
.cab-role-more { margin: 8px 4px 14px; }

/* Tezlik (2026-11-06): telefonda qotib turgan panellar orqasidagi xiralashtirish har aylantirishda butun ekranni qayta
   chizdiradi va oddiy telefonda kadrlar tushib qoladi. Telefon va planshetda panellar shunchaki bir xil rangda. */
@media (hover: none), (max-width: 900px) {
  .top, .tabbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .top { background: var(--surface, #fff); }
  .tabbar { background: var(--surface, #fff); }
  .card, .tabbar a, .chip { -webkit-tap-highlight-color: transparent; }
}

/* Yaqinda Maps — xaritaning o'z belgisi */
.yq-map-stamp { display: flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); font: 600 12px/1 system-ui, sans-serif;
  color: #1f2937; pointer-events: none; user-select: none; }
.yq-map-stamp img { width: 18px; height: 18px; display: block; }
html.dark .yq-map-stamp, [data-theme="dark"] .yq-map-stamp { background: rgba(17, 24, 39, .88); color: #f3f4f6; }
.leaflet-control-attribution.yq-attr { font-size: 0 !important; width: 18px; height: 18px; padding: 0 !important; margin: 0 6px 6px 0 !important;
  border-radius: 50%; background: rgba(255, 255, 255, .7) !important; cursor: pointer; overflow: hidden; }
.leaflet-control-attribution.yq-attr::before { content: "i"; display: block; font: italic 600 11px/18px Georgia, serif; text-align: center; color: #6b7280; }
.leaflet-control-attribution.yq-attr.open { font-size: 10px !important; width: auto; height: auto; padding: 2px 7px !important; border-radius: 6px; }
.leaflet-control-attribution.yq-attr.open::before { display: none; }

/* Do'kon (marketpleys): profildagi mahsulotlar */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.shop-card, .shop-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.shop-card img, .shop-card .shop-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--soft, #f3f4f6); }
.shop-ph svg { width: 34px; height: 34px; opacity: .45; }
.shop-info { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 4px; }
.shop-info b { font-size: 15px; line-height: 1.25; }
.shop-price { font-weight: 700; color: var(--accent, #0f766e); }
.shop-act { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 12px; margin-top: auto; }
.shop-card.out, .shop-item.out { opacity: .7; }
.shop-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.shop-item { flex-direction: row; flex-wrap: wrap; align-items: center; }
.shop-item > img, .shop-item > .shop-ph { width: 72px; height: 72px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--soft, #f3f4f6); }
.shop-item .shop-info { flex: 1; min-width: 140px; padding: 8px 12px; }
.shop-item .shop-act { width: 100%; padding-top: 0; }
.shop-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.shop-row { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }
.shop-add > summary { list-style: none; display: inline-flex; cursor: pointer; }
.shop-add > summary::-webkit-details-marker { display: none; }

/* Bozor: mahsulot sahifasi va qo'shish shakli */
a.shop-card { color: inherit; text-decoration: none; }
a.shop-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.shop-card .shop-info b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bozor-search { margin-top: 12px; }
.bozor-sort { display: flex; gap: 6px; flex-wrap: wrap; }
.cat.on { border-color: var(--accent, #0f766e); box-shadow: inset 0 0 0 1px var(--accent, #0f766e); }
.bz-item { display: grid; gap: 16px; margin-top: 10px; }
.bz-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--surface); display: flex; align-items: center; justify-content: center; }
.bz-photo svg { width: 56px; height: 56px; opacity: .4; }
.bz-body { display: flex; flex-direction: column; gap: 8px; }
.bz-price { font-size: 24px; font-weight: 800; color: var(--accent, #0f766e); }
.bz-buy { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.bz-seller { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.bz-seller > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.bz-seller > svg { width: 18px; height: 18px; opacity: .5; }
.shop-photo { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 10px; border: 1px dashed var(--line); border-radius: var(--r); }
.shop-photo img, .shop-photo .shop-ph { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; display: flex; align-items: center; justify-content: center; background: var(--surface); }
.shop-more > summary { cursor: pointer; margin: 4px 0; }
.shop-more[open] { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 760px) { .bz-item { grid-template-columns: 1fr 1fr; align-items: start; } .shop-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } }

/* Mening joyim: ko'k nuqta va aniqlik doirasi (xaritada o'zi siljiydi) */
.me-dot.live { box-shadow: 0 0 0 6px rgba(31, 94, 255, .22), 0 0 0 1px #fff; }

/* Pastga tortib yangilash belgisi */
.pull-pill { position: fixed; z-index: 2600; top: 70px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 22px; color: var(--primary);
  animation: pullspin .8s linear infinite; }
@keyframes pullspin { to { transform: translateX(-50%) rotate(360deg); } }

/* Bozor v2 — Uzum Market uslubida: katta rasmli kartochkalar, savat, solishtirish */
.bz-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bz-cart-btn { position: relative; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--text); }
.bz-cart-btn svg { width: 22px; height: 22px; }
.bz-cart-btn em { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #fff; font: 700 11px/20px system-ui; font-style: normal; text-align: center; }
.bz-cats { margin-top: 12px; }
.bz-cats small { opacity: .6; }
.bz-loc { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; }
.bz-loc svg { width: 16px; height: 16px; }
.bz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.bz-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.bz-card.out { opacity: .65; }
.bz-img { position: relative; display: block; aspect-ratio: 1; background: var(--bg); }
.bz-img img, .bz-img .shop-ph { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; }
.bz-badge { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 8px; font: 700 11px/1.3 system-ui; color: #fff; font-style: normal; }
.bz-badge.best { background: var(--primary); } .bz-badge.cheap { background: var(--ok); } .bz-badge.near { background: var(--accent-btn); }
.bz-cmp .bz-badge { position: static; display: inline-block; margin-top: 3px; }
.bz-info { display: flex; flex-direction: column; gap: 3px; padding: 9px 10px 46px; }
.bz-price { font-weight: 800; font-size: 16px; } .bz-price small { font-weight: 600; font-size: 12px; }
.bz-title { color: var(--text); text-decoration: none; font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bz-rate { font-size: 12px; color: var(--rate); } .bz-seller { font-size: 12px; }
.bz-add { position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.bz-add svg { width: 18px; height: 18px; } .bz-add.added { background: var(--ok); color: #fff; border-color: var(--ok); }
.bz-out { position: absolute; right: 8px; bottom: 10px; }
.bz-price-lg { font-size: 26px; font-weight: 800; }
.bz-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.bz-qty { display: inline-flex; align-items: center; gap: 10px; } .bz-qty b { min-width: 22px; text-align: center; }
.bz-seller-card { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.bz-seller-card > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .bz-seller-card > svg { width: 18px; height: 18px; opacity: .5; }
.bz-compare { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.bz-cmp { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.bz-cmp img, .bz-cmp .shop-ph { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg); }
.bz-cmp-t { flex: 1; display: flex; flex-direction: column; min-width: 0; } .bz-cmp-t b { font-size: 14px; }
.bz-cmp-p { text-align: right; font-weight: 800; display: flex; flex-direction: column; align-items: flex-end; }
.bz-group { margin-top: 12px; } .bz-group h3 { font-size: 14px; margin: 0 0 6px; color: var(--muted); }
.bz-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.bz-line img, .bz-line .shop-ph { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--bg); }
.bz-line-t { flex: 1; min-width: 140px; display: flex; flex-direction: column; }
.bz-total { margin: 14px 0; font-size: 18px; text-align: right; }
.bz-checkout { margin-top: 10px; }
@media (min-width: 760px) { .bz-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .bz-grid { grid-template-columns: repeat(5, 1fr); } }

/* Profil: ixtiyoriy maydonlar yig'ilgan */
.pe-more, .pe-more-in { margin: 12px 0; }
.pe-more > summary, .pe-more-in > summary { cursor: pointer; padding: 6px 0; }
.pe-more[open] > summary, .pe-more-in[open] > summary { margin-bottom: 8px; }

/* Kompyuter ko'rinishi: bir xil uslub (2026-11-08) */
/* Qidiruv qatori: maydon keng, tugma ixcham (orqaga havolasi yashirin — ustun egallamaydi) */
.search-sm { grid-template-columns: minmax(0, 1fr) auto; }
.search-sm .btn { padding: 0 26px; }
.map-bar .search-sm, .page-map .map-bar .search-sm { grid-template-columns: 1fr; }
/* Kartalar: kompyuterda ham telefondagidek ixcham — kichik kvadrat rasm, matn yonida, bo'sh katta blok yo'q */
@media (min-width: 720px) {
  .grid .card { grid-template-columns: 112px minmax(0, 1fr); align-items: start; }
  .grid .card-img { min-height: 0; width: 100px; height: 100px; margin: 12px 0 12px 12px; border-radius: 14px; overflow: hidden; }
  .grid .card-ic { width: 46px; height: 46px; border-radius: 14px; }
  .grid .card-ic svg { width: 24px; height: 24px; }
  .grid .card .badge { left: 4px; top: 4px; font-size: 10px; padding: 2px 5px; }
  .grid .card .fav { top: 10px; right: 10px; width: 32px; height: 32px; }
  .grid .card-body { padding: 12px 14px 12px 12px; }
  .grid .card:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); box-shadow: 0 10px 26px -18px rgba(20, 30, 60, .45); }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid .card { grid-template-columns: 112px minmax(0, 1fr); }
  .grid .card-img { min-height: 0; }
}
@media (min-width: 1300px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* Bozor — Uzum uslubida: qidiruv + savat bir qatorda, banner, belgili bo'limlar, chiroyli bo'sh holat */
.bz-top { display: flex; gap: 10px; align-items: center; }
.bz-top .search { flex: 1; min-width: 0; margin: 0; }
.bz-top .bz-cart-btn { width: 54px; height: 54px; }
.bz-hero { margin-top: 14px; padding: 22px; border-radius: 22px; color: #fff; display: grid; gap: 16px;
  background: radial-gradient(120% 140% at 100% 0, #ff6a5a 0, transparent 55%), linear-gradient(135deg, var(--accent, #e3262e), #9e1b2a); }
.bz-hero h1 { margin: 0 0 6px; font-size: 26px; line-height: 1.15; }
.bz-hero p { margin: 0; opacity: .92; font-size: 14.5px; line-height: 1.5; max-width: 560px; }
.bz-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bz-perks li { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.bz-perks svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bz-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 10px; margin: 16px -16px 0; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
.bz-tiles::-webkit-scrollbar { display: none; }
.bz-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 10px 4px; border-radius: 16px; color: var(--text); text-decoration: none; text-align: center; border: 1px solid transparent; }
.bz-tile b { font-size: 12px; font-weight: 600; line-height: 1.25; }
.bz-tile small { position: absolute; top: 4px; right: 10px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent, #e3262e); color: #fff; font: 700 10.5px/18px system-ui; }
.bz-tile-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-l, #eef2ff); color: var(--primary); transition: transform .15s; }
.bz-tile-ic svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bz-tile:hover .bz-tile-ic { transform: translateY(-2px); }
.bz-tile.on .bz-tile-ic { background: var(--primary); color: #fff; }
.bz-tile.on b { color: var(--primary); font-weight: 800; }
.bz-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; }
.bz-bar .bz-loc { margin: 0; }
.bz-empty { text-align: center; padding: 34px 18px; border-radius: 22px; background: var(--surface); border: 1px dashed var(--line); }
.bz-empty-ic { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 22px; display: grid; place-items: center; background: var(--primary-l, #eef2ff); color: var(--primary); }
.bz-empty-ic svg { width: 36px; height: 36px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bz-empty h2 { margin: 0 0 8px; font-size: 20px; }
.bz-empty p { margin: 0 auto 16px; max-width: 520px; line-height: 1.55; }
.bz-empty-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
@media (max-width: 559px) { .bz-perks { grid-template-columns: 1fr; } .bz-perks li { padding: 8px 10px; } }
@media (min-width: 960px) {
  .bz-hero { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 28px 32px; }
  .bz-hero h1 { font-size: 32px; }
  .bz-perks { grid-template-columns: 1fr; }
  .bz-tiles { grid-auto-flow: row; grid-template-columns: repeat(10, 1fr); grid-auto-columns: auto; margin: 18px 0 0; padding: 0; overflow: visible; }
}


/* Kompyuter: Kabinet (profil) tugmasi — telefondagi pastki "Kabinet" bilan bir xil joy */
.top-acc { display: none; }
@media (min-width: 960px) {
  .top-acc { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: inherit; font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; }
  .top-acc svg { width: 18px; height: 18px; color: var(--primary); }
  .top-acc:hover, .top-acc.on { border-color: var(--primary); color: var(--primary); }
}
@media (min-width: 960px) and (max-width: 1240px) { .top-act .chip-loc { display: none; } .top-acc span { display: none; } .top-acc { padding: 0 11px; } }

/* joy kartasi: matn chapda — boshqa sahifadagi .card-body (markazlangan) qoidasi bu yerga o'tmasin */
article.card > .card-body { display: flex; flex-direction: column; align-items: stretch; justify-items: normal; text-align: left; gap: 3px; font-size: inherit; }
article.card > .card-body .card-meta { justify-content: flex-start; }
/* Mahsulot sahifasi kompyuterda: rasm va ma'lumot yonma-yon, keng */
@media (min-width: 960px) {
  .page-bozor .narrow { max-width: 1040px; }
  .bz-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .bz-item .bz-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
}

/* "Tasdiqlangan" belgisi — egasi ham, mijoz ham aniq ko'radi */
.vpill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--ok-l, #e3f6ee); color: var(--ok, #12935f); font-weight: 800; font-size: 13px; width: fit-content; }
.vpill svg { width: 15px; height: 15px; }
.tg-head .vpill { margin: 6px auto 0; }
.own-head { flex-wrap: wrap; }

/* telefon: ixcham Bozor */
@media (max-width: 719px) {
  .search-sm .btn { padding: 0 16px; }
  .bz-top .bz-cart-btn { width: 50px; height: 50px; }
  .bz-hero { padding: 16px; gap: 10px; border-radius: 18px; }
  .bz-hero h1 { font-size: 21px; margin-bottom: 4px; }
  .bz-hero p { font-size: 13px; }
  .bz-perks { display: flex; grid-template-columns: none; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .bz-perks::-webkit-scrollbar { display: none; }
  .bz-perks li { flex: none; padding: 6px 10px; font-size: 12px; white-space: nowrap; }
  .bz-perks svg { width: 17px; height: 17px; }
  .bz-tiles { grid-auto-columns: 78px; gap: 6px; margin-top: 12px; }
  .bz-tile-ic { width: 50px; height: 50px; border-radius: 16px; }
  .bz-tile b { font-size: 11.5px; }
  .bozor-sort { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 6px; }
  .bozor-sort::-webkit-scrollbar { display: none; }
  .bozor-sort .pill { flex: none; }
}

/* pastki bloklar */
.foot { padding: 16px 0 10px; }
.foot-in { gap: 12px; }
.foot .foot-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; white-space: normal; padding: 0; }
.foot .foot-links a.fb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 10px 4px; min-height: 76px;
  border-radius: 16px; background: var(--bg); border: 1px solid var(--line); color: var(--text); text-decoration: none; text-align: center;
  font-size: 12px; font-weight: 700; line-height: 1.2; transition: transform .15s, border-color .15s, box-shadow .15s; }
.fb i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.fb i svg { width: 18px; height: 18px; }
.fb-blue i { background: var(--primary-l); color: var(--primary); }
.fb-green i { background: var(--ok-l); color: var(--ok); }
.fb-orange i { background: #fff1e6; color: var(--accent-d); }
.fb-violet i { background: #f1ebff; color: #7a4ce0; }
.fb-gray i { background: color-mix(in srgb, var(--muted) 14%, transparent); color: var(--muted); }
.foot .foot-links a.fb:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); box-shadow: 0 10px 22px -16px rgba(20, 30, 60, .45); }
@media (min-width: 960px) { .foot .foot-links { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; } .foot .foot-links a.fb { font-size: 13px; min-height: 84px; } }

/* Siz uchun — kartochkalar */
.fy-sec { gap: 10px; margin-top: 14px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.fy-h { font-size: 16.5px; }
.fy-h .mi { width: 38px; height: 38px; border-radius: 12px; }
.fy-h .mi svg { width: 20px; height: 20px; }
.fy-sec > p.muted { margin: 0; }
.fy-list { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.fy-none { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px; border-radius: 14px; background: var(--bg); color: var(--muted); font-size: 14px; line-height: 1.45; }
.fy-none i { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-l); color: var(--primary); }
.fy-none i svg { width: 19px; height: 19px; }
.fy-cta { white-space: normal; height: auto; min-height: 46px; padding: 10px 16px; line-height: 1.3; }
.fy-empty { border-radius: 20px; padding: 18px; }

/* Uzum uslubi: Bozor kartochkasi va mahsulot formasi */
.bz-grid { gap: 14px 10px; }
.bz-card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.bz-imgw { position: relative; }
.bz-img { display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.bz-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bz-img .shop-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); }
.bz-badge { left: 8px; top: 8px; z-index: 1; border-radius: 8px; font-size: 11px; padding: 3px 7px; }
.bz-card .bz-add { right: 8px; bottom: 8px; top: auto; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--text);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.bz-card .bz-add svg { width: 19px; height: 19px; }
.bz-card .bz-add.added { background: var(--ok); color: #fff; }
.bz-out { position: absolute; left: 8px; bottom: 8px; right: auto; padding: 3px 8px; border-radius: 8px; background: rgba(23, 25, 35, .75); color: #fff; font-size: 11.5px; font-weight: 700; }
.bz-info { padding: 8px 2px 0; gap: 4px; }
.bz-price { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.2px; }
.bz-price small { font-size: 12px; font-weight: 700; color: var(--muted); }
.bz-title { font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--text); min-height: 2.7em; }
.bz-rate { font-size: 12.5px; color: var(--muted); } .bz-rate b { color: #f5a400; }
.bz-seller { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); border: 0; padding: 0; background: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-seller svg { flex: none; width: 13px; height: 13px; }
.bz-card.out .bz-img { opacity: .6; }
/* Mahsulot qo'shish formasi — ilovaning umumiy maydonlari */
.shop-add > summary { list-style: none; display: inline-flex; }
.shop-add > summary::-webkit-details-marker { display: none; }
.shop-form { display: grid; gap: 14px; margin-top: 14px; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.shop-form .field { display: grid; gap: 6px; }
.shop-form .field > span { font-weight: 700; font-size: 14px; }
.shop-form input:not([type=file]):not([type=checkbox]), .shop-form select, .shop-form textarea { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; font-size: 16px; }
.shop-form textarea { padding: 12px 14px; min-height: 80px; }
.shop-form input:focus, .shop-form select:focus, .shop-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-l); background: var(--surface); }
.shop-photo { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; border: 2px dashed var(--line); cursor: pointer; font-weight: 700; color: var(--primary); }
.shop-photo .shop-ph, .shop-photo img { width: 72px; height: 72px; border-radius: 14px; background: var(--primary-l); color: var(--primary); display: grid; place-items: center; object-fit: cover; }
.shop-photo .shop-ph svg { width: 28px; height: 28px; }
.shop-more { display: grid; gap: 12px; }
.shop-more[open] > summary { margin-bottom: 4px; }


/* Bozor: bir xil o'lchamli kartochkalar */
.bz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (min-width: 760px) { .bz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bz-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.bz-card { min-width: 0; }
.bz-img { position: relative; width: 100%; aspect-ratio: 3 / 4; height: auto; }
.bz-img img, .bz-img .shop-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bz-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.bz-info { min-width: 0; }
