/* Keep touch feedback immediate and content clear of the phone's safe areas. */
button,a,[role="button"],summary{touch-action:manipulation}button{user-select:none}
input,select,textarea{font-size:max(16px,1em)}
dialog{max-height:calc(100svh - 32px);overflow-y:auto;overscroll-behavior:contain}
.close{min-width:44px;min-height:44px}
@media(max-width:760px){
  body{padding-bottom:calc(86px + env(safe-area-inset-bottom,0px))}
  .mobile-bar{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .hero::before{left:0;right:0}
  .hero-showcase{max-width:100%;overflow:clip;isolation:isolate}
  .floating-note{backdrop-filter:none}
  .plan-choice,.order-product,.contents-heading{min-width:0}
  .plan-choice>span,.order-product>div{min-width:0;overflow-wrap:anywhere}
  .checkout-grid{max-width:100%;padding-inline:max(16px,env(safe-area-inset-left,0px)) max(16px,env(safe-area-inset-right,0px))}
  .measurement-banner{bottom:calc(90px + env(safe-area-inset-bottom,0px));max-height:calc(100svh - 120px);overflow:auto}
}
.purchase-note{position:fixed;z-index:40;bottom:24px;left:20px;width:min(330px,calc(100% - 40px));padding:15px 46px 15px 16px;border:1px solid #d6dfd2;border-radius:14px;background:#fffdf7;color:#173b30;box-shadow:0 8px 26px #173b301c;font:14px/1.5 var(--body,system-ui);pointer-events:auto}
.purchase-note[hidden]{display:none}.purchase-note strong{display:block;font-size:14px}.purchase-note span{display:block;color:#596c61;font-size:13px}.purchase-note button{position:absolute;right:0;top:0;min-width:44px;min-height:44px;border:0;background:transparent;color:#405c4e;font-size:22px;cursor:pointer}
@media(max-width:760px){.purchase-note{bottom:calc(94px + env(safe-area-inset-bottom,0px));left:12px;width:min(330px,calc(100% - 24px))}}
@media(pointer:coarse){.pay-button:hover{background:linear-gradient(135deg,#174a38,#123d32)}}
