:root{--v4-navy:#172033;--v4-yellow:#ffc515;--v4-orange:#f3a400}

/* Restore the original dark navigation, keep the compact geometry */
aside{
  background:#151619!important;
  color:#fff!important;
  border-right:1px solid #24252a!important;
  box-shadow:7px 0 24px rgba(20,21,24,.06)!important;
}
aside .brand b{color:#fff!important}
aside .brand small{color:#aaaeb6!important}
aside nav button,aside .report-link{
  background:transparent!important;
  color:#c9cbd1!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
aside nav button .nav-icon,aside .report-link .nav-icon{background:transparent!important;color:#cfd1d7!important;box-shadow:none!important}
aside nav button:hover,aside .report-link:hover{
  background:#25262b!important;
  color:#fff!important;
  border-color:#303138!important;
  box-shadow:none!important;
}
aside nav button:hover .nav-icon,aside .report-link:hover .nav-icon{background:#fff!important;color:#25272c!important;box-shadow:none!important}
aside nav button.active{
  background:#fff3ce!important;
  color:#28220f!important;
  border-color:#ecd98f!important;
  box-shadow:0 5px 14px rgba(255,197,21,.08)!important;
}
aside nav button.active .nav-icon{background:#fff!important;color:#292a2e!important}
aside .user{background:#1d1e22!important;border-color:#303137!important;color:#fff!important}
aside .user .report-link{background:#24252a!important;border-color:#32333a!important;color:#e3e3e7!important}
aside .user>b{color:#fff!important}aside .user>small{color:#a9abb2!important}

/* Filters: clean white cards; only the first overview card is dark */
.taxichi-stable-vehicle-filters{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:8px!important;
}
.taxichi-stable-vehicle-filters button,
.taxichi-stable-vehicle-filters button:nth-child(n){
  min-height:72px!important;height:72px!important;
  padding:10px!important;
  grid-template-columns:30px minmax(0,1fr) 24px!important;
  gap:8px!important;
  background:#fff!important;
  border:1px solid #e6e8eb!important;
  color:#24262b!important;
  box-shadow:0 2px 7px rgba(24,27,33,.025)!important;
}
.taxichi-stable-vehicle-filters button::before{
  width:29px!important;height:29px!important;border-radius:7px!important;
  background-size:15px 15px!important;border-color:#e7e8eb!important;background-color:#fafafa!important;
}
.taxichi-stable-vehicle-filters button b{font-size:10px!important;color:#24262b!important}
.taxichi-stable-vehicle-filters button small{font-size:8px!important;color:#777c85!important;margin-top:3px!important}
.taxichi-stable-vehicle-filters button strong{width:23px!important;height:23px!important;min-width:23px!important;font-size:9px!important;background:#f6f6f7!important;border-color:#e8e8ea!important;color:#4f535b!important}
.taxichi-stable-vehicle-filters button:first-child,
.taxichi-stable-vehicle-filters button:first-child:nth-child(1){
  background:linear-gradient(145deg,#1c273d,#111827)!important;
  border-color:#111827!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(17,24,39,.13)!important;
}
.taxichi-stable-vehicle-filters button:first-child b{color:#fff!important}
.taxichi-stable-vehicle-filters button:first-child small{color:#c8ced9!important}
.taxichi-stable-vehicle-filters button:first-child strong{background:rgba(255,197,21,.14)!important;border-color:rgba(255,197,21,.22)!important;color:#ffd242!important}
.taxichi-stable-vehicle-filters button:first-child::before{background-color:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.13)!important}
/* Explicitly remove orange fill from Soon TO */
.taxichi-stable-vehicle-filters button:nth-child(2),
.taxichi-stable-vehicle-filters button:nth-child(2).is-active{
  background:#fff!important;
  border-color:#e2e5e8!important;
  color:#24262b!important;
}
.taxichi-stable-vehicle-filters button:nth-child(2) b{color:#24262b!important}
.taxichi-stable-vehicle-filters button:nth-child(2) small{color:#777c85!important}
.taxichi-stable-vehicle-filters button:not(:first-child):hover{
  background:#fffaf0!important;
  border-color:#e8cf8d!important;
  box-shadow:0 4px 11px rgba(154,105,11,.07)!important;
}
.taxichi-stable-vehicle-filters button:not(:first-child).is-active{
  background:#fff!important;
  border-color:#d9b84e!important;
  box-shadow:0 0 0 2px rgba(255,197,21,.12)!important;
}

/* Vehicle rows and document grid: compact like reference image */
body[data-admin-page="vehicles"] table{table-layout:fixed!important}
body[data-admin-page="vehicles"] thead th:nth-child(1),body[data-admin-page="vehicles"] tbody td:nth-child(1){width:15%!important}
body[data-admin-page="vehicles"] thead th:nth-child(2),body[data-admin-page="vehicles"] tbody td:nth-child(2){width:26%!important}
body[data-admin-page="vehicles"] thead th:nth-child(3),body[data-admin-page="vehicles"] tbody td:nth-child(3){width:49%!important}
body[data-admin-page="vehicles"] tbody td:last-child{width:10%!important}
body[data-admin-page="vehicles"] tbody td{
  height:78px!important;
  padding:7px 9px!important;
  vertical-align:middle!important;
}
body[data-admin-page="vehicles"] tbody td:first-child b{font-size:10px!important}
body[data-admin-page="vehicles"] tbody td:first-child .subline{font-size:8px!important}

.vehicle-docs{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:5px!important;
  align-items:stretch!important;
}
.vehicle-docs>article,.vehicle-docs>button,.vehicle-docs .to-card{
  min-width:0!important;
  min-height:56px!important;
  height:56px!important;
  padding:6px 7px!important;
  border-radius:6px!important;
  box-shadow:none!important;
  display:block!important;
  overflow:hidden!important;
}
.vehicle-docs>:nth-child(1),.vehicle-docs .to-card{background:#eef9f3!important;border-color:#cde7d8!important;color:#176b46!important}
.vehicle-docs>:nth-child(2){background:#f1f7fb!important;border-color:#d7e5ef!important;color:#326e91!important}
.vehicle-docs>:nth-child(3){background:#fff8ed!important;border-color:#efdfc1!important;color:#996323!important}
.vehicle-docs>:nth-child(4){background:#f7f3fb!important;border-color:#e4daef!important;color:#74579a!important}
.vehicle-docs>*>small{font-size:7px!important;line-height:1.05!important;margin:0 0 2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.vehicle-docs>*>b{font-size:7.5px!important;line-height:1.12!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.vehicle-docs>*>span,.vehicle-docs>*>em{font-size:6.5px!important;line-height:1.1!important;margin-top:2px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-admin-page="vehicles"] .open{height:30px!important;min-height:30px!important;font-size:9px!important;padding:0 9px!important}

/* All icons remain SVG, with stable stroke sizing across browsers */
.nav-icon svg,.taxichi-stable-vehicle-filters svg{
  display:block!important;
  width:16px!important;height:16px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}

@media(max-width:1250px){
  .taxichi-stable-vehicle-filters{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body[data-admin-page="vehicles"] thead th:nth-child(1),body[data-admin-page="vehicles"] tbody td:nth-child(1){width:18%!important}
  body[data-admin-page="vehicles"] thead th:nth-child(2),body[data-admin-page="vehicles"] tbody td:nth-child(2){width:24%!important}
  body[data-admin-page="vehicles"] thead th:nth-child(3),body[data-admin-page="vehicles"] tbody td:nth-child(3){width:48%!important}
}
@media(max-width:900px){.vehicle-docs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.vehicle-docs>article,.vehicle-docs>button,.vehicle-docs .to-card{height:52px!important;min-height:52px!important}}
