/* Shared historical profile: identity, natural photograph and parents before evidence. */
:root .historical-profile-header{padding-block:20px 8px}
:root .historical-profile-header .historical-profile-title{margin-block:14px 18px}
:root .historical-profile-header .historical-profile-title h1{margin-block:0 8px;font-weight:600;letter-spacing:-.035em}
:root .historical-profile-header .historical-profile-summary{gap:4px 16px;color:var(--theme-text);font-size:14px}
:root .historical-profile-header .historical-profile-source-status{display:inline-flex;align-items:center;min-height:32px;font-size:12px;color:var(--theme-muted);text-decoration:none}
:root .historical-profile-header .historical-profile-source-status:hover{color:var(--theme-link);text-decoration:underline;text-underline-offset:3px}
:root .historical-profile-header .historical-profile-overview{gap:24px;align-items:start}
:root .historical-profile-header .historical-profile-portrait{align-self:start}
:root .historical-profile-header .historical-profile-portrait .historical-photograph{height:auto;min-height:0;background:transparent;margin:0}
:root .historical-profile-header .historical-profile-portrait .historical-photograph>a{height:auto;min-height:0;background:transparent}
:root .historical-profile-header .historical-profile-portrait .historical-photograph>a>img{height:auto;width:100%;object-fit:contain;object-position:center;border:1px solid var(--theme-border);border-radius:7px;box-sizing:border-box;background:var(--theme-surface)}
:root .historical-profile-header .historical-profile-portrait figcaption{margin:0;padding:8px 0 0;background:transparent;color:var(--theme-muted);font-size:12px;line-height:1.5}
:root .historical-profile-header .historical-photo-status-link{display:block;color:var(--theme-muted);text-decoration:none;min-height:24px}
:root .historical-profile-header .historical-photo-status-link:hover{color:var(--theme-link);text-decoration:underline;text-underline-offset:3px}
:root .historical-profile-header .historical-photo-rights-cue{display:block;color:var(--theme-muted);margin-block-start:3px}
:root .historical-profile-header .historical-profile-information{padding:0}
:root .historical-profile-header .historical-profile-parents{margin:0 0 16px;gap:12px}
:root .historical-profile-header .historical-parent-card{padding:14px 16px;border-radius:7px;background:var(--theme-surface);border-color:var(--theme-border)}
:root .historical-profile-header .historical-parent-card .eyebrow{font-size:11px;letter-spacing:.04em;font-weight:500;color:var(--theme-muted);margin-block-end:7px}
:root .historical-profile-header .historical-parent-card>a{font-size:17px;line-height:1.4;font-weight:500;color:var(--theme-link)}
:root .historical-profile-header .historical-parent-card small{color:var(--theme-muted)}
:root .historical-profile-header .historical-profile-actions{margin:0;gap:8px 12px;align-items:center}
:root .historical-profile-header .historical-profile-actions>a.button{border-radius:6px}
:root .historical-profile-header .historical-profile-print{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px;border:1px solid transparent;border-radius:6px;color:var(--theme-muted);background:transparent;box-shadow:none;font:inherit;font-size:12px;cursor:pointer}
:root .historical-profile-header .historical-profile-print:is(:hover,:focus-visible,:active){color:var(--theme-link);background:var(--theme-soft);border-color:var(--theme-border);box-shadow:none}
:root .historical-profile-header .historical-profile-print[hidden]{display:none}
:root .historical-profile-header .historical-profile-details{border:0;border-block-start:1px solid var(--theme-border);padding:0;margin-block:18px 0}
:root .historical-profile-header .historical-profile-details>summary{width:fit-content;min-height:44px;align-content:center;font-size:13px;font-weight:500;color:var(--theme-link);cursor:pointer}
:root .historical-profile-header .historical-profile-details-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;margin-block:16px}
:root .historical-profile-header .historical-profile-details-grid>*{min-width:0;overflow-wrap:anywhere}
:root .historical-profile-header .historical-profile-details .historical-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
:root .historical-profile-header .historical-profile-photo-provenance{font-size:13px;line-height:1.65;color:var(--theme-text)}
:root .historical-profile-header .historical-profile-photo-provenance h3{font-size:15px;margin-block:0 12px}
:root .historical-profile-header .historical-photo-record+.historical-photo-record{border-block-start:1px solid var(--theme-border);padding-block-start:12px;margin-block-start:12px}
:root .historical-profile-header .historical-profile-identity{border-block-start:1px solid var(--theme-border);margin:0;padding-block:8px;color:var(--theme-muted)}
:root .historical-profile-header .historical-profile-nav{margin-block-start:8px;align-items:center}
:root .historical-profile-header .historical-profile-nav .historical-profile-print{margin-inline-start:auto}
:root .historical-profile-header :is(.historical-photo-status-link,.historical-profile-source-status,.historical-profile-details>summary,.historical-parent-card>a,.historical-profile-print):focus-visible{outline:none;box-shadow:none;text-decoration:underline;text-underline-offset:4px;background:var(--theme-soft)}
:root .historical-profile-header .historical-profile-print:focus-visible{border-color:var(--theme-control)}
@media(min-width:1000px){:root .historical-profile-header .historical-profile-details-grid:has(.historical-profile-photo-provenance){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}
@media(max-width:700px){:root .historical-profile-header .historical-profile-overview.has-photograph{gap:18px}:root .historical-profile-header .historical-profile-parents{gap:10px}:root .historical-profile-header .historical-parent-card{padding:12px}:root .historical-profile-header .historical-parent-card>a{font-size:15px}:root .historical-profile-header .historical-profile-details .historical-profile-facts{grid-template-columns:minmax(0,1fr)}:root .historical-profile-header .historical-profile-title{margin-block:14px}}
@media print{:root .historical-profile-header .historical-profile-details::details-content{content-visibility:visible!important;display:block!important}:root .historical-profile-header .historical-profile-details>summary,:root .historical-profile-header .historical-profile-print{display:none}:root .historical-profile-header .historical-profile-photo-provenance{color:#111}:root .historical-profile-header .historical-profile-portrait .historical-photograph>a>img{height:auto;max-height:260px}}

:root .historical-profile-header .historical-profile-facts .historical-fact-citation{display:inline-flex;align-items:center;min-height:24px;font-size:11px;margin-inline-start:4px;color:var(--theme-link)}

/* Published facts accompany the natural portrait; provenance remains in one details area. */
:root .historical-profile-header .historical-profile-information{min-width:0;display:flex;flex-direction:column;gap:16px}
:root .historical-profile-header .historical-profile-parents{margin:0}
:root .historical-profile-header .historical-profile-context{padding:0;margin:0;color:var(--theme-text);font-size:14px;line-height:1.65}
:root .historical-profile-header .historical-profile-context p{margin:0 0 4px;max-width:78ch}
:root .historical-profile-header .historical-context-source{font-size:12px;color:var(--theme-link)}
:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0}
:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts>div{padding:10px 12px;border:1px solid var(--theme-border);border-radius:6px;background:var(--theme-surface);min-width:0;overflow-wrap:anywhere}
:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts dt{margin:0 0 4px;color:var(--theme-muted);font-size:11px;line-height:1.45;font-weight:400;letter-spacing:0;text-transform:none}
:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts dd{margin:0;color:var(--theme-text);font-size:14px;line-height:1.45;font-weight:500}
:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts dd>span{display:block}
:root .historical-profile-header .historical-profile-visible-facts .historical-fact-alternatives{margin:0;padding:0;border:0;background:transparent}
:root .historical-profile-header .historical-profile-visible-facts .historical-fact-alternatives>summary{font-size:14px;color:var(--theme-text);cursor:pointer;line-height:1.5}
:root .historical-profile-header .historical-profile-visible-facts .historical-fact-alternatives small{display:block;font-size:11px;font-weight:400;color:var(--theme-bronze)}
:root .historical-profile-header .historical-profile-visible-facts .historical-fact-alternatives[open]>span{display:block;margin-block-start:6px}
:root .historical-profile-header .historical-profile-aliases{display:flex;flex-wrap:wrap;gap:4px 12px;margin:10px 0 0;font-size:12px;line-height:1.6;color:var(--theme-text)}
:root .historical-profile-header .historical-profile-aliases>span:first-child{color:var(--theme-muted)}
:root .historical-profile-header .historical-profile-related-preview{padding-block:12px;border-block-start:1px solid var(--theme-border);font-size:13px;line-height:1.6}
:root .historical-profile-header .historical-profile-related-preview p{margin:0 0 5px;overflow-wrap:anywhere}
:root .historical-profile-header .historical-profile-related-preview p>span:first-child{display:inline-block;margin-inline-end:8px;color:var(--theme-muted);font-size:12px}
:root .historical-profile-header .historical-profile-related-preview small{margin-inline-start:8px;color:var(--theme-muted);font-size:11px}
:root .historical-profile-header .historical-profile-documentation{margin:0;padding-block:10px;border-block-start:1px solid var(--theme-border);display:grid;gap:3px;font-size:12px;line-height:1.5;color:var(--theme-muted)}
:root .historical-profile-header .historical-profile-documentation small{font-size:11px}
:root .historical-profile-header .historical-profile-details-grid:has(.historical-profile-photo-provenance){grid-template-columns:minmax(0,1fr)}
@media(min-width:1000px){:root .historical-profile-header .historical-profile-overview.has-photograph{grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr)}}
@media(max-width:1100px){:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){:root .historical-profile-header .historical-profile-information{gap:14px}:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts>div{padding:9px 10px}}
@media print{:root .historical-profile-header .historical-profile-visible-facts .historical-profile-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
