.directory-mode-tabs{display:flex;gap:7px;margin:18px 0 24px;border-bottom:1px solid #e2d2df;padding-bottom:12px}.directory-mode-tabs a{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid #e3d6df;border-radius:6px;font-size:12px;color:#75546b;background:#fdfafd}.directory-mode-tabs a.active{background:#75395f;color:#fff;border-color:#75395f}.directory-mode-tabs .wiki-icon{width:16px;height:16px}.atlas-mode-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}.atlas-mode-tabs button{font-size:12px;background:#fcf8fb;border-color:#e3d4df;color:#795b70}.atlas-mode-tabs button.active{background:#75395f;color:#fff}.atlas-filters,.whiteboard-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end;margin-bottom:18px}.atlas-filters>label,.whiteboard-controls>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;color:#836b7b}.atlas-filters .interactive-search,.whiteboard-controls .interactive-search{flex:1 1 210px}.atlas-filters input[type=search],.atlas-filters select,.whiteboard-controls input[type=search],.whiteboard-controls select{border:1px solid #dfd0dd;border-radius:6px;background:#fff;padding:10px;font-size:12px;min-width:0;width:100%;color:#513e4c;min-height:40px}.atlas-filters>label.interactive-check{flex-direction:row;align-items:center;padding:10px 0;gap:7px;font-size:12px}.interactive-check input,.whiteboard-toggles input{accent-color:#75395f}.atlas-workspace{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:start}.interactive-map-panel,.whiteboard-panel{border:1px solid #ded2de;border-radius:9px;background:#fdfbfe;overflow:hidden;min-width:0}.canvas-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:11px 13px;border-bottom:1px solid #e5dce4;font-size:11px;color:#856879}.canvas-tools{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.canvas-tools button{padding:6px 10px;min-height:32px;font-size:11px;border-color:#dfd0dc;color:#6d4d63;background:#fff}.canvas-tools button[data-canvas-zoom]{font-size:18px;padding:0;width:33px}.interactive-canvas{display:block;width:100%;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.interactive-canvas:active{cursor:grabbing}.atlas-svg{height:460px}.map-grid{stroke:#dce7e9;stroke-width:.6;fill:none}.atlas-country{fill:#f9f6f2;stroke:#c9c5c6;stroke-width:.45;cursor:pointer;vector-effect:non-scaling-stroke}.atlas-country.has-queens{fill:#ded0df}.atlas-country:hover,.atlas-country.selected{fill:#c7a8bf;stroke:#94708a}.atlas-pin{cursor:pointer}.pin-halo{fill:#fff;opacity:.9}.pin-dot{fill:#8b4b72;stroke:#fff;stroke-width:1}.atlas-pin text{font:700 7px Arial,sans-serif;fill:white;pointer-events:none}.atlas-pin:hover .pin-dot,.atlas-pin.selected .pin-dot{fill:#bc8c3d;stroke:#65402d}.atlas-pin:focus{outline:none}.atlas-pin:focus .pin-halo{stroke:#b271a0;stroke-width:3}.canvas-hint{font-size:10px;color:#8d7b89;margin:0;padding:9px 12px;border-top:1px solid #e8dfe6;line-height:1.6}.atlas-results{border:1px solid #e2d5e0;border-radius:9px;padding:14px;background:#fff;max-height:580px;overflow:auto;min-width:0}.atlas-results-header{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:10px}.atlas-results-header h2{font:22px var(--display);margin:0;color:#604256;overflow-wrap:anywhere}.atlas-results-header button{font-size:10px;padding:6px;white-space:nowrap}.atlas-place-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid #efe7ed;background:transparent;border-radius:0;padding:11px 2px}.atlas-place-row strong{font-size:12px;color:#69475e;display:block}.atlas-place-row small{font-size:10px;color:#9b8795;display:block;margin-top:2px}.atlas-place-row b{font-size:11px;border-radius:20px;background:#f4eaf1;padding:3px 7px;color:#956d87;font-weight:500}.atlas-place-row:hover{background:#fbf6fa}.atlas-place-caption{font-size:10px;color:#9a8292;line-height:1.7}.atlas-queen{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eee5ec}.atlas-queen img{width:55px;height:55px;object-fit:contain;border-radius:5px}.atlas-queen>span{min-width:0}.atlas-queen strong{display:block;font-size:12px;color:#704660;overflow-wrap:anywhere}.atlas-queen small{display:block;font-size:10px;color:#9a8694;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.atlas-queen:hover strong{text-decoration:underline}.atlas-review{margin:20px 0;padding:12px 15px;background:#fcf7ed;border:1px solid #e8dbc4;border-radius:7px;color:#8c6c43;font-size:11px}.atlas-review summary{cursor:pointer;font-weight:600}.atlas-review p{font-size:11px}.atlas-review a{text-decoration:underline}.atlas-attribution{font-size:10px;color:#9c8b98;line-height:1.7}.atlas-attribution a{text-decoration:underline}.interactive-empty{font-size:12px;color:#8d7586;padding:15px 0}#atlas-country-chip:empty{display:none}#atlas-country-chip{display:flex;gap:8px;align-items:center;padding:8px 12px;font-size:11px;color:#875e78;background:#f8edf5}#atlas-country-chip button{padding:0 5px;border:0;background:transparent}.whiteboard-controls{margin:17px 0 10px}.whiteboard-controls>label:nth-child(2){flex:1 1 210px}.whiteboard-toggles{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:11px;color:#806779;margin:14px 0}.whiteboard-toggles label{display:flex;gap:6px;align-items:center}.whiteboard-workspace{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px;align-items:start}.whiteboard-svg{height:min(68vh,720px);min-height:450px}.whiteboard-svg .board-family-heading{font:600 24px Georgia,serif;fill:#705166}.board-person{cursor:pointer;transition:opacity .18s}.board-person>rect{fill:#fff;stroke:#d5c4d3;stroke-width:1.2}.board-person:hover>rect,.board-person.is-selected>rect,.board-person:focus>rect{stroke:#b178a0;stroke-width:5}.board-person:focus{outline:none}.board-person-name{font:600 14px Arial,sans-serif;fill:#593b50}.board-unknown{font:40px Georgia,serif;fill:#b09bac}.board-former-dot{fill:#bd9b66;stroke:white;stroke-width:2}.board-edge{transition:opacity .18s}.board-edge path{fill:none;stroke:#a38499;stroke-width:2.5}.board-edge .edge-sibling{stroke:#678990;stroke-width:3.5}.board-edge text{font:10px Arial,sans-serif;fill:#537d86;paint-order:stroke;stroke:#fdfbfe;stroke-width:3px;stroke-linejoin:round}.board-edge.is-dim,.board-person.is-dim{opacity:.13}.board-house-outline{stroke:#c3a06b;fill:#d2b3760d;stroke-width:2;stroke-dasharray:9 7}.whiteboard-legend{display:flex;gap:14px;flex-wrap:wrap;padding:9px 12px;font-size:10px;color:#8b7183;border-top:1px solid #e8dce5}.whiteboard-legend span{display:flex;align-items:center;gap:6px}.whiteboard-legend i{width:22px;border-top:2px solid #a38499}.whiteboard-legend i.legend-sibling{border-color:#678990}.whiteboard-legend i.legend-adoptive{border-top-style:dashed}.board-inspector{border:1px solid #e1d2de;border-radius:8px;background:#fcf9fc;padding:16px;min-width:0}.board-inspector h2{font:22px/1.4 var(--display);color:#66445a;margin:0 0 12px;overflow-wrap:anywhere}.board-inspector h3{font-size:12px;color:#845f77;margin:20px 0 7px}.board-inspector p{font-size:12px;line-height:1.8;color:#8b7283}.board-inspector .board-note{font-size:10px;color:#a38a9b}.board-selected-profile>img{width:100px;height:100px;object-fit:contain;border-radius:7px;display:block;margin-bottom:12px}.board-selected-profile>a.primary{font-size:11px;padding:8px 10px;background:#75395f;color:#fff}.board-connection{border-bottom:1px solid #eaddE6;padding:10px 0}.board-connection small{font-size:10px;color:#9f7f93;display:block}.board-connection button{background:transparent;border:0;padding:4px 0;font-size:12px;color:#68415a;text-align:left;font-weight:600}.board-connection p{font-size:10px;margin:3px 0}.board-membership{font-size:10px!important}.board-membership>span{display:block;text-transform:uppercase;letter-spacing:.6px;font-size:9px}.board-membership a{text-decoration:underline}.board-search-results{display:flex;gap:6px;flex-wrap:wrap}.board-search-results button{padding:5px 9px;font-size:11px;border-color:#dfcdda;background:#fcf7fb;color:#865d77}.interactive-loading{font-size:13px;color:#8b7485}
@media(max-width:1100px){.atlas-workspace,.whiteboard-workspace{grid-template-columns:minmax(0,1fr) 210px}.atlas-svg{height:400px}.whiteboard-controls .canvas-tools{flex-basis:100%}.atlas-filters>label{flex:1 1 130px}}
@media(max-width:900px){.atlas-workspace,.whiteboard-workspace{grid-template-columns:minmax(0,1fr)}.atlas-results{max-height:350px}.atlas-svg{height:350px}.whiteboard-svg{height:460px;min-height:360px}.board-inspector{padding:15px}.board-selected-profile{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px 13px;align-items:center}.board-selected-profile>img{width:70px;height:70px;grid-row:span 2;margin:0}.board-selected-profile h2{font-size:20px;margin:0}.board-selected-profile>a{justify-self:start}.whiteboard-controls .interactive-search,.whiteboard-controls>label:nth-child(2){flex-basis:45%}.whiteboard-controls{gap:10px}.whiteboard-toggles{gap:10px 13px}.atlas-filters{gap:10px}.atlas-filters .interactive-search{flex-basis:100%}.atlas-filters input[type=search],.atlas-filters select,.whiteboard-controls input[type=search],.whiteboard-controls select{font-size:16px}.canvas-tools button{min-height:38px}.canvas-tools button[data-canvas-zoom]{width:38px}.atlas-queen{padding:11px 0}.atlas-queen strong{font-size:13px}.atlas-queen small{font-size:11px}.canvas-hint{font-size:10px}.directory-mode-tabs a{font-size:12px}.atlas-place-row{padding:13px 0}.atlas-place-row strong{font-size:13px}}
@media(max-width:400px){.atlas-svg{height:300px}.whiteboard-controls .interactive-search,.whiteboard-controls>label:nth-child(2){flex-basis:100%}.atlas-mode-tabs button{padding:10px}.atlas-filters>label{flex-basis:42%}.whiteboard-svg{min-height:330px;height:390px}.canvas-heading{padding:10px}.whiteboard-legend{gap:9px}.atlas-results-header h2{font-size:21px}}
.board-family-panel>rect{fill:#fffdfef0;stroke:#d6c5d3;stroke-width:2}.board-family-panel>path{stroke:#eadfe8;stroke-width:1.5}.board-family-panel.is-muted{opacity:.5}.whiteboard-svg .board-family-heading{font-size:23px}.winner-bubble-halo{fill:#fff;opacity:.98}.winner-bubble-rim{fill:none;stroke:#bc9753;stroke-width:2;vector-effect:non-scaling-stroke}.winner-bubble-count{fill:#794661;stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}.atlas-pin text.winner-bubble-number{font-family:Arial,sans-serif;font-weight:700;text-anchor:middle;fill:white}.atlas-pin text.atlas-city-label{font-family:Arial,sans-serif;font-weight:600;fill:#61465c;stroke:#fff;paint-order:stroke;stroke-linejoin:round}.atlas-pin.selected .winner-bubble-rim,.atlas-pin:hover .winner-bubble-rim{stroke:#754261;stroke-width:3}.atlas-pin:focus .winner-bubble-rim{stroke:#b36396;stroke-width:4}.atlas-country{fill:#f5f1ed;stroke:#b5b1b6;stroke-width:.7}.atlas-country.has-queens{fill:#e6d9e6}.atlas-country:hover,.atlas-country.selected{fill:#cbb0c5}.atlas-pin .atlas-dot-number{font-family:Arial,sans-serif;font-weight:700;fill:#fff}.atlas-pin .pin-dot{fill:#865070;stroke:#fff;stroke-width:1;vector-effect:non-scaling-stroke}.map-grid{stroke:#d4e0e4;stroke-dasharray:2 4;stroke-width:.6}

.atlas-state-boundaries{fill:none;stroke:#b4a1b0;stroke-width:.7;vector-effect:non-scaling-stroke;pointer-events:none}.atlas-country:hover{fill:#dac9d6}

.directory-mode-tabs{gap:14px!important}.directory-mode-tabs>a{margin:0!important}.board-absorbed-house rect{fill:#faf5f8;stroke:#cfb9c9;stroke-width:1.3;stroke-dasharray:6 4}.board-absorbed-house text{font:600 16px Arial,sans-serif;fill:#79536a}.board-absorbed-house text.board-absorbed-note{font:11px Arial,sans-serif;fill:#9b7a8d}

.x-tree-explanation{font-size:12px;color:#86697e;margin:15px 0}.x-tree-diagram{position:relative;background:#fdfbfe}.x-tree-diagram>svg{position:absolute;inset:0;pointer-events:none}.x-tree-person{position:absolute;width:144px;min-height:198px;background:#fff;border:1px solid #d6c6d2;border-radius:8px;padding:5px;text-align:center;box-sizing:border-box}.x-tree-person img{display:block;width:132px;height:132px;object-fit:contain;border-radius:5px}.x-tree-person strong{display:block;font:600 13px/1.4 var(--sans);color:#60415a;margin:5px 0}.x-tree-person small{display:block;font:10px/1.4 var(--sans);color:#99778e;margin-top:3px}.x-tree-unknown{height:132px;display:flex;align-items:center;justify-content:center;background:#eee5ed;border-radius:5px;font:50px Georgia;color:#9b8294}.x-tree-edge path{fill:none;stroke:#87627c;stroke-width:2.4}.x-tree-edge.is-adoptive path{stroke-dasharray:7 5}.x-tree-edge text{font:11px Arial,sans-serif;fill:#79526b;paint-order:stroke;stroke:#fdfbfe;stroke-width:3px}.board-context-label{font:9px Arial,sans-serif;fill:#a17b93}@media(max-width:900px){.x-tree-explanation{font-size:11px}}
.family-image-board{margin:18px 0 0;padding:12px;border:1px solid #d8d0df;border-radius:10px;background:#fff;overflow:auto}.family-image-board a{display:block;line-height:0}.family-image-board img{display:block;width:100%;height:auto;min-width:760px;object-fit:contain}.family-image-board figcaption{padding:10px 2px 0;color:#84798a;font-size:11px;line-height:1.5}
.family-image-board{margin:18px 0 24px;padding:10px;border:1px solid #d8d0df;border-radius:10px;background:#fff;overflow-x:auto}.family-image-board img{display:block;width:100%;height:auto;min-width:900px;object-fit:contain}.family-image-board figcaption{padding:8px 2px 0;color:#84798a;font-size:11px}.family-browse{margin:24px 0;border:1px solid #ded2de;border-radius:9px;background:#fff}.family-browse>summary{padding:14px 17px;cursor:pointer;color:#604256;font:600 16px var(--display)}.family-browse[open]>summary{border-bottom:1px solid #e5dce4}.family-browse .family-workspace{padding:16px}
