@layer page {
@keyframes act-draw {
from { clip-path: inset(0 100% 0 0); }
to { clip-path: inset(0 0 0 0); }
}
.pg-action .act-map { display: grid; gap: var(--s4); margin-top: var(--s4); padding: clamp(20px, 3vw, 28px); }
.pg-action .act-map h3 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.pg-action .act-map-figure { margin: 0; }
.pg-action .act-map-svg { display: block; width: 100%; height: auto; }
.pg-action .act-map-notes { display: grid; gap: var(--s3); }
.pg-action .act-map-legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0; padding: 0; list-style: none; }
.pg-action .act-map-key { display: flex; align-items: center; gap: var(--s2); font-family: var(--font-label); font-weight: 500; }
.pg-action .act-map-key::before { content: ''; flex: none; width: 32px; height: 8px; border-radius: 4px; }
.pg-action .act-map-private::before { background: var(--orange); }
.pg-action .act-map-public::before { background: var(--teal); }
.pg-action .act-map-line { font-size: var(--t-lead); font-weight: 700; line-height: 1.4; text-wrap: pretty; }
.pg-action .act-map.is-undrawn .pm-walks-private { opacity: 0; }
@media (max-width: 767px) {
.pg-action .act-map-figure { margin-inline: calc(-1 * clamp(20px, 3vw, 28px)); }
}
@media (min-width: 1024px) {
.pg-action .act-map { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; grid-template-areas: "map head" "map notes"; column-gap: var(--s7); margin-top: var(--s5); padding: clamp(20px, 3.4vw, 36px); }
.pg-action .act-map h3 { grid-area: head; align-self: end; font-size: 2.75rem; line-height: 1; }
.pg-action .act-map-figure { grid-area: map; align-self: center; }
.pg-action .act-map-notes { grid-area: notes; align-content: start; gap: var(--s4); }
.pg-action .act-map-legend { flex-direction: column; gap: var(--s2); }
.pg-action .act-map-key { font-size: 1.25rem; }
.pg-action .act-map-key::before { width: 44px; height: 10px; border-radius: 5px; }
}
@media (prefers-reduced-motion: no-preference) {
.pg-action .act-map.is-drawing .pm-walks-private { animation: act-draw 700ms var(--ease-out) both; }
}
}
