/* Homepage search and original assistant integration; do not style other Account 1 pages. */
.search-box{flex-wrap:wrap;min-width:min(355px,calc(100vw - 24px));max-width:min(440px,calc(100vw - 24px));align-items:center}
.search-box.open{display:flex}.search-box input{flex:1;min-width:150px;max-width:100%}
.hk-search-results{width:100%;max-height:min(390px,60vh);overflow-y:auto;padding:5px;background:#fff;border:1px solid #e2c551;border-radius:12px;box-shadow:0 8px 24px #1c20574d}
.hk-search-results[hidden]{display:none!important}
.hk-search-heading{margin:6px 7px;font-size:16px;font-weight:800;color:#09245d}
.hk-search-hit{display:flex;flex-direction:column;gap:3px;padding:9px 10px;border-bottom:1px solid #e5e8f3;text-align:left;color:#081953;text-decoration:none;border-radius:4px;line-height:1.15}
.hk-search-hit strong{font-size:16px}.hk-search-hit span{font-size:16px;font-weight:500}
.hk-search-hit:hover,.hk-search-hit:focus-visible{background:#e9eeff}
.eco-link:is(button){font-family:inherit;cursor:pointer}
.footer-assistant-button{border:1px solid #ffd426;background:#93004b;color:#fff;border-radius:30px;padding:6px 10px;font-size:16px;font-weight:900;cursor:pointer;max-width:100%}
.footer-assistant-button:hover{background:#073daa}
#hkem-assistant{right:10px;bottom:10px;z-index:14000}
#hkem-assistant:not(.hkem-chat-open) .hkem-launcher{width:min(170px,35vw);max-width:170px}
#hkem-assistant.hkem-chat-open{right:10px;bottom:10px;z-index:14000}
#hkem-assistant .hkem-chat-log{min-height:0}
@media(max-width:640px){.search-box{right:4px;top:100%;min-width:min(330px,calc(100vw - 8px))}.search-box input{font-size:16px}.hk-search-results{max-height:55vh}.footer-assistant-button{font-size:16px}}
@media(prefers-reduced-motion:reduce){#hkem-assistant .hkem-launcher{animation:none!important}}

/* Approved embedded phone-sized platform window with an always-available website link. */
.hk-preview-phone{position:fixed;inset:0;margin:auto;padding:0;border:5px solid #131325;border-radius:26px;width:min(415px,calc(100vw - 18px));height:min(730px,calc(100dvh - 20px));max-width:calc(100vw - 18px);max-height:calc(100dvh - 20px);overflow:hidden;background:#fff;box-shadow:0 15px 60px #061342a8;z-index:16000}
.hk-preview-phone::backdrop{background:#06153dc9;backdrop-filter:blur(3px)}
.hk-phone-shell{display:flex;flex-direction:column;height:100%;min-height:0}
.hk-phone-head{background:linear-gradient(100deg,#c00069,#062f9d);color:#fff;display:flex;align-items:center;gap:8px;min-height:54px;padding:8px 12px;border-bottom:3px solid #ffd72a}
.hk-phone-head strong{font-size:16px;flex:1;min-width:0;overflow-wrap:anywhere}
.hk-phone-head button{border:2px solid #fff6;border-radius:50%;background:#780041;color:#fff;font-size:25px;width:36px;height:36px;cursor:pointer;line-height:1}
.hk-phone-content{flex:1;min-height:0;background:#f3f5ff}
.hk-phone-content iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.hk-phone-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px;background:#fff;border-top:2px solid #ffdb34}
.hk-phone-actions a,.hk-phone-actions button{display:inline-flex;justify-content:center;align-items:center;text-align:center;flex:1;min-height:38px;border:2px solid #e6bd21;border-radius:20px;padding:8px 12px;color:#fff;background:linear-gradient(#0679ec,#001c85);font-weight:900;font-size:16px;text-decoration:none;cursor:pointer}
.hk-phone-actions button{background:linear-gradient(#ef1186,#84003d)}
@media(max-width:600px){.hk-preview-phone{width:min(390px,calc(100vw - 12px));height:calc(100dvh - 18px);border-width:4px}.hk-phone-head strong{font-size:16px}}

/* Correct iPhone/Safari search placement relative to its real header. */
.mast{position:relative;z-index:50}
.mast .search-box{position:absolute;top:calc(100% - 2px);right:10px;left:auto;z-index:90;max-width:min(445px,calc(100vw - 16px));box-shadow:0 10px 27px #05195055}
.mast .search-box input{font-size:16px;border:1px solid #c9d2e4;border-radius:7px;min-height:39px}
.mast .search-box .btn{min-height:39px}
@media(max-width:640px){
 .mast .search-box{top:calc(100% - 1px);right:3px;left:3px;width:auto;min-width:0;max-width:none;padding:8px;gap:5px}
 .mast .search-box input{min-width:0;flex-basis:55%}
 .mast .search-box .btn{flex:0 0 auto;padding:8px 10px}
}
