.custom-amount-dialog{width:min(42rem,100vw - 1rem);max-width:none;max-height:calc(100dvh - 1rem);padding:1rem;overflow:hidden}.custom-amount-form{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-areas:"header header""keys display""keys details""keys footer";align-items:start;gap:.75rem 1rem;display:grid}.custom-amount-header{grid-area:header;padding-right:2rem}.custom-amount-display{grid-area:display;min-width:0;padding:.5rem .75rem}.custom-amount-expression{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.custom-amount-keypad{grid-area:keys;gap:.375rem}.custom-amount-key{height:clamp(2.75rem,8dvh,3.5rem)}.custom-amount-details{grid-area:details;gap:.5rem;min-width:0;display:grid}.custom-amount-footer{grid-area:footer;align-self:end}@media (width<=619px){.custom-amount-dialog{width:min(26rem,100vw - 1rem);padding:.75rem}.custom-amount-form{grid-template-columns:minmax(0,1fr);grid-template-areas:"header""display""keys""details""footer";gap:.5rem}.custom-amount-key{height:2.75rem}}@media (height<=650px){.custom-amount-header>p{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.custom-amount-dialog{padding:.75rem}.custom-amount-form{gap:.5rem}.custom-amount-keypad{gap:.25rem}.custom-amount-tax>span>span:last-child{display:none}}@media (width>=620px) and (height<=420px){.custom-amount-key{height:clamp(2rem,11dvh,2.75rem)}}@media (width<=619px) and (height<=650px){.custom-amount-form{gap:.375rem}.custom-amount-display{padding-block:.375rem}.custom-amount-expression{font-size:.75rem}}@media (width>=620px) and (height<=350px){.custom-amount-form{gap:.375rem .75rem}.custom-amount-display{padding-block:.25rem}.custom-amount-details{gap:.375rem}}.custom-amount-dialog>button{top:.5rem;right:.5rem}
