.rd-symptoms {
  --rd-yellow: #ffca0b;
  --rd-edge: #574657;
  --rd-soft: #dbd0dc;
  background: #19151c;
  color: #fcfbfc;
  font: 500 17px/1.48 Manrope, "Segoe UI", sans-serif;
  border-block: 1px solid #3e3442;
  scroll-margin-block-start: 70px;
}
.rd-wrap { width: min(1280px, calc(100% - 2 * var(--gutter, 4vw))); margin-inline: auto; padding-block: clamp(38px, 4vw, 66px); }
.rd-symptoms h2 { margin: 0 0 clamp(20px, 2.4vw, 38px); font-size: clamp(32px, 4vw, 61px); font-weight: 800; line-height: 1.07; letter-spacing: -.05em; text-wrap: balance; }
.rd-layout { display: grid; grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr); gap: clamp(24px, 3.7vw, 60px); align-items: start; }
.rd-picker p { margin: 0 0 14px; color: var(--rd-soft); font-size: clamp(15px, 1.25vw, 19px); }
.rd-tabs { display: grid; gap: 8px; }
.rd-short-label { display: none; }
.rd-tabs button {
  display: flex; align-items: center; gap: 13px; width: 100%; min-height: 48px; padding: 13px 17px;
  background: #241e28; color: #f7f3f9; border: 1px solid var(--rd-edge); border-radius: 10px;
  font: 650 clamp(16px, 1.25vw, 20px)/1.28 Manrope, "Segoe UI", sans-serif; text-align: left; cursor: pointer;
}
.rd-tabs button:hover { background: #352b3b; }
.rd-tabs button[aria-selected="true"] { background: #ffca0b; border-color: #ffca0b; color: #1c1813; }
.rd-dot { flex: none; width: 14px; height: 14px; border: 1.5px solid #9f8fa8; border-radius: 100%; display: grid; place-items: center; }
.rd-tabs button[aria-selected="true"] .rd-dot { border-color: #34270a; }
.rd-tabs button[aria-selected="true"] .rd-dot::after { content: ""; width: 6px; height: 6px; background: #34270a; border-radius: 100%; }
.rd-results, .rd-panel { min-width: 0; display: grid; }
.rd-panel { grid-area: 1/1; grid-template-rows: auto 1fr; overflow: hidden; background: #2c2331; border: 1px solid var(--rd-edge); border-radius: 18px; }
.rd-panel[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.rd-figure { position: relative; margin: 0; height: clamp(278px, 26vw, 405px); overflow: hidden; background: #201c20; }
.rd-figure > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); transform-origin: var(--focus); }
.rd-figure figcaption, .rd-zoom { position: absolute; bottom: 14px; color: white; background: rgb(20 16 23 / 89%); }
.rd-figure figcaption { max-width: calc(100% - 87px); left: 14px; margin: 0; padding: 6px 12px; border-radius: 7px; font-size: 14px; }
.rd-zoom { right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #b8a4c1; border-radius: 50%; cursor: zoom-in; }
.rd-zoom svg { width: 20px; height: 20px; }
.rd-figure.is-zoomed > img { transform: scale(1.75); }
.rd-figure.is-zoomed .rd-zoom { cursor: zoom-out; }
.rd-figure.is-zoomed .rd-plus { display: none; }
.rd-figure.is-zoomed figcaption { border-left: 3px solid #d7adeb; }
.rd-zoom { top:12px; bottom:auto; }
@media (min-width:761px) {
  .rd-zoom { display:flex; align-items:center; justify-content:center; gap:8px; padding:0 13px; width:auto; border-radius:24px; font:700 13px/1.2 Manrope,"Segoe UI",sans-serif; }
  .rd-zoom::after { content:attr(data-label); }
}
.rd-answer { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(16px, 1.65vw, 26px); }
.rd-answer h3 { margin: 0 0 7px; font-size: clamp(22px, 1.85vw, 31px); line-height: 1.15; letter-spacing: -.033em; font-weight: 800; text-wrap: balance; }
.rd-answer p { margin: 0; color: var(--rd-soft); max-width: 69ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.45; }
.rd-symptoms .rd-outcomes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:8px; margin:0; }
.rd-outcomes div { padding:10px 12px; background:#392d40; border-top:2px solid #aa88b7; border-radius:4px 4px 7px 7px; }
.rd-outcomes dt { margin:0 0 4px; color:#fbf6fd; font-size:15px; line-height:1.3; font-weight:780; }
.rd-symptoms .rd-outcomes dd { margin:0; color:var(--rd-soft); font-size:14px; line-height:1.43; }
.rd-answer .rd-tip { padding-left: 12px; border-left: 2px solid #b893cb; }
.rd-tip strong { color: #efddfa; margin-right: .25em; }
.rd-action { margin-top: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; border: 1px solid #c4a4d6; color: #fffbff; background: #42304e; text-decoration: none; font: 750 15px/1.35 Manrope, "Segoe UI", sans-serif; }
.rd-action:hover { background: #513b60; }
.rd-symptoms :is(button,a):focus-visible { outline: 3px solid #e0b4ff; outline-offset: 3px; }
@media (max-width: 760px) {
  .rd-wrap { width: calc(100% - 32px); padding-block: 28px; }
  .rd-symptoms h2 { margin-bottom: 16px; }
  .rd-layout { display: block; }
  .rd-picker p { margin-bottom: 8px; font-size: 14px; }
  .rd-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .rd-tabs button { min-height: 46px; padding: 8px; gap: 5px; font-size: 13px; }
  .rd-wide-label { display: none; }
  .rd-short-label { display: inline; }
  .rd-dot { width: 11px; height: 11px; }
  .rd-tabs button[aria-selected="true"] .rd-dot::after { width: 5px; height: 5px; }
  .rd-results { margin-top: 12px; }
  .rd-panel { border-radius: 13px; }
  .rd-figure { height: auto; aspect-ratio: 1.85; }
  .rd-figure > img { position: absolute; inset: 0; }
  .rd-figure figcaption { left: 8px; bottom: 8px; padding: 4px 7px; font-size: 12px; }
  .rd-zoom { right: 8px; top: 8px; bottom:auto; }
  .rd-symptoms .rd-outcomes { grid-template-columns:minmax(0,1fr); gap:6px; }
  .rd-outcomes div { padding:8px 10px; border-top:0; border-left:2px solid #aa88b7; }
  .rd-outcomes dt { margin-bottom:2px; }
  .rd-answer { gap: 10px; padding: 14px; }
  .rd-answer h3 { font-size: 22px; }
  .rd-answer p { line-height: 1.38; }
}
