/* Quiet Shift · Izvještaji. Isti tokeni kao Quiet Shift aplikacija: papir + crna, zlato kao jedini naglasak. */
@font-face { font-family: "Inter"; src: url("../fonts/Inter_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/Lora_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --bg: #f4eee4; --surface: #fbf8f2; --sunken: #ebe3d5; --ink: #161616; --muted: #6a6358; --line: #dbd1c0;
  --gold: #a8885a; --gold-ink: #775c33; --gold-soft: #efe4d0;
  --ok: #386349; --ok-soft: #dfe9df; --warn: #8a5d14; --warn-soft: #f3e6c9; --err: #96382b; --err-soft: #f3dfd9;
  --hero: #161616; --hero-ink: #f4eee4; --hero-muted: #a39b8d; --hero-line: #33312d;
  --bar: #a8885a; --bar-on: #161616;
  --shadow: 0 1px 2px rgba(87, 66, 30, .06), 0 8px 24px rgba(87, 66, 30, .07);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #161616; --surface: #1e1d1b; --sunken: #101010; --ink: #f4eee4; --muted: #a39b8d; --line: #33312d;
  --gold: #a8885a; --gold-ink: #cfb07e; --gold-soft: #2b261d;
  --ok: #8fbb9d; --ok-soft: #1d2a22; --warn: #dcab63; --warn-soft: #2e2617; --err: #e39283; --err-soft: #33201c;
  --hero: #23211d; --hero-ink: #f4eee4; --hero-muted: #a39b8d; --hero-line: #3b3730;
  --bar: #8a7350; --bar-on: #f4eee4;
  --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 "Inter", ui-sans-serif, system-ui, sans-serif; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
}
h1, h2, .serif { font-family: "Lora", ui-serif, Georgia, serif; font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: 30px; line-height: 1.15; margin: 4px 0 0; }
h2 { font-size: 20px; line-height: 1.25; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--gold); color: #161616; }
:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 2px; border-radius: 8px; }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
svg.ik { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Okvir: jedna kolona širine telefona, i na računalu. */
.top, main, .tabs, .pitaj-traka { width: 100%; max-width: 520px; margin-inline: auto; }
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top)) 20px 12px; background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo-t { line-height: 1; }
.logo-t .serif { display: block; font-size: 20px; }
.logo-t small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.demo { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold-soft); padding: 4px 8px; border-radius: 999px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); border-radius: 50%; padding: 0; }

main { padding: 8px 20px calc(112px + env(safe-area-inset-bottom)); outline: none; }
section { margin-top: 32px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lead { color: var(--muted); margin-top: 4px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); }

/* Donja navigacija */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.tabs a { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; min-height: 52px; font-size: 11px; font-weight: 600; text-decoration: none; color: var(--muted); border-radius: 14px; }
.tabs a[aria-current="page"] { color: var(--ink); }
.tabs a[aria-current="page"] .ti { background: var(--gold-soft); color: var(--gold-ink); }
.ti { display: grid; place-items: center; width: 52px; height: 28px; border-radius: 999px; transition: background .2s; }

/* Čipovi (objekti, vrste, prijedlozi pitanja) */
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 16px -20px 0; padding: 0 20px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.seg { display: inline-grid; grid-auto-flow: column; gap: 2px; padding: 3px; background: var(--sunken); border-radius: 999px; }
.seg button { min-height: 44px; padding: 6px 16px; border: 0; background: transparent; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }

/* Jutarnji pregled */
.pregled { margin-top: 20px; background: var(--hero); color: var(--hero-ink); border: 1px solid var(--hero-line); border-radius: 24px; padding: 20px; position: relative; overflow: hidden; }
.pregled::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -110px; border-radius: 50%; background: radial-gradient(closest-side, rgba(168, 136, 90, .35), transparent); pointer-events: none; }
.pregled .eyebrow { color: #cfb07e; }
.pregled-red { display: flex; align-items: center; gap: 16px; margin-top: 12px; position: relative; }
.svira { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--gold); color: #161616; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 20px rgba(168, 136, 90, .35); transition: transform .15s; }
.svira:active { transform: scale(.95); }
.svira svg.ik { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.pregled-t { min-width: 0; }
.pregled-t b { display: block; font: 500 20px/1.25 "Lora", Georgia, serif; }
.pregled-t span { font-size: 14px; color: var(--hero-muted); }
.val { position: absolute; top: 14px; right: 20px; display: flex; align-items: center; gap: 3px; height: 28px; }
.val i { width: 3px; height: 6px; border-radius: 2px; background: #cfb07e; opacity: .5; }
.pregled.ide .val i { opacity: 1; animation: val .9s ease-in-out infinite; }
.val i:nth-child(2) { animation-delay: .15s !important; } .val i:nth-child(3) { animation-delay: .3s !important; }
.val i:nth-child(4) { animation-delay: .45s !important; } .val i:nth-child(5) { animation-delay: .6s !important; }
@keyframes val { 0%, 100% { height: 6px; } 50% { height: 26px; } }
.trenutna { margin-top: 16px; min-height: 48px; font-size: 16px; line-height: 1.5; position: relative; }
.traka { height: 3px; margin-top: 16px; background: var(--hero-line); border-radius: 2px; overflow: hidden; }
.traka i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .4s; }
.pregled details { margin-top: 12px; }
.pregled summary { min-height: 44px; display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: #cfb07e; cursor: pointer; list-style: none; }
.pregled summary::-webkit-details-marker { display: none; }
.pregled ol { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.pregled li { font-size: 14px; color: var(--hero-muted); padding-left: 12px; border-left: 2px solid transparent; }
.pregled li.sad { color: var(--hero-ink); border-left-color: var(--gold); }

/* Traži pažnju */
.zast { display: grid; gap: 8px; }
.z { display: grid; grid-template-columns: 36px 1fr 20px; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.z-i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.z b { display: block; font-weight: 600; line-height: 1.3; }
.z span.o { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.z .raz { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hitno .z-i, .st.hitno { background: var(--err-soft); color: var(--err); } .hitno .raz { color: var(--err); }
.paznja .z-i, .st.paznja { background: var(--warn-soft); color: var(--warn); } .paznja .raz { color: var(--warn); }
.dobro .z-i, .st.ok { background: var(--ok-soft); color: var(--ok); } .dobro .raz { color: var(--ok); }
.st.nema { background: var(--sunken); color: var(--muted); }
.z > svg.ik:last-child { color: var(--muted); width: 18px; height: 18px; }
.prazno { padding: 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 16px; }

/* Brojke */
.kpi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.k { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow); }
.k .l { font-size: 12px; color: var(--muted); }
.k .v { display: block; font-size: 26px; font-weight: 600; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dl { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl.gore { color: var(--ok); } .dl.dolje { color: var(--err); } .dl.isto { color: var(--muted); }
.dl small { font-weight: 400; font-size: 12px; color: var(--muted); }
.kontrola { margin-top: 12px; padding: 4px 20px; }
.kontrola div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.kontrola div:first-child { border-top: 0; }
.kontrola b { font-variant-numeric: tabular-nums; }

/* Vodoravne trake */
.redovi { display: grid; gap: 16px; }
.r .rg { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.r .rg b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.r .rg em { font-style: normal; color: var(--muted); font-size: 12px; margin-left: 6px; }
.r .tr { height: 8px; margin-top: 6px; background: var(--sunken); border-radius: 4px; overflow: hidden; }
.r .tr i { display: block; height: 100%; background: var(--gold-ink); border-radius: 0 4px 4px 0; }

/* Stupčasti graf */
.graf-cit { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.graf-cit span { font-size: 14px; color: var(--muted); }
.graf-cit b { font-size: 20px; font-variant-numeric: tabular-nums; }
.stupci { position: relative; display: flex; align-items: flex-end; gap: 2px; height: 132px; border-bottom: 1px solid var(--line); touch-action: pan-y; }
.stupci button { flex: 1; height: 100%; min-width: 0; padding: 0; border: 0; background: none; display: flex; align-items: flex-end; }
.stupci button i { display: block; width: 100%; height: var(--h); min-height: 2px; background: var(--bar); border-radius: 4px 4px 0 0; transition: background .15s; }
.stupci button.on i { background: var(--bar-on); }
.stupci .pros { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--muted); opacity: .55; pointer-events: none; }
.os { display: flex; gap: 2px; margin-top: 6px; }
.os span { flex: 1; min-width: 0; font-size: 11px; color: var(--muted); text-align: center; white-space: nowrap; overflow: visible; }
.graf-nap { margin-top: 8px; font-size: 12px; color: var(--muted); }
.hero-br { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* Izvještaji */
.dan-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; }
.dan-nav b { font: 500 20px/1.2 "Lora", Georgia, serif; text-align: center; }
.dan-nav button:disabled { opacity: .3; }
.stanje { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; background: var(--gold-soft); border-radius: 16px; font-size: 14px; }
.stanje b { font-size: 16px; }
.grupa { margin-top: 24px; }
.grupa h2 { margin-bottom: 8px; }
.lista { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.iz { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; width: 100%; min-height: 60px; padding: 10px 16px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); }
.iz:first-child { border-top: 0; }
.st { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.st svg.ik { width: 16px; height: 16px; }
.iz .n { display: block; font-weight: 600; font-size: 14px; }
.iz .s { display: block; font-size: 12px; color: var(--muted); }
.iz .kl { font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; max-width: 132px; }
.iz.nema .kl { color: var(--muted); }

/* List s detaljem izvještaja */
dialog { width: 100%; max-width: 520px; max-height: 88dvh; margin: auto auto 0; padding: 0; border: 0; border-radius: 24px 24px 0 0; background: var(--surface); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(10, 9, 8, .55); }
dialog[open] { animation: gore .28s cubic-bezier(.2, .7, .2, 1); }
@keyframes gore { from { transform: translateY(40px); } to { transform: none; } }
.ls { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.ls-g { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: -20px -20px 0; padding: 20px 20px 8px; background: var(--surface); }
.ls h2 { font-size: 24px; margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--sunken); }
.pill .st { width: 22px; height: 22px; } .pill .st svg.ik { width: 13px; height: 13px; }
.ai { margin-top: 16px; padding: 14px 16px; background: var(--gold-soft); border-radius: 16px; }
.ai .eyebrow { display: block; margin-bottom: 4px; }
.polja { margin: 16px 0 0; }
.polja div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.polja dt { color: var(--muted); } .polja dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 8px 8px 8px 0; }
td { padding: 10px 8px 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
th:last-child, td:last-child { text-align: right; padding-right: 0; }
.izvor { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); word-break: break-word; }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin-top: 12px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: transparent; font-weight: 600; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }

/* Pitaj */
.razg { display: grid; gap: 12px; margin-top: 20px; }
.por { scroll-margin-bottom: 220px; max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 16px; line-height: 1.45; }
.por.ja { justify-self: end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.por.qs { justify-self: start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.por .veza { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: 8px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--gold-ink); }
.pitaj-uvod { margin-top: 20px; padding: 24px 20px; text-align: center; }
.pitaj-uvod .krug { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-ink); }
.pitaj-uvod .krug svg.ik { width: 30px; height: 30px; }
.prijedlozi { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prijedlozi .chip { white-space: normal; text-align: left; color: var(--ink); background: var(--surface); }
.pitaj-traka { position: fixed; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 25; padding: 8px 16px; background: linear-gradient(transparent, var(--bg) 30%); }
.pitaj-traka form { display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.pitaj-traka form:focus-within { border-color: var(--gold-ink); box-shadow: 0 0 0 2px var(--gold-soft); }
.pitaj-stanje { margin: 0 0 6px; font-size: 14px; text-align: center; color: var(--muted); }
.pitaj-stanje:empty { display: none; }
.pitaj-traka input { flex: 1; min-width: 0; height: 44px; padding: 0 8px 0 12px; border: 0; background: none; font: inherit; color: inherit; outline: none; }
.pitaj-traka button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--sunken); color: var(--ink); }
.pitaj-traka button.sal { background: var(--ink); color: var(--bg); }
.pitaj-traka button.slusa { background: var(--err); color: var(--bg); animation: puls 1.2s ease-in-out infinite; }
@keyframes puls { 50% { box-shadow: 0 0 0 8px rgba(150, 56, 43, .18); } }
main.pitaj { padding-bottom: calc(190px + env(safe-area-inset-bottom)); }

.nap { margin: -4px 0 12px; }
.link { display: inline-flex; align-items: center; min-height: 44px; }
.sec-h:has(.link) { margin-bottom: 0; }
.glas-nap { margin-top: 12px; font-size: 14px; color: #cfb07e; }
@media (max-width: 359px) { .demo { display: none; } }
.podnozje { margin-top: 32px; font-size: 12px; color: var(--muted); text-align: center; }
/* Ulazak sadržaja: samo pomak, nikad prozirnost (u pozadinskoj kartici sadržaj ostaje vidljiv). */
.ulaz > * { animation: ulaz .4s cubic-bezier(.2, .7, .2, 1) both; }
.ulaz > *:nth-child(2) { animation-delay: .04s; } .ulaz > *:nth-child(3) { animation-delay: .08s; } .ulaz > *:nth-child(n+4) { animation-delay: .12s; }
.bez-anim .ulaz > * { animation: none; }
@keyframes ulaz { from { transform: translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (min-width: 560px) { body { background: var(--sunken); } .top, main { background-color: var(--bg); } main { min-height: 100dvh; } }

/* ——— Email assistant (package B): mail rows, documents, due dates, upload, login ——— */
.naslov { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vrtnja { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--gold-ink); visibility: hidden; }
.ucitava .vrtnja { visibility: visible; animation: vrti 0.8s linear infinite; }
@keyframes vrti { to { transform: rotate(360deg); } }
a.k { display: block; text-decoration: none; color: inherit; }
.k .dl svg.ik { width: 14px; height: 14px; }
.upoz { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px 16px; background: var(--warn-soft); color: var(--warn); border-radius: 16px; font-size: 14px; }
.znacka { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--sunken); color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .06em; vertical-align: 1px; }
.br { margin-left: 4px; font-weight: 400; opacity: .7; font-variant-numeric: tabular-nums; }
.st.vazno { background: var(--warn-soft); color: var(--warn); } .st.odgovor { background: var(--gold-soft); color: var(--gold-ink); }
.st.info { background: var(--ok-soft); color: var(--ok); } .st.preskoci { background: var(--sunken); color: var(--muted); }
.mail { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; width: 100%; padding: 14px 16px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); }
.mail:first-child { border-top: 0; }
.mail .mt { display: grid; gap: 2px; min-width: 0; }
.mail .mg { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mail .mg b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mail .mn { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .ms { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mail .mp { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.mail .mp svg.ik { width: 14px; height: 14px; }
.mail.preskoci .mg b, .mail.preskoci .mn { color: var(--muted); font-weight: 400; }
.iz .n, .iz .s, .rok .n, .rok .s { overflow-wrap: anywhere; }
.rok { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 16px; text-align: left; background: none; border: 0; border-top: 1px solid var(--line); }
.rok:first-child { border-top: 0; }
.rok .n { display: block; font-weight: 600; font-size: 14px; } .rok .s { display: block; font-size: 12px; color: var(--muted); }
.rok .rd { text-align: right; flex: none; } .rok .rd b { font-variant-numeric: tabular-nums; }
.rok.kasni .rd .s { color: var(--err); font-weight: 600; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.rok.kasni svg.ik { width: 14px; height: 14px; }
.ucitaj { margin-top: 16px; } .ucitaj .btn { margin-top: 0; cursor: pointer; background: var(--surface); } .ucitaj p { margin-top: 8px; }
.ucitaj input:focus-visible + p, .ucitaj:focus-within .btn { outline: 2px solid var(--gold-ink); outline-offset: 2px; }
.tab-okvir { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.por.ceka { color: var(--muted); font-style: italic; }
.tekst-gumb { min-height: 44px; padding: 8px 16px; border: 0; background: none; color: var(--gold-ink); font-weight: 600; font-size: 14px; }
.vrti svg.ik { animation: vrti 0.8s linear infinite; }
.kostur { display: grid; gap: 16px; margin-top: 16px; }
.kostur i { display: block; height: 16px; border-radius: 12px; background: var(--sunken); }
.btn.glavni { background: var(--ink); color: var(--bg); border-color: var(--ink); }
body.prijava main { max-width: 400px; min-height: 100dvh; padding: calc(64px + env(safe-area-inset-top)) 24px 32px; }
body.prijava h1 { margin-top: 20px; }
body.prijava form { margin-top: 32px; display: grid; gap: 8px; }
body.prijava label { font-size: 14px; font-weight: 600; }
body.prijava input { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: inherit; }
body.prijava .greska { min-height: 20px; font-size: 14px; color: var(--err); }
