.support-main{max-width:none}
.support-head{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:4px 0 18px;margin-bottom:20px;border-bottom:1px solid #e6ebf3}
.support-head-main{flex:1;min-width:0}
.support-eyebrow{display:inline-block;font-size:12px;letter-spacing:.18em;color:#7b93b5}
.support-head h1{margin:8px 0;font-size:26px;line-height:1.35;color:#1c2c46}
.support-head p{margin:0;color:#68768b;font-size:14px;line-height:1.8}
.support-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;flex-shrink:0}
.support-tags li{padding:5px 12px;border:1px solid #dfe8f4;border-radius:20px;background:#f5f8fd;color:#4a6b95;font-size:12px;line-height:1.4}
.support-alert{margin:0 0 16px;padding:12px 16px;border:1px solid #f0c9c9;border-radius:8px;background:#fdf3f3;color:#9b3030;font-size:14px}
.support-chat{display:flex;flex-direction:column}
.support-chat-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.support-chat-heading h2{margin:0 0 4px;font-size:18px;color:#1c2c46}
.support-chat-sub{margin:0;color:#8793a4;font-size:12px;line-height:1.6}
.support-state{display:inline-block;flex-shrink:0;padding:5px 12px;border-radius:20px;font-size:12px;line-height:1.4;white-space:nowrap;vertical-align:middle;background:#edf3fc;color:#315d9a}
.support-state.is-open{background:#fdf4e3;color:#9a6a13}
.support-state.is-replied{background:#e9f6ee;color:#2f7a57}
.support-state.is-closed{background:#eef0f4;color:#7b8799}
.support-messages{display:flex;flex-direction:column;gap:14px;min-height:300px;max-height:52vh;overflow:auto;padding:18px;border:1px solid #edf0f5;border-radius:12px;background:#f8fafd;overscroll-behavior:contain}
.support-message{max-width:min(78%,860px);padding:11px 15px;border-radius:12px;background:#fff;border:1px solid #e4e9f1;box-shadow:0 2px 10px #1c2c4608}
.support-message.is-user{align-self:flex-end;background:#eef4fd;border-color:#d3e0f3;border-bottom-right-radius:4px}
.support-message.is-admin{align-self:flex-start;border-bottom-left-radius:4px}
.support-message.is-system{align-self:center;max-width:100%;background:#f2f5f9;border-style:dashed;color:#6b7a8f}
.support-message-meta{display:flex;align-items:baseline;gap:10px;margin-bottom:5px;color:#8a97a9;font-size:11px}
.support-message-body{color:#2c3d55;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.support-empty{margin:auto;color:#8793a4;font-size:14px;text-align:center}
.support-form{margin-top:16px}
.support-form input[type=file]{display:none!important}
.support-form textarea{display:block;width:100%;max-width:none;box-sizing:border-box;padding:13px 15px;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#2c3d55;font:inherit;font-size:15px;line-height:1.7;resize:vertical;min-height:104px}
.support-form textarea:focus{outline:2px solid #c3d6ef;outline-offset:-1px;border-color:#9bb8dd}
.support-form-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;flex-wrap:wrap}
.support-tools{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.support-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.support-form .support-attach{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:8px 12px;border:1px solid #d7e1ef;border-radius:8px;background:#f7fafd;color:#3a5d8f;font-size:13px;line-height:1;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.support-form .support-attach:hover{background:#eef4fb;border-color:#b9cee7}
.support-form .support-attach:disabled{opacity:.55;cursor:not-allowed}
.support-form .support-attach svg{width:16px;height:16px}
.support-form.is-dragover textarea{border-color:#2458a8;background:#f4f9ff;box-shadow:0 0 0 3px rgba(36,88,168,.08)}
.support-form.is-dragover .support-hint{color:#2458a8}
.support-hint{flex:1;min-width:0;color:#8793a4;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.support-count{flex-shrink:0;color:#a3adbb;font-size:12px;font-variant-numeric:tabular-nums}
.support-form textarea:disabled{background:#f5f7fa;color:#98a3b3;cursor:not-allowed}
.support-closed{margin-top:16px;padding:14px 16px;border:1px solid #e4e9f1;border-radius:10px;background:#f7f9fc}
.support-closed p{margin:0 0 10px;color:#68768b;font-size:13px;line-height:1.7}
.support-closed button{padding:8px 18px;border:1px solid #c9d8ec;border-radius:8px;background:#fff;color:#2458a8;font-size:14px;cursor:pointer}
.support-closed button:hover{background:#eef4fd}
.support-form button{flex-shrink:0;padding:10px 28px;border:0;border-radius:9px;background:#2458a8;color:#fff;font-size:15px;cursor:pointer;transition:background .15s ease}
.support-form button:hover{background:#1c4a92}
.support-form button:disabled{opacity:.5;cursor:not-allowed}
.support-note{margin:14px 0 0;color:#98a3b3;font-size:12px;line-height:1.7}
.support-faq h2{margin:0 0 12px;font-size:18px;color:#1c2c46}
.support-faq details{padding:12px 0;border-top:1px solid #edf0f5}
.support-faq details:first-of-type{border-top:0;padding-top:0}
.support-faq summary{cursor:pointer;color:#33455f;font-size:15px;line-height:1.6}
.support-faq p{margin:8px 0 0;color:#68768b;font-size:14px;line-height:1.8}
.support-operator-view .support-message.is-admin{align-self:flex-end;background:#eef4fd;border-color:#d3e0f3;border-bottom-right-radius:4px;border-bottom-left-radius:12px}
.support-operator-view .support-message.is-user{align-self:flex-start;background:#fff;border-color:#e4e9f1;border-bottom-left-radius:4px;border-bottom-right-radius:12px}
.support-admin-stream{min-height:180px;max-height:50vh}
@media(max-width:720px){.support-head{flex-direction:column;align-items:flex-start;gap:14px}}
@media(max-width:640px){.support-main{max-width:none}.support-head h1{font-size:22px}.support-tags{gap:6px}.support-tags li{padding:4px 10px}.support-messages{min-height:240px;max-height:46vh;padding:12px}.support-message{max-width:92%}.support-tools{flex-basis:100%;flex-wrap:wrap;gap:8px}.support-tools .support-hint{flex-basis:100%}.support-actions{width:100%;flex-wrap:wrap;justify-content:flex-end;gap:6px}.support-actions .support-count{flex-basis:100%;text-align:right}.support-actions button{flex:1 0 100%}.support-form .support-attach{padding:9px 12px}}

.support-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.support-images a{display:block;line-height:0;border-radius:10px;overflow:hidden;border:1px solid #e2e8f0}.support-images img{display:block;max-width:200px;max-height:200px;width:auto;height:auto}.support-attachment-admin{margin:14px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.support-attachment-admin p{flex:1 0 100%;margin:0 0 4px}
