/* Driver workspace: same visual language as the admin, focused on daily decisions. */
.driver-dashboard{padding-bottom:48px}.driver-hero{align-items:stretch;background:linear-gradient(135deg,#111827 0%,#1d2b41 68%,#27364c 100%);padding:30px 32px}.driver-hero>div:first-child{align-self:center}.hero-target{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:18px;min-width:290px;padding:17px 19px}.hero-target>span{color:#d6dce5;display:block;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.hero-target strong{display:block;font-size:25px;margin:5px 0}.hero-target strong small{color:#cbd5e1;font-size:13px;letter-spacing:0}.hero-target b{color:#f6d857;display:block;font-size:11px;margin-top:8px}.target-track{background:rgba(255,255,255,.16);border-radius:999px;height:8px;overflow:hidden}.target-track i{background:linear-gradient(90deg,var(--yellow),#ffe36f);border-radius:inherit;display:block;height:100%}.period-title{align-items:end;display:flex;justify-content:space-between;margin:25px 2px 12px}.period-title small,.card-heading small,.month-insight small{color:#9a7200;font-size:10px;font-weight:900;letter-spacing:.12em}.period-title h2{font-size:23px;margin:2px 0 0}.period-title>span{color:var(--muted);font-size:12px}.driver-kpis{grid-template-columns:repeat(4,1fr)}.driver-grid{display:grid;gap:18px;grid-template-columns:1.25fr .75fr}.card-heading{align-items:flex-start;display:flex;justify-content:space-between}.card-heading h2{margin:3px 0 0}.insight-dot{background:var(--green);border:6px solid #dff8ec;border-radius:50%;height:20px;width:20px}.insight-card>p{color:#445064;font-size:16px;line-height:1.6;margin:18px 0}.best-ride{align-items:center;background:#f5f7fa;border-radius:14px;display:grid;gap:3px;grid-template-columns:1fr auto;padding:14px 16px}.best-ride span{color:var(--muted);font-size:11px;grid-column:1/-1}.best-ride strong{font-size:15px}.best-ride b{color:var(--green);font-size:15px}.month-title{margin-top:29px}.month-panel{background:linear-gradient(135deg,#fff 0%,#f8fafc 100%);border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 28px rgba(17,24,39,.06);display:grid;grid-template-columns:1.55fr .75fr;margin-bottom:18px;overflow:hidden}.month-metrics{display:grid;grid-template-columns:repeat(2,1fr);padding:9px}.month-metrics article{border-bottom:1px solid #e9edf2;border-right:1px solid #e9edf2;padding:20px}.month-metrics article:nth-child(2n){border-right:0}.month-metrics article:nth-last-child(-n+2){border-bottom:0}.month-metrics span{color:var(--muted);display:block;font-size:11px;font-weight:800}.month-metrics strong{display:block;font-size:23px;margin-top:6px}.month-insight{background:#111827;color:#fff;padding:28px}.month-insight small{color:var(--yellow)}.month-insight h3{font-size:20px;line-height:1.25;margin:6px 0 12px}.month-insight p{color:#cbd5e1;line-height:1.6;margin:0}.recent-card{margin-top:18px}.recent-card .card-heading{margin-bottom:8px}
@media(max-width:900px){.driver-kpis{grid-template-columns:repeat(2,1fr)}.driver-grid,.month-panel{grid-template-columns:1fr}.month-insight{padding:23px}}
@media(max-width:760px){.driver-dashboard{padding-top:15px}.driver-hero{gap:22px;padding:23px 20px}.hero-target{min-width:0;width:100%}.period-title{align-items:flex-start;flex-direction:column;gap:4px;margin-top:22px}.period-title h2{font-size:20px}.driver-grid{grid-template-columns:1fr}.insight-card>p{font-size:15px}.month-metrics article{padding:16px 13px}.month-metrics strong{font-size:19px}.recent-card{padding:17px}.recent-card .driver-list article{gap:12px}.recent-card .driver-list article>div{min-width:0}.recent-card .driver-list b{flex:0 0 auto;font-size:12px}}
@media(max-width:420px){.driver-kpis{gap:10px}.driver-kpis .kpi{padding:13px}.driver-kpis .kpi strong{font-size:18px}.month-metrics{grid-template-columns:1fr}.month-metrics article,.month-metrics article:nth-child(2n){border-bottom:1px solid #e9edf2;border-right:0}.month-metrics article:last-child{border-bottom:0}}
