.rent-money-input-wrap {
  position: relative;
  min-width: 0;
}

.rent-money-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-weight: 800;
  z-index: 2;
  pointer-events: none;
}

.rent-money-input {
  padding-left: 40px;
}

.rent-tool-note {
    color: #5f5f6b;
    line-height: 1.65;
}

.rent-segmented-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rent-segmented-option {
    position: relative;
    flex: 1 1 220px;
}

    .rent-segmented-option input {
        position: absolute;
        inset: 0;
        opacity: 0;
    }

    .rent-segmented-option span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 12px 16px;
        border: 1px solid rgba(33, 37, 41, 0.12);
        border-radius: 14px;
        background: #fff;
        font-weight: 600;
        color: #2f3441;
        transition: all .18s ease;
    }

    .rent-segmented-option input:checked + span {
        border-color: rgba(13, 110, 253, 0.35);
        background: rgba(13, 110, 253, 0.06);
        color: #0d47a1;
    }

.rent-summary-shell {
    display: grid;
    gap: 16px;
}

.rent-summary-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.rent-summary-hero-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #1d2433;
}

.rent-rate-box {
    min-width: 220px;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
}

    .rent-rate-box small {
        display: block;
        color: #64748b;
    }

    .rent-rate-box strong {
        display: block;
        margin-top: 0.15rem;
        font-size: 1.35rem;
        color: #0f172a;
    }

.rent-details-toggle {
    border: 1px solid rgba(33, 37, 41, 0.08);
    border-radius: 18px;
    background: #fff;
    padding: 0.85rem 1rem;
}

    .rent-details-toggle > summary {
        cursor: pointer;
        font-weight: 700;
        list-style: none;
    }

        .rent-details-toggle > summary::-webkit-details-marker {
            display: none;
        }

        .rent-details-toggle > summary::after {
            content: "+";
            float: right;
            font-size: 1.1rem;
        }

    .rent-details-toggle[open] > summary::after {
        content: "−";
    }

.rent-source-note {
    font-size: 1rem;
    line-height: 1.55;
    white-space: normal;
}

@media (max-width: 767.98px) {
    .rent-summary-hero {
        flex-direction: column;
    }

    .rent-rate-box {
        width: 100%;
        min-width: 0;
    }
}

.rent-cpi-comparison {
    padding: 16px;
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 18px;
    background: rgba(255, 248, 225, 0.55);
}

.rent-cpi-comparison-message {
    color: #5f4b1f;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.55;
}
