.tngqd-live-estimate {
    margin: 22px 0;
    padding: 24px;
    border: 1px solid #cfd9e8;
    border-radius: 22px;
    background: linear-gradient(145deg, #f8fbff 0%, #ffffff 72%);
    box-shadow: 0 18px 44px rgba(15, 31, 61, .08);
    color: #0f1f3d;
}

.tngqd-live-estimate__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.tngqd-eyebrow {
    display: block;
    margin-bottom: 6px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.tngqd-live-estimate h3 {
    margin: 0;
    color: #0b1730;
    font-size: 22px;
    line-height: 1.15;
}

.tngqd-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #1558d6;
    font-size: 12px;
    font-weight: 800;
}

.tngqd-estimate-message,
.tngqd-estimate-note {
    margin: 0;
    color: #5a6679;
    font-size: 14px;
    line-height: 1.55;
}

.tngqd-estimate-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 0;
    border-top: 1px solid #e0e7f2;
    border-bottom: 1px solid #e0e7f2;
}

.tngqd-estimate-total span,
.tngqd-estimate-split span {
    color: #657086;
    font-size: 12px;
    font-weight: 700;
}

.tngqd-estimate-total strong {
    color: #0b1730;
    font-size: 30px;
    line-height: 1;
}

.tngqd-estimate-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.tngqd-estimate-split > div {
    padding: 14px;
    border-radius: 15px;
    background: #f1f5fb;
}

.tngqd-estimate-split strong {
    display: block;
    margin-top: 6px;
    color: #0f1f3d;
    font-size: 20px;
}

.tngqd-breakdown {
    margin-bottom: 14px;
}

.tngqd-breakdown > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    color: #4b576b;
    font-size: 12px;
}

.tngqd-breakdown strong {
    color: #18263f;
}

.tngqd-estimate-note {
    padding-top: 14px;
    border-top: 1px solid #e0e7f2;
    font-size: 12px;
}

.tngqd-mobile-pricebar {
    display: none;
}

@media (max-width: 760px) {
    .tngqd-live-estimate {
        padding: 20px;
        border-radius: 20px;
    }

    .tngqd-live-estimate__head {
        display: block;
    }

    .tngqd-badge {
        margin-top: 12px;
    }

    .tngqd-estimate-split {
        grid-template-columns: 1fr;
    }

    .tngqd-mobile-pricebar:not([hidden]) {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 9998;
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        align-items: center;
        gap: 12px;
        width: calc(100% - 24px);
        padding: 11px 14px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 18px;
        background: #0e1c38;
        box-shadow: 0 16px 40px rgba(7, 19, 43, .28);
        color: #fff;
        text-align: left;
        cursor: pointer;
    }

    .tngqd-mobile-pricebar span {
        min-width: 0;
    }

    .tngqd-mobile-pricebar small,
    .tngqd-mobile-pricebar strong {
        display: block;
    }

    .tngqd-mobile-pricebar small {
        margin-bottom: 2px;
        color: #bdc9dd;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .tngqd-mobile-pricebar strong {
        color: #fff;
        font-size: 16px;
    }

    .tngqd-mobile-pricebar__arrow {
        font-size: 18px;
        font-weight: 900;
    }

    body.page-template-page-contact {
        padding-bottom: 92px;
    }
}

.tngqd-breakdown .tngqd-savings-row { color: #175438; background: #edf7f1; border-radius: 7px; padding: 8px; }
