.historical-profile-section{padding-block:22px}
.historical-profile-bibliography{margin-block-start:18px;border-block-start:1px solid #263d4b;padding-block-start:12px}
.historical-profile-bibliography>summary{min-height:44px;cursor:pointer;align-content:center;color:#dbe7ef}
.historical-profile-research .historical-dossier{max-width:100%;padding:clamp(18px,3vw,30px)}
.historical-profile-research .dossier-claims>li{padding-block:16px}
.historical-profile-header{padding-block:36px 24px;overflow-wrap:anywhere}
.historical-profile-title{margin-block:22px 24px}
.historical-profile-title h1{font-size:clamp(30px,4.2vw,48px);font-weight:500;line-height:1.12;letter-spacing:-.025em;margin-block:10px}
.historical-profile-title .mono{font-size:12px;color:#b8cbd8}
.historical-profile-overview{display:grid;grid-template-columns:1fr;gap:28px;align-items:start}
.historical-profile-overview.has-photograph{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.historical-profile-overview>*{min-width:0}
.historical-profile-portrait .historical-photograph{margin:0;max-width:100%}
.historical-profile-portrait img{display:block;width:100%;height:auto;border-radius:4px}
.historical-profile-portrait figcaption{font-size:12px;margin-block-start:10px}
.historical-profile-portrait details{margin:0}
.historical-profile-portrait details>summary{min-height:36px;display:list-item;align-content:center;color:#c3d7e3;cursor:pointer}
.historical-profile-information{container-type:inline-size}
.historical-profile-facts{margin:0;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;color:#edf3f7;align-items:stretch}
.historical-profile-facts>div{min-width:0;padding:16px 18px;background:#0d1d29;border:1px solid #283e4c;border-radius:7px;box-shadow:0 1px 2px #00000012;overflow-wrap:anywhere}
.historical-profile-facts dt{color:#b6c9d6;font-size:12px;font-weight:400;line-height:1.5;letter-spacing:normal;text-transform:none;margin-block-end:7px}
.historical-profile-facts dd{margin:0;font-size:15px;font-weight:450;line-height:1.5;color:#edf3f7}
.historical-profile-facts dd>span{display:block}
.historical-profile-facts dd>span+span{margin-block-start:8px}
.historical-profile-facts small,.historical-profile-facts .historical-fact-citation{font-size:12px;font-weight:400;line-height:1.5;color:#adc2d1}
.historical-fact-source{display:block;margin-block-start:5px}
.historical-profile-facts a{color:#badedc;text-decoration:none;background:transparent;border-radius:2px}
.historical-profile-facts a:hover,.historical-profile-facts a:active{color:#f2fafb;background:#193746}
.historical-profile-facts a:focus-visible{outline:2px solid #b8d6e4;outline-offset:3px}
@container(min-width:460px){.historical-profile-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(min-width:800px){.historical-profile-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
.historical-profile-notice{margin-block:18px 0;max-width:80ch;line-height:1.65}
.historical-profile-evidence{border-block-start:1px solid #263d4b;padding-block:16px;overflow-wrap:anywhere}
.historical-profile-evidence>summary,.historical-profile-verification>summary{cursor:pointer;min-height:44px;align-content:center;color:#dbe7ef;font-size:15px;font-weight:450}
.historical-profile-evidence h2{font-size:24px}
.historical-profile-evidence .historical-intake-notes .panel{padding:18px;margin-block:18px}
.historical-profile-evidence summary:focus-visible,.historical-profile-verification summary:focus-visible{outline:2px solid #b4cddc;outline-offset:4px}
.historical-source-pedigree{margin-block-end:20px}
.reported-pedigree .tree-node{min-width:190px;max-width:250px;white-space:normal}
.reported-pedigree .tree-node>a{font-size:15px;line-height:1.5}
.reported-pedigree .reported-edge-evidence{margin-block-start:8px;max-width:100%;overflow-wrap:anywhere}
.reported-pedigree .reported-edge-evidence>summary{min-height:44px;cursor:pointer;align-content:center;font-size:12px}
.reported-pedigree .reported-edge-evidence ul{display:block;min-width:0;padding:0;margin:0;list-style:none}
.reported-pedigree .reported-edge-evidence li{display:block;min-width:0;padding:8px 0;font-size:12px;line-height:1.6}
.reported-pedigree .reported-edge-evidence li::before,.reported-pedigree .reported-edge-evidence li::after{display:none}
@media(max-width:700px){.reported-pedigree>ul,.reported-pedigree ul ul{display:block;min-width:0}.reported-pedigree>ul{padding:0}.reported-pedigree ul ul{padding-left:16px}.reported-pedigree li{display:block;padding:10px 0}.reported-pedigree li::before,.reported-pedigree li::after{display:none}.reported-pedigree .tree-node{min-width:0;max-width:none;width:100%}}
@media(max-width:700px){.historical-profile-overview.has-photograph{grid-template-columns:1fr;gap:20px}.historical-profile-header{padding-block-start:24px}.historical-profile-title{margin-block:18px}}
@media print{.historical-profile-section{padding-block:16px}.historical-profile-evidence::details-content,.historical-profile-verification::details-content,.historical-profile-bibliography::details-content{content-visibility:visible!important;display:block!important}.historical-profile-evidence>summary,.historical-profile-verification>summary,.historical-profile-bibliography>summary{display:none}.historical-profile-header{padding:0}.historical-profile-overview.has-photograph{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.historical-profile-facts,.historical-profile-facts small,.historical-profile-facts dt{color:#111}.historical-profile-facts>div{border-color:#bbb;background:#fff;box-shadow:none}.historical-profile-notice,.historical-profile-header>.back-link{display:none}.historical-profile-header,.historical-profile-facts>div{break-inside:avoid}.historical-profile-title h1{font-size:28px}.historical-profile-portrait .historical-photograph img{max-height:290px;object-fit:contain;object-position:left top}.historical-profile-evidence>*,.historical-profile-verification>*{content-visibility:visible}.historical-profile-evidence,.historical-profile-verification{color:#111}}
/* Premium profile: shared presentation of published historical evidence. */
.historical-profile-header{padding-block:24px 10px}
.historical-profile-title{margin-block:16px 20px}
.historical-profile-title h1{font-size:clamp(29px,3.4vw,43px);margin-block:8px 10px;line-height:1.12}
.historical-profile-summary{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:14px;line-height:1.65;color:#c4d4df;margin:0}
.historical-profile-summary small{font-size:12px;color:#adc2d1}
.historical-profile-overview{gap:24px}
.historical-profile-overview.has-photograph{grid-template-columns:minmax(240px,320px) minmax(0,1fr)}
.historical-profile-portrait img{height:280px;width:100%;object-fit:contain;object-position:center top;background:#08131d}
.historical-profile-portrait figcaption{margin-block-start:6px}
.historical-fact-citation{display:block;min-height:24px;text-decoration:none;align-content:center}
.profile-country-flag{width:20px;height:11px;display:inline-block;vertical-align:baseline;margin-inline-end:4px}
.historical-parent-pending{margin-block:14px;line-height:1.6;align-self:center}
.historical-profile-parents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:16px}
.historical-parent-card{border:1px solid #2c4352;background:#0b1a26;padding:12px 14px;border-radius:3px;min-width:0}
.historical-parent-card>*{display:block;overflow-wrap:anywhere}
.historical-parent-card .eyebrow{font-size:10px;margin-block-end:5px;color:#a9c2d3}
.historical-parent-card a{font-size:16px;font-weight:450;color:#e3f0f7;line-height:1.45;text-decoration:none}
.historical-parent-card small{font-size:11px;color:#b4c8d6;margin-block-start:5px}
.historical-profile-actions{display:flex;flex-wrap:wrap;gap:8px;margin-block:12px}
main:has(.historical-dog-evidence) .historical-profile-actions .button,main:has(.historical-dog-evidence) .profile-pedigree-controls .button,main:has(.historical-dog-evidence) .historical-profile-identity .button,main:has(.historical-dog-evidence) .profile-peek .button{min-height:44px;padding:10px 15px;border:1px solid #496574;border-radius:3px;font-size:13px;font-weight:450;line-height:1.4;gap:8px;color:#0a202b;background:#a6dedb;box-shadow:none;text-decoration:none}
main:has(.historical-dog-evidence) .historical-profile-actions .button.secondary,main:has(.historical-dog-evidence) .profile-pedigree-controls .button,main:has(.historical-dog-evidence) .historical-profile-identity .button,main:has(.historical-dog-evidence) .profile-peek .button{color:#e5eff5;background:#102636}
main:has(.historical-dog-evidence) .historical-profile-actions .button:hover,main:has(.historical-dog-evidence) .profile-pedigree-controls .button:hover,main:has(.historical-dog-evidence) .historical-profile-identity .button:hover,main:has(.historical-dog-evidence) .profile-peek .button:hover{color:#f2f8fb;background:#204154;border-color:#7396a7}
.historical-profile-actions .button:focus-visible,.profile-pedigree-controls .button:focus-visible,.historical-profile-identity .button:focus-visible,.historical-profile-nav a:focus-visible,.historical-parent-card a:focus-visible,.historical-fact-citation:focus-visible,.profile-peek :focus-visible{outline:2px solid #b8d6e4;outline-offset:3px}
.historical-profile-identity{margin-block:10px;font-size:12px;color:#b6cad7}
.historical-profile-identity summary{cursor:pointer;min-height:36px;align-content:center}
.historical-profile-identity .mono{overflow-wrap:anywhere;margin-block:8px}
.historical-profile-nav{display:flex;flex-wrap:wrap;gap:4px 20px;border-block-end:1px solid #263b49;margin-block-start:18px;padding-block:4px}
.historical-profile-nav a{display:inline-flex;min-height:44px;align-items:center;color:#b9cedb;font-size:13px;text-decoration:none}
.historical-profile-nav a:hover,.historical-profile-nav a[aria-current]{color:#f0f7fb}
.historical-relative-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.historical-relative-groups>section{border-block-start:1px solid #2b414e;padding-block:16px}
.historical-relative-groups h3{font-size:18px;font-weight:500}
.historical-relative-groups ul{padding:0;list-style:none;margin:0}
.historical-relative-groups li{padding-block:9px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
.historical-relative-groups li a{color:#dbeaf3;text-decoration:none;font-size:15px}
.historical-relative-groups small{color:#b3c9d8;font-size:12px}
.historical-relative-groups summary{min-height:44px;align-content:center;cursor:pointer}
.profile-pedigree-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-block:14px}
.profile-pedigree-controls output{min-width:50px;color:#dceaf2;font-size:13px;text-align:center}
.profile-pedigree.atlas-ready:not(.atlas-reading) .atlas-viewport{height:520px;overflow:hidden;position:relative;touch-action:none;cursor:grab;border:1px solid #2b4352;border-radius:3px;contain:layout paint}
.profile-pedigree.atlas-ready:not(.atlas-reading) .atlas-viewport.is-panning{user-select:none;-webkit-user-select:none}
.profile-pedigree.atlas-ready:not(.atlas-reading) .atlas-viewport.is-dragging{cursor:grabbing}
.profile-pedigree [data-atlas-canvas]{width:max-content;min-width:100%;transform-origin:0 0;padding:18px}
.profile-pedigree .pedigree{overflow:visible;margin:0}
.profile-pedigree .tree-node{width:220px;min-width:220px;max-width:220px;padding:12px 14px;white-space:normal}
.profile-pedigree .tree-node .node-id{display:none}
.profile-pedigree .tree-node.is-repeated-highlight{border-color:#8daebb;background:#163042}
.profile-pedigree .tree-node [data-profile-peek-trigger]{display:block;margin-block-start:6px;background:transparent;border:0;padding:8px 0;min-height:36px;color:#bfd8e5;font:inherit;font-size:12px;cursor:pointer}
.profile-pedigree .tree-node [hidden],.historical-profile-actions [hidden],.historical-profile-identity [hidden],.profile-pedigree-controls [hidden]{display:none}
.profile-pedigree.atlas-reading [data-atlas-canvas],.profile-pedigree:not(.atlas-ready) [data-atlas-canvas]{width:100%;padding:0}
.profile-pedigree.atlas-reading .pedigree ul,.profile-pedigree:not(.atlas-ready) .pedigree ul{display:block;min-width:0;padding:0 0 0 18px}
.profile-pedigree.atlas-reading .pedigree>ul,.profile-pedigree:not(.atlas-ready) .pedigree>ul{padding:0}
.profile-pedigree.atlas-reading .pedigree li,.profile-pedigree:not(.atlas-ready) .pedigree li{display:block;padding:10px 0}
.profile-pedigree.atlas-reading .pedigree li::before,.profile-pedigree.atlas-reading .pedigree li::after,.profile-pedigree:not(.atlas-ready) .pedigree li::before,.profile-pedigree:not(.atlas-ready) .pedigree li::after{display:none}
.profile-pedigree.atlas-reading .tree-node,.profile-pedigree:not(.atlas-ready) .tree-node{width:100%;max-width:none;min-width:0}
.profile-pedigree:fullscreen{background:#091723;color:#e1edf5;padding:24px;overflow:auto}
.profile-pedigree:fullscreen:not(.atlas-reading) .atlas-viewport{height:calc(100dvh - 240px);min-height:300px}
.profile-peek{max-width:480px;width:calc(100% - 32px);max-height:85dvh;overflow:auto;background:#0d1d2b;color:#e4f0f7;border:1px solid #496574;border-radius:5px;padding:24px}
.profile-peek::backdrop{background:#020912c9}
.profile-peek .tree-node{min-width:0;max-width:100%;border:0;padding:0}
.profile-peek .node-id{display:none}
.profile-peek .tree-node>a{display:block;color:#dceef7;font-size:20px;margin-block:12px}
.profile-peek summary{min-height:44px;align-content:center;cursor:pointer}
.profile-peek ul{padding-inline-start:18px}
#profile-overview,#source-pedigree,#profile-history,#profile-relatives,#historical-record-heading{scroll-margin-top:110px}
@media(max-width:1100px){.historical-profile-overview.has-photograph{grid-template-columns:minmax(220px,290px) minmax(0,1fr)}}
@media(max-width:700px){.historical-profile-overview.has-photograph{grid-template-columns:minmax(0,1fr)}.historical-profile-portrait img{height:230px}.historical-profile-parents{gap:10px}.historical-parent-card{padding:10px}.historical-parent-card a{font-size:14px}.historical-relative-groups{grid-template-columns:1fr}.historical-profile-header{padding-block-start:18px}.historical-profile-nav{gap:0 16px}.profile-pedigree.atlas-ready:not(.atlas-reading) .pedigree>ul,.profile-pedigree.atlas-ready:not(.atlas-reading) .pedigree ul ul{display:flex;min-width:max-content}.profile-pedigree.atlas-ready:not(.atlas-reading) .pedigree li{display:table-cell;padding:14px 7px}.profile-pedigree.atlas-ready:not(.atlas-reading) .atlas-viewport{height:450px}.profile-pedigree .tree-node{width:200px;min-width:200px;max-width:200px}}
@media print{.historical-profile-actions,.historical-profile-nav,.historical-profile-identity,.profile-pedigree-controls,[data-profile-peek-trigger],.profile-peek{display:none!important}.historical-profile-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.historical-profile-facts dt,.historical-profile-facts dd,.historical-profile-summary,.historical-parent-card a,.historical-parent-card small,.historical-fact-citation,.historical-relative-groups small,.historical-relative-groups li a{color:#111}.historical-profile-overview.has-photograph{grid-template-columns:220px minmax(0,1fr)}.historical-profile-portrait img{height:190px;background:#fff}.historical-parent-card{background:#fff;border-color:#bbb;break-inside:avoid}.profile-pedigree .atlas-viewport{height:auto!important;overflow:visible!important;border:0!important;contain:none!important}.profile-pedigree [data-atlas-canvas]{transform:none!important;width:100%!important;padding:0}.profile-pedigree .pedigree ul{display:block!important;min-width:0!important;padding:0 0 0 14px!important}.profile-pedigree .pedigree li{display:block!important;padding:6px 0!important}.profile-pedigree .pedigree li::before,.profile-pedigree .pedigree li::after{display:none!important}.profile-pedigree .tree-node{min-width:0!important;width:100%!important;max-width:100%!important;break-inside:avoid;border-color:#bbb;color:#111;background:#fff}.profile-pedigree .tree-node a,.profile-pedigree .tree-node .fine{color:#111}.historical-profile-header{break-inside:auto}.historical-profile-facts>div{break-inside:avoid}.historical-relative-groups{display:block}}

.historical-fact-alternatives>summary{min-height:44px;cursor:pointer;line-height:1.55}.historical-fact-alternatives>summary small{display:block}.profile-pedigree-controls[hidden]{display:none}

.profile-pedigree .pedigree{max-height:none;border:0;padding:0}
.profile-pedigree [data-atlas-canvas]{position:relative}
.profile-pedigree.atlas-ready:not(.atlas-reading) .atlas-viewport{height:680px}
.profile-pedigree .tree-node .fine{margin-block:4px;line-height:1.4}
.profile-pedigree .tree-node .reported-edge-evidence{display:inline-block;vertical-align:middle;margin:0 8px 0 0}
.profile-pedigree .tree-node .reported-edge-evidence>summary{min-height:44px;display:inline-block;align-content:center;font-size:11px}
.profile-pedigree .tree-node [data-profile-peek-trigger]{display:inline-block;min-height:44px;padding:4px 0;margin:0;font-size:11px;vertical-align:middle}
.profile-pedigree .tree-node [data-profile-branch]{display:inline-flex;align-items:center;min-height:44px;padding:4px 10px;margin-block:5px;background:#122d3e;color:#e0edf5;border:1px solid #496574;border-radius:3px;font:inherit;font-size:12px;cursor:pointer}
.profile-pedigree:not(.atlas-reading) [data-profile-branch],.profile-pedigree .tree-node [hidden],.profile-pedigree.atlas-reading .pedigree ul[hidden]{display:none}
@media print{.profile-pedigree .tree-node [data-profile-branch]{display:none!important}.profile-pedigree .pedigree ul[hidden]{display:block!important}}
@media print{.historical-profile-evidence,.historical-profile-verification,.historical-profile-bibliography,.reported-edge-evidence,.historical-fact-alternatives{display:block}.reported-edge-evidence::details-content,.historical-fact-alternatives::details-content{display:block!important;content-visibility:visible!important}.historical-source-pedigree{break-inside:auto}}

/* Preserve the approved cyan toggle surface even when shared active styles apply. */
html body main button.button[data-tree-toggle]:is(:hover,:focus-visible,:active){color:#07131d;background:#8cdbd7}
.historical-node-photo{display:block;width:64px;height:52px;object-fit:contain;object-position:left center;margin:5px 0 8px;border-radius:2px}
