.ai-support-launch{display:flex;align-items:center;gap:8px;cursor:pointer}.ai-support-launch>span{font-size:18px}.ai-support-panel{position:fixed;right:28px;bottom:85px;width:430px;max-width:calc(100vw - 32px);height:650px;max-height:calc(100dvh - 105px);display:flex;flex-direction:column;overflow:hidden;z-index:90;border:1px solid #ded1ef;border-radius:22px;background:#fff;box-shadow:0 20px 80px #51336f30;font-family:inherit}.ai-chat-head{display:flex;align-items:center;gap:11px;padding:18px;background:linear-gradient(115deg,#7160c7,#9a61cc);color:#fff;flex-shrink:0}.ai-head-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:13px;background:#ffffff24;border:1px solid #ffffff30;font-size:25px}.ai-chat-head>div{flex:1;min-width:0}.ai-chat-head b{display:block;font-size:15px}.ai-chat-head small{display:block;font-size:9px;color:#e4d9ef;margin-top:5px}.ai-chat-head button{background:#ffffff16;border:1px solid #ffffff25;border-radius:8px;color:#eee3f7;font-size:22px;line-height:1;padding:4px 9px;cursor:pointer}.ai-chat-tools{display:flex;gap:7px;padding:12px 13px;border-bottom:1px solid #eee7f5;background:#faf8fd;flex-shrink:0;overflow-x:auto}.ai-chat-tools button{font-size:10px;padding:7px 10px;border:1px solid #e6dcf1;background:#fff;border-radius:8px;color:#9b7bb8;white-space:nowrap;cursor:pointer}.ai-chat-tools button:hover{background:#f1e9fc;border-color:#cdb7e6}.ai-chat-messages{flex:1;min-height:0;overflow-y:auto;padding:18px 13px;background:linear-gradient(#fdfbff,#f9f8fc);scroll-behavior:smooth}.ai-chat-welcome{text-align:center;padding:10px 18px 24px}.ai-chat-welcome>span{display:flex;width:48px;height:48px;align-items:center;justify-content:center;margin:0 auto 14px;border-radius:17px;background:linear-gradient(135deg,#eee3fa,#e8e4f7);color:#a080c5;font-size:27px}.ai-chat-welcome h3{font-size:16px;color:#6f5b7c;margin:0 0 10px}.ai-chat-welcome p{font-size:10px;line-height:1.9;color:#b1a4bc;margin:0}.ai-chat-message{display:flex;align-items:flex-start;gap:8px;margin:0 0 18px}.ai-chat-avatar{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:9px;background:#eee5f8;color:#a184bc;font-size:14px;flex-shrink:0;margin-top:17px}.ai-chat-message>div:last-child{max-width:calc(100% - 40px);min-width:0}.ai-chat-message small{display:block;font-size:8px;color:#b6a8c3;margin:0 0 6px}.ai-chat-bubble{padding:12px 13px;border-radius:3px 13px 13px 13px;background:#fff;border:1px solid #eee7f3;font-size:12px;color:#756681;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 3px 10px #6e518608}.ai-role-user{flex-direction:row-reverse}.ai-role-user small{text-align:right}.ai-role-user .ai-chat-avatar{background:#e8e4f9;color:#9582c0}.ai-role-user .ai-chat-bubble{background:#eee7fa;border-color:#e5d9f2;color:#8b65aa;border-radius:13px 3px 13px 13px}.ai-chat-sources{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.ai-chat-sources>a,.ai-chat-sources>span{font-size:8px;color:#a48ab6;background:#f2edf7;border:1px solid #e9e0f1;border-radius:5px;padding:3px 6px;text-decoration:none}.ai-thinking{font-size:10px;color:#a991bb;padding:0 10px 15px}.ai-thinking span{font-size:16px;letter-spacing:4px;padding-left:8px}.ai-chat-disclosure{font-size:8px;color:#b8a9c3;line-height:1.7;padding:9px 15px 0;background:#fff;flex-shrink:0}#aiChatForm{display:flex;align-items:end;gap:9px;padding:10px 13px 14px;margin:0;background:#fff;flex-shrink:0}#aiChatForm textarea{margin:0;resize:none;min-height:44px;max-height:100px;flex:1;border:1px solid #e5dbed;border-radius:11px;background:#fcfaff;padding:11px;font-size:11px;line-height:1.6;color:#81708e;box-sizing:border-box}#aiChatForm textarea::placeholder{color:#c2b6cb}#aiChatForm button{padding:0;width:39px;height:39px;min-width:39px;border-radius:11px;font-size:23px;line-height:39px}.ai-ticket-list article{border:1px solid #e9e0f2;border-radius:13px;padding:16px;margin:16px 0;background:#faf7fd}.ai-ticket-list article>b{font-size:11px;color:#9c80b5;margin-right:8px}.ai-ticket-list p{font-size:12px;line-height:1.8;color:#9b8ca7;white-space:pre-wrap}.ai-ticket-list article>div{padding-top:12px;border-top:1px dashed #e3d7ed;font-size:12px;line-height:1.8;white-space:pre-wrap;color:#897199}.ai-admin-stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:15px;margin:25px 0}.ai-admin-stats>div{padding:20px;border:1px solid #e3dbef;border-radius:13px;background:linear-gradient(115deg,#f4effc,#eff5fa)}.ai-admin-stats span{font-size:10px;color:#a598b1}.ai-admin-stats b{display:block;font:600 27px ui-monospace,monospace;color:#9876bc;margin-top:12px}.ai-admin-tabs{justify-content:flex-start;margin:25px 0}.ai-admin-tabs button{font-size:12px}.ai-thread-preview{max-height:65dvh;overflow:auto;padding:15px;background:#fbf9fd;border-radius:12px;margin-top:15px}.ai-thread-preview .ai-chat-message>div:last-child{width:80%}.ai-thread-preview .ai-chat-message{margin:15px 0}@media(max-width:600px){.ai-support-panel{inset:10px 10px auto;width:auto;max-width:none;height:calc(100dvh - 20px);max-height:none;border-radius:18px;z-index:200}.ai-chat-head{padding:15px}.ai-chat-messages{padding:15px 12px}.ai-chat-tools{gap:5px;padding:10px}.ai-chat-tools button{padding:7px 9px;font-size:10px}.ai-chat-head b{font-size:14px}.ai-chat-head small{font-size:8px}.ai-admin-stats{grid-template-columns:1fr 1fr}.ai-admin-stats>div:last-child{grid-column:1/-1}.ai-admin-stats b{font-size:24px}}

.live-desk{border:1px solid #d9dff1;border-radius:24px;overflow:hidden;background:#f3f6fc;box-shadow:0 18px 50px #2336590a}.live-desk-header{padding:28px 30px;background:linear-gradient(115deg,#243658,#524270);color:#fff;display:flex;justify-content:space-between;gap:20px;align-items:center}.live-desk-header h2{color:#fff;margin:8px 0}.live-desk-header p{color:#cdd6ea;margin:0}.live-kicker{font-size:10px;letter-spacing:2px;color:#aebfe0}.live-desk-header .btn,.live-desk-header button{background:#ffffff12;color:#fff;border-color:#ffffff30}.live-metrics{display:flex;gap:32px;align-items:center;padding:20px 30px;border-bottom:1px solid #e0e6f3}.live-metrics>div{display:flex;align-items:center;gap:12px}.live-metrics b{font-size:28px;color:#7454dd}.live-metrics span,.live-metrics small{font-size:12px;color:#68788d}.live-metrics small{margin-left:auto}.live-workspace{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:480px}.live-workspace aside{background:#edf1f9;border-right:1px solid #dfe5f2;padding:16px;max-height:650px;overflow:auto}.live-workspace aside h3{display:flex;justify-content:space-between;font-size:14px}.live-workspace aside h3 button{padding:5px 10px}.live-customer{display:block;text-align:left;width:100%;margin:10px 0;padding:15px;border-radius:14px;background:#ffffffb0;border:1px solid transparent}.live-customer.selected{border-color:#9676f6;background:#f5efff;box-shadow:0 4px 15px #7043b210}.live-customer p{font-size:12px;color:#63758b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:220px}.live-customer small{font-size:10px;color:#8895ab}.live-state{display:inline-block;font-size:10px;padding:3px 7px;background:#edf0fa;border-radius:6px;margin-left:8px}.live-waiting{color:#bb6b11;background:#fff0d1}.live-human{color:#098574;background:#d9f3ec}.live-thread{min-width:0;display:flex;flex-direction:column;background:linear-gradient(135deg,#f9faff,#f0f3fb)}.live-thread-head{padding:16px 20px;border-bottom:1px solid #e1e5f0}.live-thread-head>span{margin-left:12px;color:#71839e;font-size:12px}.live-thread-head>div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.live-thread-head button{font-size:12px;padding:7px 12px}.live-messages{padding:20px;overflow:auto;height:360px}.live-thread form{padding:16px;display:flex;gap:12px;border-top:1px solid #dde4f1}.live-thread textarea{min-height:80px;flex:1;min-width:0;resize:vertical}.live-thread form button{align-self:flex-end}.live-empty{text-align:center;margin:auto;padding:45px;color:#7987a2}.live-empty>span{font-size:50px;color:#8f6be5}.live-empty h3{color:#384e70}.live-empty p{font-size:13px}.live-review{padding:20px 30px;border-top:1px solid #e1e5f0;background:#e9edf8}.live-review h3 small{font-size:11px;color:#8290a8;font-weight:400;margin-left:10px}.live-review>p{color:#7886a0;font-size:13px}.live-review article{display:flex;justify-content:space-between;gap:15px;padding:15px;background:#fff9;border-radius:12px;margin:10px 0}.live-review article p{font-size:12px;color:#8c88a0}.ai-chat-message:has(small) .ai-chat-bubble{overflow-wrap:anywhere}@media(max-width:900px){.live-workspace{grid-template-columns:210px minmax(0,1fr)}.live-metrics{gap:15px;flex-wrap:wrap}.live-metrics small{margin:0}.live-desk-header{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.live-workspace{display:block}.live-workspace aside{max-height:220px}.live-desk-header,.live-metrics,.live-review{padding:18px}.live-thread form{flex-direction:column}}

/* v36 compact service desk */
.live-desk-header{padding:22px 26px}.live-desk-header>div:last-child{display:flex;gap:10px}.live-metrics{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr)) minmax(170px,1.4fr);gap:16px;padding:18px 24px}.live-metrics>div{background:#ffffffa6;border:1px solid #e1e5f3;border-radius:12px;padding:12px 16px;gap:12px}.live-metrics b{font-size:26px}.live-metrics small{line-height:1.7;margin:0}.live-workspace{grid-template-columns:246px minmax(0,1fr);min-height:440px}.live-workspace aside{max-height:560px;padding:16px 12px}.live-customer{padding:14px}.live-thread-head{padding:16px 20px;background:#ffffff75}.live-thread-head>div{gap:8px}.live-thread-head button{border-radius:9px}.live-thread-head button:first-child{background:#7754da;color:#fff;border-color:#7754da}.live-messages{height:clamp(240px,33vh,380px);min-height:240px;flex:1;scrollbar-gutter:stable}.live-no-messages{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#8895ad;text-align:center}.live-no-messages>span{font-size:36px;color:#ad99dc}.live-no-messages h3{font-size:16px;color:#60728e;margin:14px 0 5px}.live-no-messages p{font-size:12px}.live-thread form{padding:14px 18px;align-items:flex-end;background:#edf0fa;gap:12px}.live-thread textarea{min-height:80px;max-height:170px;background:#fff;border-color:#d9dfef;line-height:1.7}.live-thread form button{white-space:nowrap;height:42px}.live-review{padding:18px 24px}.live-review h3{margin:0 0 12px}.live-empty{padding:30px;min-height:360px;display:flex;flex-direction:column;justify-content:center}.live-desk .ai-chat-message{margin:14px 0}.live-desk .ai-chat-bubble{font-size:13px;line-height:1.8}@media(max-width:1050px){.live-metrics{grid-template-columns:repeat(3,1fr)}.live-metrics small{grid-column:1/-1}.live-workspace{grid-template-columns:215px minmax(0,1fr)}.live-thread form{flex-direction:column;align-items:stretch}.live-thread form button{align-self:flex-end}}@media(max-width:650px){.live-workspace{display:block}.live-workspace aside{max-height:200px}.live-metrics{gap:8px;padding:14px}.live-metrics>div{padding:10px;flex-direction:column;align-items:flex-start;gap:3px}.live-metrics span{font-size:11px}.live-desk-header{padding:20px}.live-messages{height:300px;flex:auto}.live-thread-head>div{display:grid;grid-template-columns:1fr 1fr}}

.live-current-page{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:7px 12px;border:1px solid #ddd7f5;background:linear-gradient(115deg,#f0eaff,#f6f9ff);padding:12px 14px;margin-top:12px;border-radius:11px}.live-view-label{font-size:11px;color:#8b6bd0}.live-current-page strong{font-size:14px;color:#493a7e}.live-current-page small{font-size:10px;color:#8a87a0}.live-current-page .btn{grid-column:3;grid-row:1/3;padding:7px 10px;font-size:12px;color:#7851cc;background:#fff}.live-current-page code{grid-column:1/3;font-size:10px;color:#8b85a3;overflow-wrap:anywhere}.live-current-page.compact{display:block;padding:9px;margin:10px 0 0;background:#ffffff9c}.live-current-page.compact strong{display:block;font-size:12px;margin-top:5px;white-space:normal}.live-current-page.compact small{display:block;margin-top:4px}.live-page-unknown{font-size:10px;color:#9aa2b4;margin-top:9px}.live-current-page.compact .live-view-label{font-size:10px}@media(max-width:650px){.live-current-page{grid-template-columns:1fr auto}.live-current-page small{grid-column:1}.live-current-page .btn{grid-column:2}.live-current-page code{grid-column:1/-1}}

/* Human reception notification settings */
.notify-settings{padding:24px;margin:0 0 28px;background:linear-gradient(135deg,#f3efff,#eef7ff);border:1px solid #d9d1f1;border-radius:18px}.notify-settings h3{margin:0 0 8px;color:#40375e}.notify-settings p{color:#71809b;font-size:13px}.notify-settings .notify-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.notify-settings label{min-width:0}.notify-settings input[type=checkbox]{width:auto;min-height:0;margin-right:8px}.notify-settings input[type=range]{padding:0;box-shadow:none;width:100%}.notify-settings button{margin:4px}.notify-settings small{line-height:1.7}.service-alert{position:fixed;right:24px;top:24px;z-index:10000;width:380px;max-width:calc(100vw - 32px);padding:22px;background:linear-gradient(140deg,#fff,#f4efff);border:1px solid #ab8cff;border-top:4px solid #8050f4;border-radius:18px;box-shadow:0 18px 60px #1e184438;color:#30264b}.service-alert h3{margin:0 28px 12px 0;font-size:19px}.service-alert p{font-size:14px;line-height:1.8;color:#655c80}.service-alert button{margin:4px 4px 0 0}.service-alert .notice-close{position:absolute;right:12px;top:10px;padding:5px 10px;background:transparent;color:#746b8c;border:0}.service-alert .notice-actions{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:600px){.notify-settings{padding:16px}.notify-settings .notify-options{grid-template-columns:1fr}.notify-settings button{min-height:42px}.service-alert{right:12px;top:max(12px,env(safe-area-inset-top));max-width:calc(100vw - 24px);padding:18px}}

.notify-readiness{display:flex;gap:16px;flex-wrap:wrap;margin:12px 0;color:#645280;font-size:12px}.notify-section-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.notify-section-heading>div>span{font-size:10px;letter-spacing:2px;color:#9277b9}.notify-option{display:flex;align-items:center;gap:6px;font-size:13px;padding:10px 12px;background:#ffffff90;border-radius:9px}.service-alert-heading{display:flex;align-items:center;gap:12px;padding-right:24px}.service-alert-heading>span{display:grid;place-items:center;width:40px;height:40px;background:#e9ddff;border-radius:12px;font-size:25px;color:#804de4}.service-alert-heading b{font-size:17px;display:block}.service-alert-heading small{display:block;font-size:11px;color:#8a77a0;margin-top:5px}.service-alert-heading [data-notice-close]{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:20px;color:#8c7ca3;padding:4px 10px}.service-alert-actions{display:flex;flex-wrap:wrap;gap:6px}.service-alert-actions button{font-size:12px;padding:10px 13px}.service-alert-actions .primary{background:linear-gradient(100deg,#7055f3,#9638ef);color:white;border:0}@media(max-width:600px){.notify-section-heading{display:block}.notify-section-heading>.notify-option{margin-bottom:12px}.notify-test-actions{display:grid;grid-template-columns:1fr 1fr}.notify-test-actions button{font-size:12px;margin:2px}}

/* Rich customer service composer */
#aiChatForm.chat-rich-composer,#liveReplyForm.chat-rich-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 10px;position:relative;padding:12px 16px;background:#fff;border-top:1px solid #e5e2f0;align-items:end}#aiChatForm.chat-rich-composer textarea,#liveReplyForm.chat-rich-composer textarea{grid-column:1;grid-row:auto;min-height:64px;max-height:130px;border:0;box-shadow:none!important;background:#f8f7fc;border-radius:12px 12px 0 0;padding:12px 13px;resize:vertical;font-size:13px}#aiChatForm.chat-rich-composer #aiSend,#liveReplyForm.chat-rich-composer>.primary{grid-column:2;grid-row:2/4;align-self:end;margin-bottom:4px}#aiChatForm.chat-rich-composer #aiSend{width:42px;height:42px;line-height:42px;padding:0;border-radius:12px}.chat-composer-toolbar{grid-column:1;display:flex;align-items:center;gap:2px;background:#f8f7fc;border-radius:0 0 12px 12px;padding:5px 8px}.chat-composer-toolbar .chat-tool{display:grid;place-items:center;width:32px;height:32px;padding:6px;border:0;box-shadow:none;background:transparent;color:#7a7b94;border-radius:8px}.chat-composer-toolbar .chat-tool:hover{color:#8052e6;background:#eee5ff}.chat-tool svg{width:21px;height:21px}.chat-composer-toolbar>span{font-size:10px;color:#a09bb0;margin-left:7px;line-height:1.5}.chat-composer-toolbar input[hidden]{display:none!important}.chat-composer-preview{grid-column:1/-1;min-width:0}.chat-composer-preview>div{display:flex;align-items:center;gap:10px;margin-bottom:8px;background:#f6f1ff;border:1px solid #dfd2f8;border-radius:12px;padding:9px}.chat-composer-preview img,.chat-composer-preview video{width:70px;height:58px;object-fit:contain;border-radius:7px;background:#ede6f7}.chat-composer-preview span{flex:1;font-size:12px;overflow-wrap:anywhere;min-width:0}.chat-composer-preview small{display:block;font-size:10px;line-height:1.5;margin-top:4px}.chat-composer-preview button{padding:3px 9px;border:0;background:transparent}.chat-emoji-picker{grid-column:1;display:grid;grid-template-columns:repeat(10,1fr);gap:2px;background:white;border:1px solid #e2d8f2;border-radius:12px;padding:7px;box-shadow:0 6px 18px #37206512;max-width:100%}.chat-emoji-picker button{border:0;padding:3px;min-width:0;background:transparent;font-size:20px;line-height:1.4}.chat-attachment-open{max-width:240px;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:3px 8px;text-align:left;padding:12px;margin:6px 0;border-color:#ded0f7;background:#f7f2ff;color:#654893;box-shadow:none}.chat-attachment-open>span{grid-row:1/3;font-size:28px;color:#8759e0}.chat-attachment-open b{font-size:12px;overflow-wrap:anywhere}.chat-attachment-open small{font-size:10px}.chat-media-viewer img,.chat-media-viewer video{display:block;width:100%;max-height:70vh;object-fit:contain;background:#f0edf5;border-radius:10px}.chat-media-viewer p{font-size:12px;overflow-wrap:anywhere;color:#8c829a}.chat-media-modal .dialog{max-width:900px}.chat-rich-composer button:disabled{opacity:.45;cursor:not-allowed}.chat-rich-composer:has(.chat-composer-preview>div){min-height:150px}@media(max-width:600px){#aiChatForm.chat-rich-composer,#liveReplyForm.chat-rich-composer{padding:10px 12px max(12px,env(safe-area-inset-bottom))}#aiChatForm.chat-rich-composer textarea,#liveReplyForm.chat-rich-composer textarea{font-size:16px;min-height:58px}.chat-composer-toolbar>span{display:none}.chat-emoji-picker{grid-template-columns:repeat(8,1fr)}#liveReplyForm.chat-rich-composer>.primary{font-size:12px;padding:10px}.chat-composer-preview video{width:80px}}

#aiChatForm.chat-rich-composer .chat-emoji-picker button,#liveReplyForm.chat-rich-composer .chat-emoji-picker button{width:auto;min-width:0;height:32px;line-height:32px;padding:0;font-size:21px}.ai-chat-bubble:empty{display:none}.chat-emoji-picker{min-width:0;width:100%;box-sizing:border-box}

.admin-support-pending{position:fixed;right:20px;bottom:20px;z-index:75;padding:10px 15px;border-radius:999px;background:#5535ac;color:#fff;font-size:14px;font-weight:700;box-shadow:0 4px 14px #22144738}.admin-support-pending:focus-visible{outline:3px solid #a689ff;outline-offset:3px}.service-alert~.admin-support-pending{bottom:12px}

body .btn.primary.floating.ai-support-launch.support-entry-capybara {
  display:flex;align-items:center;gap:8px;padding:7px 14px 7px 8px;
  border:1px solid #D9AF80;border-radius:999px;background:#FFF5E5!important;
  color:#633918!important;box-shadow:0 6px 18px rgba(138,92,46,.18);
}
body .btn.primary.floating.ai-support-launch.support-entry-capybara:hover {background:#FDECD6!important;border-color:#F5820D;color:#633918!important}
body .btn.primary.floating.ai-support-launch.support-entry-capybara:focus-visible {outline:2px solid #F5820D;outline-offset:3px}
.support-entry-capybara .support-entry-icon,.support-style-thumb.thumb-capybara i {
  display:inline-block;flex:none;width:34px;height:34px;font-size:0;
  background:transparent url("/assets/logo_capybara.png") center / contain no-repeat;
}
.support-style-thumb.thumb-capybara {background:#FFF5E5!important;color:#633918;border-color:#D9AF80}
/* Capybara peeks over its speech bubble. */
body .btn.primary.floating.ai-support-launch.support-entry-capybara {
  flex-direction:row-reverse;gap:0;min-height:44px;padding:9px 48px 9px 14px;
  border-radius:14px 14px 6px 14px;position:fixed;overflow:visible;
  background:#FFF8ED!important;color:#633918!important;
}
.support-entry-capybara .support-entry-icon {
  position:absolute;right:-7px;bottom:3px;width:66px;height:66px;
  filter:drop-shadow(0 3px 3px rgba(77,44,22,.18));transition:transform .2s ease;
  pointer-events:none;
}
.support-entry-capybara:hover .support-entry-icon,
.support-entry-capybara:focus-visible .support-entry-icon {transform:translateY(-5px) rotate(-4deg)}
.support-entry-capybara .support-entry-label {white-space:normal;max-width:min(190px,48vw);line-height:1.35}
.support-style-thumb.thumb-capybara {border-radius:12px 12px 5px 12px}
@media(prefers-reduced-motion:reduce){.support-entry-capybara .support-entry-icon{transition:none}}
/* Dedicated warm capybara support widget. */
body .btn.primary.floating.ai-support-launch.support-entry-capybara{right:24px;bottom:24px;z-index:9999;flex-direction:row;gap:8px;padding:4px 13px 4px 4px;border-radius:999px;background:#F5820D!important;color:#3D2817!important;transition:transform .18s ease}
body .btn.primary.floating.ai-support-launch.support-entry-capybara:hover{transform:translateY(-3px);background:#F6AD3C!important}
.support-entry-capybara .support-entry-icon,.support-style-thumb.thumb-capybara i{position:relative;right:auto;bottom:auto;width:42px;height:42px;border-radius:50%;background:#FFFDF9 url("/assets/capybara_support.png") center/contain no-repeat;filter:none}
.support-entry-capybara .support-entry-icon::after,.capybara-chat .ai-chat-head small::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#35ad60}
.support-entry-capybara .support-entry-icon::after{position:absolute;right:0;top:1px;border:2px solid #FFFDF9}
body .ai-support-panel.capybara-chat{position:fixed;right:24px;bottom:86px;z-index:10000;width:min(380px,calc(100vw - 48px));height:min(560px,calc(100dvh - 105px));max-height:none;display:flex;flex-direction:column;overflow:hidden;border:1px solid #EFE2CE;border-radius:20px;background:#FAF3E8;color:#3D2817;box-shadow:0 16px 48px #3d281730}
body .ai-support-panel.capybara-chat[hidden],.capybara-chat [hidden]{display:none!important}
body .capybara-chat .ai-chat-head{flex:none;background:linear-gradient(115deg,#F6AD3C,#F5820D);color:#fff}
body .capybara-chat .ai-chat-head :is(b,small,button){color:#fff}
body .capybara-chat .ai-chat-head button{background:transparent;border-color:transparent}
.capybara-chat .ai-chat-head small::before{margin-right:5px;vertical-align:baseline}
.capybara-chat :is(.ai-head-icon,.ai-chat-avatar){font-size:0;background:#FFFDF9 url("/assets/capybara_support.png") center/contain no-repeat;border-radius:50%}
body .capybara-chat .ai-chat-tools{display:flex;flex-wrap:wrap;gap:6px;flex:none;background:#FAF3E8;border-color:#EFE2CE}
body .capybara-chat .ai-chat-tools button{font-size:12px;border-radius:999px;background:#FFFDF9;border:1px solid #EFE2CE;color:#3D2817}
body .capybara-chat .ai-chat-tools button:hover{border-color:#F5820D}
body .capybara-chat .ai-chat-messages{flex:1;min-height:0;overflow:auto;background:#FAF3E8}
body .capybara-chat :is(.ai-chat-welcome,.ai-chat-bubble){background:#FFFDF9;border-color:#EFE2CE;color:#3D2817}
body .capybara-chat .ai-chat-message.user .ai-chat-bubble{background:#F5820D;color:#fff}
body .capybara-chat :is(.ai-chat-disclosure,#aiChatForm){flex:none;background:#FFFDF9;border-color:#EFE2CE;color:#3D2817}
body .capybara-chat #aiChatText{background:#FFFDF9;border-color:#EFE2CE;color:#3D2817}
body .capybara-chat #aiSend{background:#F5820D;color:#fff;border-radius:50%}
@media(max-width:600px){body .ai-support-panel.capybara-chat{inset:0;width:100%;height:100dvh;border-radius:0;padding-bottom:env(safe-area-inset-bottom)}}
@media(prefers-reduced-motion:reduce){body .btn.primary.floating.ai-support-launch.support-entry-capybara{transition:none}}

.capybara-chat .ai-chat-tools > :not([data-capybara-quick]){display:none!important}

/* CustomerSupportWidget visual corrections; keep the existing composer handlers. */
#aiSupportPanel.capybara-chat {border-color:#EFE2CE;background:#FAF3E8;color:#3D2817;box-shadow:0 16px 48px rgba(61,40,23,.18)}
#aiSupportPanel.capybara-chat .ai-chat-head {background:linear-gradient(135deg,#F6AD3C 0%,#F5820D 100%);padding:10px 12px;gap:8px;border-color:#EFE2CE}
#aiSupportPanel.capybara-chat .ai-chat-head :is(b,small,button) {color:#fff}
#aiSupportPanel.capybara-chat .ai-chat-head button {flex:0 0 30px;width:30px;height:30px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;box-shadow:none}
#aiSupportPanel.capybara-chat .ai-chat-head button:hover {background:rgba(61,40,23,.16)}
#aiSupportPanel.capybara-chat .ai-chat-tools {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:7px 12px;background:#FAF3E8;border-color:#EFE2CE}
#aiSupportPanel.capybara-chat .ai-chat-tools button[data-capybara-quick] {font-size:12px;line-height:1.2;min-height:32px;padding:4px 10px;white-space:normal;background:#FFFDF9;color:#3D2817;border:1px solid #EFE2CE;box-shadow:none}
#aiSupportPanel.capybara-chat .ai-chat-tools button[data-capybara-quick]:hover {border-color:#F5820D;background:#FDECD6}
#aiSupportPanel.capybara-chat .ai-chat-messages {background:#FAF3E8;padding:8px 12px}
#aiSupportPanel.capybara-chat .ai-chat-message {margin:8px 0}
#aiSupportPanel.capybara-chat :is(.ai-chat-bubble,.ai-chat-welcome) {padding:8px 10px;background:#FFFDF9;color:#3D2817;border-color:#EFE2CE;box-shadow:none;font-size:13px;line-height:1.5}
#aiSupportPanel.capybara-chat .ai-role-user .ai-chat-bubble {background:#F5820D;color:#fff;border-color:#F5820D}
#aiSupportPanel.capybara-chat .ai-role-assistant .ai-chat-bubble {max-block-size:8.5em;overflow:auto;overflow-wrap:anywhere}
#aiSupportPanel.capybara-chat :is(.ai-chat-sources a,.ai-chat-sources span,.chat-tool,.chat-emoji-picker,.chat-composer-preview>div) {background:#FFFDF9;color:#3D2817;border-color:#EFE2CE;box-shadow:none}
#aiSupportPanel.capybara-chat :is(.ai-chat-disclosure,#aiChatForm) {background:#FFFDF9;border-color:#EFE2CE}
#aiSupportPanel.capybara-chat .ai-chat-disclosure {padding:3px 12px;color:#7A6552}
#aiSupportPanel.capybara-chat #aiChatForm {padding:6px 10px max(6px,env(safe-area-inset-bottom));gap:3px 8px}
#aiSupportPanel.capybara-chat #aiChatText {height:36px;min-height:36px;max-height:70px;padding:6px 8px;resize:vertical;background:#FFFDF9;color:#3D2817;border-color:#EFE2CE}
#aiSupportPanel.capybara-chat #aiChatText::placeholder {color:#A38E7A}
#aiSupportPanel.capybara-chat .chat-composer-toolbar {gap:4px;margin:0;padding:0}
#aiSupportPanel.capybara-chat .chat-composer-toolbar>span {display:none}
#aiSupportPanel.capybara-chat #aiSend {width:48px;min-width:48px;height:34px;line-height:34px;border-radius:999px;background:#F5820D;color:#fff;font-size:0;box-shadow:none;border-color:#F5820D}
#aiSupportPanel.capybara-chat #aiSend::after {content:"发送";font-size:12px}
#aiSupportPanel.capybara-chat #aiSend:disabled {opacity:.65}
#aiSupportPanel.capybara-chat #aiSend:hover:not(:disabled) {background:#E07105}
#aiSupportPanel.capybara-chat :is(button,textarea,a):focus-visible {outline:2px solid #F5820D;outline-offset:1px;box-shadow:none}
#aiSupportPanel.capybara-chat :is(.ai-chat-messages,.ai-chat-bubble,textarea) {scrollbar-color:#CFAE8D #FAF3E8;scrollbar-width:thin}
body:has(#aiSupportPanel.capybara-chat:not([hidden])) .floating.ai-support-launch.support-entry-capybara {width:48px;height:48px;min-height:48px;padding:0;justify-content:center;border-radius:50%;background:#F5820D!important;color:#fff!important}
body:has(#aiSupportPanel.capybara-chat:not([hidden])) .support-entry-capybara :is(.support-entry-icon,.support-entry-label) {display:none}
body:has(#aiSupportPanel.capybara-chat:not([hidden])) .support-entry-capybara::after {content:"💬";font-size:18px}

/* Capybara hot-spring launcher, inspired by compact messaging bubbles. */
body .btn.primary.floating.ai-support-launch.support-entry-capybara-bath{
  right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));
  z-index:9999;display:flex;align-items:center;gap:8px;max-width:calc(100vw - 48px);
  min-height:50px;padding:4px 13px 4px 5px;border:1px solid #DFCEB8;border-radius:24px 24px 8px 24px;
  background:#FFFDF9!important;color:#3D2817!important;box-shadow:0 6px 20px #8a5c4626;
}
body .btn.primary.floating.ai-support-launch.support-entry-capybara-bath:hover{background:#FDECD6!important;border-color:#F5820D}
.support-entry-capybara-bath .support-entry-icon,.support-style-thumb.thumb-capybara-bath i{
  position:relative;flex:none;width:50px;height:42px;font-size:0;border-radius:18px;
  background:#FAF3E8 url("/assets/capybara_ai_center.png") center/contain no-repeat;
}
.support-entry-capybara-bath .support-entry-icon::after{
  content:"";position:absolute;right:0;top:0;width:9px;height:9px;border:2px solid #FFFDF9;border-radius:50%;background:#35AD60;
}
.support-entry-capybara-bath .support-entry-label{white-space:normal;overflow-wrap:anywhere;line-height:1.3}
body:has(#aiSupportPanel.capybara-chat:not([hidden])) .ai-support-launch.support-entry-capybara-bath{visibility:hidden}
@media(max-width:600px){
 body .btn.primary.floating.ai-support-launch.support-entry-capybara-bath{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));max-width:calc(100vw - 24px);font-size:13px}
}
/* The bath mascot and its thought bubble share one clickable launcher. */
body .btn.primary.floating.ai-support-launch.support-entry-capybara-bath {
  gap:10px;padding:0;min-height:46px;border:0;border-radius:0;
  background:transparent!important;box-shadow:none;overflow:visible;
}
body .btn.primary.floating.ai-support-launch.support-entry-capybara-bath:hover {background:transparent!important}
.support-entry-capybara-bath .support-entry-icon {width:56px;height:48px;background-color:transparent}
.support-entry-capybara-bath .support-entry-label {
  position:relative;min-width:0;padding:8px 12px;border:1px solid #DFCEB8;
  border-radius:24px 24px 24px 9px;background:#FFFDF9;
  box-shadow:0 5px 14px rgba(138,92,46,.13);translate:0 -9px;
}
.support-entry-capybara-bath .support-entry-label::before,
.support-entry-capybara-bath .support-entry-label::after {
  content:"";position:absolute;background:#FFFDF9;border:1px solid #DFCEB8;pointer-events:none;
}
.support-entry-capybara-bath .support-entry-label::before {left:-7px;bottom:4px;width:7px;height:7px;border-radius:75% 50% 75% 50%;rotate:-18deg}
.support-entry-capybara-bath .support-entry-label::after {left:-13px;bottom:0;width:4px;height:4px;border-radius:50%}
.support-entry-capybara-bath:hover .support-entry-label,
.support-entry-capybara-bath:focus-visible .support-entry-label {border-color:#F5820D;background:#FDECD6}
/* The message invitation is imagined above the capybara at its laptop. */
body .btn.primary.floating.ai-support-launch.support-entry-capybara-bath {
  width:max-content;max-width:calc(100vw - 28px);flex-direction:column-reverse;
  align-items:flex-end;gap:0;
}
.support-entry-capybara-bath .support-entry-icon {width:108px;height:82px}
.support-entry-capybara-bath .support-entry-label {
  margin-right:46px;translate:0 0;border-radius:22px 22px 9px 22px;
  padding:7px 12px;display:flex;gap:5px;align-items:center;
}
.support-entry-capybara-bath .support-entry-label::before {
  left:auto;right:15px;bottom:-7px;
}
.support-entry-capybara-bath .support-entry-label::after {
  left:auto;right:10px;bottom:-13px;
}
.support-entry-capybara-bath .capybara-thought-light {color:#C25E00;font-size:14px}
@media(max-width:600px){
 .support-entry-capybara-bath .support-entry-icon{width:83px;height:64px}
 .support-entry-capybara-bath .support-entry-label{margin-right:32px}
}
body:has(#aiSupportPanel.capybara-chat:not([hidden])) .dialogbg.chat-media-modal{z-index:10001}
@media(max-width:600px){body:has(#aiSupportPanel.capybara-chat:not([hidden])) .dialogbg.chat-media-modal .dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}}
