:root {
  --viewer-button-radius: 0px;
  --surface: #f8f9fa;
  --panel: rgb(248 249 250 / 96%);
  --hover: #e9ecef;
  --selected: #dee2e6;
  --text: #212529;
  --muted: #6c757d;
  --line: #dee2e6;
  --focus: #343a40;
  --shadow: 0 6px 24px rgb(33 37 41 / 10%);
  font-family: var(--ff-sans), Manrope, system-ui, sans-serif;
}
.foreframe-view { --panel: rgb(248 249 250 / 96%); }
button, input, select,
.connection-state, .toolrail, .panel, .bottom-dock,
.stats-panel, .navigation-panel, .stats-card, .lighting-panel, .tool-panel,
#connectionPanel, #fullscreenButton, #assetWarningList,
.lighting-panel button, .lighting-menu[open] summary { border-radius: 0; }
.toolrail, .connection-state, #fullscreenButton,
.bottom-dock::before, .stats-menu > summary {
  background: rgb(233 236 239 / 72%);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  color: var(--text);
  border-color: rgb(173 181 189 / 40%);
  box-shadow: none;
}
.toolrail button, #fullscreenButton,
.bottom-dock .lighting-menu > summary,
.bottom-dock .navigation-menu > summary,
.bottom-dock .stats-menu > summary,
.bottom-dock .viewer-controls > button,
.bottom-dock .tool-menu > summary { color: var(--text); }
.toolrail button:hover:not(:disabled), .toolrail button[aria-pressed=true],
.bottom-dock .lighting-menu[open] > summary { background: rgb(33 37 41 / 8%); color: var(--text); }
.bottom-dock .viewer-controls > button:hover:not(:disabled),
.bottom-dock .tool-menu > summary:hover,
.bottom-dock .tool-menu[open] > summary,
.bottom-dock .lighting-menu > summary:hover { background: rgb(33 37 41 / 8%); color: var(--text); }
.stats-card { background: #e9ecef; border: 0; }
.stats-value, .navigation-panel output, .stats-details {
  font-family: var(--ff-mono), ui-monospace, monospace;
}
.stats-heading { font-family: var(--ff-display-face), var(--ff-sans), sans-serif; font-weight: 500; }
.bottom-dock #resetViewButton { background: transparent; border-color: #6c757d; }
.toolrail button:focus-visible, #fullscreenButton:focus-visible,
.bottom-dock > .viewer-controls > button:focus-visible,
.bottom-dock > footer > details > summary:focus-visible { outline-color: var(--focus); }
