/**
 * Copyright (c) 2026 DNA Genics, S.L. All rights reserved.
 * Heritage layout for Exclusive Admixture results, retaining existing visualization hooks.
 */
.exa-heritage {
    --exa-bg-dark: var(--hd-bg); --exa-bg-dark-alt: var(--hd-surface); --exa-bg-section: var(--hd-bg); --exa-bg-light: var(--hd-bg); --exa-bg-parchment: var(--hd-cream);
    --exa-text-primary: var(--hd-forest); --exa-text-dark: var(--hd-forest); --exa-text-muted: var(--hd-muted); --exa-text-muted-dark: var(--hd-muted); --exa-gold: #947541; --exa-gold-light: var(--hd-sand); --exa-gold-dark: #856b39; --exa-amber: #947541;
    --exa-font-display: var(--hd-serif); --exa-font-body: var(--hd-sans); --exa-section-padding: 28px; --exa-shadow: none;
    --exa-chr-bg: var(--hd-bg); --exa-chr-card-bg: var(--hd-surface); --exa-chr-section-bg: var(--hd-cream); --exa-chr-text: var(--hd-forest); --exa-chr-text-muted: var(--hd-muted); --exa-chr-text-dark: var(--hd-forest); --exa-chr-border: var(--hd-border); --exa-chr-border-hover: #b5c4b3; --exa-chr-gold: #856b39; --exa-chr-shadow: none; --exa-chr-shadow-hover: none; --exa-chr-font-display: var(--hd-serif); --exa-chr-font-body: var(--hd-sans);
    padding: calc(var(--nav-height, 72px) + 8px) 0 48px; overflow-x: visible; font: 400 16px/1.65 var(--hd-sans); color: var(--hd-forest); background: var(--hd-bg);
}
.exa-heritage *, .exa-heritage *::before, .exa-heritage *::after { box-sizing: border-box; }
.exa-heritage [hidden] { display: none !important; }
.exa-heritage .exa-heritage-shell { width: min(1504px, 100%); padding: 0 32px; margin: 0 auto; }
.exa-heritage :is(h1,h2,h3,h4,h5) { font-family: var(--hd-serif); font-weight: 500; color: var(--hd-forest); line-height: 1.2; overflow-wrap: anywhere; }
.exa-heritage :is(p,li,dd,strong,span) { overflow-wrap: anywhere; }
.exa-heritage :is(a,button,input,select,summary):focus-visible { outline: 3px solid #96783d; outline-offset: 3px; }
.exa-heritage :is(.animate-on-scroll,.animate-fade-in,.animate-fade-in-up,.exa-card,.exa-region-card) { animation: none !important; opacity: 1 !important; transform: none !important; transition: none; }
.exa-heritage .text-white { color: var(--hd-forest) !important; }
.exh-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0 24px; }
.exh-header > div { min-width: 0; max-width: 85ch; }
.exh-header h1 { font-size: clamp(2.25rem, 4vw, 3.4rem); margin: 6px 0 12px; }
.exh-header p { margin: 0; color: var(--hd-muted); font-size: .9rem; }
.exa-heritage .hd-btn { min-height: 44px; justify-content: center; font-size: .8rem; padding: 10px 15px; }
.exa-heritage .hd-btn--primary { color: #fff; }
.exh-header > .hd-btn { flex-shrink: 0; }
.exh-overview { display: grid; grid-template-columns: 1.1fr 1.4fr .7fr; gap: 24px; padding: 24px; margin: 0 0 20px; border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-sand); }
.exh-overview > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; border-right: 1px solid #dccdb2; padding-right: 24px; }
.exh-overview > div:last-child { padding: 0; border: 0; }
.exh-label { display: block; font: 600 .65rem/1.5 var(--hd-sans); text-transform: uppercase; letter-spacing: .1em; color: #78633a; }
.exh-overview strong { font: 500 1.7rem/1.2 var(--hd-serif); color: var(--hd-forest); }
.exh-overview span:not(.exh-label) { color: var(--hd-muted); font-size: .75rem; }
.exh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; }
.exh-actions p { flex: 1 1 280px; min-width: 0; margin: 0; color: var(--hd-muted); font-size: .76rem; }
.exa-heritage .exa-export-btn { position: static; width: auto; height: auto; border: 1px solid var(--hd-border); border-radius: 8px; background: var(--hd-surface); color: var(--hd-forest); box-shadow: none; }
.exa-heritage .exa-export-btn::before, .exa-heritage .exa-export-btn::after { display: none; }
.exh-section-links { display: flex; flex-wrap: wrap; gap: 4px 20px; padding: 10px 0; border-top: 1px solid var(--hd-border); border-bottom: 1px solid var(--hd-border); }
.exh-section-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hd-forest); font-size: .8rem; font-weight: 500; }
.exa-heritage .exa-section { padding: 28px 0; background: transparent; scroll-margin-top: calc(var(--nav-height, 72px) + 16px); }
.exa-heritage .exa-section > .container, .exa-heritage .exa-section .container { width: 100%; max-width: none; padding-inline: 0; margin: 0; }
.exa-heritage .exa-section > .container > .row > [class*='col-lg-'], .exa-heritage #portrait-section [class*='col-lg-'] { flex: 0 0 100%; max-width: 100%; }
.exa-heritage .exa-chapter-header { text-align: left; margin: 0 0 20px; padding: 0; max-width: none; }
.exa-heritage .exa-chapter-number { display: block; color: #856b39; font: 600 .65rem/1.5 var(--hd-sans); letter-spacing: .11em; text-transform: uppercase; margin-bottom: 6px; }
.exa-heritage .exa-section-title { font-size: clamp(1.7rem, 2.4vw, 2.15rem); margin: 0 0 8px; color: var(--hd-forest); }
.exa-heritage .exa-section-subtitle { margin: 0; max-width: 80ch; color: var(--hd-muted); font-size: .82rem; }
.exa-heritage .exa-chapter-divider { display: none; }
.exa-heritage .exa-card { border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-surface); box-shadow: none; color: var(--hd-forest); overflow: hidden; }
.exa-heritage .exa-card-header { padding: 18px 20px; border-bottom: 1px solid var(--hd-border); background: var(--hd-cream); }
.exa-heritage .exa-card-header h4, .exa-heritage .exa-card-header h5 { color: var(--hd-forest); }
.exa-heritage .exa-card-body { padding: 20px; color: var(--hd-muted); }
.exa-heritage #composition-section > .container > .row > .exh-composition-list { flex: 0 0 42%; max-width: 42%; }
.exa-heritage #composition-section > .container > .row > .exh-composition-visual { flex: 0 0 58%; max-width: 58%; }
.exa-heritage .exa-composition-header { padding: 18px 20px; background: var(--hd-cream); border-bottom: 1px solid var(--hd-border); }
.exa-heritage .exa-composition-title { font: 500 1.4rem/1.25 var(--hd-serif); color: var(--hd-forest); }
.exa-heritage .exa-comp-info-btn { background: #fff; border-color: var(--hd-border); color: var(--hd-forest); }
.exa-heritage .ancestry-breakdown-container { max-height: none; overflow: visible; }
.exa-heritage .exa-comp-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 7px 10px; align-items: start; padding: 14px 0; border: 0; border-top: 1px solid var(--hd-border); background: transparent; border-radius: 0; color: var(--hd-forest); }
.exa-heritage .exa-comp-row.is-primary { border-left: 0; background: transparent; }
.exa-heritage .exa-comp-swatch { width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--hd-sage-strong); }
.exa-heritage .exa-comp-name { min-width: 0; display: block; font: 500 .83rem/1.5 var(--hd-sans); color: var(--hd-forest); }
.exa-heritage .exa-comp-primary { display: block; margin: 4px 0 0; padding: 0; color: #806b3e; background: transparent; font: 500 .63rem/1.5 var(--hd-sans); letter-spacing: 0; }
.exa-heritage .exa-comp-bar-wrap { grid-column: 2 / -1; grid-row: 2; width: 100%; height: 5px; background: var(--hd-cream); }
.exa-heritage .exa-comp-bar { height: 100%; border-radius: 4px; background: var(--hd-sage-strong); }
.exa-heritage .exa-comp-pct { grid-column: 3; grid-row: 1; flex-shrink: 0; font: 600 .85rem/1.5 var(--hd-sans); color: var(--hd-forest); white-space: nowrap; }
.exa-heritage .exa-comp-footnote { padding: 14px 0 0; margin: 0; color: var(--hd-muted); font-size: .7rem; line-height: 1.7; }
.exa-heritage .exa-comp-other-toggle { width: 100%; min-height: 44px; padding: 12px; color: var(--hd-forest); background: var(--hd-cream); border: 1px solid var(--hd-border); border-radius: 7px; }
.exa-heritage .exa-comp-other-toggle .exa-comp-pct { position: static; }
.exa-heritage .exa-comp-other-children { padding: 0; border-left: 0; }
.exa-heritage .exa-tabs { display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 8px; border: 1px solid var(--hd-border); border-radius: 9px; background: var(--hd-cream); margin: 0 0 12px; }
.exa-heritage .exa-tab { display: inline-flex; flex: 0 1 auto; width: auto; align-items: center; justify-content: center; gap: 7px; min-height: 44px; max-width: 100%; padding: 10px 14px; border: 1px solid transparent; border-radius: 6px; color: var(--hd-muted); font: 500 .8rem/1.5 var(--hd-sans); }
.exa-heritage .exa-tab.active { color: var(--hd-forest); border-color: var(--hd-border); background: #fff; box-shadow: none; }
.exa-heritage .mapcontinental { height: 440px !important; max-width: 100%; }
.exa-heritage .exh-composition-chart { width: 100%; height: 440px; }
.exa-heritage.exh-chart-unavailable .exh-composition-chart { display: none; }
.exa-heritage .exa-mapcard-header { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 18px; color: var(--hd-forest); background: var(--hd-cream); border-bottom: 1px solid var(--hd-border); }
.exa-heritage .exa-mapcard-title { color: var(--hd-forest); }
.exa-heritage .exa-mapcard-subtitle, .exa-heritage .exa-mapcard-footnote { color: var(--hd-muted); font-size: .72rem; }
.exa-heritage .exa-mapmode-tabs { display: flex; flex-wrap: wrap; gap: 5px; }
.exa-heritage .exa-mapmode-tab { min-height: 40px; color: var(--hd-muted); background: #fff; border-color: var(--hd-border); }
.exa-heritage .exa-mapmode-tab.active { color: var(--hd-forest); border-color: #aabdac; background: var(--hd-sage); }
.exh-visual-status { color: var(--hd-muted); font-size: .75rem; margin: 12px 0 0; }
.exh-region-guide { padding: 16px 20px; border: 1px solid var(--hd-border); border-radius: 10px; background: var(--hd-surface); }
.exh-region-guide > summary { cursor: pointer; min-height: 40px; color: var(--hd-forest); font-size: .88rem; font-weight: 500; }
.exa-heritage .exa-region-card { height: 100%; cursor: pointer; }
.exa-heritage .exa-region-card .exa-card-header { background: var(--hd-cream); }
.exa-heritage .exa-region-card .exa-card-body .text-center { font-size: 1.5rem; color: var(--hd-forest); }
.exa-heritage .exa-region-card .exa-card-body p { color: var(--hd-muted); }
.exa-heritage .exa-region-progress { background: var(--hd-cream); }
.exa-heritage .exa-mini-component { background: var(--hd-bg); border: 1px solid var(--hd-border); color: var(--hd-forest); }
.exa-heritage .exa-mini-name, .exa-heritage .exa-mini-pct-badge { color: var(--hd-forest); }
.exa-heritage :is(.exa-btn-primary,.exa-btn-success,.exa-portrait-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 11px 16px; border: 1px solid var(--hd-forest); border-radius: 8px; background: var(--hd-forest); color: #fff; font: 600 .8rem/1.5 var(--hd-sans); box-shadow: none; transform: none; }
.exa-heritage .exa-btn-secondary { min-height: 44px; background: #fff; color: var(--hd-forest); border: 1px solid var(--hd-border); }
.exa-heritage .exa-section-badge { padding: 5px 9px; border: 1px solid var(--hd-border); border-radius: 6px; background: var(--hd-sage); color: var(--hd-forest); font: 500 .72rem/1.5 var(--hd-sans); }
.exa-heritage .exh-ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.exa-heritage .exh-ai-actions p { margin: 0; max-width: 75ch; color: var(--hd-muted); font-size: .82rem; }
.exa-heritage .ai-results { color: var(--hd-forest); }
.exa-heritage .exa-free-banner { margin: 0 0 20px; padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; border: 1px solid var(--hd-border); border-radius: 10px; background: var(--hd-cream); }
.exa-heritage .exa-free-banner p { margin: 5px 0 0; color: var(--hd-muted); font-size: .8rem; }
.exa-heritage .exa-ref-panel-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.exa-heritage .exa-ref-panel-card { min-width: 0; height: auto; overflow: hidden; padding: 18px; border: 1px solid var(--hd-border); background: var(--hd-surface); color: var(--hd-forest); box-shadow: none; transform: none !important; animation: none; }
.exa-heritage .exa-ref-panel-card::before { display: none; }
.exa-heritage .exa-ref-panel-card-expanded { display: block; opacity: 1; height: auto; max-height: none; transform: none; visibility: visible; padding-top: 14px; }
.exa-heritage .exa-ref-panel-card-title h4 { color: var(--hd-forest); font-size: 1.4rem; }
.exa-heritage :is(.exa-ref-panel-card-description p,.exa-ref-panel-regions,.exa-ref-panel-card-title small) { color: var(--hd-muted); }
.exa-heritage .exa-ref-panel-tag, .exa-heritage .exa-ref-panel-tag-more { background: var(--hd-cream); color: var(--hd-forest); border-color: var(--hd-border); }
.exa-heritage .exa-ref-panel-show-more .btn { color: var(--hd-forest); border-color: var(--hd-border); background: #fff; min-height: 44px; }
.exa-heritage .exa-ref-panel-card-hidden { display: none; }
.exa-heritage .exa-reference-text { white-space: pre-line; margin: 0; }
.exa-heritage .exa-portrait-card { background: var(--hd-surface); border-color: var(--hd-border); box-shadow: none; color: var(--hd-forest); }
.exa-heritage .exa-portrait-card-accent { background: var(--hd-sage); height: 4px; }
.exa-heritage .exa-portrait-card-body { padding: 24px; }
.exa-heritage .exa-portrait-title { color: var(--hd-forest); }
.exa-heritage .exa-portrait-description { color: var(--hd-muted); max-width: 75ch; }
.exa-heritage .exa-portrait-inputs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.exa-heritage .exa-portrait-input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--hd-border); border-radius: 7px; color: var(--hd-forest); background: #fff; }
.exa-heritage .ai-infographic-card { max-width: 100%; border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-surface); color: var(--hd-forest); }
.exa-heritage .ai-infographic-card :is(p,label,small,h3,h4,h5) { color: var(--hd-forest); }
.exa-heritage .adx-result-card { border: 1px solid var(--hd-border); border-radius: 12px; background: var(--hd-surface); color: var(--hd-forest); }
.exa-heritage .adx-result-card-header { padding: 18px 20px; background: var(--hd-cream); border-bottom: 1px solid var(--hd-border); }
.exa-heritage :is(.adx-result-card-title,.adx-result-card-body,.adx-infographic-description,.adx-infographic-locked-title,.adx-infographic-locked-description) { color: var(--hd-forest); }
.exa-heritage .adx-result-card-body { padding: 20px; }
.exa-heritage .adx-infographic-actions { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.exa-heritage .adx-infographic-actions > * { min-width: 0; max-width: 100%; }
.exa-heritage .adx-infographic-actions select { max-width: 100%; min-height: 44px; background: #fff; border-color: var(--hd-border); color: var(--hd-forest); }
.exa-heritage :is(.adx-infographic-actions,.adx-infographic-toolbar-actions,.adx-infographic-locked) .btn { min-height: 44px; white-space: normal; }
.exa-heritage :is(.adx-infographic-actions,.adx-infographic-locked) .btn-primary { color: #fff; background: var(--hd-forest); border-color: var(--hd-forest); }
.exa-heritage .adx-infographic-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.exa-heritage .adx-infographic-toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.exa-heritage :is(.adx-infographic-chip,.adx-credits-pill) { background: var(--hd-sage); border-color: var(--hd-border); color: var(--hd-forest); }
.exa-heritage :is(.exa-chr-chromosome-header,.exa-chr-component-header,.exa-chr-table-toolbar,.exa-chr-controls) { background: var(--hd-cream); }
.exa-heritage :is(.exa-chr-chromosome-card,.exa-chr-component-card,.exa-chr-table-container):hover { transform: none; box-shadow: none; }
.exa-heritage .exa-chr-view { min-width: 0; }
.exa-heritage .exa-chr-table-responsive { max-width: 100%; overflow-x: auto; }
.exa-heritage .exh-empty { padding: 28px; border: 1px dashed #b3bfad; border-radius: 12px; background: #fff; }
.exa-heritage .exh-empty p { color: var(--hd-muted); }
.exa-heritage .exclusive-region-drawer-backdrop { position: fixed; inset: 0; z-index: 1100; background: #15251eb3; opacity: 0; visibility: hidden; }
.exa-heritage .exclusive-region-drawer-backdrop.active { opacity: 1; visibility: visible; }
.exa-heritage .exclusive-region-drawer { position: fixed; inset: 0 0 0 auto; width: min(560px,100%); height: 100vh; height: 100dvh; z-index: 1101; display: flex; flex-direction: column; background: var(--hd-bg); border: 0; border-radius: 16px 0 0 16px; color: var(--hd-forest); transform: translateX(100%); transition: transform .2s ease; box-shadow: none; }
.exa-heritage .exclusive-region-drawer.active { transform: translateX(0); }
.exa-heritage .drawer-header { flex-shrink: 0; padding: 20px 24px; min-height: 76px; background: var(--hd-cream); border-bottom: 1px solid var(--hd-border); }
.exa-heritage .drawer-close-btn { min-width: 44px; min-height: 44px; color: var(--hd-forest); background: #fff; border: 1px solid var(--hd-border); }
.exa-heritage .drawer-region-badge { color: var(--hd-forest); background: var(--hd-sand); box-shadow: none; border-radius: 8px; }
.exa-heritage .drawer-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 20px 24px; background: var(--hd-bg); color: var(--hd-forest); }
.exa-heritage .drawer-image-container { display: block; height: auto; min-height: 100px; margin: 0 0 20px; border-radius: 10px; overflow: hidden; background: var(--hd-cream) !important; }
.exa-heritage .drawer-region-image { display: block; height: 160px; width: 100%; object-fit: cover; }
.exa-heritage .drawer-image-overlay { position: static; padding: 18px; background: none; }
.exa-heritage .drawer-title { color: var(--hd-forest); font: 500 1.9rem/1.2 var(--hd-serif); text-shadow: none; }
.exa-heritage .drawer-region-badge :is(.badge-percentage,.badge-label) { color: var(--hd-forest); text-shadow: none; }
.exa-heritage .drawer-subtitle { color: var(--hd-muted); }
.exa-heritage .drawer-section { margin: 0 0 16px; padding: 0; border: 0; }
.exa-heritage .exclusive-region-drawer :is(.card-dnagenics,.card-header,.card-body,.alert) { background: #fff; border-color: var(--hd-border); color: var(--hd-forest); box-shadow: none; transform: none; }
.exa-heritage .exclusive-region-drawer .card-header { padding: 14px 16px; background: var(--hd-cream); }
.exa-heritage .exclusive-region-drawer .card-header h5 { color: var(--hd-forest); font-size: 1.3rem; }
.exa-heritage .exclusive-region-drawer .card-body { padding: 16px; color: var(--hd-muted); }
.exa-heritage .exclusive-region-drawer .card-body p { color: var(--hd-muted); font-size: .82rem; white-space: pre-line; }
.exa-heritage .drawer-footer { flex-shrink: 0; background: #fff; border-top: 1px solid var(--hd-border); padding: 16px 24px max(16px,env(safe-area-inset-bottom)); }
.exa-heritage .drawer-footer button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--hd-border); border-radius: 8px; color: var(--hd-forest); background: #fff; }
.exa-heritage .exclusive-region-drawer #drawerMiniMap { height: 200px; width: 100%; }
.exa-heritage .drawer-sheet-handle { display: none; }
.exa-heritage .country-tag { background: var(--hd-sage); color: var(--hd-forest); border-color: var(--hd-border); }
.exa-heritage .exa-map-tip { background: #fff; color: var(--hd-forest); }
@media (max-width: 1199.98px) { .exh-overview { grid-template-columns: 1fr 1.2fr .7fr; } .exa-heritage .exa-ref-panel-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 991.98px) {
    .exa-heritage .exa-heritage-shell { padding-inline: 24px; }
    .exa-heritage #exaBackToTop { position: static; display: flex; margin: 20px 16px 0 auto; opacity: 1; visibility: visible; transform: none; z-index: auto; }
    .exa-heritage #composition-section > .container > .row > :is(.exh-composition-list,.exh-composition-visual) { flex: 0 0 100%; max-width: 100%; }
    .exh-header { align-items: flex-start; flex-direction: column; gap: 16px; }
    .exa-heritage .mapcontinental { height: 380px !important; }
    .exa-heritage .exh-composition-chart { height: 380px; }
}
@media (max-width: 768px) {
    .exa-heritage .exclusive-region-drawer { inset: auto 0 0; width: 100%; height: 90vh; height: 90dvh; border-radius: 20px 20px 0 0; transform: translateY(100%); }
    .exa-heritage .exclusive-region-drawer.active { transform: translateY(0); }
    .exa-heritage .drawer-sheet-handle { display: block; flex-shrink: 0; width: 36px; height: 4px; margin: 10px auto 0; border-radius: 3px; background: #b7beaf; }
    .exa-heritage .drawer-header { padding: 12px 16px; min-height: 66px; }
    .exa-heritage .drawer-content { padding: 16px; }
}
@media (max-width: 575.98px) {
    .exa-heritage .exa-heritage-shell { padding-inline: 16px; }
    .exh-overview { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; padding: 20px; }
    .exh-overview > div { padding-right: 14px; }
    .exh-overview > div:first-child { grid-column: 1 / -1; border: 0; border-bottom: 1px solid #dccdb2; padding: 0 0 14px; }
    .exh-overview strong { font-size: 1.5rem; }
    .exh-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .exh-actions p { grid-column: 1 / -1; }
    .exh-actions button:last-child { grid-column: 1 / -1; }
    .exh-section-links { gap: 0 16px; }
    .exa-heritage .exa-card-body, .exa-heritage .exa-composition-header { padding: 16px; }
    .exa-heritage .exa-section { padding-block: 24px; }
    .exa-heritage .exa-ref-panel-grid, .exa-heritage .exa-portrait-inputs { grid-template-columns: minmax(0,1fr); }
    .exa-heritage .mapcontinental { height: 320px !important; }
    .exa-heritage .exh-composition-chart { height: 320px; }
    .exa-heritage #exaChromosomeTabContent { padding: 12px !important; }
    .exa-heritage .exa-tabs { gap: 4px; padding: 6px; }
    .exa-heritage .exa-tab { flex: 1 1 120px; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) { .exa-heritage .exclusive-region-drawer { transition: none; } }
@media print {
    html:has(.exa-heritage), body:has(.exa-heritage) { min-width: 0 !important; }
    .exa-heritage { padding: 0; }
    .exa-heritage .exa-heritage-shell { max-width: none; width: 100%; padding: 0; }
    .exa-heritage .container { min-width: 0 !important; max-width: 100% !important; }
    .exa-heritage .row { margin-inline: 0; min-width: 0; }
    .exh-actions, .exh-section-links, .exa-heritage .exclusive-region-drawer, .exa-heritage .exclusive-region-drawer-backdrop { display: none !important; }
    .exa-heritage .exa-section { padding-block: 16px; }
    .exa-heritage .exa-card, .exh-overview { break-inside: avoid; box-shadow: none; }
}
