.calculator{--graphic-size: clamp(20rem, 30vw, 30rem)}@media screen and (max-width: 768px){.calculator___container{max-width:500px}}.calculator__wrapper{padding:4rem;border-radius:2rem;padding-right:var(--graphic-size);overflow:hidden;position:relative;isolation:isolate;margin-bottom:4rem}@media screen and (max-width: 1024px){.calculator__wrapper{padding-right:4rem}}@media screen and (max-width: 768px){.calculator__wrapper{padding:2.5rem 2rem;padding-right:2rem;margin-inline:auto}}.calculator__wrapper>img{position:absolute;height:110%;bottom:-20%;right:-5%;transform:rotate(-10deg);z-index:-1}@media screen and (max-width: 1024px){.calculator__wrapper>img{width:40%;height:auto;bottom:-10%;right:5%}}@media screen and (max-width: 768px){.calculator__wrapper>img{width:clamp(8rem,40%,16rem);right:-10%;bottom:5%}}.calculator h2{font-size:clamp(2rem,5vw,2.5rem)}@media screen and (max-width: 768px){.calculator h2{text-align:center}}.calculator__header{text-wrap:balance}@media screen and (max-width: 768px){.calculator__header{text-align:center;margin-bottom:1rem;text-wrap:auto}}.calculator__header>p{margin-top:1.5rem}.calculator-widget{margin-top:3rem;display:flex;align-items:end;gap:2rem}@media screen and (max-width: 1024px){.calculator-widget{flex-direction:column;align-items:center;width:fit-content;gap:1.5rem}}@media screen and (max-width: 768px){.calculator-widget{margin-right:auto}}.calculator-widget__controls{display:flex;flex-direction:column;gap:.25rem;height:100%;overflow:hidden}.calculator-widget__controls button{background-color:var(--color-accent-blue);color:#fff;border:none;padding:0;width:3em;height:calc(50% - .125rem);transition:background-color .3s ease,filter .3s ease,opacity .3s ease}.calculator-widget__controls button:first-of-type svg{transform:rotate(-90deg)}.calculator-widget__controls button:last-of-type svg{transform:rotate(90deg)}.calculator-widget__controls button:hover,.calculator-widget__controls button:focus{background-color:color-mix(in srgb, var(--color-accent-blue), black 20%)}.calculator-widget__controls button[disabled]{filter:grayscale(100%);opacity:.5;cursor:not-allowed}.calculator-widget__input{align-self:stretch}.calculator-widget__input p{margin-top:.2rem;margin-bottom:0;font-size:1.15rem;opacity:.75;color:#fff}@media screen and (max-width: 1024px){.calculator-widget__input p{font-size:1rem;text-align:center}}.calculator-widget__input__wrapper{border:none;font-size:clamp(2rem,5vw,3.5rem);background-color:#fff;border-radius:.5rem;padding:.15em;height:1.25em;display:flex;align-items:center;gap:.25em}@media screen and (max-width: 1024px){.calculator-widget__input__wrapper{font-size:2.5rem;height:1.5em;justify-content:space-between}}.calculator-widget__input input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;font-size:inherit;color:var(--color-accent-blue);font-weight:800;font-family:var(--font-family-heading) !important;letter-spacing:-0.05ch;line-height:1;padding:0;max-width:3ch;text-align:center;border:none;background-color:rgba(0,0,0,0);transform:translateY(-0.05em)}.calculator-widget__input input[type=number]::-webkit-inner-spin-button,.calculator-widget__input input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}.calculator-widget__divider{flex:1 1 auto;align-self:center;position:relative}@media screen and (max-width: 1024px){.calculator-widget__divider{padding-inline:0}}.calculator-widget__divider__line{background:linear-gradient(to right, var(--color-accent-blue), white);height:2px;width:100%;display:block;position:relative}@media screen and (max-width: 1024px){.calculator-widget__divider__line{height:3rem;width:2px;background:linear-gradient(to bottom, var(--color-accent-blue), white)}}.calculator-widget__divider::after{content:"";position:absolute;top:1px;right:-1px;transform:translateY(-50%);width:8px;height:16px;background-image:url("data:image/svg+xml,%3Csvg width='8' height='14' viewBox='0 0 8 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 13L7 7L1 1' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");background-size:contain;background-repeat:no-repeat;background-position:center}@media screen and (max-width: 1024px){.calculator-widget__divider::after{left:50%;right:unset;top:unset;bottom:-5px;transform:translateX(-50%) rotate(90deg)}}.calculator-widget__divider p{width:fit-content;margin-inline:auto;text-align:center;color:#fff;margin-top:.5rem;margin-bottom:0}@media screen and (max-width: 1024px){.calculator-widget__divider p{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);padding:.25rem;background-color:var(--color-accent-blue);white-space:nowrap;margin-top:0;font-size:.875rem}}.calculator-widget__output p{margin-top:1.5rem;font-size:1.15rem;opacity:.75;color:#fff;margin-bottom:0}@media screen and (max-width: 1024px){.calculator-widget__output p{font-size:1rem;text-align:center}}.calculator-widget__total{font-size:clamp(3rem,5vw,5rem);width:5ch;font-weight:800 !important;color:#fff;font-family:var(--font-family-heading) !important;letter-spacing:-0.05ch}@media screen and (max-width: 1024px){.calculator-widget__total{font-size:5rem;text-align:center}}@media screen and (max-width: 768px){.calculator-widget__total{font-size:4rem}}.calculator-widget__total span:first-of-type{font-size:.75em;opacity:.5}
