/* Customer service, shared by the public site and the existing admin theme. */
.brand-row .service{display:flex;flex-direction:column;align-items:center;gap:2px;min-width:38px;color:#8d829c}
.brand-row .service svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.support-contact{padding:0 26px 105px;color:#2c2446;background:#fff}
.support-contact-heading{position:relative;padding:38px 10px 32px;text-align:center}
.support-contact-heading h1{font-size:30px;line-height:1.3;margin:0 0 15px;font-weight:800}
.support-contact-heading p{margin:0;color:#909090;font-size:17px;line-height:1.5}
.support-back{width:40px;height:40px;display:grid;place-items:center;background:transparent;color:#269ad5;padding:8px;flex:none}
.support-back svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.support-contact-heading>.support-back{position:absolute;top:10px;left:-16px}
.support-contact-cards{display:grid;gap:20px}
.support-contact-card{display:flex;align-items:center;gap:15px;padding:22px 18px;background:white;border-radius:23px;box-shadow:0 8px 32px #a68cd31a;min-height:110px}
.support-avatar{width:54px;height:54px;object-fit:cover;border-radius:50%;flex:none;background:#efe5fc}
.support-contact-copy{min-width:0;flex:1}
.support-contact-copy>span{display:block;color:#919191;font-size:16px;margin-bottom:5px;line-height:1.3}
.support-contact-copy>strong{display:block;font-size:18px;line-height:1.4;font-weight:750;overflow-wrap:anywhere}
.support-action{display:flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;padding:12px 15px;color:white;flex:none;min-height:43px;font-size:16px;white-space:nowrap}
.support-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.support-open{background:linear-gradient(120deg,#34d2a0,#0cba89)}
.support-copy{background:linear-gradient(#be72f5,#a03de6);border:1.5px solid #d6a4f2;box-shadow:inset 0 2px 2px #ffffff4d,inset 0 -2px 2px #6d24a970,0 3px 7px #9c57c52e}
.support-contact-status{text-align:center;font-size:13px;color:#8b7e99;margin:23px 0;line-height:1.7;overflow-wrap:anywhere}
.support-action:disabled{opacity:.5;cursor:default}
.support-chat-open{overflow:hidden;background:#f7f7f7}
.support-chat{max-width:680px;margin:auto;height:100vh;height:100dvh;display:flex;flex-direction:column;background:#f6f6f6;color:#242931;overflow:hidden}
.support-chat-header{display:flex;align-items:center;gap:12px;background:#fff;padding:12px 14px;border-bottom:1px solid #e8e8e8;flex:none}
.support-chat-header .support-avatar{width:46px;height:46px}
.support-chat-header h1{font-size:20px;margin:0 0 5px}
.support-chat-header p{font-size:11px;color:#92959d;margin:0;overflow-wrap:anywhere}
.support-messages{overflow:auto;flex:1;min-height:0;padding:24px 20px;overscroll-behavior:contain;scroll-behavior:auto}
.support-welcome{padding:20px;background:#fff;line-height:1.9;font-size:15px;margin-bottom:25px;overflow-wrap:anywhere}
.support-welcome p{white-space:pre-wrap;margin:0 0 9px}
.support-welcome ol{padding-left:24px;border-top:1px solid #ededed;padding-top:8px;margin:14px 0 0;color:#4b8cd9;font-weight:600}
.support-welcome li{margin-top:4px}
.support-welcome button{background:transparent;color:#4b8cd9;padding:3px 5px;font-size:15px;text-align:left}
.support-chat-status{flex:none;margin:0;padding:5px 12px;color:#92959d;background:#f6f6f6;text-align:center;font-size:11px;line-height:1.5}
.support-composer{display:flex;align-items:center;gap:10px;padding:11px 12px calc(11px + env(safe-area-inset-bottom));background:#e4e8ef;flex:none}
.support-composer textarea{flex:1;min-width:0;max-height:130px;min-height:42px;resize:vertical;border:0;border-radius:14px;background:white;padding:11px 13px;outline-color:#b574e9;color:#34303c;font:inherit;font-size:14px;line-height:20px}
.support-composer textarea::placeholder{color:#b6b6b6}
.support-composer-icon{width:29px;height:35px;display:grid;place-items:center;padding:0;background:transparent;flex:none;color:#373737}
.support-composer-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.support-send{background:#a153db;color:#fff;border-radius:9px;padding:10px 12px;flex:none;font-size:13px}
.support-send:disabled{opacity:.5}
.support-emoji-panel{display:flex;flex-wrap:wrap;padding:9px 14px;background:white;gap:12px}
.support-emoji-panel button{background:transparent;padding:5px;font-size:25px}
.support-image-preview{display:flex;align-items:center;gap:12px;padding:10px 15px;background:white;font-size:12px;color:#8d7d9c}
.support-image-preview img{width:52px;height:52px;object-fit:cover;border-radius:8px}
.support-image-preview button{margin-left:auto;background:#f4edfa;border-radius:50%;height:28px;width:28px;color:#8e6ba8;font-size:22px}
.support-message{display:flex;align-items:flex-start;flex-direction:column;margin:0 0 18px;font-size:14px;line-height:1.65}
.support-message.from-visitor{align-items:flex-end}
.support-bubble{padding:11px 14px;border-radius:5px 15px 15px;background:white;max-width:85%;overflow-wrap:anywhere;box-shadow:0 2px 5px #00000003;color:#343039}
.from-visitor .support-bubble{background:#e9d9fc;border-radius:15px 5px 15px 15px}
.support-bubble p{margin:0;white-space:pre-wrap}
.support-bubble img{display:block;max-width:100%;max-height:260px;border-radius:8px;object-fit:contain}
.support-message time{font-size:10px;color:#a2a2a9;margin:5px 3px 0}
.support-auto-label{display:block;color:#9b81b0;font-size:11px;margin-bottom:4px}
.support-admin-tabs{display:flex;gap:8px;font-size:13px}
.support-admin-tabs a{color:#9c5ed7;padding:7px 10px;background:#f4ebff;border-radius:8px}
.support-inbox-filters{display:grid;grid-template-columns:150px minmax(130px,280px) auto;gap:12px;align-items:end;margin:16px 0}
.support-inbox-filters button{justify-self:start;margin-bottom:0}
.support-inbox-layout{display:grid;grid-template-columns:minmax(220px,30%) minmax(0,1fr);border:1px solid #eee6f5;border-radius:14px;overflow:hidden;min-height:520px}
.support-thread-list{border-right:1px solid #eee6f5;max-height:720px;overflow:auto;background:white}
.support-thread{display:block;padding:17px 15px;border-bottom:1px solid #f0e8f6;color:#58426c}
.support-thread.selected{background:#f6edff;box-shadow:inset 3px 0 #a46ee2}
.support-thread>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
.support-thread small{display:block;color:#ab98ba;margin-top:5px;font-size:11px}
.support-thread p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:9px 0;color:#9b89aa;font-size:12px}
.support-thread time{font-size:10px;color:#b4a3bf}
.support-unread{display:inline-block;background:#aa6ce5;color:white;min-width:20px;border-radius:20px;font-size:11px;text-align:center;padding:2px 5px}
.support-admin-chat{padding:18px;min-width:0;background:#fcfaff;display:flex;flex-direction:column}
.support-admin-chat-heading{padding-bottom:12px;border-bottom:1px solid #eee6f5;font-size:14px;font-weight:600}
.support-admin-messages{height:350px;overflow:auto;padding:17px 0;overscroll-behavior:contain}
.support-admin-chat textarea{width:100%;resize:vertical;margin:7px 0 12px;font:inherit}
.support-thread-list .pagination{padding:10px;display:flex;flex-wrap:wrap;justify-content:center;font-size:10px;gap:8px}
.support-avatar-setting{display:flex;gap:18px;align-items:center;flex-wrap:wrap;padding:15px;background:#fcf9ff;border-radius:14px}
.support-avatar-setting>img{width:60px;height:60px;border-radius:50%;object-fit:cover}
.support-faq-heading{margin:24px 0 15px}
.support-faq-editor-row{padding:17px;border:1px solid #ece2f6;border-radius:12px;margin-bottom:13px}
.support-faq-editor-row textarea{width:100%;min-height:75px}
.support-faq-remove{color:#b3648a;background:#fbf2f6;padding:7px 12px;border-radius:8px}
.support-settings>.row,.support-inbox>.row{gap:12px;flex-wrap:wrap}
@media(min-width:560px){.support-contact{padding-inline:46px}.support-contact-heading{padding:47px 5px 43px}.support-contact-heading h1{font-size:38px}.support-contact-heading p{font-size:23px}.support-contact-card{padding:28px 24px;gap:22px;min-height:135px}.support-avatar{width:78px;height:78px}.support-contact-copy>span{font-size:22px}.support-contact-copy>strong{font-size:24px}.support-action{font-size:22px;padding:16px 22px}.support-action svg{width:25px;height:25px}.support-messages{padding:34px 40px}.support-welcome{font-size:18px;padding:25px}.support-welcome button{font-size:18px}}
@media(max-width:420px){.support-contact{padding-inline:20px}.support-contact-card{padding:18px 14px;gap:12px}.support-contact-copy>span{font-size:14px}.support-contact-copy>strong{font-size:16px}.support-avatar{width:46px;height:46px}.support-action{font-size:14px;padding:10px 12px;gap:5px}.support-action svg{width:17px;height:17px}.support-composer{gap:8px;padding-inline:9px}.support-composer-icon,.support-composer-icon svg{width:25px}.support-send{padding:10px}.support-messages{padding-inline:18px}}
@media(max-width:350px){.support-contact{padding-inline:13px}.support-contact-card{gap:8px;padding-inline:11px}.support-contact-copy>strong{font-size:14px}.support-contact-copy>span{font-size:12px}.support-action{padding:10px;font-size:13px}.support-composer{gap:6px}.support-composer textarea{font-size:12px}}
@media(max-width:850px){.support-inbox-layout{grid-template-columns:minmax(180px,32%) minmax(0,1fr)}.support-admin-chat{padding:12px}.support-inbox-filters{grid-template-columns:1fr 1fr}.support-inbox-filters button{grid-column:1/-1}}
@media(max-width:640px){.support-inbox-layout{display:block}.support-thread-list{border-right:0;border-bottom:1px solid #eee6f5;max-height:240px}.support-admin-messages{height:340px}.support-admin-tabs{font-size:11px}}
