/* Pin picker is a deliberate, readable white surface in every Fud theme. */
dialog:has(.addressPickerV2){width:min(760px,calc(100vw - 28px));max-width:none!important;max-height:94dvh;padding:20px!important;background:#fff!important;color:#17243a!important;color-scheme:light;border:0;border-radius:20px;overflow:auto}
dialog .addressPickerV2{width:100%;max-width:none;margin:0;color:#17243a;background:#fff}
dialog .addressPickerV2 .addressBack{background:#fff;color:#26374e;border:1px solid #dbe1e9;border-radius:10px;min-height:40px;padding:8px 12px;margin:0 0 12px;font-size:13px}
.addressPickerV2 .addressMapStage{position:relative;isolation:isolate;overflow:hidden;border-radius:14px;background:#e4eaf0;border:1px solid #d6dfe8}
dialog .addressPickerV2 .addressPinMap{height:clamp(300px,48dvh,500px)!important;width:100%;border:0;border-radius:0;margin:0;z-index:0}
.addressPickerV2 .addressCentrePin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);z-index:500;pointer-events:none;filter:drop-shadow(0 4px 4px #0004);height:56px}
dialog .addressPickerV2 .addressMapTip{position:absolute;left:50%;top:14px;transform:translateX(-50%);z-index:500;margin:0!important;padding:10px 15px;background:#fff!important;color:#17243a!important;font-size:13px!important;line-height:1.45;text-align:center;width:max-content;max-width:calc(100% - 110px);border-radius:12px;box-shadow:0 4px 18px #20334a22;pointer-events:none}
dialog .addressPickerV2 .addressRecenter{position:absolute;right:14px;bottom:68px;z-index:500;display:grid;place-items:center;width:48px;height:48px;min-height:48px;border-radius:13px;border:1px solid #c2cddb;background:#fff;color:#17243a;font:bold 32px Arial;box-shadow:0 3px 12px #20334a33;margin:0;padding:0;cursor:pointer}
dialog .addressPickerV2 .addressRecenter:disabled{opacity:.5}
dialog .addressPickerV2 .addressPinHint{font-size:12px!important;color:#516074!important;line-height:1.5;margin:10px 0 14px}
dialog .addressPickerV2 .addressConfirmHeading{margin:16px 0 6px;font-size:11px;color:#96501b;letter-spacing:.05em;text-align:center}
dialog .addressPickerV2 #confirmAddressTitle{color:#17243a!important;font-size:28px;line-height:1.25;margin:5px 0;text-align:center;overflow-wrap:anywhere}
dialog .addressPickerV2 #confirmAddressArea{font-size:16px!important;line-height:1.5;margin:7px 0;color:#516074!important;text-align:center}
dialog .addressPickerV2 #confirmAddressStatus{background:#fff6ec;color:#74401b!important;border:1px solid #f3d3b8;border-radius:10px;padding:11px 13px;font-size:13px!important;line-height:1.55;margin:14px 0;text-align:left}
dialog .addressPickerV2 #confirmAddressStatus[aria-busy=true]{background:#f1f5f9;border-color:#ccd7e3;color:#34465f!important}
dialog .addressPickerV2 .addressConfirmSearch{margin:12px 0 14px}
dialog .addressPickerV2 .addressConfirmSearch>label{font-size:12px;font-weight:600;gap:6px;color:#34465f}
dialog .addressPickerV2 :is(input,select){background:#fff!important;color:#17243a!important;border:1px solid #c5d0dc!important;border-radius:9px;padding:11px 12px;min-height:44px;width:100%;font-size:16px;box-sizing:border-box}
dialog .addressPickerV2 :is(input,select):focus-visible{outline:2px solid #e87518;outline-offset:2px}
dialog .addressPickerV2 label{color:#26374e;font-size:13px}
dialog .addressPickerV2 form{display:flex;flex-direction:column;gap:12px;margin-top:12px}
dialog .addressPickerV2 form details{order:2;border:1px solid #d6dfe8;background:#f8fafc;border-radius:12px;padding:12px 14px}
dialog .addressPickerV2 form summary{font-size:14px;font-weight:700;color:#26374e;min-height:28px;cursor:pointer}
dialog .addressPickerV2 form details[open] summary{margin-bottom:14px}
dialog .addressPickerV2 .addressConfirmButton{order:1;position:sticky;bottom:0;z-index:5;min-height:50px;border:1px solid #ed8833;border-radius:12px;background:#ff963f!important;color:#24160c!important;font-size:16px;font-weight:800;width:100%;padding:13px 16px;margin:0;cursor:pointer}
dialog .addressPickerV2 .addressConfirmButton:disabled{background:#e2e8f0!important;color:#58677c!important;border-color:#cbd5e1;cursor:wait}
dialog .addressPickerV2 .geoNote{display:block;font-size:11px!important;color:#617085!important;line-height:1.6;margin:12px 0 0}
dialog .addressPickerV2 .addressSearchResults{border-color:#d6dfe8;background:#fff;margin-top:7px}
dialog .addressPickerV2 .addressSuggestion{background:#fff;color:#17243a;border-color:#e2e8f0}
dialog .addressPickerV2 .addressSuggestion small,dialog .addressPickerV2 .addressSuggestionStatus{color:#516074!important}
dialog .addressPickerV2 .addressSuggestion:hover,dialog .addressPickerV2 .addressSuggestion.active{background:#fff0e2}
.addressPickerV2 .leaflet-control-attribution{font-size:10px}
@media(max-width:600px){dialog:has(.addressPickerV2){width:100vw!important;max-width:100vw!important;max-height:100dvh;height:100dvh;margin:0;border-radius:0;padding:14px!important}dialog .addressPickerV2 .addressPinMap{height:46dvh!important;min-height:285px}dialog .addressPickerV2 #confirmAddressTitle{font-size:26px}.addressPickerV2 .addressMapStage{border-radius:12px}dialog .addressPickerV2 .addressMapTip{font-size:12px!important;max-width:calc(100% - 76px);padding:9px 12px}dialog .addressPickerV2 .addressConfirmSearch{margin:10px 0}dialog .addressPickerV2 .addressPinHint{margin-bottom:8px}}

dialog .addressPickerV2 .addressNumberApproximate{display:table;margin:9px auto 12px!important;padding:6px 10px;background:#fff1e3;border:1px solid #f0c398;border-radius:8px;color:#81400e!important;font-size:12px!important;line-height:1.5;text-align:center}dialog .addressPickerV2 .addressNumberApproximate[hidden]{display:none!important}
