.kaia-page .toc-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.kaia-page .toc a{min-width:0;overflow-wrap:anywhere}
.kaia-page .timeline{border-left:3px solid #ad5668;margin:35px 0 0 14px}
.kaia-page .timeline>div{position:relative;padding:0 0 30px 30px}
.kaia-page .timeline>div:before{content:'';position:absolute;left:-9px;top:8px;width:15px;height:15px;background:#a8475b;border:3px solid #fbf7ef;border-radius:50%}
.kaia-page .timeline time{font:700 1.25rem 'Source Serif 4',Georgia,serif;color:#7c3041}
.kaia-page .timeline p{max-width:820px;margin:5px 0}
.kaia-page .source-quote{max-width:930px;margin:30px 0;padding:28px 32px;border-left:6px solid #7c3041;background:#fff;color:#1e2d40;font:600 clamp(1.25rem,2.2vw,1.8rem)/1.45 'Source Serif 4',Georgia,serif;box-shadow:0 12px 28px #1e2d4012}
.kaia-page .source-quote cite{display:block;margin-top:14px;color:#704758;font:700 .8rem/1.4 'DM Sans',sans-serif;font-style:normal;letter-spacing:.04em}
.kaia-page .document-links{display:flex;flex-wrap:wrap;gap:12px;margin:30px 0 48px}
.kaia-page .document-links a{display:inline-block;background:#1e2d40;color:#fff;padding:11px 16px;border-radius:5px;font-size:15px;font-weight:700;text-decoration:none}
.kaia-page .document-links a:hover,.kaia-page .document-links a:focus-visible{background:#7c3041}
.kaia-page .kaia-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-top:32px}
.kaia-page .kaia-gallery .evidence{min-width:0;margin:0;background:#fff;border:1px solid #e1d8d0;border-radius:7px;padding:12px}
.kaia-page .kaia-gallery img{width:100%;height:370px;object-fit:contain;background:#f7f5f2;border-radius:3px}
.kaia-page .kaia-gallery .label{display:inline-block;background:#e9e9e9;color:#243344;border-radius:3px;font-size:13px}
.kaia-page .kaia-gallery p{font:600 1rem/1.5 'Source Serif 4',Georgia,serif;color:#263342}
.kaia-page #experiences h3{font:600 2rem 'Source Serif 4',Georgia,serif;color:#1e2d40;margin:55px 0 12px}
.kaia-page #experiences h3:first-of-type{margin-top:35px}
.kaia-page #experiences p{max-width:900px}
.kaia-page .records-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.kaia-page .record{border-radius:6px}
.kaia-page .record h3{font-size:1.4rem}
.kaia-page .source-note{max-width:850px;margin-top:32px;color:#56616b;font-size:15px}
.kaia-page footer{background:#1e2d40;color:#fbf7ef}
.kaia-page footer a{color:inherit}
@media(max-width:850px){.kaia-page .toc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kaia-page .kaia-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.kaia-page .kaia-gallery,.kaia-page .records-grid{grid-template-columns:1fr}.kaia-page .kaia-gallery img{height:auto;max-height:540px}.kaia-page .source-quote{padding:22px 20px}.kaia-page .toc-grid{grid-template-columns:1fr}}

/* Evidence-specific layouts; typography and opening stages use the shared profile styles. */
.kaia-page #experiences h3{scroll-margin-top:100px}
.kaia-page .court-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.kaia-page .court-gallery img{height:auto;max-height:none}
@media(max-width:600px){.kaia-page .court-gallery{grid-template-columns:1fr}}

/* Full letters follow the shared transcript layout, spanning the chapter width. */
.kaia-page #full-letters .letter-transcript{width:100%;max-width:none;margin-inline:0}
.kaia-page #full-letters .letter-transcript p{max-width:840px;margin-inline:auto}
.kaia-page #full-letters .letter-transcript h4{max-width:840px;margin:32px auto 20px;font:600 1.35rem/1.3 var(--serif);color:var(--burgundy)}
.kaia-page #full-letters> .section-inner>h3{font:600 clamp(1.6rem,2.6vw,2.1rem)/1.25 var(--serif);color:var(--blue);margin:55px 0 18px}
