@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/vendor/fonts/IBMPlexSans-Regular-Latin1.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/vendor/fonts/IBMPlexSans-Regular-Latin2.woff2') format('woff2');unicode-range:U+0100-017F}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/vendor/fonts/IBMPlexSans-Medium-Latin1.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/vendor/fonts/IBMPlexSans-Medium-Latin2.woff2') format('woff2');unicode-range:U+0100-017F}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/vendor/fonts/IBMPlexSans-SemiBold-Latin1.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/vendor/fonts/IBMPlexSans-SemiBold-Latin2.woff2') format('woff2');unicode-range:U+0100-017F}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/vendor/fonts/IBMPlexMono-Regular-Latin1.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('/vendor/fonts/IBMPlexMono-Regular-Latin2.woff2') format('woff2');unicode-range:U+0100-017F}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/vendor/fonts/IBMPlexMono-Medium-Latin1.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('/vendor/fonts/IBMPlexMono-Medium-Latin2.woff2') format('woff2');unicode-range:U+0100-017F}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url('/vendor/fonts/IBMPlexMono-SemiBold-Latin1.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2212}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url('/vendor/fonts/IBMPlexMono-SemiBold-Latin2.woff2') format('woff2');unicode-range:U+0100-017F}

/* Blog: all rules are scoped so the editorial layout can share pages.css. */
.wrap.blog-page{--blog-ink:var(--paper);--blog-muted:var(--muted);--blog-paper:var(--panel);--blog-rule:var(--line);--blog-accent:var(--signal-ink);max-width:var(--wrap)}
.blog-page .blog-eyebrow{margin:0 0 .75rem;color:var(--blog-accent);font-size:.76rem;font-weight:760;letter-spacing:.13em;text-transform:uppercase}
.blog-page .blog-eyebrow a{color:inherit}
.blog-page .blog-deck{max-width:790px;margin:.8rem 0 0;color:var(--blog-muted);font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.12rem,2vw,1.42rem);line-height:1.55}
.blog-index-head{padding:clamp(2rem,6vw,5rem) 0 clamp(1.8rem,4vw,3.5rem);border-bottom:1px solid var(--blog-rule)}
.blog-index-head h1{max-width:850px;margin:0;font-size:clamp(2.35rem,6vw,5.25rem);line-height:.98;letter-spacing:-.045em}
.blog-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:1.5rem;padding:clamp(2rem,5vw,4rem) 0}
.blog-card{grid-column:span 12;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);overflow:hidden;border:1px solid var(--blog-rule);border-radius:24px;background:var(--panel);box-shadow:var(--shadow)}
.blog-card-image{display:block;min-height:360px;background:#d8d0c1}
.blog-card-image img{width:100%;height:100%;object-fit:cover}
.blog-card-story .blog-card-image{display:flex;align-items:center;background:linear-gradient(90deg,#2076ad 1.12%,#16222e 1.12%)}
.blog-card-story .blog-card-image img{height:auto;object-fit:contain}
.blog-card-copy{display:flex;flex-direction:column;align-items:flex-start;padding:clamp(1.5rem,4vw,3.25rem)}
.blog-card h2{margin:0;font-size:clamp(1.55rem,2.6vw,2.35rem);line-height:1.1;letter-spacing:-.03em;text-wrap:balance}
.blog-card h2 a{color:inherit;text-decoration:none}
.blog-card-copy>p:not(.blog-eyebrow):not(.blog-card-meta){color:var(--blog-muted);font-size:1.07rem;line-height:1.65}
.blog-card-meta{display:flex;gap:.55rem;margin-top:auto;color:var(--blog-muted);font-size:.86rem}
.blog-read{margin-top:1rem;font-weight:720;text-decoration:none}
.blog-hero{display:grid;grid-template-columns:minmax(0,.88fr) minmax(420px,1.12fr);gap:clamp(2rem,5vw,5rem);align-items:center;padding:clamp(2rem,5vw,5rem) 0}
.blog-hero h1{max-width:700px;margin:0;font-size:clamp(2.65rem,4.8vw,4.5rem);line-height:.93;letter-spacing:-.055em}
.blog-byline{display:flex;flex-wrap:wrap;gap:.2rem .55rem;margin:1.5rem 0 0;color:var(--blog-muted);font-size:.9rem}
.blog-byline>span,.blog-byline>time{white-space:nowrap}
.blog-story .blog-hero h1{font-size:clamp(2.1rem,3.3vw,3.15rem);line-height:1.04;letter-spacing:-.035em;text-wrap:balance}
.blog-feature{margin:0;overflow:hidden;border-radius:28px;background:var(--panel);box-shadow:0 24px 60px rgba(24,31,28,.13)}
.blog-feature img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.blog-feature figcaption,.blog-photo figcaption{padding:.75rem 1rem;color:var(--blog-muted);font-size:.78rem;line-height:1.5}
.blog-layout{display:grid;grid-template-columns:190px minmax(0,760px);gap:clamp(2rem,6vw,6rem);justify-content:center;padding:clamp(1rem,3vw,2rem) 0 5rem}
.blog-toc{position:sticky;top:2rem;align-self:start;display:flex;flex-direction:column;gap:.7rem;padding-left:1rem;border-left:2px solid var(--blog-rule);font-size:.82rem}
.blog-toc strong{margin-bottom:.2rem;color:var(--blog-muted);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase}
.blog-toc a{color:var(--blog-muted);text-decoration:none}
.blog-toc a:hover{color:var(--blog-accent)}
.blog-prose{min-width:0;color:var(--blog-ink)}
.blog-prose>p,.blog-prose section>p{font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.05rem,1.7vw,1.18rem);line-height:1.78}
.blog-prose .blog-lead{margin-top:0;font-size:clamp(1.28rem,2.4vw,1.62rem);line-height:1.58}
.blog-prose section{scroll-margin-top:2rem;margin-top:clamp(3rem,7vw,5.5rem)}
.blog-prose h2{margin:0 0 1.15rem;font-size:clamp(1.85rem,4vw,3rem);line-height:1.08;letter-spacing:-.035em}
.blog-callout{margin:2rem 0;padding:clamp(1.4rem,4vw,2.4rem);border:1px solid #d6c5ae;border-radius:20px;background:var(--blog-paper)}
.blog-callout-label{margin:0;color:var(--blog-accent);font-size:.72rem;font-weight:760;letter-spacing:.12em;text-transform:uppercase}
.blog-callout>p:nth-child(2){display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;align-items:baseline;margin:.6rem 0;font-size:clamp(1.25rem,3.4vw,2.15rem)}
.blog-callout>p span{color:var(--blog-muted);font-family:Georgia,"Times New Roman",serif;font-size:.9em;font-style:italic;font-weight:400}
.blog-callout small{color:var(--blog-muted)}
.blog-table-wrap{margin:1.7rem 0;overflow-x:auto;border-block:1px solid var(--blog-rule)}
.blog-table{width:100%;margin:0 auto;border-collapse:collapse;font-size:.92rem}
.blog-table caption{padding:1rem;text-align:left;color:var(--blog-muted);font-size:.8rem}
.blog-table th,.blog-table td{padding:.85rem 1rem;border-top:1px solid var(--blog-rule);text-align:left;white-space:nowrap}
.blog-table thead th{border-top:0;color:var(--blog-muted);font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}
.blog-table tbody th a{color:inherit}
.blog-maplink{font-size:.82rem;font-weight:680;text-decoration:none}
.blog-formula{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;margin:1.5rem 0;padding:1rem;border-left:4px solid var(--blog-accent);background:var(--blog-paper)}
.blog-formula span{font-size:.72rem;font-weight:760;letter-spacing:.1em;text-transform:uppercase}
.blog-formula code{font-size:.9rem;white-space:normal}
.blog-photo{margin:clamp(3rem,7vw,5.5rem) 0 0}
.blog-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:22px}
.blog-aside{margin:2rem 0;padding:1.5rem clamp(1.3rem,3vw,2rem);border:1px solid var(--line-accent);border-radius:18px;background:var(--accent-soft);color:var(--blog-ink)}
.blog-aside h3{margin:0 0 .5rem;font-size:1.25rem}
.blog-aside p{margin:0;color:var(--blog-muted);line-height:1.65}
.blog-action{display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center;margin:2rem 0;padding:clamp(1.5rem,4vw,2.5rem);border-radius:22px;background:var(--blog-paper)}
.blog-action h3{margin:0;font-size:1.45rem}
.blog-action p:not(.blog-eyebrow){margin:.55rem 0 0;color:var(--blog-muted)}
.blog-action.blog-prefer{margin-bottom:0}
.blog-action.blog-prefer h3{margin:0}
.blog-source{padding-top:1.2rem;border-top:1px solid var(--blog-rule);color:var(--blog-muted);font-size:.92rem!important}
.blog-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:820px){
  .blog-card,.blog-hero{grid-template-columns:1fr}
  .blog-card-image{min-height:250px}
  .blog-feature img{aspect-ratio:3/2}
  .blog-layout{grid-template-columns:1fr}
  .blog-toc{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:1rem;border:1px solid var(--blog-rule);border-radius:14px}
  .blog-toc strong{grid-column:1/-1}
  .blog-action{grid-template-columns:1fr}
}
@media(max-width:580px){
  .blog-hero{padding-top:1.5rem}
  .blog-hero h1{font-size:clamp(2.55rem,14vw,4.1rem)}
  .blog-story .blog-hero h1{font-size:clamp(1.9rem,8.5vw,2.6rem)}
  .blog-table-wrap{margin-inline:0}
  .blog-table{width:100%}
  .blog-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .blog-table tr{display:grid;grid-template-columns:1fr 1fr;padding:.8rem 1rem;border-top:1px solid var(--blog-rule)}
  .blog-table th,.blog-table td{padding:.28rem 0;border:0;white-space:normal}
  .blog-table tbody th{grid-column:1/-1;font-size:1.05rem}
  .blog-table td::before{display:block;content:attr(data-label);color:var(--blog-muted);font-size:.65rem;letter-spacing:.07em;text-transform:uppercase}
  .blog-table td:last-child{grid-column:1/-1}
}
@media(prefers-reduced-motion:no-preference){.blog-card{transition:transform .2s ease,box-shadow .2s ease}.blog-card:hover{transform:translateY(-3px);box-shadow:0 20px 48px rgba(26,34,31,.11)}}

.blog-intro{max-width:790px;margin:1rem 0 0;color:var(--blog-muted);font-size:1rem;line-height:1.65}
.blog-story .blog-list{margin:1rem 0 1.4rem;padding-left:1.3rem;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.05rem,1.7vw,1.18rem);line-height:1.7}
.blog-story h3{margin:1.6rem 0 .4rem;font-size:1.2rem}
.blog-bars{margin:1.8rem 0}
.blog-story-photo{margin:1.8rem 0;padding:0}
.blog-story-photo img{display:block;width:100%;height:auto;border-radius:18px;background:var(--panel)}
.blog-story-photo figcaption{margin:.6rem 0 0;color:var(--blog-muted);font-size:.92rem;line-height:1.5}
.blog-bars figcaption{margin-bottom:.6rem;color:var(--blog-muted);font-size:.85rem}
.blog-bartable{width:100%;border-collapse:collapse;font-size:.95rem}
.blog-bartable th,.blog-bartable td{padding:.45rem .6rem .45rem 0;text-align:left;vertical-align:middle}
.blog-bartable th{font-weight:600;width:34%}
.blog-bar-value{white-space:nowrap;font-weight:700;width:1%}
.blog-bar-track{width:40%}
.blog-bar{display:block;height:.8rem;border-radius:4px;background:var(--signal)}
@media(max-width:580px){.blog-bartable th{width:auto}.blog-bar-track{width:28%}}


/* Vodnik: scoped like the blog so the guide layout can share pages.css. */
.wrap.vodnik-page{max-width:var(--wrap)}
.vodnik-head{padding:clamp(1.5rem,4vw,3.5rem) 0 clamp(1.2rem,3vw,2rem);max-width:860px}
.vodnik-eyebrow{margin:0 0 .75rem;color:var(--signal-ink);font-size:.76rem;font-weight:760;letter-spacing:.13em;text-transform:uppercase}
.vodnik-eyebrow a{color:inherit}
.vodnik-head h1{margin:0;font-size:clamp(2rem,4.6vw,3.4rem);line-height:1.04;letter-spacing:-.04em}
.vodnik-answer{margin:1.1rem 0 0;font-size:clamp(1.1rem,2vw,1.32rem);line-height:1.6;color:var(--paper)}
.vodnik-meta{margin:1rem 0 0;color:var(--muted);font-size:.86rem}
.vodnik-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin:0 0 clamp(1.5rem,4vw,2.5rem);padding:0}
.vodnik-facts>div{padding:1rem 1.15rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.vodnik-facts dt{color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.vodnik-facts dd{margin:.35rem 0 0;font-size:1.05rem;font-weight:650;line-height:1.35}
.vodnik-layout{display:grid;grid-template-columns:200px minmax(0,760px);gap:clamp(2rem,5vw,5rem);padding:clamp(.5rem,2vw,1.5rem) 0 4rem}
.vodnik-toc{position:sticky;top:2rem;align-self:start;display:flex;flex-direction:column;gap:.65rem;padding-left:1rem;border-left:2px solid var(--line);font-size:.84rem}
.vodnik-toc strong{margin-bottom:.2rem;color:var(--muted);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase}
.vodnik-toc a{color:var(--muted);text-decoration:none}
.vodnik-toc a:hover{color:var(--signal-ink)}
.vodnik-prose{min-width:0}
.vodnik-prose section{scroll-margin-top:2rem;margin-top:clamp(2.2rem,5vw,3.5rem);padding:0;border:0}
.vodnik-prose section:first-child{margin-top:0}
.vodnik-prose h2{margin:0 0 1rem}
.vodnik-prose h3{margin:1.8rem 0 .6rem;font-size:1.15rem;line-height:1.3}
.vodnik-prose p,.vodnik-prose li{font-size:1.04rem;line-height:1.72}
.vodnik-prose ul,.vodnik-prose ol{padding-left:1.3rem}
.vodnik-prose li+li{margin-top:.35rem}
.vodnik-note{margin:1.4rem 0;padding:1rem 1.2rem;border:1px solid var(--line-accent);border-radius:var(--radius);background:var(--accent-soft)}
.vodnik-table-wrap{margin:1.4rem 0;overflow-x:auto;border-block:1px solid var(--line)}
.vodnik-table{width:100%;max-width:none;border-collapse:collapse;font-size:.94rem}
.vodnik-table td{white-space:normal}
.vodnik-table caption{padding:.8rem 0;text-align:left;color:var(--muted);font-size:.82rem}
.vodnik-table th,.vodnik-table td{padding:.75rem .9rem;border-top:1px solid var(--line);text-align:left;vertical-align:top}
.vodnik-table th:first-child,.vodnik-table td:first-child{padding-left:0}
.vodnik-table thead th{border-top:0;color:var(--muted);font-size:.72rem;letter-spacing:.07em;text-transform:uppercase}
.vodnik-table tbody th{font-weight:650;font-size:inherit;letter-spacing:0;text-transform:none;color:inherit}
.vodnik-picker{margin:clamp(2.2rem,5vw,3.5rem) 0 0;padding:clamp(1.3rem,3vw,2rem);border:1px solid var(--line);border-radius:var(--radius);background:var(--panel)}
.vodnik-index .vodnik-picker{margin-top:0}
.vodnik-picker h3{margin:0;font-size:1.25rem}
.vodnik-picker p{margin:.5rem 0 0;color:var(--muted);line-height:1.6}
.vodnik-picker-form{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1rem}
.vodnik-picker-form input{flex:1 1 220px;min-width:0;padding:.7rem .9rem;border:1px solid var(--line);border-radius:var(--radius-s);background:var(--panel);color:var(--paper);font:inherit}
.vodnik-picker-all{font-size:.9rem}
.vodnik-sources ul{padding-left:1.2rem}
.vodnik-sources li{font-size:.95rem;line-height:1.6}
.vodnik-disclaimer{margin-top:1.2rem;padding-top:1rem;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem!important}
.vodnik-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:.9rem;margin:1.2rem 0 0;padding:0;list-style:none}
.vodnik-cards li{margin:0}
.vodnik-cards a{display:flex;flex-direction:column;gap:.45rem;height:100%;padding:1.1rem 1.2rem;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);color:inherit;text-decoration:none}
.vodnik-cards a:hover{border-color:var(--signal-ink)}
.vodnik-cards strong{font-size:1.02rem;line-height:1.3}
.vodnik-cards span{color:var(--muted);font-size:.88rem;line-height:1.5}
.vodnik-group{margin-top:clamp(2.2rem,5vw,3.5rem);padding:0;border:0}
.vodnik-group h2{margin:0}
.vodnik-group-lead{margin:.4rem 0 0;color:var(--muted)}
.vodnik-index{padding-bottom:4rem}
.vodnik-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:860px){
  .vodnik-layout{grid-template-columns:1fr;gap:1.5rem}
  .vodnik-toc{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:1rem;border:1px solid var(--line);border-radius:var(--radius)}
  .vodnik-toc strong{grid-column:1/-1}
}
@media(max-width:580px){
  .vodnik-toc{grid-template-columns:1fr}
  .vodnik-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .vodnik-table tr{display:block;padding:.7rem 0;border-top:1px solid var(--line)}
  .vodnik-table th,.vodnik-table td{display:block;padding:.2rem 0;border:0}
  .vodnik-table td::before{display:block;content:attr(data-label);color:var(--muted);font-size:.66rem;letter-spacing:.07em;text-transform:uppercase}
}
/* The spatial-act tables on /obcina/<slug>/gradnja/: an act's name is a
   sentence, so the first column wraps where every other table cell does not. */
table.acts td:first-child{white-space:normal;min-width:240px;max-width:520px}

/* Two classes on purpose: pages.css strips the border-top and padding-top of
   every section:first-of-type, and the calculator is often exactly that. */
.vodnik .calc{margin:0 0 clamp(1.5rem,4vw,2.5rem);padding:clamp(1.2rem,3vw,2rem);border:1px solid var(--line-accent);border-radius:var(--radius);background:var(--panel)}
.vodnik .calc h2{margin:0;font-size:var(--fs-h2)}
.calc-lead{margin:.5rem 0 0;color:var(--muted)}
.calc-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.2rem}
.calc-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.86rem;font-weight:600}
.calc-form input:not([type=checkbox]),.calc-form select{min-height:var(--control-h);padding:.55rem .7rem;border:1px solid var(--line);border-radius:var(--radius-s);background:var(--panel);color:var(--paper);font:inherit;font-weight:400}
.calc-types{grid-column:1/-1;margin:0;padding:.9rem 1rem;border:1px solid var(--line);border-radius:var(--radius-s)}
.calc-types legend{padding:0 .4rem;font-size:.86rem;font-weight:600}
.calc-types>div{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem}
.calc-form label.calc-check{flex-direction:row;align-items:center;gap:.45rem;font-weight:400}
.calc-out{margin-top:1.2rem}
.calc-total{margin:0 0 .6rem;font-size:1.15rem}
.calc-total strong{font-size:1.5rem}
.calc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;padding:0}
.calc-grid>div{padding:.8rem 1rem;border:1px solid var(--line);border-radius:var(--radius-s)}
.calc-grid dt{color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.calc-grid dd{margin:.3rem 0 0;font-size:1.2rem;font-weight:650}
.calc-src{margin:.8rem 0 0;color:var(--muted);font-size:.86rem;line-height:1.55}
.calc-result{margin:1.2rem 0 0;padding:1rem 1.2rem;border-radius:var(--radius-s);background:var(--accent-soft)}
.calc-result strong{display:block;font-size:1.15rem}
.calc-sum th,.calc-sum td{font-weight:700}
.calc-out small{color:var(--muted);font-weight:400}
.vodnik .calc-compare{margin:0 0 clamp(1.5rem,4vw,2.5rem);padding:0;border:0}
.vodnik .calc-compare h2{margin:0;font-size:var(--fs-h2)}



/* Chart series. Identical in both themes: they are marks read against a fill,
   not letterforms read against a surface. The five-slot order below was picked
   by running the categorical validator over candidate orderings — worst
   adjacent pair CVD dE 13.0, normal vision 22.7, on both the dark panel and
   white. */
:root{
  color-scheme:light;
  --ink:#f2f5f8; --panel:#ffffff; --panel-2:#e9eef4; --line:#d3dce4;
  --paper:#16222e; --muted:#5b6b7c; --signal:#2076ad; --signal-ink:#1a6493;
  --on-signal:#ffffff; --line-accent:#8ab6d4; --accent-soft:#dcebf5;
  --warn:#a41d33;
  --shadow:0 2px 8px rgba(22,34,46,.10);
  /* Depth, light theme: the resting card and the raised one, and the hairline
     a card on the page ground wears (lighter than --line, which stays the
     rule for tables, inputs and anything that has to read as an edge). */
  --line-soft:#dfe6ed;
  --shadow-1:0 1px 2px rgb(16 32 48 / .05),0 2px 8px rgb(16 32 48 / .04);
  --shadow-2:0 2px 4px rgb(16 32 48 / .06),0 8px 24px rgb(16 32 48 / .08);
  --ring:0 0 0 3px rgba(32,118,173,.22);
  /* Choropleth: same blue hue, light->dark; the lightest step is allowed to
     recede toward the near-white page. cheap(q1) -> dear(q5). */
  --choro-1:#9ec5f4; --choro-2:#5598e7; --choro-3:#256abf; --choro-4:#184f95; --choro-5:#0d366b;
  --choro-0:#c2ccd6; --choro-stroke:rgba(22,34,46,.20);
  --v1:#3d92c8; --v2:#bb863a; --v3:#9085e9; --v4:#008300; --v5:#d55181;
  /* Vertical rhythm, in one place. Every gap between two sections, and the gap
     before the footer, is measured from these — so a sparse page (an alert
     landing, a thank-you, the 404) breathes exactly like a page with twenty
     blocks on it, and a section added later inherits the rhythm without
     anyone remembering to set it. */
  --section-gap:56px;
  --page-end:88px;

  /* The geometry, written down. Every one of these numbers was already on the
     site somewhere; what they were not was a vocabulary, so a card added last
     month picked 13px because 13px looked right beside whatever was open at
     the time, and the map picked 2px because the map was written first.
     Naming them is what stops that drift: 8px is the radius a card, a panel,
     a picture and the search box take, 6px the one a button, a field, a
     select and a tag take, 999px a pill, and 2px is kept only for marks that
     are data (a chart bar, a legend swatch, a skeleton line). Circles are
     reserved for icon buttons and map markers. The spaces are the 4/8/12/16/24/32/48 ladder the layouts were
     already reaching for by eye, and --control-h is the height a button, a
     field and a nav action are supposed to share.

     Adopted rule by rule rather than by a sweep. A token means the same thing
     everywhere it is used, and replacing a hundred literals in one pass would
     have claimed that of a hundred numbers nobody had actually looked at —
     including the ones that are deliberately not on the ladder (the header's
     59px, a chart's 190px plot, the 9px donut stroke). Rules touched here get
     the tokens; the rest keep their literals until somebody has a reason to
     open them. */
  --radius:8px;
  --radius-s:6px;
  --radius-xs:2px;
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px;
  --space-5:24px; --space-6:32px; --space-8:48px;
  --control-h:40px;
  /* Skeletons: the colour of a thing that is not there yet, and the lighter
     band a slow sweep passes across it. Derived from the theme's own tokens, so
     one declaration serves both themes. */
  --skel:var(--panel-2);
  --skel-hi:color-mix(in srgb,var(--panel-2) 45%,var(--panel));
  /* The type scale. Five steps under the headings, and nothing between them:
     11 is for uppercase tracked labels (and the ticks on a chart axis), 12 for
     fine print and table meta, 13 for secondary text and chips, 14 for card
     and table copy, 15 for the running text of a page. Line heights follow the
     role: about 1.55 for a page's own paragraphs, 1.4 inside a card. */
  --fs-label:11px; --fs-fine:12px; --fs-small:13px; --fs-card:14px; --fs-body:15px;
  --fs-h2:clamp(22px,calc(18px + 1vw),28px);
  --lh-body:1.55; --lh-card:1.4;
  /* The layout: one width for the header, the footer and the page (they are
     all .wrap), and one measure for anything that is prose rather than a grid,
     table or chart. 54ch is about 72 characters of this typeface at 15px (its
     zero is wide, so the unit runs a third short of the characters it holds). */
  --wrap:1120px;
  --measure:66ch;
  /* One interaction treatment for the whole site. Anything that answers a
     pointer, a press or a focus does it through the same 160ms curve, moving
     colour, fill, border, shadow and (only for a card that is one whole link)
     position. A card that is not a link never moves. Blue appears on focus, on
     selection and on a primary action rather than as decoration. Switched off
     under prefers-reduced-motion at the foot of this file: emptying --tx
     empties every rule that reads it, and the lift is only declared inside
     the no-preference query. */
  --curve:cubic-bezier(.2,.6,.3,1);
  --ease:160ms var(--curve);
  --tx:color var(--ease),background-color var(--ease),border-color var(--ease),
    box-shadow var(--ease),transform var(--ease);

  --sans:"IBM Plex Sans",ui-sans-serif,system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,"SF Mono",Menlo,monospace;

  /* Six glyphs, as masks rather than images: the fill comes from the element's
     own colour, so one declaration serves both themes and neither needs a
     second file. They are here, in one cached stylesheet, instead of inline in
     eleven thousand table rows. */
  --i-apt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='4.5' y='3' width='15' height='18' rx='1.2'/%3E%3Cpath d='M9 7.5h2M13 7.5h2M9 12h2M13 12h2M10.5 21v-4.2h3V21'/%3E%3C/svg%3E");
  --i-house:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3 11.2L12 4l9 7.2'/%3E%3Cpath d='M5.4 10v10h13.2V10'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E");
  --i-land:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5L11 5.5l9.5 3.5-7.5 3z'/%3E%3Cpath d='M3.5 8.5v7l9.5 3.5 7.5-3v-7'/%3E%3C/svg%3E");
  --i-other:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8'%3E%3Crect x='3.5' y='6' width='17' height='13' rx='1.2'/%3E%3Cpath d='M3.5 10.5h17'/%3E%3C/svg%3E");
  --i-pin:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9'%3E%3Cpath d='M12 21.2c4.4-4.6 6.6-8 6.6-10.6a6.6 6.6 0 10-13.2 0c0 2.6 2.2 6 6.6 10.6z'/%3E%3Ccircle cx='12' cy='10.4' r='2.4'/%3E%3C/svg%3E");
  --i-sort:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 13L2 5h12z'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: light){ :root:not([data-theme="dark"]){ color-scheme:light;
  --ink:#f2f5f8; --panel:#ffffff; --panel-2:#e9eef4; --line:#d3dce4;
  --paper:#16222e; --muted:#5b6b7c; --signal:#2076ad; --signal-ink:#1a6493;
  --on-signal:#ffffff; --line-accent:#8ab6d4; --accent-soft:#dcebf5;
  --warn:#a41d33;
  --shadow:0 2px 8px rgba(22,34,46,.10);
  /* Depth, light theme: the resting card and the raised one, and the hairline
     a card on the page ground wears (lighter than --line, which stays the
     rule for tables, inputs and anything that has to read as an edge). */
  --line-soft:#dfe6ed;
  --shadow-1:0 1px 2px rgb(16 32 48 / .05),0 2px 8px rgb(16 32 48 / .04);
  --shadow-2:0 2px 4px rgb(16 32 48 / .06),0 8px 24px rgb(16 32 48 / .08);
  --ring:0 0 0 3px rgba(32,118,173,.22);
  /* Choropleth: same blue hue, light->dark; the lightest step is allowed to
     recede toward the near-white page. cheap(q1) -> dear(q5). */
  --choro-1:#9ec5f4; --choro-2:#5598e7; --choro-3:#256abf; --choro-4:#184f95; --choro-5:#0d366b;
  --choro-0:#c2ccd6; --choro-stroke:rgba(22,34,46,.20); } }
html[data-theme="light"]{ color-scheme:light;
  --ink:#f2f5f8; --panel:#ffffff; --panel-2:#e9eef4; --line:#d3dce4;
  --paper:#16222e; --muted:#5b6b7c; --signal:#2076ad; --signal-ink:#1a6493;
  --on-signal:#ffffff; --line-accent:#8ab6d4; --accent-soft:#dcebf5;
  --warn:#a41d33;
  --shadow:0 2px 8px rgba(22,34,46,.10);
  /* Depth, light theme: the resting card and the raised one, and the hairline
     a card on the page ground wears (lighter than --line, which stays the
     rule for tables, inputs and anything that has to read as an edge). */
  --line-soft:#dfe6ed;
  --shadow-1:0 1px 2px rgb(16 32 48 / .05),0 2px 8px rgb(16 32 48 / .04);
  --shadow-2:0 2px 4px rgb(16 32 48 / .06),0 8px 24px rgb(16 32 48 / .08);
  --ring:0 0 0 3px rgba(32,118,173,.22);
  /* Choropleth: same blue hue, light->dark; the lightest step is allowed to
     recede toward the near-white page. cheap(q1) -> dear(q5). */
  --choro-1:#9ec5f4; --choro-2:#5598e7; --choro-3:#256abf; --choro-4:#184f95; --choro-5:#0d366b;
  --choro-0:#c2ccd6; --choro-stroke:rgba(22,34,46,.20); }

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ink);color:var(--paper);font-family:var(--sans);
  font-size:var(--fs-body);line-height:var(--lh-body);overflow-x:hidden}
a{color:var(--signal-ink);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:2px solid var(--signal);outline-offset:2px}

/* No field on this site draws a scrollbar. In a box two or three lines tall
   the bar is shorter than the thumb it needs, it appears and disappears as
   somebody types, and on the platforms that draw it permanently it takes a
   character's width off every line. A textarea grows to fit instead (dsGrow
   in /alerts.js), which is why it neither scrolls nor offers a resize grip:
   the box is already the size of what is in it. Past the cap dsGrow puts
   overflow back to auto, so the text still scrolls; it is the bar that is
   hidden, never the scrolling. */
textarea,input{scrollbar-width:none}
textarea::-webkit-scrollbar,input::-webkit-scrollbar{display:none}
textarea{overflow:hidden;resize:none}

/* Room for the admin plan-preview strip, which /alerts.js adds to <html> when
   it paints one. A document that scrolls simply starts lower down; the map
   and the chat carry their own version of this rule, because their layouts
   are pinned to the viewport rather than to the flow. */
html.ds-pv-on body{padding-top:30px}
/* and the sticky header sticks below the strip rather than under it */
html.ds-pv-on .top{top:30px}
/* A map keeps its own stack. Leaflet lifts its panes to 400 and its zoom
   buttons to 1000, MapLibre its controls to 2; isolated, all of that ranks
   as one layer at 0 in the page, so the header (20) and its menus always
   draw over a map in the body. */
.leaflet-container,.maplibregl-map{isolation:isolate}
/* Everything else in the body stays below the header too: 19 is the ceiling
   for page furniture (the chat button, search lists), so the header menus
   and the phone nav sheet draw over them. /subject-picker.js lifts its list
   to 1200 for the bare map page, which has no header; here it comes back. */
body .dssp-list{z-index:15}
.skip{position:absolute;left:-9999px;top:0;background:var(--panel);color:var(--paper);padding:10px 14px;z-index:10}
.skip:focus{left:8px;top:8px}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px;width:100%}

/* Text that stands in for a picture: read aloud, never drawn. */
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* ---- the top navigation ----------------------------------------------- *
 * One 60px row, sticky, with a hairline under it and a shadow that only
 * appears once the page has actually moved (siteNav in /alerts.js adds
 * .ds-lift past 8px). Quiet on purpose: no gradients, and the only two glyphs
 * are the chat's spark and the account's head-and-shoulders.
 *
 * The middle is two disclosure menus and a plain link; the right is either
 * the invitation or, wearing .ds-in, the account pill. Both are in the HTML
 * and the stylesheet chooses, which is why the signed-in state can arrive
 * late without anything moving.
 *
 * Below 900px every one of these rules is overridden at the foot of this
 * file: the panels stop being dropdowns and the whole nav becomes a sheet.
 * ----------------------------------------------------------------------- */
.top{position:sticky;top:0;z-index:20;background:var(--panel);
  border-bottom:1px solid var(--line);transition:box-shadow .18s ease}
.top.ds-lift{box-shadow:var(--shadow)}
/* Fifty-nine and the hairline is sixty: the border is part of the header a
   reader measures, not something added under it. */
.top-in{display:flex;align-items:center;gap:20px;min-height:59px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{display:block;height:40px;width:auto}
.topnav{flex:1 1 auto;display:flex;align-items:center;gap:20px;min-width:0}
/* Auto margins on both sides, so the middle group sits centred in whatever
   the lockup and the right-hand side leave it. */
.navmid{display:flex;align-items:center;gap:20px;margin:0 auto}
.navend{display:flex;align-items:center;gap:16px;flex:0 0 auto}

.navtrig,.navlink{font-size:var(--fs-body);font-weight:500;line-height:1.2;color:var(--paper);
  white-space:nowrap}
.navtrig{display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 2px;
  background:none;border:0;font-family:inherit;cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.navlink{padding:6px 2px}
.navtrig:hover,.navlink:hover{color:var(--signal-ink);text-decoration:none}
.navlink[aria-current=page]{color:var(--signal-ink)}
.navcar{flex:0 0 auto;opacity:.55;transition:transform .16s ease}
.navtrig[aria-expanded=true] .navcar{transform:rotate(180deg)}

.navmenu{position:relative}
/* The heading a phone reads where a desktop reads the button. Drawn only in
   the sheet, but it names its list in both: aria-labelledby takes the text of
   a display:none element, so the panels are titled the way the footer's four
   columns are, and by the same words. */
.navsec{display:none}
.navpanel{display:none;position:absolute;top:calc(100% + 11px);left:50%;transform:translateX(-50%);
  z-index:3;padding:10px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow)}
.navtrig[aria-expanded=true] ~ .navpanel{display:block}
/* The gap between the button and its panel is part of the menu's hover box:
   an invisible strip, so crossing it does not count as leaving. */
.navpanel::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
/* With no script the button is a button that does nothing, so the pointer and
   the keyboard open the panel instead. THEME_SCRIPT puts ds-js on <html> on
   the first parse, so wherever a script did arrive this never applies and
   Escape can really close a panel the pointer is still resting on. */
html:not(.ds-js) .navmenu:hover > .navpanel,
html:not(.ds-js) .navmenu:focus-within > .navpanel{display:block}
.navgrid{display:grid;grid-template-columns:1fr 1fr;gap:2px;margin:0;padding:0;list-style:none;
  width:560px;max-width:calc(100vw - 40px)}
.navpanel-1 .navgrid{grid-template-columns:1fr;width:240px}
/* The account panel hangs off the right edge of its pill rather than being
   centred on it: the pill is the last thing in the row, and a panel centred
   there would run off the page. */
.navme .navpanel{left:auto;right:0;transform:none}
/* The tools panel is too long for one dropdown under its button: it hangs
   from the whole header instead (the sticky .top is the positioned box once
   the menu itself is static), centred on the page, four columns of headed
   lists with the directory along the foot. 100% - 4px puts its top edge where
   the button's own panel used to start. */
.navwide{position:static}
.navwide .navpanel{top:calc(100% - 4px);width:min(1080px,calc(100vw - 40px));
  max-height:calc(100vh - 80px);overflow-y:auto}
.navcols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 16px}
.navgrp + .navgrp{margin-top:14px}
.navgh{display:block;padding:6px 11px 4px;font-size:var(--fs-label);font-weight:600;
  letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.navgrid-g,.navfoot{grid-template-columns:1fr;width:auto;max-width:none}
.navfoot{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.navgrid.navfoot a{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:12px}
.navfoot .navi-d{margin-top:0}
@media (max-width:1100px){.navcols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .navcol:nth-child(n+3){margin-top:14px}}
.navgrid a,.navlogout{display:block;padding:9px 11px;border-radius:var(--radius-s);color:var(--paper);
  text-align:left}
.navgrid a:hover,.navlogout:hover{background:var(--panel-2);text-decoration:none}
.navgrid a[aria-current=page]{background:var(--accent-soft)}
.navi-t{display:flex;align-items:center;gap:6px;font-size:var(--fs-card);font-weight:600;line-height:1.35}
.navi-t svg{flex:0 0 auto;color:var(--signal)}
.navi-d{display:block;margin-top:2px;font-size:var(--fs-small);line-height:1.4;color:var(--muted)}
.navpro{padding:1px 5px;border-radius:var(--radius-s);background:var(--panel-2);color:var(--muted);
  font-size:var(--fs-label);font-weight:700;letter-spacing:.05em;text-transform:uppercase}
/* Quiet by weight rather than by colour: a muted sign-out reads as a disabled
   one, and this is the one control in the menu that always works. */
.navlogout{width:100%;background:none;border:0;font:inherit;font-size:var(--fs-card);font-weight:500;
  color:var(--paper);cursor:pointer}
.navquit{margin-top:4px;padding-top:4px;border-top:1px solid var(--line)}

/* The right-hand side. A visitor is offered the map and a way in; a reader
   the site knows gets their plan and their own things instead. */
/* No height or padding of its own any more: the header's primary action is
   the same button as the pricing card's and the login form's, and it was the
   one that used to be four pixels shorter than all of them. */
.navcta{white-space:nowrap}
.navsign{font-size:var(--fs-body);font-weight:500;color:var(--muted);white-space:nowrap}
.navsign:hover{color:var(--signal-ink);text-decoration:none}
.navme{display:none}
.top.ds-in .navcta,.top.ds-in .navsign{display:none}
.top.ds-in .navme{display:block}
.navpill{gap:8px;padding:3px 4px;border:1px solid var(--line);border-radius:999px;
  background:var(--panel)}
.navpill:hover{border-color:var(--line-accent)}
.navglyph{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;
  flex:0 0 auto;border-radius:50%;background:var(--panel-2);color:var(--paper)}
.navglyph svg{display:block}
/* The plan, in the price list's own escalation: quiet, soft accent, signal. */
.navplan{padding:2px 8px;border-radius:999px;font-size:var(--fs-label);font-weight:700;letter-spacing:.03em;
  white-space:nowrap;background:var(--panel-2);color:var(--muted)}
.navplan[data-plan=standard]{background:var(--accent-soft);color:var(--signal-ink)}
.navplan[data-plan=pro]{background:var(--signal);color:var(--on-signal)}

/* The other language, at the end of the row. The header box is .wrap, so it is
   860px wide at every desktop width and never has to be measured twice: the
   lockup, the three middle links and the two on the right leave well over the
   forty pixels this needs, which is why it can be a code rather than a word.
   6px/18px/6px is .navlink's own thirty pixels, so the row keeps one baseline
   even though the type here is three sizes smaller. */
.navlang{display:inline-flex;align-items:center;flex:0 0 auto;padding:6px 4px;
  font-size:var(--fs-fine);font-weight:600;line-height:18px;letter-spacing:.08em;
  color:var(--muted);white-space:nowrap}
.navlang:hover{color:var(--signal-ink);text-decoration:none}
/* The code on a desktop, the word in the sheet. */
.navlang-l{display:none}
.navbtn{display:none;align-items:center;justify-content:center;width:38px;height:38px;
  margin-right:-8px;flex:0 0 auto;border-radius:var(--radius-s);color:var(--paper);cursor:pointer;
  -webkit-tap-highlight-color:transparent}
.navbtn svg path{transform-origin:center;transition:transform .16s ease,opacity .12s ease}
.navtog:focus-visible ~ .navbtn{outline:2px solid var(--signal);outline-offset:2px}
/* Motion here is decoration on a control, never the thing that says what it
   did: the caret's angle, the shadow and the bars all read fine arriving at
   once. */
@media (prefers-reduced-motion: reduce){
  .top,.navcar,.navbtn svg path{transition:none}
}
/* And the shared interaction treatment with them. One line rather than a list
   of selectors: --tx is the only thing any of them transitions, so emptying
   the token empties every rule that reads it, including the ones written
   after this one. */
@media (prefers-reduced-motion: reduce){ :root{ --tx:none } }

/* The standing invitation, at the foot of every content page. Panel rather
   than accent: it sits under the page's own conclusion and should read as an
   offer, not as an interruption. */
.chatcta{border-top:1px solid var(--line);margin-top:34px;padding:26px 0 30px}
/* The same soft-accent panel the page's other invitations wear (.cta), so the
   standing offer reads as an object on the page rather than as one more
   paragraph after the article has ended. The measure stays short inside it:
   a card the width of the page does not mean lines the width of the page. */
.chatcta-in{background:var(--accent-soft);border:1px solid var(--line-accent);border-radius:var(--radius);
  padding:24px 26px 26px;display:grid;grid-template-columns:1fr auto;gap:20px 28px;align-items:center}
.chatcta-t{min-width:0}
.chatcta-k{display:flex;align-items:center;gap:7px;margin:0 0 6px;font-size:var(--fs-label);font-weight:600;
  letter-spacing:.07em;text-transform:uppercase;color:var(--signal)}
.chatcta h2{margin:0 0 8px;font-size:20px}
.chatcta-p{margin:0 0 12px;color:var(--muted);font-size:var(--fs-body);max-width:56ch}
.chatcta-q{margin:0;font-size:var(--fs-small);color:var(--muted)}
/* Under the text, not beside it, once the two columns stop fitting side by
   side: a button squeezed into a narrow second column is worse than one that
   simply follows what it is offering. */
@media (max-width:720px){
  .chatcta-in{grid-template-columns:1fr;gap:16px}
  .chatcta .ctaline .button{width:100%;justify-content:center;text-align:center}
}
.chatcta-q em{font-style:normal;color:var(--paper)}

.crumbs{font-size:var(--fs-small);color:var(--muted);margin:18px 0 10px;line-height:1.9}
.crumbs .sep{margin:0 7px;opacity:.6}
.crumbs a{color:var(--muted)}
/* main.wrap, not main: every content page's <main> also carries .wrap, whose
   own padding:0 20px shorthand was resetting this to nothing — which is why
   the share row sat flush against the footer's top edge. Same specificity as
   .wrap and later in the file, so the horizontal padding survives and the
   bottom of the page gets the gap it was always meant to have. */
main.wrap{padding-bottom:var(--page-end)}

h1{font-size:clamp(25px,5.4vw,34px);line-height:1.18;letter-spacing:-.015em;margin:.1em 0 .35em;font-weight:600}
h2{font-size:var(--fs-h2);line-height:1.2;margin:0 0 18px;font-weight:600;letter-spacing:-.02em}
h3{font-size:var(--fs-body);margin:36px 0 12px;font-weight:600}
section{margin:var(--section-gap) 0;padding-top:32px;border-top:1px solid var(--line);scroll-margin-top:64px}
/* Nothing may sit flush against the footer. This is the last element's floor
   whatever the page is made of. */
section:last-of-type{margin-bottom:var(--page-end)}
[id]{scroll-margin-top:64px}
section:first-of-type{border-top:none;padding-top:0}
p{margin:0 0 16px}
.kicker{font-size:var(--fs-card);color:var(--muted);margin:-6px 0 20px}
.lead{color:var(--paper);opacity:.92}
.note{font-size:var(--fs-small);color:var(--muted);line-height:1.65}

/* ---- small print behind an (i) (info-tip.mjs) -------------------------- */
.itip{display:inline-flex;align-items:center;justify-content:center;vertical-align:-3px;width:24px;height:24px;
  margin:-4px 0 -4px 2px;padding:0;border:0;border-radius:50%;background:none;color:var(--muted);cursor:help;
  font:inherit;text-transform:none;letter-spacing:0;flex:none}
.itip svg{width:16px;height:16px}
.itip:hover,.itip[aria-expanded="true"]{color:var(--signal-ink)}
.itip:focus-visible{outline:2px solid var(--signal);outline-offset:1px}
#tipPop{position:fixed;z-index:10000;max-width:min(340px,calc(100vw - 24px));padding:10px 12px;
  border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--paper);
  box-shadow:0 8px 24px rgba(0,0,0,.18);font-size:13.5px;font-weight:400;line-height:1.5;
  letter-spacing:0;text-transform:none;text-align:left}
#tipPop[hidden]{display:none}
#tipPop a{color:var(--signal-ink)}
#tipPop .tip-more{display:inline-block;margin-top:6px}


/* ---- the data-freshness line ------------------------------------------- *
 * freshLine() in gen-pages.mjs. Two readings — the register, and the day it
 * has been read to — under a place page's h1 and over the homepage's band of
 * counts.
 *
 * The register's own register: uppercase mono at eleven pixels with .09em of
 * tracking is what this site already sets a technical label in (.card-l, the
 * map's filter headings, the new-build dossier line), and using it here is
 * what makes the line read as an instrument reading rather than as a
 * sentence somebody wrote.
 *
 * Hairlines rather than middots between the readings, the same way the
 * new-build dossier line holds its four apart: a rule is quieter than a
 * character, and it sits at no baseline so it cannot look like punctuation
 * that belongs to either side. A line that wraps on a narrow phone starts its
 * second row with one, which is the price of not measuring text in CSS; it is
 * a hairline in the line colour and reads as a tick, not as missing content.
 * ------------------------------------------------------------------------ */
.fresh{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);
  margin:0 0 var(--space-4);font-family:var(--mono);font-size:var(--fs-label);font-weight:500;line-height:1.6;
  letter-spacing:.09em;text-transform:uppercase;color:var(--muted);
  font-variant-numeric:tabular-nums}
.fresh>*+*{padding-left:var(--space-2);border-left:1px solid var(--line)}
.thin{color:var(--muted);font-weight:400;font-size:16px}
main ul:not([class]),main ol:not([class]){margin:0 0 16px;padding-left:22px}
main ul:not([class]) li,main ol:not([class]) li{margin:0 0 9px}

/* ---- stat cards ------------------------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(158px,1fr));gap:14px;margin:0 0 24px}
/* Six headline numbers auto-fit to five and one, which reads as an accident.
   Three to a row makes it two even rows, and each card gets width enough for
   its label to sit on one line. */
.cards[data-eu-cards]{grid-template-columns:repeat(3,1fr)}
@media (max-width:720px){ .cards[data-eu-cards]{grid-template-columns:repeat(2,1fr)} }
@media (max-width:430px){ .cards[data-eu-cards]{grid-template-columns:1fr} }

/* ---- the five headline measures on a place page ------------------------ *
 * summaryBlock()'s own grid (see gen-pages.mjs), and nothing else: apartments,
 * houses, land, rent, yield. Five fixed columns rather than the shared
 * auto-fit, which happened to land on five at the current page width and would
 * silently become four the day the measure changed — and four measures beside
 * a fifth on its own row is not a comparison, it is an accident.
 *
 * The floor and the flex column are what make them one table rather than five
 * tiles. The labels run to one line or to two, the captions to two or three,
 * and without a floor every value sat at a different height and no two could
 * be read against each other. With it, the comparison chips all sit on the
 * same baseline, because margin-top:auto pushes them there from a common
 * bottom.
 *
 * The floor comes off on a phone: one card per row has nothing to line up
 * with, and 164px of it is a card that is mostly empty.
 * ----------------------------------------------------------------------- */
/* A measure per column, in one row on a desktop: the label small and uppercase
   above, the figure large, the note below. Under 960px the row becomes a strip
   that scrolls sideways inside its own box (see the foot of this block). */
.cards.metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:var(--space-4);margin:var(--space-5) 0 var(--space-5)}
/* The label is allowed two lines and always takes two, so the five figures
   below it sit on one baseline whether a label ran to one line or to two. */
.cards.metrics .card{padding:20px 22px;display:flex;flex-direction:column}
.cards.metrics + .note{margin-bottom:var(--space-6)}
.cards.metrics .card-l,.cards.homenums .card-l{min-height:2.4em;line-height:1.2}
.cards.metrics .card-v,.cards.homenums .card-v{font-size:clamp(20px,2.3vw,26px)}
.cards.metrics .card-b{margin-top:auto;align-self:flex-start}
/* The scrolling strip, for the two stat rows (this one and the homepage's
   "Trg v številkah"). Each tile is 70% of the screen, capped for a tablet, so
   the next one always peeks in; the strip snaps tile by tile; and it is the
   strip that scrolls, never the page. It stays inside the content box so the
   first tile sits on the same left line as the heading above it; the 2px of
   side padding is only room for the tiles' shadow, which the scroller clips. It is a focusable region in the markup (tabindex and a
   label), so a keyboard reader can scroll it with the arrow keys. */
@media (max-width:960px){
  .cards.metrics,.cards.homenums{grid-template-columns:none;grid-auto-flow:column;
    grid-auto-columns:min(70vw,300px);gap:var(--space-3);overflow-x:auto;overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;scroll-padding-inline:2px;
    padding:4px 2px 14px;-webkit-overflow-scrolling:touch}
  .cards.metrics>.card,.cards.homenums>.card{scroll-snap-align:start}
  .cards.metrics .card.acts-card{grid-column:auto;min-height:0}
  .cards.metrics:focus-visible,.cards.homenums:focus-visible{outline-offset:-2px;border-radius:var(--radius)}
}

/* The OPPN tile (actsTile() in gen-pages.mjs), sixth in the row and the only
   one with a sentence and a list rather than a single number: full width on a
   desktop, under the five figures, and one more tile in the strip below 960px, so the extra content has room
   and the five plain figures above keep their own even columns. Hidden
   until ACTS_TILE_SCRIPT fills it — see the attribute in the markup. */
.card.acts-card{grid-column:1/-1;min-height:0}
.card.acts-card .acts-count{font-size:var(--fs-card);font-weight:600;
  letter-spacing:-.01em;margin:6px 0 8px;font-variant-numeric:tabular-nums}
.card.acts-card .chips:not(:empty){margin-bottom:8px}
/* .cards.metrics .card sets its own display:flex above, an author rule that
   would otherwise outrank the UA stylesheet's [hidden]{display:none} — this
   is the one selector on the page specific enough to win that back. */
.cards.metrics .card.acts-card[hidden]{display:none}

/* ---- a place page's own rhythm and measure ----------------------------- *
 * <main class="wrap area">: the municipality and settlement pages, and only
 * those. They are the longest documents on the site — twenty sections of
 * analysis under one h1 — and they are the ones a reader scans rather than
 * reads end to end, so the two things that decide whether a scan works are
 * where a section starts and how long its lines are.
 *
 * The rhythm moves from the shared 40 + 26 (margin above, padding below the
 * rule) to a symmetrical 28 + 28. The gap between two sections shrinks from
 * 66px to 56, which is the point — but more than that, the hairline now sits
 * exactly halfway between the end of one section and the start of the next,
 * so it reads as a divider belonging to neither rather than as a lid on the
 * one below it. margin-block:0 is what makes the padding the whole of the
 * rhythm; without it the two would add.
 *
 * The floor at the foot of the page is restated for the same reason: the
 * shared rule hangs --page-end off the last section's margin, which this has
 * just set to zero, and main.wrap's own padding-bottom already carries it.
 *
 * 78ch is the measure. A 15px line across an 860px column runs to about 110
 * characters, which is half again what an eye can track back from, and it is
 * why the analytical paragraphs on these pages read as a grey field. The row
 * of buttons is exempt: .ctaline is a flex row, not a paragraph, and capping
 * it would strand a second button under the first.
 * ------------------------------------------------------------------------ */
.area > section{margin-block:0}
.area > section:not(.cta):not(.newsletter){padding-block:28px}
.area > section:not(.cta):not(.newsletter):first-of-type{padding-top:0}
.area > section:last-of-type{margin-bottom:0}
.area > section > p:not(.ctaline){max-width:var(--measure);line-height:1.6}
.area > section > h2{margin:0 0 10px;font-size:22px}
/* The standard panel: a soft hairline, an 8px corner, 20px of room and the
   resting shadow, so a white card reads as an object on the grey page rather
   than as a box drawn on it. Only a card that is whole-card a link ever moves
   (see "interaction" at the foot of this file); a card that is merely a region
   of the page stays where it is. Boxes nested INSIDE a card (a row, an inner
   tile, a chip) take no shadow of their own. */
.card{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);padding:24px;
  box-shadow:var(--shadow-1);display:flex;flex-direction:column}
.card-l{font-size:var(--fs-label);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);font-weight:500}
/* The figure. Mono and tight, the one thing a tile is read for. */
.card-v{font-family:var(--mono);font-size:26px;font-weight:600;letter-spacing:-.03em;margin:6px 0 4px;
  font-variant-numeric:tabular-nums;line-height:1.1;white-space:nowrap}
.card-u{font-family:var(--sans);font-size:var(--fs-fine);font-weight:500;color:var(--muted);margin-left:4px;letter-spacing:0}
/* The one-line note under a figure. Fine print, not a sentence. */
.card-h{font-size:var(--fs-fine);color:var(--muted);line-height:1.4}
/* A figure that had to reach past the standard window. The value itself is
   printed like any other, because it is a real median of real transactions;
   only the caption says so, and the mark carries the reason. */
.card.widened .card-h{color:var(--muted)}
.card-i{display:inline-block;color:var(--signal-ink);font-weight:600;cursor:help}
.card-b{display:flex;flex-wrap:wrap;gap:5px;margin-top:auto;padding-top:8px}
/* A comparison delta beside a value. Mono and tabular so the two badges on
   one card, and the badges on five cards in a row, line up as figures. */
.pill{font-size:var(--fs-fine);font-family:var(--mono);color:var(--muted);background:var(--panel-2);
  border-radius:var(--radius-s);padding:2px 6px;white-space:nowrap;font-variant-numeric:tabular-nums}

/* ---- tables ----------------------------------------------------------- */
.tw{overflow-x:auto;margin:0 0 12px;-webkit-overflow-scrolling:touch}
/* A table that scrolls sideways has to look like one. On a phone the Donos
   table simply stopped mid-column with nothing to say there was more, so the
   reader read three of five columns and believed that was the table. The cue
   is an inset shadow on the edge there is still something behind, put there
   by wideTables() in /alerts.js (which measures the real overflow) rather
   than by a guess in CSS, and taken off again at the end of the scroll.
   Phone widths only: on a desktop the table fits. */
@media (max-width:480px){
  .tw.tw-r{box-shadow:inset -20px 0 15px -13px rgba(0,0,0,.38)}
  .tw.tw-l{box-shadow:inset 20px 0 15px -13px rgba(0,0,0,.38)}
  .tw.tw-l.tw-r{box-shadow:inset 20px 0 15px -13px rgba(0,0,0,.38),
    inset -20px 0 15px -13px rgba(0,0,0,.38)}
}
table{border-collapse:collapse;width:100%;max-width:880px;font-size:var(--fs-card);min-width:min(100%,330px)}
th{font-size:var(--fs-label);letter-spacing:.06em;text-transform:uppercase;color:var(--muted);font-weight:500;
  text-align:left;padding:0 20px 12px 0;white-space:nowrap;border-bottom:1px solid var(--line)}
td{padding:12px 20px 12px 0;border-bottom:1px solid var(--line);white-space:nowrap}
th.n,td.n{text-align:right}
th:last-child,td:last-child{padding-right:0}
td.n{font-family:var(--mono);font-variant-numeric:tabular-nums}
tr:last-child td{border-bottom:none}
.deals td:nth-child(3){white-space:normal;min-width:110px}
.cats td:first-child{white-space:normal;min-width:118px}
.rank-table td:nth-child(2){white-space:normal}
.rank{font-family:var(--mono);color:var(--muted);font-size:var(--fs-fine)}
/* The two tables on the privacy page (sub-processors, retention) hold
   sentences rather than figures. Every cell wraps, the columns keep a floor
   so a phone does not shred them into single words, and the text sits at the
   top of the row so a long purpose does not push its neighbour off centre. */
.legal-t th,.legal-t td{white-space:normal}
.legal-t td{vertical-align:top;min-width:96px}

/* ---- the listings ----------------------------------------------------- *
 * A row opens that record on the map. It is not an <a> — see recordRows()
 * in /alerts.js for why — so everything a link gives for free is spelled
 * out here: the cursor, the hover, and a focus ring that a keyboard reader
 * can actually see. */
.rowlink{cursor:pointer}
tr.rowlink:hover td{background:var(--panel)}
tr.rowlink:focus-visible{outline:2px solid var(--signal);outline-offset:-2px}
/* The price per square metre is the number the page is about. */
.deals td.m2{color:var(--signal-ink);font-weight:600}
/* The address, with the settlement under it. */
.deals .sub{display:block;font-size:var(--fs-fine);color:var(--muted);font-weight:400}
/* The address is the row's own link and wears the row rather than announcing
   itself: the whole row already goes to the same place, so an underline on
   every line would turn the table into a list of links. It shows one where a
   pointer or a keyboard is actually on it. No padding or border of its own —
   the cell keeps the 8px/12px box it has always had. */
.deals td a.rowhref{color:inherit;text-decoration:none}
.deals td a.rowhref:hover,.deals td a.rowhref:focus-visible{text-decoration:underline}
/* First seen in this import — the same test the weekly alert mail applies. */
.novo{display:inline-block;margin-left:8px;padding:1px 6px;border-radius:var(--radius-s);background:var(--signal);
  color:var(--on-signal);font-size:var(--fs-label);font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  vertical-align:1px}
/* One 14px glyph per row, drawn from the page's own ink through a mask, so
   the icons cost one cached rule rather than an inline <svg> on each of the
   eleven thousand rows. */
.ti,.pin{display:inline-block;width:14px;height:14px;vertical-align:-2px;background:currentColor;
  -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;
  -webkit-mask-size:contain;mask-size:contain}
.ti{margin-right:8px;opacity:.5}
.ti-apt{-webkit-mask-image:var(--i-apt);mask-image:var(--i-apt)}
.ti-house{-webkit-mask-image:var(--i-house);mask-image:var(--i-house)}
.ti-land{-webkit-mask-image:var(--i-land);mask-image:var(--i-land)}
.ti-other{-webkit-mask-image:var(--i-other);mask-image:var(--i-other)}
.pin{-webkit-mask-image:var(--i-pin);mask-image:var(--i-pin);opacity:.35;color:var(--signal-ink)}
td.pincell{width:1%;padding-right:0;text-align:right}
tr.rowlink:hover .pin,tr.rowlink:focus-visible .pin{opacity:1}

/* ---- sortable headers -------------------------------------------------- *
 * The button inside the <th> is built by /alerts.js and never present in the
 * file itself, so a reader without JavaScript sees a plain heading and the
 * server's own order. */
.sortbtn{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:none;color:inherit;
  font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}
th.n .sortbtn{flex-direction:row-reverse}
.sortbtn:hover{color:var(--paper)}
.sortmark{width:8px;height:8px;background:currentColor;opacity:.3;
  -webkit-mask:var(--i-sort) no-repeat center/contain;mask:var(--i-sort) no-repeat center/contain}
th[aria-sort="ascending"] .sortmark{opacity:1;transform:rotate(180deg)}
th[aria-sort="descending"] .sortmark{opacity:1}
th[aria-sort="ascending"],th[aria-sort="descending"]{color:var(--paper)}
/* The rank means "rank by apartment price" and stops meaning it the moment
   the table is ordered by something else. */
.rank-table.resorted td:first-child{opacity:.4}

details.dt,details.faq{border-top:1px solid var(--line);padding:0}
details.dt{margin-top:14px}
details.dt>summary,details.faq>summary{cursor:pointer;padding:11px 0;font-size:var(--fs-card);font-weight:500;
  list-style:none;display:flex;align-items:center;gap:9px}
details.faq>summary{font-size:var(--fs-body)}
details>summary::-webkit-details-marker{display:none}
details>summary::before{content:"+";font-family:var(--mono);color:var(--muted);font-size:var(--fs-body);line-height:1}
details[open]>summary::before{content:"−"}
details.faq>p{margin:0 0 16px;padding-left:20px;color:var(--paper);opacity:.9;font-size:var(--fs-body)}
details.faq:last-of-type{border-bottom:1px solid var(--line)}

/* ---- charts ----------------------------------------------------------- */
.chart{margin:0 0 22px}
figcaption{font-size:var(--fs-fine);color:var(--muted);margin-top:9px;line-height:1.5}
.plotwrap{position:relative;padding-left:46px;padding-right:74px}
.plot{position:relative;height:190px;height:var(--h,190px)}
.plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.plot .g{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.plot .s{fill:none;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.plot .dot{stroke-width:6}
.s1{stroke:var(--v1)} .s2{stroke:var(--v2)} .s3{stroke:var(--v3)}
.t1{color:var(--v1)} .t2{color:var(--v2)} .t3{color:var(--v3)}
.yl{position:absolute;left:-46px;width:40px;text-align:right;transform:translateY(-50%);
  font-family:var(--mono);font-size:var(--fs-label);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
/* A series label hangs in the right-hand gutter of its chart. It may wrap onto
   a second line, but never out past the gutter: a long name ("Prenočitve tujih
   turistov") on a phone used to run 130px past the screen's edge. */
.dl{position:absolute;transform:translateY(-50%);margin-left:8px;font-size:var(--fs-label);font-weight:600;
  white-space:normal;max-width:66px;line-height:1.2}
.xaxis{position:relative;height:15px;margin-top:5px}
.xaxis span{position:absolute;transform:translateX(-50%);font-family:var(--mono);font-size:var(--fs-label);color:var(--muted)}
.bars{display:flex;align-items:flex-end;gap:2px;height:110px;height:var(--h,110px);margin-bottom:5px}
.bars i{flex:1 1 0;min-width:0;background:var(--v1);border-radius:var(--radius-xs) var(--radius-xs) 0 0;min-height:1px;position:relative}
.blabels{display:flex;gap:2px}
/* Each label is centred on its bar by flex rather than by text-align: a label
   wider than its bar (five characters over a bar four pixels wide, on a phone)
   then overflows evenly on both sides instead of running off to the right. The
   last is anchored to the figure's own right edge, so the last month of a long
   series can never push the page wider than the screen; the first may hang
   over the left edge, which only ever lands in the page's own 20px margin. */
.blabels span{flex:1 1 0;min-width:0;display:flex;justify-content:center;font-family:var(--mono);
  font-size:var(--fs-label);color:var(--muted);white-space:nowrap;overflow:visible}
.blabels span:last-child{justify-content:flex-end}

.donutbox{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin:0 0 20px}
.donut{width:132px;height:132px;flex:0 0 auto}
.donut .a{fill:none;stroke-width:19}
.a1{stroke:var(--v1)} .a2{stroke:var(--v2)} .a3{stroke:var(--v3)} .a4{stroke:var(--v4)} .a5{stroke:var(--v5)}
/* A legend is a label and its figures: capped so the figures stay next to the
   names they belong to, however wide the page is. */
.legend{list-style:none;margin:0;padding:0;flex:1 1 260px;min-width:230px;max-width:440px;font-size:var(--fs-small)}
.legend li{display:flex;align-items:center;gap:9px;padding:4px 0;border-bottom:1px solid var(--line)}
.legend li:last-child{border-bottom:none}
.sw{width:10px;height:10px;border-radius:var(--radius-xs);flex:0 0 auto}
.s1.sw{background:var(--v1)} .s2.sw{background:var(--v2)} .s3.sw{background:var(--v3)}
.s4.sw{background:var(--v4)} .s5.sw{background:var(--v5)}
.lg-l{flex:1 1 auto}
.lg-v,.lg-n{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:var(--fs-fine)}
.lg-v{color:var(--paper)} .lg-n{color:var(--muted);min-width:52px;text-align:right}

/* ---- chips, media, cta ------------------------------------------------ */
/* The anchor is the place name and only the place name: a link whose text
   reads "Bežigrad4 275 €/m²" tells a crawler nothing about where it goes. */
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:0}
.chips li{display:inline-flex;align-items:baseline;gap:8px;background:var(--panel);
  border:1px solid var(--line);border-radius:var(--radius-s);padding:6px 10px;font-size:var(--fs-small);
  transition:var(--tx)}
.chips li:hover{border-color:var(--line-accent);background:var(--panel-2)}
.chips a{color:var(--paper);text-decoration:none}
.chips a:hover{text-decoration:underline}
.chip-v{font-family:var(--mono);font-size:var(--fs-fine);color:var(--muted);font-variant-numeric:tabular-nums}
/* The jump row under a place page's lead. The chips are the chips above, box
   for box: this adds only the space that separates a way into the page from
   the page itself, and takes the underline off the whole row rather than off
   one link at a time. */
.jumps{margin:0 0 var(--space-5)}
.jumps a,.jumps a:hover{text-decoration:none}

.media{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.media figure{margin:0}
.svbox{position:relative;aspect-ratio:4/3;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;background:var(--panel-2);display:flex;align-items:center;justify-content:center}
.svbox img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:saturate(.5) brightness(.55)}
.svbox .svgo{position:relative;z-index:1;border:0;cursor:pointer;font-family:inherit}
.svbox iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.aerial .tiles{display:grid;grid-template-columns:1fr 1fr;aspect-ratio:4/3;overflow:hidden;
  border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2)}
.aerial img{width:100%;height:100%;object-fit:cover;display:block}

/* ---- the live page (/obcina/<slug>/v-zivo/) --------------------------- *
 * The cameras are the substance, so they get the room; everything else is a
 * slot the inline script fills, and is dressed as the site's cards already
 * are. Nothing here is loud, because the page is already moving. */
.cams{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:0 0 6px}
.cams figure{margin:0;position:relative}
.cams .camwait{display:none;position:absolute;left:0;right:0;top:0;aspect-ratio:4/3;
  align-items:center;justify-content:center;font-size:var(--fs-fine);color:var(--muted);pointer-events:none}
.cams .cam.wait .camwait{display:flex}
.cams img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
  border:1px solid var(--line);border-radius:var(--radius);background:var(--panel-2)}
.cams figcaption{font-size:var(--fs-fine);color:var(--muted);line-height:1.45;margin-top:6px}
/* Twelve hours never fit a phone, and wrapping them into three rows of four
   reads as a table. One row that scrolls keeps the shape of a forecast. */
.livehours{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(58px,1fr);
  gap:6px;padding:0;margin:0 0 14px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.livehours li{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:8px 6px;text-align:center}
.lh-t{display:block;font-size:var(--fs-fine);color:var(--muted);font-variant-numeric:tabular-nums}
.lh-s{display:block;font-size:16px;line-height:1.5;min-height:1.5em}
.lh-v{display:block;font-family:var(--mono);font-size:var(--fs-card);font-weight:600;
  font-variant-numeric:tabular-nums}
.livelist{list-style:none;padding:0;margin:0 0 14px}
.livelist li{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:10px 12px;margin:0 0 7px;font-size:var(--fs-card);line-height:1.55}
.lv-t{color:var(--muted)}
.livesun,.livewind{font-variant-numeric:tabular-nums}

.cta{background:var(--accent-soft);border:1px solid var(--line-accent);border-radius:var(--radius);padding:20px}
/* The page-opener rule (section:first-of-type, 0-1-1) strips border-top and
   padding-top from the first section on a page, and .cta at 0-1-0 cannot win
   them back — so a .cta that opens a page (the /orodja/ hub) rendered with
   three borders and its heading flush against the top edge. */
section.cta:first-of-type{border-top:1px solid var(--line-accent);padding-top:20px}
.cta h2{margin-bottom:10px}
.ctaline{display:flex;flex-wrap:wrap;gap:10px;margin:0}

/* The municipality map CTA: a locator inset beside the invitation. */
/* The municipality profile ("v številkah"): photograph beside the lead and
   the key cards, the Wikipedia lead as a quotation, and tables whose first
   column is prose. */
.profile-hero{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:22px;align-items:start;margin:0 0 22px}
.profile-photo{margin:0}
.profile-photo img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius);border:1px solid var(--line)}
.profile-photo figcaption{font-size:var(--fs-fine);color:var(--muted);margin-top:6px}
.profile-loc{padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
.profile-intro .cards{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}
.wiki{margin:0 0 18px;padding:14px 18px;border-left:3px solid var(--signal);background:var(--panel);border-radius:0 var(--radius) var(--radius) 0}
.wiki p{margin:0 0 8px}
.wiki footer{margin:0}
table.profile td:first-child{min-width:180px}
.about-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:start}
.about-grid .wiki{margin:0}
.profile-locator{padding:8px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}
@media (max-width:560px){.about-grid{grid-template-columns:1fr}.profile-locator{width:150px}}
.profile-link{margin:0 0 22px}
.chartbox{margin:18px 0 6px;scroll-margin-top:70px}
.chartbox h3{margin:0 0 6px;font-size:var(--fs-card)}
.chartbox .chart{margin-bottom:4px}
.chart-share{margin:0 0 14px;font-size:var(--fs-fine)}
.chart-share a{color:var(--muted)}
.chartbox:target{outline:2px solid var(--signal);outline-offset:8px;border-radius:var(--radius)}
.sp-ranks{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin:0 0 8px}
.sp-rank{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px}
.sp-rank h3{margin:0 0 8px;font-size:var(--fs-small)}
.sp-rank ol{margin:0;padding-left:20px;font-size:var(--fs-card)}
.sp-rank li{margin:0 0 3px}
.sp-rank-v{font-family:var(--mono);color:var(--muted);margin-left:4px}
@media (max-width:720px){.profile-hero{grid-template-columns:1fr}}
.mapcta{display:flex;gap:22px;align-items:center}
.mapcta-body{flex:1 1 auto;min-width:0}
.mapcta-body h2{margin-top:0}
.mapcta-body p{margin:0 0 14px;color:var(--paper);opacity:.92}
.mapcta-art{flex:0 0 auto;width:190px;max-width:38%}
.loc-map{display:block;width:100%;height:auto}
.loc-map .loc-bg{fill:var(--panel-2);stroke:var(--line-accent);stroke-width:.8;
  stroke-linejoin:round;vector-effect:non-scaling-stroke}
.loc-map .loc-hi{fill:var(--signal);stroke:var(--on-signal);stroke-width:1.1;
  stroke-linejoin:round;vector-effect:non-scaling-stroke;paint-order:stroke fill}
@media (max-width:560px){ .mapcta{flex-direction:column-reverse;align-items:stretch;gap:14px}
  .mapcta-art{width:150px;max-width:60%;margin:0 auto} }
/* ---- the one button ---------------------------------------------------- *
 * Header, homepage query, pricing, login, Google, forms: every one of them
 * used to pick its own height and its own type size, and a reader crossing
 * two of them in one scroll saw two different products. One scale now — 40px
 * tall, 14/20 semibold, 3px — and the two places that genuinely need another
 * (the phone's authentication controls at 44px, the map's dense tools at
 * 36px) say so where they are, rather than everybody inventing a third.
 *
 * inline-flex rather than inline-block, so 9px of padding above a 20px line
 * inside a 40px box centres the label instead of leaving it high in a box a
 * min-height stretched underneath it. It also makes the half-dozen
 * justify-content:center overrides already written against this class mean
 * what their authors thought they meant.
 *
 * The transparent border is what makes an <a class="button"> and a
 * <button class="button"> the same 40px outside AND the same 20px of label
 * inside: the element that carries a real border would otherwise be two
 * pixels taller, or two pixels tighter, depending which way it was fixed. */
.button{display:inline-flex;align-items:center;justify-content:center;
  background:var(--signal);color:var(--on-signal);font-weight:600;font-size:var(--fs-card);line-height:20px;
  min-height:var(--control-h);padding:9px var(--space-4);border:1px solid transparent;
  border-radius:var(--radius-s);text-decoration:none;transition:var(--tx)}
/* The hover moves the fill, not the opacity: a solid button darkens to the
   deeper blue, a ghost one takes the soft accent. */
.button:hover{text-decoration:none;background:var(--signal-ink);border-color:var(--signal-ink)}
/* Equal weight and no heavier: a ghost button's hover is a tint and an accent
   edge, never the solid fill, so only the one primary on a screen is solid. */
.button.ghost{background:transparent;color:var(--signal-ink);border:1px solid var(--line-accent)}
.button.ghost:hover{background:var(--accent-soft);border-color:var(--signal);color:var(--signal-ink)}
button.button{font-family:inherit;border:1px solid var(--signal);cursor:pointer}

/* ---- the account hub (/racun/, /en/account/) ------------------------- *
 * Painted client-side by accountPage() in /alerts.js. The chrome is the site's
 * own; these rules dress the mount it fills. */
.account-app{margin-top:8px}
.account-boot{min-height:2em}
.account-app section{margin:26px 0 0;padding-top:20px;border-top:1px solid var(--line)}
.account-app section:first-child{margin-top:0;padding-top:0;border-top:none}
.account-app h2{font-size:var(--fs-body);margin:0 0 6px}
.acct-sub{color:var(--muted);font-size:var(--fs-small);margin:0 0 14px}
/* Full-page sign-in: one narrow column, centred, never a floating dialog.
 *
 * Two fields and a button, and it used to fill a phone screen and a half. The
 * fields were the reason — a full-width input with 15px type and no stated
 * height ran to whatever the platform felt like, which on a phone is roughly
 * twice what a 44px target needs — and the fix is to state the height rather
 * than to squeeze the padding: 44px is the platform's own comfortable target,
 * and it is the same 44 the tabs and the two buttons take, so the whole form
 * is one control repeated rather than five sizes stacked.
 *
 * 520px, not 400. A column narrower than the measure of the page it sits on
 * reads as a dialog that forgot to be a dialog; 520 is wide enough to be a
 * page and still short enough that the label, the field and the button are
 * one glance. The padding is what frames it as one: 48 above, 64 below. */
.acct-auth{max-width:520px;margin:0 auto;padding-block:var(--space-8) 64px}
.acct-auth .acct-tabs{display:flex;gap:0;margin:0 0 18px;border:1px solid var(--line);
  border-radius:var(--radius-s);overflow:hidden}
/* No radius of its own: the pair sits inside a 3px box that clips them, and a
   corner stated twice is a corner that goes wrong the day one of them moves. */
.acct-tab{flex:1 1 0;min-height:44px;padding:10px 8px;font:inherit;font-size:16px;font-weight:600;
  text-align:center;background:var(--panel);color:var(--muted);border:0;cursor:pointer;
  transition:var(--tx)}
.acct-tab[aria-selected=true]{background:var(--signal);color:var(--on-signal)}
.acct-field{margin:0 0 20px}
/* The label register the rest of the site uses for metadata — mono, twelve
   pixels, uppercase, .08em — rather than a smaller copy of the running face.
   These were the loosest labels on the site and they sat two inches from the
   tightest ones. */
.acct-field label{display:block;font:500 var(--fs-fine)/1.3 var(--mono);letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.acct-field input{width:100%;box-sizing:border-box;height:44px;font:inherit;font-size:16px;
  padding:10px var(--space-3);color:var(--paper);background:var(--panel-2);
  border:1px solid var(--line);border-radius:var(--radius-s);transition:var(--tx)}
.acct-app .button,.account-app .button{margin-top:2px}
/* flex, not block: .button is inline-flex and centres its own label, and
   display:block would take that away and leave the text sitting high in the
   44px box. */
.acct-full{display:flex;width:100%;box-sizing:border-box;min-height:44px;font-size:16px;
  text-align:center}
/* The lead over the form and the "or" rule under the Google button: the same
   24px of silence on both, so the three parts of the screen — choose, sign in
   with Google, sign in with an address — are three steps and not a paragraph,
   a gap, a button, a bigger gap. */
.acct-auth .acct-sub{margin:var(--space-5) 0}
.acct-or{display:flex;align-items:center;gap:10px;margin:var(--space-5) 0;color:var(--muted);
  font-size:var(--fs-label);text-transform:uppercase;letter-spacing:.08em}
.acct-or:before,.acct-or:after{content:"";flex:1;height:1px;background:var(--line)}
.acct-google{display:flex;align-items:center;justify-content:center;gap:9px}
.acct-links{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0 0;font-size:var(--fs-small)}
.acct-links button{background:none;border:0;padding:0;font:inherit;font-size:var(--fs-small);
  color:var(--signal-ink);text-decoration:underline;cursor:pointer}
.acct-inline{background:none;border:0;padding:0;font:inherit;font-size:var(--fs-small);
  color:var(--signal-ink);text-decoration:underline;cursor:pointer;margin-left:6px}
.acct-msg{margin:12px 0 0;font-size:var(--fs-small);line-height:1.5}
.acct-msg.err{color:var(--warn)}
.acct-msg.ok{color:var(--signal-ink);font-weight:600}
.acct-err{margin:12px 0 0;padding:9px 11px;border-radius:var(--radius-s);font-size:var(--fs-small);
  background:rgba(193,75,82,.13);border:1px solid rgba(193,75,82,.4)}
/* Signed-in: the account facts. */
.acct-facts{list-style:none;margin:0;padding:0;font-size:var(--fs-card)}
.acct-facts li{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;padding:9px 0;
  border-bottom:1px solid var(--line)}
.acct-facts li:last-child{border-bottom:none}
.acct-facts .k{color:var(--muted)}
.acct-facts .v{font-weight:500;text-align:right}
.acct-badge{display:inline-block;padding:1px 7px;border-radius:var(--radius-s);font-size:var(--fs-label);font-weight:700;
  letter-spacing:.03em;text-transform:uppercase;vertical-align:1px}
.acct-badge.ok{background:var(--signal);color:var(--on-signal)}
.acct-badge.no{background:var(--panel-2);color:var(--muted);border:1px solid var(--line)}
/* The alerts list. A paused alert is visibly muted. */
.acct-alerts{list-style:none;margin:0;padding:0}
.acct-alerts li{border-top:1px solid var(--line);padding:13px 0;display:flex;gap:12px;
  align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.acct-alerts li:first-child{border-top:none}
.acct-alerts .a-name{font-weight:600;font-size:var(--fs-card)}
.acct-alerts .a-desc{color:var(--muted);font-size:var(--fs-small);margin-top:2px}
/* The streams one row reports. A <span> on an alert (its criteria decided
   them and this page cannot re-tick them) and a <button> on a watch (the chips
   ARE the events column). Both draw identically, so the list does not look
   like two kinds of row: what differs is the cursor and whether pressing does
   anything, which is what the difference actually is. A chip that is off is
   outlined rather than hidden, because "this watch could tell you about
   permits and does not" is the fact the row is there to state. */
.acct-alerts .a-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.acct-alerts .a-chip{font:inherit;font-size:var(--fs-fine);line-height:1.4;padding:2px 8px;border-radius:999px;
  border:1px solid var(--line);background:transparent;color:var(--muted)}
.acct-alerts .a-chip.on{border-color:var(--line-accent);background:var(--accent-soft);color:var(--signal-ink)}
.acct-alerts button.a-chip{cursor:pointer}
.acct-alerts button.a-chip:disabled{cursor:default;opacity:.5}
/* A chip this plan may not tick. It is an anchor to the price list, so it is
   given the dashed outline every locked control on this page wears rather
   than the muted fill of one that is merely off: "you could turn this on" and
   "you cannot turn this on" must not look the same. No underline — it is a
   chip, and a chip with an underline through it reads as struck out. */
.acct-alerts a.a-chip.locked{border-style:dashed;text-decoration:none}
.acct-alerts a.a-chip.locked:hover{border-color:var(--line-accent);color:var(--signal-ink)}
.acct-alerts li.paused .a-name,.acct-alerts li.paused .a-desc,
.acct-alerts li.paused .a-chips{opacity:.5}
.acct-alerts .a-ctrls{display:flex;gap:12px;align-items:center;flex:0 0 auto}
.acct-alerts .a-ctrls button{background:none;border:0;padding:0;font:inherit;font-size:var(--fs-small);
  color:var(--signal-ink);text-decoration:underline;cursor:pointer}
.acct-alerts .a-ctrls button.a-del{color:var(--muted)}
/* The one control on a downgraded row. It sits where "Pause" sits on an
   active one, because it is the same kind of thing: the switch that turns
   this alert back on. */
.acct-alerts .a-ctrls .a-reactivate{font-size:var(--fs-small);color:var(--signal-ink);text-decoration:underline}
.acct-empty{color:var(--muted);font-size:var(--fs-card);margin:0}
.acct-sessions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
/* Advanced, deliberately de-emphasised: collapsed, muted, at the very bottom. */
.acct-adv{margin-top:28px;border-top:1px solid var(--line);padding-top:6px}
.acct-adv>summary{cursor:pointer;list-style:none;padding:10px 0;font-size:var(--fs-small);color:var(--muted);
  display:flex;align-items:center;gap:8px}
.acct-adv>summary::-webkit-details-marker{display:none}
.acct-adv>summary::before{content:"+";font-family:var(--mono);color:var(--muted)}
.acct-adv[open]>summary::before{content:"−"}
.acct-adv .acct-danger{background:none;border:0;padding:0;font:inherit;font-size:var(--fs-small);
  color:var(--warn);text-decoration:underline;cursor:pointer}
.acct-adv .note{margin:6px 0 14px}

/* ---- the plan card on the account hub -------------------------------- *
 * Painted by accountPage() in /alerts.js from /api/auth/me. One panel, so a
 * reader can see what they are on and what runs out when, without reading the
 * price list to work it out. */
.acct-plan{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 12px;margin:0 0 10px}
.acct-plan-name{font-size:19px;font-weight:600;letter-spacing:-.01em}
.acct-plan-tag{padding:2px 8px;border-radius:var(--radius-s);background:var(--signal);color:var(--on-signal);
  font-size:var(--fs-label);font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.acct-plan-when{color:var(--muted);font-size:var(--fs-small)}
.acct-plan-note{margin:0 0 12px;color:var(--muted);font-size:var(--fs-small)}
.acct-cancel{display:inline-block;margin:10px 0 0;padding:0;border:0;background:none;color:var(--muted);
  font:inherit;font-size:var(--fs-small);text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.acct-cancel:hover{color:var(--paper)}
.acct-cancel:disabled{opacity:.5;cursor:default}
.acct-plan-cancelling{padding:10px 12px;border:1px solid var(--line-accent);border-radius:var(--radius-s);
  background:var(--panel-2);color:var(--paper)}
.acct-credits{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.acct-credits li{padding:4px 10px;border:1px solid var(--line);border-radius:var(--radius-s);background:var(--panel-2);
  font-size:var(--fs-small);color:var(--muted)}
.acct-credits li b{color:var(--paper);font-family:var(--mono);font-weight:600;
  font-variant-numeric:tabular-nums}
.acct-plan-btns{display:flex;flex-wrap:wrap;gap:10px}

/* ---- seats on the account hub ---------------------------------------- *
 * The team a payer bought, drawn under their plan card by seatSection() in
 * /alerts.js. The list itself is the hub's own row shape (.acct-alerts) and
 * its own chip: a colleague on a seat and a saved alert are both "one thing
 * on this account with one control", and the page has exactly one way of
 * drawing that. What is new here is the invitation form, the two lines under
 * the plan card a member reads, and the panel an invitation arrives in.
 *
 * The seat list needs no rules of its own beyond the top margin: everything
 * else it wears is inherited from .acct-alerts above. */
.acct-seats{margin-top:4px}
.acct-seat-lead{margin-top:6px}
.acct-seat-hold{margin:0 0 14px}
.acct-seat-full{margin:14px 0 0}
/* The invitation form on one line where there is a line's worth of room: the
   label over a 44px field, the button beside it at the same 44, and both fall
   into a column under 260px + the button's own width. align-items:flex-end is
   what puts the button's baseline on the field's rather than on the label's.
   The field's own 20px bottom margin is cleared here — the gap between the two
   controls is this flex gap, stated once, not a margin plus a gap. */
.acct-seat-add{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin:16px 0 0}
.acct-seat-add .acct-field{flex:1 1 260px;min-width:0;margin:0}
.acct-seat-add .button{margin:0;min-height:44px}
.acct-seat-btns{margin-top:18px}
/* The paid-quantity row: a label, the stepper, and the button that only exists
   once the number differs from the number being paid for.
 *
 * The control itself is the price list's (.p-seats-ctl / -b / -n below), not a
 * second implementation of the same box: one stepper on this site, one set of
 * borders, one focus ring. What is overridden is only its SIZE, because on the
 * price list it sits beside 12.5px text at the site's dense 34px and here it
 * sits beside a real .button. 38px of button plus the 1px box either side is
 * 40, which is --control-h exactly, so the row is one height rather than two;
 * the widths follow it up (40 + 1 + 44 + 1 + 40 = 126, 128 with the box's own
 * border) so the buttons stay square-ish rather than becoming letterboxes.
 *
 * align-items:center rather than stretch: the label is one line and must sit on
 * the middle of a 40px control, not be stretched to it. The row wraps, and the
 * 12px gap is the whole of the spacing between the three — no margins on the
 * children, so a wrapped row has the same gap as an unwrapped one. */
.acct-seat-qty{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 0}
.acct-seat-qty-k{font-size:var(--fs-small);color:var(--muted)}
.acct-seat-qty .p-seats-b{min-width:40px;min-height:38px}
.acct-seat-qty .p-seats-n{min-width:44px}
.acct-seat-qty .button{margin:0}
/* Why a stop is a stop. A note under the row rather than a title alone, because
   a title is unreachable by touch and by most of the keyboard paths that get
   here; the disabled button points at it with aria-describedby. */
.acct-seat-why{margin:8px 0 0}
/* The one sentence between the button and the charge. The same panel this site
   frames an offer in (the accent down the left edge), at the tighter padding a
   two-line block wants: 1px border, 13px above and below the text, 15px either
   side, and the 3px accent replacing the left border rather than sitting beside
   it. The paragraph's own bottom margin is the gap to the buttons, stated once.
   role="group" is on the div, so it is announced as one thing rather than as a
   loose paragraph followed by two buttons. */
.acct-seat-confirm{margin:14px 0 0;padding:13px 15px;background:var(--panel);
  border:1px solid var(--line);border-left:3px solid var(--signal);border-radius:var(--radius)}
.acct-seat-confirm p{margin:0 0 12px;font-size:var(--fs-card);line-height:1.6}
.acct-seat-confirm-btns{display:flex;flex-wrap:wrap;gap:10px}
/* Whose money a mirrored plan is. The plan is the fact and the payer is the
   footnote, so it is the quiet half of one line rather than a second line
   under it: "Pro · sedež, ki ga plačuje ana@agencija.si" is one sentence. */
.acct-plan-seat{font-weight:400;font-size:var(--fs-card);color:var(--muted)}
.acct-plan-leave{margin:2px 0 0}
/* An invitation waiting at /racun/?seat=…, framed the way this site frames an
   offer — a panel with the accent down its left edge — because it is the one
   block on the hub the reader did not come here for.
 *
 * A section. prefix, and not .acct-seat-ask alone: this block is always the FIRST
 * child of .account-app, and .account-app section:first-child (0,2,1) resets
 * exactly the three properties a panel needs. Matching that specificity and
 * sitting later in the sheet is what makes the padding and the border stick. */
.account-app section.acct-seat-ask{margin:0 0 4px;padding:16px 18px;
  border:1px solid var(--line);border-left:3px solid var(--signal);border-radius:var(--radius)}

/* "Poglej kot": the admin-only tier switch. A segmented control rather than a
   dropdown, because all four choices are worth reading at once and the one
   that is on has to be visible without opening anything. */
.acct-pv{margin:22px 0 0;padding:16px 0 0;border-top:1px solid var(--line)}
.acct-pv h3{margin:0 0 9px;font-size:var(--fs-label);font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted)}
.acct-pv-sw{display:inline-flex;flex-wrap:wrap;border:1px solid var(--line);border-radius:var(--radius-s);
  overflow:hidden;background:var(--panel-2)}
.acct-pv-sw button{appearance:none;background:none;border:none;border-right:1px solid var(--line);
  color:var(--muted);font:inherit;font-size:var(--fs-small);padding:7px 14px;cursor:pointer}
.acct-pv-sw button:last-child{border-right:none}
.acct-pv-sw button:hover:not([disabled]){color:var(--paper)}
.acct-pv-sw button[aria-pressed="true"]{background:var(--signal);color:var(--on-signal);font-weight:600}
.acct-pv-sw button[disabled]{opacity:.55;cursor:default}
.acct-pv .note{margin:9px 0 0}

/* The return from Stripe, read out of ?billing= and then swept from the URL. */
.acct-toast{margin:0 0 16px;padding:11px 14px;border-radius:var(--radius);font-size:var(--fs-card);
  background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--signal)}
.acct-toast.no{border-left-color:var(--warn)}

/* ---- the price list (/cenik/, /en/pricing/) --------------------------- *
 * The monthly / yearly switch is a checkbox and two labels, exactly like the
 * navigation menu, so every price on the page is readable and switchable with
 * JavaScript off. The selector .plantog:checked ~ … reaches the cards because
 * the checkbox and the cards are siblings inside .p-plans; that is why the
 * markup nests the way it does. */
.p-plans{margin-top:6px}
.p-toggle{display:inline-flex;margin:18px 0 20px;border:1px solid var(--line);border-radius:var(--radius-s);
  overflow:hidden;background:var(--panel)}
.p-toggle label{display:flex;align-items:center;gap:7px;padding:9px 16px;font-size:var(--fs-small);font-weight:600;
  color:var(--muted);cursor:pointer;user-select:none}
.pt-save{padding:1px 6px;border-radius:var(--radius-s);background:var(--panel-2);color:var(--signal-ink);
  font-size:var(--fs-label);font-weight:700;letter-spacing:.03em;text-transform:uppercase}
.plantog:not(:checked) ~ .p-toggle .pt-a,
.plantog:checked ~ .p-toggle .pt-b{background:var(--signal);color:var(--on-signal)}
.plantog:checked ~ .p-toggle .pt-b .pt-save{background:rgba(0,0,0,.18);color:inherit}
.plantog:focus-visible ~ .p-toggle{outline:2px solid var(--signal);outline-offset:2px}
/* One of the two prices is drawn; the other is not there at all, so a screen
   reader is never read two prices for one plan. */
.plantog:not(:checked) ~ .p-cards .p-yr{display:none}
.plantog:checked ~ .p-cards .p-mo{display:none}

/* Three plans in one row, one height, one set of baselines. On a desktop the
   cards are subgrids over nine shared rows (name, price, billing line, seat
   stepper, its note, blurb, list, button, reassurance), each child pinned to
   its own row, so a free card that has no stepper still leaves the stepper's
   room and every list starts on the same line, whatever the card above it
   carried; the list row is as tall as the longest list, which is what puts
   the three buttons on one line at the bottom. Below 761px the cards stack
   and each is a plain column. */
.p-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:var(--space-5);row-gap:var(--space-5);margin:0 0 6px;
  padding-top:var(--space-3)}
.p-card{position:relative;display:flex;flex-direction:column;background:var(--panel);
  border:1px solid var(--line-soft);border-radius:var(--radius);padding:var(--space-5) var(--space-5) 20px;
  box-shadow:var(--shadow-1)}
@supports (grid-template-rows:subgrid){
  @media (min-width:761px){
    .p-cards{row-gap:0}
    .p-card{display:grid;grid-row:span 9;grid-template-rows:subgrid;row-gap:0;align-content:start}
    .p-card>.p-name{grid-row:1}
    .p-card>.p-price{grid-row:2}
    .p-card>.p-billed{grid-row:3}
    .p-card>.p-seats{grid-row:4}
    .p-card>.p-seats-note{grid-row:5}
    .p-card>.p-blurb{grid-row:6}
    .p-card>.p-list{grid-row:7;align-self:start}
    .p-card>.p-cta{grid-row:8;align-self:end}
    .p-card>.p-reassure{grid-row:9}
  }
}
/* The recommendation, as a filled badge straddling the top edge, a deeper
   shadow and a full accent border that is drawn OUTSIDE the box (a 1px border
   plus a 1px ring) so the card is exactly the size of its neighbours and its
   content starts on the same line as theirs. The badge is out of the flow for
   the same reason: it adds no height to the card it labels. */
.p-card.p-best{border-color:var(--signal);background:var(--panel);
  box-shadow:0 0 0 1px var(--signal),var(--shadow-2)}
/* The label that names the recommendation. Mono, because it is metadata about
   the card and not a word in it. */
.p-flag{position:absolute;top:0;left:var(--space-5);transform:translateY(-50%);margin:0;padding:6px 12px;
  border-radius:999px;background:var(--signal);color:var(--on-signal);
  font:600 var(--fs-label)/1 var(--mono);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
/* The plan's name is a label (mono, uppercase, tracked), not a heading in the
   running type; the price under it is the loudest thing on the card. */
.p-name{font-family:var(--mono);font-size:var(--fs-fine);font-weight:600;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.p-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
/* The price: a figure, so mono; 32px so it is read before anything else. */
.p-amt{font-family:var(--mono);font-size:32px;font-weight:600;letter-spacing:-.03em;
  font-variant-numeric:tabular-nums;line-height:1.1}
.p-per{font-size:var(--fs-small);color:var(--muted)}
.p-billed{margin:4px 0 0;font-size:var(--fs-fine);color:var(--muted)}
.p-blurb{margin:12px 0 0;font-size:var(--fs-card);color:var(--muted);line-height:1.5}
/* A grid with a real gap rather than padding on each row: the tick sits at the
   top of its line, and 5px of padding above and below every item made the
   space between two highlights depend on whether either of them had wrapped. */
.p-list{display:grid;gap:10px;margin:20px 0 var(--space-5);padding:0;list-style:none;font-size:var(--fs-card)}
.p-list li{padding:0 0 0 20px;position:relative}
.p-list li::before{content:"✓";position:absolute;left:0;color:var(--signal-ink);font-weight:700}
/* Pushed to the foot of the card so three cards of different heights still
   line their buttons up. */
.p-cta{margin-top:auto;text-align:center}
/* Only the recommended plan's button is solid. The other paid plan keeps the
   same box and the same label, drawn as the ghost button the free plan has, so
   the page has exactly one primary action in the row. */
.p-card:not(.p-best) .p-cta{background:transparent;color:var(--signal-ink);border-color:var(--line-accent)}
.p-card:not(.p-best) .p-cta:hover{background:var(--accent-soft);border-color:var(--signal);color:var(--signal-ink)}
.p-cta[aria-disabled=true]{opacity:.55;pointer-events:none}
/* The one line under the button: what it costs and that it can be undone.
   Quiet on purpose — it is read after the decision is nearly made, and a
   reassurance that shouts reads as a warning. */
.p-reassure{margin:8px 0 0;font-size:var(--fs-fine);line-height:1.45;color:var(--muted);text-align:center}
.p-soon{margin-top:12px}

/* The seat stepper, under the price on the two paid cards.
 *
 * Present in the HTML always and drawn only where a script could drive it: the
 * :not(.ds-js) rule below is what makes "no JavaScript" mean "the card you
 * have always had plus a sentence" (see planCard()). [hidden] is the other
 * direction, and it outranks the base rule rather than the .ds-js one on
 * purpose: /alerts.js sets it on a reader who already subscribes, whose seat
 * count is changed in the Customer Portal and not here. Two 32px
 * buttons either side of a 38px number, all inside one 1px box: 32 + 1 + 38 +
 * 1 + 32 makes a 104px row, 106 with the box's own border, and 34px tall. That
 * is the site's dense-control size rather than its 40px button, because this
 * is the quietest line on the card and must not become its loudest.
 *
 * The number is the only mono thing on the card below the price, which is
 * deliberate: it is a figure that changes, and the price above it is the other
 * one. The suffix beside the price ("· 4 sedeži") is the same muted size the
 * period is, because it qualifies the amount rather than competing with it. */
.p-seats{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0}
html:not(.ds-js) .p-seats{display:none}
.p-seats[hidden]{display:none}
.p-seats-k{font-size:var(--fs-small);color:var(--muted)}
.p-seats-ctl{display:inline-flex;align-items:stretch;background:var(--panel-2);
  border:1px solid var(--line);border-radius:var(--radius-s);overflow:hidden}
.p-seats-b{appearance:none;background:none;border:0;padding:0;min-width:32px;min-height:32px;
  font:inherit;font-size:var(--fs-body);line-height:1;color:var(--signal-ink);cursor:pointer;
  transition:var(--tx)}
.p-seats-ctl .p-seats-b:first-child{border-right:1px solid var(--line)}
.p-seats-ctl .p-seats-b:last-child{border-left:1px solid var(--line)}
.p-seats-b:hover:not([disabled]){background:var(--panel)}
.p-seats-b[disabled]{opacity:.4;cursor:default}
.p-seats-b:focus-visible{outline:2px solid var(--signal);outline-offset:-2px}
.p-seats-n{display:inline-flex;align-items:center;justify-content:center;min-width:38px;
  font-family:var(--mono);font-size:var(--fs-card);font-weight:600;font-variant-numeric:tabular-nums;
  color:var(--paper)}
.p-seats-note{margin:6px 0 0;font-size:var(--fs-fine);line-height:1.45;color:var(--muted)}
.p-seats-sum{font-size:var(--fs-small);color:var(--muted)}

/* The one-off box: the card family's own box (soft hairline, resting shadow,
   8px corner) with the accent down its left edge, one row on a desktop. */
.p-once{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 24px;
  background:var(--panel);border:1px solid var(--line-soft);border-left:3px solid var(--signal);
  border-radius:var(--radius);box-shadow:var(--shadow-1);padding:var(--space-5) var(--space-5)}
.p-once>div:first-child{flex:1 1 320px;min-width:0}
.p-once .p-blurb{margin-top:6px}
.p-once-buy{display:flex;align-items:center;gap:16px}
.p-pass{margin-top:18px}
.p-once-buy .p-cta{margin-top:0}

/* The comparison. The first column is prose and must wrap; every other cell is
   short enough to keep the default nowrap, and the whole table scrolls inside
   .tw on a phone rather than pushing the page sideways. */
.matrix td:first-child,.matrix th:first-child{white-space:normal;min-width:190px}
.matrix td{padding-top:12px;padding-bottom:12px}
.matrix th:not(:first-child),.matrix td:not(:first-child){text-align:center;padding-right:0;
  padding-left:12px}
.mx-y{color:var(--signal-ink);font-weight:700}
.mx-n{color:var(--muted)}

@media (max-width:760px){
  .p-cards{grid-template-columns:1fr}
  .p-once{flex-direction:column;align-items:flex-start;padding:var(--space-4)}
  /* In a column the 320px flex basis would be a height, not a width. */
  .p-once>div:first-child{flex:0 0 auto}
  .p-once-buy{width:100%;justify-content:space-between}
}

/* ---- the alert form -------------------------------------------------- *
 * A draft, not a subscription: the radios and the button collect what the
 * reader wants watched, and /alerts.js takes it from there. Three radios
 * because the free tier carries one alert. */
.alertform{margin:14px 0 10px}
.alertform fieldset{border:0;margin:0;padding:0}
.alertform legend{padding:0;font-size:var(--fs-fine);text-transform:uppercase;letter-spacing:.06em;
  color:var(--muted);margin-bottom:8px}
.alertopt{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:var(--fs-card);cursor:pointer}
.alertopt input{accent-color:var(--signal);width:16px;height:16px;margin:0}
.alertform .button{margin-top:14px}
/* Off-screen rather than display:none — a bot that reads the computed style
   skips a hidden field and fills in one that only looks visible. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---- the monthly digest ---------------------------------------------- *
 * Deliberately unlike the alert form it sits under: a panel with a rule
 * down its edge rather than the bare page, one field rather than three
 * radios. A reader glancing at the two should see two offers, not one
 * offer typeset twice. */
.newsletter{background:var(--panel);border:1px solid var(--line);
  border-left:3px solid var(--signal);border-radius:var(--radius);padding:20px}
/* The mark is the homepage question cards' own tile (36px, --panel-2, the
   small radius) with the same 22px line icon in it, vertically centred on the
   heading's first line, where an emoji used to sit. */
.newsletter h2{display:flex;align-items:center;gap:var(--space-3);margin-bottom:10px;font-size:22px}
.nl-i{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 auto;
  border-radius:var(--radius-s);background:var(--panel-2);color:var(--signal-ink)}
.nl-i svg{display:block}
.cta h2{font-size:22px}
.newsletter .note{margin:12px 0 0}
.nlform{margin:14px 0 0}
.nlrow{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
.nlmail{flex:1 1 220px;min-width:0;font-family:inherit;font-size:var(--fs-body);line-height:1.25;
  padding:10px 12px;color:var(--paper);background:var(--panel-2);
  border:1px solid var(--line);border-radius:var(--radius-s)}
.nlmail::placeholder{color:var(--muted)}
.nlrow .button{flex:0 0 auto;border:1px solid var(--signal)}
/* Reserved rather than inserted: the row must not jump when the answer lands. */
.nlmsg{margin:10px 0 0;font-size:var(--fs-small);min-height:1.25em;color:var(--muted)}
.nlmsg.ok{color:var(--signal-ink);font-weight:600}
.nlmsg.err{color:var(--warn)}
.nlreveal{margin:14px 0 0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.nlreveal .note{margin:0}

/* ---- the contact form -------------------------------------------------- *
 * One field per line rather than the newsletter's single row: a subject and
 * a message do not fit beside a button the way one email address does, and a
 * form that reflows five times as it narrows reads worse than one that never
 * tries to be a row. Reuses .button and .hp (the honeypot) as they stand. */
.ctform{margin:16px 0;max-width:640px}
.ctform .field{margin:0 0 14px}
.ctform label{display:block;font-size:var(--fs-fine);text-transform:uppercase;letter-spacing:.06em;
  color:var(--muted);margin:0 0 6px}
.ctform input[type=text],.ctform input[type=email],.ctform input[type=url],.ctform select,.ctform textarea{
  width:100%;box-sizing:border-box;font-family:inherit;font-size:var(--fs-body);line-height:1.4;
  padding:10px 12px;color:var(--paper);background:var(--panel-2);
  border:1px solid var(--line);border-radius:var(--radius-s)}
.ctform input::placeholder,.ctform textarea::placeholder{color:var(--muted)}
.ctform textarea{min-height:120px}
.ctform .hint{font-size:var(--fs-small);color:var(--muted);margin:6px 0 0}
/* The live character count, under the box it counts and hard against its
   right edge, where the room left is: the textarea is width:100% inside the
   field, so a right-aligned line under it ends where the box ends. Four
   pixels of margin and nothing else, so adding the count never changes the
   field's own 14px rhythm; where a hint follows, the hint's own 6px keeps
   the two apart. */
.ctform .ctcount{font-size:var(--fs-small);color:var(--muted);text-align:right;margin:4px 0 0}
/* The field the endpoint refused. Only the border colour moves, so the box
   is exactly the box it was before it was blamed. */
.ctform [aria-invalid=true]{border-color:var(--warn)}
.ctform .consent{font-size:var(--fs-small);color:var(--muted);margin:0 0 14px}
.ctform .consent a{color:var(--signal-ink)}
/* The Turnstile widget is 65px tall once it has drawn; reserved so the consent
   line and the button below it do not jump when it appears. */
.ctform .cf-turnstile{margin:0 0 14px;min-height:65px}
/* Reserved rather than inserted: the form must not jump when the answer lands. */
.ctmsg{margin:12px 0 0;font-size:var(--fs-small);min-height:1.25em;color:var(--muted)}
.ctmsg.ok{color:var(--signal-ink);font-weight:600}
.ctmsg.err{color:var(--warn)}

/* ---- the size-to-price calculator ------------------------------------- *
 * sizeCalcSection() in gen-pages.mjs. It is a .card (panel, 1px --line-soft,
 * --radius, 20px, --shadow-1: the same box the headline figures sit in) with
 * the contact form's field language inside it: the same label, and the same
 * input box (--panel-2, 1px --line, --radius-s, 10px 12px). Colours are
 * tokens only, so both themes follow.
 *
 * The controls are hidden until the script reveals them; the output block
 * does not change height when it does, and the second line of the caption is
 * reserved so a longer window label never moves what is below. The range is
 * allowed to wrap on a phone rather than overflow the card. */
.sizecalc{margin:0 0 14px}
.sc-form{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:var(--space-3);margin:0 0 16px;max-width:480px}
.sc-form[hidden]{display:none}
.sc-field label{display:block;font-size:var(--fs-fine);text-transform:uppercase;letter-spacing:.06em;
  color:var(--muted);margin:0 0 6px}
.sc-field select,.sc-field input{width:100%;box-sizing:border-box;font-family:inherit;font-size:var(--fs-body);
  line-height:1.4;padding:10px 12px;color:var(--paper);background:var(--panel-2);
  border:1px solid var(--line);border-radius:var(--radius-s)}
.sc-field input[aria-invalid=true]{border-color:var(--warn)}
.sizecalc .card-v{white-space:normal;font-size:clamp(20px,5.2vw,26px)}
.sizecalc .card-h{min-height:2.8em}
.sc-ex{list-style:none;margin:0 0 14px;padding:0}
.sc-ex li{margin:0 0 6px;max-width:var(--measure);line-height:1.6}
@media (max-width:480px){.sc-form{grid-template-columns:1fr}}
/* The written reading, directly under the headline figures. */
.area > .reading{max-width:var(--measure);line-height:1.6;margin:0 0 var(--space-5)}

.jump{display:flex;flex-wrap:wrap;gap:4px;font-family:var(--mono);font-size:var(--fs-small)}
.jump a{padding:3px 8px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-s)}
.alpha{margin:22px 0}
.alpha h3{margin:0 0 8px;color:var(--muted);font-family:var(--mono);font-size:var(--fs-small)}
.cols{list-style:none;margin:0;padding:0;columns:3;column-gap:24px;font-size:var(--fs-card)}
.cols li{break-inside:avoid;padding:2px 0}

/* ---- the homepage ------------------------------------------------------ *
 * The hero carries the lockup at reading size and the header keeps its own
 * small one: the sticky bar is navigation and the hero is the page, and the
 * two never share a screen for long. */
/* section.hero, not .hero. The hero IS the first section on the homepage, and
   the shared section:first-of-type rule that strips the rule and the padding
   off a page opener is (0,1,1) — so a bare .hero at (0,1,0) lost padding-top
   to it and had been silently rendering at zero for as long as both rules
   have existed. Matching on the element as well makes the two equal and lets
   the later one, this one, actually say what it says. */
section.hero{text-align:center;padding-block:44px var(--space-6);border-top:none}
.hero-mark{display:block;margin:0 auto 14px;height:104px;width:auto;max-width:100%}
/* 40px flat rather than a clamp that topped out at 44. The proposition is
   already the largest thing on the page at 40, and the four extra pixels were
   spent pushing the sentence that explains it further down: a headline and its
   explanation are one object, and -.025em with a 1.1 line and a 12px gap is
   what makes them read as one. */
.hero h1{margin:0 0 var(--space-3);font-size:40px;letter-spacing:-.025em;line-height:1.1}
/* 680px is a measure, not a container: the hero is centred text, and a
   centred line the full width of a 900px page is one nobody's eye can return
   from. 1.55 because this is the one paragraph on the site read before the
   reader has decided to read anything. */
.hero .lead{max-width:680px;margin:0 auto var(--space-5);font-size:17px;line-height:1.55;
  color:var(--muted)}
.hero .ctaline{justify-content:center}


/* ---- the four Pro tool landing pages ---------------------------------- *
 * /cenilec/, /kreator/, /mcp/ and /casovni-trak/ each carry a landing page
 * above the tool itself. These rules are only ever loaded with the shared
 * stylesheet, so everything here is prefixed: "ln-" for the landing blocks,
 * "smp-" for the hand-drawn listing sample. The stored-report viewer
 * brings REPORT_CSS with it, inlined by the page, and is scoped under .report
 * there; the timeline's own live demo brings TIMELINE_CSS the same way,
 * prefixed "td-". */

/* The hero. Left-aligned rather than the homepage's centre: a landing page is
   read as a sales letter and a centred paragraph of forty words is read as a
   poster. */
.ln-hero{border-top:none;padding-top:16px}
.ln-hero h1{max-width:20ch;margin:0 0 .35em}
/* The tool's scene beside the words, at twice the card size. A grid rather
   than a float so the column is a column: every child of the hero sits in the
   first track and the scene alone in the second, spanning the rows the words
   take. A hero without a scene has an empty auto track, which is nothing. On
   a phone the scene goes above the heading at card size instead: a 192px
   column beside a 20ch heading is neither. */
.ln-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;align-items:start}
.ln-hero>*{grid-column:1}
.ln-art{grid-column:2;grid-row:1/span 4;align-self:center;width:192px;height:128px;color:var(--paper)}
.ln-art svg{display:block;width:100%;height:100%}
@media (max-width:699px){
  .ln-hero{display:block}
  .ln-art{display:block;width:120px;height:80px;margin:0 0 6px}
}
.ln-promise{max-width:62ch;font-size:17px;margin:0 0 20px}
.ln-cta{margin:0 0 18px}
/* Only one of the three primary buttons is shown at a time. The hidden
   attribute's own user-agent rule is display:none, and .button's
   display:inline-block beats it on specificity, so the rule is restated here
   at a weight that wins. It has to cover ALL THREE and not only the two that
   ship hidden: when /alerts.js reveals the Pro button it hides the signed-out
   one, and a rule that only knew about the two would have left both standing.
*/
.ln-cta .button[hidden]{display:none}
.ln-proof{list-style:none;display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0}
.ln-proof li{font-size:var(--fs-small);color:var(--muted);display:flex;align-items:center;gap:7px}
.ln-proof li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--signal);flex:0 0 auto}

/* Four claims, each led by a figure. The figure is the thing the eye lands on,
   so it is set in the mono face at card size and the sentence under it is
   ordinary prose. */
/* Two by two, not auto-fit: there are always four of these, and auto-fit
   turns four into three and one, which reads as one claim that did not fit
   rather than as a fourth claim. */
.ln-bens{list-style:none;display:grid;grid-template-columns:1fr;gap:var(--space-4);margin:0;padding:0}
@media (min-width:700px){ .ln-bens{grid-template-columns:1fr 1fr} }
@media (min-width:1000px){ .ln-bens{grid-template-columns:repeat(4,minmax(0,1fr))} }
.ln-bens li{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:16px 16px 14px}
.ln-ben-n{font-family:var(--mono);font-size:28px;font-weight:600;letter-spacing:-.02em;
  color:var(--signal-ink);margin:0;line-height:1.1;font-variant-numeric:tabular-nums}
.ln-ben-u{font-family:var(--sans);font-size:var(--fs-fine);font-weight:500;color:var(--muted);
  margin-left:6px;letter-spacing:0}
.ln-bens h3{margin:8px 0 6px;font-size:var(--fs-body)}
.ln-bens p{font-size:var(--fs-card);line-height:1.6;margin:0;color:var(--paper);opacity:.9}

/* The worked example, in a frame that says it is one. */
.ln-sample{margin:0;position:relative}
.ln-ribbon{position:absolute;top:-9px;left:14px;z-index:2;font-size:var(--fs-label);font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;color:var(--on-signal);background:var(--signal);
  padding:3px 9px;border-radius:var(--radius-s)}
.ln-frame{border:1px solid var(--line-accent);border-radius:var(--radius);background:var(--panel);
  max-height:min(78vh,760px);overflow:auto;overscroll-behavior:contain;padding:22px 18px 18px;
  -webkit-overflow-scrolling:touch}
.ln-frame:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
/* The scale is a transform on a wrapper rather than a font-size, so the
   document inside keeps its own proportions and its own line breaks; the
   negative margin gives the freed width back to the frame. */
.ln-scale{transform:scale(var(--ln-s,1));transform-origin:top left;
  width:calc(100% / var(--ln-s,1));margin-bottom:calc((var(--ln-s,1) - 1) * 100%)}
@media (max-width:640px){
  .ln-scale{transform:none;width:100%;margin-bottom:0}
  .ln-frame{padding:18px 12px 12px;max-height:min(70vh,640px)}
  .ln-cta .button{width:100%;justify-content:center;text-align:center;box-sizing:border-box}
}
.ln-sample figcaption{margin-top:10px}
/* A tool's promo clip under its hero (toolPromo()). Dark whatever the theme:
   the clips are drawn on the brand's night ground. */
.ln-video{margin:0;border:1px solid var(--line-soft);border-radius:var(--radius);overflow:hidden;background:#0e1318;box-shadow:var(--shadow-1)}
.ln-video video{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/9}
/* The embedded report is a light document whatever the page around it is: it
   is a facsimile of a printed page, and a printed page is white. */
.ln-frame .report{background:transparent}
/* Its headings were pushed down two levels so the page keeps one outline (see
   demoteHeadings), and REPORT_CSS still styles the h1, h2 and h3 it wrote. The
   three levels the demoted copy actually uses are restated here at exactly the
   sizes that block gives them, so the facsimile still reads as the document it
   is a facsimile of. */
.ln-frame .report h3{font-size:1.6rem;line-height:1.25;margin:.2rem 0 .3rem;font-weight:600}
.ln-frame .report h4{font-size:1.15rem;margin:0 0 .6rem;font-weight:600}
.ln-frame .report h5{font-size:1rem;margin:1rem 0 .4rem;font-weight:600}

/* Who it is for. */
.ln-who{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:12px;margin:0;padding:0}
.ln-who li{border-top:2px solid var(--line-accent);padding-top:12px}
.ln-who h3{margin:0 0 6px;font-size:var(--fs-body)}
.ln-who p{font-size:var(--fs-card);line-height:1.6;margin:0;color:var(--paper);opacity:.9}

/* The price block. Not the price list's cards: this is a summary with one
   recommended row, and the full matrix is one link away. */
.ln-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:0 0 14px}
.ln-price{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:15px 16px 13px;
  display:flex;flex-direction:column}
.ln-price.best{border-color:var(--signal);box-shadow:inset 0 0 0 1px var(--signal)}
.ln-price h3{margin:0 0 8px;font-size:var(--fs-small);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.ln-amt{font-family:var(--mono);font-size:26px;font-weight:600;letter-spacing:-.02em;margin:0;
  line-height:1.1;font-variant-numeric:tabular-nums}
.ln-per{font-family:var(--sans);font-size:var(--fs-fine);font-weight:500;color:var(--muted);margin-left:6px;letter-spacing:0}
.ln-second{font-size:var(--fs-fine);color:var(--muted);margin:4px 0 0}
.ln-what{font-size:var(--fs-small);line-height:1.55;margin:10px 0 12px;color:var(--paper);opacity:.9}
.ln-go{margin:auto 0 0;font-size:var(--fs-card)}
.ln-reassure{font-size:var(--fs-card);color:var(--paper);opacity:.92;margin:0 0 8px}

/* The MCP transcript. A terminal by typography rather than by colour: the
   labels are small caps, the calls and the answers are mono, and the whole
   thing scrolls sideways inside its own box rather than pushing the page. */
.ln-term{font-size:var(--fs-small)}
.ln-term-b{padding:0 0 16px;margin:0 0 16px;border-bottom:1px solid var(--line)}
.ln-term-b:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}
.ln-term-l{font-size:var(--fs-label);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);
  margin:0 0 4px;font-weight:600}
.ln-term-ask{margin:0 0 12px;font-size:var(--fs-body)}
.ln-term-ask::before{content:"› ";color:var(--signal-ink);font-family:var(--mono)}
.ln-term-c,.ln-term-o{font-family:var(--mono);font-size:var(--fs-small);line-height:1.6;margin:0 0 12px;
  padding:10px 12px;border-radius:var(--radius-s);overflow-x:auto;white-space:pre;background:var(--panel-2);
  border:1px solid var(--line)}
.ln-term-c{color:var(--signal-ink)}
.ln-term-o{color:var(--muted)}
.ln-term-say{margin:0;font-size:var(--fs-card)}
.ln-term-say::before{content:"⤷ ";color:var(--signal-ink)}

/* ---- /za-agente/ (and /en/for-agents/) -------------------------------- *
 * The agent landing page. Its blocks are prefixed "ag-" and it borrows the
 * shared landing pieces where the shape is the same one (.ln-proof for the
 * hero's proof marks, .ln-sample/.ln-frame for the two screenshots,
 * .ln-prices for the single price card). Everything here is either a grid
 * that collapses at 700px or a card on var(--panel): no new colours, and
 * nothing that inverts a screenshot in the dark theme. */

/* section.ag-hero, not .ag-hero: section:first-of-type is (0,1,1) and would
   otherwise win the padding back, the same trap section.hero above is written
   against. */
section.ag-hero{border-top:none;padding-top:4px;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,42%);column-gap:36px;align-items:start}
.ag-hero>*{grid-column:1}
.ag-eyebrow{font-family:var(--mono);font-size:var(--fs-label);font-weight:600;letter-spacing:.11em;
  text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.ag-hero h1{max-width:19ch;margin:0 0 .3em}
/* Two headlines ship in the markup and one of them is shown. The default is
   "a" — the hidden attribute's own display:none does that with no script at
   all — and AGENTI_HERO_SCRIPT stamps data-hero on <html> before the first
   paint, so ?h=b swaps them without a flash. Forcing display on the "b"
   heading is also what puts it back into the accessibility tree, and takes
   the other one out of it: a browser computes both from the computed style,
   so the page still has exactly one <h1> a reader can meet. */
.ag-hero h1[data-h="b"][hidden]{display:none}
:root[data-hero="b"] .ag-hero h1[data-h="a"]{display:none}
:root[data-hero="b"] .ag-hero h1[data-h="b"][hidden]{display:block}
.ag-promise{max-width:54ch;font-size:17px;margin:0 0 18px}
.ag-cta{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 8px}
.ag-note{font-size:var(--fs-small);color:var(--muted);margin:0 0 16px}
.ag-note a{color:inherit;text-decoration:underline}
/* The device frame. A 10px bezel in the page's own ink at low opacity, so it
   reads as a dark tablet in the light theme and a pale one in the dark theme
   rather than as a black rectangle in both. color-mix is already used
   elsewhere in this sheet; the flat panel underneath is what a browser
   without it gets, which is a frame either way. */
.ag-shot{grid-column:2;grid-row:1/span 8;align-self:start;margin:0}
.ag-frame{display:block;border-radius:18px;padding:10px;background:var(--panel-2);
  border:1px solid var(--line);box-shadow:0 16px 38px rgba(0,0,0,.16)}
@supports (background:color-mix(in srgb,currentColor 10%,transparent)){
  .ag-frame{background:color-mix(in srgb,currentColor 13%,transparent)}
}
.ag-frame img,.ag-frame video{display:block;width:100%;height:auto;border-radius:9px;
  border:1px solid var(--line);background:var(--panel)}
.ag-cap{font-size:var(--fs-small);color:var(--muted);margin:8px 0 0}
/* Zoomable stills: the link is the picture, the cursor says so, and the
   dialog shows the file at up to the viewport with a dark scrim behind. */
.ag-zoom{display:block;cursor:zoom-in;color:inherit}
.ag-zoom:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.ag-lightbox{border:0;padding:0;background:transparent;max-width:96vw;max-height:94vh;margin:auto;cursor:zoom-out}
.ag-lightbox::backdrop{background:rgba(15,24,33,.86)}
.ag-lightbox img{display:block;max-width:96vw;max-height:94vh;width:auto;height:auto;border-radius:var(--radius);
  background:var(--panel);box-shadow:0 20px 60px rgba(0,0,0,.4)}
.ag-lightbox-x{position:fixed;top:14px;right:16px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  background:rgba(15,24,33,.6);color:#fff;font-size:24px;line-height:1;cursor:pointer}
.ag-lightbox-x:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* The deck. A 520px stage with seven cards laid on it by their own custom
   properties; each card runs the same 26 s animation from a different
   delay, rising to the centre, holding, and settling back. The z-index is
   part of the keyframes so the rising card is also the one on top, and the
   easing is the same slow-out curve everywhere so the cards feel like one
   material. With reduced motion the stage is still: a fanned deck with the
   last card on top, which is the state every cycle returns to anyway. */
/* Isolated, so a card at 30 ranks only among its deck and slides under the header. */
.ag-deck{position:relative;height:520px;margin:0;isolation:isolate}
.ag-card{position:absolute;left:50%;top:50%;width:280px;margin:-150px 0 0 -140px;display:flex;flex-direction:column;
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  color:var(--ink);text-decoration:none;box-shadow:0 10px 30px rgba(0,0,0,.10);
  transform:translate(var(--x),var(--y)) rotate(var(--r));z-index:var(--z);
  animation:ag-lift 26s cubic-bezier(.2,.8,.2,1) infinite;animation-delay:var(--d)}
.ag-card:hover,.ag-card:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.ag-card-media{display:block;aspect-ratio:16/10;background:var(--panel-2);border-bottom:1px solid var(--line);overflow:hidden}
.ag-card-media img{display:block;width:100%;height:100%;object-fit:cover}
.ag-card-media.is-soon{display:flex;align-items:center;justify-content:center;background:var(--panel-2);
  border-bottom:1px dashed var(--line-accent);font-family:var(--sans);font-size:var(--fs-fine);color:var(--muted);text-align:center;padding:10px}
.ag-card-meta{display:flex;align-items:center;gap:10px;padding:10px 12px 11px}
.ag-card-art{display:block;width:48px;height:32px;flex:0 0 auto}
.ag-card-art svg{display:block;width:48px;height:32px}
/* Named with the hero in front so the card's own colours beat the page's
   link rule (.wrap a), which would otherwise paint the tool's name blue. */
.ag-hero .ag-card,.ag-hero .ag-card:hover{color:var(--paper);text-decoration:none}
.ag-hero .ag-card-meta b{display:block;font-size:var(--fs-card);font-weight:600;line-height:1.25;color:var(--paper)}
.ag-hero .ag-card-ask{display:block;font-size:var(--fs-fine);color:var(--muted);line-height:1.35}
@keyframes ag-lift{
  0%,100%{transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1);z-index:var(--z)}
  6%{transform:translate(0,0) rotate(0deg) scale(1.04);z-index:30}
  22%{transform:translate(0,0) rotate(0deg) scale(1.04);z-index:30}
  29%{transform:translate(var(--x),var(--y)) rotate(var(--r)) scale(1);z-index:var(--z)}
}
@media (prefers-reduced-motion:reduce){ .ag-card{animation:none} }
/* Under 700px the desk becomes a row the thumb can push: the same cards,
   one at a time, snapping, no animation, no absolute positioning. */
@media (max-width:699px){
  .ag-deck{height:auto;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
    margin:18px -20px 0;padding:4px 20px 8px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .ag-deck::-webkit-scrollbar{display:none}
  .ag-card{position:static;flex:0 0 78%;margin:0;transform:none;animation:none;scroll-snap-align:start;box-shadow:none}
}
@media (max-width:699px){
  section.ag-hero{display:block}
  .ag-shot{margin:18px 0 0}
  .ag-cta .button{width:100%;justify-content:center;text-align:center;box-sizing:border-box}
}

/* Where the deal is lost: three cells, a mono phrase over a sentence, no
   icons. The figure is the thing the eye lands on, so it is the only part of
   the cell set in the mono face. */
.ag-pains{list-style:none;display:grid;grid-template-columns:1fr;gap:12px;margin:0 0 12px;padding:0}
@media (min-width:700px){ .ag-pains{grid-template-columns:repeat(3,1fr)} }
.ag-pains li{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:16px 16px 14px}
.ag-pain-n{font-variant-numeric:tabular-nums;font-size:19px;font-weight:600;letter-spacing:-.015em;
  color:var(--signal-ink);margin:0 0 8px;line-height:1.2;font-variant-numeric:tabular-nums}
.ag-pain-p{font-size:var(--fs-card);line-height:1.6;margin:0;color:var(--paper);opacity:.9}
.ag-src{margin:0}

/* Three pillars. One column on a phone, three from 1024px: at 700px a
   three-column grid of forty-word paragraphs is three columns of hyphens. */
.ag-pillars{list-style:none;display:grid;grid-template-columns:1fr;gap:18px;margin:0;padding:0}
@media (min-width:1024px){ .ag-pillars{grid-template-columns:repeat(3,1fr)} }
.ag-pillars li{border-top:2px solid var(--line-accent);padding-top:12px}
.ag-pill-n{font-family:var(--mono);font-size:var(--fs-fine);font-weight:600;letter-spacing:.08em;
  color:var(--muted);margin:0 0 4px}
.ag-pillars h3{margin:0 0 8px;font-size:var(--fs-body)}
.ag-pill-p{font-size:var(--fs-card);line-height:1.6;margin:0 0 8px;color:var(--paper);opacity:.9}
.ag-pill-t{font-size:var(--fs-small);color:var(--muted);margin:0}

/* The two screenshot samples sit in the shared .ln-frame, which is built to
   scroll a whole embedded document. A picture is not a document: it has one
   height and it is already inside a figure that says what it is, so the frame
   is told to stop scrolling for these two. */
#posli .ln-frame,#akti .ln-frame{max-height:none;overflow:visible;padding:14px}
.ag-shots{display:grid;grid-template-columns:1fr;gap:14px;margin:0}
@media (min-width:700px){ .ag-shots{grid-template-columns:1fr 1fr} }
.ag-shots figure{margin:0}
.ag-shots figcaption{font-size:var(--fs-small);color:var(--muted);margin:8px 0 0;line-height:1.55}
/* A screenshot of a light interface stays a light interface in the dark
   theme: a filter that inverted it would invert the map under it too. The
   border and the panel behind it are what keep it from floating. */
.ag-pic{display:block;border:1px solid var(--line);border-radius:var(--radius)}
.ag-pic img,.ag-pic video{display:block;width:100%;height:auto}

/* What Pro gives you: two columns of cards from 700px. The media box crops to
   a fixed 220px so a row of cards keeps one baseline whatever shape the
   screenshot inside it is. */
.ag-tools{list-style:none;display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:0}
@media (min-width:700px){ .ag-tools{grid-template-columns:1fr 1fr} }
/* The wide column, which is now the one every page has, and the tool cards go
   three across once there is room for three pictures side by side. */
.wrap.ag-wide{max-width:var(--wrap)}
@media (min-width:1100px){ .ag-wide .ag-tools{grid-template-columns:repeat(3,minmax(0,1fr))} }
.ag-tools li{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);padding:15px 16px 14px}
.ln-tool-media{display:block;border:1px solid var(--line);border-radius:var(--radius);
  background:var(--panel);overflow:hidden;margin:0 0 12px;max-height:220px}
.ln-tool-media img,.ln-tool-media video{display:block;width:100%;height:220px;
  object-fit:cover;object-position:top center}
/* A card whose clip has not been recorded yet keeps the box, so a row of
   cards keeps one baseline and the grid does not read as half-finished. The
   dashed edge is what says "not a screenshot"; the text inside it is
   decorative (the sentence under the card already says what the tool does),
   so the whole box is aria-hidden and adds nothing to read. */
.ln-tool-media.is-placeholder{display:flex;align-items:center;justify-content:center;
  height:220px;border:1px dashed var(--line-accent);background:var(--panel-2);
  padding:0 18px;text-align:center}
.ln-tool-soon{font-family:var(--sans);font-size:var(--fs-fine);line-height:1.55;color:var(--muted);
  letter-spacing:.02em}
/* The tool's own scene at the card size the rest of the site draws it at. */
.ag-tool-g{display:block;width:96px;height:64px;margin:-2px 0 2px;color:var(--paper)}
.ag-tool-g svg{display:block;width:100%;height:100%}
.ag-tools h3{margin:4px 0 6px;font-size:var(--fs-body)}
.ag-tool-p{font-size:var(--fs-card);line-height:1.6;margin:0 0 8px;color:var(--paper);opacity:.9}
.ag-tool-plan{font-size:var(--fs-small);color:var(--muted);margin:0 0 10px;line-height:1.55}
.ag-tool-go{margin:auto 0 0;font-size:var(--fs-card)}
.ag-seats{border-color:var(--line-accent)}

/* What the trade says. Three quotations, no faces: a photograph beside a
   quotation is a claim about who said it, and these are forum posts and a
   blog, quoted because of what they say rather than because of who said it.
   The mark is set in the quotation itself (Slovenian „…“, English “…”), so
   the CSS only has to leave room for it. */
.ln-quotes{list-style:none;display:grid;grid-template-columns:1fr;gap:12px;margin:0 0 12px;padding:0}
@media (min-width:700px){ .ln-quotes{grid-template-columns:repeat(3,1fr)} }
.ln-quotes li{display:flex;background:var(--panel);border:1px solid var(--line);
  border-left:2px solid var(--line-accent);border-radius:var(--radius);padding:15px 16px 13px}
.ln-quotes figure{display:flex;flex-direction:column;margin:0;flex:1}
.ln-quotes blockquote{margin:0 0 10px}
.ln-quotes blockquote p{font-size:var(--fs-body);line-height:1.6;margin:0;color:var(--paper)}
.ln-quotes figcaption{margin:auto 0 0;font-size:var(--fs-fine);color:var(--muted)}
.ln-quotes cite,.ln-quote-n cite{font-style:normal}
.ln-quote-n{margin:0}
.ln-quote-n cite{color:var(--muted)}

/* Sam ali s Pro: the scene beside the table from 1024px, over it below. */
.ag-cmp{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}
@media (min-width:1024px){
  .ag-cmp{grid-template-columns:minmax(0,300px) minmax(0,1fr);column-gap:32px;align-items:center}
}
.ag-cmp-art{display:block;width:100%;max-width:320px;margin:0 auto;color:var(--paper)}
.ag-cmp-art svg{display:block;width:100%;height:auto}
.ag-cmp-t{min-width:0}
.ag-table td:first-child{font-weight:600}
/* The shared table rule keeps cells on one line, which is right for a column
   of numbers and wrong for a sentence: with it, the Pro column left the box. */
.ag-table th,.ag-table td{white-space:normal}
.ag-cmp-note{margin:8px 0 0;font-size:var(--fs-small);color:var(--muted)}

/* What it returns: one band, the figures in the mono face, the scene at the
   end of it where there is room for one. */
.ag-roi{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:center;
  background:var(--panel);border:1px solid var(--line-accent);border-radius:var(--radius);
  padding:20px 22px 18px}
@media (min-width:700px){ .ag-roi{grid-template-columns:minmax(0,1fr) 190px} }
.ag-roi-b{font-variant-numeric:tabular-nums;font-size:20px;font-weight:600;letter-spacing:-.015em;
  color:var(--signal-ink);margin:0 0 6px;line-height:1.25}
.ag-roi-s{font-size:var(--fs-small);color:var(--muted);margin:0 0 10px}
.ag-roi-p{font-variant-numeric:tabular-nums;font-size:16px;margin:0;color:var(--paper)}
.ag-roi-art{display:block;width:100%;max-width:190px;color:var(--paper);justify-self:end}
.ag-roi-art svg{display:block;width:100%;height:auto}

/* One card, not three: the auto-fit track would stretch a lone price card the
   width of the page and make the offer look like a banner. Only the lone card
   (landingPrice marks it "one"); three cards share the row. */
#cena .ln-prices.one{grid-template-columns:minmax(0,340px)}

/* ---- /opozorila/ (and /en/alerts/) ------------------------------------ *
 * The alerts landing page. It stands on the agent page's hero grid, pillars
 * and table and adds four things of its own: the sample mail beside the
 * headline, the grid of alert kinds, the two-column "area or one thing"
 * block and the form's municipality field. */
.opz-hero h1{max-width:17ch}
.opz-mail{margin:6px 0 0}
.opz-mail-b{background:var(--panel);border:1px solid var(--line-accent);border-radius:var(--radius);
  padding:20px 18px 8px;box-shadow:0 16px 38px rgba(0,0,0,.10)}
.opz-mail-from{font-family:var(--mono);font-size:var(--fs-label);font-weight:600;letter-spacing:.11em;
  text-transform:uppercase;color:var(--muted);margin:0 0 4px}
.opz-mail-subj{font-size:17px;font-weight:600;line-height:1.3;margin:0 0 12px;color:var(--paper)}
.opz-mail-rows{list-style:none;margin:0;padding:0}
/* Each row arrives a beat after the one above it, once, and then stays: the
   mail is being read, not replayed. Without motion the rows are simply there. */
.opz-mail-rows li{display:grid;gap:2px;padding:11px 0 12px;border-top:1px solid var(--line);
  animation:opz-in .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(.35s + var(--i) * .45s)}
.opz-mail-rows b{font-size:var(--fs-card);font-weight:600;line-height:1.35;color:var(--paper)}
.opz-mail-tag{font-size:var(--fs-label);font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--signal-ink)}
.opz-mail-meta{font-size:var(--fs-small);line-height:1.5;color:var(--muted);font-variant-numeric:tabular-nums}
@keyframes opz-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){ .opz-mail-rows li{animation:none} }

.opz-plan{display:inline-block;padding:1px 6px;border-radius:var(--radius-s);border:1px solid var(--line);
  font-size:var(--fs-label);font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);
  line-height:1.5;vertical-align:1px;white-space:nowrap}
.opz-plan[data-plan="standard"],.opz-plan[data-plan="pro"]{border-color:var(--line-accent);
  background:var(--accent-soft);color:var(--signal-ink)}

.opz-kinds{list-style:none;display:grid;grid-template-columns:1fr;gap:12px;margin:0;padding:0}
@media (min-width:700px){ .opz-kinds{grid-template-columns:1fr 1fr} }
@media (min-width:1100px){ .opz-kinds{grid-template-columns:repeat(4,minmax(0,1fr))} }
.opz-kinds li{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);padding:15px 16px 13px}
.opz-kinds h3{margin:0 0 6px;font-size:var(--fs-body)}
.opz-kind-p{font-size:var(--fs-card);line-height:1.6;margin:0 0 12px;color:var(--paper);opacity:.9}
.opz-kind-m{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:auto 0 0}
.opz-pace{font-size:var(--fs-fine);color:var(--muted)}

.opz-where{display:grid;grid-template-columns:1fr;gap:22px}
@media (min-width:700px){ .opz-where{grid-template-columns:1fr 1fr;column-gap:36px} }
.opz-where>div{border-top:2px solid var(--line-accent);padding-top:12px}
.opz-where h3{margin:0 0 4px;font-size:var(--fs-body)}
.opz-where-l{list-style:none;margin:0;padding:0}
.opz-where-l li{display:grid;gap:3px;padding:10px 0;border-bottom:1px solid var(--line)}
.opz-where-l li:last-child{border-bottom:none;padding-bottom:0}
.opz-where-l b{font-size:var(--fs-card);font-weight:600;color:var(--paper)}
.opz-where-l span:not(.opz-plan){font-size:var(--fs-card);line-height:1.6;color:var(--paper);opacity:.9}

.opz-table td:not(:first-child),.opz-table th:not(:first-child){font-variant-numeric:tabular-nums}

.opz-form{max-width:420px}
.opz-field{display:grid;gap:6px;margin:0 0 16px}
.opz-field span{font-size:var(--fs-fine);text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.opz-field select{width:100%;box-sizing:border-box;padding:9px 10px;font:inherit;font-size:var(--fs-body);
  border:1px solid var(--line-accent);border-radius:var(--radius);background:var(--panel);color:var(--paper)}
.opz-field select:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.opz-alt{font-size:var(--fs-card);margin:10px 0 0}
.opz-rates{margin:34px 0 0;padding:26px 0 0;border-top:1px solid var(--line)}
.opz-rates h3{margin:0 0 8px}

/* ---- the interest-rate alert form (rates-alert-form.mjs) ---- */
.rtform .opz-field[hidden]{display:none}
.rtform .rt-note{margin:10px 0 0;font-size:var(--fs-fine);color:var(--muted)}


/* ---- /za-kupce/ and /za-prodajalce/ (audience-pages.mjs) ----------------- */
.za-hero{display:grid;grid-template-columns:1fr;gap:var(--space-6);align-items:center;padding:var(--space-6) 0 var(--space-7);border:0}
.za-eyebrow{margin:0 0 var(--space-3);font-family:var(--mono);font-size:var(--fs-label);letter-spacing:.08em;
  text-transform:uppercase;color:var(--signal-ink)}
.za-hero h1{margin:0 0 var(--space-4);max-width:19ch;text-wrap:balance}
.za-hero .lead{margin:0 0 var(--space-5);max-width:54ch;font-size:17px;line-height:1.55}
.za-points{list-style:none;display:grid;gap:8px;padding:0;margin:var(--space-5) 0 0;font-size:var(--fs-small);color:var(--muted)}
.za-points li{position:relative;padding-left:22px}
.za-points li::before{content:"✓";position:absolute;left:0;top:0;color:var(--signal-ink);font-weight:600}
.za-hero-shot,.za-shot{margin:0}
.za-hero-shot img,.za-shot img,.za-video{display:block;width:100%;height:auto;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:var(--shadow-2);background:var(--panel)}
.za-hero-shot img{max-height:460px;object-fit:cover;object-position:top}
.za-hero-shot figcaption,.za-shot figcaption{margin:var(--space-2) 0 0;font-size:var(--fs-small);color:var(--muted)}
@media (min-width:1000px){
  .za-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:var(--space-8);padding-top:var(--space-7)}
}

main.za section{border-top:0;margin:0;padding-block:44px;scroll-margin-top:76px}
main.za section > h2{margin:0 0 12px}
main.za section > .lead{max-width:var(--measure);margin:0;font-size:16px;line-height:1.55;color:var(--muted);opacity:1}
@media (min-width:900px){ main.za section{padding-block:64px} }

.za-vs{display:grid;margin:var(--space-5) 0 0;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;background:var(--panel)}
.za-vs-row{display:grid;grid-template-columns:1fr 1fr}
.za-vs-row + .za-vs-row{border-top:1px solid var(--line-soft)}
.za-vs-row span{padding:14px var(--space-4);font-size:var(--fs-card);line-height:1.45}
.za-vs-row span:first-child{color:var(--muted)}
.za-vs-row span + span{border-left:1px solid var(--line-soft);font-weight:500}
.za-vs-head span{font-family:var(--mono);font-size:var(--fs-label);letter-spacing:.06em;text-transform:uppercase;
  color:var(--muted);font-weight:400;background:var(--panel-2);padding-block:10px}
.za-vs-head span + span{color:var(--signal-ink);font-weight:400}
@media (min-width:700px){ .za-vs-row span{padding:16px var(--space-5);font-size:var(--fs-body)} }

.za-toc{list-style:none;display:grid;grid-template-columns:1fr;gap:10px;padding:0;margin:var(--space-5) 0 0}
@media (min-width:560px){ .za-toc{grid-template-columns:repeat(2,1fr)} }
@media (min-width:1000px){ .za-toc{grid-template-columns:repeat(4,1fr)} }
.za-toc a{display:flex;align-items:center;gap:10px;height:100%;padding:12px 14px;background:var(--panel);
  border:1px solid var(--line-soft);border-radius:var(--radius);box-shadow:var(--shadow-1);
  color:inherit;text-decoration:none;font-size:var(--fs-card);font-weight:500;line-height:1.35;transition:var(--tx)}
.za-toc a:hover{border-color:var(--line-accent);color:var(--signal-ink)}
.za-toc span,.za-step span{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;
  border:1px solid var(--line);border-radius:999px;font-family:var(--mono);font-size:var(--fs-label);line-height:1;color:var(--muted)}

/* A chapter: the answer on one side and the picture on the other, swapping
   sides down the page so the eye moves in a zig-zag and not down a gutter.
   Every other chapter is a white band, pushed edge to edge the way the
   homepage's are. */
.za-ch{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-5);align-items:start}
main.za .za-ch.za-flip{background:var(--panel);box-shadow:0 0 0 100vmax var(--panel);clip-path:inset(0 -100vmax)}
@media (min-width:1000px){
  .za-ch{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--space-8)}
  .za-ch.za-flip .za-text{order:2}
  .za-media{position:sticky;top:92px}
}
.za-step{display:flex;align-items:center;gap:9px;margin:0 0 var(--space-3);font-family:var(--mono);
  font-size:var(--fs-label);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.za-step span{border-color:var(--signal-ink);color:var(--signal-ink)}
.za-ch h2{margin:0 0 var(--space-4);font-size:clamp(22px,2.6vw,28px);line-height:1.2;text-wrap:balance}
.za-a{margin:0 0 var(--space-3);max-width:58ch;font-size:var(--fs-body);line-height:1.62}
.za-ex{margin:var(--space-5) 0;padding:var(--space-4) var(--space-5);background:var(--panel);
  border:1px solid var(--line);border-left:3px solid var(--signal);border-radius:var(--radius)}
.za-flip .za-ex{background:var(--panel-2)}
.za-ex-k{margin:0 0 4px;font-family:var(--mono);font-size:var(--fs-label);letter-spacing:.08em;text-transform:uppercase;color:var(--signal-ink)}
.za-ex-t{margin:0 0 var(--space-3);font-weight:600;font-size:var(--fs-body);line-height:1.35}
.za-ex-rows{margin:0;display:grid}
.za-ex-rows > div{display:flex;justify-content:space-between;align-items:baseline;gap:var(--space-4);padding:8px 0;
  border-top:1px solid var(--line-soft);font-size:var(--fs-card);line-height:1.4}
.za-ex-rows dt{color:var(--muted)}
.za-ex-rows dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;font-weight:500}
.za-ex-rows .is-key dt{color:var(--paper);font-weight:600}
.za-ex-rows .is-key dd{font-weight:700;color:var(--signal-ink)}
.za-ex-n{margin:var(--space-3) 0 0;font-size:var(--fs-small);line-height:1.5;color:var(--muted)}
.za-links{margin-top:var(--space-4)}
.za-tail{margin:var(--space-3) 0 0;font-size:var(--fs-small);color:var(--muted)}
/* The clip player was drawn for a 790px frame; in half a column its two
   buttons would sit on the caption burned into the clip, so they get the strip
   under the picture that the player already uses on a phone. */
.za-media .mapshow-row{display:block;margin:0;max-width:none}
.za-media .mapshow-frame{max-width:none;padding-bottom:46px;background:var(--panel)}
.za-media .mapshow-go{right:8px;bottom:8px;padding:6px 11px;font-size:var(--fs-fine)}
.za-media .mapshow-toggle{left:8px;bottom:8px;padding:6px 11px;font-size:var(--fs-fine)}

.za-check-cols{display:grid;grid-template-columns:1fr;gap:var(--space-4);margin:var(--space-5) 0 0}
@media (min-width:820px){ .za-check-cols{grid-template-columns:1fr 1fr} }
.za-check-col{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);
  padding:var(--space-5);box-shadow:var(--shadow-1)}
.za-check-col h3{margin:0 0 var(--space-3);font-size:var(--fs-body)}
.za-check-col ul{list-style:none;display:grid;gap:10px;padding:0;margin:0;font-size:var(--fs-card);line-height:1.45}
.za-check-col li{position:relative;padding-left:24px}
.za-check-col li::before{content:"→";position:absolute;left:0;top:0;color:var(--muted);font-family:var(--mono)}
.za-check-col.is-here li::before{content:"✓";color:var(--signal-ink);font-weight:600;font-family:inherit}
.za-check-col li strong{display:block;font-weight:600}
.za-check-col li span{color:var(--muted)}
main.za section.za-close{margin:var(--space-6) 0 var(--space-8);padding:32px 36px}
main.za #faq{padding-bottom:var(--space-5)}
@media (max-width:560px){
  .za-ex{padding:var(--space-4)}
  .za-ex-rows > div{flex-direction:column;gap:2px}
  .za-ex-rows dd{text-align:left}
  .za-hero .ctaline .button,.za-links .button{flex:1 1 100%;text-align:center;justify-content:center}
  main.za section.za-close{padding:24px 20px}
}

@media (max-width:699px){ .opz-form .button{width:100%;box-sizing:border-box} }

/* ---- the hand-drawn listing sample (/kreator/) ------------------------ *
 * A facsimile of the page a published listing renders as (listingDocument in
 * worker/listings.mjs). Not that page's own stylesheet, which sets body,
 * h1 and .card and would fight the site's: the same layout, restated
 * under one prefix so it can live inside a page that already has all three. */
.smp-listing{max-width:38rem;margin:0 auto;font-size:var(--fs-body)}
.smp-brand{display:flex;align-items:center;gap:11px;padding:0 0 12px;
  border-bottom:3px solid var(--signal);margin:0 0 16px}
.smp-mark{width:42px;height:42px;border-radius:var(--radius-s);background:var(--signal);flex:0 0 auto;
  display:block;position:relative}
.smp-mark::after{content:"";position:absolute;inset:11px;border:2px solid var(--on-signal);
  border-radius:var(--radius-xs)}
.smp-who{font-weight:600;line-height:1.3}
.smp-who small{display:block;font-weight:400;color:var(--muted);font-size:var(--fs-fine)}
.smp-title{margin:0 0 2px;font-size:19px;line-height:1.25}
.smp-addr{color:var(--muted);margin:0 0 10px;font-size:var(--fs-small)}
.smp-price{font-size:22px;font-weight:700;color:var(--signal-ink);margin:0 0 16px;
  font-family:var(--mono);letter-spacing:-.02em}
.smp-price small{display:block;font-size:var(--fs-fine);font-weight:400;color:var(--muted);
  font-family:var(--sans);letter-spacing:0}
/* One hero and two thumbnails beside it, the shape a listing gallery takes
   everywhere. A full-width hero is what the published page uses and is wrong
   here: inside a frame a reader has not scrolled yet, it is the only thing
   they would see. */
.smp-gallery{display:grid;grid-template-columns:2fr 1fr;grid-template-rows:auto auto;
  gap:8px;margin:0 0 16px}
.smp-shot{border-radius:var(--radius);overflow:hidden;background:var(--panel-2);aspect-ratio:4/3}
.smp-shot:first-child{grid-row:1 / span 2;aspect-ratio:auto}
.smp-photo{display:block;width:100%;height:100%}
.smp-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:13px 15px 11px;margin:0 0 10px}
.smp-card h4{margin:0 0 8px;font-size:var(--fs-small);letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.smp-card p{margin:0 0 9px;line-height:1.6}
.smp-card p:last-child{margin-bottom:0}
.smp-short{font-weight:600}
.smp-hl{list-style:none;margin:0;padding:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:5px}
.smp-hl li{padding-left:15px;position:relative;line-height:1.5}
.smp-hl li::before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;
  border-radius:50%;background:var(--signal)}
.smp-facts{width:100%;border-collapse:collapse}
.smp-facts th{text-align:left;font-weight:400;color:var(--muted);padding:4px 0;width:48%}
.smp-facts td{text-align:right;padding:4px 0}
.smp-reach{color:var(--muted);font-size:var(--fs-small)}
.smp-tags{color:var(--muted);font-size:var(--fs-small);margin:0;overflow-wrap:anywhere}
@media (max-width:520px){ .smp-gallery{grid-template-columns:1fr 1fr}
  .smp-shot:first-child{grid-row:auto;grid-column:1/-1;aspect-ratio:4/3} }

/* ---- the homepage ------------------------------------------------------ *
 * Eight blocks, in one vocabulary. Everything below is prefixed by the block
 * it belongs to, because the homepage is the one page on the site whose
 * markup nothing else reuses, and an unprefixed .card here would be a rule
 * that reaches into forty other pages.
 *
 * The rhythm is 64px on a phone and 96px on a desktop, against the 40/48 the
 * rest of the site keeps. It is the widest gap anywhere here and it is
 * deliberate: eight unrelated offers in a column need the break between two of
 * them to be unmistakable, and a reader scrolling a homepage is scanning, not
 * reading. The hairline over each one does the same job for anybody who cannot
 * see the space.
 * ----------------------------------------------------------------------- */

/* The hero. Taller than the shared one — this is the only page where the top
   of the screen has to carry a proposition, a field and a line of provenance
   without any of them touching. The h1 is capped at a measure rather than the
   page: at 40px the proposition runs the full 860 and reads as a banner. */
section.home-hero{padding-block:48px 0}
.home-hero h1{max-width:19ch;margin-inline:auto;text-wrap:balance}
.home-hero .lead{margin-bottom:var(--space-5)}

/* The one field. Shaped like the chat's composer, because it is the same act:
   whatever is typed here decides which of two applications opens. */
.hsearch{--hs-h:58px;--hs-pad:6px;position:relative;display:flex;gap:var(--hs-pad);align-items:center;max-width:640px;margin:0 auto;
  min-height:var(--hs-h);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);
  padding:var(--hs-pad);box-shadow:var(--shadow-2);text-align:left;transition:var(--tx)}
.hsearch:focus-within{border-color:var(--signal);box-shadow:var(--ring),var(--shadow-2)}
.hsearch-in{flex:1;min-width:0;border:0;background:transparent;color:var(--paper);
  font:inherit;font-size:16px;padding:10px var(--space-3);outline:none}
/* The field is the one thing on the page that is a question: a 58px bar whose
   button sits in the same 6px inset on three sides (top, bottom, right), so
   the box is the button plus its own gap and nothing else. The sticky copy
   under the header is the .mini variant and keeps its own size. */
.hsearch:not(.mini) .hsearch-in,.hsearch:not(.mini) .button{min-height:calc(var(--hs-h) - 2px - 2*var(--hs-pad))}
.hsearch-in::placeholder{color:var(--muted);opacity:1}
/* Safari draws its own clear button inside a type=search, in its own grey, at
   its own size. The field already has a visible submit beside it. */
.hsearch-in::-webkit-search-cancel-button{-webkit-appearance:none}
.hsearch .button{flex:0 0 auto}
/* The dropdown under the field: the map's own search list (#searchList in
   public/zemljevid/index.html), at the homepage's type size. Absolute, so it
   floats over the chips and the trust line rather than pushing them down. */
.hsearch-list{position:absolute;z-index:18;top:calc(100% + 4px);left:0;right:0;margin:0;padding:4px;
  list-style:none;max-height:min(46vh,320px);overflow-y:auto;background:var(--panel);
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);text-align:left}
.hsearch-list[hidden]{display:none}
.hsearch-list li{display:flex;align-items:baseline;gap:10px;padding:8px 10px;cursor:pointer;
  border-radius:calc(var(--radius) - 4px);line-height:1.3;font-size:var(--fs-body)}
.hsearch-list li[aria-selected="true"],.hsearch-list li:hover{background:var(--panel-2)}
.hsearch-list .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hsearch-list .sub{color:var(--muted)}
.hsearch-list .ty{margin-left:auto;flex:0 0 auto;font-family:var(--mono);font-size:var(--fs-label);
  text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.hsearch-list li.none{color:var(--muted);font-size:var(--fs-small);cursor:default}
.hsearch-list li.none:hover{background:none}
/* The phone keeps the row rather than stacking into two full-width bars: the
   field grows to the platform's comfortable 48 and stays at 16px so iOS does
   not zoom the page on focus, and the button keeps a floor wide enough for
   the longest word it carries. */
@media (max-width:520px){
  .hsearch{--hs-h:52px;--hs-pad:5px}
  .hsearch-in{padding:0 12px;font-size:16px}
  .hsearch .button{width:auto;min-width:96px;padding-inline:var(--space-3)}
}

/* Three quiet ways on, for a reader who did not come with a question. Pills
   rather than buttons: a button beside the field would compete with it. */
.hchips{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2);
  margin:var(--space-4) 0 0}
.hchip{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;font-size:var(--fs-card);
  font-weight:500;color:var(--paper);background:var(--panel);border:1px solid var(--line);
  border-radius:999px;transition:var(--tx)}
.hchip:hover{border-color:var(--signal);color:var(--signal-ink);text-decoration:none}
.hchip svg{flex:0 0 auto;color:var(--signal)}
/* Set in mono, like every other stamp on this site that names a source and a
   date rather than saying something. */
.trustline{margin:var(--space-4) 0 0;font-size:var(--fs-small);
  font-variant-numeric:tabular-nums;color:var(--muted)}

/* ---- the living cadastre ---------------------------------------------- *
 * The scene under the field: the real plots and footprints around one point,
 * drawn by homeScript() section 7 out of /api/kataster/hero. It is part of the
 * hero, not a strip below it: the band has no ground of its own, so the page
 * ground runs straight through it, and its grid and its drawing are masked
 * into that ground over the top and bottom edges rather than cut off at a
 * line. The figure is the width of the viewport (margin-left:calc(50% - 50vw)
 * from inside the column; body's overflow-x:hidden makes that safe next to a
 * scrollbar) and carries its own height, so the space is there before the data
 * is. Top and bottom padding mark the part of the frame the script may not
 * draw into (the phone's two rows of controls); homeScript() reads them.
 * The grid is painted by CSS and, with the placeholders, is all a reader with
 * no data ever sees. */
.hcad{--hcad-fade-t:110px;--hcad-fade-b:96px;--hcad-pt:0px;--hcad-pb:0px;
  --hcad-mask:linear-gradient(to bottom,transparent 0,#000 var(--hcad-fade-t),#000 calc(100% - var(--hcad-fade-b)),transparent 100%);
  position:relative;width:100vw;height:clamp(360px,30vw,460px);margin:-6px 0 -40px calc(50% - 50vw);
  padding:var(--hcad-pt) 0 var(--hcad-pb);overflow:hidden}
.hcad::before{content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(color-mix(in srgb,var(--paper) 6%,transparent) 1px,transparent 1px),
    linear-gradient(90deg,color-mix(in srgb,var(--paper) 6%,transparent) 1px,transparent 1px);
  background-size:72px 72px;background-position:center;
  -webkit-mask-image:var(--hcad-mask);mask-image:var(--hcad-mask)}
.hcad-svg{position:absolute;inset:0;width:100%;height:100%;display:block;
  -webkit-mask-image:var(--hcad-mask);mask-image:var(--hcad-mask)}
/* A plot is an outline with next to no fill, a footprint the accent at 16%
   with an accent outline; both keep a 1px line at any scale through
   vector-effect. Each shape arrives on its own, from its own centre, in the
   order of its distance to the edge (--d is set per path by the script), so
   the town grows outward from the middle. Both keyframes end fully opaque and
   the base state is opaque too: a shape whose animation never runs is drawn. */
.hcad .hp,.hcad .hb{vector-effect:non-scaling-stroke;stroke-linejoin:round;
  transform-box:fill-box;transform-origin:center;
  transition:fill var(--ease),stroke var(--ease);
  animation:hcad-in .55s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--d,0)*1100ms)}
.hcad .hp{fill:color-mix(in srgb,var(--panel) 55%,transparent);stroke:color-mix(in srgb,var(--paper) 32%,var(--ink));stroke-width:1}
.hcad .hb{fill:color-mix(in srgb,var(--signal) 16%,transparent);stroke:color-mix(in srgb,var(--signal) 45%,transparent);stroke-width:1;
  animation-delay:calc(180ms + var(--d,0)*1100ms)}
.hcad .hp.hc{fill:color-mix(in srgb,var(--signal) 14%,var(--panel));stroke:var(--signal);stroke-width:2}
.hcad [data-q]{cursor:pointer}
.hcad .hp:hover{fill:color-mix(in srgb,var(--signal) 9%,var(--panel));stroke:var(--signal)}
.hcad .hp.hc:hover{fill:color-mix(in srgb,var(--signal) 22%,var(--panel))}
.hcad .hb:hover{fill:color-mix(in srgb,var(--signal) 32%,transparent);stroke:var(--signal)}
@keyframes hcad-in{from{opacity:0;transform:scale(.88)}to{opacity:1;transform:none}}
/* The pin on the centre plot: a drop that lands once the plot has drawn.
   Its outer group carries the metres-per-pixel scale, so it is a 24px mark at
   any zoom. */
.hcad .hpin{pointer-events:none}
.hcad .hpin-i{animation:hcad-pin .5s cubic-bezier(.2,.7,.2,1) 650ms both}
.hcad .hpin path{fill:var(--signal);stroke:var(--panel);stroke-width:1.5;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.hcad .hpin circle{fill:var(--panel)}
@keyframes hcad-pin{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
/* The reader's own position: the map's blue dot, drawn in metres. */
.hcad .hme{fill:var(--signal);stroke:var(--panel);stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}
/* Its handle: what is pressed to drag the dot onto the right house. */
.hcad .hme-grab{fill:transparent;pointer-events:all;cursor:grab;touch-action:none}
.hcad.drag,.hcad.drag .hme-grab,.hcad.drag [data-q]{cursor:grabbing}
.hcad .hme-halo{fill:var(--signal);pointer-events:none;opacity:.18;animation:hcad-halo 2.4s ease-out infinite;transform-box:fill-box;transform-origin:center}
@keyframes hcad-halo{0%{transform:scale(.6);opacity:.3}100%{transform:scale(1.6);opacity:0}}
/* The wait: a few outlines at skeleton colour where the plots will be. Pure
   CSS, shown from the first paint, gone once the script says the drawing has
   arrived (.drawn) or that nothing will (.off). On a failure they just fade
   and the grid stays; no text. */
.hcad-sk{position:absolute;inset:0;pointer-events:none;opacity:1;transition:opacity .4s ease,visibility 0s .4s;
  -webkit-mask-image:var(--hcad-mask);mask-image:var(--hcad-mask)}
.hcad.drawn .hcad-sk,.hcad.off .hcad-sk{opacity:0;visibility:hidden}
.hcad-sk-in{position:absolute;left:50%;top:calc(var(--hcad-pt) + (100% - var(--hcad-pt) - var(--hcad-pb))/2);
  width:min(600px,84%);height:min(300px,calc(100% - var(--hcad-pt) - var(--hcad-pb) - 40px));transform:translate(-50%,-50%)}
.hcad-sk i{position:absolute;display:block;background:var(--skel);border:1px solid var(--line-soft);
  border-radius:var(--radius-s);animation:hcad-pulse 1.8s ease-in-out infinite}
.hcad-sk i:nth-child(1){left:0;top:30%;width:22%;height:42%;animation-delay:0s}
.hcad-sk i:nth-child(2){left:25%;top:6%;width:26%;height:34%;animation-delay:.25s}
.hcad-sk i:nth-child(3){left:25%;top:44%;width:20%;height:48%;animation-delay:.5s}
.hcad-sk i:nth-child(4){left:48%;top:44%;width:30%;height:30%;animation-delay:.15s}
.hcad-sk i:nth-child(5){left:54%;top:10%;width:20%;height:30%;animation-delay:.4s}
.hcad-sk i:nth-child(6){left:81%;top:24%;width:19%;height:46%;animation-delay:.65s}
@keyframes hcad-pulse{0%,100%{opacity:.45}50%{opacity:1}}
/* The place, as a chip bottom left, and the two controls bottom right, on one
   baseline with the same 20px inset. */
.hcad-cap{position:absolute;left:20px;bottom:20px;max-width:calc(100% - 360px);min-height:36px;margin:0;
  display:flex;flex-wrap:wrap;align-items:center;gap:0 var(--space-2);padding:8px 12px 8px 10px;
  font-variant-numeric:tabular-nums;font-size:var(--fs-small);line-height:1.3;color:var(--muted);
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-s);
  box-shadow:var(--shadow-1);pointer-events:none}
.hcad-cap > svg{flex:0 0 auto;color:var(--signal)}
.hcad-txt{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hcad-where{color:var(--paper);font-weight:500}
.hcad-src::before,.hcad-hint::before{content:"·";margin:0 var(--space-2)}
.hcad-hint{display:none}
@media (hover:hover){.hcad.on .hcad-hint{display:inline}}
.hcad-note{flex:0 0 100%;color:var(--warn)}
.hcad-note[hidden]{display:none}
.hcad-ui{position:absolute;right:20px;bottom:20px;margin:0;display:flex;gap:var(--space-2);align-items:center}
.hcad-go{display:inline-flex;align-items:center;height:36px;padding:0 14px;font-size:var(--fs-small);font-weight:600;
  color:var(--on-signal);background:var(--signal);border-radius:var(--radius-s);text-decoration:none;transition:var(--tx)}
.hcad-go:hover{background:var(--signal-ink);color:var(--on-signal);text-decoration:none}
.hcad-btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;font:inherit;font-size:var(--fs-small);
  font-weight:600;color:var(--paper);background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-s);
  cursor:pointer;transition:var(--tx)}
.hcad-btn:hover{border-color:var(--signal);color:var(--signal-ink)}
.hcad-btn:disabled{opacity:.6;cursor:progress}
.hcad-btn:focus-visible,.hcad-go:focus-visible{outline:2px solid var(--signal-ink);outline-offset:2px}
.hcad-btn svg{color:var(--signal)}
.hcad-tip{position:absolute;z-index:2;transform:translate(-50%,calc(-100% - 12px));padding:5px 9px;
  font-variant-numeric:tabular-nums;font-size:var(--fs-fine);white-space:nowrap;color:var(--ink);background:var(--paper);
  border-radius:var(--radius-s);pointer-events:none}
.hcad-tip[hidden]{display:none}
/* Nothing came back: the grid stays, and nothing on it claims otherwise. */
.hcad.off .hcad-cap,.hcad.off .hcad-ui{display:none}
@media (prefers-reduced-motion: reduce){
  .hcad .hp,.hcad .hb,.hcad .hpin-i{animation:none}
  .hcad .hme-halo{animation:none;opacity:.18}
  .hcad-sk i{animation:none;opacity:.8}
  .hcad-sk{transition:none}
}
@media (max-width:640px){
  /* A taller band with two rows of its own at the foot (the place, then the
     controls), reserved as padding: the script draws into what is left, so
     the drawing ends above them rather than under them. The fade is shorter
     because the frame is. */
  .hcad{--hcad-fade-t:56px;--hcad-fade-b:80px;--hcad-pt:36px;--hcad-pb:64px;height:420px;margin-top:-16px;margin-bottom:-24px}
  /* One row at the foot since 2026-10-26: the place chip (name only, the
     source line goes) beside the two controls, the name cut short with an
     ellipsis rather than pushing the controls onto a row of their own. */
  .hcad-cap{left:14px;bottom:14px;max-width:calc(100% - 240px);padding:8px 10px}
  .hcad-src,.hcad-hint{display:none!important}
  .hcad-ui{right:14px;bottom:14px}
  .hcad-btn span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .hcad-btn{padding:0 10px}
}
@media (max-width:460px){
  /* Too narrow for a readable name beside the controls: the chip goes and
     the two controls take the row, the map button filling it. A note (a
     refused location, say) still shows, above them. */
  .hcad-cap{right:14px;bottom:62px;max-width:none;width:fit-content}
  .hcad:not(:has(.hcad-note:not([hidden]))) .hcad-cap{display:none}
  .hcad-ui{left:14px}
  .hcad-go{flex:1 1 auto;justify-content:center}
}

/* The same field again, slim, under the header once the hero has gone.
   position:fixed rather than sticky: it is outside the flow entirely, so it
   can appear and disappear without moving a pixel of the page behind it. Under
   the header's own z-index, so it slides beneath rather than over it. */
.hsticky{position:fixed;left:0;right:0;top:60px;z-index:19;padding:var(--space-2) 0;
  background:var(--panel);border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
.hsticky[hidden]{display:none}
/* Under the admin plan-preview strip, the same 30px everything else shifts. */
html.ds-pv-on .hsticky{top:90px}
.hsearch.mini{min-height:40px;box-shadow:none;padding:3px}
.hsearch.mini .hsearch-in{min-height:0;font-size:var(--fs-body);padding:7px var(--space-3)}
@media (max-width:520px){
  .hsearch.mini .hsearch-in{min-height:34px;font-size:16px;padding:6px 10px}
  .hsearch.mini .button{min-width:0;padding-inline:14px}
}

/* ---- the homepage's chapters ------------------------------------------- *
 * Every section after the hero is a chapter, and the chapters alternate
 * between the page ground and a white band that runs edge to edge while its
 * content stays on the 1120 column. A band is the section's own background
 * pushed out sideways by a huge spread shadow and clipped to the section's own
 * top and bottom, so nothing needs a wrapper in the markup and the section
 * keeps its place in the flow. The bands are named by id, not counted, so a
 * section added or taken away does not flip every colour after it.
 *
 * The breathing room is the section's own padding (88px a side on a desktop,
 * 56 on a phone), not a margin between sections: a band has to be as tall as
 * its air or the colour would stop at the text. Cards on the ground wear the
 * resting shadow; cards on a band are tinted instead (--panel-2 and a real
 * border), because a white card on a white band is nothing and a shadow on
 * white is mush.
 * ----------------------------------------------------------------------- */
.home-hero ~ section{margin:0;padding-block:56px;border-top:none;scroll-margin-top:72px}
.home-hero ~ #zemljevid,.home-hero ~ #novogradnje,.home-hero ~ #orodja,.home-hero ~ #paketi{
  background:var(--panel);box-shadow:0 0 0 100vmax var(--panel);clip-path:inset(0 -100vmax)}
@media (min-width:900px){
  .home-hero ~ section{padding-block:88px}
}
/* The lead of a chapter: one notch above the page's own copy, in the muted
   colour, with a comfortable gap under the heading and a measure it can read
   at. The newsletter keeps the lead it has, because it is the copy of a card. */
.home-hero ~ section > h2{margin:0 0 12px}
.home-hero ~ #zaupanje{padding-bottom:var(--space-8)}
.home-hero ~ section:not(.newsletter) > .lead{max-width:var(--measure);margin:0;font-size:16px;
  line-height:1.55;color:var(--muted);opacity:1}
/* The newsletter is a card standing on the ground, not a chapter: it keeps its
   own box, and the chapters above and below it give it its air. */
.home-hero ~ section.newsletter{padding:32px 36px;margin:0 0 56px}
@media (min-width:900px){
  .home-hero ~ section.newsletter{margin-bottom:88px}
}
/* The section right after the hero: the cadastre band already ends the hero in
   a full-width strip, so this chapter starts on the ground just under it. */
/* A card on a band. */
.home-hero ~ #zemljevid .mapshow-frame{border-color:var(--line);box-shadow:var(--shadow-1)}
.home-hero ~ #novogradnje .ngcard,.home-hero ~ #orodja .toolcard{background:var(--panel-2);
  border-color:var(--line);box-shadow:none}
.home-hero ~ #novogradnje .ngcard{--skel:var(--line);--skel-hi:color-mix(in srgb,var(--line) 45%,var(--panel))}

/* ---- 1b. what the site is --------------------------------------------- */
/* A table of contents, not a row of cards: four columns under a rule, and the
   chapter that follows (the five questions) shares the ground with it, so the
   two are one stretch of air rather than two. */
.home-hero ~ #kaj-je{padding-bottom:0}
.offers{list-style:none;display:grid;grid-template-columns:1fr;gap:var(--space-5) var(--space-6);
  padding:0;margin:var(--space-6) 0 0}
@media (min-width:600px){ .offers{grid-template-columns:repeat(2,1fr)} }
@media (min-width:980px){ .offers{grid-template-columns:repeat(4,1fr)} }
.offer{display:flex;flex-direction:column;border-top:2px solid var(--line);padding-top:var(--space-4)}
.offer h3{margin:0 0 7px;font-size:var(--fs-body)}
.offer p{margin:0 0 var(--space-3);font-size:var(--fs-card);line-height:var(--lh-card);color:var(--muted)}
.offer-links{list-style:none;display:grid;gap:7px;padding:0;margin:auto 0 0;font-size:var(--fs-small);font-weight:500}
.offer-links a::after{content:" →";font-family:var(--mono)}

/* ---- 1c. the feature showcase (homeFeatures()) -------------------------- */
/* One row per tool: the clip on one side, what it does on the other, sides
   alternating from 900px up so the page reads as a zigzag rather than a
   column of videos. The clips are dark whatever the theme, like .ln-video. */
.feat-media{position:relative;margin:0;border:1px solid var(--line-soft);border-radius:var(--radius);
  overflow:hidden;background:#0e1318;box-shadow:var(--shadow-1);aspect-ratio:16/9}
.feat-media video{display:block;width:100%;height:100%;object-fit:cover}
.feat-replay{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;
  background:transparent;cursor:pointer}
.feat-replay:focus-visible{outline:2px solid var(--signal);outline-offset:-4px}
/* The full-screen mark, bottom right: on hover with a mouse, always on touch. */
.feat-replay::after{content:"";position:absolute;right:12px;bottom:14px;width:36px;height:36px;border-radius:50%;
  background:rgb(14 19 24 / .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3C/svg%3E") center/18px no-repeat;
  box-shadow:0 0 0 1px rgb(255 255 255 / .18);opacity:0;transform:scale(.9);transition:opacity .2s ease,transform .2s ease}
.feat-replay:hover::after,.feat-replay:focus-visible::after{opacity:1;transform:none}
@media (hover:none){.feat-replay::after{opacity:.9;transform:none}}
/* The two video chapters open centred: heading, lead and (for the overview)
   the clip on one axis, so the page's first moving picture sits in the middle
   of the screen rather than hugging the left edge. Selectors repeat the
   :not(.newsletter) of the generic lead rule above so they outrank it. */
.home-hero ~ section.has-overview:not(.newsletter) > h2,
.home-hero ~ section.featshow:not(.newsletter) > h2{text-align:center}
.home-hero ~ section.has-overview:not(.newsletter) > .lead,
.home-hero ~ section.featshow:not(.newsletter) > .lead{margin-left:auto;margin-right:auto;text-align:center}
.home-overview{margin:var(--space-8) auto 0;max-width:1040px}
/* #kaj-je otherwise hands its ground straight to the next chapter (padding-bottom:0
   above); with a clip and a showcase after it, the two need air between them. */
.home-hero ~ #kaj-je.has-overview{padding-bottom:72px}
.home-hero ~ section.has-overview .offers{margin-top:72px}
.feat-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2);margin:var(--space-5) 0 0}
/* A group opens with its name between two hairlines, centred: a chapter
   mark, not a row heading. */
.feat-group{margin:72px 0 0;scroll-margin-top:110px}
.feat-kicker{display:flex;align-items:center;gap:var(--space-4);margin:0;
  font-family:var(--mono);font-size:var(--fs-small);font-weight:600;letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted);text-align:center}
.feat-kicker::before,.feat-kicker::after{content:"";flex:1 1 0;height:1px;background:var(--line)}
.feats{list-style:none;padding:0;margin:0}
.feat{display:grid;grid-template-columns:1fr;gap:var(--space-5);margin:56px 0 0}
.feat-body{min-width:0}
.feat-name{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin:0 0 10px;
  font-size:var(--fs-small);font-weight:600;color:var(--signal)}
.feat-tier{padding:2px 8px;border-radius:var(--radius-s);font-family:var(--mono);font-size:var(--fs-fine);
  font-weight:500;color:var(--muted);background:var(--panel-2);border:1px solid var(--line-soft)}
.feat-tier-free,.feat-tier-try{color:var(--signal-ink);background:var(--accent-soft);border-color:var(--line-accent)}
.feat h4{margin:0 0 var(--space-3);font-size:clamp(19px,calc(15px + .7vw),24px);line-height:1.28;letter-spacing:-.01em;max-width:24ch}
.feat-body > p:not(.feat-name):not(.ctaline){margin:0;font-size:16px;line-height:1.6;color:var(--muted);max-width:48ch}
.feat-points{list-style:none;display:grid;gap:8px;padding:0;margin:var(--space-4) 0 0;font-size:var(--fs-body)}
.feat-points li{position:relative;padding-left:20px}
.feat-points li::before{content:"";position:absolute;left:2px;top:.5em;width:8px;height:8px;border-radius:2px;background:var(--signal);opacity:.75}
.feat .ctaline{margin:var(--space-5) 0 0}
.featshow > .ctaline{margin:88px 0 0;justify-content:center;text-align:center}
@media (min-width:900px){
  /* Same two columns on every row (clip 7, text 5, flipped on even rows), so
     every clip is the same size and every text block starts on one of two
     lines down the page. Rows are far apart: each is one idea. */
  .feat{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:center;margin-top:112px}
  .feat-group .feat:first-child{margin-top:64px}
  .feat:nth-child(even){grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
  .feat:nth-child(even) .feat-media{order:2}
  .feat-group{margin-top:128px}
}
/* The four free applications left in the tools grid: one row of four. */
.home-hero ~ #orodja .toolgrid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}

/* ---- 7b. the alerts, 7c. the plans, 9. the questions -------------------- */
.follows{list-style:none;display:grid;grid-template-columns:1fr;gap:var(--space-4);
  padding:0;margin:var(--space-6) 0 var(--space-5)}
@media (min-width:560px){ .follows{grid-template-columns:repeat(2,1fr)} }
@media (min-width:900px){ .follows{grid-template-columns:repeat(3,1fr)} }
.follow{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);
  padding:var(--space-4) var(--space-5);box-shadow:var(--shadow-1)}
.follow h3{margin:0 0 5px;font-size:var(--fs-body)}
.follow p{margin:0;font-size:var(--fs-card);line-height:var(--lh-card);color:var(--muted)}
.home-hero ~ #spremljaj > .note,.home-hero ~ #paketi > .note{margin:var(--space-3) 0 0}
.hplans{list-style:none;display:grid;grid-template-columns:1fr;gap:var(--space-4);
  padding:0;margin:var(--space-6) 0 var(--space-5)}
@media (min-width:760px){ .hplans{grid-template-columns:repeat(3,1fr)} }
.hplan{background:var(--panel-2);border:1px solid var(--line);border-radius:var(--radius);padding:var(--space-5)}
.hplan h3{margin:0 0 var(--space-2);font-size:var(--fs-body)}
.hplan-price{margin:0 0 var(--space-4);display:flex;align-items:baseline;gap:8px}
.hplan-n{font-family:var(--mono);font-size:26px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums}
.hplan-per{font-size:var(--fs-small);color:var(--muted)}
.hplan-items{list-style:none;display:grid;gap:8px;padding:0;margin:0;font-size:var(--fs-card);line-height:1.45}
.hplan-items li{position:relative;padding-left:20px}
.hplan-items li::before{content:"✓";position:absolute;left:0;top:0;color:var(--signal-ink);font-weight:600}
.home-hero ~ #zaupanje{padding-bottom:0}
.home-hero ~ #faq{padding-bottom:var(--space-8)}
.home-hero ~ #faq > h2{margin-bottom:var(--space-4)}

/* ---- 2. the five questions -------------------------------------------- */
.asks{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:var(--space-4);padding:0;margin:var(--space-6) 0 0}
.askcard{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);
  padding:var(--space-5) var(--space-5) var(--space-4);display:flex;flex-direction:column;box-shadow:var(--shadow-1)}
.askcard-i{display:flex;align-items:center;justify-content:center;width:36px;height:36px;
  flex:0 0 auto;border-radius:var(--radius-s);background:var(--panel-2);color:var(--signal-ink);
  margin-bottom:var(--space-3)}
.askcard h3{margin:0 0 7px;font-size:var(--fs-body)}
.askcard p{margin:0 0 12px;font-size:var(--fs-card);line-height:var(--lh-card);color:var(--paper);opacity:.88}
/* The one number each card is allowed. Mono, because it is a count and not a
   sentence, and because the live half arrives on its own line underneath. */
/* The one count each card is allowed, as a sentence in the text face with the
   figures set tabular (so a column of them lines up) rather than as a line of
   terminal output; the live half arrives on its own line underneath. */
.askcard-n{margin:0 0 var(--space-3);font-size:var(--fs-small);line-height:1.45;
  font-variant-numeric:tabular-nums;color:var(--muted);opacity:1}
.askcard-live{display:block}
.askcard-live[hidden]{display:none}
.askcard-go{display:flex;flex-wrap:wrap;gap:2px 14px;margin:auto 0 0;font-size:var(--fs-small);
  font-weight:500;opacity:1}
.askcard-go a::after{content:" →";font-family:var(--mono)}
.askcard-more{color:var(--muted);font-weight:400}
.askcard-more::after{content:none}
/* Five cards, and auto-fit gives three columns from 900px up — which leaves a
   hole in the second row where a sixth card would go. Six tracks instead: the
   first three cards take two each, the last two take three each, and the
   second row is full rather than half empty. */
@media (min-width:900px){
  .asks{grid-template-columns:repeat(6,1fr)}
  .askcard{grid-column:span 2}
  .askcard:nth-child(4),.askcard:nth-child(5){grid-column:span 3}
}

/* ---- 3. the map, as a picture ----------------------------------------- */
/* The frame carries its own intrinsic ratio (the <img> below has width and
   height, so the box never resizes when the picture arrives) but sits right
   below the fold, and a lazy-loaded image is guaranteed to still be a flat
   rectangle the instant the reader scrolls this far. A diagonal two-tone
   wash rather than a flat fill: a placeholder, not a hole in the page. It is
   fully covered the moment the picture paints, so nothing here ever animates
   or competes with it. */
.mapshow-frame{display:block;position:relative;margin:var(--space-6) 0 0;
  border:1px solid var(--line);border-radius:var(--radius);transition:var(--tx)}
.mapshow-frame:hover{border-color:var(--signal)}
.mapshow-frame video{display:block;width:100%;height:auto;pointer-events:none;background:transparent}
.mapshow-open{position:absolute;inset:0;z-index:1;display:block;text-decoration:none}
.mapshow-go{position:absolute;right:12px;bottom:12px;display:inline-flex;align-items:center;
  padding:7px 14px;font-size:var(--fs-small);font-weight:600;color:var(--on-signal);background:var(--signal);
  border-radius:var(--radius-s)}
/* The pause toggle: the opposite corner from "open the map", above the
   overlay link in stacking order so its own small hit area never triggers
   the bigger one underneath. It is a real <button>, not a link, because it
   does not go anywhere — it only starts and stops the recording. */
.mapshow-toggle{position:absolute;left:12px;bottom:12px;z-index:2;display:inline-flex;
  align-items:center;padding:7px 12px;font:inherit;font-size:var(--fs-small);font-weight:600;
  color:var(--paper);background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius-s);cursor:pointer;transition:var(--tx)}
.mapshow-toggle:hover{border-color:var(--signal);color:var(--signal-ink)}
.mapshow-toggle:focus-visible{outline:2px solid var(--signal-ink);outline-offset:2px}
/* The outgoing clip's last picture, slid away while the next one slides in. */
.mapshow-ghost{position:absolute;left:0;top:0;z-index:0;width:100%;height:auto;pointer-events:none}
/* A sideways swipe steps through the clips; a vertical one still scrolls. */
.mapshow-frame[data-map-clips]{touch-action:pan-y}
.mapshow-nav{position:absolute;top:50%;z-index:2;display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;margin-top:-20px;padding:0;color:var(--paper);background:var(--panel);
  border:1px solid var(--line);border-radius:50%;box-shadow:var(--shadow-1);cursor:pointer;transition:var(--tx)}
.mapshow-prev{left:12px}
.mapshow-next{right:12px}
.mapshow-nav:hover{border-color:var(--signal);color:var(--signal-ink)}
.mapshow-nav:focus-visible{outline:2px solid var(--signal-ink);outline-offset:2px}
/* One line per clip: the pagination and, for the clip on screen, the progress
   bar. Equal columns however many clips the page shows. */
.mapbars{list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  gap:var(--space-2);padding:0;margin:var(--space-3) 0 0}
.mapbars a{display:flex;flex-direction:column;gap:8px;padding:4px 0;font-size:var(--fs-small);
  color:var(--muted);text-decoration:none;transition:var(--tx)}
.mapbars a:hover{color:var(--paper);text-decoration:none}
.mapbars a:focus-visible{outline:2px solid var(--signal-ink);outline-offset:3px}
.mapbars a[aria-current=true]{color:var(--paper)}
.mapbar{display:block;height:3px;border-radius:2px;background:var(--line);overflow:hidden}
.mapbar i{display:block;height:100%;border-radius:2px;background:var(--signal);
  transform:scaleX(0);transform-origin:0 50%}
.mapbars a.done .mapbar i{opacity:.4}
.mapbars a:hover .mapbar{background:var(--line-accent)}
.mapbar-l{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* The frame's own top margin moves to the row that now holds it. */
.mapshow-row{margin:var(--space-6) 0 0}
.mapshow-row .mapshow-frame{margin:0}
/* A single clip has no lines beside it: it simply stops growing. */
.mapshow-one{max-width:760px}
/* Wide screens: the picture at about its recorded size, and the lines as a
   list beside it, each label over its line. */
@media (min-width:1024px){
  .mapshow-row:not(.mapshow-one){display:grid;grid-template-columns:minmax(0,1fr) 260px;
    column-gap:var(--space-6);align-items:center}
  .mapshow-row .mapbars{grid-auto-flow:row;gap:var(--space-3);margin:0}
  .mapshow-row .mapbars a{flex-direction:column-reverse;gap:10px;padding:6px 0;font-size:var(--fs-body);font-weight:500}
}

/* ---- 4. the four readers ---------------------------------------------- */
/* Two by two rather than a row of four. Four across at this page width gives
   each card 206px, which turns every one of the twelve steps into three lines
   and leaves the three short cards stretched to the tall one's height with a
   hand's width of nothing under them. Two across fits a step on one line. */
.personas{list-style:none;display:grid;grid-template-columns:1fr;gap:var(--space-4);
  padding:0;margin:var(--space-6) 0 0}
@media (min-width:520px){ .personas{grid-template-columns:repeat(2,1fr)} }
.persona{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);
  padding:var(--space-5);box-shadow:var(--shadow-1)}
.persona h3{margin:0 0 var(--space-2);font-size:var(--fs-body)}
.persona-p{margin:0 0 var(--space-3);font-size:var(--fs-card);line-height:var(--lh-card);color:var(--muted)}
.psteps{list-style:none;display:grid;gap:9px;margin:0;padding:0}
.psteps li{display:flex;align-items:flex-start;gap:9px;font-size:var(--fs-card);line-height:1.45}
.pstep-n{flex:0 0 auto;width:18px;height:18px;display:inline-flex;align-items:center;
  justify-content:center;font-family:var(--mono);font-size:var(--fs-label);line-height:1;color:var(--muted);
  border:1px solid var(--line);border-radius:999px}
.persona-more{display:flex;flex-wrap:wrap;gap:4px 12px;margin:var(--space-3) 0 0;font-size:var(--fs-small)}
.persona-more a{color:var(--muted)}
.persona-more a:hover{color:var(--signal-ink)}
/* The buyer's and the seller's cards lead to pages of their own: a picture of
   the tool across the top of the card, cropped from its top edge, and one
   button pinned to the foot so the two cards end on the same line. */
.persona{display:flex;flex-direction:column}
.persona-pic{display:block;margin:calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-4);
  border-bottom:1px solid var(--line-soft);border-radius:var(--radius) var(--radius) 0 0;overflow:hidden;
  aspect-ratio:16/7;background:var(--panel-2)}
.persona-pic img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .4s ease}
.persona-feature:hover .persona-pic img{transform:scale(1.02)}
.persona-cta{margin:auto 0 0;padding-top:var(--space-4)}
@media (prefers-reduced-motion:reduce){ .persona-pic img{transition:none} .persona-feature:hover .persona-pic img{transform:none} }

/* ---- 5. the new-build strip -------------------------------------------
   The skeletons are the cards, minus their content: same grid, same box, same
   4:3 picture well, so the row that arrives from /api/projects lands in the
   space the row that was drawn at build time already held. */
.ngrow{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);
  padding:0;margin:var(--space-6) 0 var(--space-4)}
@media (min-width:560px){ .ngrow{grid-template-columns:repeat(3,1fr)} }
.ngcard{display:flex;flex:1;flex-direction:column;gap:6px;padding-bottom:14px;background:var(--panel);
  border:1px solid var(--line-soft);border-radius:var(--radius);overflow:hidden;color:inherit;
  text-decoration:none;box-shadow:var(--shadow-1);transition:var(--tx)}
/* The grid stretches the li, and the card fills it, so every card in a row is the
   height of the tallest one (a name that wraps, a meta line that does not). */
.ngitem{display:flex}
a.ngcard:hover{border-color:var(--line-accent);text-decoration:none}
.ngcard-img{display:block;aspect-ratio:4/3;overflow:hidden}
.ngcard-img img{display:block;width:100%;height:100%;object-fit:cover}
.ngcard-t{display:block;padding:2px 14px 0;font-size:var(--fs-body);font-weight:600;line-height:1.3}
.ngcard-m{display:block;padding:0 14px;font-size:var(--fs-small);line-height:1.4;color:var(--muted)}
.ngcard.skel .ngcard-t{height:15px;margin:2px 14px 0;padding:0;border-radius:var(--radius-xs)}
.ngcard.skel .ngcard-m{height:12px;width:65%;margin:4px 14px 0;padding:0;border-radius:var(--radius-xs)}

/* ---- skeletons ---------------------------------------------------------- *
 * Anything that holds a picture or a line that has not arrived yet is the
 * skeleton colour with one slow, faint highlight passing across it, drawn by
 * a ::before that only ever moves on the compositor (transform). It needs no
 * script: the picture inside is positioned above the highlight and simply
 * covers it when it paints, and a box whose picture never comes stops
 * sweeping by itself after three passes and rests as a flat tint. Every box
 * listed has a fixed ratio (the image's own width and height, or the
 * aspect-ratio / height set on the box), so nothing moves when the picture
 * lands. Reduced motion gets the flat tint. */
.ngcard-img,.ngcard.skel .ngcard-t,.ngcard.skel .ngcard-m,.mapshow-frame,.ag-pic,
.ln-tool-media:not(.is-placeholder){position:relative;overflow:hidden;background:var(--skel)}
.ngcard-img::before,.ngcard.skel .ngcard-t::before,.ngcard.skel .ngcard-m::before,.mapshow-frame::before,
.ag-pic::before,.ln-tool-media:not(.is-placeholder)::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,transparent 30%,var(--skel-hi) 50%,transparent 70%);
  transform:translateX(-100%);animation:skel-sweep 2.8s ease-in-out 3 forwards}
.ngcard-img img,.ag-pic img,.ag-pic video,.mapshow-frame video,.ln-tool-media img,.ln-tool-media video{position:relative}
@keyframes skel-sweep{to{transform:translateX(100%)}}

/* ---- reveal on scroll ---------------------------------------------------- *
 * Nothing here applies until the script (alertsScript(), reveals) puts .rv-h on
 * an element it is about to watch, which it only does for what is below the
 * fold, with an IntersectionObserver, and without reduced motion. Written at
 * the specificity of a card's own rule plus one so that the entry transition
 * wins while it runs; the script removes both classes afterwards, handing the
 * card its own hover transition back. Opacity and transform only. */
main.rv .rv-h.rv-h{opacity:0;transform:translateY(12px);
  transition:opacity .42s var(--curve) var(--rv-d,0ms),transform .42s var(--curve) var(--rv-d,0ms)}
main.rv .rv-h.rv-h.rv-in{opacity:1;transform:none}
@media print{main.rv .rv-h.rv-h{opacity:1;transform:none;transition:none}}
.homenums .card-v{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){
  .ngcard-img::before,.ngcard.skel .ngcard-t::before,.ngcard.skel .ngcard-m::before,.mapshow-frame::before,
  .ag-pic::before,.ln-tool-media:not(.is-placeholder)::before{animation:none;display:none}
}

/* ---- 6. the market in numbers ------------------------------------------
   Five tiles, two-up on a phone and five across once there is room for five.
   Every one of them is a link to the page the figure was computed on, which is
   what .card.fact has always been. */
/* auto-fit rather than five fixed columns, and this is the one grid on the
   page where that is the right answer: the fifth tile is the live one and is
   drawn hidden, so a fixed five-column track list leaves a tile-shaped hole on
   the right whenever the act register does not answer. auto-fit collapses the
   empty track and the four that are left spread to fill the row.
   140 is the floor because .card-v never wraps and the longest value the row
   carries is a €/m² figure at 18px mono, which needs about 100. */
/* auto-fit rather than five fixed columns, and this is the one grid on the
   page where that is the right answer: the fifth tile is the live one and is
   drawn hidden, so a fixed five-column track list leaves a tile-shaped hole on
   the right whenever the act register does not answer. auto-fit collapses the
   empty track and the four that are left spread to fill the row. 160 is the
   floor that keeps five of them on one row down to 960px, where the strip
   (above) takes over; there is no width at which one tile is left alone. */
.cards.homenums{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-4);
  margin:var(--space-5) 0 var(--space-4)}
/* The tile's own figure size comes from the shared rule with the metrics row
   (clamp, above); the padding is the same 16 x 18. */
.cards.homenums .card{min-width:0;padding:var(--space-4) 18px}


/* A stat card that is a link: same box, and it says so on hover. */
.card.fact{text-decoration:none;color:inherit;transition:var(--tx)}
.card.fact[hidden]{display:none}
.card.fact:hover{border-color:var(--line-accent);text-decoration:none}
.card.fact .card-l,.card.fact .card-v,.card.fact .card-h{display:block}
.card.fact .card-u{display:inline}
.card.fact .card-h{margin-top:auto;padding-top:6px}

/* ---- the pricing page's own tool cards ---------------------------------
   homeTools(): the tools Pro is bought for, on /cenik/ alone now that the
   homepage's own tools section reads TOOLS instead (see .toolgrid below). */
.home-tools{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:var(--space-4);margin:var(--space-6) 0 var(--space-4);padding:0}
.home-tools li{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);
  padding:var(--space-5);display:flex;flex-direction:column;box-shadow:var(--shadow-1)}
.home-tools h3{margin:0 0 7px;font-size:var(--fs-body)}
.home-tools p{font-size:var(--fs-card);color:var(--paper);opacity:.9;margin:0 0 10px;line-height:var(--lh-card)}
.home-tool-p{margin:auto 0 0;font-size:var(--fs-fine);color:var(--muted);opacity:1;
  border-top:1px solid var(--line);padding-top:9px}

/* ---- the tool registry's own card: /orodja/ and the homepage's flagship
   section (toolCard() in gen-pages.mjs). A whole-card link rather than a
   linked heading over a paragraph, the way .card.fact above is: the name (and
   its badge, where TOOLS gives it one) and the question the tool answers. */
.toolgrid{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  grid-auto-rows:1fr;gap:var(--space-4);margin:var(--space-6) 0 var(--space-4);padding:0}
/* The grid stretches the li, not the anchor inside it: without this a
   one-line card sits shorter than its two-line neighbour in the same row. */
.toolgrid li{display:flex}
.toolcard{flex:1;display:flex;flex-direction:column;gap:6px;background:var(--panel);
  border:1px solid var(--line-soft);border-radius:var(--radius);padding:var(--space-5);box-shadow:var(--shadow-1);
  color:inherit;text-decoration:none;transition:var(--tx)}
.toolcard:hover{border-color:var(--line-accent);text-decoration:none}
.toolcard-t{display:flex;align-items:center;gap:6px;font-size:var(--fs-body);font-weight:600;line-height:1.3}
.toolcard-p{font-size:var(--fs-card);color:var(--paper);opacity:.9;margin:0;line-height:var(--lh-card)}
.toolbadge{display:inline-flex;align-items:center;gap:3px;padding:1px 5px;border-radius:var(--radius-s);
  background:var(--panel-2);color:var(--muted);font-size:var(--fs-label);font-weight:700;letter-spacing:.05em;
  text-transform:uppercase}
.toolbadge svg{width:10px;height:10px;flex:0 0 auto}
/* The tool's scene (tool-art.mjs), above the name: 96x64 is the drawing's own
   canvas, so nothing is scaled. -2px eats the drawing's empty top row; with
   the card's 6px gap the name sits 8px under the scene's ground plate. The
   price list's five cards (.home-tools) carry the same span. */
.toolcard-g{display:block;width:96px;height:64px;margin:-2px 0 2px;color:var(--paper)}
.toolcard-g svg{display:block;width:100%;height:100%}

/* ---- homepage choropleth ---------------------------------------------- */
.choro-lead{color:var(--paper);opacity:.92;margin:0 0 16px}
.choro-fig{margin:0;position:relative}
.choro-map{display:block;width:100%;height:auto;max-height:74vh}
.choro-map .ch{fill:var(--choro-0);stroke:var(--choro-stroke);stroke-width:.6;
  stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:fill .12s ease}
.choro-map .ch.q1{fill:var(--choro-1)} .choro-map .ch.q2{fill:var(--choro-2)}
.choro-map .ch.q3{fill:var(--choro-3)} .choro-map .ch.q4{fill:var(--choro-4)}
.choro-map .ch.q5{fill:var(--choro-5)}
.choro-map a{cursor:pointer;outline:none}
.choro-map a:hover .ch,.choro-map a:focus-visible .ch{stroke:var(--signal);stroke-width:2;
  filter:brightness(1.06)}
.choro-map .ch-hl{fill:none;stroke:var(--signal);stroke-width:2;stroke-linejoin:round;
  vector-effect:non-scaling-stroke;pointer-events:none}
.choro-map a:focus-visible{outline:none}
@media (prefers-reduced-motion:reduce){ .choro-map .ch{transition:none} }

.choro-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:14px 0 4px}
.ch-ramp{display:flex;align-items:center;gap:8px;font-size:var(--fs-fine);color:var(--muted);font-variant-numeric:tabular-nums}
.ch-steps{display:flex}
.ch-sw{display:inline-block;width:22px;height:12px;border:1px solid var(--choro-stroke)}
.ch-steps .ch-sw:not(:first-child){border-left:0}
.ch-sw.q0{fill:var(--choro-0);background:var(--choro-0)} .ch-sw.q1{background:var(--choro-1)}
.ch-sw.q2{background:var(--choro-2)} .ch-sw.q3{background:var(--choro-3)}
.ch-sw.q4{background:var(--choro-4)} .ch-sw.q5{background:var(--choro-5)}
.ch-nodata{display:flex;align-items:center;gap:7px;font-size:var(--fs-fine);color:var(--muted)}
.ch-nodata .ch-sw{width:14px}

.choro-tip{position:absolute;transform:translate(-50%,-100%);pointer-events:none;z-index:3;
  background:var(--panel);color:var(--paper);border:1px solid var(--line-accent);border-radius:var(--radius-s);
  padding:5px 9px;font-size:var(--fs-small);line-height:1.3;white-space:nowrap;box-shadow:var(--shadow);
  max-width:min(70vw,260px);overflow:hidden;text-overflow:ellipsis}
.choro-tip[hidden]{display:none}

/* ---- dearest / cheapest ranking panels --------------------------------- */
.rank-panes{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rank-pane{margin:0;border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);overflow:hidden}
.rank-h{margin-top:0;padding:12px 14px;border-bottom:1px solid var(--line);background:var(--panel-2)}
.rank-h h3{margin:0;font-size:var(--fs-body)}
.rank-h p{margin:2px 0 0;font-size:var(--fs-fine);color:var(--muted)}
.rank-list{list-style:none;margin:0;padding:6px 14px 12px}
.rank-list li{display:grid;grid-template-columns:18px minmax(72px,1fr) minmax(0,1.5fr) auto;
  align-items:center;gap:4px 10px;padding:5px 0;font-size:var(--fs-small)}
.rk-n{font-family:var(--mono);font-size:var(--fs-fine);color:var(--muted);text-align:right;
  font-variant-numeric:tabular-nums}
.rank-list .rk-m{color:var(--paper);text-decoration:none;overflow:hidden;text-overflow:ellipsis;
  white-space:nowrap}
.rank-list .rk-m:hover{text-decoration:underline}
.rk-bar{display:block;height:9px;border-radius:var(--radius-xs);background:var(--panel-2);overflow:hidden}
.rank-pane .rk-bar{background:var(--accent-soft)}
.rk-bar i{display:block;height:100%;border-radius:0 var(--radius-xs) var(--radius-xs) 0}
.rank-list.dear .rk-bar i{background:var(--choro-5)}
.rank-list.cheap .rk-bar i{background:var(--choro-2)}
.rk-v{font-family:var(--mono);font-size:var(--fs-fine);color:var(--paper);text-align:right;
  font-variant-numeric:tabular-nums;white-space:nowrap}
.rk-d{grid-column:3 / -1;font-family:var(--mono);font-size:var(--fs-fine);color:var(--muted);
  text-align:right;font-variant-numeric:tabular-nums;margin-top:-3px}
.rank-panes.one{grid-template-columns:1fr;max-width:560px}
.rank-list li.rk-home .rk-m{font-weight:600}
.rank-list li.rk-home .rk-v{font-weight:600}
.rank-list li.rk-home::before{content:"";position:absolute;left:-14px;width:3px;height:18px;
  background:var(--signal);border-radius:var(--radius-xs)}
.rank-list li{position:relative}
.eu-table td:first-child,.eu-sources td:first-child{white-space:nowrap}
.eu-table tr.eu-home td{background:var(--accent-soft)}
.eu-table tr.eu-home td:first-child{font-weight:600}
.eu-table tr.eu-group td{color:var(--muted);font-style:italic}
.eu-sources code{font-family:var(--mono);font-size:var(--fs-fine)}

@media (max-width:720px){
  .rank-panes{grid-template-columns:1fr}
  .rank-list li{grid-template-columns:18px minmax(60px,1fr) minmax(0,1.1fr) auto}
}

/* ---- the MCP page ------------------------------------------------------ */
.mcp-code{font-family:var(--mono);font-size:var(--fs-small);line-height:1.55;background:var(--panel);
  border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px;margin:0 0 16px;
  overflow-x:auto;white-space:pre}
.mcp-code code{font:inherit;color:inherit}
.mcp-tools{list-style:none;margin:0 0 16px;padding:0}
.mcp-tools li{padding:8px 0;border-bottom:1px solid var(--line);display:flex;flex-wrap:wrap;gap:4px 10px;
  align-items:baseline}
.mcp-tools code{font-family:var(--mono);font-size:var(--fs-small);font-weight:600;white-space:nowrap}
.mcp-tools span{color:var(--muted);flex:1 1 16rem;min-width:0}
.mcp-ex{margin:0 0 16px;padding-left:22px}
.mcp-ex li{margin:0 0 8px;font-style:italic;color:var(--muted)}

/* ---- the Donos section's place table, and the gate over it ------------ *
 * The masked rows are bars and nothing else. No blur, and deliberately: a
 * blur is a CSS property that anybody can switch off in a devtools panel, so
 * a masked figure would be a figure that is published and merely inconvenient
 * to read. These rows hold no number at all. What they carry is the SHAPE of
 * the list, so a municipality with forty settlements does not look like one
 * with three, and the sentence under them carries the count. */
/* "dn" for donos, and not "yl": .yl is the y-axis label a chart hangs off its
   own plot, position:absolute at left:-46px, and a second .yl rule would have
   put this whole block forty pixels off the left edge of the page. It did,
   once. */
.dn{margin:18px 0 0}
.dn h3{font-size:var(--fs-body);margin:0 0 4px}
.dn .tw{margin-top:10px}
.dn-t td:first-child{white-space:normal}
.dn-mask td{padding-top:11px;padding-bottom:11px}
.dn-bar{display:block;height:8px;border-radius:var(--radius-xs);
  background:linear-gradient(90deg,var(--line) 0%,var(--panel-2) 60%,var(--line) 100%);opacity:.8}
.dn-mask td:first-child .dn-bar{width:78%}
.dn-mask td:nth-child(2) .dn-bar{width:44%}
.dn-mask td:nth-child(3) .dn-bar{width:56%}
.dn-mask td:nth-child(4) .dn-bar{width:50%}
.dn-mask td:nth-child(5) .dn-bar{width:38%}
.dn-gate{margin:12px 0 0}
.dn-count{margin:0 0 10px;font-size:var(--fs-small);color:var(--muted)}
.dn-up:empty{display:none}

/* ---- /primerjava/ ------------------------------------------------------ *
 * A picker, a table and a link. The table is the page, so it is the thing
 * that gets the room: the picker is one field and one line of count, and the
 * upgrade card only ever appears under it, never over the numbers. */
.cmp{margin:22px 0 0}
.cmp-pick{position:relative;max-width:460px;margin:0 0 20px}
.cmp-lab{display:block;font-size:var(--fs-label);letter-spacing:.07em;text-transform:uppercase;
  color:var(--muted);font-weight:500;margin:0 0 6px}
.cmp-q{width:100%;font:inherit;font-size:var(--fs-body);padding:9px 11px;border:1px solid var(--line);
  border-radius:var(--radius-s);background:var(--panel);color:var(--paper)}
.cmp-q[aria-disabled=true]{opacity:.6}
.cmp-opts{position:absolute;z-index:6;left:0;right:0;margin:2px 0 0;padding:0;list-style:none;
  background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);max-height:290px;overflow:auto;
  box-shadow:0 6px 20px rgba(0,0,0,.16)}
.cmp-opt{display:flex;align-items:baseline;justify-content:space-between;gap:10px;width:100%;
  background:none;border:none;border-bottom:1px solid var(--line);font:inherit;text-align:left;
  padding:9px 11px;cursor:pointer;color:var(--paper)}
.cmp-opts li:last-child .cmp-opt{border-bottom:none}
.cmp-opt:hover{background:var(--panel-2)}
.cmp-opt[aria-disabled=true]{cursor:not-allowed;color:var(--muted)}
.cmp-optn{font-size:var(--fs-body)}
.cmp-optk{font-size:var(--fs-fine);color:var(--muted);white-space:nowrap}
.cmp-count{margin:8px 0 0;font-size:var(--fs-small);color:var(--muted)}
.cmp-empty{margin:0;font-size:var(--fs-card);color:var(--muted)}
/* Row headings on the left, one column per place. The first column stays
   readable at any width; the value cells are mono so four of them line up as
   numbers rather than as text that happens to be numeric. */
.cmp-t th[scope=row]{text-transform:none;letter-spacing:0;font-size:var(--fs-small);font-weight:500;
  white-space:normal;padding-right:16px;vertical-align:top}
.cmp-t th[scope=col]{font-size:var(--fs-card);text-transform:none;letter-spacing:0;
  color:var(--paper);font-weight:600;white-space:normal;padding-right:16px;vertical-align:bottom}
.cmp-name{display:inline-flex;align-items:baseline;gap:5px}
.cmp-t td{font-family:var(--mono);font-size:var(--fs-small);vertical-align:top;white-space:nowrap}
.cmp-par{display:block;font-size:var(--fs-fine);color:var(--muted);font-weight:400}
.cmp-stat{display:block;font-size:var(--fs-fine);font-weight:400;margin-top:2px}
.cmp-n{display:block;font-family:var(--sans);font-size:var(--fs-fine);color:var(--muted);white-space:nowrap}
.cmp-dash{color:var(--muted)}
.cmp-x{background:none;border:none;color:var(--muted);
  font-size:17px;line-height:1;padding:0 2px;cursor:pointer}
.cmp-x:hover{color:var(--paper)}
.cmp-x:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.cmp-spark{display:block;color:var(--signal-ink)}
.cmp-spark svg{display:block;width:96px;height:26px}
.cmp-sparkt{display:block;font-family:var(--sans);font-size:var(--fs-fine);color:var(--muted);margin-top:3px}
.cmp-share{margin:14px 0 0}
@media (max-width:560px){
  .cmp-t th[scope=row]{font-size:var(--fs-fine)}
  .cmp-t td{font-size:var(--fs-small)}
}

/* ---- standing pages --------------------------------------------------- */
.formula{font-family:var(--mono);font-size:var(--fs-card);background:var(--panel);border:1px solid var(--line);
  border-radius:var(--radius);padding:12px 14px;overflow-x:auto;white-space:nowrap}
.cite{font-family:var(--mono);font-size:var(--fs-small);background:var(--panel-2);padding:2px 6px;border-radius:var(--radius-s)}
.sources{margin:0 0 14px;padding-left:22px;font-size:var(--fs-card)}
.sources li{margin:0 0 12px;line-height:1.55}
.notfound section{border-top:none;padding-top:0;margin:34px 0}
.notfound section+section{border-top:1px solid var(--line);padding-top:32px;margin-top:44px}
.notfound h1{font-size:clamp(22px,4.6vw,29px)}
.notfound h2{margin-top:26px}

/* ---- share ------------------------------------------------------------ */
.share{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:38px 0 0;padding-top:20px;
  border-top:1px solid var(--line)}
.share-l{font-size:var(--fs-label);letter-spacing:.07em;text-transform:uppercase;color:var(--muted);
  font-weight:500;margin-right:3px}
.sh{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:32px;padding:0 9px;
  border:1px solid var(--line);border-radius:var(--radius-s);background:var(--panel);color:var(--muted);
  font-size:var(--fs-small);font-family:inherit;line-height:1;cursor:pointer;text-decoration:none;
  transition:var(--tx)}
.sh:hover{text-decoration:none;color:var(--paper);border-color:var(--line-accent);background:var(--panel-2)}
.sh svg{width:15px;height:15px;fill:currentColor;flex:0 0 auto;display:block}
.sh[hidden]{display:none}
.sh-t{white-space:nowrap}
.sh-fb:hover{color:#1877f2;border-color:#1877f2}
.sh-x:hover{color:var(--paper);border-color:var(--paper)}
.sh-li:hover{color:#0a66c2;border-color:#0a66c2}
.sh-wa:hover{color:#1da851;border-color:#1da851}
.sh-vb:hover{color:#7360f2;border-color:#7360f2}

/* The standing way into the chat, floating bottom-right on every content page.
   Three pixels and the shared shadow, not a pill: a full-radius control is the
   shape a third-party widget takes — the support bubble, the cookie badge —
   and this one is ours. It is the same control, and now the same shape, as
   the map's own #aiFab. Circles stay reserved for icon buttons and map
   markers, which this is neither: it carries a word. */
.aifab{position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:19;
  display:inline-flex;align-items:center;gap:8px;min-height:var(--control-h);padding:9px 14px;
  border-radius:var(--radius-s);
  border:1px solid var(--signal);background:var(--signal);color:var(--on-signal);text-decoration:none;
  font-size:var(--fs-card);font-weight:600;box-shadow:var(--shadow)}
.aifab:hover{filter:brightness(1.06);color:var(--on-signal)}
.aifab:focus-visible{outline:2px solid var(--signal-ink);outline-offset:3px}
html.ds-navopen .aifab{display:none}
/* Out of the way of a table that scrolls sideways: on a phone the pill sits
   exactly where such a table keeps its last column and its scroll thumb, and
   content scrolls UNDER a fixed element, so no amount of page padding moves
   it off. visibility rather than opacity alone, so it leaves the tab order
   while it is gone. See wideTables() in /alerts.js. */
.aifab{transition:opacity .18s ease,transform .18s ease,visibility .18s}
.aifab.aifab-away,.aifab.fab-hidden{opacity:0;visibility:hidden;transform:translateY(10px);pointer-events:none}
@media (prefers-reduced-motion:reduce){.aifab{transition:none}}
@media (max-width:560px){.aifab{padding:10px 13px;font-size:var(--fs-small)}}
@media print{.aifab{display:none}}
.foot{border-top:1px solid var(--line);background:var(--panel);padding:32px 0 40px;font-size:var(--fs-small);
  color:var(--muted);line-height:1.7}
.foot a{color:var(--muted);text-decoration:underline}
.foot .stamp{margin:0;opacity:.75}

/* Four columns on a desktop, two on a tablet, one per row on a phone. One
   grid and two media queries do all three; the markup never changes, so a
   column that grows a link grows it in every layout at once. minmax(0,1fr)
   rather than 1fr because a long link label in a grid track that cannot
   shrink below its content is what pushes a footer wider than the page. */
.footcols{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 28px;
  margin:0 0 28px;align-items:start}
.footcol h2{margin:0 0 10px;font-size:var(--fs-label);font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--paper)}
.footcol ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:7px;font-size:var(--fs-small)}
.footcol li{margin:0}
.footnav a{color:var(--signal-ink);text-decoration:none}
.footnav a:hover{text-decoration:underline}
/* The footer sits on --panel, where the global 2px outline is thin against a
   link that is already coloured. Spelled out here so a keyboard reader can
   see which of twenty links they are on. */
.footnav a:focus-visible{outline:2px solid var(--signal);outline-offset:3px;border-radius:var(--radius-s)}
.footsrc{margin:16px 0 0;font-size:var(--fs-fine);line-height:1.65}
.footsrc a{color:var(--muted)}

/* The bottom bar: the mark, then the three lines of small print. Stacked
   under each other once there is no room to sit them side by side. */
.footbar{display:flex;gap:22px;align-items:flex-start;border-top:1px solid var(--line);padding-top:20px}
.footbar .brand{flex:0 0 auto;margin:0}
.footbar-t{flex:1 1 auto;min-width:0}
.footbar-t p{margin:0 0 7px}
.footbar-t p:last-child{margin:0}
.footco{color:var(--paper);font-weight:600}
/* The row of marks, last in the bar. A 36px target around a 17px drawing, so
   the two icons are as pressable as the twenty worded links above them, and
   in the same muted ink until the pointer is on one. */
.footsoc{list-style:none;margin:0;padding:0;display:flex;gap:6px;
  flex:0 0 auto;align-items:center;align-self:center}
.footsoc li{margin:0}
.footsoc a{display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:var(--radius-s);color:var(--muted);
  text-decoration:none;transition:color .12s,background .12s}
.footsoc a:hover{color:var(--paper);background:var(--panel-2)}
.footsoc a:focus-visible{outline:2px solid var(--signal);outline-offset:2px}
.footsoc svg{display:block}
@media (max-width:900px){ .footcols{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:560px){
  .footcols{grid-template-columns:1fr;gap:22px}
  .footbar{flex-direction:column;gap:14px}
  /* Stacked: the row starts at the left edge like everything above it, and
     loses the inset the 36px target adds so it lines up with the text. */
  .footsoc{align-self:flex-start;margin-left:-9px}
}

/* ---- which logo ------------------------------------------------------- *
 * Last in the file so these win over .brand img and .hero-mark, and written
 * as img.logo-* so they win on specificity too.
 *
 * Two axes have to be covered and they do not always agree. With JavaScript,
 * THEME_SCRIPT has already stamped data-theme on <html> before this sheet
 * paints, and that attribute is the reader's answer whether it came from
 * localStorage or from the OS — so it decides. Without JavaScript there is no
 * attribute at all, and the media query below is the only thing that knows
 * anything; the :not([data-theme="light"]) guard keeps it from overriding a forced
 * light theme on a dark machine, which is the whole bug this replaced. */
/* Light-only pages: always the dark-ink logo. */
img.logo-d{display:none}
img.logo-l{display:block}

/* ---- the navigation as a sheet (<= 900px) ------------------------------ *
 * The same markup, read down instead of across. The two dropdown panels stop
 * being dropdowns and become the sections a phone menu is made of; the
 * other language takes the first line, above the primary button, because it
 * decides what every line under it says; the button follows it, still within
 * a thumb's reach. Order is set here rather than in the HTML because the
 * desktop row wants the opposite order and there is only one document.
 *
 * The checkbox is what opens it, so it opens with no script at all. Anything
 * a script adds on top (the scroll lock, the focus ring around the open
 * sheet, Escape) is an improvement on a menu that already works.
 * ----------------------------------------------------------------------- */
@media (max-width:900px){
  /* The sheet is out of the flow, so the row is the lockup and this. */
  .navbtn{display:inline-flex;margin-left:auto}
  /* The offset for a page with no script: the header is 60px and there is no
     admin preview strip, because the strip is painted by the script that is
     not here. Where there IS a script, siteNav measures the header and sets
     this in style.top, which is the only way to be right about a sticky
     element whose own offset moves. */
  .navtog ~ .topnav{position:fixed;left:0;right:0;top:60px;bottom:0;z-index:4;display:none;
    flex-direction:column;align-items:stretch;gap:0;overflow-y:auto;overscroll-behavior:contain;
    background:var(--panel);border-top:1px solid var(--line);
    padding:16px 20px calc(28px + env(safe-area-inset-bottom))}
  /* Under the admin plan-preview strip, which pushes the header down by 30px. */
  html.ds-pv-on .navtog ~ .topnav{top:90px}
  .navtog:checked ~ .topnav{display:flex}
  /* The 404 has no toggle and no menus, only two links: it keeps the row it
     has at every width, and merely lets it wrap. */
  .topnav{flex-wrap:wrap;gap:14px;justify-content:flex-end}
  /* The sheet itself reads down: one column, every section full width. A
     wrapping row, which is what the 404 wants, would lay the account section
     beside the data section the moment there is room for two. */
  .navtog ~ .topnav{flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:0}
  .navtog ~ .topnav > *{width:100%}
  .navmid{flex-wrap:wrap;gap:14px}
  /* The two wrappers stop being boxes, so their children can be ordered
     against each other rather than only inside their own group. */
  .navmid,.navend{display:contents}
  .navtrig{display:none}
  .navmenu{position:static}
  .navsec{display:flex;align-items:center;gap:8px;margin:20px 0 4px;font-size:var(--fs-label);
    font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
  .navpanel{display:block;position:static;transform:none;padding:0;background:none;
    border:0;border-radius:0;box-shadow:none}
  .navgrid,.navpanel-1 .navgrid{grid-template-columns:1fr;width:auto;max-width:none;gap:0}
  .navgrid a,.navlogout{padding:13px 0;border-bottom:1px solid var(--line);border-radius:0}
  .navgrid a:hover,.navlogout:hover{background:none}
  .navgrid a[aria-current=page]{background:none;color:var(--signal-ink)}
  .navi-t{font-size:16px}
  /* The descriptions are what a desktop panel has room for and a phone list
     does not: fourteen of them turn a menu into a page. */
  .navi-d{display:none}
  /* The grouped tools panel becomes one list with small group headings. */
  .navwide .navpanel{width:auto;max-height:none;overflow:visible}
  .navcols{display:block}
  .navcol:nth-child(n+3){margin-top:0}
  .navgrp + .navgrp{margin-top:0}
  .navgh{padding:16px 0 2px}
  .navfoot{margin:0;padding:0;border-top:0}
  .navgrid.navfoot a{display:block}
  .navquit{margin:0;padding:0;border-top:0}
  /* Full width in the sheet, and still the shared button: flex rather than
     block so the label stays centred in the box rather than sitting on top
     of it. 44px, the touch minimum, on the one control a thumb reaches for
     first. */
  .navcta{order:1;display:flex;width:100%;min-height:44px;text-align:center;font-size:var(--fs-body)}
  /* The map is offered whoever is reading: signed in or not, it is still the
     first thing this site does. */
  .top.ds-in .navcta{display:block}
  .navsign{order:2;padding:13px 0;border-bottom:1px solid var(--line);
    font-size:16px;font-weight:600;color:var(--paper)}
  .navmenu.nav-data{order:3}
  .navmenu.nav-tools{order:4}
  .navlink{order:5;padding:13px 0;border-bottom:1px solid var(--line);
    font-size:16px;font-weight:600}
  .navme{order:6}
  .top.ds-in .navme{display:block}
  /* First in the sheet, above the primary button: the one control that changes
     what every other row in the list says belongs where it is read first. The
     word rather than the code, because a list has room for it. */
  .navlang{order:0;display:block;margin:0 0 16px;padding:0;font-size:var(--fs-card);
    font-weight:500;line-height:1.4;letter-spacing:normal;color:var(--signal-ink)}
  .navlang-s{display:none}
  .navlang-l{display:inline}
  /* Open, the bars become a cross, so the control says what it will do next. */
  /* Each bar turns about its own centre: without transform-box the origin
     is the SVG's corner and the cross comes out lopsided. */
  .navbtn .nb-1,.navbtn .nb-2,.navbtn .nb-3{transform-box:fill-box;transform-origin:center}
  .navtog:checked ~ .navbtn .nb-1{transform:translateY(5px) rotate(45deg)}
  .navtog:checked ~ .navbtn .nb-2{opacity:0}
  .navtog:checked ~ .navbtn .nb-3{transform:translateY(-5px) rotate(-45deg)}
}
/* Set by siteNav in /alerts.js while the sheet is open, so the page behind it
   cannot be scrolled by a gesture meant for the menu.

   It has a side effect worth knowing about. body carries overflow-x:hidden,
   which normally propagates to the viewport and leaves the body itself
   visible; the moment <html> takes an overflow of its own that propagation
   stops, the body becomes a scroll container in its own right, and the sticky
   header starts sticking inside THAT rather than inside the viewport. Under
   the admin preview strip it therefore drops by the strip's own height the
   instant the menu opens. Which is why siteNav measures the header and places
   the sheet against it rather than trusting the offset below. */
html.ds-navopen,html.ds-navopen body{overflow:hidden}

@media (max-width:640px){
  /* The same rhythm, one notch tighter: a phone screen is mostly gap
     otherwise, and the rule is the token, not a per-page patch. */
  :root{ --section-gap:40px; --page-end:56px }
  body{font-size:var(--fs-body)}
  .plotwrap{padding-left:38px;padding-right:60px}
  .yl{left:-38px;width:33px;font-size:var(--fs-label)}
  .dl{font-size:var(--fs-label);margin-left:6px;max-width:54px}
  .media{grid-template-columns:1fr}
  .cols{columns:2}
  .cta{padding:16px}
  .newsletter{padding:16px}
  .nlrow .button{flex:1 1 100%;text-align:center}
  .donutbox{gap:16px}
  .formula{white-space:normal}
  /* 20px of standard panel padding on a card that is half a phone wide is
     most of the card. The compact step, everywhere, on the one screen where
     a panel's padding competes with what is inside it. */
  .card{padding:var(--space-4)}
  .askcard,.persona,.toolcard,.home-tools li{padding:var(--space-4)}
  .persona-pic{margin:calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) var(--space-4)}
  .p-card{padding:var(--space-5) var(--space-4) var(--space-4)}
  .p-flag{left:var(--space-4)}
  /* The hero, at phone density. 36 / 24 of vertical room rather than 14 and
     whatever the last element left: the proposition is still the first thing,
     it simply stops taking a screen and a half to say so. No horizontal
     padding of its own — main.wrap already carries 20px a side, and stating
     it a second time here is what would leave a 40px margin and a headline
     broken across four lines on a 360px screen.
     36px against the desktop's 40 because a phone reads closer, and 1.08
     because a three-line headline at 1.1 has a gap in it that a one-line
     headline does not. The lead goes UP, to 18: on a phone it is the only
     paragraph on screen and there is no column beside it to keep it small
     for. */
  section.hero{padding-block:36px var(--space-5)}
  .hero-mark{height:78px;margin-bottom:10px}
  .hero h1{font-size:36px;line-height:1.08}
  .hero .lead{font-size:18px;line-height:1.55;margin-bottom:18px}
  .hero .ctaline .button{flex:1 1 100%;text-align:center}
  /* The proposition is three lines at 40px on a 360 screen, which is a wall.
     36 with the shared phone step, and the measure cap comes off: the page is
     already only one column wide. Except this h1 runs longer than the
     generic hero's, so even 36 wraps a fourth line on a 390px phone — one
     more step down, to 32, gets it back to three. And the hero itself loses
     a little of its own top air to match: 56 was sized against the desktop's
     taller field, not a phone's. */
  section.home-hero{padding-block:40px 0}
  .home-hero h1{max-width:none;font-size:32px;line-height:1.15}
  /* The clips carry their own captions along the bottom edge, and at this
     width the two controls would sit on top of them: the frame grows a strip
     under the picture and the controls live there instead. */
  .mapshow-frame{padding-bottom:46px;background:var(--panel)}
  /* The arrows centre on the picture, not on the picture plus the strip. */
  .mapshow-nav{top:calc(50% - 23px);width:32px;height:32px;margin-top:-16px}
  .mapshow-prev{left:6px}
  .mapshow-next{right:6px}
  /* Six labels do not fit a phone: the lines stay, taller to the thumb, and
     the clip's own caption says which layer is on screen. */
  .mapbars{gap:6px}
  .mapbars a{padding:12px 0}
  .mapbar-l{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .mapshow-go{right:8px;bottom:8px;padding:6px 11px;font-size:var(--fs-fine)}
  .mapshow-toggle{left:8px;bottom:8px;padding:6px 11px;font-size:var(--fs-fine)}
  /* And the place pages' 28 + 28 becomes 24 + 24, for the same reason. */
  .area > section:not(.cta):not(.newsletter){padding-block:var(--space-5)}
}
@media (max-width:400px){ .cols{columns:1} }

/* ---- interaction -------------------------------------------------------- *
 * Last in the file so none of it has to win a specificity argument.
 *
 * Every control moves colour, fill, border and shadow through the same
 * --tx, which is the one place the curve and the 160ms live and which
 * prefers-reduced-motion empties. Written at element specificity so a rule that
 * names its own transition (the caret, the chat pill, the card deck) keeps it.
 * ----------------------------------------------------------------------- */
a,button,summary,input,select,textarea,label{transition:var(--tx)}

/* A text field's focus: the border takes the accent and a soft ring stands
   around it. The transparent outline is what a forced-colours reader (Windows
   high contrast) sees instead of the ring, so the field is never left without
   a visible focus whatever the platform does with box-shadow. */
.nlmail:focus,.ctform input:focus,.ctform select:focus,.ctform textarea:focus,
.acct-field input:focus,.cmp-q:focus{border-color:var(--signal);box-shadow:var(--ring);
  outline:2px solid transparent;outline-offset:0}
/* The hero field has no outline of its own (its box is the .hsearch around it,
   which takes the border and the ring above), and a link laid over a picture
   draws its ring inside the picture, because the picture clips whatever
   stands outside it. */
.mapshow-open:focus-visible{outline-offset:-4px}

/* A card that is entirely a link says so by rising: the shadow deepens and the
   card lifts two pixels. Cards that are not links never move, and nothing moves
   at all for a reader who asked for less motion. */
a.card.fact:hover,a.toolcard:hover,a.ngcard:hover,.mapshow-frame:hover,
.home-hero ~ #orodja .toolcard:hover,.home-hero ~ #novogradnje a.ngcard:hover{box-shadow:var(--shadow-2)}
@media (prefers-reduced-motion:no-preference){
  a.card.fact:hover,a.toolcard:hover,a.ngcard:hover,.mapshow-frame:hover{transform:translateY(-2px)}
}

/* ---- the wider canvas --------------------------------------------------- *
 * The page is --wrap wide for everything that is a grid, a table or a chart.
 * What is read as prose is held to a measure of its own, by capping the
 * paragraphs and not the page: at 15px, 54ch is about 72 characters a line.
 * The hero's centred lead, the landing pages' promise lines and the blog keep
 * the measures they set for themselves. A table keeps its columns near their
 * labels by capping the table (see the table rule above), and a chart takes the extra
 * width as height as well, so it does not turn into a ribbon.
 * ----------------------------------------------------------------------- */
main > p:not(.ctaline),main > section:not(.hero) > p:not(.ctaline),
main > section > ul:not([class]),main > section > ol:not([class]),
details.faq > p,.sources{max-width:var(--measure)}
@media (min-width:1000px){
  .plot{height:calc(var(--h,190px) * 1.25)}
  .bars{height:calc(var(--h,110px) * 1.3)}
  .cols{columns:4}
}
