/* Shared whole-collection family tree, scoped for both WordPress admin and visitors. */
.nosg-overview.nosg-overview{box-sizing:border-box;max-width:100%;min-width:0;overflow:hidden;border:1px solid #35534e;border-radius:16px;background:#102229;color:#edf7f1;font-family:inherit;text-align:left;isolation:isolate}
.nosg-overview *,.nosg-overview *::before,.nosg-overview *::after{box-sizing:border-box}
.nosg-overview .nosg-overview-heading{padding:20px 22px 16px;background:linear-gradient(110deg,#1d4134,#102229 80%);border-bottom:1px solid #70988333}
.nosg-overview .nosg-overview-eyebrow{margin:0 0 6px;color:#b2d2c0;font-size:10px;font-weight:700;letter-spacing:1.5px;line-height:1.5;text-transform:uppercase}
.nosg-overview h3.nosg-overview-title{margin:0;color:#f1fbf4;font-family:inherit;font-size:24px;font-weight:700;line-height:1.35}
.nosg-overview p.nosg-overview-count{margin:8px 0 0;color:#b5cec0;font-size:12px;line-height:1.6}
.nosg-overview .nosg-overview-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px;padding:15px 20px;border-bottom:1px solid #70988333;background:#112b2d}
.nosg-overview .nosg-overview-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.nosg-overview button.nosg-overview-button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;margin:0;padding:8px 12px;border:1px solid #668c79;border-radius:7px;background:#1c3b35;color:#eef9ef;font-weight:600;font-family:inherit;font-size:12px;line-height:1.4;text-decoration:none;box-shadow:none;cursor:pointer}
.nosg-overview button.nosg-overview-button:hover{background:#2d5342;border-color:#b5d6aa}
.nosg-overview button.nosg-overview-button:disabled{opacity:.45;cursor:default}
.nosg-overview .nosg-overview-zoom{min-width:44px;color:#c8e0d0;font-size:12px;text-align:center}
.nosg-overview .nosg-overview-search-form{display:grid;grid-template-columns:minmax(110px,220px) auto;gap:5px 7px;max-width:100%;margin:0}
.nosg-overview .nosg-overview-search-form label{grid-column:1/-1;margin:0;color:#b8d6c6;font-size:11px;font-weight:600;line-height:1.4}
.nosg-overview input.nosg-overview-search{appearance:none;box-sizing:border-box;width:100%;height:38px;min-height:38px;min-width:0;margin:0;padding:8px 10px;border:1px solid #608777;border-radius:7px;background:#091d24;color:#f0faf3;font-family:inherit;font-size:13px;line-height:1.4;box-shadow:none}
.nosg-overview input.nosg-overview-search::placeholder{color:#a6bfb2;opacity:1}
.nosg-overview p.nosg-overview-help{margin:0;padding:12px 20px;border-bottom:1px solid #70988322;background:#0e242a;color:#b4ccbe;font-size:11px;line-height:1.6}
.nosg-overview .nosg-overview-viewport{position:relative;width:100%;height:clamp(360px,65vh,700px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#709a80 #0a1b23;cursor:grab;background:radial-gradient(circle at 13% 22%,#a3dfc33b 0 1px,transparent 1.6px),radial-gradient(circle at 83% 63%,#a3dfc333 0 1px,transparent 1.6px),#0a1b23;touch-action:pan-x pan-y}
.nosg-overview .nosg-overview-viewport.nosg-overview-dragging{cursor:grabbing;user-select:none}
.nosg-overview .nosg-overview-space{position:relative;overflow:hidden;min-width:100%;min-height:100%}
.nosg-overview .nosg-overview-canvas{position:absolute;left:0;top:0;transform-origin:top left}
.nosg-overview .nosg-overview-lines{position:absolute;inset:0;overflow:visible;pointer-events:none}
.nosg-overview .nosg-overview-line{fill:none;stroke:#89bba0;stroke-width:2.2;stroke-linejoin:round;opacity:.7}
.nosg-overview .nosg-overview-line-earlier{stroke:#d0ae73;stroke-dasharray:7 5;opacity:.7}
.nosg-overview .nosg-overview-column{position:absolute;display:block;width:220px;color:#b3d1bd;font-size:10px;font-weight:700;letter-spacing:1px;line-height:1.4;text-transform:uppercase;white-space:nowrap}
.nosg-overview button.nosg-overview-card{appearance:none;position:absolute;display:flex;flex-direction:column;justify-content:center;gap:7px;margin:0;padding:15px 18px;border:1px solid #62897b;border-radius:12px;background:linear-gradient(130deg,#203d3e,#132b31);color:#edf8ef;text-align:left;font-family:inherit;line-height:1.3;text-decoration:none;box-shadow:0 5px 18px #0003;cursor:pointer}
.nosg-overview button.nosg-overview-card-product{border-color:#80b48a;background:#244938}
.nosg-overview button.nosg-overview-card-hidden{border-style:dashed;border-color:#6a7976;background:#233137}
.nosg-overview button.nosg-overview-card:hover{border-color:#c0e7be;background:#30583f}
.nosg-overview .nosg-overview-card-kind{display:block;color:#bedbc7;font-size:10px;font-weight:600;letter-spacing:.7px;line-height:1.2;text-transform:uppercase}
.nosg-overview .nosg-overview-card-name{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#f1fbf3;font-size:16px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.nosg-overview .nosg-overview-card-action{display:block;color:#c3dfbd;font-size:11px;line-height:1.3}
.nosg-overview button.nosg-overview-card-selected{border-color:#d1e8ad;box-shadow:0 0 0 2px #a0c78266}
.nosg-overview button.nosg-overview-card-found{border-color:#eaf9b3;box-shadow:0 0 0 4px #d7ed9a77;background:#345b3b}
.nosg-overview p.nosg-overview-status{min-height:44px;margin:0;padding:12px 20px;border-top:1px solid #70988333;color:#b9d4c2;font-size:11px;line-height:1.6}
.nosg-overview .nosg-overview-empty{padding:24px;color:#d2e7d5;font-size:14px;line-height:1.6}
.nosg-overview button:focus-visible,.nosg-overview input:focus-visible,.nosg-overview [tabindex]:focus-visible{outline:3px solid #e0f4ac;outline-offset:3px}
.nosg-overview .nosg-overview-viewport:focus-visible{outline-offset:-4px}
.nosg-overview-panel[hidden]{display:none!important}
.nosg-overview-panel{margin:0 0 20px;min-width:0;max-width:100%}
.nosg-overview-panel-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 10px}
.nosg-overview-panel-actions p{margin:0;color:#526f60;font-size:12px;line-height:1.5}
@media(max-width:600px){.nosg-overview .nosg-overview-heading{padding:18px 15px}.nosg-overview h3.nosg-overview-title{font-size:21px}.nosg-overview .nosg-overview-toolbar{padding:12px 14px;gap:12px}.nosg-overview .nosg-overview-search-form{width:100%;grid-template-columns:minmax(0,1fr) auto}.nosg-overview .nosg-overview-controls{width:100%;justify-content:space-between}.nosg-overview .nosg-overview-help,.nosg-overview p.nosg-overview-status{padding:11px 14px}.nosg-overview .nosg-overview-viewport{height:60vh;min-height:340px;max-height:650px}}

.nosg-overview.nosg-overview:fullscreen,.nosg-overview.nosg-overview.nosg-overview-expanded{display:flex;flex-direction:column;width:100vw;max-width:none;height:100vh;height:100dvh;margin:0;border:0;border-radius:0;background:#102229}
.nosg-overview.nosg-overview.nosg-overview-expanded{position:fixed;inset:0;z-index:2147483647}
.nosg-overview:fullscreen .nosg-overview-viewport,.nosg-overview-expanded .nosg-overview-viewport{flex:1;min-height:160px;height:auto;max-height:none}
.nosg-overview:fullscreen .nosg-overview-heading,.nosg-overview-expanded .nosg-overview-heading{padding-top:12px;padding-bottom:12px}

.nosg-overview.nosg-overview-has-highlight .nosg-overview-line{opacity:.035}
.nosg-overview.nosg-overview-has-highlight .nosg-overview-line.nosg-overview-line-highlighted{opacity:1;stroke:#c8edb2;stroke-width:3}
.nosg-overview.nosg-overview-has-highlight .nosg-overview-card:not(.nosg-overview-card-connected){opacity:1}
.nosg-overview.nosg-overview-show-all.nosg-overview-has-highlight .nosg-overview-line:not(.nosg-overview-line-highlighted){opacity:.35}
.nosg-overview button.nosg-overview-card-highlighted{border-color:#dbef9f;box-shadow:0 0 0 3px #cce6a666;background:#31583b}

.nosg-overview .nosg-overview-stage{position:relative;min-width:0;min-height:0}
.nosg-overview .nosg-overview-family-guide{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 20px;border-bottom:1px solid #73967733;background:#17332f;min-height:52px}
.nosg-overview .nosg-overview-guide-name{color:#e5f2d8;font-size:14px;font-weight:700;line-height:1.5}
.nosg-overview .nosg-overview-guide-label{color:#bbd0bf;font-size:11px;line-height:1.5}
.nosg-overview button.nosg-overview-guide-link{appearance:none;display:inline-flex;align-items:center;margin:0;padding:6px 10px;border:1px solid #71987a;border-radius:6px;background:#254635;color:#e3efcc;font-family:inherit;font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}
.nosg-overview button.nosg-overview-guide-link:hover{background:#355a3e;border-color:#d2e7a5}
.nosg-overview .nosg-overview-map{position:absolute;z-index:3;right:16px;top:16px;width:210px;max-width:40%;padding:10px;border:1px solid #63876c;border-radius:10px;background:#102923ee;box-shadow:0 4px 20px #0004}
.nosg-overview .nosg-overview-map[hidden]{display:none}
.nosg-overview .nosg-overview-map-title{display:block;color:#d6eaca;font-size:10px;letter-spacing:.8px;font-weight:700;text-transform:uppercase}
.nosg-overview .nosg-overview-map-canvas{display:block;width:100%;height:106px;margin:7px 0;cursor:crosshair;background:#081b21;border-radius:5px}
.nosg-overview .nosg-overview-map-help{display:block;color:#b2cbb7;font-size:10px;line-height:1.4}
.nosg-overview .nosg-overview-map-line{fill:none;stroke:#739980;stroke-width:10;opacity:.35}
.nosg-overview .nosg-overview-map-node{fill:#638b72}
.nosg-overview .nosg-overview-map-selected{fill:#e3ed9b}
.nosg-overview .nosg-overview-map-window{fill:#e2edaa14;stroke:#e2edaa;stroke-width:2;vector-effect:non-scaling-stroke;pointer-events:none}
.nosg-overview:fullscreen .nosg-overview-stage,.nosg-overview-expanded .nosg-overview-stage{flex:1;min-height:160px}
.nosg-overview:fullscreen .nosg-overview-stage .nosg-overview-viewport,.nosg-overview-expanded .nosg-overview-stage .nosg-overview-viewport{height:100%;min-height:0}
@media(max-width:600px){.nosg-overview .nosg-overview-map{width:140px;max-width:38%;right:9px;top:9px;padding:7px}.nosg-overview .nosg-overview-map-canvas{height:72px}.nosg-overview .nosg-overview-map-help{font-size:9px}}
