
/* Native hidden state must win over component display declarations and theme CSS. */
.iame-map[hidden],
.iame-map [hidden] {
    display: none !important;
}
.iame-map {
    --iame-height: 560px;
    --iame-fill: #dbeafe;
    --iame-hover: #0f9f8f;
    --iame-selected: #f59e0b;
    --iame-stroke: #fff;
    --iame-background: #f8fafc;
    --iame-muted-opacity: .16;
    position: relative;
    max-width: 100%;
    margin: 24px auto;
    border: 1px solid #dbe5f1;
    border-radius: 22px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
    overflow: hidden;
}
.iame-map * { box-sizing: border-box; }
.iame-map .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.iame-map__header { padding: 18px 22px 0; }
.iame-map__header h2 { margin: 0; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; color: #0f172a; }
.iame-map__controls { position: relative; z-index: 12; display: grid; grid-template-columns: minmax(200px, 1.5fr) minmax(170px, .8fr) auto auto auto; align-items: center; gap: 10px; padding: 16px 18px 12px; background: #fff; }
.iame-map__controls.is-disabled { opacity: .55; pointer-events: none; }
.iame-map__search-wrap { position: relative; min-width: 0; }
.iame-map__search,
.iame-map__province,
.iame-map__reset,
.iame-map__share { width: 100%; min-height: 44px; margin: 0; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #0f172a; font: inherit; font-size: 14px; }
.iame-map__search { padding: 9px 13px 9px 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%2364758b' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 13px center; }
.iame-map__province { padding: 9px 34px 9px 12px; }
.iame-map__search:focus,
.iame-map__province:focus,
.iame-map__reset:focus-visible,
.iame-map__share:focus-visible { border-color: #2563eb; outline: 3px solid rgba(37,99,235,.16); outline-offset: 1px; }
.iame-map__reset,
.iame-map__share { width: auto; min-width: 88px; padding: 9px 14px; border-color: #071b3a; background: #071b3a; color: #fff; font-weight: 800; cursor: pointer; }
.iame-map__reset:hover:not(:disabled),
.iame-map__reset:focus-visible:not(:disabled),
.iame-map__share:hover:not(:disabled),
.iame-map__share:focus-visible:not(:disabled) { background: #123b72; }
.iame-map__reset:disabled,
.iame-map__share:disabled { border-color: #cbd5e1; background: #e2e8f0; color: #94a3b8; cursor: not-allowed; }
.iame-map__share { border-color: #0f9f8f; background: #0f9f8f; }
.iame-map__share:hover:not(:disabled),
.iame-map__share:focus-visible:not(:disabled) { background: #0b7f73; }
.iame-map__result-count { min-width: 74px; color: #64748b; font-size: 12px; font-weight: 800; text-align: right; white-space: nowrap; }
.iame-map__suggestions { position: absolute; top: calc(100% + 7px); left: 0; right: 0; z-index: 30; max-height: 320px; padding: 6px; overflow: auto; border: 1px solid #cbd5e1; border-radius: 13px; background: #fff; box-shadow: 0 18px 42px rgba(15,23,42,.18); }
.iame-map__suggestions[hidden] { display: none; }
.iame-map__suggestion { display: grid; width: 100%; gap: 2px; padding: 10px 11px; border: 0; border-radius: 9px; background: transparent; color: #0f172a; font: inherit; text-align: left; cursor: pointer; }
.iame-map__suggestion:hover,
.iame-map__suggestion:focus-visible { background: #eff6ff; outline: none; }
.iame-map__suggestion strong { font-size: 14px; }
.iame-map__suggestion small { color: #64748b; font-size: 12px; }
.iame-map__suggestion-empty { display: block; padding: 12px; color: #64748b; text-align: center; }
.iame-map__stage { position: relative; display: grid; place-items: center; min-height: var(--iame-height); padding: 16px; background: var(--iame-background); overflow: hidden; }
.iame-map__svg { display: block; width: 100%; height: var(--iame-height); max-height: 70vh; overflow: visible; }
.iame-map__loading { display: flex; align-items: center; justify-content: center; gap: 12px; color: #475569; text-align: center; }
.iame-map__spinner { width: 24px; height: 24px; flex: 0 0 auto; border: 3px solid #cbd5e1; border-top-color: #2563eb; border-radius: 50%; animation: iame-spin .8s linear infinite; }
@keyframes iame-spin { to { transform: rotate(360deg); } }
.iame-district { opacity: 1; transition: opacity .18s ease; }
.iame-district path { fill: var(--iame-fill); stroke: var(--iame-stroke); stroke-width: .72; transition: fill .15s ease, filter .15s ease, stroke-width .15s ease; }
.iame-district.is-matched:not([aria-disabled="true"]) { cursor: pointer; }
.iame-district.is-unmatched { cursor: default; }
.iame-district:hover path,
.iame-district:focus path { fill: var(--iame-hover); filter: brightness(1.02); }
.iame-district.is-unmatched:hover path { fill: color-mix(in srgb, var(--iame-fill) 82%, #94a3b8 18%); filter: none; }
.iame-district:focus { outline: none; }
.iame-district:focus path { stroke: #0f172a; stroke-width: 1.5; }
.iame-district.is-selected path { fill: var(--iame-selected); stroke: #071b3a; stroke-width: 1.8; filter: drop-shadow(0 2px 2px rgba(7, 27, 58, .18)); }
.iame-district.is-filtered-out { opacity: var(--iame-muted-opacity); pointer-events: none; }
.iame-district.is-filtered-in path { stroke-width: .95; }
.iame-map__tooltip { position: absolute; z-index: 8; max-width: 260px; padding: 8px 10px; border-radius: 10px; background: #071b3a; color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; box-shadow: 0 8px 24px rgba(7, 27, 58, .22); pointer-events: none; }
.iame-map__fallback { display: block; width: min(100%, 1120px); height: auto; max-height: calc(var(--iame-height) - 74px); object-fit: contain; opacity: .96; }
.iame-map__error { position: absolute; left: 50%; bottom: 58px; z-index: 4; display: flex; max-width: min(560px, calc(100% - 32px)); transform: translateX(-50%); flex-direction: column; gap: 4px; padding: 12px 16px; border: 1px solid #fed7aa; border-radius: 13px; background: rgba(255,255,255,.94); color: #7c2d12; text-align: center; box-shadow: 0 8px 25px rgba(124,45,18,.1); backdrop-filter: blur(8px); }
.iame-map__error strong { font-size: 14px; }
.iame-map__error span { font-size: 12px; line-height: 1.45; }
.iame-map__retry { position: absolute; right: 18px; bottom: 18px; z-index: 6; min-height: 40px; padding: 8px 15px; border: 0; border-radius: 10px; background: #071b3a; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(7,27,58,.18); }
.iame-map__retry:hover,
.iame-map__retry:focus-visible { background: #123b72; }
.iame-map__retry:focus-visible { outline: 3px solid rgba(37,99,235,.35); outline-offset: 2px; }
.iame-map__selection { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 18px; border-top: 1px solid #dbe5f1; background: linear-gradient(90deg, #eff6ff, #f0fdfa); }
.iame-map__selection[hidden] { display: none; }
.iame-map__selection > div { display: grid; min-width: 0; }
.iame-map__selection-label { color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.iame-map__selection-title { color: #071b3a; font-size: 18px; line-height: 1.25; }
.iame-map__selection-province { color: #475569; }
.iame-map__selection-link { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border-radius: 11px; background: #071b3a; color: #fff !important; font-weight: 800; text-decoration: none !important; }
.iame-map__selection-link[hidden] { display: none; }
.iame-map__selection-link:hover,
.iame-map__selection-link:focus-visible { background: #0f9f8f; }
.iame-map__selection-link:focus-visible { outline: 3px solid rgba(15,159,143,.28); outline-offset: 2px; }
.iame-map__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; border-top: 1px solid #e2e8f0; background: #fff; color: #64748b; font-size: 13px; }
.iame-map__legend { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.iame-map__legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--iame-fill); border: 1px solid #94a3b8; }
.iame-map.has-error .iame-map__stage { background: #fffaf5; }
.iame-map.has-error .iame-map__loading { color: #991b1b; }
.iame-map.has-no-inventory .iame-district { cursor: default; }
.iame-map noscript { display: block; padding: 14px; color: #991b1b; }
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)) {
    .iame-district.is-unmatched:hover path { fill: var(--iame-fill); }
}
@media (max-width: 900px) {
    .iame-map__controls { grid-template-columns: 1fr 1fr auto auto; }
    .iame-map__result-count { grid-column: 1 / -1; min-width: 0; text-align: left; }
}
@media (max-width: 767px) {
    .iame-map { border-radius: 16px; }
    .iame-map__controls { grid-template-columns: 1fr; padding: 13px 12px 10px; }
    .iame-map__reset,
    .iame-map__share { width: 100%; }
    .iame-map__result-count { text-align: center; }
    .iame-map__stage { min-height: min(var(--iame-height), 430px); padding: 8px; }
    .iame-map__svg { height: min(var(--iame-height), 430px); }
    .iame-map__fallback { max-height: 340px; }
    .iame-map__error { bottom: 62px; }
    .iame-map__retry { right: 12px; bottom: 12px; }
    .iame-map__selection { align-items: stretch; flex-direction: column; gap: 10px; padding: 13px 15px; }
    .iame-map__selection-link { width: 100%; }
    .iame-map__footer { align-items: flex-start; flex-direction: column; }
    .iame-map__legend { white-space: normal; }
    .iame-map__header { padding: 15px 15px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .iame-map__spinner { animation: none; }
    .iame-district,
    .iame-district path { transition: none; }
}

/* V6 data layers */
.iame-map {
    --iame-data-low: #dbeafe;
    --iame-data-high: #1d4ed8;
    --iame-data-none: #e2e8f0;
}
.iame-map__controls { grid-template-columns: minmax(190px, 1.35fr) minmax(150px, .72fr) minmax(170px, .82fr) auto auto auto; }
.iame-map__layer { width: 100%; min-height: 44px; margin: 0; padding: 9px 34px 9px 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #0f172a; font: inherit; font-size: 14px; }
.iame-map__layer:focus { border-color: #2563eb; outline: 3px solid rgba(37,99,235,.16); outline-offset: 1px; }
.iame-district.has-data path,
.iame-district.has-no-data path { fill: var(--iame-data-fill, var(--iame-data-none)); }
.iame-district.has-no-data path { fill: var(--iame-data-fill, var(--iame-data-none)); }
.iame-district.has-data:hover path,
.iame-district.has-data:focus path,
.iame-district.has-no-data:hover path,
.iame-district.has-no-data:focus path { fill: var(--iame-hover); }
.iame-district.is-selected.has-data path,
.iame-district.is-selected.has-no-data path { fill: var(--iame-selected); }
.iame-map__data-legend { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid #eef2f7; border-bottom: 1px solid #e2e8f0; background: #f8fafc; color: #334155; font-size: 12px; }
.iame-map__data-legend[hidden] { display: none; }
.iame-map__data-legend > strong { flex: 0 0 auto; color: #071b3a; font-size: 13px; }
.iame-map__data-steps { display: flex; flex: 1 1 auto; align-items: center; gap: 9px; min-width: 0; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.iame-map__data-steps > span { display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto; white-space: nowrap; }
.iame-map__data-steps i { width: 16px; height: 12px; border: 1px solid rgba(15,23,42,.2); border-radius: 3px; }
.iame-map__data-steps small { font-size: 11px; color: #475569; }
.iame-map__data-empty { color: #64748b; }
.iame-map__selection-value { margin-top: 4px; color: #0f766e; font-size: 13px; font-weight: 800; }
.iame-map__selection-value[hidden] { display: none; }

@media (max-width: 1100px) {
    .iame-map__controls { grid-template-columns: minmax(180px, 1.2fr) minmax(150px, .8fr) minmax(160px, .9fr) auto auto; }
    .iame-map__result-count { grid-column: 1 / -1; min-width: 0; text-align: left; }
}
@media (max-width: 767px) {
    .iame-map__layer { width: 100%; }
    .iame-map__data-legend { align-items: flex-start; flex-direction: column; gap: 7px; padding: 10px 12px; }
    .iame-map__data-steps { width: 100%; }
}
@media (max-width: 900px) {
    .iame-map__controls { grid-template-columns: 1fr 1fr; }
    .iame-map__reset,
    .iame-map__share { width: 100%; }
}
@media (max-width: 767px) {
    .iame-map__controls { grid-template-columns: 1fr; }
}

/* V7 page context, mini map, fullscreen and modal presentation */
.iame-map__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.iame-map__context-badge { flex: 0 0 auto; padding: 5px 9px; border: 1px solid #bfdbfe; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.iame-map__stage-actions { position: absolute; top: 12px; right: 12px; z-index: 14; display: flex; gap: 8px; }
.iame-map__fullscreen { display: inline-grid; width: 42px; height: 42px; place-items: center; margin: 0; padding: 0; border: 1px solid rgba(148,163,184,.7); border-radius: 12px; background: rgba(255,255,255,.94); color: #071b3a; font: inherit; font-size: 21px; line-height: 1; cursor: pointer; box-shadow: 0 8px 22px rgba(15,23,42,.12); backdrop-filter: blur(8px); }
.iame-map__fullscreen:hover,
.iame-map__fullscreen:focus-visible { border-color: #0f9f8f; background: #f0fdfa; color: #0f766e; outline: 3px solid rgba(15,159,143,.2); outline-offset: 2px; }
.iame-map__fullscreen[aria-pressed="true"] { background: #071b3a; color: #fff; }

.iame-map--mini { --iame-height: 280px; margin: 16px auto; border-radius: 16px; box-shadow: 0 10px 28px rgba(15,23,42,.07); }
.iame-map--mini .iame-map__header { padding: 13px 15px 0; }
.iame-map--mini .iame-map__header h2 { font-size: clamp(17px, 1.6vw, 21px); }
.iame-map--mini .iame-map__stage { min-height: var(--iame-height); padding: 8px; }
.iame-map--mini .iame-map__svg { height: var(--iame-height); max-height: 46vh; }
.iame-map--mini .iame-map__selection { gap: 10px; padding: 10px 14px; }
.iame-map--mini .iame-map__selection-title { font-size: 16px; }
.iame-map--mini .iame-map__selection-link { min-height: 38px; padding: 7px 12px; font-size: 13px; }
.iame-map--mini .iame-map__footer { padding: 9px 14px; font-size: 12px; }
.iame-map--mini .iame-map__stage-actions { top: 8px; right: 8px; }
.iame-map--mini .iame-map__fullscreen { width: 38px; height: 38px; border-radius: 10px; font-size: 19px; }

html.iame-lock-scroll,
body.iame-lock-scroll { overflow: hidden !important; overscroll-behavior: none; }
.iame-map.is-fullscreen { position: fixed !important; inset: 0 !important; z-index: 999999 !important; width: 100vw !important; max-width: none !important; height: 100dvh !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; display: flex; flex-direction: column; background: #fff; }
.iame-map.is-fullscreen .iame-map__header { flex: 0 0 auto; padding: 14px 72px 10px 20px; }
.iame-map.is-fullscreen .iame-map__controls,
.iame-map.is-fullscreen .iame-map__data-legend,
.iame-map.is-fullscreen .iame-map__selection,
.iame-map.is-fullscreen .iame-map__footer { flex: 0 0 auto; }
.iame-map.is-fullscreen .iame-map__stage { flex: 1 1 auto; min-height: 0; padding: 10px; }
.iame-map.is-fullscreen .iame-map__svg { width: 100%; height: 100%; max-height: none; }
.iame-map.is-fullscreen .iame-map__stage-actions { position: fixed; top: 12px; right: 14px; }

.iame-map-modal-host { display: block; max-width: 100%; margin: 20px 0; }
.iame-map__launcher { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 0; border-radius: 12px; background: #071b3a; color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 10px 24px rgba(7,27,58,.18); }
.iame-map__launcher:hover,
.iame-map__launcher:focus-visible { background: #0f9f8f; outline: 3px solid rgba(15,159,143,.25); outline-offset: 2px; }
.iame-map__modal { position: fixed; inset: 0; z-index: 999990; display: grid; place-items: center; padding: 24px; }
.iame-map__modal[hidden] { display: none; }
.iame-map__modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(7,27,58,.72); cursor: default; backdrop-filter: blur(5px); }
.iame-map__modal-dialog { position: relative; z-index: 2; width: min(1440px, 96vw); max-height: 94dvh; overflow: auto; border-radius: 22px; background: #fff; box-shadow: 0 30px 90px rgba(2,6,23,.4); }
.iame-map__modal-close { position: absolute; top: 10px; right: 10px; z-index: 30; display: grid; width: 42px; height: 42px; place-items: center; margin: 0; padding: 0; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; color: #071b3a; font: inherit; font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 7px 20px rgba(15,23,42,.14); }
.iame-map__modal-close:hover,
.iame-map__modal-close:focus-visible { border-color: #dc2626; color: #b91c1c; outline: 3px solid rgba(220,38,38,.18); outline-offset: 2px; }
.iame-map--modal-content { width: 100%; margin: 0; border: 0; border-radius: 22px; box-shadow: none; }
.iame-map--modal-content .iame-map__header { padding-right: 68px; }

@media (max-width: 767px) {
    .iame-map__context-badge { display: none; }
    .iame-map--mini { --iame-height: 250px; }
    .iame-map--mini .iame-map__stage { min-height: min(var(--iame-height), 330px); }
    .iame-map--mini .iame-map__svg { height: min(var(--iame-height), 330px); }
    .iame-map__modal { padding: 0; }
    .iame-map__modal-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
    .iame-map--modal-content { min-height: 100dvh; border-radius: 0; display: flex; flex-direction: column; }
    .iame-map--modal-content .iame-map__stage { flex: 1 1 auto; min-height: 0; }
    .iame-map--modal-content .iame-map__svg { height: 100%; max-height: none; }
    .iame-map.is-fullscreen .iame-map__header { padding: 12px 60px 8px 14px; }
    .iame-map.is-fullscreen .iame-map__controls { max-height: 42dvh; overflow: auto; }
}

/* V8 multi-selection and comparison basket */
.iame-map__controls {
    grid-template-columns: minmax(180px, 1.25fr) minmax(145px, .68fr) minmax(155px, .78fr) auto auto auto auto;
}
.iame-map__compare-toggle,
.iame-map__compare-clear,
.iame-map__compare-run,
.iame-map__compare-remove {
    font: inherit;
}
.iame-map__compare-toggle {
    min-height: 44px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid #7c3aed;
    border-radius: 12px;
    background: #fff;
    color: #6d28d9;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.iame-map__compare-toggle:hover,
.iame-map__compare-toggle:focus-visible {
    background: #f5f3ff;
    outline: 3px solid rgba(124,58,237,.18);
    outline-offset: 2px;
}
.iame-map__compare-toggle.is-active,
.iame-map__compare-toggle[aria-pressed="true"] {
    background: #6d28d9;
    color: #fff;
}
.iame-map.is-compare-mode .iame-district.is-matched { cursor: cell; }
.iame-map.is-compare-mode .iame-district.is-matched[aria-disabled="true"] { cursor: not-allowed; }
.iame-map__compare {
    display: grid;
    gap: 11px;
    padding: 14px 18px 16px;
    border-top: 1px solid #ddd6fe;
    border-bottom: 1px solid #ddd6fe;
    background: linear-gradient(135deg, #faf5ff, #f5f3ff 48%, #eff6ff);
}
.iame-map__compare[hidden] { display: none; }
.iame-map__compare > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.iame-map__compare > header > div { display: grid; gap: 2px; }
.iame-map__compare > header small {
    color: #6d28d9;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.iame-map__compare-count { color: #312e81; font-size: 15px; }
.iame-map__compare-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.iame-map__compare-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px 8px 9px 10px;
    border: 1px solid #ddd6fe;
    border-radius: 12px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 5px 14px rgba(49,46,129,.06);
}
.iame-map__compare-item > i {
    width: 12px;
    height: 32px;
    border-radius: 999px;
    background: #7c3aed;
}
.iame-map__compare-item > span { display: grid; min-width: 0; }
.iame-map__compare-item strong,
.iame-map__compare-item small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.iame-map__compare-item strong { color: #111827; font-size: 13px; }
.iame-map__compare-item small { color: #64748b; font-size: 11px; }
.iame-map__compare-item--1 > i { background: #ef4444; }
.iame-map__compare-item--2 > i { background: #2563eb; }
.iame-map__compare-item--3 > i { background: #16a34a; }
.iame-map__compare-item--4 > i { background: #9333ea; }
.iame-map__compare-remove {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
    color: #64748b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.iame-map__compare-remove:hover,
.iame-map__compare-remove:focus-visible {
    border-color: #dc2626;
    color: #b91c1c;
    outline: 3px solid rgba(220,38,38,.14);
    outline-offset: 1px;
}
.iame-map__compare-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}
.iame-map__compare-clear,
.iame-map__compare-run {
    min-height: 40px;
    margin: 0;
    padding: 8px 14px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}
.iame-map__compare-clear {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
}
.iame-map__compare-run {
    border: 1px solid #312e81;
    background: #312e81;
    color: #fff;
}
.iame-map__compare-clear:disabled,
.iame-map__compare-run:disabled { opacity: .48; cursor: not-allowed; }
.iame-map__compare-run:hover:not(:disabled),
.iame-map__compare-run:focus-visible:not(:disabled) {
    background: #4338ca;
    outline: 3px solid rgba(67,56,202,.2);
    outline-offset: 2px;
}
.iame-district.is-compare-selected path {
    stroke: #071b3a;
    stroke-width: 2;
    filter: drop-shadow(0 2px 2px rgba(7,27,58,.22));
}
.iame-district.is-compare-1 path,
.iame-district.is-compare-1.has-data path,
.iame-district.is-compare-1.has-no-data path { fill: #ef4444 !important; }
.iame-district.is-compare-2 path,
.iame-district.is-compare-2.has-data path,
.iame-district.is-compare-2.has-no-data path { fill: #2563eb !important; }
.iame-district.is-compare-3 path,
.iame-district.is-compare-3.has-data path,
.iame-district.is-compare-3.has-no-data path { fill: #16a34a !important; }
.iame-district.is-compare-4 path,
.iame-district.is-compare-4.has-data path,
.iame-district.is-compare-4.has-no-data path { fill: #9333ea !important; }
.iame-map.is-fullscreen .iame-map__compare { flex: 0 0 auto; max-height: 34dvh; overflow: auto; }

@media (max-width: 1180px) {
    .iame-map__controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .iame-map__reset,
    .iame-map__share,
    .iame-map__compare-toggle { width: 100%; }
    .iame-map__result-count { grid-column: 1 / -1; text-align: left; }
    .iame-map__compare-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .iame-map__controls { grid-template-columns: 1fr; }
    .iame-map__compare { padding: 12px; }
    .iame-map__compare > header { align-items: stretch; flex-direction: column; }
    .iame-map__compare-clear { width: 100%; }
    .iame-map__compare-list { grid-template-columns: 1fr; }
    .iame-map__compare-actions { display: grid; }
    .iame-map__compare-run { width: 100%; }
}

/* V9 personal exploration, favorites and visited map */
.iame-map {
    --iame-favorite: #e11d48;
    --iame-visited: #16a34a;
    --iame-wishlist: #f59e0b;
}
.iame-map__controls { grid-template-columns: minmax(170px, 1.2fr) minmax(140px, .65fr) minmax(150px, .72fr) auto auto auto auto auto; }
.iame-map__explore-toggle,
.iame-map__explore-clear,
.iame-map__explore-share,
.iame-map__explore-export,
.iame-map__explore-all,
.iame-map__explore-import,
.iame-map__selection-actions button,
.iame-map__explore-stats button {
    font: inherit;
}
.iame-map__explore-toggle {
    min-height: 44px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid #0f766e;
    border-radius: 12px;
    background: #fff;
    color: #0f766e;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}
.iame-map__explore-toggle:hover,
.iame-map__explore-toggle:focus-visible { background: #f0fdfa; outline: 3px solid rgba(15,118,110,.18); outline-offset: 2px; }
.iame-map__explore-toggle.is-active,
.iame-map__explore-toggle[aria-pressed="true"] { background: #0f766e; color: #fff; }

.iame-map__selection { flex-wrap: wrap; }
.iame-map__selection > .iame-map__selection-actions {
    display: flex;
    flex: 1 1 390px;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.iame-map__selection-actions button {
    min-height: 38px;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: rgba(255,255,255,.9);
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.iame-map__selection-actions button:hover,
.iame-map__selection-actions button:focus-visible { outline: 3px solid rgba(37,99,235,.14); outline-offset: 1px; }
.iame-map__selection-actions button[data-explore-type="favorite"].is-active { border-color: var(--iame-favorite); background: color-mix(in srgb, var(--iame-favorite) 12%, #fff); color: #9f1239; }
.iame-map__selection-actions button[data-explore-type="visited"].is-active { border-color: var(--iame-visited); background: color-mix(in srgb, var(--iame-visited) 12%, #fff); color: #166534; }
.iame-map__selection-actions button[data-explore-type="wishlist"].is-active { border-color: var(--iame-wishlist); background: color-mix(in srgb, var(--iame-wishlist) 14%, #fff); color: #92400e; }
.iame-map__selection-actions button:disabled { opacity: .45; cursor: not-allowed; }

.iame-map__explore {
    display: grid;
    gap: 12px;
    padding: 15px 18px 17px;
    border-top: 1px solid #99f6e4;
    border-bottom: 1px solid #99f6e4;
    background: linear-gradient(135deg, #f0fdfa, #ecfeff 52%, #f8fafc);
}
.iame-map__explore[hidden] { display: none; }
.iame-map__explore > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.iame-map__explore > header > div { display: grid; gap: 1px; }
.iame-map__explore > header small { color: #0f766e; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.iame-map__explore-percent { color: #134e4a; font-size: 22px; line-height: 1.05; }
.iame-map__explore-source { color: #64748b; font-size: 11px; }
.iame-map__explore-progress { width: 100%; height: 13px; border: 0; border-radius: 999px; overflow: hidden; background: #ccfbf1; }
.iame-map__explore-progress::-webkit-progress-bar { background: #ccfbf1; border-radius: 999px; }
.iame-map__explore-progress::-webkit-progress-value { background: linear-gradient(90deg, #14b8a6, #16a34a); border-radius: 999px; }
.iame-map__explore-progress::-moz-progress-bar { background: linear-gradient(90deg, #14b8a6, #16a34a); border-radius: 999px; }
.iame-map__explore-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.iame-map__explore-stats button {
    display: grid;
    grid-template-columns: 12px auto minmax(0,1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #dbe5f1;
    border-radius: 12px;
    background: rgba(255,255,255,.9);
    color: #334155;
    text-align: left;
    cursor: pointer;
}
.iame-map__explore-stats button:hover,
.iame-map__explore-stats button:focus-visible,
.iame-map__explore-stats button.is-active { border-color: #0f766e; outline: 3px solid rgba(15,118,110,.12); outline-offset: 1px; }
.iame-map__explore-stats i { width: 12px; height: 30px; border-radius: 999px; background: #94a3b8; }
.iame-map__explore-stats [data-explore-filter="favorite"] i { background: var(--iame-favorite); }
.iame-map__explore-stats [data-explore-filter="visited"] i { background: var(--iame-visited); }
.iame-map__explore-stats [data-explore-filter="wishlist"] i { background: var(--iame-wishlist); }
.iame-map__explore-stats strong { color: #0f172a; font-size: 17px; }
.iame-map__explore-stats span { min-width: 0; overflow: hidden; color: #475569; font-size: 12px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.iame-map__explore-tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.iame-map__explore-clear,
.iame-map__explore-share,
.iame-map__explore-export,
.iame-map__explore-all,
.iame-map__explore-import {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    margin: 0;
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}
.iame-map__explore-share { border-color: #0f766e; background: #0f766e; color: #fff; }
.iame-map__explore-clear { color: #b91c1c; }
.iame-map__explore-all.is-active { border-color: #0f766e; color: #0f766e; }
.iame-map__explore-clear:disabled,
.iame-map__explore-share:disabled,
.iame-map__explore-export:disabled { opacity: .45; cursor: not-allowed; }
.iame-map__explore-import[hidden],
.iame-map__explore-export[hidden],
.iame-map__explore-share[hidden] { display: none; }

.iame-district.is-explore-wishlist path { fill: var(--iame-wishlist); }
.iame-district.is-explore-visited path { fill: var(--iame-visited); }
.iame-district.is-explore-favorite path { fill: var(--iame-favorite); }
.iame-district.is-explore-favorite.is-explore-visited path { stroke: #fff; stroke-width: 1.45; filter: drop-shadow(0 0 2px var(--iame-visited)); }
.iame-district.is-explore-muted { opacity: .07; pointer-events: none; }
.iame-map.is-fullscreen .iame-map__explore { flex: 0 0 auto; max-height: 38dvh; overflow: auto; }

@supports not (background: color-mix(in srgb, #fff 50%, #000 50%)) {
    .iame-map__selection-actions button[data-explore-type="favorite"].is-active { background: #fff1f2; }
    .iame-map__selection-actions button[data-explore-type="visited"].is-active { background: #f0fdf4; }
    .iame-map__selection-actions button[data-explore-type="wishlist"].is-active { background: #fffbeb; }
}
@media (max-width: 1280px) {
    .iame-map__controls { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .iame-map__reset,
    .iame-map__share,
    .iame-map__compare-toggle,
    .iame-map__explore-toggle { width: 100%; }
}
@media (max-width: 820px) {
    .iame-map__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iame-map__search-wrap { grid-column: 1 / -1; }
    .iame-map__explore-stats { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .iame-map__controls { grid-template-columns: 1fr; }
    .iame-map__search-wrap { grid-column: auto; }
    .iame-map__explore { padding: 12px; }
    .iame-map__explore > header { align-items: stretch; flex-direction: column; }
    .iame-map__explore-clear { width: 100%; }
    .iame-map__explore-tools { display: grid; grid-template-columns: 1fr; }
    .iame-map__explore-tools > * { width: 100%; }
    .iame-map__selection > .iame-map__selection-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
}


/* Rota, komşu ve yakındaki ilçeler */
.iame-map__route-toggle.is-active{background:#ede9fe;border-color:#8b5cf6;color:#5b21b6}
.iame-map.is-route-mode .iame-district[role="button"],.iame-map.is-route-mode .iame-district[role="link"]{cursor:crosshair}
.iame-district.is-route-start>path{fill:var(--iame-route-start)!important;filter:drop-shadow(0 0 4px rgba(37,99,235,.45))}
.iame-district.is-route-end>path{fill:var(--iame-route-end)!important;filter:drop-shadow(0 0 4px rgba(220,38,38,.45))}
.iame-map__route-overlay{pointer-events:none}
.iame-map__route-line{fill:none;stroke:var(--iame-route-line);stroke-width:4;stroke-linecap:round;stroke-dasharray:10 7;vector-effect:non-scaling-stroke;filter:drop-shadow(0 2px 3px rgba(15,23,42,.25))}
.iame-map__route-marker{stroke:#fff;stroke-width:3;vector-effect:non-scaling-stroke}
.iame-map__route-marker--start{fill:var(--iame-route-start)}
.iame-map__route-marker--end{fill:var(--iame-route-end)}
.iame-map__route{margin:14px 0 0;padding:16px;border:1px solid #ddd6fe;border-radius:18px;background:linear-gradient(145deg,#fff,#faf5ff);box-shadow:0 12px 30px rgba(91,33,182,.08)}
.iame-map__route[hidden]{display:none!important}
.iame-map__route>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.iame-map__route>header div{display:grid;gap:2px}.iame-map__route>header small{color:#64748b}.iame-map__route>header strong{color:#312e81}
.iame-map__route button{font:inherit}
.iame-map__route-points{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:10px}
.iame-map__route-point{display:flex;align-items:center;gap:10px;min-width:0;padding:12px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;text-align:left;color:#0f172a}
.iame-map__route-point i{width:14px;height:14px;border-radius:50%;flex:0 0 auto;box-shadow:0 0 0 4px rgba(148,163,184,.18)}
.iame-map__route-point--start i{background:var(--iame-route-start)}.iame-map__route-point--end i{background:var(--iame-route-end)}
.iame-map__route-point span{display:grid;min-width:0}.iame-map__route-point small{color:#64748b}.iame-map__route-point strong,.iame-map__route-point em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iame-map__route-point em{font-style:normal;color:#64748b;font-size:.85em}
.iame-map__route-swap{align-self:center;width:42px;height:42px;border:1px solid #c4b5fd;border-radius:999px;background:#fff;color:#6d28d9;font-size:20px}
.iame-map__route-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border-radius:12px;background:#f5f3ff}.iame-map__route-summary span{color:#64748b;font-size:.86em}
.iame-map__route-nearby{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.iame-map__route-nearby>div{padding:12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.iame-map__route-nearby>div>strong{display:block;margin-bottom:8px}
.iame-map__route-nearby-list,.iame-map__route-neighbor-list{display:flex;flex-wrap:wrap;gap:6px}.iame-map__route-nearby button,.iame-map__route-nearby a{max-width:100%;padding:6px 9px;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;color:#334155;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iame-map__route-nearby small{color:#64748b}
.iame-map__route-actions{display:flex;justify-content:flex-end;margin-top:14px}.iame-map__route-run{padding:10px 16px;border:0;border-radius:12px;background:#6d28d9;color:#fff;font-weight:700}.iame-map__route-run:disabled{opacity:.45}
.iame-map__route-clear{border:0;background:transparent;color:#6d28d9}.iame-map__route-clear:disabled{opacity:.45}
@media(max-width:720px){.iame-map__route-points{grid-template-columns:1fr}.iame-map__route-swap{justify-self:center;transform:rotate(90deg)}.iame-map__route-nearby{grid-template-columns:1fr}.iame-map__route-summary{align-items:flex-start;flex-direction:column}}

/* İlçe oyunları, süreli turlar, puan ve başarımlar */
.iame-map__route-toggle,
.iame-map__game-toggle {
    width: 100%;
    min-width: 120px;
    min-height: 44px;
    margin: 0;
    padding: 9px 14px;
    border: 1px solid #8b5cf6;
    border-radius: 12px;
    background: #fff;
    color: #5b21b6;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.iame-map__game-toggle { border-color: #4f46e5; color: #3730a3; }
.iame-map__route-toggle:hover:not(:disabled),
.iame-map__route-toggle:focus-visible:not(:disabled),
.iame-map__game-toggle:hover:not(:disabled),
.iame-map__game-toggle:focus-visible:not(:disabled) {
    background: #f5f3ff;
    outline: 3px solid rgba(124,58,237,.16);
    outline-offset: 2px;
}
.iame-map__route-toggle:disabled,
.iame-map__game-toggle:disabled { opacity: .48; cursor: not-allowed; }
.iame-map__game-toggle.is-active {
    border-color: #7c3aed;
    background: #ede9fe;
    color: #5b21b6;
}
.iame-map.is-game-active .iame-district.is-matched { cursor: crosshair; }
.iame-map.is-game-active .iame-map__selection { display: none !important; }
.iame-map.is-game-active .iame-map__stage { outline: 3px solid color-mix(in srgb, var(--iame-game-target) 22%, transparent); outline-offset: -3px; }
.iame-district.is-game-target > path {
    fill: var(--iame-game-target) !important;
    stroke: #fff !important;
    stroke-width: 2.2 !important;
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--iame-game-target) 70%, transparent));
    animation: iame-game-pulse 1.2s ease-in-out infinite alternate;
}
.iame-district.is-game-correct > path {
    fill: var(--iame-game-correct) !important;
    stroke: #fff !important;
    stroke-width: 2.3 !important;
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--iame-game-correct) 70%, transparent));
}
.iame-district.is-game-wrong > path {
    fill: var(--iame-game-wrong) !important;
    stroke: #fff !important;
    stroke-width: 2.3 !important;
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--iame-game-wrong) 70%, transparent));
}
@keyframes iame-game-pulse { from { opacity: .78; } to { opacity: 1; } }
.iame-map__game {
    margin: 14px 0 0;
    padding: 16px;
    border: 1px solid #ddd6fe;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #faf5ff);
    box-shadow: 0 12px 30px rgba(91,33,182,.09);
}
.iame-map__game[hidden] { display: none !important; }
.iame-map__game button,
.iame-map__game input,
.iame-map__game select { font: inherit; }
.iame-map__game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.iame-map__game-header > div { display: grid; gap: 2px; min-width: 0; }
.iame-map__game-header small,
.iame-map__game-storage { color: #64748b; font-size: 12px; }
.iame-map__game-header strong { color: #312e81; font-size: 17px; }
.iame-map__game-close {
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #c4b5fd;
    border-radius: 10px;
    background: #fff;
    color: #6d28d9;
    font-weight: 800;
    cursor: pointer;
}
.iame-map__game-setup {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr)) auto;
    align-items: end;
    gap: 10px;
}
.iame-map__game-setup label { display: grid; gap: 5px; min-width: 0; color: #475569; font-size: 12px; font-weight: 750; }
.iame-map__game-setup select,
.iame-map__game-setup input {
    width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
}
.iame-map__game-setup label small { color: #94a3b8; font-size: 10px; }
.iame-map__game-start,
.iame-map__game-restart {
    min-height: 42px;
    padding: 9px 16px;
    border: 0;
    border-radius: 11px;
    background: #6d28d9;
    color: #fff;
    font-weight: 850;
    cursor: pointer;
}
.iame-map__game-play { display: grid; gap: 12px; }
.iame-map__game-scoreboard {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}
.iame-map__game-scoreboard > span,
.iame-map__game-summary-grid > span {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    text-align: center;
}
.iame-map__game-scoreboard small,
.iame-map__game-summary-grid small { color: #64748b; font-size: 11px; font-weight: 750; }
.iame-map__game-scoreboard strong,
.iame-map__game-summary-grid b { color: #312e81; font-size: 18px; }
.iame-map__game-question {
    display: grid;
    gap: 5px;
    min-height: 86px;
    place-content: center;
    padding: 15px;
    border-radius: 14px;
    background: linear-gradient(135deg, #312e81, #6d28d9);
    color: #fff;
    text-align: center;
}
.iame-map__game-question-meta { color: #ddd6fe; font-weight: 750; }
.iame-map__game-prompt { font-size: clamp(17px, 2.1vw, 24px); line-height: 1.3; }
.iame-map__game-feedback { min-height: 20px; font-weight: 800; }
.iame-map__game-feedback.is-correct { color: #bbf7d0; }
.iame-map__game-feedback.is-wrong { color: #fecaca; }
.iame-map__game-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}
.iame-map__game-options[hidden] { display: none !important; }
.iame-map__game-option {
    min-height: 44px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #fff;
    color: #0f172a;
    font-weight: 800;
    cursor: pointer;
}
.iame-map__game-option:hover:not(:disabled),
.iame-map__game-option:focus-visible:not(:disabled) { border-color: #7c3aed; outline: 3px solid rgba(124,58,237,.13); outline-offset: 1px; }
.iame-map__game-option.is-correct { border-color: var(--iame-game-correct); background: color-mix(in srgb, var(--iame-game-correct) 13%, #fff); color: #166534; }
.iame-map__game-option.is-wrong { border-color: var(--iame-game-wrong); background: color-mix(in srgb, var(--iame-game-wrong) 10%, #fff); color: #991b1b; }
.iame-map__game-option:disabled { cursor: default; }
.iame-map__game-actions { display: flex; justify-content: flex-end; gap: 8px; }
.iame-map__game-skip,
.iame-map__game-end {
    min-height: 39px;
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
}
.iame-map__game-end { border-color: #fecaca; color: #b91c1c; }
.iame-map__game-summary { display: grid; gap: 12px; text-align: center; }
.iame-map__game-summary > strong { color: #312e81; font-size: 20px; }
.iame-map__game-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.iame-map__game-best { color: #475569; font-weight: 750; }
.iame-map__game-restart { justify-self: center; }
.iame-map.is-fullscreen .iame-map__game { flex: 0 0 auto; max-height: 45dvh; overflow: auto; }
@media (max-width: 1280px) {
    .iame-map__game-setup { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .iame-map__game-start { width: 100%; }
    .iame-map__game-toggle { width: 100%; }
}
@media (max-width: 820px) {
    .iame-map__game-setup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iame-map__game-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .iame-map__game { padding: 12px; }
    .iame-map__game-header { align-items: stretch; flex-direction: column; }
    .iame-map__game-close { width: 100%; }
    .iame-map__game-setup,
    .iame-map__game-scoreboard,
    .iame-map__game-summary-grid,
    .iame-map__game-options { grid-template-columns: 1fr; }
    .iame-map__game-actions { display: grid; grid-template-columns: 1fr; }
    .iame-map__game-actions button { width: 100%; }
}
/* Controlled operations */
.iame-map__safe-mode{display:flex;gap:10px;align-items:flex-start;margin:10px 0;padding:10px 12px;border:1px solid #f59e0b;border-radius:10px;background:#fffbeb;color:#78350f;font-size:13px;line-height:1.45}
.iame-map__safe-mode strong{white-space:nowrap}
.iame-map__safe-mode span{min-width:0}


/* İlçe Atlasım theme synchronization bridge. */
body.iame-theme-synced .iame-theme-bridge {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
body.iame-theme-synced .iame-theme-bridge__description {
    max-width: 760px;
    margin: 0 0 14px;
    color: var(--ia-ds-muted, var(--ia-color-muted, #64748b));
    font: inherit;
    line-height: 1.7;
}
body.iame-theme-synced .iame-map {
    font-family: var(--ia-font-sans, inherit);
    border-color: var(--ia-ds-border, var(--ia-color-border, #dbe4f0));
    border-radius: var(--ia-ds-radius-card, 24px);
    background: var(--ia-ds-surface, var(--ia-color-card, #fff));
    color: var(--ia-ds-ink, var(--ia-color-text, #0f172a));
    box-shadow: var(--ia-ds-shadow-card, 0 14px 36px rgba(15,23,42,.08));
}
body.iame-theme-synced .iame-map__header h2,
body.iame-theme-synced .iame-map__selection-title,
body.iame-theme-synced .iame-map__data-legend > strong {
    color: var(--ia-ds-ink, var(--ia-color-text, #0f172a));
}
body.iame-theme-synced .iame-map__controls,
body.iame-theme-synced .iame-map__footer {
    background: var(--ia-ds-surface, var(--ia-color-card, #fff));
}
body.iame-theme-synced .iame-map__stage,
body.iame-theme-synced .iame-map__data-legend {
    background: var(--ia-ds-surface-soft, var(--ia-color-bg-soft, #f8fafc));
}
body.iame-theme-synced .iame-map__search,
body.iame-theme-synced .iame-map__province,
body.iame-theme-synced .iame-map__layer,
body.iame-theme-synced .iame-map button,
body.iame-theme-synced .iame-map select,
body.iame-theme-synced .iame-map input {
    border-radius: var(--ia-ds-radius-control, 14px);
}
body.iame-theme-synced .iame-map__reset,
body.iame-theme-synced .iame-map__selection-link,
body.iame-theme-synced .iame-map__launcher {
    border-color: var(--ia-ds-brand, #2563eb);
    background: var(--ia-ds-brand, #2563eb);
}
body.iame-theme-synced .iame-map__share,
body.iame-theme-synced .iame-map__reset:hover:not(:disabled),
body.iame-theme-synced .iame-map__selection-link:hover,
body.iame-theme-synced .iame-map__launcher:hover {
    border-color: var(--ia-ds-accent, #0f9f8f);
    background: var(--ia-ds-accent, #0f9f8f);
}
body.iame-theme-synced .iame-map__search:focus,
body.iame-theme-synced .iame-map__province:focus,
body.iame-theme-synced .iame-map__layer:focus,
body.iame-theme-synced .iame-map button:focus-visible {
    border-color: var(--ia-ds-brand, #2563eb);
    outline-color: color-mix(in srgb, var(--ia-ds-brand, #2563eb) 24%, transparent);
}
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)) {
    body.iame-theme-synced .iame-map button:focus-visible { outline-color: rgba(37,99,235,.24); }
}
