.shell .content:has(> .driver-workspace){padding-top:16px}
.driver-workspace{min-height:320px;overflow:hidden;background:#fff;border:1px solid #dce5ef;border-radius:8px}
.driver-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 18px;border-bottom:1px solid #e4ebf2;color:#65768b;font-size:13px}
.driver-toolbar>span strong{margin-left:8px;color:#173654}
.driver-toolbar .search{width:300px;flex:0 1 300px;margin-left:auto;max-width:100%;min-width:0;height:32px}
.driver-toolbar .search input{font-size:12px;width:100%;min-width:0}
.driver-workspace .drivers-empty{max-width:none;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 20px}
.driver-workspace .drivers-empty .btn{margin-top:20px}
.driver-table-scroll{width:100%;max-height:calc(100dvh - 185px);overflow:auto;overscroll-behavior:contain}
.driver-table{width:100%;min-width:850px;border-collapse:collapse;font-size:13px}
.driver-table thead{position:sticky;top:0;z-index:1;background:#edf3f9}
.driver-table th{color:#253b53;font-size:12px;font-weight:500;text-align:left;padding:12px 16px;border-bottom:1px solid #dce5ef;white-space:nowrap}
.driver-table td{padding:14px 16px;border-bottom:1px solid #e7edf3;color:#34495e;vertical-align:middle}
.driver-table tr:nth-child(even){background:#f9fbfd}
.driver-table td:first-child strong{font-weight:600;color:#182e45}
.driver-secondary{display:block;font-size:11px;color:#78889a;margin-top:5px}
.driver-table .driver-number{font-variant-numeric:tabular-nums;white-space:nowrap}
.driver-table .driver-expired{color:#c54e57;font-weight:600}
.driver-table .btn{height:28px;min-height:28px;font-size:12px;padding:4px 8px;font-weight:400}
#modal.reader-modal{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 32px)}
.reader-modal .modal-body{padding-top:12px}
.reader-modal .field{font-size:13px;gap:7px}
.reader-modal .field :is(input,select){height:40px;font-size:14px;border:1px solid #d6e1ec;border-radius:5px;box-shadow:none;outline:none;background:#fff;color:#213a54}
.reader-modal .field :is(input,select):focus{border-color:#d6e1ec;box-shadow:none;outline:none}
.reader-modal .field :is(input,select):focus-visible{outline:none;box-shadow:none}
.reader-steps p{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.6;color:#334c65;margin:0 0 17px}
.reader-steps b{width:25px;height:25px;display:grid;place-items:center;flex:0 0 25px;background:#e9f1f8;border-radius:50%;color:#476e94;font-weight:500}
.reader-steps .btn{display:flex;margin-top:10px;width:fit-content;text-decoration:none;font-size:12px}
.reader-note{font-size:12px;color:#708197;line-height:1.6;margin:0}
.reader-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e4ebf2;padding-top:18px;margin-top:4px}
.reader-footer>span{font-size:11px;color:#708197;line-height:1.5}
.reader-footer .btn{font-size:13px;white-space:nowrap;font-weight:400}
#reader-error{font-size:12px;line-height:1.5;min-height:18px;margin:0;color:#bc454c;overflow-wrap:anywhere}
.reader-connected{display:flex;align-items:center;gap:8px;font-size:12px;color:#2d856d;padding:10px 12px;background:#edf7f2;border-radius:5px}
.reader-refresh{display:flex;align-items:center;gap:6px;align-self:flex-start;color:#466b8f;background:none;border:0;padding:0;font-size:12px;cursor:pointer}
.reader-refresh .icon{width:14px;height:14px}
.reader-reading{text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;padding:16px 0}
.reader-reading h3{font-size:18px;font-weight:600;color:#18354f;margin:0}
.reader-reading progress{width:100%;height:10px;accent-color:#4b789f;border:0;border-radius:6px;overflow:hidden}
.reader-reading progress::-webkit-progress-bar{background:#e9f0f6;border-radius:6px}
.reader-reading progress::-webkit-progress-value{background:#4b789f;border-radius:6px}
#reader-percent{font-size:16px;font-variant-numeric:tabular-nums;color:#355a7b;margin:0}
.driver-file-zone{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 16px;border:1px dashed #b9cde0;border-radius:7px;background:#f7fafe;text-align:center;font-size:13px}
.driver-file-zone>.icon{height:32px;width:32px;color:#5483a9}
.driver-file-zone>span{font-size:12px;color:#73849a}
.driver-file-zone input{max-width:100%;font-size:12px}
.driver-history>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e5ecf3}
.driver-history strong{font-size:13px;font-weight:500}
.driver-history small{display:block;color:#758598;font-size:11px;margin-top:5px}
@media(max-width:599px){.driver-toolbar{flex-wrap:wrap;padding:12px}.driver-toolbar .search{width:100%}.reader-footer{flex-direction:column;align-items:stretch}.reader-modal .field :is(input,select){font-size:16px}.driver-table-scroll{max-height:calc(100dvh - 245px)}}

.reader-automatic{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:26px 8px;color:#18324d}.reader-automatic h3{font-size:19px;margin:0;font-weight:600}.reader-automatic p{font-size:14px;color:#667b91;margin:0;line-height:1.5}.reader-automatic .btn{margin-top:8px}.reader-loading{width:30px;height:30px;border:3px solid #e4edf4;border-top-color:#416e97;border-radius:50%;animation:reader-spin .8s linear infinite}@keyframes reader-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.reader-loading{animation:none}}

.driver-card-expiry{display:inline-flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:500;line-height:1.4}
.driver-card-expiry small{font-size:11px;font-weight:400;color:inherit}
.driver-card-expiry.is-valid{color:#23805b}
.driver-card-expiry.is-soon{color:#a66b09}
.driver-card-expiry.is-expired{color:#ce3e59}
.driver-card-expiry.is-unknown{color:#78889a}
.rto-card-expiry{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:10px 16px;border-bottom:1px solid #e4ebf2;background:#fff;font-size:13px;color:#65768b}
.rto-card-expiry .driver-card-expiry{flex-direction:row;align-items:baseline;flex-wrap:wrap;gap:4px 10px}
/* Driver archive: compact cabinet grid and a connected driver card. */
.driver-workspace .driver-table{font-size:14px;min-width:0;table-layout:fixed}
.driver-table th{background:#f3f5f8;font-size:12px;font-weight:600;white-space:normal}
.driver-table :is(th,td){padding:11px 12px;border:1px solid #e5ebf2;overflow-wrap:anywhere}
.driver-table th:first-child{width:20%}.driver-table th:nth-child(2){width:20%}.driver-table th:nth-child(3){width:16%}.driver-table th:nth-child(4){width:14%}.driver-table th:nth-child(5){width:12%}.driver-table th:last-child{width:10%}
.driver-table tbody tr:hover{background:#f0f5fa}.driver-table .driver-number{white-space:normal}
.driver-name{border:0;background:transparent;color:#244765;font:inherit;font-weight:600;text-align:left;padding:0;cursor:pointer;line-height:1.4}.driver-name:hover{color:#2167a6}.driver-name:focus-visible{outline:2px solid #5487b5;outline-offset:4px;border-radius:2px}
.driver-table td:last-child .btn{margin:2px 0}.driver-table .driver-card-expiry{white-space:normal}.driver-toolbar .search input{font-size:13px}
#modal.driver-detail-modal:has(.driver-card){width:min(860px,calc(100vw - 24px));max-height:calc(100dvh - 32px)}
.driver-card-heading{display:flex;gap:14px;align-items:center;margin-bottom:22px}.driver-card-heading h2{margin:0;color:#203b56;font-size:23px;line-height:1.3}.driver-card-heading p{margin:6px 0 0;color:#718299;font-size:14px;overflow-wrap:anywhere}.driver-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:#eaf2f9;color:#406c94;flex-shrink:0}.driver-avatar .icon{width:28px;height:28px}
.driver-card-tabs{display:flex;gap:4px;border-bottom:1px solid #dce5ef;margin:0 0 20px;flex-wrap:wrap}.driver-card-tabs button{border:0;border-bottom:2px solid transparent;background:none;padding:11px 12px;color:#667e95;font:inherit;font-size:13px;cursor:pointer}.driver-card-tabs button[aria-pressed=true]{color:#264e70;border-bottom-color:#406b92;background:#f1f6fb}.driver-card-tabs button span{margin-left:6px;font-variant-numeric:tabular-nums}
.driver-card-facts{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid #e2e9f1;border-radius:6px;overflow:hidden}.driver-card-facts>div{padding:18px;background:#fafcfe;border-bottom:1px solid #e2e9f1}.driver-card-facts dt{font-size:12px;color:#71859a;margin-bottom:8px}.driver-card-facts dd{margin:0;font-size:15px;color:#29445f;overflow-wrap:anywhere}.driver-card-note{font-size:12px;line-height:1.6;color:#76879b;margin:16px 0 0}.driver-history>div>span{min-width:0;overflow-wrap:anywhere}.driver-history .btn{flex-shrink:0}.driver-history .driver-file-error{color:#bf465c}
@media(max-width:900px){.driver-table th:nth-child(3),.driver-table td:nth-child(3){display:none}.driver-table th:nth-child(2){width:18%}.driver-table th:first-child{width:22%}.driver-table th:nth-child(4){width:18%}.driver-table th:nth-child(5){width:16%}.driver-table th:last-child{width:16%}}
@media(max-width:599px){.driver-workspace .driver-table{font-size:12px}.driver-table :is(th,td){padding:9px 8px}.driver-table th:nth-child(2),.driver-table td:nth-child(2),.driver-table th:nth-child(5),.driver-table td:nth-child(5){display:none}.driver-table th:first-child{width:44%}.driver-table th:nth-child(4){width:32%}.driver-table th:last-child{width:24%}.driver-card-facts{grid-template-columns:1fr}.driver-card-heading h2{font-size:19px}.driver-card-tabs button{padding:9px 7px;font-size:12px}.driver-toolbar{gap:8px}.driver-toolbar .search{flex-basis:100%}.driver-card-facts>div{padding:13px}}

/* Match the Orders register and keep its controls above the scrollable table. */
.shell .topbar:has(.driver-header){grid-template-columns:auto minmax(0,1fr);column-gap:16px}
.shell .topbar:has(.driver-header)>.topbar-controls{display:flex;grid-column:2;grid-row:1;justify-self:end;min-width:0;max-width:100%}
.shell .topbar:has(.driver-header) .topbar-fleet-actions{width:auto;min-width:0;max-width:100%}
.shell .drivers-topbar-title h1::after{display:none}
.shell .driver-total{display:inline-block;margin-left:8px;font-size:13px;font-weight:500;line-height:1.4;letter-spacing:0;color:#65768b;font-variant-numeric:tabular-nums;vertical-align:middle}
.shell .driver-header{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.shell .driver-header .driver-header-search{position:relative;flex:0 1 260px;width:260px;min-width:150px;max-width:260px;height:var(--fleet-action-height);margin:0}
.shell .driver-header-search input{display:block;width:100%;height:var(--fleet-action-height);min-height:var(--fleet-action-height);box-sizing:border-box;padding:3px 10px 3px 30px;border:1px solid #d7e0ef;border-radius:6px;background:#fff;color:#24366b;font-family:inherit;font-size:12px;font-weight:400;line-height:16px;box-shadow:none}
.shell .driver-header-search input::placeholder{color:#7d8bb0;opacity:1}
.shell .driver-header-search input:focus{border-color:#98b5ef;outline:none;box-shadow:none}
.shell .driver-header-search>.icon{position:absolute;width:14px;height:14px;left:10px;top:50%;transform:translateY(-50%);color:#344575;stroke-width:1.7;pointer-events:none}
.shell .driver-header .btn,.shell .driver-workspace .btn{height:var(--fleet-action-height);min-height:var(--fleet-action-height);padding:4px 10px;border-radius:5px;gap:5px;font-family:inherit;font-size:13px;font-weight:400;line-height:16px;white-space:nowrap;margin:0}
.shell .driver-header .btn .icon,.shell .driver-workspace .btn .icon{width:14px;height:14px;flex-shrink:0}
.shell .driver-header .btn,.shell .driver-workspace .btn{background:#e9f0f8;border-color:#d0dfed;color:#365b7c}
.shell .driver-header .btn:hover:not(:disabled),.shell .driver-workspace .btn:hover:not(:disabled){background:#dce8f4;border-color:#b6cde1}
.shell .driver-header .driver-upload{background:#e8f3ed;border-color:#cfe3d8;color:#346752}
.shell .driver-header .driver-upload:hover:not(:disabled){background:#dcece2;border-color:#b6d3c4}
.shell .driver-header .btn.primary,.shell .driver-workspace .btn.primary{background:#3d607f;border-color:#3d607f;color:#fff}
.shell .driver-header .btn.primary:hover:not(:disabled),.shell .driver-workspace .btn.primary:hover:not(:disabled){background:#304e69;border-color:#304e69}
.shell .driver-workspace{border:1px solid #e1e6ed;border-radius:0;box-shadow:none;min-height:0}
.shell .driver-workspace .driver-table{border-collapse:separate;border-spacing:0;font-family:inherit;font-size:12px;font-variant-numeric:tabular-nums;background:#fff}
.shell .driver-table thead{background:#f3f6f9;box-shadow:0 1px 0 #d5dfe9;z-index:3}
.shell .driver-table thead th{padding:8px 5px;background:#f3f6f9;color:#000;font-size:11px;font-weight:500;line-height:1.4;letter-spacing:0;text-align:center;border:0;border-right:1px solid #e9edf2;border-bottom:1px solid #e1e6ed;white-space:normal}
.shell .driver-table tbody td{padding:5px 6px;height:40px;font-size:12px;line-height:1.45;color:#34475b;border:0;border-right:1px solid #edf1f6;border-bottom:1px solid #e8edf3;background:#fff}
.shell .driver-table tbody tr:nth-child(odd) td{background:#fafbfd}
.shell .driver-table tbody tr:hover td{background:#edf3fa}
.shell .driver-table .driver-name{font-size:12px;font-weight:650;line-height:1.4;color:#25374c}
.shell .driver-table .driver-secondary{font-size:10px;line-height:1.2;margin-top:0;color:#738296}
.shell .driver-table .driver-card-expiry{gap:0;line-height:1.2;font-size:12px;font-weight:400}
.shell .driver-table .driver-card-expiry small{font-size:10px;line-height:1.2}
.shell .driver-table th:first-child{width:23%}.shell .driver-table th:nth-child(2){width:22%}.shell .driver-table th:nth-child(3){width:16%}.shell .driver-table th:nth-child(4){width:12%}.shell .driver-table th:nth-child(5){width:10%}.shell .driver-table th:last-child{width:11%}
.shell .driver-table td:last-child{text-align:center}
html:has(.content > .driver-workspace),body:has(.content > .driver-workspace){overflow:hidden}
.shell:has(.content > .driver-workspace){height:100dvh;min-height:0;overflow:hidden}
.shell:has(.content > .driver-workspace) .workspace{display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden}
.shell:has(.content > .driver-workspace) .topbar{flex:0 0 auto;position:relative;z-index:6}
.shell .content:has(> .driver-workspace){display:flex;flex-direction:column;flex:1 1 0%;min-height:0;overflow:hidden;padding-top:12px}
.shell .content > .driver-workspace{display:flex;flex-direction:column;flex:1 1 0%;width:100%;margin:0}
.shell .driver-workspace .driver-sync{flex:none;max-height:25dvh;overflow:auto}
.shell .driver-workspace #driver-results{display:flex;flex-direction:column;flex:1 1 0%;min-height:0;overflow:auto}
.shell .driver-table-scroll{flex:1 1 0%;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
@media(max-width:1100px){
 .shell .topbar:has(.driver-header)>.topbar-controls{grid-column:1/-1;grid-row:2;width:100%}
 .shell .topbar:has(.driver-header) .topbar-fleet-actions{width:100%}
 .shell .driver-header .driver-header-search{flex:1;max-width:none;width:auto}
 .shell .driver-table th:first-child{width:22%}.shell .driver-table th:nth-child(2){width:21%}.shell .driver-table th:nth-child(3){width:16%}.shell .driver-table th:nth-child(4){width:12%}.shell .driver-table th:nth-child(5){width:10%}.shell .driver-table th:last-child{width:12%}
 .shell .driver-table td:last-child .btn{padding-inline:6px}
}
@media(max-width:900px){
 .shell .driver-table th:first-child{width:25%}.shell .driver-table th:nth-child(2){width:23%}.shell .driver-table th:nth-child(4){width:16%}.shell .driver-table th:nth-child(5){width:13%}.shell .driver-table th:last-child{width:15%}
 .shell .driver-table td:last-child .btn{display:flex;width:100%;justify-content:center}
 .shell .driver-table td:last-child .btn+.btn{margin-top:3px}
}
@media(max-width:699px){
 .shell .driver-header{display:flex;flex-wrap:wrap;width:100%}
 .shell .driver-header .driver-header-search{flex:1 1 100%;max-width:none;min-width:0}
 .shell .driver-header-search input{font-size:16px}
 .shell .driver-header .btn{flex:1}
 .shell .topbar:has(.driver-header) .drivers-topbar-title h1{grid-column:2}
}
@media(max-width:599px){
 .shell .driver-table th:first-child{width:44%}.shell .driver-table th:nth-child(4){width:32%}.shell .driver-table th:last-child{width:24%}
}
.shell .driver-table .driver-name{display:block}
.shell .driver-table .driver-card-expiry,.shell .driver-table .btn{vertical-align:middle}
.shell .driver-table td:last-child .btn{margin:0}
@media(min-width:901px){.shell .driver-table th:first-child{width:auto}.shell .driver-table th:last-child{width:140px}.shell .driver-table td:last-child{white-space:nowrap}}
@media(max-width:900px){.shell .driver-table td:last-child .btn+.btn{margin-top:3px}}

/* Reading deadline colours its own cell; card expiry colours the whole row. */
.shell .driver-read-status{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#465d75}
.shell .driver-read-status.is-valid{color:#168568}
.shell .driver-read-status.is-soon{color:#9a691e}
.shell .driver-read-status.is-expired{color:#cd364b}
.shell .driver-read-status.is-unknown{color:#738296}
.shell .driver-read-status.is-expired::before{
 content:'';display:block;flex:0 0 17px;width:17px;height:17px;border-radius:50%;background-color:#ee4b60;
 background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%204.5v4%22%2F%3E%3Cpath%20d%3D%22M8%2011.5h.01%22%2F%3E%3C%2Fsvg%3E");
 background-size:17px 17px;background-position:center;background-repeat:no-repeat;
}
.shell .driver-table tbody td.driver-read-cell.is-valid{background:#e8f3ed}
.shell .driver-table tbody td.driver-read-cell.is-soon{background:#fbf5e9}
.shell .driver-table tbody td.driver-read-cell.is-expired{background:#fff0f2}
.shell .driver-table tbody tr:hover td.driver-read-cell.is-valid{background:#dcece2}
.shell .driver-table tbody tr:hover td.driver-read-cell.is-soon{background:#fff1d2}
.shell .driver-table tbody tr:hover td.driver-read-cell.is-expired{background:#ffe8ec}
.shell .driver-table tbody tr.driver-card-soon td{background:#fbf5e9}
.shell .driver-table tbody tr.driver-card-soon:hover td{background:#fff1d2}
.shell .driver-table tbody tr.driver-card-expired td{background:#fff0f2}
.shell .driver-table tbody tr.driver-card-expired:hover td{background:#ffe8ec}
.shell .driver-table tbody tr.driver-card-soon td.driver-read-cell{background:#fbf5e9}
.shell .driver-table tbody tr.driver-card-soon:hover td.driver-read-cell{background:#fff1d2}
.shell .driver-table tbody tr.driver-card-expired td.driver-read-cell{background:#fff0f2}
.shell .driver-table tbody tr.driver-card-expired:hover td.driver-read-cell{background:#ffe8ec}
.shell .driver-table tbody tr.driver-card-soon td:first-child{box-shadow:inset 3px 0 #dea13c}
.shell .driver-table tbody tr.driver-card-expired td:first-child{box-shadow:inset 3px 0 #f45b6b}
.shell .driver-table tbody tr.driver-read-soon td:first-child{box-shadow:inset 3px 0 #dea13c}
.shell .driver-table tbody tr.driver-read-expired td:first-child{box-shadow:inset 3px 0 #f45b6b}

/* The DDD deadline shares the transport-style row colours with card expiry. */
@media(min-width:901px){
 .shell .driver-table th:first-child{width:21%}
 .shell .driver-table th:nth-child(2){width:19%}
 .shell .driver-table th:nth-child(3){width:15%}
 .shell .driver-table th:nth-child(4){width:12%}
 .shell .driver-table th:nth-child(5){width:11%}
 .shell .driver-table th:nth-child(6){width:10%}
 .shell .driver-table th:last-child{width:154px}
}
.shell .driver-table td:last-child .btn{width:64px;justify-content:center;box-sizing:border-box}
@media(max-width:900px){
 .shell .driver-table th:nth-child(6){width:17%}
 .shell .driver-table td:last-child .btn{width:min(64px,100%);margin-inline:auto}
}
@media(max-width:699px){
 .shell .driver-header .orders-client{width:auto;flex:1 1 140px}
}
@media(max-width:599px){
 .shell .driver-table th:first-child{width:36%}
 .shell .driver-table th:nth-child(4){width:23%}
 .shell .driver-table th:nth-child(6){width:23%}
 .shell .driver-table th:last-child{width:18%}
}
@media(max-width:699px){
 .shell .driver-header .orders-client{flex:1 1 100%;max-width:none}
 .shell .driver-header .btn{flex:1 1 calc(50% - 3px);min-width:0}
}
@media(max-width:599px){
 .shell .driver-table th:first-child{width:33%}
 .shell .driver-table th:nth-child(4){width:24%}
 .shell .driver-table th:nth-child(6){width:21%}
 .shell .driver-table th:last-child{width:22%}
 .shell .driver-table .driver-card-expiry>span{white-space:nowrap;font-size:11px}
}

/* Reuse the Transport summary cards and compact filter controls. */
.shell .content:has(> .driver-workspace) > .driver-stats{flex:0 0 auto}
.shell .driver-workspace > .driver-filters{flex:0 0 auto;border-bottom:1px solid #dce5ef}
.shell .driver-filters > .filters{min-width:0}
.driver-stats .stat[data-driver-filter="attention"]{--stat-accent:#f29a06;--stat-tint:#fff7eb}
.driver-stats .stat[data-driver-filter="card_expired"],.driver-stats .stat[data-driver-filter="read_expired"]{--stat-accent:#f15b58;--stat-tint:#fff1f1}
.driver-stats .stat[data-driver-filter="card_soon"]{--stat-accent:#5584b7;--stat-tint:#f0f5fa}
.driver-stats .stat[data-driver-filter="read_soon"]{--stat-accent:#00a98d;--stat-tint:#edfbf7}
.driver-filters .filter[data-driver-filter="all"]{padding-inline:12px}
.driver-filters .filter[data-driver-filter="valid"]{--filter-icon-color:#00a990}
.driver-filters .filter[data-driver-filter="attention"]{--filter-icon-color:#ed9024}
.driver-filters .filter:is([data-driver-filter="card_expired"],[data-driver-filter="read_expired"]){--filter-icon-color:#ec3035}
.driver-filters .filter:is([data-driver-filter="card_soon"],[data-driver-filter="read_soon"]){--filter-icon-color:#f4a54c}
.driver-filters .filter[data-driver-filter="missing"]{--filter-icon-color:#8791aa}
@media(max-height:650px){
 .shell .driver-stats{--stat-value-size:24px;gap:6px;margin-bottom:8px}
 .shell .driver-stats .stat{--stat-icon-size:28px;--stat-inset:12px;min-height:62px;grid-template-rows:auto minmax(24px,1fr);padding-top:4px;padding-bottom:4px}
 .shell .driver-stats .stat-label{font-size:11px}
 .shell .driver-stats .stat-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0;white-space:nowrap}
}
@media(max-height:650px) and (max-width:699px){
 .shell .driver-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
 .shell .driver-stats .stat{--stat-icon-size:22px;--stat-inset:10px}
}
