/* The Diagram | Map toggle (frontend/js/network_view.js). Colours come from style.css's variables, so dark mode follows. */
.view-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-right: 0.5rem; }
.view-toggle button { font: inherit; font-size: 0.8rem; padding: 0.35rem 1rem; border: 0; background: var(--btn-secondary-bg); color: var(--btn-secondary-color); cursor: pointer; }
.view-toggle button + button { border-left: 1px solid var(--border); }
.view-toggle button[aria-pressed="true"] { background: var(--accent); color: white; font-weight: 600; cursor: default; }
.view-toggle button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
