.recovery-suite,
.recovery-directory {
  --rs-ink: #12243a;
  --rs-muted: #53657b;
  --rs-line: #d7e2e8;
  --rs-soft: #f4f8f8;
  --rs-brand: #087a70;
  --rs-brand-dark: #075d57;
  --rs-accent: #ffb552;
  --rs-danger: #a52332;
  color: var(--rs-ink);
}

.recovery-suite *, .recovery-directory * { box-sizing: border-box; }
.rs-shell { overflow: hidden; border: 1px solid var(--rs-line); border-radius: 22px; background: #fff; box-shadow: 0 20px 60px rgba(27, 48, 69, .1); }
.rs-hero { padding: clamp(1.3rem, 5vw, 2.6rem); background: radial-gradient(circle at 92% 12%, rgba(255,181,82,.24), transparent 28%), linear-gradient(135deg, #eaf8f5, #f7fbff 68%, #fff7eb); }
.rs-eyebrow { margin: 0 0 .55rem; color: var(--rs-brand-dark); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.rs-hero h1 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.65rem); line-height: 1.12; }
.rs-hero__lead { max-width: 72ch; margin: .8rem 0 0; color: var(--rs-muted); line-height: 1.65; }
.rs-profile-note { margin: 1rem 0 0; padding: .85rem 1rem; border-left: 4px solid var(--rs-accent); background: rgba(255,255,255,.68); border-radius: 0 10px 10px 0; line-height: 1.55; }

.rs-safety { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 1rem; align-items: center; padding: 1rem clamp(1.2rem,4vw,2rem); border-top: 1px solid #efc6ca; border-bottom: 1px solid #efc6ca; background: #fff4f5; }
.rs-safety strong { color: #7f1825; }
.rs-safety p { margin: .25rem 0 0; color: #6d3440; line-height: 1.5; }
.rs-safety a { color: #8c1725; font-weight: 800; }
.rs-safety a.rs-button--danger { color: #fff; }

.rs-mode { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; padding: .85rem; border-bottom: 1px solid var(--rs-line); background: #fff; }
.rs-mode button { min-height: 58px; padding: .7rem; border: 1px solid var(--rs-line); border-radius: 14px; background: var(--rs-soft); color: var(--rs-ink); font: inherit; font-weight: 800; cursor: pointer; }
.rs-mode button small { display: block; margin-top: .15rem; color: var(--rs-muted); font-weight: 500; }
.rs-mode button[aria-selected="true"] { border-color: var(--rs-brand); background: var(--rs-brand); color: #fff; box-shadow: 0 7px 20px rgba(8,122,112,.2); }
.rs-mode button[aria-selected="true"] small { color: #d9f5f1; }
.rs-mode button:focus-visible, .rs-button:focus-visible, .rs-field input:focus-visible, .rs-field select:focus-visible, .rs-field textarea:focus-visible { outline: 3px solid rgba(8,122,112,.28); outline-offset: 2px; }

.rs-workspace { padding: clamp(1.1rem,4vw,2rem); }
.rs-panel[hidden], .rs-result[hidden] { display: none; }
.rs-intro { max-width: 76ch; margin: 0 0 1.3rem; color: var(--rs-muted); line-height: 1.6; }
.rs-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.rs-card { min-width: 0; padding: 1.1rem; border: 1px solid var(--rs-line); border-radius: 17px; background: #fff; }
.rs-card--wide { grid-column: 1 / -1; }
.rs-card__number { display: inline-grid; width: 2rem; height: 2rem; place-items: center; border-radius: 9px; background: #e6f5f2; color: var(--rs-brand-dark); font-size: .8rem; font-weight: 900; }
.rs-card h2, .rs-card h3 { margin: .65rem 0 .35rem; font-size: 1.15rem; }
.rs-card > p { margin: 0 0 .9rem; color: var(--rs-muted); line-height: 1.55; }

.rs-field { display: block; margin-top: .75rem; }
.rs-field > span { display: block; margin-bottom: .4rem; font-size: .9rem; font-weight: 750; }
.rs-field input, .rs-field select, .rs-field textarea { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid #afbfcb; border-radius: 10px; background: #fff; color: var(--rs-ink); font: inherit; }
.rs-field textarea { min-height: 90px; resize: vertical; }
.rs-range-line { display: grid; grid-template-columns: 1fr auto; gap: .7rem; align-items: center; }
.rs-range-line output { min-width: 2.6rem; padding: .35rem .5rem; border-radius: 8px; background: #e6f5f2; color: var(--rs-brand-dark); font-weight: 850; text-align: center; }
.rs-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.rs-chip { position: relative; cursor: pointer; }
.rs-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rs-chip span { display: inline-block; padding: .55rem .7rem; border: 1px solid var(--rs-line); border-radius: 999px; background: var(--rs-soft); font-size: .86rem; }
.rs-chip input:checked + span { border-color: var(--rs-brand); background: #ddf2ee; color: var(--rs-brand-dark); box-shadow: inset 0 0 0 1px var(--rs-brand); font-weight: 750; }
.rs-check { display: flex; gap: .6rem; align-items: flex-start; margin-top: .55rem; line-height: 1.45; }
.rs-check input { width: 18px; height: 18px; margin-top: .12rem; accent-color: var(--rs-brand); }

.rs-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.rs-button { min-height: 44px; padding: .65rem .9rem; border: 1px solid transparent; border-radius: 10px; background: var(--rs-brand); color: #fff; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; }
.rs-button:hover { background: var(--rs-brand-dark); color: #fff; }
.rs-button--secondary { border-color: var(--rs-line); background: #fff; color: var(--rs-ink); }
.rs-button--secondary:hover { background: var(--rs-soft); color: var(--rs-ink); }
.rs-button--danger { background: var(--rs-danger); }

.rs-result { margin-top: .8rem; padding: .85rem; border: 1px solid #acd8d2; border-radius: 11px; background: #edf9f7; line-height: 1.5; }
.rs-result--warn { border-color: #edca91; background: #fff8e9; }
.rs-result--danger { border-color: #e5a4ad; background: #fff0f2; color: #6e1722; }
.rs-timer { display: grid; place-items: center; min-height: 90px; margin-top: .8rem; border-radius: 14px; background: #122f3a; color: #fff; }
.rs-timer strong { font-size: 2rem; letter-spacing: .04em; }
.rs-timer span { color: #c8dedf; font-size: .84rem; }
.rs-calc { display: grid; grid-template-columns: repeat(3,1fr); gap: .6rem; margin-top: .8rem; }
.rs-stat { padding: .75rem; border-radius: 12px; background: var(--rs-soft); text-align: center; }
.rs-stat strong { display: block; color: var(--rs-brand-dark); font-size: 1.15rem; }
.rs-stat span { color: var(--rs-muted); font-size: .76rem; }
.rs-plan-list { margin: .7rem 0 0; padding-left: 1.2rem; }
.rs-plan-list li + li { margin-top: .4rem; }
.rs-privacy { margin: 1.2rem 0 0; color: var(--rs-muted); font-size: .82rem; }
.rs-history { width: 100%; margin-top: .8rem; border-collapse: collapse; font-size: .86rem; }
.rs-history th, .rs-history td { padding: .55rem; border-bottom: 1px solid var(--rs-line); text-align: left; }
.rs-empty { color: var(--rs-muted); font-style: italic; }

.recovery-directory__hero { margin-bottom: 1.2rem; padding: clamp(1.3rem,5vw,2.5rem); border: 1px solid var(--rs-line); border-radius: 22px; background: linear-gradient(135deg,#eaf8f5,#fff8ed); }
.recovery-directory__hero h1 { margin: 0; font-size: clamp(1.7rem,5vw,2.6rem); }
.recovery-directory__hero p { max-width: 76ch; color: var(--rs-muted); line-height: 1.65; }
.rs-search { position: sticky; top: 78px; z-index: 5; margin: 1rem 0; padding: .8rem; border: 1px solid var(--rs-line); border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: 0 8px 25px rgba(27,48,69,.08); }
.rs-search label { display: block; margin-bottom: .35rem; font-weight: 800; }
.rs-search input { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 1px solid #afbfcb; border-radius: 10px; font: inherit; }
.rs-directory-group { margin: .8rem 0; border: 1px solid var(--rs-line); border-radius: 15px; background: #fff; }
.rs-directory-group summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; cursor: pointer; font-weight: 850; }
.rs-directory-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; margin: 0; padding: 0 1rem 1rem; list-style: none; }
.rs-directory-item a { display: block; height: 100%; padding: .75rem; border: 1px solid var(--rs-line); border-radius: 11px; background: var(--rs-soft); color: var(--rs-ink); text-decoration: none; }
.rs-directory-item a:hover { border-color: var(--rs-brand); background: #e8f6f3; }
.rs-directory-item small { display: block; margin-top: .2rem; color: var(--rs-muted); }
.tools-suite-callout { margin-bottom: 1.5rem; padding: clamp(1.2rem,4vw,2rem); border: 1px solid #a9d8d1; border-radius: 19px; background: radial-gradient(circle at 95% 10%,rgba(255,181,82,.22),transparent 25%),linear-gradient(135deg,#eaf8f5,#f7fbff); }
.tools-suite-callout h2 { margin: .25rem 0 .55rem; }
.tools-suite-callout p { max-width: 75ch; color: #526579; line-height: 1.6; }

@media (max-width: 760px) {
  .rs-safety, .rs-mode, .rs-grid, .rs-directory-list { grid-template-columns: 1fr; }
  .rs-card--wide { grid-column: auto; }
  .rs-calc { grid-template-columns: 1fr; }
  .rs-actions .rs-button, .rs-safety .rs-button { width: 100%; text-align: center; }
  .rs-search { top: 68px; }
}

@media print {
  .site-header, .site-footer, .rs-mode, .rs-actions, .rs-safety .rs-button { display: none !important; }
  .rs-panel[hidden] { display: block; }
  .rs-shell { box-shadow: none; }
}
