/* V32: local global-feedback readability; existing palette, timing and actions retained. */
.pencil-admin #toast {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.pencil-admin #systemError {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(420px, calc(100vw - 44px));
  min-width: 0;
  max-width: calc(100vw - 44px);
  max-height: calc(100vh - 44px);
  max-height: calc(100dvh - 44px);
  overflow: auto;
  overscroll-behavior: contain;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.pencil-admin #systemError > h2 {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.pencil-admin #systemError > .system-error-message {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
.pencil-admin #systemError > button {
  flex: 0 0 auto;
  align-self: flex-start;
  min-width: 0;
  min-height: 40px;
  max-width: 100%;
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.pencil-admin #systemError:focus-visible,
.pencil-admin #systemError > button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}
