/* All colors/backgrounds use !important — themes often have their own global
   rules for label/input/etc that otherwise win the cascade and wash this out
   (happened on the live Technical Advisor page: labels were nearly invisible
   because the theme styles "label" for a dark background). Do not remove
   these without checking against the live theme first. */

.dpcr-wrap {
    max-width: 760px;
    margin: 0 0 30px;
}

.dpcr-wrap * {
    box-sizing: border-box;
}

.dpcr-card {
    background: #f4f5f7 !important;
    color: #1a2332 !important;
    border-radius: 10px;
    padding: 28px 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.dpcr-hint-top {
    color: #667 !important;
    font-size: 13px;
    margin: 0 0 20px;
}

.dpcr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.dpcr-field { display: flex; flex-direction: column; gap: 6px; }

.dpcr-field label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #445566 !important;
    background: transparent !important;
    opacity: 1 !important;
}

.dpcr-unit {
    font-weight: 400;
    text-transform: none;
    color: #8891a3 !important;
    font-size: 11px;
}

.dpcr-field input[type=number] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #ccd2dd;
    border-radius: 6px;
    font-size: 15px;
    background: #fff !important;
    color: #1a2332 !important;
}

.dpcr-field input:focus {
    outline: none;
    border-color: #2f7fd8;
    background: #00aef1 !important;
    color: #1a2332 !important;
}

#dpcr-dome::-webkit-outer-spin-button,
#dpcr-dome::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#dpcr-dome {
    -moz-appearance: textfield;
}

.dpcr-result {
    margin-top: 20px;
    background: #212c40 !important;
    color: #eef1f6 !important;
    border-radius: 10px;
    padding: 24px 28px;
}

.dpcr-result-main {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.dpcr-result-label {
    font-size: 13px;
    color: #9aa4b8 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}
.dpcr-result-value {
    font-size: 42px;
    font-weight: 800;
    color: #00aef1 !important;
}
.dpcr-result-value .dpcr-suffix {
    font-size: 22px;
    color: #9aa4b8 !important;
    font-weight: 600;
}

.dpcr-breakdown {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    font-size: 13px;
}

.dpcr-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #333f5a;
    padding: 6px 0;
}
.dpcr-row .dpcr-k { color: #9aa4b8 !important; }
.dpcr-row .dpcr-v { color: #eef1f6 !important; font-weight: 700; }

@media (max-width: 600px) {
    .dpcr-grid, .dpcr-breakdown { grid-template-columns: 1fr; }
}
