.ang-calculator { --ang-green: var(--investment-color, #333); --ang-pale: #ededed; display: grid; gap: 30px; width: 100%; margin: 0; color: inherit; font: inherit; }
.ang-calculator *, .ang-calculator *::before { box-sizing: border-box; }
.ang-calculator__price { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 25px 62px; min-height: 62px; border-bottom: 1px solid #d9ddda; }
.ang-calculator__price > span { font-size: 18px; line-height: 1.25; font-weight: 600; }
.ang-calculator__price strong { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; text-align: right; white-space: nowrap; }
.ang-calculator__field { position: relative; min-width: 0; padding-left: 62px; }
.ang-calculator .ang-calculator__icon { position: absolute; left: 0; top: 5px; width: 36px; height: 36px; color: var(--ang-green); }
.ang-calculator .ang-calculator__description { font-size: 15px; color: #555; margin: 0 0 8px; line-height: 1.3; }
.ang-calculator__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.ang-calculator label { font-size: 18px; line-height: 1.25; font-weight: 600; margin: 0; }
.ang-calculator output { padding: 7px 18px; border-radius: 30px; background: #e6e6e6; font-weight: 700; font-size: 18px; line-height: 1.2; }
.ang-calculator input[type=range] { --ang-progress: 0%; appearance: none; -webkit-appearance: none; display: block; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; cursor: pointer; background: transparent; }
.ang-calculator input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 8px; background: linear-gradient(to right, var(--ang-green) 0 var(--ang-progress), #dcdcdc var(--ang-progress) 100%); }
.ang-calculator input[type=range]::-moz-range-track { height: 6px; border-radius: 8px; background: #dcdcdc; }
.ang-calculator input[type=range]::-moz-range-progress { height: 6px; border-radius: 8px; background: var(--ang-green); }
.ang-calculator input[type=range]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; height: 26px; width: 26px; border: 2px solid white; border-radius: 50%; background: var(--ang-green); margin-top: -10px; }
.ang-calculator input[type=range]::-moz-range-thumb { height: 22px; width: 22px; border: 2px solid white; border-radius: 50%; background: var(--ang-green); }
.ang-calculator input[type=range]:focus-visible, .ang-calculator button:focus-visible { outline: 3px solid var(--ang-green); outline-offset: 5px; }
.ang-calculator input[type=range]:focus, .ang-calculator input[type=range]:active { box-shadow: none !important; }
.ang-calculator input[type=range]:focus:not(:focus-visible) { outline: none; }
.ang-calculator input[type=range]::-webkit-slider-thumb { box-shadow: none !important; }
.ang-calculator input[type=range]:focus::-webkit-slider-thumb, .ang-calculator input[type=range]:active::-webkit-slider-thumb { box-shadow: none !important; }
.ang-calculator input[type=range]::-moz-range-thumb { box-shadow: none !important; }
.ang-calculator input[type=range]:focus::-moz-range-thumb, .ang-calculator input[type=range]:active::-moz-range-thumb { box-shadow: none !important; }
.ang-calculator__bounds { display: flex; justify-content: space-between; font-size: 15px; color: #555; margin-top: 5px; }
.ang-calculator .ang-calculator__notice { font-size: 14px; color: #555; line-height: 1.5; margin: 12px 0 0; }
.ang-calculator .ang-calculator__submit { justify-self: start; padding: 12px 32px; border: 0; border-radius: 40px; background: var(--investment-color, #333); color: white; font-family: 'Montserrat', sans-serif; font-size: 15px; line-height: 1.25; font-weight: 600; cursor: pointer; }
.ang-calculator .ang-calculator__submit:hover { background: #333; }
.ang-calculator .ang-calculator__submit:disabled { opacity: .65; cursor: wait; }
.ang-calculator .ang-calculator__status { margin: 0; font-size: 14px; line-height: 1.5; }
.ang-calculator__status:empty { display: none; }
@media (max-width: 480px) { .ang-calculator { gap: 24px; } .ang-calculator label, .ang-calculator output, .ang-calculator__price > span { font-size: 17px; } .ang-calculator .ang-calculator__submit { width: 100%; } .ang-calculator__field, .ang-calculator__price { padding-left: 42px; } .ang-calculator .ang-calculator__icon { width: 28px; height: 28px; } .ang-calculator__price strong { font-size: 22px; } .ang-calculator__heading { column-gap: 8px; } .ang-calculator output { padding: 7px 12px; } }
@media (width < 500px) {
    .ang-calculator .ang-calculator__icon { display: none; }
    .ang-calculator__field, .ang-calculator__price { padding-left: 0; }
    .ang-calculator__price, .ang-calculator__heading { flex-direction: column; align-items: flex-start; gap: 8px; }
    .ang-calculator__price strong { text-align: left; }
    .ang-calculator output { font-size: 15px; padding: 6px 12px; }
}
