/* Prowide – štýly. Jednoduché, prehľadné, kontrast podľa WCAG AA. */
:root {
  --navy: #020b1d;
  --navy-2: #0b1a33;
  --blue: #0050d1;        /* odkazy a tlačidlá – kontrast 6,6:1 na bielej */
  --blue-dark: #003da3;
  --blue-bright: #2f8cff; /* iba na tmavom pozadí */
  --bg: #f3f5f8;
  --card: #ffffff;
  --text: #141b26;
  --muted: #4a5566;       /* kontrast 7,4:1 */
  --border: #d5dbe4;
  --top-bg: #fff7d6;
  --top-border: #e9c645;
  --ok: #146c43;
  --ok-bg: #e7f6ee;
  --warn-bg: #fff4e0;
  --warn: #8a4b00;
  --danger: #b42318;
  --danger-bg: #fdecea;
  --radius: 8px;
  --focus: #ffbf47;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.inline { display: inline; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.mt { margin-top: 1.5rem; }
.mb0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Prístupnosť: viditeľné zameranie pri ovládaní klávesnicou */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: #fff; color: var(--text); padding: 10px 14px; border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 8px; }
.main:focus { outline: none; }

/* ---------- hlavička ---------- */
.site-header { background: var(--navy); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { height: 34px; width: auto; }
.brand-word { height: 19px; width: auto; }
.header-tools { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.header-link {
  color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-size: .95rem;
  background: none; border: 0; font: inherit; cursor: pointer;
}
.header-link:hover { background: var(--navy-2); color: #fff; text-decoration: underline; }
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; color: #fff; padding: 8px 10px; border-radius: 6px; font-size: .95rem;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { background: var(--navy-2); }
.lang-menu ul {
  position: absolute; right: 0; top: 100%; z-index: 50; margin: 4px 0 0; padding: 6px 0; list-style: none;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); min-width: 170px;
  box-shadow: 0 8px 24px rgba(2, 11, 29, .18);
}
.lang-menu li a { display: block; padding: 7px 14px; color: var(--text); text-decoration: none; }
.lang-menu li a:hover, .lang-menu li a[aria-current] { background: var(--bg); color: var(--blue); }
.lang-menu li a[aria-current] { font-weight: 700; }

.main-nav { background: #fff; border-bottom: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; flex-wrap: wrap; }
.nav-links { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-links a {
  display: block; padding: 14px 12px; color: var(--text); text-decoration: none; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current] { color: var(--blue); border-bottom-color: var(--blue); }

.notice-bar { background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid #f0d6a8; padding: 8px 0; font-size: .925rem; }
.notice-test { background: #eef4ff; color: #1d3a73; border-bottom-color: #c9d9f7; }

.main { padding-top: 22px; padding-bottom: 48px; min-height: 60vh; }

/* ---------- tlačidlá a formuláre ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 6px; border: 1px solid transparent; cursor: pointer;
  font: inherit; font-weight: 700; text-decoration: none; line-height: 1.2; min-height: 44px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-cta { background: #f2b705; color: #1a1300; }
.btn-cta:hover { background: #dba600; color: #1a1300; }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: #eef4ff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #8f1c13; color: #fff; }
.btn-small { padding: 6px 12px; min-height: 36px; font-size: .9rem; }
.btn-block { width: 100%; }
.as-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.header-link.as-link { color: #fff; text-decoration: none; padding: 8px 10px; }

.form { max-width: 640px; }
.form-wide { max-width: 860px; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 5px; }
.field .hint { display: block; color: var(--muted); font-size: .875rem; margin-top: 4px; font-weight: 400; }
.optional { font-weight: 400; color: var(--muted); font-size: .875rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input[type=url], input[type=search], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #8a94a6; border-radius: 6px; font: inherit;
  background: #fff; color: var(--text); min-height: 44px;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .9rem; margin: 5px 0 0; font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; }
.check label { font-weight: 400; }
.checks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px 12px; }
.checks-grid .check { margin-bottom: 6px; }
fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px 6px; margin: 0 0 18px; background: #fff; }
legend { font-weight: 700; padding: 0 6px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.role-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.role-choice label {
  display: block; border: 2px solid var(--border); border-radius: var(--radius); padding: 14px; cursor: pointer; background: #fff;
}
.role-choice input { margin-right: 8px; }
.role-choice label:has(input:checked) { border-color: var(--blue); background: #eef4ff; }
.role-choice strong { display: block; font-size: 1.05rem; }
.role-choice span { color: var(--muted); font-size: .9rem; }

/* ---------- karty a boxy ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.flashes { margin-bottom: 16px; }
.flash { padding: 12px 14px; border-radius: var(--radius); margin: 0 0 8px; border: 1px solid; }
.flash-success { background: var(--ok-bg); color: var(--ok); border-color: #b9e1cb; }
.flash-error { background: var(--danger-bg); color: var(--danger); border-color: #f5c2bd; }
.flash-info { background: #eef4ff; color: #1d3a73; border-color: #c9d9f7; }
.badge {
  display: inline-block; font-size: .75rem; font-weight: 700; padding: 2px 7px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .02em; vertical-align: middle; line-height: 1.5;
}
.badge-top { background: #f2b705; color: #1a1300; }
.badge-demo { background: #e6e9ef; color: #3a4456; border: 1px dashed #7a8496; }
.badge-crew { background: #e3efff; color: #123d7a; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-off { background: #eceff3; color: var(--muted); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.stars { color: #9a6a00; letter-spacing: 1px; }

/* ---------- úvod ---------- */
.hero {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 28px 24px; margin-bottom: 22px;
}
.hero h1 { font-size: 1.75rem; margin-bottom: .3em; }
.hero p { color: #d4dced; max-width: 720px; }
.hero-search { display: grid; grid-template-columns: 2fr 1.3fr auto; gap: 8px; margin-top: 16px; }
.hero-search label { color: #fff; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hero .btn-secondary { background: transparent; color: #fff; border-color: #8fb5ff; }
.hero .btn-secondary:hover { background: var(--navy-2); }
.stats-row { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; color: #d4dced; font-size: .95rem; }
.stats-row strong { color: #fff; font-size: 1.1rem; }

.section-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 6px 0 12px; }
.section-h h2 { margin: 0; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 22px; list-style: none; }
.cat-grid li { padding: 5px 0; border-bottom: 1px dotted var(--border); }
.cat-grid a { text-decoration: none; font-weight: 600; }
.cat-grid a:hover { text-decoration: underline; }
.cat-grid .count { color: var(--muted); font-weight: 400; font-size: .9rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.step-n { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ---------- vyhľadávanie (zoznam ako na inzertnom portáli) ---------- */
.search-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; align-items: start; }
.filters { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; position: sticky; top: 10px; }
.filters .field { margin-bottom: 12px; }
.filters label, .filters .label { font-size: .925rem; }
.filters-toggle { display: none; }
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.results-head h1 { margin: 0; font-size: 1.35rem; }
.sort-form { display: flex; gap: 6px; align-items: center; }
.sort-form select { width: auto; min-height: 38px; padding: 6px 10px; }
.list { list-style: none; margin: 0; padding: 0; }
.item {
  display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 10px;
}
.item.is-top { background: var(--top-bg); border-color: var(--top-border); }
.item-photo { width: 110px; height: 110px; border-radius: 6px; object-fit: cover; background: #e6e9ef; display: block; }
.item-photo.ph { display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 2.2rem; font-weight: 800; }
.item-title { font-size: 1.1rem; margin: 0 0 2px; }
.item-title a { text-decoration: none; }
.item-title a:hover { text-decoration: underline; }
.item-meta { color: var(--muted); font-size: .925rem; margin: 0 0 6px; }
.item-desc { margin: 0; font-size: .95rem; }
.item-side { text-align: right; min-width: 140px; }
.item-rate { font-weight: 800; font-size: 1.05rem; white-space: nowrap; }
.price-local { color: var(--muted); font-weight: 400; font-size: .85rem; white-space: nowrap; }
.avail { font-size: .875rem; margin-top: 4px; }
.avail-now { color: var(--ok); font-weight: 700; }
.lock-note { background: #eef4ff; border: 1px solid #c9d9f7; color: #1d3a73; border-radius: var(--radius); padding: 10px 14px; margin-bottom: 12px; font-size: .95rem; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 18px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-block; min-width: 40px; padding: 8px 10px; text-align: center; border: 1px solid var(--border); border-radius: 6px; background: #fff; text-decoration: none; }
.pagination [aria-current] { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 700; }
.empty { background: #fff; border: 1px dashed var(--border); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); }

/* ---------- detail profilu ---------- */
.profile-layout { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.profile-head { display: grid; grid-template-columns: 160px 1fr; gap: 18px; }
.profile-photo { width: 160px; height: 160px; border-radius: var(--radius); object-fit: cover; background: #e6e9ef; }
.facts { display: grid; grid-template-columns: 180px 1fr; gap: 6px 14px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #e6e9ef; display: block; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 3px; }
.contact-box { position: sticky; top: 10px; }
.contact-line { display: flex; gap: 8px; align-items: center; font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; word-break: break-all; }
.review { border-top: 1px solid var(--border); padding: 12px 0; }
.review:first-of-type { border-top: 0; }
.review-head { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 4px; }
.desc { white-space: pre-line; }

/* ---------- účet ---------- */
.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: var(--text); font-weight: 600; }
.side-nav a:hover { background: var(--bg); color: var(--blue); }
.side-nav a[aria-current] { background: #eef4ff; color: var(--blue); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.kpi strong { display: block; font-size: 1.5rem; }
.kpi span { color: var(--muted); font-size: .9rem; }
.photo-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 12px; }
.thumbs li { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; display: block; margin-bottom: 6px; }
.danger-zone { border-color: #f5c2bd; }

/* ---------- cenník ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue); }
.price-card .amount { font-size: 1.8rem; font-weight: 800; margin: 6px 0 2px; }
.price-card ul { padding-left: 18px; margin: 10px 0 16px; flex: 1; }
.price-card form, .price-card .btn { margin-top: auto; }
.free-list { columns: 2; padding-left: 18px; }

/* ---------- tabuľky ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #f7f8fb; font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- texty (právne, blog, faq) ---------- */
.prose { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 26px; max-width: 860px; }
.prose h2 { margin-top: 1.6em; font-size: 1.2rem; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: .35em; }
.prose table { margin: 10px 0 16px; border: 1px solid var(--border); }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; }
.faq details > div { padding: 0 16px 14px; }
.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-list li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; }
.blog-list h2 { margin: 0 0 4px; font-size: 1.15rem; }

/* ---------- pätička ---------- */
.site-footer { background: var(--navy); color: #c9d3e6; padding: 30px 0 14px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--blue-bright); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 22px; }
.footer-h { font-size: .95rem; color: #fff; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 5px; }
.site-footer address { font-style: normal; }
.footer-word { height: 18px; width: auto; margin-bottom: 8px; }
.footer-claim { color: #c9d3e6; }
.footer-bottom { border-top: 1px solid #1d2b45; margin-top: 18px; padding-top: 12px; font-size: .875rem; }
.footer-bottom p { margin: 0; }

/* ---------- cookie lišta ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 2px solid var(--blue); box-shadow: 0 -6px 22px rgba(2, 11, 29, .15); padding: 12px 0; }
.cookie-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cookie-row p { margin: 0; font-size: .95rem; }

/* ---------- admin ---------- */
.admin-bar { background: #3a0a0a; color: #fff; padding: 8px 0; font-size: .9rem; }
.admin-bar a, .admin-bar button { color: #fff; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; list-style: none; padding: 0; }
.admin-nav a { display: block; padding: 8px 12px; border-radius: 6px; background: #fff; border: 1px solid var(--border); text-decoration: none; font-weight: 600; }
.admin-nav a[aria-current] { background: var(--blue); color: #fff; border-color: var(--blue); }
.bar-chart { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.bar-chart div { flex: 1; background: var(--blue); border-radius: 2px 2px 0 0; min-height: 1px; }
.code { font-family: ui-monospace, Menlo, Consolas, monospace; background: #f1f3f7; padding: 3px 7px; border-radius: 4px; word-break: break-all; }

/* ---------- mobil ---------- */
@media (max-width: 900px) {
  .search-layout, .profile-layout, .account-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; margin-bottom: 10px; }
  .contact-box { position: static; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-grid, .steps, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 1.35rem; }
  .hero { padding: 20px 16px; }
  .hero h1 { font-size: 1.4rem; }
  .hero-search { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .role-choice { grid-template-columns: 1fr; }
  .item { grid-template-columns: 76px 1fr; }
  .item-photo { width: 76px; height: 76px; }
  .item-side { grid-column: 1 / -1; text-align: left; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
  .profile-head { grid-template-columns: 1fr; }
  .profile-photo { width: 120px; height: 120px; }
  .facts { grid-template-columns: 1fr; gap: 0; }
  .facts dd { margin-bottom: 8px; }
  .cookie-row { flex-direction: column; align-items: stretch; }
  .free-list { columns: 1; }
  .nav-links a { padding: 12px 8px; }
  .brand-word { height: 15px; }
  .prose { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.profile-sub { font-size: 1.05rem; }
.profile-rate { font-size: 1.25rem; margin: 6px 0; }
.fig { margin: 0; }
.item-job { grid-template-columns: 1fr auto; }
.align-end { display: flex; align-items: flex-end; }
@media (max-width: 640px) { .item-job { grid-template-columns: 1fr; } }
.bar-chart .h-0 { height: 1%; }
.bar-chart .h-1 { height: 5%; }
.bar-chart .h-2 { height: 10%; }
.bar-chart .h-3 { height: 15%; }
.bar-chart .h-4 { height: 20%; }
.bar-chart .h-5 { height: 25%; }
.bar-chart .h-6 { height: 30%; }
.bar-chart .h-7 { height: 35%; }
.bar-chart .h-8 { height: 40%; }
.bar-chart .h-9 { height: 45%; }
.bar-chart .h-10 { height: 50%; }
.bar-chart .h-11 { height: 55%; }
.bar-chart .h-12 { height: 60%; }
.bar-chart .h-13 { height: 65%; }
.bar-chart .h-14 { height: 70%; }
.bar-chart .h-15 { height: 75%; }
.bar-chart .h-16 { height: 80%; }
.bar-chart .h-17 { height: 85%; }
.bar-chart .h-18 { height: 90%; }
.bar-chart .h-19 { height: 95%; }
.bar-chart .h-20 { height: 100%; }
.featured-msg { border-left: 4px solid var(--danger); }
.item-title a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.flash-warn { background: var(--warn-bg); color: var(--warn); border-color: #f0d6a8; }
/* mobil: nič nesmie pretekať do strany */
.search-layout > *, .profile-layout > *, .account-layout > *, .item > div, .two-col > * { min-width: 0; }
.item-desc, .item-meta, .desc { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .nav-row { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .nav-links { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .results-head { flex-direction: column; align-items: stretch; }
  .sort-form { flex-wrap: wrap; }
  .sort-form select { flex: 1; }
  .header-row { flex-wrap: wrap; padding: 8px 16px; }
}
