/* Console's startup panel, shared by the pre-runtime shell and sign-in pages. */
.accounting-auth-stage {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: grid;
    place-items: center;
    overflow: auto;
    padding: 24px;
    box-sizing: border-box;
    background: #f4f7f9;
    color: #111827;
    font-family: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
}
.accounting-auth-card {
    width: min(520px, 100%);
    padding: 28px;
    box-sizing: border-box;
    border: 1px solid #d9e1e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 46px rgb(15 23 42 / 8%);
    overflow-wrap: anywhere;
}
.accounting-auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; font-weight: 800; font-size: 15px; color: #475569; }
.accounting-auth-mark { width: 78px; height: 52px; object-fit: contain; padding: 7px; box-sizing: border-box; background: #0f172a; border-radius: 7px; }
.accounting-auth-card .accounting-auth-title { margin: 0 0 10px; font: inherit; font-size: 22px; font-weight: 800; line-height: 1.3; color: #0f172a; }
/* Router focus announces the heading; only interactive controls need an outline. */
.accounting-auth-title:focus { outline: none; }
.accounting-auth-message { margin: 0; color: #475569; font-size: 15px; line-height: 1.6; }
.accounting-auth-status { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: 14px; font-weight: 600; line-height: 1.5; }
.accounting-auth-spinner { flex: 0 0 22px; width: 22px; height: 22px; box-sizing: border-box; border: 3px solid #dbe5ec; border-top-color: #215a6d; border-radius: 50%; animation: accounting-auth-spin .9s linear infinite; }
.accounting-auth-detail { margin: 12px 0 0; color: #64748b; font-size: 13px; line-height: 1.5; }
.accounting-auth-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.accounting-auth-actions[hidden] { display: none; }
.accounting-auth-actions .button { margin: 0; min-height: 42px; }
.accounting-auth-button-primary,
.accounting-auth-button-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border: 1px solid #d9e1e8; border-radius: 7px; font-weight: 700; text-decoration: none; }
.accounting-auth-button-primary { color: #fff; background: #0f172a; border-color: #0f172a; }
.accounting-auth-button-primary:hover { color: #fff; background: #243b53; }
.accounting-auth-button-secondary { color: #475569; background: #fff; }
.accounting-auth-button-secondary:hover { color: #0f172a; background: #f4f7f9; }
.accounting-auth-actions .button:focus-visible { outline: 3px solid #215a6d; outline-offset: 3px; }
.accounting-auth-stage.is-error .accounting-auth-status,
.accounting-auth-card.is-error .accounting-auth-status { color: #b91c1c; }
.accounting-auth-stage.is-error .accounting-auth-spinner,
.accounting-auth-card.is-error .accounting-auth-spinner { display: none; }
@keyframes accounting-auth-spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) {
    .accounting-auth-stage { padding: 16px; }
    .accounting-auth-card { padding: 22px; }
    .accounting-auth-card .accounting-auth-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .accounting-auth-spinner { animation: none; } }
