.family-panel{background:#fffdf8;border:1px solid #193f4226;border-radius:18px;padding:22px}.family-panel h2{font-size:1.25rem;font-weight:700}.family-collapse-toggle{text-align:left;color:#193f42;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.family-collapse-toggle:focus-visible{outline-offset:3px;outline:2px solid #a75737}.family-zoom-controls button:focus-visible{outline-offset:3px;outline:2px solid #a75737}.family-collapse-toggle span{font-size:1.25rem;font-weight:400}.family-hint{color:#61716e;margin:10px 0 15px;font-size:.875rem;line-height:1.75}.family-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:15px;display:grid}.family-fields label{color:#193f42;flex-direction:column;gap:6px;min-width:0;font-size:.875rem;font-weight:600;display:flex}.family-label{color:#193f42;margin-bottom:6px;font-size:.875rem;font-weight:600;display:block}.family-input{color:#193f42;background:#fff;border:1px solid #bdcbc3;border-radius:10px;width:100%;min-width:0;padding:10px 12px;font-size:1rem;font-weight:400}:is(.family-input:focus-visible,.family-date-control:focus-within){outline-offset:2px;outline:2px solid #a75737}.family-note-field{grid-column:1/-1}.family-note-field textarea{resize:vertical;overflow-wrap:anywhere;min-height:70px;line-height:1.5}.family-partner-choice{margin-top:14px}.family-partner-choice .family-section-actions{margin-top:7px}.family-date-control{color:#193f42;white-space:nowrap;background:#fff;border:1px solid #bdcbc3;border-radius:10px;align-items:center;gap:5px;min-height:46px;padding:6px 9px;font-size:.85rem;display:flex}.family-date-control>span{flex:none}.family-date-part{flex:1 1 0;align-items:center;min-width:0;flex-direction:row!important;gap:1px!important;display:inline-flex!important}.family-date-part:first-of-type{flex:1.5 1 0}.family-date-part input{color:#193f42;text-align:center;width:100%;min-width:0;font:inherit;background:0 0;border:0;border-bottom:1px solid #aebcb3;border-radius:0;padding:2px 1px}.family-date-part input:focus{outline:1px solid #a75737}.family-subpanel{background:#f8faf6;border:1px solid #d8e1d8;border-radius:12px;margin-top:14px;padding:15px}.family-subheading{justify-content:space-between;align-items:center;gap:12px;display:flex}.family-grandparent{border-left:2px solid #bed0c6;margin:15px 0 0 12px;padding:3px 0 3px 15px}.family-ancestors{gap:14px;margin-top:15px;display:grid}.family-ancestors h3{color:#193f42;font-size:.95rem;font-weight:700}.family-parent-note{color:#61716e;margin:0 0 8px;font-size:.85rem}.family-checks{flex-wrap:wrap;grid-column:1/-1;gap:8px 15px;margin-top:4px;font-size:.85rem;display:flex}.family-checks label,.family-check{color:#193f42;align-items:center;gap:6px;font-weight:600;flex-direction:row!important;display:inline-flex!important}.family-checks input,.family-check input{accent-color:#193f42}.family-section-actions{flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:15px;display:flex}.family-print-actions{grid-template-columns:max-content minmax(0,1fr);gap:10px;display:grid}.family-print-actions .family-primary{white-space:nowrap;padding:10px 12px;font-size:.875rem}.family-print-actions .family-format{min-width:0}.family-print-actions .family-format select{width:100%;min-width:0}.family-text-button{color:#a75737;text-underline-offset:4px;font-size:.875rem;font-weight:600;text-decoration:underline}.family-text-button:disabled{cursor:not-allowed;color:#96a19e;text-decoration:none}.family-add{color:#193f42;background:#fffdf8;border:1px solid #9eb5a9;border-radius:10px;padding:9px 13px;font-size:.875rem;font-weight:700}.family-add:hover{background:#e6ede4}.family-tabs{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.family-tabs button{text-overflow:ellipsis;white-space:nowrap;color:#365a54;background:#fff;border:1px solid #adc1b4;border-radius:999px;max-width:100%;padding:7px 13px;font-size:.875rem;font-weight:600;overflow:hidden}.family-tabs button.active{color:#fff;background:#193f42;border-color:#193f42}.family-primary{color:#fffdf8;background:#193f42;border:1px solid #193f42;border-radius:10px;padding:12px 20px;font-weight:700}.family-primary:hover{background:#285b58}.family-primary:disabled{cursor:not-allowed;opacity:.55}.family-format{color:#193f42;align-items:center;gap:8px;font-size:.875rem;font-weight:600;display:flex}.family-format select{width:auto;min-width:130px}.family-preview-wrap{min-width:0}.family-preview-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.family-zoom-controls{background:#fff;border:1px solid #bdcbc3;border-radius:9px;flex:none;display:inline-flex;overflow:hidden}.family-zoom-controls button{color:#193f42;min-width:35px;padding:5px 8px;font-size:.82rem;font-weight:700}.family-zoom-controls button+button{border-left:1px solid #bdcbc3}.family-zoom-controls button:hover:not(:disabled){background:#e6ede4}.family-zoom-controls button:disabled{color:#9ba9a2}.family-preview-scroll{cursor:grab;scrollbar-gutter:stable;touch-action:pan-x pan-y;background:#e9ece9;border:1px solid #d9ded8;max-height:min(78vh,920px);overflow:auto}.family-preview-scroll:active{cursor:grabbing}.family-preview-tip{color:#61716e;margin:8px 0 0;font-size:.78rem}.family-preview-pages{box-sizing:border-box;gap:18px;min-width:100%;padding:14px;display:grid}.family-preview-pages .family-print-sheet{background:#fff;width:100%;overflow:hidden;box-shadow:0 6px 20px #193f4226}.family-preview-pages .family-print-sheet svg{width:100%;height:auto;display:block}.family-preview-pages .family-print-only{display:none}.family-preview-pages .family-preview-only{display:inline}.family-print-frame{opacity:0;pointer-events:none;border:0;width:1px;height:1px;position:fixed;bottom:0;right:0}@media (max-width:639px){.family-fields{grid-template-columns:1fr}.family-panel{padding:18px}}@media print{#inheritance-table-tool>a,#inheritance-table-tool>p,#inheritance-table-tool>h1,#inheritance-table-tool>div.grid>div,.family-preview-heading,.family-preview-tip{display:none!important}body:has(#inheritance-table-tool) header{display:none!important}body:has(#inheritance-table-tool) footer{display:none!important}.family-preview-scroll{border:0;max-height:none;overflow:visible}#inheritance-table-tool,#inheritance-table-tool>div.grid{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}.family-preview-pages{min-width:0;padding:0;display:block;width:100%!important}.family-preview-pages .family-print-sheet{box-shadow:none;break-after:page}.family-preview-pages .family-print-sheet:last-child{break-after:auto}.family-preview-pages .family-preview-only{display:none}.family-preview-pages .family-print-only{display:inline}}
