/* Match the existing button's line box when it becomes a crawlable anchor. */
.tmcal a[data-tm-race-tool-link]{line-height:1.4;text-align:center;cursor:pointer}
/* Only the dedicated tool page: no geometry, typography or visibility changes to the homepage. */
.tm-race-tool-page{max-width:1240px;margin:0 auto;padding:32px 20px}
.tm-race-tool-page>h1{font-size:clamp(28px,4vw,48px);line-height:1.12;margin:0 0 18px}
.tm-race-tool-page>p{max-width:80ch;margin:0 0 24px;line-height:1.65}

/* This page contains an application, so release the narrow native article surface. */
body[data-tm-race-tool-page] #sp-main-body>.container{max-width:1320px!important;width:100%;box-sizing:border-box;padding-left:24px;padding-right:24px}
body[data-tm-race-tool-page] .tm-race-tool-host{max-width:none!important;padding:0!important;margin:16px 0 48px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body[data-tm-race-tool-page] .tm-race-tool-page{max-width:none;padding:16px 0}
/* Content-sized action buttons retain the original hover animation and arrow. */
.tmcal .tmcal-btn{width:fit-content!important;max-width:100%;min-width:0!important;flex:0 1 auto!important;white-space:normal;text-align:center}
.tmcal .tmcal-personal-card>.tmcal-btn{align-self:flex-end;margin-left:auto}
.tmcal .tmcal-dialog-links{justify-content:flex-end}
.tmcal .tmcal-finder-card-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
.tmcal .tmcal-finder-card-actions>.tmcal-btn{padding:12px 14px;gap:10px}
.tmcal .tmcal-finder-fields>.tmcal-btn{margin-left:auto}
.tmcal .tmcal-finder-more{justify-content:flex-end}
.tmcal .tmcal-dialog-links:empty{display:none}
@media(max-width:600px){body[data-tm-race-tool-page] #sp-main-body>.container{padding-left:16px;padding-right:16px}.tmcal .tmcal-dialog-links .tmcal-btn{flex-basis:auto!important}}
