.achile-map-plugin {
  --achile-blue: #0086C7;
  --achile-green: #00C490;
  --achile-red: #F16C76;
  --achile-yellow: #FFB056;
  --achile-navy: #1A3E6E;
  --achile-bg: #F5F8FC;
  --achile-text: #1A2A3A;
  --achile-muted: #5D6B7A;
  --achile-border: #DDE8F2;
  width: 100%;
  color: var(--achile-text);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.achile-map-plugin *, .achile-map-plugin *::before, .achile-map-plugin *::after { box-sizing: border-box; }
.achile-map-plugin [hidden] { display: none !important; }
.achile-map-plugin button, .achile-map-plugin input, .achile-map-plugin select { font: inherit; }
.achile-map-plugin button, .achile-map-plugin a { -webkit-tap-highlight-color: transparent; }
.achile-map-plugin :focus-visible { outline: 3px solid #1261A8; outline-offset: 3px; }
.achile-map-layout { display: grid; grid-template-columns: minmax(260px, 22%) minmax(360px, 1fr) minmax(330px, 28%); width: 100%; height: var(--achile-map-height, 720px); min-height: 620px; overflow: hidden; border: 1px solid var(--achile-border); border-radius: 16px; background: #FFFFFF; box-shadow: 0 10px 26px rgba(26, 62, 110, .08); }
.achile-map-filters, .achile-map-results { min-width: 0; min-height: 0; overflow: auto; background: #FFFFFF; }
.achile-map-filters { border-right: 1px solid var(--achile-border); }
.achile-map-results { border-left: 1px solid var(--achile-border); }
.achile-map-filter-content { display: grid; gap: 20px; padding: 24px 20px; background: linear-gradient(180deg, #F7FAFD, #FFFFFF); }
.achile-map-search, .achile-map-select { display: grid; gap: 7px; color: var(--achile-navy); font-weight: 700; }
.achile-map-search > span, .achile-map-select > span, .achile-map-legend legend { font-size: .8rem; text-transform: uppercase; }
.achile-map-search input, .achile-map-select select { width: 100%; min-height: 46px; border: 1px solid #B8C9D9; border-radius: 6px; background: #FFFFFF; color: var(--achile-text); padding: 9px 12px; }
.achile-map-search input:focus, .achile-map-select select:focus { border-color: var(--achile-blue); }
.achile-map-legend { display: grid; gap: 3px; min-width: 0; margin: 0; border: 0; padding: 0; }
.achile-map-legend legend { width: 100%; margin-bottom: 4px; padding: 0; color: var(--achile-navy); font-weight: 700; }
.achile-map-legend label { min-height: 44px; display: grid; grid-template-columns: 20px 12px minmax(0, 1fr); align-items: center; gap: 8px; color: var(--achile-muted); cursor: pointer; }
.achile-map-legend input { width: 18px; height: 18px; margin: 0; accent-color: var(--achile-blue); }
.achile-map-legend i { width: 11px; height: 11px; border-radius: 50%; background: var(--legend-color); }
.achile-map-legend span { line-height: 1.25; }
.achile-map-reset, .achile-map-back, .achile-map-empty button { min-height: 44px; justify-self: start; border: 0; background: transparent; color: var(--achile-blue); padding: 5px 0; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.achile-map-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #E8F1EA; }
.achile-map-canvas { width: 100%; height: 100%; min-height: 620px; }
.achile-map-actions { position: absolute; z-index: 600; top: 16px; right: 16px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.achile-map-actions button { min-height: 44px; border: 1px solid var(--achile-border); border-radius: 7px; background: #FFFFFF; color: var(--achile-navy); padding: 8px 13px; box-shadow: 0 3px 12px rgba(26, 62, 110, .12); font-weight: 700; cursor: pointer; }
.achile-map-actions button:hover { border-color: var(--achile-blue); color: var(--achile-blue); }
.achile-map-actions button:disabled { opacity: .65; cursor: wait; }
.achile-map-location-error { position: absolute; z-index: 600; top: 70px; right: 16px; max-width: 280px; margin: 0; border-left: 4px solid var(--achile-red); background: #FFFFFF; color: #84303A; padding: 10px 13px; box-shadow: 0 5px 18px rgba(26, 62, 110, .14); }
.achile-map-marker-wrap { border: 0; background: transparent; }
.achile-map-marker { width: 40px; height: 40px; display: grid; place-items: center; border: 3px solid #FFFFFF; border-radius: 50% 50% 50% 5px; transform: rotate(-45deg); background: var(--marker-color); box-shadow: 0 4px 12px rgba(26, 62, 110, .3); transition: transform 160ms ease, box-shadow 160ms ease; }
.achile-map-marker > span { transform: rotate(45deg); color: #FFFFFF; font-size: .8rem; font-weight: 800; }
.achile-map-marker.is-selected { transform: rotate(-45deg) scale(1.14); outline: 4px solid rgba(255, 176, 86, .5); box-shadow: 0 5px 16px rgba(26, 62, 110, .4); }
.achile-map-results-heading { min-height: 62px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--achile-border); padding: 18px 20px; }
.achile-map-results-heading strong { color: var(--achile-navy); }
.achile-map-results-heading span { color: var(--achile-muted); font-size: .8rem; text-align: right; }
.achile-map-list { display: grid; }
.achile-map-list-item { width: 100%; min-height: 116px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: start; gap: 14px; border: 0; border-bottom: 1px solid var(--achile-border); background: #FFFFFF; color: var(--achile-text); padding: 19px 20px; text-align: left; cursor: pointer; }
.achile-map-list-item:hover, .achile-map-list-item:focus-visible { background: #EEF8FD; }
.achile-map-list-marker { width: 36px; height: 36px; display: grid; place-items: center; border: 3px solid #FFFFFF; border-radius: 50% 50% 50% 5px; transform: rotate(-45deg); background: var(--marker-color); box-shadow: 0 3px 9px rgba(26, 62, 110, .22); }
.achile-map-list-marker > span { transform: rotate(45deg); color: #FFFFFF; font-size: .74rem; font-weight: 800; }
.achile-map-list-copy { min-width: 0; display: grid; gap: 4px; }
.achile-map-list-copy strong { color: var(--achile-navy); font-size: 1rem; line-height: 1.3; }
.achile-map-list-meta { color: var(--achile-muted); font-size: .75rem; line-height: 1.35; }
.achile-map-list-copy small { color: var(--achile-muted); font-size: .8rem; line-height: 1.35; }
.achile-map-list-action { margin-top: 4px; color: var(--achile-blue); font-size: .88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.achile-map-detail { padding: 22px; }
.achile-map-detail .achile-map-list-marker { margin: 18px 0 14px 4px; }
.achile-map-logo { display: block; width: auto; max-width: 150px; height: auto; max-height: 76px; margin: 18px 0 14px; object-fit: contain; object-position: left center; }
.achile-map-detail-type { display: block; color: var(--achile-blue); font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.achile-map-detail h2 { margin: 6px 0 12px; color: var(--achile-navy); font-size: 1.45rem; line-height: 1.2; }
.achile-map-detail-summary { margin: 0 0 14px; color: var(--achile-muted); }
.achile-map-network { display: inline-block; margin: 0 0 18px; background: #DDF7EE; color: #11634E; padding: 5px 9px; font-size: .78rem; font-weight: 700; }
.achile-map-detail address { display: grid; margin: 0; border-top: 1px solid var(--achile-border); padding-top: 17px; color: var(--achile-text); font-style: normal; }
.achile-map-detail address strong, .achile-map-specialties h3 { margin: 0 0 5px; color: var(--achile-navy); font-size: .9rem; }
.achile-map-specialties { margin-top: 18px; }
.achile-map-specialties ul { margin: 0; padding-left: 20px; }
.achile-map-specialties li { margin: 3px 0; }
.achile-map-detail-actions { display: grid; gap: 8px; margin-top: 22px; }
.achile-map-link { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--achile-blue); border-radius: 6px; color: var(--achile-blue); padding: 9px 12px; font-weight: 700; text-align: center; text-decoration: none; }
.achile-map-link:hover { background: var(--achile-bg); color: var(--achile-navy); }
.achile-map-link.is-primary { border-color: var(--achile-blue); background: var(--achile-blue); color: #FFFFFF; }
.achile-map-link.is-primary:hover { background: var(--achile-navy); }
.achile-map-empty { display: grid; justify-items: start; gap: 8px; padding: 32px 22px; }
.achile-map-empty h2 { margin: 0; color: var(--achile-navy); font-size: 1.2rem; }
.achile-map-empty p { margin: 0; color: var(--achile-muted); }
.achile-map-mobile-toggle { display: none; }
.achile-map-error { border-left: 4px solid var(--achile-red); background: #FFF4F5; color: var(--achile-text); padding: 18px 20px; }
.achile-map-error strong { color: var(--achile-navy); }
.achile-map-error p { margin: 5px 0 0; }
.achile-map-plugin .leaflet-container { font-family: "Barlow", Arial, sans-serif; }
.achile-map-plugin .leaflet-control-attribution { font-size: 10px; }
.achile-map-plugin .leaflet-control-zoom a { color: var(--achile-navy); }
@media (max-width: 1179px) and (min-width: 768px) {
  .achile-map-layout { grid-template-columns: minmax(0, 58%) minmax(320px, 42%); grid-template-rows: auto minmax(560px, 1fr); height: auto; }
  .achile-map-filters { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--achile-border); }
  .achile-map-filter-content { grid-template-columns: minmax(240px, 1.4fr) minmax(250px, 1fr) minmax(180px, .8fr) minmax(180px, .8fr); align-items: start; }
  .achile-map-results { border-left: 1px solid var(--achile-border); }
  .achile-map-stage, .achile-map-results { height: 620px; }
}
@media (max-width: 767px) {
  .achile-map-mobile-toggle { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 12px; border: 1px solid var(--achile-blue); border-radius: 6px; overflow: hidden; }
  .achile-map-mobile-toggle button { min-height: 46px; border: 0; background: #FFFFFF; color: var(--achile-blue); font-weight: 700; }
  .achile-map-mobile-toggle button[aria-pressed="true"] { background: var(--achile-blue); color: #FFFFFF; }
  .achile-map-mobile-toggle span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; border-radius: 50%; background: var(--achile-bg); color: var(--achile-navy); font-size: .75rem; }
  .achile-map-layout { display: block; height: auto; min-height: 0; overflow: visible; border-radius: 10px; box-shadow: none; }
  .achile-map-filters { border-right: 0; border-bottom: 1px solid var(--achile-border); }
  .achile-map-filter-content { padding: 20px 16px; }
  .achile-map-stage { display: none; height: min(620px, 72vh); min-height: 500px; }
  .achile-map-canvas { min-height: 500px; }
  .achile-map-results { display: block; min-height: 480px; max-height: none; border-left: 0; }
  .achile-map-plugin.is-map-view .achile-map-stage { display: block; }
  .achile-map-plugin.is-map-view .achile-map-results { display: none; }
  .achile-map-actions { top: 10px; right: 10px; left: 10px; }
  .achile-map-list-item { padding-inline: 16px; }
  .achile-map-detail { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .achile-map-plugin *, .achile-map-plugin *::before, .achile-map-plugin *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
