/* A separate footer keeps wrapping text clear of the timestamp and controls. */
html[data-look] #messages .message:not(.join-notice){padding:4px 8px;box-shadow:none;border-radius:10px;min-width:0}
html[data-look] #messages .message:not(.join-notice) .compact-message-heading[hidden]{display:none!important}
html[data-look] #messages .message:not(.join-notice) .compact-message-heading{padding-right:22px;min-height:0;gap:4px}
html[data-look] #messages .message:not(.join-notice) .body,html[data-look] #messages .simple-message>.body{display:block!important;float:none;clear:both;line-height:1.35;overflow-wrap:anywhere;min-width:0;padding-right:0!important}
html[data-look] #messages .message:not(.join-notice) .message-footer,html[data-look] #messages .simple-message .message-footer{display:flex!important;float:none;clear:both;align-items:center;justify-content:flex-start!important;margin:1px 0 0!important;gap:4px;min-height:14px;height:auto;line-height:1.2}
html[data-look] #messages .message:not(.join-notice) .message-mini-time{order:-2;margin:0!important;font-size:10px;white-space:nowrap;line-height:1.2;color:var(--d-muted)}
html[data-look] #messages .message:not(.join-notice) .read-receipt{order:2;margin-left:auto;padding:0 2px;min-height:18px!important;min-width:22px!important;width:auto;font-size:11px;line-height:1.1;background:transparent;border:0;box-shadow:none}
html[data-look] #messages .message:not(.join-notice) .message-reply-shortcut{display:none!important}
html[data-look] #messages .message:not(.join-notice) .reply-quote{width:100%;min-width:0;max-width:100%;padding:3px 6px!important;margin:2px 0 3px!important;gap:0!important;min-height:0;box-sizing:border-box;border-radius:3px;background:color-mix(in srgb,var(--d-accent) 7%,transparent)}
html[data-look] #messages .message:not(.join-notice) .reply-quote strong{font-size:10px!important;line-height:1.25!important}
html[data-look] #messages .message:not(.join-notice) .reply-quote span{font-size:12px!important;line-height:1.25!important;overflow-wrap:anywhere}
html[data-look][data-theme=light] #messages .message:not(.join-notice){background:#fff;border:0;box-shadow:none}
html[data-look][data-theme=light] #messages .message.own:not(.join-notice){background:#e3eee6;border:0}
html #rooms [data-person-id] .room-title{cursor:pointer;border-radius:3px}
html #rooms [data-person-id] .room-title:hover{text-decoration:underline}
html #rooms [data-person-id] .room-title:focus-visible{outline:2px solid var(--d-accent);outline-offset:2px}
html #composeContext{min-height:30px;padding:4px 9px;gap:6px;align-items:center}
html #composeContextText{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.3}
@media(min-width:901px){html[data-look] #messages .message:not(.join-notice){max-width:min(66%,520px)!important}html[data-look] #messages .message:not(.join-notice) .body{font-size:14px!important}html[data-look] #messages .message:not(.join-notice) .compact-message-heading>.meta{font-size:10px;line-height:1.3}}
@media(max-width:900px){html[data-look] #messages .message:not(.join-notice) .read-receipt{min-height:24px!important;min-width:26px!important}html[data-look] #messages .message:not(.join-notice) .body{font-size:15px}}


