.program-map { color: #222a2c; padding: 12px 16px 16px; }
.pm-summary,.pm-base-tools,.pm-find,.pm-pages,.pm-actions,.pm-card { display: flex; align-items: center; gap: 10px; }
.pm-summary { justify-content: space-between; margin: 0 0 10px; }
.pm-summary b { font-size: 16px; }
.pm-summary span,.pm-count,.pm-status,.pm-pages span { color: #565e60; font-size: 13px; }
.pm-canvas { position: relative; height: clamp(285px,41vw,405px); overflow: hidden; isolation: isolate; background: #edf0e8; border: 1px solid #cad2cc; border-radius: 13px; touch-action: none; cursor: grab; }
.pm-canvas:active { cursor: grabbing; }
.pm-canvas:focus-visible,.program-map :is(a,button,input):focus-visible { outline: 3px solid #126557; outline-offset: 2px; }
.pm-base,.pm-tiles,.pm-pins { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pm-base { background: linear-gradient(128deg,#edf0e8,#e7ece4); }
.pm-graticule { stroke: #cad3c8; stroke-width: 1; fill: none; stroke-dasharray: 2 4; }
.pm-grid-label { fill: #59655e; font: 9px system-ui,sans-serif; }
.pm-road { fill: none; stroke-linejoin: round; stroke-linecap: round; }
.pm-road-2 { stroke: #fff; stroke-width: 2.5px; }
.pm-road-1 { stroke: #d5bc8f; stroke-width: 3.3px; }
.pm-road-0 { stroke: #cbaa87; stroke-width: 4.5px; }
.pm-road-label { font: 500 11px system-ui,sans-serif; fill: #525a51; paint-order: stroke; stroke: #f6f6ed; stroke-width: 3px; stroke-linejoin: round; }
.pm-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; user-select: none; }
.program-map .pm-pin { position: absolute; pointer-events: auto; transform: translate(-50%,-50%); display: grid; place-content: center; min-width: 27px; height: 27px; margin: 0; padding: 0 4px; border-radius: 50%; border: 2px solid white; box-shadow: 0 1px 5px #293c3840; background: #176558; color: white; font: 700 12px/1 system-ui,sans-serif; cursor: pointer; }
.program-map .pm-pin.pm-cluster { min-width: 35px; height: 35px; border-width: 3px; background: #183f39; }
.program-map .pm-pin.pm-selected { background: #a24224; box-shadow: 0 0 0 3px #f7b097aa; z-index: 1; }
.pm-compass,.pm-scale,.pm-attribution,.pm-zoom { position: absolute; z-index: 2; background: #fffffff0; color: #36443e; }
.pm-compass { left: 10px; top: 9px; padding: 4px 7px; border-radius: 5px; font: 700 12px system-ui,sans-serif; pointer-events: none; }
.pm-scale { bottom: 7px; left: 10px; text-align: center; border: solid #4e5b52; border-width: 0 1px 2px; font: 600 10px system-ui,sans-serif; pointer-events: none; }
.pm-attribution { bottom: 0; right: 0; padding: 1px 5px; font: 10px/1.5 system-ui,sans-serif; }
.pm-attribution a { text-decoration: underline; color: inherit; }
.pm-zoom { top: 9px; right: 9px; display: flex; overflow: hidden; border-radius: 7px; border: 1px solid #b7c4be; }
.program-map button { color: #21534a; cursor: pointer; }
.pm-zoom button { min-height: 34px; min-width: 34px; padding: 4px 7px; font-size: 14px; background: white; border: 0; }
.pm-zoom button + button { border-left: 1px solid #d7dfda; }
.program-map button:disabled { opacity: .4; cursor: default; }
.pm-base-tools { min-height: 32px; flex-wrap: wrap; margin: 3px 0 8px; }
.pm-base-tools button,.pm-find button,.pm-actions button,.pm-pages button { font: inherit; background: transparent; border: 0; padding: 5px 0; font-size: 13px; }
.pm-base-tools button,.pm-actions a { text-decoration: underline; text-underline-offset: 3px; }
.pm-find { justify-content: space-between; margin-top: 8px; }
.pm-find label { width: min(370px,100%); display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pm-find input { min-width: 0; width: 100%; padding: 7px 10px; border: 1px solid #bfc9c2; border-radius: 6px; background: white; }
.pm-find button[hidden] { display: none; }
.pm-results .pm-count { margin: 8px 0 2px; }
.pm-card { justify-content: space-between; padding: 9px 3px; border-top: 1px solid #e1e7e2; }
.pm-card.pm-current { background: #edf4ef; }
.pm-card > div:first-child { min-width: 0; }
.pm-card > div:first-child a { color: #243b35; font-weight: 650; font-size: 14px; overflow-wrap: anywhere; }
.pm-card small { display: block; margin-top: 3px; color: #5e6964; font-size: 12px; overflow-wrap: anywhere; }
.pm-actions { flex: none; gap: 10px; }
.pm-actions a,.pm-pages button { color: #21534a; font-size: 13px; }
.pm-pages { justify-content: flex-end; }
.pm-pages button { min-height: 36px; }
@media(max-width:600px) {
  .program-map { padding: 10px 7px 14px; }
  .pm-summary,.pm-find,.pm-card { gap: 6px; }
  .pm-find { flex-wrap: wrap; }
  .pm-find label { width: 100%; }
  .pm-actions { gap: 6px; }
  .pm-canvas { height: 285px; }
}
