/* Only what the helpers need to work. Replace/extend with the project's own design. */

.app-field-error { font-size: .875em; margin-top: .25rem; color: #c0392b; }
.app-field-error:empty { display: none; }

.app-toasts {
    position: fixed;
    inset-block-start: 1rem;
    inset-inline: 0;
    display: grid;
    justify-items: center;
    gap: .5rem;
    z-index: 2000;
    pointer-events: none;
}
.app-toast { pointer-events: auto; cursor: pointer; padding: .75rem 1rem; max-width: min(420px, calc(100vw - 2rem)); }

.app-dialog { max-width: min(440px, calc(100vw - 2rem)); }
.app-dialog::backdrop { background: rgba(0, 0, 0, .5); }

button.is-busy { opacity: .7; cursor: progress; }
