.editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 16px;
}
.editor-heading h1 {
  font-size: clamp(28px, 4vw, 42px);
}
.editor-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid #30465e;
  border-radius: 12px;
  background: #131e30;
  isolation: isolate;
}
.editor-mode a {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  color: #b9cbdf;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 140ms ease, color 140ms ease;
}
.editor-mode a:hover {
  background: #22344b;
  color: #edf4ff;
}
.editor-mode a[aria-current="page"] {
  background: #8deafa;
  color: #0b2331;
  box-shadow: 0 2px 6px #06131b55;
}
.editor-mode a:focus-visible {
  outline: 2px solid #a8f5ff;
  outline-offset: 3px;
}
.advanced-workspace {
  max-width: 1450px;
  margin: auto;
  padding-top: 22px;
}
.editor-actions {
  margin-bottom: 12px;
}
@media (max-width: 420px) {
  .editor-mode { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .editor-mode a { transition: none; }
}
.advanced-workspace iframe { background: #101b2a; }
