/* Sign-in, MFA enrolment, change-password and error pages (Prompt 18j): a centred card on the portal's page colour. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/inter-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/space-grotesk-latin-700.woff2") format("woff2"); }

* { box-sizing: border-box; }
body.shell, body.owner { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: #F4F7F7; color: #13252B; font-family: "Inter", "Segoe UI", system-ui, sans-serif; font-size: 14px; line-height: 1.45; }
body.shell main, body.owner form { width: min(440px, 100%); background: #fff; border: 1px solid #E2E8E9; border-radius: 18px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
body.shell h1, body.owner h1 { margin: 0; font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif; font-size: 26px; font-weight: 700; }
body.shell p, body.owner p { margin: 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 44px; height: 44px; border-radius: 11px; background: #2D758B; color: #fff; display: grid; place-items: center; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 15px; flex: none; }
.brand div { display: flex; flex-direction: column; }
.brand strong { font-family: "Space Grotesk", sans-serif; font-size: 18px; }
.brand small { font-size: 13px; color: #5B6B70; }
form.bare, body.owner form { display: flex; flex-direction: column; gap: 16px; }
body.shell form.bare { padding: 0; border: 0; width: auto; background: transparent; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
input { height: 46px; width: 100%; border: 1px solid #D5DEE0; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 15px; color: #13252B; background: #fff; }
input.code { letter-spacing: .2em; }
input.code::placeholder { letter-spacing: normal; }
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #7FB5C4; outline-offset: 2px; }
button { min-height: 48px; border: 0; border-radius: 10px; background: #2D758B; color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
button:hover { background: #1F5666; }
body.owner input { margin-top: 0; }
a { color: #2D758B; font-weight: 600; }
a:hover { color: #1F5666; }
.hint, .step { font-size: 13px; color: #5B6B70; }
.step { font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.message { background: #FDEEEE; border: 1px solid #F3C5C5; color: #A32020; border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.enrol { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.enrol ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 200px; }
img.qr { width: 168px; height: 168px; image-rendering: pixelated; border: 1px solid #E2E8E9; border-radius: 12px; padding: 6px; background: #fff; flex: none; }
.keybox { background: #F4F7F7; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.keybox span { font-size: 12px; color: #5B6B70; }
.keybox code { font-family: ui-monospace, Consolas, monospace; font-size: 14px; letter-spacing: .08em; overflow-wrap: anywhere; }
@media (max-width: 480px) { body.shell main, body.owner form { padding: 24px; } }
