.ht-alerts{max-width:650px;margin:auto}.ht-alert-tabs{display:flex;border:1px solid var(--border);border-radius:10px;overflow:hidden;margin-bottom:12px}.ht-alert-tabs button{width:50%;min-height:44px;background:var(--soft);color:var(--text);font-size:14px;border-radius:0}.ht-alert-tabs button[aria-pressed=true]{background:#0759d9;color:#fff}.ht-alert-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:8px 0 14px;padding:12px;border:1px solid var(--border);border-radius:12px}.ht-alert-range label{min-width:0;font-size:12px}.ht-alert-range input{min-width:0;max-width:100%;font-size:16px}.ht-alert-range button{grid-column:1/-1;background:#0759d9;color:#fff;min-height:44px}.ht-alert-card{padding:12px;margin:0 0 10px;border:1px solid var(--border);border-radius:12px;background:var(--surface);color:var(--text)}.ht-alert-unread{background:light-dark(#eaf3ff,#153859);border-color:light-dark(#91bfff,#388ad1)}.ht-alert-read{background:var(--soft)}.ht-alert-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.ht-alert-title strong{font-size:14px}.ht-alert-title i{display:inline-block;width:8px;height:8px;background:#168bff;border-radius:50%;margin-right:6px}.ht-alert-title small{white-space:nowrap;font-size:11px;padding:3px 6px;border:1px solid currentColor;border-radius:5px;color:var(--m)}.ht-alert-card time,.ht-alert-meta{font-size:12px;color:var(--m)}.ht-alert-card time{display:block;margin-top:5px}.ht-alert-card p{font-size:13px;line-height:1.5;margin:7px 0}.ht-alert-person{font-weight:600}.ht-alert-card button{min-height:44px;padding:8px 12px;background:#0759d9;color:#fff;font-size:13px}.ht-alert-read button{background:transparent;color:var(--b);padding-left:0}.ht-alert-meta{line-height:1.5;margin:10px 0}

.ht-alert-identity{display:flex;align-items:center;gap:9px;margin:7px 0}.ht-alert-avatar{position:relative;flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--surface);display:grid;place-items:center;overflow:hidden}.ht-alert-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ht-alert-person small{display:block;font-size:12px;margin-top:3px}
.ht-alert-card{position:relative}.ht-alert-card:has(.ht-radar-x) .ht-alert-title{padding-right:38px}.ht-radar-x{position:absolute;right:4px;top:4px;width:44px;min-height:44px!important;padding:0!important;font-size:24px!important;background:transparent!important;color:var(--text)!important;z-index:1}#scheduledReservationRadar{position:fixed;left:50%;transform:translateX(-50%);top:100px;bottom:auto;width:min(520px,calc(100% - 24px));z-index:25;overflow:auto;box-sizing:border-box;overscroll-behavior:contain}#scheduledReservationRadar .ht-alert-card{box-shadow:0 8px 30px #0005;margin:0}#sharedReservationRadar{width:min(390px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--border);border-radius:14px;background:var(--surface);color:var(--text);overflow:auto}#sharedReservationRadar::backdrop{background:#071221bb}#sharedReservationRadar header{display:flex;gap:8px;align-items:center;padding:8px 14px;background:#102541;color:white}#sharedReservationRadar h2{font-size:17px;margin:0;flex:1}#sharedReservationRadar header button{min-width:44px;min-height:44px;background:transparent;color:white;font-size:24px;padding:0}.ht-radar-detail{padding:18px;font-size:14px}.ht-radar-detail dl{margin:12px 0}.ht-radar-detail dt{font-size:12px;color:var(--m);margin-top:12px}.ht-radar-detail dd{margin:4px 0;font-size:14px}.ht-radar-detail>button{min-height:44px;width:100%;background:#0759d9;color:white}.ht-radar-detail .ht-alert-avatar{width:64px;height:64px;flex-basis:64px}.ht-radar-detail [role=status]{font-size:12px;line-height:1.5}

.ht-radar-taken-symbol{display:block;text-align:center;font-size:44px;color:#39d98a;margin:10px}

#scheduledReservationRadar .ht-alert-card{background:#10263f;color:#edf4ff;border-color:#345571;padding:12px}
.ht-reservation-heading{background:#0759d9;color:#fff;border-radius:10px;padding:10px 38px 10px 10px;font-size:14px;font-weight:750}
#scheduledReservationRadar .ht-reservation-pickup{display:grid;gap:4px;color:#edf4ff;margin:10px 0}.ht-reservation-pickup strong{font-size:19px}.ht-reservation-pickup b{font-size:27px}.ht-reservation-pickup small{font-size:12px;color:#c5d7ed}
#scheduledReservationRadar [data-scheduled-accept]{width:100%;background:#80f80c;color:#102600;font-size:17px;font-weight:750}
#scheduledReservationRadar .ht-reservation-pay strong{font-size:22px}
[data-alert-read-all]{min-height:44px;padding:8px 12px;margin-bottom:12px;background:#173653;color:#edf4ff;border:1px solid #345571;border-radius:10px}
#driverNavReservationCount{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 5px;background:#96bfff;color:#10263f;border-radius:20px;font-size:12px;font-weight:750}#driverNavReservationCount[hidden]{display:none}
body.driver-incoming-scope #driverMapOffer{left:12px!important;right:12px!important;width:auto!important;max-width:520px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
[data-nav-role="driver"][data-nav-tab="activity"]{position:relative}
#driverNavReservationCount{position:absolute;top:3px;right:calc(50% - 27px);margin:0;pointer-events:none}

/* Incoming requests live outside hidden workspace panels and active-ride docks. */
body.driver-incoming-scope #driverMapOffer,body #scheduledReservationRadar{z-index:10040;pointer-events:auto;inset:auto 12px auto;left:12px;right:12px;bottom:auto;transform:none;width:auto;max-width:520px;margin:0 auto;box-sizing:border-box}
body.driver-incoming-scope #driverMapOffer[hidden],body #scheduledReservationRadar[hidden],body #toast[hidden]{display:none!important}
.ht-global-notice::backdrop{background:transparent;pointer-events:none}

#driver .driver-alert-compact{display:flex;align-items:center;gap:8px;margin:0 0 7px;padding:3px 7px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text)}
#driver .driver-alert-compact.driver-alert-new{border-inline-start:3px solid var(--b)}
#driver .driver-alert-compact>button{display:grid;gap:2px;flex:1;min-width:0;min-height:44px;padding:6px 3px;text-align:left;border:0;background:transparent;color:inherit;box-shadow:none}
#driver .driver-alert-compact>input{flex:none;width:18px;height:18px;min-height:0;accent-color:#a5ed20}
#driver .driver-alert-top{display:flex;justify-content:space-between;align-items:baseline;gap:7px;font-size:14px}
#driver .driver-alert-top strong,#driver .driver-alert-route,#driver .driver-alert-message{overflow-wrap:anywhere}
#driver .driver-alert-top time{flex:none;white-space:nowrap;color:var(--m);font-size:12px}
#driver .driver-alert-route,#driver .driver-alert-message{font-size:13px;line-height:1.35}
#driver .driver-alert-route small{color:var(--m);font-size:12px}
#driver .driver-history-tools{justify-content:flex-start}

#driver .driver-alert-route{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#driver .driver-alert-kind{font-size:12px;color:var(--m);line-height:1.35}
