/* NIS2 Skladnost, demo delovnega prostora Business Solutions.
   Videz sledi www.b-s.si: grafitna ozadja, Titillium Web, oglati rdeči gumbi s puščico ↗ zgoraj desno. */

@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Titillium Web"; src: url("fonts/TitilliumWeb-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #232326;
  --bg-2: #333132;
  --bg-3: #2B2A2D;
  --bg-top: #1F1F22;
  --line: #45434A;
  --line-2: #5B5961;
  --red: #FF0025;
  --red-dk: #D9001F;
  --red-ink: #FF4D63;
  --fg: #FFFFFF;
  --fg-2: #C9C7CD;
  --ok: #3FB968;
  --warn: #E5A82E;
  --bad: #FF4D63;
  --bar: #E6E4E9;
  --font: "Titillium Web", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --top-h: 64px;
  --side-w: 244px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }

/* gumbi kot na b-s.si */
.btn {
  position: relative; display: inline-flex; align-items: flex-end;
  min-width: 168px; min-height: 44px; padding: 0 2.4rem 7px 12px;
  background: var(--red); border: 1px solid var(--red); color: #fff; border-radius: 0;
  font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; text-align: left;
  transition: background .15s ease, border-color .15s ease;
}
.btn i { position: absolute; top: 4px; right: 8px; font-style: normal; font-size: 16px; line-height: 1; transition: transform .2s ease; }
.btn:hover { background: var(--red-dk); border-color: var(--red-dk); }
.btn:hover i { transform: translate(2px, -2px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:disabled:hover { background: var(--red); border-color: var(--red); }
.btn:disabled:hover i { transform: none; }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: rgba(255, 0, 37, .12); border-color: var(--red); }
.btn-sm { min-width: 0; min-height: 36px; font-size: 14px; padding: 0 2rem 6px 10px; }
.btn-quiet {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 0; color: var(--fg);
  font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.btn-quiet:hover { border-color: var(--fg-2); background: var(--bg-3); }
.btn-quiet:disabled { opacity: .5; cursor: default; }
.link-btn { background: none; border: 0; padding: 0; color: var(--fg-2); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--fg); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* glava */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 18px;
  height: var(--top-h); padding: 0 20px;
  background: var(--bg-top); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand img { height: 30px; width: auto; }
.brand-sep { width: 1px; height: 30px; background: var(--line-2); }
.brand-name { display: flex; flex-direction: column; font-weight: 700; font-size: 17px; line-height: 1.1; }
.brand-name small { font-weight: 400; font-size: 12px; color: var(--fg-2); margin-top: 2px; }
.demo-badge { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--fg-2); border: 1px dashed var(--line-2); padding: 3px 8px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.switcher { position: relative; }
.switch-btn {
  display: grid; grid-template-columns: auto 14px; column-gap: 10px; align-items: center; text-align: left;
  min-height: 44px; padding: 4px 12px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 0;
}
.switch-btn:hover { border-color: var(--line-2); }
.switch-label { grid-column: 1; font-size: 11px; color: var(--fg-2); line-height: 1.1; }
.switch-name { grid-column: 1; font-weight: 600; font-size: 14px; line-height: 1.25; white-space: nowrap; }
.switch-caret { grid-column: 2; grid-row: 1 / span 2; width: 8px; height: 8px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: rotate(45deg) translate(-2px, -2px); }
.switch-menu { position: absolute; right: 0; top: calc(100% + 6px); width: 300px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px 16px; z-index: 40; }
.switch-cur { display: flex; flex-direction: column; padding-left: 10px; border-left: 2px solid var(--red); }
.switch-cur span { font-size: 13px; color: var(--fg-2); }
.switch-note { margin-top: 12px; font-size: 13px; color: var(--fg-2); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; background: var(--line); font-weight: 700; font-size: 14px; flex: none; }
.menu-btn { display: none; min-height: 38px; padding: 0 12px; background: transparent; border: 1px solid var(--line-2); border-radius: 0; font-weight: 600; }

/* ogrodje */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: calc(100vh - var(--top-h)); }
.side {
  position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-3); border-right: 1px solid var(--line); padding: 18px 0;
}
.nav a {
  display: flex; align-items: baseline; gap: 12px; padding: 11px 20px 11px 17px;
  border-left: 3px solid transparent; text-decoration: none; font-weight: 600; font-size: 15px;
}
.nav a small { margin-left: auto; font-weight: 400; font-size: 12px; color: var(--fg-2); }
.nav-n { font-size: 12px; font-weight: 400; color: var(--fg-2); width: 18px; }
.nav a:hover { background: var(--bg-2); }
.nav a[aria-current="page"] { border-left-color: var(--red); background: var(--bg-2); }
.nav a[aria-current="page"] .nav-n { color: var(--red-ink); }
.side-foot { padding: 16px 20px 4px; border-top: 1px solid var(--line); margin-top: 20px; }
.side-co { font-size: 13px; color: var(--fg-2); margin-bottom: 12px; }
.side-co b { display: block; color: var(--fg); font-size: 14px; }
.scrim { display: none; }

.main { padding: 28px clamp(16px, 3vw, 40px) 64px; outline: none; min-width: 0; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 6px; }
.page-head h1 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 700; outline: none; }
.lede { margin-top: 6px; color: var(--fg-2); max-width: 70ch; }
.co-strip { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; font-size: 14px; color: var(--fg-2); }
.co-strip b { color: var(--fg); font-weight: 600; }

/* kartice in mreža */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; } .c-6 { grid-column: span 6; } .c-7 { grid-column: span 7; } .c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }
.card { background: var(--bg-2); padding: 20px 22px 22px; min-width: 0; }
.card-flat { background: var(--bg-3); border: 1px solid var(--line); }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card h2 { font-size: 18px; line-height: 1.25; font-weight: 700; }
.card-head a, .card-head .link-btn { font-size: 14px; color: var(--fg-2); }
.card-head a:hover { color: var(--fg); }
.muted { color: var(--fg-2); }
.small { font-size: 13px; }
.note { margin-top: 14px; font-size: 13px; color: var(--fg-2); }
.note-box { margin-top: 16px; padding: 12px 14px; border-left: 2px solid var(--line-2); background: var(--bg-3); font-size: 14px; color: var(--fg-2); }
.note-box b { color: var(--fg); }

/* pripravljenost */
.ready { display: flex; align-items: flex-end; gap: 18px; }
.ready-num { font-size: 72px; line-height: .9; font-weight: 300; }
.ready-num span { font-size: 32px; }
.ready-txt { padding-bottom: 6px; color: var(--fg-2); font-size: 14px; max-width: 26ch; }
.meter { height: 8px; background: var(--line); margin-top: 18px; position: relative; }
.meter > span { position: absolute; inset: 0 auto 0 0; background: var(--red); }
.meter-sm { height: 6px; margin-top: 6px; }
.meter-sm > span { background: var(--bar); }
.breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.breakdown dt { font-size: 13px; color: var(--fg-2); }
.breakdown dd { font-size: 20px; font-weight: 600; }

/* statistika */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; }
.stat { background: var(--bg-3); padding: 12px 14px; }
.stat b { display: block; font-size: 30px; font-weight: 300; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--fg-2); }

/* dokazi Microsoft 365 */
.m365 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.m365 > div { background: var(--bg-3); padding: 12px 14px; }
.m365 dt { font-size: 13px; color: var(--fg-2); }
.m365 dd { font-size: 22px; font-weight: 600; line-height: 1.25; display: flex; align-items: center; gap: 8px; }
.m365 dd small { font-size: 13px; font-weight: 400; color: var(--fg-2); }
.m365-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--fg-2); }

/* seznami */
.list li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 4px 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:first-child { border-top: 1px solid var(--line); }
.list .when { font-weight: 600; font-size: 14px; white-space: nowrap; }
.list .what small { display: block; color: var(--fg-2); font-size: 13px; }
.tasks li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 18px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.tasks li:first-child { border-top: 1px solid var(--line); }
.tasks a { text-decoration: none; font-weight: 600; }
.tasks a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tasks .who, .tasks .due { font-size: 13px; color: var(--fg-2); white-space: nowrap; }

/* oznake stanja */
.st { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; white-space: nowrap; }
.st::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--fg-2); flex: none; }
.st-ok::before { background: var(--ok); }
.st-warn::before { background: var(--warn); }
.st-bad::before { background: var(--bad); }
.st-draft::before { background: transparent; border: 1.5px solid var(--warn); }
.st-idle::before { background: transparent; border: 1.5px solid var(--fg-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 1px 8px; border: 1px solid var(--line-2); font-size: 12.5px; white-space: nowrap; color: var(--fg-2); }
.chip-auto { color: var(--fg); border-color: var(--fg-2); }
.chip-auto::before { content: ""; width: 7px; height: 7px; background: var(--fg); }
.tier { display: inline-block; padding: 1px 8px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-2); white-space: nowrap; }
.tier-1 { border-color: var(--red-ink); color: var(--red-ink); }

/* tabele */
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); padding: 8px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover { background: var(--bg-3); }
.tbl .num { color: var(--fg-2); width: 34px; }
.tbl .open { background: none; border: 0; padding: 0; text-align: left; font-weight: 600; font-size: 15px; }
.tbl .open:hover { text-decoration: underline; text-underline-offset: 3px; }
.tbl td small { display: block; color: var(--fg-2); font-size: 13px; }
.tbl .right { text-align: right; }

/* ukrepi */
.meas { border-top: 1px solid var(--line); }
.meas-row { border-bottom: 1px solid var(--line); }
.meas-btn {
  width: 100%; display: grid; grid-template-columns: 24px minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.2fr) 100px 18px;
  gap: 12px; align-items: center; padding: 12px 8px; background: none; border: 0; border-radius: 0; text-align: left;
}
.meas-btn:hover { background: var(--bg-3); }
.meas-btn b { font-weight: 600; }
.meas-btn .muted { font-size: 14px; }
.meas-n { color: var(--fg-2); font-size: 13px; }
.chev { width: 8px; height: 8px; border-right: 1.5px solid var(--fg-2); border-bottom: 1.5px solid var(--fg-2); transform: rotate(45deg); justify-self: center; transition: transform .15s ease; }
.meas-btn[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.meas-btn[aria-expanded="true"] { background: var(--bg-3); }
.meas-head { display: grid; grid-template-columns: 24px minmax(0, 2.4fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.2fr) 100px 18px; gap: 12px; padding: 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); }
.meas-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; padding: 6px 8px 22px 44px; background: var(--bg-3); }
.meas-body h3 { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 8px; }
.evid li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.evid li > span:first-child { min-width: 0; }
.evid .st { font-size: 13.5px; white-space: normal; text-align: right; }
.advice { font-size: 14px; }
.advice .actions { margin-top: 12px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.filters button { min-height: 34px; padding: 0 12px; background: transparent; border: 1px solid var(--line); border-radius: 0; font-size: 14px; color: var(--fg-2); }
.filters button[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); background: var(--bg-2); }

/* stranska plošča dokumenta */
.drawer-scrim { position: fixed; inset: 0; background: rgba(20, 20, 22, .6); z-index: 50; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(680px, 100%); z-index: 51;
  background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column;
}
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 26px 16px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.drawer-head h2 { font-size: 22px; line-height: 1.25; outline: none; }
.drawer-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; font-size: 13px; color: var(--fg-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 26px 28px; }
.drawer-foot { padding: 16px 26px; border-top: 1px solid var(--line); background: var(--bg-3); }
.x-btn { flex: none; width: 36px; height: 36px; background: transparent; border: 1px solid var(--line-2); border-radius: 0; position: relative; }
.x-btn::before, .x-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--fg); }
.x-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
.x-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }
.x-btn:hover { border-color: var(--fg-2); }
.doc-paper { background: var(--bg-2); padding: 20px 22px; border-top: 3px solid var(--line-2); min-height: 120px; }
.doc-paper.is-ai { border-top-color: var(--warn); }
.doc-paper h4 { font-size: 15px; font-weight: 700; margin: 16px 0 6px; }
.doc-paper h4:first-child { margin-top: 0; }
.doc-paper p { font-size: 14.5px; color: #E6E4E9; }
.doc-paper ul { margin: 4px 0; }
.doc-paper li { position: relative; padding-left: 16px; font-size: 14.5px; color: #E6E4E9; margin: 3px 0; }
.doc-paper li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 1.5px; background: var(--fg-2); }
.doc-empty { color: var(--fg-2); }
.caret::after { content: ""; display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--fg-2); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.gen-status { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--fg-2); min-height: 22px; }
.ai-note { margin-bottom: 14px; padding: 12px 14px; border-left: 3px solid var(--warn); background: var(--bg-2); font-size: 14px; }
.sub-h { font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); margin: 0 0 10px; }
.sources { margin-top: 18px; font-size: 13px; color: var(--fg-2); }
.sources li { padding: 3px 0; }

/* modalno okno */
.modal-scrim { position: fixed; inset: 0; background: rgba(20, 20, 22, .7); z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-2); border-top: 3px solid var(--red); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 22px 0; }
.modal-head h2 { font-size: 20px; line-height: 1.25; }
.modal-body { padding: 16px 22px 22px; }
.modal-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 0 22px 22px; }

/* obrazci */
.field { margin-bottom: 14px; }
.field > label, .field > legend, .field-l { display: block; font-size: 13px; font-weight: 600; color: var(--fg-2); margin-bottom: 5px; padding: 0; }
fieldset.field { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.inp { width: 100%; min-height: 42px; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 0; font-size: 15px; }
.inp:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 0; border-color: transparent; }
textarea.inp { min-height: 96px; resize: vertical; line-height: 1.5; }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 12px; border: 1px solid var(--line-2); font-size: 14px; cursor: pointer; }
.checks input { accent-color: var(--red); width: 16px; height: 16px; margin: 0; }
.checks label:has(input:checked) { border-color: var(--fg); background: var(--bg-3); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.hint { font-size: 13px; color: var(--fg-2); margin-top: 4px; }

/* čarovnik za incident */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 20px; }
.steps li { padding: 10px 12px; background: var(--bg-3); border-top: 3px solid var(--line); font-size: 14px; color: var(--fg-2); }
.steps li b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.steps li.is-cur { border-top-color: var(--red); color: var(--fg); background: var(--bg-2); }
.steps li.is-done { border-top-color: var(--fg-2); color: var(--fg); }
.wiz { max-width: 820px; }
.wiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tl { background: var(--bg-3); padding: 16px 16px 18px; border-top: 3px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; }
.tl.is-done { border-top-color: var(--ok); }
.tl.is-next { border-top-color: var(--red); }
.tl.is-late { border-top-color: var(--bad); }
.tl .tl-k { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); }
.tl h3 { font-size: 17px; line-height: 1.25; }
.tl .tl-d { font-size: 15px; font-weight: 600; }
.tl .tl-left { font-size: 13.5px; color: var(--fg-2); }
.tl .btn-quiet { margin-top: 8px; align-self: flex-start; }
textarea.draft { width: 100%; min-height: 330px; font-family: var(--font); font-size: 14px; line-height: 1.55; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; font-size: 14px; }
.kv dt { color: var(--fg-2); }

/* usposabljanja */
.tr-card .big { font-size: 44px; font-weight: 300; line-height: 1; }
.tr-card .big small { font-size: 22px; }
.tr-rule { font-size: 13.5px; color: var(--fg-2); margin-top: 6px; min-height: 42px; }
.tr-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.tr-facts div { background: var(--bg-3); padding: 10px 12px; }
.tr-facts dt { font-size: 12.5px; color: var(--fg-2); }
.tr-facts dd { font-weight: 600; }
.dept li { display: grid; grid-template-columns: minmax(0, 1fr) 70px; gap: 4px 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.dept .meter { grid-column: 1 / -1; margin-top: 0; }

/* samoocena */
.cycle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cycle li { background: var(--bg-3); padding: 12px 14px; border-top: 3px solid var(--line); font-size: 14px; }
.cycle li b { display: block; }
.cycle li span { color: var(--fg-2); font-size: 13px; }
.cycle li.is-done { border-top-color: var(--fg-2); }
.cycle li.is-cur { border-top-color: var(--red); background: var(--bg-2); }
.areas li { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.areas li:first-child { border-top: 1px solid var(--line); }
.areas .lbl { font-size: 13px; color: var(--fg-2); display: flex; justify-content: space-between; }
.areas .lbl b { color: var(--fg); font-weight: 600; }
.areas-head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 18px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--fg-2); padding-bottom: 8px; }
.pkg li { position: relative; padding: 6px 0 6px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.pkg li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; background: var(--fg-2); }

/* obvestila */
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 8px; max-width: min(420px, calc(100% - 40px)); }
.toast { background: var(--fg); color: #1F1F22; padding: 12px 16px 12px 14px; border-left: 4px solid var(--red); font-size: 14px; font-weight: 600; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
.toast small { display: block; font-weight: 400; color: #4A4950; }

.spin { width: 14px; height: 14px; border: 2px solid var(--line-2); border-top-color: var(--fg); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* prilagoditev širine */
@media (max-width: 1240px) {
  .c-4, .c-5 { grid-column: span 6; }
  .c-7, .c-8 { grid-column: span 6; }
  .meas-btn, .meas-head { grid-template-columns: 24px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.2fr) 92px 18px; }
  .meas-btn .col-owner, .meas-head .col-owner { display: none; }
  .demo-badge { display: none; }
}
@media (max-width: 1000px) {
  .grid > * { grid-column: span 12; }
  .meas-body { grid-template-columns: 1fr; padding-left: 16px; }
  .meas-btn, .meas-head { grid-template-columns: 24px minmax(0, 2fr) 120px 196px 18px; }
  .meas-btn .col-date, .meas-head .col-date { display: none; }
  .cycle { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; left: 0; top: var(--top-h); bottom: 0; height: auto; width: min(280px, 86vw); z-index: 25; transform: translateX(-100%); transition: transform .2s ease; }
  .side.is-open { transform: none; }
  .scrim { display: block; position: fixed; inset: var(--top-h) 0 0 0; background: rgba(20, 20, 22, .6); z-index: 24; }
  .brand-name small { display: none; }
  .switch-label { display: none; }
  .top-offer { display: none; }
}
@media (max-width: 680px) {
  .top { gap: 10px; padding: 0 12px; }
  .brand img { height: 24px; }
  .brand-sep { display: none; }
  .brand-name { font-size: 15px; }
  .switch-name { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }
  .avatar { display: none; }
  .meas-btn, .meas-head { grid-template-columns: minmax(0, 1fr) auto 18px; }
  .meas-btn .meas-n, .meas-btn .col-src, .meas-btn .col-date, .meas-head > span:not(:nth-child(2)):not(:nth-child(4)) { display: none; }
  .meas-head { display: none; }
  .timeline, .steps, .two, .breakdown { grid-template-columns: 1fr; }
  .areas li, .areas-head { grid-template-columns: 1fr; gap: 6px; }
  .areas-head { display: none; }
  .tasks li { grid-template-columns: 1fr; }
  .list li { grid-template-columns: 1fr; }
  .m365 { grid-template-columns: 1fr; }
}
