:root {
  color-scheme: light;
  --pair-bg: #f5f6f7;
  --pair-surface: #fff;
  --pair-heading: #1f2933;
  --pair-text: #4a5560;
  --pair-muted: #6b7280;
  --pair-accent: #4a7c8c;
  --pair-accent-hover: #3d6a78;
  --pair-link: #5a8f9e;
  --pair-slate-950: #1a2228;
  --pair-slate-900: #1e2830;
  --pair-slate-800: #243038;
  --pair-slate-700: #2d4a52;
  --pair-border: rgba(0, 0, 0, 0.06);
  --pair-radius: 0.875rem;
  --pair-nav: #f7f7f7;
  --app-surface: #ffffff;
  --app-surface-muted: #f8f9fa;
  --app-border: #e4e8eb;
  --app-text: #363636;
  --app-text-muted: #5c6b73;
  --app-text-subtle: #7a7a7a;
  --app-accent: #4a7c8c;
  --app-accent-hover: #3d6a78;
  --app-accent-soft: rgba(74, 124, 140, 0.1);
  --app-radius: 8px;
  --app-radius-sm: 6px;
  --app-feedback-info-bg: #eef5f7;
  --app-feedback-info-border: #c5dce3;
  --app-feedback-success-bg: #edf7f0;
  --app-feedback-success-border: #b8dfc4;
  --app-feedback-danger-bg: #fdf0f0;
  --app-feedback-danger-border: #f0c4c4;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--pair-bg);
  color: var(--pair-heading);
  font-family: Nunito, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.page-wrapper main {
  flex: 1 0 auto;
  padding-bottom: 2rem;
}

.skip-link {
  position: absolute;
  top: auto;
  left: -9999px;
  z-index: 2000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: #363636;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid rgba(74, 124, 140, 0.6);
  outline-offset: 2px;
}

img {
  max-width: 100%;
}

a {
  color: var(--pair-link);
}

h1,
h2,
h3 {
  line-height: 1.25;
}

.container {
  width: min(40rem, calc(100% - 2rem));
  margin-inline: auto;
}

.is-hidden,
[hidden] {
  display: none !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--pair-surface);
  color: var(--pair-accent);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button.is-light {
  border-color: rgba(0, 0, 0, 0.08);
  background: var(--pair-surface);
  color: var(--pair-heading);
}

.button.is-primary {
  border-color: var(--pair-accent);
  background: var(--pair-accent);
  color: #fff;
}

.button.is-primary:hover {
  border-color: var(--pair-accent-hover);
  background: var(--pair-accent-hover);
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.button.is-primary:disabled:hover {
  border-color: var(--pair-accent);
  background: var(--pair-accent);
}

.site-nav {
  padding: 0.75rem;
}

.site-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: calc(100vw - 1.5rem);
  margin: 0 auto;
  padding: 0.55rem 1rem;
  background: var(--pair-nav);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: rgba(0, 0, 0, 0.78);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav__brand:hover {
  color: var(--pair-link);
}

.site-nav__logo {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-nav__catalog {
  flex: none;
  color: var(--pair-accent);
  font-weight: 700;
  text-decoration: none;
}

.site-nav__catalog:hover {
  text-decoration: underline;
}

.pair-step {
  padding: 1.5rem 0 0.5rem;
}

.pair-step h1 {
  margin: 0;
  font-family: Literata, Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pair-step p {
  max-width: 36rem;
  margin: 0.85rem 0 1.25rem;
  color: var(--pair-text);
  font-size: 1.05rem;
  line-height: 1.55;
}

.pair-flow {
  padding: 1.25rem 0 2rem;
}

.pair-card {
  height: 100%;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--pair-radius);
  background: var(--pair-surface);
}

.pair-handoff h2 {
  margin: 0 0 0.5rem;
  font-family: Literata, Georgia, serif;
  font-size: 1.5rem;
}

.pair-handoff p {
  margin-bottom: 1rem;
}

.pair-status {
  width: min(40rem, calc(100% - 2rem));
  margin: 0 auto;
  color: var(--pair-text);
  font-weight: 700;
}

.pair-status:empty {
  display: none;
}

.pair-flow__aside {
  margin: 0 0 0.5rem;
}

.pair-flow__title {
  margin: 0 0 0.5rem;
  font-family: Literata, Georgia, serif;
  font-size: 1.5rem;
}

.section {
  padding: 0.5rem 0 1.5rem;
}

.box,
.questionnaire-wizard-instruction {
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--pair-border);
  border-radius: 12px;
  background: var(--pair-surface);
}

.questionnaire-wizard-instruction .title,
.questionnaire-wizard-instruction h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.questionnaire-wizard-instruction p {
  margin: 0;
  color: var(--pair-text);
}

.questionnaire-wizard-panel {
  padding: 1.25rem 1.5rem 1.5rem;
  border-radius: 12px;
  background: var(--pair-surface);
  box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 8px 24px rgba(10, 10, 10, 0.06);
}

.questionnaire-wizard-question {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
}

.questionnaire-wizard-question:focus {
  outline: none;
}

.questionnaire-wizard-hint,
.progress-text {
  margin: 0.85rem 0 0;
  color: #7a7a7a;
  font-size: 0.8rem;
  line-height: 1.4;
}

.progress-text {
  margin: 0 0 0.4rem;
}

progress {
  display: block;
  width: 100%;
  height: 0.45rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(74, 124, 140, 0.15);
  appearance: none;
}

progress::-webkit-progress-bar {
  background: rgba(74, 124, 140, 0.15);
  border-radius: 999px;
}

progress::-webkit-progress-value {
  background: var(--pair-accent);
  border-radius: 999px;
}

progress::-moz-progress-bar {
  background: var(--pair-accent);
  border-radius: 999px;
}

.questionnaire-wizard-answer-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 0;
  user-select: none;
}

.questionnaire-wizard-answer-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  width: 100%;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  touch-action: manipulation;
}

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

.questionnaire-wizard-key {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.35rem;
  border-radius: 6px;
  background: rgba(10, 10, 10, 0.08);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.questionnaire-wizard-answer-option.is-primary {
  border-color: var(--pair-accent);
  background: var(--pair-accent);
  color: #fff;
}

.questionnaire-wizard-answer-option.is-primary .questionnaire-wizard-key {
  background: rgba(255, 255, 255, 0.28);
}

.questionnaire-wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.questionnaire-wizard-actions:not(:has(.button:not(.is-hidden))) {
  display: none;
}

.footer {
  margin-top: auto;
  padding: 0.75rem 1.5rem 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
}

.footer-nav {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin: 0;
  overflow: hidden;
  text-align: left;
  background: var(--pair-surface);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.footer-column {
  flex: 1 1 0;
  min-width: 0;
  padding: 1.15rem 1.35rem 1.25rem;
}

.footer-column + .footer-column {
  border-left: 1px solid #e4e8eb;
}

.footer-column__title {
  margin: 0 0 0.65rem;
  color: #7a7a7a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.footer-column__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column__list li + li {
  margin-top: 0.45rem;
}

.footer-column__list a {
  color: var(--pair-accent);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-column__list a:hover {
  text-decoration: underline;
}

.pair-noscript {
  width: min(40rem, calc(100% - 2rem));
  margin: 0.85rem auto 0;
  color: var(--pair-muted);
  text-align: center;
}

@media screen and (min-width: 769px) {
  .questionnaire-wizard-answer-buttons--binary {
    grid-template-columns: 1fr 1fr;
  }

  .questionnaire-wizard-answer-buttons--binary .questionnaire-wizard-answer-option {
    justify-content: center;
    min-height: 4.25rem;
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 768px) {
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-nav {
    padding: 0.5rem;
  }

  .site-nav__bar {
    max-width: calc(100vw - 1rem);
  }

  .pair-step .button {
    width: 100%;
  }

  .footer {
    padding: 0.75rem 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
  }

  .footer-nav {
    flex-direction: column;
  }

  .footer-column + .footer-column {
    border-top: 1px solid #e4e8eb;
    border-left: 0;
  }

  .questionnaire-wizard-panel {
    padding: 1rem;
  }

  .questionnaire-wizard-progress-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0 0.75rem;
    background: var(--pair-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .questionnaire-wizard-actions .button {
    min-height: 44px;
  }
}

/* Report shell used by the vendored unified-report renderer. */
.unified-report-root {
  color: var(--app-text);
}

.report-section,
.unified-report-root .panel,
.unified-report-root .report-section {
  margin: 1rem 0;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: var(--app-surface);
  color: var(--app-text);
  box-shadow: none;
}

.report-section__title,
.unified-report-root h2,
.unified-report-root .report-section__title {
  margin: 0 0 0.85rem;
  color: var(--app-text);
  font-size: 1.15rem;
  font-weight: 700;
}

.phase-title,
.unified-report-root h3,
.unified-report-root .phase-title {
  margin: 1rem 0 0.5rem;
  color: var(--app-text-muted);
  font-size: 1rem;
  font-weight: 600;
}

.report-table,
.unified-report-root table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
  box-shadow: none;
}

.report-table th,
.report-table td,
.unified-report-root .report-table th,
.unified-report-root .report-table td {
  padding: 0.55rem 0.35rem;
  border-bottom: 1px solid var(--app-border);
  text-align: left;
  vertical-align: top;
}

.unified-report-root thead th {
  background: transparent;
  color: inherit;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.report-table--bordered th,
.report-table--bordered td {
  border: 1px solid var(--app-border);
  text-align: center;
}

.report-table--bordered th:first-child,
.report-table--bordered td:first-child,
.report-table--bordered th[scope="row"] {
  text-align: left;
}

.report-table--compact th,
.report-table--compact td {
  padding: 0.35rem 0.4rem;
  font-size: 0.85rem;
}

.report-list {
  margin: 0;
  padding-left: 1.2rem;
}

.report-list li {
  margin: 0.4rem 0;
}

.report-leading {
  font-weight: 700;
}

.table-scroll,
.report-chart-scroll {
  max-width: 100%;
  margin: 0.75rem 0 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.report-chart-scroll {
  margin: 0;
}

.tag,
.unified-report-root .tag {
  display: inline-block;
  height: auto;
  padding: 0.1rem 0.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--app-accent-soft);
  color: var(--app-accent);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: inherit;
  white-space: normal;
}

.tag--ok {
  background: #e5f2ec;
  color: #2e6b4f;
}

.tag--muted {
  background: var(--app-surface-muted);
  color: var(--app-text-muted);
}

.zone {
  font-weight: 600;
}

.zone--high { color: #b42318; }
.zone--borderline_high,
.zone--borderline_low { color: #b54708; }
.zone--norm { color: #027a48; }
.zone--low { color: #175cd3; }

.hint,
.muted,
.interp-meta {
  color: var(--app-text-muted);
  font-size: 0.9rem;
}

.raw-json {
  overflow: auto;
  padding: 0.9rem;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  background: var(--app-surface-muted);
  color: var(--app-text);
  font-size: 0.8rem;
}

.interpretation-blocks {
  margin-top: 0.5rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--app-border);
}

.interpretation-blocks__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.interpretation-blocks__heading,
.unified-report-root .content .interpretation-blocks__heading {
  margin: 1rem 0 0.45rem;
  color: var(--app-text);
  font-size: 0.98rem;
  font-weight: 700;
}

.interpretation-blocks__warnings { color: #8a5a00; }
.interpretation-blocks__disclaimer { margin-top: 1.25rem; }

.md-block { margin: 0.5rem 0 1rem; }
.md-block > h3 { margin: 0 0 0.65rem; font-size: 1.05rem; }
.md-block__body > :first-child { margin-top: 0; }
.md-block__body > :last-child { margin-bottom: 0; }
.md-block__body p { margin: 0.55rem 0; }
.md-block__body ul,
.md-block__body ol { margin: 0.55rem 0; padding-left: 1.25em; }
.md-block__body li { margin: 0.3rem 0; }
.md-block__body h1,
.md-block__body h2,
.md-block__body h3,
.md-block__body h4 {
  margin: 0.9rem 0 0.4rem;
  font-weight: 700;
  line-height: 1.25;
}
.md-block__body h1 { font-size: 1.2rem; }
.md-block__body h2 { font-size: 1.1rem; }
.md-block__body h3,
.md-block__body h4 { font-size: 1rem; }
.md-block__body code {
  padding: 0.1em 0.35em;
  border-radius: var(--app-radius-sm);
  background: var(--app-surface-muted);
  font-size: 0.9em;
}
.md-block__body pre {
  overflow: auto;
  padding: 0.75rem;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  background: var(--app-surface-muted);
  font-size: 0.85rem;
}
.md-block__body pre code { padding: 0; background: transparent; }
.md-block__body blockquote {
  margin: 0.65rem 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--app-border);
  color: var(--app-text-muted);
}
.md-block__body a { color: var(--app-accent); }

.notification,
.unified-report-root .notification {
  margin-bottom: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--app-feedback-info-border);
  border-radius: var(--app-radius-sm);
  background: var(--app-feedback-info-bg);
  color: var(--app-text);
}

.notification--success {
  border-color: var(--app-feedback-success-border);
  background: var(--app-feedback-success-bg);
}

.notification--danger {
  border-color: var(--app-feedback-danger-border);
  background: var(--app-feedback-danger-bg);
}

.notification--warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.report-details > summary {
  margin-bottom: 0.5rem;
  color: var(--app-accent);
  font-size: 0.92rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.report-details > summary::-webkit-details-marker { display: none; }

.unified-report-root .content {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.unified-report-root .content ul {
  margin-left: 1.25em;
  list-style: disc outside;
}

.mb-4 { margin-bottom: 1rem; }

@media (max-width: 768px) {
  .unified-report-root .panel,
  .unified-report-root .report-section,
  .report-section {
    padding: 1rem;
  }
}

.pair-result .container {
  width: min(72rem, calc(100% - 2rem));
}

.pair-chart {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  background: var(--app-surface);
}

.pair-chart__title {
  margin: 0 0 0.75rem;
  font-family: Literata, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.pair-chart__toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.pair-chart__type {
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius-sm);
  background: var(--app-surface);
  color: var(--app-text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.pair-chart__type.is-selected {
  border-color: var(--app-accent);
  background: var(--app-accent);
  color: #fff;
}

.pair-chart__canvas {
  position: relative;
  height: 28rem;
}

.pair-chart__legend {
  margin-top: 0.75rem;
}

.pair-chart__legend summary {
  color: var(--app-text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.pair-chart__legend ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0.6rem 0 0;
  padding: 0;
  list-style: none;
}

.pair-chart__legend li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--app-text-muted);
  font-size: 0.8rem;
}

.pair-chart__swatch {
  width: 1.1rem;
  height: 0.55rem;
  border-radius: 2px;
  flex: none;
}

.pair-chart__swatch--a { background: #4a7c8c; }
.pair-chart__swatch--b { background: #2f6f4e; }
.pair-chart__swatch--tension { background: #c45050; }
.pair-chart__swatch--gradient { background: linear-gradient(#f6d4d4, #c45050); }
.pair-chart__swatch--intersection { background: #d0892f; }
.pair-chart__swatch--low { background: rgba(100, 149, 237, 0.55); }
.pair-chart__swatch--high { background: rgba(160, 100, 210, 0.55); }
.pair-chart__swatch--norm-high { border-top: 2px dashed rgba(160, 100, 210, 0.85); background: transparent; }
.pair-chart__swatch--norm-low { border-top: 2px dashed rgba(100, 149, 237, 0.85); background: transparent; }

.unified-report-root .report-section--risk {
  border-left: 3px solid #8f4a3a;
}

.unified-report-root .report-section--advice,
.unified-report-root .report-section--trait {
  border-left: 3px solid var(--pair-accent);
}

.unified-report-root .report-section--person {
  margin: 1.75rem 0 0.25rem;
  padding: 0.35rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.unified-report-root .report-section--person:first-child {
  margin-top: 0.25rem;
}

.unified-report-root .report-section--person .report-section__title {
  margin-bottom: 0.25rem;
  font-family: Literata, Georgia, serif;
  font-size: 1.35rem;
}

.unified-report-root .report-section--person .md-block {
  margin: 0;
}

.unified-report-root .report-section--person .md-block__body {
  color: var(--app-text-muted);
}

.unified-report-root .report-section--match {
  border-left: 3px solid #2f6f4e;
}

.unified-report-root .report-section--conflict {
  border-left: 3px solid #8f4a3a;
}

.unified-report-root .report-section--complement {
  border-left: 3px solid var(--pair-accent);
}

.unified-report-root .report-table thead th {
  color: var(--app-text-muted);
  font-size: 0.85rem;
}

.unified-report-root .report-table td:nth-child(n + 2) {
  font-variant-numeric: tabular-nums;
}

.unified-report-root .pair-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.unified-report-root .pair-column__label,
.unified-report-root .pair-column__empty {
  margin: 0 0 0.5rem;
  color: var(--app-text-muted);
}

.unified-report-root .pair-column__empty {
  margin-bottom: 0;
}

.unified-report-root .pair-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.unified-report-root .pair-chip {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--app-border);
  border-radius: 999px;
  background: var(--app-accent-soft);
  color: var(--app-text);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .unified-report-root .pair-columns {
    grid-template-columns: 1fr;
  }

  .unified-report-root .report-section--person {
    padding: 0.35rem 0 0;
  }
}

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

.report-scale-link {
  color: var(--app-accent);
  font-weight: 700;
  text-underline-offset: 0.15em;
}

.scale-page h1 {
  margin-bottom: 0.75rem;
}

.scale-page__code {
  margin: 0 0 0.35rem;
  color: var(--pair-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.scale-page__lead {
  margin-top: 0;
  font-size: 1.125rem;
}

.scale-page__card {
  margin-bottom: 1rem;
}

.scale-page__card h2,
.scale-page__nav h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.scale-page__card p {
  margin: 0.4rem 0 0;
}

.scale-page__note {
  margin: 0 0 1.25rem;
  color: var(--app-text-muted);
  font-size: 0.92rem;
}

.scale-page__others {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scale-page__others a {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--app-accent-soft);
  color: var(--app-accent);
  font-weight: 700;
  text-decoration: none;
}

.scale-page__others a:hover {
  background: var(--app-accent);
  color: #fff;
}

.scale-page__back {
  margin-top: 1.25rem;
}
