/* Native fields remain available when this optional enhancement cannot start. */
.location-picker-native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;pointer-events:none!important}
body:has(#app-shell) .location-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--line,#bfb7c3);border-radius:10px;background:#f3f3f1;color:inherit;font:inherit;text-align:left;cursor:pointer;white-space:normal}
body:has(#app-shell) .brief-field .location-picker-trigger{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.location-picker-value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.location-picker-chevron{flex:none;transition:rotate .16s ease;font-size:20px;line-height:1}
[aria-expanded=true]>.location-picker-chevron{rotate:180deg}
body:has(#app-shell) #location-picker-dialog{position:fixed;inset:auto;margin:0;left:var(--picker-left,12px);top:var(--picker-top,80px);width:var(--picker-width,360px);max-width:calc(100vw - 24px);max-height:min(460px,calc(100dvh - 24px));box-sizing:border-box;padding:16px;border:1px solid #d1c9d3;border-radius:14px;background:#f3f3f1;color:#302937;box-shadow:0 12px 36px #20162424;overflow:hidden;--picker-accent:#48284f;--picker-selected:#e8dfe9}
body:has(#app-shell) #location-picker-dialog[open]{display:flex;flex-direction:column;gap:12px}
body:has(#app-shell) #location-picker-dialog[data-space=vendor]{--picker-accent:#294b43;--picker-selected:#dde8e0}
#location-picker-dialog::backdrop{background:#17111c38}
#location-picker-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
#location-picker-dialog h2{margin:0;font-family:inherit;font-size:20px;font-weight:600;line-height:1.3;color:inherit}
body:has(#app-shell) #location-picker-dialog button{font:inherit;cursor:pointer;box-shadow:none;text-shadow:none}
body:has(#app-shell) #location-picker-dialog .location-picker-close{width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent;color:inherit;font-size:28px;border-radius:8px;flex:none}
body:has(#app-shell) #location-picker-dialog .location-picker-search{width:100%;box-sizing:border-box;flex-shrink:0;min-height:46px;padding:10px 12px;margin:0;border:1px solid #bdb4c2;border-radius:8px;background:#fff;color:#302937;font:inherit;font-size:16px}
#location-picker-dialog .location-picker-list{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch;flex:1 1 auto;padding:2px}
#location-picker-dialog h3{font:inherit;font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:#65596c;margin:18px 10px 6px}
body:has(#app-shell) #location-picker-dialog .location-picker-option{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:46px;padding:11px 12px;margin:2px 0;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;line-height:1.4;white-space:normal}
body:has(#app-shell) #location-picker-dialog .location-picker-option[aria-pressed=true]{background:var(--picker-selected);color:var(--picker-accent);font-weight:600}
#location-picker-dialog .location-picker-tick{visibility:hidden;flex:none;color:var(--picker-accent)}
#location-picker-dialog [aria-pressed=true] .location-picker-tick{visibility:visible}
#location-picker-dialog button:disabled{opacity:.45;cursor:default}
#location-picker-dialog footer{flex-shrink:0;padding-top:10px;border-top:1px solid #d1c9d3}
#location-picker-dialog footer[hidden]{display:none}
body:has(#app-shell) #location-picker-dialog .location-picker-done{display:block;width:100%;min-height:46px;padding:10px 16px;border:0;border-radius:8px;background:var(--picker-accent);color:#f3f3f1;font-weight:600}
#location-picker-dialog :focus-visible{outline:2px solid #806538;outline-offset:2px}
#location-picker-dialog .location-picker-empty{margin:20px 12px;line-height:1.5}
@media(hover:hover){body:has(#app-shell) #location-picker-dialog .location-picker-option:hover{background:var(--picker-selected)}}
@media(max-width:650px){body:has(#app-shell) #location-picker-dialog{inset:auto 0 var(--picker-bottom,0px)!important;width:100%!important;max-width:100%;height:min(75dvh,var(--picker-mobile-max,75dvh));max-height:min(85dvh,var(--picker-mobile-max,85dvh));border-radius:20px 20px 0 0;padding:16px 18px max(18px,env(safe-area-inset-bottom));box-shadow:0 -8px 32px #20162424}}
@media(prefers-reduced-motion:reduce){.location-picker-chevron{transition:none}}

body:has(#app-shell) .location-picker-trigger[hidden],body:has(#app-shell) #location-picker-dialog .location-picker-search[hidden]{display:none!important}

body:has(#app-shell) .et-calendar-selectors .location-picker-trigger{gap:5px;padding:6px 8px;font-size:1rem;text-transform:capitalize;color:var(--theme-ink);border-color:var(--theme-line)}
