.recovery-hero {
    background: linear-gradient(135deg, #f7fbfc 0%, #eef7f4 52%, #f6f8fb 100%);
    padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}
.recovery-hero-grid {
    display: grid;
    gap: 1.5rem;
    align-items: end;
}
.recovery-hero h1 {
    max-width: 760px;
    margin: .2rem 0 .8rem;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
}
.recovery-hero p {
    max-width: 680px;
    color: #4f6370;
    font-size: 1.08rem;
}
.recovery-hero-note,
.recovery-card,
.recovery-procedure-card {
    border: 1px solid rgba(33, 76, 91, .11);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 18px 45px rgba(30, 64, 82, .1);
    border-radius: 18px;
}
.recovery-hero-note {
    padding: 1rem;
    display: grid;
    gap: .25rem;
    color: #27465a;
}
.recovery-hero-note span,
.recovery-muted {
    color: #62717b;
}
.recovery-app {
    padding: 2rem 0 4rem;
    background: #fbfcfd;
}
.recovery-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: .9rem;
    margin-bottom: 1.2rem;
}
.recovery-procedure-card {
    display: grid;
    gap: .3rem;
    padding: 1rem;
    text-decoration: none;
    color: #223946;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.recovery-procedure-card:hover,
.recovery-procedure-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(18, 125, 119, .35);
    box-shadow: 0 22px 55px rgba(18, 82, 92, .15);
}
.recovery-procedure-card small,
.recovery-card-head span,
.recovery-slider-scale {
    color: #687982;
    font-size: .82rem;
}
.recovery-procedure-card span {
    color: #5d6c75;
    font-size: .9rem;
}
.recovery-workbench {
    display: grid;
    gap: 1rem;
}
.recovery-control-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
}
.recovery-card {
    padding: clamp(1rem, 3vw, 1.4rem);
}
.recovery-card h2 {
    margin: 0 0 .6rem;
    font-size: 1.2rem;
    letter-spacing: 0;
}
.recovery-card p {
    margin: .4rem 0 0;
}
.recovery-slider-label,
.recovery-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.recovery-slider-label strong {
    color: #0f766e;
}
.recovery-slider-scale {
    display: flex;
    justify-content: space-between;
}
[data-recovery-slider] {
    width: 100%;
    accent-color: #0f766e;
    margin: 1rem 0 .5rem;
}
.recovery-segments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #edf5f5;
    border-radius: 14px;
    padding: .25rem;
    gap: .25rem;
}
.recovery-segments button,
.recovery-question-buttons button {
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #29404d;
    font: inherit;
    font-weight: 700;
    padding: .75rem .65rem;
    cursor: pointer;
}
.recovery-segments button.is-active,
.recovery-question-buttons button.is-active {
    background: #fff;
    color: #0f766e;
    box-shadow: 0 8px 24px rgba(22, 77, 85, .12);
}
.recovery-main-panel,
.recovery-grid {
    display: grid;
    gap: 1rem;
}
.recovery-timeline-card {
    overflow-x: auto;
}
.recovery-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(8, minmax(92px, 1fr));
    min-width: 760px;
    gap: .4rem;
    padding: .35rem 0;
}
.recovery-timeline::before {
    content: "";
    position: absolute;
    top: 23px;
    left: 46px;
    right: 46px;
    height: 3px;
    background: linear-gradient(90deg, #0f766e, #a8d8d0);
    border-radius: 999px;
}
.recovery-node {
    position: relative;
    display: grid;
    justify-items: center;
    gap: .55rem;
    border: 0;
    background: transparent;
    color: #52636d;
    font: inherit;
    cursor: pointer;
    padding: .2rem;
}
.recovery-node span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #9acdc8;
    box-shadow: 0 0 0 6px #fff;
    transition: transform .2s ease, background .2s ease;
}
.recovery-node.is-active span {
    transform: scale(1.35);
    background: #0f766e;
    border-color: #0f766e;
}
.recovery-node strong {
    font-size: .84rem;
    text-align: center;
}
.recovery-stage-detail {
    min-height: 330px;
}
.recovery-stage-columns {
    display: grid;
    gap: .8rem;
    margin-top: 1rem;
}
.recovery-stage-block {
    background: #f7faf9;
    border: 1px solid rgba(30, 80, 90, .08);
    border-radius: 14px;
    padding: .9rem;
}
.recovery-stage-block h3 {
    margin: 0 0 .45rem;
    font-size: .92rem;
}
.recovery-stage-block ul {
    margin: 0;
    padding-left: 1.1rem;
}
.recovery-badges {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
}
.recovery-badges span,
.recovery-answer-badge {
    display: inline-flex;
    border-radius: 999px;
    padding: .32rem .62rem;
    background: #e8f4f2;
    color: #0f766e;
    font-size: .78rem;
    font-weight: 800;
}
.recovery-chart {
    width: 100%;
    height: auto;
    min-height: 230px;
}
.recovery-chart text {
    fill: #63737d;
    font-size: 13px;
}
.recovery-chart .pain {
    fill: none;
    stroke: #d65b5b;
    stroke-width: 5;
    stroke-linecap: round;
}
.recovery-chart .activity {
    fill: none;
    stroke: #0f766e;
    stroke-width: 5;
    stroke-linecap: round;
}
.recovery-question-buttons {
    display: grid;
    gap: .55rem;
}
.recovery-question-buttons button {
    background: #f3f8f8;
    text-align: left;
}
.recovery-answer {
    margin-top: 1rem;
    padding: .9rem;
    border-radius: 14px;
    background: #f7faf9;
    color: #41535e;
}
[data-symptom-select] {
    width: 100%;
    border: 1px solid rgba(33, 76, 91, .18);
    border-radius: 12px;
    padding: .85rem;
    font: inherit;
}
.recovery-source-list,
.recovery-related-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem;
}
.recovery-source-list article,
.recovery-related-list a {
    display: grid;
    gap: .3rem;
    padding: .9rem;
    border-radius: 14px;
    background: #f7faf9;
    color: #263e4c;
}
.recovery-disclaimer {
    border-left: 4px solid #0f766e;
    padding: 1rem 1.2rem;
    background: #eef8f6;
    color: #29414d;
}
.recovery-alert {
    margin: 1rem 0;
}
@media (min-width: 940px) {
    .recovery-hero-grid,
    .recovery-workbench {
        grid-template-columns: minmax(0, 1fr) 340px;
    }
    .recovery-control-panel {
        grid-column: 2;
        grid-row: 1;
    }
    .recovery-main-panel {
        grid-column: 1;
        grid-row: 1;
    }
    .recovery-grid,
    .recovery-stage-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .recovery-selector {
        grid-template-columns: 1fr;
    }
    .recovery-card-head,
    .recovery-slider-label {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }
}
