#hkem-assistant{position:fixed;right:14px;bottom:max(14px,env(safe-area-inset-bottom));z-index:10020;font:16px/1.4 Arial,sans-serif}:is(#hkem-assistant,#hk-app-phone) [hidden]{display:none!important}.hkem-launcher{width:76px;height:76px;border:3px solid #ffdf26;border-radius:50%;background:#0736a8;box-shadow:0 7px 25px #0005;cursor:pointer;position:relative;padding:0;animation:hkem-glow 1.8s infinite}.hkem-launcher img{width:100%;height:100%;object-fit:cover;border-radius:50%}.hkem-pulse{position:absolute;right:0;top:0;width:15px;height:15px;border-radius:50%;background:#e72d51;border:2px solid #fff;animation:hkem-blink 1.2s infinite}.hkem-iphone-chat{width:min(355px,calc(100vw - 22px));height:min(600px,calc(100dvh - 35px));border:7px solid #111;border-radius:34px;background:#fff;overflow:hidden;box-shadow:0 16px 48px #0006;display:flex;flex-direction:column}.hkem-chat-header{display:flex;align-items:center;gap:8px;background:#0736a8;color:#fff;padding:12px 9px;min-height:78px}.hkem-chat-header strong{font-size:14px;line-height:1.25;flex:1}.hkem-ai-avatar img{width:45px;height:45px;object-fit:cover;border-radius:50%;border:2px solid #ffdf26}.hkem-chat-header button{border:1px solid #ffffff7a;background:#061b57;color:#fff;border-radius:8px;font-size:20px;min-width:35px;min-height:36px;cursor:pointer}.hkem-chat-log{flex:1;overflow-y:auto;padding:15px 10px;background:#f5f7f3;display:flex;flex-direction:column;gap:12px}.hkem-chat-welcome,.hkem-chat-bot,.hkem-chat-visitor{padding:11px;border-radius:15px;max-width:91%;font-size:15px;line-height:1.45}.hkem-chat-welcome,.hkem-chat-bot{align-self:flex-start;background:#fff;border:1px solid #dce5d8}.hkem-chat-bot{display:flex;align-items:flex-start;gap:8px}.hkem-message-avatar{width:32px;height:32px;object-fit:cover;border-radius:50%;flex-shrink:0}.hkem-chat-visitor{align-self:flex-end;background:#0736a8;color:#fff}.hkem-chat-form{display:flex;gap:6px;padding:10px;background:#fff;border-top:1px solid #ddd}.hkem-chat-form input{min-width:0;flex:1;border:1px solid #aaa;border-radius:9px;padding:10px;font-size:16px}.hkem-chat-form button{background:#ffdf26;border:0;border-radius:9px;padding:9px 13px;font-weight:700;cursor:pointer}@keyframes hkem-glow{50%{box-shadow:0 0 0 9px #ffdf2644,0 7px 25px #0005}}@keyframes hkem-blink{50%{opacity:.25}}@media(max-width:600px){.hkem-iphone-chat{width:min(320px,calc(100vw - 20px));height:min(440px,calc(100dvh - 120px))}#hkem-assistant{right:10px;bottom:max(10px,env(safe-area-inset-bottom))}}@media(prefers-reduced-motion:reduce){.hkem-launcher,.hkem-pulse{animation:none}}
/* Approved assistant artwork is a complete gold-framed portrait and banner, not a circular headshot. */
.hkem-launcher{width:clamp(115px,13vw,180px);height:auto;aspect-ratio:1278/1230;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.hkem-launcher img{width:100%;height:100%;object-fit:contain;border-radius:0}.hkem-launcher .hkem-pulse{top:7%;right:8%}.hkem-launcher:hover{transform:translateY(-3px)}@media(max-width:600px){.hkem-launcher{width:112px}}


/* The supplied AI banner and its original woman's portrait. */
:is(#hkem-assistant,#hk-app-phone) .hkem-launcher{width:240px;height:auto;aspect-ratio:1536/358;padding:0;border:0;background:none;border-radius:0;box-shadow:none;animation:none}
:is(#hkem-assistant,#hk-app-phone) .hkem-launcher img{width:100%;height:100%;object-fit:contain;border-radius:0}
:is(#hkem-assistant,#hk-app-phone) .hkem-portrait-crop{display:block;position:relative;width:46px;height:46px;flex:0 0 46px;overflow:hidden;border-radius:50%;border:2px solid #e3bc45;background:white}
:is(#hkem-assistant,#hk-app-phone) .hkem-portrait-crop img{position:absolute;left:-4%;top:0;height:100%!important;width:auto!important;max-width:none!important;border:0;border-radius:0;object-fit:initial}
:is(#hkem-assistant,#hk-app-phone) .hkem-bot-portrait{width:32px;height:32px;flex-basis:32px}
/* Each reply shows a normal portrait crop rather than the entire launcher banner. */
:is(#hkem-assistant,#hk-app-phone) .hkem-chat-log .hkem-chat-bot>.hkem-bot-portrait{display:block!important;position:relative!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;overflow:hidden!important;border-radius:50%!important;align-self:flex-start!important}
:is(#hkem-assistant,#hk-app-phone) .hkem-chat-log .hkem-bot-portrait>img{display:block!important;position:absolute!important;left:-4%!important;top:0!important;width:auto!important;max-width:none!important;height:100%!important;object-fit:initial!important;border:0!important;border-radius:0!important}


/* One authorized assistance widget. Compact phone-sized conversation. */
#hk-approved-launcher-stack>#hkem-assistant{position:relative!important;inset:auto!important;width:min(100%,240px)!important;pointer-events:auto}
#hkem-assistant.hkem-chat-open{position:fixed!important;inset:auto 12px max(12px,env(safe-area-inset-bottom)) auto!important;width:auto!important;z-index:12000!important}
:is(#hkem-assistant,#hk-app-phone) .hkem-iphone-chat{width:min(350px,calc(100vw - 24px))!important;height:min(520px,78dvh)!important;max-height:calc(100dvh - 32px)!important;border-width:4px!important;border-radius:22px!important}
:is(#hkem-assistant,#hk-app-phone) .hkem-chat-header{background:#061b57}
@media(max-width:600px){:is(#hkem-assistant,#hk-app-phone) .hkem-iphone-chat{width:min(330px,calc(100vw - 24px))!important;height:min(480px,74dvh)!important}}

/* Footer tool controls: compact buttons instead of floating artwork and overflowing captions. */
#hk-footer-tools #hkem-assistant{position:relative!important;inset:auto!important;width:auto!important;z-index:1!important}
#hk-footer-tools #hkem-assistant .hkem-launcher{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:160px!important;min-height:46px!important;height:auto!important;aspect-ratio:auto!important;padding:9px 18px!important;background:linear-gradient(#f900a1,#940058)!important;color:white!important;border:2px solid #ffdf26!important;border-radius:28px!important;font-weight:900!important;font-size:15px!important;line-height:1.2!important;box-shadow:0 2px 7px #0003!important;animation:none!important;transform:none!important}
#hk-footer-tools #hkem-assistant .hkem-launcher:focus-visible{outline:3px solid white;outline-offset:3px}
#hkem-assistant.hkem-chat-open{position:fixed!important;right:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;z-index:12000!important}
@media(max-width:420px){#hk-footer-tools #hkem-assistant .hkem-launcher{min-width:0!important;font-size:13px!important;padding:9px 12px!important}}

/* Approved placement: both original assistant and radio controls right-aligned above footer. */
#hk-footer-tools{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;margin:10px 12px 0!important;padding:8px 4px!important}#hk-footer-tools .hk-footer-radio{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#0048c8!important;color:#fff!important;border:2px solid #ffdf26!important;border-radius:28px!important;min-height:46px!important;padding:9px 18px!important;font-size:15px!important;font-weight:900!important;text-decoration:none!important}#hk-footer-tools #hkem-assistant.hkem-chat-open{position:fixed!important;right:12px!important;bottom:12px!important;z-index:12000!important}
