.family-workspace :is(button,a,input):focus-visible,.pedigree-side-panel :is(button,a):focus-visible,.pedigree-controls button:focus-visible{outline:2px solid var(--theme-readable-accent,var(--theme-gold-warm));outline-offset:3px}.family-workspace{min-height:0;color:var(--theme-text);font-family:var(--font-inter), Arial, sans-serif}.family-workspace__header h1{font:400 clamp(1.5rem, 2.2vw, 1.875rem) / 1.2 var(--font-playfair), Georgia, serif;letter-spacing:-.025em}.family-workspace__stats{font-variant-numeric:tabular-nums;line-height:1.6}.family-research-switcher{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.family-research-switcher__button{border:1px solid var(--theme-border-warm);background:var(--theme-surface);min-height:44px;color:var(--theme-text-secondary);text-align:left;cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:10px 14px;font-size:12px;line-height:1.5;transition:background .15s,border-color .15s;display:inline-flex}.family-research-switcher__button:hover{background:var(--theme-surface-hover);color:var(--theme-text)}.family-research-switcher__button[aria-pressed=true]{color:var(--theme-readable-accent,var(--theme-gold-warm));background:var(--theme-node-bg-selected);border-color:var(--theme-readable-accent,var(--theme-gold-warm));box-shadow:inset 0 -2px 0 var(--theme-readable-accent,var(--theme-gold-warm))}.pedigree-research-workspace{flex-direction:column;gap:24px;min-width:0;height:100%;display:flex;overflow:hidden auto}.family-workspace--research .pedigree-research-workspace{height:auto;overflow:visible}.pedigree-research-workspace.pedigree-research-workspace--dna,.pedigree-research-workspace.pedigree-research-workspace--puga,.pedigree-research-workspace.pedigree-research-workspace--hurtado{gap:16px}.pedigree-research-workspace [data-supporting-hypothesis]{margin-top:0}.pedigree-chart--research{flex:none;height:clamp(500px,72dvh,820px)}@media (min-width:640px){.pedigree-chart--mendez-expanded,.pedigree-chart--puga-martinez{height:920px}.pedigree-chart--puga-villamarin{height:700px}.pedigree-chart--hurtado-expanded{height:760px}}.pedigree-research-focus{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;padding:0 4px;display:flex}.pedigree-research-focus>span{color:var(--theme-text-secondary);font-size:13px;line-height:1.5}.pedigree-research-focus>div{flex-wrap:wrap;gap:8px;display:flex}.pedigree-research-focus button{border:1px solid var(--theme-border-warm);background:var(--theme-surface);min-height:44px;color:var(--theme-text);font:500 13px/1.5 var(--font-inter),Arial,sans-serif;cursor:pointer;border-radius:7px;padding:8px 14px}.pedigree-research-focus button:hover{background:var(--theme-surface-hover);border-color:var(--theme-readable-accent,var(--theme-gold-warm))}@media (max-width:639px){.pedigree-research-workspace{gap:20px}.pedigree-chart--research{height:520px}.pedigree-research-focus{align-items:flex-start}.pedigree-research-focus>div{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.pedigree-research-focus button{text-wrap:balance;min-width:0;padding:8px 10px;font-size:12px}.family-research-switcher{grid-template-columns:1fr;display:grid}.family-research-switcher__button{width:100%}}.family-workspace--compact .family-workspace__header-inner{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 20px;padding:10px 16px;display:grid}.family-workspace--compact .family-workspace__heading-row{display:contents}.family-workspace--compact .family-workspace__identity{grid-area:1/1}.family-workspace--compact .family-workspace__header h1{font-size:1.4rem}.family-workspace--compact .family-workspace__stats{margin-top:3px;font-size:11px}.family-workspace--compact .family-tree-controls{grid-area:1/3;justify-content:flex-end}.family-workspace--compact .family-tree-controls>div>button{min-height:44px;padding:6px 10px}.family-workspace--compact .family-research-switcher:not([data-mendez-own-lines]){scrollbar-width:thin;flex-wrap:nowrap;grid-area:1/2;gap:6px;min-width:0;margin:0;display:flex;overflow-x:auto}.family-workspace--compact [data-mendez-own-lines]{scrollbar-width:thin;flex-wrap:nowrap;gap:6px;min-width:0;margin:0 0 12px;display:flex;overflow-x:auto}.family-workspace--compact .family-research-switcher__button{flex-shrink:0;width:auto;padding:8px 10px;font-size:11px}.family-workspace--compact .family-workspace__chart{padding:8px 12px}.family-workspace--compact .pedigree-research-workspace--dna{gap:10px}.family-workspace__tree-context{max-width:65ch;color:var(--theme-text-secondary);font-size:12px}.family-workspace__tree-context summary{cursor:pointer;width:fit-content;min-height:44px;color:var(--theme-readable-accent,var(--theme-gold-warm));align-content:center}.family-workspace__tree-context summary:focus-visible{outline:2px solid var(--theme-readable-accent,var(--theme-gold-warm));outline-offset:3px}.family-workspace__tree-context p{margin:0 0 10px;line-height:1.6}.family-workspace__tree-context a{text-underline-offset:3px;align-items:center;min-height:44px;text-decoration:underline;display:inline-flex}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__header-inner{padding-top:10px;padding-bottom:8px}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__branches{scrollbar-width:thin;flex-wrap:nowrap;margin-top:6px;padding-bottom:2px;overflow-x:auto}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__branches>*{flex-shrink:0}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__header h1{font-size:1.4rem}@media (max-width:1200px){.family-workspace--compact .family-workspace__header-inner{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px}.family-workspace--compact .family-tree-controls{grid-column:2}.family-workspace--compact .family-research-switcher:not([data-mendez-own-lines]){grid-area:2/1/auto/-1}}@media (max-width:639px){.family-workspace--compact .family-workspace__header-inner{padding:8px 12px}.family-workspace--compact .family-workspace__header h1{font-size:1.25rem}.family-workspace--compact .family-tree-controls>div>button{max-width:180px}.family-workspace--compact .family-tree-controls>div>button small{display:none}.family-workspace--compact .family-tree-controls>div>button strong{font-size:12px}.family-workspace--compact .family-workspace__chart{padding:8px 6px}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__heading-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 8px;display:grid}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__identity{grid-column:1/-1}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__header h1{font-size:1.25rem}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__stats{margin-top:3px;font-size:11px}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-tree-controls>div{width:100%}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-tree-controls>div>button{gap:5px;width:100%;min-height:44px;padding:8px}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-tree-controls>div>button small,:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__person-controls>span{display:none}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-tree-controls>div>button strong,:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-member-selector>button{font-size:12px}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__person-controls,:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-member-selector{width:100%}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__branches{gap:6px}:is(.family-workspace--guadalupe,.family-workspace--felipe) .family-workspace__branches button{padding:8px 10px;font-size:11px}}.pedigree-dna-line{fill:none;stroke:var(--theme-readable-accent,var(--theme-gold-warm));stroke-width:2px}.pedigree-dna-node--match .pedigree-dna-node__surface{stroke:var(--theme-readable-accent,var(--theme-gold-warm))}.pedigree-dna-node{cursor:pointer;font-family:var(--font-inter), Arial, sans-serif}.pedigree-dna-node:hover .pedigree-dna-node__surface,.pedigree-dna-node:focus-visible .pedigree-dna-node__surface{stroke:var(--theme-gold-soft);stroke-width:2px}.pedigree-dna-node:focus-visible{outline:none}.pedigree-proposed-line{fill:none;stroke:var(--theme-text-secondary);stroke-width:1.5px;stroke-dasharray:6 6}.pedigree-native-research-node{width:100%;height:100%;color:var(--theme-text);text-align:left;cursor:pointer;font-family:var(--font-inter),Arial,sans-serif;background:0 0;border:0;flex-direction:column;justify-content:center;gap:2px;padding:0;display:flex}.pedigree-native-research-node strong{font-size:11px;font-weight:500;line-height:1.2}.pedigree-native-research-node span{text-overflow:ellipsis;white-space:nowrap;color:var(--theme-text-secondary);font-size:10px;line-height:1.3;overflow:hidden}.pedigree-native-caption{font:10px/1.5 var(--font-inter),Arial,sans-serif;color:var(--theme-text-secondary);margin:0}.pedigree-dna-migration-note{margin-top:6px}.pedigree-dna-node--ancestor .pedigree-dna-node__surface,.pedigree-dna-node--medieval .pedigree-dna-node__surface,.pedigree-dna-node--amsterdam .pedigree-dna-node__surface{stroke-dasharray:4 3}.pedigree-dna-node--florida .pedigree-dna-node__surface{stroke:var(--theme-readable-accent,var(--theme-gold-warm))}.pedigree-native-notes{min-height:28px;color:var(--theme-text-secondary);font:10px/1.5 var(--font-inter),Arial,sans-serif;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.pedigree-native-cadet{font:11px/1.5 var(--font-inter),Arial,sans-serif;color:var(--theme-text-secondary);overflow-wrap:break-word;flex-direction:column;gap:6px;display:flex}.pedigree-native-cadet strong{color:var(--theme-text);font-size:12px;font-weight:500;line-height:1.4}.pedigree-native-house-heading{font:11px/1.5 var(--font-inter),Arial,sans-serif;color:var(--theme-text-secondary);flex-direction:column;gap:4px;display:flex}.pedigree-native-house-heading strong{color:var(--theme-text);font-weight:500}.pedigree-historical-context{color:var(--theme-text-secondary);font:10px/1.35 var(--font-inter),Arial,sans-serif;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;gap:2px;padding:0;display:flex}.pedigree-historical-context span{align-items:center;gap:5px;display:flex}.pedigree-speculation-caption,.pedigree-network-caption{min-height:44px;color:var(--theme-text-secondary);font:11px/1.5 var(--font-inter),Arial,sans-serif;text-align:left;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;gap:5px;padding:0;display:flex}.pedigree-speculation-caption strong,.pedigree-network-caption strong{color:var(--theme-text);font-size:12px;font-weight:500}.pedigree-network-caption{border-left:1px solid var(--theme-node-stroke);padding-left:10px}.pedigree-secondary-source{min-height:28px;color:var(--theme-text-secondary);font:11px/1.5 var(--font-inter),Arial,sans-serif;text-underline-offset:3px;align-items:center;text-decoration:underline;display:inline-flex}.pedigree-espinosa-toggle{width:44px;height:44px;color:var(--theme-text);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.pedigree-espinosa-toggle>span{border:1px solid var(--theme-node-stroke);background:var(--theme-node-bg);border-radius:6px;place-items:center;width:24px;height:24px;display:grid}.pedigree-espinosa-toggle:hover>span,.pedigree-espinosa-toggle:focus-visible>span{border-color:var(--theme-readable-accent,var(--theme-gold-warm));color:var(--theme-readable-accent,var(--theme-gold-warm))}.pedigree-candidate-name,.pedigree-candidate-person{width:100%;height:100%;color:var(--theme-text);text-align:left;font-family:var(--font-inter),Arial,sans-serif;cursor:pointer;background:0 0;border:0;align-items:center;padding:0;font-size:13px;font-weight:500;line-height:1.3;text-decoration:none;display:flex}.pedigree-candidate-person{font-size:12px}.pedigree-candidate-name:focus-visible,.pedigree-candidate-person:focus-visible{outline:2px solid var(--theme-gold-warm);outline-offset:-2px;border-radius:4px}.pedigree-candidate-person:hover{color:var(--theme-readable-accent,var(--theme-gold-warm))}.pedigree-candidate-link{min-height:28px;color:var(--theme-readable-accent,var(--theme-gold-warm));text-underline-offset:3px;align-items:center;font-size:12px;text-decoration:underline;display:inline-flex}.family-dna-dialog{border:1px solid var(--theme-border-warm);background:var(--theme-bg);width:min(1100px,100vw - 24px);height:min(950px,90dvh);max-height:90dvh;color:var(--theme-text);border-radius:12px;margin:auto;padding:0}.family-dna-dialog::backdrop{background:#000000a6}.spinoza-comparison-heading{color:var(--theme-text-secondary);font:11px/1.5 var(--font-inter), Arial, sans-serif;flex-direction:column;gap:6px;display:flex}.spinoza-comparison-heading strong{color:var(--theme-text);font-size:14px}.spinoza-comparison-link{fill:none;stroke:var(--theme-text-secondary);stroke-width:1.5px;stroke-dasharray:4 7}.spinoza-research-notes{height:100%;color:var(--theme-text-secondary);padding:clamp(20px,4vw,48px);font-size:14px;line-height:1.8;overflow:auto}.spinoza-notes-back{min-height:44px;color:var(--theme-readable-accent,var(--theme-gold-warm));cursor:pointer;background:0 0;border:0;margin-bottom:16px}.spinoza-research-notes h2{font:400 1.8rem/1.3 var(--font-playfair), Georgia, serif;color:var(--theme-text);margin:8px 0 20px}.spinoza-research-notes h3{color:var(--theme-text);margin:24px 0 8px;font-size:16px}.spinoza-research-notes p{margin:12px 0}.spinoza-research-notes ul{padding-left:20px;list-style:outside}.spinoza-research-notes li{margin:8px 0}.spinoza-research-notes a{color:var(--theme-readable-accent,var(--theme-gold-warm));text-underline-offset:3px;text-decoration:underline}.spinoza-caution{border-left:2px solid var(--theme-border-strong);background:var(--theme-surface);padding:12px 16px}.spinoza-surname-grid{flex-wrap:wrap;gap:8px;display:flex}.spinoza-surname-grid span{border:1px solid var(--theme-border-warm);background:var(--theme-surface);border-radius:6px;padding:6px 12px}.family-member-selector{max-width:24rem}.family-member-selector input::placeholder{color:var(--theme-text-secondary);opacity:1}.family-member-selector button>div:first-child{flex-shrink:0}.family-member-selector button p{overflow-wrap:anywhere}.pedigree-side-panel{font-family:var(--font-inter), Arial, sans-serif}.pedigree-side-panel h2{font:400 1.5rem / 1.3 var(--font-playfair), Georgia, serif;overflow-wrap:anywhere;text-wrap:pretty}.pedigree-side-panel p{line-height:1.6}.pedigree-side-panel a{overflow-wrap:anywhere}.pedigree-side-panel a:hover{text-underline-offset:.2em;text-decoration:underline}.pedigree-side-panel [id$=-certificates]>div{flex-wrap:wrap;gap:.4rem 1rem}.pedigree-side-panel [id$=-certificates] a{align-items:center;min-height:44px;display:inline-flex}.pedigree-controls button{min-width:44px;min-height:44px;color:var(--theme-text-secondary);place-items:center;display:grid}.pedigree-controls button:not(:disabled):hover{color:var(--theme-readable-accent,var(--theme-gold-warm))}.pedigree-controls button:focus-visible{outline-offset:-3px}.pedigree-controls button:disabled{opacity:.4}.pedigree-hint{color:var(--theme-text-secondary);background:var(--theme-bg-elevated);border:1px solid var(--theme-border-warm);pointer-events:none;border-radius:6px;max-width:calc(100% - 1.5rem);padding:.35rem .65rem;font-size:.8125rem;line-height:1.6}@media (max-width:639px){.family-member-selector{flex:1}.pedigree-controls{flex-flow:wrap;gap:0;max-width:calc(100% - 1.5rem)}.pedigree-controls>div{align-self:center;width:1px;height:24px;margin:0 1px}}.pedigree-person:focus-visible,.pedigree-action:focus-visible .pedigree-action__surface{stroke:var(--theme-gold-warm);stroke-width:3px}.pedigree-person:focus-visible,.pedigree-action:focus-visible{outline:none}@media (prefers-reduced-motion:reduce){.family-workspace *,.family-workspace :before,.family-workspace :after{transition:none!important;animation:none!important}}.pedigree-node-text{height:100%;font-family:var(--font-inter),Arial,sans-serif;flex-direction:column;justify-content:center;gap:1px;display:flex}.pedigree-node-name{color:var(--theme-text);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;font-weight:500;line-height:14px;display:-webkit-box;overflow:hidden}.pedigree-node-caption{color:var(--theme-text-secondary);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:12px;overflow:hidden}
