/* Vermietung V2 UI (assets/rental-v2.js): kartica "Mieter?" / veze u Pregledu dokumenta, cip u traci, filter u Dokumentima,
   lista dokumenata jedinice u kartici Mieter. Samo tokeni (v5 / postojeci), bez sirovih boja i px fontova. */
.rtlcard { margin-bottom: 10px; }
.rtlcard .chead h3 { margin: 0; }
.rtlbody { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.rtlsug { box-shadow: var(--ring), inset 3px 0 0 var(--blue); }
.rtlfacts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; line-height: 1.4; }
.rtlfacts .rtlf { font-weight: 600; color: var(--ink); }
.rtlmeta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: .92em; color: var(--muted); }
.rtlnote { font-size: .92em; line-height: 1.45; color: var(--faint); }
.rtlsep { color: var(--faint); }
.rtlbody .hint { padding: 0; }
.rtlbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.rtlb { min-height: 32px; }
.rtlrejrow { flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; }
.rtlchip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rtlpill { max-width: 100%; }
.rtlpt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.rtlrm { padding: 0 8px; }
.rtlbar:empty { display: none; }
.rtlbarpill { border: 0; cursor: pointer; font-family: inherit; font-weight: 600; max-width: 26ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rtfilt { max-width: 240px; margin-left: 8px; }
.rtfilt.on { box-shadow: 0 0 0 1.5px var(--blue); }
.rtldocs { font-variant-numeric: tabular-nums; min-width: 2.2em; text-align: left; }
.rtldocs.zero { color: var(--faint); }
.rtldocrow > td { background: var(--bg); padding: 6px 10px 10px; }
.rtldl { display: flex; flex-direction: column; }
.rtldoc { gap: 10px; text-decoration: none; color: inherit; }
.rtldoc:hover .rtldn { text-decoration: underline; }
.rtldl .rtldoc .k.rtldn { flex: 1 1 auto; width: auto; max-width: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.rtldfoot { display: flex; align-items: center; gap: 8px; padding-top: 6px; }
@media (max-width: 600px) {
  .rtfilt { max-width: 100%; margin-left: 0; flex: 1 1 100%; }
  .rtlpt { max-width: 28ch; }
  .rtlb { flex: 1 1 0; min-height: 40px; }
  .rtldocrow > td { display: block; }
}
