/* support.css · 客服模块样式（8090 商业版 / pro 主题） */

.sup-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid rgba(120,130,160,.16)}
.sup-head-l{display:flex;align-items:center;gap:10px;font-size:16px}
.sup-head-r{display:flex;gap:8px;flex-wrap:wrap}

.sup-donestate{margin-top:12px;padding:10px 12px;border-radius:12px;background:rgba(250,180,60,.12);font-size:13px;line-height:1.7}
.sup-donestate .pnote{display:block;margin-top:2px}

.sup-msgs{margin-top:14px;max-height:min(62vh,560px);overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:4px 2px}
.sup-msg{display:flex;flex-direction:column;align-items:flex-start;max-width:86%}
.sup-msg.mine{align-self:flex-end;align-items:flex-end}
.sup-bubble{background:rgba(120,130,160,.10);border-radius:14px 14px 14px 4px;padding:9px 12px;font-size:14px;line-height:1.65;word-break:break-word}
.sup-msg.mine .sup-bubble{background:rgba(72,116,255,.14);border-radius:14px 14px 4px 14px}
.sup-text{white-space:pre-wrap}
.sup-meta{font-size:11px;opacity:.55;margin-top:3px}
.sup-sys{align-self:center;text-align:center;font-size:12px;opacity:.6;max-width:90%}
.sup-img{display:block;max-width:220px;max-height:260px;border-radius:12px}

.sup-input{margin-top:14px;border-top:1px solid rgba(120,130,160,.16);padding-top:12px}
.sup-input textarea{width:100%;min-height:76px;resize:vertical;border-radius:12px;border:1px solid rgba(120,130,160,.24);background:rgba(255,255,255,.6);padding:10px 12px;font:inherit;font-size:14px;line-height:1.6;outline:none;box-sizing:border-box}
.sup-input textarea:focus{border-color:rgba(72,116,255,.45)}
.sup-input-bar{display:flex;justify-content:flex-end;gap:8px;margin-top:10px;flex-wrap:wrap}

.sup-conv{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px;border-radius:12px;cursor:pointer;transition:background .15s}
.sup-conv:hover{background:rgba(120,130,160,.09)}
.sup-conv+.sup-conv{margin-top:4px}
.sup-conv-main{min-width:0;flex:1;font-size:14px}
.sup-conv-time{font-size:12px;opacity:.55;white-space:nowrap}
.sup-badge{display:inline-block;min-width:18px;height:18px;line-height:18px;padding:0 5px;border-radius:9px;background:#e2453c;color:#fff;font-size:11px;text-align:center;font-weight:600}

.sup-agent{padding:10px 12px;border-radius:12px;cursor:pointer;border:1px solid rgba(120,130,160,.16)}
.sup-agent+.sup-agent{margin-top:8px}
.sup-agent:hover{border-color:rgba(72,116,255,.4);background:rgba(72,116,255,.05)}

.sup-notice{padding:10px 0;border-bottom:1px dashed rgba(120,130,160,.2)}
.sup-notice:last-child{border-bottom:none}

.sup-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}

.pdot{position:absolute;top:6px;right:14px;width:8px;height:8px;border-radius:50%;background:#e2453c}
.pdock a{position:relative}

@media (max-width:640px){
  .sup-msgs{max-height:56vh}
  .sup-msg{max-width:92%}
  .sup-img{max-width:170px;max-height:210px}
}
