/* Ректификация — поверх explore.css (как /kompleksnyj) */
body.rectification-page {
  padding: 0;
}
body.rectification-page > .container,
body.rectification-page .container,
body.rectification-page > .content,
body.rectification-page .content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.rx-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 5.25rem clamp(1rem, 3vw, 2.5rem) 5rem;
  box-sizing: border-box;
}

.rectification-page .hub-switch {
  margin: 0 0 10px;
}

.rx-mode-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
@media (max-width: 720px) {
  .rx-mode-tiles { grid-template-columns: 1fr; }
}
.rx-mode-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  padding: 16px 18px;
  border: 1px solid var(--ex-line, #d4e0f5);
  border-radius: 14px;
  background: var(--ex-card, #fff);
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.rx-mode-tile:hover {
  border-color: color-mix(in srgb, var(--ex-violet, #7c5cfc) 45%, var(--ex-line, #d4e0f5));
}
.rx-mode-tile[aria-selected="true"],
.rx-mode-tile[aria-current="page"] {
  border-color: var(--ex-violet, #7c5cfc);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ex-violet, #7c5cfc) 22%, transparent);
  background: color-mix(in srgb, var(--ex-violet, #7c5cfc) 6%, #fff);
}
.rx-mode-tile__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ex-ink, #1a2236);
}
.rx-mode-tile__desc {
  font-size: 13px;
  line-height: 1.35;
  color: var(--ex-muted, #5a6a8a);
}

.rx-muted { color: var(--ex-muted, #5a6a8a); margin: 0 0 10px; }
.rx-s { font-size: 13px; }

.rx-pilot-note {
  margin-bottom: 14px;
  border-left: 4px solid var(--ex-gold-ink, #b45309);
  background: var(--ex-gold-bg, #fff7ed);
}
.rx-pilot-note strong { color: var(--ex-gold-ink, #b45309); }

.rx-profile-card { margin-bottom: 14px; }
.rx-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 14px;
  align-items: end;
}
@media (max-width: 560px) {
  .rx-form-grid {
    grid-template-columns: 1fr;
  }
  .rx-form-grid .ex-lbl {
    display: block;
    margin-bottom: 4px;
    font-size: 0.85rem;
    font-weight: 600;
  }
  .rx-form-grid .ex-inp,
  .rx-form-grid input,
  .rx-form-grid select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
  }
}
.rx-form-grid .ex-lbl { margin: 0; }
.rx-form-grid .city-autocomplete-wrapper { position: relative; }

.rx-tabs.ex-gtabs { margin: 8px 0 16px; border-bottom: 1px solid var(--ex-line, #d4e0f5); }
.rx-tabs .ex-gtab {
  background: none;
  border: 0;
  padding: 10px 14px;
  font: inherit;
  color: var(--ex-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  border-radius: 0;
}
.rx-tabs .ex-gtab[aria-selected="true"] {
  color: var(--ex-ink);
  border-bottom-color: var(--ex-violet, #7c5cfc);
  font-weight: 700;
  background: transparent;
}

.rx-panel[hidden] { display: none; }

.rx-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rx-steps span {
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid var(--ex-line);
  font-size: 13px;
  color: var(--ex-muted);
  background: var(--ex-card, #fff);
}
.rx-steps span.on {
  background: var(--ex-violet, #7c5cfc);
  color: #fff;
  border-color: var(--ex-violet, #7c5cfc);
  font-weight: 700;
}
.rx-steps span.ok {
  color: #0f766e;
  border-color: #99f6e4;
}

.rx-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.rx-seg {
  display: inline-flex;
  border: 1px solid var(--ex-line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.rx-seg button {
  background: none;
  border: 0;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ex-muted);
  cursor: pointer;
}
.rx-seg button[aria-pressed="true"] {
  background: var(--ex-ink);
  color: #fff;
  font-weight: 700;
}

.rx-btn {
  /* legacy alias → explore buttons preferred in markup */
  height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid transparent;
  background: var(--gl-grad, linear-gradient(135deg, #38bdf8, #7c5cfc));
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.rx-btn.rx-ghost,
.rx-ghost {
  background: #fff;
  color: var(--ex-ink);
  border: 1px solid var(--ex-line);
}
.rx-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.rx-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  min-width: 120px;
}
.rx-field input,
.rx-field select,
.rx-inline-input {
  font: inherit;
  padding: 8px 10px;
  border: 1px solid var(--ex-line);
  border-radius: 10px;
  background: #f8fbff;
  color: var(--ex-ink);
}
.rx-inline-input.rx-other-detail {
  border-color: #94a3b8;
  background: #fff;
}
.rx-inline-input[type="date"],
.rx-inline-input[type="month"],
.rx-inline-input.rx-year-input {
  min-width: 10.5rem;
}
.rx-inline-input.rx-year-input {
  max-width: 7.5rem;
}
.rx-other-hint {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ex-muted);
}

table.rx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.rx-table th,
.rx-table td {
  text-align: left;
  padding: 7px 8px;
  border-bottom: 1px solid var(--ex-line);
  vertical-align: top;
}
.rx-table th {
  color: var(--ex-muted);
  font-weight: 500;
  font-size: 12px;
}

.rx-tg {
  display: inline-block;
  border-radius: 6px;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 700;
}
.rx-tg.tr { background: var(--ex-violet); color: #fff; }
.rx-tg.ct { background: var(--ex-gold-bg); color: var(--ex-gold-ink); }

.rx-bar {
  height: 10px;
  background: var(--ex-line);
  border-radius: 5px;
  overflow: hidden;
}
.rx-bar i {
  display: block;
  height: 100%;
  background: var(--ex-violet);
}

.rx-note {
  border-left: 4px solid var(--ex-gold-ink);
  padding: 8px 12px;
  background: var(--ex-gold-bg);
  margin: 12px 0;
  font-size: 14px;
  border-radius: 0 10px 10px 0;
}
.rx-note.rx-warn { border-left-color: #b5483a; }
.rx-note.rx-upgrade { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; border-left-color: var(--ex-violet); }
.rx-note.rx-upgrade .ex-btn { text-decoration: none; }

.rx-hm { width: 100%; overflow-x: auto; }
.rx-hm-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  table-layout: fixed;
}
.rx-hm-table th,
.rx-hm-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--ex-line, #d4e0f5);
  text-align: center;
  vertical-align: middle;
}
.rx-hm-table thead th {
  font-weight: 650;
  color: var(--ex-ink, #1a2236);
  background: #f8fbff;
}
.rx-hm-table tbody th {
  text-align: left;
  font-weight: 550;
  color: var(--ex-ink, #1a2236);
  width: 38%;
}
.rx-hm-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  color: color-mix(in srgb, var(--ex-ink, #1a2236) 45%, transparent);
  background: color-mix(in srgb, #fbbf24 calc(var(--p, 0) * 1%), #eef2f8);
  border: 1px solid color-mix(in srgb, #fbbf24 calc(var(--p, 0) * 0.6%), var(--ex-line, #d4e0f5));
}
.rx-hm-cell.is-hit {
  color: #7a4e00;
}
.rx-fit-table td:nth-child(3),
.rx-fit-table td:nth-child(4) {
  font-size: 13px;
  color: var(--ex-muted, #5a6a8a);
}
.rx-hit-ok td:first-child { color: #166534; }
.rx-hit-miss td:first-child { color: #9a3412; }
.rx-hit-miss td { opacity: 0.85; }

.rx-int {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--ex-line);
}
.rx-int .n {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ex-ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.rx-g2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) {
  .rx-g2 { grid-template-columns: 1fr; }
  .rx-hm-table tbody th { width: auto; font-size: 12px; }
}

.rx-page svg,
.rx-curve { width: 100%; height: auto; display: block; min-height: 140px; }
.rx-curve { border-radius: 12px; border: 1px solid var(--ex-line, #d4e0f5); }
.rx-status { margin: 10px 0 0; font-size: 13px; color: var(--ex-muted); }

code.rx-code {
  background: #f8fbff;
  border: 1px solid var(--ex-line);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 13px;
}

.rx-empty {
  border: 1px solid color-mix(in srgb, var(--ex-violet, #7c5cfc) 28%, var(--ex-line, #d4e0f5));
  border-radius: 16px;
  padding: 28px 22px 24px;
  text-align: center;
  color: var(--ex-muted, #5a6a8a);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--ex-violet, #7c5cfc) 10%, #fff) 0%, transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #f3f7ff 100%);
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ex-violet, #7c5cfc) 8%, transparent);
}
.rx-empty--compact {
  padding: 18px 16px 16px;
  max-width: none;
  margin: 8px 0 0;
  box-shadow: none;
  text-align: left;
}
.rx-empty--compact .rx-empty__icon {
  display: none;
}
.rx-empty--compact .rx-empty__actions {
  justify-content: flex-start;
}
.rx-empty__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background:
    color-mix(in srgb, var(--ex-violet, #7c5cfc) 12%, #fff)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5cfc' stroke-width='1.7'%3E%3Crect x='3' y='4' width='18' height='17' rx='2'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18'/%3E%3Cpath d='M8 14h.01M12 14h.01M16 14h.01M8 18h.01M12 18h.01'/%3E%3C/svg%3E")
    center/22px no-repeat;
}
.rx-empty__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ex-ink, #1a2236);
}
.rx-empty--compact .rx-empty__title { font-size: 1rem; }
.rx-empty__text {
  margin: 0 auto 14px;
  max-width: 38em;
  font-size: 14px;
  line-height: 1.45;
}
.rx-empty--compact .rx-empty__text { margin: 0 0 12px; }
.rx-empty__chips {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.rx-empty__chips li {
  font-size: 12px;
  line-height: 1.2;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--ex-line, #d4e0f5);
  background: #fff;
  color: var(--ex-ink, #1a2236);
}
.rx-empty__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.rx-empty__cta,
.rx-empty__cta-sec {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.rx-profile-hint-host { margin: 10px 0 0; }
.rx-fit-events-gate {
  margin: 0 0 14px;
}
.rx-need-pulse {
  animation: rx-need-pulse .55s ease;
}
@keyframes rx-need-pulse {
  0% { transform: translateY(0); }
  30% { transform: translateY(-2px); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ex-violet, #7c5cfc) 22%, transparent); }
  100% { transform: translateY(0); }
}
a.rx-hint-link {
  color: var(--ex-violet-deep, #5b3df5);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a.rx-hint-link:hover { color: var(--ex-violet, #7c5cfc); }

/* reuse explore cards inside wizard */
#rx-step .ex-card,
#rx-fit-events-host .ex-card { margin-bottom: 0; }
#rx-step .ex-card + .ex-card,
.rx-g2 .ex-card { margin-top: 0; }

.rx-explain { line-height: 1.5; }
.rx-explain__p {
  margin: 0 0 0.65em;
  font-size: 13.5px;
  color: var(--ex-ink, #1a2236);
}
.rx-explain__lead {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__peak {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--ex-violet, #7c5cfc) 10%, #fff) 0%,
    color-mix(in srgb, #38bdf8 8%, #fff) 100%);
  border: 1px solid color-mix(in srgb, var(--ex-violet, #7c5cfc) 20%, var(--ex-line, #d4e0f5));
}
.rx-explain__peak-main { min-width: 0; }
.rx-explain__peak-range {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ex-ink, #1a2236);
  font-variant-numeric: tabular-nums;
}
.rx-explain__peak-best {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__peak-best b { color: var(--ex-ink, #1a2236); }
.rx-explain__peak-signs {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__peak-pct {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid color-mix(in srgb, var(--ex-violet, #7c5cfc) 18%, transparent);
  text-align: center;
}
.rx-explain__peak-pct b {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ex-violet-deep, #5b3df5);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.rx-explain__peak-pct span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__alts {
  margin: -4px 0 14px;
  font-size: 12.5px;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__alts span {
  font-weight: 650;
  color: var(--ex-ink, #1a2236);
  margin-right: 4px;
}
.rx-explain__block { margin: 0 0 14px; }
.rx-explain__h {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__hint {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__hits {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rx-explain__hit {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid var(--ex-line, #d4e0f5);
}
.rx-explain__hit-label {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ex-ink, #1a2236);
}
.rx-explain__hit-detail {
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ex-muted, #5a6a8a);
  line-height: 1.4;
}
.rx-explain__hit--portrait .rx-explain__hit-detail {
  color: color-mix(in srgb, var(--ex-violet-deep, #5b3df5) 70%, var(--ex-muted, #5a6a8a));
}
.rx-explain__miss {
  margin: 0 0 14px;
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--ex-muted, #5a6a8a);
  border-radius: 8px;
  background: #f4f6fa;
}
.rx-explain__techs {
  margin: 0 0 14px;
}
.rx-explain__techs > span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.rx-explain__chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  background: color-mix(in srgb, var(--ex-violet, #7c5cfc) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--ex-violet, #7c5cfc) 22%, var(--ex-line, #d4e0f5));
  color: var(--ex-ink, #1a2236);
}
.rx-explain__perm {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid var(--ex-line, #d4e0f5);
  font-size: 12.5px;
  color: var(--ex-muted, #5a6a8a);
  line-height: 1.4;
}
.rx-explain__perm-pct {
  flex: 0 0 auto;
  font-weight: 700;
  font-size: 14px;
  color: var(--ex-ink, #1a2236);
  font-variant-numeric: tabular-nums;
}
.rx-explain__conf {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ex-gold-bg, #fff7ed);
  border: 1px solid color-mix(in srgb, var(--ex-gold-ink, #b45309) 25%, transparent);
}
.rx-explain__conf--high {
  background: color-mix(in srgb, #16a34a 8%, #fff);
  border-color: color-mix(in srgb, #16a34a 28%, transparent);
}
.rx-explain__conf--medium {
  background: color-mix(in srgb, #ca8a04 8%, #fff);
  border-color: color-mix(in srgb, #ca8a04 28%, transparent);
}
.rx-explain__badge {
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: lowercase;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ex-gold-ink, #b45309);
  border: 1px solid color-mix(in srgb, var(--ex-gold-ink, #b45309) 30%, transparent);
}
.rx-explain__conf--high .rx-explain__badge { color: #15803d; border-color: color-mix(in srgb, #16a34a 35%, transparent); }
.rx-explain__conf--medium .rx-explain__badge { color: #a16207; border-color: color-mix(in srgb, #ca8a04 35%, transparent); }
.rx-explain__conf-text {
  font-size: 13px;
  color: var(--ex-ink, #1a2236);
  line-height: 1.4;
}
.rx-explain__control {
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--ex-muted, #5a6a8a);
}
.rx-explain__list {
  margin: 0 0 0.85em;
  padding: 0 0 0 1.1em;
  font-size: 13.5px;
}
.rx-explain__list li { margin: 0.35em 0; }
@media (max-width: 520px) {
  .rx-explain__peak {
    flex-direction: column;
    gap: 10px;
  }
  .rx-explain__peak-pct {
    flex-direction: row;
    gap: 6px;
    align-items: baseline;
    justify-content: flex-start;
    min-width: 0;
  }
}

/* SEO / FAQ under the tool — свёрнуто по умолчанию, текст в DOM */
.rx-seo {
  display: block;
  width: 100%;
  max-width: 1080px;
  margin: 8px auto 3.5rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}
.rx-seo__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  border: 1px solid var(--ex-line, #d4e0f5);
  border-radius: 14px;
  background: #fff;
  color: var(--ex-ink, #1a2236);
  font-weight: 650;
  font-size: 15px;
  transition: border-color .15s, background .15s;
}
.rx-seo__summary::-webkit-details-marker { display: none; }
.rx-seo__summary::marker { content: ""; }
.rx-seo__summary:hover {
  border-color: color-mix(in srgb, var(--ex-violet, #7c5cfc) 40%, var(--ex-line, #d4e0f5));
  background: color-mix(in srgb, var(--ex-violet, #7c5cfc) 4%, #fff);
}
.rx-seo__summary-hint {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 550;
  color: var(--ex-violet, #7c5cfc);
}
.rx-seo[open] .rx-seo__summary {
  border-radius: 14px 14px 0 0;
  border-bottom-color: transparent;
}
.rx-seo[open] .rx-seo__summary-hint { visibility: hidden; }
.rx-seo__inner {
  max-width: none;
  margin: 0;
  padding: 8px 22px 26px;
  border: 1px solid var(--ex-line, #d4e0f5);
  border-top: none;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(90% 70% at 8% 0%, color-mix(in srgb, var(--ex-violet, #7c5cfc) 8%, #fff) 0%, transparent 55%),
    linear-gradient(180deg, #fff 0%, #f7f9ff 100%);
}
.rx-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
@media (max-width: 860px) {
  .rx-seo-grid { grid-template-columns: 1fr; }
}
.rx-seo-card {
  margin: 0;
  padding: 16px 16px 14px;
  border: 1px solid var(--ex-line, #d4e0f5);
  border-radius: 14px;
  background: #fff;
}
.rx-seo-card h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ex-ink, #1a2236);
}
.rx-seo-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ex-muted, #5a6a8a);
}
.rx-seo-faq h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--ex-ink, #1a2236);
}
.rx-seo-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rx-seo-faq__item {
  border: 1px solid var(--ex-line, #d4e0f5);
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  transition: border-color .15s;
}
.rx-seo-faq__item[open] {
  border-color: color-mix(in srgb, var(--ex-violet, #7c5cfc) 40%, var(--ex-line, #d4e0f5));
}
.rx-seo-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 22px 13px 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  color: var(--ex-ink, #1a2236);
  position: relative;
}
.rx-seo-faq__item summary::-webkit-details-marker { display: none; }
.rx-seo-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ex-violet, #7c5cfc);
}
.rx-seo-faq__item[open] summary::after { content: "−"; }
.rx-seo-faq__item p {
  margin: 0 0 14px;
  padding-top: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ex-muted, #5a6a8a);
  max-width: 52em;
}
.rx-seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--ex-line, #d4e0f5);
}
.rx-seo-links__a {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ex-line, #d4e0f5);
  background: #fff;
  color: var(--ex-violet-deep, #5b3df5);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.rx-seo-links__a:hover {
  border-color: color-mix(in srgb, var(--ex-violet, #7c5cfc) 45%, var(--ex-line, #d4e0f5));
  background: color-mix(in srgb, var(--ex-violet, #7c5cfc) 6%, #fff);
}

/* Портрет: внешность / характер / эмоции / темы */
.rx-pq-group {
  border: 0;
  margin: 14px 0 0;
  padding: 0;
}
.rx-pq-group legend {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ex-muted);
  margin-bottom: 6px;
}
.rx-pq { margin: 0 0 12px; }
.rx-pq__q { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.rx-pq__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.rx-pq__opt {
  border: 1px solid var(--ex-line);
  background: #fff;
  border-radius: 10px;
  padding: 7px 12px;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  color: inherit;
  text-align: left;
  cursor: pointer;
  max-width: 100%;
}
.rx-pq__opt:hover { border-color: var(--ex-ink); }
.rx-pq__opt[aria-pressed="true"] {
  background: var(--ex-ink);
  border-color: var(--ex-ink);
  color: #fff;
}
.rx-pq__opt:focus-visible { outline: 2px solid var(--ex-gold-ink); outline-offset: 2px; }

/* Подсказки ключевых событий */
.rx-keyev { margin: 12px 0 0; }
.rx-keyev__t { font-size: 13px; color: var(--ex-muted); margin-bottom: 6px; }
.rx-keyev__list { display: flex; flex-wrap: wrap; gap: 6px; }
.rx-keyev__b {
  border: 1px dashed var(--ex-line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 11px;
  font: inherit;
  font-size: 13px;
  color: inherit;
  cursor: pointer;
}
.rx-keyev__b:hover { border-style: solid; border-color: var(--ex-ink); }
