.support-widget{position:fixed;right:24px;bottom:24px;z-index:18;color:#242635;font-size:13px;line-height:1.6;isolation:isolate}
.support-widget [hidden]{display:none!important}
.support-widget button,.support-widget textarea{font:inherit}
.support-widget button{cursor:pointer}
.support-widget button:focus-visible,.support-widget a:focus-visible,.support-widget textarea:focus-visible{outline:3px solid #a89cf5;outline-offset:3px}
.support-launcher{display:flex;align-items:center;gap:9px;padding:12px 19px;border:1px solid #786bea;border-radius:999px;background:#6558df;color:#fff;font-weight:600!important;box-shadow:0 6px 24px #6558df35;transition:background .15s,box-shadow .15s}
.support-launcher:hover{background:#584acd;box-shadow:0 8px 30px #6558df48}
.support-launcher svg{width:25px;height:25px}
.support-panel{position:absolute;right:0;bottom:70px;display:flex;flex-direction:column;width:390px;height:590px;max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);overflow:auto;border:1px solid #e0ddf3;border-radius:20px;background:#fff;box-shadow:0 20px 65px #30265b26}
.support-head{display:flex;align-items:center;gap:11px;padding:19px 18px 16px;background:linear-gradient(115deg,#f3f0ff,#f7fcff);border-bottom:1px solid #eae7f6;flex-shrink:0}
.support-avatar{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;background:#6558df;border-radius:13px;color:#fff}
.support-avatar svg{width:28px;height:28px}
.support-head h2{margin:0;font-size:15px;font-weight:700;line-height:1.5}
.support-head p{margin:3px 0 0;font-size:10px;color:#766d92}
.support-head>button{margin-left:auto;align-self:flex-start;width:29px;height:29px;border:0;border-radius:8px;background:transparent;color:#807b91;font-size:23px;line-height:1}
.support-head>button:hover{background:#e9e3fb}
.support-disclaimer{padding:9px 17px;color:#898398;background:#fcfbff;font-size:10px;flex-shrink:0}
.support-messages{flex:1;min-height:100px;padding:17px 16px;overflow-y:auto;overscroll-behavior:contain;background:#fff;scrollbar-width:thin;scrollbar-color:#d4cfe8 transparent}
.support-message{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0 0 17px}
.support-message>span{font-size:10px;color:#8c859a;padding:0 3px}
.support-message>div{max-width:93%;padding:11px 13px;border-radius:2px 13px 13px;background:#f4f3fb;color:#4e4961}
.support-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8}
.support-message.from-user{align-items:flex-end}
.support-message.from-user>div{border-radius:13px 2px 13px 13px;background:#6558df;color:white}
.support-message a{display:inline-flex;align-items:center;gap:8px;margin-top:10px;padding:5px 10px;border:1px solid #dcd5fc;border-radius:7px;background:#fff;color:#6558df;text-decoration:none;font-size:11px}
.support-message a:hover{background:#eeebff}
.support-quick{padding:0 17px 12px;flex-shrink:0}
.support-quick>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.support-quick strong{font-size:10px;font-weight:500;color:#8b8499}
.support-quick [data-support-clear]{border:0;background:none;color:#8b8499;font-size:10px;padding:2px}
.support-quick [data-support-clear]:hover{color:#6558df}
[data-support-suggestions]{display:grid;grid-template-columns:1fr 1fr;gap:7px}
[data-support-suggestions] button{min-width:0;padding:7px 9px;text-align:left;border:1px solid #e5e0f4;border-radius:8px;background:white;color:#6558a1;font-size:10px;line-height:1.5}
[data-support-suggestions] button:hover{border-color:#b0a2f1;background:#f7f5ff}
.support-compose{margin:0;padding:12px 16px 9px;border-top:1px solid #ebe8f3;flex-shrink:0;background:#fcfbff}
.support-compose textarea{display:block;resize:none;width:100%;min-height:54px;max-height:80px;box-sizing:border-box;padding:8px 10px;border:1px solid #e3def0;border-radius:9px;background:#fff;color:#312b47;line-height:1.5;font-size:12px}
.support-compose textarea::placeholder{color:#a29aaf}
.support-compose>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
.support-compose small{font-size:9px;color:#9a93a8}
.support-compose button{padding:6px 14px;border:0;border-radius:8px;background:#6558df;color:white;font-size:11px}
.support-compose button:disabled{opacity:.45;cursor:default}
.support-compose [data-support-error]{margin:4px 0 0;color:#ba4961;font-size:10px}
.support-compose [data-support-error]:empty{display:none}
.support-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.support-human-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 16px;border-top:1px solid #f0edf8;flex-shrink:0;font-size:10px}
.support-human-tools button{border:1px solid #e0d9f6;background:#f7f4ff;color:#6558a1;border-radius:8px;padding:5px 10px}
.support-human-tools span{color:#ba4961;font-size:10px}
.support-launcher b{background:#e45066;border:1px solid white;border-radius:12px;padding:0 5px;font-size:10px;min-width:17px}
[data-admin-support-badge]{display:block;font-size:10px;color:#cb4764;margin-top:3px}
[data-admin-support-badge][hidden],.admin-support [hidden]{display:none!important}
.admin-support{background:#fff;border:1px solid #e5e1f3;border-radius:18px;padding:20px}
.admin-support-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.admin-support-toolbar strong{margin-right:auto}.admin-support-toolbar input,.admin-support-toolbar select{border:1px solid #e5e1f3;border-radius:8px;padding:9px;background:#fff;color:#524d66;font:inherit}
.admin-support-note{color:#8b8199;font-size:12px;margin:12px 0 18px}
[data-support-admin-error]{color:#ba4961;margin-bottom:8px;font-size:12px}
.admin-support-layout{display:grid;grid-template-columns:280px minmax(0,1fr);border:1px solid #e5e1f3;border-radius:12px;overflow:hidden;min-height:590px}
.admin-support-inbox{background:#faf9ff;border-right:1px solid #e5e1f3;display:flex;flex-direction:column}
[data-support-list]{height:535px;overflow:auto;flex:1}
.admin-support-item{display:block;text-align:left;width:100%;padding:15px;border:0;border-bottom:1px solid #ece8f5;background:transparent;color:#39334b;cursor:pointer}
.admin-support-item.selected{background:#eeeaff;box-shadow:inset 3px 0 #6558df}
.admin-support-item strong{display:block;font-size:13px}.admin-support-item strong b{float:right;font-size:10px;color:#d44665}
.admin-support-item span{display:block;font-size:10px;color:#877f98;margin-top:6px}.admin-support-item p{margin:8px 0 0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin-support-paging{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:10px;font-size:10px}.admin-support-paging .btn{padding:6px 8px;font-size:10px}
.admin-support-conversation{display:flex;flex-direction:column;min-width:0}
.admin-support-conversation>header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;border-bottom:1px solid #ebe8f4}
.admin-support-conversation>header strong{font-size:14px}.admin-support-conversation>header span{font-size:12px;color:#6558df}.admin-support-conversation>header button{margin-left:auto}
.admin-support-conversation .support-messages{height:340px;max-height:500px;flex:1}
.admin-support-conversation .support-message>div{max-width:90%}
[data-support-reply]{padding:15px;border-top:1px solid #ebe8f4;background:#fcfbff}[data-support-reply] label{display:block;font-size:12px;margin-bottom:8px;color:#7b738d}
[data-support-reply] textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:70px;max-height:200px;border:1px solid #ddd5f2;border-radius:9px;padding:10px;font:inherit}
[data-support-reply]>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}[data-support-reply] span{font-size:10px;color:#9b91a9}
.admin-support button:disabled{opacity:.5;cursor:default}
@media(max-width:1000px){.admin-support-layout{grid-template-columns:230px minmax(0,1fr)}}
body:has(.modal-backdrop) .support-widget{visibility:hidden;pointer-events:none}
@media(max-width:600px){.support-widget{right:14px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}.support-panel{width:min(390px,calc(100vw - 44px));bottom:65px;max-height:calc(100dvh - 106px - env(safe-area-inset-bottom,0px))}.support-launcher{padding:11px 16px}.support-compose textarea{font-size:16px}}
@media(max-height:680px){.support-panel{height:510px}.support-head{padding:12px 16px}.support-quick [data-support-suggestions] button:nth-child(n+3){display:none}.support-compose small{display:none}}
@media(prefers-reduced-motion:reduce){.support-launcher{transition:none}}
