.pitch-layout { scroll-margin-top: 1.5rem; font-size: 1rem; }
.pitch-layout-heading, .pitch-layout-dialog-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
.pitch-layout-heading h2 { margin: 0; }
.pitch-layout-heading > .button { min-height: 2rem; padding: .3rem .6rem; font-size: .875rem; line-height: 1.3; }
.pitch-layout-workspace { overflow: hidden; border: 1px solid var(--colour-border); border-radius: 8px; background: var(--colour-surface); }
.pitch-layout-map { width: 100%; height: 28rem; z-index: 0; background: #e3e9df; color: #242424; font: 14px/1.5 Arial, Helvetica, sans-serif; }
.pitch-layout-map .leaflet-tile-pane { filter: saturate(.75); }
.pitch-layout-map .leaflet-control-attribution { max-width: calc(100% - 1rem); padding: .15rem .4rem; font-size: 11px; color: #242424; background: rgba(255,255,255,.94); }
.pitch-layout-map .leaflet-control-attribution a { color: #470a68; }
.pitch-layout-map .leaflet-control-zoom a { color: #242424; text-decoration: none; }
.pitch-layout-label-icon { display: flex; align-items: center; justify-content: center; border: 0; background: transparent; }
.pitch-layout-label { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border: 2px solid #fff; border-radius: 999px; background: #5d1683; box-shadow: 0 2px 5px #0003; color: #fff; font: 700 14px/1 Arial, Helvetica, sans-serif; white-space: nowrap; transform: scale(var(--pitch-label-scale, 1)); }
.pitch-layout-map.is-overview .pitch-layout-label { width: var(--pitch-dot-size, 8px); height: var(--pitch-dot-size, 8px); border-width: var(--pitch-dot-border, 1.5px); box-shadow: none; color: transparent; font-size: 0; transform: none; }
.pitch-layout-workspace .location-map-status { margin: 1rem; }
.pitch-layout-dialog { width: min(76rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); padding: 1.25rem; border: 1px solid var(--colour-border); border-radius: 12px; background: var(--colour-background); color: var(--colour-text); overflow: auto; }
.pitch-layout-dialog::backdrop { background: rgba(22, 11, 29, .7); }
.pitch-layout-dialog-heading h2 { margin: 0; font-size: 1.4rem; }
.pitch-layout-dialog .pitch-layout-map { height: min(65dvh, 42rem); min-height: 17rem; }
body.pitch-layout-modal-open { overflow: hidden; }
@media (max-width: 600px) {
    .pitch-layout-map { height: 25rem; }
    .pitch-layout-dialog { width: calc(100% - 1rem); max-height: calc(100dvh - 1rem); padding: .75rem; }
    .pitch-layout-dialog-heading { gap: .75rem; }
    .pitch-layout-dialog-heading > .button { width: 100%; }
    .pitch-layout-dialog .pitch-layout-map { height: 60dvh; }
}
