@layer legado{
#ap-tool .contador-calendar-column { display: none; }
.ap-ruler { width: 100%; max-width: 420px; margin: 12px auto 0; }
.ap-ruler[hidden] { display: none; }

.ap-ruler-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: #1d5fc9; }
.ap-ruler-mark { position: absolute; bottom: 14px; transform: translateX(-50%); font-size: 13px; line-height: 16px; font-weight: 700; color: #0d47a1; white-space: nowrap; }


body.dark-mode .ap-ruler-fill { background: #60a5fa; }
body.dark-mode .ap-ruler-mark { color: #bfdbfe; }

.frc-nw { white-space: nowrap; }
.ap-band #ap-cards, .ap-band #ap-cards > .frc { width: 100%; }
.ap-band .ap-ruler:not([hidden]) { max-width: none; border-top: 1px solid #e2e8f0; padding: 14px calc(50% - 210px) 0; box-sizing: border-box; margin-top: 14px; }
#ap-cal-wrap:not([hidden]) { border-top: 1px solid #e2e8f0; padding-top: 14px; }
body.dark-mode .ap-band .ap-ruler, body.dark-mode #ap-cal-wrap { border-top-color: #374151; }
@media (max-width: 600px) { .ap-band .ap-ruler:not([hidden]) { padding-left: 0; padding-right: 0; } }
@media screen and (min-width:769px){.ap-cal .rmc-container:not(.rmc-with-microcards){grid-template-columns:repeat(auto-fit,calc((100% - 32px) / 3));justify-content:center}}
@media screen and (min-width:481px) and (max-width:768px){.ap-cal .rmc-container:not(.rmc-with-microcards){grid-template-columns:repeat(auto-fit,calc((100% - 16px) / 2));justify-content:center}}
}
