/* Use the visible viewport, including Safari toolbar changes. */
html body #modal:has(.v40-media-viewer),html body #modal:has(.v40-day-screen),html body #modal:has(.v41-room-menu){top:var(--visible-top41,0px)!important;bottom:auto!important;height:var(--visible-height41,100dvh)!important;padding:0!important}
html body #modal:has(.v40-day-screen) #modalbox{width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;border-radius:0!important;margin:0!important}
.v40-day-handle{display:none}.v40-day-screen>header{padding-top:calc(14px + env(safe-area-inset-top,0px))}
html body #modal:has(.v40-media-viewer) #modalbox{height:100%!important;max-height:100%!important}
.v40-media-viewer{isolation:isolate;background:#303634!important}.v41-media-backdrop{position:absolute;inset:-30px;background:linear-gradient(135deg,#5c7066,#253d35);background-size:cover;background-position:center;filter:blur(22px) brightness(.65);z-index:-1;pointer-events:none}
html body .v40-media-stage{top:calc(58px + env(safe-area-inset-top,0px))!important;bottom:calc(14px + env(safe-area-inset-bottom,0px))!important;height:auto!important;background:transparent!important}
html body .v40-media-viewer:has(video) .v40-media-stage{bottom:calc(64px + env(safe-area-inset-bottom,0px))!important}
html body .v40-media-stage img,html body .v40-media-stage video{object-fit:contain!important;background:transparent!important}
html body #modal:has(.v41-room-menu){align-items:stretch!important;justify-content:flex-end!important;background:#0005!important}
html body #modal:has(.v41-room-menu) #modalbox{width:min(88vw,380px)!important;max-width:380px!important;height:100%!important;max-height:100%!important;margin:0!important;padding:0!important;border-radius:0!important;background:#fff!important}
.v41-room-menu{display:flex;flex-direction:column;height:100%;color:#111!important}.v41-room-menu>header{display:flex;align-items:center;gap:10px;padding:calc(18px + env(safe-area-inset-top,0px)) 18px 18px;border-bottom:1px solid #e9eeeb}.v41-room-menu h2{flex:1;min-width:0;font-size:18px;line-height:1.5;margin:0;color:#111!important}.v41-room-menu header button{width:44px;height:44px;background:none;border:0;font-size:24px;color:#111!important}.v41-room-menu h3{font-size:13px;padding:22px 20px 8px;margin:0;color:#111!important}.v41-room-menu h3 span{margin-left:5px}.v41-members{overflow:auto;flex:1;padding:4px 20px;overscroll-behavior:contain}.v41-member{display:flex;align-items:center;gap:12px;min-height:66px}.v41-member i{display:grid;place-items:center;width:42px;height:42px;border:1px solid #d4dfd8;border-radius:16px;background:#eaf2ed;font-style:normal;color:#111!important}.v41-member strong{font-size:15px;color:#111!important}.v41-member small{background:#eee;border-radius:50%;padding:4px;font-size:10px;color:#111!important}.v41-room-menu footer{padding:15px 20px calc(18px + env(safe-area-inset-bottom,0px));border-top:1px solid #e9eeeb;display:grid;gap:8px}.v41-room-menu footer button{min-height:44px;background:#f3f6f4;border:1px solid #e1e8e3;border-radius:12px;text-align:left;padding:10px 14px;color:#111!important;font-size:13px}
.fleet-head{border:1px solid #c1d9ca!important;box-shadow:0 5px 18px #22483310!important}.fleet-head h1,.fleet-head .fleet-sub,.fleet-counter strong,.fleet-counter span{color:#fff!important}.v41-vehicle-card{border:1px solid #d4e2d8!important;border-radius:20px!important;box-shadow:0 4px 15px #184b2910!important;margin-bottom:14px!important}.v41-vehicle-card .vehicle-position{background:#edf5ef!important;border:1px solid #d7e6dc!important;border-radius:13px!important;padding:12px 14px!important}.v41-vehicle-card h3{font-size:20px!important;letter-spacing:-.5px}.v41-vehicle-card .vehicle-position strong{color:#111!important;font-size:16px!important}.v41-vehicle-card .vehicle-direct-actions button{border-radius:12px!important;min-height:46px!important}.v41-vehicle-card .chip{border:1px solid #c7dacc!important;color:#111!important;background:#e6f2e9!important}.v41-vehicle-card .car-driver-line{border-top:1px solid #e6ece8!important;padding-top:12px!important;color:#111!important}
body.is-room23 .room-screen23{position:relative!important}body.is-room23 .room-bottom23,body.v40-keyboard-open.is-room23 .room-bottom23{position:absolute!important;left:0;right:0;bottom:0;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))!important;transform:translate3d(0,calc(-1 * var(--keyboard-gap41,0px)),0)!important;will-change:transform;transition:none!important;z-index:3}
body.is-room23 #chatbox{padding-bottom:calc(24px + var(--keyboard-gap41,0px))!important;clip-path:inset(0 0 var(--keyboard-gap41,0px) 0);overflow-anchor:none!important;box-sizing:border-box!important}.v41-compose-spacer{flex:none;pointer-events:none}
.swipe-inner27,.swipe-actions27 .swipe-exit27{transition:none!important}.swipe-row27{contain:layout paint}.swipe-inner27{backface-visibility:hidden}
.v31-fleet-tabs button{color:#111!important}.v41-vehicle-card .car-sticker{border:1px solid #d6e7dd;background:#e9f4ed!important}.fleet-head .eyebrow{color:#fff!important}
html body #modal:has(.v41-room-menu) #modalbox{position:absolute!important;right:0!important;top:0!important;left:auto!important}
