.end-roi {
    --end-text: #151515;
    --end-muted: #6b7280;
    --end-border: #e5e7eb;
    --end-surface: #ffffff;
    --end-soft: #f6f7f8;
    --end-accent: #111111;
    --end-accent-text: #ffffff;
    color: var(--end-text);
    background: var(--end-surface);
    border: 1px solid var(--end-border);
    border-radius: 24px;
    padding: 36px;
    overflow: hidden;
}

.end-roi *, .end-roi *::before, .end-roi *::after { box-sizing: border-box; }
.end-roi button { font: inherit; }

.end-roi__intro { max-width: 820px; margin-bottom: 30px; }
.end-roi__title { margin: 0 0 10px; font-size: clamp(28px, 3vw, 46px); line-height: 1.08; }
.end-roi__subtitle { margin: 0; color: var(--end-muted); font-size: 17px; line-height: 1.55; }
.end-roi__section { margin-top: 26px; }
.end-roi__section-label { margin-bottom: 12px; font-weight: 700; font-size: 15px; }

.end-roi__choices { display: flex; flex-wrap: wrap; gap: 10px; }
.end-roi__choice {
    appearance: none;
    border: 1px solid var(--end-border);
    background: var(--end-surface);
    color: var(--end-text);
    border-radius: 14px;
    padding: 12px 18px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.end-roi__choice:hover { transform: translateY(-1px); }
.end-roi__choice:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.end-roi__choice.is-active { background: var(--end-accent); color: var(--end-accent-text); border-color: var(--end-accent); }
.end-roi__station-choice { min-width: 145px; text-align: left; }
.end-roi__choice-power { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
.end-roi__choice-name { display: block; font-size: 12px; opacity: .72; margin-top: 3px; }

.end-roi__viewer-shell {
    position: relative;
    width: 100%;
    height: 430px;
    margin-top: 22px;
    background: var(--end-soft);
    border-radius: 20px;
    overflow: hidden;
}
.end-roi__viewer { width: 100%; height: 100%; display: block; opacity: 1; transition: opacity .2s ease; }
.end-roi.is-model-loading .end-roi__viewer { opacity: .4; }
.end-roi__viewer-placeholder,
.end-roi__viewer-status {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(86%, 520px);
    text-align: center;
    color: var(--end-muted);
    font-size: 14px;
    pointer-events: none;
}
.end-roi__viewer-status { top: auto; bottom: 14px; transform: translateX(-50%); }
.end-roi__station-caption { display: flex; align-items: baseline; gap: 9px; margin-top: 10px; }
.end-roi__station-name { font-size: 18px; }
.end-roi__station-power { color: var(--end-muted); }
.end-roi__station-suitable { margin-top: 6px; color: var(--end-muted); font-size: 14px; line-height: 1.45; }

.end-roi__scenario-name { margin: 26px 0 12px; color: var(--end-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.end-roi__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.end-roi__kpi { padding: 22px; background: var(--end-soft); border: 1px solid var(--end-border); border-radius: 18px; min-width: 0; }
.end-roi__kpi--primary { border-color: var(--end-text); }
.end-roi__kpi-value { font-size: clamp(24px, 2.3vw, 36px); line-height: 1.05; font-weight: 750; letter-spacing: -.03em; white-space: nowrap; }
.end-roi__kpi-label { margin-top: 8px; color: var(--end-muted); font-size: 13px; line-height: 1.35; }

.end-roi__details { margin-top: 18px; border: 1px solid var(--end-border); border-radius: 16px; overflow: hidden; }
.end-roi__details summary { cursor: pointer; padding: 17px 20px; font-weight: 700; background: var(--end-surface); }
.end-roi__details-grid { padding: 4px 20px 18px; }
.end-roi__detail-row { display: flex; gap: 18px; justify-content: space-between; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--end-border); }
.end-roi__detail-row span { color: var(--end-muted); }
.end-roi__detail-row strong { text-align: right; }

.end-roi__cta-wrap { margin-top: 22px; }
.end-roi__cta {
    appearance: none;
    border: 0;
    background: var(--end-accent);
    color: var(--end-accent-text);
    border-radius: 14px;
    padding: 15px 24px;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
    font-weight: 700;
    cursor: pointer;
    transition: none;
    transform: none;
}
.end-roi__cta:hover { opacity: 1; transform: none; }
.end-roi__cta:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.end-roi__disclaimer { margin-top: 16px; color: var(--end-muted); font-size: 12px; line-height: 1.55; max-width: 900px; }

@media (max-width: 1024px) {
    .end-roi { padding: 28px; }
    .end-roi__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .end-roi__viewer-shell { height: 360px; }
}

@media (max-width: 767px) {
    .end-roi { padding: 22px 16px; border-radius: 18px; }
    .end-roi__intro { margin-bottom: 22px; }
    .end-roi__subtitle { font-size: 15px; }
    .end-roi__station-choices {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        overflow: visible;
        padding-bottom: 0;
    }
    .end-roi__station-choice {
        width: auto;
        min-width: 0;
        max-width: 100%;
    }
    .end-roi__scenario-choices { display: grid; grid-template-columns: 1fr; }
    .end-roi__scenario-choice { width: 100%; text-align: left; }
    .end-roi__viewer-shell { height: 280px; margin-top: 18px; }
    .end-roi__station-caption { justify-content: center; }
    .end-roi__station-suitable { text-align: center; }
    .end-roi__kpis { grid-template-columns: 1fr 1fr; gap: 9px; }
    .end-roi__kpi { padding: 16px 14px; }
    .end-roi__kpi-value { font-size: clamp(21px, 7vw, 29px); white-space: normal; }
    .end-roi__detail-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
    .end-roi__detail-row strong { text-align: left; }
    .end-roi__cta { width: 100%; }
}

@media (max-width: 420px) {
    .end-roi__kpis { grid-template-columns: 1fr; }
}
.end-roi .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
