/* Focused ride screens: menu visibility is independent of optional audio. */
body.waka-rider-ride-focused #riderWorkspaceMenu,
body.waka-rider-ride-focused #riderWorkspaceMenuToggle,
body.waka-rider-ride-focused #riderWorkspaceNav,
body.nf-negotiating #riderWorkspaceHeader .workspace-menu-wrap {display:none!important;}
/* One identity row, two separate contact actions, on both platforms. */
body .wg-contact-bar,
body #rideActionPanel .px-matched-summary>.wg-contact-bar {display:grid!important;grid-template-columns:44px minmax(0,1fr) 60px 60px;align-items:center;gap:8px;width:100%;max-width:100%;box-sizing:border-box;padding:10px!important;border:1px solid #d8e6e3;border-radius:16px;background:#fff;box-shadow:0 3px 14px #123c3510;}
body .wg-contact-bar .contact-profile-avatar,
body #rideActionPanel .wg-contact-bar .contact-profile-avatar {grid-column:1;grid-row:1;width:44px;height:44px;min-width:44px;box-shadow:0 0 0 3px #f1f7f5;}
body .wg-contact-bar .contact-identity {grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
body .wg-contact-bar .contact-identity strong {font-size:16px;line-height:1.25;overflow-wrap:anywhere;color:#123f37;}
body .wg-contact-bar .contact-identity small {font-size:11px;line-height:1.3;overflow-wrap:anywhere;color:#5c716b;}
body .wg-contact-bar .contact-chat-action,
body .wg-contact-bar .contact-call-action {display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;grid-row:1!important;min-width:44px;min-height:48px!important;width:100%;padding:6px 3px!important;border-radius:12px;font-family:system-ui,sans-serif;font-weight:600;font-size:11px!important;line-height:1.2;text-decoration:none;box-shadow:none;box-sizing:border-box;}
body .wg-contact-bar .contact-chat-action {grid-column:3!important;background:#eaf7f3;color:#086758;border:1px solid #c3e4da;}
body .wg-contact-bar .contact-call-action {grid-column:4!important;background:#fff1e3;color:#9b3b00;border:1px solid #f2d1b2;}
body .wg-contact-bar:not(.has-direct-phone) {grid-template-columns:44px minmax(0,1fr) 60px;}
body .wg-contact-bar svg {width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;}
body .wg-contact-bar :is(button,a):focus-visible {outline:3px solid #13776a;outline-offset:3px;}
body .wg-contact-bar :is(button,a):active {transform:scale(.97);}
/* Calm, consistent ride surfaces without changing sheet sizing/navigation. */
body #rideActionPanel .px-matched-summary {gap:10px;border-radius:18px;background:linear-gradient(135deg,#f5fbf8,#fffaf3);border:1px solid #dce8e3;}
body #rideActionPanel .passenger-ride-dock {gap:7px;padding:8px;border-radius:16px;background:#ffffffed;border:1px solid #dce8e3;}
body #rideActionPanel .ride-tool-button {border-radius:12px;min-height:48px;box-shadow:none;font-size:13px;}
body #rideActionPanel .ride-tool-button[aria-pressed="true"] {background:#a63c05;color:#fff;border-color:#a63c05;}
body #rideActionPanel .px-agreed-fare {color:#124e40;font-size:17px;line-height:1.4;}
body .rl-route-row {padding-block:8px;line-height:1.45;}
body #chatThread {border-radius:14px;background:#f7faf8;}
body #chatForm :is(input,textarea) {border-radius:14px;}
@media(max-width:360px){body .wg-contact-bar,body #rideActionPanel .px-matched-summary>.wg-contact-bar {gap:5px;grid-template-columns:36px minmax(0,1fr) 56px 56px;padding:8px!important;}body .wg-contact-bar .contact-profile-avatar,body #rideActionPanel .wg-contact-bar .contact-profile-avatar {width:36px;height:36px;min-width:36px;}body .wg-contact-bar .contact-identity strong {font-size:14px;}body .wg-contact-bar:not(.has-direct-phone){grid-template-columns:36px minmax(0,1fr) 56px;}}
@media(prefers-reduced-motion:reduce){body .wg-contact-bar :is(button,a){transition:none;transform:none;}}

body [data-waka-chat-request]{position:relative;overflow:visible;}
body .waka-unread-badge{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 4px;box-sizing:border-box;border-radius:999px;background:#b83210;color:#fff;border:2px solid #fff;font:700 11px/1 system-ui,sans-serif;box-shadow:0 2px 5px #0002;pointer-events:none;}
