/* NARKS verejný web – farby a typografia podľa klikateľného návrhu (navy + NARKS žltá), svetlý aj tmavý režim */
:root {
  --navy: #0f2440; --navy-2: #17345a; --gold: #d6a64d; --gold-strong: #e6b007;
  --bg: #f6f4ef; --surface: #fff; --surface-2: #efece4; --fg: #142033; --muted: #5d6675; --line: #dfdacd;
  --head-bg: #0f2440; --head-fg: #f4efe2; --ok: #2f7d4f; --err: #b42318;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif; --r: 14px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0b1a2e; --surface: #12253f; --surface-2: #183053; --fg: #eef1f6; --muted: #9fb0c6; --line: #24406a; --head-bg: #08152a; --ok: #7fd1a0; --err: #f87171; color-scheme: dark } }
:root[data-theme="dark"] { --bg: #0b1a2e; --surface: #12253f; --surface-2: #183053; --fg: #eef1f6; --muted: #9fb0c6; --line: #24406a; --head-bg: #08152a; --ok: #7fd1a0; --err: #f87171; color-scheme: dark }

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.5 var(--font-body); }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 22px 0 10px; }
.num { font-variant-numeric: tabular-nums; }
.wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
.inner { max-width: 1240px; margin: 0 auto; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.top { position: sticky; top: 0; z-index: 40; background: var(--head-bg); color: var(--head-fg); }
.top .inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font: 800 19px/1 var(--font-display); letter-spacing: .02em; }
.brand small { display: block; font-size: 11px; opacity: .7; margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; padding: 8px 12px; font-weight: 600; opacity: .78; border-radius: 8px; }
.nav a:hover, .nav a.on { opacity: 1; background: rgba(255,255,255,.08); }
.nav a.on { box-shadow: inset 0 -2px 0 var(--gold); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--head-fg); cursor: pointer; }
.btn-gold { background: var(--gold); color: #0f2440; border: 0; border-radius: 999px; padding: 9px 16px; font-weight: 700; text-decoration: none; cursor: pointer; display: inline-block; }
.btn-gold:hover { background: var(--gold-strong); }
.btn-line { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; background: transparent; text-decoration: none; white-space: nowrap; }
.link { background: none; border: 0; padding: 0; font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; cursor: pointer; }
.mmenu { display: none; position: static; }
.mmenu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); font-weight: 700; color: var(--head-fg); }
.mmenu summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.burger::before { position: absolute; top: -5px; } .burger::after { position: absolute; top: 5px; }
.mmenu[open] summary { background: rgba(255,255,255,.1); }
.mmenu[open] .burger { background: transparent; } .mmenu[open] .burger::before { top: 0; transform: rotate(45deg); } .mmenu[open] .burger::after { top: 0; transform: rotate(-45deg); }
.mmenu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--head-bg); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 16px 30px rgba(0,0,0,.25); display: grid; padding: 8px 16px 18px; z-index: 60; }
.mmenu-panel a { color: var(--head-fg); text-decoration: none; padding: 13px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.mmenu-panel a.on { color: var(--gold); }
.mmenu-panel a.btn-gold { margin-top: 14px; border: 0; text-align: center; color: var(--navy); border-radius: 999px; }

.hero { background: var(--head-bg); color: var(--head-fg); }
.hero .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-block: 44px 56px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; font-weight: 800; margin: 12px 0 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.lead { font-size: 17px; opacity: .82; max-width: 34em; margin: 0 0 22px; }
.searchbox { background: var(--surface); color: var(--fg); border-radius: 18px; padding: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.deal-tabs { display: flex; flex-wrap: wrap; gap: 2px 4px; padding: 2px 2px 10px; align-items: center; }
.deal-tabs label span, .deal-tabs a { display: inline-block; padding: 7px 14px; border-radius: 999px; font-weight: 600; color: var(--muted); text-decoration: none; cursor: pointer; }
.deal-tabs input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.deal-tabs label { position: relative; }
.deal-tabs label span, .deal-tabs a { white-space: nowrap; }
/* mobil: 5 záložiek sa nezmestí do riadku – zalomiť, menšie odsadenie */
/* záložky sa zalomia pri každej šírke (úzky box aj pri dvoch stĺpcoch úvodu, ~1024 px); na mobile menšie */
@media (max-width: 640px) { .deal-tabs label span, .deal-tabs a { padding: 6px 10px; font-size: 14px; } }
.deal-tabs input:checked + span, .seg input:checked + span, .seg a.on { background: var(--navy); color: #fff; }
.search-row { display: flex; gap: 8px; flex-wrap: wrap; }
.search-row .sel { flex: 1 1 160px; }
.hero-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hero-regions .hr-tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); }
.hero-regions .hr-tile:hover { background: rgba(214,166,77,.18); }
.hero-regions .hr-main { display: flex; gap: 10px; align-items: baseline; text-decoration: none; color: inherit; }
/* celá dlaždica klikateľná na kancelárie, odkaz na ponuky nad ňou */
.hero-regions .hr-main::after { content: ''; position: absolute; inset: 0; border-radius: 12px; }
.hero-regions .hr-list { position: relative; z-index: 1; align-self: flex-start; margin-left: calc(2ch + 10px); font-size: 12.5px; color: var(--gold); text-decoration: none; opacity: .9; padding: 3px 0; }
.hero-regions .hr-list:hover { text-decoration: underline; opacity: 1; }
.hero-regions b { font: 800 22px var(--font-display); color: var(--gold); min-width: 2ch; }
.hero-regions small { grid-column: 1 / -1; opacity: .7; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; position: relative; }
/* prekrytie s hlavičkou úvodu len ako prvý blok (pod skrytým „Naposledy ste si pozreli“); inak by sa nalepil na ponuky nad ním */
.inner > .stats:first-child, .inner > [hidden]:first-child + .stats { margin-top: -28px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.stat b { display: block; font: 800 26px/1.15 var(--font-display); }
.stat span { color: var(--muted); font-size: 13.5px; }
.section { padding-block: 40px 8px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 0; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.why div { padding: 20px; border-top: 3px solid var(--gold); background: var(--surface); border-radius: 0 0 var(--r) var(--r); }
.why h3 { font-size: 18px; margin-bottom: 6px; } .why p { margin: 0; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card:hover, .card.hot { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,36,64,.14); border-color: var(--gold); }
.ph { position: relative; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; max-width: 100%; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ph-strip::-webkit-scrollbar { display: none; }
.ph-strip img { flex: 0 0 100%; scroll-snap-align: start; }
.ph-nav { position: absolute; top: max(50%, 112px); transform: translateY(-50%); z-index: 3; width: 32px; height: 32px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: #0f2440; font-size: 22px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .15s; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.ph-nav.prev { left: 8px; } .ph-nav.next { right: 8px; }
.card:hover .ph-nav, .ph-nav:focus-visible { opacity: 1; }
@media (hover: none) { .ph-nav { display: none; } }
.ph-dots { position: absolute; left: 0; right: 0; bottom: 8px; z-index: 2; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.ph-dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.55); box-shadow: 0 0 2px rgba(0,0,0,.4); }
.ph-dots i.on { background: #fff; width: 8px; height: 8px; margin-top: -1px; }
.badge { position: absolute; left: 10px; top: 10px; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.card .body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.price { font: 800 20px/1.2 var(--font-display); } .price small { font: 500 12.5px var(--font-body); color: var(--muted); }
.t { font-weight: 600; overflow-wrap: anywhere; } .loc { color: var(--muted); font-size: 13.5px; }
.params { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.office-mini { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding: 9px 14px; margin-top: auto; }
.seal { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 800; flex: none; }
.member { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; background: color-mix(in oklab, var(--gold) 22%, transparent); border-radius: 999px; padding: 3px 9px 3px 3px; margin-top: 4px; }

.filters { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 30; }
.filters .inner { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-block: 10px; max-width: none; }
.sel { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 12px; font-weight: 500; max-width: 100%; }
.sel.grow { flex: 1 1 260px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg); }
.seg label span, .seg a { display: inline-block; padding: 6px 11px; border-radius: 999px; font-weight: 600; font-size: 13.5px; color: var(--muted); text-decoration: none; cursor: pointer; }
.view-seg { margin-left: auto; }

/* výber typu s checkboxmi */
.picker { position: relative; }
.picker > summary { list-style: none; cursor: pointer; }
.picker > summary::-webkit-details-marker { display: none; }
.picker[open] > summary { border-color: var(--gold); }
.picker-panel { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; width: min(560px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 40px rgba(15,36,64,.18); padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.pk-type { border: 0; margin: 0; padding: 0; min-width: 0; }
.pk-head { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--line); }
.pk-more { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); }
.pk-items { display: grid; gap: 2px; padding: 6px 4px 6px 24px; font-size: 13.5px; }
.pk-items label { display: flex; gap: 8px; align-items: center; }
.pk-group { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 6px; }
.pk-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.picker input[type=checkbox] { accent-color: var(--navy); width: 16px; height: 16px; }

.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-block: 12px; }
.results-bar h1 { font-size: 20px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); height: calc(100vh - 64px - 62px); min-height: 520px; }
.listcol { overflow-y: auto; padding: 0 16px 24px max(16px, env(safe-area-inset-left)); }
.mapcol { position: relative; border-left: 1px solid var(--line); background: var(--surface-2); }
.mapcol .map { position: absolute !important; inset: 0; } /* maplibregl-map nastaví position: relative */
.split .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mode-klasika .split { display: block; height: auto; }
.mode-klasika .mapcol { display: none; }
.mode-klasika .listcol { overflow: visible; max-width: 1240px; margin: 0 auto; }
.mode-mapa .split { grid-template-columns: minmax(0, 1fr); }
.mode-mapa .listcol { display: none; }
.rowcards { display: grid; gap: 12px; }
.rowcard { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; }
.rowcard:hover { border-color: var(--gold); }
.rowcard .ph { aspect-ratio: auto; min-height: 150px; height: 100%; }
.rowcard .mid { padding: 14px 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.rowcard .rt { padding: 14px 16px 14px 0; display: grid; align-content: space-between; justify-items: end; gap: 8px; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; padding-block: 18px; }
.pager a { min-width: 36px; text-align: center; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.pager a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.mapfab { display: none; }
.split { position: relative; }
.map-search { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px 16px 0 max(16px, env(safe-area-inset-left)); }
@media (min-width: 961px) {
  .offices-split { grid-template-rows: minmax(0, 1fr); height: calc(100vh - 64px); }
  .map-search { position: absolute; z-index: 5; top: 12px; left: calc(50% + 12px); right: 60px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 24px rgba(15,36,64,.18); flex-wrap: nowrap; }
  .map-search .sel { border: 0; background: var(--bg); }
  .map-search select.sel { max-width: 46%; }
}
.type-search { position: relative; flex: 1 1 220px; min-width: 0; }
.ts-box { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; width: 100%; padding: 4px 6px 4px 12px; min-height: 38px; cursor: text; border-radius: 22px; }
.ts-box input { flex: 1 1 90px; min-width: 70px; border: 0; background: none; color: inherit; font: inherit; padding: 4px 0; outline: none; }
.ts-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--navy); color: #fff; border-radius: 999px; padding: 2px 4px 2px 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ts-chip button { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 18px; height: 18px; border-radius: 999px; cursor: pointer; font-size: 10px; line-height: 1; }
.ts-chip button:hover { background: var(--gold); color: var(--navy); }
.loc-list li.ts-type span { font-weight: 700; }
.loc-list li.ts-cat { padding-left: 24px; }
.ts-box:focus-within { outline: 2px solid color-mix(in oklab, var(--gold) 60%, transparent); outline-offset: 1px; }
.loc-search { position: relative; flex: 1 1 220px; min-width: 0; }
.loc-search .sel { width: 100%; }
.loc-list { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: min(420px, calc(100vw - 32px)); max-height: 340px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(15,36,64,.2); }
.loc-list li { padding: 7px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.loc-list li small { color: var(--muted); white-space: nowrap; }
.loc-list li[aria-selected="true"], .loc-list li:hover { background: color-mix(in oklab, var(--gold) 20%, transparent); }
.loc-list .empty { color: var(--muted); cursor: default; }
.loc-list.wide { width: 100%; max-width: none; }
.loc-list .grp { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 10px 4px; cursor: default; }
.loc-list .grp:hover { background: none; }
.loc-list li b { font-weight: 600; }
.loc-list li .addr { display: block; font-size: 12.5px; color: var(--muted); }
.map-search .loc-search .sel { border: 0; background: var(--bg); }
.area-chip { display: inline-flex; gap: 8px; align-items: center; background: color-mix(in oklab, var(--gold) 25%, transparent); border-radius: 999px; padding: 3px 6px 3px 12px; font-size: 13px; font-weight: 600; }
.search-field { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 6px; width: 100%; }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 4px 6px; outline: none; font: inherit; color: inherit; }
.search-field:focus-within { border-color: var(--gold); }
.loc-badge { display: inline-flex; align-items: center; gap: 6px; flex: none; max-width: 55%; background: var(--navy); color: #fff; border-radius: 999px; padding: 4px 6px 4px 11px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-badge button { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 20px; height: 20px; border-radius: 999px; cursor: pointer; font-size: 11px; line-height: 1; flex: none; }
.loc-badge button:hover { background: var(--gold); color: var(--navy); }
.map-search .search-field { background: var(--bg); border: 0; }
.loc-chip { background: color-mix(in oklab, var(--navy) 12%, transparent); }
.area-chip a { text-decoration: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 999px; background: var(--surface); }
/* kreslenie oblasti na mape */
.draw-bar { position: absolute; z-index: 4; left: 12px; bottom: 34px; display: flex; flex-wrap: wrap; gap: 6px; max-width: calc(100% - 24px); }
.offices-split .draw-bar { bottom: 34px; }
.draw-bar button { background: var(--surface); color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: 13px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.draw-bar button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.draw-bar button.go { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.search-here { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); top: 12px; background: var(--navy); color: #fff; border: 2px solid var(--gold); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 13.5px; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.offices-split .search-here { top: 74px; }
.draw-hint { position: absolute; z-index: 4; left: 50%; transform: translateX(-50%); top: 70px; background: var(--navy); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; box-shadow: 0 6px 16px rgba(0,0,0,.25); max-width: calc(100% - 24px); text-align: center; }
.mp-popup .maplibregl-popup-content { padding: 0; border-radius: 14px; overflow: hidden; background: var(--surface); color: var(--fg); box-shadow: 0 16px 36px rgba(15,36,64,.28); }
.mp-popup .maplibregl-popup-tip { border-top-color: var(--surface); border-bottom-color: var(--surface); }
.mp-popup .maplibregl-popup-close-button { width: 26px; height: 26px; top: 6px; right: 6px; border-radius: 999px; background: rgba(15,36,64,.6); color: #fff; font-size: 16px; line-height: 1; z-index: 2; }
.mp-card { display: block; width: 260px; color: inherit; text-decoration: none; }
.mp-card img { display: block; width: 100%; height: 150px; object-fit: cover; background: var(--surface-2, #e8e4da); }
.mp-body { padding: 10px 12px 12px; display: grid; gap: 3px; }
.mp-price { font-weight: 800; font-size: 17px; }
.mp-price small { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.mp-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.mp-meta { color: var(--muted); font-size: 13px; }
.mp-go { margin-top: 4px; font-weight: 700; font-size: 13.5px; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.mp-card:hover .mp-go { color: var(--gold); }
.mp-loading { padding: 16px 18px; font-size: 14px; }
.drawing .maplibregl-canvas { cursor: crosshair; }
/* tmavý režim: svetlá mapa mierne stmavená, nie negatív */
:root[data-theme="dark"] .maplibregl-canvas { filter: brightness(.78) contrast(1.05) saturate(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .maplibregl-canvas { filter: brightness(.78) contrast(1.05) saturate(.9); } }
.drawing .pin { pointer-events: none; opacity: .6; }
.pin { text-decoration: none; background: var(--navy); color: #fff; border: 2px solid #fff; border-radius: 999px; padding: 2px 8px; font: 700 12px var(--font-body); white-space: nowrap; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.pin.hot { background: var(--gold); color: var(--navy); }

.off-list { display: grid; gap: 12px; }
.office.hot { border-color: var(--gold); }
.office { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-decoration: none; }
.office:hover { border-color: var(--gold); }
.mono { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font: 800 18px var(--font-display); color: var(--gold); background: var(--navy-2); }
.office h2, .office h3 { font-size: 17px; margin: 0; } .office .meta { color: var(--muted); font-size: 13.5px; }

.detail { padding-block: 18px 48px; }
.result-nav { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; font-size: 14px; }
.result-nav[hidden] { display: none; }
.result-nav a, .result-nav span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: inherit; text-decoration: none; white-space: nowrap; }
.result-nav a:hover { border-color: var(--gold); }
.result-nav .rn-back { flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.result-nav .off { opacity: .4; }
.oh-filter { margin: 12px 0 4px; max-width: 320px; }
.oh-day .sec-head .muted { font-size: 14px; }
.mg-vs { margin: 10px 0 0; font-size: 14px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 420px; border-radius: var(--r); overflow: hidden; }
.gal .g { background: var(--surface-2); min-height: 0; display: block; }
.gal .g img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal .g:first-child { grid-row: 1 / 3; }
.gal-wrap { position: relative; }
.gal .g { cursor: zoom-in; }
.gal [data-mobile-only] { display: none; }
.gal-wrap .more { position: absolute; right: 12px; bottom: 12px; background: rgba(15,36,64,.88); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; cursor: pointer; }
.gal-count { display: none; }

/* galéria na celú obrazovku */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #08121f; color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(0,0,0,.85); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 100%); }
.lb > * { min-width: 0; }
.lb-top { display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); }
.lb-count { font-weight: 700; min-width: 4.5em; }
.lb-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .75; font-size: 14px; }
.lb-close { width: 42px; height: 42px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; cursor: pointer; }
.lb-track { transition: transform .15s ease-out, opacity .15s; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; display: grid; place-items: center; padding: 0 max(8px, env(safe-area-inset-left)); }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; touch-action: pan-x pan-y; cursor: zoom-in; will-change: transform; }
.lb.zoomed .lb-track { overflow: hidden; scroll-snap-type: none; }
.lb.zoomed .lb-slide img { touch-action: none; cursor: grab; }
.lb.zoomed .lb-thumbs, .lb.zoomed .lb-nav { opacity: .25; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.lb-nav:hover { background: var(--gold); color: var(--navy); }
.lb-nav.prev { left: max(16px, env(safe-area-inset-left)); } .lb-nav.next { right: max(16px, env(safe-area-inset-right)); }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 10px max(16px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom)); scrollbar-width: none; }
.lb-thumbs button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #1a2638; cursor: pointer; opacity: .6; }
.lb-thumbs button.on { border-color: var(--gold); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.d-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 22px; }
.d-grid h1 { font-size: clamp(24px, 3vw, 34px); }
.d-price { font: 800 30px/1.1 var(--font-display); margin: 8px 0; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.kv div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kv span { display: block; font-size: 12px; color: var(--muted); }
.amenities { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: -6px 0 18px; }
.amenities li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 11px; font-size: 13px; }
.desc { max-width: 70ch; }
.minimap { height: 240px; position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); margin-top: 16px; }
.minimap.listings-map { height: 360px; }
.broker { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: sticky; top: 90px; display: grid; gap: 12px; align-self: start; }
.who { display: flex; gap: 12px; align-items: center; }
.brokers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 8px; }
.broker-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.broker-info { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.broker-info b { font-size: 15.5px; }
.broker-info a { text-decoration: none; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 0; }
.broker-info a:hover { color: var(--fg); }
.avatar.photo { object-fit: cover; border: 2px solid var(--gold); padding: 0; background: var(--surface-2); }
.preview-tag { display: inline-block; justify-self: start; margin-top: 3px; font-size: 11px; font-weight: 700; color: #8a5a00; background: color-mix(in oklab, var(--gold) 22%, transparent); border-radius: 999px; padding: 1px 8px; }
.avatar { width: 52px; height: 52px; border-radius: 999px; background: var(--navy-2); color: var(--gold); display: grid; place-items: center; font: 800 17px var(--font-display); flex: none; }
.broker form, .sell-request { display: grid; gap: 8px; }
.broker input:not([type=checkbox]), .broker textarea, .sell-request input:not([type=checkbox]), .sell-request textarea, .review-form input:not([type=checkbox]):not([type=radio]), .review-form textarea { border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 9px 11px; width: 100%; }
.contact-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.contact-row .ci { width: 22px; flex: none; text-align: center; }
.contact-row a { text-decoration: none; }
.contact-row .link { text-decoration: underline; font-size: 13.5px; }
.consent { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.trust { font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.sent { background: color-mix(in oklab, var(--ok) 14%, transparent); border-radius: 10px; padding: 10px; font-size: 13.5px; }
.err { color: var(--err); font-size: 13px; }
.foot { border-top: 1px solid var(--line); padding-block: 36px 20px; color: var(--muted); font-size: 13px; background: var(--surface); margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 32px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-brand .brand { color: var(--fg); }
.foot-brand p { margin: 0; line-height: 1.55; max-width: 30em; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-col b { color: var(--fg); font-size: 13.5px; margin-bottom: 2px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: var(--fg); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; }
.preview-lock { display: flex; align-items: center; gap: 10px; flex-basis: 100%; justify-content: center; }
.preview-lock .btn-line { padding: 4px 12px; font-size: .85rem; }
@media (max-width: 560px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand, .foot-regions { grid-column: 1 / -1; } .foot-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } .foot-regions b { grid-column: 1 / -1; } }
.preview-body { min-height: 100vh; display: grid; place-items: center; background: var(--head-bg); color: var(--head-fg); }
.preview { max-width: 720px; text-align: center; display: grid; gap: 14px; justify-items: center; padding-block: 40px; }
.preview h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.05; font-weight: 800; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 100%; text-align: left; margin-top: 8px; }
.tile { display: grid; gap: 2px; padding: 16px 18px; border-radius: var(--r); text-decoration: none; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); transition: border-color .15s, background .15s; }
.tile:hover { border-color: var(--gold); background: rgba(214,166,77,.12); }
.tile b { font: 700 17px var(--font-display); }
.tile span { font-size: 13.5px; opacity: .75; }
.tile.main { grid-column: 1 / -1; background: var(--gold); color: var(--navy); border-color: var(--gold); }
.tile.main:hover { background: var(--gold-strong); }
.tile.main span { opacity: .85; }
.members .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.members .tile { border-color: var(--line); background: var(--surface); color: var(--fg); }
.members .tile:hover { background: var(--surface); }
.members .tile.main, .members .tile.main:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.members .tile.main { grid-column: span 1; }
.preview-gate { margin-top: 14px; max-width: 460px; }
.preview-gate > summary { cursor: pointer; font-size: 12.5px; opacity: .7; list-style: none; }
.preview-gate .preview-form { margin-top: 0; }
.preview-gate .preview-form label { color: var(--muted); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-line.light { color: var(--head-fg); border-color: rgba(255,255,255,.3); padding: 9px 16px; }
.hero-crest { display: grid; place-items: center; }
.hero-crest img { width: min(220px, 60vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
.preview-gate > summary::-webkit-details-marker { display: none; }
.preview-gate[open] > summary { opacity: .9; margin-bottom: 8px; }
.preview h1 em { font-style: normal; color: var(--gold); }
.preview .lead { margin: 0; }
.preview-form { width: 100%; max-width: 420px; display: grid; gap: 8px; text-align: left; font-weight: 600; font-size: 14px; margin-top: 10px; }
.preview-form .sel { color: var(--fg); }
.preview .muted { color: var(--head-fg); opacity: .65; }
.preview a { color: var(--gold); }
.member-hero .inner { grid-template-columns: minmax(0, 1fr) auto; padding-block: 40px 44px; }
.member-hero h1 { font-size: clamp(30px, 4.4vw, 48px); }
.member-tabs { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.member-tabs a { color: var(--head-fg); }
.member-tabs a.on { background: var(--gold); color: var(--navy); }
.btn-gold.big { padding: 13px 22px; font-size: 16px; }
.member-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-block: 28px 20px; align-items: start; }
.prose { max-width: 75ch; }
.prose h2 { font-size: 24px; margin: 30px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 12px; }
.prose ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.prose ul li { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 0 0 12px 12px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.prose ul li strong { display: block; color: var(--fg); font-size: 15px; margin-bottom: 2px; }
.prose ol { list-style: none; counter-reset: step; padding: 0; margin: 0 0 12px; }
.prose ol li { counter-increment: step; position: relative; padding: 2px 0 16px 50px; color: var(--muted); }
.prose ol li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
.prose ol li strong { color: var(--fg); }
.member-side { display: grid; gap: 16px; position: sticky; top: 84px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 10px; }
.side-card h2 { font-size: 18px; margin: 0; }
.side-card p { margin: 0; }
.side-card.gold { background: color-mix(in oklab, var(--gold) 14%, var(--surface)); border-color: color-mix(in oklab, var(--gold) 40%, var(--line)); }
.side-card .btn-gold { justify-self: start; }
.docs { display: grid; gap: 8px; }
.docs a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-size: 14px; }
.docs a:hover { border-color: var(--gold); }
.docs small { color: var(--muted); white-space: nowrap; }
@media (max-width: 960px) { .member-hero .inner, .member-grid { grid-template-columns: minmax(0, 1fr); } .member-side { position: static; } }
.api-error { max-width: 560px; margin: 80px auto; text-align: center; display: grid; gap: 12px; }

@media (max-width: 960px) {
  .nav, .top-actions > .btn-gold { display: none; }
  .mmenu { display: block; }
  .top { position: sticky; }
  .hero .inner { grid-template-columns: minmax(0, 1fr); }
  .stats, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why { grid-template-columns: minmax(0, 1fr); }
  .split { display: block; height: auto; }
  .split .cards { grid-template-columns: minmax(0, 1fr); }
  .mapcol { display: none; }
  .mob-map .listcol { display: none; }
  .mob-map .mapcol { display: block; position: fixed; inset: 64px 0 0 0; z-index: 35; }
  .mapfab { display: inline-flex; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 44; background: var(--navy); color: #fff; border: 2px solid var(--gold); border-radius: 999px; padding: 10px 18px; font-weight: 700; }
  .view-seg { display: none; }
  .picker-panel { grid-template-columns: minmax(0, 1fr); position: fixed; left: 16px; right: 16px; top: 130px; width: auto; }
  .rowcard { grid-template-columns: minmax(0, 1fr); }
  .rowcard .rt { padding: 0 14px 14px; justify-items: start; }
  .rowcard .mid { padding: 0 14px; }
  /* mobil: fotky vedľa seba, posúvanie swipom, klik otvorí galériu */
  .gal { display: flex; height: 280px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 0; border-radius: var(--r); }
  .gal::-webkit-scrollbar { display: none; }
  .gal .g, .gal [data-mobile-only] { display: block; flex: 0 0 100%; scroll-snap-align: center; }
  .gal-wrap .more { display: none; }
  .gal-count { display: block; position: absolute; right: 10px; bottom: 10px; background: rgba(15,36,64,.85); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; pointer-events: none; }
  .lb-nav { display: none; }
  .lb-thumbs button { width: 60px; height: 44px; }
  .d-grid { grid-template-columns: minmax(0, 1fr); }
  .broker { position: static; }
  .kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .tiles, .members .tiles { grid-template-columns: minmax(0, 1fr); } .cards, .stats { grid-template-columns: minmax(0, 1fr); } .brand small, .filters .opt { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* profil makléra */
.broker-name { font-weight: 700; font-size: 15.5px; color: var(--fg) !important; text-decoration: none; }
.broker-name:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.broker-hero { display: flex; gap: 22px; align-items: center; margin: 6px 0 22px; }
.broker-hero h1 { margin: 6px 0 4px; }
.broker-hero .offices a { color: var(--fg); }
@media (max-width: 640px) { .broker-hero { flex-direction: column; align-items: flex-start; } }

.h2-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.h2-row .link { font-size: 14px; font-weight: 600; }
.area-chip a.chip-link { width: auto; height: auto; display: inline; background: none; border-radius: 0; color: inherit; text-decoration: underline; text-decoration-color: var(--gold); }

/* pás „hľadáte v ponukách makléra / kancelárie“ – nad filtrami, jemná modrá */
.owner-banner { background: color-mix(in oklab, #3b6fb6 14%, var(--bg)); color: var(--fg); border-bottom: 1px solid color-mix(in oklab, #3b6fb6 30%, var(--bg)); }
.owner-banner .inner { display: flex; align-items: center; gap: 14px; padding-block: 12px; flex-wrap: wrap; }
.owner-banner .ob-text { display: grid; line-height: 1.25; min-width: 0; flex: 1 1 0; }
.owner-banner .ob-kicker { color: color-mix(in oklab, #3b6fb6 75%, var(--fg)); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.owner-banner b { font: 800 20px var(--font-display); }
.owner-banner .ob-sub { color: var(--muted); font-size: 14px; }
.owner-banner .ob-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.owner-banner .btn-line { background: var(--surface); }
@media (max-width: 640px) { .owner-banner .ob-actions { margin-left: 0; width: 100%; } }


/* obľúbené (♥) a zdieľanie */
.card .ph { position: relative; }
.fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: #9aa3af; display: grid; place-items: center; cursor: pointer; font-size: 18px; box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 2; }
.fav:hover { color: #e11d48; }
.fav[aria-pressed="true"] { color: #e11d48; }
.fav-big { position: static; width: auto; height: auto; padding: 7px 14px; gap: 6px; display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); box-shadow: none; font-size: 15px; font-weight: 600; color: var(--fg); }
.fav-big .heart { color: #9aa3af; }
.fav-big[aria-pressed="true"] .heart { color: #e11d48; }
.d-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 10px 0 18px; }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share .btn-line { font-size: 14px; color: var(--fg); background: var(--surface); }
.fav-link { position: relative; text-decoration: none; color: var(--head-fg); display: grid; place-items: center; }
.fav-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.fav-count[hidden] { display: none; }

/* hypotekárna kalkulačka */
.price-watch { margin: 4px 0 14px; }
.d-history { margin: 0 0 10px; font-size: 13.5px; }
.d-history summary { cursor: pointer; color: var(--muted); width: max-content; }
.d-history ol { list-style: none; margin: 6px 0 0; padding: 0; max-width: 360px; }
.d-history li { display: grid; grid-template-columns: 1fr auto 72px; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.d-history li span { color: var(--muted); }
.d-history em { font-style: normal; text-align: right; color: var(--muted); font-size: 12.5px; }
.d-history em.down { color: #2f7d4f; }
:root[data-theme="dark"] .d-history em.down { color: #7fd1a0; }
.d-views { color: var(--muted); font-size: 13.5px; margin: 0 0 8px; }
.d-market { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin: 4px 0 8px; font-size: 14px; }
.d-market b { padding: 2px 10px; border-radius: 999px; font-size: 13px; }
.d-market span { color: var(--muted); }
.d-market.low b { background: color-mix(in oklab, #2f7d4f 18%, transparent); color: #1f6b40; }
.d-market.high b { background: color-mix(in oklab, var(--gold) 22%, transparent); }
.d-market.eq b { background: color-mix(in oklab, var(--navy) 10%, transparent); }
:root[data-theme="dark"] .d-market.low b { color: #7fd1a0; }
.nearby { margin-top: 20px; }
.nb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.nb-item { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.nb-item > div { display: grid; gap: 1px; min-width: 0; }
.nb-item b { font-size: 14px; }
.nb-item span:not(.nb-ic) { overflow: hidden; text-overflow: ellipsis; }
.nb-item small { color: var(--muted); font-size: 12.5px; }
.nb-item.none { opacity: .72; }
.nb-ic { font-size: 20px; line-height: 1.2; flex: none; }
.nb-note { font-size: 12.5px; margin-top: 8px; }
.viewing { border: 0; padding: 0; margin: 2px 0 4px; min-width: 0; }
.viewing legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 6px; }
.viewing legend small { color: var(--muted); font-weight: 400; }
.vw-note { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.vw-days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.vw-day { flex: none; cursor: pointer; position: relative; }
/* skrytý input sa drží svojho štítka – inak uteká z rolovaného radu dní a rozťahuje stránku na mobile */
.vw-time label { position: relative; }
.vw-day input, .vw-time input { position: absolute; opacity: 0; pointer-events: none; }
.vw-day span { display: grid; place-items: center; min-width: 52px; padding: 5px 6px; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; background: var(--bg); line-height: 1.2; }
.vw-day span small { font-weight: 500; color: var(--muted); font-size: 11.5px; }
.vw-day.we span small { color: #b45309; }
.vw-day input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.vw-day input:checked + span small { color: rgba(255,255,255,.8); }
.vw-day input:focus-visible + span, .vw-time input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 1px; }
.vw-time { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.vw-time span { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; background: var(--bg); }
.vw-time input:checked + span { border-color: var(--gold); background: color-mix(in oklab, var(--gold) 18%, var(--bg)); font-weight: 600; }
.sentence-result { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; margin: -4px 0 10px; font-size: 13px; color: var(--muted); }
.sentence-result > div { flex-basis: 100%; font-size: 12.5px; }
.sentence-result.err { color: #b42318; }
.sr-chip { color: var(--fg); font-weight: 600; }
.sr-chip + .sr-chip::before { content: "· "; color: var(--muted); font-weight: 400; }
.searchbox .search-row[data-sentence-row] .sel { flex: 1 1 260px; }
.deal-tabs a.on { background: var(--navy); color: #fff; }
.search-row[hidden] { display: none; }
.searchbox.sentence-on .deal-tabs input:checked + span { background: none; color: var(--muted); }
@media (max-width: 600px) { .sentence .btn-line { padding-inline: 12px; } .sentence input::placeholder { font-size: 13px; } }
.area-market { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; margin: 2px 0 12px; font-size: 14px; }
.am-item { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.am-item small { color: var(--muted); }
.gal-media { position: absolute; left: 16px; bottom: 16px; z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; }
.gal-media .more { position: static; display: inline-flex; align-items: center; gap: 6px; }
.ph-media-btn { position: absolute; top: 42px; left: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: var(--navy, #0f2440); display: grid; place-items: center; cursor: pointer; font-size: 12.5px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.ph-media-btn.video { font-size: 13px; }
.ph-media-btn.second { left: 52px; }
.ph-media-btn:hover { background: var(--gold); }
.mm { position: fixed; inset: 0; z-index: 2000; background: rgba(6,14,26,.94); display: grid; place-items: center; }
.mm[hidden] { display: none; }
.mm-close { position: absolute; top: max(12px, env(safe-area-inset-top)); left: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 20px; cursor: pointer; }
.mm-close:hover { background: var(--gold); color: var(--navy); }
.mm-frame { position: relative; background: #000; overflow: hidden; }
.mm-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mm-frame.full { width: 100vw; height: 100dvh; }
.mm-frame.landscape { width: min(96vw, calc(88dvh * 16 / 9)); aspect-ratio: 16 / 9; border-radius: 14px; }
.mm-frame.portrait { height: min(88dvh, calc(92vw * 16 / 9)); aspect-ratio: 9 / 16; border-radius: 14px; }
body.mm-open { overflow: hidden; }
.my-note { margin-top: 10px; font-size: 14px; }
.my-note summary { cursor: pointer; font-weight: 600; padding: 3px 0; }
.my-note textarea { display: block; width: 100%; box-sizing: border-box; margin: 8px 0 4px; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--fg); resize: vertical; }
.my-note small { font-size: 12px; }
.card-note { margin-top: 6px; font-size: 12.5px; background: color-mix(in oklab, var(--gold) 14%, transparent); border-radius: 8px; padding: 5px 8px; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rent-est { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px 12px; margin: 20px 0 0; }
.rent-est h2 { font-size: 19px; margin: 12px 0 8px; }
.rent-est .re-row { display: flex; flex-wrap: wrap; gap: 10px 32px; }
.rent-est .re-row div { display: grid; gap: 2px; }
.rent-est .re-row span { font-size: 12.5px; }
.rent-est .re-row b { font-size: 20px; }
.rent-est p { font-size: 12.5px; margin: 10px 0 0; }
.response-time { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.report { border-top: 1px solid var(--line); padding-top: 8px; font-size: 13px; }
.report summary { cursor: pointer; color: var(--muted); }
.report[open] summary { margin-bottom: 8px; }
.report fieldset { border: 0; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.report .rp-opt, .broker .report .rp-opt { display: flex; gap: 8px; align-items: flex-start; justify-content: flex-start; text-align: left; cursor: pointer; margin: 0; font-weight: 400; }
.report .rp-opt input, .broker .report .rp-opt input { width: auto; flex: none; margin: 2px 0 0; padding: 0; }
.report .rp-field { display: grid; gap: 4px; margin: 8px 0; }
.report textarea, .report input[type=email] { width: 100%; box-sizing: border-box; font: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--fg); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mortgage { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px 14px; margin: 20px 0; }
.mortgage summary { cursor: pointer; list-style: none; }
.mortgage summary::-webkit-details-marker { display: none; }
.mortgage summary h2 { display: inline-block; margin: 12px 0 6px; font-size: 19px; }
.mortgage summary::after { content: "▾"; float: right; margin-top: 16px; color: var(--muted); }
.mortgage:not([open]) summary::after { content: "▸"; }
.mg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mg-grid label { display: grid; gap: 4px; align-content: end; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mg-grid input { border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 15px; background: var(--bg); color: var(--fg); min-width: 0; }
.mg-result { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mg-result div { background: var(--bg); border-radius: 10px; padding: 10px 12px; display: grid; }
.mg-result span { font-size: 12.5px; color: var(--muted); }
.mg-result b { font-size: 20px; }
.mg-result div:first-child { box-shadow: inset 3px 0 0 var(--gold); }
.mg-note { font-size: 12px; margin: 10px 0 0; }
.fresh { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.fresh a { color: inherit; text-decoration: none; } .fresh a:hover { text-decoration: underline; } .fresh b { color: var(--fg); }
.trends { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 8px; }
.trend { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px 6px; }
.trend figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14px; }
.trend .chg { font-size: 12.5px; color: var(--muted); }
.trend .chg.up { color: #dc2626; } .trend .chg.down { color: #16a34a; }
.trend svg { width: 100%; height: auto; display: block; overflow: visible; }
.tr-base { stroke: var(--line); stroke-width: 1; }
.tr-line { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.tr-pt circle { fill: var(--gold); stroke: var(--surface); stroke-width: 2; }
.tr-pt .tr-hit { fill: transparent; stroke: none; }
.tr-pt:hover circle:first-child { r: 6; }
.tr-lbl { font-size: 11px; fill: var(--muted); }
.mg-afford { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 4px; }
.mg-afford h3 { font-size: 16px; margin: 10px 0 8px; }
.mg-grid-2, .mg-result-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mg-afford .btn-gold { display: inline-block; margin-top: 12px; text-decoration: none; }
@media (max-width: 640px) { .mg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mg-result { grid-template-columns: minmax(0, 1fr); } }

/* tlač detailu ponuky */
/* tlač detailu ponuky (Vytlačiť / PDF): hlavička s QR, 3 fotky, parametre v 2 stĺpcoch, okolie skrátene, kontakt */
.print-head { display: none; }
@media print {
  @page { margin: 12mm; }
  .top, .foot, .filters, .owner-banner, .mmenu, .d-actions, .gal-wrap .more, .gal-count, .gal-media, .broker form, .broker .link, .broker .trust, .report, .rent-est, .my-note, .result-nav, .map-links, .section, .mortgage, .minimap, .crumbs, .lb, .mapfab, .price-watch, .d-views, .embeds, .embeds + h2, .alert-box, .contact-bar, .mm, .ph-nav { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 10.5pt; }
  .print-head { display: flex !important; align-items: center; gap: 12px; border-bottom: 2px solid #0f2440; padding-bottom: 8px; margin-bottom: 10px; }
  .print-head div:not(.print-qr) { display: grid; gap: 1px; flex: 1; }
  .print-head b { font-size: 12pt; } .print-head span, .print-head small { color: #444; font-size: 9pt; }
  .print-qr svg { width: 26mm; height: 26mm; display: block; }
  .d-grid { display: block !important; }
  .gal { display: grid !important; grid-template-columns: 2fr 1fr; grid-template-rows: 32mm 32mm; gap: 3mm; overflow: visible !important; }
  .gal .g { display: block !important; }
  .gal .g:nth-child(1) { grid-row: span 2; }
  .gal .g:nth-child(n+4), .gal .g[data-mobile-only] { display: none !important; }
  .gal .g img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
  .kv { display: grid !important; grid-template-columns: 1fr 1fr 1fr; gap: 0 14px; margin: 6px 0 !important; }
  .kv > div { border: 0 !important; border-bottom: 1px solid #ddd !important; border-radius: 0 !important; padding: 3px 0 !important; background: none !important; display: flex !important; justify-content: space-between; gap: 8px; font-size: 9.5pt; }
  .kv > div span { color: #555; }
  h1 { font-size: 15pt !important; line-height: 1.2 !important; margin: 6px 0 2px !important; }
  .d-price { font-size: 16pt !important; margin: 2px 0 !important; }
  .eyebrow { font-size: 8pt !important; }
  .amenities { font-size: 9pt; columns: 3; margin: 4px 0 !important; }
  .d-market { font-size: 9pt !important; margin: 2px 0 6px !important; }
  .nearby { display: block !important; break-inside: avoid; }
  .nb-grid { grid-template-columns: repeat(4, 1fr) !important; gap: 4px !important; }
  .nb-item { padding: 4px 6px !important; font-size: 8.5pt !important; border-color: #ccc !important; }
  .nb-ic { font-size: 11pt !important; } .nb-note { display: none; }
  .desc { font-size: 10pt; }
  .broker { position: static !important; border: 1px solid #999 !important; margin-top: 12px; break-inside: avoid; }
  h2 { break-after: avoid; }
  a { color: #000 !important; text-decoration: none !important; }
}

/* 3D prehliadka / video – iframe po kliknutí */
.embeds { display: grid; gap: 12px; margin-bottom: 18px; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-play { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: #f4efe2; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 6px; font: inherit; }
.embed-icon { width: 64px; height: 64px; border-radius: 999px; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.embed-play b { font: 800 20px var(--font-display); }
.embed-play small { opacity: .75; }
.embed-play:hover .embed-icon { background: var(--gold-strong); }
/* náhľad 3D prehliadky / videa (Matterport, YouTube) pod tlačidlom */
.embed-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.embed.has-thumb .embed-play { background: linear-gradient(180deg, rgba(8, 21, 42, .15), rgba(8, 21, 42, .7)); text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.embed.has-thumb:hover .embed-thumb { transform: scale(1.03); }
.desc a { word-break: break-all; }

/* prístupnosť: preskočenie na obsah (viditeľné po Tab) */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 0; }
main:focus { outline: none; }

/* ďalšie filtre */
.mf-panel { width: min(420px, calc(100vw - 32px)); right: 0; left: auto; }
.mf-panel label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mf-panel .sel { width: 100%; }
.mf-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }


.ph-tags { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; line-height: 1.3; }
.tag-new { background: var(--gold); color: var(--navy); }
.tag-oh { background: #166534; color: #fff; }
.d-oh { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: color-mix(in oklab, #16a34a 12%, var(--surface)); border: 1px solid color-mix(in oklab, #16a34a 35%, var(--line)); font-size: 14px; }
.d-oh ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; }
.d-oh li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.d-oh .btn-line { padding: 5px 14px; }
.d-oh .oh-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-seen { position: absolute; right: 10px; bottom: 10px; background: rgb(15 36 64 / .78); color: #fff; font-weight: 600; }
.card.seen .t { color: var(--muted); }
/* energetická trieda – farby stupnice EÚ */
.energy { display: inline-block; min-width: 2.2em; padding: 1px 8px; border-radius: 4px 12px 12px 4px; color: #fff; font-weight: 800; text-align: center; }
.energy.e-A0 { background: #00843d; } .energy.e-A1, .energy.e-A { background: #4caf3f; } .energy.e-B { background: #a6c934; }
.energy.e-C { background: #ffde00; color: #142033; } .energy.e-D { background: #fdb913; color: #142033; } .energy.e-E { background: #f37021; }
.energy.e-F { background: #ed1c24; } .energy.e-G { background: #b11f24; }
.kv span.energy { display: inline-block; width: auto; margin: 0; font-size: 15px; color: #fff; }
.kv span.energy.e-C, .kv span.energy.e-D { color: #142033; }
.tag-drop { background: #c2410c; color: #fff; }
.tag-below { background: #0f766e; color: #fff; }
.card .loc .dist { color: var(--fg); font-weight: 600; }
.d-drop { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: -4px 0 10px; }
.d-drop s { color: var(--muted); }
.mf-check { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; grid-column: 1 / -1; font-weight: 600; }
:root[data-theme="dark"] .preview-tag { color: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .preview-tag { color: var(--gold); } }

.near-me { white-space: nowrap; background: var(--surface); color: var(--fg); font-size: 14px; }
.near-me[aria-busy="true"] { opacity: .6; }
@media (max-width: 560px) { .filters .near-me { order: 5; } }
/* upozornenie na nové ponuky */
.alert-box { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 0 0 14px; }
.alert-box summary { cursor: pointer; padding: 10px 14px; font-weight: 600; font-size: 14.5px; list-style: none; }
.alert-box summary::-webkit-details-marker { display: none; }
.alert-box form, .alert-box .ok { display: grid; gap: 8px; padding: 0 14px 12px; margin: 0; }
.alert-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-start; }
.alert-row .field { flex: 1 1 220px; min-width: 0; }
.alert-row input { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.alert-box .small { font-size: 12.5px; margin: 0; }
.alert-page { padding-block: 48px; max-width: 720px; }
.alert-label { font-weight: 700; font-size: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.alert-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.alert-actions form { margin: 0; }
/* overenie formulárov (data-validate) */
.field { display: grid; gap: 4px; }
.field-err { color: var(--err); font-size: 13px; line-height: 1.35; display: flex; gap: 6px; align-items: baseline; }
.field-err::before { content: "!"; flex: none; width: 15px; height: 15px; border-radius: 999px; background: var(--err); color: var(--bg); font: 700 11px/15px var(--font-body, sans-serif); text-align: center; transform: translateY(2px); }
.field-err[hidden] { display: none; }
.field.invalid input:not([type=checkbox]), .field.invalid textarea { border-color: var(--err) !important; box-shadow: 0 0 0 3px color-mix(in oklab, var(--err) 15%, transparent); }
.field.valid input:not([type=checkbox]), .field.valid textarea { border-color: color-mix(in oklab, var(--ok) 60%, var(--line)) !important; }
.field.invalid .consent { color: var(--err); }
.field-hint { font-size: 13px; color: var(--muted); }
.preview-form .search-row { align-items: flex-start; }
.preview-form .search-row .field { flex: 1; min-width: 0; }
.preview-form .search-row .field input { width: 100%; }
.field-hint button { background: none; border: 0; padding: 0; color: var(--fg); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
button[aria-busy=true] { opacity: .7; cursor: progress; }
/* porovnanie ponúk */
.cmp { position: absolute; top: 52px; right: 10px; width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(255,255,255,.92); color: #6b7280; display: grid; place-items: center; cursor: pointer; font-size: 17px; font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.15); z-index: 2; }
.cmp:hover { color: var(--navy, #0f2440); }
.cmp[aria-pressed="true"] { background: var(--gold); color: #0f2440; }
.cmp-big { position: static; width: auto; height: auto; padding: 7px 14px; gap: 6px; display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); box-shadow: none; font-size: 15px; font-weight: 600; color: var(--fg); }
.cmp-big[aria-pressed="true"] { border-color: var(--gold); }
.cmp-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: 0 8px 28px rgba(15,36,64,.18); font-size: 14.5px; max-width: calc(100vw - 24px); }
.cmp-bar[hidden] { display: none; }
.cmp-bar .btn-line { padding: 8px 14px; }
.cmp-scroll { overflow-x: auto; margin-top: 16px; -webkit-overflow-scrolling: touch; }
.cmp-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: min(100%, calc(140px + var(--cols) * 280px)); min-width: calc(140px + var(--cols) * 190px); font-size: 14.5px; }
.cmp-table th, .cmp-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp-table tbody th { color: var(--muted); font-weight: 500; width: 140px; position: sticky; left: 0; background: var(--bg); }
.cmp-table thead th { font-weight: 600; }
.cmp-table thead th[scope=row] { position: sticky; left: 0; background: var(--bg); }
.cmp-table td.best { font-weight: 800; color: var(--ok); }
.cmp-table td.best::after { content: " ✓"; }
.cmp-ph { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--surface-2); margin-bottom: 8px; }
.cmp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--fg); text-decoration: none; line-height: 1.3; margin-bottom: 4px; }
.cmp-remove { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; }
@media print { .cmp, .cmp-bar { display: none !important; } }
.cmp-toast { position: fixed; left: 50%; bottom: 76px; transform: translate(-50%, 10px); background: var(--navy, #0f2440); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 41; max-width: calc(100vw - 24px); text-align: center; }
.cmp-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 960px) {
  body:has(.mapfab) .cmp-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
  body:has(.mapfab) .cmp-toast { bottom: calc(136px + env(safe-area-inset-bottom)); }
  .cmp-bar { gap: 8px; padding-left: 14px; font-size: 13.5px; }
  .cmp-bar .muted, .cmp-bar .cmp-in { display: none; }
}
.cmp-txt { white-space: nowrap; }
/* rýchle správy v dopyte, lišta kontaktu na telefóne */
.quick-msg { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--bg); color: var(--fg); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--gold); background: color-mix(in oklab, var(--gold) 16%, var(--bg)); }
.contact-bar { display: none; }
@media (max-width: 960px) {
  .contact-bar { display: flex; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(15,36,64,.10); transition: transform .2s; }
  .contact-bar.off { transform: translateY(110%); }
  .contact-bar .cb-price { font-weight: 800; font-size: 16px; margin-right: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .contact-bar .btn-line, .contact-bar .btn-gold { padding: 10px 14px; white-space: nowrap; }
  body:has(.contact-bar) .foot { padding-bottom: 90px; }
  body:has(.contact-bar) .cmp-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media print { .contact-bar { display: none !important; } }

/* aktívne filtre a prázdny výsledok (zoznam ponúk) */
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.af-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--fg); font-size: 13px; text-decoration: none; }
.af-chip span { color: var(--muted); font-size: 11px; }
.af-chip:hover { border-color: var(--navy); }
.af-clear { font-size: 13px; margin-left: 4px; }
.empty-result { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 16px; }
.empty-result p { margin: 0 0 8px; }
.er-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.er-list a { font-weight: 600; color: var(--fg); }
.er-latest { font-size: 18px; margin: 8px 0 12px; }

/* naposledy hľadané (úvod) */
.recent-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; }
.recent-searches[hidden] { display: none; }
.rs-chip { padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--fg); text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rs-chip:hover { background: color-mix(in oklab, var(--gold) 25%, var(--surface-2)); }
.rs-clear { font-size: 12px; color: var(--muted); background: none; border: 0; cursor: pointer; }

.fav-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.fav-tools[hidden] { display: none; }

/* potvrdenie dopytu na detaile */
.lead-done { display: grid; gap: 6px; padding: 12px 14px; font-size: 14px; }
.ld-next { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.ld-next .btn-line, .ld-next .fav-big { padding: 6px 12px; font-size: 13.5px; }

/* našepkávač lokality – počet ponúk */
.loc-n { font-weight: 600; color: var(--fg); }
.loc-n.zero { font-weight: 400; color: var(--muted); }

/* SEO stránky lokalít – úvod s číslami a odkazmi na okresy */
.seo-intro { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 12px; font-size: 14px; }
.seo-intro p { margin: 0 0 6px; } .seo-intro p:last-child { margin: 0; }
.seo-links { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.seo-links a { color: var(--fg); font-weight: 600; text-decoration: none; }
.seo-links a:hover { text-decoration: underline; }

/* správa upozornení */
.am-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 8px; }
.am-row form { margin: 0; }
.am-main { display: grid; gap: 2px; min-width: 0; }
.am-kind { font-size: 12.5px; color: var(--muted); }
.am-label { font-weight: 700; color: var(--fg); text-decoration: none; }
.am-label:hover { text-decoration: underline; }
.am-meta { font-size: 12.5px; }
.seo-types a { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); }
.seo-types a.on { background: var(--navy); color: #fff; }
.seo-types a.on .muted { color: rgba(255,255,255,.75); }
/* tmavý režim: navy na tmavom pozadí nevidno – zvýraznený typ zlatý */
:root[data-theme="dark"] .seo-types a.on { background: var(--gold); color: var(--navy); }
:root[data-theme="dark"] .seo-types a.on .muted { color: rgba(15,36,64,.7); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seo-types a.on { background: var(--gold); color: var(--navy); } :root:not([data-theme="light"]) .seo-types a.on .muted { color: rgba(15,36,64,.7); } }
.seo-links.popular a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.off-regions { margin: 0 0 12px; font-size: 14px; }

/* ceny nehnuteľností */
.price-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 14px; }
.price-table th, .price-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.price-table th:first-child { text-align: left; }
.price-table thead th { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.price-table tr.sk th, .price-table tr.sk td { background: var(--surface-2); font-weight: 700; }
.price-table a { color: var(--fg); text-decoration: none; }
.price-table a:hover b { text-decoration: underline; }

/* veľkosť písma (A+ v hlavičke): zväčší celú stránku ako lupa prehliadača; mapy späť na 1 – inak by nesedel klik na pin */
html[data-fs="1"] body { zoom: 1.125; }
html[data-fs="2"] body { zoom: 1.25; }
/* mapy a hlavička ostávajú v pôvodnej veľkosti (hlavička by sa na mobile nezmestila, ovládanie je čitateľné aj tak) */
html[data-fs="1"] :is(.map, .minimap, .top) { zoom: calc(1 / 1.125); }
html[data-fs="2"] :is(.map, .minimap, .top) { zoom: .8; }
.fs-btn { font-weight: 800; font-size: 15px; letter-spacing: -.02em; }
.fs-btn span { font-size: 11px; vertical-align: super; }
.fs-btn.on { background: rgba(214,166,77,.25); border-color: var(--gold); }

/* adresár maklérov */
.broker-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.broker-search input { flex: 1 1 220px; }
.brokers-page .broker-info { display: grid; gap: 2px; min-width: 0; font-size: 14px; }
.brokers-page .broker-info a { text-decoration: none; }

/* úzke telefóny: logo + 4 tlačidlá (♥, A+, ◐, Menu) – menšie tlačidlá a medzery, nápis NARKS menší */
@media (max-width: 420px) {
  .top .inner { gap: 10px; }
  .top-actions { gap: 5px; }
  .top-actions .icon-btn { width: 34px; height: 34px; }
  .brand { gap: 7px; min-width: 0; }
  .brand img { width: 34px; height: 34px; }
  .brand b { font-size: 16px; }
}
@media (max-width: 350px) { .brand b { display: none; } }

/* predávam nehnuteľnosť */
.sell-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.sell-form label[hidden] { display: none; }
.sell-form label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); flex: 1 1 180px; }
.sell-office { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 8px; }
.sell-office > div { display: grid; gap: 2px; }
.sell-name { font-weight: 700; color: var(--fg); text-decoration: none; }
.sell-why { padding-left: 18px; line-height: 1.7; }
.sell-faq { border-bottom: 1px solid var(--line); padding: 10px 0; }
.sell-faq summary { cursor: pointer; font-weight: 600; }
.sell-faq p { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 560px) { .sell-office { flex-direction: column; align-items: flex-start; } }
.sell-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.sell-choice { background: var(--surface); border: 1px solid var(--gold); border-radius: 12px; padding: 16px 18px; }
.sell-choice h2 { margin-top: 0; }
.sell-request { max-width: 560px; }
.sell-request .btn-gold { justify-self: start; }
.contact-card { display: grid; gap: 4px; margin: 14px 0; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.contact-card a { color: var(--fg); text-decoration: none; }

/* mapa cien podľa krajov (Ceny nehnuteľností) – jeden odtieň, svetlý → tmavý; v tmavom režime vlastné kroky (tmavý → svetlý) */
.rmap { --rm-1: #eedaa6; --rm-2: #e0be72; --rm-3: #cc9d45; --rm-4: #a97a24; --rm-5: #76530f; --rm-none: #dfe2e8; --rm-halo: #fff; margin: 8px 0 28px; }
:root[data-theme="dark"] .rmap { --rm-1: #3b311c; --rm-2: #5f4a1f; --rm-3: #8d6b27; --rm-4: #c39436; --rm-5: #f0c96a; --rm-none: #1d3352; --rm-halo: #0b1a2e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rmap { --rm-1: #3b311c; --rm-2: #5f4a1f; --rm-3: #8d6b27; --rm-4: #c39436; --rm-5: #f0c96a; --rm-none: #1d3352; --rm-halo: #0b1a2e; } }
.rmap-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.rmap-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.rmap-tabs span { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; cursor: pointer; }
.rmap-tabs input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.rmap-tabs input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.rmap-fig { margin: 0; }
.rmap-fig[hidden] { display: none; }
.rmap svg { width: 100%; height: auto; display: block; }
.rmap path { stroke: var(--bg); stroke-width: 2; stroke-linejoin: round; transition: opacity .15s; }
.rmap a:hover path, .rmap a:focus-visible path { opacity: .8; stroke: var(--fg); }
.rmap .rm-1 { fill: var(--rm-1); } .rmap .rm-2 { fill: var(--rm-2); } .rmap .rm-3 { fill: var(--rm-3); } .rmap .rm-4 { fill: var(--rm-4); } .rmap .rm-5 { fill: var(--rm-5); }
.rmap .rm-none { fill: var(--rm-none); }
.rmap .rm-val { font: 700 15px/1 inherit; font-family: inherit; fill: var(--fg); text-anchor: middle; dominant-baseline: middle; paint-order: stroke; stroke: var(--rm-halo); stroke-width: 3.5px; stroke-linejoin: round; pointer-events: none; }
.rmap-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; margin-top: 8px; }
.rmap-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rmap-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.rmap-legend i.rm-1 { background: var(--rm-1); } .rmap-legend i.rm-2 { background: var(--rm-2); } .rmap-legend i.rm-3 { background: var(--rm-3); } .rmap-legend i.rm-4 { background: var(--rm-4); } .rmap-legend i.rm-5 { background: var(--rm-5); } .rmap-legend i.rm-none { background: var(--rm-none); }
@media (max-width: 600px) { .rmap .rm-val { font-size: 23px; stroke-width: 5px; } }
:root[data-theme="dark"] .rmap-tabs input:checked + span { background: var(--gold); border-color: var(--gold); color: #0b1a2e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rmap-tabs input:checked + span { background: var(--gold); border-color: var(--gold); color: #0b1a2e; } }

/* Obľúbené – aktuálny stav; naposledy hľadané – nové ponuky */
.fav-state { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.fav-state.down { color: #1f8a4c; }
.fav-state.up { color: var(--muted); }
.fav-state.gone { color: #b42318; }
.card.fav-gone .ph img { filter: grayscale(1); opacity: .6; }
:root[data-theme="dark"] .fav-state.down { color: #7fd1a0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fav-state.down { color: #7fd1a0; } }
.rs-new { font-size: 12px; font-weight: 700; color: #1f8a4c; }
:root[data-theme="dark"] .rs-new { color: #7fd1a0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rs-new { color: #7fd1a0; } }

/* Predávam – orientačný odhad ceny */
.sell-estimate { margin: 16px 0 4px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.sell-estimate h2 { margin: 0 0 6px; font-size: 18px; }
.se-range b { font-size: 28px; }
.se-parts { margin: 8px 0; padding-left: 18px; font-size: 14px; }
.se-missing { font-size: 14px; color: #b45309; margin: 4px 0; }
.sell-estimate .btn-gold { margin-top: 4px; }

/* Ďalšie filtre – vybavenie */
.mf-features { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; grid-column: 1 / -1; }
.mf-features legend { font-size: 13px; color: var(--muted); padding: 0; margin-bottom: 4px; }

/* detail – rozloženie €/m² podobných ponúk (bodový graf), odkazy pod mapou */
.d-spread { margin: 2px 0 10px; max-width: 460px; }
.d-spread svg { width: 100%; height: auto; display: block; }
.d-spread .sp-axis { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.d-spread .sp-dot { fill: var(--muted); opacity: .45; }
.d-spread .sp-median { stroke: var(--fg); stroke-width: 1.5; stroke-dasharray: 3 3; opacity: .7; }
.d-spread .sp-own { fill: var(--gold); stroke: var(--surface); stroke-width: 2.5; }
.d-spread .sp-lbl { font-size: 9px; fill: var(--muted); }
.d-spread figcaption { font-size: 12.5px; }
.sp-key { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; }
.sp-key.own { background: var(--gold); }
.sp-key.med { width: 2px; border-radius: 0; height: 11px; background: var(--fg); opacity: .7; }
.map-links { margin: 6px 0 14px; font-size: 14px; }

/* prístupnosť (axe-core, 27. 10.): kontrast zlatého nadpisu na svetlom pozadí, oranžová / červená v tmavom režime */
.detail .eyebrow { color: #8a6416; }
:root[data-theme="dark"] .detail .eyebrow { color: var(--gold); }
:root[data-theme="dark"] .vw-day.we span small { color: #fbbf24; }
:root[data-theme="dark"] .trend .chg.up { color: #f87171; }
:root[data-theme="dark"] .trend .chg.down { color: #4ade80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .detail .eyebrow { color: var(--gold); } :root:not([data-theme="light"]) .vw-day.we span small { color: #fbbf24; } :root:not([data-theme="light"]) .trend .chg.up { color: #f87171; } :root:not([data-theme="light"]) .trend .chg.down { color: #4ade80; } }

/* cena: poznámka a náklady (detail), poznámka na karte; frekvencia upozornení */
.d-costs { font-size: 14px; color: var(--muted); margin: -2px 0 8px; }
.d-costs b { color: var(--fg); }
.price .p-note { color: var(--fg); font-weight: 600; }
.alert-freq { border: 0; padding: 0; margin: 6px 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; font-size: 14px; }
.alert-freq legend { float: left; margin-right: 8px; color: var(--muted); padding: 0; }
.alert-freq label { display: inline-flex; gap: 6px; align-items: center; min-height: 24px; }
.am-freq { margin-top: 6px; font-size: 13.5px; }
.am-freq .sel { width: auto; display: inline-block; margin-left: 6px; padding-top: 4px; padding-bottom: 4px; }

/* dopyt – voľné termíny makléra */
.vw-slots { margin: 4px 0 10px; }
.vw-sub { font-size: 13px; font-weight: 600; margin: 8px 0 6px; }
.vw-sub small { font-weight: 400; color: var(--muted); }
.vw-slot-day { padding: 2px 0; }
.vw-slot-day[hidden] { display: none; }
.vw-slot-date { display: block; font-size: 13px; font-weight: 600; margin: 4px 0; }
.vw-slot-times { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 0 6px; }
/* kalendár 2 týždňov */
.vw-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 8px; max-width: 360px; }
.vw-cal[hidden] { display: none; }
.vw-cal-h { text-align: center; font-size: 11.5px; color: var(--muted); }
.vw-cal-d { display: grid; place-items: center; min-height: 40px; padding: 2px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); font: inherit; line-height: 1.1; cursor: default; }
.vw-cal-d b { font-size: 15px; font-weight: 600; }
.vw-cal-d small { font-size: 10px; }
.vw-cal-d.has { background: var(--surface); border-color: var(--line); color: var(--fg); cursor: pointer; }
.vw-cal-d.has:hover { border-color: var(--gold); }
.vw-cal-d.today b { text-decoration: underline; }
.vw-cal-d[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.vw-cal-d:disabled { opacity: .45; }
:root[data-theme="dark"] .vw-cal-d[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0b1a2e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vw-cal-d[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0b1a2e; } }
.vw-slot-none { display: inline-block; margin-top: 8px; }
.vw-slot input { position: absolute; opacity: 0; pointer-events: none; }
.vw-slot span { display: inline-block; padding: 5px 12px; min-height: 24px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; cursor: pointer; }
.vw-slot input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.vw-slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
:root[data-theme="dark"] .vw-slot input:checked + span { background: var(--gold); border-color: var(--gold); color: #0b1a2e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vw-slot input:checked + span { background: var(--gold); border-color: var(--gold); color: #0b1a2e; } }
.vw-slot-none span { font-size: 13px; }
[data-vw-other][hidden] { display: none !important; }

/* hodnotenia klientov */
.stars { color: #d97706; letter-spacing: 1px; }
.stars .off { color: var(--line); }
:root[data-theme="dark"] .stars { color: #fbbf24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stars { color: #fbbf24; } }
.rv-badge { display: inline-flex; gap: 4px; align-items: center; margin: 2px 0 6px; font-size: 14px; font-weight: 600; color: var(--fg); text-decoration: none; }
.rv-badge:hover { text-decoration: underline; }
.rv-sum { font-size: 14px; }
.rv-mini { color: var(--fg); font-weight: 600; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.review-card p { margin: 6px 0 2px; white-space: pre-line; }
.rv-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.rv-reply { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--gold); background: var(--surface-2); font-size: 14px; border-radius: 0 8px 8px 0; }
/* formulár hodnotenia – hviezdičky 5 → 1 v DOM, zobrazené zľava 1 → 5 */
.star-input { border: 0; padding: 0; margin: 0 0 8px; }
.star-input legend { font-weight: 600; margin-bottom: 4px; padding: 0; }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-row label { font-size: 38px; line-height: 1; color: var(--line); cursor: pointer; padding: 2px; }
.star-row label:hover, .star-row label:hover ~ label, .star-row input:checked ~ label { color: #d97706; }
.star-row input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.review-name { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
