/* PET GEN — портал демо-отчёта /demoreport */
body.pg-demoreport-page main.container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0.5rem;
}

.dr-portal {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 88px);
  gap: 0;
}
@media (max-width: 991px) {
  .dr-portal { grid-template-columns: 1fr; }
}

/* Sidebar */
.dr-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
  height: calc(100vh - 88px);
  overflow-y: auto;
  padding: 1.25rem 1rem 2rem;
  border-right: 1px solid var(--pg-border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 991px) {
  .dr-sidebar {
    position: relative;
    top: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--pg-border);
    padding-bottom: 0.75rem;
  }
}

.dr-sidebar__pet {
  padding: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,247,237,0.95), rgba(243,232,255,0.88));
  border: 1px solid rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}
.dr-sidebar__pet h1 {
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0 0 0.25rem;
}
.dr-pet-name {
  font-size: clamp(0.92rem, 2.2vw, 1.15rem);
  line-height: 1.25;
  max-width: 100%;
  text-wrap: balance;
}

.dr-masked {
  display: inline-block;
  filter: blur(5px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
  color: rgba(75, 63, 99, 0.35);
  letter-spacing: 0.08em;
}
.dr-masked--owner { min-width: 4.5rem; }
.dr-masked--uln { min-width: 3.5rem; }

.dr-uln-masked__prefix {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
}

.dr-sidebar__meta {
  font-size: 0.75rem;
  color: var(--pg-muted);
  line-height: 1.45;
}
.dr-demo-pill {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(124,58,237,0.12);
  color: var(--pg-violet);
}

.dr-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (max-width: 991px) {
  .dr-menu {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .dr-menu::-webkit-scrollbar { display: none; }
}
.dr-menu button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pg-navy);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 991px) {
  .dr-menu button {
    width: auto;
    flex-shrink: 0;
    white-space: nowrap;
  }
}
.dr-menu button:hover,
.dr-menu button.is-active {
  background: var(--pg-grad);
  color: #fff;
  box-shadow: var(--pg-glow-orange);
}
.dr-menu__icon {
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

/* Main content */
.dr-main {
  position: relative;
  padding: 1.25rem 1.5rem 3rem;
  max-width: 920px;
}
@media (max-width: 575px) {
  .dr-main { padding: 1rem 0.85rem 2.5rem; }
}

.dr-main-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.85rem;
}
.dr-main-toolbar--standalone {
  max-width: 920px;
  margin: 0 auto 0.85rem;
  padding: 0 1.25rem;
}
@media (max-width: 575px) {
  .dr-main-toolbar--standalone { padding: 0 0.85rem; }
}

.dr-back-site {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--pg-border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--pg-navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.dr-back-site:hover {
  color: #fff;
  border-color: transparent;
  background: var(--pg-grad);
  box-shadow: var(--pg-glow-orange);
}
.dr-back-site::before {
  content: "←";
  font-size: 0.85rem;
  line-height: 1;
}

.dr-panel { display: none; animation: drFadeIn 0.35s ease; }
.dr-panel.is-active { display: block; }
@keyframes drFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.dr-panel-head {
  margin-bottom: 1.25rem;
}
.dr-panel-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.35rem;
}
.dr-panel-head p {
  color: var(--pg-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

.dr-card {
  border-radius: 22px;
  padding: 1.35rem 1.25rem;
  background: var(--pg-card);
  border: 1px solid var(--pg-border);
  backdrop-filter: blur(12px);
  margin-bottom: 1rem;
}

.dr-quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.6rem;
}
.dr-quality-item {
  padding: 0.8rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(168,85,247,0.12);
  text-align: center;
}
.dr-quality-item span {
  display: block;
  font-size: 0.68rem;
  color: var(--pg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.dr-quality-item strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

/* ——— Overview ——— */
.dr-overview-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 640px) {
  .dr-overview-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
.dr-photo-placeholder {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 2px dashed rgba(168, 85, 247, 0.35);
  background: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  flex-shrink: 0;
}
.dr-photo-placeholder span {
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--pg-muted);
  font-weight: 600;
}
.dr-overview-hero__body { min-width: 0; width: 100%; }
.dr-overview-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}
@media (max-width: 640px) { .dr-overview-meta { grid-template-columns: 1fr; } }
.dr-overview-meta span {
  display: block;
  font-size: 0.68rem;
  color: var(--pg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dr-overview-vitals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
@media (max-width: 640px) { .dr-overview-vitals { grid-template-columns: 1fr; } }
.dr-vital {
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 247, 237, 0.75);
  border: 1px solid rgba(255, 107, 53, 0.18);
}
.dr-vital__label {
  display: block;
  font-size: 0.68rem;
  color: var(--pg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.dr-vital__value {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--pg-navy);
}

.dr-study-section { margin-top: 0.25rem; }
.dr-study-lead {
  font-size: 0.88rem;
  color: var(--pg-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.dr-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}
.dr-study-card {
  text-align: left;
  border: 1px solid var(--pg-border);
  border-radius: 18px;
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.dr-study-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pg-glow-orange);
  border-color: rgba(255, 107, 53, 0.25);
}
.dr-study-card--violet { border-left: 4px solid var(--pg-violet); }
.dr-study-card--orange { border-left: 4px solid var(--pg-accent); }
.dr-study-card--green { border-left: 4px solid #22a06b; }
.dr-study-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.dr-study-card__badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.1);
  color: var(--pg-violet);
}
.dr-study-card__arrow { color: var(--pg-muted); font-weight: 700; }
.dr-study-card__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}
.dr-study-card__text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4b3f63;
  margin: 0 0 0.65rem;
}
.dr-study-card__cta {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pg-accent);
}

/* ——— Pedigree tree ——— */
.dr-pedigree {
  padding: 0.5rem 0 0.25rem;
  overflow-x: auto;
}

.dr-pedigree__level { margin-bottom: 0.15rem; }
.dr-pedigree__level--pet {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.dr-pedigree__label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pg-muted);
  margin: 0 0 0.55rem;
}

.dr-pedigree__row {
  display: grid;
  gap: 0.55rem;
  justify-content: center;
  margin: 0 auto;
}
.dr-pedigree__row--2 { grid-template-columns: repeat(2, minmax(130px, 1fr)); max-width: 360px; }
.dr-pedigree__row--4 { grid-template-columns: repeat(4, minmax(108px, 1fr)); max-width: 680px; }
.dr-pedigree__row--8 {
  grid-template-columns: repeat(8, minmax(78px, 1fr));
  min-width: 640px;
  max-width: 920px;
}

@media (max-width: 720px) {
  .dr-pedigree__row--4 { grid-template-columns: repeat(2, 1fr); max-width: 100%; min-width: 0; }
  .dr-pedigree__row--8 { grid-template-columns: repeat(4, 1fr); min-width: 0; }
}

.dr-pedigree__node {
  padding: 0.55rem 0.45rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(143, 217, 222, 0.45);
  font-size: 0.78rem;
  line-height: 1.35;
}
.dr-pedigree__node--compact {
  padding: 0.45rem 0.3rem;
}
.dr-pedigree__node--compact .dr-pedigree-mix__ratio {
  font-size: 0.72rem;
}
.dr-pedigree__node--compact .dr-pedigree-mix__icon {
  width: 1rem;
  height: 1rem;
}

.dr-pedigree__node--pet {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 160px;
  padding: 0.85rem 1.1rem 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(143, 217, 222, 0.65);
  box-shadow: 0 10px 28px rgba(143, 217, 222, 0.18);
}
.dr-pedigree__node--pet strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: var(--pg-navy);
}
.dr-pedigree__node--pet small {
  color: var(--pg-muted);
  font-size: 0.68rem;
}

.dr-pedigree__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.95), rgba(243, 232, 255, 0.9));
  border: 2px solid rgba(143, 217, 222, 0.55);
  color: var(--pg-violet);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.dr-pedigree-mix__icons {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.2rem;
}
.dr-pedigree-mix__icon {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--breed-color);
}
.dr-pedigree-mix__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  opacity: 0.88;
}
.dr-pedigree-mix__keys {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--pg-muted);
}
.dr-pedigree-mix__ratio {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pg-navy);
}

.dr-pedigree__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--pg-border);
  font-size: 0.72rem;
  color: var(--pg-muted);
}
.dr-pedigree__legend strong {
  color: var(--pg-navy);
  font-weight: 800;
}

.dr-pedigree__connector {
  position: relative;
  height: 24px;
  margin: 0 auto;
}
.dr-pedigree__connector--split-2 { max-width: 360px; }
.dr-pedigree__connector--split-4 { max-width: 680px; }
.dr-pedigree__connector--split-8 { max-width: 920px; min-width: 640px; }

.dr-pedigree__connector::before,
.dr-pedigree__connector::after {
  content: "";
  position: absolute;
  background: rgba(143, 217, 222, 0.75);
}

/* pet → parents */
.dr-pedigree__connector--split-2::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 12px;
  transform: translateX(-50%);
}
.dr-pedigree__connector--split-2::after {
  left: 25%;
  right: 25%;
  top: 12px;
  height: 12px;
  border-top: 2px solid rgba(143, 217, 222, 0.75);
  border-left: 2px solid rgba(143, 217, 222, 0.75);
  border-right: 2px solid rgba(143, 217, 222, 0.75);
  background: transparent;
}

/* parents → grandparents */
.dr-pedigree__connector--split-4::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 12px;
  transform: translateX(-50%);
}
.dr-pedigree__connector--split-4::after {
  left: 12.5%;
  right: 12.5%;
  top: 12px;
  height: 12px;
  border-top: 2px solid rgba(143, 217, 222, 0.75);
  border-left: 2px solid rgba(143, 217, 222, 0.75);
  border-right: 2px solid rgba(143, 217, 222, 0.75);
  background: transparent;
}

/* grandparents → great-grandparents */
.dr-pedigree__connector--split-8::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 12px;
  transform: translateX(-50%);
}
.dr-pedigree__connector--split-8::after {
  left: 6%;
  right: 6%;
  top: 12px;
  height: 12px;
  border-top: 2px solid rgba(143, 217, 222, 0.75);
  border-left: 2px solid rgba(143, 217, 222, 0.75);
  border-right: 2px solid rgba(143, 217, 222, 0.75);
  background: transparent;
}

@media (max-width: 720px) {
  .dr-pedigree__connector--split-8 { min-width: 0; max-width: 100%; }
}

.dr-coat-lead {
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
  color: #4b3f63;
}

.dr-coat-summary__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .dr-coat-summary__grid { grid-template-columns: 1fr; }
}

.dr-coat-block {
  padding: 0.95rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(168, 85, 247, 0.12);
}
.dr-coat-block--type {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dr-coat-block__label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--pg-muted);
}

.dr-coat-colors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.dr-coat-color {
  display: grid;
  gap: 0.1rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--pg-accent);
}
.dr-coat-color strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.92rem;
  color: var(--pg-navy);
}
.dr-coat-color span {
  font-size: 0.82rem;
  color: var(--pg-muted);
  line-height: 1.4;
}

.dr-coat-type {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--pg-navy);
}

.dr-coat-care__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.dr-coat-care__list li {
  position: relative;
  padding: 0.75rem 0.85rem 0.75rem 2.1rem;
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.75);
  border: 1px solid rgba(255, 107, 53, 0.14);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4b3f63;
}
.dr-coat-care__list li::before {
  content: "✓";
  position: absolute;
  left: 0.75rem;
  top: 0.78rem;
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--pg-accent);
  background: rgba(255, 107, 53, 0.12);
}

/* Breeds */
.dr-breed-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.25rem;
  align-items: center;
}
@media (max-width: 767px) { .dr-breed-layout { grid-template-columns: 1fr; } }
.dr-donut-wrap { width: 190px; height: 190px; margin: 0 auto; }
.dr-breed-bars { display: flex; flex-direction: column; gap: 0.6rem; }
.dr-breed-row {
  display: grid;
  grid-template-columns: 118px 1fr 50px;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.86rem;
}
@media (max-width: 520px) { .dr-breed-row { grid-template-columns: 1fr; } }
.dr-breed-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.3rem;
}
.dr-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(168,85,247,0.1);
  overflow: hidden;
}
.dr-bar-fill { height: 100%; border-radius: 999px; }

.dr-breed-detail {
  border-radius: 20px;
  padding: 1.35rem;
  margin-bottom: 0.85rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(168,85,247,0.12);
  border-left: 4px solid var(--breed-color, var(--pg-accent));
}
.dr-breed-detail__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.dr-breed-detail__pct {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--breed-color);
}
.dr-breed-detail h3 { margin: 0; font-size: 1.15rem; }
.dr-breed-detail__section {
  margin-bottom: 0.85rem;
}
.dr-breed-detail__section h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pg-muted);
  margin-bottom: 0.35rem;
}
.dr-breed-detail__section p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.92rem;
  color: #4b3f63;
}
.dr-breed-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0;
}
.dr-breed-stats span {
  font-size: 0.74rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(168,85,247,0.08);
}
.dr-disease-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4b3f63;
}
.dr-fact {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  background: linear-gradient(135deg, rgba(255,247,237,0.9), rgba(243,232,255,0.7));
  border-left: 3px solid var(--pg-accent);
}

/* Monogenic */
.dr-success {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(220,252,231,0.9), rgba(255,255,255,0.8));
  border: 1px solid rgba(34,160,107,0.25);
  margin: 1rem 0;
}
.dr-success__icon { font-size: 2.25rem; margin-bottom: 0.35rem; }
.dr-note {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255,247,237,0.75);
  border: 1px solid rgba(255,107,53,0.18);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #4b3f63;
}

/* Polygenic charts */
.dr-poly-overview {
  margin-bottom: 1.25rem;
}
.dr-poly-overview canvas {
  max-height: 420px;
}

.dr-poly-card {
  border-radius: 18px;
  margin-bottom: 0.75rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(168,85,247,0.12);
  overflow: hidden;
}
.dr-poly-card summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  user-select: none;
}
.dr-poly-card summary::-webkit-details-marker { display: none; }
.dr-poly-card summary:hover { background: rgba(168,85,247,0.04); }
.dr-poly-card__body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(168,85,247,0.08);
}
.dr-poly-head-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
}
.dr-risk-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.dr-risk-tag--high { background: #fee2e2; color: #b91c1c; }
.dr-risk-tag--mid { background: #fef3c7; color: #b45309; }
.dr-risk-tag--low { background: #dcfce7; color: #15803d; }
.dr-risk-meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(168,85,247,0.1);
  overflow: hidden;
  margin-top: 0.5rem;
  width: 100%;
}
.dr-risk-meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.dr-risk-meter--high span { background: linear-gradient(90deg, #fca5a5, #dc2626); }
.dr-risk-meter--mid span { background: linear-gradient(90deg, #fcd34d, #f59e0b); }
.dr-risk-meter--low span { background: linear-gradient(90deg, #86efac, #22c55e); }
.dr-poly-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  font-size: 0.82rem;
  margin: 0.85rem 0;
}
@media (max-width: 520px) { .dr-poly-meta { grid-template-columns: 1fr; } }
.dr-poly-meta dt { color: var(--pg-muted); margin: 0; font-size: 0.72rem; text-transform: uppercase; }
.dr-poly-meta dd { margin: 0 0 0.35rem; font-weight: 600; }
.dr-poly-block {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4b3f63;
  margin-bottom: 0.75rem;
}
.dr-poly-block strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pg-muted);
  margin-bottom: 0.25rem;
}
.dr-risk-note {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--pg-navy);
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(168,85,247,0.06);
  margin-bottom: 0.75rem;
}

/* Coat */
.dr-gene-table {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: collapse;
}
.dr-gene-table th, .dr-gene-table td {
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid rgba(168,85,247,0.1);
  text-align: left;
  vertical-align: top;
}
.dr-gene-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pg-muted);
}

/* Behavior radar */
.dr-radar-card { padding: 1.25rem 1.15rem 1rem; }
.dr-radar-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.dr-radar-stage {
  position: relative;
  width: 100%;
  min-height: 420px;
  max-height: 520px;
}
.dr-radar-stage canvas {
  width: 100% !important;
  height: 100% !important;
  max-height: 500px;
}
.dr-radar-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--pg-muted);
  margin: 0.65rem 0 0;
  min-height: 1.25rem;
}

.dr-details-btn {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--pg-violet);
  border: 1px solid rgba(124, 58, 237, 0.2);
  white-space: nowrap;
}
.dr-poly-card[open] .dr-details-btn,
.dr-trait-acc[open] .dr-details-btn {
  background: var(--pg-grad);
  color: #fff;
  border-color: transparent;
}

.dr-trait-acc {
  border-radius: 16px;
  margin-bottom: 0.55rem;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(168,85,247,0.12);
  overflow: hidden;
}
.dr-trait-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
  user-select: none;
}
.dr-trait-acc summary::-webkit-details-marker { display: none; }
.dr-trait-acc summary:hover { background: rgba(168,85,247,0.04); }
.dr-trait-acc.is-highlight {
  border-color: rgba(255, 107, 53, 0.45);
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.12);
}
.dr-trait-name { font-weight: 700; font-size: 0.92rem; }
.dr-trait-score {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--pg-violet);
  font-size: 0.88rem;
}
.dr-trait-mini-bar {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 999px;
  background: rgba(168,85,247,0.1);
  overflow: hidden;
}
.dr-trait-mini-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--pg-grad);
}
.dr-trait-body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(168,85,247,0.08);
}
.dr-trait-body h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pg-muted);
  margin: 0.85rem 0 0.35rem;
}
.dr-trait-body h4:first-child { margin-top: 0.65rem; }
.dr-trait-body p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4b3f63;
}

.dr-tips-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #4b3f63;
}

/* ——— DNA product cards ——— */
.dr-products {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--pg-border);
}
.dr-products--page {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.dr-products__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 107, 53, 0.1);
  color: var(--pg-accent);
}
.dr-products__foot-head { margin-bottom: 1rem; }
.dr-products__foot-lead {
  font-size: 0.85rem;
  color: var(--pg-muted);
  line-height: 1.5;
  margin: 0;
}
.dr-products__foot-note,
.dr-products__note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pg-navy);
  line-height: 1.45;
}

.dr-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
@media (max-width: 860px) {
  .dr-products-grid { grid-template-columns: 1fr; }
}

.dr-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--pg-border);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.dr-product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pg-glow-orange);
  border-color: rgba(255, 107, 53, 0.22);
}
.dr-product-card--featured {
  border-color: rgba(255, 107, 53, 0.28);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.88));
}

.dr-product-card__label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.1);
  color: var(--pg-violet);
}
.dr-product-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  margin-bottom: 0.75rem;
}
.dr-product-card__visual img {
  max-height: 120px;
  max-width: 100%;
  object-fit: contain;
}
.dr-product-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  line-height: 1.15;
}
.dr-product-card__text {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4b3f63;
  margin: 0 0 0.65rem;
  flex: 1;
}
.dr-product-card__features {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--pg-muted);
}
.dr-product-card__features li::before {
  content: "✓ ";
  color: var(--pg-accent);
  font-weight: 700;
}
.dr-product-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--pg-border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--pg-navy);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dr-product-card__btn:hover {
  color: #fff;
  border-color: transparent;
  background: var(--pg-grad);
}
.dr-product-card__btn--accent {
  color: #fff;
  border-color: transparent;
  background: var(--pg-grad);
  box-shadow: var(--pg-glow-orange);
}
.dr-product-card__btn--accent:hover {
  filter: brightness(1.05);
}

.dr-products-compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0 !important;
}
.dr-products-compare__hint {
  display: block;
  font-size: 0.78rem;
  color: var(--pg-muted);
  margin-bottom: 0.15rem;
}
.dr-products-compare strong {
  display: block;
  font-size: 1rem;
  color: var(--pg-navy);
}

.dr-choose-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}
@media (max-width: 575px) {
  .dr-choose-page { padding: 0 0.85rem 2.5rem; }
}
