.resident-shell.resident-rebuilt{max-width:1040px;padding:clamp(14px,3vw,32px);min-width:0}.resident-rebuilt .resident-header{align-items:center;padding-block:4px 18px;border-bottom:1px solid var(--border)}.resident-rebuilt .resident-wordmark{min-width:0;gap:10px;color:var(--foreground)}.resident-rebuilt .resident-wordmark img{flex:none;width:40px;height:40px;border-radius:10px;object-fit:contain}.resident-rebuilt .resident-wordmark span{min-width:0;overflow-wrap:anywhere}.resident-rebuilt .resident-header .actions{flex:none;align-items:center}.resident-rebuilt .resident-header .secondary{min-height:44px}.resident-rebuilt .resident-refresh{width:44px;justify-content:center}.resident-dashboard{min-width:0}.resident-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-block:18px 24px;padding:4px;border:1px solid var(--border);border-radius:14px;background:var(--muted)}.resident-navigation button{min-height:48px;min-width:0;display:flex;justify-content:center;align-items:center;gap:8px;border:1px solid transparent;border-radius:10px;color:var(--foreground);font-size:13px;font-weight:600}.resident-navigation button[aria-current]{border-color:var(--border);background:var(--card);box-shadow:0 1px 2px #0001}.resident-rebuilt :is(button,a,input,select):focus-visible{outline:2px solid var(--foreground);outline-offset:2px}.resident-intro{margin:24px 0 18px}.resident-access-state h1,.resident-intro h1{font-size:clamp(24px,4vw,36px);line-height:1.15;letter-spacing:-.03em}.resident-access-state p,.resident-intro p{margin:8px 0;font-size:14px;color:var(--muted-foreground)}.resident-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.resident-rebuilt .resident-home-card{min-width:0;margin:0;background:var(--card)}.resident-home-card h2{margin:12px 0 6px;font-size:14px}.resident-home-card p,.resident-home-card strong{display:block;color:var(--foreground);font-size:clamp(18px,3vw,28px);font-weight:650;overflow-wrap:anywhere}.resident-feature-icon{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:12px;background:color-mix(in srgb,var(--primary) 14%,var(--card));border:1px solid var(--border);color:var(--foreground)}.resident-link{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:13px}.resident-link:hover{text-decoration:underline;text-underline-offset:3px}.resident-rebuilt .resident-history{background:var(--card)}.resident-history h2{font-size:16px;font-weight:650;margin:0}.resident-record{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;min-height:53px;width:100%;text-align:start;border-top:1px solid var(--border);font-size:14px}.resident-history h2+.resident-record{margin-top:12px}.resident-record:hover>span:first-child{text-decoration:underline;text-underline-offset:3px}.resident-record>span{min-width:0;overflow-wrap:anywhere}.resident-record>svg{flex-shrink:0}.resident-record small{display:block;color:var(--muted-foreground);margin-top:4px;font-size:12px;text-decoration:none}.resident-record-value{text-align:end;font-weight:650;font-variant-numeric:tabular-nums;flex:0 1 auto}.resident-profile dt{font-size:12px;color:var(--muted-foreground)}.resident-profile dd{margin:3px 0 12px;overflow-wrap:anywhere}.resident-profile dl{margin-block:18px}.resident-rebuilt .resident-access-state{width:min(100%,490px);margin:clamp(24px,7vw,64px) auto;padding:clamp(18px,4vw,32px);background:var(--card)}.resident-access-state h1{margin-top:14px}.resident-access-state>.secondary{margin-top:12px}.resident-apply-form{display:grid;gap:12px;margin-top:18px}.resident-apply-form input{width:100%;min-height:44px;font-size:16px}.resident-rebuilt :is(.secondary,.primary){min-height:44px}@media (max-width:540px){.resident-navigation button{flex-direction:column;gap:3px;font-size:11px;line-height:1.2;padding:5px 3px;min-height:54px}.resident-home-grid{grid-template-columns:1fr;gap:10px}}