/* Tour launch button display control */
#imart-tour-launch[hidden],
.imt-launch[hidden] {
  display: none !important;
}

/* Additive learning UI. No app layout, zoom, product data or business logic overrides. */
.imt-launch,.imt-dialog,.imt-layer,.imt-nudge,.imt-inline,.imt-terms-menu,.imt-terms-reference{font-family:'Anuphan','Prompt',system-ui,sans-serif;box-sizing:border-box}
.imt-dialog *,.imt-layer *,.imt-nudge *,.imt-inline *{box-sizing:border-box;font-family:inherit}
.imt-dialog button,.imt-layer button,.imt-nudge button,.imt-launch button,.imt-terms-menu{cursor:pointer;font:inherit;touch-action:manipulation}
.imt-dialog button:focus-visible,.imt-layer button:focus-visible,.imt-launch button:focus-visible,.imt-terms-menu:focus-visible,.imt-nudge button:focus-visible{outline:3px solid #22d3ee;outline-offset:4px}
.imt-icon{width:24px;height:24px;display:inline-block;flex:none;vertical-align:middle}
.imt-title:focus,.imt-tip h2:focus{outline:none}
.imt-dialog .imt-note,.imt-dialog .imt-dots small{color:#786b86}
.imt-dialog .imt-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 34px)}
.imt-dialog .imt-head{flex-shrink:0;background:#ffffffed}
.imt-dialog .imt-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.imt-dialog .imt-footer{flex-shrink:0;background:#fff;padding-top:12px;border-top:1px solid #f2eef8}
/* Stable circle anchor. Only opacity and transform change between expanded/resting states. */
.imt-launch{position:fixed;right:max(14px,calc((100vw - 480px)/2 + 14px));bottom:calc(160px + env(safe-area-inset-bottom));width:54px;height:54px;z-index:1500;font-size:.8rem;font-weight:700;user-select:none;-webkit-tap-highlight-color:transparent}
.imt-launch-stack{position:absolute;right:0;bottom:0;display:flex;flex-direction:column;gap:8px;width:max-content;transform-origin:calc(100% - 27px) calc(100% - 27px);opacity:1;transform:translate3d(0,0,0) scale(1);visibility:visible;transition:opacity .64s ease,transform .78s cubic-bezier(.22,1,.36,1),visibility 0s}
.imt-launch[data-side=left] .imt-launch-stack{left:0;right:auto;transform-origin:27px calc(100% - 27px)}
.imt-launch button{display:flex;align-items:center;gap:9px;min-height:42px;padding:10px 14px;border:1px solid #ffffff60;border-radius:99px;color:#fff;font-size:.78rem;font-weight:700;box-shadow:0 5px 18px #29244420;white-space:nowrap}
.imt-launch-toggle{background:linear-gradient(130deg,#6d4bd6,#a54dbc)}
.imt-launch-chat{background:linear-gradient(130deg,#0284c7,#0d9488)}
.imt-launch.is-collapsed .imt-launch-stack{opacity:0;transform:translate3d(12px,8px,0) scale(.84);visibility:hidden;pointer-events:none;transition:opacity .48s ease,transform .62s cubic-bezier(.22,1,.36,1),visibility 0s .62s}
.imt-launch.is-collapsed[data-side=left] .imt-launch-stack{transform:translate3d(-12px,8px,0) scale(.84)}
.imt-launch .imt-launch-orb{position:absolute;inset:0;display:grid;place-items:center;width:54px;height:54px;padding:0;border:2px solid #ffffff90;border-radius:50%;background:linear-gradient(145deg,#5b3bd9,#8736d8);box-shadow:0 8px 24px #5b3bd945;opacity:0;transform:scale(.86);pointer-events:none;touch-action:pinch-zoom;transition:opacity .5s ease,transform .68s cubic-bezier(.22,1,.36,1)}
.imt-launch .imt-launch-orb::before{content:'';position:absolute;width:32px;height:32px;border-radius:50%;background:linear-gradient(145deg,#0284c7,#0d9488);border:2px solid white;box-shadow:0 4px 14px #00000045;box-sizing:border-box}
.imt-launch .imt-launch-orb .imt-icon{width:16px;height:16px;position:relative;z-index:1}
.imt-launch.is-collapsed .imt-launch-orb{opacity:.5;transform:scale(1);pointer-events:auto}
.imt-launch.is-collapsed:has(:focus-visible) .imt-launch-orb,.imt-launch.is-dragging .imt-launch-orb{opacity:1}
@media(hover:hover){.imt-launch.is-collapsed:hover .imt-launch-orb{opacity:1}}
.imt-launch.is-dragging{will-change:transform}
.imt-launch.is-dragging .imt-launch-orb{cursor:grabbing;transition:none}

/* Homepage Search Form Clear Button - Frameless & Transparent */
.app-search-clear-btn{border:none!important;background:transparent!important;box-shadow:none!important;color:#94a3b8!important;font-size:14px!important;font-weight:700!important;line-height:1!important;cursor:pointer;transition:color .16s ease,transform .16s ease}
.app-search-clear-btn:hover,.app-search-clear-btn:focus-visible{color:#475569!important;transform:scale(1.2);outline:none}

@keyframes imtSeparate{from{opacity:0;transform:translate3d(var(--imt-reveal-x,14px),8px,0) scale(.88)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes imtFoldUp{from{opacity:var(--imt-fold-opacity-0,1);transform:var(--imt-fold-transform-0,translate3d(0,0,0))}to{opacity:0;transform:translate3d(var(--imt-fold-x,24px),12px,0) scale(.86)}}
@keyframes imtFoldDown{from{opacity:var(--imt-fold-opacity-1,1);transform:var(--imt-fold-transform-1,translate3d(0,0,0))}to{opacity:0;transform:translate3d(var(--imt-fold-x,24px),-22px,0) scale(.8)}}
@keyframes imtOrbArrive{from{opacity:0;transform:scale(.86)}to{opacity:.5;transform:scale(1)}}
@keyframes imtOrbRest{from{opacity:.42}to{opacity:.5}}

.imt-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.imt-launch .imt-icon{width:18px;height:18px}
.imt-launch-dot{width:7px;height:7px;border-radius:50%;background:#67e8f9;box-shadow:0 0 0 4px #67e8f91a;margin-left:auto}
.imt-launch-dot.is-online{background:#34d399;box-shadow:0 0 0 4px #34d39926}
.imt-launch[hidden],.imt-nudge[hidden],.imt-layer[hidden]{display:none!important}

/* Chatbot Input High Visibility */
.gds-chat-input,div[role="dialog"] input[type="text"],input[type="password"],div[role="dialog"] input[type="password"]{color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;background-color:#ffffff!important;caret-color:#ea580c!important;opacity:1!important}
.gds-chat-input::placeholder,div[role="dialog"] input[type="text"]::placeholder,input[type="password"]::placeholder{color:#94a3b8!important;-webkit-text-fill-color:#94a3b8!important}
.imt-terms-menu{display:block;width:100%;margin:22px 0 0;padding:13px 8px 4px;border:0;border-top:1px solid #edf0f4;background:transparent;color:#69778d;text-align:center;font-size:.76rem;line-height:1.7}
.imt-terms-menu small{display:block;color:#8893a3;font-size:.67rem;margin-top:3px}
.imt-terms-reference{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;overflow:visible}
.imt-terms-reference::backdrop{background:#16233250}
/* The original terms component is reused unchanged; this reader has no acceptance controls. */
.imt-terms-reference .terms-scroll-body>div:last-child{display:none!important}
.imt-terms-reference .imart-terms-modal-card{padding-bottom:112px!important}
.imt-terms-reference .imart-terms-modal-card>div:last-child:not(.terms-scroll-body){display:none!important}
.imt-terms-reference .imt-terms-footer{position:fixed;box-sizing:border-box;padding:12px 18px 14px;border-top:1px solid #e6edf5;border-radius:0 0 28px 28px;background:#fff;display:flex;align-items:center;gap:12px;color:#51637b;font-size:.73rem;line-height:1.6;z-index:50001}
.imt-terms-reference .imt-terms-footer>div{flex:1;min-width:0}
.imt-terms-reference .imt-terms-footer b,.imt-terms-reference .imt-terms-footer small{display:block}
.imt-terms-reference .imt-terms-footer small{font-size:.65rem;color:#8491a3}
.imt-terms-reference .imt-terms-close{flex:none;border:0;border-radius:12px;background:#edf3fa;color:#265686;padding:12px 15px;min-height:44px;cursor:pointer;font:inherit;font-weight:700}
.imt-terms-reference .imt-terms-close:focus-visible{outline:3px solid #22d3ee;outline-offset:2px}
.imt-dialog{padding:0;border:1px solid #ffffff78;border-radius:30px;width:min(600px,calc(100vw - 20px));max-width:600px;max-height:calc(100dvh - 28px);background:#fff;color:#222443;overflow:auto;overscroll-behavior:contain;box-shadow:0 28px 90px #18103655;margin:auto;touch-action:pan-y pinch-zoom}
.imt-dialog::backdrop{background:#171b37bc;backdrop-filter:blur(7px)}
.imt-shell{position:relative;overflow:hidden;background:radial-gradient(circle at 98% 0,#f3e8ff 0,transparent 37%),#fff}
.imt-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 8px;gap:15px}.imt-brand{font-size:1.6rem;font-weight:800;letter-spacing:-1px;color:#6350d1}.imt-brand i{font-style:normal;color:#fa8c23}.imt-head-label{font-size:.69rem;letter-spacing:1.7px;color:#82749c;font-weight:700}.imt-x{display:grid;place-items:center;border:1px solid #e9e5f3;border-radius:50%;background:#fff9;color:#746b89;width:36px;height:36px;min-height:36px;flex:none}.imt-x .imt-icon{width:17px;height:17px}
.imt-body{padding:15px 26px 24px}.imt-kicker{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:.73rem;font-weight:700;color:#8860cb}.imt-kicker .imt-icon{width:15px;height:15px}.imt-title{font-size:clamp(1.5rem,6.1vw,2rem);line-height:1.38;letter-spacing:-.5px;font-weight:800;margin:0 0 12px;color:#222443}.imt-title em{font-style:normal;color:#734bdd}.imt-copy{font-size:.9rem;line-height:1.8;color:#756f89;margin:0 0 16px}.imt-footer{padding:0 26px 23px}.imt-actions{display:flex;gap:10px;align-items:center}.imt-primary,.imt-secondary{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 17px;border-radius:15px;border:0;font-size:.88rem;font-weight:700}.imt-primary{background:linear-gradient(110deg,#6848df,#b642bc);color:#fff;box-shadow:0 6px 15px #7c3aed22;flex:1}.imt-primary:hover{filter:brightness(1.06)}.imt-primary:disabled{opacity:.5;cursor:default}.imt-secondary{background:#f4f1fa;color:#746883}.imt-primary .imt-icon,.imt-secondary .imt-icon{width:18px;height:18px}.imt-skip{display:block;margin:13px auto 0;border:0;background:none;color:#8d849e;font-size:.75rem;padding:6px;min-height:32px}.imt-dots{display:flex;align-items:center;gap:5px;margin-bottom:17px}.imt-dots span{height:5px;width:20px;background:#e7e1f1;border-radius:99px}.imt-dots [aria-current=step]{width:36px;background:linear-gradient(90deg,#7652e7,#d45dc3)}.imt-dots small{margin-left:auto;font-size:.68rem;color:#978ba7}
.imt-scene{position:relative;height:205px;margin:18px 0 22px;border:1px solid #eee6fb;border-radius:25px;background:radial-gradient(circle at 10% 85%,#e2f9fc,transparent 55%),radial-gradient(circle at 90% 5%,#fbe8f5,transparent 60%),#f4f0ff;display:grid;place-items:center;overflow:hidden}.imt-scene::before,.imt-scene::after{content:'';position:absolute;width:185px;height:185px;border:1px solid #bcace838;border-radius:50%;top:7px;left:calc(50% - 92px)}.imt-scene::after{width:245px;height:245px;left:calc(50% - 122px);top:-24px}
.imt-phone{width:122px;height:177px;border:5px solid #343557;border-radius:22px;background:#fff;box-shadow:0 14px 32px #57449322;padding:12px 9px 10px;position:relative;z-index:1;transform:rotate(-5deg);animation:imtFloat 5s ease-in-out infinite}.imt-phone::before{content:'';width:34px;height:4px;display:block;margin:-7px auto 8px;border-radius:8px;background:#343557}.imt-phone-brand{font-weight:800;font-size:1rem;color:#6450d3;letter-spacing:-.5px}.imt-phone-brand i{font-style:normal;color:#ff963e}.imt-phone-search{background:#f3f0fb;border-radius:9px;font-size:8px;color:#8f81aa;padding:6px;margin:6px 0}.imt-phone-items{display:grid;grid-template-columns:1fr 1fr;gap:5px}.imt-phone-items span{height:39px;border-radius:8px;background:#f1eeff;display:grid;place-items:center;font-size:17px}.imt-phone-items span:nth-child(2){background:#e5f7f4}.imt-phone-items span:nth-child(3){background:#fff0dc}.imt-phone-items span:nth-child(4){background:#fce9f3}.imt-phone-line{height:6px;width:60%;background:#8b5cf6;border-radius:6px;margin:9px auto}.imt-float-card{position:absolute;z-index:2;background:#ffffffed;border:1px solid #fff;border-radius:13px;padding:11px 12px;box-shadow:0 9px 23px #8071a418;font-size:.7rem;font-weight:700;color:#6a4fab;display:flex;align-items:center;gap:7px}.imt-float-card .imt-icon{width:18px;height:18px}.imt-float-card:first-of-type{top:26px;left:15px;transform:rotate(-5deg)}.imt-float-card:last-of-type{bottom:24px;right:13px;transform:rotate(4deg);color:#268c9b}.imt-tags{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 5px}.imt-tags span{font-size:.7rem;padding:6px 9px;border-radius:99px;background:#f3f0fc;color:#75648f}.imt-tags span:nth-child(2){background:#ecfbf8;color:#27837e}.imt-tags span:nth-child(3){background:#fff3e5;color:#a6773d}
.imt-role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0 12px}.imt-role{border:1px solid #e9e1f6;border-radius:17px;background:#fbf9fe;color:#857594;padding:15px 5px;display:grid;gap:8px;justify-items:center;font-size:.8rem;font-weight:700;min-height:91px}.imt-role .imt-icon{width:27px;height:27px}.imt-role[aria-pressed=true]{border-color:#a78bfa;background:#f0eaff;color:#6d42d3;box-shadow:0 4px 13px #7c3aed0b}.imt-role-detail{background:#f7f4fd;border:1px solid #ece6f8;border-radius:18px;padding:18px;min-height:107px}.imt-role-detail b{display:block;color:#554477;font-size:.95rem;margin-bottom:6px}.imt-role-detail p{color:#81768f;font-size:.85rem;line-height:1.8;margin:0}.imt-note{font-size:.71rem;line-height:1.75;color:#96889e;margin:13px 0 0}
.imt-trail-grid{display:grid;gap:10px;margin-top:17px}.imt-trail{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid #eee7f7;background:#fff;border-radius:18px;padding:14px;min-height:80px;width:100%;color:#433959;transition:background .15s,border-color .15s}.imt-trail:hover{background:#faf7ff;border-color:#d8c9f3}.imt-trail-icon{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;color:#7152cc;background:#f1ebff;flex:none}.imt-trail[data-trail=guide] .imt-trail-icon{background:#ffebf6;color:#b94294}.imt-trail[data-trail=branch] .imt-trail-icon{background:#e3faf4;color:#1e947c}.imt-trail[data-trail=income] .imt-trail-icon{background:#eaf2ff;color:#5287cf}.imt-trail b{font-size:.87rem;display:block;line-height:1.6}.imt-trail small{display:block;color:#91869e;font-size:.72rem;line-height:1.65;margin-top:3px}.imt-trail-meta{margin-left:auto;font-size:.7rem;white-space:nowrap;color:#978aa4}.imt-trail[data-completed=true] .imt-trail-meta{color:#178973}.imt-hub-summary{display:flex;align-items:center;justify-content:space-between;margin:18px 0 7px;font-size:.78rem;color:#8c7da0}.imt-hub-progress{height:5px;border-radius:99px;background:#efeaf7;overflow:hidden}.imt-hub-progress span{display:block;height:100%;background:linear-gradient(90deg,#7359db,#d557bd)}.imt-hub-top{display:flex;gap:8px;align-items:center;padding:11px 13px;border-radius:13px;background:#f2effb;margin:14px 0 0;font-size:.79rem;color:#776090;line-height:1.6}.imt-hub-top button{border:0;background:none;color:#7653cb;font-weight:700;font-size:.76rem;margin-left:auto;white-space:nowrap}.imt-text-row{display:flex;justify-content:space-between;gap:8px;margin-top:17px}.imt-text-row button{border:0;background:transparent;color:#9c8aaa;padding:8px 0;font-size:.73rem}.imt-complete-mark{width:73px;height:73px;display:grid;place-items:center;margin:18px 0 23px;border-radius:24px;background:linear-gradient(140deg,#d7faf0,#e9e0ff);color:#299b85;box-shadow:0 0 0 8px #f5f3fd;animation:imtIn .3s ease-out}.imt-complete-mark .imt-icon{width:34px;height:34px}
.imt-layer{position:fixed;inset:0;width:100%;height:100%;padding:0;border:0;overflow:visible;margin:0;background:transparent;z-index:2147483000;color:#fff;pointer-events:none}.imt-layer:popover-open{display:block}.imt-shade{position:absolute;background:#101927b8;pointer-events:auto;touch-action:pan-y pinch-zoom}.imt-ring{position:absolute;border:2px solid #7ae6ef;border-radius:15px;box-shadow:0 0 0 4px #7ae6ef1a;pointer-events:none}.imt-tip{position:absolute;width:min(365px,calc(100vw - 28px));background:linear-gradient(145deg,#253541,#182a30);border:1px solid #ffffff24;border-radius:23px;padding:19px 20px;box-shadow:0 18px 46px #0c121b40;pointer-events:auto;max-height:calc(100dvh - 28px);overflow:auto;touch-action:pan-y pinch-zoom}.imt-tip-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 0 10px}.imt-tip-label{font-size:.68rem;font-weight:700;color:#8ce7e0;letter-spacing:.4px}.imt-tip .imt-x{color:#b1c6cd;background:#ffffff0a;border-color:#ffffff15;width:28px;height:28px;min-height:28px}.imt-tip h2{font-size:1.1rem;line-height:1.5;margin:0 0 7px;font-weight:700;color:#f4f7fc}.imt-tip p{font-size:.83rem;line-height:1.75;color:#b7c9d2;margin:0 0 12px}.imt-tip .imt-progress{display:flex;gap:4px;margin:14px 0}.imt-tip .imt-progress span{height:3px;flex:1;background:#ffffff17;border-radius:5px}.imt-tip .imt-progress .is-done{background:#78dbd0}.imt-tip .imt-progress .is-current{background:#bfa3ff}.imt-tip .imt-primary{font-size:.82rem;min-height:43px;padding:10px 12px;background:linear-gradient(105deg,#7a5de6,#b653bc)}.imt-tip .imt-secondary{font-size:.78rem;min-height:43px;background:#ffffff0c;color:#c4d2da;border:1px solid #ffffff18;padding:10px 12px}.imt-tip .imt-wait{display:flex;gap:7px;align-items:center;font-size:.76rem;color:#91a9b6;margin-top:9px;min-height:24px}.imt-tip .imt-wait .imt-icon{width:15px;height:15px}.imt-tip .imt-wait.is-ready{color:#8be5c7}.imt-tip .imt-safe{color:#ceb99b;font-size:.7rem;border-top:1px solid #ffffff12;margin:12px 0 0;padding-top:10px}.imt-tip-error{background:#ffffff0a;color:#b6cbd2;padding:8px 10px;border-radius:9px;font-size:.74rem;margin:8px 0}.imt-tip-error:empty{display:none}.imt-next-retry{font-size:.74rem;background:none;border:0;color:#c8b5ed;min-height:30px;margin-top:5px;padding:4px 0}
.imt-nudge{position:fixed;bottom:calc(138px + env(safe-area-inset-bottom));right:max(14px,calc((100vw - 480px)/2 + 14px));width:min(295px,calc(100vw - 28px));z-index:1501;border:1px solid #e6ddf5;border-radius:19px;background:#fff;padding:16px;box-shadow:0 12px 35px #3424511c;color:#5b4778;animation:imtIn .2s ease-out}.imt-nudge p{font-size:.83rem;line-height:1.7;margin:0 0 9px}.imt-nudge>div{display:flex;align-items:center;gap:9px}.imt-nudge button{border:0;border-radius:10px;font-size:.75rem;padding:9px 12px;min-height:38px;background:#f4efff;color:#754dba}.imt-nudge button:first-child{background:#7956d9;color:#fff}.imt-inline{border:1px solid #d8c7f6;border-radius:12px;background:#f5f0ff;color:#7b5bad;font-size:.75rem;line-height:1.75;padding:9px 12px;margin:7px 0 12px}.imt-inline b{font-weight:700;display:block}.imt-inline button{float:right;border:0;background:none;color:#8d739d;font:inherit;cursor:pointer}.imt-toast{position:fixed;left:50%;bottom:160px;transform:translateX(-50%);background:#273a42;color:#fff;font-size:.8rem;line-height:1.5;padding:12px 18px;border-radius:13px;max-width:calc(100vw - 30px);z-index:2147483100;box-shadow:0 6px 20px #0002}
.imt-float-card:nth-last-child(2){top:26px;left:15px;transform:rotate(-5deg)}
@keyframes imtFloat{0%,100%{transform:rotate(-5deg) translateY(0)}50%{transform:rotate(-3deg) translateY(-5px)}}@keyframes imtIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:360px){.imt-head{padding:17px 20px 7px}.imt-body{padding:12px 20px 20px}.imt-footer{padding:0 20px 19px}.imt-scene{height:177px}.imt-phone{height:154px;width:108px}.imt-phone-items span{height:32px}.imt-float-card{font-size:.61rem;padding:8px}.imt-float-card:first-of-type{left:6px}.imt-float-card:last-of-type{right:5px}.imt-title{font-size:1.45rem}.imt-trail{padding:11px;gap:9px}.imt-trail-meta{font-size:.63rem}.imt-tip{padding:15px 16px}.imt-tip h2{font-size:1rem}}
@media(max-height:660px){.imt-dialog{max-height:calc(100dvh - 20px);border-radius:22px}.imt-scene{height:155px;margin:12px 0}.imt-phone{transform:scale(.83) rotate(-5deg);animation:none}.imt-body{padding-top:8px}.imt-tip{padding:12px 16px}.imt-tip h2{font-size:1rem}.imt-tip p{font-size:.76rem;margin-bottom:8px}.imt-tip .imt-progress{margin:9px 0}}
@keyframes imtLaunchReveal{from{opacity:.64;transform:scale(.94)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.imt-phone,.imt-complete-mark,.imt-nudge,.imt-launch,.imt-launch *{animation:none!important}.imt-trail,.imt-launch,.imt-launch *{transition:none!important}}
@media(max-height:660px){.imt-dialog .imt-shell{max-height:calc(100dvh - 22px)}}



