* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #102133; background: #f4f8fb; line-height: 1.55; }
a { color: #036a98; text-underline-offset: 3px; }
button, input { font: inherit; }
button, .access-primary { cursor: pointer; border: 1px solid #ccd9e2; border-radius: 9px; padding: 12px 18px; background: #fff; color: #18384b; font-weight: 600; }
button:hover { background: #eef6fb; }
button:disabled { cursor: wait; opacity: .6; }
button:focus-visible, a:focus-visible { outline: 3px solid #0284c7; outline-offset: 3px; }
.access-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px clamp(20px,5vw,80px); background: #fff; border-bottom: 1px solid #dce6ed; }
.access-header > a { font-weight: 600; text-decoration: none; }
.access-brand { display: flex; align-items: center; gap: 10px; color: #153348; font-size: 22px; font-weight: 750; }
.access-brand span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: #fff; background: #0284c7; font-size: 19px; }
.access-main { max-width: 544px; margin: 0 auto; padding: 32px 20px 24px; }
.access-card { padding: 36px; border: 1px solid #dce6ed; background: #fff; border-radius: 18px; box-shadow: 0 14px 48px -28px #375a71; }
.access-eyebrow { margin: 0 0 12px; color: #0378a7; font-size: 11px; letter-spacing: .15em; font-weight: 750; }
h1 { margin: 0 0 10px; font-size: clamp(25px,5vw,31px); letter-spacing: -.035em; line-height: 1.2; }
h2 { margin: 0 0 12px; font-size: 17px; }
.access-lede { margin: 0 0 30px; color: #536879; }
.access-identity { padding: 18px; border-radius: 10px; background: #f0f7fb; margin-bottom: 18px; }
.access-identity span { display: block; color: #536879; font-size: 13px; }
.access-identity strong { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.access-primary { width: 100%; color: #fff; background: #027db4; border-color: #027db4; }
.access-primary:hover { background: #036a98; }
.access-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.access-actions button { flex: 1; }
.access-hint, .access-footnote { font-size: 13px; color: #617281; }
.access-status { min-height: 24px; margin: 22px 0; font-size: 14px; color: #435e71; }
.access-status:empty { display: none; }
.access-status[role="alert"] { color: #ad2929; }
.access-register { border-top: 1px solid #e2eaf0; padding-top: 22px; margin-top: 22px; }
.access-register h2 { margin-bottom: 4px; }
.access-register p { margin: 0 0 12px; color: #536879; font-size: 14px; }
.access-register a { font-weight: 650; }
.access-footnote { margin: 26px 0 0; }
.access-footnote summary { cursor: pointer; }
footer { display: flex; justify-content: center; gap: 24px; padding: 24px 0; font-size: 13px; }
.firebaseui-container { box-shadow: none; }
.firebaseui-idp-list { margin-bottom: 12px; }
.firebaseui-idp-button { max-width: 100%; border-radius: 7px; }
@media (max-width: 480px) { .access-main { padding: 24px 14px; } .access-card { padding: 25px 20px; } .access-actions button { padding: 12px; } }
