/* ==========================================================================
   Napřímo – vizuální systém
   Motiv: smaltované cedulky domovních čísel (modrá = prodej, červená = pronájem)
   Písmo: Archivo (variabilní šířka) – široké a těžké pro titulky, normální pro text
   ========================================================================== */

@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --paper: #f3f5f8;
  --white: #ffffff;
  --ink: #14213d;
  --ink-2: #4b566b;
  --ink-3: #7c879a;
  --line: #d6dce6;
  --line-2: #e7ebf1;
  --wash: #e6ecf7;
  --enamel: #1f45a8;
  --enamel-d: #17357f;
  --plate: #b3202f;
  --plate-d: #8f1825;
  --ok: #1d7a4c;
  --warn: #9a5b00;

  --f: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r-plate: 6px;
  --r-ctl: 10px;
  --r-img: 14px;
  --r-panel: 18px;
  --shadow-pop: 0 18px 40px -12px rgba(20, 33, 61, .28), 0 2px 6px rgba(20, 33, 61, .08);
  --top-h: 68px;
  --wrap: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f); font-size: 16.5px; line-height: 1.55; font-stretch: 100%;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--enamel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--enamel-d); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--enamel); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.toplist { position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.err { color: var(--plate); }
.ok { color: var(--ok); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.js .nojs-only { display: none; }

/* ---------- Typografie ---------- */
.h1, .h2, .h3, .h4, .hero__h, .dhead__h, .results__h {
  font-stretch: 125%; font-weight: 800; letter-spacing: -.015em; margin: 0; line-height: 1.08;
}
.h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.h2 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); }
.h3 { font-size: 1.2rem; }
.h4 { font-size: 1.02rem; font-stretch: 112%; font-weight: 700; letter-spacing: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- Cedulky (podpisový prvek) ----------
   smalt: barevné pole, bílý linkový okraj kousek od hrany */
.plate {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 1.85rem; padding: .18rem .7rem .2rem;
  border-radius: var(--r-plate); background: var(--enamel); color: #fff;
  font-stretch: 125%; font-weight: 800; font-size: .82rem; letter-spacing: .01em; line-height: 1;
  box-shadow: inset 0 0 0 2px var(--enamel), inset 0 0 0 3.5px rgba(255,255,255,.92);
  white-space: nowrap;
}
.plate--rent { background: var(--plate); box-shadow: inset 0 0 0 2px var(--plate), inset 0 0 0 3.5px rgba(255,255,255,.92); }
.plate--white { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px var(--ink); }
.plate--xl { font-size: 3rem; padding: .6rem 1.6rem; min-height: 0; box-shadow: inset 0 0 0 5px var(--enamel), inset 0 0 0 9px #fff; }

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .6rem 1.2rem; border-radius: var(--r-ctl);
  border: 1.5px solid transparent; background: var(--white); color: var(--ink);
  font-weight: 650; font-stretch: 105%; text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: background .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--enamel); color: #fff; }
.btn--primary:hover { background: var(--enamel-d); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--line { border-color: var(--line); background: var(--white); }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: rgba(255,255,255,.96); box-shadow: 0 2px 10px rgba(20,33,61,.15); }
.btn--ghost { background: transparent; color: var(--plate); }
.btn--ghost:hover { background: #fbecee; color: var(--plate-d); }
.btn--sm { min-height: 38px; padding: .4rem .85rem; font-size: .9rem; }
.btn--block { display: flex; width: 100%; }
.btn:disabled { opacity: .55; cursor: progress; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--enamel); text-decoration: underline; cursor: pointer; }
.link-quiet { color: var(--ink); text-decoration: none; font-weight: 550; }
.link-quiet:hover { text-decoration: underline; color: var(--ink); }
.link-strong { font-weight: 700; color: var(--ink); }

/* ---------- Hlavička ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243,245,248,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.top__in { height: var(--top-h); display: flex; align-items: center; gap: 2rem; padding: 0 clamp(1rem, 3vw, 2rem); max-width: 1600px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__plate {
  width: 34px; height: 30px; display: grid; place-items: center; border-radius: 5px;
  background: var(--enamel); color: #fff; font-stretch: 125%; font-weight: 900; font-size: 1.05rem;
  box-shadow: inset 0 0 0 2px var(--enamel), inset 0 0 0 3.5px #fff;
}
.brand__name { font-stretch: 125%; font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }
.nav { display: flex; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; }
.nav a:hover { color: var(--enamel); }
.top__right { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.iconlink { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.iconlink:hover { background: var(--wash); color: var(--ink); }
.badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--plate); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .95rem; flex: none; }
.avatar--lg { width: 52px; height: 52px; font-size: 1.3rem; background: var(--enamel); }
.menu { position: relative; }
.menu__btn { list-style: none; display: flex; align-items: center; gap: .5rem; cursor: pointer; padding: .2rem .4rem .2rem .2rem; border-radius: 30px; }
.menu__btn::-webkit-details-marker { display: none; }
.menu__btn:hover { background: var(--wash); }
.menu__name { font-weight: 600; font-size: .95rem; }
.menu__pop { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-pop); padding: .5rem; min-width: 220px; display: grid; }
.menu__pop a, .menu__pop button { text-align: left; padding: .6rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; width: 100%; }
.menu__pop a:hover, .menu__pop button:hover { background: var(--paper); }
.menu__pop form { border-top: 1px solid var(--line-2); margin-top: .3rem; padding-top: .3rem; }

/* ---------- Hlášky ---------- */
.flashes { position: fixed; top: calc(var(--top-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: .5rem; width: min(560px, calc(100% - 2rem)); }
.flash { background: var(--ink); color: #fff; padding: .85rem 3rem .85rem 1.1rem; border-radius: 12px; box-shadow: var(--shadow-pop); position: relative; animation: flashIn .35s ease-out; }
.flash--err { background: var(--plate); }
.flash--info { background: var(--enamel); }
.flash__x { position: absolute; right: .5rem; top: .45rem; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; opacity: .8; }
@keyframes flashIn { from { transform: translateY(-8px); opacity: 0; } }
.notice { padding: .9rem 1.1rem; border-radius: 12px; background: var(--wash); margin: 1.2rem 0; }
.notice--pending, .notice--hidden { background: #fff4dc; }
.notice--rejected { background: #fbecee; }
.alert { background: #fbecee; color: var(--plate-d); padding: .75rem 1rem; border-radius: 10px; margin: 0 0 1rem; }
.inline { display: inline; }

/* ---------- Úvod ---------- */
.hero { display: grid; grid-template-columns: minmax(440px, 6fr) 7fr; min-height: calc(100vh - var(--top-h)); max-height: 900px; }
.hero__text { padding: clamp(2rem, 6vh, 5rem) clamp(1.2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: center; max-width: 680px; margin-left: auto; }
.hero__h { font-size: clamp(2.6rem, 5vw, 4.7rem); line-height: .98; letter-spacing: -.03em; font-weight: 850; text-wrap: balance; }
.hero__lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34rem; margin: 1.4rem 0 2rem; }
.hero__count { margin: 1.4rem 0 0; color: var(--ink-2); }
.hero__count a { color: var(--ink); font-weight: 650; }
.hero__map { position: relative; border-left: 1px solid var(--line); }
.hero__map .map { position: absolute; inset: 0; }
.hero__mapbtn { position: absolute; right: 1rem; bottom: 1.5rem; z-index: 500; }

.finder { background: var(--white); border-radius: var(--r-panel); padding: 1rem; box-shadow: 0 1px 0 var(--line), 0 12px 30px -18px rgba(20,33,61,.35); }
.finder__row { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.finder__field { display: grid; gap: .1rem; background: var(--paper); border-radius: var(--r-ctl); padding: .45rem .8rem .5rem; min-width: 130px; }
.finder__field--grow { flex: 1 1 200px; }
.finder__lbl { font-size: .75rem; font-weight: 700; color: var(--ink-2); }
.finder__field input, .finder__field select { border: 0; background: transparent; padding: 0; outline: none; font-size: 1.02rem; min-width: 0; }
.finder__field:focus-within { box-shadow: 0 0 0 2px var(--enamel); }
.finder__go { min-width: 120px; }

.seg { display: inline-flex; background: var(--paper); border-radius: 12px; padding: 4px; gap: 2px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; padding: .5rem 1.1rem; border-radius: 9px; font-weight: 650; color: var(--ink-2); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--enamel); }
.seg--sm span { padding: .38rem .8rem; font-size: .9rem; }

.band { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.band--tight { padding: 0 0 4rem; }
.band--ink { background: var(--ink); color: #fff; }
.band__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }

.promise__h { margin-bottom: 2.2rem; max-width: 20ch; }
.promise__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.promise__cols h3 { font-stretch: 115%; font-size: 1.08rem; margin: 0 0 .5rem; padding-top: 1rem; border-top: 3px solid #fff; }
.promise__cols p { color: #c9d1e0; margin: 0; }

.steps { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: start; }
.steps__intro p { color: var(--ink-2); margin: 1rem 0 1.6rem; max-width: 40ch; }
.steps__list { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 1rem; }
.steps__list li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; background: var(--white); border-radius: var(--r-panel); padding: 1.2rem 1.4rem; }
.steps__list li::before { content: counter(s); grid-row: span 2; width: 48px; height: 40px; display: grid; place-items: center; border-radius: var(--r-plate); background: var(--enamel); color: #fff; font-weight: 900; font-stretch: 125%; font-size: 1.2rem; box-shadow: inset 0 0 0 2px var(--enamel), inset 0 0 0 3.5px #fff; }
.steps__list strong { font-stretch: 112%; font-size: 1.05rem; }
.steps__list span { color: var(--ink-2); }

.chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; gap: .5rem; align-items: center; padding: .5rem .9rem; background: var(--white); border-radius: 30px; color: var(--ink); text-decoration: none; font-weight: 600; border: 1px solid var(--line-2); }
.chip span { color: var(--ink-3); font-weight: 500; }
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Karty inzerátů ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem 1.4rem; }
.card { position: relative; min-width: 0; }
.card__media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: var(--wash); }
.card__strip { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card__strip::-webkit-scrollbar { display: none; }
.card__strip img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.card__nophoto { margin: auto; color: var(--ink-3); font-weight: 600; }
.card .plate { position: absolute; left: .7rem; top: .7rem; z-index: 3; }
.card__count { z-index: 3; position: absolute; left: .7rem; bottom: .7rem; background: rgba(20,33,61,.72); color: #fff; font-size: .75rem; font-weight: 600; padding: .15rem .5rem; border-radius: 6px; }
.fav { position: absolute; right: .55rem; top: .55rem; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.fav svg, .fav-lg svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; transition: transform .2s; }
.fav.is-on svg, .fav-lg.is-on svg { fill: var(--plate); stroke: var(--plate); }
.fav.is-on svg { transform: scale(1.08); }
.card__body { padding: .8rem .1rem 0; }
.card__price { margin: 0; font-stretch: 118%; font-weight: 800; font-size: 1.22rem; letter-spacing: -.01em; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.card__price small { font-size: .8rem; font-weight: 600; color: var(--ink-2); font-stretch: 100%; margin-left: -.3rem; }
.pricedrop { font-size: .78rem; font-weight: 700; color: var(--ok); background: #e3f3ea; padding: .1rem .45rem; border-radius: 5px; font-stretch: 100%; }
.card__title { margin: .15rem 0 0; font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__strip { z-index: 2; position: relative; }
.card .fav { position: absolute; z-index: 3; }
.card__title a:hover { text-decoration: underline; }
.card__place { margin: .1rem 0 0; color: var(--ink-2); font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__meta { margin: .35rem 0 0; display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .85rem; color: var(--ink-2); }
.card__meta .ok { font-weight: 650; }
.card__meta .muted { color: var(--ink-3); }
.empty, .emptybox { color: var(--ink-2); }
.emptybox { background: var(--white); border-radius: var(--r-panel); padding: 2rem; display: grid; gap: 1rem; justify-items: start; max-width: 640px; }
.emptybox p { margin: 0; }

/* ---------- Mapa ---------- */
.map { background: #dfe5ee; z-index: 1; }
.leaflet-container { font-family: var(--f); }
.pin {
  display: inline-block; transform: translate(-50%, -100%);
  background: var(--enamel); color: #fff; font-stretch: 118%; font-weight: 800; font-size: .78rem; line-height: 1;
  padding: .38rem .5rem .4rem; border-radius: 5px; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px var(--enamel), inset 0 0 0 2.6px #fff, 0 3px 8px rgba(20,33,61,.3);
  position: relative; cursor: pointer; transition: transform .12s;
}
.pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--enamel); }
.pin--rent { background: var(--plate); box-shadow: inset 0 0 0 1.5px var(--plate), inset 0 0 0 2.6px #fff, 0 3px 8px rgba(20,33,61,.3); }
.pin--rent::after { border-top-color: var(--plate); }
.pin.is-hot, .pin:hover { background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), inset 0 0 0 2.6px #fff, 0 6px 14px rgba(20,33,61,.4); transform: translate(-50%, -100%) scale(1.12); z-index: 1000; }
.pin.is-hot::after, .pin:hover::after { border-top-color: var(--ink); }
.pin.is-seen { opacity: .72; }
.pinwrap { background: none !important; border: 0 !important; }
.cluster { background: none; }
.cluster span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-stretch: 112%; font-size: .85rem; box-shadow: 0 0 0 4px rgba(20,33,61,.18), inset 0 0 0 2px #fff; }
.mappop { width: 240px; }
.mappop img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin-bottom: .5rem; background: var(--wash); }
.mappop b { display: block; font-stretch: 115%; font-size: 1.05rem; }
.mappop a { color: var(--ink); text-decoration: none; font-weight: 600; }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-pop); }
.leaflet-popup-content { margin: 10px; font-size: .9rem; line-height: 1.35; }
.leaflet-control-zoom a { color: var(--ink) !important; }
.leaflet-bar { border: 0 !important; box-shadow: 0 2px 10px rgba(20,33,61,.18) !important; border-radius: 10px !important; overflow: hidden; }

/* ---------- Hledání ---------- */
.is-search { height: 100vh; overflow: hidden; display: flex; flex-direction: column; }
.is-search main { flex: 1; min-height: 0; }
.search { height: 100%; display: flex; flex-direction: column; }
.filters { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.filters__in { display: flex; align-items: center; gap: .6rem; padding: .7rem clamp(1rem, 2vw, 1.5rem); flex-wrap: wrap; }
.fi--q input { height: 40px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 0 .8rem; width: 240px; background: var(--paper); }
.fi--q input:focus { border-color: var(--enamel); outline: none; background: #fff; }
.filters__reset { font-size: .9rem; margin-left: .4rem; }
.dd { position: relative; }
.dd__btn { list-style: none; height: 40px; padding: 0 .95rem; border: 1.5px solid var(--line); border-radius: var(--r-ctl); display: flex; align-items: center; gap: .35rem; cursor: pointer; font-weight: 600; font-size: .93rem; background: #fff; user-select: none; }
.dd__btn::-webkit-details-marker { display: none; }
.dd__btn::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: .3rem; }
.dd[open] .dd__btn, .dd__btn:hover { border-color: var(--ink); }
.dd__btn b { background: var(--enamel); color: #fff; border-radius: 10px; font-size: .72rem; padding: .05rem .4rem; }
.dd__pop { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-pop); padding: 1rem; min-width: 220px; display: grid; gap: .45rem; z-index: 30; }
.dd__pop--range { grid-template-columns: 1fr 1fr; min-width: 320px; }
.dd__pop--range label { display: grid; gap: .25rem; font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.dd__pop--range input, .dd__range input { height: 40px; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 .6rem; width: 100%; }
.dd__pop--chips { grid-template-columns: repeat(4, auto); min-width: 340px; }
.dd__pop--wide { min-width: 460px; gap: 1rem; }
.dd__range { display: grid; grid-template-columns: auto 1fr 1fr; gap: .5rem; align-items: center; font-weight: 600; font-size: .9rem; }
.dd fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .35rem; }
.dd legend { font-weight: 700; font-size: .8rem; color: var(--ink-2); margin-bottom: .3rem; }
.quick { grid-column: 1 / -1; display: flex; gap: .35rem; flex-wrap: wrap; }
.quick button { border: 1px solid var(--line); background: var(--paper); border-radius: 20px; padding: .2rem .65rem; font-size: .8rem; cursor: pointer; }
.quick button:hover { border-color: var(--ink); }
.checks-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.checks-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem 1rem; }
.check, .radio { display: flex; gap: .55rem; align-items: flex-start; cursor: pointer; font-size: .95rem; line-height: 1.35; }
.check input, .radio input { width: 18px; height: 18px; margin: .05rem 0 0; accent-color: var(--enamel); flex: none; }
.tchip { position: relative; }
.tchip input { position: absolute; opacity: 0; }
.tchip span { display: block; text-align: center; padding: .35rem .55rem; border: 1.5px solid var(--line); border-radius: var(--r-plate); font-weight: 700; font-stretch: 112%; font-size: .85rem; cursor: pointer; }
.tchip input:checked + span { background: var(--enamel); border-color: var(--enamel); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.tchip input:focus-visible + span { outline: 3px solid var(--enamel); outline-offset: 2px; }

.search__body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(420px, 1fr) minmax(0, 1.08fr); }
.results { overflow-y: auto; padding: 1.4rem clamp(1rem, 2vw, 1.6rem) 3rem; }
.results__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.results__h { font-size: 1.35rem; }
.results__n { margin: .3rem 0 0; color: var(--ink-2); }
.results__tools { display: flex; gap: .5rem; align-items: center; }
.sortsel select { height: 38px; border: 1.5px solid var(--line); border-radius: var(--r-ctl); padding: 0 .6rem; background: #fff; font-weight: 600; font-size: .9rem; }
.grid--results { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.8rem 1.2rem; transition: opacity .2s; }
.is-loading .grid--results { opacity: .45; }
.results__empty { background: var(--white); border-radius: var(--r-panel); padding: 1.5rem; }
.results__empty p { margin: 0; color: var(--ink-2); }
.card.is-hot .card__media { box-shadow: 0 0 0 3px var(--ink); }
.pager { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: 2rem; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 650; background: #fff; }
.pager a[aria-current] { background: var(--ink); color: #fff; }
.mapcol { position: relative; border-left: 1px solid var(--line); }
.mapcol .map { position: absolute; inset: 0; }
.maptools { position: absolute; top: 1rem; left: 1rem; right: 1rem; z-index: 500; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; pointer-events: none; }
.maptools > * { pointer-events: auto; }
.maptools__follow { margin-left: auto; background: rgba(255,255,255,.96); padding: .45rem .8rem; border-radius: 10px; font-size: .85rem; font-weight: 600; display: flex; gap: .4rem; align-items: center; box-shadow: 0 2px 10px rgba(20,33,61,.15); cursor: pointer; }
.maptools__follow input { accent-color: var(--enamel); }
#drawBtn.is-on { background: var(--ink); color: #fff; }
.maphint { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 500; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; margin: 0; font-size: .9rem; max-width: calc(100% - 2rem); text-align: center; }
.is-drawing .map { cursor: crosshair; }
.viewtoggle { display: none; }

/* ---------- Detail ---------- */
.detail { padding-top: 1rem; padding-bottom: 4rem; }
.crumbs { display: flex; gap: .4rem; flex-wrap: wrap; font-size: .9rem; margin: .4rem 0 1rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs a + a::before { content: '/'; margin-right: .4rem; color: var(--ink-3); }
.gallery { position: relative; display: grid; gap: 8px; height: clamp(300px, 52vh, 560px); grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; border-radius: var(--r-panel); overflow: hidden; }
.gallery__item { border: 0; padding: 0; background: var(--wash); cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.025); }
.gallery__item:first-child { grid-row: span 2; }
.gallery--n1 { grid-template-columns: 1fr; }
.gallery--n2 { grid-template-columns: 2fr 1fr; }
.gallery--n2 .gallery__item:nth-child(2) { grid-row: span 2; }
.gallery--n3 { grid-template-columns: 2fr 1fr; }
.gallery--n4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery--n4 .gallery__item:nth-child(4) { grid-column: span 2; }
.gallery__all { position: absolute; right: 1rem; bottom: 1rem; }
.detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 3rem; margin-top: 2rem; align-items: start; }
.dhead__plates { display: flex; gap: .45rem; flex-wrap: wrap; align-items: center; margin-bottom: .9rem; }
.dhead__h { font-size: clamp(1.7rem, 3vw, 2.5rem); text-wrap: balance; }
.dhead__place { font-size: 1.1rem; margin: .5rem 0 0; color: var(--ink-2); }
.dhead__sub { font-size: 1.1rem; margin: .8rem 0 0; font-style: italic; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; background: var(--wash); color: var(--ink); }
.tag--ok { background: #e3f3ea; color: var(--ok); }
.tag--warn { background: #fff4dc; color: var(--warn); }
.pricebox { margin: 1.6rem 0 0; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricebox__price { margin: 0; font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 850; font-stretch: 125%; letter-spacing: -.02em; line-height: 1; }
.pricebox__price small { margin-left: .35rem; font-size: 1rem; font-weight: 600; color: var(--ink-2); font-stretch: 100%; letter-spacing: 0; }
.pricebox__note { margin: .5rem 0 0; color: var(--ink-2); }
.pricebox__facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .9rem 0 0; color: var(--ink-2); }
.pricebox__facts .good { color: var(--ok); font-weight: 650; }
.history { margin-top: .9rem; }
.history summary { cursor: pointer; font-weight: 650; color: var(--enamel); }
.history ul { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .3rem; max-width: 340px; }
.history li { display: flex; justify-content: space-between; }
.dsec { margin-top: 2.6rem; }
.dsec .h3 { margin-bottom: 1rem; }
.dsec--wide { margin-top: 4.5rem; }
.dsec--wide .h2 { margin-bottom: 1.4rem; }
.params { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 2rem; margin: 0; }
.params div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-2); }
.params dt { color: var(--ink-2); }
.params dd { margin: 0; font-weight: 650; text-align: right; }
.prose { max-width: 68ch; font-size: 1.04rem; line-height: 1.65; }
.feats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.feats li { background: var(--white); border-radius: 8px; padding: .4rem .8rem; font-weight: 550; border: 1px solid var(--line-2); }
.map--detail { height: 380px; border-radius: var(--r-panel); overflow: hidden; }
.dmeta { margin-top: 2.5rem; }
.detail__side { position: sticky; top: calc(var(--top-h) + 1.2rem); display: grid; gap: 1rem; }
.contact { background: var(--white); border-radius: var(--r-panel); padding: 1.4rem; display: grid; gap: .8rem; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(20,33,61,.45); }
.contact__who { display: flex; gap: .9rem; align-items: center; margin-bottom: .3rem; }
.contact__name { margin: 0; font-weight: 750; font-stretch: 112%; font-size: 1.1rem; }
.contact__who p { margin: 0; }
.contact__lock { margin: 0; color: var(--ink-2); font-size: .95rem; }
.contact__noagents { margin: 0; font-size: .85rem; color: var(--ink-2); padding-top: .6rem; border-top: 1px solid var(--line-2); }
.phone { font-size: 1.35rem; font-weight: 800; font-stretch: 115%; text-align: center; text-decoration: none; color: var(--ink); padding: .5rem; border: 1.5px dashed var(--line); border-radius: var(--r-ctl); }
.msgform { display: grid; gap: .7rem; }
.formerr { color: var(--plate); margin: 0; font-size: .9rem; }
.sideacts { display: grid; gap: .2rem; padding: .3rem; }
.act { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border: 0; background: none; border-radius: 10px; cursor: pointer; text-align: left; font-weight: 600; color: var(--ink); }
.act:hover { background: var(--white); }
.act svg { fill: none; stroke: currentColor; }
.act--warn { color: var(--plate); }
.safety { background: var(--wash); border-radius: var(--r-panel); padding: 1.1rem 1.3rem; font-size: .92rem; }
.safety p { margin: .4rem 0 0; color: var(--ink-2); }
.h4 + p { margin-top: .3rem; }

/* dialogy */
.modal { border: 0; border-radius: var(--r-panel); padding: 0; width: min(480px, calc(100% - 2rem)); box-shadow: var(--shadow-pop); color: var(--ink); }
.modal::backdrop { background: rgba(20,33,61,.55); }
.modal__in { padding: 1.6rem; display: grid; gap: .8rem; }
.modal__in p { margin: 0; }
.modal__acts { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .5rem; }
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(10,16,30,.96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(10,16,30,.96); }
.lightbox img { max-width: calc(100vw - 8rem); max-height: calc(100vh - 6rem); object-fit: contain; border-radius: 6px; }
.lightbox__x { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.2rem; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; cursor: pointer; }
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__prev { left: 1.2rem; } .lightbox__next { right: 1.2rem; }
.lightbox__n { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); margin: 0; opacity: .8; }

/* ---------- Formuláře ---------- */
.field { display: grid; gap: .35rem; margin: 0; min-width: 0; border: 0; padding: 0; }
.field__lbl { font-weight: 650; font-size: .9rem; }
legend.field__lbl { margin-bottom: .5rem; padding: 0; }
.field input, .field select, .field textarea, .reply textarea, .mod__note {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-ctl); background: #fff;
  padding: .7rem .85rem; min-height: 46px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus, .reply textarea:focus { outline: none; border-color: var(--enamel); box-shadow: 0 0 0 3px rgba(31,69,168,.16); }
.field input:disabled { background: var(--paper); color: var(--ink-2); }
.field__hint { font-size: .84rem; color: var(--ink-2); }
.field__err { color: var(--plate); font-size: .87rem; font-weight: 600; margin: .1rem 0 0; }
.field--half { max-width: 50%; }
.stack { display: grid; gap: 1rem; }
.row { display: grid; gap: 1rem; }
.row--2 { grid-template-columns: repeat(2, 1fr); }
.row--3 { grid-template-columns: repeat(3, 1fr); }
.switch { display: grid; grid-template-columns: 46px 1fr; column-gap: .8rem; align-items: start; cursor: pointer; }
.switch input { appearance: none; width: 46px; height: 26px; border-radius: 13px; background: var(--line); position: relative; cursor: pointer; margin: 0; grid-row: span 2; transition: background .2s; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked { background: var(--enamel); }
.switch input:checked::after { transform: translateX(20px); }
.switch span { font-weight: 650; }
.switch small { color: var(--ink-2); font-size: .86rem; }

/* auth */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--top-h)); }
.auth--single { grid-template-columns: 1fr; place-items: center; padding: 3rem 1rem; }
.auth__card { width: min(440px, 100%); margin: auto; padding: 3rem 1.2rem; display: grid; gap: 1rem; align-content: center; }
.auth__card p { margin: 0; }
.auth__links { font-size: .92rem; }
.auth__alt { padding-top: 1rem; border-top: 1px solid var(--line); }
.auth__aside { background: var(--enamel); color: #fff; display: flex; align-items: flex-end; padding: clamp(2rem, 5vw, 4.5rem); position: relative; overflow: hidden; }
.auth__aside::before { content: ''; position: absolute; inset: 22px; border: 3px solid rgba(255,255,255,.9); border-radius: 22px; pointer-events: none; }
.auth__quote { position: relative; font-stretch: 120%; font-weight: 750; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.2; letter-spacing: -.01em; max-width: 22ch; margin: 0; }

/* editor */
.editor { padding-top: 2rem; padding-bottom: 6rem; }
.editor__head { margin-bottom: 2rem; }
.editor__head p { margin: .5rem 0 0; }
.editor__grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; align-items: start; }
.stepnav { list-style: none; margin: 0; padding: 0; position: sticky; top: calc(var(--top-h) + 1.5rem); display: grid; gap: .2rem; }
.stepnav button { display: flex; gap: .8rem; align-items: center; width: 100%; padding: .65rem .7rem; border: 0; background: none; border-radius: 10px; cursor: pointer; text-align: left; font-weight: 600; color: var(--ink-2); }
.stepnav button:hover { background: var(--white); color: var(--ink); }
.stepnav__n { width: 30px; height: 26px; display: grid; place-items: center; border-radius: 5px; background: var(--white); border: 1.5px solid var(--line); font-weight: 800; font-stretch: 120%; font-size: .85rem; color: var(--ink-2); flex: none; }
.stepnav button[aria-current] { color: var(--ink); background: var(--white); }
.stepnav button[aria-current] .stepnav__n, .stepnav button.is-done .stepnav__n { background: var(--enamel); border-color: var(--enamel); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }
.stepnav button.has-err .stepnav__n { background: var(--plate); border-color: var(--plate); color: #fff; }
.editor__form { background: var(--white); border-radius: var(--r-panel); padding: clamp(1.4rem, 3vw, 2.4rem); }
.step { display: grid; gap: 1.3rem; padding-bottom: 2rem; }
.js .step { display: none; }
.js .step.is-current { display: grid; animation: stepIn .25s ease-out; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } }
.step + .step { border-top: 1px solid var(--line-2); padding-top: 2rem; }
.js .step + .step { border-top: 0; padding-top: 0; }
.choice { display: grid; gap: .7rem; }
.choice--2 { grid-template-columns: 1fr 1fr; }
.choice--3 { grid-template-columns: repeat(3, 1fr); }
.choice__item { position: relative; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; }
.choice__item span { display: grid; gap: .2rem; padding: 1rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.choice__item--sm span { padding: .75rem .9rem; }
.choice__item b { font-stretch: 112%; font-size: 1.02rem; }
.choice__item small { color: var(--ink-2); }
.choice__item input:checked + span { border-color: var(--enamel); background: var(--wash); box-shadow: inset 0 0 0 1px var(--enamel); }
.choice__item input:focus-visible + span { outline: 3px solid var(--enamel); outline-offset: 2px; }
.geo { position: relative; }
.geo__res { position: absolute; left: 0; right: 0; top: 100%; margin: .3rem 0 0; padding: .4rem; list-style: none; background: #fff; border-radius: 12px; box-shadow: var(--shadow-pop); z-index: 600; }
.geo__res button { width: 100%; text-align: left; background: none; border: 0; padding: .6rem .7rem; border-radius: 8px; cursor: pointer; }
.geo__res button:hover, .geo__res button:focus { background: var(--paper); }
.map--form { height: 360px; border-radius: 14px; overflow: hidden; }
.drop { position: relative; border: 2px dashed var(--line); border-radius: 14px; padding: 2.4rem 1rem; text-align: center; background: var(--paper); transition: border-color .15s, background .15s; }
.drop.is-over { border-color: var(--enamel); background: var(--wash); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__lbl { color: var(--ink-2); font-size: 1rem; font-weight: 500; }
.drop__lbl b { color: var(--enamel); font-weight: 700; }
.thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; }
.thumb { position: relative; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--wash); cursor: grab; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:first-child::before { content: 'Titulní'; position: absolute; left: .4rem; top: .4rem; z-index: 1; background: var(--enamel); color: #fff; font-size: .72rem; font-weight: 800; padding: .15rem .45rem; border-radius: 4px; box-shadow: inset 0 0 0 1px #fff; }
.thumb__x { position: absolute; right: .3rem; top: .3rem; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(20,33,61,.75); color: #fff; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.thumb.is-uploading { opacity: .5; }
.thumb.is-uploading::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; background: var(--enamel); width: var(--p, 10%); transition: width .2s; }
.thumb.is-drag { opacity: .4; }
.ppm { margin: 0; color: var(--ink-2); min-height: 1.4em; }
.declare { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--paper); }
.declare input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--enamel); flex: none; }
.declare.is-err { border-color: var(--plate); }
.editor__bar { position: sticky; bottom: 0; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); margin: 0 calc(-1 * clamp(1.4rem, 3vw, 2.4rem)) calc(-1 * clamp(1.4rem, 3vw, 2.4rem)); padding: 1rem clamp(1.4rem, 3vw, 2.4rem); border-top: 1px solid var(--line-2); border-radius: 0 0 var(--r-panel) var(--r-panel); }
.editor__saved { margin-right: auto; }
.js .editor__bar #publishBtn { display: none; }
.js .editor__bar.is-last #publishBtn { display: inline-flex; }
.js .editor__bar.is-last #nextStep { display: none; }
.js .editor__bar.is-first #prevStep { visibility: hidden; }
#prevStep { display: none; }
.js #prevStep { display: inline-flex; }

/* účet */
.account, .admin, .page { padding-top: 2rem; padding-bottom: 5rem; }
.account__head { display: grid; gap: 1.2rem; margin-bottom: 2rem; }
.tabs { display: flex; gap: .3rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs a { padding: .7rem 1rem; text-decoration: none; color: var(--ink-2); font-weight: 650; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--enamel); }
.tabs__n { color: var(--ink-3); font-weight: 500; }
.mylist { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 1rem; }
.mylist__item { display: grid; grid-template-columns: 160px 1fr auto; gap: 1.3rem; align-items: center; background: var(--white); border-radius: var(--r-panel); padding: 1rem; }
.mylist__img { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--wash); }
.mylist__img img { width: 100%; height: 100%; object-fit: cover; }
.mylist__body p { margin: 0; }
.mylist__body h2 { margin: .35rem 0 .15rem; }
.mylist__body h2 a { color: var(--ink); text-decoration: none; }
.mylist__stats { display: flex; gap: .3rem 1.1rem; flex-wrap: wrap; color: var(--ink-2); margin-top: .4rem !important; }
.mylist__acts { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.mylist__acts form { display: contents; }
.status { display: inline-block; font-size: .76rem; font-weight: 750; padding: .18rem .55rem; border-radius: 5px; background: var(--wash); }
.status--active { background: #e3f3ea; color: var(--ok); }
.status--pending, .status--hidden { background: #fff4dc; color: var(--warn); }
.status--rejected { background: #fbecee; color: var(--plate); }
.status--draft { background: var(--paper); color: var(--ink-2); border: 1px dashed var(--line); }
.watch { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; max-width: 820px; }
.watch li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--white); border-radius: 14px; padding: 1rem 1.2rem; }
.watch li p { margin: .2rem 0 0; }
.watch a.h4 { color: var(--ink); }
.settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; align-items: start; }
.panel { background: var(--white); border-radius: var(--r-panel); padding: 1.5rem; }
.panel--danger { box-shadow: inset 0 0 0 1.5px #f1d3d7; }

/* zprávy */
.inbox { display: grid; grid-template-columns: 360px 1fr; gap: 1.5rem; padding-top: 2rem; padding-bottom: 3rem; min-height: calc(100vh - var(--top-h) - 120px); }
.inbox__list ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .3rem; }
.conv { position: relative; display: grid; gap: .15rem; padding: .8rem 1rem; border-radius: 12px; text-decoration: none; color: var(--ink); }
.conv:hover { background: var(--white); color: var(--ink); }
.conv.is-current { background: var(--white); box-shadow: inset 3px 0 0 var(--enamel); }
.conv.is-unread b { color: var(--enamel); }
.conv__top { display: flex; justify-content: space-between; gap: .5rem; }
.conv .badge { top: .8rem; right: .8rem; position: absolute; display: none; }
.conv__l { font-weight: 550; }
.conv__last { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox__thread { background: var(--white); border-radius: var(--r-panel); padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.inbox__empty { margin: auto; }
.thread__head { padding-bottom: 1rem; border-bottom: 1px solid var(--line-2); }
.thread__head .h4 { color: var(--ink); text-decoration: none; display: block; }
.thread__head p { margin: .2rem 0 0; }
.inbox__back { display: none; }
.thread { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; flex: 1; align-content: start; }
.bubble { max-width: 75%; display: grid; gap: .2rem; justify-items: start; }
.bubble__b { background: var(--paper); padding: .7rem 1rem; border-radius: 14px 14px 14px 4px; line-height: 1.45; }
.bubble--me { margin-left: auto; justify-items: end; }
.bubble--me .bubble__b { background: var(--enamel); color: #fff; border-radius: 14px 14px 4px 14px; }
.reply { display: flex; gap: .6rem; align-items: flex-end; }
.reply textarea { flex: 1; min-height: 60px; }

/* admin */
.modlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.mod { display: grid; grid-template-columns: 260px 1fr 240px; gap: 1.2rem; background: var(--white); border-radius: var(--r-panel); padding: 1rem; align-items: start; }
.mod__imgs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--wash); }
.mod__imgs img { width: 100%; height: 100%; object-fit: cover; }
.mod__imgs img:first-child { grid-row: span 2; }
.mod__body p { margin: .2rem 0; }
.mod__body h2 a { color: var(--ink); }
.mod__acts { display: grid; gap: .4rem; }
.mod__note { min-height: 38px; padding: .4rem .6rem; font-size: .9rem; }
.table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line-2); }
.table th { font-size: .8rem; color: var(--ink-2); }
.is-banned { opacity: .5; }

/* statické stránky */
.page { max-width: 900px; }
.page__head { margin-bottom: 2.5rem; }
.page__head .lead { margin: 1rem 0 1.5rem; }
.page__sec { margin-top: 3rem; }
.page__sec .h2 { margin-bottom: 1.2rem; }
.page--center { text-align: center; display: grid; justify-items: center; gap: 1rem; padding-top: 5rem; }
.howto { margin: 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: .8rem; }
.howto li { counter-increment: h; position: relative; padding: 1rem 1.2rem 1rem 4.2rem; background: var(--white); border-radius: 14px; }
.howto li::before { content: counter(h); position: absolute; left: 1.1rem; top: 1rem; width: 36px; height: 30px; display: grid; place-items: center; border-radius: 5px; background: var(--enamel); color: #fff; font-weight: 850; font-stretch: 125%; box-shadow: inset 0 0 0 1.5px var(--enamel), inset 0 0 0 2.6px #fff; }
.bullets { padding-left: 1.2rem; display: grid; gap: .5rem; }

/* patička */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; }
.foot__in { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.foot__brand p { color: var(--ink-2); max-width: 36ch; }
.foot__col { display: grid; gap: .45rem; align-content: start; }
.foot__col h2 { font-size: .95rem; margin: 0 0 .3rem; font-stretch: 112%; }
.foot__col a { color: var(--ink-2); text-decoration: none; }
.foot__col a:hover { color: var(--ink); text-decoration: underline; }
.foot__legal { grid-column: 1 / -1; color: var(--ink-3); font-size: .85rem; border-top: 1px solid var(--line-2); padding-top: 1.5rem; margin: 1rem 0 0; }
.foot__legal a { color: inherit; }

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  .promise__cols { grid-template-columns: 1fr 1fr; }
  .detail__grid { grid-template-columns: 1fr; gap: 2rem; }
  .detail__side { position: static; }
  .mod { grid-template-columns: 180px 1fr; }
  .mod__acts { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .search__body { grid-template-columns: minmax(360px, 1fr) 1fr; }
}
@media (max-width: 900px) {
  :root { --top-h: 60px; }
  .nav { display: none; }
  .menu__name { display: none; }
  .hero { grid-template-columns: 1fr; max-height: none; min-height: 0; }
  .hero__text { margin: 0; max-width: none; }
  .hero__map { height: 420px; border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .search__body { grid-template-columns: 1fr; position: relative; }
  .mapcol { position: absolute; inset: 0; visibility: hidden; border: 0; }
  .search.show-map .mapcol { visibility: visible; }
  .search.show-map .results { visibility: hidden; }
  .viewtoggle { display: inline-flex; position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 600; box-shadow: var(--shadow-pop); border-radius: 30px; padding: .6rem 1.6rem; }
  .fi--q { flex: 1 1 100%; } .fi--q input { width: 100%; }
  .filters__in { gap: .45rem; }
  .dd { position: static; }
  .dd__pop { left: .8rem; right: .8rem; min-width: 0 !important; }
  .dd__pop--chips { grid-template-columns: repeat(4, 1fr); }
  .editor__grid { grid-template-columns: 1fr; gap: 1rem; }
  .stepnav { position: static; display: flex; overflow-x: auto; gap: .2rem; padding-bottom: .3rem; }
  .stepnav button { white-space: nowrap; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .inbox { grid-template-columns: 1fr; }
  .inbox.has-current .inbox__list { display: none; }
  .inbox:not(.has-current) .inbox__thread { display: none; }
  .inbox__back { display: inline; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__right { gap: .3rem; }
  .top .btn--primary { padding: .4rem .7rem; }
  .link-quiet { font-size: .92rem; }
  .brand__name { font-size: 1.12rem; }
  .promise__cols { grid-template-columns: 1fr; }
  .row--3, .row--2, .choice--3, .checks-3 { grid-template-columns: 1fr 1fr; }
  .field--half { max-width: none; }
  .gallery { grid-template-columns: 1fr !important; grid-template-rows: 1fr; height: 300px; }
  .gallery__item:not(:first-child) { display: none; }
  .mylist__item { grid-template-columns: 100px 1fr; }
  .mylist__acts { grid-column: 1 / -1; justify-content: flex-start; }
  .mod { grid-template-columns: 1fr; }
  .lightbox img { max-width: 100vw; }
  .lightbox__nav { width: 44px; height: 44px; bottom: 1rem; top: auto; transform: none; }
  .finder__go { flex: 1 1 100%; }
  .checks-2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Inzerent: majitel / realitka ---------- */
.seller { font-weight: 650; color: var(--ok); }
.seller--rk { color: var(--ink-2); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag--owner { background: #e3f3ea; color: var(--ok); }
.seg--block { display: flex; }
.seg--block label { flex: 1; text-align: center; }
.reg-agency { display: none; padding: 1rem; border-radius: 12px; background: var(--wash); }
form:has(input[name=type][value=agency]:checked) .reg-agency, form:has(input[name=type][value=insolvency]:checked) .reg-agency { display: grid; }
.finder__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.finder__own { font-weight: 600; }
.seg--seller input:checked + span { background: var(--ok); }
.seg--seller input[value=""]:checked + span { background: var(--ink); }
.steps__intro .btn + .btn { margin-left: .4rem; }

.params--one { grid-template-columns: 1fr; }
.params--one dd { text-align: left; word-break: break-all; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; background: var(--paper); padding: .1rem .35rem; border-radius: 5px; }
.importlog { white-space: pre-wrap; font-size: .85rem; margin: .6rem 0 0; font-family: inherit; color: var(--ink-2); }
.docs table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .92rem; margin: 1rem 0; }
.docs th, .docs td { text-align: left; padding: .55rem .8rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.docs pre { background: var(--ink); color: #e6ecf7; padding: 1rem 1.2rem; border-radius: 12px; overflow-x: auto; font-size: .82rem; line-height: 1.5; }
.docs pre code { background: none; padding: 0; color: inherit; }

.card__strip { text-decoration: none; }
.card__nophoto--ud { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(20,33,61,.06) 27px 28px), #fbfaf6; color: var(--ink); font-stretch: 125%; font-weight: 800; font-size: 1.05rem; box-shadow: inset 0 0 0 10px #fff, inset 0 0 0 12px var(--line); }
.seller--ud { color: var(--enamel); font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seller--is { color: var(--warn); font-weight: 650; }
.tag--is { background: #fff4dc; color: var(--warn); }
.tag--ud { background: var(--wash); color: var(--enamel); }
