/* Same controls as the website, sized for a map workspace. */
#ptcm{--pt-ease:cubic-bezier(.22,1,.36,1)}
#ptcm button,#ptcm .ptcm-downloads a{font-family:Montserrat,Arial,sans-serif;transition:background-color 220ms ease,color 220ms ease,border-color 220ms ease,transform 160ms var(--pt-ease);touch-action:manipulation}
#ptcm button:focus-visible,#ptcm a:focus-visible{outline:3px solid #009ed4;outline-offset:3px}
#ptcm button:active:not(:disabled){transform:scale(.975)}
#ptcm :is(.ptcm-venue-options,.ptcm-race-options,.ptcm-leg-options){gap:6px;padding:6px;border-radius:18px;background:#edf4f9;border:1px solid #cadbe9}
#ptcm :is(.ptcm-venue-options,.ptcm-race-options,.ptcm-leg-options) button{min-height:48px;border-radius:12px;background:transparent;border:0;box-shadow:none;color:#062e65;font-size:16px;line-height:1.4;letter-spacing:0;text-transform:none}
#ptcm :is(.ptcm-venue-options,.ptcm-race-options,.ptcm-leg-options) button[aria-pressed=true]{background:#062e65;color:white}
#ptcm :is(.ptcm-venue-options,.ptcm-race-options,.ptcm-leg-options) button[aria-pressed=true] :is(span,strong,small,svg){color:inherit}
#ptcm .ptcm-choice-label{font-size:15px;letter-spacing:0;text-transform:none;margin-bottom:8px}
#ptcm .ptcm-leg-options button small{font-size:14px;text-transform:none;line-height:1.4}
#ptcm .ptcm-selection-actions button,#ptcm .ptcm-controls>button,#ptcm .ptcm-downloads button,#ptcm .ptcm-downloads>a,#ptcm .ptcm-follow{min-height:48px;border-radius:999px;gap:10px;font-size:16px;line-height:1.4;padding:10px 18px}
#ptcm .ptcm-play{background:#ffd01a;color:#062e65;border-color:#ffd01a}
#ptcm .ptcm-laps button{min-height:48px;font-size:16px;border-radius:12px}
#ptcm .ptcm-laps button small{font-size:14px;line-height:1.4}
#ptcm .ptcm-map-tools button{width:44px;height:44px;min-height:44px;border-radius:50%}
#ptcm .ptcm-map-tools{gap:8px;padding:8px;border-radius:30px}
#ptcm .ptcm-speed-options button{min-width:44px;min-height:44px;border-radius:50%;font-size:16px}
#ptcm .ptcm-stop-symbol{border-radius:50%}
#ptcm .ptcm-checkpoints button{border-radius:16px;min-height:76px;padding:16px;font-size:16px}
#ptcm .ptcm-checkpoints small{font-size:14px;line-height:1.5;letter-spacing:0}
#ptcm .ptcm-checkpoints .pt-icon{margin-left:auto;width:20px!important;height:20px!important;min-width:20px}
#ptcm .ptcm-footer details{border-radius:16px;overflow:hidden}
#ptcm .ptcm-footer summary{min-height:64px;font-size:16px;padding:18px}
#ptcm .ptcm-footer summary>.pt-disclosure-mark{display:none}
#ptcm .ptcm-footer summary>.pt-icon{margin-left:auto;transition:transform 440ms var(--pt-ease)}
#ptcm .ptcm-footer details[open] summary>.pt-icon{transform:rotate(180deg)}
#ptcm .ptcm-course-stat{font-variant-numeric:tabular-nums}
#ptcm .ptcm-format{font-size:16px;line-height:1.4}
#ptcm .ptcm-selection-strip p span{font-size:16px}
#ptcm .ptcm-notes{font-size:16px;line-height:1.7}
@media(max-width:700px){
 #ptcm .ptcm-choice-row{gap:10px}
 #ptcm .ptcm-venue-options,#ptcm .ptcm-race-options,#ptcm .ptcm-leg-options{width:100%;min-width:0}
 #ptcm :is(.ptcm-race-options,.ptcm-leg-options) button{padding:10px 5px;font-size:15px;min-width:0}
 #ptcm .ptcm-selection-strip{align-items:flex-start;gap:14px;flex-wrap:wrap}
 #ptcm .ptcm-selection-actions{width:100%;gap:10px}
 #ptcm .ptcm-selection-actions button{flex:1;justify-content:center;padding:10px;font-size:15px}
 #ptcm .ptcm-laps{gap:6px;flex-wrap:wrap}
 #ptcm .ptcm-laps button{flex:1;min-width:90px}
 #ptcm .ptcm-controls{gap:12px;flex-wrap:wrap}
 #ptcm .ptcm-controls>button{flex:1;justify-content:center;padding:12px}
 #ptcm .ptcm-speed-control{width:100%;justify-content:space-between;flex-wrap:wrap;gap:10px}
 #ptcm #speed-label{font-size:14px;letter-spacing:0}
 #ptcm .ptcm-checkpoints button{min-height:76px}
}
@media(prefers-reduced-motion:reduce){#ptcm button,#ptcm a,#ptcm .ptcm-footer summary>.pt-icon{transition:none!important;transform:none!important}}
#ptcm .ptcm-race-options button strong{font-size:16px!important;letter-spacing:0!important;text-transform:none!important}
#ptcm .ptcm-leg-options button:not([aria-pressed=true]) [data-leg-status]{color:#496680!important}
#ptcm #share-course,#ptcm #expand{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-width:0!important;width:auto!important;min-height:48px!important;padding:10px 14px!important;border:1px solid #8cabc6!important;border-radius:999px!important;font-size:15px!important;line-height:1.4!important}
#ptcm #share-course>span,#ptcm #expand>span{display:inline!important;width:auto!important;max-width:none!important;white-space:nowrap!important;font-size:15px!important;line-height:1.4!important}
#ptcm .ptcm-selection-actions .pt-icon{width:20px!important;height:20px!important;min-width:20px!important}
@media(max-width:700px){#ptcm .ptcm-selection-actions{display:flex!important;justify-content:stretch;gap:12px!important}#ptcm .ptcm-selection-actions>button{flex:1 1 0!important}#ptcm .ptcm-race-options button strong{font-size:14px!important}}
