/* Kuhinja solidarnosti Novi Sad – stranica za volontere
   Boja sajta je crvena sa znaka Kuhinje (uz crnu i belu) na toplom papiru. Zeleno = dovoljno, žuto = fali, crveno = niko / otkazano.
   Font: Rubik za sve (tekst, naslovi, dugmad, tabela). Fontovi su u /static/fonts (SIL Open Font License 1.1), bez spoljnih servisa. */

@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/golos-text-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/static/fonts/golos-text-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/pt-serif-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/pt-serif-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/pt-serif-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "PT Serif"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/pt-serif-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Rubik: ceo sajt. "Rubik Naslov" je isti font za naslove: gde stil traži običnu debljinu (400) daje poludebelu (600),
   a gde traži debelu (700) daje 800, pa naslovi ostaju naslovi bez menjanja svakog pravila. */
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/static/fonts/rubik-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Rubik Naslov"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/rubik-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Rubik Naslov"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/rubik-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/static/fonts/rubik-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Rubik Naslov"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/rubik-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Rubik Naslov"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/rubik-latin-ext-800-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/static/fonts/rubik-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rubik Naslov"; font-style: normal; font-weight: 400; font-display: swap; src: url(/static/fonts/rubik-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Rubik Naslov"; font-style: normal; font-weight: 700; font-display: swap; src: url(/static/fonts/rubik-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --paper: #F7F1E8;        /* topla bela (13.11: "a bit warmer white"); bilo #F0EEEA */
  --surface: #FFFCF7;      /* kartice i polja, za nijansu svetlije od podloge; bilo #FBFAF8 */
  --ink: #1C1A18;
  --muted: #5E5952;
  --line: #DDD9D2;
  --line-strong: #B9B3AA;
  --brand: #C9202A;        /* crvena sa znaka: dugmad, fokus, izbor */
  --brand-dark: #A3181F;   /* linkovi, hover */
  --brand-deep: #A51D24;   /* traka menija, prijava */
  --brand-soft: #F4EAE7;   /* blag hover */
  --green: #1F6B45;        /* zelena je samo status: dovoljno, u redu, moje */
  --green-dark: #17543A;
  --green-deep: #173A2A;
  --green-soft: #E3EEE5;
  --yellow: #F2C230;
  --yellow-soft: #FBF1CF;
  --yellow-ink: #6B4E00;
  --red: #A8261F;
  --red-soft: #F7E6E3;
  --head: "Rubik Naslov", "Rubik", "Segoe UI", system-ui, sans-serif;
  --body: "Rubik", "Segoe UI", system-ui, sans-serif;
  --r-s: 2px;
  --r-m: 3px;
  --sidebar: 236px;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: 30px; font-weight: 400; letter-spacing: -.01em; }
h2 { font-size: 21px; font-weight: 400; margin-top: 1.7em; }
h3, h4 { font-family: var(--body); font-weight: 600; letter-spacing: 0; }
h3 { font-size: 15.5px; }
h4 { font-size: 15px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: .3em; }
a { color: var(--brand-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; }
table { border-collapse: collapse; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5em 0; }
blockquote { margin: 1em 0; padding: 0 0 0 1.4em; color: var(--muted); font-style: italic; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--brand); color: #fff; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.ok { color: var(--green-dark); }
.warn { color: var(--yellow-ink); }
.danger { color: var(--red); }
.inline { display: inline; }
ul.plain { list-style: none; padding: 0; margin: 0 0 .5em; }
ul.plain li { margin-bottom: .5em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Okvir: meni levo, sadržaj desno ---------- */
.sidebar { background: var(--brand-deep); color: #fff; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.brand { color: #fff; text-decoration: none; display: block; line-height: 1.1; }
.brand:hover { color: #fff; }
.brand-name { display: block; font-family: var(--head); font-weight: 400; font-size: 20px; letter-spacing: -.005em; line-height: 1.15; }
.brand-sub { display: block; font-size: 12.5px; color: rgba(255,255,255,.85); margin-top: 3px; }
/* Znak Kuhinje kao bela nalepnica. Na telefonu mali uz ime, na širokom ekranu veliki bez teksta (ime je u znaku). */
.brand { display: flex; align-items: center; gap: 11px; }
/* Slika je već okrugla nalepnica sa celim znakom unutra (public/img/logo-ksns-krug.png), pa ovde nema ni isecanja ni razmaka. */
.brand-logo { flex: 0 0 auto; width: 46px; height: 46px; padding: 0; border-radius: 50%; background: #fff; object-fit: contain; }
@media (min-width: 900px) {
  .sidebar .sidebar-top { justify-content: center; }
  .sidebar .brand { display: block; }
  .sidebar .brand-logo { display: block; width: 160px; height: 160px; margin: 0 auto; box-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
  .sidebar .brand-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.navtoggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.navbtn { font-size: 14px; font-weight: 500; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: var(--r-s); padding: 7px 14px; cursor: pointer; user-select: none; }
.navtoggle:focus-visible ~ .sidebar-top .navbtn { outline: 3px solid #fff; outline-offset: 2px; }
.navtoggle:checked ~ .sidebar-top .navbtn { background: #fff; color: var(--brand-deep); border-color: #fff; }
.nav { display: none; padding: 4px 10px 16px; border-top: 1px solid rgba(255,255,255,.14); }
.navtoggle:checked ~ .nav { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav-group { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 20px 0 6px; padding: 0 12px; }
.nav a { display: block; padding: 6px 12px; border-radius: var(--r-s); color: rgba(255,255,255,.9); text-decoration: none; font-size: 14.5px; border-left: 2px solid transparent; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a.on { background: rgba(255,255,255,.16); color: #fff; font-weight: 500; border-left-color: #fff; }
.nav a:focus-visible, .brand:focus-visible, .nav .linklike:focus-visible { outline-color: #fff; }
.nav-user { position: relative; margin-top: 18px; padding: 26px 12px 0; font-size: 13px; }
/* Linija iznad imena: ivica kockastog stolnjaka (dve trake belih kockica preko crvene). */
.nav-user::before {
  content: ""; position: absolute; left: -10px; right: -10px; top: 0; height: 12px;
  background-image: linear-gradient(90deg, rgba(255,255,255,.5) 50%, transparent 50%), linear-gradient(rgba(255,255,255,.5) 50%, transparent 50%);
  background-size: 12px 12px;
}
@media (min-width: 900px) { .nav-user::before { left: -12px; right: -12px; } }
/* Ista ivica stolnjaka i na granici crvenog i papira: dole na telefonu, desno na širokom ekranu.
   Punije kockice su ka crvenom, "zupci" ka papiru. Crtež je pozadina, pa stoji i kad se meni skroluje. */
.sidebar, .login-poster {
  background-image: linear-gradient(90deg, rgba(255,255,255,.5) 50%, transparent 50%), linear-gradient(rgba(255,255,255,.5) 50%, transparent 50%);
  background-size: 12px 12px; background-repeat: repeat-x; background-position: left bottom;
}
.sidebar { padding-bottom: 12px; }
@media (min-width: 900px) {
  .sidebar, .login-poster { background-repeat: repeat-y; background-position: right top; }
  .sidebar { padding-bottom: 0; padding-right: 12px; }
}
.nav-user-name { display: block; font-weight: 600; font-size: 14px; color: #fff; }
.nav-user-role { display: block; color: rgba(255,255,255,.78); margin-bottom: 8px; }
.nav-user-links { display: flex; gap: 16px; align-items: center; }
.nav .nav-user-links a { display: inline; padding: 0; border: 0; color: rgba(255,255,255,.85); text-decoration: underline; font-size: 13px; }
.nav .nav-user-links a:hover { background: none; }
.nav .linklike { color: rgba(255,255,255,.85); font-size: 13px; }

.main { min-width: 0; }
.main-in { max-width: 1120px; padding: 22px 16px 48px; margin: 0 auto; }
.sitefoot { font-size: 12.5px; color: var(--muted); margin: 40px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.sitefoot p { margin: 0; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
  .sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
  .sidebar-top { padding: 24px 22px 18px; }
  .brand-name { font-size: 22px; }
  .navbtn, .navtoggle { display: none; }
  .nav { display: flex; flex-direction: column; flex: 1; border-top: 0; padding: 0 12px 20px; }
  .nav-user { margin-top: auto; }
  .main-in { padding: 34px 44px 56px; }
}

/* Stranice bez menija (greška bez prijave) */
.plainpage .main-in { max-width: 640px; padding-top: 12vh; }

/* ---------- Zaglavlje stranice ---------- */
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pagehead h1 { margin: 0; }
.pagehead-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagemeta { margin-top: 2em; padding-top: .8em; border-top: 1px solid var(--line); }
.lead { max-width: 68ch; }

/* ---------- Dve kolone (početna, profil) ---------- */
.cols { display: grid; gap: 24px; align-items: start; }
.cols .content { min-width: 0; }
@media (min-width: 1080px) { .cols { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; } }

.sidebox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; margin-bottom: 14px; }
.sidebox h3 { margin: 0 0 .6em; }
.sidebox p:last-child { margin-bottom: 0; }
.sidebox-mine { background: var(--green-soft); border-color: #C3D9C9; }
.sidenews { padding: 10px 0; border-top: 1px solid var(--line); }
.sidenews:first-of-type { border-top: 0; padding-top: 0; }
table.mini { width: 100%; margin-bottom: 10px; }
table.mini td { padding: 8px 6px 8px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; }
table.mini tr:first-child td { border-top: 0; padding-top: 0; }
.tag { display: inline-block; font-size: 12px; line-height: 1.5; padding: 0 8px; border-radius: 2px; background: var(--yellow-soft); color: var(--yellow-ink); font-weight: 600; white-space: nowrap; vertical-align: middle; }

/* ---------- Poruke ---------- */
.flash { padding: 10px 14px; margin: 0 0 18px; border-radius: var(--r-s); border: 1px solid; font-size: 14px; font-weight: 500; }
.flash-ok { background: var(--green-soft); border-color: #9CC7AC; color: #12402A; }
.flash-err { background: var(--red-soft); border-color: #E5A39D; color: #7A1710; }

/* ---------- Tabele ---------- */
.tablewrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); margin-bottom: 14px; }
table.list { width: 100%; font-size: 14.5px; }
table.list th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 9px 14px; border-bottom: 1px solid var(--line); background: #F6F4F0; white-space: nowrap; }
table.list td { padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tbody tr:last-child td, table.list tbody tr:last-child th { border-bottom: 0; }
table.list tr.mine td { background: var(--green-soft); }
table.list tr.inactive td { color: #8F8981; }
table.list td.actions { white-space: nowrap; }
table.list td.actions form { margin-right: 6px; }
.editpanel { min-width: 260px; padding: 8px 0; white-space: normal; }
.editpanel form { margin-bottom: 12px; }
.rowlinks { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; }

/* ---------- Forme ---------- */
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; margin: 0 0 18px; }
.box h3 { margin-top: 0; }
details.box > summary { cursor: pointer; font-weight: 700; color: var(--brand-dark); }
details.box[open] > summary { margin-bottom: 14px; }
label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); }
label input, label select, label textarea { display: block; margin-top: 4px; font-weight: 400; }
input[type=text], input[type=password], input[type=date], input[type=time], input[type=number], select, textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
  padding: 7px 10px; width: 100%; max-width: 440px; min-height: 38px;
}
textarea { max-width: 680px; min-height: 120px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
input:disabled { background: #ECE9E3; color: var(--muted); }
input.short { width: 84px; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px 18px; align-items: end; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid.compact { grid-template-columns: 1fr; gap: 8px; }
.form-stack label { margin-bottom: 14px; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; }
label.check input { margin: 0; display: inline; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1.3;
  padding: 7px 13px; min-height: 34px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  border-radius: var(--r-s); cursor: pointer; text-decoration: none;
}
.btn:hover { border-color: var(--ink); color: var(--ink); }
.btn-main { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-main:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-small { padding: 3px 10px; min-height: 28px; font-size: 13px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-dark); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.linklike:hover { color: var(--ink); }
.linklike.danger { color: var(--red); }
.inline-details { display: inline; }
.inline-details summary { display: inline; list-style: none; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details[open] summary { font-weight: 700; }
.inline-details form { margin-top: 10px; }

/* ---------- Obaveštenja ---------- */
article.news { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; margin-bottom: 14px; max-width: 780px; }
article.news h2 { margin: 0 0 .2em; font-size: 20px; }
article.news.pinned { border-color: var(--yellow); }
.newsmeta { margin-bottom: 10px; }
.newsbody { max-width: 68ch; }
.newstools { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; }
.newstools .inline-details[open] { flex-basis: 100%; }

/* ---------- Prijava ---------- */
body.loginpage { background: var(--brand-deep); }
.login { display: grid; min-height: 100vh; }
.login-poster { padding: 32px 24px 28px; color: #fff; display: flex; flex-direction: column; gap: 28px; justify-content: space-between; }
.slogan { font-family: var(--head); font-weight: 700; font-size: clamp(38px, 10vw, 84px); line-height: 1; letter-spacing: -.02em; color: #fff; margin: 0; }
.slogan span { display: block; }
.login-logo { width: 132px; height: 132px; box-shadow: 0 2px 0 rgba(0, 0, 0, .22); }
@media (min-width: 900px) { .login-logo { width: 190px; height: 190px; } }
.login-form { background: var(--paper); padding: 32px 24px 40px; display: flex; flex-direction: column; justify-content: center; }
.loginbox { width: 100%; max-width: 380px; margin: 0 auto; }
.loginbox h1 { font-size: 26px; margin-bottom: .8em; }
.loginform p { margin-bottom: 16px; }
.loginform input { max-width: none; min-height: 42px; }
.loginbtn .btn { width: 100%; min-height: 42px; font-size: 14.5px; }
.loginnote { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
@media (min-width: 900px) {
  .login { grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr); }
  .login-poster { padding: 48px 56px; }
  .slogan { font-size: clamp(48px, 6.6vw, 104px); }
  .login-form { padding: 48px; }
}

/* ---------- Sadržaj stranice (blokovi) ---------- */
.sheet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px 20px 14px; }
@media (min-width: 900px) { .sheet { padding: 30px 36px 20px; } }
#blokovi { max-width: 72ch; }
#blokovi > .blk:first-child, #blokovi > .blk-wrap:first-child .blk { margin-top: 0; }
.blk-text { font-size: 16px; line-height: 1.65; }
.blk-text li { margin-bottom: .4em; }
.blk-text img { margin: 4px 0; border-radius: var(--r-s); }
.blk-text img.fl-left { float: left; margin: 4px 18px 8px 0; max-width: 45%; }
.blk-text img.fl-right { float: right; margin: 4px 0 8px 18px; max-width: 45%; }
.blk-text img.sz-small { max-width: 260px; }
.blk-text::after { content: ""; display: block; clear: both; }
h2.blk-heading { margin-top: 1.5em; }
figure.blk-image { margin: 1.4em 0; }
figure.blk-image img { display: block; border-radius: var(--r-s); }
figure.blk-image figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
body:not(.editing) figure.blk-image figcaption:empty { display: none; }

/* Režim uređivanja */
body.editing { padding-bottom: 150px; }
body.editing .pagehead-tools { display: none; }
body.editing #naslov { outline: 2px dashed var(--line-strong); outline-offset: 4px; border-radius: 3px; }
body.editing .pagemeta, body.editing #prazno { display: none; }
.blk-wrap { position: relative; border: 1px dashed var(--line-strong); border-radius: var(--r-s); padding: 8px 12px; margin: 8px 0; background: #FDFCFA; }
.blk-wrap:focus-within { border-color: var(--brand); border-style: solid; background: #fff; }
.blk-wrap .blk { outline: none; min-height: 1.4em; margin-top: 0; }
.blk-wrap h2.blk { margin-top: 0; }
.blk-tools { display: flex; gap: 6px; justify-content: flex-end; margin-bottom: 6px; font-size: 13px; }
.blk-tools span { color: var(--muted); margin-right: auto; }
.blk-tools button { font: inherit; font-size: 13px; padding: 2px 9px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; border-radius: var(--r-s); color: var(--ink); }
.blk-tools button:hover { border-color: var(--ink); }
body.editing figure.blk-image figcaption { border: 1px dashed var(--line-strong); border-radius: 3px; min-height: 1.6em; padding: 2px 8px; display: block; }
body.editing figure.blk-image figcaption:empty::before { content: "Opis slike (opciono)"; color: #A39D94; }
body.editing .blk-text img { cursor: pointer; }
body.editing .blk-text img.sel { outline: 3px solid var(--brand); outline-offset: 2px; }

#editbar { position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 2px solid var(--brand); z-index: 50; box-shadow: 0 -6px 24px rgba(23, 32, 27, .12); }
@media (min-width: 900px) { #editbar { left: var(--sidebar); } }
.editbar-in { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.editbar-group { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.editbar-group button:not(.btn) { font: inherit; font-size: 14px; padding: 5px 11px; min-width: 34px; min-height: 34px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer; border-radius: var(--r-s); }
.editbar-group button:not(.btn):hover { border-color: var(--ink); }
.editbar-save { margin-left: auto; }
#editbar.saving { opacity: .6; pointer-events: none; }

/* ---------- Logistika ---------- */
.syncline { max-width: 76ch; margin-bottom: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 34px 0 14px; }
.section-head h2 { margin: 0; }
.monthpick { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 13px; }
.monthpick select { margin: 0; width: auto; min-width: 190px; font-weight: 400; }

.daygrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; align-items: start; }
.day { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 15px 17px 6px; scroll-margin-top: 16px; }
.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.day-date { margin: 0; font-family: var(--head); font-size: 21px; font-weight: 400; letter-spacing: 0; }
.day-date::first-letter { text-transform: uppercase; }
.day-rel { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.day.is-today { border-color: var(--brand); box-shadow: inset 0 3px 0 var(--brand); }
.day.is-today .day-rel { color: var(--brand-dark); font-weight: 600; }
.day-off-note { color: var(--red); font-weight: 600; margin: 0 0 8px; }
.dish { font-size: 16.5px; line-height: 1.35; margin: 0; }
.dish::first-letter { text-transform: uppercase; }
.dish-sides { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
.day-call { font-size: 13.5px; margin: 10px 0 0; }
.day-remark { font-size: 13.5px; color: var(--yellow-ink); margin: 0 0 8px; }
.day-body { margin-top: 14px; }

.sec { border-top: 1px solid var(--line); padding: 11px 0 10px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sec-title { margin: 0; font-family: var(--body); font-size: 14.5px; font-weight: 600; letter-spacing: 0; }
.sec-meta { font-size: 12.5px; color: var(--muted); margin: 1px 0 0; }

/* Mesta za stolom: popunjena zelena, prazna žuta, sva prazna crvena */
.fill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.pips { display: inline-flex; gap: 3px; }
.pip { width: 9px; height: 14px; border-radius: 1px; border: 1.5px solid var(--yellow); background: var(--yellow-soft); }
.pip.on { background: var(--green); border-color: var(--green); }
.fill-ok { color: var(--green-dark); }
.fill-low { color: var(--yellow-ink); }
.fill-none { color: var(--red); }
.fill-none .pip { border-color: var(--red); background: var(--red-soft); }
.count { display: inline-block; min-width: 26px; text-align: center; font-size: 12.5px; font-weight: 600; padding: 1px 9px; border-radius: 2px; background: #ECE9E3; color: var(--ink); white-space: nowrap; }
.count-none { background: var(--red-soft); color: var(--red); }

ul.people { list-style: none; margin: 7px 0 0; padding: 0; }
ul.people li { margin: 0; padding: 2px 0; line-height: 1.45; font-size: 14.5px; }
ul.people li.p-off .p-name { text-decoration: line-through; color: #8F8981; }
ul.people li.p-mine { background: var(--green-soft); margin: 0 -8px; padding: 2px 8px; border-radius: 2px; }
ul.people li.p-mine .p-name { font-weight: 600; }
.p-tag { font-size: 12px; padding: 0 7px; border-radius: 2px; background: #ECE9E3; color: var(--ink); white-space: nowrap; }
.p-note { font-size: 13px; color: var(--muted); }
.sec-note { font-size: 13.5px; margin: 8px 0 0; padding: 7px 10px; background: var(--yellow-soft); border-radius: var(--r-s); color: #4A3600; }
.day.is-off { background: #F6F4F0; }
.day.is-off .day-date { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.day.is-off .dish, .day.is-off .sec { opacity: .6; }
.day-other { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin: 0; padding: 10px 0; }
.day-other div { display: flex; justify-content: space-between; gap: 8px; }
.day-other dd { margin: 0; color: var(--ink); }

/* Sažeti redovi (svi termini u mesecu) */
.dayrows { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
details.dayrow { border-top: 1px solid var(--line); scroll-margin-top: 16px; }
details.dayrow:first-child { border-top: 0; }
details.dayrow > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; }
details.dayrow > summary::-webkit-details-marker { display: none; }
details.dayrow > summary:hover { background: #F6F4F0; }
details.dayrow > summary:focus-visible { outline-offset: -3px; }
.dayrow-date { font-family: var(--head); font-weight: 400; font-size: 17px; }
.dayrow-date::first-letter { text-transform: uppercase; }
.dayrow-dish { grid-column: 1; font-size: 14px; color: var(--muted); }
.dayrow-status { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
.dayrow.is-off .dayrow-date { color: var(--muted); text-decoration: line-through; }
.dayrow.is-today > summary, .dayrow.is-today > summary:hover { background: var(--green-soft); }
.dayrow[open] > summary { background: #F6F4F0; border-bottom: 1px solid var(--line); }
.dayrow-body { padding: 14px 16px 4px; max-width: 560px; }
.dayrow-body .sec:first-of-type { border-top: 0; padding-top: 0; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 1px 8px; border-radius: 2px; white-space: nowrap; background: #ECE9E3; color: var(--ink); }
.chip-ok { background: var(--green-soft); color: #12402A; }
.chip-low { background: var(--yellow-soft); color: var(--yellow-ink); }
.chip-off { background: var(--red-soft); color: var(--red); }
@media (min-width: 700px) {
  details.dayrow > summary { grid-template-columns: 190px minmax(0, 1fr) auto; }
  .dayrow-dish { grid-column: 2; }
  .dayrow-status { grid-column: 3; grid-row: 1; }
}

/* Mesec: brojke i mreža popunjenosti */
.monthnums { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 14px; color: var(--muted); }
.monthnums b { font-family: var(--head); font-size: 26px; font-weight: 400; color: var(--ink); margin-right: 4px; }
table.fillgrid { width: 100%; font-size: 14px; }
table.fillgrid th, table.fillgrid td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
table.fillgrid thead th { font-weight: 500; font-size: 12.5px; line-height: 1.25; background: #F6F4F0; color: var(--ink); white-space: nowrap; }
table.fillgrid thead th a { color: inherit; text-decoration: none; display: block; }
table.fillgrid thead th a:hover { text-decoration: underline; }
table.fillgrid thead th.col-today { background: var(--brand); color: #fff; }
table.fillgrid thead th.col-off { color: #8F8981; text-decoration: line-through; }
table.fillgrid th:first-child { text-align: left; border-left: 0; position: sticky; left: 0; background: var(--surface); z-index: 1; white-space: nowrap; font-weight: 600; padding-left: 14px; }
table.fillgrid thead th:first-child { background: #F6F4F0; }
table.fillgrid tbody tr:last-child th, table.fillgrid tbody tr:last-child td { border-bottom: 0; }
table.fillgrid td { min-width: 52px; font-weight: 600; }
table.fillgrid td.cell-ok { background: var(--green-soft); color: #12402A; }
table.fillgrid td.cell-low { background: var(--yellow-soft); color: var(--yellow-ink); }
table.fillgrid td.cell-none { background: var(--red-soft); color: var(--red); }
table.fillgrid td.cell-off { background: #EFECE7; color: #A39D94; font-weight: 400; }
table.fillgrid tr.row-menu td { font-size: 13px; line-height: 1.3; font-weight: 400; color: var(--muted); vertical-align: top; white-space: normal; }
@media (max-width: 699px) {
  table.fillgrid th:first-child { white-space: normal; min-width: 104px; max-width: 128px; padding-left: 10px; }
  table.fillgrid td { min-width: 46px; }
}
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 1px; display: inline-block; border: 1px solid rgba(23, 32, 27, .12); }
.legend .l-ok { background: var(--green-soft); }
.legend .l-low { background: var(--yellow-soft); }
.legend .l-none { background: var(--red-soft); }

/* Početna: sledeći termin */
.nextday { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 20px; margin-bottom: 20px; }
.nextday-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.nextday-head h2 { margin: 0; font-size: 24px; }
.nextday-head h2::first-letter { text-transform: uppercase; }
.nextday .dish { margin-top: 6px; }
.nextday-rows { list-style: none; margin: 14px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 28px; }
.nextday-rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); }
.nextday p:last-child { margin-bottom: 0; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .nav a { transition: background-color .12s, border-color .12s; }
}
@media print {
  .sidebar, #editbar, .pagehead-tools { display: none; }
  .shell { display: block; }
}

/* ---------- Pitanja i odgovori ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.faq-search { display: flex; gap: 8px; margin: 4px 0 16px; max-width: 720px; }
.faq-search input[type=search] { flex: 1 1 auto; min-width: 0; max-width: none; font: inherit; font-size: 16px; padding: 9px 13px; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface); color: var(--ink); }
.faq-search input[type=search]:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.faq-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.faq-topics a { text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 3px 10px; font-size: 13.5px; }
.faq-topics a:hover { border-color: var(--brand); }
.faq-topics a.on { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.faq-topics .n { color: var(--muted); font-size: 12px; margin-left: 2px; }
.faq-topics a.on .n { color: #CFE3D6; }
.faq-status { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; }
.faq-status a.on { font-weight: 700; color: var(--ink); text-decoration: none; }
.qalist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); max-width: 860px; }
.qa + .qa { border-top: 1px solid var(--line); }
.qa > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 18px; cursor: pointer; list-style: none; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary:hover .qa-q { color: var(--brand-dark); }
.qa > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -3px; border-radius: var(--r-m); }
.qa-q { font-family: var(--head); font-size: 17px; font-weight: 400; line-height: 1.35; }
.qa[open] > summary .qa-q { color: var(--brand-dark); }
.qa-tags { display: flex; gap: 6px; flex: 0 0 auto; }
.qa-tags .chip { font-size: 12px; }
.qa-body { padding: 0 18px 16px; max-width: 72ch; }
.qa-a { font-size: 15.5px; line-height: 1.6; }
.qa-quote { margin: 12px 0 6px; padding: 2px 0 2px 14px; border-left: 2px solid var(--line-strong); background: none; border-radius: 0; font-family: var(--head); font-style: normal; color: var(--ink); font-size: 15px; }
.qa-meta { margin: 6px 0 0; }
.qa-tools { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.qa-edit[open] { flex: 1 1 100%; order: 5; }
.qa-edit textarea, .qa-edit input[type=text] { max-width: none; width: 100%; }
@media (max-width: 600px) { .faq-search { flex-direction: column; } }

/* ---------- Pozivanje ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.kpi b { display: block; font-family: var(--head); font-size: 30px; font-weight: 400; line-height: 1.1; color: var(--ink); margin-bottom: 2px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 14px; align-items: start; }
table.list th.num, table.list td.num { text-align: right; white-space: nowrap; }
table.calls td { white-space: nowrap; }
table.calls td:first-child, table.calls td:last-child { white-space: normal; }
table.calls td:first-child { min-width: 190px; }
.calllog { margin: 6px 0 4px; padding: 0; }
.calllog li { padding: 2px 0; white-space: normal; }
.faq-search.compact { margin: 0; }
.faq-search.compact input { min-width: 0; width: 180px; }

/* ---------- Logistika: tabela kao u Google tabeli ---------- */

.fbar { display: flex; align-items: center; gap: 0; border: 1px solid #C7C7C7; border-bottom: 0; background: #fff; font-family: var(--body); font-size: 13px; }
.fbar-ref { min-width: 64px; padding: 5px 8px; border-right: 1px solid #C7C7C7; color: #3C4043; text-align: center; }
.fbar-fx { padding: 0 8px; color: #80868B; font-style: italic; border-right: 1px solid #E0E0E0; }
.fbar-val { flex: 1; border: 0 !important; outline: 0 !important; min-height: 0 !important; max-width: none !important; padding: 5px 8px !important; font: inherit !important; font-size: 13px !important; background: transparent !important; }
.fbar-val:disabled { color: #3C4043; }
.fbar-state { padding: 0 10px; color: #5F6368; font-size: 12px; white-space: nowrap; max-width: 40%; overflow: hidden; text-overflow: ellipsis; }

.sh-wrap { position: relative; overflow: auto; border: 1px solid #C7C7C7; background: #fff; outline: none; }
.sh-editor { position: absolute; z-index: 5; margin: 0; padding: 2px 4px; border: 2px solid #7A1420; box-shadow: 0 2px 6px rgba(0,0,0,.25); font-family: var(--body); font-size: 13px; line-height: 17px; resize: none; background: #fff; color: #000; outline: none; max-width: 360px; overflow: hidden; border-radius: 0; }

.nav-archive { margin-top: 8px; }
.nav-archive > summary { cursor: pointer; list-style: none; user-select: none; }
.nav-archive > summary::-webkit-details-marker { display: none; }
.nav-archive > summary::after { content: "  +"; }
.nav-archive[open] > summary::after { content: "  –"; }
.nav-archive > summary:hover { color: rgba(255,255,255,.85); }
.nav-archive a { font-size: 13.5px; padding: 5px 12px; color: rgba(255,255,255,.8); }

/* ---------- Pitanja: sažeto ---------- */
.fq-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 6px; }
.fq-bar input[type=search] { flex: 1 1 320px; min-width: 0; font: inherit; font-size: 15px; padding: 7px 11px; min-height: 38px; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: #fff; color: var(--ink); }
.fq-bar input[type=search]:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.fq-sel select { width: auto; max-width: 260px; margin: 0; font-size: 14px; min-height: 38px; }
.fq-note { margin: 0 0 14px; }
.fq-new { max-width: 760px; }
.fq-new:not([open]) { display: none; }
.fq-count { margin: 4px 0 8px; }
.qalist { max-width: none; margin-bottom: 14px; overflow: hidden; }
.fq-group { padding: 6px 14px; background: #F3F1EC; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fq-group span { font-weight: 400; margin-left: 4px; }
.qa > summary { display: grid; grid-template-columns: minmax(220px, 2fr) minmax(0, 3fr) 132px; align-items: baseline; gap: 4px 18px; padding: 8px 14px; }
.qa-tags { justify-content: flex-end; }
.qa > summary:hover { background: #F8F7F4; }
.qa-q { font-size: 15.5px; }
.qa-prev { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qa[open] > summary { background: #F8F7F4; }
.qa[open] .qa-prev { visibility: hidden; }
.qa-body { padding: 4px 14px 14px; max-width: 76ch; }
@media (max-width: 760px) {
  .qa > summary { grid-template-columns: minmax(0, 1fr) auto; }
  .qa-prev { grid-column: 1 / -1; grid-row: 2; }
  .qa-tags { grid-row: 1; grid-column: 2; }
}

/* ---------- Volonteri: spisak kao u tabeli ---------- */
.gl-wrap { max-height: calc(100vh - 250px); overflow: auto; }
table.gl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
table.gl th, table.gl td { border-right: 1px solid #E6E3DD; border-bottom: 1px solid #E6E3DD; padding: 5px 10px; text-align: left; white-space: nowrap; }
table.gl th:last-child, table.gl td:last-child { border-right: 0; }
table.gl thead th { position: sticky; top: 0; z-index: 1; background: #F6F4F0; font-weight: 500; font-size: 12.5px; color: var(--muted); cursor: pointer; user-select: none; border-bottom-color: var(--line-strong); }
table.gl thead th:hover { color: var(--ink); }
table.gl thead th.asc::after { content: " \25B2"; font-size: 9px; }
table.gl thead th.desc::after { content: " \25BC"; font-size: 9px; }
table.gl .num { text-align: right; font-variant-numeric: tabular-nums; }
table.gl td.zero { background: #FBFAF7; }
table.gl tbody tr:hover td { background: #F6F1EE; }
table.gl td:first-child { white-space: normal; min-width: 200px; }
.gl-acc { font-size: 11.5px; color: var(--brand-dark); border: 1px solid var(--line-strong); border-radius: 2px; padding: 0 5px; margin-left: 4px; }
.gl-accounts { margin-top: 18px; }
.gl-accounts > summary { font-weight: 600; }
.gl-accounts .tablewrap { margin-bottom: 0; }


/* ---------- Logistika: sažeta tabela u bojama Google tabele, staje na jedan ekran ---------- */
.main-in:has(.lx) { max-width: none; padding: 16px 24px 14px; }
.main-in:has(.lx) .sitefoot { display: none; }
.lx { height: calc(100vh - 30px); display: flex; flex-direction: column; gap: 8px; min-height: 480px; }
.lx-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lx-head h1 { margin: 0; font-size: 26px; }
.lx-month select { width: auto; min-height: 32px; padding: 3px 8px; font-size: 14.5px; font-family: var(--head); }
.lx-sync { font-size: 12.5px; color: var(--muted); }
.lx-tools { margin-left: auto; display: flex; gap: 6px; }
.sheet-pending { font-weight: 600; color: var(--yellow-ink); }

.lx-next { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; font-size: 13px; position: relative; }
.lx-next > * { padding: 6px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.lx-next > *:last-child { border-right: 0; }
.lx-kick { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lx-next-day .lx-kick { color: var(--brand-dark); }
.lx-next-day b { font-family: var(--head); font-weight: 400; font-size: 18px; white-space: nowrap; }
.lx-next-menu b { font-weight: 600; font-size: 14px; }
.lx-next-menu .muted { font-size: 12px; }
.lx-next-duty { flex: 1; }
.lx-next-duty div { display: flex; flex-wrap: wrap; gap: 2px 16px; }
.lx-next-duty span { font-weight: 600; white-space: nowrap; }
.lx-next-duty i { font-style: normal; font-weight: 400; color: var(--muted); }
.lx-callers > summary { cursor: pointer; font-weight: 600; color: var(--brand-dark); white-space: nowrap; list-style: none; }
.lx-callers > summary::-webkit-details-marker { display: none; }
.lx-callers > summary::after { content: " \25BE"; font-size: 10px; }
.lx-callers ul { position: absolute; right: 0; top: 100%; z-index: 9; margin: 4px 0 0; padding: 10px 14px; list-style: none; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.12); width: min(440px, 90vw); }
.lx-callers li { margin: 0 0 5px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.lx-callers li b { color: var(--ink); margin-right: 4px; }

.lx-wrap { flex: 1; min-height: 0; }
table.lx-t { width: 100%; height: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-family: var(--body); font-size: 12.5px; line-height: 16px; color: #1A1A1A; }
table.lx-t col.lab { width: 150px; }
table.lx-t th, table.lx-t td { border-right: 1px solid #EADFDA; border-bottom: 1px solid #EADFDA; padding: 0 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
table.lx-t thead th { position: sticky; top: 0; z-index: 2; background: #F6EDE8; color: #5C1A1B; height: 36px; text-align: center; line-height: 1.15; border-bottom-color: #E3CFC6; }
table.lx-t thead th.alt { background: #F1E4DE; }
table.lx-t thead th.off { background: #FBEDE1; color: #9A6A44; }
table.lx-t thead th.off .dt { text-decoration: line-through; }
table.lx-t thead th.next { background: #F7DCD3; color: #7A1420; box-shadow: inset 0 3px 0 #C9202A; }
table.lx-t thead th.past { color: #A3928C; }
table.lx-t thead th.blank { background: #FBFAF8; }
table.lx-t thead .wd { display: block; font-size: 10px; letter-spacing: .06em; font-weight: 600; text-transform: uppercase; opacity: .8; }
table.lx-t thead .dt { display: block; font-size: 14px; font-weight: 700; }
table.lx-t tr.sec th { background: #F6EDE8; color: #5C1A1B; height: 22px; font-weight: 700; text-align: left; font-size: 12px; border-top: 1px solid #E3CFC6; }
table.lx-t tr.sec th small { font-weight: 400; margin-left: 6px; color: #8A6A62; }
table.lx-t tr.sec td { background: #FBFAF8; text-align: center; border-top: 1px solid #E3CFC6; }
table.lx-t tbody th.blank { background: #FBFAF8; }
table.lx-t td.c { background: #FBF6F3; height: 21px; cursor: cell; }
table.lx-t td.c.alt { background: #F7EEEA; }   /* svaka druga kolona: topla nijansa (ranije plavkasta) */
table.lx-t td.c.off { background: #F6F4F2; color: #A5A09A; }
table.lx-t td.c.past { color: #75655F; }
table.lx-t td.c.full { cursor: default; }
table.lx-t td.c.next { background: #FBEDE7; }
table.lx-t td.c.ed:not(.past):not(.off) .v:empty::before { content: "+"; color: #C9B8B2; }
table.lx-t td.c .n { font-size: 10.5px; color: #8E7B75; margin-left: 4px; }
table.lx-t td.sel { box-shadow: inset 0 0 0 2px #7A1420 !important; }   /* izabrano polje: tamno vinsko crvena (ranije Google plava) */
table.lx-t td.saving { opacity: .55; }
table.lx-t td.err { box-shadow: inset 0 0 0 2px #D93025 !important; }
table.lx-t td.pend { position: relative; }
table.lx-t td.pend::after { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 8px 8px 0; border-color: transparent #F29900 transparent transparent; }
table.lx-t td.pend-upisano::after { border-right-color: #1E8E3E; }
table.lx-t td.pend-sukob::after, table.lx-t td.pend-greska::after { border-right-color: #D93025; }
.chipn { display: inline-block; min-width: 34px; text-align: center; font-size: 11px; font-weight: 700; padding: 1px 5px; border-radius: 2px; }
.chipn.ok { color: #1E6B3C; background: #E4F1E8; }
.chipn.low { color: #B06000; background: #FEF7E0; }
.chipn.none { color: #C5221F; background: #FCE8E6; }
.chipn.off { color: #B0AAA3; background: transparent; }
@media (max-height: 820px) {
  .main-in:has(.lx) { padding-top: 10px; }
  .lx { gap: 6px; height: calc(100vh - 22px); }
  .lx-next > * { padding: 3px 12px; }
  .lx-next-day b { font-size: 16px; }
  table.lx-t td.c { height: 18px; }
  table.lx-t tr.sec th { height: 19px; }
  table.lx-t thead th { height: 32px; }
}
@media (max-width: 899px) {
  .lx { height: auto; }
  .lx-next { flex-wrap: wrap; }
  .lx-next-duty { flex-basis: 100%; border-top: 1px solid var(--line); }
  table.lx-t { width: max-content; height: auto; }
  table.lx-t col { width: 120px; }
  table.lx-t col.lab { width: 110px; }
}

/* Logistika: još sažetije (13.11.) */
.main-in:has(.lx) { padding: 12px 22px 10px; }
.lx { height: auto; min-height: 0; gap: 6px; }
.lx-head h1 { font-size: 23px; }
.lx-next > * { padding: 3px 12px; }
.lx-next-day b { font-size: 16px; }
.lx-next-menu b { font-size: 13px; }
.fbar-ref, .fbar-val { padding-top: 3px !important; padding-bottom: 3px !important; }
.lx-wrap { flex: none; max-height: calc(100vh - 150px); }
table.lx-t { height: auto; font-size: 12px; line-height: 15px; }
table.lx-t col.lab { width: 136px; }
table.lx-t thead th { height: 31px; }
table.lx-t thead .dt { font-size: 13px; }
table.lx-t tr.sec th, table.lx-t tr.sec td { height: 20px; }
table.lx-t tr.sec th { font-size: 11.5px; }
table.lx-t tr.sec th small { display: block; margin: 0; font-size: 10px; line-height: 11px; }
table.lx-t td.c { height: 19px; }
table.lx-t td.c.more { color: #8E7B75; font-style: italic; cursor: help; }
.chipn { font-size: 10.5px; padding: 0 5px; }
table.lx-t td.c[data-need]:has(.v:empty) { background: #FCEDEB; }
table.lx-t td.c.ed[data-need]:not(.past):not(.off) .v:empty::before { content: "fali"; color: #C5221F; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.lx-next-miss .lx-kick { color: #C5221F; }
.lx-next-miss b { color: #C5221F; font-size: 13px; }
/* Red "Fali" se prelama na telefonu (inače je cela stranica bila šira od ekrana); jedna stavka ostaje u komadu. */
.lx-miss-i { white-space: nowrap; }
table.lx-t td.c.extra { text-decoration: underline dotted #B09A93; text-underline-offset: 3px; }
table.lx-t td.c.addx .v:empty::before { content: "+ dodaj"; color: #AE9C96; font-size: 11px; }
table.lx-t td.c.past .v:empty::before { content: ""; }
table.lx-t td.c.past.addx .v:empty::before, table.lx-t td.c.past.ed:hover .v:empty::before { content: "+"; color: #C9B8B2; }

/* Logistika: link recepta i poruke za Viber */
.lx-next-menu b a { color: inherit; text-decoration: underline; text-decoration-color: #9FB3B6; text-underline-offset: 3px; }
.lx-next-menu b a:hover { color: var(--brand-dark); }
.copy-btn { border: 1px solid var(--line); background: #fff; color: var(--muted); border-radius: 2px; padding: 1px 4px; margin-left: 4px; cursor: pointer; vertical-align: middle; line-height: 0; }
.copy-btn:hover { color: var(--brand-dark); border-color: var(--brand); }
.copy-btn.copied { color: #fff; background: var(--green); border-color: var(--green); }
.lx-msgs { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 10px; align-items: start; margin-top: 4px; }
/* Kartice poruka: blago topla podloga, a okvir je povučen flomasterom (okviri.css, ::before). */
.lx-msg { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--msg-tint, #FBF0EA); border: 1px solid transparent; border-radius: 6px; }
.lx-msg header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lx-msg header > span:first-child { font-family: var(--head); font-size: 15.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.lx-msg.main header > span:first-child { color: var(--brand-dark); }
.lx-msg.main .copy-msg { background: var(--brand); border-color: var(--brand); color: #fff; }
.lx-msg.main .copy-msg:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.lx-msg.main .copy-msg.copied { background: var(--green); border-color: var(--green); }
.lx-msg pre { margin: 0; padding: 9px 11px; white-space: pre-wrap; word-break: break-word; font-family: var(--body); font-size: 13px; line-height: 1.45; color: var(--ink); max-height: 260px; overflow: auto; }
.copy-msg.copied { background: var(--green); border-color: var(--green); color: #fff; }
@media (max-width: 1200px) { .lx-msgs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 700px) { .lx-msgs { grid-template-columns: minmax(0, 1fr); } }
table.lx-t td.c.editing { background: #fff !important; box-shadow: inset 0 0 0 2px #7A1420 !important; cursor: text; }
table.lx-t td.c.editing .v { outline: none; display: block; min-width: 2px; min-height: 1.2em; }   /* blok: trostruki klik ostaje u polju */
table.lx-t td.c.editing .v:empty::before { content: "" !important; }
table.lx-t td.c.editing .n { display: none; }

/* ---------- Logistika: sledeći termin osvetljen kao označena kolona (marker), ostali tiši ---------- */
.lx table.lx-t td.c:not(.next) { color: #85766F; }
.lx table.lx-t td.c.fut { background: #F7F7F5; }
/* Sledeći termin: topla crvena (ka cigli, ne ka roze). Prazno obavezno mesto u toj koloni je belo polje sa crvenim "fali". */
/* Zaglavlje i ivice kolone su ista tamnocrvena kao polje "Sledeći" iznad tabele (--brand-deep). */
.lx table.lx-t td.c.next { background: #FCE8E0; color: #111; font-weight: 600; box-shadow: inset 2px 0 0 var(--brand-deep), inset -2px 0 0 var(--brand-deep); }
.lx table.lx-t thead th.next { background: var(--brand-deep); color: #fff; box-shadow: none; }
.lx table.lx-t tr.sec td.next { background: #F8D9CE; box-shadow: inset 2px 0 0 var(--brand-deep), inset -2px 0 0 var(--brand-deep); }
.lx table.lx-t td.c.next[data-need]:has(.v:empty) { background: #fff; }
.lx-msg.sent { opacity: .55; }
.lx-msg.sent:hover { opacity: .85; }
.lx-msg.sent header { background: #F0EFEC !important; color: var(--muted) !important; }
.lx-msg.sent pre { color: var(--muted); }
.lx-sent-note { margin: 0; padding: 4px 11px; font-size: 12px; color: #1E6B3C; background: #E9F3EC; border-bottom: 1px solid var(--line); }
.lx-sent-note .linklike { font-size: 12px; }
.lx-msgs-wrap { margin-top: 4px; }
.lx-msgs-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 6px; }
.lx-as select { width: auto; min-height: 28px; padding: 2px 6px; font-size: 13px; margin-left: 4px; }
.lx-as label { font-size: 12.5px; color: var(--muted); display: inline; }
.lx-msg-tools { display: flex; gap: 4px; }
.lx-msg-tools .next-ver { min-width: 30px; padding: 3px 6px; }
.lx-act { display: flex; align-items: center; gap: 6px; padding: 6px 11px 0; font-size: 12.5px; color: var(--muted); font-weight: 400; }
.lx-act select { width: auto; min-height: 28px; padding: 2px 6px; font-size: 13px; margin: 0; }
.lx-own { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 11px 8px; font-size: 12px; }
.lx-own .own-add { margin-left: auto; font-size: 12.5px; font-weight: 600; text-decoration: none; }
.lx-own .own-tag { color: #8A6D00; background: #FBF1CF; padding: 0 6px; border-radius: 2px; }
.lx-own .own-tag .linklike { font-size: 12px; }
.lx-own-edit { padding: 0 11px 10px; }
.lx-own-edit textarea { width: 100%; max-width: none; min-height: 140px; font-size: 13px; }
.lx-own-edit p { margin: 4px 0 6px; }
/* Volonteri: više nisu u Viber grupi */
table.gl tr.gl-out td { color: #9A958E; }
table.gl tr.gl-out .gl-nm { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.gl-outtag { font-size: 11px; color: var(--red); border: 1px solid #E8C3BE; border-radius: 2px; padding: 0 5px; margin-left: 4px; }
.gl-outbtn { font-size: 11.5px; margin-left: 6px; color: var(--muted); visibility: hidden; }
table.gl tr:hover .gl-outbtn, table.gl tr.gl-out .gl-outbtn { visibility: visible; }

/* Volonteri: ime vodi na stranicu osobe; oznaka "sprečen/a" i broj beležaka */
table.gl a.gl-link { color: inherit; text-decoration: none; }
table.gl a.gl-link:hover { text-decoration: underline; color: var(--brand); }
.gl-awaytag { font-size: 11.5px; background: var(--line); color: var(--ink); border-radius: 2px; padding: 0 5px; white-space: nowrap; cursor: help; }
.gl-notes { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
/* Dugme "nije u grupi" ne zauzima mesto dok se ne pređe mišem (inače lomi duga imena u dva reda) */
table.gl .gl-outbtn { display: none; }
table.gl tr:hover .gl-outbtn, table.gl tr.gl-out .gl-outbtn, table.gl .gl-outbtn:focus { display: inline; }

/* Rute (distribucija, vožnja): broj rute uz ime; na prelaz mišem ili izabrano polje oba dugmeta */
table.lx-t td[data-raw] { position: relative; padding-right: 20px; }
table.lx-t td .rt { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); display: inline-flex; gap: 1px; }
table.lx-t td .rtb { font: inherit; font-size: 10.5px; line-height: 1; min-width: 15px; height: 15px; padding: 0 3px; border: 1px solid var(--line-strong, #C9C4BC); border-radius: 2px; background: var(--surface, #fff); color: var(--muted); cursor: pointer; display: none; }
table.lx-t td .rtb.on { display: inline-block; background: var(--ink); border-color: var(--ink); color: var(--surface, #fff); font-weight: 600; }
table.lx-t td:hover .rtb, table.lx-t td.sel .rtb { display: inline-block; }
table.lx-t td .rtb:hover { border-color: var(--brand); color: var(--brand); }
table.lx-t td .rtb.on:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
table.lx-t td.editing .rt { display: none; }

/* Prikaz kolona po osobi: uski i sakriveni termini (Logistika) */
.lx-cols { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; color: var(--muted); margin: 0 0 6px; }
.lx-cols label { display: inline-flex; align-items: center; gap: 6px; }
.lx-cols select { width: auto; min-height: 26px; padding: 1px 6px; font-size: 12.5px; }
.lx-cols-hidden { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lx-col-show { font: inherit; font-size: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 2px; padding: 0 6px; cursor: pointer; }
.lx-col-show:hover { border-color: var(--brand); color: var(--brand); }
table.lx-t .v-skriveno { display: none; }
table.lx-t col.v-usko { width: 34px; }
table.lx-t th.v-usko, table.lx-t td.v-usko { padding: 0 2px; text-align: center; text-overflow: clip; }
table.lx-t td.v-usko .v { font-size: 0; }
table.lx-t td.v-usko .v:not(:empty)::before { content: '•'; font-size: 13px; color: var(--muted); }
table.lx-t td.v-usko .n, table.lx-t td.v-usko .rt { display: none; }
table.lx-t td.v-usko .chipn { padding: 0 1px; font-size: 10px; }
table.lx-t thead th.v-usko { cursor: pointer; }
table.lx-t thead th.v-usko .wd { display: none; }
table.lx-t thead th.v-usko .dt { font-size: 10.5px; }
table.lx-t thead th .colctl { position: absolute; top: 1px; right: 1px; display: none; gap: 1px; }
table.lx-t thead th:hover .colctl, table.lx-t thead th:focus-within .colctl { display: inline-flex; }
table.lx-t thead th .colctl button { font: inherit; font-size: 10px; line-height: 1; padding: 2px 3px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--muted); cursor: pointer; }
table.lx-t thead th .colctl button:hover { color: var(--brand); border-color: var(--brand); }
table.lx-t thead th.v-usko .colctl { left: 1px; right: auto; }
.lx-pick-hint { padding: 4px 11px 0; margin: 0; font-size: 12px; line-height: 1.35; }

/* Naziv aktivnosti je jedna spojena ćelija preko cele grupe (bez praznih ćelija ispod), uža kolona */
table.lx-t col.lab { width: 112px; }
table.lx-t tr.sec th.lab-cell { vertical-align: top; white-space: normal; padding: 4px 6px; line-height: 1.2; border-bottom: 1px solid #E3CFC6; }
table.lx-t tr.sec th.lab-cell small { display: block; margin: 2px 0 0; white-space: normal; }

/* Dežurni: svaka uloga u svom redu (uloga levo, ime desno), umesto jednog dugačkog niza */
.lx-next-duty > div { display: grid; grid-template-columns: max-content 1fr; column-gap: 10px; row-gap: 1px; align-items: baseline; }
.lx-next-duty > div > span { display: contents; }
.lx-next-duty > div > span > i { white-space: nowrap; }

/* Napomena za aktivnost jednog dana: ikonica uz broj; "+" samo dok je miš nad grupom */
table.lx-t tr.sec td .sn { font: inherit; font-size: 12px; font-weight: 600; line-height: 1; border: 0; background: none; padding: 1px 3px; margin-left: 2px; color: var(--muted); cursor: pointer; vertical-align: middle; visibility: hidden; }
table.lx-t tr.sec td .sn svg { display: block; }
table.lx-t tr.sec td .sn.has { visibility: visible; color: var(--brand); }
table.lx-t tbody:hover tr.sec td .sn, table.lx-t tr.sec td .sn:focus-visible { visibility: visible; }
table.lx-t tr.sec td .sn:hover { color: var(--brand); }
table.lx-t tr.sec td.v-usko .sn:not(.has) { display: none; }
.sn-pop { position: absolute; z-index: 60; width: 290px; background: var(--surface, #fff); border: 1px solid var(--line-strong, #C9C4BC); border-radius: 3px; box-shadow: 0 8px 24px rgba(0,0,0,.16); padding: 10px 12px; font-size: 13px; }
.sn-pop .sn-h { font-weight: 600; margin-bottom: 6px; }
.sn-pop .sn-sheet { font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.sn-pop .sn-sheet span { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.sn-pop .sn-sheet ul { margin: 2px 0 0; padding-left: 16px; color: var(--ink); }
.sn-pop textarea { width: 100%; max-width: none; min-height: 60px; font-size: 13px; }
.sn-pop .sn-by { margin: 2px 0 4px; }
.sn-pop .sn-tools { display: flex; align-items: center; gap: 6px; }
.sn-pop .sn-del { margin-left: auto; }

/* Slike jela (/logistika/jela): kartica izgleda kao polje "Kuva se" na Logistici */
.jl-intro { max-width: 820px; }
.jl-bar { align-items: center; }
.jl-only { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.jl-grid { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.jl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.jl-pic {
  --jelo-veo: rgba(251, 250, 248, .55);
  height: 120px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  background-image: linear-gradient(var(--jelo-veo), var(--jelo-veo)), var(--jelo, none), url(/static/img/jela/lonac.jpg);
  background-size: cover; background-position: center;
}
.jl-card:not(.has) .jl-pic { --jelo-veo: rgba(251, 250, 248, .8); }
.jl-pic .jl-kick { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); }
.jl-pic b { font-size: 15px; line-height: 1.2; color: var(--ink); }
.jl-next { align-self: flex-start; font-size: 11px; background: var(--brand); color: #fff; border-radius: 2px; padding: 0 6px; }
.jl-meta { padding: 6px 12px 0; }
.jl-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 6px 12px 10px; margin-top: auto; }
.jl-up { cursor: pointer; }
.jl-who { flex-basis: 100%; }
html[data-tema="tamna"] .jl-pic { --jelo-veo: rgba(56, 54, 51, .6); }
html[data-tema="tamna"] .jl-card:not(.has) .jl-pic { --jelo-veo: rgba(56, 54, 51, .82); }
/* Nacrtana pozadina je jarka: ista koprena i bez fotografije */
.jl-card:not(.has) .jl-pic { --jelo-veo: rgba(251, 250, 248, .55); }
html[data-tema="tamna"] .jl-card:not(.has) .jl-pic { --jelo-veo: rgba(56, 54, 51, .6); }

/* Volonteri: provera Viber grupe (admin) */
.gl-check { margin: 0 0 12px; }
.gl-check > summary { cursor: pointer; }
.gl-check-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-top: 8px; }
@media (max-width: 800px) { .gl-check-grid { grid-template-columns: 1fr; } }
.gl-check-list { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: 20px; }
.gl-check-list li { break-inside: avoid; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.gl-check-list li a { color: var(--ink); font-weight: 600; text-decoration: none; }
.gl-check-list li a:hover { text-decoration: underline; color: var(--brand); }
.gl-check-tools { display: block; font-size: 12px; }
.gl-done-out a { text-decoration: line-through; color: var(--muted); }
.gl-done-in { opacity: .55; }
.gl-unmatched h3 { font-size: 13px; margin: 0 0 4px; }

/* Volonteri: kolona "Viber grupa" */
table.gl td.gl-g { font-size: 12px; white-space: nowrap; }
table.gl td.gl-g-in { color: #3F6B4F; }
table.gl td.gl-g-in::before { content: '✓ '; font-weight: 700; }
table.gl td.gl-g-no { color: var(--muted); }
table.gl td.gl-g-teren { color: var(--muted); }
table.gl td.gl-g-out { color: var(--muted); font-style: italic; }
html[data-tema="tamna"] table.gl td.gl-g-in { color: var(--green-dark); }

/* Volonteri: filter po aktivnosti */
.gl-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 8px; }
.gl-f { font: inherit; font-size: 12.5px; padding: 3px 10px; border: 1px solid var(--line-strong, #C9C4BC); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer; }
.gl-f .n { color: var(--muted); font-size: 11.5px; margin-left: 2px; }
.gl-f:hover { border-color: var(--brand); }
.gl-f.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.gl-f.on .n { color: rgba(255, 255, 255, .8); }
.gl-fgrp { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.gl-fgrp select { width: auto; min-height: 28px; padding: 1px 6px; font-size: 12.5px; }
.gl-removed { background: var(--brand-soft, #FCEDEB); color: var(--brand-dark); }

/* Volonteri: mogući duplikati (admin) */
.gl-dupes { margin: 0 0 12px; }
.gl-dupes > summary { cursor: pointer; }
.gl-dupe-list { list-style: none; margin: 8px 0 0; padding: 0; }
.gl-dupe-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 13px; }
.gl-dupe-pair a { color: var(--ink); font-weight: 600; text-decoration: none; }
.gl-dupe-pair a:hover { color: var(--brand); text-decoration: underline; }
.gl-dupe-tools { margin-left: auto; display: inline-flex; align-items: baseline; gap: 10px; font-size: 12px; }
.gl-dupe-done { opacity: .55; }
.gl-dupe-no { opacity: .4; text-decoration: line-through; }

/* ---------- Telefon (2026-11-17): meni i polja za palac ----------
   Polja od 16px da iPhone ne zumira stranicu kad se dodirne polje; dugmad i stavke menija bar 44px. */
@media (max-width: 899px) {
  input[type=text], input[type=password], input[type=date], input[type=time], input[type=number], input[type=search], select, textarea { font-size: 16px; min-height: 44px; }
  .btn { min-height: 44px; }
  .btn-small { min-height: 36px; }
  .navbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-size: 15px; }
  .nav a { display: flex; align-items: center; min-height: 44px; padding: 4px 12px; font-size: 16px; }
  .nav-group { margin-top: 12px; padding-top: 6px; padding-bottom: 6px; font-size: 11.5px; }
  .nav details > summary.nav-group { min-height: 36px; display: flex; align-items: center; }
  .nav-user { font-size: 14px; }
  .nav-user-name { font-size: 15px; }
  .nav-user-links { gap: 22px; }
  .nav .nav-user-links a, .nav .linklike, .nav .tema-btn { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  .nav .tema-btn { margin-top: 0; }
  .login-tema .tema-btn { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
  .loginbtn .btn { min-height: 48px; font-size: 16px; }
}
@media (max-width: 400px) {
  .sidebar .brand-name { font-size: 18px; white-space: nowrap; }
  .sidebar-top { gap: 8px; }
}

/* Logistika na telefonu (2026-11-17): kolona sa nazivima aktivnosti ostaje levo dok se tabela pomera u stranu;
   traka "Sledeći" ide red po red; polja od 16px (bez zumiranja na iPhone-u). */
@media (max-width: 760px) {
  .main-in:has(.lx) { padding: 10px 12px 10px; }
  .lx-head { gap: 8px 10px; }
  .lx-tools { margin-left: 0; flex-wrap: wrap; }
  .lx-month select { min-height: 40px; font-size: 16px; }
  .lx-next { flex-wrap: wrap; font-size: 14px; }
  .lx .lx-next > *, .lx .lx-next .lx-next-duty, .lx .lx-next .lx-callers, .lx .lx-next .lx-next-notes { flex: 1 1 100%; border-right: 0; }
  .lx-next > * + * { border-top: 1px solid var(--line); }
  .lx .lx-next .lx-next-day { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 8px 12px; }
  .lx-next .lx-next-day .lx-kick { flex-basis: 100%; }
  .lx-next .lx-next-day .act-done { margin: 0; }
  .lx-next-menu b { font-size: 15px; }
  .lx-callers > summary { display: flex; align-items: center; min-height: 40px; }
  .lx-callers ul { width: calc(100vw - 40px); }
  .lx-next-notes .lx-note-add > summary { display: inline-flex; align-items: center; min-height: 36px; }
  .lx-next-notes .lx-note-add button { min-height: 36px; }
  .fbar-val { font-size: 16px !important; }
  .lx-wrap { max-height: calc(100vh - 110px); }
  table.lx-t col.lab { width: 92px; }
  table.lx-t col { width: 116px; }
  table.lx-t th.lab-cell { position: sticky; left: 0; z-index: 1; white-space: normal; line-height: 1.2; box-shadow: 2px 0 0 #E3CFC6; }
  table.lx-t thead th.blank { position: sticky; left: 0; z-index: 3; box-shadow: 2px 0 0 #E3CFC6; }
  .sn-pop { width: min(320px, calc(100vw - 16px)); }
  .sn-pop textarea { font-size: 16px; }
  .sn-pop .sn-tools .btn { min-height: 40px; }
}

/* Volonteri na telefonu (2026-11-17): pretraga i filteri za palac; kolona sa imenom ostaje levo dok se tabela pomera u stranu. */
@media (max-width: 760px) {
  .fq-bar input[type=search] { font-size: 16px; min-height: 44px; }
  .fq-sel select { font-size: 16px; min-height: 44px; }
  .gl-filters { gap: 6px; }
  .gl-f { min-height: 40px; padding: 5px 13px; font-size: 14.5px; border-radius: 20px; }
  .gl-f .n { font-size: 13px; }
  .gl-fgrp { margin-left: 0; font-size: 14px; }
  .gl-fgrp select { min-height: 40px; font-size: 16px; padding: 2px 8px; }
  .gl-mark { display: inline-block; padding: 9px 2px; font-size: 14px; }
  .gl-dupe-tools { margin-left: 0; font-size: 14px; }
  table.gl { font-size: 14.5px; }
  table.gl th, table.gl td { padding: 8px 10px; }
  table.gl td:first-child { position: sticky; left: 0; z-index: 1; min-width: 140px; max-width: 170px; background: var(--surface); box-shadow: 1px 0 0 var(--line-strong); }
  table.gl thead th:first-child { left: 0; z-index: 2; box-shadow: 1px 0 0 var(--line-strong); }
  table.gl td:first-child .gl-awaytag, table.gl td:first-child .gl-outtag, table.gl td:first-child .gl-notes { white-space: normal; display: inline-block; max-width: 100%; }
}
/* Mogući duplikati: "Nisam siguran/na" (posivljeno, na dnu) */
.gl-dupe-maybe { opacity: .62; }
.gl-dupe-maybe:hover { opacity: 1; }
.gl-maybe-tag { display: inline-block; font-size: 11px; line-height: 16px; padding: 0 6px; border-radius: 8px; background: var(--yellow-soft); color: var(--yellow-ink); font-style: normal; }
.gl-dupe-maybe-btn { color: var(--muted); }
html[data-tema="tamna"] .gl-maybe-tag { background: var(--yellow-soft); color: var(--yellow-ink); }

/* Prijavljena osoba u meniju: papirna pločica sa imenom, zalepljena žutom trakom i malo nakrivo (kao bedž
   volontera na akcijama), ispod obični linkovi. Bez ikonica i dugmadi-pločica. */
.nav-user { padding: 26px 4px 0; }
.nav a.nu-tag, .nu-tag { position: relative; display: block; margin: 14px 6px 12px; padding: 10px 12px 9px; border: 0; border-radius: 1px; background: #FBF7EF; color: var(--ink); text-decoration: none; transform: rotate(-1.6deg); box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.nu-tag::before { content: ''; position: absolute; top: -9px; left: 50%; width: 58px; height: 18px; margin-left: -29px; background: rgba(242, 194, 48, .78); transform: rotate(3deg); box-shadow: 0 1px 0 rgba(0, 0, 0, .1); }
.nav a.nu-tag:hover { background: #fff; color: var(--ink); transform: rotate(-.6deg); }
.nu-name { display: block; font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--ink); overflow-wrap: anywhere; }
.nu-role { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }
.nu-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 0 6px; }
.nu-form { margin: 0; display: contents; }
.nav .nu-links a, .nu-link { display: inline; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .88); font: inherit; font-size: 13px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; cursor: pointer; }
.nav .nu-links a:hover, .nu-link:hover { background: none; color: #fff; text-decoration-color: #fff; }
.nav .nu-links a.on { color: #fff; font-weight: 600; text-decoration-color: #fff; }
.nu-link:focus-visible, .nu-links a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html[data-tema="tamna"] .nu-tag { background: #DCD3C4; } /* papir, ali prigušen da ne blešti (17.11) */
html[data-tema="tamna"] .nav a.nu-tag:hover { background: #E7DFD1; }
html[data-tema="tamna"] .nu-tag::before { background: rgba(242, 194, 48, .6); }
html[data-tema="tamna"] .nu-name { color: #1C1A18; }
html[data-tema="tamna"] .nu-role { color: #5E5952; }
@media (max-width: 899px) {
  .nu-links { gap: 0 22px; }
  .nav .nu-links a, .nu-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
}

/* Logistika: dugme "Obriši" u traci iznad tabele (prvi klik pita, drugi briše) */
.fbar-clear { margin: 0 4px; padding: 2px 10px; border: 1px solid #C7C7C7; border-radius: 3px; background: #fff; color: #A3181F; font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.fbar-clear:hover:not(:disabled) { border-color: #A3181F; background: #FCE8E0; }
.fbar-clear:disabled { color: #B0B0B0; cursor: default; }
.fbar-clear.armed { background: #C9202A; border-color: #C9202A; color: #fff; font-weight: 600; }
html[data-tema="tamna"] .fbar-clear { background: var(--surface); border-color: #5E5A54; color: #F2A39C; }
html[data-tema="tamna"] .fbar-clear:disabled { color: #8F897F; }
html[data-tema="tamna"] .fbar-clear.armed { background: #C9202A; border-color: #C9202A; color: #fff; }
@media (max-width: 899px) { .fbar-clear { min-height: 36px; padding: 4px 12px; font-size: 14px; } }

/* Logistika: beleška uz ime (tačkica u ćeliji, mali prozor ispod trake) */
table.lx-t td.has-nn { position: relative; }
table.lx-t td .nn { position: absolute; left: 2px; bottom: 2px; width: 6px; height: 6px; border-radius: 50%; background: #A3181F; pointer-events: none; }
.fbar-note.has { color: #A3181F; border-color: #E3A39D; }
.nn-box { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 7px 10px; border: 1px solid #C7C7C7; border-bottom: 0; background: #FBF1EE; font-size: 13px; }
.nn-box label { display: flex; align-items: center; gap: 8px; flex: 1 1 320px; margin: 0; }
.nn-box label span { white-space: nowrap; }
.nn-box input { flex: 1; min-width: 0; padding: 4px 8px; }
html[data-tema="tamna"] .nn-box { background: var(--raise); border-color: var(--line-strong); }
html[data-tema="tamna"] table.lx-t td .nn { background: #F2A39C; }
html[data-tema="tamna"] .fbar-note.has { color: #F2A39C; border-color: #7A3A36; }

/* Stranica osobe: podnaslov u kartici (beleške iz rasporeda) */
.os-sub { margin: 16px 0 2px; font-size: 14.5px; }

/* Prijavljena osoba u meniju (17.11.2026, umesto papirne pločice): slika profila u krugu sa svetlim rubom, ime i uloga
   običnim slovima; ispod zupčanik (Podešavanja), klizač za temu i Odjava. */
.nav-user { padding: 24px 6px 0; }
.nav a.nu-me, .nu-me { display: flex; align-items: center; gap: 11px; padding: 6px 6px; margin: 0 0 10px; border: 0; border-radius: 6px; color: #fff; text-decoration: none; font-size: inherit; }
.nav a.nu-me:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nu-av { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #F6EDE8; color: #5C1A1B; font-weight: 700; font-size: 14px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.nu-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nu-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.nu-nm { font-weight: 700; font-size: 14.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nu-rl { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.nu-bar { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.nav .nu-cog, .nu-cog { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.nav .nu-cog:hover, .nu-cog.on { background: rgba(255, 255, 255, .22); color: #fff; }
.nu-cog svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nu-switch { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .88); font: inherit; font-size: 12.5px; cursor: pointer; }
.nu-sw-track { position: relative; width: 34px; height: 18px; border-radius: 9px; background: rgba(255, 255, 255, .25); transition: background-color .2s; }
.nu-sw-knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .2s; }
.nu-switch[aria-checked="true"] .nu-sw-track { background: #E7C27A; }
.nu-switch[aria-checked="true"] .nu-sw-knob { transform: translateX(16px); }
.nu-switch:focus-visible, .nu-cog:focus-visible, .nu-out:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.nu-out { margin-left: auto; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .85); font: inherit; font-size: 12.5px; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; cursor: pointer; }
.nu-out:hover { color: #fff; text-decoration-color: #fff; }
@media (max-width: 899px) {
  .nav .nu-cog, .nu-cog { width: 40px; height: 40px; }
  .nu-switch, .nu-out { min-height: 44px; font-size: 14px; }
}
.nu-sw-lbl { white-space: nowrap; }
.nu-bar { gap: 9px; }

/* Odjava ne sme da dodiruje kockasti rub menija (desno na širokom ekranu) */
.nu-bar { padding-right: 16px; }
@media (min-width: 900px) { .nu-bar { padding-right: 20px; } }
/* Klizač za temu bez natpisa pored (ne staje u red sa Odjavom): sunce i mesec u samoj stazi, natpis samo za čitače ekrana */
.nu-sw-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nu-sw-track { width: 46px; height: 22px; border-radius: 11px; }
.nu-sw-track::before, .nu-sw-track::after { position: absolute; top: 50%; transform: translateY(-50%); font-size: 11px; line-height: 1; color: #fff; opacity: .9; }
.nu-sw-track::before { content: '☀'; left: 6px; }
.nu-sw-track::after { content: '☾'; right: 6px; }
.nu-sw-knob { top: 3px; left: 3px; width: 16px; height: 16px; z-index: 1; }
.nu-switch[aria-checked="true"] .nu-sw-knob { transform: translateX(24px); }
.nu-switch[aria-checked="true"] .nu-sw-track::after { color: #5C1A1B; }
.nu-bar { padding-right: 12px; }
@media (min-width: 900px) { .nu-bar { padding-right: 14px; } }

/* ---------- Bočni meni u grupama, brojevi i brza pretraga (17.11.2026) ----------
   Grupe (Raspored, Pakovanje, Ljudi i znanje) imaju mali sivi naslov običnim slovima (bez razmaknutih velikih slova).
   Broj uz stavku (nav-badge) samo kad nešto treba uraditi: "fali 17", "34/120" (src/nav-badges.js).
   Na vrhu polje "Traži…" (public/js/meni.js, GET /trazi). Bele providne boje su u odnosu na crvenu traku menija,
   pa važe i u tamnoj temi (traka je tamnocrvena); tamni parovi za polje i listu su u tamna.css. */
.nav-group { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .74); margin: 16px 0 3px; padding: 0 12px; }
.nav-archive { margin-top: 14px; }
.nav-archive > summary.nav-group { margin: 0; padding-top: 4px; padding-bottom: 4px; }
.nav ul a { display: flex; align-items: center; gap: 8px; }
.nav-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-badge { flex: 0 0 auto; margin-left: auto; padding: 0 7px; border-radius: 9px; background: rgba(0, 0, 0, .2); color: rgba(255, 255, 255, .94); font-size: 11.5px; font-weight: 500; line-height: 18px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav a.on .nav-badge { background: rgba(0, 0, 0, .24); color: #fff; }

.nav-find { position: relative; margin: 0 0 6px; }
.nav .nav-q { display: block; width: 100%; max-width: none; height: 34px; min-height: 0; margin: 0; padding: 0 32px 0 11px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-s); background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: 14px; -webkit-appearance: none; appearance: none; transition: background-color .12s, border-color .12s; }
.nav .nav-q::placeholder { color: rgba(255, 255, 255, .8); opacity: 1; }
.nav .nav-q:hover { border-color: rgba(255, 255, 255, .5); }
.nav .nav-q:focus { outline: none; background: rgba(255, 255, 255, .17); border-color: rgba(255, 255, 255, .9); }
.nav .nav-q:focus-visible { outline: 2px solid rgba(255, 255, 255, .45); outline-offset: 1px; }
.nav .nav-q::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.nav-q-key { position: absolute; right: 8px; top: 8px; min-width: 18px; padding: 0 4px; border: 1px solid rgba(255, 255, 255, .38); border-radius: 3px; color: rgba(255, 255, 255, .85); font-family: inherit; font-size: 11px; font-weight: 500; line-height: 16px; text-align: center; pointer-events: none; }
.nav-q:focus ~ .nav-q-key, .nav-q:not(:placeholder-shown) ~ .nav-q-key { display: none; }

.nav-res { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 300; max-height: min(420px, 70vh); overflow-y: auto; overscroll-behavior: contain; padding: 2px 0 6px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--ink); box-shadow: 0 10px 28px rgba(0, 0, 0, .2); animation: nav-res-in .14s ease-out; }
.nav-res[hidden] { display: none; }
@keyframes nav-res-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav-res-g + .nav-res-g { margin-top: 4px; border-top: 1px solid var(--line); }
.nav-res-h { padding: 7px 12px 3px; font-size: 12px; color: var(--muted); }
.nav .nav-res-i { display: flex; align-items: baseline; gap: 10px; min-height: 0; padding: 6px 12px; border: 0; border-radius: 0; color: var(--ink); font-size: 14px; font-weight: 400; line-height: 1.3; text-decoration: none; }
.nav .nav-res-i:hover, .nav .nav-res-i.on { background: var(--brand-soft); color: var(--ink); box-shadow: inset 2px 0 0 var(--brand); }
.nav-res-t { flex: 1 1 auto; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.nav-res-x { flex: 0 0 auto; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav-res-none { margin: 0; padding: 8px 12px 4px; font-size: 13.5px; color: var(--muted); }

@media (max-width: 899px) {
  .nav-group { margin-top: 14px; padding-top: 4px; padding-bottom: 4px; font-size: 13px; }
  .nav-find { margin: 10px 0 4px; }
  .nav .nav-q { height: 44px; font-size: 16px; }
  .nav-q-key { display: none; }
  .nav .nav-res-i { align-items: center; min-height: 44px; font-size: 15px; }
  .nav-res { max-height: 60vh; }
}
/* Dok je lista rezultata otvorena, traka menija (sticky) je iznad sadržaja, inače kartice prekriju listu. */
.sidebar.nav-q-open { z-index: 70; }
.nav-archive > summary.nav-group::after { content: "\00a0+"; }
.nav-archive[open] > summary.nav-group::after { content: "\00a0–"; }

/* ---------- Bočni meni: naslovi grupa sa ikonicom i "vodilja" (17.11.2026, Boris izabrao predlog C) ----------
   Uzor: public/predlog/meni/index.html, varijanta C "Ikonice i vodilja". Naslov grupe (p.nav-group, Arhiva summary)
   ima ručno crtanu ikonicu (lonac, kutija, ljudi, arhivska kutija) i krupnija bela slova, pa se jasno razlikuje od stavki.
   Stavke grupe (ul.nav-sub) vise na tankoj, malo neravnoj uspravnoj liniji (filter #okvir-neravno iz head.ejs),
   a trenutna stranica je bela tačka na liniji (uz postojeću svetliju pozadinu i deblja slova).
   Boje su promenljive na .nav; tamni parovi su u tamna.css. Početna (ul.nav-top) ostaje kao pre. */
.nav { --nav-ic: #F3E2C0; --nav-ic-arh: rgba(255, 255, 255, .7); --nav-guide: rgba(255, 255, 255, .36); --nav-dot: #fff; --nav-grp: #fff; --nav-arh: rgba(255, 255, 255, .82); }
.nav .nav-group { display: flex; align-items: center; gap: 9px; margin: 18px 0 2px; padding: 0 10px; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--nav-grp); }
.nav .nav-group .ic { display: inline-flex; flex: 0 0 auto; width: 24px; height: 24px; color: var(--nav-ic); }
.nav .nav-group .ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nav .nav-group .gt { min-width: 0; }
.nav ul.nav-sub { position: relative; margin-left: 16px; padding-bottom: 2px; }
.nav ul.nav-sub::before { content: ""; position: absolute; left: 0; top: -2px; bottom: 8px; width: 12px; background: linear-gradient(90deg, transparent 5px, var(--nav-guide) 5px, var(--nav-guide) 6.6px, transparent 6.6px); filter: url(#okvir-neravno); pointer-events: none; }
.nav ul.nav-sub a { position: relative; margin-left: 12px; padding-left: 15px; border-left: 0; }
.nav ul.nav-sub a.on::before { content: ""; position: absolute; left: -10.5px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--nav-dot); }
.nav .nav-archive > summary.nav-group { margin: 0; padding: 4px 10px; font-size: 14px; font-weight: 500; color: var(--nav-arh); }
.nav .nav-archive > summary.nav-group:hover { color: rgba(255, 255, 255, .85); }
.nav .nav-archive .ic { color: var(--nav-ic-arh); }
@media (max-width: 899px) {
  .nav .nav-archive > summary.nav-group { min-height: 36px; }
}
