.access-card form { margin-top: 26px; }
.access-card .field + .field { margin-top: 18px; }
.access-card #access-password-fields { margin-top: 20px; }
.access-card .button { width: 100%; margin-top: 20px; }
.access-password-help { margin: 8px 0 0; color: var(--ink-soft); font-size: 12px; }
.authenticated-unit { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; background: var(--ink); color: #fff; }
.authenticated-unit span { color: #b9cad6; font-size: 13px; }
.authenticated-unit strong { font: 400 24px var(--mono); letter-spacing: .12em; }
.registration-captcha { margin-top: 20px; }
.registration-captcha iframe { max-width: 100%; }
.resident-dashboard { position: fixed; inset: 0; z-index: 40; overflow-y: auto; padding: 24px; background: rgba(16, 42, 67, .48); backdrop-filter: blur(8px); }
.resident-dashboard[hidden] { display: none; }
.dashboard-shell { position: relative; width: min(1040px, 100%); min-height: calc(100dvh - 48px); margin: auto; padding: clamp(28px, 5vw, 60px); border-radius: 16px; background: var(--warm); box-shadow: 0 24px 70px rgba(16, 42, 67, .28); }
.dashboard-header { position: relative; padding-right: 48px; }
.dashboard-header h2 { margin-bottom: 10px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.dashboard-header > div > p:last-child { color: var(--ink-soft); }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 38px; background: var(--ink); color: #fff; }
.dashboard-metrics article { display: grid; grid-template-columns: auto 1fr; align-content: center; min-height: 130px; padding: 22px; border-right: 1px solid rgba(185, 202, 214, .25); }
.dashboard-metrics article span { grid-column: 1 / -1; margin-bottom: 10px; color: #b9cad6; font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.dashboard-metrics article strong { font: 400 clamp(1.7rem, 3vw, 2.7rem) var(--mono); letter-spacing: -.06em; }
.dashboard-metrics article small { align-self: end; margin: 0 0 5px 7px; color: #b9cad6; }
.dashboard-metrics .dashboard-own-total { border-right: 0; background: #183b5b; }
.dashboard-metrics .dashboard-building-total { grid-column: 1 / -1; min-height: 105px; border-top: 1px solid rgba(185, 202, 214, .25); border-right: 0; background: #0c2135; }
.dashboard-metrics .dashboard-building-total strong { color: #e5b391; }
.dashboard-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 24px; background: var(--line); border: 1px solid var(--line); }
.dashboard-details div { min-width: 0; padding: 18px 20px; background: #fff; }
.dashboard-details span, .dashboard-details strong { display: block; }
.dashboard-details span { margin-bottom: 6px; color: var(--ink-soft); font-size: 11px; }
.dashboard-details strong { overflow-wrap: anywhere; font-size: 14px; }
.dashboard-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dashboard-secondary { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.dashboard-logout { margin-left: auto; border: 0; background: transparent; color: var(--danger); font-weight: 700; }
.password-change { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.password-change h3 { margin: 0 0 20px; font-size: 22px; }
.password-change .contact-grid { grid-template-columns: repeat(3, 1fr); }
.password-change > .button { margin-top: 18px; }
@media (max-width: 760px) { .resident-dashboard { padding: 8px; } .dashboard-shell { min-height: calc(100dvh - 16px); padding: 46px 18px 28px; border-radius: 12px; } .dashboard-metrics { grid-template-columns: repeat(2, 1fr); } .dashboard-metrics article { min-height: 105px; padding: 16px; } .dashboard-metrics .dashboard-own-total { border-top: 1px solid rgba(185, 202, 214, .25); } .dashboard-details, .password-change .contact-grid { grid-template-columns: 1fr; } .dashboard-actions .button, .dashboard-logout { width: 100%; margin-left: 0; min-height: 50px; } }
@media (prefers-reduced-motion: reduce) { .resident-dashboard { backdrop-filter: none; } }
