/* Approved compact refinements: existing columns, table geometry and row colors stay intact. */
.admin-vehicles-table .customer-name,
.admin-vehicles-table .vehicle-name-text,
.admin-vehicles-table .vehicle-vin-text{
  background:#fff!important;color:#182b43!important;border-radius:5px;
  box-shadow:inset 0 0 0 1px #dce2e9;
}
.admin-vehicles-table .customer-name,
.admin-vehicles-table .vehicle-name-text{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  white-space:normal!important;overflow:hidden;overflow-wrap:anywhere;
  max-height:32px;line-height:15px!important;padding:1px 4px;
}
.admin-vehicles-table .customer-name{font-size:.94rem!important;font-weight:800}
.admin-vehicles-table .vehicle-name-text{font-size:.82rem;font-weight:800}
.admin-vehicles-table .vehicle-vin-text{
  display:block;white-space:nowrap;padding:1px 2px;max-width:100%;font-weight:850;
  font-variant-numeric:tabular-nums slashed-zero;
}
/* White labels sit inside existing colored admin cells; SI alerts remain independent. */
.admin-vehicles-table .vehicle-data-chip,
.admin-vehicles-table .fuel-mini,
.admin-vehicles-table .badge,
.admin-vehicles-table .booking-number{
  background:#fff!important;color:#182b43!important;border-radius:5px;
  box-shadow:inset 0 0 0 1px #dce2e9;font-weight:800;
  font-variant-numeric:tabular-nums slashed-zero;
}
.admin-vehicles-table .vehicle-data-chip{display:inline-block;max-width:100%;padding:0 3px;vertical-align:middle}
.admin-vehicles-table .vehicle-name-text:hover{text-decoration:underline}
.admin-vehicles-table .vehicle-name-text:focus-visible{outline:2px solid #173c70;outline-offset:2px}
.admin-vehicles-table .fuel-mini.is-hybrid,
.admin-vehicles-table .fuel-mini.is-electric,
.admin-vehicles-table .fuel-mini.is-unknown{color:#b42318!important}
.admin-vehicles-table .fuel-mini.is-gas{color:#067647!important}
.admin-vehicles-table .sort-head{color:#182b43;font-weight:850}
/* The original-download button must not receive the image link's flex growth. */
.admin-main .photo-tile>a.btn{flex:0 0 auto;}
/* Independent touch scrolling keeps the last admin menu entries reachable. */
@media(max-width:900px){
  .admin-nav{overflow-y:auto;overflow-x:hidden;max-height:100vh;max-height:100dvh;
    overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;
    padding-bottom:max(28px,env(safe-area-inset-bottom));scrollbar-width:thin;}
  .admin-vehicles-table .customer-name{font-size:.82rem!important;}
}
/* Customer data chips: retain table widths, cell padding and colored row backgrounds. */
.customer-vehicles-table .customer-list-name,
.customer-vehicles-table .customer-vehicle-name,
.customer-vehicles-table .customer-data-chip,
.customer-vehicles-table .fuel-mini,
.customer-vehicles-table .badge,
.customer-vehicles-table .booking-number{
 background:#fff!important;color:#182b43!important;border-radius:5px;
 box-shadow:inset 0 0 0 1px #dce2e9;box-decoration-break:clone;
 -webkit-box-decoration-break:clone;
 font-weight:750;font-variant-numeric:tabular-nums slashed-zero;
}
.customer-vehicles-table .customer-data-chip{
 display:inline-block;max-width:100%;padding:0 3px;vertical-align:middle;
}
.customer-vehicles-table .customer-vin-text{
 font-family:Arial,Helvetica,sans-serif;font-size:inherit;font-weight:800;
 letter-spacing:-.025em;white-space:normal;overflow-wrap:anywhere;
}
.customer-vehicles-table .customer-container-text{white-space:nowrap}
.customer-vehicles-table .customer-lot-text{font-weight:650}
.customer-vehicles-table .si-cutoff-box{
 font-weight:800;font-variant-numeric:tabular-nums;
}
.customer-vehicles-table .customer-vehicle-name:hover{ text-decoration:underline; }
.customer-vehicles-table .customer-vehicle-name:focus-visible{
 outline:2px solid #173c70;outline-offset:2px;
}
.customer-vehicles-table .fuel-mini.is-hybrid,
.customer-vehicles-table .fuel-mini.is-electric,
.customer-vehicles-table .fuel-mini.is-unknown{color:#b42318!important}
.customer-vehicles-table .fuel-mini.is-gas{color:#067647!important}
.customer-vehicles-table .sort-head{color:#182b43;font-weight:850}
.customer-vehicles-table .booking-number{direction:ltr}
.customer-vehicles-table .customer-list-name,
.customer-vehicles-table .customer-vehicle-name{
 padding:0 3px;
}
.customer-vehicles-table .customer-list-name,
.customer-vehicles-table .customer-vehicle-name{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
 overflow:hidden;white-space:normal;overflow-wrap:anywhere;max-height:2.6em;line-height:1.3;
}
.customer-vehicles-table .customer-list-name{font-weight:800}
.customer-vehicles-table .customer-vehicle-name{font-size:inherit;font-weight:850}
/* Customer palette retains existing geometry. */
.customer-palette{--navy:#0d1c30;--navy2:#172b43;--gold:#d3b36c;--gold2:#b99245;
  --blue:#b99245;--ink:#1c2c40;--muted:#626f80;--bg:#f5f6f8;--line:#dce2e9;}
.customer-palette.branded-portal{background:#0d1c30;}
.customer-palette .customer-head,.customer-palette .customer-top{
  background:linear-gradient(135deg,#0d1c30,#172b43);border-color:#b9924566;}
.customer-palette .customer-brand,.customer-palette .customer-welcome span{color:#d3b36c;}
.customer-palette .customer-main{background-color:#f5f6f8;}
.customer-palette .card,.customer-palette .portal-card,.customer-palette .stat,
.customer-palette .customer-stats>div,.customer-palette .result-stats>div,
.customer-palette .vehicle-card,.customer-palette .table-wrap{background-color:#fff;border-color:#dce2e9;}
.customer-palette .vehicles-table thead th{background-color:#edf1f5;color:#34465e;border-color:#dce2e9;}
.customer-palette .btn.primary,.customer-palette .portal-login-link{
  background:linear-gradient(135deg,#dbc18b,#c6a45e)!important;border-color:#b99245;color:#15263c!important;}
.customer-palette .customer-nav a:hover{background-color:#ffffff14;color:#f0d99f;}
.customer-palette .vehicle-filter input,.customer-palette .vehicle-filter select{border-color:#d4dce6;background-color:#fff;color:#1c2c40;}
.customer-palette .loading-workspace[data-admin="0"] .load-header{background:linear-gradient(135deg,#0d1c30,#172b43);}

/* Desktop navigation: wheel scrolling without changing sidebar dimensions or reserving scrollbar space. */
@media(min-width:901px){
  .admin-nav{
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior-y:contain;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .admin-nav::-webkit-scrollbar{display:none;width:0;height:0;}
}
