/* Cost step rail. Figure 04 stays the only diagram. Page-scoped. */
.cu-cost-page {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.cu-cost-page .cu-diagram,
.cu-cost-page .cu-diagram img {
    max-width: 100%;
    height: auto;
}

.cu-cost-page .cu-cost-rail {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    margin: 0 0 0.9rem;
    padding: 0;
    position: relative;
}

.cu-cost-page .cu-cost-rail::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 22px;
    height: 2px;
    background: rgba(245, 240, 230, 0.22);
}

.cu-cost-page .cu-cost-rail li {
    min-width: 0;
    position: relative;
    z-index: 1;
}

.cu-cost-page .cu-cost-rail button {
    width: 100%;
    min-height: 44px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    padding: 0.35rem 0.2rem;
    border-radius: 0.7rem;
    border: 1px solid rgba(245, 240, 230, 0.2);
    background: rgba(12, 22, 38, 0.92);
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.cu-cost-page .cu-cost-rail button.is-on {
    border-color: var(--cu-teal, #0d9488);
    box-shadow: inset 0 0 0 1px var(--cu-teal, #0d9488);
}

.cu-cost-page .cu-cost-rail button:hover,
.cu-cost-page .cu-cost-rail button:focus-visible {
    border-color: var(--cu-teal-bright, #5eead4);
    outline: none;
}

.cu-cost-page .cu-cost-rail__n {
    font-size: 0.68rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    color: var(--cu-teal-bright, #5eead4);
}

.cu-cost-page .cu-cost-rail__name {
    font-size: 0.72rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-align: center;
}

.cu-cost-page .cu-cost-bands {
    display: flex;
    flex-direction: column;
    gap: var(--cu-space-3);
    margin: 0 0 0.25rem;
    min-width: 0;
}

.cu-cost-page .cu-cost-band {
    border-radius: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 22, 38, 0.55);
    overflow: hidden;
    min-width: 0;
}

.cu-cost-page .cu-cost-band__toggle {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    font: inherit;
    box-sizing: border-box;
}

.cu-cost-page .cu-cost-band__toggle:hover,
.cu-cost-page .cu-cost-band__toggle:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}

.cu-cost-page .cu-cost-band__title {
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    min-width: 0;
    overflow-wrap: anywhere;
}

.cu-cost-page .cu-cost-band__chevron {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 1rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
}

.cu-cost-page .cu-cost-band__body {
    padding: 0 0.75rem 0.85rem;
    min-width: 0;
}

.cu-cost-page .cu-chip-btn,
.cu-cost-page .cu-cta {
    min-height: 44px;
}

.cu-shell[data-theme="light"] .cu-cost-page .cu-cost-rail button,
.cu-shell[data-theme="light"] .cu-cost-page .cu-cost-band {
    background: #fffdf8;
    color: #1a1a1a;
    border-color: rgba(26, 26, 26, 0.14);
}

.cu-shell[data-theme="light"] .cu-cost-page .cu-cost-band__chevron {
    color: #1a1a1a;
    border-color: rgba(26, 26, 26, 0.2);
}

.cu-shell[data-theme="light"] .cu-cost-page .cu-cost-rail::before {
    background: rgba(26, 26, 26, 0.16);
}
