/* Support shares the dark scene-window palette and restrained green actions. */
.chat-workspace{height:100%;min-height:0;display:flex;flex-direction:column;gap:12px;padding:14px!important;color:#e2e8f0;background:linear-gradient(140deg,rgba(15,20,32,.97),rgba(7,10,18,.98));overflow:hidden;box-sizing:border-box}
.chat-workspace [hidden]{display:none!important}
.chat-tabs{display:flex;gap:6px;border-bottom:1px solid rgba(148,163,184,.2);padding-bottom:10px;flex-shrink:0}
.chat-workspace button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid rgba(148,163,184,.25);border-radius:3px;background:linear-gradient(#1c2536,#101724);color:#f8fafc;font:inherit;cursor:pointer;transition:background .15s,border-color .15s}
.chat-workspace button:hover{border-color:#34d399;background:#182f2d}.chat-workspace button:focus-visible{outline:2px solid #34d399;outline-offset:2px}.chat-workspace button:disabled{opacity:.5;cursor:default}
.chat-tabs button{flex:1;min-width:0;white-space:normal;font-size:12px;overflow-wrap:anywhere}.chat-tabs button.active{background:linear-gradient(#234337,#132b25);color:#ecfdf5;border-color:rgba(52,211,153,.65)}
#l2-window-chat{container-type:inline-size;container-name:supportWindow}
@container supportWindow (max-width:450px){.chat-tabs button{font-size:11px;padding:6px 3px;flex-direction:column}.chat-ticket-list th:last-child,.chat-ticket-list td:last-child{display:none}}
.chat-workspace [data-support-icon]{width:20px;height:20px;object-fit:contain;flex-shrink:0}
#chat-status{margin:0;min-height:0;color:#d6bd80;font-size:12px;flex-shrink:0}#chat-status:empty{display:none}
.chat-panel{flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#475569 #0b1120}
.chat-toolbar,.chat-form-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;margin-bottom:8px}
.chat-ticket-list{max-height:35%;overflow:auto;border:1px solid #293548;background:#0b1220;border-radius:3px}.chat-ticket-list:has(>p){max-height:none;padding:12px}
.chat-ticket-list table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.chat-ticket-list th{position:sticky;top:0;background:#172234;color:#94a3b8;font-weight:normal;text-align:left;padding:8px}.chat-ticket-list th:first-child{width:40px}.chat-ticket-list th:nth-child(3){width:65px}.chat-ticket-list th:last-child{width:80px}
.chat-ticket-list td{padding:8px;border-top:1px solid #253247;vertical-align:middle}.chat-ticket-list tr.selected{background:#18362d}.chat-ticket-list td button{border:0;background:none;padding:0;justify-content:flex-start;text-align:left;word-break:break-word}.chat-ticket-list td small{display:block;color:#94a3b8;font-size:10px;margin-top:4px}.chat-ticket-status.open{color:#6ee7b7}.chat-ticket-status.closed{color:#94a3b8}
.chat-conversation{display:flex;flex-direction:column;gap:7px;min-height:220px;margin-top:10px}.chat-conversation h3{font-size:13px;color:#d6c492;margin:0}
#chat-messages{height:180px;min-height:90px;overflow:auto;background:#0b1220;border:1px solid #293548;border-radius:3px;padding:10px}
.chat-message{padding:8px;border-bottom:1px solid #343d2f}.chat-message small{color:#c9b584}.chat-message p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.chat-attachment{display:block;color:#abc8e1;font-size:12px;overflow-wrap:anywhere}
.chat-workspace form{display:flex;flex-direction:column;gap:12px}.chat-workspace label{display:flex;flex-direction:column;gap:6px;font-size:12px}.chat-workspace .input-dark{width:100%;box-sizing:border-box;border:1px solid #334155;border-radius:3px;color:#f8fafc;background:#0b1220;padding:9px;font:inherit}.chat-workspace .input-dark:focus{border-color:#34d399;outline:1px solid rgba(52,211,153,.3)}.chat-workspace textarea{resize:vertical;min-height:75px}
.chat-note{color:#b3b3a4;font-size:12px;line-height:1.5}.chat-file{display:flex!important;flex-direction:row!important;align-items:center;flex-wrap:wrap;color:#c1bc9f;min-width:0}.chat-file input{width:100%;min-width:0;max-width:100%;font-size:11px;color:#ddd}.chat-form-actions .chat-file{flex:1}.chat-ticket-list td{overflow-wrap:anywhere}.chat-ticket-list td button{white-space:normal;max-width:100%}
.chat-captcha{display:grid;grid-template-columns:144px minmax(0,1fr) 38px;align-items:end;gap:10px;padding:10px;border:1px solid #293548;border-radius:3px;background:#101a29}.chat-captcha>img{width:144px;height:auto;border-radius:3px}.chat-captcha label{min-width:0}.chat-captcha input{text-transform:uppercase;height:38px}.chat-workspace #chat-captcha-refresh{width:38px;height:38px;padding:8px}.chat-create-submit{flex-shrink:0;background:linear-gradient(#245340,#173529)!important;border-color:#3e8b64!important}.chat-create-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}.chat-create-actions p{flex:1;min-width:0;margin:0;color:#fca5a5;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.support-file-picker{display:flex!important;flex-flow:row wrap!important;align-items:center;gap:8px!important;padding:10px;border:1px dashed #334155;border-radius:3px;background:#0b1220;color:#94a3b8}.support-file-picker input[hidden]{display:none!important}.support-file-name{max-width:100%;overflow-wrap:anywhere;font-size:11px}.support-file-button{white-space:nowrap}.chat-note{color:#94a3b8}
@media(max-width:500px){.chat-tabs button{font-size:11px;padding:6px 3px;flex-direction:column}.chat-ticket-list th:last-child,.chat-ticket-list td:last-child{display:none}}
@container supportWindow (max-width:420px){.chat-captcha{grid-template-columns:minmax(0,1fr) 38px}.chat-captcha>img{grid-column:1/-1}}
