.ps-dr-page .ps-dr-landing {
  --ps-ink: #0c1222;
  --ps-muted: #5b6478;
  --ps-card: #ffffff;
  --ps-border: #e5e8ee;
  --ps-brand: #b91c1c;
  --ps-ok: #15803d;
  --ps-part: #b45309;
  --ps-cable: #1d4ed8;
}

.ps-dr-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 52px) clamp(20px, 4vw, 48px);
  margin-bottom: 20px;
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 38%, #991b1b 100%);
  color: #ecfeff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.26);
}
.ps-dr-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(ellipse 55% 45% at 12% 30%, rgba(239, 68, 68, 0.28), transparent 55%),
    radial-gradient(ellipse 40% 38% at 90% 70%, rgba(251, 191, 36, 0.1), transparent 50%);
  pointer-events: none;
}
.ps-dr-hero__inner { position: relative; z-index: 1; max-width: 840px; }
.ps-dr-hero__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fecaca;
  margin-bottom: 12px;
}
.ps-dr-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 3.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}
.ps-dr-page #content h1.ps-dr-hero__title { color: #fff !important; }
.ps-dr-hero__lead { margin: 0; font-size: 1.05rem; line-height: 1.65; color: #fee2e2; }

.ps-dr-check {
  background: var(--ps-card);
  border: 1px solid var(--ps-border);
  border-radius: 18px;
  padding: clamp(20px, 3.4vw, 32px);
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.ps-dr-section { margin-bottom: 32px; }
.ps-dr-section__title {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 800;
  color: var(--ps-ink);
}
.ps-dr-section__sub { margin: 0 0 16px; font-size: 0.95rem; color: var(--ps-muted); line-height: 1.55; }

.ps-dr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.ps-dr-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--ps-border);
  background: #f8f9fb;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ps-ink);
  transition: all 0.15s ease;
}
.ps-dr-chip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--ps-border);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ps-brand);
}
.ps-dr-chip:hover { border-color: var(--ps-brand); }
.ps-dr-chip.is-active { background: var(--ps-brand); border-color: var(--ps-brand); color: #fff; }
.ps-dr-chip.is-active .ps-dr-chip__icon { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.4); color: #fff; }

.ps-dr-panel { display: none; }
.ps-dr-panel.is-active { display: block; animation: ps-dr-fade 0.2s ease; }
@keyframes ps-dr-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ps-dr-panel__title { margin: 0 0 6px; font-size: 1.1rem; font-weight: 800; color: var(--ps-ink); }
.ps-dr-panel__lead { margin: 0 0 16px; font-size: 0.95rem; line-height: 1.6; color: var(--ps-muted); max-width: 860px; }

.ps-dr-regions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.ps-dr-region {
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: #fbfbfd;
  padding: 14px 16px;
}
.ps-dr-region__head { display: flex; flex-direction: column; gap: 3px; margin-bottom: 8px; }
.ps-dr-region__name { font-size: 0.98rem; color: var(--ps-ink); }
.ps-dr-region__hint { font-size: 0.8rem; color: var(--ps-muted); line-height: 1.4; }
.ps-dr-region__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.ps-dr-region__points li {
  position: relative;
  padding-left: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ps-muted);
}
.ps-dr-region__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ps-brand);
}

.ps-dr-matrix-sec { margin-bottom: 32px; }
.ps-dr-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: var(--ps-card);
}
.ps-dr-matrix { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 1000px; }
.ps-dr-matrix th, .ps-dr-matrix td { padding: 11px 12px; text-align: center; font-size: 0.86rem; vertical-align: top; }
.ps-dr-matrix thead th {
  position: sticky;
  top: 0;
  background: #f8f9fb;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ps-muted);
  border-bottom: 1px solid var(--ps-border);
  white-space: nowrap;
}
.ps-dr-matrix thead th.ps-dr-matrix__head { text-align: left; min-width: 200px; }
.ps-dr-matrix tbody td { border-bottom: 1px solid #f0f1f5; }
.ps-dr-matrix tbody tr:last-child td { border-bottom: 0; }
.ps-dr-matrix td.ps-dr-matrix__name { text-align: left; font-weight: 700; color: var(--ps-ink); }
.ps-dr-matrix__hint { display: block; margin-top: 3px; font-size: 0.78rem; font-weight: 400; color: var(--ps-muted); }
.ps-dr-matrix__row { display: block; font-size: 0.84rem; line-height: 1.45; color: var(--ps-muted); }
.ps-dr-matrix__row + .ps-dr-matrix__row { margin-top: 4px; }
.ps-dr-matrix__row:first-child { font-weight: 600; color: var(--ps-ok); }
.ps-dr-matrix th[data-c].is-active, .ps-dr-matrix td[data-c].is-active { background: #fbf6ff; }
.ps-dr-matrix thead th[data-c].is-active { color: var(--ps-brand); }
.ps-dr-note { margin: 12px 2px 0; font-size: 0.85rem; color: var(--ps-muted); line-height: 1.5; }

.ps-dr-codes { margin-bottom: 32px; }
.ps-dr-block-title { margin: 26px 0 12px; font-size: 1.05rem; font-weight: 800; color: var(--ps-ink); }
.ps-dr-block-title:first-of-type { margin-top: 6px; }
.ps-dr-marks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.ps-dr-mark {
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: #fbfbfd;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ps-dr-mark__badge {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 8px;
  background: #fff1f1;
  border: 1px solid #fecaca;
  color: var(--ps-brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.ps-dr-mark__reg { font-size: 1rem; color: var(--ps-ink); }
.ps-dr-mark__desc { font-size: 0.82rem; line-height: 1.45; color: var(--ps-muted); }

.ps-dr-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.ps-dr-code-col {
  border: 1px solid var(--ps-border);
  border-radius: 14px;
  background: var(--ps-card);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.ps-dr-code-col__title { margin: 0 0 10px; font-size: 0.95rem; font-weight: 800; color: var(--ps-ink); }
.ps-dr-code-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ps-dr-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 0.84rem;
}
.ps-dr-code__code {
  font-family: Consolas, Menlo, monospace;
  font-weight: 700;
  color: var(--ps-ink);
  background: #f3f4f6;
  border: 1px solid var(--ps-border);
  border-radius: 6px;
  padding: 2px 7px;
}
.ps-dr-code__reg {
  font-weight: 800;
  color: var(--ps-brand);
  text-transform: uppercase;
  font-size: 0.74rem;
}
.ps-dr-code__note { flex-basis: 100%; font-size: 0.78rem; color: var(--ps-muted); line-height: 1.4; }

.ps-dr-matrix--reg { min-width: 600px; }

.ps-dr-rules { margin-bottom: 32px; }
.ps-dr-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.ps-dr-step {
  position: relative;
  background: var(--ps-card);
  border: 1px solid var(--ps-border);
  border-radius: 16px;
  padding: 22px 20px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}
.ps-dr-step__num {
  position: absolute;
  top: -12px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ps-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
.ps-dr-step__title { margin: 6px 0 8px; font-size: 1rem; font-weight: 800; color: var(--ps-ink); }
.ps-dr-step__text { margin: 0; font-size: 0.9rem; line-height: 1.55; color: var(--ps-muted); }

.ps-dr-faq { margin-bottom: 32px; }
.ps-dr-faq__item {
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  background: var(--ps-card);
  margin-bottom: 10px;
  overflow: hidden;
}
.ps-dr-faq__item summary {
  cursor: pointer;
  padding: 15px 18px;
  padding-right: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ps-ink);
  list-style: none;
  position: relative;
}
.ps-dr-faq__item summary::-webkit-details-marker { display: none; }
.ps-dr-faq__item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--ps-brand);
}
.ps-dr-faq__item[open] summary::after { content: "–"; }
.ps-dr-faq__a { padding: 0 18px 15px; font-size: 0.92rem; line-height: 1.6; color: var(--ps-muted); }

.ps-dr-cta {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(26px, 4vw, 44px);
  text-align: center;
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 38%, #991b1b 100%);
  color: #ecfeff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}
.ps-dr-cta__title { margin: 0 0 10px; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; color: #fff; }
.ps-dr-cta__text { margin: 0 auto 20px; max-width: 660px; font-size: 1rem; line-height: 1.6; color: #fee2e2; }
.ps-dr-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ps-dr-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}
.ps-dr-cta__btn { background: #fff; color: #b91c1c !important; }
.ps-dr-cta__btn:hover { background: #fdf0f0; }
.ps-dr-cta__btn--ghost { background: rgba(255, 255, 255, 0.14); color: #fff !important; }
.ps-dr-cta__btn--ghost:hover { background: rgba(255, 255, 255, 0.24); }

@media (max-width: 767px) {
  .ps-dr-matrix { min-width: 820px; }
}