/* finesse · register=product+h5 · design-language=apple · apple-mode=app
 * A=existing-neutral+system-blue · B=system-CJK · C=counts+filters+grouped-list
 * D=control-feedback · E=existing-surfaces · SOUL=5 SPECTACLE=1 DENSITY=6 */
.resident-monitor { min-width: 0; }
.resident-report .pill.blue { color:var(--color-action); background:var(--color-action-soft); }
.resident-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); }
.resident-tabs button { min-width:0; min-height:48px; padding-inline:8px; }
.resident-page-title { margin:24px 0 8px; font-size:18px; }
.resident-note { color:var(--muted); font-size:13px; line-height:1.6; }
.resident-kpis { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:20px 0; }
.resident-kpis button { display:flex; flex-direction:column; align-items:flex-start; gap:8px; padding:14px 10px; text-align:left; white-space:normal; background:var(--color-inset); color:var(--ink); border:1px solid var(--line); border-radius:var(--radius-control); }
.resident-kpis span { font-size:13px; }
.resident-kpis strong { font-size:30px; font-weight:650; font-variant-numeric:tabular-nums; }
.resident-kpis small { display:flex; align-items:center; gap:2px; font-size:11px; color:var(--muted); }
.resident-section-title { margin-top:26px; }
.resident-property-counts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:16px 0; border-block:1px solid var(--line); }
.resident-property-counts dt { font-size:12px; color:var(--muted); }
.resident-property-counts dd { margin:5px 0 0; font-size:22px; font-weight:600; font-variant-numeric:tabular-nums; }
.resident-history { margin-top:16px; border-top:1px solid var(--line); }
.resident-history summary { padding:16px 0; min-height:48px; box-sizing:border-box; cursor:pointer; font-size:14px; }
.resident-updates { list-style:none; padding:0; margin:10px 0; }
.resident-updates li { border-bottom:1px solid var(--line); padding:14px 0; overflow-wrap:anywhere; }
.resident-updates li:last-child { border-bottom:0; }
.resident-updates .section-head { flex-wrap:wrap; gap:8px; }
.resident-updates b { font-size:14px; }
.resident-updates p { margin:8px 0; font-size:14px; }
.resident-updates small { color:var(--muted); font-size:12px; }
.resident-changes { margin-bottom:0; font-size:13px; }
.resident-changes div,.resident-feedback-item dl>div { display:grid; grid-template-columns:5em minmax(0,1fr); gap:10px; margin-top:8px; }
.resident-changes dt,.resident-feedback-item dt { color:var(--muted); }
.resident-changes dd,.resident-feedback-item dd { margin:0; overflow-wrap:anywhere; }
.resident-changes dd>span { color:var(--muted); }
.resident-feedback-item p { white-space:pre-wrap; overflow-wrap:anywhere; }
.resident-feedback-item dl { font-size:13px; line-height:1.6; }
.resident-feedback-choices { display:grid; gap:12px; }
.resident-filter-footer { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.resident-filters .resident-check { display:flex; align-items:center; gap:8px; min-height:48px; }
.resident-filters .resident-check input { width:20px; height:20px; min-height:20px; margin:0; accent-color:var(--color-action); }
.resident-filters button,.resident-property .mobile-actions button { min-height:48px; }
.resident-date-actions [aria-pressed="true"] { color:var(--color-action); border-color:currentColor; background:var(--color-inset); }
.resident-monitor :is(button,input,select):focus-visible,.resident-history summary:focus-visible { outline:2px solid var(--color-action); outline-offset:3px; }
.resident-counts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 22px 0 18px; }
.resident-counts div { min-width: 0; }
.resident-counts dt { color: var(--muted); font-size: 13px; }
.resident-counts dd { margin: 4px 0 0; font-size: 32px; font-weight: 650; line-height: 1.3; font-variant-numeric: tabular-nums; }
.resident-counts small { font-size: 13px; font-weight: 400; color: var(--muted); }
.resident-forward-status { padding: 14px 16px; border-radius: var(--radius-control); background: var(--color-inset); }
.resident-forward-status>div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.resident-forward-status p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.resident-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.resident-filters label { margin: 0; min-width: 0; font-size: 13px; }
.resident-filters input,.resident-filters select { width: 100%; min-width: 0; min-height: 48px; box-sizing: border-box; font-size:16px; }
.resident-property-filter,.resident-date-actions,.resident-filters>p { grid-column: 1/-1; }
.resident-date-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.resident-date-actions button { min-height: 48px; min-width:48px; white-space: nowrap; }
.resident-filters>p { margin: 0; color: var(--muted); font-size: 12px; }
.resident-filters>.error { color: var(--color-danger, var(--ink)); }
.resident-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resident-list-head h3 { margin: 0; }
.resident-list-head span,.resident-status-caption { color: var(--muted); font-size: 12px; }
.resident-report .section-head { align-items: flex-start; flex-wrap: wrap; }
.resident-report h3 { overflow-wrap: anywhere; }
.resident-report .mobile-actions button { min-height: 48px; white-space: nowrap; }
.resident-report .resident-status-caption { margin: 8px 0; }
@media(max-width:360px) { .resident-filters { grid-template-columns: minmax(0,1fr); } }
