.comment-rich-toolbar{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.task-detail-dialog .comment-rich-toolbar .btn{min-width:30px;min-height:28px;padding:4px 7px;font-size:12px;line-height:1.2}.comment-rich-bold{font-weight:750}.comment-rich-italic{font-style:italic}.comment-rich-underline{text-decoration:underline}.comment-rich-toolbar [aria-pressed=true]{background:var(--soft);color:var(--accent);border-color:var(--accent)}.comment-emoji-options{display:flex;gap:4px;flex-wrap:wrap;padding:7px;border:1px solid var(--line);border-radius:6px;background:var(--panel)}.task-detail-dialog .comment-emoji-options .btn{min-width:32px;font-size:18px;padding:4px}.comment-rich-preview{max-height:100px;overflow:auto;overscroll-behavior:contain;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.comment-rich-preview>span{display:block;margin-bottom:3px;font-size:10px;text-transform:uppercase;letter-spacing:.04em}.comment-rich-preview p{margin:0}.comment-message strong,.comment-rich-preview strong{font-weight:750}.comment-message em,.comment-rich-preview em{font-style:italic}.comment-message u,.comment-rich-preview u{text-underline-offset:2px}
.mention-worklist-card{display:grid;gap:10px;max-width:580px;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel);min-width:0}.mention-worklist-card h2{font-size:16px}.mention-worklist-count{display:inline-flex;justify-content:center;align-items:center;min-width:29px;height:29px;padding:3px 8px;border-radius:8px;background:var(--soft);color:var(--accent);font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}.mention-worklist-items{display:grid;gap:0;max-height:260px;overflow:auto;overscroll-behavior:contain;min-width:0}.mention-worklist-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);min-width:0}.mention-worklist-item:first-child{border-top:0;padding-top:2px}.mention-worklist-item>div:first-child{display:grid;gap:2px;min-width:0;flex:1}.mention-worklist-item strong{font-size:13px;overflow-wrap:anywhere}.mention-worklist-item p{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;line-height:1.45}.mention-worklist-item .small{font-size:11px}.mention-worklist-item>.row{flex:0 0 auto;gap:5px}.mention-worklist-card .btn{min-height:30px;font-size:12px;padding:4px 8px}.mention-worklist-card>.btn{justify-self:start}.mention-worklist-card .form-error{font-size:12px}
@media(max-width:570px){.mention-worklist-card{max-width:none;padding:12px}.mention-worklist-item{flex-wrap:wrap;gap:7px}.mention-worklist-item>div:first-child{flex-basis:100%}.mention-worklist-item>.row{justify-content:flex-end;width:100%}.mention-worklist-card h2{font-size:15px}}
.comment-composer textarea[hidden]{display:none!important}.comment-composer .comment-rich-preview{display:none!important}.comment-rich-editor{display:block;min-height:70px;max-height:210px;overflow:auto;overscroll-behavior:contain;width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--text);font:inherit;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}.comment-rich-editor:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.comment-rich-editor:focus{outline:2px solid var(--focus);outline-offset:1px;border-color:var(--focus)}.comment-rich-editor[aria-disabled=true]{opacity:.6;cursor:default}.comment-rich-editor strong,.comment-rich-editor b{font-weight:750}.comment-rich-editor em,.comment-rich-editor i{font-style:italic}.comment-rich-editor u{text-underline-offset:2px}
@media(pointer:coarse){.task-detail-dialog .comment-rich-toolbar .btn,.task-detail-dialog .comment-emoji-options .btn,.mention-worklist-card .btn{min-height:44px}}

@media(min-width:761px) and (max-height:640px){.task-detail-dialog .comment-rich-editor{min-height:54px;max-height:100px}.task-detail-dialog .drive-composer{padding:5px 0;margin-top:0}}
