.historical-day-card{border-left:4px solid var(--accent)}
.historical-page-head{margin-bottom:20px}
.historical-flow{max-width:980px;margin:0 auto}
.historical-activity{padding:30px}
.historical-activity-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}
.historical-activity-head h2{margin:5px 0 0;font-size:1.55rem;line-height:1.2}
.historical-index{width:38px;height:38px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:900;flex:0 0 38px}
.historical-facts{margin-bottom:22px}
.historical-section{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}
.historical-section>h3{margin:0 0 9px;font-size:1.08rem}
.historical-section>p{margin:0;white-space:pre-wrap}
.historical-notes details{width:100%}
.historical-notes summary{cursor:pointer;font-weight:900;font-size:1.15rem;display:flex;justify-content:space-between;gap:20px}
.historical-notes summary span{font-size:.8rem;font-weight:700;color:var(--muted)}
.historical-note-list{display:grid;gap:10px;margin-top:18px}
.historical-note-list p{margin:0;padding:12px 14px;background:#fafbfe;border:1px solid var(--line);border-radius:12px;white-space:pre-wrap}
.historical-editing [contenteditable="true"]{outline:2px dashed var(--accent);outline-offset:3px;background:#fffdf5;border-radius:8px;cursor:text;padding:3px 5px;transition:.15s}
.historical-editing [contenteditable="true"]:focus{outline-style:solid;background:white}
.historical-editing .historical-note-list p[contenteditable="true"]{background:#fffdf5}
@media(max-width:700px){.historical-activity{padding:22px}.historical-activity-head{gap:12px}.historical-notes summary{flex-direction:column;gap:4px}}
@media print{.historical-page-head .page-actions,.historical-page-head+.save-notice,.back{display:none!important}.historical-flow{max-width:none}.historical-activity{break-inside:avoid;page-break-inside:avoid;border:1px solid #ddd;box-shadow:none}.historical-notes details{display:block}.historical-notes details>summary{list-style:none}.historical-notes details>summary::-webkit-details-marker{display:none}}
