/* Analiza tahografa – dva kontejnera */
.vu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
@media (max-width: 960px) {
  .vu-grid { grid-template-columns: 1fr; }
}
.vu-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.vu-panel-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.vu-panel-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.vu-docs-toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}
.vu-docs-list {
  flex: 1;
  overflow-y: auto;
  max-height: 360px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
}
.vu-docs-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
  cursor: grab;
}
.vu-docs-item:last-child { border-bottom: none; }
.vu-docs-item:hover { background: rgba(97,179,196,0.08); }
.vu-docs-item-main { flex: 1; min-width: 0; }
.vu-docs-item-title { font-weight: 600; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vu-docs-item-sub { font-size: 0.75rem; color: var(--muted); margin-top: 0.1rem; }
.vu-docs-item-name { font-size: 0.72rem; color: var(--muted); opacity: 0.85; margin-top: 0.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vu-drop {
  flex: 1;
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  background: var(--surface-2);
  transition: border-color .15s, background .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.vu-drop.drag {
  border-color: var(--accent, #61b3c4);
  background: rgba(97,179,196,0.1);
}
.vu-drop input[type=file] { display: none; }

/* VU pregled – čišći dizajn */
.vu-drop-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(97,179,196,0.15);
  color: var(--accent, #61b3c4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}
.vu-drop-ico .docs-ico-svg { width: 26px; height: 26px; }
.vu-drop-title { font-weight: 600; margin-bottom: 0.25rem; font-size: 0.95rem; }
.vu-drop-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.85rem; }
.vu-docs-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(97,179,196,0.14);
  color: var(--accent, #61b3c4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vu-docs-ico .docs-ico-svg { width: 20px; height: 20px; }
.vu-docs-item {
  padding: 0.65rem 0.75rem !important;
}
.vu-docs-item-title { font-size: 0.9rem !important; }
.vu-docs-item-name {
  font-size: 0.7rem !important;
  font-family: ui-monospace, monospace;
  opacity: 0.7;
}
.vu-panel-hint { margin-bottom: 0.55rem !important; }

/* VU rezultat – tabovi + KPI */
.vu-privacy-note {
  font-size: 0.8rem;
  color: var(--muted);
  background: rgba(97,179,196,0.08);
  border: 1px solid rgba(97,179,196,0.25);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.vu-result-body { padding: 0.85rem 1.1rem 1.15rem; }
.vu-result-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.55rem;
}
.vu-file-meta { font-size: 0.85rem; color: var(--muted); }
.vu-kpi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  align-items: stretch;
}
.vu-kpi {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
}
.vu-kpi-lbl { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; }
.vu-kpi strong { font-size: 0.88rem; line-height: 1.25; font-weight: 600; }
.vu-kpi-sm { font-size: 0.82rem !important; font-weight: 600; word-break: break-word; }
/* kalendar u VU periodu ne sme biti isečen */
.vu-act-bar, .vu-act-bar-row, .vu-act-dates, .vu-tab-panel, .vu-result-body, .vu-panel {
  overflow: visible !important;
}
.vu-act-dates .tacho-dp-wrap { position: relative; z-index: 5; }
.vu-act-dates .tacho-dp-popup { z-index: 10050; }
.vu-act-dates .tacho-date-input { min-width: 7.5rem; max-width: 8.5rem; font-size: 0.82rem; }
.vu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  border-bottom: none;
  padding-bottom: 0;
}
.vu-tab {
  border: 1px solid rgba(97,179,196,0.28);
  background: rgba(97,179,196,0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font: inherit;
  box-shadow: none;
  transition: background .15s, border-color .15s, color .15s;
}
.vu-tab:hover {
  border-color: rgba(97,179,196,0.5);
  background: rgba(97,179,196,0.14);
}
.vu-tab.active {
  background: rgba(97,179,196,0.2);
  border-color: rgba(97,179,196,0.55);
  color: #61B3C4;
  font-weight: 650;
}
.vu-tab-panel { display: none; }
.vu-tab-panel.active { display: block; }
.vu-table-wrap {
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.vu-more-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.vu-more-h {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.vu-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.vu-badge.vu { background: rgba(97,179,196,0.18); color: var(--accent, #61b3c4); }
.vu-badge.card { background: rgba(251,191,36,0.15); color: #fbbf24; }

/* VU Aktivnost – dani, slotovi, UTC/EU */
.vu-act-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
  padding: 0.55rem 0.7rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.vu-act-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.vu-act-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.vu-act-date {
  height: 34px;
  padding: 0 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
}
.vu-act-sep { color: var(--muted); }
.vu-act-count {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.vu-act-hint { margin: 0 0 0.65rem; }
.vu-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 0.15rem;
}
.vu-day {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
}
.vu-day[open] { border-color: rgba(97,179,196,0.45); }
.vu-day-sum {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.vu-day-sum::-webkit-details-marker { display: none; }
.vu-day-sum:hover { background: rgba(97,179,196,0.06); }
.vu-day-date {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 6.5rem;
}
.vu-day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  flex: 1;
}
.vu-day-chip {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
}
.vu-chip-s1 { color: #61b3c4; border-color: rgba(97,179,196,0.35); }
.vu-chip-s2 { color: #a78bfa; border-color: rgba(167,139,250,0.35); }
.vu-day-chip.muted { opacity: 0.7; }
.vu-day-chev {
  color: var(--muted);
  font-size: 1.1rem;
  transition: transform .15s;
  margin-left: auto;
}
.vu-day[open] .vu-day-chev { transform: rotate(90deg); }
.vu-day-body {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid var(--border);
}
.vu-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
@media (max-width: 900px) {
  .vu-slots { grid-template-columns: 1fr; }
}
.vu-slot {
  border: 1px solid var(--border);
  border-left: 3px solid rgba(97,179,196,0.45);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 0.65rem 0.75rem;
  min-height: 80px;
}
.vu-slot-empty { opacity: 0.85; }
.vu-slot-empty-msg {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.5rem 0;
}
.vu-slot-head {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.vu-slot-count {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--muted);
}
.vu-slot-driver {
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(97,179,196,0.08);
}
.vu-slot-driver-lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
  margin-right: 0.35rem;
}
.vu-slot-code {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--muted);
}
.vu-slot-table { max-height: 280px; overflow: auto; }
.vu-time-dual {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  white-space: nowrap;
}
.vu-tz {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.vu-time-arrow { color: var(--muted); font-size: 0.75rem; }
.vu-time-eu { color: var(--accent, #61b3c4); font-weight: 600; }
[data-time-display="utc"] .vu-time-arrow,
[data-time-display="utc"] .vu-time-eu { display:none !important; }
.vu-act-pill {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.vu-act-pill-drive { background: rgba(34,197,94,0.15); color: #22c55e; }
.vu-act-pill-work { background: rgba(249,115,22,0.15); color: #f97316; }
.vu-act-pill-avail { background: rgba(59,130,246,0.15); color: #3b82f6; }
.vu-act-pill-rest { background: rgba(148,163,184,0.2); color: #94a3b8; }
.vu-act-pill-other { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }
.vu-td-code { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--muted); }

/* VU day row – button-based accordion (vidljiv tekst) */
button.vu-day-sum {
  display: flex !important;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.7rem 0.9rem !important;
  cursor: pointer;
  border: none !important;
  background: transparent !important;
  color: var(--text) !important;
  font: inherit;
  text-align: left;
  box-shadow: none !important;
}
button.vu-day-sum:hover {
  background: rgba(97,179,196,0.08) !important;
}
.vu-day-date {
  color: var(--text) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  min-width: 6.5rem;
}
.vu-day.is-open {
  border-color: rgba(97,179,196,0.5);
}
.vu-day.is-open .vu-day-chev {
  transform: rotate(90deg);
}
.vu-day-body {
  padding: 0 0.85rem 0.85rem;
  border-top: 1px solid var(--border);
}

/* VU Aktivnost – toolbar kao izveštaj */
.vu-act-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.85rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.vu-act-bar-left {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem 0.85rem;
}
.vu-act-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.vu-act-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.vu-act-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.35rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  min-width: 0;
}
.vu-act-chip-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.vu-act-chip strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.vu-act-full {
  height: 38px !important;
  padding: 0 0.85rem !important;
  font-size: 0.85rem !important;
}
.vu-act-bar .tv-ok {
  height: 38px;
  min-width: 96px;
}
.vu-act-bar .tv-dates input[type="date"] {
  height: 38px;
}
.vu-act-count {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

/* VU Aktivnost – jedan red, tacho datepicker, plavi meseci */
.vu-act-bar {
  margin-bottom: 0.55rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.vu-act-bar-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  overflow-x: auto;
}
.vu-act-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  flex-shrink: 0;
}
.vu-act-dates {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.vu-act-sep { color: var(--muted); flex-shrink: 0; }
.vu-act-bar .tv-ok {
  height: 34px !important;
  min-width: 88px;
  padding: 0 0.9rem !important;
  flex-shrink: 0;
}
.vu-act-full-ico {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  flex-shrink: 0;
  color: var(--accent, #61b3c4) !important;
}
.vu-act-full-ico:hover {
  background: rgba(97,179,196,0.12) !important;
}
.vu-act-months {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 4px !important;
  margin: 0 !important;
  flex-shrink: 0;
}
.vu-act-months .docs-year {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 2px 0 6px;
  align-self: center;
}
.vu-act-months .docs-month {
  width: 24px !important;
  height: 24px !important;
  border-radius: 6px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  background: rgba(97,179,196,0.22) !important;
  color: #61b3c4 !important;
  border: 1px solid rgba(97,179,196,0.3);
}
.vu-act-bar .tacho-dp-wrap input.tacho-date-input {
  height: 34px;
  min-width: 118px;
}
.vu-act-count {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}


.vu-kpi-sub {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.vu-period-note {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text);
  background: rgba(243, 156, 18, 0.12);
  border: 1px solid rgba(243, 156, 18, 0.4);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  margin: 0 0 0.75rem;
  width: 100%;
  box-sizing: border-box;
  display: block;
}
.vu-period-note strong { color: var(--warning, #f39c12); font-weight: 600; }




.vu-day-head { display: flex; align-items: stretch; }
.vu-day-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem 0 0.65rem;
  cursor: pointer;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  background: rgba(97,179,196,0.04);
}
.vu-day-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent, #61b3c4);
  cursor: pointer;
}
.report-infringement-table td.report-inf-date-cell {
  position: relative;
  padding: 0;
  white-space: nowrap;
}
.report-inf-day-head {
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 54px;
}
.report-inf-day-head .vu-day-check {
  align-self: stretch;
}
.report-inf-day-head > span {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
}
.report-inf-day-head > .report-inf-date-time {
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
}
.report-inf-date,
.report-inf-time {
  line-height: 1.2;
}
.report-inf-time {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 400;
}
.report-day-table,
.report-daily-table,
.report-infringement-table {
  border-collapse: separate;
  border-spacing: 0 8px;
}
.report-day-table {
  width: 100%;
  table-layout: fixed;
}
.report-day-table th,
.report-day-table tbody td {
  padding: 0.5rem 0.3rem;
}
.report-day-table > thead > tr > th {
  vertical-align: middle;
}
.report-day-table > thead > tr > th:first-child {
  border-radius: 10px 0 0 10px;
}
.report-day-table > thead > tr > th:last-child {
  border-radius: 0 10px 10px 0;
}
.report-day-table > thead > tr > th:first-child {
  padding-left: 3.75rem;
  text-align: center;
}
.report-day-table > thead > tr > th.report-select-all-header,
.report-daily-table > thead > tr > th.report-select-all-header,
.report-infringement-table > thead > tr > th:first-child {
  position: relative;
}
.tv-bar .tv-preset.active,
.tv-bar .tv-ok {
  background: var(--accent);
  color: var(--btn-primary-text);
  border-color: var(--accent);
}
.report-select-all-header > .report-select-all-control,
.report-infringement-table > thead > tr > th:first-child > .report-select-all-control {
  position: absolute;
  inset: 0 auto 0 0;
  width: 54px;
  height: 100%;
  min-height: 0;
  justify-content: center;
  padding: 0;
  margin: 0;
  z-index: 1;
}
.report-select-all-header > .report-select-all-control .vu-select-all-lab,
.report-infringement-table > thead > tr > th:first-child > .report-select-all-control .vu-select-all-lab {
  width: 54px;
  height: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
}
.report-day-table > thead > tr > th:nth-child(2),
.report-day-table tbody tr.report-day-row > td:nth-child(2) {
  text-align: center;
  vertical-align: middle;
}
.report-day-table > thead > tr > th:nth-child(n + 3):nth-child(-n + 8),
.report-day-table tbody tr.report-day-row > td:nth-child(n + 3):nth-child(-n + 8) {
  text-align: center;
}
.report-day-table > thead > tr > th:nth-child(1),
.report-day-table > tbody > tr.report-day-row > td:nth-child(1) { width: 15%; }
.report-day-table > thead > tr > th:nth-child(2),
.report-day-table > tbody > tr.report-day-row > td:nth-child(2) { width: 11%; }
.report-day-table > thead > tr > th:nth-child(3),
.report-day-table > tbody > tr.report-day-row > td:nth-child(3) { width: 8%; }
.report-day-table > thead > tr > th:nth-child(4),
.report-day-table > tbody > tr.report-day-row > td:nth-child(4) { width: 14%; }
.report-day-table > thead > tr > th:nth-child(5),
.report-day-table > tbody > tr.report-day-row > td:nth-child(5),
.report-day-table > thead > tr > th:nth-child(6),
.report-day-table > tbody > tr.report-day-row > td:nth-child(6),
.report-day-table > thead > tr > th:nth-child(7),
.report-day-table > tbody > tr.report-day-row > td:nth-child(7),
.report-day-table > thead > tr > th:nth-child(8),
.report-day-table > tbody > tr.report-day-row > td:nth-child(8) { width: 12%; }
.report-day-table > thead > tr > th:nth-child(9),
.report-day-table > tbody > tr.report-day-row > td:nth-child(9) { width: 4%; }
.report-total-work-header {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
  gap: 0.12rem;
  line-height: 1.1;
}
.report-day-icon-stack {
  color: var(--accent, #61b3c4);
}
.report-day-icon-stack .th-lbl {
  width: 100%;
}
.report-day-table > thead > tr > th:nth-child(-n + 3) .report-day-icon-stack {
  min-width: 100%;
}
.report-total-work-header > .activity-row-stat-combo-icon {
  width: 47px;
  height: 16px;
}
.report-total-work-header > .activity-row-stat-combo-icon > span {
  flex-basis: 16px;
  width: 16px;
  height: 16px;
}
.report-total-work-header > .activity-row-stat-combo-icon svg {
  width: 16px;
  height: 16px;
}
.activity-summary .report-mileage-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.activity-summary .report-mileage-summary > .th-icon,
.activity-summary .report-mileage-summary > .th-icon > svg {
  display: inline-flex;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--accent, #61b3c4);
}
.activity-summary .report-mileage-summary > .th-icon {
  margin-right: 0;
}
.report-day-table .seg-head > td {
  padding: 0;
}
.report-day-table .seg-head > td > table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.report-day-table .seg-head > td > table th,
.report-day-table .seg-head > td > table td {
  text-align: center;
  vertical-align: middle;
}
.report-day-table .seg-head > td > table th:first-child,
.report-day-table .seg-head > td > table td:first-child {
  width: 9%;
}
.report-day-table .seg-head > td > table th:nth-child(2),
.report-day-table .seg-head > td > table td:nth-child(2) {
  width: 13%;
}
.report-day-table .seg-head > td > table th:nth-child(3),
.report-day-table .seg-head > td > table td:nth-child(3),
.report-day-table .seg-head > td > table th:nth-child(5),
.report-day-table .seg-head > td > table td:nth-child(5) {
  width: 10%;
}
.report-day-table .seg-head > td > table th:nth-child(4),
.report-day-table .seg-head > td > table td:nth-child(4) {
  width: 12%;
}
.report-day-table .seg-head > td > table th:nth-child(6),
.report-day-table .seg-head > td > table td:nth-child(6),
.report-day-table .seg-head > td > table th:nth-child(7),
.report-day-table .seg-head > td > table td:nth-child(7),
.report-day-table .seg-head > td > table th:nth-child(8),
.report-day-table .seg-head > td > table td:nth-child(8) {
  width: 10%;
}
.report-day-table .seg-head > td > table th:nth-child(9),
.report-day-table .seg-head > td > table td:nth-child(9) {
  width: 16%;
}
.report-driver-activity-layout {
  align-items: stretch;
}
.report-driver-activity-layout .gantt-wrap {
  margin-bottom: 0;
}
.report-daily-activity-layout {
  box-sizing: border-box;
  padding: 0 0.625rem;
  align-items: stretch;
}
.report-daily-activity-layout .gantt-wrap {
  margin-bottom: 0;
}
.report-daily-activity-layout .mini-cal {
  height: 100%;
  box-sizing: border-box;
}
.report-daily-activity-page #da-body {
  margin: 1rem 0.625rem 0;
}
.report-daily-activity-page .report-daily-activity-summary {
  box-sizing: border-box;
  margin-right: 0.625rem;
  margin-left: 0.625rem;
}
.report-daily-activity-page .report-daily-activity-table-wrap {
  width: 100%;
  box-sizing: border-box;
}
.report-daily-activity-page .report-daily-table {
  width: 100%;
  table-layout: fixed;
}
.report-daily-activity-page .report-daily-table thead th {
  height: 46px;
  padding: 0.5rem 0.3rem;
  vertical-align: middle;
}
.report-daily-activity-page .report-daily-table thead th:first-child {
  border-radius: 10px 0 0 10px;
}
.report-daily-activity-page .report-daily-table thead th:last-child {
  border-radius: 0 10px 10px 0;
}
.report-daily-activity-page .report-daily-table thead th:first-child {
  padding-left: 0.3rem;
  text-align: center;
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack {
  display: flex;
  width: 100%;
  color: var(--accent, #61b3c4);
  align-items: center;
  justify-content: center;
}
.report-daily-activity-page .report-daily-table thead th:first-child .report-day-icon-stack {
  transform: translateX(27px);
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack > .th-icon {
  margin-right: 0;
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack > .report-total-work-icons {
  width: 48px;
  justify-content: center;
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack .th-lbl {
  width: auto;
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack > .th-icon > svg {
  width: 16px;
  height: 16px;
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack > .th-icon > .activity-row-stat-combo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 16px;
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack > .th-icon > .activity-row-stat-combo-icon > span {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}
.report-daily-activity-page .report-daily-table .report-day-icon-stack > .th-icon > .activity-row-stat-combo-icon svg {
  width: 16px;
  height: 16px;
}
.report-daily-activity-page .report-daily-activity-summary .report-mileage-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.report-daily-activity-page .report-daily-activity-summary .report-mileage-summary .th-icon,
.report-daily-activity-page .report-daily-activity-summary .report-mileage-summary svg {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--accent, #61b3c4);
}
.report-daily-activity-page .report-daily-activity-summary .report-mileage-summary .th-icon {
  margin-right: 0;
}
.report-daily-activity-page .report-daily-table thead th:nth-child(n + 2):nth-child(-n + 6),
.report-daily-activity-page .report-daily-table tbody tr.report-day-row > td:nth-child(n + 2):nth-child(-n + 6) {
  text-align: center;
}
.report-daily-activity-page .report-daily-table .da-schema-wrap > .da-schema {
  margin-right: auto;
  margin-left: auto;
}
.report-daily-activity-page .report-daily-table .da-schema-scale {
  max-width: 200px;
  margin-right: auto;
  margin-left: auto;
}
.report-day-table tbody tr.report-day-row > td,
.report-daily-table tbody tr.report-day-row > td,
.report-infringement-table tbody tr > td {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.report-day-table tbody tr.report-day-row > td:first-child,
.report-daily-table tbody tr.report-day-row > td:first-child,
.report-infringement-table tbody tr > td:first-child {
  border-left: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
}
.report-day-table tbody tr.report-day-row > td:last-child,
.report-daily-table tbody tr.report-day-row > td:last-child,
.report-infringement-table tbody tr > td:last-child {
  border-right: 1px solid var(--border);
  border-radius: 0 10px 10px 0;
}
.report-day-table tbody tr.report-day-row:hover > td,
.report-daily-table tbody tr.report-day-row:hover > td,
.report-infringement-table tbody tr:hover > td {
  background: var(--surface-2);
}
.report-day-table tbody tr.report-day-row > td,
.report-daily-table tbody tr.report-day-row > td {
  vertical-align: middle;
}
.report-day-table tbody tr.report-day-row > .report-day-date-cell,
.report-daily-table tbody tr.report-day-row > .report-day-date-cell {
  padding: 0;
}
.report-infringement-table tbody tr > .report-inf-date-cell {
  padding: 0;
}
.report-infringement-table {
  min-width: 1120px;
  table-layout: fixed;
}
.report-infringement-table-wrap {
  margin: 0.625rem;
  border-radius: 10px;
}
.report-infringement-table > thead > tr > th {
  height: 46px;
  padding: 0.5rem 0.65rem;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  vertical-align: middle;
}
.report-infringement-table > thead > tr > th:first-child {
  border-radius: 10px 0 0 10px;
}
.report-infringement-table > thead > tr > th:last-child {
  border-radius: 0 10px 10px 0;
}
.report-infringement-table th,
.report-infringement-table tbody td {
  padding: 0.65rem 0.85rem;
  text-align: center;
  vertical-align: middle;
}
.report-infringement-table th:nth-child(1),
.report-infringement-table td:nth-child(1) { width: 20%; }
.report-infringement-table th:nth-child(2),
.report-infringement-table td:nth-child(2) { width: 11%; }
.report-infringement-table th:nth-child(3),
.report-infringement-table td:nth-child(3) { width: 7%; }
.report-infringement-table th:nth-child(4),
.report-infringement-table td:nth-child(4) { width: 13%; }
.report-infringement-table th:nth-child(5),
.report-infringement-table td:nth-child(5) { width: 22%; }
.report-infringement-table th:nth-child(6),
.report-infringement-table td:nth-child(6) { width: 13%; }
.report-infringement-table th:nth-child(7),
.report-infringement-table td:nth-child(7) { width: 14%; }
.report-infringement-table tbody td:nth-child(2),
.report-infringement-table tbody td:nth-child(6) {
  white-space: nowrap;
}
.report-infringement-table .badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 0.18rem 0.55rem;
  line-height: 1.15;
  white-space: nowrap;
}
.report-inf-day-head {
  position: absolute;
  inset: 0;
  min-height: 0;
}
.report-inf-day-head .vu-day-check {
  position: absolute;
  inset: 0 auto 0 0;
  flex: 0 0 54px;
  width: 54px;
  min-height: 0;
  padding: 0;
  border-radius: 9px 0 0 9px;
  border-right: 1px solid rgba(97,179,196,0.16);
  background: rgba(97,179,196,0.04);
}
.report-inf-day-head > span {
  box-sizing: border-box;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 0.55rem 0.35rem;
  text-align: center;
}
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
  font-size: 0.88rem;
}
.report-day-head {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 54px;
}
.report-day-check {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 54px;
  width: 54px;
  align-self: stretch;
  box-sizing: border-box;
  padding: 0;
  border-radius: 9px 0 0 9px;
  border-right: 1px solid rgba(97,179,196,0.16);
  background: rgba(97,179,196,0.04);
}
.report-day-date {
  position: absolute;
  inset: 0 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-sizing: border-box;
  padding: 0.65rem 0.25rem;
  pointer-events: none;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
}
.report-daily-detail-table {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
  border-collapse: collapse;
}
.report-daily-detail-table th,
.report-daily-detail-table td {
  box-sizing: border-box;
  padding: 0.55rem 0.4rem;
  text-align: center;
  vertical-align: middle;
}
.report-daily-detail-table th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.report-daily-detail-table .th-icon-stack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
.report-daily-detail-table .th-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.report-daily-detail-table tbody td:nth-child(2) > .th-icon {
  width: 16px;
  height: 16px;
}
.report-daily-detail-table thead th:nth-child(1),
.report-daily-detail-table tbody td:nth-child(1) { width: 10%; }
.report-daily-detail-table thead th:nth-child(2),
.report-daily-detail-table tbody td:nth-child(2) { width: 10%; }
.report-daily-detail-table thead th:nth-child(3),
.report-daily-detail-table tbody td:nth-child(3) { width: 11%; }
.report-daily-detail-table thead th:nth-child(4),
.report-daily-detail-table tbody td:nth-child(4) { width: 11%; }
.report-daily-detail-table thead th:nth-child(5),
.report-daily-detail-table tbody td:nth-child(5) { width: 12%; }
.report-daily-detail-table thead th:nth-child(6),
.report-daily-detail-table tbody td:nth-child(6) { width: 11%; }
.report-daily-detail-table thead th:nth-child(7),
.report-daily-detail-table tbody td:nth-child(7) { width: 12%; }
.report-daily-detail-table thead th:nth-child(8),
.report-daily-detail-table tbody td:nth-child(8) { width: 11%; }
.report-daily-detail-table thead th:nth-child(9),
.report-daily-detail-table tbody td:nth-child(9) { width: 12%; }
.report-activity-detail-page .ac-back-bar {
  box-sizing: border-box;
  min-height: 38px;
  padding-left: 0.25rem;
}
.report-activity-detail-page .ac-back-bar .report-daily-mileage {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
}
.report-activity-detail-page .ac-back-bar .report-daily-mileage-icon {
  display: inline-flex;
  flex: 0 0 16px;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--accent, #61b3c4);
}
.report-activity-detail-page .ac-back-bar .report-daily-mileage-icon svg {
  display: block;
  width: 16px;
  height: 16px;
}
.report-activity-detail-page .ac-back-bar .report-mileage-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.report-activity-detail-page .ac-back-bar .report-mileage-summary > .th-icon,
.report-activity-detail-page .ac-back-bar .report-mileage-summary > .th-icon > svg {
  display: inline-flex;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--accent, #61b3c4);
}
.report-activity-detail-page .ac-back-bar .report-mileage-summary > .th-icon {
  margin-right: 0;
}
.report-day-chevron { font-size: 0.7rem; }
.report-day-open-chevron {
  width: 28px;
  padding: 0 0.55rem !important;
  text-align: center;
  color: var(--muted);
  font-size: 1.35rem !important;
  font-weight: 600;
}
.report-day-open-chevron.is-open {
  transform: rotate(90deg);
}
.report-chart-days {
  gap: 0.55rem;
  box-sizing: border-box;
  padding: 0 0.625rem;
}
.report-chart-select-all-row {
  display: grid;
  grid-template-columns: 164px 84px minmax(0, 1fr);
  column-gap: 0.2rem;
  align-items: center;
  height: 40px;
  padding: 0 0.625rem;
  margin: 0;
  box-sizing: border-box;
}
.report-chart-select-all-row .vu-select-all-lab {
  display: flex;
  width: 54px;
  height: 100%;
  margin-left: 11px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.report-activity-chart-layout {
  box-sizing: border-box;
  padding: 0 0.625rem;
  align-items: stretch;
}
.report-activity-chart-layout .gantt-wrap {
  margin-bottom: 0;
}
.report-chart-days > .ac-hours {
  display: none;
}
.report-activity-chart-inset {
  padding-right: 0.625rem;
  padding-left: 0.625rem;
}
.report-activity-summary {
  box-sizing: border-box;
  margin-right: 0.625rem;
  margin-left: 0.625rem;
}
.report-chart-days .ac-hours {
  grid-template-columns: 164px 84px minmax(0, 1fr);
  column-gap: 0.2rem;
}
.report-chart-day-row {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  grid-template-columns: 164px 84px minmax(0, 1fr);
  align-items: center;
  gap: 0.2rem;
  padding: 0;
}
.report-chart-day-row:hover { background: var(--surface-2); }
.report-chart-day-row .ac-row-left {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: 1fr auto auto 1fr;
  align-items: center;
  align-content: center;
  justify-content: stretch;
  align-self: stretch;
  min-width: 0;
  padding: 0;
  border-right: 1px solid var(--border);
  background: transparent;
}
.report-chart-day-row .ac-row-date {
  display: contents;
}
.report-chart-day-row .report-day-check {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: stretch;
  justify-self: stretch;
}
.report-chart-day-row .ac-row-date-label {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: end;
  min-width: 0;
  padding: 0 0.15rem 0.1rem;
  font-size: 0.8rem;
  text-align: center;
  white-space: nowrap;
}
.report-inf-badge {
  margin-inline-start: 0.25rem;
}
.report-chart-day-row .activity-mileage-value {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  margin: 0;
  padding: 0 0.15rem;
  font-size: 0.75rem;
  text-align: center;
}
.report-chart-day-row .ac-row-meta {
  display: grid !important;
  grid-template-rows: repeat(4, minmax(16px, 1fr));
  align-content: center;
  justify-content: start;
  gap: 0.08rem;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0.3rem 0;
}
.report-chart-day-row .ac-row-meta .activity-row-stat {
  justify-content: flex-start;
  min-height: 0;
  height: 16px;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.82rem;
}
.report-chart-day-row .ac-timeline-wrap {
  min-width: 0;
  padding: 0.45rem 0.4rem;
}
.report-day-table .activity-row-stat,
.report-daily-table .activity-row-stat {
  min-height: 30px;
}
.report-day-table .activity-row-stat-icon,
.report-daily-table .activity-row-stat-icon {
  flex-basis: 10px;
  width: 10px;
  height: 10px;
}
.report-day-table .activity-row-stat-icon > svg,
.report-daily-table .activity-row-stat-icon > svg {
  width: 10px;
  height: 10px;
}
.report-day-table .activity-row-stat-total-work .activity-row-stat-icon,
.report-daily-table .activity-row-stat-total-work .activity-row-stat-icon {
  flex-basis: 22px;
  width: 22px;
}
.activity-mileage-value {
  display: inline-block;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.activity-row-stat-combo-icon {
  display: inline-flex;
  align-items: center;
  width: 22px;
  height: 12px;
}
.activity-row-stat-combo-icon > span {
  display: inline-flex;
  flex: 0 0 8px;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 10px;
  color: inherit;
}
.activity-row-stat-combo-icon > span + span {
  margin-left: -1px;
}
.activity-row-stat-combo-icon svg {
  width: 8px;
  height: 8px;
}
.activity-row-stat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 28px;
  padding: 0.22rem 0.55rem;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--stat-color) 40%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--stat-color) 9%, var(--surface));
  color: var(--stat-color);
  font-size: 0.78rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
}
.activity-row-stat-icon {
  display: inline-flex;
  flex: 0 0 15px;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  color: var(--stat-color);
}
.activity-row-stat-icon svg {
  width: 15px;
  height: 15px;
}
.report-chart-day-row .ac-row-meta .activity-row-stat-icon,
.report-chart-day-row .ac-row-meta .activity-row-stat-icon svg {
 width: 14px;
 height: 14px;
}
.report-chart-day-row .ac-row-meta .activity-row-stat-icon {
 flex-basis: 14px;
}
.report-chart-day-row .ac-row-meta .activity-row-stat-icon .activity-row-stat-combo-icon svg {
  width: 8px;
  height: 8px;
}
@media (max-width: 700px) {
  .report-chart-select-all-row {
    grid-template-columns: minmax(190px, 1fr) 84px minmax(0, 1fr);
  }
  .report-chart-days .ac-hours {
    grid-template-columns: minmax(0, 1fr);
  }
  .report-chart-days .ac-hours > div:first-child,
  .report-chart-days .ac-hours > div:nth-child(2) {
    display: none;
  }
  .report-chart-days .ac-hours-scale {
    grid-column: 1;
  }
  .report-chart-day-row {
    grid-template-columns: minmax(190px, 1fr) 84px minmax(0, 1fr);
    gap: 0.25rem;
    padding: 0 0.35rem 0.45rem 0;
  }
  .report-chart-day-row .ac-row-left {
    grid-column: 1;
    grid-row: 1;
  }
  .report-chart-day-row .ac-row-meta {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    padding: 0.3rem 0;
  }
  .report-chart-day-row .ac-timeline-wrap {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0 0 0 0.35rem;
  }
  .report-day-table,
  .report-daily-table,
  .report-infringement-table {
    min-width: 700px;
  }
}
.vu-dl-wrap {
  position: relative;
  margin-left: auto;
}
.vu-dl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 34px;
  padding: 0 0.45rem !important;
}
.vu-dl-btn .ui-filter-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent, #61b3c4);
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.vu-dl-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.4rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 88px;
}
.vu-dl-menu[hidden] { display: none !important; }
.vu-dl-opt {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
}
.vu-dl-cube {
  display: block;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.vu-dl-cube.pdf {
  background: rgba(231, 76, 60, 0.15);
  color: var(--danger, #e74c3c);
  border: 1px solid rgba(231, 76, 60, 0.35);
}
.vu-dl-cube.xlsx {
  background: rgba(46, 204, 113, 0.15);
  color: var(--success, #2ecc71);
  border: 1px solid rgba(46, 204, 113, 0.35);
}
.vu-dl-opt:hover .vu-dl-cube { filter: brightness(1.1); }


.vu-act-right {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.vu-act-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
  width: 100%;
}
.vu-dl-wrap {
  position: relative;
  margin-left: 0;
}
.vu-dl-btn.audit-dl-icon-btn {
  position: relative;
}
.report-dl-wrap .audit-dl-icon-btn {
  width: 34px;
  height: 34px;
}
.report-inf-dl-menu.audit-dl-menu {
  width: max-content;
  min-width: 0;
  max-width: none;
  padding: 0.28rem;
}
.report-inf-dl-menu .audit-dl-cube {
  width: auto;
  min-width: 0;
  justify-content: flex-start;
  padding: 0 0.5rem;
  white-space: nowrap;
}
.report-inf-dl-menu .audit-dl-cube.report-cover-letter-dl {
  background: color-mix(in srgb, var(--accent, #61b3c4) 15%, transparent);
}
.report-inf-dl-menu .audit-dl-cube.report-cover-letter-dl:hover {
  background: color-mix(in srgb, var(--accent, #61b3c4) 25%, transparent);
}
.report-inf-dl-menu .audit-dl-cube.report-cover-letter-dl .icon {
  color: var(--accent, #61b3c4);
}
.report-inf-dl-menu .audit-dl-cube.report-cover-letter-dl > span {
  color: var(--accent, #61b3c4);
}
.report-inf-dl-menu .audit-dl-cube.report-cover-letter-dl .icon svg {
  color: var(--accent, #61b3c4);
  stroke: var(--accent, #61b3c4);
}
.vu-dl-btn .ui-filter-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent, #61b3c4);
  color: #0a0a0a;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}


.vu-select-all-row {
  display: flex;
  align-items: center;
  padding: 0 0 4px 0;
  margin: 0 0 2px 0;
}
.vu-select-all-row .vu-day-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.55rem 0.35rem 0.65rem;
  border-right: none;
  background: transparent;
  cursor: pointer;
}
.vu-select-all-row input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent, #61b3c4);
  cursor: pointer;
}




/* ========== VU loader page — modern ========== */
.vu-section .vu-page-body {
  padding: 1rem 1.2rem 1.35rem;
}
.vu-loaders .vu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .vu-loaders .vu-grid { grid-template-columns: 1fr; }
}
.vu-panel {
  background: linear-gradient(165deg, rgba(255,255,255,0.035) 0%, rgba(0,0,0,0.14) 100%);
  border: 1px solid var(--border, #2a3344);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.vu-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vu-panel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text, #e8eef7);
}
.vu-panel-hint {
  margin: 0.28rem 0 0;
  color: var(--text);
  color: var(--muted, #9aa8bc);
  line-height: 1.35;
}
.vu-docs-toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.vu-docs-count {
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(97,179,196,0.12);
  border: 1px solid rgba(97,179,196,0.22);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}
.vu-docs-count:empty { display: none; }
.vu-btn-refresh {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem !important;
  font-size: 0.78rem !important;
  border-radius: 8px !important;
}
.vu-docs-list {
  flex: 1;
  overflow: auto;
  max-height: 340px;
  padding: 0.45rem 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.vu-docs-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.vu-docs-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.75rem;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.025);
  cursor: grab;
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.vu-docs-item:hover {
  background: rgba(97,179,196,0.1);
  border-color: rgba(97,179,196,0.28);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.vu-docs-item:active { cursor: grabbing; transform: scale(0.995); }
.vu-docs-ico {
  width: 40px !important;
  height: 40px !important;
  border-radius: 11px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(97,179,196,0.22), rgba(97,179,196,0.08)) !important;
  border: 1px solid rgba(97,179,196,0.25) !important;
  color: var(--accent, #61b3c4);
}
.vu-docs-item-main { flex: 1; min-width: 0; }
.vu-docs-item-title {
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vu-docs-item-sub {
  font-size: 0.74rem !important;
  color: var(--muted);
  margin-top: 0.12rem !important;
}
.vu-docs-item-name { margin-top: 0.28rem !important; }
.vu-file-chip {
  display: inline-block;
  max-width: 100%;
  font-size: 0.68rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vu-btn-read {
  padding: 0.38rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  border-radius: 9px !important;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(97,179,196,0.25);
}
.vu-panel-upload .vu-drop {
  margin: 0.75rem 1rem 1rem !important;
  flex: 1;
  min-height: 220px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed rgba(97,179,196,0.35) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(97,179,196,0.1) 0%, transparent 55%),
    rgba(0,0,0,0.15) !important;
  padding: 1.5rem 1rem !important;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.vu-drop.drag {
  border-color: var(--accent, #61b3c4) !important;
  border-style: solid !important;
  background: rgba(97,179,196,0.14) !important;
  box-shadow: 0 0 0 4px rgba(97,179,196,0.12), inset 0 0 24px rgba(97,179,196,0.08);
  transform: scale(1.01);
}
.vu-drop-visual {
  position: relative;
  display: flex;
  height: 64px;
  margin-bottom: 0.85rem;
}
.vu-drop-ico {
  position: relative;
  z-index: 1;
  width: 64px !important;
  height: 64px !important;
  border-radius: 18px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(97,179,196,0.28), rgba(97,179,196,0.1)) !important;
  border: 1px solid rgba(97,179,196,0.3) !important;
  color: var(--accent, #61b3c4);
.vehicle-detail-fields { display: flex; flex-direction: column; gap: 0; }
  margin: 0 auto;
}
.vu-drop-ico .docs-ico-svg { width: 28px; height: 28px; }
.vu-drop-ring {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
.vehicle-detail-fields .vehicle-profile-field {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 0.5rem;
  padding: 0.55rem 0.15rem;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-radius: 0;
  background: transparent;
}
.vehicle-detail-fields .vehicle-profile-field:last-child { border-bottom: 0; }
  border: 1px solid rgba(97,179,196,0.15);
  pointer-events: none;
}
.vehicle-detail-fields .vehicle-profile-field strong { color:var(--text); text-align: left; line-height: 1.35; }
  font-weight: 650 !important;
  font-size: 1rem !important;
  margin-bottom: 0.2rem !important;
}
.vu-drop-sub {
  font-size: 0.82rem !important;
  color: var(--muted);
  margin-bottom: 0.75rem !important;
}
.vu-drop-formats {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.vu-fmt {
  font-size: 0.68rem;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--accent, #61b3c4);
  background: rgba(97,179,196,0.12);
  border: 1px solid rgba(97,179,196,0.22);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}
.vu-btn-pick {
  border-radius: 10px !important;
  padding: 0.5rem 1.15rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(97,179,196,0.3);
}
.vu-drop input[type=file] { display: none !important; }
.vu-status {
  padding: 0 1rem 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.vu-privacy-note {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem !important;
  padding: 0.65rem 0.9rem !important;
  border-radius: 10px !important;
  font-size: 0.82rem !important;
  color: var(--muted);
  background: linear-gradient(90deg, rgba(97,179,196,0.1), rgba(97,179,196,0.04)) !important;
  border: 1px solid rgba(97,179,196,0.22) !important;
  line-height: 1.4;
}
.vu-privacy-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent, #61b3c4);
}


/* ========== VU docs panel — match upload polish ========== */
/* Memorija / Ručno — isti stil kao db-card, bez plavičaste senke */
.vu-panel-docs,
.vu-panel-upload {
  background: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}
.vu-panel-docs .vu-panel-head,
.vu-panel-upload .vu-panel-head {
  background: transparent !important;
  background-image: none !important;
  border-bottom: 1px solid var(--border) !important;
}
.vu-panel-docs .vu-docs-list {
  margin: 0.55rem 0.7rem 0.85rem !important;
  padding: 0.45rem !important;
  max-height: 320px;
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  background: var(--surface-2) !important;
  background-image: none !important;
  gap: 0.4rem !important;
  box-shadow: none !important;
}
.vu-panel-docs .vu-docs-item {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  padding: 0.7rem 0.8rem !important;
  box-shadow: none !important;
  transform: none !important;
}
.vu-panel-docs .vu-docs-item:hover {
  background: var(--surface) !important;
  border-color: var(--muted) !important;
  box-shadow: none !important;
  transform: none !important;
}
.vu-panel-docs .vu-docs-ico {
  width: 36px !important;
  height: 36px !important;
  border-radius: 10px !important;
  background: var(--surface-2) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  border: 1px solid var(--border);
}
.vu-panel-docs .vu-docs-item-title {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: normal;
  color: var(--text) !important;
}
.vu-panel-docs .vu-docs-item-sub {
  font-size: 0.74rem !important;
  margin-top: 0.12rem !important;
  color: var(--muted) !important;
}
.vu-panel-docs .vu-file-chip {
  font-size: 0.7rem;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
}
.vu-panel-upload .vu-drop,
.vu-panel-docs + .vu-panel-upload .vu-drop {
  margin: 0.65rem 0.75rem 0.85rem !important;
  border: 1px dashed var(--border) !important;
  border-radius: 10px !important;
  background: var(--surface-2) !important;
  background-image: none !important;
  box-shadow: none !important;
}
@media (min-width: 901px) {
  .vu-section .vu-panel-upload .vu-drop {
    margin: 0.65rem 0.75rem 0.75rem !important;
  }
  .vu-section .vu-panel-upload #vu-status:empty {
    display: none;
  }
}
.vu-panel-upload .vu-drop.drag {
  border-color: var(--accent) !important;
  background: var(--surface-2) !important;
}
.vu-panel-upload .vu-drop-ico {
  background: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  color: var(--muted) !important;
}
.vu-panel-upload .vu-ext,
.vu-panel-upload .vu-ext-pills span {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
}

/* VU parse loading — same style as session rings */
.vu-parse-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  min-height: 200px;
  margin: 0.5rem 0 0;
  border-radius: 14px;
  border: 1px solid var(--border, #2a3344);
  background: linear-gradient(165deg, rgba(255,255,255,0.03), rgba(0,0,0,0.12));
}
.vu-parse-anim {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.15rem;
  position: relative;
}
.vu-parse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(97,179,196,0.15);
  border-top-color: #61B3C4;
  animation: sess-spin 1s linear infinite;
}
.vu-parse-ring2 {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 3px solid rgba(97,179,196,0.1);
  border-bottom-color: #61B3C4;
  animation: sess-spin 1.4s linear infinite reverse;
}
.vu-parse-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #61B3C4;
  box-shadow: 0 0 16px rgba(97,179,196,0.55);
  animation: sess-pulse 1.6s ease-in-out infinite;
}
@keyframes sess-spin { to { transform: rotate(360deg); } }
@keyframes sess-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.72); opacity: 0.55; }
}
.vu-parse-title {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: var(--text, #eef2f5);
}
.vu-parse-sub {
  font-size: 0.88rem;
  color: var(--muted, #9aa3ad);
  line-height: 1.45;
  max-width: 360px;
}
.vu-parse-sub strong {
  color: var(--text, #eef2f5);
  font-weight: 600;
  word-break: break-all;
}
.vu-drop.vu-busy {
  pointer-events: none;
  opacity: 0.55;
  filter: saturate(0.85);
}


/* ========== VU Events tab ========== */
.vu-ev-panel { padding: 0 0 0.5rem; }
.vu-ev-hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}
.vu-ev-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}
.vu-ev-chip {
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(97,179,196,0.25);
  background: rgba(97,179,196,0.1);
  color: var(--text);
}
.vu-ev-chip b {
  margin-left: 0.2rem;
  color: var(--accent, #61b3c4);
}
.vu-ev-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.vu-ev-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 0.15rem;
}
.vu-ev-day {
  border: 1px solid var(--border, #2a3344);
  border-radius: 12px;
  background: var(--surface, #1a2130);
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
}
.vu-ev-sum {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px !important;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
}
.vu-ev-sum:hover { background: rgba(97,179,196,0.06); }
.vu-ev-sum .vu-day-date {
  font-weight: 700;
  font-size: 15px;
  min-width: 7rem;
  flex-shrink: 0;
}
.vu-ev-sum .vu-day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
  align-items: center;
}
.vu-ev-sum .vu-day-chev {
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s;
}
.vu-ev-day.is-open .vu-day-chev { transform: rotate(90deg); }
.vu-ev-count-pill {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.vu-ev-mini {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.vu-ev-body {
  padding: 6px 12px 12px;
  border-top: 1px solid var(--border, #2a3344);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.vu-ev-row {
  border-radius: 8px;
  border: 1px solid var(--border, #2a3344);
  background: var(--surface-2, #202938);
  padding: 0.55rem 0.85rem;
  border-left: 3px solid rgba(97,179,196,0.45);
}
.vu-ev-row.vu-ev-card { border-left-color: #61b3c4; }
.vu-ev-row.vu-ev-power { border-left-color: #f39c12; }
.vu-ev-row.vu-ev-motion { border-left-color: #9b59b6; }
.vu-ev-row.vu-ev-security { border-left-color: #e74c3c; }
.vu-ev-row.vu-ev-speed { border-left-color: #e67e22; }
.vu-ev-row-main {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}
.vu-ev-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.2rem 0.55rem;
  border-radius: 7px;
}
.vu-ev-pill-card { background: rgba(97,179,196,0.18); color: #7ec8d6; }
.vu-ev-pill-power { background: rgba(243,156,18,0.18); color: #f5b041; }
.vu-ev-pill-overlap { background: #9ca3af; color: #374151; }
.vu-ev-pill-motion { background: rgba(155,89,182,0.18); color: #bb8fce; }
.vu-ev-pill-security { background: rgba(231,76,60,0.18); color: #f1948a; }
.vu-ev-pill-speed { background: rgba(230,126,34,0.18); color: #f0b27a; }
.vu-ev-pill-other { background: rgba(255,255,255,0.08); color: var(--muted); }
.vu-ev-sim {
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(255,255,255,0.06);
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
}
.vu-ev-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}
.vu-ev-dur {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.vu-ev-row-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  font-size: 0.76rem;
  color: var(--muted);
}
.vu-ev-purpose { opacity: 0.95; }
.vu-ev-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}
.vu-ev-drv { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.4rem; }
.vu-ev-drv strong { color: var(--text); font-weight: 600; }


/* ========== Analiza tahografa — usklađeno sa dashboardom ========== */
.vu-section.section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}
.vu-section .section-header {
  padding: 1rem 1.15rem 0.75rem;
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.vu-section .section-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.vu-section .vu-parser-version {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  white-space: nowrap;
}
.vu-section .vu-page-body {
  padding: 1rem 1.15rem 1.25rem;
  background: transparent;
}

/* privacy note — kao info bar na dashboardu */
.vu-privacy-note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(97, 179, 196, 0.28);
  background: rgba(97, 179, 196, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: none;
}
.vu-privacy-note strong { color: var(--dark-blue, #1C4361); font-weight: 600; }
[data-theme="dark"] .vu-privacy-note strong { color: var(--accent, #61B3C4); }
.vu-privacy-ico {
  color: var(--accent, #61B3C4);
  display: flex;
  flex-shrink: 0;
}

/* paneli = db-card stil */
.vu-loaders .vu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .vu-loaders .vu-grid { grid-template-columns: 1fr; }
}
.vu-panel {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  box-shadow: none !important;
  background-image: none !important;
}
.vu-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem 0.7rem !important;
  border-bottom: 1px solid var(--border) !important;
  background: transparent !important;
}
.vu-panel-title {
  margin: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  color: var(--text) !important;
}
.vu-panel-hint {
  margin: 0.25rem 0 0 !important;
  font-size: 0.78rem !important;
  color: var(--muted) !important;
  line-height: 1.4 !important;
}
.vu-docs-count {
  font-size: 0.72rem !important;
  font-weight: 600;
  color: var(--dark-blue, #1C4361) !important;
  background: rgba(165, 214, 241, 0.35) !important;
  border: 1px solid rgba(97, 179, 196, 0.35) !important;
  padding: 0.2rem 0.55rem !important;
  border-radius: 999px !important;
}
[data-theme="dark"] .vu-docs-count {
  color: var(--accent) !important;
  background: rgba(97, 179, 196, 0.14) !important;
}
.vu-btn-refresh {
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  border-radius: 8px !important;
}
.vu-btn-refresh:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* lista fajlova */
.vu-docs-list {
  flex: 1;
  overflow: auto;
  max-height: 340px;
  padding: 0.55rem 0.65rem 0.75rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--surface-2) !important;
  border: none !important;
  margin: 0;
  border-radius: 0 !important;
}
.vu-docs-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.vu-docs-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem !important;
  border-radius: 10px !important;
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
  cursor: grab;
  box-shadow: none !important;
  transition: border-color 0.15s, background 0.15s;
}
.vu-docs-item:hover {
  background: rgba(97, 179, 196, 0.08) !important;
  border-color: rgba(97, 179, 196, 0.45) !important;
  transform: none !important;
  box-shadow: none !important;
}
.vu-docs-item:active { cursor: grabbing; }
.vu-docs-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(97, 179, 196, 0.14) !important;
  color: var(--accent, #61B3C4) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vu-docs-item-title {
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  color: var(--text) !important;
}
.vu-docs-item-sub,
.vu-docs-item-name {
  font-size: 0.74rem !important;
  color: var(--muted) !important;
}
.vu-docs-item .btn,
.vu-docs-item button.btn {
  border-radius: 999px !important;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
}

/* drop zona */
.vu-panel-upload .vu-drop,
.vu-drop {
  flex: 1;
  margin: 0.65rem 0.75rem 0.85rem !important;
  border: 2px dashed var(--border) !important;
  border-radius: 12px !important;
  padding: 1.75rem 1rem !important;
  text-align: center;
  background: var(--surface-2) !important;
  box-shadow: none !important;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.vu-drop.drag {
  border-color: var(--accent) !important;
  background: rgba(97, 179, 196, 0.1) !important;
}
.vu-drop-ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(97, 179, 196, 0.14) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(97, 179, 196, 0.25);
  margin-bottom: 0.75rem;
}
.vu-drop-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.vu-drop-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.vu-drop .btn-primary,
.vu-drop button.btn-primary {
  background: var(--accent) !important;
  color: var(--btn-primary-text) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.45rem 1.25rem !important;
  font-weight: 600 !important;
}
.vu-ext-pills {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.vu-ext-pills span,
.vu-drop .vu-ext {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(97, 179, 196, 0.12);
  border: 1px solid rgba(97, 179, 196, 0.28);
  color: var(--accent);
}

/* rezultat pregleda ispod — ista kartica */
.vu-result,
#vu-result {
  margin-top: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}


/* Bez plavičaste senke u Memorija / Ručno */
.vu-section .vu-panel,
.vu-section .vu-panel-docs,
.vu-section .vu-panel-upload {
  background: var(--surface) !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
}
.vu-section .vu-docs-list {
  background: var(--surface-2) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}
.vu-section .vu-docs-item {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}
.vu-section .vu-docs-item:hover {
  box-shadow: none !important;
  transform: none !important;
  border-color: var(--muted) !important;
  background: var(--surface) !important;
}
.vu-section .vu-drop {
  background: var(--surface-2) !important;
  background-image: none !important;
  border: 1px dashed var(--border) !important;
  box-shadow: none !important;
}
.vu-section .vu-docs-ico,
.vu-section .vu-drop-ico {
  background: var(--surface) !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
}
.vu-section .vu-docs-count {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
}


/* ========== VU paneli = isti stil kao dashboard stat kartice ========== */
.vu-section .vu-loaders .vu-grid {
  gap: 0.75rem;
}
.vu-section .vu-panel,
.vu-section .vu-panel-docs,
.vu-section .vu-panel-upload {
  background: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  min-height: 260px;
  overflow: hidden;
}
.vu-section .vu-panel-head {
  background: transparent !important;
  background-image: none !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 0.95rem 1.1rem 0.75rem !important;
}
.vu-section .vu-panel-title {
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
}
.vu-section .vu-panel-hint {
  color: var(--muted) !important;
  font-size: 0.78rem !important;
}
.vu-section .vu-docs-count {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  font-weight: 600;
  border-radius: 999px !important;
}
.vu-section .vu-btn-refresh {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  border-radius: 10px !important;
}
.vu-section .vu-btn-refresh:hover {
  color: var(--text) !important;
  border-color: var(--muted) !important;
}

/* lista unutra — kao red stat kartica */
.vu-section .vu-docs-list {
  margin: 0.65rem 0.75rem 0.85rem !important;
  padding: 0 !important;
  max-height: 320px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  gap: 0.55rem !important;
  box-shadow: none !important;
}
.vu-section .vu-docs-item {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  padding: 0.75rem 0.9rem !important;
  box-shadow: none !important;
  transform: none !important;
  gap: 0.85rem !important;
}
.vu-section .vu-docs-item:hover {
  background: var(--surface-2) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
  transform: none !important;
}
.vu-section .vu-docs-ico {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  background: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  color: var(--accent) !important;
}
.vu-section .vu-docs-item-title {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
}
.vu-section .vu-docs-item-sub {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
}
.vu-section .vu-file-chip {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.vu-section .vu-docs-item .btn,
.vu-section .vu-docs-item button {
  background: var(--accent) !important;
  color: var(--btn-primary-text) !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

/* drop zona — ista kartica */
.vu-section .vu-drop {
  margin: 0.65rem 0.75rem 0.9rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  background: var(--surface-2) !important;
  background-image: none !important;
  box-shadow: none !important;
  min-height: 200px;
}
.vu-section .vu-drop.drag {
  border-color: var(--accent) !important;
  background: var(--surface-2) !important;
}
.vu-section .vu-drop-ico {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: var(--surface) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  color: var(--accent) !important;
}
.vu-section .vu-drop-title {
  color: var(--text) !important;
  font-weight: 600;
}
.vu-section .vu-drop-sub {
  color: var(--muted) !important;
}
.vu-section .vu-drop .btn-primary,
.vu-section .vu-drop button.btn-primary {
  background: var(--accent) !important;
  color: var(--btn-primary-text) !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}
.vu-section .vu-ext,
.vu-section .vu-ext-pills span {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

/* privacy note — ista kartica */
.vu-section .vu-privacy-note {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  color: var(--muted) !important;
}
.vu-section .vu-privacy-note strong {
  color: var(--text) !important;
}


/* Privacy note — vrati plavičastu senku kao ranije */
.vu-section .vu-privacy-note {
  display: flex !important;
  align-items: center !important;
  gap: 0.55rem !important;
  padding: 0.65rem 0.9rem !important;
  margin-bottom: 0.9rem !important;
  border-radius: 10px !important;
  border: 1px solid rgba(97, 179, 196, 0.28) !important;
  background: rgba(97, 179, 196, 0.1) !important;
  box-shadow: 0 0 0 1px rgba(97, 179, 196, 0.06), 0 4px 16px rgba(97, 179, 196, 0.08) !important;
  color: var(--muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
}
.vu-section .vu-privacy-note strong {
  color: var(--muted) !important;
  font-weight: 600 !important;
}
.vu-section .vu-privacy-ico {
  color: var(--accent, #61B3C4) !important;
  flex-shrink: 0;
}


/* VU — plavičasta senka na fajlovima, ikonicama, chipu i zaglavlju panela */
.vu-section .vu-panel-head {
  background: linear-gradient(180deg, rgba(97,179,196,0.08) 0%, transparent 100%) !important;
  border-bottom: 1px solid rgba(97,179,196,0.18) !important;
}
.vu-section .vu-docs-item {
  background: rgba(97,179,196,0.06) !important;
  border: 1px solid rgba(97,179,196,0.22) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(97,179,196,0.08) !important;
}
.vu-section .vu-docs-item:hover {
  background: rgba(97,179,196,0.12) !important;
  border-color: rgba(97,179,196,0.4) !important;
  box-shadow: 0 4px 16px rgba(97,179,196,0.14) !important;
}
.vu-section .vu-docs-ico {
  background: linear-gradient(145deg, rgba(97,179,196,0.32), rgba(97,179,196,0.12)) !important;
  border: 1px solid rgba(97,179,196,0.28) !important;
  box-shadow: 0 4px 12px rgba(97,179,196,0.15) !important;
  color: #61B3C4 !important;
}
.vu-section .vu-file-chip,
.vu-section .vu-docs-item-name,
.vu-section .vu-docs-item [class*="chip"] {
  background: rgba(97,179,196,0.12) !important;
  border: 1px solid rgba(97,179,196,0.3) !important;
  color: #61B3C4 !important;
  border-radius: 8px !important;
  box-shadow: 0 0 0 1px rgba(97,179,196,0.06) !important;
}
/* ako je chip span unutar item-a */
.vu-section .vu-docs-item span.vu-file-chip,
.vu-section .vu-docs-item .vu-file-chip {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
}
.vu-section .vu-drop-ico {
  background: linear-gradient(145deg, rgba(97,179,196,0.32), rgba(97,179,196,0.12)) !important;
  border: 1px solid rgba(97,179,196,0.28) !important;
  box-shadow: 0 4px 14px rgba(97,179,196,0.18) !important;
  color: #61B3C4 !important;
}
.vu-section .vu-docs-count {
  background: rgba(97,179,196,0.14) !important;
  border: 1px solid rgba(97,179,196,0.3) !important;
  color: #61B3C4 !important;
}
.vu-section .vu-ext,
.vu-section .vu-ext-pills span {
  background: rgba(97,179,196,0.12) !important;
  border: 1px solid rgba(97,179,196,0.28) !important;
  color: #61B3C4 !important;
}


/* 1.45 — ostatak kao 1.43; senka samo kamion + naziv fajla */
.vu-section .vu-panel-head {
  background: transparent !important;
  border-bottom: 1px solid var(--border) !important;
}
.vu-section .vu-docs-item {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.vu-section .vu-docs-item:hover {
  background: var(--surface-2) !important;
  border-color: var(--border) !important;
  box-shadow: none !important;
}
.vu-section .vu-docs-count {
  background: var(--surface-2) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
}
button.btn.refresh-action,
.vu-section button.refresh-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 84px;
  height: 34px !important;
  padding: 0 0.65rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  font-size: 0.82rem !important;
  font-weight: 600;
  white-space: nowrap;
}
button.btn.refresh-action:hover,
.vu-section button.refresh-action:hover {
  border-color: var(--accent) !important;
  background: transparent !important;
  color: var(--muted) !important;
}
.vu-section .vu-docs-count {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 86px;
  min-width: 86px;
  height: 34px;
  padding: 0 0.5rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--muted) !important;
}
.vu-section .vu-docs-count:hover {
  border-color: var(--accent) !important;
  background: transparent !important;
  color: var(--muted) !important;
}
.vu-section button.vu-btn-refresh.refresh-action {
  box-sizing: border-box;
  width: 86px;
  min-width: 86px;
}
.vu-section .vu-ext,
.vu-section .vu-ext-pills span {
  background: var(--surface) !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
}

/* Samo kamiončić — plavičasta senka */
.vu-section .vu-docs-ico,
.vu-section .vu-drop-ico {
  background: linear-gradient(145deg, rgba(97,179,196,0.28), rgba(97,179,196,0.1)) !important;
  border: 1px solid rgba(97,179,196,0.35) !important;
  box-shadow:
    0 0 0 1px rgba(97,179,196,0.12),
    0 4px 14px rgba(97,179,196,0.22) !important;
  color: #61B3C4 !important;
  border-radius: 12px !important;
}

/* Samo chip naziva fajla (npr. star trailer.DDD) */
.vu-section .vu-file-chip {
  display: inline-block !important;
  padding: 0.15rem 0.55rem !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  background: rgba(97,179,196,0.1) !important;
  border: 1px solid rgba(97,179,196,0.35) !important;
  color: #61B3C4 !important;
  box-shadow:
    0 0 0 1px rgba(97,179,196,0.08),
    0 2px 8px rgba(97,179,196,0.12) !important;
}


/* Zaglavlje panela Memorija vozila / Ručno učitavanje — plavičasta senka */
.vu-section .vu-panel-head {
  background: linear-gradient(180deg, rgba(97,179,196,0.1) 0%, transparent 100%) !important;
  border-bottom: 1px solid rgba(97,179,196,0.2) !important;
  box-shadow: 0 4px 12px rgba(97,179,196,0.06) !important;
  min-height: 85px;
  box-sizing: border-box;
}
@media (min-width: 901px) and (max-width: 1100px) {
  .vu-section .vu-panel-head { min-height: 120px; }
}


/* 1.47 — bez duplog rama; kamion i chip kao na slici */
.vu-section .vu-drop-ring {
  display: none !important;
}
.vu-section .vu-drop-visual {
  position: relative;
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto 0.85rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.vu-section .vu-drop-ico {
  position: relative !important;
  z-index: 1 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(145deg, rgba(97,179,196,0.22), rgba(97,179,196,0.08)) !important;
  border: 1px solid rgba(97,179,196,0.35) !important;
  box-shadow:
    0 0 0 1px rgba(97,179,196,0.1),
    0 6px 18px rgba(97,179,196,0.18) !important;
  color: #61B3C4 !important;
}
.vu-section .vu-drop-ico svg {
  width: 28px !important;
  height: 28px !important;
}

/* chip naziva — kompaktan, bez širenja i duplog rama */
.vu-section .vu-docs-item-name {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin-top: 0.25rem !important;
  overflow: visible !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.vu-section .vu-file-chip {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 0.18rem 0.55rem !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  border-radius: 8px !important;
  background: rgba(97,179,196,0.1) !important;
  border: 1px solid rgba(97,179,196,0.38) !important;
  color: #61B3C4 !important;
  box-shadow: 0 2px 8px rgba(97,179,196,0.12) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  vertical-align: middle !important;
}

/* lista ikonica kamiona — isti stil, bez duplog rama */
.vu-section .vu-docs-ico {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: linear-gradient(145deg, rgba(97,179,196,0.22), rgba(97,179,196,0.08)) !important;
  border: 1px solid rgba(97,179,196,0.35) !important;
  box-shadow:
    0 0 0 1px rgba(97,179,196,0.1),
    0 4px 12px rgba(97,179,196,0.16) !important;
  color: #61B3C4 !important;
}
.vu-section .vu-docs-ico svg {
  width: 22px !important;
  height: 22px !important;
}


/* VU — jednaka visina panela, skrol ~4 fajla, pretraga, filter */
.vu-section .vu-loaders .vu-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 0.85rem !important;
  align-items: stretch !important;
}
.vu-section .vu-panel-docs,
.vu-section .vu-panel-upload {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 420px !important;
  height: 100% !important;
}
.vu-section .vu-panel-upload .vu-drop {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.vu-docs-tools {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem 0.35rem;
  flex-shrink: 0;
}
.vu-search-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.vu-search-ico {
  position: absolute;
  left: 0.65rem;
  color: var(--muted);
  pointer-events: none;
}
.vu-search-input {
  width: 100%;
  padding: 0.45rem 0.65rem 0.45rem 2rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.82rem;
  outline: none;
}
.vu-search-input:focus {
  border-color: rgba(97,179,196,0.55);
  box-shadow: 0 0 0 2px rgba(97,179,196,0.12);
}
.vu-filter-btn {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.vu-filter-btn:hover {
  color: var(--accent);
  border-color: rgba(97,179,196,0.45);
}
.vu-filter-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #61B3C4;
  color: #0a0a0a;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vu-section .vu-docs-list {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  max-height: 280px !important; /* ~4 kompaktna reda */
  overflow-y: auto !important;
  margin: 0.35rem 0.75rem 0.75rem !important;
  padding: 0.35rem !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  background: var(--surface-2) !important;
  gap: 0.4rem !important;
}
.vu-section .vu-docs-item {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.55rem 0.65rem !important;
  border-radius: 10px !important;
  gap: 0.55rem !important;
}
.vu-section .vu-docs-item-title {
  font-size: 0.84rem !important;
}
.vu-section .vu-docs-item-sub {
  font-size: 0.7rem !important;
}
.vu-section .vu-docs-ico {
  width: 36px !important;
  height: 36px !important;
}
.vu-section .vu-docs-ico svg {
  width: 18px !important;
  height: 18px !important;
}
.vu-section .vu-btn-read {
  padding: 0.28rem 0.7rem !important;
  font-size: 0.75rem !important;
}

/* filter popover */
.vu-filter-pop {
  position: fixed;
  z-index: 10050;
  width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  padding: 0.75rem;
}
.vu-filter-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}
.vu-filter-x {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}
.vu-filter-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.4rem 0 0.2rem;
}
.vu-filter-select,
.vu-filter-input {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.82rem;
}
.vu-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
@media (max-width: 900px) {
  .vu-section .vu-loaders .vu-grid {
    grid-template-columns: 1fr !important;
  }
  .vu-section .vu-panel-head { min-height: 0; }
  .vu-section .vu-panel-docs,
  .vu-section .vu-panel-upload {
    min-height: 0 !important;
  }
}


/* VU tools — kompaktan search + datumi */
.vu-docs-tools {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem 0.3rem;
  flex-wrap: nowrap;
}
.vu-search-compact {
  flex: 0 1 120px;
  max-width: 140px;
  min-width: 90px;
}
.vu-search-compact .vu-search-input {
  padding: 0.38rem 0.45rem 0.38rem 1.75rem;
  font-size: 0.78rem;
  border-radius: 8px;
}
.vu-date-input,
.vu-docs-tools .tacho-date-input,
.vu-docs-tools .tacho-dp-wrap {
  flex: 0 0 auto;
  max-width: 118px;
}
.vu-docs-tools .tacho-dp-wrap {
  min-width: 100px;
}
.vu-docs-tools .tacho-date-input {
  width: 108px !important;
  font-size: 0.75rem !important;
  padding: 0.35rem 0.4rem !important;
}
.vu-filter-badge[hidden],
.vu-filter-badge:empty {
  display: none !important;
}
.vu-filter-pop-head.ui-filter-drag {
  cursor: move;
  user-select: none;
}


/* VU tools: search levo, datum + filter desno */
.vu-docs-tools {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  flex-wrap: nowrap !important;
  padding: 0.5rem 0.75rem 0.35rem !important;
}
.vu-search-compact {
  flex: 0 1 130px !important;
  max-width: 150px !important;
}
.vu-tools-right {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
}
.vu-tools-right input[type="date"] {
  width: auto;
  min-width: 0;
  font-size: 0.78rem;
  padding: 0.32rem 0.4rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
}
.vu-tools-right .tacho-dp-wrap {
  max-width: 120px;
}
.vu-tools-right .tacho-date-input {
  font-size: 0.75rem !important;
  padding: 0.32rem 0.4rem !important;
  min-width: 96px !important;
  width: 104px !important;
}
.vu-date-sep {
  color: var(--muted);
  font-size: 0.85rem;
}


/* VU datumi — isti stil kao dashboard, malo uži + dugme Prikaži */
.vu-tools-right {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: auto;
}
.vu-tools-right .tacho-dp-wrap {
  display: inline-flex !important;
}
.vu-tools-right .tacho-dp-wrap input.tacho-date-input {
  min-width: 96px !important;
  width: 104px !important;
  height: 32px !important;
  line-height: 30px !important;
  font-size: 0.75rem !important;
  padding: 0 1.55rem 0 0.4rem !important;
}
.vu-tools-right .tacho-dp-btn {
  width: 26px !important;
  height: 26px !important;
}
.vu-section .vu-panel-docs { overflow: visible !important; }
.vu-section .vu-panel-docs .vu-docs-tools { position: relative; z-index: 2; overflow: visible !important; }
.vu-section .vu-panel-docs .tacho-dp-wrap { z-index: 3; }
.vu-btn-show {
  height: 32px !important;
  padding: 0 0.75rem !important;
  font-size: 0.78rem !important;
  background: var(--accent, #61b3c4) !important;
  color: #0a0a0a !important;
  border-color: var(--accent, #61b3c4) !important;
  border-radius: 8px !important;
  white-space: nowrap;
}
.vu-date-sep {
  color: var(--muted);
  font-size: 0.8rem;
  padding: 0 0.1rem;
}


/* VU Događaji — toolbar, checkbox, info, fusnote */
.vu-ev-bar {
  margin-bottom: 0.55rem;
}
.vu-ev-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}
.vu-ev-filter-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.vu-ev-filter-btn:hover { color: var(--accent); border-color: rgba(97,179,196,.45); }
.vu-ev-chips { display: none !important; }
.vu-ev-row {
  position: relative;
  padding-right: 2.4rem !important;
}
.vu-ev-info-btn {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(97,179,196,.4);
  background: rgba(97,179,196,.12);
  color: #61B3C4;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
}
.vu-ev-info-btn .docs-ico-svg { width:15px; height:15px; }
.vu-ev-info-btn:hover {
  background: rgba(97,179,196,.22);
}
.vu-ev-sum {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}
.vu-ev-sum .vu-day-sum-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  padding: 0.55rem 0.35rem;
  font: inherit;
}
.vu-ev-sum .vu-day-check {
  padding-left: 0.35rem;
}
.vu-ev-footnotes {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}
.vu-ev-fn-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
}
.vu-ev-fn-row { margin: 0.28rem 0; }
.vu-ev-fn-num { color: var(--accent); font-weight: 600; }
.vu-ev-info-pop {
  position: fixed;
  z-index: 10060;
  width: 300px;
  max-width: calc(100vw - 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  padding: 0.75rem 0.85rem;
}
.vu-ev-info-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: var(--text);
}
.vu-ev-info-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.vu-ev-type-list {
  max-height: 220px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.35rem 0 0.5rem;
}
#vu-ev-dl-wrap { position: relative; }
#vu-ev-dl-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 150px;
  display: none;
  z-index: 20;
}
#vu-ev-dl-menu.open { display: flex; }


/* Događaji — isti checkbox/header kao aktivnosti */
.vu-ev-day .vu-day-head {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.vu-ev-day .vu-day-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem 0 0.65rem;
  border-right: 1px solid var(--border);
  background: rgba(97,179,196,0.04);
  cursor: pointer;
}
.vu-ev-day .vu-day-check input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent, #61b3c4);
  cursor: pointer;
}
.vu-ev-mini {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.vu-ev-pill-card { background: rgba(97,179,196,.15); color: #61B3C4; }
.vu-ev-pill-power { background: rgba(251,191,36,.15); color: #fbbf24; }
.vu-ev-pill-overlap { background: #9ca3af; color: #374151; }
.vu-ev-pill-motion { background: rgba(167,139,250,.15); color: #a78bfa; }
.vu-ev-pill-security { background: rgba(248,113,113,.15); color: #f87171; }
.vu-ev-pill-speed { background: rgba(52,211,153,.15); color: #34d399; }
.vu-ev-count-pill {
  display: inline-flex;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--muted);
}
#vu-ev-dl-menu.audit-dl-menu {
  min-width: 120px;
  padding: 0.55rem;
}


/* Kalendar iznad panela (Događaji / Aktivnosti) */
.vu-ev-dates,
.vu-act-dates {
  position: relative;
  z-index: 20;
  overflow: visible !important;
}
.vu-ev-dates { gap: 0.35rem; }
.vu-ev-dates .tacho-dp-wrap,
.vu-act-dates .tacho-dp-wrap {
  position: relative;
  z-index: 21;
}
.vu-ev-dates .tacho-dp-popup,
.vu-act-dates .tacho-dp-popup,
.tacho-dp-popup {
  z-index: 10080 !important;
}
.vu-ev-bar,
.vu-act-bar,
.vu-ev-panel,
.vu-tab-panel {
  overflow: visible !important;
}

/* Select-all samo checkbox, bez teksta */
#vu-ev-select-all-row {
  display: none;
  align-items: center;
  padding: 0.25rem 0.35rem 0.35rem;
}
#vu-ev-select-all-row .vu-select-all-lab {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0.25rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-2);
  cursor: pointer;
}
#vu-ev-select-all-row span { display: none !important; }

/* Download meni — bez teške senke, kao aktivnosti */
#vu-ev-dl-menu.audit-dl-menu {
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0.5rem;
  gap: 0.35rem;
  min-width: 110px;
}
#vu-ev-dl-menu .audit-dl-cube {
  box-shadow: none !important;
}
.vu-ev-footnotes { display: none !important; }


/* Tabovi — manji chipovi */
.vu-tabs {
  gap: 0.35rem !important;
  margin-bottom: 0.65rem !important;
}
.vu-tab {
  padding: 0.22rem 0.55rem !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}
.vu-tab.active {
  font-weight: 600 !important;
}

/* Događaji toolbar = isti okvir kao aktivnosti */
.vu-ev-bar.vu-act-bar {
  display: block;
}
.vu-ev-filter-btn.vu-act-full-ico {
  position: relative;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
}
.vu-ev-filter-btn .vu-filter-badge,
#vu-ev-type-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #61B3C4;
  color: #0b1c24;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#vu-ciw-driver-badge[hidden] { display: none; }

/* Kompaktni download meni za VU tabove */
#vu-ev-dl-menu.audit-dl-menu,
#vu-pl-dl-menu.audit-dl-menu,
#vu-dl-menu.audit-dl-menu {
  min-width: 70px;
  max-width: 78px;
  padding: 0.28rem;
  gap: 0.22rem;
}
#vu-ev-dl-menu .audit-dl-cube,
#vu-pl-dl-menu .audit-dl-cube,
#vu-dl-menu .audit-dl-cube {
  height: 28px !important;
  min-width: 64px !important;
  font-size: 0.65rem !important;
  box-shadow: none !important;
}
#vu-ev-dl-menu .audit-dl-cube .icon svg,
#vu-pl-dl-menu .audit-dl-cube .icon svg,
#vu-dl-menu .audit-dl-cube .icon svg {
  width: 14px !important;
  height: 14px !important;
}
#vu-ev-dl-btn.audit-dl-icon-btn,
#vu-dl-btn.audit-dl-icon-btn {
  width: 34px;
  height: 34px;
}


/* Periodi podataka u VU fajlu */
.vu-period-note {
  margin: 0.5rem 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(97,179,196,0.28);
  background: rgba(97,179,196,0.08);
  font-size: 0.8rem;
  color: var(--text);
  line-height: 1.4;
}
.vu-period-note-title {
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 0.82rem;
}
.vu-period-list {
  margin: 0;
  padding-left: 1.1rem;
}
.vu-period-list li {
  margin: 0.15rem 0;
  color: var(--muted);
}
.vu-period-list strong {
  color: var(--text);
  font-weight: 600;
}
.vu-period-warn {
  margin-top: 0.4rem;
  color: #fbbf24;
  font-size: 0.78rem;
}


/* Hint događaji kao aktivnosti */
.vu-ev-hint.vu-act-hint {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: normal;
}
#vu-ev-type-pop .ui-filter-body { gap: 0.35rem; }


/* ========== VU Overspeed tab ========== */
.vu-os-panel { padding: 0 0 0.5rem; }
.vu-os-empty {
  padding: 2rem 1rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: 12px;
}
.vu-os-search-wrap {
  position: relative; display: inline-flex; align-items: center;
  flex: 1; min-width: 160px; max-width: 280px;
}
.vu-os-search-ico {
  position: absolute; left: 0.55rem; color: var(--muted);
  display: flex; pointer-events: none;
}
.vu-os-search {
  width: 100%;
  padding: 0.38rem 0.55rem 0.38rem 2rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface-2, #151b26);
  color: var(--text);
  font-size: 0.82rem;
  font-family: inherit;
}
.vu-os-search:focus {
  outline: none;
  border-color: var(--accent, #61b3c4);
  box-shadow: 0 0 0 2px rgba(97,179,196,0.2);
}
.vu-os-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.35rem;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 0.15rem;
}
.vu-os-day {
  border: 1px solid var(--border, #2a3344);
  border-radius: 12px;
  background: var(--surface, #1a2130);
  overflow: hidden;
  flex-shrink: 0;
}
.vu-os-sum {
  display: flex !important; align-items: center; gap: 10px;
  width: 100%; min-height: 48px; padding: 12px 14px !important;
  margin: 0; border: 0; background: transparent; color: var(--text);
  font-size: 14px; font-family: inherit; text-align: left; cursor: pointer;
}
.vu-os-sum:hover { background: rgba(230,126,34,0.06); }
.vu-os-count-pill, .vu-os-max-pill {
  font-size: 12px; padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted);
}
.vu-os-max-pill {
  border-color: rgba(230,126,34,0.4); color: #f0b27a;
  background: rgba(230,126,34,0.12);
}
.vu-os-body {
  padding: 0 12px 12px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
}
.vu-os-row {
  border-radius: 10px;
  border: 1px solid var(--border, #2a3344);
  border-left: 3px solid #e67e22;
  background: var(--surface-2, #202938);
  padding: 0.75rem 0.9rem;
}
.vu-os-row-head {
  display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.55rem;
}
.vu-os-pill {
  font-size: 0.8rem; font-weight: 650;
  padding: 0.2rem 0.55rem; border-radius: 7px;
  background: rgba(230,126,34,0.18); color: #f0b27a;
}
.vu-os-sim {
  font-size: 0.72rem; color: var(--muted);
  background: rgba(255,255,255,0.06); padding: 0.12rem 0.4rem; border-radius: 5px;
}
.vu-os-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.85rem;
}
@media (max-width: 700px) {
  .vu-os-grid { grid-template-columns: 1fr; }
}
.vu-os-field { min-width: 0; }
.vu-os-lbl {
  display: block; font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--muted); margin-bottom: 0.12rem;
}
.vu-os-val {
  display: block; font-size: 0.84rem; color: var(--text); line-height: 1.35;
  word-break: break-word;
}
.vu-os-max { font-weight: 700; color: #f0b27a; font-size: 0.95rem; }
.vu-os-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem; color: var(--muted);
}


/* VU overspeed compact */
.vu-os-limit-note {
  margin: 0.35rem 0 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(230,126,34,0.08);
  border: 1px solid rgba(230,126,34,0.22);
  line-height: 1.4;
}
.vu-os-limit-note strong { color: var(--text); }
.vu-os-row {
  padding: 0.5rem 0.7rem !important;
  border-radius: 8px !important;
}
.vu-os-row-head {
  margin-bottom: 0.3rem !important;
  gap: 0.35rem !important;
}
.vu-os-info {
  margin-left: auto;
  width: 26px; height: 26px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface-2, #151b26);
  color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.vu-os-info:hover { color: var(--accent); border-color: var(--accent); }
.vu-os-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.7rem;
  font-size: 0.8rem; margin-bottom: 0.35rem;
}
.vu-os-dur {
  font-size: 0.72rem; color: var(--muted);
  padding: 0.08rem 0.4rem; border-radius: 999px; border: 1px solid var(--border);
}
.vu-os-speeds {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.35rem;
  margin-bottom: 0.25rem;
}
@media (max-width: 640px) {
  .vu-os-speeds { grid-template-columns: 1fr; }
}
.vu-os-sp {
  background: var(--surface, #1a2130);
  border: 1px solid var(--border, #2a3344);
  border-radius: 7px;
  padding: 0.35rem 0.5rem;
}
.vu-os-sp .vu-os-lbl {
  display: block; font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--muted); margin-bottom: 0.08rem;
}
.vu-os-sp strong { font-size: 0.88rem; color: var(--text); }
.vu-os-over {
  margin-left: 0.35rem; font-size: 0.72rem; font-weight: 700; color: #e74c3c;
}
.vu-os-purpose {
  font-size: 0.72rem; color: var(--muted); margin-top: 0.15rem;
}
.vu-os-body { gap: 0.35rem !important; padding: 0 10px 10px !important; }


/* VU overspeed polish v2 */
.vu-os-day {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.vu-os-day .vu-day-head,
.vu-os-day .vu-os-head {
  display: flex;
  align-items: stretch;
  width: 100%;
  flex-shrink: 0;
  border-bottom: none;
}
.vu-os-day .vu-day-body,
.vu-os-body {
  display: none;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px 10px !important;
  border-top: 1px solid var(--border, #2a3344);
  gap: 8px !important;
  flex-direction: column;
  clear: both;
}
.vu-os-day.is-open .vu-day-body,
.vu-os-day .vu-day-body[style*="display: block"],
.vu-os-day .vu-day-body[style*="display:block"] {
  /* when toggled open via JS */
}
.vu-os-row {
  position: relative !important;
  padding: 0.45rem 2.4rem 0.45rem 0.65rem !important;
  margin: 0 !important;
  border-radius: 8px !important;
  border: 1px solid var(--border, #2a3344) !important;
  border-left: 3px solid #e67e22 !important;
  background: var(--surface-2, #202938) !important;
}
.vu-os-row-head {
  margin-bottom: 0.2rem !important;
  padding-right: 0 !important;
}
.vu-os-speeds {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 6px !important;
  margin-bottom: 0.15rem !important;
}
.vu-os-sp {
  padding: 0.28rem 0.4rem !important;
  border-radius: 6px !important;
  background: var(--surface, #1a2130) !important;
}
.vu-os-sp .vu-os-lbl {
  font-size: 0.58rem !important;
  margin-bottom: 0.05rem !important;
}
.vu-os-sp strong {
  font-size: 0.8rem !important;
}
.vu-os-line {
  margin-bottom: 0.25rem !important;
  font-size: 0.78rem !important;
}
.vu-os-purpose {
  font-size: 0.7rem !important;
  margin-top: 0.1rem !important;
}
.vu-os-limit-note {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.4rem 0 0.65rem !important;
  padding: 0.65rem 0.85rem !important;
  border-radius: 10px !important;
  font-size: 0.8rem !important;
  line-height: 1.4;
  border: 1px solid transparent;
}
.vu-os-limit-note.vu-os-limit-warn {
  background: linear-gradient(90deg, rgba(243,156,18,0.14), rgba(243,156,18,0.05)) !important;
  border-color: rgba(243,156,18,0.35) !important;
  color: #f5c16c !important;
}
.vu-os-limit-note.vu-os-limit-ok {
  background: linear-gradient(90deg, rgba(97,179,196,0.12), rgba(97,179,196,0.04)) !important;
  border-color: rgba(97,179,196,0.3) !important;
  color: var(--muted) !important;
}
.vu-os-limit-ico {
  flex-shrink: 0;
  display: flex;
  margin-top: 1px;
  opacity: 0.95;
}
.vu-os-limit-warn .vu-os-limit-ico { color: #f39c12; }
.vu-os-limit-ok .vu-os-limit-ico { color: #61b3c4; }
.vu-os-limit-txt strong { color: var(--text, #eef2f5); }
.vu-os-row .vu-ev-info-btn {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
}


/* OS speeds compact right + toolbar align */
.vu-os-bar.vu-act-bar,
.vu-os-bar.vu-ev-bar {
  margin-bottom: 0.55rem;
}
.vu-os-bar .vu-act-bar-row,
.vu-os-bar .vu-ev-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}
.vu-os-bar .vu-act-lbl {
  margin-right: 0;
}
.vu-os-bar .vu-act-dates,
.vu-os-bar .tv-dates {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
}
.vu-os-row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem !important;
}
.vu-os-main {
  flex: 1 1 180px;
  min-width: 0;
}
.vu-os-speeds {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  margin: 0 0 0 auto !important;
  margin-left: auto !important;
  flex: 0 0 auto;
  max-width: 280px;
}
.vu-os-sp {
  flex: 0 0 auto;
  min-width: 72px;
  max-width: 90px;
  text-align: center;
  padding: 0.22rem 0.35rem !important;
  border-radius: 6px !important;
}
.vu-os-sp .vu-os-lbl {
  font-size: 0.55rem !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.vu-os-sp strong {
  font-size: 0.78rem !important;
  display: block;
}
.vu-os-over {
  display: block;
  margin-left: 0 !important;
  font-size: 0.65rem !important;
}
@media (max-width: 720px) {
  .vu-os-speeds {
    max-width: 100%;
    width: 100%;
    margin-left: 0 !important;
    justify-content: flex-start;
  }
  .vu-os-sp { flex: 1; max-width: none; }
}


/* VU Kalibracije — kao događaji / prekoračenja */
.vu-cal-empty {
  padding: 2rem 1rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: 12px;
}
.vu-cal-list {
  display: flex; flex-direction: column; gap: 0.45rem;
  max-height: 560px; overflow-y: auto; padding-right: 0.15rem;
}
.vu-cal-day {
  border: 1px solid var(--border, #2a3344);
  border-radius: 12px;
  background: var(--surface, #1a2130);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.vu-cal-sum:hover { background: rgba(97,179,196,0.06); }
.vu-cal-pill {
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.18rem 0.5rem;
  border-radius: 7px;
  background: rgba(97,179,196,0.16);
  color: #7ec8d6;
}
.vu-cal-pill--activation {
  background: rgba(59,130,246,0.16);
  color: #60a5fa;
}
.vu-cal-pill--first-installation {
  background: rgba(16,185,129,0.15);
  color: #34d399;
}
.vu-cal-pill--vehicle-installation {
  background: rgba(139,92,246,0.16);
  color: #a78bfa;
}
.vu-cal-pill--calibration,
.vu-cal-pill--unknown {
  background: rgba(127,127,127,0.14);
  color: var(--muted);
}
.vu-cal-meta-chip {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vu-cal-speed {
  border-color: rgba(230,126,34,0.35);
  color: #f0b27a;
  background: rgba(230,126,34,0.1);
}
.vu-cal-body {
  padding: 8px 12px 12px !important;
  border-top: 1px solid var(--border, #2a3344);
  gap: 8px;
}
.vu-cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
}
@media (max-width: 640px) {
  .vu-cal-grid { grid-template-columns: 1fr; }
}
.vu-cal-field {
  background: var(--surface, #1a2130);
  border: 1px solid var(--border, #2a3344);
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
  min-width: 0;
}
.vu-cal-lbl {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 0.05rem;
}
.vu-cal-val {
  display: block;
  font-size: 0.84rem;
  color: var(--text);
  word-break: break-word;
  line-height: 1.3;
}


.vu-os-over-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(231,76,60,0.4);
  color: #f1948a;
  background: rgba(231,76,60,0.12);
}


/* Final layout values for overspeed rows after spacing adjustments. */
.vu-os-row {
  padding-right: 4rem !important;
}
.vu-os-speeds {
  margin-right: 2rem !important;
  max-width: 250px !important;
}
.vu-os-sp {
  min-width: 68px !important;
  max-width: 82px !important;
}
.vu-os-row .vu-ev-info-btn {
  right: 1.75rem;
}

/* VU Mesta */
.vu-pl-empty {
  padding: 2rem 1rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: 12px;
}
.vu-pl-list {
  display: flex; flex-direction: column; gap: 0.45rem;
  max-height: 560px; overflow-y: auto; padding-right: 0.15rem;
}
.vu-pl-day {
  border: 1px solid var(--border, #2a3344);
  border-radius: 12px;
  background: var(--surface, #1a2130);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.vu-pl-count-pill, .vu-pl-chip {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.vu-pl-chip {
  background: rgba(97,179,196,0.1);
  border-color: rgba(97,179,196,0.25);
  color: #7ec8d6;
}
.vu-pl-body {
  padding: 8px 12px 10px !important;
  border-top: 1px solid var(--border);
  gap: 8px !important;
  flex-direction: column;
}
.vu-pl-row {
  position: relative;
  border-radius: 8px;
  border: 1px solid var(--border, #2a3344);
  border-left: 3px solid rgba(97,179,196,0.5);
  background: var(--surface-2, #202938);
  padding: 0.5rem 3.5rem 0.5rem 0.7rem;
}
.vu-pl-row-head {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.35rem; flex-wrap: wrap;
}
.vu-pl-row-head .vu-info-inline-btn,
.vu-more-row-title .vu-info-inline-btn {
  position: absolute;
  right: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.vu-pl-pill {
  font-size: 0.75rem; font-weight: 650;
  padding: 0.15rem 0.45rem; border-radius: 6px;
}
.vu-pl-start { background: rgba(52,211,153,0.15); color: #34d399; }
.vu-pl-end { background: rgba(248,113,113,0.15); color: #f87171; }

/* Place infringement check (kartica Mesto) */
.vu-pl-infr-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.55rem 0 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 0.86rem;
  line-height: 1.35;
  font-weight: 560;
}
.vu-pl-infr-bar.is-danger {
  border-color: rgba(239, 68, 68, 0.55);
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
}
.vu-pl-infr-bar-ico {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.2;
}
.vu-pl-infr-wrap {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
}
.vu-pl-infr-wrap::after {
  content: attr(data-tooltip);
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  right: 0;
  width: max-content;
  max-width: min(280px, 75vw);
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border, rgba(148, 163, 184, 0.35));
  border-radius: 7px;
  background: var(--surface-2, #1f2937);
  color: var(--text, #f3f4f6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
}
.vu-pl-infr-wrap:hover::after,
.vu-pl-infr-wrap:focus-within::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.vu-pl-infr-btn {
  position: relative;
  margin-left: 0.15rem;
  color: var(--muted, #94a3b8);
}
.vu-pl-infr-btn.has-infr {
  border-color: rgba(239, 68, 68, 0.6);
  background: rgba(239, 68, 68, 0.13);
  color: #f87171;
}
.vu-pl-infr-btn.has-infr:hover:not(:disabled) {
  border-color: rgba(239, 68, 68, 0.85);
  background: rgba(239, 68, 68, 0.22);
}
.vu-pl-infr-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25);
  pointer-events: none;
}
[data-theme="light"] .vu-pl-infr-bar,
[data-theme="light"] .vu-pl-infr-bar.is-danger {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}
[data-theme="light"] .vu-pl-infr-btn.has-infr {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}
[data-theme="light"] .vu-pl-infr-btn.has-infr:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.16);
  border-color: rgba(220, 38, 38, 0.55);
}

.vu-pl-time { font-size: 0.8rem; }
.vu-pl-grid {
  display: grid;
  width: 65%;
  grid-template-columns: 1fr 1fr;
  gap: 8px 36px;
}
@media (max-width: 640px) {
  .vu-pl-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }
}
.vu-pl-field {
  background: var(--surface, #1a2130);
  border: 1px solid var(--border, #2a3344);
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
}
.vu-pl-lbl {
  display: block; font-size: 0.58rem; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--muted); margin-bottom: 0.05rem;
}
.vu-pl-val { font-size: 0.82rem; color: var(--text); word-break: break-word; }
.vu-pl-driver {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.vu-pl-code {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
}
.vu-pl-hint {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.vu-pl-legend {
  margin: 0.35rem 0 0.65rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
  background: rgba(97,179,196,0.08);
  border: 1px solid rgba(97,179,196,0.2);
}
.vu-pl-legend strong { color: var(--text); }


/* VU Vozači */
.vu-drv-empty, .vu-more-empty {
  padding: 1.5rem 1rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: 12px; font-size: 0.88rem;
}
.vu-drv-list { display: flex; flex-direction: column; gap: 0.5rem; }
.vu-drv-card {
  position: relative;
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1rem 1.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface, #1a2130);
  transition: border-color .15s, background .15s;
}
.vu-drv-card:hover {
  border-color: rgba(97,179,196,0.35);
  background: rgba(97,179,196,0.04);
}
.vu-drv-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
  background: linear-gradient(135deg, rgba(97,179,196,0.35), rgba(97,179,196,0.12));
  color: #7ec8d6; flex-shrink: 0;
}
.vu-drv-body { flex: 1; min-width: 0; }
.vu-drv-name {
  font-weight: 700; font-size: 0.95rem; color: var(--text);
  margin-bottom: 0.35rem;
}
.vu-drv-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.vu-drv-chip {
  font-size: 0.72rem; color: var(--muted);
  padding: 0.15rem 0.5rem; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(0,0,0,0.15);
}
.vu-drv-resource {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.2;
}
.vu-drv-chip strong { color: var(--text); font-weight: 600; }
.vu-drv-cardno strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.7rem; }
.vu-drv-ok {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(52,211,153,0.15); color: #34d399;
  font-weight: 700; flex-shrink: 0;
}
.vu-drv-no {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(248,113,113,0.14); color: #f87171;
  font-weight: 700; font-size: 1.15rem; flex-shrink: 0;
}
.vu-drv-note {
  display: flex; align-items: flex-start; gap: 0.55rem;
  margin: 0.35rem 0 0.65rem; padding: 0.65rem 0.85rem;
  border-radius: 10px; font-size: 0.82rem; line-height: 1.4;
}
.vu-drv-ok-note {
  background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.28); color: var(--muted);
}
.vu-drv-warn {
  background: rgba(243,156,18,0.12); border: 1px solid rgba(243,156,18,0.3); color: #f5c16c;
}
.vu-drv-note-ico {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.75rem;
}
.vu-drv-ok-note .vu-drv-note-ico { background: rgba(52,211,153,0.2); color: #34d399; }
.vu-drv-warn .vu-drv-note-ico { background: rgba(243,156,18,0.2); color: #f39c12; }
.vu-drv-note strong { color: var(--text); }

/* VU Ostalo */
.vu-more-panel { display: flex; flex-direction: column; gap: 0.5rem; }
.vu-more-sec {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface, #1a2130);
  overflow: hidden;
}
.vu-more-sec-h {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem 1rem;
}
.vu-more-sec-title { font-weight: 700; font-size: 0.92rem; }
.vu-more-sec-count {
  font-size: 0.75rem; font-weight: 650;
  padding: 0.12rem 0.5rem; border-radius: 999px;
  background: rgba(97,179,196,0.15); color: #7ec8d6;
}
.vu-more-sum:hover { background: rgba(97,179,196,0.06); }
.vu-more-body {
  padding: 8px 12px 12px !important;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.vu-more-row {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid var(--border, #2a3344);
  border-left: 3px solid rgba(97,179,196,0.45);
  background: var(--surface-2, #202938);
  padding: 0.55rem 2.8rem 0.55rem 0.75rem;
}
.vu-more-fault { border-left-color: rgba(248,113,113,0.55); }
.vu-more-row-title {
  display: flex; align-items: center; gap: 0.5rem;
  min-height: 26px;
  box-sizing: border-box;
  font-weight: 650; font-size: 0.85rem; margin-bottom: 0.4rem; color: var(--text);
}
.vu-more-row-title > span:first-child { min-width: 0; flex: 1; }
.vu-more-grid {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 8px;
  width: min(100%, 520px);
  max-width: 520px;
  box-sizing: border-box;
}
.vu-more-row-title > span:first-child {
  max-width: 520px;
}
@media (max-width: 640px) {
  .vu-more-grid { grid-template-columns: fit-content(100%); }
}
.vu-more-f {
  background: var(--surface, #1a2130);
  border: 1px solid var(--border, #2a3344);
  border-radius: 6px;
  padding: 0.3rem 0.45rem;
}
.vu-more-lbl {
  display: block; font-size: 0.58rem; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--muted); margin-bottom: 0.05rem;
}
.vu-more-val { font-size: 0.82rem; color: var(--text); word-break: break-word; }

/* Upareno note — uska traka */
.vu-drv-note {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0.25rem 0 0.55rem !important;
  padding: 0.4rem 0.7rem !important;
  font-size: 0.8rem !important;
}
.vu-drv-phone strong {
  font-variant-numeric: tabular-nums;
}

/* Vozači note — full width, thin */
.vu-drv-note {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  margin: 0 0 0.65rem !important;
  padding: 0.35rem 0.75rem !important;
  min-height: 0 !important;
  align-items: center;
  font-size: 0.78rem !important;
  line-height: 1.3 !important;
}
.vu-drv-note-ico {
  width: 18px !important;
  height: 18px !important;
  font-size: 0.7rem !important;
}

/* Ostalo polish */
.vu-more-span2 { grid-column: 1 / -1; }
.vu-more-sec {
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
}
.vu-more-sum:hover { background: rgba(97,179,196,0.07) !important; }

/* Granice */
.vu-bd-empty {
  padding: 1.5rem 1rem; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: 12px;
}
.vu-bd-list { display: flex; flex-direction: column; gap: 0.5rem; }
.vu-bd-row {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid rgba(167,139,250,0.55);
  background: rgba(0,0,0,0.16);
  padding: 0.65rem 0.85rem;
}
.vu-bd-route {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.45rem; flex-wrap: wrap;
}
.vu-bd-country {
  font-weight: 700; font-size: 0.9rem;
  padding: 0.2rem 0.55rem; border-radius: 8px;
  background: rgba(167,139,250,0.12); color: #c4b5fd;
}
.vu-bd-enter {
  background: rgba(52,211,153,0.12); color: #34d399;
}
.vu-bd-arrow { color: var(--muted); font-weight: 700; }
.vu-ciw-list { display: flex; flex-direction: column; gap: 0.5rem; }
.vu-ciw-row {
  border-radius: 10px;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(97,179,196,0.55);
  background: var(--surface-2);
  padding: 0.65rem 0.85rem;
}
.vu-ciw-head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.65rem; }
.vu-ciw-slot {
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
}
.vu-ciw-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.55rem; }
.vu-ciw-empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.vu-ciw-driver-options { display: flex; flex-direction: column; gap: 0.25rem; max-height: 260px; overflow-y: auto; }
#vu-ciw-list.vu-ev-list {
  display: flex !important;
  flex-direction: column !important;
  max-height: 560px !important;
  overflow-y: auto !important;
  padding: 0.15rem 0.15rem 0.25rem 0 !important;
  gap: 0.45rem !important;
}
#vu-ciw-list .vu-day.vu-ciw-day {
  display: block !important;
  border: 1px solid var(--border, #2a3344) !important;
  border-left: 3px solid #61B3C4 !important;
  border-radius: 12px !important;
  background: var(--surface, #1a2130) !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
#vu-ciw-list .vu-ciw-day .vu-day-head {
  display: flex !important;
  align-items: stretch !important;
  min-height: 48px !important;
  padding: 0 !important;
}
#vu-ciw-list .vu-ciw-day button.vu-day-sum {
  flex: 1 1 auto !important;
  min-height: 48px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font: inherit !important;
  font-size: 14px !important;
  text-align: left !important;
  cursor: pointer !important;
}
#vu-ciw-list .vu-ciw-day button.vu-day-sum:hover {
  background: rgba(97,179,196,0.06) !important;
}
#vu-ciw-list .vu-ciw-day .vu-day-body {
  padding: 6px 12px 12px !important;
  border-top: 1px solid var(--border, #2a3344) !important;
}

.report-day-date-cell > .report-day-head {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 54px;
}


/* Vozila sa kartice vozača */
.vu-sess-table-wrap {
  overflow: auto;
  max-height: 520px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.vu-sess-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.vu-sess-table th {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  color: var(--muted);
  text-align: left;
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.72rem;
}
.vu-sess-table td {
  padding: 0.4rem 0.55rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: top;
}
.vu-sess-table tr:hover td {
  background: rgba(97,179,196,0.06);
}
.vu-sess-time {
  font-size: 0.72rem;
  white-space: nowrap;
}


/* Kartica vozača — podaci / čip / sertifikati (samo driver card) */
.vu-cardinfo-panel {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.vu-cardinfo-section {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.75rem 0.9rem;
}
.vu-cardinfo-title {
  font-weight: 650;
  font-size: 0.88rem;
  margin-bottom: 0.55rem;
  color: var(--text);
}
.vu-cardinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.4rem 0.75rem;
}
.vu-cardinfo-row {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.3rem 0;
}
.vu-cardinfo-lbl {
  font-size: 0.7rem;
  color: var(--muted);
}
.vu-cardinfo-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.vu-cardinfo-cert {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin-bottom: 0.45rem;
  background: var(--surface-2);
}
.vu-cardinfo-cert-head {
  font-size: 0.78rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.vu-cardinfo-note {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  color: var(--muted);
}


/* Kartica tab — sekcije sa bočnom linijom (kao mesta) */
.vu-cardinfo-section {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 0.75rem 0.9rem 0.75rem 0.95rem;
  border-left-width: 3px;
  border-left-style: solid;
}
.vu-cardinfo-accent-cyan { border-left-color: #61B3C4; }
.vu-cardinfo-accent-amber { border-left-color: #f59e0b; }
.vu-cardinfo-accent-violet { border-left-color: #8b5cf6; }

/* Vozila — grupisano po tablici */
.vu-sess-vehicle {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  border-left: 3px solid #61B3C4;
  overflow: hidden;
}
.vu-sess-vehicle-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  user-select: none;
}
.vu-sess-vehicle-head:hover {
  background: rgba(97,179,196,0.06);
}
.vu-sess-vehicle-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
}
.vu-sess-nat {
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.08rem 0.4rem;
}
.vu-sess-vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.vu-sess-vehicle-body {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0.35rem 0.55rem 0.55rem;
}
.vu-sess-vehicle.open .vu-sess-vehicle-body {
  display: block;
}
.vu-sess-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border);
  border-left: 3px solid rgba(97,179,196,0.5);
  border-radius: 8px;
  background: var(--surface-2, rgba(0,0,0,0.1));
  border-bottom: 1px solid var(--border);
}
.vu-sess-row:last-child { border-bottom: none; }
.vu-sess-day {
  font-weight: 650;
  min-width: 5.2rem;
}
.vu-sess-time { color: var(--muted); font-size: 0.72rem; }
.vu-sess-arrow { color: var(--muted); }
.vu-sess-dist { font-weight: 600; color: var(--text); }


/* Vozila — grupisano po datumu */
.vu-sess-daycard {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  border-left: 3px solid #61B3C4;
  overflow: hidden;
}
.vu-sess-daycard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  user-select: none;
}
.vu-sess-daycard-head:hover {
  background: rgba(97,179,196,0.06);
}
.vu-sess-daycard-title {
  font-size: 0.9rem;
}
.vu-sess-daycard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.vu-sess-daycard-body {
  display: none;
  border-top: 1px solid var(--border);
  padding: 0.35rem 0.55rem 0.55rem;
}
.vu-sess-daycard.open .vu-sess-daycard-body {
  display: block;
}
.vu-sess-plate {
  font-size: 0.82rem;
  min-width: 5.5rem;
}


/* Vozila — isti stil kao mesta (vu-day), detalj unutra */
.vu-sess-day {
  border: 1px solid var(--border, #2a3344);
  border-radius: 12px;
  background: var(--surface, #1a2130);
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.vu-sess-body {
  padding: 8px 12px 10px;
  gap: 6px;
  border-top: 1px solid var(--border);
}
.vu-sess-detail {
  border: 1px solid var(--border);
  border-radius: 10px;
  border-left: 3px solid #61B3C4;
  background: var(--surface-2, rgba(0,0,0,0.15));
  padding: 0.5rem 0.65rem;
}
.vu-sess-detail-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  font-size: 0.82rem;
}
.vu-sess-detail-bot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.vu-sess-dist-chip {
  font-weight: 650;
  color: var(--text) !important;
}
/* Vozila tab — spreči kolaps zbog absolute checkbox */
.vu-sess-day {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 0.45rem;
  border-left: 3px solid #61B3C4;
}
.vu-sess-day-head {
  position: relative !important;
  display: flex !important;
  align-items: stretch !important;
  min-height: 52px;
}
.vu-sess-day .vu-sess-check,
.vu-sess-day .vu-day-check.vu-sess-check {
  position: relative !important;
  inset: auto !important;
  width: 48px !important;
  min-width: 48px !important;
  min-height: 52px !important;
  flex: 0 0 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-right: 1px solid var(--border) !important;
  background: rgba(97,179,196,0.08) !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.vu-sess-day .vu-sess-sum,
.vu-sess-day .vu-day-sum.vu-sess-sum {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  min-height: 52px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font-size: 14px !important;
  font-family: inherit !important;
  text-align: left !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}
.vu-sess-day .vu-day-date {
  font-weight: 700 !important;
  font-size: 15px !important;
  min-width: 7rem !important;
  color: var(--text) !important;
  flex-shrink: 0;
}
.vu-sess-day .vu-day-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  flex: 1 !important;
}
.vu-sess-day .vu-day-chev {
  margin-left: auto;
  color: var(--muted);
  font-size: 1.15rem;
}
.vu-sess-day.is-open .vu-day-chev {
  transform: rotate(90deg);
}
.vu-sess-body {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px 12px 10px !important;
  border-top: 1px solid var(--border);
}

/* Vozači tab — kartice sa bočnom linijom */
.vu-drv-card,
.vu-match-card,
[class*="vu-drv"] .vu-drv-item {
  border-left: 3px solid #61B3C4 !important;
}


/* ===== Vozila (sessions) — izolovan stil ===== */
.vs-card {
  display: block !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid #61B3C4 !important;
  border-radius: 12px !important;
  background: var(--surface) !important;
  overflow: hidden !important;
  min-height: 52px !important;
}
.vs-head {
  display: flex !important;
  align-items: stretch !important;
  min-height: 52px !important;
  position: relative !important;
}
.vs-check {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  flex: 0 0 48px !important;
  border-right: 1px solid var(--border) !important;
  background: rgba(97,179,196,0.08) !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  inset: auto !important;
}
.vs-check input {
  width: 15px !important;
  height: 15px !important;
  accent-color: #61B3C4 !important;
  cursor: pointer !important;
}
.vs-sum {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 52px !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font: inherit !important;
  font-size: 14px !important;
  text-align: left !important;
  cursor: pointer !important;
  width: auto !important;
  box-sizing: border-box !important;
}
.vs-sum:hover { background: rgba(97,179,196,0.06) !important; }
.vs-date {
  font-weight: 700 !important;
  font-size: 15px !important;
  min-width: 7rem !important;
  color: var(--text) !important;
  flex-shrink: 0 !important;
}
.vs-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  flex: 1 !important;
}
.vs-pill {
  font-size: 12px !important;
  padding: 2px 8px !important;
  border-radius: 999px !important;
  border: 1px solid var(--border) !important;
  color: var(--muted) !important;
  background: rgba(97,179,196,0.08) !important;
  white-space: nowrap !important;
}
.vs-pill strong { color: var(--text) !important; font-weight: 650 !important; }
.vs-chev {
  margin-left: auto !important;
  color: var(--muted) !important;
  font-size: 1.2rem !important;
  transition: transform 0.15s !important;
  flex-shrink: 0 !important;
}
.vs-card.is-open .vs-chev { transform: rotate(90deg) !important; }
.vs-body {
  border-top: 1px solid var(--border) !important;
  padding: 8px 12px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.vs-body[hidden] { display: none !important; }
.vs-row {
  border: 1px solid var(--border) !important;
  border-left: 3px solid rgba(97,179,196,0.55) !important;
  border-radius: 10px !important;
  background: var(--surface-2, rgba(0,0,0,0.12)) !important;
  padding: 0.5rem 0.65rem !important;
}
.vs-row-top {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.4rem 0.55rem !important;
  font-size: 0.82rem !important;
  color: var(--text) !important;
}
.vs-plate { font-size: 0.86rem !important; }
.vs-time { color: var(--muted) !important; font-size: 0.75rem !important; }
.vs-row-bot {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.35rem !important;
  margin-top: 0.35rem !important;
}
.vs-dist { font-weight: 650 !important; color: var(--text) !important; }


/* Vozila — select-all poravnat sa checkbox kolonom */
#vu-sess-select-all-row.vs-select-all-row,
.vs-select-all-row {
  display: flex !important;
  align-items: center !important;
  padding: 0 0 4px 0 !important;
  margin: 0 0 2px 0 !important;
  min-height: 36px !important;
}
.vs-select-all-row .vs-check,
.vs-select-all-row .vs-select-all-lab {
  width: 48px !important;
  min-width: 48px !important;
  flex: 0 0 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-right: none !important;
  background: transparent !important;
  position: relative !important;
  inset: auto !important;
  min-height: 36px !important;
  cursor: pointer !important;
}
.vs-select-all-row input {
  width: 15px !important;
  height: 15px !important;
  accent-color: #61B3C4 !important;
}

/* sigurno otvaranje tela */
.vs-card.is-open > .vs-body {
  display: flex !important;
  flex-direction: column !important;
}
.vs-card:not(.is-open) > .vs-body {
  display: none !important;
}
.vs-sum {
  pointer-events: auto !important;
  z-index: 1 !important;
}


/* Vozila — native details (pouzdano otvaranje) */
.vs-details {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: none !important;
  background: transparent !important;
}
.vs-details > .vs-sum {
  list-style: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 52px !important;
  padding: 10px 14px !important;
  color: var(--text) !important;
  font: inherit !important;
  font-size: 14px !important;
}
.vs-details > .vs-sum::-webkit-details-marker { display: none !important; }
.vs-details > .vs-sum::marker { content: "" !important; }
.vs-details[open] > .vs-sum .vs-chev {
  transform: rotate(90deg) !important;
}
.vs-details > .vs-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 8px 12px 10px !important;
  border-top: 1px solid var(--border) !important;
}
.vs-details:not([open]) > .vs-body {
  display: none !important;
}


/* ===== Vozila 1.71 — details kao root, forsiran prikaz ===== */
#vu-sess-list details.vs-card {
  display: block !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid #61B3C4 !important;
  border-radius: 12px !important;
  background: var(--surface) !important;
  overflow: visible !important;
  margin: 0 0 0.45rem 0 !important;
  min-height: 52px !important;
}
#vu-sess-list details.vs-card > summary.vs-sum {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 52px !important;
  padding: 10px 14px 10px 0 !important;
  cursor: pointer !important;
  list-style: none !important;
  color: var(--text) !important;
  font: inherit !important;
  font-size: 14px !important;
  user-select: none !important;
}
#vu-sess-list details.vs-card > summary.vs-sum::-webkit-details-marker { display: none !important; }
#vu-sess-list details.vs-card > summary.vs-sum::marker { content: "" !important; display: none !important; }

#vu-sess-list details.vs-card > summary .vs-check {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  min-width: 48px !important;
  flex: 0 0 48px !important;
  align-self: stretch !important;
  border-right: 1px solid var(--border) !important;
  background: rgba(97,179,196,0.08) !important;
  margin: -10px 0 -10px 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
  position: relative !important;
  inset: auto !important;
}
#vu-sess-list details.vs-card > summary .vs-check input {
  width: 15px !important;
  height: 15px !important;
  accent-color: #61B3C4 !important;
  pointer-events: auto !important;
}

#vu-sess-list details.vs-card > summary .vs-date {
  font-weight: 700 !important;
  font-size: 15px !important;
  min-width: 7rem !important;
  color: var(--text) !important;
  flex-shrink: 0 !important;
}
#vu-sess-list details.vs-card > summary .vs-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  align-items: center !important;
  flex: 1 !important;
}
#vu-sess-list details.vs-card > summary .vs-chev {
  margin-left: auto !important;
  color: var(--muted) !important;
  font-size: 1.2rem !important;
  transition: transform 0.15s !important;
}
#vu-sess-list details.vs-card[open] > summary .vs-chev {
  transform: rotate(90deg) !important;
}

/* KLJUČNO: telo mora da se vidi kad je open */
#vu-sess-list details.vs-card[open] > .vs-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  padding: 8px 12px 12px 12px !important;
  border-top: 1px solid var(--border) !important;
}
#vu-sess-list details.vs-card:not([open]) > .vs-body {
  display: none !important;
}

#vu-sess-list .vs-row {
  display: block !important;
  border: 1px solid var(--border) !important;
  border-left: 3px solid rgba(97,179,196,0.55) !important;
  border-radius: 10px !important;
  background: var(--surface-2, rgba(0,0,0,0.12)) !important;
  padding: 0.5rem 0.65rem !important;
}
#vu-sess-list .vs-row-top {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.4rem 0.55rem !important;
  font-size: 0.82rem !important;
  color: var(--text) !important;
}
#vu-sess-list .vs-row-bot {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.35rem !important;
  margin-top: 0.35rem !important;
}

#vu-sess-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 560px;
  overflow-y: auto;
  padding-right: 0.15rem;
}
.vu-sess-day {
  border-left: 3px solid #61B3C4;
}


/* Vozila — traka paginacije */
.vu-sess-pager {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border);
}
.vu-sess-pager-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.vu-sess-pager-left,
.vu-sess-pager-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.vu-sess-pager-lbl {
  font-size: 0.75rem;
  color: var(--muted);
}
.vu-sess-pager-select {
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-2, var(--surface));
  color: var(--text);
  padding: 0 0.4rem;
  font: inherit;
  font-size: 0.8rem;
}
.vu-sess-pager-range,
.vu-sess-pager-page {
  font-size: 0.78rem;
  color: var(--muted);
}
.vu-sess-pager-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 0.4rem;
}
.vu-sess-pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}


/* Vozila lista — NE sme da skuplja redove (flex-shrink) */
#vu-sess-list,
#vu-sess-list.vu-sess-list,
.vu-sess-list {
  display: block !important;
  max-height: 560px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 0.15rem 0 0.25rem 0 !important;
  gap: 0.45rem !important;
}
#vu-sess-list > .vu-day,
#vu-sess-list > details.vs-card,
#vu-sess-list > * {
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  min-height: 52px !important;
  height: auto !important;
  max-height: none !important;
  margin-bottom: 10px !important;
  box-sizing: border-box !important;
}
#vu-sess-list > *:last-child {
  margin-bottom: 0 !important;
}
/* head u redu uvek puna visina */
#vu-sess-list .vu-day-sum,
#vu-sess-list button.vu-day-sum {
  min-height: 52px !important;
  height: auto !important;
  flex-shrink: 0 !important;
}


/* Događaji — isti stil dana kao Aktivnosti */
#vu-ev-list.vu-ev-list,
.vu-ev-list {
  display: flex !important;
  flex-direction: column !important;
  max-height: 560px !important;
  overflow-y: auto !important;
  padding: 0.15rem 0.15rem 0.25rem 0 !important;
  gap: 0.45rem !important;
}
#vu-ev-list .vu-day.vu-ev-day,
.vu-ev-day {
  display: block !important;
  border: 1px solid var(--border, #2a3344) !important;
  border-left: 3px solid #61B3C4 !important;
  border-radius: 12px !important;
  background: var(--surface, #1a2130) !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
#vu-ev-list .vu-day.vu-ev-day .vu-day-head {
  display: flex !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-height: 48px !important;
  padding: 0 !important;
}
/* ista checkbox kolona kao Aktivnosti — bez fiksne 48px i blaža pozadina */
#vu-ev-list .vu-day.vu-ev-day .vu-day-check {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 0.55rem 0 0.65rem !important;
  border-right: 1px solid var(--border) !important;
  background: rgba(97,179,196,0.04) !important;
  position: relative !important;
  inset: auto !important;
  cursor: pointer !important;
}
#vu-ev-list .vu-day.vu-ev-day .vu-day-check input {
  width: 15px !important;
  height: 15px !important;
  accent-color: var(--accent, #61b3c4) !important;
  cursor: pointer !important;
}
#vu-ev-list .vu-day.vu-ev-day .vu-day-sum,
#vu-ev-list .vu-day.vu-ev-day button.vu-day-sum {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 12px 14px !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--text) !important;
  font: inherit !important;
  font-size: 14px !important;
  text-align: left !important;
  cursor: pointer !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#vu-ev-list .vu-day.vu-ev-day .vu-day-sum:hover {
  background: rgba(97,179,196,0.06) !important;
}
#vu-ev-list .vu-day.vu-ev-day .vu-day-body {
  border-top: 1px solid var(--border);
}

/* Aktivnosti — ista leva traka */
#vu-activity-list .vu-day {
  border-left: 3px solid #61B3C4 !important;
}
#vu-activity-list {
  display: block !important;
}
#vu-activity-list .vu-day {
  flex-shrink: 0 !important;
  margin: 0 0 8px 0 !important;
}

/* Ista leva traka za ostale VU zapise */
#vu-os-list > .vu-os-day,
#vu-cal-list > .vu-cal-day,
#vu-pl-list > .vu-pl-day,
.vu-more-panel > .vu-more-sec {
  border-left: 3px solid #61B3C4 !important;
}

.vu-more-row {
  border-left: 3px solid rgba(97,179,196,0.5);
}
.vu-more-row.vu-more-fault {
  border-left-color: rgba(248,113,113,0.55);
}


/* Vozila — otvoren dan: sesije kao Mesta */
.vu-sess-row-vehicle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.vu-sess-plate {
  font-size: 0.9rem;
  color: var(--text);
  letter-spacing: 0.02em;
}
.vu-sess-nat-pill {
  font-size: 0.72rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(97,179,196,0.08);
}
.vu-sess-row-time {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.35;
}
.vu-sess-row-time .vu-dual,
.vu-sess-row-time .vu-time-dual {
  display: inline;
}
.vu-sess-meta-pill {
  font-size: 0.72rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: rgba(97,179,196,0.06);
}
.vu-sess-dist {
  color: var(--text);
  border-color: rgba(97,179,196,0.35);
}
/* dual time stil ako postoji */
.vu-sess-row-time .utc,
.vu-sess-row-time .local {
  font-size: 0.75rem;
}


/* Vozila = ista visina reda kao Aktivnosti */
#vu-sess-list > .vu-day,
#vu-sess-list > * {
  min-height: 0 !important;
  margin-bottom: 8px !important;
  border-radius: 10px !important;
}
#vu-sess-list .vu-day-sum,
#vu-sess-list button.vu-day-sum {
  min-height: 48px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
}
#vu-sess-list .vu-day-check {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 0.55rem 0 0.65rem !important;
  background: rgba(97,179,196,0.04) !important;
}

/* Otvorena sesija — čistiji red */
.vu-sess-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.vu-sess-plate {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  letter-spacing: 0.03em;
}
.vu-sess-nat-pill {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(129,140,248,0.45);
  background: rgba(129,140,248,0.16);
  color: #c4b5fd;
}
.vu-sess-dist-pill {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(52,211,153,0.4);
  background: rgba(52,211,153,0.12);
  color: #6ee7b7;
  font-weight: 600;
}
.vu-sess-row-time {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.4;
}
.vu-sess-row-odo {
  font-size: 0.72rem;
  color: var(--muted);
}


/* Vozila — red sesije kao događaji (levo, ne centrirano) */
.vu-sess-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(97,179,196,0.4);
  background: rgba(97,179,196,0.12);
  color: #A5D6F1;
}
.vu-sess-pill-km {
  border-color: rgba(52,211,153,0.35);
  background: rgba(52,211,153,0.1);
  color: #6ee7b7;
  font-weight: 600;
}
.vu-sess-time {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.35;
  text-align: left;
}
.vu-sess-km-txt {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: left;
}

/* Sesije — koristi isti raspored kao događaji */
#vu-sess-list .vu-day-body .vu-ev-row {
  text-align: left;
}
#vu-sess-list .vu-day-body .vu-ev-row-main {
  justify-content: flex-start;
}
#vu-sess-list .vu-day-body .vu-ev-row-meta {
  align-items: flex-start;
  text-align: left;
}

/* Analiza tahografa — bez paginacije, samo skrol */
.vu-sess-pager,
#vu-act-pager,
#vu-pl-pager,
#vu-ev-pager,
#vu-os-pager,
#vu-cal-pager,
#vu-sess-pager {
  display: none !important;
}

.vu-panel-docs .vu-panel-head-text {
  flex: 1;
  min-width: 0;
}
.vu-panel-docs .vu-docs-toolbar {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}
.vu-panel-docs .vu-docs-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.vu-panel-docs .vu-docs-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.vu-panel-docs .vu-docs-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.vu-panel-docs .vu-docs-tab:hover,
.vu-panel-docs .vu-docs-tab[aria-selected="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}
.vu-panel-docs .vu-docs-tab svg {
  width: 17px;
  height: 17px;
}
.vu-panel-docs .vu-docs-tab-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border: 1px solid var(--surface);
  border-radius: 999px;
  background: var(--accent);
  color: var(--btn-primary-text, #fff);
  font-size: 9px;
  font-weight: 700;
  line-height: 12px;
  text-align: center;
  box-sizing: border-box;
}
.vu-panel-docs .vu-docs-toolbar {
  flex-direction: row;
  align-items: center;
  margin-right: 0.25rem;
}
.vu-panel-docs .vu-docs-toolbar-top {
  gap: 0.9rem;
}
.vu-section .vu-panel-docs {
  overflow: visible;
}
.ui-refresh-button,
.vu-panel-docs button.vu-btn-refresh {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 30px;
  padding: 0 !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  background: var(--surface) !important;
  color: var(--muted) !important;
}
.ui-refresh-button::after,
.vu-panel-docs button.vu-btn-refresh::after {
  position: absolute;
  z-index: 20;
  right: 50%;
  bottom: calc(100% + 8px);
  padding: 0.3rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  content: attr(data-tooltip);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(50%, 3px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
}
.ui-refresh-button:hover::after,
.ui-refresh-button:focus-visible::after,
.vu-panel-docs button.vu-btn-refresh:hover::after,
.vu-panel-docs button.vu-btn-refresh:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(50%, 0);
}
.ui-refresh-button:hover,
.vu-panel-docs button.vu-btn-refresh:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
.vu-wheel-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.vu-wheel-tooltip::after {
  position: absolute;
  z-index: 40;
  left: 50%;
  top: calc(100% + 7px);
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  content: attr(data-tooltip);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -3px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s ease;
}
.vu-wheel-tooltip:hover::after,
.vu-wheel-tooltip:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.vu-day:has(.vu-wheel-tooltip:hover),
.vu-day:has(.vu-wheel-tooltip:focus-visible) {
  z-index: 2;
}
.ui-refresh-button:disabled,
.vu-panel-docs button.vu-btn-refresh:disabled {
  cursor: wait;
  opacity: 0.85;
  border-color: var(--border) !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  outline: none;
}
.ui-refresh-button[aria-busy="true"] > svg,
.vu-panel-docs button.vu-btn-refresh[aria-busy="true"] > svg {
  animation: ui-refresh-spin 0.8s linear infinite;
}
@keyframes ui-refresh-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ui-refresh-button[aria-busy="true"] > svg,
  .vu-panel-docs button.vu-btn-refresh[aria-busy="true"] > svg {
    animation-duration: 2s;
  }
}
.vu-section .vu-docs-toolbar-top .vu-docs-tabs {
  margin-right: 0.25rem;
}
.vu-section .vu-drop-visual {
  width: 120px !important;
  height: 56px !important;
  gap: 0.5rem;
}
.vu-section .vu-drop-visual .vu-drop-ico {
  flex: 0 0 52px;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
}
.vu-section .vu-drop-visual .vu-drop-card-ico {
  background: linear-gradient(145deg, rgba(97,179,196,0.22), rgba(97,179,196,0.08)) !important;
  border: 1px solid rgba(97,179,196,0.35) !important;
  box-shadow:
    0 0 0 1px rgba(97,179,196,0.1),
    0 6px 18px rgba(97,179,196,0.18) !important;
  color: #61B3C4 !important;
}


/* VU tools — kompaktno u jednom redu (npr. Wialon iframe); prelom samo ako ne staje */
.vu-section .vu-panel-docs .vu-docs-tools {
  flex-wrap: wrap !important;
  gap: 0.4rem 0.35rem !important;
  padding: 0.5rem 0.6rem 0.35rem !important;
}
.vu-section .vu-panel-docs .vu-search-compact {
  flex: 1 1 64px !important;
  min-width: 56px !important;
  max-width: 150px !important;
}
.vu-section .vu-panel-docs .vu-tools-right {
  flex: 0 1 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 0.25rem;
  min-width: 0;
}
.vu-section .vu-panel-docs .vu-tools-right .tacho-dp-wrap {
  min-width: 0 !important;
  max-width: 90px !important;
}
.vu-section .vu-panel-docs .vu-tools-right .tacho-dp-wrap input.tacho-date-input {
  min-width: 0 !important;
  width: 90px !important;
  font-size: 0.72rem !important;
  padding: 0 1.45rem 0 0.35rem !important;
}
.vu-section .vu-panel-docs .vu-tools-right .tacho-dp-btn {
  width: 24px !important;
  height: 24px !important;
}
.vu-section .vu-panel-docs .vu-date-sep {
  padding: 0;
}
.vu-section .vu-panel-docs .vu-btn-show {
  padding: 0 0.55rem !important;
}
