
/* v1.7 Resident App + command centers */
.resident-app-hero{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-radius:22px;background:linear-gradient(135deg,var(--nav),color-mix(in srgb,var(--primary) 35%,var(--nav)));color:#fff;margin-bottom:16px;box-shadow:var(--ui-shadow)}
.resident-app-hero h2{margin:4px 0 3px;font-size:26px}.resident-app-hero p{margin:0;color:rgba(255,255,255,.72)}
.resident-app-badge{padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.11);font-size:11px;font-weight:800}
.resident-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px}
.resident-action{display:flex;flex-direction:column;gap:4px;min-height:118px;padding:17px;border-radius:16px;background:#fff;border:1px solid var(--ui-border);box-shadow:var(--ui-shadow);color:var(--ui-text)}
.resident-action:hover{transform:translateY(-2px);box-shadow:var(--ui-shadow-hover)}
.resident-action>span{width:34px;height:34px;border-radius:11px;background:color-mix(in srgb,var(--primary) 10%,#fff);color:var(--primary);display:grid;place-items:center;font-weight:900;font-size:18px}
.resident-action strong{font-size:13px}.resident-action small{font-size:10px;color:var(--ui-muted)}
.resident-action.emergency>span{background:#fff0f0;color:#d92d2d}.resident-action-grid.compact{grid-template-columns:repeat(3,1fr);margin-top:0}.resident-action-grid.compact .resident-action{min-height:90px}
.feed-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--ui-border)}
.mini-bar-row{display:grid;grid-template-columns:105px 1fr 38px;gap:10px;align-items:center;padding:8px 0}.mini-bar{height:8px;background:#edf1f6;border-radius:999px;overflow:hidden}.mini-bar i{display:block;height:100%;background:var(--primary);border-radius:999px}
@media(max-width:900px){.resident-action-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.resident-app-hero{align-items:flex-start;gap:12px}.resident-app-badge{display:none}.resident-action-grid{grid-template-columns:repeat(2,1fr)}.resident-action{min-height:105px}.mini-bar-row{grid-template-columns:85px 1fr 32px}}
