body.cpu-blast-workbench { --wb-navigation-height: 52px; }
body.workbench-theme .workbench-global-header { padding-block: 5px; }
.workbench-global-header .workbench-global-brand { color: var(--wb-accent); }
body.workbench-theme .workbench-global-header nav button { padding: 9px 10px; white-space: nowrap; border: 0; }
body.workbench-theme .workbench-global-header nav :is(button.selected, a[aria-current]) {
  background: var(--wb-accent-soft); color: var(--wb-accent-hover);
}
.cpu-heading-actions button { background: none; border: 0; padding: 0; color: var(--wb-accent); }
.cpu-blast-workbench .viewport { height: clamp(390px, calc(100dvh - 315px), 800px); }
.cpu-blast-workbench .viewport:fullscreen { width: 100%; height: 100%; max-height: none; }
.cpu-blast-workbench .viewport[data-fallback] {
  background: var(--wb-viewport) url("./residence-preview.png") center / cover no-repeat;
}
#moduleDialog { width: min(420px, calc(100% - 24px)); padding: 24px; }
#moduleDialog h2 { font-size: 17px; font-weight: 650; }
#moduleDialog p { line-height: 1.75; color: var(--wb-muted); }
#moduleDialog .dialog-actions { display: flex; justify-content: flex-end; margin-top: 20px; }
#moduleDialog::backdrop { background: #18303c55; }
@media (max-width: 760px) {
  body.workbench-theme .workbench-global-header nav { width: 100%; flex-wrap: wrap; }
  .cpu-blast-workbench .viewport { height: 390px; min-height: 350px; }
  .cpu-blast-workbench .cpu-settings { display: block; }
}

.cpu-heading-actions button { white-space: nowrap; }
