/* ANF Festival EMS: the VIC map, shared by the EMS and the festival website. */

/* ---------- Everywhere: added map items and hover details ---------- */
.anfcrm-map { position: relative; }
.anfcrm-feat[tabindex] { cursor: help; }
.anfcrm-feat[tabindex]:focus { outline: none; }
.anfcrm-feat[tabindex]:focus-visible rect, .anfcrm-feat[tabindex]:focus-visible polygon, .anfcrm-feat[tabindex]:focus-visible polyline:last-of-type { stroke: #F2B632; stroke-width: 4; }
.anfcrm-feat-l { font: 700 12px "Atkinson Hyperlegible", Rubik, Arial, sans-serif; fill: #1F2A22; paint-order: stroke; stroke: #FFFDF8; stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.anfcrm-feat-note { font-size: 11px; font-weight: 400; fill: #4C564E; }
.anfcrm-feat-m { font: 700 11px "Atkinson Hyperlegible", Rubik, Arial, sans-serif; fill: #fff; pointer-events: none; }
.anfcrm-sw-st,
.anfvm .anfcrm-sw.anfcrm-sw-st,
.anfcrm-map-key .anfcrm-sw.anfcrm-sw-st,
.anfcrm-traffic-key .anfcrm-sw.anfcrm-sw-st { display: inline-flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 auto; box-sizing: border-box !important; min-width: 28px !important; width: auto !important; height: 22px !important; margin: 0 6px 0 0 !important; padding: 0 5px !important; border-radius: 5px; color: #fff !important; font-family: inherit; font-weight: 700 !important; font-size: 12px !important; line-height: 22px !important; letter-spacing: 0 !important; text-align: center !important; vertical-align: middle !important; overflow: visible; }
.anfcrm-sign-sw-fix, .anfvm .anfcrm-sw-sign { display: inline-block !important; padding: 0 6px !important; line-height: 1.4 !important; height: auto !important; vertical-align: middle !important; }
.anfcrm-map-tip { position: absolute; z-index: 30; max-width: 280px; padding: .6rem .75rem; border-radius: 10px; background: #1E3323; color: #FFFDF8; font: 400 16px/1.4 "Atkinson Hyperlegible", Rubik, Arial, sans-serif; box-shadow: 0 8px 22px rgba(30, 51, 35, .35); pointer-events: none; }
.anfcrm-map-tip[hidden] { display: none; }
.anfcrm-map-tip strong { display: block; font-size: 17px; margin-bottom: .15rem; }
.anfcrm-map-tip span { display: block; }
.anfcrm-map-tip .anfcrm-tip-area { color: #F2D27A; font-weight: 700; }
.anfcrm-map-tip .anfcrm-tip-sum { margin-top: .3rem; color: #CFE3C4; }
.anfcrm-tags-l { font-weight: 700; }

/* ---------- VIC map editor ---------- */
.anfme-map .anfcrm-vicmap { cursor: crosshair; }
.anfme-mark { fill: #B42318; stroke: #fff; stroke-width: 2; pointer-events: none; }
.anfme-status { font-weight: 700; color: #1E3323; }
.anfme-xy { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.anfme-xy label { display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; }
.anfme-xy input { width: 6em; }
.anfme-item { border: 1px solid #E2D5BD; border-radius: 10px; background: #fff; margin: 0 0 .6rem; }
.anfme-item > summary { cursor: pointer; padding: .7rem .9rem; font-weight: 700; color: #1E3323; }
.anfme-item > summary:focus-visible { outline: 3px solid #F2B632; outline-offset: 2px; }
.anfme-item[open] > summary { border-bottom: 1px solid #E2D5BD; }
.anfme-item > form, .anfme-item > p, .anfme-item > form + form { padding: 0 .9rem .6rem; }
.anfme-new { background: #FBF6EC; }
[data-pick].anfme-on { background: #F2B632 !important; border-color: #1E3323 !important; color: #1E3323 !important; }
.anfme-form tbody[hidden] { display: none; }

/* ---------- Festival website ---------- */
.anfvm { --vm-forest: #1f3a26; --vm-cream: #fffdf4; --vm-paper: #fbf5e8; --vm-line: #e2d5bd; --vm-ink: #2a2014; color: var(--vm-ink); font: 400 16px/1.6 Rubik, "Atkinson Hyperlegible", Arial, sans-serif; }
.anfvm .anfvm-loading { padding: 1rem; background: var(--vm-cream); border: 1px dashed #8f7a52; border-radius: 8px; }
.anfvm-card { background: var(--vm-cream); border: 1px solid var(--vm-line); border-radius: 14px; padding: 1.1rem; box-shadow: 0 8px 22px rgba(42, 32, 20, .12); }
.anfvm .anfvm-intro { margin: 0 0 .8rem; font-size: 17px; }
.anfvm .anfcrm-hours, .anfvm .anfcrm-loc-list { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: .5rem 0 .9rem; padding: 0; }
.anfvm .anfcrm-hours li, .anfvm .anfcrm-loc-list li { margin: 0; padding: 0; list-style: none; }
.anfvm .anfcrm-hours li::before, .anfvm .anfcrm-loc-list li::before { content: none; }
.anfvm-btn { font: 700 16px/1.2 Rubik, Arial, sans-serif; color: var(--vm-forest); background: #fff; border: 2px solid var(--vm-forest); border-radius: 999px; padding: .5rem .9rem; cursor: pointer; }
.anfvm-btn:hover { background: #e8f3ea; }
.anfvm-btn[aria-pressed="true"] { background: var(--vm-forest); color: #fff; }
.anfvm-btn:focus-visible { outline: 3px solid #8a2f12; outline-offset: 2px; }
.anfvm .anfcrm-map-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.anfvm .anfcrm-map-scroll { overflow-x: auto; border-radius: 12px; }
.anfvm .anfcrm-map-scroll:focus-visible { outline: 3px solid #8a2f12; outline-offset: 2px; }
.anfvm .anfcrm-vicmap { display: block; width: 100%; height: auto; min-width: 720px; border: 1px solid var(--vm-line); border-radius: 12px; background: #E8EFDF; }
.anfvm .anfcrm-loc { cursor: pointer; }
.anfvm .anfcrm-pin { fill: #FFFDF8; stroke: #1E3323; stroke-width: 2.5; }
.anfvm .anfcrm-loc:hover .anfcrm-pin, .anfvm .anfcrm-loc:focus .anfcrm-pin { fill: #F2B632; }
.anfvm .anfcrm-loc.anfcrm-active .anfcrm-pin { fill: #F2B632; stroke-width: 4; }
.anfvm .anfcrm-loc:focus { outline: none; }
.anfvm .anfcrm-loc:focus-visible .anfcrm-ring { stroke: #1E3323; stroke-width: 3; stroke-dasharray: 5 3; }
.anfvm .anfcrm-pin-n { font: 700 12px "Atkinson Hyperlegible", Rubik, Arial, sans-serif; fill: #1F2A22; pointer-events: none; }
.anfvm .anfcrm-pin-l { font: 700 12px "Atkinson Hyperlegible", Rubik, Arial, sans-serif; fill: #1F2A22; paint-order: stroke; stroke: #FFFDF8; stroke-width: 4px; stroke-linejoin: round; }
.anfvm .anfcrm-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; margin: .7rem 0 .3rem; padding: 0; }
.anfvm .anfcrm-legend li { display: flex; align-items: center; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.anfvm .anfcrm-legend li::before { content: none; }
.anfvm .anfcrm-sw { display: inline-block; width: 16px; height: 16px; border-radius: 4px; }
.anfvm .anfcrm-chart-note { font-size: 16px; margin: .3rem 0 0; }
.anfvm .anfcrm-map-panel { background: var(--vm-paper); border: 1px solid var(--vm-line); border-radius: 12px; padding: 1rem; min-height: 200px; max-height: 640px; overflow: auto; }
.anfvm .anfcrm-map-panel h3, .anfvm .anfcrm-loc-dialog h3 { margin: 0 0 .6rem; font: 700 20px/1.3 "Frank Ruhl Libre", Georgia, serif; color: var(--vm-forest); }
.anfvm .anfcrm-map-panel h4 { margin: 1rem 0 .4rem; font: 700 18px/1.3 "Frank Ruhl Libre", Georgia, serif; color: var(--vm-forest); }
.anfvm .anfcrm-loc-h { margin: 1.1rem 0 .2rem; font: 700 20px/1.3 "Frank Ruhl Libre", Georgia, serif; color: var(--vm-forest); }
.anfvm .anfcrm-loc-shifts { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.anfvm .anfcrm-loc-shifts > li { margin: 0; padding: .7rem .85rem; border: 1px solid var(--vm-line); border-radius: 10px; background: #fff; list-style: none; }
.anfvm .anfcrm-loc-shifts > li::before { content: none; }
.anfvm .anfcrm-loc-shifts p { margin: 0 0 .3rem; padding: 0; }
.anfvm .anfcrm-small { font-size: 16px; color: #4c564e; }
.anfvm .anfcrm-tag { display: inline-block; margin: .15rem .2rem .15rem 0; padding: .1rem .55rem; border-radius: 999px; background: #e8f3ea; color: #1e3323; font-weight: 700; font-size: 16px; }
.anfvm .anfcrm-loc-about { margin: .8rem 0 0; padding: .6rem .8rem; background: #E8F3EA; border-left: 5px solid #2E6B3F; border-radius: 8px; font-weight: 700; }
.anfvm .anfcrm-loc-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; padding: 0; border: 0; border-top: 6px solid #2E6B3F; border-radius: 14px; background: #FFFDF8; color: var(--vm-ink); box-shadow: 0 18px 50px rgba(30, 51, 35, .35); }
.anfvm .anfcrm-loc-dialog::backdrop { background: rgba(30, 51, 35, .55); }
.anfvm .anfcrm-loc-dialog-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; background: #FBF6EC; border-bottom: 1px solid var(--vm-line); }
.anfvm .anfcrm-loc-dialog-top h2 { margin: 0; padding: 0; font: 700 22px/1.25 "Frank Ruhl Libre", Georgia, serif; color: var(--vm-forest); }
.anfvm .anfcrm-loc-dialog-top h2:focus { outline: none; }
.anfvm .anfcrm-loc-dialog-body { padding: .4rem 1.2rem 1.2rem; }
.anfvm .anfcrm-loc-dialog-body h3 { margin: 1.1rem 0 .5rem; }
.anfvm .screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anfvm .anfvm-swipe { display: none; margin: 0 0 .5rem; font-weight: 700; }
@media (max-width: 760px) { .anfvm .anfvm-swipe { display: block; } }
@media (max-width: 980px) { .anfvm .anfcrm-map-wrap { grid-template-columns: minmax(0, 1fr); } .anfvm .anfcrm-map-panel { max-height: none; } }
@media (max-width: 600px) { .anfvm-card { padding: .8rem; } .anfvm .anfcrm-loc-dialog { width: 100vw; max-width: 100vw; max-height: 100vh; border-radius: 0; } }
/* Themes that style lists in page content: keep the map's buttons and lists plain. */
body #main-content .et_pb_section .et_pb_text .anfvm ul, .entry-content .anfvm ul { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.anfvm ul li::before { content: none !important; }

/* One-way accessible route in the map key: dotted line with an arrow. */
.anfcrm-sw-oneway { display: inline-block; width: 26px; height: 12px; border-radius: 0; background: radial-gradient(circle, #1D4F75 1.8px, transparent 2.2px) 0 50% / 7px 7px repeat-x; position: relative; }
.anfcrm-sw-oneway::after { content: ""; position: absolute; right: -2px; top: 2px; width: 6px; height: 6px; border-top: 2.4px solid #1D4F75; border-right: 2.4px solid #1D4F75; transform: rotate(45deg); }

/* ---------------- Map toolbox (admin only) ---------------- */
.anfmt-wrap { display: grid; grid-template-columns: 266px minmax(0, 1fr); gap: 14px; align-items: start; }
.anfmt-box { box-sizing: border-box; width: 100%; background: #FFFDF8; border: 2px solid #1E3323; border-radius: 14px; padding: 10px; position: sticky; top: 92px; max-height: calc(100vh - 110px); overflow-y: auto; }
.anfmt-box h3 { margin: 0 0 2px; font: 700 1.05rem Arvo, Georgia, serif; color: #1E3323; }
.anfmt-sub { margin: 0 0 6px; font-size: .8rem; color: #3E4A40; line-height: 1.35; }
.anfmt-box h4 { margin: 10px 0 5px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #4C564E; }
.anfmt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.anfmt-t { box-sizing: border-box; min-width: 0; width: 100%; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px 6px; border: 1.5px solid #9C9078; border-radius: 9px; background: #fff; color: #1F2A22; font: 700 .78rem/1.15 "Atkinson Hyperlegible", Arial, sans-serif; text-align: left; cursor: grab; touch-action: none; box-shadow: 0 1px 0 #D9CEB8; }
.anfmt-t span { min-width: 0; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.anfmt-t svg { flex: 0 0 22px; width: 22px; height: 22px; }
.anfmt-t:hover { background: #F6F1E6; }
.anfmt-t:focus-visible { outline: 3px solid #F2B632; outline-offset: 2px; }
.anfmt-t[aria-pressed="true"] { background: #FFF1C6; border-color: #A86F00; outline: 3px solid #F2B632; outline-offset: 1px; }
.anfmt-wide { grid-column: 1 / -1; }
.anfmt-ghost { position: fixed; z-index: 100000; width: 150px; pointer-events: none; opacity: .95; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(15,29,18,.3); }
.anfmt-help { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid #E2D5BD; font-size: .78rem; line-height: 1.4; color: #3E4A40; }
.anfmt-undo { display: block; margin-top: 6px; min-height: 36px; padding: 2px 14px; border: 2px solid #1E3323; border-radius: 8px; background: #FFFDF8; font-weight: 700; color: #1E3323; cursor: pointer; }
.anfmt-undo:disabled { border-style: dashed; border-color: #8A948B; color: #4C564E; cursor: not-allowed; }
.anfmt-draw { margin-top: 10px; padding: 8px; border: 2px solid #A86F00; border-radius: 10px; background: #FFF6DE; }
.anfmt-draw p { margin: 0 0 6px; font-size: .8rem; font-weight: 700; color: #4A3200; }
.anfmt-draw-btns { display: flex; flex-wrap: wrap; gap: 5px; }
.anfmt-draw-btns .anfcrm-btn { min-height: 36px; font-size: .8rem; padding: 2px 9px; }
.anfmt-draw[hidden], .anfmt-pop[hidden] { display: none !important; }
.anfme-tools .anfcrm-map { position: relative; }
.anfme-tools .anfcrm-vicmap { touch-action: none; }
.anfme-tools .anfcrm-vicmap [data-fid], .anfme-tools .anfcrm-vicmap .anfcrm-locs [data-loc] { cursor: move; }
.anfme-tools .anfcrm-vicmap [data-fid]:focus-visible, .anfme-tools .anfcrm-vicmap [data-loc]:focus-visible { outline: 3px solid #F2B632; }
.anfmt-armed .anfcrm-vicmap, .anfmt-armed .anfcrm-vicmap * { cursor: crosshair !important; }
.anfmt-drop .anfcrm-vicmap { outline: 3px dashed #A86F00; outline-offset: 3px; }
.anfmt-sel rect { fill: none; stroke: #F2B632; stroke-width: 2.5; stroke-dasharray: 5 3; pointer-events: none; }
.anfmt-vx { fill: #FFFDF8; stroke: #A86F00; stroke-width: 2.2; cursor: grab; }
.anfmt-preview polyline, .anfmt-preview polygon { fill: rgba(242,182,50,.18); stroke: #A86F00; stroke-width: 2.5; stroke-dasharray: 6 4; pointer-events: none; }
.anfmt-preview polyline { fill: none; }
.anfmt-preview circle { fill: #F2B632; stroke: #4A3200; stroke-width: 1.5; pointer-events: none; }
.anfmt-pop { position: absolute; z-index: 20; box-sizing: border-box; width: 270px; max-width: calc(100% - 8px); background: #fff; border: 2px solid #1E3323; border-radius: 12px; box-shadow: 0 12px 30px rgba(15,29,18,.28); padding: 10px 11px 11px; font-size: .85rem; }
.anfmt-pop-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.anfmt-pop h4 { margin: 0; font: 700 .95rem Arvo, Georgia, serif; color: #1E3323; }
.anfmt-x { min-height: 32px; border: 1.5px solid #5E6B60; border-radius: 7px; background: #FFFDF8; font-weight: 700; cursor: pointer; }
.anfmt-pop label { display: block; margin: 6px 0 2px; font-weight: 700; color: #1E3323; }
.anfmt-pop input[type="text"], .anfmt-pop input[type="number"], .anfmt-pop select { box-sizing: border-box; width: 100%; min-height: 36px; border: 1.5px solid #5E6B60; border-radius: 7px; padding: 3px 7px; font-size: .9rem; background: #fff; }
.anfmt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.anfmt-pop .anfmt-chk { display: flex; gap: 6px; align-items: center; }
.anfmt-pop .anfmt-chk input { width: 20px; height: 20px; }
.anfmt-note { margin: 6px 0; color: #3E4A40; font-size: .8rem; }
.anfmt-pop-btns { display: flex; gap: 6px; margin-top: 9px; }
.anfmt-pop-btns .anfcrm-btn, .anfmt-pop [data-pop="reverse"] { min-height: 38px; }
.anfmt-del { color: #8E1B1B; border-color: #8E1B1B; }
.anfmt-status { margin: .5rem 0 0; font-weight: 700; color: #1E3323; min-height: 1.4em; }
@media (max-width: 1100px) {
	.anfmt-wrap { grid-template-columns: minmax(0, 1fr); }
	.anfmt-box { position: static; max-height: none; }
	.anfmt-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
}

/* ---------------- Traffic and parking map ---------------- */
.anfcrm-trafficmap { max-width: 640px; }
.anfcrm-feat-sign { font: 700 10px "Atkinson Hyperlegible", Arial, sans-serif; fill: #1F2A22; }
.anfcrm-trafficmap .anfcrm-pin-d { fill: #F2B632; stroke: #4A3200; stroke-width: 2; }
.anfcrm-trafficmap .anfcrm-loc.anfcrm-active .anfcrm-pin-d, .anfcrm-trafficmap .anfcrm-loc:focus-visible .anfcrm-pin-d { stroke: #1E3323; stroke-width: 3.5; }
.anfcrm-key-line { flex: none; }
.anfcrm-sw-sign { display: inline-block; border: 1.5px solid #1F2A22; border-radius: 8px; padding: 0 6px; font-size: 10px; font-weight: 700; background: #FFFDF8; line-height: 1.4; }
.anfcrm-sw-diamond { display: inline-block; width: 12px; height: 12px; margin: 0 3px; transform: rotate(45deg); background: #F2B632; border: 2px solid #4A3200; }
.anfmt-photo-ctl { margin: 10px 0 0; padding: 8px; border: 1px solid #E2D5BD; border-radius: 10px; background: #F6F1E6; }
.anfmt-photo-ctl label { display: block; font-weight: 700; font-size: .8rem; color: #1E3323; margin-bottom: 4px; }
.anfmt-photo-ctl input[type="range"] { width: 100%; accent-color: #1E3323; }
.anfmt-photo-ctl p { margin: 4px 0 0; font-size: .75rem; color: #3E4A40; }
.anfme-traffic .anfcrm-map { max-width: 680px; }
.anfmt-photo { pointer-events: none; }
/* The traffic map is tall, not wide: it fits its column instead of scrolling sideways. */
.anfcrm-map-scroll > .anfcrm-trafficmap, .anfvm .anfcrm-trafficmap, .anfcrm-trafficmap { display: block; min-width: 300px; width: 100%; max-width: 640px; height: auto; }
.anfme-traffic .anfcrm-map { max-width: 660px; }
/* On narrow screens the traffic map keeps a readable size and scrolls sideways in its labeled region. */
@media (max-width: 600px) {
	.anfcrm-map-scroll > .anfcrm-trafficmap, .anfvm .anfcrm-map-scroll > .anfcrm-trafficmap { min-width: 500px; }
	.anfvm-parking .anfcrm-map-scroll { overflow-x: auto; }
}
/* Save bar, resize handle. */
.anfmt-savebar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding: 8px; border: 2px solid #1E3323; border-radius: 10px; background: #EEF6E3; }
.anfmt-saved { display: flex; align-items: center; gap: 6px; margin: 0; flex: 1 1 120px; font-weight: 700; font-size: .85rem; color: #135B2A; }
.anfmt-dot { width: 10px; height: 10px; border-radius: 50%; background: #1F7A3A; flex: none; }
.anfmt-saved.anfmt-busy { color: #5C4A00; } .anfmt-saved.anfmt-busy .anfmt-dot { background: #A87400; }
.anfmt-saved.anfmt-bad { color: #8E1B1B; } .anfmt-saved.anfmt-bad .anfmt-dot { background: #C62828; }
.anfmt-savebtn { min-height: 40px; }
.anfmt-rs { fill: #FFFDF8; stroke: #A86F00; stroke-width: 2.2; cursor: nwse-resize; }
.anfmt-rs-prev { fill: rgba(242,182,50,.15); stroke: #A86F00; stroke-width: 2; stroke-dasharray: 5 3; pointer-events: none; }
.anfmt-sel .anfmt-rs { pointer-events: all; fill: #FFFDF8; stroke: #A86F00; stroke-width: 2.2; stroke-dasharray: none; }
.anfme-tools .anfcrm-feat-label .anfcrm-feat-l { pointer-events: auto; cursor: move; }
.anfme-tools .anfcrm-locs .anfcrm-pin-l { cursor: grab; }
.anfmt-labmove { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 8px 0 2px; }
.anfmt-labmove span { font-weight: 700; color: #1E3323; width: 100%; }
.anfmt-labmove .anfcrm-btn { min-height: 34px; padding: 2px 10px; font-size: .82rem; }
/* Toolbox sized for the EMS minimum text size of 16px: wider panel, names wrap between words inside each button. */
.anfmt-wrap { grid-template-columns: 340px minmax(0, 1fr); }
.anfmt-box { scrollbar-gutter: stable; }
.anfmt-box .anfmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.anfmt-box .anfmt-t { font-size: 1rem; line-height: 1.2; padding: 6px 8px; gap: 7px; min-height: 48px; }
.anfmt-box .anfmt-t span { overflow-wrap: break-word; word-break: normal; min-width: 0; flex: 1 1 auto; }
@media (max-width: 1100px) {
	.anfmt-wrap { grid-template-columns: minmax(0, 1fr); }
	.anfmt-box .anfmt-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
.anfcrm-loc-static { cursor: default; }
.anfcrm-loc-static { cursor: default; }
/* Parking and arrival map: the map key sits beside the tall map on wider screens. */
.anfcrm-key-h { margin: 1rem 0 .3rem; font-size: 1.15rem; line-height: 1.3; color: #1E3323; }
.anfcrm-map-side .anfcrm-key-side .anfcrm-legend { flex-direction: column; flex-wrap: nowrap; gap: .55rem; }
@media (min-width: 820px) {
	.anfcrm-map.anfcrm-map-side { display: grid; grid-template-columns: minmax(300px, 640px) minmax(220px, 340px); column-gap: 2rem; align-items: start; }
	.anfcrm-map-side > .anfcrm-map-scroll { grid-column: 1; grid-row: 1; }
	.anfcrm-map-side > .anfcrm-key-side { grid-column: 2; grid-row: 1; position: sticky; top: 120px; }
	.anfcrm-map-side .anfcrm-key-h { margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) { .anfcrm-map-side > .anfcrm-key-side { transition: top .2s; } }
/* Toolbox: scale handles on every side and corner, and layer controls. */
.anfmt-sel .anfmt-frame { fill: none; stroke: #A86F00; stroke-width: 1.5; stroke-dasharray: 3 3; pointer-events: none; }
.anfmt-sel .anfmt-rs-nw, .anfmt-sel .anfmt-rs-se { cursor: nwse-resize; }
.anfmt-sel .anfmt-rs-ne, .anfmt-sel .anfmt-rs-sw { cursor: nesw-resize; }
.anfmt-sel .anfmt-rs-n, .anfmt-sel .anfmt-rs-s { cursor: ns-resize; }
.anfmt-sel .anfmt-rs-e, .anfmt-sel .anfmt-rs-w { cursor: ew-resize; }
.anfmt-rs-prev + polygon, .anfmt-rs-prev + polyline { fill: rgba(242,182,50,.18); stroke: #A86F00; stroke-width: 2; stroke-dasharray: 5 3; pointer-events: none; }
.anfmt-pop .anfmt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0 2px; }
.anfmt-pop .anfmt-grid-h { grid-column: 1 / -1; font-weight: 700; color: #1E3323; }
.anfmt-pop .anfmt-grid .anfcrm-btn { min-height: 38px; justify-content: center; }
.anfmt-pop { max-height: calc(100vh - 140px); overflow-y: auto; }
.anfmt-pop { width: 300px; overflow-x: hidden; }
.anfmt-pop .anfmt-grid .anfcrm-btn { white-space: normal; line-height: 1.2; padding: 4px 6px; min-width: 0; text-align: center; }
.anfmt-pop .anfmt-grid-1 { grid-template-columns: 1fr; }
.anfvm .anfcrm-sw.anfcrm-sw-zebra, .anfcrm-sw.anfcrm-sw-zebra { width: 26px !important; height: 14px !important; border-radius: 2px !important; background: repeating-linear-gradient(90deg, #FFFFFF 0 3px, #5C5A55 3px 6px) !important; border: 2px solid #5C5A55 !important; }
/* Turning grip. */
.anfmt-sel .anfmt-rot { cursor: grab; pointer-events: all; }
.anfmt-sel .anfmt-rot circle { fill: #FFFDF8; stroke: #A86F00; stroke-width: 2.2; }
.anfmt-sel .anfmt-rot path { stroke: #7A4E00; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.anfmt-sel .anfmt-rot-l { stroke: #A86F00; stroke-width: 1.5; stroke-dasharray: 2 2; pointer-events: none; }
.anfmt-sel .anfmt-rot:hover circle { fill: #F2B632; }
.anfmt-pop .anfmt-span2 { grid-column: 1 / -1; }
.anfmt-pop textarea { box-sizing: border-box; width: 100%; min-height: 36px; border: 1.5px solid #5E6B60; border-radius: 7px; padding: 6px 7px; font: inherit; font-size: .9rem; line-height: 1.35; background: #fff; resize: vertical; }
.anfcrm-key-wc { flex: none; vertical-align: middle; margin-right: 6px; }
.anfvm .anfcrm-sw.anfcrm-sw-wet, .anfcrm-sw.anfcrm-sw-wet { background: #D3E4C8 repeating-linear-gradient(90deg, transparent 0 4px, #4E7A3A 4px 5px) !important; border: 2px solid #4E7A3A !important; }
/* Zoom controls on every map. */
.anfcrm-zoom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.anfcrm-zoom .anfcrm-zoom-b { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 2px solid #1E3323; border-radius: 999px; background: #FFFDF8; color: #1E3323; font: 700 16px/1.2 "Atkinson Hyperlegible", Rubik, Arial, sans-serif; cursor: pointer; }
.anfcrm-zoom .anfcrm-zoom-b span { font-size: 20px; line-height: 1; }
.anfcrm-zoom .anfcrm-zoom-b:hover:not(:disabled) { background: #EEF6E3; }
.anfcrm-zoom .anfcrm-zoom-b:focus-visible { outline: 3px solid #1D4F75; outline-offset: 2px; }
.anfcrm-zoom .anfcrm-zoom-b:disabled { border-color: #8C8C80; color: #5F5F55; background: #F2F2EE; cursor: default; }
.anfcrm-zoom .anfcrm-zoom-lvl { font: 700 15px/1.2 "Atkinson Hyperlegible", Rubik, Arial, sans-serif; color: #3E4A40; margin-left: 4px; }
.anfcrm-zoomed { overflow: auto !important; overscroll-behavior: contain; cursor: grab; }
.anfme-tools .anfcrm-zoomed { cursor: auto; }
.anfcrm-zoomed.anfcrm-panning { cursor: grabbing; user-select: none; }
.anfcrm-zoomed:focus-visible { outline: 3px solid #1D4F75; outline-offset: 2px; }
@media (min-width: 820px) {
	.anfcrm-map.anfcrm-map-side > .anfcrm-zoom { grid-column: 1; grid-row: 1; }
	.anfcrm-map.anfcrm-map-side > .anfcrm-map-scroll { grid-column: 1; grid-row: 2; }
	.anfcrm-map.anfcrm-map-side > .anfcrm-key-side { grid-column: 2; grid-row: 1 / span 2; }
}
.anfmt-photo-ctl label + input + p + label, .anfmt-photo-ctl p + label { margin-top: 10px; }
/* Drawing controls sit on top of the map while you add points. */
.anfmt-draw.anfmt-draw-onmap { position: sticky; top: 76px; z-index: 6; margin: 0 0 8px; box-shadow: 0 4px 12px rgba(30, 51, 35, .18); }
.anfmt-draw.anfmt-draw-onmap p { font-size: .9rem; }
svg.anfmt-drawing { cursor: crosshair; }
svg.anfmt-drawing [data-fid], svg.anfmt-drawing [data-loc] { cursor: crosshair; }
/* Volunteer post pins: green disc with a person. Hover and focus turn it gold, with a dark ring. */
.anfcrm-vicmap .anfcrm-loc .anfcrm-pin.anfcrm-pin-v, .anfvm .anfcrm-pin.anfcrm-pin-v { fill: #2F6B45; stroke: #FFFDF8; stroke-width: 2; }
.anfcrm-vicmap .anfcrm-loc:hover .anfcrm-pin-v, .anfcrm-vicmap .anfcrm-loc:focus .anfcrm-pin-v, .anfcrm-vicmap .anfcrm-loc.anfcrm-active .anfcrm-pin-v,
.anfvm .anfcrm-loc:hover .anfcrm-pin-v, .anfvm .anfcrm-loc:focus .anfcrm-pin-v, .anfvm .anfcrm-loc.anfcrm-active .anfcrm-pin-v { fill: #1E3323; stroke: #F2B632; stroke-width: 3; }
/* Toolbox tile with its Website switch underneath. The switch always says On or Off in words. */
.anfmt-tw { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.anfmt-pubsw { display: flex; align-items: center; gap: 6px; width: 100%; min-height: 30px; padding: 3px 6px; border: 1px solid #C9BDA4; border-radius: 7px; background: #FFFDF8; color: #1F2A22; font: 400 .74rem/1.1 "Atkinson Hyperlegible", Arial, sans-serif; cursor: pointer; text-align: left; }
.anfmt-pubsw:hover { background: #F6F1E6; }
.anfmt-pubsw:focus-visible { outline: 3px solid #F2B632; outline-offset: 2px; }
.anfmt-pubsw:disabled { opacity: .6; cursor: progress; }
.anfmt-pubsw-k { position: relative; flex: 0 0 28px; width: 28px; height: 16px; border-radius: 8px; background: #6B6455; border: 1px solid #4A4438; }
.anfmt-pubsw-k::after { content: ""; position: absolute; top: 1px; left: 1px; width: 12px; height: 12px; border-radius: 50%; background: #FFFDF8; transition: left .15s; }
.anfmt-pubsw[aria-checked="true"] .anfmt-pubsw-k { background: #2F6B45; border-color: #1E3323; }
.anfmt-pubsw[aria-checked="true"] .anfmt-pubsw-k::after { left: 13px; }
@media (prefers-reduced-motion: reduce) { .anfmt-pubsw-k::after { transition: none; } }
/* Add-a-point handles between the points of a line or area, and the selected point. */
.anfmt-mid { cursor: copy; }
.anfmt-mid circle { fill: #1D4F75; stroke: #FFFDF8; stroke-width: 1.6; }
.anfmt-mid path { stroke: #FFFDF8; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.anfmt-mid:hover circle { fill: #A86F00; }
.anfmt-vx.anfmt-vx-on { fill: #F2B632; stroke: #1F2A22; stroke-width: 2.6; }
/* The edit box can be dragged by its top bar. */
.anfmt-pop .anfmt-pop-top { cursor: move; touch-action: none; user-select: none; margin: -10px -11px 6px; padding: 8px 9px 8px 8px; background: #EEF3EC; border-bottom: 1px solid #C9D6C4; border-radius: 10px 10px 0 0; }
.anfmt-pop .anfmt-pop-top h4 { flex: 1 1 auto; min-width: 0; }
.anfmt-pop-grip { display: inline-flex; flex: 0 0 auto; }
.anfmt-pop-grip svg { fill: #4A5A4D; }
.anfmt-pop .anfmt-pop-top .anfmt-x { cursor: pointer; flex: 0 0 auto; }
.anfmt-pop .anfmt-pop-hint { margin: 0 0 4px; font-size: .78rem; }
.anfmt-pop.anfmt-pop-dragging { box-shadow: 0 18px 40px rgba(15,29,18,.38); opacity: .96; }
