.visitor-history{margin:1rem 0;border-top:1px solid var(--line,#d9e2e8);padding-top:.8rem}
.visitor-history>summary{cursor:pointer;font-weight:700;line-height:1.5;padding:.35rem 0}
.visitor-history>summary:focus-visible{outline:2px solid var(--teal,#0f766e);outline-offset:4px;border-radius:4px}
.visitor-history section{margin-top:1.2rem}
.visitor-history h4{font-size:1rem;line-height:1.4;margin:0 0 .45rem;color:inherit}
.visitor-history p{line-height:1.65;max-width:70ch;overflow-wrap:anywhere}

.visitor-history [data-history-point]{display:block;min-height:44px;margin:.35rem 0;text-align:left;line-height:1.45;white-space:normal}

.directory-history{display:grid;gap:1rem;min-width:0}
.directory-history[hidden],.directory-history [hidden]{display:none!important}
.history-introduction h2{margin:.35rem 0;font-size:clamp(1.35rem,3.5vw,1.9rem);line-height:1.25}
.history-introduction p{margin:.4rem 0;line-height:1.6}
.history-point-list{display:grid;gap:1rem;min-width:0}
.history-reading-card{padding:clamp(1rem,3vw,1.5rem);min-width:0}
.history-reading-card h3{margin:0 0 .65rem;font-size:clamp(1.1rem,2.5vw,1.35rem);line-height:1.35;color:var(--ink,inherit)}
.history-reading-card p{margin:0;line-height:1.7;max-width:80ch;overflow-wrap:anywhere}
.history-reading-card .text-button{margin-top:.8rem;min-height:44px;white-space:normal;text-align:left}
.history-reading-card .text-button:focus-visible{outline:2px solid var(--teal,#0f766e);outline-offset:4px;border-radius:4px}

.history-reading-card>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;}
.history-reading-card>summary::-webkit-details-marker{display:none;}
.history-reading-card>summary h3{flex:1;min-width:0;margin:0;}
.history-reading-card>summary::after{content:'+';font-size:1.3rem;color:inherit;}
.history-reading-card[open]>summary::after{content:'−';}
.history-reading-card>summary:focus-visible{outline:2px solid var(--teal,#0f766e);outline-offset:4px;border-radius:4px;}
.history-reading-body{padding-top:1rem;}
.history-reading-card:not([open])>.history-reading-body{display:none;}
.history-reading-body h4{margin:0 0 .65rem;font-size:1rem;line-height:1.4;color:inherit;}
