.vm-customer-dashboard{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.vm-customer-hero{
    background:#000;
    color:#fff;
    border-radius:18px;
    padding:24px 26px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.vm-customer-hero h1{
    margin:4px 0;
    font-size:30px;
}

.vm-customer-hero p{
    margin:0;
    opacity:.8;
}

.vm-customer-hero-meta{
    text-align:right;
}

.vm-customer-hero-meta span{
    display:block;
    font-weight:800;
    letter-spacing:.08em;
}

.vm-customer-hero-meta small{
    opacity:.65;
}

.vm-customer-eyebrow{
    display:block;
    font-size:11px;
    font-weight:800;
    letter-spacing:.13em;
    text-transform:uppercase;
    opacity:.65;
}

.vm-customer-stats{
    display:grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap:12px;
}

.vm-customer-stat,
.vm-customer-panel,
.vm-vehicle-card{
    background:#fff;
    border:1px solid #ddd;
    border-radius:16px;
}

.vm-customer-stat{
    padding:18px;
}

.vm-customer-stat span,
.vm-customer-stat small{
    display:block;
    color:#666;
}

.vm-customer-stat strong{
    display:block;
    font-size:28px;
    margin:5px 0 2px;
}

.vm-customer-panel{
    padding:20px;
}

.vm-customer-section-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:16px;
}

.vm-customer-section-head h2{
    margin:2px 0 0;
}

.vm-count{
    min-width:34px;
    height:34px;
    border-radius:999px;
    background:#000;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.vm-vehicle-grid{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:14px;
}

.vm-vehicle-card{
    padding:18px;
}

.vm-vehicle-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:10px;
}

.vm-vehicle-unit{
    color:#777;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
}

.vm-vehicle-card h3{
    margin:3px 0 0;
}

.vm-status-pill{
    padding:5px 9px;
    border-radius:999px;
    font-size:11px;
    font-weight:800;
}

.vm-status-pill.ok{
    background:#000;
    color:#fff;
}

.vm-status-pill.off{
    background:#eee;
    color:#555;
}

.vm-vehicle-data{
    display:grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap:12px;
    margin:18px 0;
}

.vm-vehicle-data small{
    display:block;
    color:#777;
    margin-bottom:2px;
}

.vm-customer-open{
    width:100%;
    display:flex;
    justify-content:center;
}

.vm-customer-two-col{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
}

.vm-customer-list{
    display:flex;
    flex-direction:column;
}

.vm-customer-list-row,
.vm-history-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.vm-customer-list-row:last-child,
.vm-history-row:last-child{
    border-bottom:0;
}

.vm-customer-list-row small,
.vm-history-row small{
    display:block;
    color:#777;
    margin-top:3px;
}

.vm-list-right{
    white-space:nowrap;
    font-weight:700;
}

.vm-priority{
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
}

.vm-history-row{
    justify-content:flex-start;
}

.vm-history-row time{
    margin-left:auto;
    color:#777;
    font-size:12px;
}

.vm-history-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#000;
    flex:0 0 10px;
}

.vm-customer-empty{
    padding:18px;
    border:1px dashed #ccc;
    border-radius:12px;
    color:#777;
    text-align:center;
}

.vm-customer-account-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

@media(max-width:900px){

    .vm-customer-stats{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .vm-vehicle-grid,
    .vm-customer-two-col,
    .vm-customer-account-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){

    .vm-customer-hero{
        flex-direction:column;
        align-items:flex-start;
    }

    .vm-customer-hero-meta{
        text-align:left;
    }

    .vm-customer-stats{
        grid-template-columns:1fr 1fr;
    }
}
