.ams-max-launcher{position:fixed;right:22px;bottom:22px;z-index:2000;width:258px;max-width:calc(100% - 32px);font-family:inherit}
.ams-max-card{display:block;padding:15px;border:1px solid #37715e;border-radius:15px;background:#004c38;color:#fff;text-decoration:none;box-shadow:0 8px 28px #00352630}
.ams-max-card strong{display:block;color:#fff;font-size:16px;line-height:1.4;font-weight:800}
.ams-max-card small{display:block;margin-top:3px;color:#e2eee7;font-size:12px;line-height:1.4}
.ams-max-card>span{display:flex;align-items:center;justify-content:space-between;min-height:44px;margin-top:12px;padding:10px 13px;border-radius:8px;background:#ffd13f;color:#163c2c;font-size:14px;font-weight:700}
.ams-max-card b{font-size:22px;line-height:1;font-weight:400}.ams-max-card:hover{background:#003f2e;color:#fff}.ams-max-card:hover>span{background:#ffdc69}
.ams-max-contact{display:flex;justify-content:center;gap:20px;margin-top:7px;padding:5px 10px;border:1px solid #e6dee8;border-radius:20px;background:#fff;box-shadow:0 2px 10px #0001;color:#451651;font-size:12px;font-weight:700}
.ams-max-launcher a:focus-visible,.ams-mobile-actions a:focus-visible,.ams-max-dialog a:focus-visible,.ams-max-dialog button:focus-visible{outline:3px solid #1470b8;outline-offset:4px}
.ams-mobile-actions{display:none}
.ams-max-dialog{position:fixed;inset:auto 22px 22px auto;z-index:2147483001;box-sizing:border-box;width:440px;max-width:calc(100vw - 32px);height:min(760px,calc(100dvh - 44px));max-height:calc(100vh - 44px);margin:0;padding:0;overflow:hidden;border:1px solid #86b59f;border-radius:18px;background:#fff;color:#173c31;box-shadow:0 20px 70px #00261b50;font-family:inherit}
.ams-max-dialog:not([open]){display:none}.ams-max-dialog[open]{display:flex;flex-direction:column}.ams-max-dialog::backdrop{background:#002c1f30}
.ams-max-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0;padding:14px 16px;background:#004632;color:#fff}
.ams-max-dialog-head h2{margin:0;color:#fff;font-family:inherit;font-weight:800;font-size:19px;line-height:1.4}.ams-max-dialog-head p{margin:3px 0 0;color:#dcebe2;font-size:12px;line-height:1.4}
.ams-max-dialog-head button{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;margin:0;padding:10px;border:1px solid #709585;border-radius:10px;background:#ffffff10;color:#fff;cursor:pointer}
.ams-max-dialog-head svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2}.ams-max-dialog-body{position:relative;flex:1;min-height:0;background:#fff}.ams-max-dialog iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.ams-max-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;text-align:center;background:#fff;color:#234b3b;font-size:16px}.ams-max-loading[hidden]{display:none!important}.ams-max-loading a{color:#00543b;text-decoration:underline;font-size:14px}
@media(max-width:660px){body{padding-bottom:calc(82px + env(safe-area-inset-bottom))}.ams-max-launcher{display:none}.ams-mobile-actions{position:fixed;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom));z-index:2000;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:6px;border:1px solid #d0ded7;border-radius:15px;background:#fff;box-shadow:0 3px 20px #173c3126}.ams-mobile-actions a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:57px;padding:5px 1px;border:1px solid #d0ded7;border-radius:9px;color:#124f3d;text-decoration:none;font-size:11px;line-height:1.3;font-weight:700;white-space:nowrap}.ams-mobile-actions svg,.ams-mobile-actions img{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}.ams-mobile-actions .ams-mobile-max{background:#ffdb57;border-color:#e6bf3e;color:#004632}.ams-mobile-actions a:first-child{background:#006b4c;border-color:#006b4c;color:#fff}}
@media(max-width:520px){.ams-max-dialog{inset:8px;max-width:none;width:calc(100% - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:14px}.ams-max-dialog-head{padding:12px 14px}.ams-max-dialog-head h2{font-size:17px}}
@media print{.ams-max-launcher,.ams-mobile-actions,.ams-max-dialog{display:none!important}}
/* Shared mobile actions, matching the user's four-button reference. */
@media screen and (max-width:800px){
  body:has(.ams-mobile-actions){padding-bottom:calc(86px + env(safe-area-inset-bottom))}
  .ams-max-launcher{display:none}
  .ams-mobile-actions{position:fixed;inset:auto 7px calc(6px + env(safe-area-inset-bottom));z-index:2000;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;border:1px solid #bfd8cf;border-radius:15px;background:#fffffff5;box-shadow:0 4px 22px #143e3026;font-family:Arial,Helvetica,sans-serif}
  .ams-mobile-actions a,.ams-mobile-actions a:visited,.ams-mobile-actions a:first-child{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:58px;padding:5px 1px;border:1px solid #aed7c6;border-radius:9px;background:#fff;color:#004c38;text-decoration:none;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;-webkit-tap-highlight-color:transparent}
  .ams-mobile-actions svg,.ams-mobile-actions img{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;flex:none}
  .ams-mobile-actions a.ams-mobile-whatsapp,.ams-mobile-actions a.ams-mobile-whatsapp:visited{background:#e0f4e9;border-color:#a4dbbd}
  .ams-mobile-actions a.ams-mobile-max,.ams-mobile-actions a.ams-mobile-max:visited{background:#ffde43;border-color:#edcb35;color:#004c38}
  .ams-mobile-actions a:active{transform:translateY(1px)}
}
