.text-format-trigger{flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px;padding:4px!important;border:0;border-radius:8px;background:transparent;color:var(--primary,#147a73);font:700 15px system-ui;cursor:pointer;align-self:center}.text-format-trigger:hover,.text-format-trigger[aria-expanded=true]{background:#e3f2ef}.text-format-panel{position:fixed;z-index:12000;box-sizing:border-box;padding:12px;background:var(--surface,#fff);color:var(--text,#182b27);border:1px solid var(--line,#d9e5e1);border-radius:14px;box-shadow:0 8px 32px #0003;max-height:65dvh;overflow:auto;font:13px/1.5 system-ui}.text-format-heading{display:flex;align-items:center;justify-content:space-between}.text-format-close{border:0;background:transparent;color:inherit;font-size:24px}.text-format-actions{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0}.text-format-actions button{min-width:42px;flex:1;border:1px solid var(--line,#d9e5e1);border-radius:8px;padding:7px 3px;background:var(--surface,#fff);color:inherit;font-size:17px;cursor:pointer}.text-format-actions small{display:block;font-size:9px}.text-format-actions [data-format=bold]{font-weight:800}.text-format-actions [data-format=italic]{font-style:italic}.text-format-actions [data-format=strike]{text-decoration:line-through}.text-format-panel details{margin-top:10px}.text-format-preview{margin-top:8px;padding:10px;background:var(--bg,#f4f8f6);border-radius:8px;max-height:180px;overflow:auto;overflow-wrap:anywhere}.chat-text-list{white-space:normal;padding-inline-start:24px;margin:5px 0}.chat-text-quote{border-inline-start:3px solid #79a99d;padding-inline-start:10px;margin:5px 0;color:inherit;opacity:.85}.chat-code{white-space:pre-wrap;overflow-wrap:anywhere;padding:8px;border-radius:6px;background:#0000000b}.message-text code,.peer-text code,.text-format-preview code{font-family:monospace;background:#0000000b;border-radius:3px;padding:1px 3px}
