/* Redesigned Drivers screen (redesign track S3). Scope every rule under .screen[data-screen="<page id>"] and use --rt-* tokens only. */
.screen[data-screen="driver"] .drv-gap{flex:1}
.screen[data-screen="driver"] .drv-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:12px}
.screen[data-screen="driver"] .drv-contact{display:flex;flex-direction:column;gap:2px;font-size:var(--rt-text-sm);min-width:0}
.screen[data-screen="driver"] .drv-contact :is(a,span){display:inline-flex;gap:7px;align-items:center;color:var(--rt-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.screen[data-screen="driver"] .drv-contact a{text-decoration:none;min-height:28px}
.screen[data-screen="driver"] .drv-contact a:hover{color:var(--rt-brand-ink,var(--rt-brand));text-decoration:underline}
.screen[data-screen="driver"] .drv-contact .ui-icon{width:16px;height:16px;flex:none;color:var(--rt-muted)}
.screen[data-screen="driver"] .drv-contact .muted{color:var(--rt-muted)}
.screen[data-screen="driver"] .drv-papers{display:flex;gap:6px;flex-wrap:wrap}
.screen[data-screen="driver"] .ui-card-sub{display:inline-flex;gap:5px;align-items:center;font-size:var(--rt-text-sm);color:var(--rt-muted)}
.screen[data-screen="driver"] .ui-card-sub .ui-icon{width:16px;height:16px}
.screen[data-screen="driver"] .ui-card-foot .ui-icon,.screen[data-screen="driver"] .drv-actions .ui-icon{width:15px;height:15px}
.screen[data-screen="driver"] .drv-list td{vertical-align:middle}
.screen[data-screen="driver"] .drv-actions{text-align:right;white-space:nowrap}
.screen[data-screen="driver"] .drv-actions .ui-btn+.ui-btn{margin-left:6px}
.screen[data-screen="driver"] .selection-actions{margin:0 0 12px}
.screen[data-screen="driver"] a:focus-visible,.screen[data-screen="driver"] button:focus-visible{outline:3px solid var(--rt-focus);outline-offset:2px}
@media (max-width:700px){.screen[data-screen="driver"] .drv-cards{grid-template-columns:1fr}.screen[data-screen="driver"] .drv-gap{display:none}}
