/* AGROSCOPS Stage 3U. Scoped corrective CSS for Stage 3T customer package modal.
   No change to pricing, checkout handlers, authentication or other site buttons. */
.ag3t-mask{
  padding:clamp(12px,2vw,24px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.ag3t-dialog{
  display:block;
  flex:0 1 600px;
  min-width:0;
  width:min(100%,600px);
  max-width:600px;
  max-height:min(90vh,760px);
  max-height:min(90dvh,760px);
  overflow-x:hidden;
  overflow-y:auto;
  color-scheme:light;
  overflow-wrap:break-word;
}
.ag3t-dialog .ag3t-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:18px;
  width:100%;
}
.ag3t-dialog .ag3t-header h2{
  min-width:0;
  width:auto;
  max-width:100%;
  font-size:clamp(19px,2.3vw,24px);
  line-height:1.23;
  letter-spacing:-.02em;
  overflow-wrap:normal;
}
.ag3t-dialog button.ag3t-close,
.ag3t-dialog button.ag3t-cancel,
.ag3t-dialog button.ag3t-option-button{
  box-sizing:border-box;
  width:auto;
  max-width:100%;
  min-width:0;
  margin:0;
  font-family:inherit;
  line-height:1.3;
  text-align:center;
  transform:none;
  transition:background-color .15s ease;
}
.ag3t-dialog button.ag3t-close{min-width:76px;justify-self:end;align-self:start}
.ag3t-dialog .ag3t-options{min-width:0;width:100%}
.ag3t-dialog .ag3t-option{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(118px,auto);
  align-items:center;
  width:100%;
  min-width:0;
  gap:16px;
}
.ag3t-dialog .ag3t-option-body{min-width:0;max-width:100%}
.ag3t-dialog .ag3t-option h3{overflow-wrap:break-word}
.ag3t-dialog .ag3t-option p{max-width:100%;overflow-wrap:break-word}
.ag3t-dialog .ag3t-option-meta{
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.ag3t-dialog .ag3t-option-meta strong{white-space:nowrap;line-height:1.2}
.ag3t-dialog button.ag3t-option-button{min-height:38px;white-space:nowrap}
.ag3t-dialog button.ag3t-option-button:disabled{opacity:1;color:#536a60;background:#e9efeb}
.ag3t-dialog .ag3t-footer{display:flex;justify-content:flex-end}
.ag3t-dialog button.ag3t-cancel{min-width:122px}
@media(max-width:580px){
  .ag3t-mask{padding:10px;align-items:center}
  .ag3t-dialog{padding:18px;max-height:calc(100dvh - 20px);border-radius:13px}
  .ag3t-dialog .ag3t-header{gap:9px}
  .ag3t-dialog .ag3t-header h2{font-size:19px}
  .ag3t-dialog button.ag3t-close{min-width:65px;padding:7px 9px}
  .ag3t-dialog .ag3t-option{grid-template-columns:minmax(0,1fr);padding:14px;gap:12px}
  .ag3t-dialog .ag3t-option-meta{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
  .ag3t-dialog .ag3t-option-meta strong{font-size:21px}
  .ag3t-dialog button.ag3t-cancel{width:100%}
}
@media(prefers-reduced-motion:reduce){.ag3t-dialog button{transition:none!important}}
