.retro-page [hidden] { display: none !important; }
.retro-page .py-hero { padding-block: clamp(1.3rem, 4vw, 3rem); }
.retro-page .py-cta, .retro-page .py-hero .py-cta { background: #ad162b; color: #fff; }
.retro-page :focus-visible { outline: 3px solid #6c429f; outline-offset: 3px; }
.retro-page .py-hero :focus-visible { outline-color: #ffe49a; }
.retro-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.4rem; align-items: center; }
.retro-split img { width: 100%; height: auto; display: block; border-radius: 1rem; }
.retro-index { display: flex; flex-wrap: wrap; gap: .65rem; padding-block: 1.3rem; }
.retro-index a { background: #eee7fa; color: #422768; padding: .55rem .7rem; border-radius: .55rem; font-weight: 700; }
.retro-timeline, .retro-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: .85rem; }
.retro-timeline { list-style: none; padding: 0; }
.retro-timeline li, .retro-grid article, .retro-positive, .retro-page details { min-width: 0; padding: 1rem; border-radius: .75rem; background: #f2eafa; color: #1c1830; }
.retro-timeline li:nth-child(2) { background: #fff0d8; }
.retro-timeline li:nth-child(3), .retro-grid article[data-period="2"] { background: #e2f4f3; }
.retro-grid article[data-category] { background: #fff6e8; border-top: 4px solid #97500d; }
.retro-tag { color: #794007; font-weight: 750; }
.retro-grid dt { font-weight: 750; }
.retro-grid dd { margin: 0 0 .6rem; }
.retro-positive { background: #e1f4e9; color: #145539; }
.retro-page .py-table { max-width: 100%; overflow-x: auto; }
.retro-page .py-table table { min-width: 29rem; }
.retro-grid .py-table table { min-width: 0; width: 100%; }
.retro-grid th, .retro-grid td { padding: .45rem; overflow-wrap: anywhere; }
.retro-page select { display: block; max-width: 100%; min-height: 44px; margin: .3rem 0 1rem; padding: .5rem; border: 1px solid #5d6580; border-radius: .45rem; font: inherit; }
.retro-checks { list-style: none; padding: 0; }
.retro-checks label { display: block; padding: .6rem; cursor: pointer; }
.retro-page details { margin-block: .6rem; }
.retro-page summary { cursor: pointer; font-weight: 750; }
