.message-operation-dialog{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);box-sizing:border-box;padding:24px;border:1px solid #b5cbd4;border-radius:14px;background:#f7fafb;color:#153c4a;overflow:auto}
.message-operation-dialog::backdrop{background:#072b3bcc}.message-operation-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.message-operation-heading h2{font-size:22px;margin:0 0 18px;color:#153c4a}.message-operation-heading button{width:38px;min-height:38px;padding:3px;background:#e5eef2;color:#153c4a;border-radius:7px;font-size:24px}
.message-operation-dialog [hidden]{display:none!important}
.message-operation-media{margin-top:9px}.message-operation-media small{display:block;margin-bottom:7px;overflow-wrap:anywhere}.message-operation-media img,.message-operation-media video{display:block;max-width:100%;max-height:160px;object-fit:contain;border-radius:7px}.message-operation-media audio{width:100%;height:36px}.message-operation-media a{font-size:12px}
.message-operation-dialog textarea{resize:vertical;min-height:130px;max-height:40dvh;line-height:1.6}.message-operation-dialog label{font-size:12px;color:#355966}.message-operation-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.message-operation-channel{font-size:12px;color:#355966}.message-operation-source{padding:12px;background:#e9f1f5;border-left:3px solid #16879a;border-radius:7px;margin-bottom:16px}.message-operation-source p{white-space:pre-wrap;max-height:130px;overflow:auto;font-size:12px;line-height:1.6;margin:8px 0 0}
.forward-search{display:flex;gap:8px;margin-bottom:10px}.forward-search input{min-width:0;flex:1;margin:0}.forward-search button{flex-shrink:0}.forward-targets{max-height:190px;overflow:auto;margin:8px 0 14px}.forward-target{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:12px;background:#fff;border:1px solid #c5d8e1;border-radius:7px;color:#153c4a;text-align:left;margin-bottom:6px}.forward-target[aria-pressed=true]{background:#d7eaf2;border-color:#16879a}.forward-target span{font-size:12px}.forward-destination{padding:12px;border:1px solid #a9c4d0;border-radius:7px;background:#edf5f8;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.message-edit-entry{padding:14px 0;border-bottom:1px solid #c9dbe3}.message-edit-entry small{display:block;margin:6px 0 12px}.message-edit-entry pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:10px;background:#e8f1f5;border-radius:6px;font:inherit;font-size:12px;line-height:1.6;color:#153c4a}.message-edited-note,.message-forwarded-note{display:block;font-size:10px;line-height:1.6;color:#587783;margin:5px 0}.message-forwarded-note{font-style:italic}
:root[data-appearance] .message.in :is(.message-edited-note,.message-forwarded-note){color:var(--t-muted)}:root[data-appearance] .message.out :is(.message-edited-note,.message-forwarded-note){color:var(--t-out-muted)}
@media(max-width:760px){.message-operation-dialog{padding:17px}.message-operation-dialog input,.message-operation-dialog textarea{font-size:16px}.message-operation-heading h2{font-size:19px}.forward-search{flex-wrap:wrap}.forward-search input{flex-basis:100%}.forward-search button{width:100%}.forward-target{align-items:flex-start;flex-direction:column;gap:5px}.message-operation-footer button{min-height:44px}}
