html, body {
    margin: 0;
    /* The app is installed to a home screen and runs full-bleed; respect the notch rather than
       painting under it. */
    padding-env: safe-area-inset;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: system-ui, -apple-system, sans-serif;
    color: #666;
}

#blazor-error-ui {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 0.8rem 1.2rem;
    background: #ffefc2;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .2);
    font-family: system-ui, -apple-system, sans-serif;
}

#blazor-error-ui .dismiss {
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    cursor: pointer;
}

/* Targets on a phone held in one hand, often gloved. Anything under ~44px is missed as often as hit. */
.mud-button-root {
    min-height: 44px;
}
