:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172033; background: #eef1f5; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
header, footer { padding: .8rem 1rem; background: #202938; color: #f7f9fc; }
header { display: flex; justify-content: space-between; gap: 1rem; }
footer { font-size: .8rem; color: #cbd3df; }
.badge { padding: .15rem .45rem; border: 1px solid #7e8ca2; border-radius: .25rem; font-size: .72rem; }
main { width: min(100% - 2rem, 42rem); margin: 2rem auto; }
.card { background: white; border: 1px solid #d5dae2; border-radius: .4rem; padding: 1.25rem; box-shadow: 0 2px 8px #1c263614; }
.status { color: #526278; border-left: .25rem solid #4178be; padding-left: .6rem; }
.note { color: #687486; font-size: .85rem; }
form, label, .menu { display: grid; gap: .75rem; }
input, button, .menu-item { width: 100%; padding: .7rem; border: 1px solid #aeb7c4; border-radius: .25rem; }
.menu-item { display: block; color: #174f91; background: #f6f8fb; text-decoration: none; }
.disabled { color: #687486; }
.logout { display: inline-block; margin-top: 1.25rem; color: #37465a; }
@media (max-width: 360px) { header { align-items: flex-start; flex-direction: column; } main { margin: 1rem auto; } }

/* Shared Owner menu and account presentation; authentication forms keep their layout. */
.owner-card { max-width: 32rem; margin-inline: auto; }
.owner-card h1 { margin: 0 0 .75rem; font-size: 1.5rem; line-height: 1.35; }
.owner-card .status { margin: 0 0 1.25rem; }
.owner-card .menu-item, .owner-card .logout { min-height: 2.75rem; font: inherit; text-align: left; line-height: 1.4; padding: .8rem 1rem; cursor: pointer; }
.owner-card .menu-item:hover { background: #edf2f9; }
.owner-card .menu-item:focus-visible, .owner-card .logout:focus-visible { outline: 2px solid #4178be; outline-offset: 3px; }
.menu-secondary { display: block; margin-top: .2rem; color: #526278; font-size: .85rem; }
.account-details { margin: 1.25rem 0; }
.account-details dt { color: #526278; font-size: .9rem; margin-top: 1rem; }
.account-details dd { margin: .25rem 0 0; overflow-wrap: anywhere; }
.technical-info { margin-bottom: 1.25rem; }
.technical-info summary { cursor: pointer; color: #526278; }
@media (max-width: 480px) { .owner-card { padding: 1rem; } .owner-card h1 { font-size: 1.35rem; } }
