.driver-service-record>.profile-section-heading{
 display:flex;
 justify-content:space-between!important;
 gap:8px;
}
.driver-service-record>.profile-section-heading>span:first-child{
 flex:0 0 auto;
 white-space:nowrap;
}
.driver-service-record>.profile-section-heading>.driver-presence{
 display:block;
 min-width:0;
 max-width:55%;
 margin-left:auto;
 padding:4px 8px!important;
 border:1px solid var(--line);
 border-radius:999px;
 color:var(--muted)!important;
 font-size:10px!important;
 font-weight:600!important;
 line-height:1.4!important;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
}
.driver-service-record .driver-presence::before{display:none!important}
.driver-service-record>.profile-section-heading>.driver-presence.is-online{
 display:inline-flex;
 align-items:center;
 gap:6px;
 overflow:visible;
 color:var(--green)!important;
 border-color:color-mix(in srgb,var(--green) 35%,var(--line));
 background:color-mix(in srgb,var(--green) 9%,transparent);
}
.driver-presence-dot{
 position:relative;
 flex:0 0 6px;
 width:6px;
 height:6px;
 border-radius:50%;
 background:currentColor;
}
.driver-presence-dot::after{
 content:"";
 position:absolute;
 inset:0;
 border:1px solid currentColor;
 border-radius:inherit;
 animation:driver-presence-pulse 2.4s ease-out infinite;
}
@keyframes driver-presence-pulse{
 0%{transform:scale(1);opacity:.65}
 75%,100%{transform:scale(2.4);opacity:0}
}
@media(prefers-reduced-motion:reduce){
 .driver-presence-dot::after{animation:none}
}
.driver-service-record{container:driver-status / inline-size}
.profile-community-karma{scroll-margin-top:calc(var(--native-safe-top,env(safe-area-inset-top,0px)) + 18px)}
.driver-service-stats{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:8px;
 padding:14px 12px 8px;
}
.driver-service-record .driver-service-stat{
 box-sizing:border-box;
 min-width:0;
 appearance:none;
 display:flex;
 flex-direction:column;
 justify-content:space-between;
 align-items:flex-start;
 gap:8px;
 margin:0;
 padding:11px 8px;
 border:1px solid var(--line);
 border-radius:13px;
 background:color-mix(in srgb,var(--accent) 8%,var(--surface-inset,var(--card-bg,var(--paper))));
 color:var(--text-primary,var(--ink));
 text-align:left;
 font:inherit;
 box-shadow:inset 0 1px color-mix(in srgb,var(--ink) 5%,transparent);
}
.driver-service-record button.driver-service-stat{cursor:pointer}
.driver-service-record button.driver-service-stat:is(:hover,:focus-visible){
 border-color:color-mix(in srgb,var(--accent) 60%,var(--line));
}
.driver-stat-label{
 display:flex;
 min-width:0;
 max-width:100%;
 min-height:18px;
 align-items:center;
 gap:4px;
 color:var(--muted);
 font-size:clamp(10.5px,2.8vw,12px);
 line-height:1.25;
 font-weight:650;
 white-space:nowrap;
}
.driver-stat-label>span:last-child{
 overflow:hidden;
 text-overflow:ellipsis;
}
.driver-stat-icon{
 display:inline-grid;
 width:18px;
 height:18px;
 flex:none;
 place-items:center;
 border-radius:5px;
 background:color-mix(in srgb,var(--accent) 12%,transparent);
 color:var(--accent);
}
.driver-stat-icon svg{width:13px;height:13px}
.driver-service-stat>.driver-stat-value{
 font-size:clamp(21px,5.7vw,30px);
 line-height:1.05;
 font-weight:750;
 font-variant-numeric:tabular-nums;
}
.driver-stat-pill{
 max-width:100%;
 box-sizing:border-box;
 padding:3px 6px;
 border:1px solid color-mix(in srgb,var(--accent) 28%,var(--line));
 border-radius:999px;
 color:var(--accent);
 background:color-mix(in srgb,var(--accent) 9%,transparent);
 font-size:10px;
 line-height:1.25;
 font-weight:650;
 white-space:normal;
 overflow-wrap:anywhere;
}
.driver-stat-pill.is-verified{
 color:var(--green);
 border-color:color-mix(in srgb,var(--green) 35%,var(--line));
 background:color-mix(in srgb,var(--green) 9%,transparent);
}
.driver-stat-details{
 align-self:stretch;
 display:grid;
 grid-template-rows:4px 2.7em 1.35em;
 row-gap:3px;
 min-height:36px;
 margin-top:auto;
 font-size:10px;
 line-height:1.35;
 font-variant-numeric:tabular-nums;
}
.driver-stat-progress{
 display:block;
 height:4px;
 overflow:hidden;
 border-radius:99px;
 background:color-mix(in srgb,var(--accent) 16%,var(--surface-inset,var(--bg)));
}
.driver-stat-progress>i{
 display:block;
 height:100%;
 border-radius:inherit;
 background:var(--accent);
}
.driver-stat-hint{color:var(--muted);overflow-wrap:anywhere}
.driver-stat-action{color:var(--accent);font-weight:700}
.driver-service-record .profile-information-list .driver-station-badge,
.driver-service-record .driver-callsign,
.driver-tenure{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:5px;
 padding:4px 8px;
 border:1px solid var(--line);
 border-radius:8px;
 background:color-mix(in srgb,var(--accent) 8%,var(--surface-inset,var(--paper)));
}
.driver-service-record .profile-information-list .driver-station-badge{
 flex:0 1 auto;
 min-width:0;
 white-space:normal;
}
.driver-service-record .driver-callsign{
 flex:none;
 margin-left:auto;
 color:var(--text-primary,var(--ink));
 font:650 13px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;
 font-variant-numeric:tabular-nums;
 cursor:pointer;
}
.driver-callsign .driver-stat-icon,.driver-station-badge .driver-stat-icon{
 width:14px;
 height:14px;
 background:none;
}
.driver-joined-details{
 display:flex;
 flex:0 1 auto;
 flex-wrap:wrap;
 justify-content:flex-end;
 align-items:center;
 gap:4px 7px;
 text-align:right;
}
.driver-service-record .driver-joined-details strong{max-width:none}
.driver-tenure{
 padding:2px 6px;
 border-radius:999px;
 color:var(--muted);
 font-size:10px;
 font-variant-numeric:tabular-nums;
 white-space:nowrap;
}
.driver-station-setup{
 margin-left:auto;
 flex:none;
 padding:6px 9px;
 border:1px solid color-mix(in srgb,var(--accent) 40%,var(--line));
 border-radius:999px;
 font-size:11px;
 font-weight:600;
 color:var(--accent);
 background:color-mix(in srgb,var(--accent) 10%,var(--paper));
 cursor:pointer;
}
.driver-service-record button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.driver-service-record .profile-information-list .driver-station-unset{color:var(--muted);font-weight:500}
@container driver-status (width < 430px){
 .driver-service-stats{gap:5px;padding:10px 8px 6px}
 .driver-service-record .driver-service-stat{padding:9px 5px}
 .driver-stat-label{gap:3px}
 .driver-stat-label .driver-stat-icon{width:14px;height:14px}
}
@container driver-status (width < 375px){
 .driver-stat-label .driver-stat-icon{display:none}
}
@container driver-status (width < 310px){
 .driver-service-stats{gap:4px;padding-inline:6px}
 .driver-service-record .driver-service-stat{padding-inline:3px}
}

