/* CourtesyBox F24 · adaptacao APENAS da vista Lista de Viaturas.
   O modo Lista aprovado para monitores grandes permanece integralmente. */
.cbx-v24-list-wrapper { min-width:0; width:100%; }
.cbx-v24-responsive { display:block; min-width:0; overflow:hidden; }
.cbx-v24-full-table { display:none; }
.cbx-v24-row {
  display:grid;
  grid-template-columns:205px minmax(0,1.1fr) minmax(0,1fr) 95px 250px;
  grid-template-areas:
    "identity vehicle client status actions"
    "identity km fuel fuel actions";
  column-gap:12px;row-gap:4px;align-items:center;
  min-width:0;padding:9px 13px;
  border-bottom:1px solid rgba(148,163,184,.14);
}
.cbx-v24-row:last-child { border-bottom:0; }
.cbx-v24-row:hover { background:rgba(255,255,255,.025); }
.cbx-v24-row.cbx-v24-selected { background:rgba(239,68,68,.07);box-shadow:inset 2px 0 rgba(239,68,68,.65); }
.cbx-v24-field { min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;font-size:13px;line-height:1.27; }
.cbx-v24-label { font-size:10px;line-height:1.15;letter-spacing:.035em;font-weight:650;text-transform:uppercase;color:#95a0b4; }
.cbx-v24-identity { grid-area:identity; }
.cbx-v24-vehicle { grid-area:vehicle; }
.cbx-v24-client { grid-area:client; }
.cbx-v24-km { grid-area:km; }
.cbx-v24-fuel { grid-area:fuel; }
.cbx-v24-status { grid-area:status; }
.cbx-v24-actions { grid-area:actions; align-items:flex-end; }
.cbx-v24-ident { display:flex;align-items:center;gap:8px;max-width:100%;flex-wrap:nowrap; }
.cbx-v24-ident>* { flex-shrink:0; }
.cbx-v24-break { min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:normal; }
.cbx-v24-name { display:inline;text-align:left;font-size:13px;line-height:1.27;overflow-wrap:anywhere; }
.cbx-v24-muted { font-size:11px;color:#8a97aa; }
.cbx-v24-km span { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-variant-numeric:tabular-nums; }
.cbx-v24-fuel-value {color:#b3bfd0;}
.cbx-v24-status-active {color:#34d399;font-size:12px;}
.cbx-v24-status-pending {color:#fbbf24;font-size:12px;}
.cbx-v24-actions-inner {max-width:100%;}
.cbx-v24-actions-inner>div {display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;gap:3px;max-width:100%;}
.cbx-v24-actions-inner button {flex:0 0 auto;min-height:34px;}
.cbx-v24-actions-inner button:focus-visible {outline:2px solid #f87171;outline-offset:2px;}
@media(min-width:1800px){
  .cbx-v24-responsive { display:none; }
  .cbx-v24-full-table { display:block; }
}
@media(min-width:960px) and (max-width:1199px){
  .cbx-v24-row {
    grid-template-columns:190px minmax(0,1fr) minmax(0,1fr) 240px;
    grid-template-areas:
      "identity vehicle client actions"
      "identity km fuel actions"
      "identity status status actions";
    column-gap:10px;row-gap:3px;padding:9px 11px;
  }
}
@media(max-width:959px){
  .cbx-v24-row {
    grid-template-columns:195px minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "identity vehicle vehicle"
      "client client status"
      "km fuel fuel"
      "actions actions actions";
    gap:8px 12px;padding:11px;
  }
  .cbx-v24-actions { border-top:1px solid rgba(148,163,184,.14);padding-top:8px;align-items:flex-start; }
  .cbx-v24-actions-inner>div { justify-content:flex-start;flex-wrap:wrap; }
}
@media(max-width:639px){
  .cbx-v24-row {
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-areas:
      "identity status"
      "vehicle vehicle"
      "client client"
      "km fuel"
      "actions actions";
    column-gap:10px;row-gap:8px;padding:10px;
  }
  .cbx-v24-ident { gap:6px; flex-wrap:wrap; }
  .cbx-v24-ident button:first-child { max-width:100%; }
  .cbx-v24-identity { min-width:0; }
  .cbx-v24-actions-inner>div {gap:4px;}
}
@media(max-width:359px){
  .cbx-v24-ident {flex-wrap:wrap;}
}
