body.klk-modal-open {
    overflow: hidden;
}

#klk-calculator {
    --klk-black: #1c1c17;
    --klk-gray: #454545;
    --klk-light-gray: #f5f5f3;
    --klk-border: #deded8;
    --klk-accent: #d8da00;
    width: 100%;
    min-width: 0;
    padding: 32px 0 64px;
    color: var(--klk-black);
    font-family: inherit;
    letter-spacing: 0;
    background: #fff;
    isolation: isolate;
}

#klk-calculator,
#klk-calculator * {
    box-sizing: border-box;
}

#klk-calculator [hidden] {
    display: none !important;
}

#klk-calculator h1,
#klk-calculator h2,
#klk-calculator h3,
#klk-calculator h4,
#klk-calculator h5,
#klk-calculator p,
#klk-calculator dl,
#klk-calculator ol,
#klk-calculator ul {
    margin: 0;
    padding: 0;
    letter-spacing: 0;
}

#klk-calculator button,
#klk-calculator input {
    letter-spacing: 0;
    font: inherit;
}

#klk-calculator .calculator-page {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

#klk-calculator .calculator-shell {
    display: grid;
    width: min(1280px, calc(100% - 36px));
    min-width: 0;
    margin: 0 auto;
    gap: 18px;
}

#klk-calculator .calculator-head {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 12px;
}

#klk-calculator .calculator-title-row {
    display: grid;
    gap: 8px;
    padding: 22px 26px;
    border: 1px solid var(--klk-border);
    background: #fff;
}

#klk-calculator .calculator-title-row h1 {
    color: var(--klk-black);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

#klk-calculator .calculator-title-row p {
    max-width: 900px;
    color: var(--klk-gray);
    font-size: 20px;
    line-height: 1.4;
}

#klk-calculator .calculator-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--klk-border);
    background: #fff;
    list-style: none;
}

#klk-calculator .calculator-progress li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    padding: 12px 14px;
    border-right: 1px solid var(--klk-border);
    color: var(--klk-gray);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
}

#klk-calculator .calculator-progress li:last-child {
    border-right: 0;
}

#klk-calculator .calculator-progress span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid var(--klk-border);
    border-radius: 50%;
    color: var(--klk-black);
    font-size: 18px;
    line-height: 1;
    background: var(--klk-light-gray);
}

#klk-calculator .calculator-progress li.is-complete span {
    border-color: var(--klk-accent);
    background: var(--klk-accent);
}

#klk-calculator .calculator-progress li.is-active {
    color: var(--klk-black);
    background: var(--klk-light-gray);
}

#klk-calculator .calculator-progress li.is-active span {
    border-color: var(--klk-accent);
    background: #f0f0eb;
}

#klk-calculator .calculator-progress li.is-active.is-complete span {
    background: var(--klk-accent);
}

#klk-calculator .calculator-progress li.is-active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 0;
    left: 14px;
    height: 4px;
    background: var(--klk-accent);
}

#klk-calculator .calculator-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    align-items: start;
    gap: 18px;
    min-width: 0;
    scroll-margin-top: 24px;
}

#klk-calculator.klk-result-active .calculator-workspace {
    grid-template-columns: minmax(0, 1fr);
}

#klk-calculator.klk-result-active .calculator-side {
    display: none;
}

#klk-calculator .calculator-stage {
    display: grid;
    gap: 18px;
    min-width: 0;
}

#klk-calculator .calculator-step {
    display: grid;
    gap: 20px;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--klk-border);
    background: #fff;
}

#klk-calculator .step-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--klk-border);
}

#klk-calculator .step-heading h2 {
    color: var(--klk-black);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
}

#klk-calculator .calculator-side {
    position: sticky;
    top: 18px;
    min-width: 0;
}

#klk-calculator .side-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--klk-border);
    background: #fff;
}

#klk-calculator .side-card h2 {
    color: var(--klk-black);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.05;
}

#klk-calculator .side-card > p {
    color: var(--klk-gray);
    font-size: 17px;
    line-height: 1.35;
}

#klk-calculator .side-visual {
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 330px;
    padding: 24px;
    border: 1px solid var(--klk-border);
    color: var(--klk-gray);
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
    background: #fff;
}

#klk-calculator .side-visual img {
    display: block;
    width: min(340px, 100%);
    height: 265px;
    object-fit: contain;
    object-position: center;
}

#klk-calculator .side-summary {
    display: grid;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--klk-border);
}

#klk-calculator .side-summary div {
    display: grid;
    gap: 3px;
}

#klk-calculator .side-summary dt {
    color: var(--klk-gray);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

#klk-calculator .side-summary dd {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

#klk-calculator .side-measurements {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--klk-border);
}

#klk-calculator .side-measurements h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

#klk-calculator .side-measurements > p {
    color: var(--klk-gray);
    font-size: 15px;
}

#klk-calculator .side-measurements dl {
    display: grid;
    gap: 8px;
    max-height: 300px;
    overflow: auto;
}

#klk-calculator .side-measurements dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(222, 222, 216, 0.75);
}

#klk-calculator .side-measurements dt {
    color: var(--klk-gray);
    font-size: 14px;
    line-height: 1.2;
}

#klk-calculator .side-measurements dd {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

#klk-calculator .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 0;
    color: var(--klk-black);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#klk-calculator .btn:hover {
    transform: translateY(-1px);
}

#klk-calculator .btn:disabled {
    opacity: 0.62;
    cursor: wait;
    transform: none;
}

#klk-calculator .btn-filled-green {
    border-color: var(--klk-accent);
    background: var(--klk-accent);
}

#klk-calculator .btn-filled-green:hover {
    border-color: #c9ca00;
    background: #c9ca00;
}

#klk-calculator .btn-filled-gray {
    border-color: var(--klk-gray);
    color: #fff;
    background: var(--klk-gray);
}

#klk-calculator .btn-filled-gray:hover {
    border-color: var(--klk-black);
    background: var(--klk-black);
}

#klk-calculator #roof-buttons,
#klk-calculator #tech-buttons {
    display: grid;
    min-width: 0;
}

#klk-calculator #roof-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--klk-border);
    background: #fff;
}

#klk-calculator #tech-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

#klk-calculator .choice-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    min-height: 84px;
    padding: 14px 16px;
    border: 1px solid var(--klk-border);
    border-radius: 0;
    color: var(--klk-black);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    text-align: left;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#klk-calculator .choice-btn:hover {
    border-color: var(--klk-black);
    background: var(--klk-light-gray);
}

#klk-calculator .choice-btn.active {
    border-color: var(--klk-accent);
    color: var(--klk-black);
    background: rgba(216, 218, 0, 0.18);
    box-shadow: inset 0 0 0 2px var(--klk-accent);
}

#klk-calculator #roof-buttons .choice-btn {
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-height: 238px;
    padding: 26px 18px;
    border: 0;
    border-right: 1px solid var(--klk-border);
    text-align: center;
}

#klk-calculator #roof-buttons .choice-btn:last-child {
    border-right: 0;
}

#klk-calculator #roof-buttons .choice-btn.active {
    box-shadow: inset 0 0 0 3px var(--klk-accent);
}

#klk-calculator .roof-icon {
    display: block;
    width: 136px;
    height: 112px;
    flex: 0 0 112px;
    object-fit: contain;
    object-position: center;
}

#klk-calculator #roof-buttons .choice-btn span {
    max-width: 180px;
    font-size: 20px;
}

#klk-calculator #input-fields,
#klk-calculator #pairs-wrapper,
#klk-calculator #pairs-list {
    display: grid;
    gap: 12px;
    min-width: 0;
}

#klk-calculator .field-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(120px, 170px) auto;
    align-items: center;
    gap: 6px 10px;
    min-width: 0;
    min-height: 68px;
    padding: 12px;
    border: 1px solid var(--klk-border);
    background: #fff;
}

#klk-calculator .field-row label {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    margin: 0;
    color: var(--klk-black);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
}

#klk-calculator .field-row input {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 9px 10px;
    border: 1px solid var(--klk-border);
    border-radius: 0;
    color: var(--klk-black);
    font-size: 18px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#klk-calculator .field-row input:focus {
    border-color: var(--klk-black);
    box-shadow: 0 0 0 3px rgba(28, 28, 23, 0.08);
}

#klk-calculator .field-row input:disabled {
    color: var(--klk-gray);
    background: var(--klk-light-gray);
    opacity: 1;
    cursor: not-allowed;
}

#klk-calculator .field-row input:disabled::placeholder {
    color: var(--klk-gray);
    font-weight: 700;
    opacity: 1;
}

#klk-calculator .numeric-input.is-invalid {
    border-color: #b00020;
    box-shadow: 0 0 0 3px rgba(176, 0, 32, 0.12);
}

#klk-calculator .field-icon {
    display: block;
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    object-fit: contain;
    object-position: center;
}

#klk-calculator .field-unit {
    align-self: center;
    min-width: 34px;
    color: var(--klk-black);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

#klk-calculator .pair-controls {
    display: flex;
    justify-content: center;
}

#klk-calculator .pair-controls[hidden],
#klk-calculator #add-pair-btn {
    display: none !important;
}

#klk-calculator .pair-row {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 130px) 32px;
    background: var(--klk-light-gray);
}

#klk-calculator .pair-row .field-icon {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
}

#klk-calculator .remove-pair-btn {
    grid-column: 1 / -1;
    justify-self: end;
    min-height: 42px;
    padding: 10px 14px;
}

#klk-calculator #calc-btn {
    display: inline-flex;
    width: fit-content;
    min-width: 260px;
    min-height: 56px;
    margin-left: auto;
    font-size: 18px;
}

#klk-calculator .step-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--klk-border);
}

#klk-calculator .step-nav .btn:last-child {
    margin-left: auto;
}

#klk-calculator .app-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

#klk-calculator .app-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#klk-calculator .app-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 23, 0.58);
}

#klk-calculator .app-modal__dialog {
    position: relative;
    display: grid;
    gap: 14px;
    width: min(520px, 100%);
    padding: 28px;
    border: 1px solid var(--klk-border);
    background: #fff;
}

#klk-calculator .app-modal__dialog h3 {
    padding-right: 28px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}

#klk-calculator .app-modal__dialog p {
    font-size: 18px;
    line-height: 1.45;
}

#klk-calculator .calculator-lead-form {
    display: grid;
    gap: 14px;
    margin-top: 1em;
}

#klk-calculator .calculator-lead-form label {
    display: grid;
    gap: 6px;
    color: var(--klk-black);
    font-weight: 700;
}

#klk-calculator .calculator-lead-form input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--klk-border);
    border-radius: 0;
    color: var(--klk-black);
    font: inherit;
}

#klk-calculator .app-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    color: var(--klk-black);
    font-size: 28px;
    line-height: 1;
    background: transparent;
    cursor: pointer;
}

#klk-calculator .app-modal__button {
    justify-self: end;
    min-width: 140px;
}

#klk-calculator #results-area {
    min-width: 0;
    overflow-x: auto;
}

#klk-calculator #results-area .klk-offer-preview {
    display: grid;
    gap: 14px;
    min-width: 0;
}

#klk-calculator #results-area .klk-offer-preview > h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

#klk-calculator #results-area .klk-offer-table {
    width: 100%;
    min-width: 880px;
    margin: 0;
    border: 1px solid var(--klk-border);
    border-collapse: separate;
    border-spacing: 0;
    color: var(--klk-black);
    font-size: 15px;
    background: #fff;
}

#klk-calculator #results-area .klk-offer-table th,
#klk-calculator #results-area .klk-offer-table td {
    padding: 10px 12px;
    border: 0;
    border-right: 1px solid var(--klk-border);
    border-bottom: 1px solid var(--klk-border);
    vertical-align: top;
}

#klk-calculator #results-area .klk-offer-table th:last-child,
#klk-calculator #results-area .klk-offer-table td:last-child {
    border-right: 0;
}

#klk-calculator #results-area .klk-offer-table tbody tr:last-child td {
    border-bottom: 0;
}

#klk-calculator #results-area .klk-offer-table th {
    color: #fff;
    font-weight: 700;
    background: var(--klk-black);
}

#klk-calculator #results-area .klk-offer-table th:first-child,
#klk-calculator #results-area .klk-offer-table td:first-child {
    width: 42px;
    text-align: center;
}

#klk-calculator #results-area .klk-number {
    text-align: right;
    white-space: nowrap;
}

#klk-calculator #results-area .klk-summary {
    display: grid;
    justify-content: end;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--klk-border);
    text-align: right;
    background: var(--klk-light-gray);
}

#klk-calculator #results-area .klk-summary p {
    line-height: 1.35;
}

#klk-calculator #results-area .klk-gross-total {
    margin-top: 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

#klk-calculator #results-area .klk-important-notes {
    display: grid;
    gap: 14px;
    width: 100%;
    padding: 20px;
    background: var(--klk-light-gray);
    box-shadow: inset 0 4px 0 var(--klk-accent);
}

#klk-calculator #results-area .klk-important-notes > h4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

#klk-calculator #results-area .klk-exclusions h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

#klk-calculator #results-area .klk-exclusions ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 18px;
    list-style: none;
}

#klk-calculator #results-area .klk-exclusions li {
    display: flex;
    gap: 8px;
    color: var(--klk-gray);
    font-size: 15px;
    line-height: 1.25;
}

#klk-calculator #results-area .klk-exclusions li span {
    color: var(--klk-black);
    font-weight: 700;
}

#klk-calculator #results-area .klk-legal-notes {
    display: grid;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--klk-border);
    color: var(--klk-gray);
    font-size: 14px;
    font-style: italic;
    line-height: 1.4;
}

#klk-calculator #results-area .klk-survey-cta {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 18px 20px;
    color: var(--klk-black);
    background: var(--klk-light-gray);
    animation: klk-cta-attention 9s ease-in-out infinite;
}

#klk-calculator #results-area .klk-survey-cta img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
}

#klk-calculator #results-area .klk-survey-cta__content {
    display: grid;
    gap: 8px;
    min-width: 0;
}

#klk-calculator #results-area .klk-survey-cta strong {
    font-size: 22px;
    line-height: 1.2;
}

#klk-calculator #results-area .klk-survey-cta small {
    color: var(--klk-gray);
    font-size: 16px;
    line-height: 1.35;
}

#klk-calculator #results-area .klk-survey-cta__button {
    display: inline-block;
    width: fit-content;
    margin-top: 4px;
    padding: 12px 20px;
    color: var(--klk-black);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    background: var(--klk-accent);
}

@keyframes klk-cta-attention {
    0%,
    70%,
    100% {
        transform: translateY(0);
        background-color: #f5f5f3;
    }

    74%,
    82% {
        transform: translateY(-3px);
        background-color: rgba(216, 218, 0, 0.2);
    }

    78%,
    86% {
        transform: translateY(0);
        background-color: #f5f5f3;
    }
}

@media (prefers-reduced-motion: reduce) {
    #klk-calculator #results-area .klk-survey-cta {
        animation: none;
    }
}

@media (max-width: 900px) {
    #klk-calculator {
        padding-top: 24px;
        padding-bottom: 40px;
    }

    #klk-calculator .calculator-title-row h1 {
        font-size: 38px;
    }

    #klk-calculator .calculator-title-row p {
        font-size: 18px;
    }

    #klk-calculator .calculator-progress li {
        min-height: 64px;
        padding: 8px 5px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        font-size: 12px;
        text-align: center;
    }

    #klk-calculator .calculator-progress span {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
        font-size: 12px;
    }

    #klk-calculator .calculator-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    #klk-calculator .calculator-side {
        display: none;
    }

    #klk-calculator #roof-buttons,
    #klk-calculator #tech-buttons {
        grid-template-columns: 1fr;
    }

    #klk-calculator #roof-buttons .choice-btn {
        min-height: 132px;
        padding: 18px;
        flex-direction: row;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid var(--klk-border);
        text-align: left;
    }

    #klk-calculator #roof-buttons .choice-btn:last-child {
        border-bottom: 0;
    }

    #klk-calculator #roof-buttons .roof-icon {
        width: 88px;
        height: 76px;
        flex-basis: 88px;
    }

    #klk-calculator .field-row,
    #klk-calculator .pair-row {
        grid-template-columns: 1fr auto;
        gap: 8px 10px;
    }

    #klk-calculator .field-row label,
    #klk-calculator .pair-row .pair-label {
        grid-column: 1 / -1;
    }

    #klk-calculator .field-row input,
    #klk-calculator .pair-row input {
        grid-column: 1 / 2;
    }

    #klk-calculator .field-unit,
    #klk-calculator .pair-row .field-unit {
        grid-column: 2 / 3;
    }

    #klk-calculator .pair-row .remove-pair-btn {
        grid-column: 1 / -1;
    }

    #klk-calculator #results-area {
        overflow-x: visible;
    }

    #klk-calculator #results-area .klk-offer-table,
    #klk-calculator #results-area .klk-offer-table tbody,
    #klk-calculator #results-area .klk-offer-table tr,
    #klk-calculator #results-area .klk-offer-table td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    #klk-calculator #results-area .klk-offer-table {
        border: 0;
        background: transparent;
    }

    #klk-calculator #results-area .klk-offer-table thead {
        display: none;
    }

    #klk-calculator #results-area .klk-offer-table tbody {
        display: grid;
        gap: 12px;
    }

    #klk-calculator #results-area .klk-offer-table tr {
        border: 1px solid var(--klk-border);
        background: #fff;
    }

    #klk-calculator #results-area .klk-offer-table td,
    #klk-calculator #results-area .klk-offer-table tbody tr:last-child td {
        display: grid;
        grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
        gap: 12px;
        padding: 9px 12px;
        border-right: 0;
        border-bottom: 1px solid var(--klk-border);
        text-align: right;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #klk-calculator #results-area .klk-offer-table td::before {
        content: attr(data-label);
        color: var(--klk-gray);
        font-weight: 700;
        text-align: left;
    }

    #klk-calculator #results-area .klk-offer-table td:nth-child(1)::before {
        content: "Tétel #";
        color: #fff;
    }

    #klk-calculator #results-area .klk-offer-table td:first-child {
        width: 100%;
        color: #fff;
        background: var(--klk-black);
    }

    #klk-calculator #results-area .klk-offer-table td:nth-child(2) {
        display: block;
        padding-top: 12px;
        padding-bottom: 12px;
        font-weight: 700;
        line-height: 1.35;
        text-align: left;
    }

    #klk-calculator #results-area .klk-offer-table td:nth-child(2)::before {
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        text-transform: uppercase;
    }

    #klk-calculator #results-area .klk-offer-table td:last-child {
        border-bottom: 0;
        font-weight: 700;
    }

    #klk-calculator #results-area .klk-summary {
        justify-content: stretch;
        text-align: left;
    }

    #klk-calculator #results-area .klk-summary p {
        display: flex;
        justify-content: space-between;
        gap: 16px;
    }

    #klk-calculator #results-area .klk-gross-total {
        display: grid;
        gap: 4px;
        padding-top: 10px;
        border-top: 1px solid var(--klk-border);
    }

    #klk-calculator #results-area .klk-exclusions ul {
        grid-template-columns: 1fr;
    }

    #klk-calculator #results-area .klk-survey-cta {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    #klk-calculator #results-area .klk-survey-cta img {
        width: 64px;
        height: 64px;
    }

    #klk-calculator #results-area .klk-survey-cta strong {
        font-size: 19px;
    }

    #klk-calculator #results-area .klk-survey-cta__button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 560px) {
    #klk-calculator {
        padding-top: 20px;
        padding-bottom: 28px;
    }

    #klk-calculator .calculator-shell {
        width: calc(100% - 20px);
    }

    #klk-calculator .calculator-title-row,
    #klk-calculator .calculator-step {
        padding: 18px 16px;
    }

    #klk-calculator .calculator-title-row h1 {
        font-size: 36px;
    }

    #klk-calculator .calculator-title-row p {
        font-size: 17px;
    }

    #klk-calculator .step-heading {
        padding-bottom: 14px;
    }

    #klk-calculator .step-heading h2 {
        font-size: 26px;
    }

    #klk-calculator #roof-buttons .choice-btn {
        min-height: 112px;
        padding: 16px;
    }

    #klk-calculator #roof-buttons .roof-icon {
        width: 76px;
        height: 64px;
        flex-basis: 76px;
    }

    #klk-calculator .choice-btn {
        min-height: 64px;
        padding: 12px;
        font-size: 16px;
    }

    #klk-calculator .field-row label {
        font-size: 17px;
    }

    #klk-calculator .field-icon,
    #klk-calculator .pair-row .field-icon {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    #klk-calculator .step-nav .btn {
        min-width: 0;
        flex: 1 1 0;
        padding-right: 14px;
        padding-left: 14px;
    }

    #klk-calculator #calc-btn {
        width: auto;
        min-width: 0;
    }

    #klk-calculator .app-modal {
        padding: 12px;
    }

    #klk-calculator .app-modal__dialog {
        padding: 22px;
    }

    #klk-calculator #results-area .klk-important-notes {
        padding: 16px;
    }
}
