:root { color-scheme: light; font-family: system-ui, sans-serif; color: #17332b; background: #f4f7f5; }
* { box-sizing: border-box; }
body { margin: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 5vw; background: #123f34; color: white; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand .brand-mark { display: block; width: 2.75rem; height: 2.75rem; }
.brand-name { font-size: 1.2rem; }
.container { width: min(72rem, 90vw); margin: 2rem auto; }
.card { background: white; border: 1px solid #d8e3df; border-radius: .75rem; padding: clamp(1rem, 4vw, 2rem); box-shadow: 0 .25rem 1rem rgb(0 0 0 / .05); }
.login { width: min(28rem, 90vw); margin: 10vh auto; }
.auth-brand { display: block; width: min(22rem, 100%); height: auto; margin: 0 auto 1.25rem; }
.auth-mark { display: block; width: 5rem; height: 5rem; margin: 0 auto 1rem; }
label { display: block; margin-top: 1rem; font-weight: 650; }
input { width: 100%; padding: .75rem; margin-top: .35rem; border: 1px solid #8ca69e; border-radius: .4rem; font: inherit; }
button { padding: .7rem 1rem; border: 0; border-radius: .4rem; background: #16705b; color: white; font: inherit; font-weight: 700; cursor: pointer; }
.login button { width: 100%; margin-top: 1.25rem; }
.error { padding: .75rem; border-radius: .4rem; color: #7a1520; background: #fdebee; }
.nav { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.nav span { opacity: .85; }
.header-nav .nav-link,
.header-nav .nav-link:link,
.header-nav .nav-link:visited { color: #f3ead8; font-weight: 650; text-decoration-color: transparent; text-underline-offset: .25rem; }
.header-nav .nav-link:hover { color: #fffaf0; text-decoration-color: currentColor; }
.header-nav .nav-link:focus { color: #fffaf0; outline: 2px solid #e4c98c; outline-offset: .2rem; border-radius: .15rem; }
.header-nav .nav-link:active { color: #e4c98c; }
.header-nav form { margin: 0; }
.header-nav button { background: #f3ead8; color: #123f34; }
.header-nav button:hover, .header-nav button:focus { background: #fffaf0; }
.header-nav button:focus { outline: 2px solid #e4c98c; outline-offset: .2rem; }
.placeholder { border: 2px dashed #a9bbb5; padding: 2rem; border-radius: .5rem; color: #526a62; }
.setup-key, .setup-uri { overflow-wrap: anywhere; padding: .75rem; background: #eef4f1; border-radius: .4rem; }
.account-label { padding: .75rem; border-left: .25rem solid #45b95f; background: #f2f8f4; overflow-wrap: anywhere; }
.totp-qr { display: block; width: min(17.5rem, 100%); height: auto; aspect-ratio: 1; margin: 1.25rem auto; padding: .6rem; border: 1px solid #d8e3df; border-radius: .5rem; background: #fff; }
.manual-setup { margin: 1.25rem 0; }
.recovery-codes { columns: 2; padding-left: 1.5rem; }
.recovery-codes li { margin-bottom: .5rem; }
.button-link { display: inline-block; padding: .7rem 1rem; border-radius: .4rem; background: #16705b; color: white; font-weight: 700; text-decoration: none; }
.account-security { margin-top: 1rem; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.eyebrow { margin: 0; color: #526a62; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tenant-list { overflow-x: auto; }
.administrator-list { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .8rem .6rem; text-align: left; border-bottom: 1px solid #d8e3df; }
.status { display: inline-block; padding: .2rem .55rem; border-radius: 99rem; font-size: .8rem; font-weight: 700; }
.status-active { color: #145c3d; background: #dff5e8; }
.status-inactive { color: #7a1520; background: #fdebee; }
.details dt { margin-top: 1rem; color: #526a62; font-weight: 700; }
.details dt:first-child { margin-top: 0; }
.details dd { margin: .25rem 0 0; }
select { width: 100%; padding: .75rem; margin-top: .35rem; border: 1px solid #8ca69e; border-radius: .4rem; font: inherit; background: white; }
hr { margin: 1.5rem 0; border: 0; border-top: 1px solid #d8e3df; }
@media (max-width: 36rem) { .topbar { align-items: flex-start; flex-direction: column; } }
