/* Driver profile: scoped to the account page; community cards stay unchanged. */
body.driver-account-page{background:#142c34;color:#edf4ed;min-height:100dvh;font-family:'DM Sans',system-ui,sans-serif}
.driver-account-page .portal-header{max-width:1120px;margin:auto;padding:20px 24px;background:transparent;border:0;gap:16px}
.driver-account-page .portal-header .logo{font-size:14px;letter-spacing:.14em}.driver-account-page .portal-header .logo span{font-size:10px;color:#a6bebc}
.driver-account-page .portal-header nav{gap:18px}.driver-account-page .portal-header nav a{font-size:12px}
.driver-account-page .account-card{max-width:560px;margin:20px auto 48px;padding:24px;border:1px solid #bddace20;background:#19363e;box-shadow:none;border-radius:20px}
.driver-account-page[data-account=profile] .account-card{max-width:1040px;background:transparent;border:0;padding:20px 24px;margin:0 auto 40px}
.driver-account-page .account-card>.eyebrow{font-size:10px;letter-spacing:.16em;color:#b0c8bd}
.driver-account-page .account-card h1{font-size:clamp(27px,4vw,36px);margin:8px 0;letter-spacing:-.04em}
.driver-account-page #account-copy{max-width:55ch;font-size:13px;margin:0 0 16px}
.driver-account-page #account-status{font-size:12px;min-height:0;margin:8px 0 16px}.driver-account-page #account-status:empty{display:none}
.driver-account-page .driver-profile{border:0;padding:0;margin:18px 0 0;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.driver-account-page .profile-public,.driver-account-page .profile-private{min-width:0}
.driver-account-page .driver-identity{position:relative;padding:22px;background:linear-gradient(120deg,#24454a,#1b373f);border:1px solid #bad8ca24;border-radius:20px}
.driver-account-page .profile-hero{gap:16px}.driver-account-page .profile-hero>div:last-child{min-width:0}.driver-account-page .profile-hero h2{font-size:clamp(24px,4vw,32px);letter-spacing:-.04em;line-height:1.15;margin:0 0 5px}
.driver-account-page #profile-avatar{width:72px;height:72px;border:0;border-radius:20px;background:#102c344f;box-shadow:none;color:var(--profile-accent)}
.driver-account-page #profile-avatar svg{min-width:0;min-height:0}.driver-account-page #profile-handle{font-size:13px}.driver-account-page #profile-joined{font-size:11px;margin:4px 0 0}
.driver-account-page #profile-bio{font-size:13px;margin:16px 0;line-height:1.6}
.driver-account-page .profile-icon{display:inline-block;width:18px;height:18px;flex:0 0 18px;background:currentColor;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat}
.driver-account-page button,.driver-account-page .primary{gap:8px;min-height:42px;padding:9px 13px;border-radius:11px;font-size:13px;transition:background .16s,border-color .16s,transform .16s}
.driver-account-page #profile-share{background:#b9e6cf12;border:1px solid #b9e6cf33;color:#ccebdc;font-size:12px;min-height:38px}
.driver-account-page #profile-save-status{font-size:12px;margin:8px 0 0;color:#c4ead6;overflow-wrap:anywhere}.driver-account-page #profile-save-status:empty{display:none}
.driver-account-page #driver-career{background:transparent;border:0;padding:22px 0;margin:0}
.driver-account-page #driver-career h3{font-size:18px;margin:0 0 12px;letter-spacing:-.02em}
.driver-account-page #driver-career progress{display:block;appearance:none;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:#ffffff12}
.driver-account-page progress::-webkit-progress-bar{background:#ffffff12}.driver-account-page progress::-webkit-progress-value{background:#b8e6cd;border-radius:8px}.driver-account-page progress::-moz-progress-bar{background:#b8e6cd}
.driver-account-page .career-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:18px 0}
.driver-account-page .career-stats>div{display:block;padding:14px 12px;background:#1d3941;border-radius:12px;border:1px solid #b8d8ce12;min-width:0}
.driver-account-page .career-stats strong{font-size:20px;color:#e7f1e8;font-weight:650;letter-spacing:-.03em;overflow-wrap:anywhere}
.driver-account-page .career-stats span{font-size:11px;color:#a8c1bf;line-height:1.4;margin-top:5px}
.driver-account-page .career-badges{gap:7px}.driver-account-page .career-badges>span{background:transparent;border-color:#bad5c920;border-radius:11px;color:#a7bcb9;padding:10px;font-size:12px}.driver-account-page .career-badges>[data-earned=true]{background:#b9e7cd0c;color:#c7e8d2;border-color:#b9e7cd44}.driver-account-page .career-badges small{font-size:10px;color:#a2bdb9}
.driver-account-page #driver-career>.muted{font-size:11px;line-height:1.6;margin-bottom:0}
.driver-account-page .profile-private{margin:0;padding:0;border:0;display:grid;gap:16px}
.driver-account-page #profile-edit,.driver-account-page .profile-challenge-group{margin:0;padding:0;border:1px solid #b8d8ce24;border-radius:15px;background:#1b373f;overflow:hidden}
.driver-account-page summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;min-height:48px;padding:12px 15px;font-size:13px;font-weight:600;color:#e4eee7}
.driver-account-page summary::-webkit-details-marker{display:none}.driver-account-page .profile-chevron{margin-left:auto;color:#a5c3b8;transition:transform .18s}.driver-account-page details[open]>summary .profile-chevron{transform:rotate(180deg)}
.driver-account-page #profile-edit-form{padding:4px 15px 16px;gap:14px}.driver-account-page #profile-edit-form .muted{font-size:11px;margin:0;line-height:1.5}
.driver-account-page input,.driver-account-page select,.driver-account-page textarea{background:#142e36;border:1px solid #aacbbe30;border-radius:10px;min-height:42px;padding:10px;font:inherit;font-size:16px;color:#e8f1e9}
.driver-account-page textarea{resize:vertical;max-height:240px}.driver-account-page label{font-size:12px;gap:6px}
.driver-account-page #profile-save{background:#b8e6cd;border-color:#b8e6cd;color:#17352e}
.driver-account-page #profile-personal h3,.driver-account-page .profile-section-heading h3{font-size:15px;margin:0;letter-spacing:-.02em}
.driver-account-page #profile-personal>.profile-pair{margin:12px 0;gap:8px}.driver-account-page #profile-personal>.profile-pair>a{display:flex;align-items:center;gap:8px;padding:12px 10px;border:1px solid #bad8ca24;border-radius:12px;color:#d5e9df;text-decoration:none;background:#1b373f;font-size:12px}.driver-account-page #profile-personal>.profile-pair>a>span:last-child{margin-left:auto}
.driver-account-page #profile-local-progress{font-size:11px;margin:0 0 18px}
.driver-account-page .profile-challenge-group h4{font-size:11px;color:#b6cebf;margin:16px 14px 8px;font-weight:600}.driver-account-page .profile-challenge-group .profile-list{margin:8px 12px 16px;font-size:12px}.driver-account-page .profile-challenge-group>.muted{font-size:10px;margin:14px;line-height:1.6}
.driver-account-page .profile-section-heading{display:flex;align-items:center;gap:10px;margin-bottom:12px}.driver-account-page .profile-count{background:#b9e7cd12;color:#c5dfd1;padding:2px 8px;border-radius:7px;font-size:11px;font-variant-numeric:tabular-nums}
.driver-account-page .profile-list{margin:0;gap:8px;font-size:13px}.driver-account-page .profile-list>a,.driver-account-page .profile-list>div{background:#1b373f;border:1px solid #bad8ca20;border-radius:12px;padding:12px;min-width:0}.driver-account-page #profile-maps>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px}.driver-account-page #profile-maps>a>span{color:#b9e7cd;flex-shrink:0}
.driver-account-page .profile-list button{font-size:11px;min-height:36px;color:#efb5aa;background:transparent;border-color:#efb5aa30;padding:6px 10px}
.driver-account-page .profile-empty{border:1px dashed #bad8ca33;border-radius:14px;padding:22px;margin:0;font-size:12px;line-height:1.6;text-align:center}
.driver-account-page #account-links{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:26px 0 12px;font-size:12px}.driver-account-page #account-links .primary{width:auto;background:#b8e6cd;color:#17352e;border-color:#b8e6cd}
.driver-account-page #email-signout,.driver-account-page #site-signout{font-size:12px;color:#edb7ab;background:transparent;border:0;padding:8px 0;margin:0;min-height:40px}
.driver-account-page .footnote{font-size:11px;margin-top:16px;padding-top:16px;border-color:#bad8ca20}.driver-account-page :is(button,a,summary,input,textarea,select):focus-visible{outline:2px solid #b8e6cd;outline-offset:3px}
.driver-account-page :is(a,button,summary){-webkit-tap-highlight-color:transparent}.driver-account-page button:disabled{opacity:.5;cursor:wait}
@media(hover:hover){.driver-account-page #profile-maps>a:hover,.driver-account-page #profile-personal a:hover{background:#25464d;border-color:#b9e7cd55}.driver-account-page summary:hover{background:#b9e7cd08}}
@media(max-width:760px){.driver-account-page .driver-profile{grid-template-columns:1fr;gap:24px}.driver-account-page .portal-header{padding:16px;flex-wrap:nowrap}.driver-account-page .portal-header nav{gap:12px}.driver-account-page .portal-header nav a{font-size:11px}.driver-account-page .portal-header .logo span{display:none}.driver-account-page[data-account=profile] .account-card{padding:16px;margin:0 auto 24px}.driver-account-page .driver-identity{padding:18px}.driver-account-page .profile-private{grid-template-columns:1fr}.driver-account-page .career-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-account-page .account-card{margin:16px;padding:20px}}
@media(prefers-reduced-motion:reduce){.driver-account-page *{transition:none!important;animation:none!important}}
.driver-account-page .driver-profile:has(>.profile-private[hidden]){grid-template-columns:minmax(0,1fr);max-width:700px}
.driver-account-page details[open]>form,.driver-account-page details[open]>.profile-list{animation:profile-reveal .16s ease-out}@keyframes profile-reveal{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}

