.topbar>span{min-width:0}
.topbar-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px 18px;min-width:0}
.topbar .location-entry{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:28px;max-width:100%;padding:2px 0;border:0;background:transparent;color:inherit;font:11px/1.35 var(--f-mono);text-transform:none;letter-spacing:0;cursor:pointer}
.topbar .location-entry svg{flex:none}
.topbar .location-entry span{white-space:normal;overflow:visible;text-overflow:clip}
.location-entry:focus-visible{outline:2px solid var(--signal);outline-offset:4px}
.location-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(540px,calc(100% - 32px));max-width:none;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;margin:auto;padding:30px;border:1px solid var(--ink,#111417);border-radius:2px;background:var(--paper,#f4f1ea);color:var(--ink,#111417);box-shadow:0 18px 60px rgb(17 20 23 / 22%);text-align:left;font:15px/1.55 var(--f-body,Arial,sans-serif)}
.location-dialog:not([open]),.location-dialog [hidden]{display:none!important}
.location-dialog::backdrop{background:rgb(17 20 23 / 45%)}
.location-kicker{display:flex;align-items:center;gap:8px;font:11px/1.4 var(--f-mono);letter-spacing:.06em;text-transform:uppercase}
.location-kicker::before{content:'';width:6px;height:6px;background:var(--signal,#ea6726);flex:none}
.location-dialog h2{margin:12px 0 10px;font:600 28px/1.12 var(--f-body);letter-spacing:-.035em;text-transform:none;overflow-wrap:anywhere}
.location-dialog-heading p{margin:0;font-size:15px;line-height:1.55}
.location-dialog .location-help{margin:12px 0 0;font-size:12px;line-height:1.55;color:var(--ink-soft,#2a3138);overflow-wrap:anywhere}
.location-form{margin:22px 0 0;min-width:0}
.location-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}
.location-field{min-width:0}
.location-field label{display:block;margin:0 0 7px;font-size:13px;font-weight:600;line-height:1.4}
.location-field input,.location-field select{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:46px;margin:0;padding:10px 12px;border:1px solid var(--ink,#111417);border-radius:1px;background:transparent;color:inherit;font:16px/1.45 var(--f-body);box-shadow:none}
.location-field input::placeholder{color:#69635c;opacity:1}
.location-field input[aria-invalid=true],.location-field select[aria-invalid=true]{border-color:#a02a17}
.location-country{grid-column:1/-1}
.location-dialog button{box-sizing:border-box;min-height:46px;border-radius:1px;font:13px/1.4 var(--f-body);text-transform:none;letter-spacing:0;cursor:pointer;overflow-wrap:anywhere}
.location-check{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;border:1px solid var(--ink);background:transparent;color:var(--ink)}
.location-dialog input:focus-visible,.location-dialog select:focus-visible,.location-dialog button:focus-visible{outline:2px solid var(--signal-ink,#a23d12);outline-offset:3px;box-shadow:none}
.location-dialog button:disabled{cursor:not-allowed;opacity:.5}
.location-status{min-height:19px;margin:10px 0 0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--ink-soft)}
.location-preview{margin:16px 0 0;padding:18px 0 0;border-top:1px solid var(--rule,#c9bcaa)}
.location-preview h3{margin:0 0 12px;font:600 14px/1.4 var(--f-body);letter-spacing:0;text-transform:none}
.location-preview dl{display:grid;gap:9px;margin:0}
.location-preview dl>div{display:grid;grid-template-columns:minmax(80px,.85fr) minmax(0,1.6fr);gap:12px;align-items:baseline}
.location-preview dt{font-size:12px;color:var(--ink-soft)}
.location-preview dd{margin:0;font-size:14px;font-weight:500;overflow-wrap:anywhere}
.location-actions{display:flex;align-items:stretch;gap:12px;margin-top:22px}
.location-confirm{flex:1;padding:12px 18px;border:1px solid var(--ink);background:var(--ink);color:var(--paper)}
.location-later{padding:10px 6px;border:1px solid transparent;background:transparent;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.location-demo{margin:16px 0 0;font:11px/1.5 var(--f-body);color:var(--muted,#625b52)}
.network-time-details{padding:16px 22px;border-top:1px solid var(--rule,#c9bcaa);background:transparent}
.network-time-details .network-time-note{margin:0;font:12px/1.6 var(--f-body);color:var(--ink-soft,#2a3138);max-width:100ch}
.network-time-details .network-time-license{margin:7px 0 0;font:11px/1.55 var(--f-body);color:var(--muted,#625b52);overflow-wrap:anywhere}
.network-time-license a{color:inherit;text-underline-offset:3px}
@media(max-width:760px){.topbar{flex-wrap:wrap;align-items:center}.topbar>span{flex:1 0 100%;padding-top:6px}.topbar .topbar-actions{justify-content:space-between;gap:10px;flex:1 0 100%;padding-bottom:4px}.topbar .location-entry{min-height:40px;justify-content:flex-start}.topbar .location-entry span{font-size:11px!important}.network-time-details{padding:14px 16px}}
@media(max-width:400px){.location-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);padding:22px 18px}.location-dialog h2{font-size:25px}.location-fields{grid-template-columns:minmax(0,1fr)}.location-check{width:100%}.location-preview dl>div{grid-template-columns:1fr;gap:2px}.location-actions{flex-direction:column;gap:5px}.location-later{min-height:42px!important}.topbar .topbar-actions{flex-wrap:wrap}}

/* Keep repeat lookups stable and make the lookup action distinct from navigation. */
.location-status{min-height:36px}
.location-check-indicator{display:none;width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}
.location-form[aria-busy="true"] .location-check-indicator{display:block;animation:location-check-spin .8s linear infinite}
.location-form[aria-busy="true"] .location-check{opacity:.75;cursor:wait}
@keyframes location-check-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.location-form[aria-busy="true"] .location-check-indicator{animation:none}}

/* A checked area is the primary view; editing is an explicit secondary action. */
.location-dialog.is-area-ready .location-form{margin-top:14px}
.location-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.location-preview-heading h3{margin:0}
.location-dialog .location-edit{min-height:36px;padding:4px 0;border:0;background:transparent;color:var(--ink);text-decoration:underline;text-underline-offset:3px;font-size:12px;flex-shrink:0}
.location-area-summary{display:grid;gap:3px;margin:0 0 16px}
.location-area-summary>strong{font-size:20px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.location-postal-summary{font:12px/1.5 var(--f-mono);color:var(--ink-soft)}
.location-timezone-detail{margin:7px 0 0;font:11px/1.5 var(--f-mono);color:var(--muted,#625b52);overflow-wrap:anywhere}
.location-dialog.is-area-ready .location-preview{padding-top:14px;margin-top:10px}
.location-dialog.is-area-ready .location-status{min-height:18px}
.pdp .delivery-line[data-area-state]{display:block;line-height:1.6}
.product-delivery-message{display:block;margin-top:4px}
.pdp .delivery-time-scope:has(.product-delivery-zone){display:block;margin-top:5px;font-size:12px;line-height:1.5}
.product-delivery-zone{display:block;margin-top:3px;font-size:11px;line-height:1.5;color:var(--muted,#625b52);overflow-wrap:anywhere}
.pdp .delivery-area-link{display:inline-block;min-height:36px;margin:3px 0 0;padding:4px 0;border:0;background:transparent;color:inherit;text-decoration:underline;text-underline-offset:3px;font:12px/1.5 var(--f-body);text-transform:none;letter-spacing:0;cursor:pointer}
.pdp .delivery-area-link:focus-visible{outline:2px solid var(--signal-ink,#a23d12);outline-offset:3px}
