/* Hong Seh — Hana AI Concierge. Scoped styles; no changes to Blocksy header/footer. */
#hsg-hana-root, #hsg-hana-root * {box-sizing:border-box}
#hsg-hana-root {--hana-red:#ba263a;--hana-red-bright:#ed5366;--hana-ink:#17202a;--hana-soft:#f4f6f8;--hana-line:#e7eaee;--hana-sub:#6c7480;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;position:fixed;z-index:2147483000;bottom:23px;right:25px;line-height:1.45;color:var(--hana-ink);-webkit-font-smoothing:antialiased}
#hsg-hana-root button,#hsg-hana-root input,#hsg-hana-root textarea,#hsg-hana-root select{font-family:inherit}
#hsg-hana-root button{cursor:pointer}
#hsg-hana-root [hidden]{display:none!important}
#hsg-hana-root a{color:inherit;text-decoration:none}
#hsg-hana-root a:focus-visible,#hsg-hana-root button:focus-visible,#hsg-hana-root textarea:focus-visible,#hsg-hana-root input:focus-visible,#hsg-hana-root select:focus-visible {outline:3px solid #ff9aa3!important;outline-offset:2px}
#hsg-hana-root .hsg-hana-sr {position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}
#hsg-hana-root .hsg-hana-launch{position:relative;display:flex;gap:11px;align-items:center;min-height:65px;border:1px solid rgba(255,255,255,.17);padding:8px 20px 8px 9px;border-radius:20px;background:linear-gradient(135deg,#171d26 0%,#28313b 70%,#1c222b 100%);color:#fff;box-shadow:0 14px 50px rgba(12,21,30,.26),0 0 0 5px rgba(255,255,255,.6);transition:transform .25s,box-shadow .25s}
#hsg-hana-root .hsg-hana-launch:hover{transform:translateY(-3px);box-shadow:0 22px 55px rgba(12,21,30,.30),0 0 0 5px rgba(255,255,255,.70)}
#hsg-hana-root .hsg-hana-launch-avatar{width:48px;height:48px;background:linear-gradient(135deg,#ffe9e5,#f5caca);display:grid;place-items:center;border-radius:15px;font-size:26px}
#hsg-hana-root .hsg-hana-launch-text{text-align:left;min-width:125px}
#hsg-hana-root .hsg-hana-launch-text strong{display:block;font-size:14px;font-weight:800;letter-spacing:.01em}
#hsg-hana-root .hsg-hana-launch-text small{display:block;font-size:10px;opacity:.65;letter-spacing:.03em;margin-top:3px}
#hsg-hana-root .hsg-hana-launch-dot{position:absolute;right:10px;top:10px;background:#45d49f;width:8px;height:8px;border-radius:50%;box-shadow:0 0 0 4px rgba(69,212,159,.13)}
#hsg-hana-root.hsg-hana-open .hsg-hana-launch{display:none}
#hsg-hana-root .hsg-hana-panel{width:min(410px,calc(100vw - 30px));height:min(680px,calc(100dvh - 35px));min-height:420px;display:flex;flex-direction:column;background:#fff;border-radius:22px;border:1px solid rgba(255,255,255,.6);overflow:hidden;box-shadow:0 30px 94px rgba(3,12,23,.27),0 3px 12px rgba(10,16,30,.09);transform-origin:bottom right;animation:hana-enter .28s cubic-bezier(.18,.8,.25,1) both}
@keyframes hana-enter{from{opacity:.1;transform:translateY(17px) scale(.965)}to{opacity:1;transform:translateY(0) scale(1)}}
#hsg-hana-root .hsg-hana-header{min-height:83px;padding:17px 17px 15px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(115deg,#171c22,#2a3037);color:#fff;position:relative}
#hsg-hana-root .hsg-hana-header::after{content:"";position:absolute;left:0;bottom:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#ef5062,#b22333,transparent);background-size:200% 100%;animation:hana-line 7s linear infinite}
@keyframes hana-line{to{background-position:200% 0}}
#hsg-hana-root .hsg-hana-agent{display:flex;gap:11px;align-items:center;min-width:0}
#hsg-hana-root .hsg-hana-avatar{width:46px;height:46px;display:grid;place-items:center;flex:none;background:linear-gradient(135deg,#ffe8e3,#f3c8c8);border:2px solid rgba(255,255,255,.45);border-radius:16px;font-size:24px}
#hsg-hana-root .hsg-hana-title{display:block;min-width:0}
#hsg-hana-root .hsg-hana-title strong{display:block;font-size:17px;letter-spacing:.01em;line-height:1.3}
#hsg-hana-root .hsg-hana-title small{display:block;font-size:10px;font-weight:500;letter-spacing:.02em;color:#c3c9d0;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hsg-hana-root .hsg-hana-ai-label{font-size:9px;letter-spacing:.08em;background:#b72639;color:#fff;padding:3px 5px;vertical-align:middle;border-radius:3px}
#hsg-hana-root .hsg-hana-head-actions{display:flex;align-items:center;gap:8px;flex:none}
#hsg-hana-root .hsg-hana-language{appearance:auto;border:1px solid rgba(255,255,255,.25)!important;border-radius:8px!important;color:#fff!important;background:#323b45!important;padding:6px 5px!important;max-width:73px!important;min-width:0!important;height:34px!important;font-size:11px!important;box-shadow:none!important}
#hsg-hana-root .hsg-hana-language option{color:#161d27;background:#fff}
#hsg-hana-root .hsg-hana-close{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.10);color:#fff;font-size:23px;line-height:1;width:33px;height:33px;border-radius:9px}
#hsg-hana-root .hsg-hana-close:hover{background:var(--hana-red)}
#hsg-hana-root .hsg-hana-band{display:flex;align-items:center;gap:8px;min-height:34px;padding:0 18px;border-bottom:1px solid #e9ecee;background:#fbfcfd;font-size:10px;color:#62707d;font-weight:650}
#hsg-hana-root .hsg-hana-status-dot{width:6px;height:6px;border-radius:50%;background:#49b790;box-shadow:0 0 0 3px rgba(73,183,144,.13)}
#hsg-hana-root .hsg-hana-band-mark{font-size:9px;letter-spacing:.14em;font-weight:900;opacity:.5;margin-left:auto}
#hsg-hana-root .hsg-hana-conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px;background:radial-gradient(ellipse at 99% 0%,rgba(186,38,58,.035),transparent 38%),#fff;scrollbar-width:thin;scrollbar-color:#cfd4d9 #fff}
#hsg-hana-root .hsg-hana-welcome-hero{padding:18px 18px 20px;border:1px solid #e7e9ee;border-radius:17px;background:linear-gradient(135deg,#f8f9fa,#fff);position:relative;overflow:hidden}
#hsg-hana-root .hsg-hana-welcome-hero::after{content:"";position:absolute;right:-25px;bottom:-48px;width:150px;height:150px;border:28px solid rgba(186,38,58,.045);border-radius:50%;pointer-events:none}
#hsg-hana-root .hsg-hana-overline{font-size:9px;letter-spacing:.15em;font-weight:800;color:#b52a3b}
#hsg-hana-root .hsg-hana-welcome-hero h2{font-size:25px!important;margin:15px 0 10px!important;line-height:1.12!important;color:#1c232d!important;letter-spacing:-.045em!important;font-weight:800!important}
#hsg-hana-root .hsg-hana-welcome-hero p{font-size:13px!important;line-height:1.7!important;color:#586272!important;margin:0!important}
#hsg-hana-root .hsg-hana-topics{display:grid;gap:8px;margin:15px 0}
#hsg-hana-root .hsg-hana-topics button{background:#fff;border:1px solid #e1e5e8;color:#252d37;text-align:left;border-radius:10px;padding:11px 14px;font-size:12px;min-height:39px;font-weight:700;transition:border-color .2s,background .2s,transform .2s}
#hsg-hana-root .hsg-hana-topics button::after{content:'↗';float:right;color:#b72435;font-size:15px}
#hsg-hana-root .hsg-hana-topics button:hover{background:#fef6f7;border-color:rgba(186,38,58,.4);transform:translateX(2px)}
#hsg-hana-root .hsg-hana-consent{display:flex;align-items:flex-start;gap:8px;border-top:1px solid #f0f0f0;padding-top:13px;color:#6d7580;font-size:11px;line-height:1.48;cursor:pointer}
#hsg-hana-root .hsg-hana-consent input,#hsg-hana-root .hsg-hana-lead-approve input{accent-color:#b4232e;width:16px;height:16px;flex:none;margin:1px 0 0}
#hsg-hana-root .hsg-hana-privacy{display:inline-block;margin-top:7px;color:#aa2939;font-size:11px;text-decoration:underline}
#hsg-hana-root .hsg-hana-messages{display:grid;align-content:start;gap:13px}
#hsg-hana-root .hsg-hana-bubble{display:block;max-width:91%;animation:hana-bubble .2s ease-out both}
@keyframes hana-bubble{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
#hsg-hana-root .hsg-hana-bubble-tag{font-size:10px;font-weight:800;letter-spacing:.03em;display:block;margin-bottom:5px;color:#7c858f}
#hsg-hana-root .hsg-hana-bubble-text{font-size:12.5px;line-height:1.65;white-space:pre-wrap;word-break:break-word;border-radius:13px;padding:12px 14px;box-shadow:0 2px 8px rgba(15,22,28,.025)}
#hsg-hana-root .hsg-hana-bubble-text a{color:#aa1c36;text-decoration:underline;word-break:break-all}
#hsg-hana-root .hsg-hana-assistant .hsg-hana-bubble-text{background:#f3f5f7;border:1px solid #edf0f1;color:#222d3c;border-bottom-left-radius:4px}
#hsg-hana-root .hsg-hana-user{margin-left:auto}
#hsg-hana-root .hsg-hana-user .hsg-hana-bubble-tag{text-align:right}
#hsg-hana-root .hsg-hana-user .hsg-hana-bubble-text{color:#fff;background:linear-gradient(135deg,#b92539,#9d2132);border-bottom-right-radius:4px}
#hsg-hana-root .hsg-hana-user .hsg-hana-bubble-text a{color:#fff}
#hsg-hana-root .hsg-hana-typing{display:flex;gap:5px;align-items:center;padding:12px 14px;margin-top:15px;width:max-content;background:#f3f5f7;border-radius:14px}
#hsg-hana-root .hsg-hana-typing i{width:6px;height:6px;border-radius:50%;background:#a8adb6;animation:hana-dot 1.1s ease-in-out infinite}
#hsg-hana-root .hsg-hana-typing i:nth-child(2){animation-delay:.17s}#hsg-hana-root .hsg-hana-typing i:nth-child(3){animation-delay:.34s}
@keyframes hana-dot{0%,65%,100%{transform:translateY(0);opacity:.6}35%{transform:translateY(-4px);opacity:1}}
#hsg-hana-root .hsg-hana-lead-card{margin-top:16px;padding:15px;background:#fff;border-radius:14px;border:1px solid #e4c8ce;box-shadow:0 8px 20px rgba(186,38,58,.06)}
#hsg-hana-root .hsg-hana-lead-title{display:flex;justify-content:space-between;align-items:center;gap:10px}
#hsg-hana-root .hsg-hana-lead-title strong{font-size:14px;color:#981e30}
#hsg-hana-root .hsg-hana-lead-dismiss{border:0;background:#f4f5f6;border-radius:6px;width:26px;height:26px;color:#515b66;font-size:20px}
#hsg-hana-root .hsg-hana-lead-card p{margin:10px 0 14px;color:#5b6774;font-size:11px;line-height:1.5}
#hsg-hana-root .hsg-hana-lead-form{display:grid;gap:10px}
#hsg-hana-root .hsg-hana-lead-form>label{display:grid;gap:4px;color:#344151;font-size:11px;font-weight:700}
#hsg-hana-root .hsg-hana-lead-form input:not([type=checkbox]),#hsg-hana-root .hsg-hana-lead-form textarea{display:block;width:100%;min-width:0;font-size:12px;min-height:35px;padding:8px 10px;color:#27313d;background:#f8fafb;border:1px solid #dce2e6;border-radius:7px;box-shadow:none}
#hsg-hana-root .hsg-hana-lead-form textarea{resize:vertical}
#hsg-hana-root .hsg-hana-lead-approve{display:flex!important;gap:7px!important;align-items:flex-start;font-weight:500!important;line-height:1.5}
#hsg-hana-root .hsg-hana-submit-lead{background:#b52337;color:#fff;border:none;border-radius:8px;padding:12px;font-size:12px;font-weight:800;min-height:42px}
#hsg-hana-root .hsg-hana-submit-lead:hover{background:#95212e}
#hsg-hana-root .hsg-hana-lead-card>small{display:block;color:#818894;line-height:1.5;font-size:10px;margin-top:10px}
#hsg-hana-root .hsg-hana-compose{flex:none;background:#fff;border-top:1px solid var(--hana-line);padding:12px 14px 11px}
#hsg-hana-root .hsg-hana-error{font-size:11px;line-height:1.45;background:#fff4f5;border:1px solid #f1d2d7;color:#942039;border-radius:7px;padding:8px 9px;margin-bottom:8px}
#hsg-hana-root .hsg-hana-message-form{display:flex;align-items:center;gap:8px;padding:6px 6px 6px 12px;border:1px solid #dce0e5;border-radius:12px;background:#f8f9fb;min-height:50px}
#hsg-hana-root .hsg-hana-message-form:focus-within{border-color:#c94b5d;box-shadow:0 0 0 3px rgba(186,38,58,.08)}
#hsg-hana-root .hsg-hana-input{flex:1;resize:none;width:100%;min-width:0;min-height:29px;max-height:100px;border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;font-size:12px!important;line-height:1.5!important;padding:6px 0!important;color:#25303b!important;margin:0!important}
#hsg-hana-root .hsg-hana-send{display:grid;place-items:center;flex:none;width:35px;height:35px;border:0;color:#fff;background:linear-gradient(140deg,#c83346,#a92134);border-radius:9px;transition:transform .2s}
#hsg-hana-root .hsg-hana-send:hover{transform:scale(1.05)}
#hsg-hana-root button:disabled{cursor:not-allowed;opacity:.5}
#hsg-hana-root .hsg-hana-actions{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:11px}
#hsg-hana-root .hsg-hana-link,#hsg-hana-root .hsg-hana-end{font-size:11px!important;font-weight:800!important;border:0;background:none;padding:0;color:#a62639;line-height:1.5}
#hsg-hana-root .hsg-hana-link:hover,#hsg-hana-root .hsg-hana-end:hover{text-decoration:underline}
#hsg-hana-root .hsg-hana-whatsapp{color:#147d51}
#hsg-hana-root .hsg-hana-end{margin-left:auto;color:#818893}
#hsg-hana-root .hsg-hana-foot{padding-top:8px;color:#9a9fa6;font-size:9px;text-align:center}
#hsg-hana-root .hsg-hana-honeypot{position:absolute!important;left:-99999px!important;opacity:0!important;width:1px!important;height:1px!important;pointer-events:none!important}
@media(max-width:550px){
  #hsg-hana-root{right:12px;bottom:13px}
  #hsg-hana-root .hsg-hana-panel{width:calc(100vw - 24px);height:min(675px,calc(100dvh - 24px));border-radius:17px}
  #hsg-hana-root .hsg-hana-launch{min-height:58px;padding:7px 16px 7px 7px;border-radius:17px}
  #hsg-hana-root .hsg-hana-launch-avatar{width:44px;height:44px}
  #hsg-hana-root .hsg-hana-conversation{padding:14px}
  #hsg-hana-root .hsg-hana-header{padding:13px}
  #hsg-hana-root .hsg-hana-title small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  #hsg-hana-root *,#hsg-hana-root *::before,#hsg-hana-root *::after{animation:none!important;transition:none!important}
}
