/* Mobile application shell, scoped to the rescue page. */
.rescue-app-nav,.rescue-app-shortcuts{display:none}
@media(max-width:760px){
 body:has(.rescue-landing){background:#f3f4f5;padding-bottom:calc(82px + env(safe-area-inset-bottom));overscroll-behavior-y:contain}
 body:has(.rescue-landing)>header{position:sticky;top:0;z-index:40;height:76px;padding:12px 18px;padding-top:max(12px,env(safe-area-inset-top));background:#242424;border-bottom:2px solid #ffd326;box-shadow:0 3px 10px #00000012}
 body:has(.rescue-landing)>header .brand img{width:46px;height:46px}
 body:has(.rescue-landing)>header .brand strong{font-size:19px}
 body:has(.rescue-landing)>header #nav a:last-child{font-size:12px;padding:8px 12px;min-height:36px}
 body:has(.rescue-landing)>footer{display:none}
 .rescue-top-menu{display:none}
 .rescue-app-shortcuts{display:flex;gap:8px;padding:14px 16px 10px;overflow:auto;scrollbar-width:none}
 .rescue-app-shortcuts a{flex:0 0 auto;color:#53575d;background:#fff;border:1px solid #e3e5e6;border-radius:20px;font-size:12px;font-weight:700;padding:10px 15px;min-height:38px;text-decoration:none;box-sizing:border-box}
 .rescue-app-shortcuts a.active{color:#27220b;background:#fff3b6;border-color:#ebd46a}
 .rescue-shell{padding:4px 12px 16px;gap:14px}
 .rescue-form-panel{padding:21px 19px;border:0;border-radius:23px;box-shadow:0 3px 15px #19212a08}
 .rescue-step{font-size:11px;margin-bottom:9px;letter-spacing:1px}
 .rescue-form-panel h1{font-size:24px;line-height:1.2;margin-bottom:19px}
 .rescue-form-panel label,.rescue-field-label{font-size:13px;margin-top:17px;margin-bottom:8px}
 .rescue-form-panel input:not([type=file]),.rescue-form-panel select{font-size:16px;height:54px;min-height:54px;padding:13px 14px;border-radius:14px}
 .rescue-address button{min-height:54px;flex-basis:44px;border-radius:14px}
 .rescue-gps-button{font-size:13px;min-height:46px;border-radius:14px;margin-top:9px}
 .rescue-vehicles{gap:11px;margin-bottom:17px}
 .rescue-vehicle{min-height:92px;padding:15px;border-radius:16px;gap:5px;font-size:16px}
 .rescue-vehicle.selected{padding:14px}
 .rescue-vehicle span{font-size:26px}
 .rescue-form-panel input[type=file]{padding:12px;font-size:12px;border-radius:14px}
 .rescue-mode{margin-top:18px;border-radius:14px}
 .rescue-mode button{min-height:42px;font-size:12px;padding:8px}
 .rescue-summary{font-size:13px;margin-top:10px}
 .rescue-primary{min-height:54px;border-radius:15px;margin-top:12px;font-size:15px;box-shadow:0 4px 9px #a9870015}
 .rescue-note{font-size:11px;line-height:1.45}
 .rescue-canvas{height:390px;min-height:390px;border-radius:23px;box-shadow:0 3px 15px #19212a08}
 .rescue-google-map{min-height:390px}
 .rescue-map-label{top:15px;left:15px;max-width:calc(100% - 30px);padding:11px 14px;font-size:12px}
 .rescue-map-label small{font-size:11px}
 .rescue-live-card{left:12px;right:12px;bottom:12px;border-radius:17px;padding:14px 15px;gap:8px}
 .rescue-live-card h2{font-size:17px}
 .rescue-live-card p{font-size:12px}
 .rescue-eta{font-size:24px;min-width:44px}
 .rescue-eta small{font-size:10px;max-width:90px}
 .rescue-badge{font-size:9px}
 .rescue-app-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:60;background:#fff;border-top:1px solid #e7e8e9;padding:7px 8px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 18px #00000008}
 .rescue-app-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:56px;border:0;border-radius:15px;background:transparent;color:#73797f;font-size:10px;font-weight:700;text-decoration:none;padding:5px 2px;box-sizing:border-box}
 .rescue-app-nav a.active{background:#fff6d0;color:#6c5400}
 .rescue-app-nav svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .rescue-history{background:transparent;padding:18px 14px 24px;scroll-margin-top:85px}
 .rescue-history h2{font-size:21px}
 #rescue-live-card{scroll-margin-top:95px}
 .eco-dialog{border-radius:23px;max-height:calc(100dvh - 28px);padding:20px;box-shadow:0 12px 50px #0004}
 body:has(.rescue-landing) #toast{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100vw - 30px);box-sizing:border-box;font-size:13px}
}
