:root { color-scheme: light; --brand: #26408b; --sea: #4581b5; --ink: #202630; --line: #dfe4e8; }
* { box-sizing: border-box; }
body { margin: 0; background: #f8f9fa; color: var(--ink); font: 15px/1.5 Arial, sans-serif; }
header { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: white; border-top: 5px solid var(--sea); border-bottom: 1px solid var(--line); }
header img { object-fit: contain; flex-shrink: 0; }
header form { margin-left: auto; }
h1 { color: var(--brand); margin: 0; font-size: 24px; }
h2 { font-size: 20px; margin: 0 0 20px; }
main { width: min(960px, 100%); padding: 24px; margin: auto; }
main.login { max-width: 440px; }
label { display: block; margin-top: 16px; font-weight: bold; }
input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
button { margin-top: 16px; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 6px; background: var(--brand); color: white; font: inherit; cursor: pointer; }
header button { margin: 0; }
button:hover { background: #203674; }
a { color: var(--brand); }
dl { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-block: 1px solid var(--line); }
dt { font-weight: bold; }
dd { margin: 0; overflow-wrap: anywhere; }
.error { color: #b42318; }
.mfa-qr { display: block; width: 264px; max-width: 100%; height: auto; aspect-ratio: 1; margin: 16px auto; }
.security details { margin-block: 20px; }
.security summary { cursor: pointer; }
.mfa-key { display: block; overflow-wrap: anywhere; margin-block: 12px; }
.recovery-codes { padding: 0; list-style: none; }
.recovery-codes li { padding-block: 4px; overflow-wrap: anywhere; }
.remember-device { display: flex; align-items: center; gap: 10px; font-weight: normal; }
.remember-device input { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin: 0; }
.trusted-devices { margin-top: 24px; }
.trusted-devices h3 { font-size: 17px; }
.trusted-devices ul { padding: 0; list-style: none; }
.trusted-devices li { padding-block: 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.trusted-devices li span { display: block; }
:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; }
@media(max-width: 500px) { header { gap: 10px; padding-inline: 12px; } main { padding: 20px 12px; } dl { grid-template-columns: 1fr; gap: 8px; } }
