/* Journal public : repères annuels et versions dépliables, sans changer les notes historiques. */
html body.public-history-page { background: #151719 !important; }
html:has(body.public-history-page) { scroll-padding-top: 24px; }
.history-shell { max-width: 1260px; margin-inline: auto; padding: 38px 42px 20px; }
.history-shell, .history-shell * { box-sizing: border-box; }
body.public-history-page .history-shell > h1 { margin: 0 0 27px; color: #E7DFCB; font: 400 40px/1.2 Georgia,serif; }
.history-years-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.history-years-nav a { display: inline-block; padding: 8px 17px; background: #242829; color: #C8BA98; border: 1px solid #504E42; border-radius: 2px 7px 2px 7px; font: 500 12px/1.5 var(--cx-font); text-decoration: none; }
.history-years-nav a:hover { color: #E9D7AB; background: #34342C; border-color: #94815A; }
.history-year { border: 1px solid #454642; background: #1E2224; border-radius: 2px 12px 2px 12px; margin-bottom: 20px; overflow: hidden; scroll-margin-top: 0; }
.history-year > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 19px 25px; cursor: pointer; list-style: none; }
.history-year > summary::-webkit-details-marker, .history-release > summary::-webkit-details-marker { display: none; }
body.public-history-page .history-year > summary h2 { margin: 0; color: #D5C195; font: 400 28px/1.3 Georgia,serif; }
.history-year > summary > span { color: #A69878; font-size: 20px; }
.history-year[open] > summary { border-bottom: 1px solid #454642; }
.history-year[open] > summary > span { transform: rotate(180deg); }
.history-releases { padding: 20px 24px; }
.history-release { background: #24282A; border: 1px solid #45483F; border-radius: 2px 8px 2px 8px; margin-bottom: 12px; scroll-margin-top: 0; overflow: hidden; }
.history-release:last-child { margin-bottom: 0; }
.history-release > summary { display: grid; grid-template-columns: minmax(0,1fr) auto 16px; align-items: center; gap: 24px; padding: 16px 20px; list-style: none; cursor: pointer; }
body.public-history-page .history-release h3 { margin: 0; color: #D8D1BB; font: 500 16px/1.5 var(--cx-font); }
.history-release time { color: #939E94; font: 400 11px/1.5 var(--cx-font); font-variant-numeric: tabular-nums; }
.history-release-arrow { color: #9F9A82; font-size: 16px; }
.history-release[open] > summary { border-bottom: 1px solid #FFFFFF12; }
.history-release[open] .history-release-arrow { transform: rotate(180deg); }
.history-release-latest { border-color: #75694C; }
.history-release-latest > summary { background: linear-gradient(110deg,#37342A,#262B2A); }
body.public-history-page .history-release-latest h3 { color: #E2CE9D; }
.history-notes { padding: 20px 24px; color: #BCBDB0; font: 400 13px/1.9 var(--cx-font); overflow-wrap: anywhere; }
.history-notes > ul { list-style: none; margin: 0; padding: 0; }
.history-notes li { position: relative; padding-left: 18px; margin-bottom: 12px; }
.history-notes li::before { content: '·'; position: absolute; left: 0; top: 0; color: #BDA675; font-size: 23px; line-height: 1; }
.history-notes li:last-child { margin-bottom: 0; }
.history-notes li > ul { margin: 10px 0; padding-left: 10px; list-style: none; }
.history-notes p { text-align: left; text-indent: 0; margin: 0 0 14px; }
.history-notes a { color: #CDBA8D; }
.history-top { display: block; margin: 26px 0 0 auto; width: fit-content; color: #BAAA82; font-size: 12px; text-decoration: none; }
.history-shell :is(a,summary):focus-visible { outline: 2px solid #D5BF88; outline-offset: -3px; }
@media(max-width: 850px) { .history-shell { padding-inline: 28px; } }
@media(max-width: 600px) {
 .history-shell { padding: 26px 14px 18px; }
 body.public-history-page .history-shell > h1 { font-size: 32px; }
 .history-years-nav { gap: 8px; margin-bottom: 24px; }
 .history-years-nav a { padding: 7px 14px; }
 .history-year > summary { padding: 16px 18px; }
 body.public-history-page .history-year > summary h2 { font-size: 25px; }
 .history-releases { padding: 12px; }
 .history-release > summary { padding: 14px; gap: 10px; }
 body.public-history-page .history-release h3 { font-size: 14px; }
 .history-release time { font-size: 10px; }
 .history-notes { padding: 17px 15px; font-size: 12px; }
}
