/* AsiaTech Messenger One Page v1.1.0: embedded into an existing site.
 * Does NOT affect the site's WordPress header or footer. */
html,body.atmp-embedded{margin:0!important;padding:0!important;height:100%!important;min-height:0!important;overflow:hidden!important;}
body.atmp-embedded .ams-app{height:100dvh!important;min-height:0!important;max-height:100dvh!important;padding:clamp(12px,1.4vh,18px) clamp(12px,2.4vw,38px) clamp(9px,1.3vh,15px)!important;gap:clamp(9px,1.4vh,15px)!important;overflow:hidden!important;}
body.atmp-embedded .ams-header,
body.atmp-embedded .ams-footer,
body.atmp-embedded .ams-fallback-launch{display:none!important;}
body.atmp-embedded .ams-main{max-width:1460px!important;grid-template-columns:minmax(0,47%) minmax(0,53%)!important;min-height:0!important;flex:1 1 auto!important;align-items:center!important;}
body.atmp-embedded .ams-hero{min-width:0!important;min-height:0!important;justify-content:center!important;padding-top:7px!important;padding-bottom:8px!important;}
body.atmp-embedded .ams-hero-art{top:6%!important;}
body.atmp-embedded .ams-hero h1{font-size:clamp(31px,3.65vw,62px)!important;}
body.atmp-embedded .ams-preview{display:block;min-height:0;max-height:100%;height:100%;}
body.atmp-embedded .ams-window{height:100%!important;max-height:530px!important;min-height:0!important;}
body.atmp-embedded .ams-features-row{max-width:1400px!important;height:auto!important;flex:0 0 clamp(88px,13vh,104px)!important;margin:0 auto!important;align-items:stretch!important;}
body.atmp-embedded .ams-feature{min-height:68px!important;}
body.atmp-embedded .ams-note-floating{right:-1%;top:35%;}
body.atmp-embedded .ams-handwriting{bottom:3%;}
body.atmp-embedded .ams-floats{opacity:.9;}
@media(min-width:901px) and (max-height:600px){
 body.atmp-embedded .ams-app{gap:7px!important;padding-top:8px!important;padding-bottom:8px!important;}
 body.atmp-embedded .ams-features-row{flex-basis:80px!important;}
 body.atmp-embedded .ams-hero p{-webkit-line-clamp:4;}
 body.atmp-embedded .ams-hero-actions{margin-top:9px!important;}
 body.atmp-embedded .ams-checks{margin-top:10px!important;}
}
@media(min-width:901px) and (max-width:1250px){
 body.atmp-embedded .ams-main{grid-template-columns:minmax(0,49%) minmax(0,51%)!important;}
 body.atmp-embedded .ams-hero{padding-left:clamp(90px,9vw,125px)!important;}
 body.atmp-embedded .ams-hero h1{font-size:clamp(32px,3.5vw,47px)!important;}
 body.atmp-embedded .ams-preview{padding-right:3px;}
}
@media(max-width:900px){
 html,body.atmp-embedded{overflow:hidden!important;}
 body.atmp-embedded .ams-app{min-height:0!important;height:100dvh!important;padding:12px 13px!important;gap:11px!important;}
 body.atmp-embedded .ams-main{display:block!important;width:100%!important;min-height:0!important;flex:1 1 auto!important;}
 body.atmp-embedded .ams-preview{display:none!important;}
 body.atmp-embedded .ams-hero{height:100%!important;max-width:570px!important;margin:0 auto!important;align-items:stretch;justify-content:center!important;padding:0 10px!important;}
 body.atmp-embedded .ams-hero-art{position:relative!important;top:auto!important;left:auto!important;align-self:center!important;width:clamp(92px,18vw,128px)!important;height:clamp(90px,18vw,140px)!important;flex-shrink:0;}
 body.atmp-embedded .ams-tag{text-align:center!important;margin-top:5px!important;}
 body.atmp-embedded .ams-hero h1{text-align:center!important;white-space:normal!important;font-size:clamp(28px,7vw,49px)!important;}
 body.atmp-embedded .ams-hero h2{text-align:center!important;white-space:normal!important;}
 body.atmp-embedded .ams-hero p{text-align:center!important;max-width:560px!important;margin-left:auto!important;margin-right:auto!important;}
 body.atmp-embedded .ams-hero-actions{justify-content:center!important;}
 body.atmp-embedded .ams-checks{justify-content:center!important;}
 body.atmp-embedded .ams-handwriting, body.atmp-embedded .ams-side-note{display:none!important;}
 body.atmp-embedded .ams-features-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;flex:0 0 176px!important;width:100%!important;max-width:580px!important;}
 body.atmp-embedded .ams-feature{min-width:0!important;min-height:0!important;padding:8px!important;}
 body.atmp-embedded .ams-feature-copy strong{font-size:11px!important;}
 body.atmp-embedded .ams-feature-copy small{font-size:9px!important;}
}
@media(max-width:480px){
 body.atmp-embedded .ams-hero{padding:0 3px!important;}
 body.atmp-embedded .ams-hero h1{font-size:clamp(27px,8vw,36px)!important;letter-spacing:-1.4px!important;}
 body.atmp-embedded .ams-hero p{font-size:12px!important;line-height:1.35!important;-webkit-line-clamp:4!important;}
 body.atmp-embedded .ams-big-launch{min-height:46px!important;}
 body.atmp-embedded .ams-btn-light{min-height:46px!important;}
 body.atmp-embedded .ams-checks{grid-template-columns:repeat(2,max-content)!important;font-size:9px!important;}
 body.atmp-embedded .ams-features-row{flex-basis:160px!important;gap:6px!important;}
 body.atmp-embedded .ams-feature-icon{width:37px!important;height:37px!important;}
 body.atmp-embedded .ams-feature-copy small{-webkit-line-clamp:2!important;}
}
/* No overlapping handwritten notes in the compact host-theme version. */
body.atmp-embedded .ams-side-note{display:none!important;}
@media (max-width:480px) and (max-height:690px) and (min-width:361px){
 body.atmp-embedded .ams-hero-art{display:block!important;width:70px!important;height:70px!important;margin:0 auto 2px!important;}
 body.atmp-embedded .ams-tag{margin-bottom:3px!important;}
 body.atmp-embedded .ams-hero h2{margin-top:4px!important;}
 body.atmp-embedded .ams-hero p{margin-top:5px!important;}
 body.atmp-embedded .ams-hero-actions{margin-top:8px!important;}
 body.atmp-embedded .ams-checks{margin-top:7px!important;}
}
