:root[data-touch-layout] .site-header.is-touch{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px 10px;min-height:0;padding:6px 12px;display:grid;position:static}:root[data-touch-layout] .site-header.is-touch .brand{order:0;min-width:0}:root[data-touch-layout] .site-header.is-touch .brand-logo{max-width:100%;height:34px}:root[data-touch-layout] .site-header.is-touch .site-header-actions{display:contents}:root[data-touch-layout] .site-header.is-touch .touch-header-slot{order:1;display:flex}:root[data-touch-layout] .site-header.is-touch .touch-header-slot:empty{display:none}:root[data-touch-layout] .site-header.is-touch .touch-menu-button{order:2}:root[data-touch-layout] .site-header.is-touch .language-toggle,:root[data-touch-layout] .site-header.is-touch .touch-rotate-hint{display:none}:root[data-touch-layout] .site-header.is-touch.is-menu-open .language-toggle{order:5;grid-column:1/-1;justify-self:start;display:inline-flex}:root[data-touch-layout] .site-header.is-touch.is-menu-open .touch-rotate-hint{color:var(--muted);order:6;grid-column:1/-1;align-items:center;gap:8px;margin:0;font-size:13px;display:flex}:root[data-touch-layout] .site-header.is-touch .touch-rotate-hint svg{flex:none;width:20px;height:20px}:root[data-touch-layout] .site-header.is-touch .site-header-center-actions,:root[data-touch-layout] .site-header.is-touch nav{display:none}:root[data-touch-layout] .site-header.is-touch.is-menu-open .site-header-center-actions{flex-wrap:wrap;order:3;grid-column:1/-1;justify-content:flex-start;gap:8px;width:100%;max-width:none;padding-top:4px;display:flex;position:static;transform:none}:root[data-touch-layout] .site-header.is-touch.is-menu-open nav{border-top:1px solid var(--line);order:4;grid-column:1/-1;gap:4px;padding:6px 0 2px;display:flex}:root[data-touch-layout] .site-header.is-touch.is-menu-open nav a{padding:10px 12px;font-size:15px}:root[data-touch-layout] .touch-menu-button{background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:8px;justify-content:center;align-items:center;width:44px;height:40px;padding:0;display:inline-flex}:root[data-touch-layout] .touch-menu-button svg,:root[data-touch-layout] .touch-settings-button svg,:root[data-touch-layout] .touch-summary-button svg,:root[data-touch-layout] .touch-rotate-hint svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px}:root[data-touch-layout] .touch-menu-button svg{width:22px;height:22px}:root[data-touch-layout] .touch-map-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}:root[data-touch-layout] .touch-settings-button,:root[data-touch-layout] .touch-summary-button,:root[data-touch-layout] .touch-controls-close{background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:999px;align-items:center;gap:8px;min-height:40px;padding:0 14px;font-size:14px;font-weight:750;display:inline-flex;box-shadow:0 2px 8px #17212b1f}:root[data-touch-layout] .touch-settings-button{box-shadow:none;background:var(--blue);border-color:var(--blue);color:#fff;height:40px;min-height:0;font-size:15px}:root[data-touch-layout] .touch-settings-button,:root[data-touch-layout] .touch-summary-button{white-space:nowrap}:root[data-touch-layout] .touch-settings-button svg,:root[data-touch-layout] .touch-summary-button svg{flex:none;width:18px;height:18px}:root[data-touch-layout] .touch-summary-button[aria-pressed=false]{color:var(--muted)}:root[data-touch-layout] .map-workspace.is-touch:not(:has(.selection-correlation-panel,.cluster-dendrogram-panel)) .touch-summary-button{display:none}:root[data-touch-layout] .map-workspace.is-touch .control-panel{overscroll-behavior:contain;padding-bottom:calc(28px + env(safe-area-inset-bottom));visibility:hidden;z-index:50;border:0;border-radius:0;transition:transform .18s,visibility 0s linear .18s;position:fixed;top:0;bottom:0;left:0;transform:translate(-105%)}:root[data-touch-layout] .map-workspace.is-touch.is-controls-open .control-panel{visibility:visible;transition:transform .18s;transform:none}:root[data-touch-layout] .touch-controls-head{background:var(--panel);border-bottom:1px solid var(--line);z-index:2;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex;position:sticky;top:0}:root[data-touch-layout] .touch-controls-head strong{font-size:16px}:root[data-touch-layout] .touch-controls-close{box-shadow:none}:root[data-touch-layout] .touch-controls-backdrop{z-index:49;background:#0f172a61;border:0;padding:0;position:fixed;inset:0}:root[data-touch-layout] .map-workspace.is-touch .control-panel select{min-height:44px}:root[data-touch-layout] .map-workspace.is-touch .segmented-control button{overflow-wrap:normal;min-height:42px;padding:0 3px;font-size:14px}:root[data-touch-layout] .map-workspace.is-touch .panel-disclosure>summary{padding-block:6px}:root[data-touch-layout] .map-workspace.is-touch .map-panel{height:auto;min-height:0}:root[data-touch-layout] .map-workspace.is-touch .geogens-hover-popup,:root[data-touch-layout] .map-workspace.is-touch.is-summary-hidden .selection-correlation-panel,:root[data-touch-layout] .map-workspace.is-touch.is-summary-hidden .cluster-dendrogram-panel{display:none}:root[data-touch-layout] .map-workspace.is-touch .timeline-step-button{width:44px;height:32px}:root[data-touch-layout] .map-workspace.is-touch .timeline-step-button svg{width:16px;height:16px}:root[data-touch-layout] .map-workspace.is-touch .range-label-toggle{padding:6px 10px}:root[data-touch-layout] .map-workspace.is-touch .timeline-control input[type=range]{height:28px}:root[data-touch-layout] .legal-footer{bottom:calc(3px + env(safe-area-inset-bottom))}:root[data-touch-layout] .legal-footer a{white-space:nowrap}:root[data-touch-layout=portrait] .map-workspace.is-touch{flex-direction:column;gap:10px;height:auto;padding:10px 10px 30px;display:flex}:root[data-touch-layout=portrait] .map-workspace.is-touch .control-panel{right:0}:root[data-touch-layout=portrait] .touch-controls-backdrop{display:none}:root[data-touch-layout=portrait] .map-workspace.is-touch .map-stack{height:auto;min-height:0}:root[data-touch-layout=portrait] .map-workspace.is-touch .map-container,:root[data-touch-layout=portrait] .map-workspace.is-touch .map-loading{height:min(70dvh,100dvh - 205px);min-height:280px}:root[data-touch-layout=portrait] .map-workspace.is-touch .selection-correlation-panel,:root[data-touch-layout=portrait] .map-workspace.is-touch .cluster-dendrogram-panel{border-left:0;border-top:1px solid var(--line);box-shadow:none;width:auto;max-width:none;max-height:none;position:static}:root[data-touch-layout=portrait] .map-workspace.is-touch .map-detail-panel:not(.selection-correlation-panel):not(.cluster-dendrogram-panel){border-left:0;border-top:1px solid var(--line);border-radius:14px 14px 0 0;width:auto;max-width:none;max-height:62%;inset:auto 0 0;box-shadow:0 -10px 28px #17212b2e}:root[data-touch-layout=portrait] .map-workspace.is-touch .timeline-panel{bottom:calc(24px + env(safe-area-inset-bottom));z-index:6;padding:8px 14px 10px;position:sticky;box-shadow:0 -4px 20px #17212b24}:root[data-touch-layout=portrait] .map-workspace.is-touch .timeline-panel .field-label{margin-bottom:0}:root[data-touch-layout=portrait] .map-workspace.is-touch .timeline-control{padding-top:14px}:root[data-touch-layout=portrait] .map-workspace.is-touch .range-labels{align-items:center;gap:8px;min-height:32px;margin-top:4px}:root[data-touch-layout=portrait] .map-workspace.is-touch .timeline-step-buttons{position:static;transform:none}@media (max-width:359px){:root[data-touch-layout=portrait] .map-workspace.is-touch .range-labels>span:last-child{display:none}}:root[data-touch-layout=landscape] .site-header.is-touch{padding:4px max(12px, env(safe-area-inset-right)) 4px max(12px, env(safe-area-inset-left))}:root[data-touch-layout=landscape] .site-header.is-touch .brand-logo{height:30px}:root[data-touch-layout=landscape] .site-header.is-touch .touch-menu-button,:root[data-touch-layout=landscape] .touch-settings-button{height:36px}:root[data-touch-layout=landscape] .map-workspace.is-touch{height:calc(100dvh - 42px);min-height:260px;padding:4px max(8px, env(safe-area-inset-right)) 24px max(8px, env(safe-area-inset-left));grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:6px;display:grid;position:relative}:root[data-touch-layout=landscape] .touch-map-actions{left:calc(max(8px, env(safe-area-inset-left)) + 8px);z-index:5;position:absolute;top:12px}:root[data-touch-layout=landscape] .touch-summary-button{min-height:36px;padding:0 12px;font-size:13px}:root[data-touch-layout=landscape] .map-workspace.is-touch .control-panel{width:min(400px,86vw)}:root[data-touch-layout=landscape] .map-workspace.is-touch .map-panel{grid-row:1;height:100%}:root[data-touch-layout=landscape] .map-workspace.is-touch .map-stack,:root[data-touch-layout=landscape] .map-workspace.is-touch .map-container,:root[data-touch-layout=landscape] .map-workspace.is-touch .map-loading{height:100%;min-height:0}:root[data-touch-layout=landscape] .map-workspace.is-touch .maplibregl-ctrl-top-right{top:46px;left:0;right:auto}:root[data-touch-layout=landscape] .map-workspace.is-touch .map-detail-panel{gap:10px;width:min(330px,44%);max-width:none;max-height:calc(100% - 16px);padding:12px;top:8px;right:8px}:root[data-touch-layout=landscape] .map-workspace.is-touch .timeline-panel{grid-row:2;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:14px;padding:4px 12px 6px;display:grid}:root[data-touch-layout=landscape] .map-workspace.is-touch .timeline-panel .field-label{flex-direction:column;align-items:flex-start;gap:0;margin:0;font-size:12px}:root[data-touch-layout=landscape] .map-workspace.is-touch .timeline-panel .field-label span{font-size:14px}:root[data-touch-layout=landscape] .map-workspace.is-touch .timeline-control{padding-top:12px}:root[data-touch-layout=landscape] .map-workspace.is-touch .range-labels{align-items:center;gap:8px;margin:0}:root[data-touch-layout=landscape] .map-workspace.is-touch .range-labels>span:last-child{display:none}:root[data-touch-layout=landscape] .map-workspace.is-touch .timeline-step-buttons{position:static;transform:none}:root[data-touch-layout=landscape] .map-workspace.is-touch .timeline-step-button{height:30px}:root[data-touch-layout] .doc-content.correlation-page{padding:12px max(8px, env(safe-area-inset-right)) 64px max(8px, env(safe-area-inset-left))}:root[data-touch-layout] .correlation-page .correlation-mode-header{padding:13px 14px;font-size:18px}:root[data-touch-layout] .correlation-page .correlation-mode-body{padding:0 8px 12px}:root[data-touch-layout] .correlation-page .correlation-page-controls{margin:8px 0;padding:10px}:root[data-touch-layout] .correlation-page .correlation-chart-card,:root[data-touch-layout] .correlation-page .correlation-table-card{margin-top:10px;padding:12px 10px}:root[data-touch-layout] .correlation-page .chart-heading h2,:root[data-touch-layout] .correlation-page .correlation-table-card summary span{font-size:17px}:root[data-touch-layout] .correlation-page .correlation-page-controls select{width:100%;min-width:0;max-width:100%;min-height:42px;font-size:15px}:root[data-touch-layout] .correlation-page .correlation-page-controls label{min-width:0}:root[data-touch-layout] .correlation-page .segmented-buttons button{min-height:38px;font-size:13px}:root[data-touch-layout] .correlation-page .segmented-control.compact{width:100%}:root[data-touch-layout] .correlation-page .segmented-control.compact button{min-height:38px;font-size:12px}:root[data-touch-layout] .correlation-page .group-minimum-group-size,:root[data-touch-layout] .correlation-page .group-sample-minimum,:root[data-touch-layout] .correlation-page .group-haplogroup-level{white-space:normal;flex-direction:column-reverse;align-items:flex-start;gap:4px;margin:0}:root[data-touch-layout] .correlation-page .group-sample-threshold-stack{gap:10px;width:100%}:root[data-touch-layout] .correlation-page .group-minimum-group-size-options,:root[data-touch-layout] .correlation-page .group-sample-minimum-options,:root[data-touch-layout] .correlation-page .group-haplogroup-level-options{flex-wrap:wrap;gap:6px;display:flex}:root[data-touch-layout] .correlation-page .group-minimum-group-size-options button,:root[data-touch-layout] .correlation-page .group-sample-minimum-options button,:root[data-touch-layout] .correlation-page .group-haplogroup-level-options button{min-width:42px;min-height:36px;padding:6px 10px;font-size:13px}:root[data-touch-layout] .correlation-page .correlation-summary-grid.correlation-overview-grid,:root[data-touch-layout] .correlation-page .correlation-summary-grid.correlation-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0}:root[data-touch-layout] .correlation-page .correlation-summary-grid.correlation-meta-grid>:last-child:nth-child(odd){grid-column:1/-1}:root[data-touch-layout] .correlation-page .correlation-summary-grid article{padding:9px 10px}:root[data-touch-layout] .correlation-page .correlation-summary-grid strong{font-size:21px}:root[data-touch-layout] .correlation-page .correlation-summary-grid span,:root[data-touch-layout] .correlation-page .correlation-summary-grid small{font-size:12px;line-height:1.4}:root[data-touch-layout] .correlation-page .chart-axis-label,:root[data-touch-layout] .correlation-page .chart-x-label{font-size:13px}:root[data-touch-layout] .correlation-page .chart-window-label{padding:6px 8px;font-size:12px}:root[data-touch-layout] .correlation-page .correlation-time-table{grid-template-columns:minmax(0,1fr) auto auto;overflow-x:visible}:root[data-touch-layout] .correlation-page .correlation-time-table>.table-heading,:root[data-touch-layout] .correlation-page .correlation-time-row>*{padding:6px}:root[data-touch-layout] .correlation-page .correlation-time-table>.table-heading:nth-of-type(-n+3),:root[data-touch-layout] .correlation-page .correlation-time-row>:nth-child(-n+3){border-bottom:0;padding-bottom:0}:root[data-touch-layout] .correlation-page .correlation-time-table>.table-heading:nth-of-type(4),:root[data-touch-layout] .correlation-page .correlation-time-row>:nth-child(4){grid-column:1/3}:root[data-touch-layout] .correlation-page .correlation-time-row>:nth-child(4),:root[data-touch-layout] .correlation-page .correlation-time-row>:nth-child(5){color:var(--muted);padding-top:2px;font-size:12px}:root[data-touch-layout] .correlation-page .correlation-time-table>.table-heading:nth-of-type(4){padding-top:2px}:root[data-touch-layout] .correlation-page .correlation-time-row>strong{font-size:13px}:root[data-touch-layout] .correlation-page .correlation-table-card summary{align-items:flex-start}:root[data-touch-layout] .correlation-page .correlation-method-note{margin-top:14px;font-size:13px}:root[data-touch-layout] .correlation-page .stage-value-label,:root[data-touch-layout] .correlation-page .stage-n-label{font-size:11px}
