:root {
  --green: #1F7A5C;
  --green-d: #165A44;
  --green-l: #E7F2EE;
  --sun: #F59E0B;
  --sun-d: #D97706;
  --bg: #F8FAF7;
  --card: #FFFFFF;
  --ink: #1C2321;
  --muted: #66706C;
  --line: #E3E8E5;
  --red: #DC2626;
  --red-l: #FDECEC;
  --amber-l: #FEF3C7;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(16, 40, 30, .06), 0 4px 16px rgba(16, 40, 30, .06);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 15px; line-height: 1.45; padding-bottom: 76px; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
.hero { background: linear-gradient(160deg, var(--green) 0%, var(--green-d) 100%); color: #fff; padding: 20px 0 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.3px; }
.brand .logo { width: 36px; height: 36px; border-radius: 10px; background: var(--sun); display: grid; place-items: center; font-size: 20px; }
.hero h1 { font-size: 26px; line-height: 1.2; margin: 18px 0 6px; letter-spacing: -.4px; }
.hero p { margin: 0; opacity: .85; }

/* Search card */
.search { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; margin-top: -44px; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.search .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 12px; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; background: #fff; min-height: 46px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.btn { border: 0; border-radius: 14px; min-height: 50px; padding: 0 18px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-primary { background: var(--sun); color: #1b1300; }
.btn-primary:active { background: var(--sun-d); }
.btn-green { background: var(--green); color: #fff; }
.btn-ghost { background: var(--green-l); color: var(--green-d); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* Chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }

.section-title { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; }
.section-title h2 { font-size: 19px; margin: 0; letter-spacing: -.2px; }
.section-title select { border: 0; background: transparent; color: var(--green-d); font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: block; position: relative; }
.card .ph { aspect-ratio: 4 / 3; background: #dfe7e3 center / cover no-repeat; position: relative; }
.card .body { padding: 12px 14px 14px; }
.card h3 { margin: 0 0 2px; font-size: 17px; letter-spacing: -.2px; }
.card .meta { color: var(--muted); font-size: 13px; }
.card .price { margin-top: 8px; font-weight: 800; font-size: 17px; }
.card .price small { font-weight: 600; color: var(--muted); font-size: 13px; }
.badge { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.95); color: var(--green-d); font-weight: 700; font-size: 12px; padding: 4px 9px; border-radius: 999px; }
.badge.top { left: auto; right: 10px; background: var(--sun); color: #1b1300; }
.rating { font-weight: 700; }
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll .card { flex: 0 0 240px; scroll-snap-align: start; }
.free-tag.busy-tag { background: #fdecec; color: #b42318; }
.free-tag { display: inline-block; background: var(--green-l); color: var(--green-d); font-weight: 700; font-size: 12px; border-radius: 8px; padding: 2px 8px; margin-top: 6px; }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty .big { font-size: 40px; }

/* Detail */
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #dfe7e3; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
@media (min-width: 760px) { .gallery img { flex-basis: 50%; aspect-ratio: 3 / 2; } }
.gcount { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
.back { position: absolute; left: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow); }
.detail h1 { font-size: 24px; margin: 16px 0 4px; letter-spacing: -.4px; line-height: 1.2; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-weight: 600; font-size: 14px; }
.block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 14px 0; }
.block h3 { margin: 0 0 10px; font-size: 17px; }
.amen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; }
.amen div { font-size: 14px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prices div { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.prices b { display: block; font-size: 17px; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--green-d); font-weight: 700; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Calendar */
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cal-nav button { border: 0; background: var(--green-l); color: var(--green-d); width: 40px; height: 40px; border-radius: 12px; font-size: 18px; cursor: pointer; }
.cal-nav b { font-size: 16px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal .d { aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; cursor: pointer; border: 1.5px solid transparent; background: #fff; user-select: none; }
.cal .d small { font-size: 9.5px; font-weight: 600; color: var(--muted); line-height: 1; }
.cal .d.past { color: #c3cbc7; cursor: default; }
.cal .d.past small { display: none; }
.cal .d.busy { background: var(--red-l); color: var(--red); text-decoration: line-through; cursor: not-allowed; }
.cal .d.hold { background: var(--amber-l); color: #92400E; cursor: not-allowed; }
.cal .d.blocked { background: #EEF0EF; color: #9AA39F; text-decoration: line-through; }
.cal .d.sel { background: var(--green); color: #fff; }
.cal .d.sel small { color: #d6efe5; }
.cal .d.inr { background: var(--green-l); }
.cal .d.today { border-color: var(--green); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.legend .l-free::before { background: #fff; border: 1px solid var(--line); }
.legend .l-busy::before { background: var(--red-l); border: 1px solid var(--red); }
.legend .l-hold::before { background: var(--amber-l); border: 1px solid var(--sun); }
.legend .l-sel::before { background: var(--green); }

/* Booking bar */
.bookbar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; z-index: 30; }
.bookbar .sum { flex: 1; min-width: 0; }
.bookbar .sum b { font-size: 18px; display: block; }
.bookbar .btn { min-width: 150px; }
body.has-bookbar .tabbar { display: none; }

/* Sheet */
.sheet-bg { position: fixed; inset: 0; background: rgba(10, 20, 15, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 560px; border-radius: 22px 22px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.sheet h3 { margin: 0 0 12px; font-size: 19px; }
.sheet .rows { display: grid; gap: 12px; }
.total-line { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.total-line.big { font-weight: 800; font-size: 17px; border: 0; }

/* Bookings list */
.bk { display: flex; gap: 12px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; margin-bottom: 12px; }
.bk .ph { width: 84px; height: 84px; border-radius: 12px; background: #dfe7e3 center / cover; flex: none; }
.bk .info { flex: 1; min-width: 0; }
.bk h4 { margin: 0 0 4px; font-size: 16px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: var(--bg); }
.status.pending { background: var(--amber-l); color: #92400E; }
.status.confirmed, .status.completed { background: var(--green-l); color: var(--green-d); }
.status.rejected, .status.cancelled, .status.expired { background: #EEF0EF; color: var(--muted); }
.stars { display: flex; gap: 6px; font-size: 30px; }
.stars span { cursor: pointer; filter: grayscale(1); opacity: .4; }
.stars span.on { filter: none; opacity: 1; }

/* Map */
#map { height: calc(100vh - 160px); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 12px; }
.leaflet-popup-content { font-family: Manrope, sans-serif; }

/* Tabbar */
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: space-around; padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); z-index: 20; }
.tabbar a { display: flex; flex-direction: column; align-items: center; font-size: 11.5px; font-weight: 600; color: var(--muted); min-width: 64px; padding: 2px 0; }
.tabbar a span { font-size: 21px; line-height: 1.2; }
.tabbar a.on { color: var(--green); }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 12px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; }
.loader { min-height: 60vh; display: grid; place-items: center; }
.spinner { width: 36px; height: 36px; border: 3px solid var(--green-l); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-head { padding: 18px 0 6px; }
.page-head h1 { margin: 0; font-size: 22px; letter-spacing: -.3px; }

@media (min-width: 760px) {
  .search { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: end; }
  .search .full { grid-column: auto; }
  .hero h1 { font-size: 34px; }
}

/* Xizmatlar */
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.svc { display: flex; flex-direction: column; gap: 2px; background: var(--bg); border-radius: 14px; padding: 12px; border: 1.5px solid transparent; }
.svc:active { border-color: var(--green); }
.svc .e, .svc-row .e, .owner-cta .e { font-size: 26px; line-height: 1.1; }
.svc.off, .svc-row.off { opacity: .55; }
.svc-row { display: flex; gap: 12px; align-items: center; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 600; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.check:has(input:checked) { border-color: var(--green); background: var(--green-l); }
.cal .d.deal small { color: var(--sun-d); font-weight: 800; }
.cal .d.deal { border-color: #FCD34D; }
.owner-cta { display: flex; gap: 12px; align-items: center; margin-top: 22px; }
.owner-cta > div { flex: 1; }
.owner-cta > span:last-child { font-size: 24px; color: var(--muted); }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } .tabbar { max-width: 560px; margin: 0 auto; border-radius: 18px 18px 0 0; border: 1px solid var(--line); } }

/* Sutkalik / kunduzgi */
.seg { display: flex; background: var(--bg); border-radius: 12px; padding: 4px; gap: 4px; margin-bottom: 12px; }
.seg button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: 10px 8px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--green-d); box-shadow: var(--shadow); }
.cal .d.half { background: linear-gradient(135deg, #fff 50%, #FFE7CC 50%); color: #9A3412; }
.cal .d.half small { color: #9A3412; }
.cal .d.halfb { background: linear-gradient(135deg, #fff 62%, #FFE7CC 62%); }
.legend .l-half::before { background: linear-gradient(135deg, #fff 50%, #FFE7CC 50%); border: 1px solid #FDBA74; }
.legend .l-block::before { background: #EEF0EF; border: 1px solid #9AA39F; }
.cal .d.sel { background: var(--green); color: #fff; }
.cal .d.sel small { color: #d6efe5; }
.cal .d.inr { background: var(--green-l); }

/* ===================== Video ===================== */
.gallery video { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; background: #000; }
@media (min-width: 760px) { .gallery video { flex-basis: 50%; aspect-ratio: 3 / 2; } }
.badge.vid { top: auto; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; }
.ph-video { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; background: linear-gradient(160deg, #2b3a34, #121a17); }
.brand .owner-link { margin-left: auto; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 7px 12px; border-radius: 999px; letter-spacing: 0; }

/* ===================== Egalar kabineti ===================== */
body.no-tabs { padding-bottom: 0; }
body.no-tabs .tabbar { display: none; }
.center { text-align: center; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.link { color: var(--green-d); font-weight: 700; font-size: 14px; }
.btn.disabled { opacity: .45; pointer-events: none; }

.auth-wrap { max-width: 980px; padding-top: 14px; padding-bottom: 28px; display: grid; gap: 18px; }
.auth-back { color: var(--muted); font-weight: 600; font-size: 14px; }
.auth-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); padding: 22px 18px; max-width: 480px; width: 100%; justify-self: center; }
.auth-card h1 { font-size: 24px; margin: 14px 0 4px; letter-spacing: -.4px; }
.auth-card > p { margin: 0 0 16px; }
.auth-card .rows { display: grid; gap: 12px; }
.auth-card .big { font-size: 44px; }
.brand-sm { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
.brand-sm .logo { width: 32px; height: 32px; border-radius: 9px; background: var(--sun); display: grid; place-items: center; font-size: 17px; }
.brand-sm .tag { background: var(--green-l); color: var(--green-d); font-size: 12px; padding: 3px 8px; border-radius: 999px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--green-d); flex-wrap: wrap; }
.perks { display: grid; gap: 10px; max-width: 480px; width: 100%; justify-self: center; }
.perks > div { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); }
.perks span { grid-row: span 2; font-size: 24px; }
.perks small { color: var(--muted); }
.pw { position: relative; }
.pw input { padding-right: 46px; }
.pw .eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font-size: 18px; cursor: pointer; padding: 6px; }
.dob { display: grid; grid-template-columns: 1fr 1.6fr 1.2fr; gap: 8px; }
.check.wide { display: flex; align-items: flex-start; font-weight: 600; line-height: 1.35; }
.check.wide input { margin-top: 2px; flex: none; }
.steps { text-align: left; padding-left: 20px; margin: 10px 0 18px; display: grid; gap: 6px; }
.note-card { background: linear-gradient(180deg, #FFFBEB, #FEF3C7); border: 1px solid #FCD34D; border-radius: 16px; padding: 14px; margin: 14px 0; }
.note-card p { margin: 6px 0 10px; font-size: 14px; }
.note-card .ex { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed #F5D27A; font-size: 14px; }
.note-card .g, .g { color: var(--green-d); }
.banner { border-radius: 16px; padding: 14px; margin: 14px 0; font-size: 14px; }
.banner.warn { background: #FFF7ED; border: 1px solid #FDBA74; }

.o-hero { background: linear-gradient(160deg, var(--green) 0%, var(--green-d) 100%); color: #fff; padding: 18px 0 16px; }
.o-hero .row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.o-hero h1 { margin: 2px 0 14px; font-size: 22px; letter-spacing: -.3px; }
.muted-w { color: rgba(255,255,255,.75); }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sun); color: #1b1300; display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.avatar.big { width: 58px; height: 58px; font-size: 24px; }
.seg.light { background: rgba(255,255,255,.14); margin: 0; }
.seg.light button { color: rgba(255,255,255,.85); }
.seg.light button.on { background: #fff; color: var(--green-d); }
.seg a { flex: 1; text-align: center; border-radius: 9px; padding: 10px 8px; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg a.on { background: #fff; color: var(--green-d); box-shadow: var(--shadow); }
.o-body { padding-bottom: 20px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.kpi { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.kpi span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.kpi b { font-size: 20px; letter-spacing: -.3px; margin: 2px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi small { font-size: 12px; color: var(--muted); }
.kpi.hl { background: var(--green); color: #fff; }
.kpi.hl span, .kpi.hl small { color: rgba(255,255,255,.8); }
.kpi.ok b { color: var(--green-d); }
.o-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.o-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.o-card .cover { aspect-ratio: 16 / 9; background: #dfe7e3 center / cover; position: relative; display: grid; place-items: center; font-size: 40px; }
.o-card .st { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.95); font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.o-card .body { padding: 12px 14px 14px; display: grid; gap: 8px; }
.o-card h3 { margin: 0; font-size: 17px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.acts .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 10px; border-radius: 10px; width: fit-content; }
.pill.free { background: var(--green-l); color: var(--green-d); }
.pill.guest { background: #DBEAFE; color: #1E40AF; }
.pill.closed { background: #EEF0EF; color: var(--muted); }
.pill.hold { background: var(--amber-l); color: #92400E; }
.strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.strip i { font-style: normal; font-size: 10px; font-weight: 700; text-align: center; padding: 5px 0; border-radius: 5px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.strip i.guest { background: #DBEAFE; border-color: #93C5FD; color: #1E40AF; }
.strip i.half { background: linear-gradient(135deg, #fff 50%, #DBEAFE 50%); border-color: #93C5FD; }
.strip i.blocked { background: #EEF0EF; color: #9AA39F; }
.strip i.hold { background: var(--amber-l); border-color: #FCD34D; color: #92400E; }
.legend .l-guest::before { background: #DBEAFE; border: 1px solid #93C5FD; }
.legend .l-ovr::before { background: #fff; border: 2px solid var(--sun); }
.o-bk { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; margin-bottom: 10px; display: grid; gap: 4px; }
.sheet .o-bk { box-shadow: none; border: 1px solid var(--line); }
.o-bk .top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.o-bk .money { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; margin-top: 4px; }
.o-bk .acts { margin-top: 6px; }
.src { background: #EEF2FF; color: #3730A3; border-radius: 6px; padding: 1px 6px; font-weight: 700; }
.cal .d.guest { background: #DBEAFE; color: #1E40AF; }
.cal .d.guest small { color: #1E40AF; }
.cal .d.ovr { border-color: var(--sun); }
.cal .d.ovr small { color: var(--sun-d); font-weight: 800; }
.cal .d.was { opacity: .55; }
.msum { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.msum b { color: var(--ink); }
.day-state { font-weight: 800; padding: 10px 12px; border-radius: 12px; background: var(--bg); margin-bottom: 10px; }
.day-state.guest { background: #DBEAFE; color: #1E40AF; }
.day-state.blocked { background: #EEF0EF; }
.day-state.free { background: var(--green-l); color: var(--green-d); }
.row-link { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
.o-row { display: flex; gap: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px; margin-bottom: 10px; }
.o-row .ph { width: 92px; height: 92px; border-radius: 12px; background: #dfe7e3 center / cover; flex: none; display: grid; place-items: center; font-size: 30px; }
.o-row .info { flex: 1; min-width: 0; display: grid; gap: 3px; }
.prof { display: flex; gap: 14px; align-items: center; }
.o-form .block h3 { margin-bottom: 12px; }
.o-form .rows { display: grid; gap: 12px; }
.net { color: var(--green-d); font-size: 12px; min-height: 15px; }
.pick { height: 220px; border-radius: 12px; border: 1.5px solid var(--line); overflow: hidden; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 10px; }
.mt { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #dfe7e3; }
.mt img, .mt video { width: 100%; height: 100%; object-fit: cover; }
.mt .vb { position: absolute; left: 6px; bottom: 6px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; border-radius: 6px; padding: 1px 5px; }
.mt .cv { position: absolute; left: 6px; top: 6px; background: var(--sun); color: #1b1300; font-size: 10.5px; font-weight: 800; border-radius: 6px; padding: 2px 6px; }
.mt .rm, .mt .mv { position: absolute; top: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; cursor: pointer; }
.mt .rm { right: 6px; }
.mt .mv { right: 36px; }
.mt.loading img, .mt.loading video { opacity: .45; }
.mt .ld { position: absolute; inset: 0; display: grid; place-items: center; }
.mt .ld .spinner { width: 26px; height: 26px; }
.upl { cursor: pointer; }
.err { color: var(--red); font-weight: 700; }
.okc { color: var(--green-d); font-weight: 800; }

@media (min-width: 760px) {
  .auth-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
  .auth-back { grid-column: 1 / -1; }
  .auth-card { justify-self: end; }
  .perks { justify-self: start; align-self: center; }
  .kpis { grid-template-columns: repeat(3, 1fr); }
  .o-hero h1 { font-size: 28px; }
}
.field .check input, .check input { width: 18px; height: 18px; min-height: 0; padding: 0; border: 0; flex: none; }
.field .checks { margin-top: 2px; }

/* ===================== Oshpaz va ofitsiantlar ===================== */
.st-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: 12px; }
.st-card { display: flex; gap: 12px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 12px; align-items: center; }
.st-card .ph { width: 76px; height: 76px; border-radius: 50%; background: #dfe7e3 center / cover; flex: none; border: 3px solid var(--green-l); }
.st-card .info { display: grid; gap: 2px; min-width: 0; }
.st-row .st-card { flex: 0 0 270px; scroll-snap-align: start; }
.stars-line { color: var(--sun); font-size: 15px; letter-spacing: 1px; }
.stars-line b { color: var(--ink); letter-spacing: 0; margin-left: 4px; }
.stars-line .off { color: #D8DED9; }
.stars-line.big { font-size: 22px; }
.st-profile { text-align: center; padding: 18px 0 6px; display: grid; gap: 4px; justify-items: center; }
.st-profile .ph { width: 132px; height: 132px; border-radius: 50%; background: #dfe7e3 center / cover; border: 4px solid #fff; box-shadow: var(--shadow); margin-bottom: 6px; }
.st-profile h1 { margin: 4px 0 0; font-size: 24px; }
.rv { padding: 8px 0; border-top: 1px solid var(--line); }
.photo-pick { display: flex; gap: 14px; align-items: center; cursor: pointer; background: var(--bg); border: 1.5px dashed var(--line); border-radius: 16px; padding: 12px; }
.photo-pick .ph { width: 72px; height: 72px; border-radius: 50%; background: #fff center / cover; display: grid; place-items: center; font-size: 28px; flex: none; border: 1.5px solid var(--line); }
#sf { margin-top: 6px; }
