/* dev17-dashboard2 — compact fleet dashboard + merged distance/licence insights */
#dashboardView .dashboard-status-cards{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  padding-bottom:16px;
}
#dashboardView .dashboard-status-cards .dashboard-card{
  min-height:108px;
  padding:15px 18px;
  border:1px solid var(--pk-border,#dfe7ec)!important;
  border-radius:18px!important;
  box-shadow:0 8px 22px rgba(25,47,61,.055)!important;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
#dashboardView .dashboard-status-cards .dashboard-card .metric-link{
  display:inline-flex;
  align-items:center;
  align-self:flex-start;
  width:auto;
  min-height:0!important;
  padding:2px 0!important;
  border:0!important;
  border-radius:4px!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  font-size:12px;
  font-weight:750;
  color:var(--pk-muted,#647681);
  transition:color .16s ease,opacity .16s ease!important;
}
#dashboardView .dashboard-status-cards .dashboard-card .metric-link:hover{
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
  opacity:.82;
}
#dashboardView .dashboard-status-cards .dashboard-card .metric-link:focus-visible{
  background:transparent!important;
  box-shadow:none!important;
  outline:2px solid currentColor;
  outline-offset:4px;
}
#dashboardView .dashboard-status-cards .dashboard-card strong{
  margin-top:10px;
  font-size:32px;
  line-height:1;
  color:var(--pk-ink,#17222b);
}
#dashboardView .dashboard-status-cards .dashboard-card-moving{
  border-color:#15A34A!important;
  background:linear-gradient(180deg,#fff 0%,rgba(21,163,74,.035) 100%);
}
#dashboardView .dashboard-status-cards .dashboard-card-moving strong,
#dashboardView .dashboard-status-cards .dashboard-card-moving .metric-link:hover{color:#15A34A}
#dashboardView .dashboard-status-cards .dashboard-card-parked{
  border-color:#3178C6!important;
  background:linear-gradient(180deg,#fff 0%,rgba(49,120,198,.035) 100%);
}
#dashboardView .dashboard-status-cards .dashboard-card-parked strong,
#dashboardView .dashboard-status-cards .dashboard-card-parked .metric-link:hover{color:#3178C6}
#dashboardView .dashboard-status-cards .dashboard-card-offline{
  border-color:#E05454!important;
  background:linear-gradient(180deg,#fff 0%,rgba(224,84,84,.035) 100%);
}
#dashboardView .dashboard-status-cards .dashboard-card-offline strong,
#dashboardView .dashboard-status-cards .dashboard-card-offline .metric-link:hover{color:#E05454}
#dashboardView .dashboard-status-cards .dashboard-card-total{
  border-color:#cdd8df!important;
}
@media(max-width:1050px){
  #dashboardView .dashboard-status-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  #dashboardView .dashboard-status-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  #dashboardView .dashboard-status-cards .dashboard-card{min-height:96px;padding:13px 14px}
  #dashboardView .dashboard-status-cards .dashboard-card strong{font-size:28px}
}


/* Dashboard merged fleet insights */
#dashboardView .dashboard-insight-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  padding:0 28px 28px;
}
#dashboardView .dashboard-insight-grid .panel{
  margin:0;
  min-width:0;
}
#dashboardView .dashboard-insight-card{
  min-height:300px;
  padding:24px 28px;
}
#dashboardView .dashboard-insight-card>h3{
  margin:0 0 22px;
  font-size:16px;
}
#dashboardView .dashboard-distance-chart{
  min-height:220px;
  display:grid;
  align-items:center;
}
#dashboardView .dashboard-distance-chart svg{
  width:100%;
  min-height:220px;
  font:12px Inter,Segoe UI,Arial,sans-serif;
  fill:var(--pk-muted,#647681);
}
#dashboardView .dashboard-insight-list{
  display:grid;
}
#dashboardView .dashboard-insight-list .document-row{
  margin:0;
  padding:18px 6px;
  border-bottom:1px solid var(--pk-border,#dfe7ec);
  font-size:14px;
  color:var(--pk-ink,#17222b);
}
#dashboardView .dashboard-insight-list .document-row:last-child{
  border-bottom:0;
}
#dashboardView .dashboard-insight-empty{
  color:var(--pk-muted,#647681);
  padding:24px 6px;
}
#dashboardView .dashboard-insights-note{
  margin:-14px 28px 28px;
  min-height:0;
  color:var(--pk-muted,#647681);
  font-size:11px;
}
@media(max-width:1050px){
  #dashboardView .dashboard-insight-grid{grid-template-columns:1fr}
  #dashboardView .dashboard-insight-card{min-height:0}
}
@media(max-width:720px){
  #dashboardView .dashboard-insight-grid{padding-left:16px;padding-right:16px;gap:14px}
  #dashboardView .dashboard-insight-card{padding:18px}
  #dashboardView .dashboard-insights-note{margin-left:16px;margin-right:16px}
}
