/* Hyperr Assistant v1.1 – independently scoped; soft natural white chat UI */
#ha-app,#ha-cookie,#ha-cookie-reopen{font-family:Inter,"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:normal;line-height:1.5;-webkit-font-smoothing:antialiased}
#ha-app *,#ha-cookie *,#ha-cookie-reopen{box-sizing:border-box}
#ha-app{position:fixed!important;right:19px!important;bottom:19px!important;z-index:2147483000!important;color:#112342;font-size:14px}
#ha-app [hidden],#ha-cookie[hidden],#ha-cookie [hidden],#ha-cookie-reopen[hidden]{display:none!important}
#ha-app button,#ha-cookie button,#ha-cookie-reopen{font-family:inherit;line-height:1.35;letter-spacing:normal}
#ha-launcher{display:flex;align-items:center;gap:12px;width:min(293px,calc(100vw - 28px));min-height:60px;padding:11px 15px 11px 11px;background:#10213e;color:#fff;border:1px solid #203a63;border-radius:14px 14px 7px 14px;position:relative;overflow:hidden;cursor:pointer;text-align:left;box-shadow:0 16px 42px rgba(6,20,47,.24);transition:transform .18s ease,box-shadow .18s ease}
#ha-launcher::after{content:"";position:absolute;top:0;right:0;width:29px;height:26px;background:#abebc1;border-radius:0 13px 0 26px;opacity:.92}
#ha-launcher:hover{transform:translateY(-3px);box-shadow:0 20px 50px rgba(6,20,47,.28)}
#ha-launcher .ha-launch-mark{display:grid;place-items:center;background:#e6f0ff;border-radius:50%;width:36px;height:36px;flex-shrink:0;color:#2864bd;font-size:18px;font-weight:850}
#ha-launcher .ha-launch-copy{min-width:0;display:block;padding-right:7px}
#ha-launcher strong{display:block;color:#fff;font-size:13px;font-weight:700;letter-spacing:-.015em;line-height:1.3}
#ha-launcher small{display:block;color:#c6d3e7;font-size:11px;margin-top:4px;line-height:1.2}
#ha-launcher .ha-launch-arrow{margin-left:auto;color:#bed6ff;font-size:18px;align-self:flex-end}
#ha-dialog{position:absolute;right:0;bottom:0;width:min(405px,calc(100vw - 28px));height:min(640px,calc(100dvh - 40px));background:#fff;border:1px solid #e2e6ee;border-radius:19px;display:flex;flex-direction:column;box-shadow:0 25px 80px rgba(13,30,57,.23);overflow:hidden;animation:ha-appear .18s cubic-bezier(.2,.7,.2,1)}
@keyframes ha-appear{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
#ha-dialog .ha-chat-head{display:flex;align-items:center;gap:11px;padding:16px 18px;background:#fff;color:#15294c;min-height:79px;border-bottom:1px solid #edf0f5;position:relative;flex-shrink:0}
#ha-dialog .ha-chat-head::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#122b54,#87b6f3,#d6e7fa)}
#ha-dialog .ha-avatar{width:43px;height:43px;border-radius:14px;background:#f0f6ff;border:1px solid #e1e9f6;color:#1555af;display:grid;place-items:center;flex:0 0 43px;overflow:hidden}
#ha-dialog .ha-avatar img{display:block;width:92%;height:92%;object-fit:contain}
#ha-dialog .ha-avatar span{font-weight:900;font-size:18px}
#ha-dialog .ha-chat-identity{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
#ha-dialog .ha-chat-identity strong{color:#142846;font-size:15px;line-height:1.25;font-weight:780;letter-spacing:-.025em}
#ha-dialog .ha-chat-identity small{color:#6c788c;font-size:11px;line-height:1.3}
#ha-dialog .ha-chat-identity small::before{content:"";display:inline-block;width:7px;height:7px;background:#64bd87;border-radius:50%;margin-right:7px;vertical-align:1px}
#ha-close{border:1px solid #e6eaf1;background:#f7f9fc;color:#4b5971;display:grid;place-items:center;border-radius:50%;width:34px;height:34px;cursor:pointer;font-size:23px;line-height:1;flex-shrink:0}
#ha-close:hover{background:#eaf0f7;color:#1d2b4b}
#ha-messages{min-height:110px;flex:1;overflow:auto;padding:21px 17px 15px;background:#fff;display:flex;flex-direction:column;gap:12px;scrollbar-color:#ccd9ea transparent;scrollbar-width:thin}
#ha-messages .ha-bubble{width:fit-content;max-width:87%;align-self:flex-start;background:#f1f4f8;border:1px solid #e8edf3;color:#21334e;border-radius:16px 16px 16px 5px;padding:12px 14px;font-size:13px;line-height:1.66;white-space:pre-wrap;overflow-wrap:anywhere}
#ha-messages .ha-bubble.ha-user{align-self:flex-end;background:#e2efff;border-color:#d5e6fd;color:#0e3b79;border-radius:16px 16px 5px 16px}
#ha-messages .ha-bubble.ha-info{background:#fff9eb;border-color:#f1e4c5;color:#6a5325}
#ha-quick{padding:12px 15px 9px;background:#fff;display:flex;flex-wrap:wrap;gap:7px;overflow:auto;max-height:160px;border-top:1px solid #f0f1f4}
#ha-quick button,#ha-quick a{font:600 11px/1.3 inherit;color:#264d8c;background:#fff;border:1px solid #cfddef;border-radius:100px;padding:9px 11px;cursor:pointer;text-decoration:none;white-space:normal;text-align:left;transition:background .15s ease}
#ha-quick button:hover,#ha-quick a:hover{background:#ecf4ff;color:#143b72}
#ha-quick .ha-quick-lead{background:#142b4b;color:#fff;border-color:#142b4b}
#ha-quick .ha-quick-lead:hover{background:#254c7e;color:#fff}
#ha-chat-form{display:flex;align-items:center;gap:8px;background:#fff;border-top:1px solid #edf0f4;padding:12px 15px;margin:0;flex-shrink:0}
#ha-chat-form input{height:42px;min-width:0;flex:1;background:#f7f9fc!important;border:1px solid #e6ecf4!important;box-shadow:none!important;border-radius:12px!important;padding:11px 13px!important;color:#172842!important;font-size:13px!important;font-family:inherit!important}
#ha-chat-form input:focus{border-color:#80b4f5!important;outline:2px solid #dfeeff!important}
#ha-chat-form button{width:42px;height:42px;background:#226be2;color:#fff;border:0;border-radius:12px;cursor:pointer;font-size:22px;display:grid;place-items:center}
#ha-chat-form button:hover{background:#1459bf}
#ha-chat-form button:disabled{opacity:.5;cursor:wait}
#ha-privacy-line{display:flex;align-items:start;gap:10px;padding:0 15px 8px;border:0;background:#fff;font-size:10px;color:#718098;line-height:1.4;flex-shrink:0}
#ha-privacy-line label{display:flex;align-items:start;gap:7px;flex:1}
#ha-privacy-line input{width:14px;height:14px;margin:0;flex-shrink:0;accent-color:#2475df}
#ha-privacy-line a{color:#3268b3;text-decoration:underline}
#ha-chat-helper{text-align:center;font-size:10px;color:#9ca6b5;padding:0 14px 10px;background:#fff;flex-shrink:0}
#ha-lead{min-height:0;overflow:auto;flex:1;background:#fff;padding:18px 19px}
#ha-lead strong{font-size:16px;color:#162d4c;font-weight:750}
#ha-lead p{font-size:12px;color:#718299;line-height:1.55}
#ha-lead-form{display:grid;gap:10px}
#ha-lead-form label{display:grid;gap:5px;font-size:11px;font-weight:650;color:#344962}
#ha-lead-form input,#ha-lead-form select,#ha-lead-form textarea{width:100%;min-height:40px;font-family:inherit!important;font-size:13px!important;color:#22334e!important;background:#fff!important;border:1px solid #d9e1ec!important;border-radius:10px!important;padding:9px 10px!important;box-shadow:none!important}
#ha-lead-form textarea{min-height:80px;resize:vertical}
#ha-lead-form input:focus,#ha-lead-form select:focus,#ha-lead-form textarea:focus{outline:2px solid #dceafa;border-color:#79aaef!important}
#ha-lead-form label.ha-consent-row{display:flex;gap:9px;align-items:start;font-size:11px;color:#64748c}
#ha-lead-form .ha-consent-row input{min-height:16px;width:16px;flex:0 0 16px;margin-top:2px;accent-color:#2874e5}
#ha-lead-form .ha-consent-row a{color:#2569c7;text-decoration:underline}
#ha-lead-form .ha-honeypot{display:none!important}
#ha-lead-form>button{background:#216be3;border:0;color:white;min-height:42px;border-radius:11px;font-weight:700;font-size:12px;cursor:pointer}
#ha-lead-form #ha-lead-back{background:#f3f6fa;color:#426185;border:1px solid #dce4ed}
#ha-lead-error{margin:0!important;color:#b42a3c!important;font-size:12px!important}
.ha-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
#ha-cookie{position:fixed!important;left:14px!important;bottom:14px!important;z-index:2147483001!important;width:min(420px,calc(100vw - 28px));color:#fff;background:#16294b;border:1px solid #263e63;padding:18px;border-radius:17px;box-shadow:0 13px 35px rgba(5,21,47,.28)}
#ha-cookie strong{display:block;font-size:18px;line-height:1.3;color:#fff;font-weight:750;letter-spacing:-.03em}
#ha-cookie p{margin:10px 0 15px;color:#e3e9f4;font-size:12px;line-height:1.7}
#ha-cookie a{color:#fff;text-decoration:underline;font-weight:700}
#ha-cookie .ha-cookie-actions{display:grid;grid-template-columns:1fr 1fr 1fr;gap:9px}
#ha-cookie .ha-cookie-actions button,#ha-cookie-prefs>button{min-height:42px;background:#fff;color:#162c52;border:0;border-radius:7px;padding:8px 6px;font-weight:650;font-size:11px;cursor:pointer;line-height:1.3}
#ha-cookie .ha-cookie-actions button:hover,#ha-cookie-prefs>button:hover{background:#d9eaff;color:#14345c}
#ha-cookie-prefs{border-top:1px solid #ffffff35;margin-top:15px;padding-top:12px}
#ha-cookie-prefs label{display:flex;justify-content:space-between;align-items:center;margin:10px 0;font-size:12px;color:#edf4fe}
#ha-cookie-prefs input{accent-color:#76affc;width:17px;height:17px}
#ha-cookie-prefs>button{width:100%;margin-top:8px}
#ha-cookie-reopen{position:fixed!important;bottom:8px!important;left:8px!important;z-index:2147482999!important;border:1px solid #dde4ee;border-radius:100px;background:#fff;color:#4b5d75;padding:7px 12px;font-size:11px;box-shadow:0 4px 15px #152a4922;cursor:pointer}
@media(max-width:620px){#ha-app{right:9px!important;bottom:10px!important}#ha-launcher{min-height:54px;width:min(282px,calc(100vw - 18px))}#ha-dialog{position:fixed;right:0;bottom:0;width:100vw;max-width:none;height:min(690px,calc(100dvh - 16px));border-radius:20px 20px 0 0}#ha-quick{max-height:140px}#ha-messages{padding:16px}#ha-cookie{left:10px!important;bottom:10px!important;width:calc(100vw - 20px);padding:16px}#ha-cookie .ha-cookie-actions{gap:6px}#ha-cookie .ha-cookie-actions button{font-size:10px;padding:7px 4px}#ha-privacy-line{padding:0 12px 7px}}
@media(prefers-reduced-motion:reduce){#ha-app *,#ha-cookie *{animation:none!important;transition:none!important}}

/* v1.2 conversion flow: two clear actions after choosing a service */
#ha-quick .ha-action-link{display:inline-flex;align-items:center;justify-content:center;min-height:39px;border-radius:12px;padding:10px 13px;font-size:12px;font-weight:750;text-decoration:none;background:#f0f5fc;color:#133d77;border:1px solid #cfdef2;transition:background .15s,color .15s}
#ha-quick .ha-action-link:hover{background:#e0efff;color:#12375f}
#ha-quick .ha-action-link.ha-action-main{background:#162b4c;color:white;border-color:#162b4c}
#ha-quick .ha-action-link.ha-action-main:hover{background:#254a78;color:white}
#ha-quick{max-height:185px;overscroll-behavior:contain}
#ha-quick>button{min-height:35px}
@media(min-width:600px){#ha-dialog{height:min(620px,calc(100dvh - 40px))}}
