/* Load last. Only the US presentation is affected; desktop navigation is retained. */
html[data-native-us] .us88-mobile-bar{display:none}
@media(max-width:700px){
 html[data-native-us][data-imo-black] body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;-webkit-text-size-adjust:100%;text-size-adjust:100%}
 html[data-native-us][data-imo-black] .bp-top{height:56px!important;padding:4px 8px!important;gap:7px!important;overflow:hidden!important}
 html[data-native-us][data-imo-black] .bp-top>.bp-brand,html[data-native-us][data-imo-black] .bp-top-actions>.bp-text-link{display:none!important}
 html[data-native-us][data-imo-black] .bp-top>.bp-chat-heading{min-width:0!important;gap:6px!important;flex:1!important}
 html[data-native-us][data-imo-black] .bp-top .bp-avatar{width:30px!important;height:40px!important;flex-shrink:0}
 html[data-native-us][data-imo-black] .bp-top .bp-heading-text{min-width:30px!important;flex:1!important}
 html[data-native-us][data-imo-black] .bp-top .bp-heading-text strong{font-size:16px!important;white-space:nowrap}
 html[data-native-us][data-imo-black] .bp-top .bp-icon-button,html[data-native-us][data-imo-black] .bp-top .ws84-settings{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:10px!important;flex-shrink:0}
 html[data-native-us][data-imo-black] .bp-top-actions{gap:0!important;flex-shrink:0}
 html[data-native-us][data-imo-black] .bp-language{width:72px!important;max-width:72px!important;height:44px!important;font-size:15px!important;padding:5px!important}
 html[data-native-us][data-imo-black] .bp-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;height:calc(var(--bp-height,100dvh) - 56px)!important;gap:0!important;margin:0!important;padding:0!important}
 html[data-native-us][data-imo-black] .bp-layout>.bp-left,html[data-native-us][data-imo-black] .bp-layout>.bp-right{display:none!important}
 html[data-native-us][data-imo-black] body #app .phone{grid-template-rows:auto minmax(0,1fr) auto!important;border:0!important;border-radius:0!important;min-width:0!important;height:100%!important;overflow:hidden!important}
 html[data-native-us][data-imo-black] body #app .topbar,html[data-native-us][data-imo-black] body #app .bp-tabs{display:none!important}
 html[data-native-us][data-imo-black] body #app .us88-mobile-bar{grid-row:1;display:flex;gap:7px;padding:7px 10px;background:#091c38;border-bottom:1px solid #34557b;min-width:0}
 .us88-mobile-bar button{min-height:50px;border:1px solid #4c73a7;border-radius:11px;background:#123264;color:#f3f8ff;cursor:pointer}
 .us88-mobile-more{flex:0 0 44px;width:44px;font-size:13px;font-weight:700;padding:4px}.us88-mobile-photo{display:flex;align-items:center;justify-content:center;gap:7px;flex:0 0 119px;padding:5px 8px;font-size:16px;font-weight:700}
 .us88-mobile-photo img{width:34px;height:34px;object-fit:cover;border-radius:7px}
 .us88-mobile-location{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;flex:1;min-width:0;padding:5px 25px 5px 10px;text-align:left}
 .us88-mobile-location small{font-size:11px;color:#bad1f0}.us88-mobile-location strong{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.3}.us88-mobile-chevron{position:absolute;right:9px;top:13px;font-size:20px}
 html[data-native-us][data-imo-black] body #app #chat{grid-row:2!important;min-height:0!important;overflow:hidden!important}
 html[data-native-us][data-imo-black] body #app #feed{padding:12px 10px 16px!important;overflow-x:hidden!important;scroll-padding-bottom:16px}
 html[data-native-us][data-imo-black] body #app #feed #messages .bubble{max-width:100%!important;min-width:0!important;padding:12px!important;font-size:16px!important;line-height:1.6!important;overflow-wrap:anywhere!important}
 html[data-native-us][data-imo-black] body #app #feed #messages .bubble.user{max-width:94%!important}
 html[data-native-us][data-imo-black] body #app #composer{grid-row:3!important;width:calc(100% - 16px)!important;min-height:60px!important;height:auto!important;margin:6px 8px max(8px,env(safe-area-inset-bottom))!important;padding:6px!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:5px!important;border-radius:15px!important}
 html[data-native-us][data-imo-black] body #app #composer #msg{height:44px!important;min-width:0!important;font-size:16px!important}
 html[data-native-us][data-imo-black] body #app #composer button{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;font-size:14px!important}
 html[data-native-us] .us87-welcome{gap:10px}.us87-welcome>img{width:70px!important;height:86px!important}.us87-welcome strong{font-size:17px!important}.us87-welcome p{font-size:15px!important;line-height:1.5!important}
 html[data-native-us] .us88-picture-home .us88-picture-grid,html[data-native-us] .us88-picture-grid,html[data-native-us] .us86-home,html[data-native-us] .us86-actions,html[data-native-us] .us88-area-grid,html[data-native-us] .us88-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 html[data-native-us] .us88-picture-tile{min-height:112px!important}.us88-picture-tile span{font-size:16px!important;line-height:1.35!important;min-height:42px!important;padding:8px 4px!important}.us88-picture-home .us88-picture-tile img{aspect-ratio:1.65!important}
 html[data-native-us] .us88-results{min-width:0;max-width:100%;padding:0}.us88-basis{gap:8px;min-width:0}.us88-basis>span{font-size:14px;min-width:0;overflow-wrap:anywhere}.us88-basis>button{min-height:44px;flex-shrink:0}
 html[data-native-us] .us88-map{height:240px;min-height:220px;max-width:100%}.us88-place{grid-template-columns:96px minmax(0,1fr);gap:10px;padding:10px;min-width:0}.us88-place-picture img{width:96px;height:92px}.us88-place h3{font-size:16px;line-height:1.4}.us88-place-content{min-width:0}.us88-category{font-size:12px}.us88-place-actions>a,.us88-place-actions>button{min-height:44px;font-size:14px;padding:9px 10px}.us88-address-details summary{min-height:40px;font-size:14px;padding:6px 0}.us88-address{font-size:14px}.us86-tools button{min-height:44px;font-size:15px}.us86-answer summary{min-height:44px;font-size:15px;padding:9px 0}
 html[data-native-us] dialog.v76-dialog,html[data-native-us] .us88-picture-dialog,html[data-native-us] .us88-area-dialog,html[data-native-us] .us88-map-picker{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;max-height:calc(var(--bp-height,100dvh) - 12px)!important;margin:auto!important;inset:0!important;border-radius:15px!important;box-sizing:border-box;overflow:hidden!important}
 html[data-native-us] dialog.v76-dialog[open],html[data-native-us] .us88-picture-dialog[open]{display:flex!important;flex-direction:column!important}
 html[data-native-us] dialog.v76-dialog>.dialog-head,html[data-native-us] .us88-picture-head{flex:0 0 auto;min-height:56px!important;padding:8px 10px!important;gap:7px!important;background:#102c55;z-index:1}
 html[data-native-us] dialog .dialog-head h2,html[data-native-us] .us88-picture-dialog>h2{font-size:18px!important;line-height:1.4!important;min-width:0}.us88-picture-dialog>h2{margin:10px 4px!important;flex:0 0 auto}
 html[data-native-us] dialog .dialog-head button,html[data-native-us] .us88-picture-nav,html[data-native-us] .us88-area-back{min-height:44px!important;min-width:52px!important;font-size:15px!important;padding:8px 10px!important}
 html[data-native-us] .v76-dialog-body,html[data-native-us] .us88-picture-body{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;padding:12px!important;padding-bottom:max(14px,env(safe-area-inset-bottom))!important;touch-action:pan-y}
 html[data-native-us] .us88-picture-body{padding:0 0 10px!important}
 html[data-native-us] dialog input:not([type=checkbox]),html[data-native-us] dialog textarea,html[data-native-us] dialog select{font-size:16px!important;min-height:44px!important;max-width:100%;box-sizing:border-box}
 html[data-native-us] dialog label{font-size:15px;line-height:1.5}.us88-picture-actions button{min-height:46px;font-size:16px}.us88-picture-permission{font-size:15px;line-height:1.55}
 html[data-native-us] .us88-area-card{min-height:115px;font-size:16px}.us88-area-card svg{height:72px}.us88-map-pick-canvas{height:min(48dvh,360px);min-height:240px}
 html[data-native-us] #toast{max-width:calc(100vw - 24px);bottom:max(80px,calc(env(safe-area-inset-bottom) + 72px));overflow-wrap:anywhere}
 .us88-mobile-basis{background:#071a35;color:#eff6ff;border:1px solid #4a73a8;padding:0}.us88-mobile-basis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.us88-mobile-basis-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;padding:0;overflow:hidden;border-radius:13px;border:1px solid #547db6;background:#143668;color:#f0f6ff;font-size:16px;font-weight:700}.us88-mobile-basis-card img{width:100%;aspect-ratio:1.65;object-fit:cover}.us88-mobile-basis-card span{display:block;padding:10px 4px;min-height:44px;text-align:center}
}
@media(max-width:360px){html[data-native-us] .us88-mobile-photo{flex-basis:111px;font-size:15px}.us88-place{grid-template-columns:84px minmax(0,1fr);gap:8px}.us88-place-picture img{width:84px;height:84px}}
@media(prefers-reduced-motion:reduce){html[data-native-us] *{scroll-behavior:auto!important}}
@media(max-width:700px){
 /* Keep the country switch reachable while fitting the 360px header. */
 html[data-native-us][data-imo-black] .bp-top>.bp-chat-heading{gap:4px!important}
 html[data-native-us][data-imo-black] .bp-top-actions>.bp-text-link{display:inline-flex!important;align-items:center;justify-content:center;min-width:52px!important;min-height:44px!important;padding:2px!important;font-size:11px!important}
 html[data-native-us] #ws82-menu-dialog .dialog-head button,html[data-native-us] #ws83-install-dialog .dialog-head button{min-height:44px!important;min-width:52px!important;font-size:15px!important;padding:8px 10px!important}
 html[data-native-us] #ws82-menu-dialog .ws83-categories,html[data-native-us] #ws82-menu-dialog .ws83-tasks{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 html[data-native-us] #ws82-menu-dialog .ws82-category,html[data-native-us] #ws82-menu-dialog .ws82-action{min-height:116px!important;font-size:15px!important;padding:7px!important}
 html[data-native-us] #ws82-menu-dialog .ws82-category img,html[data-native-us] #ws82-menu-dialog .ws82-action img{height:82px!important;max-width:100%!important}
 html[data-native-us] #us77-information{width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;max-height:calc(var(--bp-height,100dvh) - 12px)!important}
}
@media(max-width:700px){html[data-native-us][data-imo-black] body #app #composer button.send{font-size:0!important}}
/* Short phone screens: reserve space for the conversation and keep labels intact. */
@media(max-width:700px){
 html[data-native-us][data-imo-black] .bp-top{height:52px!important;padding:4px 6px!important;gap:4px!important}
 html[data-native-us][data-imo-black] .bp-language{width:64px!important;max-width:64px!important;font-size:14px!important}
 html[data-native-us][data-imo-black] .bp-top-actions>.bp-text-link{min-width:48px!important;width:48px!important;font-size:11px!important;white-space:nowrap!important}
 html[data-native-us][data-imo-black] .bp-layout{height:calc(var(--bp-height,100dvh) - 52px)!important}
 html[data-native-us][data-imo-black] body #app .us88-mobile-bar{gap:6px;padding:6px 8px;align-items:stretch}
 .us88-mobile-bar button{box-sizing:border-box;min-height:44px}
 html[data-native-us] .us88-mobile-photo{flex:0 0 112px;min-width:112px;padding:4px 6px;gap:5px;font-size:15px;white-space:nowrap!important}
 html[data-native-us] .us88-mobile-photo img{width:28px;height:28px;flex:0 0 28px}
 html[data-native-us] .us88-mobile-photo span{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;flex-shrink:0}
 .us88-mobile-location{padding-top:4px;padding-bottom:4px;gap:1px}
 .us88-mobile-location small{font-size:10px;line-height:1.15}
 .us88-mobile-location strong{font-size:14px;line-height:1.3}
 .us88-mobile-chevron{top:9px}
 html[data-native-us][data-imo-black] body[data-us88-chat-active=true] #app .ws82-intro{display:none!important}
 html[data-native-us][data-imo-black] body #app #feed{padding-top:9px!important;padding-bottom:12px!important}
 html[data-native-us][data-imo-black] body #app #composer{min-height:54px!important;padding:4px!important;margin-top:4px!important;margin-bottom:max(6px,env(safe-area-inset-bottom))!important}
}

/* Persistent emergency access is separate from the scrollable conversation. */
html[data-native-us][data-imo-black] body #app .phone{grid-template-rows:76px minmax(0,1fr) 48px auto 68px!important}
html[data-native-us][data-imo-black] body #app .us89-persistent-aid{grid-row:3;display:flex;align-items:center;justify-content:flex-end;padding:2px 12px;min-width:0;background:#0a1a31;border-top:1px solid #304c6c}
html[data-native-us][data-imo-black] body #app #composer{grid-row:4!important}
html[data-native-us][data-imo-black] body #app .bp-tabs{grid-row:5!important}
.us89-task-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 16px));max-height:calc(100dvh - 16px);padding:0;border:1px solid #5275a5;border-radius:15px;background:#0b1d35;color:#f0f6ff;overflow:hidden}
.us89-task-dialog[open]{display:flex;flex-direction:column}.us89-task-dialog::backdrop{background:#000b}.us89-task-head{display:flex;align-items:center;gap:9px;padding:10px 13px;border-bottom:1px solid #426084}.us89-task-head h2{font-size:19px;line-height:1.4;margin:0;flex:1;min-width:0}.us89-task-head button,.us89-task-body button{min-height:44px;border:1px solid #6481a8;border-radius:9px;background:#153b67;color:#fff;padding:9px 12px;font:inherit}.us89-task-body{padding:14px;overflow:auto;line-height:1.6;font-size:16px}.us89-task-body p{overflow-wrap:anywhere}.us89-task-actions{display:grid;gap:8px}.us89-main-action{display:block;margin:9px 0;box-sizing:border-box;min-height:48px;padding:11px 14px;background:#204e8d;border:1px solid #7d9fcc;border-radius:10px;color:#fff;text-align:center;text-decoration:none;font-weight:700}.us89-context-note{font-size:14px;color:#bed0e7}.us87-welcome>img{width:52px!important;height:64px!important}.us87-welcome p{margin:3px 0!important}.us89-practical-home{margin-top:10px}
@media(max-width:700px){html[data-native-us][data-imo-black] body #app .phone{grid-template-rows:auto minmax(0,1fr) 48px auto!important}html[data-native-us][data-imo-black] body #app #chat{grid-row:2!important}html[data-native-us][data-imo-black] body #app .us89-persistent-aid{padding:2px 8px}.us89-persistent-aid .us89-aid-bar{width:100%}.us89-persistent-aid .us89-aid-bar button{flex:1}.us89-task-dialog{width:calc(100vw - 12px)}.us89-task-body{padding:12px}.us87-welcome{display:none!important}}

.us89-task-body>input,.us89-task-body>textarea{display:block;box-sizing:border-box;width:100%;min-height:46px;margin:10px 0;padding:10px;background:#102b4a;color:#fff;border:1px solid #6082aa;border-radius:9px;font:inherit;font-size:16px}.us89-task-body>textarea{min-height:100px}.us89-task-body>label{display:flex;gap:8px;align-items:flex-start;margin:12px 0}.us89-task-body>label input{width:22px;height:22px;flex-shrink:0}
@media(max-width:380px){html[data-native-us][data-imo-black] .bp-top #trip-open{display:none!important}}
