/* Consistent, touch-accessible replies without hover-only actions. */
:root[data-design] .r136-quote,.p115 .r136-quote{display:grid!important;gap:4px;width:100%!important;max-width:100%;min-width:0;min-height:44px;height:auto!important;text-align:left;justify-content:stretch;padding:9px 12px!important;margin:0 0 9px;border:0;border-left:3px solid var(--accent,#5963bb);border-radius:6px;background:var(--surface2,#f4f5fa);color:var(--ink,#202840);white-space:normal;line-height:1.45}
.r136-quote strong,.r136-quote span{display:block!important;min-width:0;overflow-wrap:anywhere;white-space:pre-wrap}
.r136-quote strong{font-size:12px;font-weight:650;color:var(--accent,#5963bb)}
.r136-quote span{font-size:13px;display:-webkit-box!important;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.r136-quote:disabled{opacity:.72}
.r136-draft{display:flex;align-items:center;justify-content:space-between;gap:10px;border-left:3px solid var(--accent,#5963bb);background:var(--surface2,#f4f5fa);border-radius:6px;padding:8px 10px;min-width:0}
.r136-draft>div{min-width:0;flex:1}.r136-draft strong,.r136-draft span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.45;font-size:13px}.r136-draft strong{color:var(--accent,#5963bb);font-weight:650}.r136-draft span{margin-top:3px;color:var(--muted,#626c80)}
:root[data-design] .r136-draft button,.p115 .r136-draft button{flex:none;width:40px!important;height:40px!important;min-height:40px!important;padding:6px!important;background:none;border:0;font-size:24px;align-self:center!important}
.r136-task-draft:empty,.r136-partner-draft:empty,.r136-secure-draft:empty{display:none!important}
:root[data-design] .r136-reply-action,.p115 .r136-reply-action{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:36px;width:auto!important;max-width:100%;padding:7px 10px!important;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--accent,#5963bb);font-size:13px!important;font-weight:600;line-height:1.3;opacity:1!important;visibility:visible!important;white-space:nowrap}
:root[data-design] .r136-reply-action:hover,.p115 .r136-reply-action:hover{background:var(--soft,#eceefd);border-color:var(--line,#dde1ee)}
:root[data-design] #messages .msg-tools{display:flex!important;visibility:visible!important;opacity:1!important;flex-wrap:wrap;max-width:100%;gap:3px}
:root[data-design] #messages .msg-tools button[data-do=reply]{width:auto!important;min-width:90px}
:root[data-design] #messages .msg-tools button[data-do=reply] span{display:inline!important}
:root[data-design] body.ui127-active #page .u127-compose.u128-compose:has(.r136-task-draft){grid-template-areas:'reply reply' 'files files' 'status status' 'result result' 'tools tools' 'input send'}
.r136-task-draft{grid-area:reply;grid-column:1/-1}.r136-partner-draft,.r136-secure-draft{grid-column:1/-1;min-width:0}
:root[data-design] .u127-messages>.message>.r136-quote{align-self:stretch;margin-bottom:4px}
.r136-highlight{outline:2px solid var(--accent,#5963bb)!important;outline-offset:3px;border-radius:10px;animation:r136-emphasis 2s ease-out}
@keyframes r136-emphasis{from{background:var(--soft,#e8ebff)}to{background:transparent}}
@media(prefers-reduced-motion:reduce){.r136-highlight{animation:none}}
.r136-feed-open{margin-top:14px}.r136-feed-discussion{margin-top:18px;border-top:1px solid var(--line,#dde1ee);padding-top:16px;min-width:0}
.r136-feed-discussion[hidden]{display:none!important}.r136-feed-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.r136-feed-head strong{font-size:16px}
.r136-feed-log{max-height:420px;overflow:auto;overscroll-behavior:contain;padding:6px 5px 12px;min-width:0}
.r136-feed-comment{padding:14px;border:1px solid var(--line,#dde1ee);background:var(--surface2,#f4f5fa);border-radius:12px;margin:10px 0;min-width:0}
.r136-feed-comment>strong{font-size:13px;display:block;margin-bottom:8px}.r136-feed-comment>p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;font-size:14px;line-height:1.6}.r136-feed-comment footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted,#626c80)}
.r136-feed-compose{display:grid;gap:10px;margin-top:14px}.r136-feed-compose textarea{font-size:16px!important;min-height:74px;max-height:180px;line-height:1.5;resize:vertical}.r136-feed-send{display:flex;justify-content:space-between;gap:12px}.r136-feed-send>button{min-height:42px}
.r136-feed-file{display:grid;gap:5px;padding:8px;border:1px solid var(--line,#dde1ee);border-radius:9px;margin:8px 0;overflow-wrap:anywhere;min-width:0}.r136-feed-file img,.r136-feed-file video{display:block;width:100%;max-width:420px;max-height:240px;object-fit:contain;border-radius:6px}.r136-feed-file a{overflow-wrap:anywhere}
.r136-feed-upload-list>div{display:flex;align-items:center;gap:12px;border:1px solid var(--line,#dde1ee);padding:7px 10px;border-radius:9px}.r136-feed-upload-list span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.r136-feed-upload-list button{min-width:40px;min-height:40px}.r136-status:empty{display:none}.r136-status{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.pc-message .r136-reply-action{margin-top:4px}.pc134-message .r136-quote{min-width:0}.r136-secure-draft{flex:0 0 auto}
@media(max-width:900px){:root[data-design] .r136-reply-action,.p115 .r136-reply-action{min-height:40px!important}.r136-quote span{-webkit-line-clamp:2}.r136-feed-comment{padding:12px}.r136-feed-log{max-height:360px}.r136-feed-head button{min-height:40px}.r136-feed-send button{min-height:44px}.r136-feed-compose{padding-bottom:env(safe-area-inset-bottom)}.r136-draft strong{font-size:12px}}
