:root {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #f3f5f8;
    background: #101c2c;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(ellipse at 50% 20%, #203950 0%, #101c2c 58%); }
a { color: inherit; }
.page-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.welcome-card { width: min(100%, 550px); padding: clamp(30px, 7vw, 64px); border: 1px solid rgba(210, 230, 244, .14); border-radius: 28px; background: rgba(18, 32, 48, .88); box-shadow: 0 30px 90px rgba(0, 0, 0, .25); }
.welcome-card.compact { width: min(100%, 470px); }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; color: #10231e; background: #a6efcb; font: 800 25px 'Segoe UI', system-ui, sans-serif; box-shadow: 0 7px 25px rgba(115, 226, 171, .2); }
.eyebrow { margin: 36px 0 10px; color: #9db1bf; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; max-width: 430px; font: 800 clamp(36px, 7vw, 54px)/1.07 'Segoe UI', system-ui, sans-serif; letter-spacing: -.045em; }
.intro { max-width: 390px; margin: 19px 0 30px; color: #bdcbd5; font-size: 16px; line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 13px; font-weight: 700; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #10231e; background: #a6efcb; }
.button.primary:hover { background: #baf5d8; }
.button.secondary { border-color: #405365; color: #f3f5f8; background: rgba(255,255,255,.03); }
.button.secondary:hover { background: rgba(255,255,255,.08); }
.status-note { margin: 31px 0 0; color: #8294a1; font-size: 12px; }
.back-link { display: inline-block; margin-bottom: 30px; color: #a6efcb; text-decoration: none; }
.loading { padding: 24px; color: #bdcbd5; text-align: center; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; width: 100%; padding: .8rem 1rem; color: #fff; background: #8b2a35; text-align: center; }
#blazor-error-ui .reload { color: #fff; }
@media (max-width: 520px) { .page-shell { padding: 14px; } .welcome-card { border-radius: 22px; } .actions { flex-direction: column; } .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
