/* Rivileo recovery surface. Brand palette/radii; light theme; no app-runtime dependency. */
.recovery-page {
  --recovery-ink: #261815;
  --recovery-muted: #655b57;
  --recovery-accent: #ae3115;
  --recovery-line: #e7e2e0;
  color: var(--recovery-ink);
  background: #fff;
  font-family:
    var(--font-body, -apple-system),
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.55;
  color-scheme: light;
}
.recovery-page * {
  box-sizing: border-box;
}
.recovery-page a {
  color: inherit;
  text-decoration: none;
}
.recovery-page button,
.recovery-page input {
  font: inherit;
}
.recovery-page h1,
.recovery-page h2,
.recovery-page h3,
.recovery-page p {
  margin: 0;
}
.recovery-page h1,
.recovery-page h2,
.recovery-page h3 {
  font-family:
    var(--font-headline, -apple-system),
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}
.recovery-page a:focus-visible,
.recovery-page button:focus-visible,
.recovery-page input:focus-visible {
  outline: 3px solid var(--recovery-accent);
  outline-offset: 5px;
}
.recovery-page a:hover {
  color: var(--recovery-accent);
}
.recovery-header {
  width: min(1200px, 100% - 80px);
  height: 80px;
  margin: 0 auto;
  border-bottom: 1px solid var(--recovery-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.recovery-header nav {
  display: flex;
  gap: 32px;
  font-weight: 550;
  font-size: 14px;
}
.recovery-header nav a {
  padding: 12px 0;
}
.recovery-logo {
  position: relative;
  display: block;
  width: 91px;
  height: 39px;
  overflow: hidden;
  flex-shrink: 0;
}
.recovery-logo img {
  position: absolute;
  left: -13px;
  top: 0;
  max-width: none;
  width: 117px;
  height: 39px;
}
.recovery-main {
  width: min(1200px, 100% - 80px);
  margin: 0 auto;
  flex: 1;
}
.recovery-intro {
  padding: 58px 0 50px;
}
.recovery-with-parent {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.recovery-message {
  max-width: 600px;
}
.recovery-eyebrow {
  color: var(--recovery-muted);
  font-size: 13px;
  font-weight: 550;
  margin-bottom: 14px !important;
}
.recovery-page h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -2.3px;
}
.recovery-description {
  color: var(--recovery-muted);
  max-width: 470px;
  font-size: 16px;
  line-height: 1.65;
  margin-top: 20px !important;
}
.recovery-search {
  margin-top: 30px;
}
.recovery-search label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
}
.recovery-search > div {
  border: 1px solid #cfc6c2;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 7px 7px 18px;
  box-shadow: 0 3px 10px #26181505;
}
.recovery-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--recovery-ink);
  height: 42px;
  outline-offset: 0 !important;
}
.recovery-search button {
  border: 0;
  background: var(--recovery-accent);
  color: #fff;
  border-radius: 10px;
  padding: 13px 24px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.recovery-search button:hover {
  background: #8c1900;
}
.recovery-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.recovery-parent {
  border: 1px solid var(--recovery-line);
  border-radius: 22px;
  overflow: hidden;
  display: block;
}
.recovery-photo {
  aspect-ratio: 1.56;
  overflow: hidden;
  background: transparent;
}
.recovery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.18s ease;
}
.recovery-parent > .recovery-photo {
  aspect-ratio: 2.05;
}
.recovery-parent-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
}
.recovery-parent-label > div {
  min-width: 0;
  flex: 1;
}
.recovery-parent-label span {
  font-size: 12px;
  color: var(--recovery-muted);
  display: block;
}
.recovery-parent-label strong {
  display: block;
  font-size: 23px;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.recovery-parent-label .recovery-parent-action {
  font-size: 12px;
  color: var(--recovery-accent);
  font-weight: 600;
}
.recovery-suggestions {
  padding: 0 0 38px;
}
.recovery-suggestions h2 {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.7px;
  margin-bottom: 22px;
}
.recovery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.recovery-card {
  min-width: 0;
  display: block;
}
.recovery-card .recovery-photo {
  border-radius: 16px;
  margin-bottom: 13px;
}
.recovery-card-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.recovery-card h3 {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  flex: 1;
  letter-spacing: -0.25px;
}
.recovery-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--recovery-ink);
}
.recovery-rating img {
  width: 13px;
  height: 13px;
}
.recovery-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--recovery-muted);
}
.recovery-tag {
  background: #f5f3f2;
  border-radius: 6px;
  padding: 4px 8px;
  color: #59413c;
}
.recovery-ways {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  border-top: 1px solid var(--recovery-line);
  padding: 24px 0 38px;
}
.recovery-ways a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 550;
  font-size: 13px;
}
.recovery-ways a:last-child {
  margin-left: auto;
}
.recovery-footer {
  width: min(1200px, 100% - 80px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--recovery-line);
  font-size: 12px;
  color: var(--recovery-muted);
}
.recovery-skip {
  position: absolute;
  top: -100px;
}
.recovery-skip:focus {
  top: 8px;
  left: 8px;
  padding: 12px;
  background: white;
  z-index: 5;
}
@media (hover: hover) {
  .recovery-card:hover .recovery-photo img,
  .recovery-parent:hover .recovery-photo img {
    transform: scale(1.025);
  }
}
@media (max-width: 900px) {
  .recovery-with-parent {
    gap: 30px;
    grid-template-columns: 1.2fr 1fr;
  }
  .recovery-grid {
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .recovery-page h1 {
    letter-spacing: -1.5px;
  }
  .recovery-parent-label {
    padding: 16px;
  }
  .recovery-parent-action {
    display: none !important;
  }
  .recovery-ways {
    gap: 12px 24px;
  }
}
@media (max-width: 600px) {
  .recovery-header,
  .recovery-main,
  .recovery-footer {
    width: calc(100% - 40px);
  }
  .recovery-header {
    height: 68px;
    gap: 16px;
  }
  .recovery-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .recovery-header nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .recovery-header nav a:last-child {
    display: none;
  }
  .recovery-intro {
    padding: 30px 0;
  }
  .recovery-with-parent {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .recovery-page h1 {
    font-size: 39px;
    line-height: 1.12;
    letter-spacing: -1.5px;
  }
  .recovery-description {
    font-size: 15px;
    margin-top: 16px !important;
  }
  .recovery-search {
    margin-top: 23px;
  }
  .recovery-search > div {
    gap: 9px;
    padding-left: 12px;
  }
  .recovery-search button {
    padding: 12px 18px;
  }
  .recovery-parent > .recovery-photo {
    aspect-ratio: 2.4;
  }
  .recovery-parent-label {
    padding: 14px 16px;
  }
  .recovery-parent-label strong {
    font-size: 20px;
  }
  .recovery-grid {
    gap: 26px 16px;
  }
  .recovery-card h3 {
    font-size: 14px;
  }
  .recovery-card-title {
    display: block;
  }
  .recovery-rating {
    margin-top: 4px;
  }
  .recovery-card-meta {
    font-size: 11px;
  }
  .recovery-suggestions h2 {
    font-size: 21px;
    line-height: 1.35;
  }
  .recovery-suggestions {
    padding-bottom: 28px;
  }
  .recovery-ways {
    display: grid;
    gap: 6px;
    padding: 18px 0 24px;
  }
  .recovery-ways a:last-child {
    margin-left: 0;
  }
  .recovery-footer {
    font-size: 11px;
    align-items: center;
  }
  .recovery-footer span {
    max-width: 210px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .recovery-photo img {
    transition: none !important;
    transform: none !important;
  }
}

.recovery-parent-compact {
  margin-top: 24px;
  display: inline-flex;
  border: 0;
  border-radius: 0;
}
.recovery-parent-compact .recovery-parent-label {
  padding: 0;
}
.recovery-parent-compact .recovery-parent-label strong {
  font-size: 18px;
}
.recovery-parent-compact .recovery-parent-action {
  margin-left: 24px;
}
