/* Preveri voznika: bela podlaga, temno modro besedilo, rumena samo za klikljivo. Ostri robovi, brez senc. */
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/plex-latin-ext-400.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/plex-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: Plex; font-weight: 500; font-display: swap; src: url(fonts/plex-latin-ext-500.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: Plex; font-weight: 500; font-display: swap; src: url(fonts/plex-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: Plex; font-weight: 600; font-display: swap; src: url(fonts/plex-latin-ext-600.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: Plex; font-weight: 600; font-display: swap; src: url(fonts/plex-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193; }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(fonts/plex-latin-ext-700.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(fonts/plex-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-2193; }

:root {
  --ink: #14263D;          /* glavna 1 */
  --paper: #FFFFFF;        /* glavna 2 */
  --accent: #F4B400;       /* poudarek: samo klikljivo */
  --accent-h: #E2A600;
  --on-accent: var(--ink);       /* besedilo na poudarku */
  --accent-line: var(--accent);  /* poudarek kot črta na beli podlagi (podčrtaj, oznaka izbrane strani) */
  --soft: #F6F6F3;
  --text: var(--ink);     /* besedilo, robovi, obrobe */
  --bar: var(--ink);      /* temni pasovi: glava portala, pasice, izbrano */
  --on-bar: #FFFFFF;      /* besedilo na temnem pasu */
  --on-status: #FFFFFF;   /* besedilo na polni barvi stanja (ok/napaka) */
  --bg: var(--paper);     /* ozadje strani */
  --surface: var(--paper);/* kartice, polja */
  --line: #DFE2E6;
  --line-strong: #858E9A;  /* rob vnosnega polja: vsaj 3:1 (AA) */
  --muted: #586273;
  --placeholder: #737D8C; --hover-bg: #FAFAF8; --hl: #FFFBEA;
  --ok: #1A7451;  --ok-bg: #E8F3EE;
  --bad: #B3261E; --bad-bg: #FBEDEB;
  --warn: #7A5300; --warn-bg: #FFF5D6;
  --ok-line: #B5D6C7; --bad-line: #EDBDB8; --warn-line: #EBD28F;
  --r: 3px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--line-strong) transparent; }
::selection { background: color-mix(in srgb, var(--accent) 38%, transparent); color: var(--text); }
input, textarea { caret-color: var(--text); }
input[type=checkbox], input[type=radio] { accent-color: var(--text); }
body { margin: 0; font: 400 16px/1.55 Plex, system-ui, "Segoe UI", sans-serif; color: var(--text); background: var(--bg);
  font-feature-settings: "tnum" 0; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (hover: hover) { a:hover { text-decoration-color: var(--text); } }
a { transition: text-decoration-color 150ms ease; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.015em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px; z-index: 10; }
.label { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.ph { flex: 0 0 auto; vertical-align: -.2em; }
.i-ok { color: var(--ok); } .i-bad { color: var(--bad); } .i-warn { color: var(--warn); }

/* glava */
.top { border-top: 4px solid var(--accent); border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 2px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; font-weight: 500; font-size: .95rem; border-bottom: 2px solid transparent; }
@media (hover: hover) { .nav a:hover { border-bottom-color: var(--line-strong); } }
.nav a { transition: border-color 150ms ease; }
.nav form { margin-left: 8px; padding-left: 8px; border-left: 1px solid var(--line); }
.nav form .btn-ghost { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; padding: 8px 10px; }
@media (hover: hover) { .nav form .btn-ghost:hover { color: var(--text); } }
.nav a[aria-current="page"] { border-bottom-color: var(--accent-line); }
.nav form { margin: 0; }

/* gumbi */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border-radius: var(--r); border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
  white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .9rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
@media (hover: hover) { .btn-primary:hover { background: var(--accent-h); } }
.btn-secondary { background: var(--surface); border-color: var(--text); color: var(--text); }
@media (hover: hover) { .btn-secondary:hover { background: var(--bar); color: var(--on-bar); } }
.btn-ghost { background: none; border: 0; padding: 0 6px; color: var(--text); text-decoration: underline; text-decoration-color: var(--accent-line);
  text-decoration-thickness: 2px; text-underline-offset: 3px; min-height: 36px; }
.btn-danger { background: var(--surface); border-color: var(--bad); color: var(--bad); }
@media (hover: hover) { .btn-danger:hover { background: var(--bad); color: var(--on-status); } }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* razporeditev */
main { padding: 32px 0 72px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card + .card { margin-top: 16px; }
.grid { display: grid; gap: 16px; }
.grid > * { margin-top: 0 !important; }
.g4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .g-side { grid-template-columns: 1fr 340px; } }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.page-head { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 0; font-size: 1.6rem; }
section + section, .wrap > section, .wrap > .grid + .grid { margin-top: 32px; }
.wrap > .page-head + * { margin-top: 0; }
.price { margin-bottom: 6px; }

/* stanje */
.stat .num { font-size: 1.9rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .lbl { margin-top: 6px; }
.status { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border: 1px solid; border-radius: var(--r); }
.status h2 { margin: 0; font-size: 1.2rem; }
.status p { margin: 2px 0 0; }
.status.ok { border-color: var(--ok-line); background: var(--ok-bg); }
.status.bad { border-color: var(--bad-line); background: var(--bad-bg); }
.status.warn { border-color: var(--warn-line); background: var(--warn-bg); }
.status.ok h2 { color: var(--ok); } .status.bad h2 { color: var(--bad); } .status.warn h2 { color: var(--warn); }
.status svg { flex: 0 0 28px; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 2px; font-size: .8125rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.tag-VALID { background: var(--ok-bg); color: var(--ok); }
.tag-INVALID { background: var(--bad-bg); color: var(--bad); }
.tag-NOT_FOUND, .tag-UNKNOWN, .tag-ERROR, .tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-NEW, .tag-muted { background: var(--soft); color: var(--muted); }

.alert { border: 1px solid var(--warn-line); padding: 14px 16px; border-radius: var(--r); background: var(--warn-bg); }
.alert + .alert { margin-top: 8px; }
.alert-INVALID { border-color: var(--bad-line); background: var(--bad-bg); }
.alert p { margin: 6px 0 0; }
.flash { border: 1px solid var(--ok-line); background: var(--ok-bg); padding: 12px 16px; margin-bottom: 20px; font-weight: 500; border-radius: var(--r);
  animation: enter 220ms var(--ease-out); }
.error-box { border: 1px solid var(--bad-line); background: var(--bad-bg); color: var(--bad); padding: 12px 16px; margin-bottom: 16px; font-weight: 500; border-radius: var(--r); }
@keyframes enter { from { opacity: 0; transform: translateY(-4px); } }

/* obrazci */
label { display: block; font-weight: 500; margin-bottom: 6px; }
.hint { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.field { margin-bottom: 16px; }
.field .err { color: var(--bad); font-size: .875rem; font-weight: 500; margin-top: 4px; }
input[type=text], input[type=email], input[type=number], input[type=file], select, textarea {
  width: 100%; min-height: 44px; padding: 9px 12px; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r); }
input, select, textarea { transition: border-color 150ms ease, box-shadow 150ms ease; }
input:focus-visible, select:focus-visible, textarea:focus-visible, input:focus, select:focus, textarea:focus {
  border-color: var(--text); outline: none; box-shadow: 0 0 0 1px var(--text), 0 0 0 4px color-mix(in srgb, var(--accent) 50%, transparent); }
::placeholder { color: var(--placeholder); opacity: 1; }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--text); flex: 0 0 20px; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; }
legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
details.add { border: 1px solid var(--line); border-radius: var(--r); }
details.add > summary { list-style: none; cursor: pointer; padding: 14px 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; min-height: 52px; }
@media (hover: hover) { details.add > summary:hover { background: var(--soft); } }
details.add > summary { transition: background-color 150ms ease; }
details.add > summary::-webkit-details-marker { display: none; }
details.add > summary .plus { width: 24px; height: 24px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; border-radius: 2px;
  transition: transform 200ms var(--ease-out); }
details.add[open] > summary .plus { transform: rotate(45deg); }
details.add[open] > .body { animation: enter 200ms var(--ease-out); }
details.add[open] > summary { border-bottom: 1px solid var(--line); }
details.add .body { padding: 20px; }

/* tabele */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .8125rem; color: var(--muted); font-weight: 600; background: var(--soft); }
td { font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
@media (hover: hover) { tbody tr:hover { background: var(--hover-bg); } }
td a.rowlink { font-weight: 600; text-decoration: none; }
td a.rowlink:hover { text-decoration: underline; text-decoration-color: var(--accent-line); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .cards table, .cards tbody, .cards tr, .cards td { display: block; width: 100%; }
  .cards thead { display: none; }
  .cards tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .cards td { border: 0; padding: 2px 0; }
  .cards td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: .85rem; }
  .cards td:empty { display: none; }
}
.kv { width: 100%; } .kv td { padding: 7px 0; border: 0; border-bottom: 1px solid var(--line); } .kv td:last-child { text-align: right; font-weight: 500; }
.kv tr:last-child td { border-bottom: 0; }
.filters { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r); width: fit-content; max-width: 100%; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; text-decoration: none; font-weight: 500; font-size: .9rem; border-right: 1px solid var(--line); }
.chip:last-child { border-right: 0; }
.chip[aria-current="true"] { background: var(--bar); color: var(--on-bar); }
.chip { transition: background-color 150ms ease; }
@media (hover: hover) { .chip:not([aria-current="true"]):hover { background: var(--soft); } }

/* javna stran */
.hero { padding: 48px 0 56px; border-bottom: 1px solid var(--line); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.demo { border: 1px solid var(--line); border-radius: var(--r); font-size: .92rem; }
.demo .demo-h { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.demo .demo-r { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.demo .demo-r:last-child { border-bottom: 0; }
.steps { border-top: 1px solid var(--line); }
.step { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; align-items: start; }
.step .ph { color: var(--text); }
.step p { margin: 4px 0 0; color: var(--muted); }
@media (min-width: 760px) { .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; border-top: 0; }
  .step { border-top: 1px solid var(--text); border-bottom: 0; grid-template-columns: 1fr; gap: 12px; padding-top: 20px; } }
.price { font-size: 2.4rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M232.49%2C80.49l-128%2C128a12%2C12%2C0%2C0%2C1-17%2C0l-56-56a12%2C12%2C0%2C1%2C1%2C17-17L96%2C183%2C215.51%2C63.51a12%2C12%2C0%2C0%2C1%2C17%2C17Z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20256%20256%22%20fill%3D%22currentColor%22%3E%3Cpath%20d%3D%22M232.49%2C80.49l-128%2C128a12%2C12%2C0%2C0%2C1-17%2C0l-56-56a12%2C12%2C0%2C1%2C1%2C17-17L96%2C183%2C215.51%2C63.51a12%2C12%2C0%2C0%2C1%2C17%2C17Z%22/%3E%3C/svg%3E") center / contain no-repeat; }
.band { background: var(--bar); color: var(--on-bar); padding: 36px; border-radius: var(--r); }
.legal { max-width: 760px; }
.legal h2 { margin-top: 1.6em; font-size: 1.1rem; }
.legal table { margin: 12px 0; border: 1px solid var(--line); display: block; overflow-x: auto; }
.legal td, .legal th { min-width: 110px; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: .875rem; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

.nav-toggle, .burger { display: none; }
@media (max-width: 760px) {
  .top .wrap { flex-wrap: wrap; gap: 0; position: relative; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; margin-left: auto; cursor: pointer; padding: 0 10px; }
  .burger span { display: block; height: 2px; background: var(--text); transition: transform .15s ease, opacity .15s ease; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 4px 0 12px; border-top: 1px solid var(--line); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked + .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); border-left-color: var(--accent-line); padding-left: 10px; }
  .nav .btn { margin: 12px 0 0 !important; }
  .nav form .btn-ghost { padding: 12px 4px; min-height: 44px; }
  .page-head h1 { font-size: 1.35rem; }
  .card { padding: 18px; }
  .btn-ghost { min-height: 44px; }
  .row > .btn, .row > form > .btn { flex: 0 0 auto; }
  .hero { padding: 28px 0 36px; }
  .band { padding: 24px; }
  .band .btn { width: 100%; }
  .status { padding: 16px; }
  .filters { width: 100%; }
  .chip { flex: 1 1 auto; justify-content: center; border-bottom: 1px solid var(--line); }
  .steps { border-top: 0; }
  table { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .btn:active { transform: none; }
}
@media print { .top, footer, .no-print { display: none !important; } }

fieldset.foreign{border:1px solid var(--line,#d7dde5);border-radius:var(--r,3px);padding:12px 16px 4px;margin:0 0 16px}
fieldset.foreign legend{font-weight:600;padding:0 6px}
label.check{display:flex;gap:10px;align-items:center;margin:0 0 14px;font-weight:400;cursor:pointer}
label.check input{width:20px;height:20px;margin:0}
[hidden]{display:none!important}

/* --- osebe in dovoljenja --- */
.tag-LIMITED { background: var(--bad-bg); color: var(--bad); }
.tag-NONE { background: var(--soft); color: var(--muted); }
.alert-critical { border-color: var(--bad-line); background: var(--bad-bg); }
.alert-info { border-color: var(--line); background: var(--soft); }
.ok { color: var(--ok); } .bad { color: var(--bad); font-weight: 600; } .warn { color: var(--warn); font-weight: 600; }
.row-fields { display: flex; gap: 16px; flex-wrap: wrap; }
.row-fields > .field { min-width: 140px; }
.seg-field { border: 0; padding: 0; margin: 0 0 16px; }
.seg-field legend, .chips-field legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; }
.seg-opt { position: relative; margin: 0; cursor: pointer; border-right: 1px solid var(--line-strong); }
.seg-opt:last-child { border-right: 0; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg-opt span { display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 12px; line-height: 1.25; transition: background-color 150ms ease, color 150ms ease; }
.seg-opt small { color: var(--muted); font-size: .8rem; font-weight: 400; }
.seg-opt input:checked + span { background: var(--bar); color: var(--on-bar); }
.seg-opt input:checked + span small { color: color-mix(in srgb, var(--on-bar) 80%, transparent); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--text); outline-offset: -3px; }
.seg-opt input:checked:focus-visible + span { outline-color: var(--accent); }
.chips-field { border: 0; padding: 0; margin: 0 0 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-check { position: relative; margin: 0; cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-check span { display: inline-grid; place-items: center; min-width: 48px; min-height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r); font-weight: 600; font-size: .9rem; transition: background-color 120ms ease, border-color 120ms ease, transform 160ms var(--ease-out); }
.chip-check:active span { transform: scale(.95); }
.chip-check input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip-check input:focus-visible + span { outline: 3px solid var(--text); outline-offset: 1px; }
.field.indent { margin-left: 30px; }
.warn-line { background: var(--warn-bg); color: var(--warn); padding: 8px 12px; border: 1px solid var(--warn-line); border-radius: var(--r); margin: -4px 0 16px; }
.lic { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 16px 18px; margin-bottom: 12px; }
.lic-off { border-style: dashed; border-color: var(--line-strong); background: var(--soft); }
.lic-off .kv, .lic-off .cats { opacity: .75; }
.lic-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.lic-head .mono { margin-left: 8px; }
.lic-actions { margin-top: 12px; gap: 8px; flex-wrap: wrap; }
.cats tr.req td { background: var(--hl); }
.edit-box { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 16px; }
details.confirm { display: inline-block; }
details.confirm > summary { list-style: none; }
details.confirm > summary::-webkit-details-marker { display: none; }
details.confirm[open] > form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.note-form { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; flex-wrap: wrap; }
.note-form textarea { flex: 1; min-width: 220px; }
.note { border-top: 1px solid var(--line); padding: 10px 0; }
.note p { margin: 4px 0; white-space: pre-wrap; }
@media (max-width: 560px) {
  .seg-opt span { min-height: 52px; padding: 6px 8px; font-size: .9rem; }
  .field.indent { margin-left: 0; }
  .row-fields > .field { flex: 1 1 100% !important; }
  .row-fields > .field[style*="96px"] { flex: 0 0 96px !important; }
}
.cats td { white-space: nowrap; }
@media (max-width: 560px) { .cats th, .cats td { padding: 8px 6px; font-size: .85rem; } .lic { padding: 14px 12px; } }

/* --- pregled: seznam za ukrepanje --- */
.attn { border: 1px solid var(--line-strong); border-radius: var(--r); }
.attn + .attn { margin-top: 16px; }
.attn-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.attn-h h2 { margin: 0; font-size: 1.05rem; }
.attn-h .spacer { flex: 1; }
.attn.crit { border-color: var(--bad-line); }
.attn.crit .attn-h { background: var(--bad-bg); border-bottom-color: var(--bad-line); }
.attn.crit .attn-h h2 { color: var(--bad); }
.attn ul { list-style: none; margin: 0; padding: 0; }
.attn li { display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 12px; align-items: start; padding: 14px 18px; border-top: 1px solid var(--line); }
.attn li:first-child { border-top: 0; }
.attn li > .ph { margin-top: 2px; }
.attn .what { font-weight: 600; }
.attn .when { color: var(--muted); font-size: .8125rem; margin-left: 6px; font-weight: 400; }
.attn p { margin: 2px 0 0; }
.attn .act { display: flex; gap: 6px; align-items: center; }
.attn .act form { margin: 0; }
.attn.quiet li { padding-top: 10px; padding-bottom: 10px; }
.attn.quiet p { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) {
  .attn li { grid-template-columns: 22px 1fr; }
  .attn .act { grid-column: 2; margin-top: 6px; }
}

/* --- številke v vrstici (brez kartic) --- */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.kpis > div { padding: 14px 16px 14px 0; }
.kpis dt { font-size: .8125rem; color: var(--muted); order: 2; }
.kpis dd { margin: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpis dd small { font-size: .8125rem; font-weight: 400; color: var(--muted); display: block; margin-top: 2px; }
.kpis > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; }
@media (min-width: 760px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpis > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 759px) { .kpis > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); } .kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.dot-ok { color: var(--ok); } .dot-bad { color: var(--bad); }
@media (min-width: 761px) and (max-width: 1000px) {
  .top .wrap { gap: 12px; }
  .nav a { padding: 8px 7px; font-size: .9rem; }
  .nav form { margin-left: 4px; padding-left: 4px; }
}

/* ================================================================ prodajna stran */
html, body { overflow-x: clip; }
.lp { --bleed: calc(50% - 50vw); }
.lp-h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 28px; max-width: 18ch; text-wrap: balance; }
.lp section { margin-top: clamp(72px, 10vw, 136px); }
.lp section:first-child { margin-top: 0; }

/* 1. naslov */
.lp-hero { display: grid; gap: 40px; padding: clamp(40px, 7vw, 96px) 0 0; align-items: center; }
@media (min-width: 900px) { .lp-hero { grid-template-columns: 1.15fr 1fr; gap: 64px; } }
.lp-hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 24px; text-wrap: balance; }
.lp-sub { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36ch; margin: 0 0 32px; line-height: 1.45; }
.lp-cta { gap: 12px; }

.lp-run { margin: 0; border: 1px solid var(--text); border-radius: var(--r); background: var(--surface); box-shadow: 10px 10px 0 var(--text); font-size: .95rem; }
.lp-run-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--bar); color: var(--on-bar); font-weight: 600; }
.lp-run-h > span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.lp-run-n { font-variant-numeric: tabular-nums; opacity: .8; font-weight: 500; }
.lp-run ol { list-style: none; margin: 0; padding: 0; }
.lp-run li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.lp-run .who { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.lp-run .who span { font-size: .8125rem; color: var(--muted); }
.lp-run .res { display: grid; justify-items: end; }
.lp-run .res > * { grid-area: 1 / 1; }
.lp-run .lp-wait { visibility: hidden; }
.lp-run-f { display: flex; gap: 8px; align-items: center; padding: 13px 18px; font-weight: 600; background: var(--soft); }
/* animacija: le z JS in brez »zmanjšaj gibanje« */
.lp-run.is-armed .lp-wait { visibility: visible; transition: opacity 160ms ease; }
.lp-run.is-armed .lp-done { opacity: 0; transform: scale(.95); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.lp-run.is-armed .lp-run-f { opacity: 0; transform: translateY(6px); transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out); }
.lp-run.is-armed li.is-done .lp-wait { opacity: 0; }
.lp-run.is-armed li.is-done .lp-done { opacity: 1; transform: none; }
.lp-run.is-armed.is-finished .lp-run-f { opacity: 1; transform: none; }

/* 2. časovnica */
.lp-night { margin-inline: var(--bleed); padding: clamp(56px, 8vw, 96px) max(24px, calc(50vw - 536px)); background: var(--soft); border-block: 1px solid var(--line); }
.lp-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.lp-timeline li { position: relative; padding: 0 0 28px 28px; border-left: 1px solid var(--line-strong); }
.lp-timeline li:last-child { padding-bottom: 0; }
.lp-timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bar); }
.lp-timeline .t { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.lp-timeline h3 { font-size: 1.05rem; margin: 0 0 4px; }
.lp-timeline p { margin: 0; color: var(--muted); max-width: 30ch; }
@media (min-width: 860px) {
  .lp-timeline { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .lp-timeline li { border-left: 0; border-top: 1px solid var(--line-strong); padding: 28px 0 0; }
  .lp-timeline li::before { left: 0; top: -6px; }
}

/* 3. mreža */
.bento { display: grid; gap: 16px; }
.bento > article { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--surface); min-width: 0; }
.bento h3 { font-size: 1.15rem; margin: 0 0 8px; }
.bento p { margin: 0 0 16px; color: var(--muted); }
.bento p:last-child { margin-bottom: 0; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .b-cats { grid-column: span 4; }
  .b-law { grid-column: span 2; }
  .b-foreign { grid-column: span 2; }
  .b-dead { grid-column: span 2; }
  .b-doc { grid-column: span 2; }
}
.bento .mini { width: 100%; font-size: .92rem; }
.bento .mini td, .bento .mini th { padding: 9px 12px; }
.bento .mini .hit td { background: var(--bad-bg); }
.bento .ok { color: var(--ok); font-weight: 600; } .bento .bad { color: var(--bad); font-weight: 600; } .bento .warn { color: var(--warn); font-weight: 600; }
.bento .b-law { background: var(--bar); border-color: var(--bar); color: var(--on-bar); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.b-law .q { color: var(--on-bar); font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.b-law .src { color: color-mix(in srgb, var(--on-bar) 70%, transparent); font-size: .875rem; margin: 0; }
.codes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.codes li { font: 600 .8125rem/1 Plex, system-ui, sans-serif; padding: 7px 9px; border: 1px solid var(--line-strong); border-radius: 2px; letter-spacing: .04em; }
.bento .dl { list-style: none; margin: 8px 0 12px; padding: 0; }
.bento .dl li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.bento .dl li span:last-child { white-space: nowrap; }
.b-doc .ph { margin-bottom: 14px; }

/* 4. e-pošta */
.lp-mail { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .lp-mail { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.lp-mail-copy > p { font-size: 1.1rem; color: var(--muted); max-width: 42ch; margin: 0 0 20px; }
.lp-mail-card { border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px color-mix(in srgb, var(--text) 35%, transparent); }
.lp-mail-card .mh { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: .9rem; display: grid; gap: 4px; background: var(--soft); }
.lp-mail-card .mh .muted { display: inline-block; width: 4.5em; }
.lp-mail-card .mb { padding: 24px 20px 28px; border-top: 2px solid var(--bad); }
.lp-mail-card .lead-bad { color: var(--bad); font-weight: 700; font-size: 1.15rem; margin: 0 0 10px; }
.lp-mail-card .mb p { margin: 0 0 10px; }
.lp-mail-card .btn { margin-top: 8px; pointer-events: none; }

/* 5. cena */
.lp-price { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .lp-price { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.lp-price-head > p { font-size: 1.1rem; color: var(--muted); margin: 0 0 20px; }
.lp-price-head .ticks { max-width: 420px; }
.lp-calc { border: 1px solid var(--text); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; justify-items: start; }
.lp-calc > label { font-weight: 600; }
.lp-calc-row { display: flex; gap: 16px; align-items: center; width: 100%; }
.lp-calc input[type=range] { flex: 1; min-width: 0; height: 44px; accent-color: var(--text); cursor: pointer; }
.lp-n { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 7.5em; text-align: right; }
.lp-total { margin: 4px 0 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lp-total > span { font-size: clamp(2.75rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-total small { color: var(--muted); font-size: 1rem; }
.lp-calc .btn { margin-top: 8px; }

/* 6. vprašanja */
.lp-faq { display: grid; gap: 24px; }
@media (min-width: 900px) { .lp-faq { grid-template-columns: 1fr 2fr; gap: 64px; } }
.faq { border-top: 1px solid var(--text); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ph { flex: none; transition: transform 200ms var(--ease-out); }
.faq details[open] summary .ph { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--muted); max-width: 62ch; }
.faq details[open] p { animation: enter 200ms var(--ease-out); }

/* 7. zaključek */
.lp .lp-end { margin: clamp(72px, 10vw, 136px) var(--bleed) 0; border-radius: 0; padding: clamp(48px, 7vw, 88px) max(24px, calc(50vw - 536px)); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.lp-end h2 { color: var(--on-bar); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 10px; }
.lp-end p { margin: 0; color: color-mix(in srgb, var(--on-bar) 75%, transparent); font-size: 1.1rem; }

main:has(.lp-end) { padding-bottom: 0; }
main:has(.lp-end) + footer { border-top: 0; }

/* odkrivanje ob drsenju */
.lp-reveal { transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.lp-reveal.is-wait { opacity: 0; transform: translateY(16px); }

@media (max-width: 640px) {
  .lp-run { box-shadow: 6px 6px 0 var(--text); margin-right: 6px; }
  .lp-run li { padding: 11px 14px; }
  .lp-cta .btn { flex: 1 1 auto; }
  .lp-calc-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .lp-n { text-align: left; }
  .bento > article { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-reveal, .lp-reveal.is-wait { opacity: 1; transform: none; transition: none; }
}

/* ================================================================ portal in nadzor: isti jezik kot prodajna stran */
h1 { font-weight: 700; letter-spacing: -.03em; }
h2 { font-weight: 700; letter-spacing: -.02em; }
.nowrap { white-space: nowrap; }
.block { display: block; }
.tag-EXPIRED { background: var(--bad-bg); color: var(--bad); }
.tag-EXPIRING, .tag-OUTAGE, .tag-OUTAGE_FAILED { background: var(--warn-bg); color: var(--warn); }
.tag-RECOVERED { background: var(--ok-bg); color: var(--ok); }
.tag-CATEGORY, .tag-OUTAGE_DONE { background: var(--soft); color: var(--muted); }

/* glava aplikacije */
.app .top { background: var(--bar); border-bottom: 0; }
.app .brand { color: var(--on-bar); }
.app .env { margin-left: -12px; padding: 2px 8px; border: 1px solid color-mix(in srgb, var(--on-bar) 35%, transparent); border-radius: 2px; color: color-mix(in srgb, var(--on-bar) 80%, transparent); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.app .nav a { color: color-mix(in srgb, var(--on-bar) 78%, transparent); border-bottom-width: 3px; padding-block: 20px 17px; }
@media (hover: hover) { .app .nav a:hover { color: var(--on-bar); border-bottom-color: color-mix(in srgb, var(--on-bar) 30%, transparent); } }
.app .nav a[aria-current="page"] { color: var(--on-bar); border-bottom-color: var(--accent); font-weight: 600; }
.app .nav form { border-left-color: color-mix(in srgb, var(--on-bar) 20%, transparent); }
.app .nav form .btn-ghost { color: color-mix(in srgb, var(--on-bar) 65%, transparent); }
@media (hover: hover) { .app .nav form .btn-ghost:hover { color: var(--on-bar); } }
.app .nav a:focus-visible, .app .nav button:focus-visible, .app .brand:focus-visible, .app .burger:focus-visible { outline-color: var(--on-bar); }
.app .burger span { background: var(--on-bar); }

/* naslov strani */
.app .page-head { border-bottom: 0; padding-bottom: 0; margin-bottom: 28px; }
.app .page-head h1 { font-size: 2.125rem; line-height: 1.1; }
.app main { padding-top: 40px; }
.app main h2 { font-size: 1.35rem; }
.app section + section, .app .wrap > section { margin-top: 44px; }

/* stanje: osrednja plošča (ena na stran) */
.state { border: 1px solid var(--text); border-radius: var(--r); background: var(--surface); box-shadow: 8px 8px 0 var(--text); margin: 0 0 8px; }
.state-h { display: flex; gap: 16px; align-items: flex-start; padding: 24px 28px; color: var(--on-bar); background: var(--bar); }
.state-h > .ph { flex: none; margin-top: 3px; }
.state-h > div { flex: 1; min-width: 0; }
.app main .state-h h2, .state-h h2 { color: inherit; font-size: 1.75rem; line-height: 1.1; margin: 0 0 6px; }
.state-h p { margin: 0; color: inherit; opacity: .88; max-width: 62ch; }
.state-ok .state-h { background: var(--ok); color: var(--on-status); }
.state-bad .state-h { background: var(--bad); color: var(--on-status); }
.state-h.state-empty { background: var(--bar); }
.state-all { color: inherit; text-decoration-color: currentColor; font-weight: 600; align-self: center; }
.state > .attn { border: 0; border-radius: 0; }
.state > .attn li:first-child { border-top: 0; }
.state-cta { padding: 20px 28px 24px; }
.state-kpis { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; border-top: 1px solid var(--line); background: var(--soft); }
.state-kpis > div { padding: 16px 20px 18px 28px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.state-kpis dt { font-size: .8125rem; color: var(--muted); font-weight: 500; }
.state-kpis dd { margin: 0; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.state-kpis dd.dd-text { font-size: 1.05rem; letter-spacing: 0; font-weight: 600; padding-top: 8px; }
.state-kpis small { font-size: .8125rem; color: var(--muted); }
.state-kpis .dot-bad { color: var(--bad); }
@media (max-width: 759px) {
  .state-kpis > div:nth-child(even) { border-left: 1px solid var(--line); }
  .state-kpis > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 760px) {
  .state-kpis { grid-template-columns: repeat(4, 1fr); }
  .state-kpis > div + div { border-left: 1px solid var(--line); }
}
.state + .attn, .state + section { margin-top: 32px; }

/* ostale plošče in seznami */
.attn { border-color: var(--line-strong); }
.attn-h h2 { font-size: 1.1rem; }
.kpis dd { font-size: 1.875rem; font-weight: 700; letter-spacing: -.03em; }
.lic:not(.lic-off) { border-color: var(--text); }
.lic-head strong { font-size: 1.05rem; }
.table-wrap { border-color: var(--line-strong); }
.table-wrap > .kv td { padding: 10px 14px; }
th { color: var(--text); }
.app .alert { border-radius: var(--r); }

@media (max-width: 760px) {
  .app .top .wrap { min-height: 60px; }
  .app .env { margin-left: 10px; }  /* na ozkem zaslonu je razmik v glavi 0: brez tega oznaka prekrije ime */
  .app .nav { border-top-color: color-mix(in srgb, var(--on-bar) 20%, transparent); }
  .app .nav a { padding: 12px 4px; border-bottom: 1px solid color-mix(in srgb, var(--on-bar) 12%, transparent); border-left: 3px solid transparent; }
  .app .nav a[aria-current="page"] { border-bottom-color: color-mix(in srgb, var(--on-bar) 12%, transparent); border-left-color: var(--accent); }
  .app .nav form { border-left: 0; }
  .app .page-head h1 { font-size: 1.65rem; }
  .app main { padding-top: 28px; }
  .state { box-shadow: 5px 5px 0 var(--text); margin: 0 0 5px; }
  .state-h { padding: 20px; gap: 12px; }
  .app main .state-h h2, .state-h h2 { font-size: 1.4rem; }
  .state-kpis > div { padding: 14px 16px; }
  .state-kpis dd { font-size: 1.6rem; }
  .state-cta { padding: 16px 20px 20px; }
}
@media (min-width: 761px) and (max-width: 1000px) { .app .nav a { padding-block: 20px 17px; } }
