/* Compact mobile support: fixed conversation header/composer, one scroll area. */
#shade.support-chat-shade{padding:8px;align-items:center;height:var(--sc-height,100dvh);top:var(--sc-top,0px);bottom:auto;}
#shade .modal.support-chat-modal{height:min(860px,calc(var(--sc-height,100dvh) - 16px));max-height:calc(var(--sc-height,100dvh) - 16px);width:100%;max-width:480px;padding:0;overflow:hidden;border-radius:24px;background:#fff;color:#292633;}
.support-chat-modal #modalBody{height:100%;max-height:none;overflow:hidden;padding:0;}
.modal.support-chat-modal .close{width:44px;height:44px;right:9px;top:16px;z-index:4;padding:0;display:grid;place-items:center;background:transparent;color:#80798b;border-radius:12px;font-size:27px;line-height:1;}
.sc-shell{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;height:100%;position:relative;}
.sc-shell [hidden]{display:none!important;}
.sc-shell svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;}
.sc-header{display:flex;align-items:center;gap:10px;padding:20px 60px 16px 20px;min-height:83px;}
.sc-avatar{width:40px;height:40px;border-radius:14px;background:#eee8ff;color:#6b4eff;display:grid;place-items:center;flex:none;}
.sc-avatar svg{width:23px;height:23px;stroke:none;}
.sc-header-copy{flex:1;min-width:0;}
.modal.support-chat-modal .sc-header h2{font-size:18px;letter-spacing:-.45px;line-height:1.3;font-weight:750;margin:0;color:#27232f;}
.sc-header h2:focus{outline:none;}
.modal.support-chat-modal .sc-header p{font-size:11px;line-height:1.5;color:#7b7388;margin:3px 0 0;white-space:nowrap;}
.sc-operator{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:0 8px;border-radius:12px;font-size:12px;font-weight:650;color:#62586f;flex:none;}
.sc-operator svg{width:19px;height:19px;}
.sc-operator:hover{background:#f6f4fa;}
.sc-operator:disabled{opacity:.45;cursor:default;}
.sc-session-label{display:flex;align-items:center;gap:8px;padding:0 20px 15px;font-size:10px;line-height:1.4;color:#8a8295;border-bottom:1px solid #f0edf4;}
.sc-demo{display:inline-block;border-radius:5px;background:#f1edf8;color:#7b6c94;font-size:9px;line-height:1.5;padding:3px 6px;font-weight:650;white-space:nowrap;}
.sc-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e3ddea transparent;padding:0 20px 20px;background:linear-gradient(180deg,#fff 0%,#fff 70%,#fdfcfe 100%);}
.sc-welcome{min-height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:28px 0 20px;}
.sc-welcome-eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:#9683c6;}
.sc-welcome h3{font-size:34px;line-height:1.13;font-weight:750;letter-spacing:-1.2px;color:#292332;margin:13px 0 16px;}
.modal.support-chat-modal .sc-welcome>p{font-size:14px;line-height:1.75;color:#7b7289;max-width:310px;margin:0 0 26px;}
.sc-topics{display:grid;gap:8px;width:100%;}
.sc-topics>button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;min-height:58px;border-radius:15px;background:#f6f4fa;padding:10px 14px;color:#4b425b;font-size:14px;font-weight:600;}
.sc-topics>button:hover{background:#eee8fa;}
.sc-topic-icon{display:grid;place-items:center;color:#9984c5;}
.sc-topic-icon svg{width:21px;height:21px;}
.sc-topics .sc-topic-arrow{width:16px;height:16px;margin-left:auto;color:#b6abc7;}
.sc-welcome-note{font-size:11px;line-height:1.5;margin-top:17px;color:#a39aaf;}
.sc-transcript{padding-top:20px;}
.sc-transcript:empty{display:none;}
.sc-day{text-align:center;color:#a59bad;font-size:10px;margin:0 0 24px;}
.sc-message{width:fit-content;max-width:88%;margin:0 0 22px;}
.sc-message-team{margin-right:auto;}
.sc-message-user{margin-left:auto;}
.sc-message-author{display:flex;gap:6px;align-items:center;color:#7a6b90;font-weight:650;font-size:11px;margin:0 0 8px 2px;}
.sc-message-author>span{font-size:8px;background:#efebf8;border-radius:4px;padding:1px 4px;color:#9482af;}
.sc-bubble{padding:15px 16px;border-radius:4px 18px 18px 18px;background:#f3f0f7;}
.sc-message-user .sc-bubble{background:#6b4eff;color:#fff;border-radius:18px 18px 4px 18px;}
.modal.support-chat-modal .sc-bubble p{font-size:15px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#4b4258;margin:0;}
.modal.support-chat-modal .sc-message-user .sc-bubble p{color:#fff;}
.sc-message-meta{display:flex;gap:7px;align-items:center;color:#aaa0b4;font-size:9px;line-height:1.6;margin-top:6px;padding:0 3px;}
.sc-message-user .sc-message-meta{justify-content:flex-end;}
.sc-message-meta button{font:inherit;min-height:30px;padding:0 2px;color:#7654cb;}
.sc-message-actions{display:grid;gap:4px;margin-top:14px;}
.sc-message-actions>button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:11px 12px;text-align:left;border-radius:10px;background:#fff;color:#7254b7;font-size:12px;line-height:1.5;font-weight:650;}
.sc-typing{display:flex;align-items:center;justify-content:center;gap:4px;width:52px;height:33px;background:#f3f0f7;border-radius:5px 15px 15px 15px;margin-bottom:15px;}
.sc-typing i{width:5px;height:5px;border-radius:50%;background:#b1a1c6;animation:sc-dot 1.1s infinite;}
.sc-typing i:nth-child(2){animation-delay:.15s}.sc-typing i:nth-child(3){animation-delay:.3s}
@keyframes sc-dot{50%{opacity:.35;transform:translateY(-2px)}}
.sc-handoff{display:flex;gap:12px;padding:18px 0 8px;margin-top:22px;border-top:1px solid #eee9f4;}
.sc-handoff-icon{display:grid;place-items:center;border-radius:13px;width:40px;height:40px;flex:none;background:#f2edf9;color:#947bbc;}
.sc-handoff strong{font-size:14px;font-weight:650;color:#4d435c;}
.modal.support-chat-modal .sc-handoff p{font-size:12px;line-height:1.75;color:#8d809b;margin:7px 0 0;}
.sc-new-message{position:absolute;bottom:116px;left:50%;transform:translateX(-50%);display:flex;gap:8px;align-items:center;min-height:44px;padding:10px 16px;border-radius:24px;box-shadow:0 4px 24px #4432671a;background:white;color:#8569b9;font-size:12px;white-space:nowrap;z-index:2;}
.sc-new-message svg{width:15px;height:15px;}
.sc-composer-zone{padding:12px 14px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #f2eff6;}
.sc-composer{display:flex;align-items:flex-end;gap:4px;background:#f5f3f8;padding:6px;border-radius:20px;}
.modal.support-chat-modal .sc-composer textarea{display:block;min-width:0;min-height:44px;max-height:112px;flex:1;width:100%;margin:0;border:0;background:transparent;resize:none;border-radius:0;padding:12px 4px 10px;font-family:inherit;font-size:16px;line-height:22px;color:#3c334c;box-shadow:none;outline:0;overflow-y:auto;}
.sc-composer textarea::placeholder{color:#b0a7bc;}
.sc-composer:focus-within{background:#f0ecf7;}
.sc-attach,.sc-send{width:44px;height:44px;padding:0;border-radius:15px;display:grid;place-items:center;flex:none;}
.sc-attach{color:#a297b2;}
.sc-attach:hover{color:#72569b;}
.sc-send{background:#6b4eff;color:#fff;}
.sc-send:disabled{background:#e7e1f0;color:#b6a9c8;cursor:default;}
.sc-send svg{stroke-width:2;width:23px;height:23px;}
.modal.support-chat-modal .sc-composer-caption{font-size:9px;line-height:1.5;text-align:center;color:#b0a6bc;margin:8px 0 0;}
.sc-attachments{display:flex;flex-direction:column;gap:7px;max-height:174px;overflow-y:auto;}
.sc-attachments:not(:empty){padding:0 0 10px;}
.sc-file{display:flex;align-items:center;gap:10px;background:#faf8fc;border-radius:12px;padding:6px 6px 6px 9px;}
.sc-file>img{width:37px;height:37px;object-fit:cover;border-radius:7px;}
.sc-file>svg{color:#b09cc7;width:30px;height:30px;}
.sc-file>span{flex:1;min-width:0;}
.sc-file b{display:block;font-size:11px;line-height:1.5;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#81708f;}
.sc-file small{display:block;font-size:9px;color:#b5a7bf;}
.sc-file button{width:44px;height:44px;flex:none;display:grid;place-items:center;color:#a291b1;padding:0;}
.sc-file button svg{width:15px;height:15px;}
.sc-sent-file{display:flex;align-items:center;gap:9px;margin-top:8px;max-width:100%;font-size:12px;overflow-wrap:anywhere;}
.sc-sent-file>img{width:62px;height:62px;object-fit:cover;border-radius:8px;}
.sc-sent-file>span{min-width:0;}
.modal.support-chat-modal .sc-error{font-size:12px;line-height:1.5;color:#a0526d;margin:0 4px 10px;}
.sc-shell button:focus-visible{outline:2px solid #9a7fe2;outline-offset:2px;}
.sc-composer textarea:focus-visible{outline:0;}
@media(max-width:359px){.sc-header{padding-left:16px;gap:8px}.sc-operator>span{display:none}.sc-scroll{padding-inline:16px}.sc-header-copy{min-width:0}.sc-welcome h3{font-size:30px}.sc-topics>button{font-size:13px;min-height:52px}.sc-welcome>p{font-size:13px!important;margin-bottom:19px!important}.sc-welcome{padding-top:20px}.sc-session-label{padding-inline:16px;font-size:9px}.sc-message{max-width:93%}.sc-bubble{padding:13px 14px}}
@media(max-height:620px){.sc-header{min-height:68px;padding-top:12px;padding-bottom:10px}.modal.support-chat-modal .close{top:11px}.sc-session-label{padding-bottom:9px}.sc-welcome{justify-content:flex-start;padding-top:20px}.sc-welcome h3{font-size:27px;margin:8px 0 12px}.sc-welcome>p{margin-bottom:18px!important}.sc-topics>button{min-height:48px}.sc-welcome-note{margin-top:12px}.sc-composer-zone{padding-top:8px}.sc-composer-caption{display:none}}
@media(min-width:700px){#shade.support-chat-shade{padding:24px}#shade .modal.support-chat-modal{height:min(780px,calc(var(--sc-height,100dvh) - 48px));max-height:calc(var(--sc-height,100dvh) - 48px)}.sc-welcome h3{font-size:37px}.sc-scroll{padding-inline:26px}.sc-header{padding-left:26px}.sc-session-label{padding-left:26px}.sc-welcome>p{font-size:15px!important}.sc-message .sc-bubble p{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){.sc-typing i{animation:none}}
