/* Shared by the standalone catalogue and the in-site document reader. */
.sessions-page .document-content { max-width: 1160px; margin-top: 24px; padding: 24px; background: transparent; border: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.sessions-page .document-header, .sessions-page .document-footer { max-width: 1160px; }
.sessions-page::before { background: linear-gradient(#080e17bd, #080e17ed), url('/assets/site/sessions-corridor.webp') center / cover; }
.sessions-page .lead { max-width: 65ch; }
/* Independent card heights preserve the compact layout. */
.sessions-page .seances-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; align-items: start; }
.sessions-page .catalogue-help { margin: 20px 0; max-width: none; border-bottom: 1px solid #ffffff26; padding-bottom: 14px; }
.sessions-page .catalogue-help summary { min-height: 44px; padding-block: 8px; cursor: pointer; font-weight: 600; }
.sessions-page .catalogue-help p { margin-top: 12px; }
.sessions-page .seances-steps { padding-left: 26px; }
.sessions-page .catalogue-note { margin-top: 28px; max-width: 70ch; font-size: 15px; }
.seance-card { min-width: 0; display: grid; grid-template-columns: 68px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 16px; padding: 22px; border: 1px solid #ffffff35; border-radius: 16px; background: #0a111cde; text-shadow: none; }
.seance-poster { width: 68px; height: 88px; border-radius: 10px; overflow: hidden; background: #ffffff0c; border: 1px solid #ffffff26; }
.seance-poster-generated { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.seance-poster-number { font-size: 30px; font-weight: 600; line-height: 1; }
.seance-poster-unit { font-size: 14px; margin-top: 5px; }
.seance-heading { min-width: 0; }
.seance-badges { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; color: #d0d8e3; }
.seance-category { font-size: 14px; }
.seance-body { grid-column: 1 / -1; min-width: 0; display: flex; flex-direction: column; }
.seance-note { display: none; margin: 0 0 18px; font-size: 16px; line-height: 1.5; color: #edf0f5; }
html[lang='fr'] .seance-note[lang='fr'], html[lang='en'] .seance-note[lang='en'], html[lang='es'] .seance-note[lang='es'], html[lang='zh-Hans'] .seance-note[lang='zh-Hans'], html[lang='zh-Hant'] .seance-note[lang='zh-Hant'] { display: block; }
.seance-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.seance-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid #ffffff60; border-radius: 999px; font-size: 14px; line-height: 1.3; font-weight: 600; color: #fff; }
.seance-button:hover { background: #ffffff20; }
.seance-button-primary { background: #fff; color: #111821; border-color: #fff; }
.seance-button-primary:hover { background: #e2e9f1; }
.seance-phases { margin-top: 14px; border-top: 1px solid #ffffff30; }
.seance-phases table { width: 100%; border-collapse: collapse; font-size: 14px; }
.seance-phases th, .seance-phases td { padding: 8px 4px; text-align: left; border-bottom: 1px solid #ffffff26; }
.seance-phases td:last-child, .seance-phases th:last-child { text-align: right; white-space: nowrap; }

.sessions-page .seance-button { text-decoration: none; }
.sessions-page .seance-button-primary { color: #10131a; }
.sessions-page .seance-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.sessions-page .seance-badges { margin: 0; }
.sessions-page .seance-note { margin: 0 0 18px; }
@media (max-width: 700px) {
  .sessions-page .document-content { padding: 20px; margin-top: 10px; }
  .sessions-page .seances-list { grid-template-columns: minmax(0, 1fr); }
  .seance-card { padding: 18px; gap: 14px; }
  .sessions-page .seance-card h3 { font-size: 18px; }
}

.seance-reference { font-size: 14px; line-height: 1.5; color: #c0c9d3; margin: 0 0 18px; }
.seance-phases summary { min-height: 44px; padding-block: 8px; cursor: pointer; }
.catalogue-help p, .extraction-steps { max-width: 76ch; }
.extraction-steps { padding-left: 24px; }
.extraction-steps li { padding: 0 0 10px 8px; }
.extraction-example { margin: 20px 0; padding: 14px 22px; border-left: 2px solid #ffffff60; background: #ffffff06; }
/* The JSON structure to copy: the file's shape for people who write it themselves (24 September 2026). */
.structure-example { margin: 20px 0; padding: 14px 22px; border-left: 2px solid #ffffff60; background: #ffffff06; }
.structure-example summary { min-height: 44px; padding-block: 8px; cursor: pointer; font-weight: 600; }
.structure-example pre { margin: 12px 0; padding: 14px 16px; overflow-x: auto; border-radius: 10px; background: #0b0d12; font-size: 0.85rem; line-height: 1.5; }
.structure-example code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; }
.structure-actions { margin: 8px 0 16px; }
.structure-actions button { font: inherit; cursor: pointer; }
.structure-rules { max-width: 76ch; padding-left: 24px; }
.structure-rules li { padding: 0 0 10px 8px; }
