/* Seznam opreme – slogi. Podoba po LADI (popis ZU, 6. 11. 2026): žetoni barv, plastnice v glavi, pisava Nohemi.
   Temna tema sledi sistemu ali izbiri (data-theme na <html>). */
:root{
  --plastnice:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 240' preserveAspectRatio='xMaxYMid slice'%3E%3Cpath d='M1146 110L1147 111L1148 112L1149 114L1148 115L1147 116L1146 118L1144 119L1141 119L1139 120L1136 120L1133 121L1130 121L1128 121L1125 121L1122 121L1120 120L1118 120L1116 119L1114 118L1113 118L1111 117L1109 117L1108 117L1105 116L1103 116L1100 116L1097 115L1095 115L1093 114L1091 113L1090 111L1090 110L1091 109L1091 108L1092 106L1094 105L1095 104L1097 103L1098 102L1100 101L1103 101L1105 100L1108 100L1110 100L1113 100L1115 100L1118 100L1120 100L1122 100L1125 100L1127 100L1129 100L1131 101L1133 101L1135 102L1137 103L1138 104L1139 105L1140 105L1141 106L1142 107L1143 108L1145 109ZM1190 110L1193 113L1195 117L1196 120L1195 124L1192 127L1188 130L1182 132L1176 134L1169 136L1162 137L1155 138L1147 139L1140 139L1133 139L1126 138L1120 136L1114 135L1109 133L1105 132L1101 130L1097 129L1092 128L1087 128L1080 127L1073 127L1066 126L1059 124L1053 122L1048 120L1044 117L1043 113L1042 110L1043 107L1045 103L1048 100L1051 97L1054 95L1059 92L1063 90L1069 87L1075 86L1081 85L1088 84L1095 83L1101 83L1108 83L1114 83L1120 83L1126 83L1132 83L1138 84L1144 84L1150 85L1155 87L1160 89L1163 91L1166 93L1169 96L1171 98L1174 100L1178 102L1181 105L1186 107ZM1235 110L1240 115L1243 121L1244 126L1241 132L1236 137L1229 142L1220 146L1210 149L1199 152L1187 154L1176 156L1164 156L1152 156L1141 156L1130 154L1120 152L1111 150L1103 147L1096 144L1089 142L1082 141L1074 140L1065 139L1054 139L1043 138L1031 136L1020 133L1010 130L1002 126L997 121L995 115L995 110L996 105L1000 100L1004 95L1008 90L1014 85L1020 81L1028 77L1037 74L1047 71L1057 69L1068 68L1079 67L1090 67L1100 67L1110 67L1120 67L1130 67L1140 67L1150 67L1159 68L1169 70L1177 73L1184 76L1190 80L1194 83L1199 87L1203 91L1208 94L1214 97L1221 101L1228 105ZM1281 110L1288 117L1292 125L1292 133L1288 140L1280 148L1270 154L1257 159L1243 164L1228 168L1212 171L1197 173L1180 174L1164 174L1148 173L1134 170L1120 167L1108 164L1097 160L1087 157L1078 154L1068 153L1056 152L1043 151L1027 151L1011 149L994 147L979 143L966 138L957 132L950 125L948 117L948 110L950 103L954 96L959 89L966 82L973 76L982 70L993 64L1006 60L1019 56L1034 54L1049 52L1065 51L1079 51L1093 51L1107 50L1120 50L1134 50L1147 50L1161 51L1175 52L1187 55L1198 59L1207 63L1215 68L1222 73L1228 78L1235 83L1243 88L1252 93L1262 98L1272 103ZM1329 110L1337 119L1341 129L1340 139L1334 149L1324 158L1310 166L1294 173L1276 178L1257 183L1238 187L1217 190L1196 191L1176 191L1156 189L1137 186L1120 182L1105 177L1091 173L1079 169L1066 167L1053 165L1037 164L1019 164L999 163L978 161L957 158L938 153L922 146L911 138L904 129L901 119L901 110L904 101L909 92L915 83L923 74L932 66L944 59L958 52L975 46L993 42L1012 39L1031 37L1050 36L1068 35L1086 34L1103 34L1120 33L1137 33L1155 33L1173 34L1190 36L1205 40L1219 45L1230 51L1240 57L1249 64L1257 70L1267 76L1278 81L1291 87L1304 94L1318 101ZM1378 110L1387 122L1391 134L1389 146L1381 157L1367 168L1350 177L1331 186L1309 193L1286 199L1262 203L1238 206L1212 208L1187 207L1163 205L1140 201L1120 196L1102 190L1086 185L1070 182L1055 179L1037 178L1017 177L994 177L969 176L943 173L918 169L896 162L878 154L865 144L858 133L854 121L855 110L858 99L863 88L871 77L880 66L892 57L906 48L924 40L944 33L966 28L989 24L1013 22L1035 21L1057 19L1078 18L1099 17L1120 16L1141 15L1163 15L1184 17L1205 20L1223 25L1239 32L1253 39L1265 47L1275 54L1287 61L1299 68L1314 75L1331 82L1348 90L1365 99ZM1428 110L1438 124L1441 138L1437 152L1426 165L1410 178L1390 189L1367 199L1342 207L1315 214L1287 219L1258 223L1228 224L1198 223L1170 220L1144 215L1120 209L1099 203L1080 198L1062 194L1043 192L1021 191L996 191L968 191L938 190L908 186L879 180L854 172L834 162L820 150L812 137L808 123L809 110L812 97L818 84L826 71L837 59L851 47L869 36L890 27L914 20L940 14L968 10L995 8L1021 5L1046 4L1071 2L1095 0L1120 -2L1145 -3L1171 -2L1196 0L1220 5L1241 11L1259 19L1275 27L1289 36L1302 45L1316 53L1333 60L1352 68L1373 76L1394 86L1413 97ZM1479 110L1489 126L1491 142L1485 158L1472 174L1453 188L1430 201L1403 212L1375 221L1344 229L1311 235L1277 239L1243 240L1209 238L1176 234L1147 228L1120 222L1096 215L1075 210L1053 207L1030 205L1004 205L974 205L941 205L906 204L871 199L839 192L811 182L790 170L775 156L766 141L763 125L763 110L766 95L772 80L781 65L794 51L810 38L831 26L856 15L885 7L915 1L947 -4L977 -7L1007 -10L1035 -12L1063 -15L1091 -17L1120 -20L1149 -20L1179 -19L1208 -16L1234 -11L1258 -3L1278 6L1296 16L1312 26L1329 35L1347 44L1367 52L1391 61L1416 71L1440 82L1462 95ZM1530 110L1540 128L1540 147L1532 165L1516 182L1495 198L1469 212L1439 225L1407 236L1372 244L1335 251L1297 255L1257 255L1219 253L1183 248L1150 241L1120 234L1094 227L1069 222L1044 220L1017 219L986 220L951 220L913 220L873 218L834 213L799 204L769 192L746 178L731 162L721 145L717 127L717 110L720 93L726 76L736 59L751 43L770 28L795 15L824 4L856 -5L891 -12L926 -17L960 -21L993 -25L1024 -28L1056 -32L1087 -35L1120 -38L1153 -38L1187 -37L1219 -33L1248 -26L1275 -16L1297 -6L1317 5L1336 15L1356 25L1378 35L1403 44L1431 54L1460 65L1489 78L1513 93ZM1582 110L1591 130L1589 151L1579 171L1561 190L1537 207L1508 223L1475 238L1439 250L1400 259L1359 266L1315 270L1271 270L1229 267L1189 261L1152 253L1120 246L1091 239L1063 235L1035 233L1003 233L968 235L927 236L884 236L839 233L797 226L759 216L727 202L703 186L687 168L677 149L672 129L671 110L674 91L680 72L691 53L708 35L730 19L758 4L792 -8L829 -17L867 -25L905 -31L942 -35L978 -40L1013 -44L1048 -49L1083 -53L1120 -56L1157 -56L1195 -54L1230 -48L1262 -40L1291 -30L1315 -18L1338 -6L1360 5L1384 15L1410 25L1440 35L1473 46L1507 59L1538 74L1564 91ZM1634 110L1641 132L1638 155L1626 177L1605 198L1579 217L1547 235L1511 250L1471 264L1428 274L1382 281L1333 285L1285 284L1238 280L1194 273L1155 265L1120 257L1088 251L1057 248L1025 247L989 248L948 251L902 253L854 252L805 248L759 240L718 227L685 212L660 193L643 173L632 152L626 131L624 110L627 89L634 68L646 47L665 28L691 10L723 -6L761 -19L802 -29L843 -37L885 -44L925 -50L964 -55L1001 -61L1040 -66L1079 -71L1120 -74L1161 -74L1202 -71L1241 -64L1275 -54L1306 -42L1333 -30L1359 -17L1384 -6L1412 5L1444 15L1479 26L1517 38L1554 52L1588 69L1616 89ZM1685 110L1691 135L1686 159L1672 183L1649 206L1620 227L1586 246L1547 263L1503 278L1455 289L1404 296L1351 299L1297 297L1246 292L1199 285L1157 276L1120 269L1085 263L1051 261L1015 262L974 265L927 268L876 269L823 268L770 263L721 253L678 239L644 221L618 201L600 179L587 156L580 133L578 110L580 87L587 64L601 41L623 20L652 1L689 -16L731 -30L775 -41L820 -50L865 -57L907 -64L949 -71L990 -78L1032 -84L1075 -90L1120 -92L1165 -92L1210 -87L1251 -79L1288 -68L1321 -55L1351 -41L1379 -28L1409 -16L1441 -5L1478 5L1519 17L1562 30L1603 46L1639 65L1668 86ZM1736 110L1741 137L1734 163L1718 189L1693 214L1662 237L1625 258L1582 276L1535 291L1482 303L1426 310L1367 312L1309 310L1254 304L1204 296L1160 287L1120 280L1083 276L1045 275L1004 277L958 281L906 285L850 287L792 285L735 278L683 267L639 251L603 231L576 209L556 185L543 160L534 135L530 110L532 85L540 60L556 35L581 12L615 -8L656 -26L701 -40L749 -52L798 -62L844 -70L890 -79L934 -87L978 -95L1023 -103L1071 -108L1120 -110L1169 -109L1217 -103L1261 -93L1301 -81L1336 -67L1368 -53L1400 -39L1434 -27L1472 -16L1515 -5L1561 7L1608 22L1653 39L1691 60L1720 84ZM1787 110L1790 139L1782 168L1764 195L1737 222L1704 247L1664 269L1618 289L1566 305L1508 317L1446 324L1383 325L1320 322L1262 315L1209 306L1162 298L1120 292L1080 289L1038 290L992 294L941 299L884 303L822 305L760 302L700 294L646 280L600 262L563 240L534 216L513 191L497 164L487 137L482 110L484 83L494 55L512 29L541 5L579 -17L623 -35L673 -51L724 -63L775 -74L824 -84L871 -94L918 -103L966 -113L1015 -121L1067 -127L1120 -128L1173 -126L1224 -118L1271 -107L1313 -93L1350 -78L1386 -64L1422 -51L1461 -39L1504 -28L1553 -16L1604 -3L1656 13L1703 33L1743 56L1771 82Z' fill='none' stroke='%23000' stroke-width='1.1'/%3E%3C/svg%3E");
  --bg:#eef1ea; --card:#fbfcf9; --card2:#f3f5ef; --ink:#18201b; --mut:#5a645d; --line:#d3dacf; --line2:#bcc6b8;
  --acc:#2f5d46; --acc-2:#3f7a5d; --acc-ink:#ffffff; --acc-bg:#e2ebe2;
  --warn:#8a5410; --warn-bg:#fdf3e1; --err:#a12a22; --err-bg:#fdecea; --ok:#2a6e45; --ok-bg:#e5f2ea;
  --plastnica:#c3cebf; --r:14px; --senca:0 10px 40px rgba(20,30,25,.18);
  --pisava:"Nohemi LADA",Aptos,"Segoe UI",Arial,sans-serif;
}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]){ color-scheme:dark;
  --bg:#121613; --card:#181d19; --card2:#1e2420; --ink:#e6ebe6; --mut:#9ba59d; --line:#2c342e; --line2:#3d4740;
  --acc:#79b796; --acc-2:#8ec7a8; --acc-ink:#0f1a14; --acc-bg:#1f2e26;
  --warn:#e6ad62; --warn-bg:#33281a; --err:#f08a80; --err-bg:#3a1f1c; --ok:#7bc79b; --ok-bg:#1c2e23;
  --plastnica:#243028; --senca:0 10px 40px rgba(0,0,0,.5); } }
:root[data-theme="dark"]{ color-scheme:dark;
  --bg:#121613; --card:#181d19; --card2:#1e2420; --ink:#e6ebe6; --mut:#9ba59d; --line:#2c342e; --line2:#3d4740;
  --acc:#79b796; --acc-2:#8ec7a8; --acc-ink:#0f1a14; --acc-bg:#1f2e26;
  --warn:#e6ad62; --warn-bg:#33281a; --err:#f08a80; --err-bg:#3a1f1c; --ok:#7bc79b; --ok-bg:#1c2e23;
  --plastnica:#243028; --senca:0 10px 40px rgba(0,0,0,.5); }

*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:14.5px/1.5 var(--pisava);-webkit-text-size-adjust:100%}
a{color:var(--acc)}
button,input,select,textarea{font:inherit;color:inherit}
h1,h2,h3{margin:0;font-weight:650}
.skrito,[hidden]{display:none!important}
.mut{color:var(--mut)}
.mal{font-size:12.5px}

/* ---------- gumbi in polja ---------- */
button,.gumb{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 14px;border-radius:999px;
  border:1px solid var(--acc);background:transparent;color:var(--acc);cursor:pointer;font-weight:550;text-decoration:none;white-space:nowrap}
button:hover,.gumb:hover{background:var(--acc-bg)}
button.primary{background:var(--acc);color:var(--acc-ink)}
button.primary:hover{background:var(--acc-2)}
button.ghost{border-color:transparent}
button.ghost:hover{border-color:var(--line2)}
button.nevarno{border-color:var(--err);color:var(--err)}
button.nevarno:hover{background:var(--err-bg)}
button.sm{min-height:30px;padding:3px 11px;font-size:13px}
button.ikona{width:36px;padding:0}
button:disabled{opacity:.5;cursor:default}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.gumb:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
input:not([type=checkbox]):not([type=radio]),select,textarea{
  width:100%;min-height:38px;padding:7px 11px;border:1px solid var(--line2);border-radius:10px;background:var(--card);}
textarea{min-height:80px;resize:vertical}
label.polje{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--mut);font-weight:550}
label.polje>input,label.polje>select,label.polje>textarea{font-size:14.5px;color:var(--ink);font-weight:400}
label.kljukica{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
input[type=checkbox]{width:18px;height:18px;accent-color:var(--acc)}

/* ---------- glava ---------- */
.top{position:sticky;top:0;z-index:30;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  padding:14px 24px;background:var(--bg);border-bottom:1px solid var(--line)}
.top::before{content:"";position:absolute;inset:0;background:var(--plastnica);-webkit-mask:var(--plastnice) right center/cover no-repeat;mask:var(--plastnice) right center/cover no-repeat;pointer-events:none}
.top>*{position:relative}
.brand{display:flex;align-items:center;gap:12px;min-width:0;cursor:pointer}
.logo{height:46px;width:46px;flex:none;fill:var(--ink)}
.brand h1{font-size:26px;font-weight:800;letter-spacing:-.02em;line-height:1.1}
.brand .podnaslov{font-size:16px;font-weight:500;letter-spacing:0;margin-left:6px}
.brand .vrstica{font-size:13px;color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.akcije{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.akcije button{background:var(--bg)}
.akcije button.primary{background:var(--acc)}
.oseba{font-size:13px;color:var(--mut);padding:0 4px}
.demo-trak{background:var(--warn-bg);color:var(--warn);text-align:center;font-size:13px;padding:5px 12px;border-bottom:1px solid var(--line)}

main{max-width:1280px;margin:0 auto;padding:20px 24px 80px}

/* ---------- vstop ---------- */
.vstop{max-width:440px;margin:8vh auto;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:28px}
.vstop h2{font-size:22px;margin-bottom:6px}
.vstop form{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.vstop .napaka{color:var(--err)}
.demo-izbira{display:flex;flex-direction:column;gap:8px;margin-top:18px;padding-top:16px;border-top:1px dashed var(--line2)}

/* ---------- seznam projektov ---------- */
.naslovna{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.naslovna h2{font-size:22px}
.mreza{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.kartica{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;cursor:pointer;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;text-align:left;color:var(--ink);white-space:normal;font-weight:400}
.kartica:hover{border-color:var(--acc)}
.kartica h3{font-size:17px}
.kartica .vrsta-meta{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--mut)}
.chip{display:inline-flex;align-items:center;gap:4px;padding:1px 9px;border-radius:999px;font-size:12px;font-weight:600;background:var(--acc-bg);color:var(--acc);white-space:nowrap}
.chip.predlagano{background:var(--card2);color:var(--mut);border:1px solid var(--line)}
.chip.potrjeno{background:var(--ok-bg);color:var(--ok)}
.chip.zavrnjeno{background:var(--err-bg);color:var(--err)}
.chip.kupljeno{background:var(--acc);color:var(--acc-ink)}
.chip.novo{background:var(--warn-bg);color:var(--warn)}
.prazno{padding:40px;text-align:center;color:var(--mut);border:1px dashed var(--line2);border-radius:var(--r)}

/* ---------- projekt ---------- */
.glava-projekta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:flex-start;margin-bottom:14px}
.glava-projekta h2{font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.15}
.glava-projekta .opis{color:var(--mut);max-width:700px}
.stevci{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:6px 0 16px}
.stevec{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:12px 16px}
.stevec .st{font-size:24px;font-weight:750;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.stevec .opis{font-size:12.5px;color:var(--mut)}
.trak{height:6px;border-radius:3px;background:var(--line);overflow:hidden;margin-top:6px}
.trak>i{display:block;height:100%;background:var(--acc)}
.orodja{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.orodja .iskanje{flex:1 1 220px;max-width:340px}
.filtri{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.filtri button{min-height:30px;padding:3px 12px;font-size:13px;border-color:var(--line2);color:var(--ink)}
.filtri button.vkl{background:var(--acc);border-color:var(--acc);color:var(--acc-ink)}

.skupina{margin-bottom:22px}
.skupina-glava{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:6px 4px;border-bottom:2px solid var(--ink);margin-bottom:6px}
.skupina-glava h3{font-size:16px;font-weight:700}
.skupina-glava .vsota{font-variant-numeric:tabular-nums;font-weight:650}

.vrsta{display:grid;grid-template-columns:64px minmax(0,2.2fr) minmax(0,1.6fr) 90px 100px 110px 120px 40px;gap:12px;align-items:center;
  padding:10px 8px;border-bottom:1px solid var(--line);cursor:pointer;border-radius:10px}
.vrsta:hover{background:var(--card)}
.vrsta.zavrnjeno .ime{text-decoration:line-through;color:var(--mut)}
.vrsta.kupljeno{background:color-mix(in srgb,var(--acc-bg) 55%,transparent)}
.sl{width:64px;height:64px;border-radius:10px;background:var(--card2);border:1px solid var(--line);object-fit:cover;display:flex;align-items:center;justify-content:center;color:var(--mut);font-size:11px;overflow:hidden}
.sl img{width:100%;height:100%;object-fit:cover}
.ime{font-weight:650;line-height:1.3}
.podime{font-size:12.5px;color:var(--mut)}
.last{font-size:12.5px;color:var(--mut);line-height:1.4;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
.st{font-variant-numeric:tabular-nums;text-align:right}
.znesek{font-weight:650}
.stanje-celica{display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.kom{position:relative;color:var(--mut);font-size:13px;text-align:center}
.kom b{color:var(--warn)}
.glava-tabele{font-size:12px;color:var(--mut);cursor:default;padding-top:0;padding-bottom:4px;border-bottom:none}
.glava-tabele:hover{background:none}
.kup{display:flex;align-items:center;gap:6px;font-size:12.5px}

.splosni{margin-top:30px;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}
.splosni h3{font-size:16px;margin-bottom:8px}

/* ---------- dialogi in stranski pregled ---------- */
dialog{border:none;padding:0;background:var(--card);color:var(--ink);border-radius:var(--r);box-shadow:var(--senca);max-width:min(760px,calc(100vw - 24px));width:100%}
dialog::backdrop{background:rgba(10,15,12,.45)}
dialog .dglava{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--card);z-index:2}
dialog .dglava h3{font-size:18px}
dialog .dtelo{padding:16px 20px;display:flex;flex-direction:column;gap:14px}
dialog .dnoga{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding:12px 20px;border-top:1px solid var(--line);position:sticky;bottom:0;background:var(--card)}
dialog .dnoga .levo{margin-right:auto;display:flex;gap:8px}
dialog.predal{margin:0 0 0 auto;height:100vh;max-height:100vh;border-radius:var(--r) 0 0 var(--r);max-width:min(640px,100vw)}
.dva{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tri{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px}
.zajem{background:var(--acc-bg);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.zajem .vrsta-zajem{display:flex;gap:8px}
.zajem .vrsta-zajem input{flex:1}
.sporocilo{font-size:13px}
.sporocilo.ok{color:var(--ok)}.sporocilo.napaka{color:var(--err)}
.izbor-slik{display:flex;gap:8px;flex-wrap:wrap}
.izbor-slik img{width:72px;height:72px;object-fit:cover;border-radius:8px;border:2px solid var(--line);cursor:pointer;background:#fff}
.izbor-slik img.izbrana{border-color:var(--acc)}
.pari{display:flex;flex-direction:column;gap:6px}
.par{display:grid;grid-template-columns:1fr 1.6fr 32px;gap:6px}
.par button{min-height:38px;width:32px;padding:0}

.velika-slika{width:100%;max-height:340px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid var(--line)}
.lastnosti{width:100%;border-collapse:collapse;font-size:13.5px}
.lastnosti th{text-align:left;font-weight:550;color:var(--mut);padding:5px 10px 5px 0;width:38%;vertical-align:top}
.lastnosti td{padding:5px 0;border-bottom:1px solid var(--line)}
.dokumenti{display:flex;flex-direction:column;gap:6px}
.dokumenti a{display:flex;gap:8px;align-items:center}
.odziv{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:var(--card2);border-radius:12px;padding:10px 12px}
.znesek-vrsta{display:flex;justify-content:space-between;font-variant-numeric:tabular-nums;padding:8px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.komentarji{display:flex;flex-direction:column;gap:10px}
.komentar{background:var(--card2);border-radius:12px;padding:8px 12px}
.komentar .kdo{font-size:12px;color:var(--mut);display:flex;justify-content:space-between;gap:8px}
.komentar .kdo button{min-height:22px;padding:0 6px;font-size:11px;border:none}
.komentar p{margin:2px 0 0;white-space:pre-wrap}
.nov-komentar{display:flex;flex-direction:column;gap:8px}
.nov-komentar textarea{min-height:60px}

.clan{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.clan .povezava{font-size:12px;color:var(--mut);word-break:break-all}
.knjiznica-vrsta{display:grid;grid-template-columns:52px 1fr auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.knjiznica-vrsta .sl{width:52px;height:52px}

.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:var(--bg);padding:10px 18px;border-radius:999px;z-index:100;font-size:14px;box-shadow:var(--senca);max-width:calc(100vw - 32px)}

/* ---------- telefon ---------- */
@media (max-width:900px){
  .vrsta{grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"sl ime ime" "sl last last" "sl kol zn" "sl stanje stanje";row-gap:4px}
  .vrsta>.c-sl{grid-area:sl;align-self:start}.vrsta>.c-ime{grid-area:ime}.vrsta>.c-last{grid-area:last}
  .vrsta>.c-kol{grid-area:kol;text-align:left}.vrsta>.c-cena{display:none}.vrsta>.c-zn{grid-area:zn}
  .vrsta>.c-stanje{grid-area:stanje;flex-direction:row;justify-content:space-between;align-items:center;width:100%}.vrsta>.c-kom{display:none}
  .glava-tabele{display:none}
  .stevci{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .top{position:relative;padding:10px 16px}
  .brand h1{font-size:21px}.brand .podnaslov{display:none}.logo{width:38px;height:38px}
  main{padding:14px 16px 70px}
  .glava-projekta h2{font-size:22px}
  .dva,.tri{grid-template-columns:1fr}
  dialog{max-width:100vw;margin:auto 0 0;border-radius:var(--r) var(--r) 0 0;max-height:94vh}
  dialog.predal{height:94vh;max-height:94vh;margin:auto 0 0;border-radius:var(--r) var(--r) 0 0}
  .oseba{display:none}
  .orodja .iskanje{max-width:none}
  .filtri{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-16px;margin-right:-16px;padding:0 16px 2px}
  .filtri button{flex:none}
}

/* ---------- tisk ---------- */
@media print{
  .top,.orodja,.filtri,.demo-trak,.splosni,.c-kom,.toast{display:none!important}
  body{background:#fff;color:#000;font-size:11px}
  main{padding:0;max-width:none}
  .vrsta{break-inside:avoid;grid-template-columns:50px 2fr 1.6fr 70px 80px 90px 90px;padding:5px 0}
  .c-kom{display:none}
  .sl{width:50px;height:50px}
  .stevec{border-color:#bbb}
}
