#toolbar .vm-session-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

#toolbar .vm-session-actions button {
  flex: 1;
  min-width: 0;
  padding: 7px 8px;
  font-size: var(--vm-type-compact-control-size);
  font-weight: var(--vm-type-compact-control-weight);
}

:is(#toolbar, #styleStudio) :is(.vm-helper-text, .vm-status-text) {
  font-size: var(--vm-type-helper-size);
  line-height: var(--vm-leading-body);
  overflow-wrap: anywhere;
}

:is(#toolbar, #styleStudio) :is(.vm-helper-text, .vm-status-text):empty { display: none; }
#sessionFileInput[hidden], #sessionRecoveryPrompt[hidden], #sessionBusyOverlay[hidden], #retryAutosaveBtn[hidden] { display: none; }

#toolbar .vm-session-recovery {
  border: 1px solid var(--vm-accent-outline, #8796af);
  border-radius: 8px;
  padding: 10px;
  font-size: var(--vm-type-helper-size);
  font-weight: var(--vm-type-helper-weight);
  line-height: var(--vm-leading-body);
}

#toolbar .vm-session-recovery p { margin: 0 0 8px; }

#sessionBusyOverlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  background: rgba(20, 28, 40, 0.65);
  color: white;
  font-size: var(--vm-type-display-size);
  font-weight: var(--vm-type-display-weight);
}
