@keyframes hk-rise{from{transform:translateY(100%)}to{transform:none}}
@keyframes hk-rise-fade{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
@keyframes hk-sink{to{transform:translateY(calc(100% + 40px))}}
@keyframes hk-fade-out{to{opacity:0;transform:scale(.98)}}
@keyframes hk-veil-out{from{background:#20263266}to{background:#20263200}}
@keyframes hk-veil-in{from{opacity:0}to{opacity:1}}
@keyframes hk-step-next{from{opacity:.25;transform:translateX(34px)}to{opacity:1;transform:none}}
@keyframes hk-step-back{from{opacity:.25;transform:translateX(-34px)}to{opacity:1;transform:none}}
@keyframes hk-enter-next{from{opacity:.4;transform:translateX(22px)}to{opacity:1;transform:none}}
@keyframes hk-enter-back{from{opacity:.4;transform:translateX(-22px)}to{opacity:1;transform:none}}
dialog.hk-live.hk-rise{animation:hk-rise .28s cubic-bezier(.2,.8,.25,1)}
dialog.hk-live.hk-rise-fade{animation:hk-rise-fade .2s ease-out}
dialog.hk-live.hk-rise::backdrop,dialog.hk-live.hk-rise-fade::backdrop{animation:hk-veil-in .24s ease-out}
dialog.hk-live.hk-spring{transition:transform .22s cubic-bezier(.2,.8,.25,1)}
dialog.hk-live{touch-action:pan-y;overscroll-behavior:contain}
dialog.hk-grab::before{content:"";display:block;width:40px;height:4px;margin:8px auto 2px;border-radius:2px;background:#d4d6dd}
.hk-step-next{animation:hk-step-next .22s cubic-bezier(.2,.8,.25,1)}
.hk-step-back{animation:hk-step-back .22s cubic-bezier(.2,.8,.25,1)}
#main.hk-enter-next{animation:hk-enter-next .2s cubic-bezier(.2,.8,.25,1)}
#main.hk-enter-back{animation:hk-enter-back .2s cubic-bezier(.2,.8,.25,1)}
.hk-ghost{position:fixed;inset:0;z-index:2147483000;background:#20263266;animation:hk-veil-out .24s ease-in forwards}
.hk-ghost-down .hk-ghost-body{animation:hk-sink .24s cubic-bezier(.4,0,.8,.4) forwards}
.hk-ghost-fade .hk-ghost-body{animation:hk-fade-out .18s ease-in forwards}
.of-panel-scrim{position:fixed;inset:0;z-index:19;background:#20263233;animation:hk-veil-in .2s ease-out}
.of-panel-scrim[hidden]{display:none}
/* The panel lives inside the form, above everything in the sheet. */
.of-loc .of-panel{position:fixed;touch-action:pan-y}
.of-panel.hk-spring{transition:transform .22s cubic-bezier(.2,.8,.25,1)}
/* Maps: pinch to zoom, one button for "where am I". */
.leaflet-control-zoom{display:none!important}
[data-do="g:locate"]{display:none!important}
.hk-locate button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#2563eb;box-shadow:0 2px 10px #1b203040;cursor:pointer}
.hk-locate button.hk-locating svg{animation:hk-pulse 1s ease-in-out infinite}
@keyframes hk-pulse{50%{opacity:.35}}
.hk-me-dot{width:16px;height:16px;border-radius:50%;background:#2563eb;border:3px solid #fff;box-shadow:0 1px 6px #1b203066;box-sizing:border-box}
.leaflet-popup-content .btn{white-space:nowrap;width:max-content;max-width:none;word-break:normal}
.leaflet-popup-content{width:auto!important;min-width:0}
/* Map mode is the map. Orders appear only after tapping a group. */
body.gm-map-open #main>.pf-scope,body.gm-map-open #main>.pf-result-count,body.gm-map-open #main>.ss-nudge,body.gm-map-open #main>.m-profile-nudge{display:none}
body.gm-map-open .gm-map-status:empty{display:none}
body.gm-map-open .gm-map-status{position:absolute;top:12px;left:12px;right:auto;bottom:auto;width:max-content;max-width:55%;margin:0;padding:6px 11px;border-radius:10px;background:#fff;box-shadow:0 2px 8px #1b203026;font-size:12px;z-index:500}
@media(prefers-reduced-motion:reduce){dialog.hk-live,dialog.hk-live::backdrop,.hk-step-next,.hk-step-back,#main.hk-enter-next,#main.hk-enter-back,.of-panel-scrim{animation:none!important}.hk-locate button.hk-locating svg{animation:none}}

/* Tab changes swap screens in one frame (see nav-history-ui.js): no cross-fade, no flash. */
::view-transition-old(root),::view-transition-new(root){animation:none;mix-blend-mode:normal}
::view-transition-group(root){animation-duration:0s}
dialog[autofocus]:focus,dialog[autofocus]:focus-visible{outline:none}
.leaflet-container .leaflet-tile-pane{transition:opacity .18s ease-out}.g-tiles-wait .leaflet-tile-pane{opacity:0;transition:none}
