/* V2.8 – optisch an das vorhandene Stein-/Pergamentthema angelehnt. */
#n28Root{--n28-bronze:#b28a4e;--n28-ink:#382b1c;--n28-muted:#c5b694}#n28Root .n28-muted{color:var(--n28-muted);font-size:.87rem;line-height:1.7}#n28Root h2{font-family:Georgia,'Times New Roman',serif}.n28-top{display:flex;flex-wrap:wrap;justify-content:space-between;gap:15px}.n28-tabs,.n28-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.n28-tabs button{font-size:.87rem;padding:10px 13px}.n28-cutoff{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.n28-cutoff label{font-size:.8rem}.n28-cutoff select{min-width:160px}.n28-cutoff input{max-width:100px}.n28-cutoff button{margin-bottom:10px}.n28-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:17px 0}.n28-controls label{flex:1 1 190px;font-size:.86rem}.n28-controls input,.n28-controls select{margin-bottom:5px}.n28-check{display:flex!important;align-items:center;gap:8px;font-size:.85rem}.n28-check input[type=checkbox]{width:auto;margin:0}.n28-legend{display:flex;gap:7px 14px;flex-wrap:wrap;background:#303629;border:1px solid #92764c66;border-radius:6px;padding:12px}.n28-legend label{display:flex;align-items:center;gap:6px;color:#ddceb0;font-size:.76rem;margin:0}.n28-legend input{width:auto;margin:0}.n28-legend span{display:inline-block;background:var(--edge);height:3px;width:18px}.n28-badge{display:inline-block;border:1px solid #a2895d;border-radius:4px;background:#f1e2bf;color:#624b2b!important;padding:2px 6px;font-size:.72rem;margin:3px 3px 3px 0}.n28-link{background:none!important;color:#70502b!important;text-align:left;padding:3px 1px!important;border:0!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}#n28Tree .n28-link{color:#e1ca99!important}#n28Tree small{color:#c5b798}.n28-link:focus-visible{outline:2px solid #b38d51!important;outline-offset:3px}.n28-groups-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:20px}.n28-tree,.n28-tree ul{list-style:none;padding-left:16px;border-left:1px solid #9c8254;margin-left:4px}.n28-tree>li,.n28-tree ul>li{margin:12px 0}.n28-tree .selected{font-weight:700}.n28-membership{display:flex;flex-direction:column;align-items:flex-start;padding:11px 0;border-bottom:1px solid #a88a5544}.n28-membership small{font-size:.75rem}.n28-membership>span{font-size:.87rem}.n28-membership button.secondary{font-size:.75rem;margin-top:7px}.n28-editor-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px!important}.n28-editor-row strong{flex:1 1 260px}.n28-editor-row small{font-size:.75rem}.n28-list-person{margin:10px 0}.n28-list-person>button{font-size:1.12rem}.n28-list-person li{margin:4px 0}.n28-profile-section{border-bottom:1px solid #a88c5440;padding:3px 0 14px}.n28-timeline{border:1px solid #a28b6255;border-radius:5px;padding:10px;margin:10px 0}.n28-timeline summary{cursor:pointer;font-size:.86rem}.n28-date-row{display:flex;gap:10px;flex-wrap:wrap}.n28-date-row label{flex:1 1 160px}#n28EditorForm textarea{min-height:100px}#n28EditorForm fieldset{padding:12px;border:1px solid #a78b5555;border-radius:6px;margin:15px 0}#n28EditorForm legend{font-family:Georgia,serif;padding:0 6px;color:#70502b}#n28FormStatus,#n28Status{color:#b8724f;font-size:.9rem;white-space:pre-wrap}#n28GraphCount{font-size:.8rem;color:#cab896}#n28Svg{display:block;width:100%;height:min(72vh,850px);min-height:420px;border:1px solid #9b7c4966;border-radius:8px;background:radial-gradient(ellipse at center,#35412d,#1f2b21);touch-action:none;user-select:none;cursor:grab}#n28Svg.dragging{cursor:grabbing}.n28-node rect{fill:#e0cba2;stroke:#9f7c43;stroke-width:2;filter:drop-shadow(0 4px 5px #0005)}.n28-node.focused rect{fill:#f4e5bb;stroke:#ecc577;stroke-width:4}.n28-node text{fill:#342619;font:16px Georgia,'Times New Roman',serif;pointer-events:none}.n28-node .n28-node-sub{font:11px system-ui;fill:#7a6039}.n28-node{cursor:pointer;outline:none}.n28-node:focus rect{stroke:#fff;stroke-width:4}.n28-edge-line{stroke-width:2.2;opacity:.65;pointer-events:none}.n28-edge.near .n28-edge-line{stroke-width:3.5;opacity:1}.n28-edge-line.former{stroke-dasharray:8 6}.n28-edge-hit{stroke:transparent;stroke-width:18;cursor:pointer}.n28-edge text{fill:#e0d3b4;font:11px system-ui;paint-order:stroke;stroke:#253023;stroke-width:4;stroke-linejoin:round;pointer-events:none}.n28-edge:focus .n28-edge-line{stroke:#fff!important;stroke-width:4}.n28-actions button{font-size:.82rem}#n28GroupDetail article{margin-top:0}@media(max-width:780px){.n28-groups-layout{grid-template-columns:1fr}.n28-controls{display:block}.n28-controls label{display:block;margin-bottom:9px}.n28-cutoff{width:100%}.n28-cutoff select{min-width:120px}.n28-tabs{gap:5px}.n28-tabs button{font-size:.78rem;padding:8px 10px}.n28-legend{max-height:170px;overflow:auto}.n28-legend label{font-size:.71rem}#n28Svg{height:60vh;min-height:360px}.n28-top{gap:5px}.n28-editor-row{gap:6px}.n28-editor-row strong{flex-basis:100%}}

.n28-edge-hit,.n28-edge-line{fill:none}.n28-edge-hit{pointer-events:stroke}

.n28-legend .n28-key-family{background:#876342}.n28-legend .n28-key-parent_child{background:#876342}.n28-legend .n28-key-siblings{background:#876342}.n28-legend .n28-key-marriage{background:#a07c20}.n28-legend .n28-key-romance{background:#a34f67}.n28-legend .n28-key-engagement{background:#b78329}.n28-legend .n28-key-former_engagement{background:#8e7761}.n28-legend .n28-key-bond{background:#40888a}.n28-legend .n28-key-mated{background:#8361a2}.n28-legend .n28-key-friend{background:#4b8159}.n28-legend .n28-key-ally{background:#4b8159}.n28-legend .n28-key-rival{background:#a84d41}.n28-legend .n28-key-command{background:#566995}.n28-legend .n28-key-other{background:#7b776b}
