@charset "UTF-8";
/* Total Solar chat assistant v1.6.1 — brand: navy var(--ts-navy) #0B2545 / ink #06172d, yellow var(--ts-yellow) #FFD700 */
.ts-cb{--cb-navy:var(--ts-navy,#0B2545);--cb-ink:var(--ts-ink,#06172d);--cb-yellow:var(--ts-yellow,#FFD700);--cb-blue:var(--ts-blue,#2793EB);--cb-bg:#f4f6fa;--cb-line:#e2e8f0;--cb-text:#16243a;--cb-muted:#5b6b80;--cb-ease:cubic-bezier(.2,.8,.2,1);position:fixed;right:24px;bottom:24px;z-index:99990;font-family:Montserrat,system-ui,-apple-system,sans-serif;font-size:15px;line-height:1.5;color:var(--cb-text)}
.ts-cb *{box-sizing:border-box}
.ts-cb svg{display:block}
/* Launcher */
.ts-cb-launch{display:flex;align-items:center;gap:10px;margin-left:auto;height:60px;min-width:60px;padding:0 22px 0 18px;background:var(--cb-navy);color:#fff;border:2px solid var(--cb-yellow);border-radius:999px;font:700 15px Montserrat,sans-serif;box-shadow:0 12px 30px rgba(6,23,45,.35),0 2px 6px rgba(6,23,45,.2);cursor:pointer;transition:transform .2s var(--cb-ease),box-shadow .2s}
.ts-cb-launch svg{width:26px;height:26px;color:#fff}
.ts-cb-launch:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(6,23,45,.4)}
.ts-cb.is-open:not(.is-closing) .ts-cb-launch{display:none}
.ts-cb.is-closing .ts-cb-launch{display:none}
.ts-cb-launch:focus-visible,.ts-cb button:focus-visible,.ts-cb a:focus-visible,.ts-cb input:focus-visible,.ts-cb select:focus-visible,.ts-cb textarea:focus-visible{outline:3px solid var(--cb-blue);outline-offset:2px}
/* Panel */
.ts-cb-panel{width:400px;max-width:calc(100vw - 32px);height:640px;max-height:calc(100vh - 48px);display:flex;flex-direction:column;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 24px 64px rgba(6,23,45,.35),0 4px 14px rgba(6,23,45,.15);transform-origin:bottom right}
.ts-cb-panel[hidden]{display:none}
/* Header */
.ts-cb-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 16px 16px 18px;color:#fff;background:linear-gradient(135deg,var(--cb-ink) 0%,var(--cb-navy) 100%);position:relative}
.ts-cb-head:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--cb-yellow),#ffb800)}
.ts-cb-head-id{display:flex;align-items:center;gap:12px;min-width:0}
.ts-cb-head strong{display:block;font-size:16px;font-weight:800;color:#fff;letter-spacing:-.01em}
.ts-cb-head small{display:flex;align-items:center;gap:6px;color:#b7c6d8;font-size:12px;font-weight:500}
.ts-cb-dot{width:8px;height:8px;border-radius:50%;background:#34d399;box-shadow:0 0 0 3px rgba(52,211,153,.25)}
.ts-cb-close{flex:0 0 auto;width:38px;height:38px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:0;border-radius:50%;color:#fff;cursor:pointer;transition:background .15s}
.ts-cb-close:hover{background:rgba(255,255,255,.18)}
.ts-cb-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.ts-cb-avatar{flex:0 0 auto;width:30px;height:30px;border-radius:50%;background:var(--cb-navy);display:grid;place-items:center;box-shadow:0 2px 6px rgba(6,23,45,.2)}
.ts-cb-avatar svg{width:20px;height:20px}
.ts-cb-avatar-lg{width:42px;height:42px;background:rgba(255,255,255,.1);border:1.5px solid rgba(255,215,0,.6);box-shadow:none}
.ts-cb-avatar-lg svg{width:28px;height:28px}
/* Log + bubbles */
.ts-cb-log{flex:1;overflow-y:auto;padding:18px 14px 10px;background:var(--cb-bg);display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}
.ts-cb-row{display:flex;align-items:flex-end;gap:8px;max-width:100%}
.ts-cb-row-user{justify-content:flex-end}
.ts-cb-msg{max-width:82%;padding:11px 14px;border-radius:18px;overflow-wrap:anywhere;font-size:14.5px}
.ts-cb-bot{background:#fff;color:var(--cb-text);border:1px solid var(--cb-line);border-bottom-left-radius:6px;box-shadow:0 1px 2px rgba(6,23,45,.05)}
.ts-cb-user{background:var(--cb-navy);color:#fff;border-bottom-right-radius:6px;box-shadow:0 2px 8px rgba(11,37,69,.2)}
.ts-cb-err{border-color:#f1b5b5;background:#fff5f5;color:#7a1c1c}
.ts-cb-typing{display:flex;gap:5px;align-items:center;padding:14px 16px}
.ts-cb-typing span{width:7px;height:7px;border-radius:50%;background:#94a3b8;animation:tsCbDot 1.2s infinite ease-in-out}
.ts-cb-typing span:nth-child(2){animation-delay:.15s}.ts-cb-typing span:nth-child(3){animation-delay:.3s}
@keyframes tsCbDot{0%,80%,100%{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
.ts-cb-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.ts-cb-links a{font-size:12.5px;font-weight:700;color:var(--cb-navy)!important;background:#fff6c2;border:1px solid #f5e08a;border-radius:999px;padding:4px 11px;text-decoration:none}
.ts-cb-links a:hover{background:var(--cb-yellow)}
.ts-cb-offer,.ts-cb-submit{background:var(--cb-yellow);color:var(--cb-ink);border:0;border-radius:999px;padding:11px 18px;font:800 14px Montserrat,sans-serif;cursor:pointer;box-shadow:0 4px 12px rgba(255,190,0,.35);transition:transform .15s,background .15s}
.ts-cb-offer:hover,.ts-cb-submit:hover{background:#ffe44d;transform:translateY(-1px)}
.ts-cb-submit:disabled{opacity:.6;transform:none}
/* Quick replies */
.ts-cb-chips{display:flex;gap:8px;overflow-x:auto;padding:10px 14px;background:#fff;border-top:1px solid var(--cb-line);scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;mask-image:linear-gradient(90deg,#000 92%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 92%,transparent)}
.ts-cb-chips::-webkit-scrollbar{display:none}
.ts-cb-chips button{flex:0 0 auto;scroll-snap-align:start;border:1.5px solid #cdd6e2;background:#fff;color:var(--cb-navy);border-radius:999px;padding:7px 14px;font:700 13px Montserrat,sans-serif;cursor:pointer;white-space:nowrap;transition:border-color .15s,background .15s}
.ts-cb-chips button:hover{border-color:var(--cb-navy);background:#fffbe6}
/* Composer */
.ts-cb-form{display:flex;align-items:flex-end;gap:8px;padding:10px 12px 8px;background:#fff}
.ts-cb-input{flex:1;resize:none;border:1.5px solid #d3dbe6;border-radius:22px;padding:11px 16px;font:16px system-ui,sans-serif;line-height:1.35;max-height:110px;background:var(--cb-bg);color:var(--cb-text);transition:border-color .15s,background .15s}
.ts-cb-input:focus{border-color:var(--cb-navy);background:#fff;outline:none;box-shadow:0 0 0 3px rgba(39,147,235,.25)}
.ts-cb-send{flex:0 0 auto;width:46px;height:46px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--cb-yellow);color:var(--cb-ink);cursor:pointer;transition:transform .15s}
.ts-cb-send svg{width:20px;height:20px}
.ts-cb-send:hover{transform:scale(1.05)}.ts-cb-send:disabled{opacity:.5;transform:none}
.ts-cb-foot{font-size:10.5px;line-height:1.4;color:var(--cb-muted);text-align:center;padding:0 16px 10px;background:#fff}
.ts-cb-foot a{color:var(--cb-navy)!important;font-weight:700;text-decoration:none}
/* Lead form */
.ts-cb-lead{display:flex;flex-direction:column;gap:10px;max-width:100%;width:100%;padding:16px}
.ts-cb-lead>strong{font-size:15px;font-weight:800;color:var(--cb-navy)}
.ts-cb-lead label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#33445a;text-transform:none}
.ts-cb-lead input[type=text],.ts-cb-lead input[type=tel],.ts-cb-lead input[type=email],.ts-cb-lead textarea,.ts-cb-lead select{width:100%;border:1.5px solid #d3dbe6;border-radius:12px;padding:10px 12px;font:16px system-ui,sans-serif;background:#fff;color:var(--cb-text);transition:border-color .15s,box-shadow .15s}
.ts-cb-lead input:focus,.ts-cb-lead textarea:focus,.ts-cb-lead select:focus{border-color:var(--cb-navy);outline:none;box-shadow:0 0 0 3px rgba(39,147,235,.25)}
.ts-cb-lead .ts-cb-consent{flex-direction:row;align-items:flex-start;gap:8px;font-weight:500;font-size:12px;color:#33445a}
.ts-cb-consent input{margin-top:2px;width:18px;height:18px;accent-color:var(--cb-navy);flex:0 0 auto}
.ts-cb-consent a{color:var(--cb-navy)!important;font-weight:700}
.ts-cb-lead .ts-cb-submit{width:100%;padding:13px}
.ts-cb-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px}
.ts-cb-ferr{color:#b42318;font-size:13px;font-weight:600}.ts-cb-ferr:empty{display:none}
/* Service menu 2x2 */
.ts-cb-menu{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:100%;width:100%;padding:0;background:none;border:0;box-shadow:none}
.ts-cb-menu-btn{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;min-height:118px;border:1.5px solid var(--cb-line);background:#fff;color:var(--cb-text);border-radius:16px;padding:14px 12px;font-family:Montserrat,sans-serif;cursor:pointer;box-shadow:0 1px 3px rgba(6,23,45,.06);transition:transform .15s var(--cb-ease),border-color .15s,box-shadow .15s}
.ts-cb-menu-btn:hover{border-color:var(--cb-yellow);transform:translateY(-2px);box-shadow:0 8px 18px rgba(6,23,45,.1)}
.ts-cb-menu-ico{width:38px;height:38px;border-radius:12px;background:var(--cb-navy);display:grid;place-items:center}
.ts-cb-menu-ico svg{width:20px;height:20px;fill:none;stroke:var(--cb-yellow);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ts-cb-menu-title{font-size:13.5px;font-weight:800;line-height:1.25;color:var(--cb-navy)}
.ts-cb-menu-desc{font-size:11.5px;line-height:1.35;color:var(--cb-muted);font-weight:500}
/* Mobile */
@media (max-width:520px){
.ts-cb{right:16px;bottom:calc(16px + env(safe-area-inset-bottom))}
.ts-cb.is-open{inset:0}
.ts-cb-panel{width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0}
.ts-cb-head{padding-top:calc(14px + env(safe-area-inset-top))}
.ts-cb-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom))}
.ts-cb-launch{width:60px;padding:0;justify-content:center}
.ts-cb-launch-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ts-cb-msg{max-width:86%}
}
/* Motion */
@media (prefers-reduced-motion:no-preference){
.ts-cb.is-open .ts-cb-panel{animation:tsCbIn .24s var(--cb-ease)}
.ts-cb.is-closing .ts-cb-panel{animation:tsCbOut .16s ease-in forwards}
.ts-cb-row{animation:tsCbMsg .22s var(--cb-ease)}
.ts-cb-launch{animation:tsCbPop .3s var(--cb-ease)}
@keyframes tsCbIn{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:none}}
@keyframes tsCbOut{to{opacity:0;transform:translateY(12px) scale(.97)}}
@keyframes tsCbMsg{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes tsCbPop{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}
}
@media (prefers-reduced-motion:reduce){.ts-cb *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Conversion: header call, welcome cards, CTA bar, nudge, thanks */
.ts-cb-head-act{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.ts-cb-call{display:flex;align-items:center;gap:6px;height:38px;padding:0 12px;border-radius:999px;background:var(--cb-yellow);color:var(--cb-ink)!important;font:800 12.5px Montserrat,sans-serif;text-decoration:none;white-space:nowrap}
.ts-cb-call svg{width:16px;height:16px;fill:currentColor}
.ts-cb-call:hover{background:#ffe44d}
.ts-cb-welcome{display:flex;flex-direction:column;gap:8px;width:100%;max-width:100%}
.ts-cb-cta-big{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;border:0;border-radius:18px;background:linear-gradient(135deg,#FFE14D,var(--cb-yellow) 60%,#ffc400);color:var(--cb-ink);cursor:pointer;font-family:Montserrat,sans-serif;box-shadow:0 8px 22px rgba(255,190,0,.4);transition:transform .15s var(--cb-ease),box-shadow .15s}
.ts-cb-cta-big:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(255,190,0,.5)}
.ts-cb-cta-big strong{display:block;font-size:17px;font-weight:800;line-height:1.2}
.ts-cb-cta-big small{display:block;font-size:12.5px;font-weight:600;color:#3a3200;margin-top:2px}
.ts-cb-cta-ico{flex:0 0 auto;width:44px;height:44px;border-radius:14px;background:var(--cb-navy);display:grid;place-items:center}
.ts-cb-cta-ico svg{width:24px;height:24px;fill:none;stroke:var(--cb-yellow);stroke-width:2;stroke-linecap:round}
.ts-cb-cta-arrow{margin-left:auto;font-size:20px;font-weight:800}
.ts-cb-cta-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ts-cb-cta-sec{display:flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:9px 12px;border:1.5px solid var(--cb-navy);border-radius:14px;background:#fff;color:var(--cb-navy)!important;font:800 13px Montserrat,sans-serif;text-decoration:none;cursor:pointer}
.ts-cb-cta-sec:hover{background:#fffbe6}
.ts-cb-ctabar{display:flex;flex-wrap:wrap;gap:8px}
.ts-cb-offer-sec{background:#fff;color:var(--cb-navy);border:1.5px solid var(--cb-navy);border-radius:999px;padding:9.5px 16px;font:800 14px Montserrat,sans-serif;cursor:pointer}
.ts-cb-offer-sec:hover{background:#fffbe6}
.ts-cb-lead-sub{margin:-4px 0 2px;font-size:12.5px;color:var(--cb-muted)}
.ts-cb-lead-alt{margin:0;text-align:center;font-size:12.5px;color:var(--cb-muted)}
.ts-cb-lead-alt a{color:var(--cb-navy)!important;font-weight:800}
.ts-cb-thanks{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;width:100%;max-width:100%;padding:22px 18px}
.ts-cb-thanks strong{font-size:17px;font-weight:800;color:var(--cb-navy)}
.ts-cb-thanks p{margin:0;font-size:14px}
.ts-cb-thanks-ico{width:52px;height:52px;border-radius:50%;background:#e7f8ef;display:grid;place-items:center}
.ts-cb-thanks-ico svg{width:28px;height:28px;fill:none;stroke:#0f9f5a;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ts-cb-thanks .ts-cb-cta-sec{width:100%}
.ts-cb-nudge{position:relative;display:flex;align-items:flex-start;max-width:260px;margin:0 0 12px auto;background:#fff;border-radius:16px 16px 4px 16px;box-shadow:0 12px 30px rgba(6,23,45,.25)}
.ts-cb-nudge-text{flex:1;text-align:left;background:none;border:0;padding:13px 6px 13px 15px;font:700 14px/1.4 Montserrat,sans-serif;color:var(--cb-navy);cursor:pointer}
.ts-cb-nudge-x{flex:0 0 auto;width:32px;height:32px;margin:4px;border:0;border-radius:50%;background:none;color:var(--cb-muted);font-size:20px;line-height:1;cursor:pointer}
.ts-cb-nudge-x:hover{background:var(--cb-bg)}
.ts-cb.is-open .ts-cb-nudge{display:none}
@media (max-width:520px){.ts-cb-call span{display:none}.ts-cb-call{width:38px;padding:0;justify-content:center}.ts-cb-nudge{max-width:220px}}
@media (prefers-reduced-motion:no-preference){.ts-cb-nudge{animation:tsCbMsg .3s var(--cb-ease)}}
.ts-cb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ts-cb-call{width:38px;padding:0;justify-content:center}
.ts-cb-head strong{white-space:nowrap}
.ts-cb-call{position:relative;overflow:hidden}.ts-cb-sr{clip-path:inset(50%)}
/* v1.6.3 Wi-Fi reset */
.ts-cb-menu-wide{grid-column:1/-1;min-height:0;flex-direction:row;align-items:center;flex-wrap:wrap;column-gap:10px}
.ts-cb-menu-wide .ts-cb-menu-desc{flex-basis:100%;margin-left:48px;margin-top:-8px}
.ts-cb-brands{display:flex;flex-wrap:wrap;gap:6px;background:none;border:0;box-shadow:none;padding:0}
.ts-cb-brands button,.ts-cb-brands select{border:1.5px solid var(--cb-line);background:#fff;border-radius:999px;padding:7px 12px;font:600 12.5px Montserrat,sans-serif;color:var(--cb-navy);cursor:pointer}
.ts-cb-brands button:hover{border-color:var(--cb-yellow)}
.ts-cb-wifi ol{margin:6px 0 8px;padding-left:18px}
.ts-cb-wifi li{margin:3px 0}
.ts-cb-wifi em{display:block;margin-top:8px;font-weight:700;font-style:normal;font-size:12px;color:var(--cb-navy)}
.ts-cb-wifi-safe{background:#fff7e6;border-left:3px solid #f5a623;padding:6px 8px;border-radius:6px;font-size:12px;margin:6px 0}
.ts-cb-wifi-note,.ts-cb-wifi-src{font-size:11.5px;color:var(--cb-muted);margin:4px 0}
.ts-cb-yt{margin:8px 0 0}
.ts-cb-yt-play{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;border-radius:10px;overflow:hidden;cursor:pointer;background:#000}
.ts-cb-yt-play img{width:100%;height:100%;object-fit:cover;display:block}
.ts-cb-yt-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:48px;height:34px;border-radius:9px;background:rgba(220,0,0,.9)}
.ts-cb-yt-icon::after{content:"";position:absolute;left:19px;top:10px;border-style:solid;border-width:7px 0 7px 12px;border-color:transparent transparent transparent #fff}
.ts-cb-yt iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:10px}
.ts-cb-yt figcaption{font-size:11px;color:var(--cb-muted);margin-top:3px}

/* 1.7.0: keep the chat bubble above the mobile Call/Quote bar */
@media (max-width:768px){.ts-cb{bottom:calc(84px + env(safe-area-inset-bottom))!important}}

/* 1.7.1 lead flow: hide quick buttons while collecting details */
.ts-cb-in-flow .ts-cb-chips,.ts-cb-in-flow .ts-cb-welcome,.ts-cb-in-flow .ts-cb-menu{display:none!important}
.ts-cb-interest{flex-wrap:wrap}
/* 1.7.2: keep launcher clear of form submit buttons */
.ts-cb--form-page .ts-cb-nudge{display:none!important}
.wpforms-container .wpforms-submit-container{padding-bottom:96px!important}
@media (max-width:768px){.wpforms-container .wpforms-submit-container{padding-bottom:168px!important}}

/* 1.7.4 skip link */
.ts-cb-skip{margin:-2px 0 6px}
.ts-cb-skip-link{background:none;border:0;padding:4px 2px;color:var(--cb-navy);font:600 13px/1.3 Montserrat,sans-serif;text-decoration:underline;cursor:pointer}
.ts-cb-skip-link:hover{text-decoration:none}
/* 1.7.5 intent form */
.ts-cb-intent-form textarea{min-height:56px;resize:vertical}
.ts-cb-intent-q{opacity:.9}
.ts-cb-contact-act{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* 1.7.6 form-active + mobile full-screen */
.ts-cb--form-active .ts-cb-form,.ts-cb--form-active .ts-cb-foot,.ts-cb--form-active .ts-cb-chips{display:none!important}
.ts-cb .ts-cb-foot{display:none}
.ts-cb--qmode:not(.ts-cb--form-active) .ts-cb-foot{display:block}
.ts-cb-back{display:block;margin:0 0 6px;font-size:13px}
.ts-cb input,.ts-cb textarea,.ts-cb select{font-size:16px!important}
@media (max-width:768px){
.ts-cb.is-open{inset:0!important;bottom:0!important;right:0!important}
.ts-cb.is-open .ts-cb-panel{position:fixed;left:0;top:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0}
.ts-cb-head{padding-top:calc(14px + env(safe-area-inset-top))}
.ts-cb--form-active .ts-cb-log{padding-bottom:calc(16px + env(safe-area-inset-bottom))}
.ts-cb.is-open .ts-cb-launch{display:none}
}
