@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans-400.woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans-600.woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans-700.woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --canvas: #f8fafc;
  --paper: #fff;
  --ink: #0f172a;
  --muted: #52616f;
  --green: #16694f;
  --line: #dfe6e8;
  --soft: #edf4f1;
  color: var(--ink);
  background: var(--canvas);
  font:
    15px/1.5 'DM Sans',
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body,
p,
h1,
h2,
h3 {
  margin: 0;
}
.wrap {
  width: min(1100px, calc(100% - 80px));
  margin-inline: auto;
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
button,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
select {
  font-size: 13px;
  border: 1px solid var(--line);
  background: white;
  padding: 9px 12px;
  border-radius: 4px;
  max-width: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
:focus-visible {
  outline: 3px solid #278060;
  outline-offset: 3px;
}
.strip {
  height: 5px;
  background: linear-gradient(
    to right,
    #10b981 0 16.67%,
    #a3e635 16.67% 33.33%,
    #f59e0b 33.33% 50%,
    #ef4444 50% 66.67%,
    #8b5cf6 66.67% 83.33%,
    #6366f1 83.33%
  );
}
header {
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 77px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
}
.brand img {
  width: 86px;
  height: 54px;
  object-fit: contain;
}
nav,
.jump,
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
nav a {
  font-size: 13px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
nav a:hover,
.jump a:hover,
.links a:hover {
  text-decoration: underline;
}
.intro {
  padding: 25px 0 32px;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 25px;
}
.crumb b {
  font-weight: 400;
}
.crumb span {
  color: #92a0a8;
}
.intro-row,
.summary-head,
.chart-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font:
    11px/1.5 'DM Sans',
    sans-serif;
  color: var(--green);
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  line-height: 1.16;
}
h1 {
  font-size: 44px;
  letter-spacing: -1.3px;
  margin: 7px 0 12px;
}
h2 {
  font-size: 28px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 21px;
}
.lead,
.city-picker label,
.stations p,
footer p {
  color: var(--muted);
  font-size: 14px;
}
.snapshot {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 12px;
  color: var(--muted);
  font:
    10px/1.6 'DM Sans',
    sans-serif;
  white-space: nowrap;
}
.city-picker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}
.city-picker select {
  width: 195px;
}
.overview {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  background: var(--paper);
}
.summary {
  padding: 31px 34px;
}
.summary-head select {
  width: min(57%, 240px);
}
.status {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 29px 4px 9px;
}
.dial {
  --band: #c3cbd0;
  flex: none;
  width: 124px;
  height: 124px;
  border: 5px solid var(--band);
  outline: 1px solid #dce4df;
  outline-offset: 6px;
  border-radius: 50%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
}
.dial strong {
  font:
    600 60px/1 'DM Sans',
    sans-serif;
  letter-spacing: -3px;
}
.dial small,
.status-copy #when {
  font:
    9px/1.55 'DM Sans',
    sans-serif;
  color: var(--muted);
}
.status-copy h2 {
  font-size: 32px;
}
.status-copy p {
  margin: 7px 0 10px;
  font-size: 14px;
  color: var(--muted);
}
.measure {
  border-left: 1px solid var(--line);
  background: var(--soft);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.pair > div {
  display: grid;
  gap: 3px;
}
.pair > div + div {
  border-left: 1px solid #cfdbd7;
  padding-left: 20px;
}
.pair span,
.pair small {
  color: var(--muted);
}
.pair strong {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.pair small {
  font-size: 12px;
}
.measure > a,
.links a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.jump {
  padding: 18px 0 34px;
  border-bottom: 1px solid var(--line);
}
.jump a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.content,
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
}
.content {
  padding: 28px 0 38px;
}
.stations {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.stations h2 {
  margin: 6px 0 14px;
}
.stations p {
  margin: 8px 0;
}
.chart-tools {
  margin: 13px 0 8px;
}
.switch {
  display: flex;
  gap: 4px;
}
.switch button,
#refresh {
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 13px;
}
.switch [aria-pressed='true'] {
  background: var(--green);
  color: white;
}
#coverage,
#range,
summary {
  font-size: 13px;
  color: var(--muted);
}
#chart svg {
  display: block;
  width: 100%;
  height: auto;
}
#range {
  margin: 6px 0 12px;
}
details,
th,
td {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  padding: 10px 0;
  color: var(--green);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
td,
th {
  padding: 5px 2px;
  text-align: left;
}
td:last-child,
th:last-child {
  text-align: right;
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 35px;
}
.footer-inner {
  grid-template-columns: 1fr 2fr;
}
footer p {
  margin: 8px 0;
  font-size: 13px;
}
#refreshStatus {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .header-inner {
    height: 65px;
    gap: 10px;
  }
  .brand img {
    width: 64px;
    height: 40px;
  }
  nav {
    gap: 8px 12px;
  }
  nav a {
    font-size: 11px;
  }
  .intro {
    padding: 18px 0 20px;
  }
  .crumb {
    margin-bottom: 16px;
  }
  .intro-row {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  h1 {
    font-size: 35px;
    margin: 7px 0;
  }
  .snapshot {
    font-size: 9px;
    padding: 4px 8px;
  }
  .snapshot br {
    display: none;
  }
  .snapshot span:before {
    content: ' · ';
  }
  .city-picker {
    margin-top: 12px;
  }
  .overview,
  .content,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .summary {
    padding: 19px;
  }
  .status {
    gap: 21px;
    margin: 22px 4px 9px;
  }
  .dial {
    width: 89px;
    height: 89px;
    outline-offset: 4px;
  }
  .dial strong {
    font-size: 44px;
  }
  .status-copy h2 {
    font-size: 25px;
  }
  .measure {
    padding: 18px 20px;
    border: 0;
    border-top: 1px solid var(--line);
    gap: 12px;
  }
  .pair strong {
    font-size: 26px;
  }
  .jump {
    padding: 12px 0 21px;
  }
  .content,
  .footer-inner {
    gap: 22px;
  }
  .stations {
    border: 0;
    padding: 0;
  }
  .summary-head {
    gap: 8px;
  }
  .summary-head select {
    width: 57%;
  }
}

/* Match the font families actually rendered by the production Croatian city page. */
html[data-font='hr'] h1,
html[data-font='hr'] h2 {
  font-family: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
}
html[data-font='hr'] h3,
html[data-font='hr'] .eyebrow,
html[data-font='hr'] .snapshot,
html[data-font='hr'] .dial small,
html[data-font='hr'] .status-copy #when {
  font-family: 'DM Sans', system-ui, sans-serif;
}
html[data-font='hr'] .eyebrow {
  font-weight: 700;
}
.preview-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
}
.preview-controls .city-picker {
  margin: 0;
}
.type-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}
.type-picker label {
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 760px) {
  .preview-controls {
    justify-content: flex-start;
    margin-top: 12px;
  }
}
nav a[aria-current],
.city-links a[aria-current] {
  color: #12513b;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}
.city-links a {
  font-weight: 600;
}
.station-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.station-form button,
.switch a {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  padding: 6px 10px;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
}
.switch a[aria-current] {
  background: var(--green);
  color: white;
}
.station-list {
  list-style: none;
  padding: 0;
}
.station-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.station-list li small {
  white-space: nowrap;
}
.missing {
  color: #586774;
}
.stale {
  font-weight: 700;
  color: #895113;
}
.pair small {
  display: block;
}
.history svg {
  width: 100%;
  height: auto;
}
.intro nav {
  font-size: 15px;
}
.strip {
  min-height: 5px;
}
.status-copy time {
  font-size: 13px;
  color: var(--muted);
}
.summary-head {
  flex-wrap: wrap;
}
.summary-head select {
  width: auto;
}
.links {
  font-size: 13px;
}
.status-copy p {
  margin: 5px 0;
}
.status {
  align-items: center;
}
.national {
  padding: 3rem 0 2rem;
  max-width: 760px;
}
.national .lead,
.country-method p,
.city-grid p {
  font-size: 1rem;
  line-height: 1.6;
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
  margin: 18px 0 38px;
}
.city-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}
.city-grid article h2 {
  margin-bottom: 10px;
}
.country-method {
  max-width: 740px;
  padding-bottom: 38px;
}
.country-method p {
  margin-top: 10px;
}
.city-search:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.city-search input {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.45rem 0.65rem;
  max-width: 100%;
}
.city-search small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.city-grid article h2 {
  font-size: 1.28rem;
}
.city-grid article {
  padding: 15px 20px;
}
.archive {
  font-size: 13px;
  color: #775123;
}
.pilot-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 18px;
  margin-bottom: 34px;
}
.pilot-pair article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 24px;
}
.pilot-pair article:nth-child(2) {
  background: var(--soft);
}
.pilot-pair h2,
.pilot-pair p {
  margin: 0 0 12px;
}
.pilot-pair strong {
  font-size: 2.8rem;
}
.main-nav {
  gap: 7px 20px;
}
.main-nav a[aria-current] {
  text-decoration-thickness: 2px;
}
.feature-wrap {
  padding-bottom: 40px;
}
.feature-intro {
  max-width: 860px;
}
.feature-intro .lead {
  max-width: 700px;
}
.feature-tools {
  display: flex;
  align-items: end;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.feature-tools label {
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.feature-tools button,
.action-link {
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 5px;
  padding: 9px 15px;
}
#station-map {
  height: clamp(340px, 53vh, 620px);
  z-index: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e7f1ef;
}
.map-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0;
}
.map-status {
  font-size: 13px;
  color: var(--muted);
}
.map-directory ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
  gap: 6px 22px;
}
.map-directory li {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.map-directory li[hidden] {
  display: none;
}
.map-directory li span,
.byline,
.method {
  font-size: 13px;
  color: var(--muted);
}
.method {
  margin-top: 18px;
}
.forecast-panel,
.story-card {
  padding: clamp(20px, 4vw, 36px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 24px;
}
.forecast-panel h2,
.story-card h2 {
  margin: 8px 0;
}
.forecast-panel p {
  color: var(--muted);
}
.forecast-now {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 22px 0;
  gap: 11px;
}
.forecast-now strong,
.forecast-now span {
  display: block;
}
.forecast-now strong {
  font-size: clamp(22px, 4vw, 36px);
}
.forecast-now span {
  color: var(--muted);
}
#hour-control:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
#hour-control input {
  accent-color: var(--green);
  width: min(440px, 92%);
}
.forecast-table table {
  margin-top: 10px;
  max-width: 850px;
}
.forecast-table th:not(:first-child),
.forecast-table td {
  text-align: right;
}
.forecast-table tbody th {
  font-weight: 400;
}
.story {
  max-width: 720px;
}
.story p,
.story-card p {
  font-size: 16px;
  line-height: 1.68;
  margin: 0.6rem 0 1.5rem;
}
.story section {
  margin: 24px 0;
}
.story-card {
  max-width: 810px;
}
.home-shortcuts {
  display: flex;
  gap: 12px 22px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.home-shortcuts a {
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 520px) {
  .header-inner {
    height: auto;
    min-height: 65px;
    gap: 9px;
  }
  .main-nav {
    gap: 5px 11px;
    justify-content: flex-end;
  }
  .main-nav a {
    font-size: 12px;
  }
  .forecast-now {
    grid-template-columns: repeat(2, 1fr);
  }
}
.home-heading,
.city-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.city-actions {
  justify-content: flex-start;
  margin: 0 0 18px;
}
.city-actions a {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 5px;
}
.home-city .home-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
}
.home-station,
.home-local {
  color: var(--muted);
}
.home-city .home-local {
  font-size: 12px;
  margin-top: 8px;
}
.home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 22px;
  margin-bottom: 32px;
}
.home-features > div {
  border-top: 2px solid var(--green);
  padding-top: 14px;
}
.home-features p {
  margin-top: 8px;
}
.map-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.home-shortcuts {
  padding-bottom: 22px;
}
/* Shared KZ portal shell, matching the Croatian header, search and city scale. */
:root {
  --kz-accent: #50ad83;
  --kz-soft: #f1f5f9;
  --kz-shadow: 0 4px 7px -3px #17212c33;
  --kz-font: ui-serif, Georgia, Cambria, 'Times New Roman', serif;
}
html[data-theme='dark'] {
  --canvas: #060b18;
  --paper: #0e1729;
  --ink: #edf3fa;
  --muted: #aebdcd;
  --green: #69c69a;
  --line: #29384b;
  --soft: #122433;
  --kz-soft: #111d30;
  color-scheme: dark;
}
html[data-theme='dark'] select,
html[data-theme='dark'] input,
html[data-theme='dark'] button,
html[data-theme='dark'] .switch a {
  background: var(--paper);
  color: var(--ink);
}
html[data-theme='dark'] .switch a[aria-current] {
  background: var(--green);
  color: #061a12;
}
.edition-shell,
.feature-shell {
  background:
    radial-gradient(ellipse 56% 35rem at 50% 3rem, #50ad830e, transparent),
    var(--canvas);
  min-height: 100vh;
}
.edition-shell .wrap,
.feature-shell .wrap,
.kz-header .wrap,
.kz-footer .wrap {
  max-width: 1024px;
  width: calc(100% - 44px);
}
.brand-dark {
  display: none !important;
}
html[data-theme='dark'] .brand-dark {
  display: block !important;
}
html[data-theme='dark'] .brand-light {
  display: none;
}
.kz-icon {
  width: 17px;
  height: 17px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.kz-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: color-mix(in srgb, var(--canvas) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.kz-header .header-inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 68px;
  min-height: 0;
  gap: 23px;
}
.kz-header .brand {
  margin-right: auto;
}
.kz-header .brand img,
.kz-footer .brand img {
  width: 80px;
  height: 48px;
  object-fit: contain;
}
.desktop-nav,
.right-nav,
.desktop-nav > details > summary {
  display: flex;
  align-items: center;
}
.desktop-nav {
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}
.desktop-nav > a,
.desktop-nav summary {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.desktop-nav a[aria-current] {
  text-decoration: none;
  color: var(--ink);
}
.desktop-nav a:hover {
  color: var(--kz-accent);
}
.right-nav {
  gap: 15px;
}
.right-nav .header-city select {
  border: 0;
  border-radius: 0;
  padding: 4px;
  max-width: 130px;
  font:
    600 12px 'DM Sans',
    sans-serif;
  color: var(--ink);
  background: transparent;
}
.toggle-theme,
.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--canvas);
  color: #6997bb;
}
.my-city {
  background: var(--kz-accent);
  color: #09281c;
  border-radius: 8px;
  padding: 6px 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.my-city .kz-icon {
  width: 14px;
}
.drop {
  position: relative;
  border: 0;
}
.drop summary {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  border: 0;
}
.drop summary::-webkit-details-marker {
  display: none;
}
.drop summary .kz-icon {
  width: 14px;
}
.drop > div {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 168px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--kz-shadow);
  border-radius: 10px;
  padding: 7px;
  z-index: 35;
}
.drop > div a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  font-size: 14px;
}
.drop > div a:hover {
  background: var(--soft);
  border-radius: 5px;
}
.mobile-menu {
  display: none;
}
.kz-kicker {
  font:
    700 12px/1.4 'DM Sans',
    sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}
.kz-home-hero {
  text-align: center;
  padding: 26px 0 48px;
}
.kz-home-hero h1 {
  font-family: var(--kz-font);
  color: var(--ink);
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  line-height: 1.17;
  letter-spacing: 0;
  margin: 9px 0 20px;
}
.kz-home-hero h1 span {
  display: block;
  margin-top: 6px;
  color: var(--kz-accent);
}
.kz-subtitle {
  max-width: 750px;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 auto 25px;
}
.hero-search {
  position: relative;
  max-width: 448px;
  margin: 0 auto 32px;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 0 16px;
  height: 56px;
  background: var(--kz-soft);
  box-shadow: var(--kz-shadow);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
}
.hero-search input {
  background: transparent !important;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  font: inherit;
  height: 100%;
  padding: 0;
  border: 0;
  outline-offset: 2px;
}
.hero-search ul {
  position: absolute;
  z-index: 16;
  top: calc(100% + 5px);
  left: -1px;
  right: -1px;
  background: var(--paper);
  padding: 4px 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--kz-shadow);
  max-height: 245px;
  overflow: auto;
  text-align: left;
}
.hero-search li a,
.hero-search li[aria-disabled] {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
}
.hero-search li a:hover,
.hero-search li[aria-selected='true'] {
  background: var(--soft);
}
.kz-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: auto;
  max-width: 576px;
}
.kz-stats a {
  background: var(--kz-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--kz-shadow);
  padding: 18px 8px;
  color: var(--ink);
}
.kz-stats a > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.kz-stats .kz-icon {
  color: var(--kz-accent);
  width: 20px;
  height: 20px;
}
.kz-stats strong {
  font-size: 29px;
  line-height: 1.3;
}
.kz-stats small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}
.kz-rankings,
.kz-latest {
  padding: 35px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 24px;
}
.section-title .kz-kicker {
  color: var(--kz-accent);
}
.section-title h2 {
  font: 700 clamp(22px, 3vw, 27px) / 1.2 var(--kz-font);
  margin: 4px 0 0;
  letter-spacing: 0;
}
.rank-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.rank-card,
.reader-card,
.home-tools > div,
.city-measures {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 2px 5px #3140500a;
}
.rank-card {
  display: block;
  position: relative;
  overflow: hidden;
  padding: 12px 13px;
  color: var(--ink);
  text-decoration: none;
  min-height: 95px;
}
.rank-card:not(.rank-all)::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--card-accent, #cad4d8);
}
.rank-town {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.rank-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0;
}
.rank-content b {
  color: var(--card-accent, var(--muted));
  font-size: 25px;
}
.rank-word {
  display: block;
  font-size: 13px;
}
.rank-content small,
.home-station,
.rank-source {
  display: block;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.35;
}
.rank-all {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--kz-accent);
}
.rank-source {
  margin-top: 9px;
}
.home-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.home-tools > div,
.reader-card {
  padding: 20px;
}
.home-tools h2,
.reader-card h3 {
  font: 700 22px/1.25 var(--kz-font);
  margin: 0 0 9px;
}
.reader-card {
  max-width: 770px;
  margin: auto;
}
.reader-card p {
  margin: 0.75rem 0;
}
.reader-card small {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.09em;
}
.kz-footer {
  margin-top: 24px;
  background: var(--kz-soft);
  border-top: 1px solid var(--line);
  padding: 32px 0 18px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.footer-cols h3 {
  font:
    700 11px 'DM Sans',
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.footer-cols > div > a:not(.brand) {
  display: block;
  margin: 6px 0;
}
.footer-legal {
  margin: 18px auto 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.city-shell {
  background:
    radial-gradient(
      ellipse 48% 35rem at 50% 48px,
      color-mix(in srgb, var(--city-accent) 10%, transparent),
      transparent
    ),
    var(--canvas);
}
.kz-city-hero {
  text-align: center;
  padding: 24px 0 26px;
}
.kz-city-hero h1 {
  font: 700 clamp(43px, 6.4vw, 76px) / 1.07 var(--kz-font);
  margin: 8px 0 14px;
  letter-spacing: -1.7px;
}
.kz-city-hero h1 em {
  font-style: normal;
  color: var(--city-accent);
}
.kz-city-hero h1 small {
  display: block;
  font: 400 clamp(24px, 3.1vw, 38px) / 1.25 var(--kz-font);
  color: var(--muted);
  letter-spacing: -0.7px;
  margin-top: 4px;
}
.kz-city-hero .station-form {
  justify-content: center;
}
.kz-city-hero select {
  width: auto;
  border-radius: 24px;
  padding: 8px 16px;
  background: var(--canvas);
}
.js-station button {
  display: none;
}
.kz-orb {
  width: clamp(181px, 22vw, 250px);
  height: clamp(181px, 22vw, 250px);
  margin: 46px auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--city-accent);
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--city-accent) 30%, transparent),
    color-mix(in srgb, var(--city-accent) 14%, var(--paper))
  );
  box-shadow: 0 15px 35px #101d3028;
  color: var(--city-accent);
}
.kz-orb span,
.kz-orb small {
  display: block;
  font:
    700 11px/1.4 'DM Sans',
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.kz-orb strong {
  font: 700 clamp(70px, 8vw, 96px) / 1.07 var(--kz-font);
  margin: 5px 0;
}
.kz-orb small {
  color: var(--ink);
}
.kz-city-hero h2 {
  font:
    700 34px/1.2 'DM Sans',
    sans-serif;
  color: var(--city-accent);
  margin: 0 0 8px;
}
.kz-city-hero .observed-time,
.city-measures p {
  color: var(--muted);
  font-size: 14px;
}
.observed-time time {
  display: inline-block;
}
.city-measures {
  max-width: 690px;
  text-align: center;
  margin: 0 auto 18px;
  padding: 19px;
}
.city-measures h2 {
  font-size: 21px;
}
.city-measures .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 14px auto;
}
.city-measures .pair strong {
  display: block;
  font-size: 26px;
}
.city-actions {
  justify-content: center;
}
#izvor > .footer-inner {
  padding-top: 8px;
}
.feature-shell .feature-intro {
  text-align: center;
  margin: auto;
  padding: 30px 0;
}
.feature-shell .feature-intro .crumb {
  justify-content: center;
}
.feature-shell .feature-intro h1 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.feature-shell .feature-intro .lead {
  margin: 12px auto;
}
@media (max-width: 760px) {
  .edition-shell .wrap,
  .feature-shell .wrap,
  .kz-header .wrap,
  .kz-footer .wrap {
    width: calc(100% - 32px);
  }
  .kz-header .header-inner {
    height: 64px;
    gap: 9px;
  }
  .kz-header .brand img {
    width: 76px;
  }
  .desktop-nav,
  .header-city {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .right-nav {
    gap: 9px;
  }
  .my-city {
    order: -1;
  }
  .mobile-menu summary {
    border: 0;
    color: var(--ink);
  }
  .mobile-menu summary .kz-icon {
    width: 20px;
    height: 20px;
  }
  .kz-home-hero {
    padding: 15px 0 40px;
  }
  .kz-kicker {
    font-size: 10px;
  }
  .kz-home-hero h1 {
    margin: 8px 0 16px;
    line-height: 1.2;
  }
  .kz-subtitle {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 24px;
  }
  .kz-stats {
    gap: 11px;
  }
  .kz-stats a {
    padding: 16px 4px;
  }
  .kz-stats a > div {
    flex-direction: column;
    gap: 9px;
  }
  .kz-stats strong {
    font-size: 21px;
  }
  .kz-stats small {
    font-size: 12px;
    min-height: 30px;
  }
  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .rank-card {
    padding: 11px;
  }
  .kz-rankings {
    padding: 31px 0;
  }
  .home-tools {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cols > div:first-child {
    grid-column: 1/-1;
  }
  .kz-city-hero {
    padding-top: 20px;
  }
  .kz-orb {
    margin: 34px auto 23px;
  }
  .kz-city-hero h2 {
    font-size: 29px;
  }
}
.feature-shell .feature-intro h1 span {
  display: block;
  color: var(--kz-accent);
  margin-top: 5px;
}
.feature-shell .feature-intro {
  padding: 40px 0;
}
.feature-shell .feature-intro h1 {
  font: 700 clamp(32px, 5vw, 56px) / 1.15 var(--kz-font);
}
.map-frame,
.forecast-workspace {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--kz-shadow);
  overflow: hidden;
}
.map-frame .feature-tools,
.forecast-controls {
  padding: 12px 16px;
  background: var(--kz-soft);
  margin: 0;
}
.map-frame .map-legend,
.map-frame .map-status,
.forecast-workspace .map-status {
  padding: 0 15px;
  margin: 8px 0;
}
.map-frame #station-map {
  border-radius: 0;
  border-width: 1px 0;
}
.feature-shell.section-prognoza .feature-wrap {
  max-width: 1440px;
}
.section-prognoza .feature-intro {
  text-align: left;
  padding: 16px 0;
  max-width: 100%;
}
.section-prognoza .feature-intro .crumb {
  display: none;
}
.section-prognoza .feature-intro h1 {
  font: 700 clamp(21px, 2vw, 30px) / 1.2 var(--kz-font);
  margin: 0 0 6px;
}
.section-prognoza .feature-intro .lead {
  font-size: 13px;
  max-width: none;
  margin: 0;
}
.forecast-controls,
.timeline-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.forecast-controls .feature-tools {
  margin: 0;
}
.forecast-controls > label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
}
#model-map {
  height: clamp(320px, 59vh, 660px);
  z-index: 0;
  background: var(--kz-soft);
}
.timeline-bar {
  padding: 10px 15px;
  background: var(--kz-soft);
}
.timeline-bar button {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0;
}
.timeline-bar #hour-control {
  flex: 1;
}
.timeline-bar #hour-control input {
  width: auto;
  flex: 1;
  min-width: 60px;
}
.timeline-bar output {
  font-variant-numeric: tabular-nums;
}
.forecast-panel {
  margin-top: 22px;
}
.section-blog .story-card {
  margin: 0 auto 24px;
  background: var(--paper);
  box-shadow: var(--kz-shadow);
  border-left: 4px solid var(--kz-accent);
  max-width: 690px;
}
@media (max-width: 620px) {
  .section-prognoza .feature-wrap {
    width: calc(100% - 18px);
  }
  .timeline-bar {
    gap: 6px;
    padding: 8px;
  }
  .timeline-bar output {
    font-size: 11px;
  }
  .forecast-controls .feature-tools {
    gap: 5px;
  }
}
.kz-home-hero {
  padding-top: 28px;
}
.kz-home-hero h1 {
  line-height: 1.24;
}
html[data-font='hr'] .kz-city-hero h2 {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: color-mix(in srgb, var(--city-accent) 70%, var(--ink));
}
.kz-city-hero h1 em {
  text-transform: capitalize;
}
.kz-orb strong,
.kz-orb span {
  color: color-mix(in srgb, var(--city-accent) 76%, var(--ink));
}
@media (max-width: 760px) {
  .kz-home-hero {
    padding-top: 17px;
  }
  .kz-home-hero h1 span {
    max-width: 340px;
    text-wrap: balance;
    margin-inline: auto;
  }
  .kz-stats a {
    padding-block: 18px;
  }
}
.guide-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1040/490;
  object-fit: cover;
  border-radius: 8px;
}
.story figure {
  margin: 0 0 20px;
}
.story figcaption {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0;
}
.story-card .guide-cover,
.reader-card .guide-cover {
  margin-bottom: 16px;
}
.reader-card {
  overflow: auto;
}
@media (min-width: 700px) {
  .reader-card .guide-cover {
    width: 40%;
    float: left;
    margin: 0 22px 0 0;
  }
  .section-blog .story-card {
    max-width: 570px;
  }
}

.archive-grid { max-width: 54rem; margin-block: 1.5rem; }
.archive-grid table { width: 100%; font-variant-numeric: tabular-nums; }
.archive-grid caption { text-align: left; font-weight: 700; padding-block: .7rem; }
.archive-grid th, .archive-grid td { text-align: left; }
.archive-grid details { margin-block: 1rem; }
.story img { max-width: 100%; height: auto; }

.archive-filters label, .archive-filters select { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .archive-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
  .archive-filters label { display: grid; gap: .25rem; }
  .archive-filters label:first-child { grid-column: 1 / -1; }
  .archive-filters select { width: 100%; }
}

.section-karta.feature-shell .feature-wrap.wrap { width:100%; max-width:none; margin:0; padding:0; }
.air-map { height:calc(100vh - var(--map-chrome, 76px)); height:calc(100dvh - var(--map-chrome, 76px)); min-height:260px; display:grid; grid-template-rows:auto minmax(0,1fr) auto; }
.air-map-tools, .air-map-foot { display:flex; align-items:center; gap:.65rem; padding:.6rem clamp(.75rem,3vw,2rem); }
.air-map-tools { border-bottom:1px solid var(--line); }
.air-map-tools h1 { margin:0 auto 0 0; font-weight:700; line-height:1.1; font-size:clamp(1.1rem,2.4vw,1.55rem); }
.air-map-tools h1 small { font:400 .75rem/1.2 sans-serif; white-space:nowrap; }
.air-map-tools label { font-size:.9rem; font-weight:600; }
.air-map-tools select { min-width:0; width:clamp(9rem,24vw,17rem); max-width:52%; min-height:42px; }
.air-map #station-map { width:100%; height:100%; min-height:0; border:0; border-radius:0; }
.air-map-foot { position:relative; z-index:1; flex-wrap:wrap; justify-content:space-between; font-size:.85rem; }
.air-map-foot p { margin:0; }
.air-map-foot .map-legend { padding:.65rem; position:absolute; left:.5rem; bottom:100%; max-width:calc(100vw - 1rem); background:var(--bg,#fff); border:1px solid var(--line); border-radius:.5rem; }
.air-map-foot summary { cursor:pointer; font-weight:650; }
.section-karta .map-directory { margin:1.25rem clamp(1rem,4vw,3rem); }
@media (max-width:480px){.air-map-tools {gap:.4rem}.air-map-tools label { position:absolute; width:1px; height:1px; clip-path:inset(50%); overflow:hidden; }.air-map-tools select{max-width:54%}}

[data-privacy-settings] { display:block; color:inherit; background:none; border:0; padding:0; text-decoration:underline; text-align:left; cursor:pointer; font:inherit; }
.privacy-choice[hidden], [data-privacy-settings][hidden] { display:none; }
.privacy-choice { position:fixed; z-index:1010; right:1rem; bottom:max(1rem,env(safe-area-inset-bottom)); width:min(23rem,calc(100% - 2rem)); background:#fff; color:#183b30; border:1px solid #b9ccbf; border-radius:10px; padding:1rem 1.1rem; box-shadow:0 4px 24px #0b281f29; }
.privacy-choice p { font:inherit; font-size:.9rem; line-height:1.45; color:inherit; margin:.3rem 0 .75rem; }
.privacy-choice p a { color:#20503f; text-decoration:underline; }
.privacy-choice div { display:flex; gap:.6rem; }
.privacy-choice button { background:white; color:#173e30; border:1px solid #789485; padding:.45rem 1rem; border-radius:6px; font:inherit; font-weight:600; cursor:pointer; flex:1; }
@media(max-width:800px){.studio .privacy-choice {bottom:calc(4.3rem + env(safe-area-inset-bottom));}}

.station-picker { display:inline-flex; position:relative; min-width:0; max-width:100%; align-items:center; }
.station-form .station-picker select, .archive-filters .station-picker select { width:100%; max-width:100%; min-width:0; appearance:none; -webkit-appearance:none; padding:.55rem 2.55rem; text-overflow:ellipsis; line-height:1.35; min-height:42px; }
.station-picker > .kz-icon { position:absolute; top:50%; transform:translateY(-50%); width:16px; height:16px; pointer-events:none; }
.station-picker > .kz-icon:first-child {left:.85rem;color:var(--green,#187453);}
.station-picker > .kz-icon:last-child {right:.85rem;color:var(--muted,#465951);}
@media (forced-colors:active){.station-form .station-picker select{appearance:auto;padding-inline:.75rem}.station-picker > .kz-icon{display:none}}

.history-trends { --trend-ink:#0d9c70; --trend-text:#15372b; width:100%; max-width:68rem; margin:2rem auto; color:var(--trend-text); }
.history-trends[data-pollutant=pm10] { --trend-ink:#679a19; }
.trend-intro{text-align:center;margin:0 0 1.25rem}
.trend-intro h2{font:700 clamp(1.65rem,3vw,2.35rem)/1.12 var(--s-serif,Georgia,serif);color:inherit;margin:0}
.trend-intro p{margin:.45rem 0 0;font-size:.95rem}
.trend-card { background:#fff; color:#173a2d; border:1px solid #d8e1db; border-radius:18px; padding:clamp(.75rem,2vw,1.5rem); box-shadow:0 4px 20px #192e2208; }
.trend-controls {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem; padding-bottom:1rem;border-bottom:1px solid #e1e6e2}
.trend-controls nav {display:inline-flex;gap:.25rem;align-items:center}
.trend-controls nav:last-child{background:#f1f4f2;border-radius:10px;padding:3px;gap:0}
.trend-controls a {display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 .85rem;color:#374d40;background:#f1f4f2;border-radius:9px;font-size:.83rem;font-weight:700;line-height:1;text-decoration:none}
.trend-controls a[aria-current=true]{background:#a6e83e;color:#18301e;text-decoration:none}
.trend-card .trend-label {margin:1rem 0 .9rem;font-size:.84rem;color:#41574b}
.trend-label span{white-space:normal}
.trend-graph{display:grid;grid-template-columns:2.2rem minmax(0,1fr);grid-template-rows:clamp(260px,32vw,390px) 1.55rem;gap:.45rem .6rem}
.trend-y,.trend-x{position:relative;color:#53655b;font:600 .72rem/1.2 var(--s-sans,Arial,sans-serif);font-variant-numeric:tabular-nums}
.trend-y span{position:absolute;right:0;transform:translateY(50%)}
.trend-x{grid-column:2}
.trend-x span{position:absolute;top:.2rem;transform:translateX(-50%);white-space:nowrap}
.trend-x span:first-child{transform:none}.trend-x span:last-child{transform:translateX(-100%)}
.trend-plot{position:relative;cursor:crosshair;touch-action:pan-y}
.trend-plot:focus-visible{outline:2px solid #3d7157;outline-offset:3px}
.trend-plot svg{display:block;width:100%;height:100%;overflow:visible}
.trend-gridline{stroke:#dce5df;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}
.trend-line,.trend-dot{stroke:var(--trend-ink);stroke-width:2.8;fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.trend-dot{stroke-width:4}.trend-area{stroke:none}
.trend-reference{position:absolute;left:0;right:0;border-top:1px dashed #d25a51;pointer-events:none}
.trend-reference span{position:absolute;right:2px;top:2px;background:#ffffffd9;color:#b23832;font-size:.62rem;font-weight:650}
.trend-cross{position:absolute;inset-block:0;border-left:1px dashed #53695d;pointer-events:none}
.trend-mark{position:absolute;width:9px;height:9px;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;background:var(--trend-ink);box-shadow:0 0 0 1px var(--trend-ink);pointer-events:none}
.trend-popup{position:absolute;z-index:2;pointer-events:none;width:max-content;max-width:100%;background:#f9fcfa;color:#172c22;border:1px solid #cfdcd3;box-shadow:0 6px 20px #14342620;border-radius:13px;padding:.72rem .85rem;font-variant-numeric:tabular-nums}
.trend-popup time{display:block;font-size:.73rem;font-weight:700;color:#506356;margin-bottom:.42rem}
.trend-popup strong{display:flex;align-items:center;gap:.5rem;font-size:1.06rem;line-height:1.2}
.trend-popup strong i{width:8px;height:8px;border-radius:50%;background:var(--trend-ink)}
.trend-popup.is-missing strong i{background:#87948c}
.trend-popup[hidden],.trend-mark[hidden],.trend-cross[hidden]{display:none}
.trend-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;border-top:1px solid #dde5df;padding-top:1rem;margin:1rem 0 .5rem}
.trend-stats div{min-width:0;border:1px solid #dce5df;border-radius:10px;padding:.6rem .8rem}
.trend-stats dt{font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;color:#53655b;font-weight:650}
.trend-stats dd{margin:.15rem 0 0;font-weight:700;font-size:1.1rem}
.trend-card .trend-coverage{margin:.65rem 0 0;color:#52645a;font-size:.78rem}
.trend-coverage a{color:#285940}
.city-trends{display:block;width:100%;height:680px;border:0}
.embedded-history{margin:0;background:transparent}
.embedded-history .history-trends{margin:0 auto;padding:.5rem 0}
@media(max-width:600px){.trend-controls a{padding:0 .62rem}.trend-controls{padding-bottom:.75rem}.trend-x span:nth-child(even){display:none}.trend-graph{grid-template-columns:1.85rem minmax(0,1fr);grid-template-rows:265px 1.4rem}.trend-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem}.trend-card{border-radius:13px}.city-trends{height:670px}.trend-label span{display:block}}

.map-expand { display:grid; place-items:center; flex:0 0 44px; height:44px; padding:9px; background:transparent; color:inherit; border:1px solid var(--line); border-radius:6px; cursor:pointer; }
.map-expand svg { width:20px; height:20px; }
.air-map:fullscreen, .air-map.is-expanded { background: var(--bg,#fff); width:100%; height:100dvh; }
.air-map.is-expanded {position:fixed; inset:0; z-index:5010;}
.regional-editions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin:0 0 16px}
