.home-calc-section { background: #edf4fb; }
.home-calc-section > .container { max-width: 1320px; }
.home-calc { color: #14243c; background: #fff; border: 1px solid #dce6f1; border-radius: 24px; box-shadow: 0 14px 44px #1236610c; }
.home-calc [hidden] { display: none !important; }
.home-calc button, .home-calc input, .home-calc select { font: inherit; }
.home-calc button { cursor: pointer; }
.home-calc button:disabled { opacity: .4; cursor: default; }
.home-calc__option-price { display: block; color: #37ad80; font-size: max(var(--desktop-text-min, 0px), 15px); margin-top: 9px; }
.home-calc__options input:disabled + span { opacity: .5; }
.home-calc__breakdown { margin: 13px 0 18px; border-bottom: 1px solid #dce7f5; padding-bottom: 12px; }
.home-calc__breakdown summary { color: #45617e; font-size: max(var(--desktop-text-min, 0px), 12px); cursor: pointer; padding: 5px 0; }
.home-calc__breakdown .home-calc__estimate-line { font-size: max(var(--desktop-text-min, 0px), 11px); gap: 14px; line-height: 1.5; }
.home-calc__breakdown .home-calc__estimate-line strong { white-space: nowrap; }
.home-calc__toolbar { padding: 20px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e5ebf3; }
.home-calc__toolbar > div { display: flex; gap: 17px; align-items: center; }
.home-calc__toolbar strong { font-size: 17px; }
.home-calc__toolbar span { color: #7b899d; font-size: max(var(--desktop-text-min, 0px), 11px); }
.home-calc__quiet-button { background: none; border: 0; font-size: max(var(--desktop-text-min, 0px), 12px) !important; color: #718096; }
.home-calc__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.home-calc__workspace { padding: 23px 28px 0; min-width: 0; }
.home-calc__order-head { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.home-calc__order-head > span { font-size: max(var(--desktop-text-min, 0px), 13px); font-weight: 650; }
.home-calc__order-head b { display: inline-grid; place-items: center; width: 22px; height: 22px; background: #eef4fd; color: #37ad80; border-radius: 6px; margin-left: 5px; font-size: max(var(--desktop-text-min, 0px), 11px); }
.home-calc__add { color: #37ad80; border: 0; background: transparent; font-weight: 700 !important; font-size: max(var(--desktop-text-min, 0px), 12px) !important; }
.home-calc__items { display: flex; gap: 9px; padding: 3px 2px 10px; overflow-x: auto; scrollbar-width: thin; }
.home-calc__item { text-align: left; flex: 0 0 154px; min-width: 0; border: 1px solid #dbe4ef; border-radius: 10px; background: #fff; padding: 12px; color: #14243c; }
.home-calc__item[aria-pressed=true] { background: #f3f7ff; border-color: #37ad80; box-shadow: 0 0 0 1px #37ad80; }
.home-calc__item > strong { display: block; font-size: max(var(--desktop-text-min, 0px), 12px); }
.home-calc__item > span { display: block; margin: 4px 0 7px; font-size: max(var(--desktop-text-min, 0px), 10px); color: #7a899d; white-space: nowrap; }
.home-calc__item > b { color: #37ad80; font-size: max(var(--desktop-text-min, 0px), 14px); }
.home-calc__edit-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 20px 0 17px; }
.home-calc__edit-head h3 { font-size: 22px; font-weight: 750; }
.home-calc__edit-head > div { display: flex; gap: 14px; }
.home-calc__edit-head button { border: 0; background: none; color: #7c899b; font-size: max(var(--desktop-text-min, 0px), 11px); }
.home-calc__edit-head button:first-child { color: #37ad80; }
.home-calc__tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; gap: 4px; background: #f0f4f9; border-radius: 10px; margin-bottom: 24px; }
.home-calc__tabs > button { border: 0; border-radius: 7px; background: transparent; padding: 11px 8px; font-size: max(var(--desktop-text-min, 0px), 12px); font-weight: 650; color: #748298; }
.home-calc__tabs > button[aria-selected=true] { color: #37ad80; background: #fff; box-shadow: 0 2px 6px #1734540d; }
.home-calc__editor { margin: 0; }
.home-calc__editor > [role=tabpanel] { min-height: 540px; }
.home-calc__fieldset { border: 0; margin: 0 0 21px; padding: 0; min-width: 0; }
.home-calc__fieldset > legend { font-size: max(var(--desktop-text-min, 0px), 14px); font-weight: 700; padding: 0; margin-bottom: 12px; }
.home-calc__shapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.home-calc__shape, .home-calc__opening-types label, .home-calc__profiles label, .home-calc__swatches label { display: block; position: relative; cursor: pointer; min-width: 0; }
.home-calc__shape > input, .home-calc__opening-types input, .home-calc__profiles input, .home-calc__swatches input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.home-calc__shape > span { display: block; border: 1px solid #dce5ef; border-radius: 11px; background: #fff; padding: 10px 7px 12px; text-align: center; height: 100%; }
.home-calc__shape img { height: 64px; width: 78px; object-fit: contain; display: block; margin: auto auto 6px; }
.home-calc__shape b { font-size: max(var(--desktop-text-min, 0px), 11px); display: block; }
.home-calc__shape input:checked + span, .home-calc__opening-types input:checked + span, .home-calc__profiles input:checked + span { border-color: #37ad80; box-shadow: 0 0 0 1px #37ad80; background: #f1f6ff; }
.home-calc__dimensions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.home-calc__dimensions label > span { display: flex; align-items: center; justify-content: space-between; font-size: max(var(--desktop-text-min, 0px), 13px); font-weight: 650; margin-bottom: 9px; }
.home-calc__dimensions label > span small { color: #8491a3; font-size: max(var(--desktop-text-min, 0px), 11px); font-weight: 400; }
.home-calc__dimensions input[type=number] { border: 1px solid #d4dfed; border-radius: 9px; padding: 12px 13px; width: 100%; color: #14243c; font-size: 19px; font-weight: 650; background: #fff; }
.home-calc__dimensions input[type=range] { width: 100%; height: 20px; margin: 8px 0 0; padding: 0; border: 0; accent-color: #37ad80; cursor: pointer; background: transparent; display: block; }
.home-calc__dimensions label > small { color: #93a0af; font-size: max(var(--desktop-text-min, 0px), 10px); }
.home-calc__hint { font-size: max(var(--desktop-text-min, 0px), 11px); line-height: 1.65; color: #8290a3; margin: 11px 0 18px; }
.home-calc__hint--box { background: #f5f8fc; border-radius: 10px; padding: 13px 15px; }
.home-calc__quantity { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 0 19px; border-bottom: 1px solid #e7edf4; margin-bottom: 20px; }
.home-calc__quantity > label { font-size: max(var(--desktop-text-min, 0px), 12px); font-weight: 600; }
.home-calc__quantity > div { display: flex; border: 1px solid #d7e1ed; border-radius: 9px; overflow: hidden; }
.home-calc__quantity input { appearance: textfield; -moz-appearance: textfield; text-align: center; font-weight: 650; width: 43px; border: 0; background: #fff; font-size: max(var(--desktop-text-min, 0px), 14px); padding: 8px 0; color: #14243c; }
.home-calc__quantity input::-webkit-inner-spin-button, .home-calc__quantity input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.home-calc__quantity button { width: 32px; border: 0; background: #f5f8fc; color: #37ad80; font-size: 19px; }
.home-calc__opening { margin-bottom: 10px; }
.home-calc__opening > legend { margin-bottom: 2px; }
.home-calc__opening .home-calc__hint { margin: 7px 0 12px; }
.home-calc__pane-select { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.home-calc__pane-select button { border: 1px solid #dce5ef; background: #fff; color: #8290a3; font-size: max(var(--desktop-text-min, 0px), 11px); border-radius: 6px; padding: 7px 10px; }
.home-calc__pane-select button[aria-pressed=true] { border-color: #a5bff1; background: #edf4ff; color: #37ad80; }
.home-calc__pane-select--balcony { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-calc__pane-select--balcony button { text-align: left; }
.home-calc__pane-select--balcony .home-calc__pane-door { border-style: dashed; }
.home-calc__opening-types { display: grid; grid-template-columns: .85fr 1fr 1.3fr; gap: 9px; }
.home-calc__opening-types label > span { display: flex; align-items: center; flex-direction: column; text-align: center; border: 1px solid #dce5ef; border-radius: 9px; padding: 12px 7px; height: 100%; }
.home-calc__opening-types b { font-size: max(var(--desktop-text-min, 0px), 11px); line-height: 1.35; margin: 10px 0 4px; }
.home-calc__opening-types small { font-size: max(var(--desktop-text-min, 0px), 9px); color: #8b97a8; line-height: 1.45; }
.home-calc__opening-mark { display: block; height: 36px; width: 29px; border: 2px solid #aabace; border-radius: 2px; position: relative; background: #edf5fa; }
.home-calc__opening-mark--turn::before, .home-calc__opening-mark--tilt::before { content: ''; position: absolute; width: 18px; height: 21px; border-right: 1px dashed #6e8eab; border-top: 1px dashed #6e8eab; transform: rotate(45deg) skew(-12deg, -12deg); top: 5px; left: -1px; }
.home-calc__opening-mark--tilt::after { content: ''; position: absolute; width: 17px; height: 17px; border-right: 1px dashed #6e8eab; border-top: 1px dashed #6e8eab; transform: rotate(-45deg) skew(14deg, 14deg); top: 10px; left: 4px; }
.home-calc__profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.home-calc__profiles label > span { display: block; height: 100%; border: 1px solid #dce5ef; border-radius: 10px; padding: 14px 12px; }
.home-calc__profiles strong { font-size: max(var(--desktop-text-min, 0px), 14px); display: block; }
.home-calc__profiles small { color: #8190a3; font-size: max(var(--desktop-text-min, 0px), 10px); display: block; margin: 5px 0 15px; }
.home-calc__profiles b { color: #37ad80; font-size: 17px; letter-spacing: -.4px; }
.home-calc__select-field { display: block; font-size: max(var(--desktop-text-min, 0px), 13px); font-weight: 700; margin: 0 0 23px; }
.home-calc__select-field select { display: block; margin-top: 10px; background: #fff; border: 1px solid #d4dfed; border-radius: 9px; padding: 12px; color: #14243c; font-size: max(var(--desktop-text-min, 0px), 14px); width: 100%; }
.home-calc__colors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.home-calc__swatches { display: flex; gap: 7px; }
.home-calc__swatch { display: block; width: 32px; height: 32px; border: 1px solid #d3dce7; border-radius: 50%; box-shadow: inset 0 1px 3px #00000008; }
.home-calc__swatch--white { background: #f8f7f3; }
.home-calc__swatch--anthracite { background: #414c58; }
.home-calc__swatch--oak { background: repeating-linear-gradient(95deg,#ab7138 0,#c18d52 3px,#b77b40 6px); }
.home-calc__swatch--dark-oak { background: repeating-linear-gradient(95deg,#4c3326 0,#715135 3px,#503527 6px); }
.home-calc__swatch--custom { background: conic-gradient(#deded5 0 25%,#566273 0 50%,#bb884e 0 75%,#5e4432 0); }
.home-calc__swatches input:checked + span { outline: 2px solid #37ad80; outline-offset: 3px; }
.home-calc__color-name { display: block; margin-top: 10px; font-size: max(var(--desktop-text-min, 0px), 11px); color: #8190a3; }
.home-calc__options { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.home-calc__options label { display: block; position: relative; cursor: pointer; border: 1px solid #dce5ef; border-radius: 10px; padding: 16px 39px 16px 14px; }
.home-calc__options label:has(input:checked) { border-color: #37ad80; background: #f2f7ff; }
.home-calc__options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.home-calc__options b { display: block; font-size: max(var(--desktop-text-min, 0px), 13px); }
.home-calc__options small { display: block; color: #8a97a8; font-size: max(var(--desktop-text-min, 0px), 10px); margin-top: 5px; }
.home-calc__options i { font-style: normal; position: absolute; top: 18px; right: 13px; border: 1px solid #cbd8e7; border-radius: 5px; width: 19px; height: 19px; display: grid; place-items: center; color: transparent; font-size: max(var(--desktop-text-min, 0px), 11px); }
.home-calc__options input:checked ~ i { color: #fff; background: #37ad80; border-color: #37ad80; }
.home-calc__error { background: #fff4f1; color: #2c986d; padding: 12px; border-radius: 8px; font-size: max(var(--desktop-text-min, 0px), 12px); line-height: 1.5; margin-bottom: 15px; }
.home-calc input[aria-invalid=true] { border-color: #4d9c77; background: #fff9f7; }
.home-calc__editor-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 20px 0; border-top: 1px solid #e5ebf3; margin-top: 15px; }
.home-calc__editor-bottom > span { color: #8c99aa; font-size: max(var(--desktop-text-min, 0px), 10px); }
.home-calc__editor-bottom > button { color: #37ad80; background: transparent; border: 0; font-size: max(var(--desktop-text-min, 0px), 11px); font-weight: 650; }
.home-calc__aside { position: sticky; top: 78px; background: linear-gradient(155deg,#eef5ff,#f8fbff); padding: 24px 24px 20px; border-left: 1px solid #dce7f5; border-radius: 0 0 24px; }
.home-calc__preview-head { text-align: center; }
.home-calc__preview-head > span:first-child { display: block; font-size: max(var(--desktop-text-min, 0px), 14px); font-weight: 700; }
.home-calc__preview-head > span:last-child { display: block; font-size: max(var(--desktop-text-min, 0px), 10px); color: #8a9ab0; margin-top: 5px; }
.home-calc__drawing { width: 100%; margin-top: 4px; }
.home-calc__window-svg { display: block; width: 100%; height: auto; max-height: 272px; overflow: visible; }
.home-calc__window-svg.home-calc__window-svg--balcony { max-height: none; }
.home-calc__svg-pane { cursor: pointer; outline: none; }
.home-calc__svg-pane:hover { filter: brightness(.99); }
.home-calc__svg-pane:focus-visible > rect:first-child { stroke: #37ad80; stroke-width: 3; }
.home-calc__diagram-note { text-align: center; font-size: max(var(--desktop-text-min, 0px), 9px); color: #91a0b2; margin: 0 0 17px; }
.home-calc__current-price { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid #e0e9f4; border-radius: 10px; padding: 11px 14px; }
.home-calc__current-price > span { font-size: max(var(--desktop-text-min, 0px), 12px); color: #687c94; }
.home-calc__current-price small { color: #9aa7b7; margin-left: 6px; font-size: max(var(--desktop-text-min, 0px), 10px); }
.home-calc__current-price > strong { font-size: 19px; color: #37ad80; }
.home-calc__estimate-lines { margin: 15px 0; max-height: 130px; overflow-y: auto; scrollbar-width: thin; }
.home-calc__estimate-line { display: flex; justify-content: space-between; gap: 15px; margin: 7px 0; font-size: max(var(--desktop-text-min, 0px), 11px); color: #7d8da3; }
.home-calc__estimate-line > strong { color: #4c617b; font-weight: 600; white-space: nowrap; }
.home-calc__estimate-line--options { border-top: 1px dashed #ccd9e9; padding-top: 10px; }
.home-calc__estimate-line--options > strong { font-size: max(var(--desktop-text-min, 0px), 10px); color: #7b8da4; }
.home-calc__total { border-top: 1px solid #dbe5f2; padding-top: 16px; }
.home-calc__total > span { display: flex; justify-content: space-between; gap: 12px; font-size: max(var(--desktop-text-min, 0px), 12px); font-weight: 600; }
.home-calc__total small { font-size: max(var(--desktop-text-min, 0px), 10px); color: #8b9bb0; font-weight: 400; }
.home-calc__total > strong { font-size: clamp(29px, 3vw, 38px); line-height: 1.3; letter-spacing: -1px; color: #37ad80; display: block; margin-top: 7px; }
.home-calc__price-note { font-size: max(var(--desktop-text-min, 0px), 10px); line-height: 1.65; color: #8a9ab0; margin: 10px 0 18px; }
.home-calc__lead { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 15px 18px; font-size: max(var(--desktop-text-min, 0px), 13px) !important; border-radius: 10px; }
.home-calc__lead span { font-size: 18px; }
.home-calc__export { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 13px; }
.home-calc__export button { border: 1px solid #d6e2f2; border-radius: 8px; padding: 10px 5px; background: #ffffff80; color: #6f829e; font-size: max(var(--desktop-text-min, 0px), 10px); }
.home-calc__share { display: block; margin: 12px auto 0; border: 0; background: transparent; color: #8193ac; font-size: max(var(--desktop-text-min, 0px), 10px) !important; }
.home-calc__status { color: #647d9c; font-size: max(var(--desktop-text-min, 0px), 10px); line-height: 1.6; margin-top: 11px; }
.home-calc__status:empty { margin: 0; }
.home-calc__status button { border: 0; padding: 0; background: transparent; color: #37ad80; text-decoration: underline; }
.home-calc__status input { display: block; width: 100%; padding: 8px; margin-top: 6px; border: 1px solid #cbd9ea; border-radius: 6px; font-size: max(var(--desktop-text-min, 0px), 11px); }
.home-calc__mobile-summary, .home-calc__print, .home-calc-print-page { display: none; }
.home-calc__noscript { padding: 24px; background: #edf4ff; border-radius: 0 0 24px 24px; }
.home-calc__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.home-calc button:focus-visible, .home-calc input:focus-visible, .home-calc select:focus-visible, .home-calc a:focus-visible { outline: 3px solid #91b3ee; outline-offset: 3px; }
.home-calc__shape input:focus-visible + span, .home-calc__opening-types input:focus-visible + span, .home-calc__profiles input:focus-visible + span, .home-calc__swatches input:focus-visible + span, .home-calc__options input:focus-visible + span { outline: 3px solid #91b3ee; outline-offset: 3px; }
@media (max-width: 1100px) {
    .home-calc__layout { grid-template-columns: minmax(0,1fr) 330px; }
    .home-calc__workspace { padding-inline: 20px; }
    .home-calc__aside { padding-inline: 19px; }
    .home-calc__toolbar { padding-inline: 20px; }
    .home-calc__shapes { gap: 6px; }
    .home-calc__shape b { font-size: max(var(--desktop-text-min, 0px), 10px); }
    .home-calc__shape img { width: 65px; height: 58px; }
    .home-calc__colors { gap: 16px; }
    .home-calc__swatch { width: 28px; height: 28px; }
    .home-calc__swatches { gap: 6px; }
    .home-calc__profiles strong { font-size: max(var(--desktop-text-min, 0px), 12px); }
    .home-calc__profiles b { font-size: max(var(--desktop-text-min, 0px), 15px); }
}
@media (max-width: 900px) {
    .home-calc__layout { grid-template-columns: minmax(0,1fr) 295px; }
    .home-calc__workspace { padding-inline: 16px; }
    .home-calc__aside { padding-inline: 15px; }
    .home-calc__tabs > button { padding-inline: 3px; font-size: max(var(--desktop-text-min, 0px), 10px); }
    .home-calc__shape b { font-size: max(var(--desktop-text-min, 0px), 9px); }
    .home-calc__shape img { width: 48px; height: 52px; }
    .home-calc__opening-types b { font-size: max(var(--desktop-text-min, 0px), 9px); }
    .home-calc__opening-types small { font-size: max(var(--desktop-text-min, 0px), 8px); }
    .home-calc__profiles { grid-template-columns: 1fr 1fr; }
    .home-calc__colors { grid-template-columns: 1fr; gap: 0; }
    .home-calc__swatch { width: 33px; height: 33px; }
    .home-calc__options { grid-template-columns: 1fr; }
    .home-calc__editor-bottom > span { display: none; }
    .home-calc__editor-bottom { justify-content: flex-end; }
    .home-calc__toolbar span { max-width: 170px; line-height: 1.4; }
}
@media (max-width: 760px) {
    .home-calc { border-radius: 17px; }
    .home-calc__toolbar { padding: 15px 17px; }
    .home-calc__toolbar > div { display: block; }
    .home-calc__toolbar strong { display: block; font-size: max(var(--desktop-text-min, 0px), 15px); }
    .home-calc__toolbar span { display: block; max-width: none; font-size: max(var(--desktop-text-min, 0px), 9px); margin-top: 4px; }
    .home-calc__quiet-button { font-size: max(var(--desktop-text-min, 0px), 10px) !important; white-space: nowrap; }
    .home-calc__layout { grid-template-columns: 1fr; }
    .home-calc__workspace { padding: 18px 16px 0; }
    .home-calc__order-head > span { font-size: max(var(--desktop-text-min, 0px), 12px); }
    .home-calc__add { font-size: max(var(--desktop-text-min, 0px), 11px) !important; }
    .home-calc__item { flex-basis: 142px; }
    .home-calc__edit-head { margin-top: 18px; }
    .home-calc__edit-head h3 { font-size: 20px; }
    .home-calc__edit-head button { font-size: max(var(--desktop-text-min, 0px), 10px); }
    .home-calc__tabs { margin-bottom: 21px; }
    .home-calc__tabs > button { font-size: max(var(--desktop-text-min, 0px), 11px); padding: 11px 3px; }
    .home-calc__editor > [role=tabpanel] { min-height: 0; }
    .home-calc__fieldset > legend { font-size: max(var(--desktop-text-min, 0px), 13px); }
    .home-calc__shape img { width: 62px; height: 59px; }
    .home-calc__shape b { font-size: max(var(--desktop-text-min, 0px), 9px); }
    .home-calc__shape > span { padding-inline: 3px; }
    .home-calc__dimensions { gap: 15px; }
    .home-calc__dimensions input[type=number] { font-size: 18px; }
    .home-calc__quantity > label { font-size: max(var(--desktop-text-min, 0px), 11px); }
    .home-calc__pane-select button { font-size: max(var(--desktop-text-min, 0px), 10px); padding: 7px 9px; }
    .home-calc__opening-types { grid-template-columns: .86fr 1fr 1.3fr; gap: 7px; }
    .home-calc__opening-types b { font-size: max(var(--desktop-text-min, 0px), 10px); }
    .home-calc__opening-types small { font-size: max(var(--desktop-text-min, 0px), 8px); }
    .home-calc__profiles { grid-template-columns: repeat(2,1fr); }
    .home-calc__profiles strong { font-size: max(var(--desktop-text-min, 0px), 14px); }
    .home-calc__profiles b { font-size: 18px; }
    .home-calc__colors { grid-template-columns: 1fr 1fr; gap: 15px; }
    .home-calc__swatches { gap: 7px; flex-wrap: wrap; }
    .home-calc__swatch { width: 29px; height: 29px; }
    .home-calc__options { grid-template-columns: 1fr 1fr; gap: 9px; }
    .home-calc__options label { padding: 14px 28px 14px 11px; }
    .home-calc__options b { font-size: max(var(--desktop-text-min, 0px), 11px); }
    .home-calc__options small { font-size: max(var(--desktop-text-min, 0px), 9px); line-height: 1.5; }
    .home-calc__options i { width: 15px; height: 15px; right: 8px; top: 15px; font-size: max(var(--desktop-text-min, 0px), 9px); }
    .home-calc__editor-bottom { margin-top: 21px; }
    .home-calc__aside { position: static; border-left: 0; border-top: 1px solid #dce7f5; border-radius: 0; padding: 24px 21px; scroll-margin-top: 80px; }
    .home-calc__window-svg { max-height: 265px; }
    .home-calc__current-price { padding: 13px 14px; }
    .home-calc__current-price > strong { font-size: 22px; }
    .home-calc__estimate-lines { max-height: 165px; }
    .home-calc__estimate-line { font-size: max(var(--desktop-text-min, 0px), 12px); margin: 10px 0; }
    .home-calc__total > strong { font-size: 37px; }
    .home-calc__lead { font-size: max(var(--desktop-text-min, 0px), 14px) !important; padding: 17px 20px; }
    .home-calc__export button { font-size: max(var(--desktop-text-min, 0px), 11px); padding: 12px 7px; }
    .home-calc__share { margin-top: 16px; font-size: max(var(--desktop-text-min, 0px), 11px) !important; }
    .home-calc__mobile-summary { display: flex; position: sticky; top: 74px; margin: 10px; z-index: 12; align-items: center; justify-content: space-between; gap: 12px; background: #142b49; color: #fff; box-shadow: 0 8px 25px #12213a30; padding: 13px 17px; border-radius: 12px; }
    .home-calc__mobile-summary > span { color: #b4c8df; font-size: max(var(--desktop-text-min, 0px), 10px); }
    .home-calc__mobile-summary strong { color: #fff; display: block; font-size: 20px; margin-top: 2px; }
    .home-calc__mobile-summary a { padding: 10px 13px; border: 1px solid #49647f; color: #e5f1ff; font-size: max(var(--desktop-text-min, 0px), 12px); border-radius: 8px; }
}
@media (max-width: 380px) {
    .home-calc__workspace { padding-inline: 12px; }
    .home-calc__tabs > button { font-size: max(var(--desktop-text-min, 0px), 10px); }
    .home-calc__shape img { width: 50px; height: 52px; }
    .home-calc__shape b { font-size: max(var(--desktop-text-min, 0px), 8px); }
    .home-calc__opening-types b { font-size: max(var(--desktop-text-min, 0px), 9px); }
    .home-calc__swatch { width: 26px; height: 26px; }
    .home-calc__swatches { gap: 5px; }
}
@media print {
    body.home-calc-printing > * { display: none !important; }
    body.home-calc-printing > .home-calc-print-page { display: block !important; font-family: var(--site-font, "Raleway", Arial, sans-serif); color: #17283d; padding: 0; }
    .home-calc-print-page h1 { font-size: 23px; margin: 0 0 8px; }
    .home-calc-print-page p { font-size: max(var(--desktop-text-min, 0px), 11px); margin: 0 0 24px; }
    .home-calc-print-page pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.65 Arial,sans-serif; }
    @page { margin: 18mm; }
}

@media screen and (min-width: 1024px) {
 .home-calc__item { min-width: 210px; }
 .home-calc__item > span { white-space: normal; }
 .home-calc__opening-types { grid-template-columns: 1fr 1fr 1.35fr; }
 .home-calc__estimate-line { gap: 16px; align-items: flex-start; }
 .home-calc__estimate-line > strong { flex-shrink: 0; }
 .home-calc__export { grid-template-columns: 1fr; }
 .home-calc__current-price { flex-wrap: wrap; gap: 8px; }
}

.home-calc__geometry { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding: 18px; background: #f2f7fd; border: 1px solid #dce7f5; border-radius: 12px; margin-bottom: 26px; }
.home-calc__geometry > div { flex: 1 1 280px; }
.home-calc__geometry strong { font-size: 17px; }
.home-calc__geometry p { font-size: 16px; line-height: 1.6; margin-top: 5px; color: #61758e; }
.home-calc__geometry .home-calc__quiet-button { color: #37ad80; font-size: 16px !important; white-space: normal; text-align: left; line-height: 1.5; }
.home-calc__presets { margin: 20px 0 25px; }
.home-calc__presets > span { display: block; margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.home-calc__presets > div { display: flex; flex-wrap: wrap; gap: 8px; }
.home-calc__presets button { border: 1px solid #d4e0ee; border-radius: 8px; padding: 10px 12px; background: #fff; color: #3d5671; font-size: 16px; line-height: 1.4; }
.home-calc__presets button[aria-pressed=true] { background: #edf4ff; border-color: #37ad80; color: #1f5af0; }
.home-calc__presets button:focus-visible { outline: 3px solid #91b3ee; outline-offset: 2px; }
.home-calc__glass-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; }
.home-calc__glass-fields .home-calc__select-field { min-width: 0; margin-bottom: 8px; }
.home-calc__glass-fields select { text-overflow: ellipsis; min-width: 0; }
.home-calc__glass-guide { background: #f3f7fc; border-radius: 12px; padding: 18px; font-size: 16px; line-height: 1.7; color: #5b718c; margin-bottom: 25px; }
.home-calc__glass-guide strong { color: #233d5a; }
.home-calc__glass-guide p { margin-top: 8px; }
.home-calc__installation-note { border-top: 1px solid #dce5f0; padding: 18px 0; font-size: 16px; line-height: 1.7; color: #61748b; }
.home-calc__installation-note summary { cursor: pointer; color: #284767; font-weight: 700; }
.home-calc__installation-note p { margin-top: 12px; }
@media (max-width: 1100px) { .home-calc__glass-fields { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 480px) {
 .home-calc__geometry { padding: 15px; }
 .home-calc__presets > div { display: grid; grid-template-columns: 1fr; }
 .home-calc__presets button { text-align: left; }
 .home-calc__glass-guide { padding: 15px; }
}
