.cw-calc {
    width: 100%;
    background: #ffffff;
    border: 1px solid #dce4f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 48px -30px rgba(11,31,58,.30);
    color: #0b1f3a;
}

.cw-calc * {
    box-sizing: border-box;
}

.cw-calc-head {
    background: #0b1f3a;
    color: #ffffff;
    padding: 22px 28px;
}

.cw-calc-head h3 {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.2;
}

.cw-calc-head p {
    margin: 0;
    color: #b9cbea;
    font-size: 14px;
    line-height: 1.5;
}

.cw-calc-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.cw-calc-inputs > label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3c4a63;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cw-calc-inputs input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dce4f0;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    background: #ffffff;
}

.cw-toggle-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid #dce4f0;
    border-radius: 9px;
    cursor: pointer;
    background: #fafbfd;
}

.cw-toggle-row input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.cw-t-label {
    font-size: 14px;
    font-weight: 600;
    color: #0b1f3a;
}

.cw-t-sub {
    font-size: 12.5px;
    color: #7d8aa3;
    margin-top: 3px;
    line-height: 1.45;
}

.cw-results {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cw-result-card {
    border-radius: 12px;
    padding: 18px 20px;
    border: 1.5px solid #dce4f0;
}

.cw-result-card.cw-mw {
    border-color: #12836b;
    background: #e7f5f0;
}

.cw-result-card.cw-other {
    border-color: #b5691a;
    background: #fbf0e2;
}

.cw-result-card h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 10px;
    color: #0b1f3a;
}

.cw-result-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13.5px;
    padding: 4px 0;
    color: #3c4a63;
}

.cw-result-line span:last-child {
    white-space: nowrap;
}

.cw-mono {
    font-family: monospace;
}

.cw-waste {
    color: #8a4b12;
    font-weight: 600;
}

.cw-result-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,.15);
}

.cw-per {
    font-size: 12px;
    color: #3c4a63;
}

.cw-amt {
    font-family: monospace;
    font-size: 26px;
    font-weight: 700;
    color: #0b1f3a;
    white-space: nowrap;
}

.cw-verdict-line {
    grid-column: 1 / -1;
    background: #0b1f3a;
    color: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
}

.cw-verdict-line b {
    color: #8fe0c6;
}

.cw-verdict-line a {
    color: #8fc1ff !important;
    text-decoration: none;
}

.cw-calc-footnote {
    padding: 0 28px 22px;
    font-size: 12.5px;
    color: #8a97ab;
    line-height: 1.55;
}

.cw-calc-footnote a {
    color: #154fa6;
    text-decoration: none;
}

@media (max-width: 820px) {
    .cw-calc-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .cw-calc-head {
        padding: 20px;
    }
}

@media (max-width: 520px) {
    .cw-result-line {
        flex-direction: column;
        gap: 3px;
    }

    .cw-amt {
        font-size: 23px;
    }
}