@layer erp-legacy {
.sales-editor-feedback:empty { display: none; }
.app-startup-screen { position: fixed; inset: 0; z-index: 10000; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; box-sizing: border-box; color: #183b67; background: #f3f6fb; }
.app-startup-screen[hidden] { display: none; }
body:not(.auth-pending) > .app-startup-screen { display: none; }
.app-startup-screen h1 { font-size: 22px; margin: 0 0 12px; }
.app-startup-screen p { max-width: 560px; text-align: center; line-height: 1.6; }
.app-startup-screen button { padding: 9px 20px; border: 1px solid #215ca9; border-radius: 4px; background: #fff; color: #183b67; font: inherit; cursor: pointer; }
.app-startup-screen button:focus-visible { outline: 3px solid #215ca9; outline-offset: 2px; }
.sales-editor-feedback__status:not([hidden]),
.sales-editor-feedback__errors:not([hidden]) {
  margin: 8px 12px;
  padding: 10px 12px;
  border: 1px solid #9ebbe1;
  border-radius: 4px;
  background: #f1f6fd;
  color: #183b67;
  font-size: 14px;
  line-height: 1.5;
}
.sales-editor-feedback__status p,
.sales-editor-feedback__errors p { margin: 0; }
.sales-editor-feedback__status[data-state="error"],
.sales-editor-feedback__errors:not([hidden]) { border-color: #d9a4a0; background: #fff6f5; color: #852b25; }
.sales-editor-feedback__status[data-state="unknown"] { border-color: #cdb477; background: #fff9eb; color: #674911; }
.sales-editor-feedback__status[data-state="success"] { border-color: #94bdaa; background: #f1f9f5; color: #205d40; }
.sales-editor-feedback__retry,
.sales-editor-feedback__errors button {
  min-height: 32px;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: white;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
.sales-editor-feedback button:focus-visible { outline: 3px solid #215ca9; outline-offset: 2px; }
.sales-editor-feedback__errors ul { margin: 4px 0 0; padding-left: 20px; }
#sales-outbound-editor [aria-invalid="true"] { border-color: #a52c25; outline: 1px solid #a52c25; }
#sales-outbound-editor input:focus-visible, #sales-outbound-editor select:focus-visible { outline: 2px solid #215ca9; outline-offset: -2px; }
.sales-editor-feedback__field-error { color: #852b25; font-size: 12px; white-space: normal; }
@media print { .sales-editor-feedback { display: none; } }

}
