/* Editor-only compatibility repairs. No operational shell selector or new
   colour, font, spacing token, banner, logo or footer rule is introduced. */
.d53-tool-rail .d53-tabs { grid-template-columns: minmax(0, 1fr); }
.d53-tool-rail .d53-tabs button > b {
  display: block;
  height: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  overflow-wrap: anywhere;
}
.d53-tool-rail .d53-tabs button > small { min-width: 0; overflow-wrap: anywhere; }
.d53-module-register article[hidden] { display: none; }
.d53-studio .d53-toolbar { color: var(--r52-text, var(--text)); }
.d53-studio .d53-toolbar .d53-title h3,
.d53-studio .d53-toolbar .d53-actions button { color: inherit !important; }
.d53-studio .d53-toolbar .d53-actions button {
  background: var(--r52-panel, var(--panel)) !important;
  border-color: var(--r52-border, var(--line)) !important;
}
@media (max-width: 1150px) {
  .d53-tool-rail .d53-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .d53-tool-rail .d53-tabs { grid-template-columns: minmax(0, 1fr); }
}
