.mapro-csp {
    --csp-black: #111218;
    --csp-panel: #1b1d24;
    --csp-panel-soft: #232630;
    --csp-gold: #d8bd68;
    --csp-line: rgba(216, 189, 104, 0.2);
    --csp-shadow: 0 18px 50px rgba(12, 12, 18, 0.16);
    color: #fff;
    display: grid;
    gap: 22px;
}

.mapro-csp * {
    box-sizing: border-box;
}

.mapro-csp__hero,
.mapro-csp__panel {
    background: linear-gradient(110deg, #101115 0%, #181920 55%, #342d20 100%);
    border: 1px solid var(--csp-line);
    border-radius: 22px;
    box-shadow: var(--csp-shadow);
}

.mapro-csp__hero {
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.8fr);
    padding: 34px;
}

.mapro-csp__eyebrow {
    color: var(--csp-gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.6px;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.mapro-csp__hero h2 {
    color: #fff;
    font-size: clamp(36px, 5vw, 70px);
    font-weight: 900;
    line-height: 0.95;
    margin: 0 0 14px;
}

.mapro-csp__hero p:not(.mapro-csp__eyebrow) {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.65;
    margin: 0;
    max-width: 760px;
}

.mapro-csp__rate-panel {
    display: grid;
    gap: 12px;
}

.mapro-csp__rate-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--csp-line);
    border-radius: 18px;
    display: grid;
    gap: 8px;
    padding: 18px;
}

.mapro-csp__rate-box span,
.mapro-csp__label,
.mapro-csp__result-rate {
    color: var(--csp-gold);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.mapro-csp__rate-box strong {
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.mapro-csp__grid {
    display: grid;
    gap: 20px;
}

.mapro-csp__grid--simple {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.mapro-csp__panel {
    padding: 28px;
}

.mapro-csp__panel--summary {
    background: linear-gradient(150deg, #15161c 0%, #23242d 55%, #3a3122 100%);
}

.mapro-csp__input {
    appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(216, 189, 104, 0.22);
    border-radius: 14px;
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    display: block;
    font: inherit;
    font-size: 28px;
    font-weight: 900;
    margin-top: 12px;
    min-height: 62px;
    padding: 0 18px;
    width: 100%;
}

.mapro-csp__input::placeholder {
    color: rgba(255, 255, 255, 0.38);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.38);
}

.mapro-csp__input:focus {
    border-color: rgba(216, 189, 104, 0.6);
    box-shadow: 0 0 0 3px rgba(216, 189, 104, 0.12);
    outline: none;
}

.mapro-csp__result-grid {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.mapro-csp__result-card {
    background: linear-gradient(145deg, #1a1b22 0%, #24252e 100%);
    border: 1px solid var(--csp-line);
    border-radius: 18px;
    display: grid;
    gap: 10px;
    padding: 20px;
}

.mapro-csp__result-label {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.mapro-csp__result-value {
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    line-height: 1;
}

.mapro-csp__total {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--csp-line);
    border-radius: 18px;
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding: 22px;
}

.mapro-csp__total span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
}

.mapro-csp__total strong {
    color: #fff;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 0.95;
}

.mapro-csp__summary-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.mapro-csp__summary-list div {
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--csp-line);
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
}

.mapro-csp__summary-list span {
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 800;
}

.mapro-csp__summary-list strong {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.mapro-csp__note {
    border-top: 1px solid var(--csp-line);
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.65;
    margin-top: 18px;
    padding-top: 18px;
}

@media (max-width: 1024px) {
    .mapro-csp__hero,
    .mapro-csp__grid--simple {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .mapro-csp__hero,
    .mapro-csp__panel {
        border-radius: 18px;
        padding: 22px;
    }

    .mapro-csp__hero h2 {
        font-size: clamp(30px, 10vw, 50px);
    }

    .mapro-csp__hero p:not(.mapro-csp__eyebrow) {
        font-size: 16px;
    }

    .mapro-csp__input {
        font-size: 24px;
        min-height: 56px;
    }

    .mapro-csp__result-value {
        font-size: 32px;
    }
}
