/* Form feedback stays inside the existing grid/dialog, including narrow phones. */
.workspace-form-status {
  grid-column: 1 / -1; flex: 0 0 auto; width: 100%; min-width: 0; max-width: 100%;
  box-sizing: border-box; margin: 12px 0; padding: 12px 14px;
  border: 1px solid #b8cce8; border-radius: 12px;
  background: #edf4ff; color: #174674; font-size: 14px; line-height: 1.5;
  overflow-wrap: anywhere; white-space: normal;
}
.workspace-form-status.is-error { color: #9b2020; background: #fff1f1; border-color: #e8b5b5; }
.workspace-field-error { display: block; max-width: 100%; color: #9b2020; font-size: 13px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; }
body.app-page [aria-invalid="true"] { border-color: #b52d2d; outline-color: #b52d2d; }
body.app-page form[aria-busy="true"] button { cursor: wait; }
body.app-page form[aria-busy="true"] [contenteditable="true"] { pointer-events: none; }
@media (prefers-contrast: more) { .workspace-form-status { border-width: 2px; } }
