/* Draft review: shared secondary-screen tokens, never map/active-trip controls. */
body.hospi-driver-menus{background:#071523;color:#edf4ff;--surface:#142b3a;--soft:#18364b;--text:#edf4ff;--ink:#edf4ff;--n:#edf4ff;--m:#b9cddd;--muted:#b9cddd;--border:#40576b;--line:#40576b;--b:#73c8f6;--blue:#a5ed20;--g:#a5ed20;color-scheme:dark}
body.hospi-driver-menus #driver .workspace-panel{max-width:620px;margin-inline:auto}
body :is(#driver,#customer) [data-shared-menu-heading]{margin:0 0 20px}
body :is(#driver,#customer) [data-shared-menu-heading] h2{font-size:27px;line-height:1.2;margin:16px 0 0;color:#fff}
body :is(#driver,#customer) [data-shared-menu-heading] h2:after{content:'';display:block;height:3px;width:40px;background:#a5ed20;margin-top:10px;border-radius:3px}
body #driver .workspace-panel:has(>[data-shared-menu-heading])>h2,body #driver .workspace-panel:has(>[data-shared-menu-heading])>.notifbar,body #driver [data-tab=earnings] #earningsSection>h2{display:none}
/* Remove the old rule hiding reservation icons. All three tabs retain this layout. */
body #driver #driverActivityMenu{overflow:visible;border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body #driver #driverActivityMenu .activity-category-icon{display:grid;place-items:center;flex:none;width:28px;height:28px}
body #driver #driverActivityMenu .activity-category-copy{flex:none}
body #driver #driverActivityMenu .activity-category-copy strong{font-size:clamp(12px,3.6vw,16px)!important}
body #driver #driverActivityMenu .driver-activity-category{flex-wrap:nowrap;min-height:110px;gap:6px}
body #driver #driverActivityMenu .activity-count{min-height:0;line-height:1.1}
body #driver #driverActivityList .driver-trip-row{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;background:#142b3a;color:#edf4ff;border:1px solid #40576b;border-radius:13px;padding:14px;margin:10px 0}
body #driver #driverActivityList .driver-row-number{display:none}
body #driver #driverActivityList .driver-row-info{background:transparent;color:#edf4ff;text-align:left;padding:0;min-width:0}
body #driver #driverActivityList .driver-row-info h3{font-size:17px;margin:0 0 6px}
body #driver #driverActivityList .driver-row-info p{font-size:16px!important;line-height:1.4;white-space:normal;overflow:visible;margin:4px 0}
body #driver #driverActivityList .driver-row-right{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;text-align:left;min-width:0}
body #driver #driverActivityList .driver-row-right time{display:flex;gap:6px;flex-wrap:wrap;font-size:14px}
body #driver #driverActivityList .driver-row-pay{font-size:23px;grid-column:2;grid-row:1}
body #driver #driverActivityList .driver-row-right>small{font-size:13px}
body #driver #driverActivityList .driver-row-right>.muted{color:#a5ed20;font-size:13px;text-align:right}
body #driver #driverActivityList .driver-row-actions{grid-column:1/-1;display:flex;gap:10px}
body #driver #driverActivityList .driver-row-actions button{flex:1;min-height:44px}
body #driver #driverActivityList .available-trip p{font-size:16px!important}
/* Identical compact notification cards in Recent and History for both roles. */
body :is(#driver,#customer) .ht-alerts .ht-alert-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;border:0}
body :is(#driver,#customer) .ht-alerts .ht-alert-tabs button{min-height:48px;font-size:16px;padding:10px;border:1px solid #40576b;border-radius:12px;background:#142b3a;color:#edf4ff;box-shadow:none}
body :is(#driver,#customer) .ht-alerts .ht-alert-tabs button[aria-pressed=true]{background:#17442c;color:#bcff48;border-color:#a5ed20}
body :is(#driver,#customer) .ht-alerts .ht-alert-card{display:grid;grid-template-columns:40px minmax(0,1fr) 34px;gap:3px 10px;align-items:start;min-height:0;padding:13px;margin-bottom:10px;border:1px solid #40576b;border-radius:13px;background:#142b3a;color:#edf4ff}
body :is(#driver,#customer) .ht-alerts .ht-alert-symbol{grid-column:1;grid-row:1/6;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#123c2c;color:#a5ed20}
body :is(#driver,#customer) .ht-alerts .ht-alert-symbol svg{width:25px;height:25px}
body :is(#driver,#customer) .ht-alerts .ht-alert-card>:not(.ht-alert-symbol):not(button){grid-column:2;min-width:0}
body :is(#driver,#customer) .ht-alerts .ht-alert-title{padding:0;display:block}
body :is(#driver,#customer) .ht-alerts .ht-alert-title strong{font-size:16px;line-height:1.3}
body :is(#driver,#customer) .ht-alerts .ht-alert-card p{font-size:14px!important;font-weight:500;line-height:1.35;margin:2px 0;overflow-wrap:anywhere}
body :is(#driver,#customer) .ht-alerts .ht-alert-card time,body :is(#driver,#customer) .ht-alerts .ht-alert-reference{font-size:12px!important;color:#b9cddd;margin:2px 0;font-weight:400}
body :is(#driver,#customer) .ht-alerts .ht-alert-card>button{grid-column:3;grid-row:1/6;align-self:center;background:transparent;color:#a6cdef;padding:0;min-width:34px;min-height:44px;font-size:28px;box-shadow:none}
body :is(#driver,#customer) .ht-alerts .ht-alert-card>button.ht-radar-x{position:static;grid-row:1;min-height:32px!important;font-size:24px!important}
body :is(#driver,#customer) .ht-alerts .ht-alert-card:has(.ht-radar-x)>button:last-child{grid-row:3/6}
body :is(#driver,#customer) .ht-alerts .ht-alert-card .ht-alert-reference{word-break:break-word}
/* Earnings links use the same large bordered rows as Documents/menu cards. */
body #driver #earningsAccountLinks .driver-account-group{margin:0;display:grid;gap:12px}
body #driver #earningsAccountLinks .driver-account-group>h3:empty{display:none}
body #driver #earningsAccountLinks .driver-account-list-row{display:flex;align-items:center;gap:14px;min-height:80px;padding:16px;border:1px solid #40576b;border-radius:13px;background:#142b3a;color:#edf4ff;font-size:18px;font-weight:700}
body #driver #earningsAccountLinks .driver-account-list-row>svg{width:28px;height:28px;flex-basis:28px;color:#a6cdef}
/* Reserve actual space inside the scroll area so the Back bar cannot cover the heading. */
body:is(.hospi-driver-internal,.hospi-customer-internal) main{padding-top:calc(72px + env(safe-area-inset-top,0px))!important}
body:is(.hospi-driver-internal,.hospi-customer-internal) .workspace-panel{scroll-margin-top:calc(72px + env(safe-area-inset-top,0px))}
body.hospi-driver-menus #driver [data-tab=earnings] #earningsSection{border:0;background:transparent;padding:0}
/* Same card geometry for menu rows and nested Help in each app. */
body.hospi-driver-menus #driver .driver-account-list-row,body.hospi-passenger-menus #customer .driver-account-list-row{border-radius:13px}
body :is(#driver,#customer) [data-nested-help] .account-row{display:flex;align-items:center;gap:12px;min-height:52px;padding:14px;border:1px solid #40576b;background:#142b3a;color:#edf4ff;font-size:16px!important}
body :is(#driver,#customer) [data-nested-help] .nested-menu-icon{color:#a6cdef}
body :is(#driver,#customer) :is(#driverAccountHero,#customerAccountHero) .driver-account-identity{display:grid;grid-template-columns:54px minmax(0,1fr);gap:4px 12px;background:transparent;border:0;padding:0;margin:18px 0 4px;align-items:center}
body :is(#driver,#customer) :is(#driverAccountHero,#customerAccountHero) .driver-account-avatar{grid-column:1;grid-row:1/3;width:54px;height:54px;flex-basis:54px;font-size:22px}
body :is(#driver,#customer) :is(#driverAccountHero,#customerAccountHero) .driver-account-identity>div{grid-column:2;min-width:0}
body :is(#driver,#customer) :is(#driverAccountHero,#customerAccountHero) .driver-account-edit{grid-column:2;justify-self:start;display:inline-flex;align-items:center;min-height:44px;width:auto;height:auto;min-width:0;flex:none;padding:8px 13px;margin-top:6px;border:1px solid #40576b;border-radius:9px;background:#142b3a;color:#a5ed20;font-size:14px;line-height:1.3}
body :is(#driver,#customer) .ht-alerts .ht-alert-emergency .ht-alert-symbol{background:#552a32;color:#ff8992}
body :is(#driver,#customer) .ht-alerts .ht-alert-emergency{border-color:#b95865}
