/* Compact support popover with optional FAQ drawer and a capped phone panel. */
.support-widget{--sp-navy:#163443;--sp-teal:#55d3b9;position:fixed;z-index:75;inset:auto 20px calc(18px + env(safe-area-inset-bottom)) auto;font-family:'DM Sans',sans-serif;color:#24414e;text-align:start;isolation:isolate}.support-widget[hidden],.support-widget [hidden]{display:none!important}.support-widget button,.support-widget input{font-family:inherit}.support-widget svg{display:block;width:20px;height:20px;flex:none;overflow:visible}.support-widget svg path{vector-effect:non-scaling-stroke}
.sp-launcher{display:flex;align-items:center;gap:8px;min-height:48px;padding:7px 12px 7px 8px;border:1px solid #4b9f8c;border-radius:13px;background:var(--sp-navy);color:#fff;box-shadow:0 6px 22px #1532412b;cursor:pointer;transition:transform .18s,background .18s}.sp-launcher>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#ffffff0d;color:var(--sp-teal)}.sp-launcher b{font-size:12px;font-weight:650;line-height:1.4;text-align:start}.sp-launcher small{display:none}.sp-launcher:hover{transform:translateY(-2px);background:#204a50}.sp-launcher.sp-open{background:#edf7f1;border-color:#bbd9c8;color:#28594a}.sp-launcher.sp-open>span{background:#dfeee4;color:#3e8069}
.sp-panel{position:absolute;inset:auto 0 62px auto;display:flex;flex-direction:column;width:350px;max-width:calc(100vw - 32px);height:520px;max-height:calc(var(--support-vh,100dvh) - 100px);border:1px solid #dbe5e3;border-radius:17px;background:#fff;box-shadow:0 14px 50px #15334326;overflow:hidden;animation:sp-enter .16s ease both}.sp-header{flex:none;padding:13px 14px 10px;background:linear-gradient(120deg,#163443,#245154);color:#fff}.sp-header-top{display:flex;align-items:center;gap:9px}.sp-avatar{display:grid;place-items:center;width:30px;height:30px;flex:none;border:1px solid #7cd9bd38;border-radius:10px;background:#4cc4a412;color:#90e4ce}.sp-avatar svg{width:18px;height:18px}.sp-header-top>div{flex:1;min-width:0}.sp-header-top>div>span{display:block;font-size:8px;letter-spacing:.7px;text-transform:uppercase;color:#afd4ce;line-height:1.5;margin-bottom:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-header h2{font-family:Manrope,sans-serif;font-size:15px;letter-spacing:-.3px;line-height:1.4;font-weight:650;color:#fff;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.sp-close{display:grid;place-items:center;width:36px;height:36px;flex:none;border:0;border-radius:9px;background:#ffffff0c;color:#e2f1eb;cursor:pointer}.sp-close svg{width:17px;height:17px}.sp-close:hover{background:#ffffff1a;color:#fff}.sp-status{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:10px;color:#bbdcd1;line-height:1.5;flex-wrap:wrap}.sp-status>i{width:5px;height:5px;border-radius:50%;background:#6ed8be;flex:none}.sp-status>span{padding-inline-start:7px;border-inline-start:1px solid #ffffff26;color:#c0d2cb;font-size:9px;overflow-wrap:anywhere}
#support-contacts{flex:none}.sp-channels{display:flex;align-items:stretch;gap:6px;padding:10px 12px;border-bottom:1px solid #e8eef0;background:#fff}.sp-channels:empty{display:none}.sp-channel{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0;min-height:42px;padding:8px 5px;border:1px solid #cde8d8;border-radius:9px;font-size:11px;font-weight:600;color:#286d49;background:#edf8f0;text-decoration:none}.sp-channel svg{width:17px;height:17px}.sp-channel-phone{background:#f1f6fc;border-color:#e1e9f4;color:#52769a}.sp-channel-email{background:#fff8ec;border-color:#eee5d0;color:#98763e}.sp-channel:hover{filter:brightness(.97)}
.sp-conversation{flex:1;min-height:40px;overflow-y:auto;overscroll-behavior:contain;padding:14px 12px;background:#f5f8f7;scrollbar-width:thin;scrollbar-color:#c6d7d3 transparent}.sp-message{display:flex;gap:7px;align-items:flex-end;margin-bottom:12px}.sp-message:last-child{margin-bottom:0}.sp-bot-mark{display:grid;place-items:center;flex:none;width:21px;height:21px;background:#e3eee7;border:1px solid #d4e3dc;border-radius:7px;color:#4d8873;font:700 9px Manrope,sans-serif}.sp-assistant>div{padding:10px 11px;border:1px solid #e1eae5;border-radius:12px 12px 12px 3px;background:#fff;max-width:calc(100% - 28px);min-width:0}.sp-message p{font-size:12px;line-height:1.7;color:#496872;white-space:pre-wrap;overflow-wrap:anywhere}.sp-message small{display:block;font-size:9px;color:#849b94;margin-top:5px}.sp-user{justify-content:flex-end;padding-inline-start:24px}.sp-user>p{padding:10px 12px;max-width:100%;border-radius:12px 12px 3px 12px;background:#e0f1e9;border:1px solid #d0e7db;color:#315d4f;font-size:12px;line-height:1.7;min-width:0}.sp-answer-link{display:inline-flex;align-items:center;gap:8px;min-height:36px;font-size:11px;font-weight:650;color:#28816c;margin-top:4px;max-width:100%;overflow-wrap:anywhere;text-decoration:none}.sp-answer-link svg{width:12px;height:12px}.sp-answer-choices{display:grid;gap:6px;margin-top:8px}.sp-answer-choices button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:start;width:100%;min-height:44px;border:1px solid #dbe8e5;border-radius:8px;padding:8px 10px;background:#f4faf7;color:#426f60;font-size:11px;line-height:1.6}.sp-answer-choices svg{width:12px;height:12px}
.sp-topics{flex:none;background:#fff;border-top:1px solid #e4ece6;padding:0 13px}.sp-topics>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:10px 0;min-height:42px;font-size:11px;color:#476b65;font-weight:600;cursor:pointer}.sp-topics>summary::-webkit-details-marker{display:none}.sp-topics>summary>span{display:grid;place-items:center;min-width:20px;height:18px;margin-inline-start:auto;background:#edf4f0;border-radius:5px;font-size:9px;color:#759184}.sp-topics>summary>svg{width:13px;height:13px;transform:rotate(90deg);color:#749886}.sp-topics[open]>summary>svg{transform:rotate(-90deg)}.sp-topics>div{display:grid;grid-template-columns:1fr;gap:5px;max-height:132px;overflow-y:auto;padding-bottom:10px;scrollbar-width:thin}.sp-topics button{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:42px;border:1px solid #e0e9e3;background:#f8fbf8;border-radius:8px;padding:8px 10px;font-size:11px;line-height:1.55;color:#42675a;text-align:start;overflow-wrap:anywhere}.sp-topics button:hover{background:#edf7ef;border-color:#b9d7c8;color:#307455}.sp-topics button>svg{width:12px;height:12px}
.sp-form{flex:none;background:#fff;padding:10px 12px 8px;border-top:1px solid #e5ece7}.sp-form>div{display:flex;align-items:center;gap:8px;padding:3px 4px 3px 10px;border:1px solid #d7e4dc;border-radius:10px;background:#f9fbf9}.sp-form>div:focus-within{border-color:#95beb0;box-shadow:0 0 0 2px #edf6ef}.sp-form input{border:0;background:transparent;outline:0;box-shadow:none;min-width:0;flex:1;width:100%;height:36px;padding:0;font-size:12px;color:#355863}.sp-form input::placeholder{color:#92a69e}.sp-form>div>button{width:36px;height:36px;flex:none;display:grid;place-items:center;border:0;border-radius:8px;background:#28574e;color:#d7efe4;cursor:pointer}.sp-form>div>button:hover{background:#337261}.sp-form>div>button>svg{width:17px;height:17px}.sp-form footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px;background:none;border:0;padding:0;font-size:9px;line-height:1.5;color:#8a9d92}.sp-form footer button{border:0;min-height:24px;padding:0;background:none;font-size:9px;color:#688875;cursor:pointer;text-align:end}.sp-form footer button:hover{color:#2c7057}.sp-backdrop{position:fixed;inset:0;background:#173d4b1f;z-index:-1}.sp-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.support-widget button:focus-visible,.support-widget a:focus-visible,.support-widget summary:focus-visible{outline:2px solid #52b89d;outline-offset:3px}.support-widget .sp-form input:focus-visible{outline:0}
html[dir=rtl] .support-widget{font-family:'Noto Sans Arabic','DM Sans',sans-serif}html[dir=rtl] .support-widget h2{font-family:inherit;letter-spacing:0}html[dir=rtl] .sp-header-top>div>span{letter-spacing:0}html[dir=rtl] .sp-assistant>div{border-radius:12px 12px 3px 12px}html[dir=rtl] .sp-user>p{border-radius:12px 12px 12px 3px}html[dir=rtl] .sp-answer-link>svg,html[dir=rtl] .sp-topics button>svg{transform:scaleX(-1)}
@media(max-width:600px){.support-widget{right:12px;bottom:calc(12px + env(safe-area-inset-bottom) + var(--support-keyboard,0px));z-index:150}.sp-launcher{min-height:46px;padding:6px 10px 6px 7px}.sp-launcher>span{width:29px;height:29px}.sp-launcher b{font-size:11px}.sp-panel{position:fixed;inset:auto 12px calc(72px + env(safe-area-inset-bottom) + var(--support-keyboard,0px)) auto;width:min(320px,calc(100vw - 24px));max-width:none;height:min(460px,calc(var(--support-vh,100dvh) * .68));max-height:calc(var(--support-vh,100dvh) - 100px - env(safe-area-inset-bottom));border-radius:16px}.sp-header{padding:11px 12px 9px}.sp-header-top{gap:8px}.sp-header-top>div>span{display:none}.sp-header h2{font-size:14px;line-height:1.4}.sp-close{width:40px;height:44px}.sp-status{margin-top:4px}.sp-avatar{width:28px;height:28px}.sp-channels{padding:8px 10px;gap:5px}.sp-channel{min-height:44px;font-size:10px;padding:8px 4px}.sp-channel svg{width:16px;height:16px}.sp-conversation{padding:12px 10px}.sp-message p{font-size:12px}.sp-topics{padding-inline:11px}.sp-topics button{min-height:44px}.sp-topics>div{max-height:120px}.sp-form{padding:8px 10px 6px}.sp-form input{font-size:16px;height:40px}.sp-form>div>button{width:40px;height:40px}.sp-form footer>span{display:none}.sp-form footer{justify-content:flex-end}.sp-form footer button{font-size:10px}.sp-backdrop{backdrop-filter:none}}
.sp-short .sp-panel{overflow-y:auto}.sp-short .sp-status,.sp-short .sp-header-top>div>span,.sp-short .sp-avatar,.sp-short .sp-form footer{display:none}.sp-short .sp-header{padding:6px 11px}.sp-short .sp-header h2{font-size:14px}.sp-short .sp-channels{padding-block:6px}.sp-short .sp-channel{min-height:40px;padding-block:6px}.sp-short .sp-topics>summary{min-height:36px;padding-block:7px}.sp-short .sp-topics>div{max-height:88px}.sp-short .sp-form{padding-block:6px}.sp-short .sp-conversation{min-height:32px;padding-block:10px}
@media(max-width:600px){.sp-keyboard .sp-launcher,.sp-keyboard .sp-topics,.sp-keyboard .sp-channels,.sp-keyboard .sp-form footer,.sp-keyboard .sp-status,.sp-keyboard .sp-header-top>div>span{display:none}.sp-keyboard .sp-panel{bottom:calc(12px + var(--support-keyboard,0px));height:min(380px,calc(var(--support-vh,100dvh) - 24px));max-height:calc(var(--support-vh,100dvh) - 24px)}.sp-keyboard .sp-header{padding:6px 11px}.sp-keyboard .sp-conversation{min-height:32px}.sp-keyboard .sp-form{padding:6px 10px}}
@keyframes sp-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.sp-panel{animation:none}.sp-launcher{transition:none}.sp-launcher:hover{transform:none}}
.sp-topics:not([open])>div{display:none}
