:root {
  --recovery-bg: #f5f1e7;
  --recovery-surface: #fffefa;
  --recovery-border: #d9d2c4;
  --recovery-text: #1f211e;
  --recovery-muted: #74736d;
  --recovery-red: #c3261c;
  --recovery-gold: #d7bd7c;
  --recovery-bd-bg: #152018;
  --recovery-bd-surface: #1d2a20;
  --recovery-bd-border: #35463a;
  --recovery-bd-text: #f2efe7;
  --recovery-bd-muted: #a7aa9e;
  --recovery-orange: #ef7c35;
}

html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; }
#homeRoot { min-height: 100dvh; }
.recovery-shell { min-height: 100dvh; box-sizing: border-box; background: var(--recovery-bg); color: var(--recovery-text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.recovery-shell *, .recovery-shell *::before, .recovery-shell *::after { box-sizing: border-box; }
.recovery-topbar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 8px clamp(20px, 4vw, 40px); border-bottom: 1px solid var(--recovery-border); }
.recovery-brand { display: grid; gap: 3px; color: inherit; text-decoration: none; line-height: 1; }
.recovery-brand span { font-size: 10px; font-weight: 800; letter-spacing: .04em; color: var(--recovery-red); }
.recovery-brand strong { font-size: 18px; font-weight: 650; }
.recovery-desktop-nav { display: flex; align-items: center; gap: clamp(28px, 6vw, 56px); }
.recovery-desktop-nav a { color: var(--recovery-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.recovery-desktop-nav a:first-child { color: var(--recovery-text); font-weight: 700; }
.recovery-main { width: min(100%, 1200px); margin: 0 auto; padding: 26px clamp(20px, 4vw, 40px) 72px; }
.recovery-heading { margin: 0 0 26px; }
.recovery-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 36px); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; }
.recovery-heading p { margin: 6px 0 0; color: var(--recovery-muted); font-size: 14px; }
.recovery-capture-card { min-height: 118px; display: flex; align-items: center; gap: 18px; padding: 20px 18px; border: 1px solid var(--recovery-border); border-radius: 14px; background: var(--recovery-surface); color: inherit; text-decoration: none; }
.recovery-record { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; display: grid; place-items: center; background: var(--recovery-red); }
.recovery-record i { width: 16px; height: 16px; border-radius: 50%; background: white; }
.recovery-capture-copy { display: grid; gap: 4px; min-width: 0; }
.recovery-capture-copy small { color: var(--recovery-red); font-size: 10px; font-weight: 800; }
.recovery-capture-copy strong { font-size: 18px; font-weight: 700; }
.recovery-capture-copy span { color: var(--recovery-muted); font-size: 14px; }
.recovery-arrow { margin-left: auto; color: var(--recovery-muted); font-size: 27px; font-weight: 300; line-height: 1; }
.recovery-desk { margin-top: 28px; }
.recovery-desk h2 { margin: 0 0 14px; font-size: 22px; font-weight: 700; }
.recovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.recovery-app-card { min-height: 92px; display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--recovery-border); border-radius: 13px; background: var(--recovery-surface); color: inherit; text-decoration: none; min-width: 0; }
.recovery-accent { width: 8px; align-self: stretch; min-height: 46px; border-radius: 6px; background: var(--recovery-gold); }
.accent-red .recovery-accent { background: var(--recovery-red); }
.accent-gold .recovery-accent, .accent-sand .recovery-accent { background: var(--recovery-gold); }
.accent-orange .recovery-accent { background: var(--recovery-orange); }
.recovery-card-copy { min-width: 0; display: grid; gap: 7px; }
.recovery-card-copy strong { font-size: 16px; font-weight: 700; }
.recovery-card-copy small { color: var(--recovery-muted); font-size: 13px; line-height: 1.25; }
.recovery-app-card .recovery-arrow { font-size: 24px; }
.recovery-feed-card { margin-top: 40px; min-height: 92px; padding: 14px 15px; border: 1px solid var(--recovery-border); border-radius: 13px; background: var(--recovery-surface); }
.recovery-feed-card small { display: block; color: var(--recovery-muted); font-size: 12px; font-weight: 650; }
.recovery-feed-card p { margin: 10px 0 0; font-size: 15px; }
.recovery-secondary { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.recovery-secondary a, .recovery-more a, .recovery-family-switch a { color: var(--recovery-muted); font-size: 13px; text-decoration: none; }
.recovery-more { margin-top: 20px; color: var(--recovery-muted); font-size: 13px; }
.recovery-more summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; }
.recovery-more div { display: flex; flex-wrap: wrap; gap: 16px; padding: 4px 0 10px; }
.recovery-family-switch { margin: 30px 0 0; }
.recovery-mobile-nav { display: none; }

.family-recovery-bd { background: var(--recovery-bd-bg); color: var(--recovery-bd-text); }
.family-recovery-bd .recovery-topbar { border-bottom-color: #2a382e; }
.family-recovery-bd .recovery-brand span { color: var(--recovery-orange); }
.family-recovery-bd .recovery-desktop-nav a { color: var(--recovery-bd-muted); }
.family-recovery-bd .recovery-desktop-nav a:first-child { color: var(--recovery-bd-text); }
.recovery-bd-heading { margin-top: 2px; }
.recovery-bd-heading h1 { font-size: clamp(30px, 4vw, 34px); }
.family-recovery-bd .recovery-bd-grid { margin-top: 18px; }
.family-recovery-bd .recovery-app-card { background: var(--recovery-bd-surface); border-color: var(--recovery-bd-border); }
.family-recovery-bd .recovery-card-copy small, .family-recovery-bd .recovery-arrow, .family-recovery-bd .recovery-more, .family-recovery-bd .recovery-more a, .family-recovery-bd .recovery-family-switch a { color: var(--recovery-bd-muted); }
.family-recovery-bd .recovery-family-switch { border-top: 1px solid #2a382e; padding-top: 18px; }

.recovery-shell a:focus-visible, .recovery-shell summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

@media (max-width: 699px) {
  .recovery-topbar { min-height: 58px; }
  .recovery-desktop-nav { display: none; }
  .recovery-main { padding: 22px 18px calc(88px + env(safe-area-inset-bottom, 0px)); }
  .recovery-grid { grid-template-columns: 1fr; gap: 10px; }
  .recovery-capture-card { min-height: 104px; }
  .recovery-feed-card { margin-top: 28px; }
  .recovery-mobile-nav { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; min-height: 58px; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--recovery-border); background: rgba(245, 241, 231, .97); backdrop-filter: blur(12px); }
  .recovery-mobile-nav a { display: grid; place-items: center; min-height: 58px; color: var(--recovery-muted); text-decoration: none; font-size: 12px; font-weight: 650; }
  .family-recovery-bd .recovery-mobile-nav { border-top-color: #2a382e; background: rgba(21, 32, 24, .97); }
  .family-recovery-bd .recovery-mobile-nav a { color: var(--recovery-bd-muted); }
}

@media (min-width: 700px) and (max-width: 1100px) {
  .recovery-main { padding-top: 26px; }
  .recovery-grid { gap: 14px; }
}
