/* Only the reviewed markets have interactive geography. */
.distributor-section { padding-bottom:65px; }
.directory-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.directory-toolbar h2 { margin:0 0 5px; font-size:1.8rem; letter-spacing:-.035em; color:var(--deep); }
.directory-toolbar p { margin:0; color:var(--muted); }
.map-view-switch { display:flex; flex-shrink:0; border:1px solid #b9a8ce; padding:4px; background:#fff; }
.map-view-switch button { min-height:44px; padding:9px 18px; border:0; background:transparent; color:var(--deep); font:inherit; font-weight:600; cursor:pointer; }
.map-view-switch button[aria-pressed="true"] { background:var(--deep); color:white; }
.map-view-switch button:hover:not([aria-pressed="true"]) { background:#f2eaf7; }
.directory-map-frame { position:relative; isolation:isolate; overflow:hidden; background:radial-gradient(ellipse at 63% 5%,#f9e6f0,transparent 55%),linear-gradient(135deg,#fcfaff,#eee8f6); border:1px solid #ddd2e8; }
.directory-map-frame .world-map { width:100%; height:clamp(340px,43vw,565px); background:none; }
.directory-map-frame .world-map path { fill:#d7cce3; stroke:#fff; stroke-width:.65; vector-effect:non-scaling-stroke; cursor:default; transition:fill .16s; }
.directory-map-frame .world-map path:hover { fill:#d7cce3; }
.directory-map-frame .world-map .covered-country { fill:#735296; stroke:#fff; stroke-width:1; cursor:pointer; }
.directory-map-frame .world-map .covered-country:hover,
.directory-map-frame .world-map .covered-country.selected,
.directory-map-frame .world-map .covered-country:focus-visible { fill:var(--pink); stroke:#493078; outline:none; stroke-width:2; }
.directory-map-frame .world-map .pending-country { fill:#eadced; stroke:#735296; stroke-width:1.5; stroke-dasharray:3 2; cursor:pointer; }
.directory-map-frame .world-map .pending-country:hover,.directory-map-frame .world-map .pending-country.selected,.directory-map-frame .world-map .pending-country:focus-visible { fill:#f2c7df; outline:none; stroke-width:2; }
.map-connectors { position:absolute; inset:0; height:100%; width:100%; pointer-events:none; }
.map-connectors line { stroke:#664885; stroke-width:1.2; opacity:.8; }
.map-markers { position:absolute; inset:0; pointer-events:none; }
.map-marker { position:absolute; width:0; height:0; }
.map-marker[hidden] { display:none; }
.map-marker-dot { position:absolute; left:-14px; top:-14px; width:28px; height:28px; padding:0; border:0; border-radius:50%; background:transparent; pointer-events:auto; cursor:pointer; }
.map-marker-dot::after { content:''; position:absolute; width:12px; height:12px; top:8px; left:8px; box-sizing:border-box; border:2px solid #493078; border-radius:50%; background:var(--yellow); box-shadow:0 0 0 5px #fcd40535; }
.map-marker-dot:hover::after { background:var(--pink); }
.map-country-label { position:absolute; min-width:150px; min-height:61px; padding:10px 14px; border:1px solid #907db966; border-left:4px solid var(--pink); border-radius:18px; background:linear-gradient(115deg,#ffffffc2,#ffffff80); color:var(--deep); text-align:left; font:inherit; font-size:.9rem; line-height:1.4; cursor:pointer; box-shadow:inset 0 1px 0 #ffffff88,0 4px 18px #4930780c; text-shadow:0 1px 3px #ffffffcc; transition:background .2s,border-color .2s,box-shadow .2s; }
.map-country-label strong { display:block; white-space:nowrap; font-weight:600; }
.map-country-label span { display:block; font-size:.8rem; color:var(--deep); }
.map-country-label b { float:right; margin-left:10px; font-weight:400; color:var(--deep); }
.map-country-label:hover { border-color:var(--pink); background:linear-gradient(115deg,#ffffffd9,#f9d4e2bd); box-shadow:0 5px 20px #49307822; }
.map-country-label { pointer-events:auto; }
.map-marker--pending .map-country-label { border-left-color:#9d87b4; border-style:dashed; }
.map-marker--pending .map-marker-dot::after { background:white; box-shadow:0 0 0 5px #73529618; }
.map-legend { position:absolute; bottom:17px; left:20px; display:flex; align-items:center; gap:9px; font-size:.8rem; color:var(--deep); background:#ffffffc9; padding:4px 8px; }
.map-legend>span { width:10px; height:10px; border-radius:50%; background:var(--yellow); border:1px solid var(--deep); }
.map-legend .pending-dot { background:white; margin-left:10px; }
.directory-preview-note { font-size:.875rem; color:var(--muted); margin:14px 0 0; }
.directory-help { margin-top:30px; display:grid; grid-template-columns:1.3fr 1fr; gap:36px; align-items:center; padding:25px 28px; background:linear-gradient(110deg,#f3ecf8,#fbeef4); border-top:2px solid #cfb3db; }
.seal-guide--directory .seal-guide__image { width:110px; height:110px; }
.seal-guide--directory .seal-guide__mascot { width:110px; }
.seal-guide--directory h2 { font-size:1.45rem; margin:0 0 7px; color:var(--deep); letter-spacing:-.03em; }
.seal-guide--directory p { margin-bottom:10px; }
.directory-recruit { border-left:1px solid #d5c4e1; padding-left:28px; }
.directory-recruit p { margin:0 0 10px; }
.directory-map-note { margin:25px 0 0; max-width:960px; }
.directory-dialog-open { overflow:hidden; }
.distributor-dialog { width:min(930px,calc(100% - 48px)); max-height:calc(100dvh - 48px); padding:30px; border:1px solid #bcabd0; border-top:5px solid var(--pink); background:radial-gradient(ellipse at 100% 0,#f3e7f4,transparent 55%),#fff; color:var(--ink); box-shadow:0 22px 90px #27113755; overscroll-behavior:contain; }
.distributor-dialog::backdrop { background:#25153c9e; backdrop-filter:blur(3px); }
.distributor-dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.distributor-dialog-header .eyebrow { font-size:.7rem; margin:0 0 12px; letter-spacing:.13em; }
.distributor-dialog-header h2 { font-size:2.35rem; line-height:1.13; letter-spacing:-.04em; color:var(--deep); margin:0 0 10px; }
.distributor-dialog-header p:last-child { color:var(--muted); margin:0 0 20px; }
.directory-close { display:flex; align-items:center; gap:12px; min-height:44px; padding:8px 12px; flex-shrink:0; border:1px solid #c3b2d3; background:white; font:inherit; font-size:.875rem; color:var(--deep); cursor:pointer; }
.directory-close span { font-size:1.55rem; line-height:1; }
.directory-sector-field { max-width:350px; font-size:.875rem; }
.directory-sector-field[hidden] { display:none; }
.directory-result-count { font-size:.85rem; color:var(--muted); margin:20px 0 12px; }
.distributor-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.distributor-card { border:1px solid #ddd2e7; background:#fff; padding:24px; min-width:0; }
.distributor-card:only-child { grid-column:1/-1; }
.distributor-card h3 { font-size:1.75rem; line-height:1.2; font-weight:500; letter-spacing:-.035em; margin:0 0 18px; color:var(--deep); }
.distributor-location { font-size:.78rem; color:var(--muted); margin:0 0 7px; }
.distributor-sectors { list-style:none; display:flex; flex-wrap:wrap; gap:6px; margin:0 0 18px; padding:0; }
.distributor-sectors li { background:#f2ebf8; color:var(--deep); padding:4px 8px; font-size:.75rem; line-height:1.4; }
.distributor-detail { margin:0 0 12px; font-size:.95rem; line-height:1.5; }
.distributor-coverage-note { font-size:.8rem; color:var(--muted); margin:12px 0 20px; line-height:1.5; }
.distributor-contacts { margin-top:23px; border-top:1px solid #e5dcea; padding-top:15px; display:grid; gap:10px; }
.distributor-contact { display:flex; flex-direction:column; gap:2px; }
.distributor-contact span { font-size:.75rem; color:var(--muted); }
.distributor-contact a { color:var(--deep); font-size:.94rem; overflow-wrap:anywhere; text-underline-offset:4px; width:fit-content; }
.directory-no-match { padding:20px; background:#f7f2fa; }
.directory-map-frame button:focus-visible,.map-view-switch button:focus-visible,.distributor-dialog button:focus-visible,.distributor-dialog a:focus-visible { outline:3px solid #9a3976; outline-offset:4px; }
@media (max-width:1000px) {
  .map-markers { position:static; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:16px; pointer-events:auto; }
  .map-marker { position:static; width:auto; height:auto; }
  .map-marker-dot { left:var(--pin-x); top:var(--pin-y); transform:translate(-50%,-50%); }
  .map-country-label { position:static; width:100%; min-width:0; }
  .map-country-label strong { white-space:normal; }
  .map-legend { position:static; padding:0 16px 16px; background:none; }
}
@media (max-width:800px) {
  .directory-help { grid-template-columns:1fr; gap:24px; }
  .directory-recruit { border-left:0; border-top:1px solid #d5c4e1; padding:22px 0 0; }
  .distributor-cards { grid-template-columns:1fr; }
}
@media (max-width:550px) {
  .directory-toolbar { align-items:flex-start; gap:18px; flex-direction:column; }
  .directory-toolbar h2 { font-size:1.6rem; }
  .directory-map-frame .world-map { height:250px; }
  .map-markers { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:12px; pointer-events:auto; }
  .map-marker { position:static; width:auto; height:auto; }
  .map-marker-dot { left:var(--pin-x); top:var(--pin-y); transform:translate(-50%,-50%); }
  .map-country-label { position:static; width:100%; min-width:0; min-height:44px; padding:9px 10px; font-size:.8rem; }
  .map-country-label span { display:none; }
  .map-country-label strong[data-short] { font-size:0; }
  .map-country-label strong[data-short]::before { content:attr(data-short); font-size:.8rem; }
  .map-legend { position:static; padding:0 12px 14px; font-size:.65rem; gap:6px; background:none; }
  .directory-help { padding:22px 18px; }
  .seal-guide--directory .seal-guide__mascot,.seal-guide--directory .seal-guide__image { width:92px; }
  .seal-guide--directory .seal-guide__image { height:92px; }
  .seal-guide--directory h2 { font-size:1.25rem; }
  .seal-guide--directory p { font-size:.9rem; }
  .distributor-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 20px); padding:20px 16px; }
  .distributor-dialog-header { gap:12px; }
  .distributor-dialog-header h2 { font-size:1.8rem; }
  .distributor-dialog-header .eyebrow { font-size:.6rem; }
  .directory-close { padding:6px 9px; gap:6px; font-size:.75rem; }
  .distributor-card { padding:20px; }
}
@media(prefers-reduced-motion:reduce) { .directory-map-frame .world-map path { transition:none; } }

/* UK contacts remain visible on the map and in the compact mobile list. */
.map-country-label[data-market="United Kingdom"] span{display:block}
