.map-view-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:14px 28px 12px;background:#f2f5ed;border-bottom:1px solid #dce5d7}
.map-view-switch button,.graph-rotate button{border:1px solid #b7c8b6;background:#fafbf6;color:#284e3b;border-radius:5px;min-height:40px;padding:8px 13px;font-weight:700;font-size:12px}
.map-view-switch button[aria-pressed="true"]{background:#244f41;border-color:#244f41;color:#fff}
.map-view-switch .view-label{font-size:12px;font-weight:700;margin-inline-end:3px;color:#486151}
.graph3d-panel{background:#080d1b;color:#e9f5f3;position:relative;overflow:hidden}
.graph3d-canvas{display:block;width:100%;height:560px;touch-action:none;cursor:grab}
.graph3d-canvas:active{cursor:grabbing}
.graph3d-info{padding:14px 18px 4px;font-size:12px;line-height:1.5;color:#d3e8ec}
.graph3d-info strong{color:#fff}
.cluster-heading{font-size:11px;font-weight:700;color:#dce9f1;margin:9px 18px 6px}
.cluster-filters{display:flex;gap:6px;flex-wrap:wrap;padding:0 18px 10px}
.cluster-filters button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 10px;border:1px solid #53687b;border-radius:99px;background:#15263a;color:#e9f2fa;font-size:11px;font-weight:700}
.cluster-filters button[aria-pressed="true"]{background:#f0f7ed;color:#19342b;border-color:#fff}
.cluster-swatch{display:inline-block;width:9px;height:9px;border-radius:50%;box-shadow:0 0 6px currentColor}
.graph3d-legend{display:flex;gap:8px 20px;flex-wrap:wrap;margin:0;padding:7px 18px 0;color:#d4e2ec;font-size:11px;line-height:1.4}
.graph3d-legend span::before{content:'';display:inline-block;width:24px;margin-inline-end:7px;vertical-align:middle;border-top:2px solid #bdd6e6}
.graph3d-legend span:last-child::before{border-top-style:dashed}
.graph3d-hint{display:inline-block;max-width:calc(100% - 36px);margin:2px 18px 0;padding:5px 8px;border-radius:4px;background:#142638;color:#d8eef2;font-size:11px;pointer-events:none}
.graph-rotate{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:5px 18px 15px}
.graph-rotate span{font-size:11px;color:#c4d9df;margin-inline-end:4px}
.graph-rotate button{min-width:40px;padding:6px 10px;background:#172b3c;border-color:#516b7d;color:#f5fbff;font-size:16px}
.map-view-switch [hidden],.graph3d-panel[hidden],.map-area[hidden]{display:none!important}
html[data-theme="dark"] .map-view-switch{background:#293d31;border-color:#4b6251}
html[data-theme="dark"] .map-view-switch .view-label{color:#e0ede0}
html[data-theme="dark"] .map-view-switch button{background:#263d2f;border-color:#78927e;color:#e4f1e3}
html[data-theme="dark"] .map-view-switch button[aria-pressed="true"]{background:#c7dba9;color:#17291e}
@media(max-width:800px){.graph3d-canvas{height:400px}.map-view-switch{padding:12px 16px}}
@media(max-width:450px){.graph3d-canvas{height:340px}.graph3d-info{padding:12px 14px 4px}.graph-rotate{padding:5px 14px 13px}}
