.driver-workspace .driver-message{position:relative}
.driver-workspace .driver-message.active{background:#ae86ff22;border-color:var(--purple);color:var(--purple)}
.driver-workspace .driver-header-count{position:absolute;right:-7px;top:-7px;margin:0;min-width:18px;min-height:18px;padding:1px 5px;font-size:9px;line-height:16px}
.driver-workspace .analytics-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.driver-workspace .analytics-toolbar .driver-tabs{margin:0}
.driver-workspace .analytics-toolbar>.small{font-size:11px}
.driver-workspace .analytics-stats{margin-top:0}
.driver-workspace .analytics-stats .driver-stat strong{font-size:24px;overflow-wrap:anywhere}
.driver-workspace .analytics-note{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 16px;padding:12px 15px;background:#ae86ff09;border-left:2px solid #ae86ff50;border-radius:0 8px 8px 0}
.driver-workspace .analytics-chart svg{display:block;width:100%;height:auto;max-height:220px;margin-top:18px;fill:var(--purple);stroke:none}
.driver-workspace .analytics-chart rect{fill:var(--purple);opacity:.8}
.driver-workspace .analytics-chart text{font:10px system-ui;fill:var(--muted)}
.driver-workspace .analytics-table-wrap{overflow-x:auto;margin-top:15px}
.driver-workspace .analytics-table{border-collapse:collapse;width:100%;font-size:12px}
.driver-workspace .analytics-table th,.driver-workspace .analytics-table td{padding:12px 9px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.driver-workspace .analytics-table th:first-child{text-align:left}
.driver-workspace .analytics-table thead th{font-weight:500;color:var(--muted);font-size:11px}
.driver-workspace .analytics-table tbody th{font-weight:500}
.driver-workspace .analytics-pending{margin-top:16px}
.driver-workspace .analytics-pending summary{font-size:12px}
.driver-workspace .analytics-pending p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:10px}
@media(max-width:760px){.driver-workspace .analytics-stats .driver-stat strong{font-size:21px}.driver-workspace .analytics-toolbar>.small{font-size:10px}.driver-workspace .analytics-toolbar .driver-tabs{width:auto}.driver-workspace .driver-header-actions{gap:8px}.driver-workspace .analytics-table{font-size:11px}.driver-workspace .analytics-table th,.driver-workspace .analytics-table td{padding:10px 7px}.driver-workspace .analytics-chart .row h2{font-size:18px}}
@media(max-width:390px){.driver-workspace .app-header h2{font-size:12px}.driver-workspace .app-header>div:first-child{max-width:135px}.driver-workspace .app-header>div:first-child>.small{display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.driver-workspace .driver-bell{width:31px;height:31px}.driver-workspace .driver-user .avatar{width:31px;height:31px}}

.driver-workspace .analytics-toolbar .driver-tabs a{white-space:nowrap;flex:0 0 auto}
