/* One scrolling conversation; reports use their natural height. */
.ms-report-excerpt{max-height:none;overflow:visible}
.ms-message-content:has(.ms-report-card){width:min(100%,860px);max-width:calc(100% - 48px)}
.ms-message-content:has(.ms-report-card) .ms-bubble{flex:1;min-width:0}
.ms-room-tools{display:none}
.ms-header,.ms-composer,.ms-search,.ms-admin-tools,.ms-find-bar,.ms-date-bar{flex-shrink:0}
.ms-attachments:not(:empty){max-height:100px}
@media(min-width:1000px){
 body:has(#view>.messenger) .content{padding-top:12px;padding-bottom:12px}
 #view>.messenger{height:calc(var(--ms-screen-height,100dvh) - 94px);min-height:350px;grid-template-columns:300px minmax(0,1fr)}
 .ms-wide .ms-header{min-height:64px;padding:10px 150px 10px 18px}
 .ms-wide .ms-history{padding:18px 24px}
 .ms-wide .ms-sidebar{overflow:auto;overscroll-behavior:contain}
 .ms-wide .ms-rooms{flex:1 0 180px;min-height:160px;max-height:45%;overflow:auto}
 .ms-wide .ms-side-head{padding:14px 14px 10px}
 .ms-wide .ms-help{padding:7px;font-size:11px}
 .ms-wide.has-room .ms-room-tools{display:flex;flex-direction:column;flex-shrink:0;border-top:1px solid var(--line);padding:12px 12px 6px;gap:8px}
 .ms-room-tools h3{font-size:13px;margin:0 0 2px;color:var(--sub)}
 .ms-room-tools .ms-search{padding:0;border:0;display:grid;grid-template-columns:minmax(0,1fr) 36px 48px;gap:4px}
 .ms-room-tools .ms-search input{grid-column:1/-1;width:100%;min-height:40px}
 .ms-room-tools #msClearSearch{grid-column:2}
 .ms-room-tools .ms-date-bar{padding:0;border:0;flex-wrap:wrap}
 .ms-room-tools .ms-date-bar input{flex-basis:100%;width:100%}
 .ms-room-tools .ms-find-bar{padding:0;border:0;flex-wrap:wrap}
 .ms-room-tools #msFindCount{width:100%}
 .ms-room-tools .ms-site-details{margin:0}
 .ms-room-tools .ms-site-controls{display:flex;flex-wrap:wrap;gap:6px}
 .ms-room-tools .ms-site-controls>label{width:100%}
 .ms-room-tools .ms-site-controls>select{width:100%;max-width:none}
 .ms-room-tools .ms-site-controls>input{min-width:0;max-width:150px}
 .ms-room-tools .ms-admin-tools{padding:8px 0 0;border-top:1px solid var(--line);border-bottom:0;flex-wrap:wrap}
 .ms-room-tools .ms-admin-tools>.btn{font-size:12px}
 .ms-wide .ms-composer{padding:8px 16px 10px}
 .ms-wide .ms-composer>textarea{min-height:52px;max-height:120px}
 .ms-wide .ms-compose-foot{margin-top:4px}
}
@media(max-width:760px){.ms-message-content:has(.ms-report-card){max-width:calc(100% - 35px)}.ms-message-content:has(.ms-report-card) .ms-message-body{align-items:flex-end}.ms-message-content:has(.ms-report-card) .ms-meta{max-width:45px;font-size:9px}.ms-report-card{font-size:12px}}
