/* Preserve a readable content column; status and actions never squeeze the name. */
.app-workspace .resident-activity>div:not(.empty-visual){display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:10px 12px;min-width:0}
.app-workspace .resident-activity>div>.activity-avatar{grid-column:1;grid-row:1;align-self:start}
.app-workspace .resident-activity>div>strong,.app-workspace .resident-activity>div>.resident-pass-content{grid-column:2;grid-row:1;min-width:0;width:100%}
.app-workspace .resident-activity>div>span:not(.activity-avatar){grid-column:3;grid-row:1;max-width:100%;justify-self:start}
.app-workspace .resident-activity>div>form{grid-column:2/-1;min-width:0;max-width:100%;margin:0;justify-self:end}
.app-workspace .resident-pass-content>strong{display:block;font-size:16px;line-height:1.4;word-break:normal;overflow-wrap:anywhere}
.app-workspace .resident-pass-content>small{display:block;margin-top:6px;color:#5c6c85;font-size:14px;font-weight:400;line-height:1.5}
.app-workspace .resident-pass-content time{white-space:nowrap}
.app-workspace .resident-pass-content .resident-pass-type{display:inline-block;margin-top:6px;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:anywhere}
.app-workspace .resident-pass-status{white-space:normal;word-break:normal;overflow-wrap:anywhere;line-height:1.4}
@media(max-width:760px){
 .app-workspace .resident-activity>div:not(.empty-visual){grid-template-columns:38px minmax(0,1fr);gap:10px 12px;flex-wrap:unset}
 .app-workspace .resident-activity>div>span:not(.activity-avatar){grid-column:2;grid-row:auto;justify-self:start}
 .app-workspace .resident-activity>div>form{grid-column:1/-1;grid-row:auto;justify-self:stretch;width:100%;margin-top:4px}
 .app-workspace .resident-activity>div>form button{width:100%;min-height:48px;max-width:100%;white-space:normal}
 .app-workspace .resident-activity>div>strong{word-break:normal;overflow-wrap:anywhere}
 .app-workspace .section-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-width:0}
 .app-workspace .section-heading>h2{flex:1 1 150px;min-width:0;margin:0}
 .app-workspace .section-heading>a{max-width:100%}
 .app-workspace .resident-agenda-row{flex-wrap:wrap;gap:8px 12px;min-width:0}
 .app-workspace .resident-agenda-row>span{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
 .app-workspace .resident-agenda-row>time{max-width:100%;white-space:nowrap}
 .app-workspace .finance-home-row{display:grid;grid-template-columns:38px minmax(0,1fr);align-items:start;gap:8px 12px;min-width:0}
 .app-workspace .finance-home-row>strong{grid-column:2;min-width:0;overflow-wrap:anywhere}
 .app-workspace .finance-home-row>span:last-child{grid-column:2;min-width:0;text-align:left;overflow-wrap:anywhere}
 .app-workspace .resident-followups>a{min-width:0;gap:10px}
 .app-workspace .resident-followups>a>span:not(:last-child){flex:1;min-width:0;overflow-wrap:anywhere}
}
