.du .ui-support-launch{position:relative;color:#2563eb}.du .ui-support-unread{position:absolute;top:-5px;inset-inline-end:-6px;min-width:19px;height:19px;padding:0 4px;border-radius:20px;background:#e11d48;color:white;font:700 10px system-ui;display:grid;place-items:center}.du [data-support-unread][hidden]{display:none!important}.du .ui-support-nav{margin-top:15px;width:100%;text-align:start;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#2563eb;display:flex;align-items:center;gap:9px;padding:12px;font-size:13px;font-weight:700;cursor:pointer}.du .ui-support-nav .ui-support-unread{position:static;margin-inline-start:auto}
.support-dialog{--support-primary:#2563eb;--support-accent:#60a5fa;position:fixed;inset:0;z-index:180;display:grid;place-items:center;padding:20px;background:#0f172a80;backdrop-filter:blur(3px)}.support-dialog[hidden],.support-dialog [hidden]{display:none!important}.support-shell{display:flex;flex-direction:column;min-width:0;width:min(1100px,100%);height:min(760px,calc(100dvh - 40px));border:1px solid #e2e8f0;border-radius:22px;background:#fff;box-shadow:0 24px 90px #0f172a33;overflow:hidden;color:#0f172a}.support-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:#f8fafc;border-bottom:1px solid #e2e8f0;flex:none}.support-header-title{display:flex;align-items:center;gap:12px;min-width:0}.support-header-title>span{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:14px;background:#dbeafe;color:var(--support-primary,#2563eb)}.support-header h2{font-size:18px;font-weight:800}.support-header p{font-size:12px;line-height:1.8;color:#64748b;margin-top:3px}.support-header>[data-support-close]{font-size:27px;flex:none}.support-tabs{display:flex;gap:5px;padding:9px 20px;border-bottom:1px solid #e2e8f0;flex:none}.support-tabs button{font-size:13px;font-weight:700;padding:9px 14px;border-radius:9px;border:1px solid transparent;color:#64748b;cursor:pointer}.support-tabs button[aria-selected=true]{background:#eff6ff;border-color:#bfdbfe;color:var(--support-primary,#2563eb)}.support-error{flex:none;font-size:12px;line-height:1.7;margin:10px 18px 0;padding:10px 14px;background:#fff1f2;border:1px solid #fecdd3;border-radius:9px;color:#9f1239}.support-faq-panel,.support-create-panel{overflow-y:auto;min-height:0;padding:24px;flex:1}.support-bot-intro{display:flex;align-items:flex-start;gap:12px;padding:18px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px}.support-bot-intro>span{display:grid;place-items:center;width:40px;height:40px;flex:none;color:var(--support-primary,#2563eb)}.support-bot-intro h3,.support-create-panel>h3{font-size:17px;font-weight:800}.support-bot-intro p,.support-create-panel>p{font-size:13px;color:#64748b;margin-top:5px;line-height:1.8}.support-faq-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.support-faq-options button{display:flex;align-items:center;gap:8px;border:1px solid #e2e8f0;background:#fff;border-radius:10px;padding:15px;font-size:13px;text-align:start;cursor:pointer}.support-faq-options button:hover,.support-faq-options button[aria-pressed=true]{border-color:#93c5fd;background:#eff6ff;color:var(--support-primary,#2563eb)}.support-faq-options svg{transform:rotate(90deg);flex:none}.support-bot-answer{margin-top:18px;padding:18px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff}.support-bot-answer strong{font-size:14px}.support-bot-answer p{font-size:13px;line-height:2;margin:10px 0 16px;color:#475569}.support-privacy-note{margin-top:22px;color:#64748b;font-size:11px;line-height:1.9}.support-create-panel form{display:grid;gap:16px;max-width:760px;margin:22px auto 0}.support-create-panel label,.support-resolution label{display:grid;gap:7px;font-size:13px;font-weight:700}.support-create-panel form>.ui-button{justify-self:start}.support-dialog .ui-button--primary{background:var(--support-primary,#2563eb);border-color:var(--support-primary,#2563eb);color:#fff}
.support-workspace{flex:1;min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr)}.support-ticket-sidebar{min-height:0;display:flex;flex-direction:column;border-inline-end:1px solid #e2e8f0;background:#f8fafc}.support-list-filters{display:grid;gap:9px;padding:15px;border-bottom:1px solid #e2e8f0;flex:none}.support-ticket-list{flex:1;overflow-y:auto;min-height:0;padding:9px}.support-ticket{display:grid;gap:7px;width:100%;text-align:start;padding:13px;border:1px solid transparent;border-radius:11px;background:transparent;cursor:pointer;margin-bottom:6px}.support-ticket:hover{background:#eff6ff}.support-ticket[aria-current=true]{background:#eff6ff;border-color:#bfdbfe}.support-ticket-top{display:flex;align-items:center;justify-content:space-between}.support-ticket-top bdi{font:700 12px ui-monospace,monospace;color:var(--support-primary,#2563eb)}.support-unread-dot{width:8px;height:8px;border-radius:50%;background:#e11d48}.support-ticket>strong{font-size:13px;font-weight:700;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.support-ticket-meta{font-size:10px;color:#64748b;line-height:1.7;overflow-wrap:anywhere}.support-ticket-status{justify-self:start;display:inline-flex;align-items:center;padding:4px 8px;border-radius:6px;font-size:10px;line-height:1.6;font-weight:700;white-space:nowrap}.support-ticket-status[data-status=open]{background:#dbeafe;color:#1d4ed8}.support-ticket-status[data-status=waiting]{background:#fff6df;color:#94580c}.support-ticket-status[data-status=closed]{background:#e7f8f0;color:#19684c}.support-list-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;border-top:1px solid #e2e8f0;padding:10px 14px;font-size:11px}.support-list-pagination button{padding:5px 8px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;cursor:pointer}.support-list-pagination button:disabled{opacity:.4;cursor:default}.support-list-empty{text-align:center;padding:30px 12px;font-size:13px;color:#64748b;line-height:1.8}.support-thread{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative}.support-thread-empty{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;color:#94a3b8;gap:13px}.support-thread-empty h3{font-size:16px;font-weight:700;color:#475569}.support-thread-empty p{font-size:12px;line-height:1.8}.support-thread-content{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.support-thread-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 20px;border-bottom:1px solid #e2e8f0;flex:none;background:#fff}.support-thread-header>div{min-width:0;flex:1}.support-thread-header bdi{font:700 12px ui-monospace,monospace;color:var(--support-primary,#2563eb)}.support-thread-header h3{font-size:15px;font-weight:800;overflow-wrap:anywhere;margin-top:4px}.support-thread-header p{font-size:10px;color:#64748b;margin-top:5px;overflow-wrap:anywhere}.support-back{display:none}.support-messages{flex:1;min-height:80px;overflow-y:auto;overscroll-behavior:contain;padding:20px;display:flex;flex-direction:column;gap:12px;background:#f8fafc}.support-message{flex:none;align-self:flex-start;max-width:88%;border:1px solid #e2e8f0;border-radius:14px 14px 4px 14px;padding:12px 15px;background:#fff;color:#1e293b;overflow-wrap:anywhere}.support-message.is-mine{align-self:flex-end;background:#eff6ff;border-color:#bfdbfe;border-radius:14px 14px 14px 4px}.support-message>strong{display:block;font-size:10px;color:#64748b;margin-bottom:5px;overflow-wrap:anywhere}.support-message p{font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.support-message time{display:block;font-size:9px;color:#64748b;margin-top:7px}.support-message.is-status{align-self:center;text-align:center;background:#f5f7fa;border-style:dashed;border-color:#d8dfe8;color:#64748b;max-width:96%;border-radius:10px}.support-compose{display:flex;align-items:flex-end;gap:10px;padding:13px 18px;border-top:1px solid #e2e8f0;flex:none;background:white}.support-compose>.ui-button{min-height:44px;flex:none}.support-thread-actions{display:flex;justify-content:flex-end;gap:10px;padding:8px 18px;flex:none;background:#fff;border-top:1px solid #f1f5f9}.support-thread-actions button{font-size:11px;color:var(--support-primary,#2563eb);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.support-resolution{flex:none;border-top:1px solid #e2e8f0;background:#f8fafc;padding:14px 18px}.support-resolution>div{display:flex;gap:8px;margin-top:10px}.support-closed-note{font-size:12px;line-height:1.8;padding:14px 18px;background:#f1faf6;color:#287556;border-top:1px solid #d6eee1}.support-load-older{flex:none;align-self:center;font-size:11px;padding:6px 12px;border:1px solid #e2e8f0;border-radius:20px;margin:7px 0;color:var(--support-primary,#2563eb);cursor:pointer;background:#fff}.support-new-messages{position:absolute;bottom:140px;left:50%;transform:translateX(-50%);z-index:2;background:var(--support-primary,#2563eb);color:#fff;border-radius:20px;padding:8px 13px;font-size:11px;box-shadow:0 3px 10px #2563eb22;cursor:pointer}
#support-chat-dialog :is(input[type=search],input[type=text],input:not([type]),select,textarea){box-sizing:border-box;width:100%;max-width:100%;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#1e293b;padding:10px 12px;font:inherit;font-size:13px;font-weight:400;min-width:0;min-height:42px}#support-chat-dialog textarea{resize:vertical;line-height:1.8}#support-chat-dialog .support-compose textarea{min-height:62px;max-height:150px;flex:1}#support-chat-dialog .support-resolution textarea{min-height:60px;max-height:100px}#support-chat-dialog :is(button,input,textarea,select):focus-visible{outline:3px solid color-mix(in srgb,var(--support-accent,#60a5fa) 65%,#2563eb);outline-offset:2px}#support-chat-dialog :is(button,input,textarea,select):disabled{opacity:.55;cursor:default}
.dark .du .ui-support-launch{color:#93c5fd}.dark .du .ui-support-nav{background:#1f2937;border-color:#374151;color:#93c5fd}.dark .support-dialog{--support-primary:#93c5fd;--support-accent:#60a5fa}.dark .support-shell{background:#111827;border-color:#374151;color:#f1f5f9}.dark .support-header,.dark .support-ticket-sidebar,.dark .support-thread-header,.dark .support-compose,.dark .support-thread-actions{background:#1f2937;border-color:#374151}.dark .support-header-title>span{background:#1e3a5f;color:var(--support-accent,#60a5fa)}.dark .support-tabs{border-color:#374151}.dark .support-tabs button{color:#cbd5e1}.dark .support-tabs button[aria-selected=true]{background:#1e3a5f;border-color:#3b82f6;color:#bfdbfe}.dark .support-error{background:#3c1522;border-color:#7b2a46;color:#fecdd3}.dark .support-bot-intro{background:#172b46;border-color:#334d70}.dark .support-bot-intro>span{color:var(--support-accent,#60a5fa)}.dark .support-bot-intro p,.dark .support-create-panel>p,.dark .support-bot-answer p{color:#cbd5e1}.dark .support-faq-options button,.dark .support-bot-answer{background:#1f2937;border-color:#475569;color:#e2e8f0}.dark .support-faq-options button:hover,.dark .support-faq-options button[aria-pressed=true]{background:#1e3a5f;border-color:#60a5fa}.dark .support-list-filters,.dark .support-list-pagination{border-color:#374151}.dark .support-list-pagination button,.dark .support-load-older{background:#1f2937;border-color:#475569;color:#e2e8f0}.dark .support-ticket:hover{background:#24344b}.dark .support-ticket[aria-current=true]{background:#1e3a5f;border-color:#3b82f6}.dark .support-ticket-top bdi,.dark .support-thread-header bdi,.dark .support-thread-actions button{color:#93c5fd}.dark .support-ticket-status[data-status=open]{background:#1e3a5f;color:#bfdbfe}.dark .support-ticket-status[data-status=waiting]{background:#493615;color:#f5d991}.dark .support-ticket-status[data-status=closed]{background:#143b2f;color:#a1e4c7}.dark .support-messages{background:#0f172a}.dark .support-message{background:#1f2937;border-color:#374151;color:#e2e8f0}.dark .support-message.is-mine{background:#1e3a5f;border-color:#3b82f6}.dark .support-message.is-status{background:#1c2730;color:#b9cbd9;border-color:#365063}.dark .support-message>strong,.dark .support-message time,.dark .support-thread-header p,.dark .support-ticket-meta{color:#94a3b8}.dark .support-resolution{background:#1f2937;border-color:#374151}.dark .support-closed-note{background:#152d25;border-color:#294a3d;color:#b2dfca}.dark #support-chat-dialog :is(input[type=search],input[type=text],input:not([type]),select,textarea){background:#1f2937;border-color:#475569;color:#f1f5f9}.dark .support-thread-empty h3{color:#cbd5e1}
@media(max-width:760px){.support-dialog{padding:10px}.support-shell{height:calc(100dvh - 20px);border-radius:16px}.support-header{padding:14px;gap:8px}.support-header h2{font-size:16px}.support-header p{font-size:11px}.support-header-title>span{width:38px;height:38px}.support-tabs{padding:8px 10px;gap:2px}.support-tabs button{padding:8px 10px;font-size:12px}.support-workspace{grid-template-columns:1fr}.support-workspace:not(.is-thread-open) .support-thread{display:none}.support-workspace.is-thread-open .support-ticket-sidebar{display:none}.support-ticket-sidebar{border-inline-end:0}.support-thread{min-height:0}.support-back{display:inline-flex;align-items:center;justify-content:center;font-size:11px;border:1px solid #cbd5e1;border-radius:7px;padding:6px;cursor:pointer;flex:none}.support-thread-header{padding:11px;gap:8px;flex-wrap:wrap}.support-thread-header h3{font-size:13px}.support-thread-header .support-ticket-status{font-size:9px}.support-thread-header p{font-size:9px}.support-messages{padding:12px}.support-message{max-width:94%;padding:10px 12px}.support-message p{font-size:12px}.support-compose{padding:10px;gap:7px}.support-compose>.ui-button{padding-inline:12px}.support-thread-actions{padding:8px 12px}.support-faq-panel,.support-create-panel{padding:16px}.support-faq-options{grid-template-columns:1fr;gap:8px;margin-top:14px}.support-faq-options button{padding:12px;font-size:12px}.support-bot-intro{padding:13px;gap:6px}.support-bot-intro h3{font-size:15px}.support-bot-intro p{font-size:12px}.support-bot-intro>span{width:27px}.support-create-panel form>.ui-button{width:100%;justify-self:stretch}.support-resolution{padding:10px}.support-resolution .ui-button{font-size:11px}.support-error{margin:8px 10px 0;font-size:11px;padding:8px 10px}}@media(prefers-reduced-motion:reduce){.support-dialog *{scroll-behavior:auto!important}}
#support-chat-dialog .ui-button--primary{background:#2563eb;border-color:#2563eb;color:#fff}#support-chat-dialog .ui-button--primary:hover{background:#1d4ed8;border-color:#1d4ed8}
/* Message attachments and private media previews. */
.support-compose-main{min-width:0;flex:1}.support-file-picker{min-width:0}.support-compose .support-file-picker{margin-top:8px}.support-file-picker-head{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}.support-file-picker-head>small{font-size:10px;font-weight:400;color:#64748b;line-height:1.8}.support-choose-files{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:var(--support-primary,#2563eb);font-size:11px;cursor:pointer;flex:none}.support-selected-files{display:flex;flex-wrap:wrap;gap:7px;max-height:135px;overflow-y:auto;margin-top:8px}.support-selected-files:empty{margin-top:0}.support-selected-file{display:flex;align-items:center;gap:7px;padding:7px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc;max-width:100%;min-width:0;flex:1 1 150px}.support-selected-file>img{width:36px;height:36px;border-radius:6px;object-fit:cover;flex:none}.support-selected-file>span{min-width:0;flex:1}.support-selected-file strong{display:block;font-size:10px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.support-selected-file small{display:block;font-size:9px;font-weight:400;color:#64748b;margin-top:3px}.support-selected-file>button{width:25px;height:25px;flex:none;border:1px solid #e2e8f0;border-radius:6px;color:#64748b;background:white;font-size:18px;line-height:1;cursor:pointer}.support-attachments{display:grid;gap:9px;margin-top:9px;min-width:0;max-width:320px}.support-attachment{min-width:0;border:1px solid #cbd5e1;border-radius:10px;overflow:hidden;background:#fff}.support-attachment-preview{display:block}.support-attachment-preview img{display:block;width:100%;max-height:220px;object-fit:contain;background:#f8fafc}.support-attachment-video{display:block;width:100%;max-height:230px;background:#111827}.support-attachment-download{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;text-decoration:none!important;color:var(--support-primary,#2563eb)}.support-attachment-download strong{display:block;min-width:0;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700}.support-attachment-download small{font-size:9px;white-space:nowrap;flex:none;color:#64748b}.support-message>p:empty{display:none}.support-message:has(.support-attachments){max-width:min(88%,350px)}.dark .support-choose-files,.dark .support-selected-file,.dark .support-attachment{background:#1f2937;border-color:#475569;color:#bfdbfe}.dark .support-selected-file>button{background:#334155;border-color:#475569;color:#e2e8f0}.dark .support-selected-file small,.dark .support-file-picker-head>small,.dark .support-attachment-download small{color:#94a3b8}.dark .support-attachment-preview img{background:#111827}.dark .support-attachment-download{color:#bfdbfe}@media(max-width:760px){.support-file-picker-head{gap:5px}.support-file-picker-head>small{font-size:8px;flex-basis:100%}.support-choose-files{font-size:10px;padding:4px 7px}.support-selected-files{max-height:85px;gap:5px}.support-selected-file{padding:5px;flex-basis:130px}.support-selected-file>img{width:28px;height:28px}.support-selected-file strong{max-width:140px;font-size:9px}.support-attachments{max-width:270px}.support-attachment-download{flex-wrap:wrap;gap:5px}.support-attachment-download strong{max-width:210px}.support-message:has(.support-attachments){max-width:94%}.support-attachment-preview img{max-height:180px}.support-attachment-video{max-height:190px}}

.dark #support-chat-dialog .ui-button--primary{background:#2563eb;border-color:#2563eb;color:#fff}

.dark .support-new-messages{background:#2563eb}
