html, body {
    font-family: var(--tp-font-family);
    font-size: 17px;
    background: var(--tp-color-background);
}

h1:focus { outline: none; }

.login-card {
    max-width: 440px; margin: 4rem auto 0; padding: 2rem;
    background: var(--tp-color-surface); border-radius: var(--tp-radius-lg); box-shadow: var(--tp-shadow);
}

.pairing-code { font-size: 3rem; font-weight: 700; letter-spacing: .4rem; font-variant-numeric: tabular-nums; }

.valid.modified:not([type=checkbox]) { outline: 1px solid var(--tp-color-success); }
.invalid { outline: 1px solid var(--tp-color-error); }
.validation-message { color: var(--tp-color-error); }

#blazor-error-ui {
    color-scheme: light only; background: var(--tp-color-attention-tint); color: var(--tp-color-text); bottom: 0; box-shadow: var(--tp-shadow);
    box-sizing: border-box; display: none; left: 0; padding: 0.6rem 1.25rem 0.7rem 1.25rem; position: fixed; width: 100%; z-index: 1000;
}
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: 0.75rem; top: 0.5rem; }

@media (display-mode: standalone) { body { overscroll-behavior-y: none; } }


