:root { color-scheme: light; font-family: "Segoe UI", system-ui, sans-serif; color: #192e29; background: #f4f6f3; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: #176d50; text-underline-offset: 4px; }
a:hover { color: #104a38; }
.topbar { height: 88px; padding: 0 6vw; border-bottom: 1px solid #dce3db; display: flex; align-items: center; justify-content: space-between; background: white; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: #173e31; font-size: 23px; font-weight: 700; letter-spacing: -.7px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #194e3b; color: #e7f4bd; font-size: 25px; }
.topbar-label { font-size: 14px; color: #64766c; }
nav { display: flex; gap: 25px; align-items: center; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; }
nav form { margin: 0; }
main { flex: 1; width: 100%; }
.welcome { max-width: 1180px; margin: 0 auto; padding: 110px 6vw; }
.eyebrow { color: #4a755f; font-size: 12px; letter-spacing: 2px; font-weight: 700; margin-bottom: 22px; }
h1 { font-size: clamp(30px, 4vw, 56px); line-height: 1.1; font-weight: 600; letter-spacing: -1.8px; margin: 0 0 24px; }
h2 { font-size: 19px; font-weight: 600; margin: 0 0 15px; letter-spacing: -.3px; }
.lead { font-size: 17px; line-height: 1.6; color: #5b6e63; margin-bottom: 34px; }
button, .button { display: inline-flex; gap: 28px; align-items: center; justify-content: center; min-height: 48px; padding: 13px 23px; background: #194e3b; color: white; border: 1px solid #194e3b; border-radius: 8px; font: 600 14px "Segoe UI", system-ui, sans-serif; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: #123d2e; color: white; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #89af42; outline-offset: 4px; }
.auth-card { max-width: 460px; margin: 64px auto; padding: 38px; background: white; border: 1px solid #e0e6de; border-radius: 16px; box-shadow: 0 12px 38px #183a2810; }
.auth-card h1 { font-size: 30px; letter-spacing: -.8px; margin-bottom: 30px; }
.auth-card .eyebrow { font-size: 10px; letter-spacing: 1.7px; margin-bottom: 15px; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
input, select { width: 100%; padding: 12px 14px; min-height: 48px; font: 16px "Segoe UI", system-ui, sans-serif; border: 1px solid #bdcbbf; background: #fff; color: #173e31; border-radius: 7px; margin-bottom: 23px; }
input[readonly] { background: #f2f6ef; font: 13px Consolas, monospace; }
.auth-card button, .auth-card .button { width: 100%; margin-top: 5px; }
.secondary-link { display: block; font-size: 13px; text-align: center; margin-top: 24px; }
.validation { color: #9e2631; font-size: 14px; line-height: 1.5; }
.validation ul { padding-left: 18px; }
.validation:empty, .validation-summary-valid { display: none; }
.workspace { max-width: 1180px; padding: 60px 6vw; margin: auto; }
.workspace h1 { font-size: 38px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; max-width: 620px; }
.tile { background: white; border: 1px solid #dce3db; border-radius: 12px; padding: 28px; text-decoration: none; }
.tile p { color: #5b6e63; font-size: 14px; }
.tile-symbol { font-size: 36px; color: #497e60; display: block; margin-bottom: 20px; }
.security-card { background: white; border: 1px solid #dce3db; border-radius: 12px; padding: 28px; margin-top: 20px; }
.badge { display: inline-block; color: #235c3b; background: #eaf4df; border-radius: 20px; padding: 5px 13px; font-size: 12px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.secondary { background: white; color: #194e3b; border-color: #b1c7b6; }
.danger { background: white; color: #992e38; border-color: #d9b0b5; }
.danger:hover { background: #fff0f1; color: #992e38; }
.text-button { border: 0; background: transparent; color: #4a5f53; padding: 10px 0; min-height: auto; }
.text-button:hover { background: transparent; color: #173e31; }
.recovery-codes { list-style: none; padding: 18px; background: #f2f6ef; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-radius: 8px; text-align: center; }
.status { font-size: 14px; color: #64766c; }
footer { padding: 25px 6vw; font-size: 12px; color: #78877d; }
.skip { position: absolute; left: -10000px; top: 10px; padding: 10px; background: white; z-index: 10; }
.skip:focus { left: 12px; }
.auth-card .help, .help { width: 26px; min-height: 26px; height: 26px; padding: 0; margin: 0 0 8px; border-radius: 50%; background: #edf3e8; color: #28523c; border-color: #b1c7b6; font-size: 13px; }
.help-popover { max-width: min(340px, 88vw); padding: 20px; border: 1px solid #b1c7b6; border-radius: 10px; font-size: 14px; line-height: 1.6; color: #192e29; background: #fff; box-shadow: 0 10px 40px #0002; }
@media (max-width: 600px) {
    .topbar { padding: 16px 20px; min-height: 72px; height: auto; flex-wrap: wrap; gap: 16px; }
    .topbar-label { display: none; }
    nav { gap: 14px; flex-wrap: wrap; }
    .auth-card { margin: 32px 18px; padding: 28px 24px; }
    .welcome { padding: 70px 25px; }
    .workspace { padding: 36px 22px; }
    .workspace h1 { font-size: 30px; }
    .actions, .actions form, .actions button, .actions a { width: 100%; }
}
/* Operational lists preserve the authentication palette and fit narrow screens. */
.topbar { height: auto; min-height: 88px; padding-top: 20px; padding-bottom: 20px; gap: 24px; flex-wrap: wrap; }
nav { flex-wrap: wrap; gap: 18px; }
.identifier { overflow-wrap: anywhere; font: 13px Consolas, monospace; }
.filters, .summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; align-items: end; }
.filters input, .filters select { margin-bottom: 0; }
.summary-grid .security-card { align-self: stretch; }
.row-heading { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.security-card details { margin-top: 18px; }
.security-card form { margin-top: 18px; }
.security-card dd { margin: 4px 0 16px; }
button:disabled { cursor: not-allowed; opacity: .55; }
