.pss {
  font-family: Arial, Helvetica, sans-serif;
  color: #1f2937;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  line-height: 1.45;
}

.pss__skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  background: #111827;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 1000;
}

.pss__skip-link:focus {
  top: 12px;
}

.pss__visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pss__header {
  border-bottom: 3px solid #0b3a6f;
  margin-bottom: 20px;
  padding-bottom: 12px;
}

.pss__title {
  font-size: 2rem;
  margin: 0;
  color: #111827;
}

.pss__subtitle {
  margin: 10px 0 0;
  font-size: 1rem;
  max-width: 80ch;
}

.pss__section {
  margin-bottom: 18px;
}

.pss__section-title {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: #0b3a6f;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.pss__list {
  margin: 0;
}

.pss__row {
  display: grid;
  grid-template-columns: minmax(220px, 34%) 1fr;
  gap: 12px;
  padding: 8px 10px;
}

.pss__row:nth-child(even) {
  background: #f3f4f6;
}

.pss__row--full {
  grid-template-columns: 1fr;
}

.pss__term {
  font-weight: 700;
}

.pss__desc {
  margin: 0;
}

.pss__desc a {
  color: #0b3a6f;
  text-decoration: underline;
}

.pss__desc a:focus {
  outline: 2px solid #0b3a6f;
  outline-offset: 2px;
}

.pss__section--technical {
  margin-top: 28px;
}

.pss__tech-block {
  margin: 0 0 24px;
}

.pss__tech-title {
  font-size: 1rem;
  margin: 0 0 10px;
  color: #111827;
}

.pss__figure {
  margin: 0 0 12px;
}

.pss__tech-image {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #d1d5db;
}

.pss__figcaption {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #374151;
}

.pss__tech-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.pss__tech-table caption {
  text-align: start;
  font-weight: 700;
  margin-bottom: 6px;
}

.pss__tech-table th,
.pss__tech-table td {
  border: 1px solid #d1d5db;
  padding: 6px 8px;
  text-align: start;
  vertical-align: top;
}

.pss__tech-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

@media (max-width: 720px) {
  .pss {
    padding: 14px;
  }

  .pss__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.pss-selector {
  max-width: 980px;
  margin: 24px auto;
  padding: 20px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 26px rgba(2, 6, 23, 0.06);
}

.pss-selector__title {
  margin: 0 0 8px;
  color: #0b3a6f;
}

.pss-selector__help {
  margin: 0 0 14px;
  color: #334155;
}

.pss-selector__form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.pss-selector__field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.pss-selector__field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #94a3b8;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
}

.pss-selector__field select:focus,
.pss-selector__button:focus,
.pss-selector__link:focus {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

.pss-selector__button {
  min-height: 42px;
  padding: 10px 14px;
  border: 0;
  border-radius: 8px;
  background: #0b3a6f;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.pss-selector__button[disabled] {
  cursor: not-allowed;
  background: #94a3b8;
}

.pss-selector__status {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  min-height: 1.5em;
  color: #334155;
}

.pss-selector__result {
  margin-top: 14px;
}

.pss-selector__link {
  color: #0b3a6f;
  text-decoration: underline;
}

.pss-selector__frame {
  width: 100%;
  min-height: 900px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
}

@media (max-width: 840px) {
  .pss-selector__form {
    grid-template-columns: 1fr;
  }
}

.pss__pdf-link {
  display: inline-block;
  margin-top: 12px;
  color: #0b3a6f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

.pss__pdf-link:hover {
  color: #111827;
}

.pss__pdf-link:focus-visible {
  outline: 3px solid #0b3a6f;
  outline-offset: 4px;
}
