/* DriverLog AU 8.9.15.5 C — Adaptive Work Forms & Compact Intelligence */
.v8910-hidden{display:none!important}
.v8910-form-hint{font-size:11px;line-height:1.35;color:#64748b;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;padding:7px 9px}

/* Fix 13A — compact safe floating Save. */
#v898FloatingSave.v898-floating-save{left:auto!important;right:16px!important;transform:none!important;bottom:calc(78px + env(safe-area-inset-bottom,0px))!important;width:auto!important;min-width:96px!important;max-width:128px!important;padding:9px 17px!important;border-radius:999px!important;font-size:15px!important;line-height:1!important;box-shadow:0 6px 20px #0f172a2b!important}
@media(max-width:420px){#v898FloatingSave.v898-floating-save{right:12px!important;min-width:88px!important;padding:8px 15px!important}}

/* Strict one-device mode may show the shell while server ownership is being checked; writes are gated briefly. */
.v8910-session-verifying #appShell main button,.v8910-session-verifying #appShell main input,.v8910-session-verifying #appShell main select,.v8910-session-verifying #appShell main textarea,.v8910-strict-verifying #v898FloatingSave{pointer-events:none!important;opacity:.55!important}

/* Fix 13B — readable, fine timeline. */
.v898-chart-scroll .status-path{display:none!important}
.v898-chart-scroll .status-segment{stroke-width:3!important;stroke-linecap:round}
.v898-chart-scroll .status-online{stroke:#16a34a}.v898-chart-scroll .status-offline{stroke:#64748b}.v898-chart-scroll .status-rest{stroke:#d97706}.v898-chart-scroll .status-home{stroke:#7c3aed}
.v898-chart-scroll .status-transition{stroke:#475569;stroke-width:2;stroke-linecap:round}
.v898-chart-scroll .quarter{stroke:#edf1f5;stroke-width:.8}.v898-chart-scroll .half{stroke:#cfd8e3;stroke-width:1.25}.v898-chart-scroll .hour{stroke:#8291a5;stroke-width:1.8}
.v898-chart-scroll .shiftmark{stroke:#111827;stroke-width:1.4;stroke-dasharray:4 4}.v898-chart-scroll .shiftstart{stroke:#166534}.v898-chart-scroll .shiftend{stroke:#475569}
.v898-chart-scroll .shiftlabel{font-size:10px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.v898-chart-scroll .lane-online{stroke:#dcfce7}.v898-chart-scroll .lane-offline{stroke:#e2e8f0}.v898-chart-scroll .lane-rest{stroke:#ffedd5}.v898-chart-scroll .lane-home{stroke:#ede9fe}
.v898-shift-list>div{min-width:94px;padding:6px 8px!important}.v898-shift-list b{font-size:11px}.v898-shift-list span{font-size:10px}

/* Fix 13C — Vehicle metrics dense but readable. */
#vehicle .v891-vehicle-main-grid.v8910-vehicle-grid,#vehicle .v898-vehicle-grid.v8910-vehicle-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
#vehicle .v8910-vehicle-grid .metric{min-height:52px!important;padding:7px 8px!important;border-radius:9px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
#vehicle .v8910-vehicle-grid .metric b{font-size:15px!important;line-height:1.08!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#vehicle .v8910-vehicle-grid .metric span{font-size:9.5px!important;line-height:1.15!important;margin-top:3px!important}
#vehicle .v898-gps-badge{padding:3px 6px!important;font-size:9px!important}
@media(min-width:620px){#vehicle .v8910-vehicle-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important}}

/* Reports: period/detail/type in one compact row. */
#reports #summaryControls .v8910-report-controls{display:grid!important;grid-template-columns:minmax(90px,1fr) minmax(82px,.9fr) minmax(110px,1.1fr)!important;gap:6px!important;align-items:end!important}
#reports #summaryControls .v8910-report-controls>div{min-width:0!important}
#reports #summaryControls .v8910-report-controls label{font-size:10px!important;margin-bottom:3px!important}
#reports #summaryControls .v8910-report-controls select{min-height:38px!important;height:38px!important;padding:5px 30px 5px 9px!important;font-size:12px!important;border-radius:9px!important}
#reports #customStartWrap,#reports #customEndWrap{grid-column:auto!important}
#reports .report-tabs{display:flex!important;gap:5px!important;flex-wrap:nowrap!important;overflow-x:auto!important}
#reports .report-tabs button{min-height:36px!important;padding:6px 10px!important;font-size:12px!important;white-space:nowrap!important;border-radius:9px!important}
#reports #summaryControls>.actions{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
#reports #summaryControls>.actions button{min-height:38px!important;padding:6px 8px!important;font-size:12px!important;border-radius:9px!important}
@media(max-width:360px){#reports #summaryControls .v8910-report-controls{grid-template-columns:1fr 1fr!important}#reports #summaryControls .v8910-report-controls>div:nth-child(3){grid-column:1/-1}}

/* Trade report density. */
.v8910-report-title{text-align:center}.v8910-report-title h2{margin:0 0 2px;font-size:24px}.v8910-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:10px}.v8910-report-metrics>div{border:1px solid #e2e8f0;background:#f8fafc;border-radius:9px;padding:7px;min-width:0}.v8910-report-metrics b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v8910-report-metrics span{display:block;font-size:9px;color:#64748b;margin-top:2px}.v8910-report-section{margin-top:12px}.v8910-report-section h3{margin:0 0 6px}.v8910-table-wrap{overflow:auto}.v8910-table-wrap table{font-size:11px}.v8910-table-wrap th,.v8910-table-wrap td{padding:6px 5px}.v8910-report-focus{margin-top:12px;border:1px solid #dbe3ec;border-radius:10px;background:#f8fafc;padding:12px}.v8910-report-focus b{display:block;font-size:22px}.v8910-report-focus span{display:block;color:#64748b;margin-top:3px}.v8910-report-disclaimer{border-top:1px solid #e5e7eb;padding-top:9px;margin-top:12px}
@media(max-width:430px){.v8910-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.v8910-report-metrics b{font-size:12px}.v8910-report-metrics span{font-size:8.5px}}
