.zone-map-card{margin:24px 0;background:var(--theme-surface,#fff);border:1px solid var(--theme-border-blue,#e2e7ef);border-radius:16px;padding:20px;min-width:0}.zone-map-heading h2{margin:0 0 8px}.zone-map-heading p{color:var(--theme-muted,#65718a);font-size:14px}.zone-map-canvas{height:480px;border-radius:12px;position:relative;isolation:isolate;z-index:0;background:var(--theme-surface-raised,#eef3f0)}.zone-map-result{padding:12px 14px;background:var(--theme-surface,#f3f6fa);border-radius:9px;min-height:46px;font-weight:600}.zone-map-result[data-invalid="1"]{background:var(--theme-bg-accent,#fff0eb);color:var(--theme-accent,#9a3412)}.zone-map-coordinates{display:grid;grid-template-columns:1fr 1fr;gap:16px}.zone-map-coordinates input{display:block;width:100%;box-sizing:border-box}.zone-map-card .leaflet-container{font:14px/1.5 system-ui,sans-serif}.zone-map-card .leaflet-control-attribution{font-size:10px}.zone-map-card .leaflet-popup-content button{display:block;margin-top:8px;padding:8px;border:1px solid var(--theme-border-blue,#dbe2e9);border-radius:7px;background:var(--theme-surface,white);color:var(--theme-accent,#d8461c);cursor:pointer}.zone-map-vertex{width:12px;height:12px;border:2px solid var(--theme-border,#fff);border-radius:50%;background:var(--theme-primary,#d8461c);box-shadow:0 0 0 1px #7c2d12}.zone-map-card .leaflet-tooltip{white-space:normal;max-width:200px}@media(max-width:640px){.zone-map-card{padding:12px}.zone-map-canvas{height:380px}.zone-map-coordinates{grid-template-columns:1fr;gap:8px}} .zone-map-card .leaflet-overlay-pane > svg{width:auto;height:auto} .zone-map-legend{margin:12px 0;border:1px solid var(--theme-border-blue,#e2e7ef);border-radius:10px;padding:10px 12px}.zone-map-legend h3{margin:0;font-size:15px}.zone-map-legend h3 span{font-size:12px;color:var(--theme-muted,#65718a);font-weight:400}.zone-map-legend p{font-size:13px;color:var(--theme-muted,#65718a)}.zone-map-legend ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:6px;list-style:none;margin:10px 0 0;padding:0;}.zone-map-legend li{display:flex;align-items:center;gap:8px;padding:7px;border-radius:7px;font-size:13px}.zone-map-legend li.is-selected{background:var(--theme-bg-blue,#edf2fa);font-weight:700;outline:1px solid var(--theme-border-blue,#adb9cd)}.zone-map-swatch{display:inline-block;width:14px;height:14px;flex:0 0 14px;border-radius:4px;border:1px solid #0003}.zone-map-result.has-zone{border-left:6px solid var(--zone-color);padding-left:12px}.zone-map-card .leaflet-interactive:focus{outline:3px solid var(--theme-blue,#17233b);outline-offset:2px} .geocode{margin:16px 0}.geocode-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.geocode-status{font-size:14px;color:var(--theme-blue,#42516a)}.geocode-results{display:grid;gap:8px;margin:10px 0}.geocode-choice{text-align:left;padding:12px 14px;border:1px solid var(--theme-border-blue,#dbe2e9);border-radius:9px;background:var(--theme-surface,#fff);color:var(--theme-ink,#202a42);cursor:pointer;overflow-wrap:anywhere}.geocode-choice:hover,.geocode-choice:focus-visible{border-color:#e94b22;background:var(--theme-bg-accent,#fff4ee)}.geocode-choice:disabled{color:var(--theme-muted,#65718a);cursor:default;background:var(--theme-surface,#f3f6fa)}.geocode .field-hint{font-size:12px;line-height:1.6} .zone-map-compact { margin: 0; padding: 22px; } .zone-map-compact .zone-map-heading h2 { font-size: 20px; margin: 0 0 7px; } .zone-map-compact .zone-map-heading p { margin: 0; font-size: 13px; } .zone-map-compact .geocode { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin: 12px 0 16px; } .zone-map-compact .geocode-actions { gap: 0; } .zone-map-compact .geocode-actions .text-button { font-size: 12px; padding: 0; } .zone-map-compact .geocode [hidden] { display: none; } .zone-map-compact .map-provenance { margin: 0; padding: 0; border: 0; font-size: 12px; } .zone-map-compact .map-provenance summary { padding: 0; font-weight: 400; color: var(--theme-muted,#65718a); } .zone-map-compact .map-provenance[open] { width: 100%; } .zone-map-compact .map-provenance .field-hint { margin: 10px 0 0; } .zone-map-compact .zone-map-canvas { height: 410px; } .zone-map-compact .zone-map-result { margin: 14px 0; } .zone-map-compact .map-extra { margin: 0; padding: 7px 0; } .zone-map-compact .map-extra summary { padding: 5px 0; font-size: 12px; color: var(--theme-muted,#65718a); font-weight: 500; } .zone-map-compact .zone-map-legend { border: 0; padding: 0; } .zone-map-compact > .field-hint { font-size: 11px; line-height: 1.7; margin: 13px 0 0; } @media(max-width:850px) { .zone-map-compact { padding: 20px; } .zone-map-compact .zone-map-canvas { height: 360px; } } [data-map-customer="1"] .zone-map-result.has-zone {display:flex;flex-direction:column;gap:6px;background:var(--theme-surface,#fff);border:1px solid var(--theme-border-blue,#e1e5ed);padding:18px 20px;border-radius:12px;} .zone-delivery-amount {display:block;font-size:1.4rem;line-height:1.5;color:var(--theme-ink,#263229);} [data-map-customer="1"] .zone-map-result.has-zone > span {font-size:.85rem;color:var(--theme-muted,#637165);} .address-name-suggestions{display:grid;gap:0;margin:8px 0 0;max-height:min(18rem,50vh);overflow-y:auto;min-width:0;border:1px solid var(--theme-border,#dbe2d9);border-radius:12px;background:var(--theme-surface,#fff);box-shadow:0 5px 18px #26322912;position:relative;z-index:2} .address-name-suggestions[hidden]{display:none} .address-name-suggestion{display:block;box-sizing:border-box;width:100%;min-height:44px;padding:12px 14px;border:0;border-bottom:1px solid var(--theme-border,#edf0e9);background:var(--theme-surface,#fff);color:var(--theme-ink,#263229);text-align:left;font:inherit;line-height:1.4;white-space:normal;overflow-wrap:anywhere;cursor:pointer} .address-name-suggestion:last-child{border-bottom:0} .address-name-suggestion:hover,.address-name-suggestion.is-active{background:var(--theme-bg-amber,#fff4e5);color:var(--theme-accent,#8f391c)} .address-name-suggestion:focus-visible{outline:3px solid #d8461c;outline-offset:-3px} @media(max-width:640px){.address-name-suggestion{font-size:16px;min-height:44px}.address-name-suggestions{max-height:42vh}} .address-select .address-location-feedback { padding: 16px; border: 1px solid var(--theme-border, #ded9cf); border-inline-start: 4px solid var(--orange, #df4d22); background: var(--theme-bg-accent, #fff0e9); color: var(--ink, #263128); font-size: 16px; font-weight: 600; line-height: 1.6; scroll-margin-block: 16px; } .address-select .address-location-feedback.is-location-error { border-color: var(--theme-accent, #a9381d); } [data-address-locate][aria-busy="true"] { opacity: 1; background: var(--theme-surface-raised, #f4efe5); } [data-address-locate][aria-busy="true"]::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%; } @media (prefers-reduced-motion: no-preference) { [data-address-locate][aria-busy="true"]::before { animation: address-locating 800ms linear infinite; } } @keyframes address-locating { to { transform: rotate(360deg); } }
