.report-page {
  margin: 0;
  background: #f6f7f5;
  color: #202d2b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.report-page * {
  box-sizing: border-box;
}

.report {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 32px 64px;
  overflow-wrap: anywhere;
}

.report a {
  color: #245d50;
  text-underline-offset: 0.2em;
}

.report a:hover {
  color: #153c33;
}

.report a:focus-visible,
.report summary:focus-visible,
.report [tabindex]:focus-visible {
  outline: 3px solid #245d50;
  outline-offset: 4px;
  border-radius: 2px;
}

.report h1,
.report h2,
.report h3,
.report p {
  margin-top: 0;
}

.report h1 {
  margin-bottom: 4px;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.report h2 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.report h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1rem;
}

.report-masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #d9dfdb;
}

.report-masthead p {
  margin-bottom: 0;
  font-weight: 650;
}

.report-header h1 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

.report-website {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.report-context {
  max-width: 800px;
  margin: 32px 0 0;
}

.report-context dt {
  margin-bottom: 8px;
  color: #56635f;
  font-size: 0.875rem;
}

.report-question {
  margin: 0;
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.35;
  white-space: pre-wrap;
}

.report-meta-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.report-date,
.recorded-example-note {
  margin-bottom: 0;
  color: #56635f;
  font-size: 0.875rem;
}

.recorded-example-label {
  color: #245d50;
  font-weight: 600;
}

.recorded-example-note {
  margin-top: 8px;
}

.report .report-header-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid #c6d1cb;
  border-radius: 6px;
  background: #ffffff99;
  font-size: 0.8125rem;
  font-weight: 550;
  text-decoration: none;
}

.report .report-header-action:hover {
  border-color: #8fa399;
  background: #fff;
}

.report-comparison {
  overflow: hidden;
  border: 1px solid #d9dfdb;
  border-radius: 12px;
  background: #fff;
}

.comparison-heading {
  padding: 18px 24px 14px;
}

.comparison-heading h2 {
  margin-bottom: 2px;
}

.comparison-heading p {
  margin-bottom: 0;
  color: #56635f;
  font-size: 0.875rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.comparison-table th,
.comparison-table td {
  padding: 11px 24px;
  border-bottom: 1px solid #e6eae7;
  vertical-align: middle;
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table thead th {
  border-top: 1px solid #e6eae7;
  background: #f8faf8;
  font-weight: 500;
}

.comparison-table tbody th {
  color: #56635f;
  font-size: 0.875rem;
  font-weight: 500;
}

.comparison-provider {
  display: block;
  margin-bottom: 5px;
  font-weight: 650;
}

.comparison-model {
  display: block;
  margin: -2px 0 7px;
  color: #66776f;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
}

.provider-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: #edf0ee;
  color: #4b5953;
  font-size: 0.75rem;
  font-weight: 500;
}

.provider-status--succeeded {
  background: #e7f2ec;
  color: #245d50;
}

.provider-status--pending {
  background: #f7f0df;
  color: #755617;
}

.provider-status--failed {
  background: #faece9;
  color: #923d31;
}

.comparison-mention .signal-result {
  font-size: 1.125rem;
  font-weight: 650;
}

.comparison-mention .signal-positive {
  color: #245d50;
}

.comparison-notes {
  padding: 18px 24px 0;
  color: #56635f;
  font-size: 0.8125rem;
}

.comparison-notes p {
  margin-bottom: 8px;
}

.comparison-evidence-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 4px 24px 18px;
  font-size: 0.875rem;
}

.comparison-evidence-links a {
  padding: 4px 0;
}

.report-evidence-heading {
  margin-top: 48px;
}

.report-evidence-heading p {
  color: #56635f;
}

.report-metadata {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid #e0e5e1;
  border-radius: 10px;
  background: #fbfcfb;
  scroll-margin-top: 24px;
}

.report-metadata h2 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.report-metadata > p {
  margin-bottom: 16px;
  color: #56635f;
  font-size: 0.875rem;
}

.report-metadata dl {
  max-width: 75ch;
}

.report-metadata dd {
  margin-left: 20px;
  margin-bottom: 12px;
}

.report-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 28px;
  margin-top: 32px;
  border-top: 1px solid #d9dfdb;
}

.report-actions h2 {
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.report-actions p {
  margin: 0;
  color: #56635f;
  font-size: 0.875rem;
}

.report-action-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.report .report-action-primary,
.report .report-action-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #b9c8c0;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 550;
  text-decoration: none;
}

.report .report-action-primary {
  border-color: #245d50;
  background: #245d50;
  color: #fff;
}

.report .report-action-primary:hover {
  border-color: #153c33;
  background: #153c33;
  color: #fff;
}

.report .report-action-secondary:hover {
  border-color: #7f978c;
  background: #fff;
}

.report .comparison-signal {
  color: inherit;
  text-decoration-color: #a6b9b0;
  text-decoration-thickness: 1px;
}

.report .comparison-signal:hover {
  color: #245d50;
  text-decoration-thickness: 2px;
}

.comparison-signal--ordered {
  position: relative;
  padding-right: 0.9em;
}

.comparison-signal--ordered::after {
  content: "›";
  position: absolute;
  right: 0;
  bottom: 0.15em;
  color: #66776f;
  font-size: 1.1em;
  line-height: 1;
  text-decoration: none;
}

.comparison-table .provider-status {
  text-decoration: none;
}

.comparison-table .provider-status--pending {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.comparison-table .provider-pending-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-basis: 7px;
  box-shadow: 0 0 0 3px #eddfbd;
}

.provider-evidence {
  margin-top: 24px;
  border: 1px solid #d9dfdb;
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 24px;
}

.provider-evidence-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
}

.provider-evidence-header > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.provider-evidence-header h2 {
  margin: 0;
  font-size: 1.125rem;
}

.evidence-back {
  font-size: 0.75rem;
  text-align: right;
}

.provider-state-message {
  padding: 0 24px 20px;
  margin: 0;
  color: #56635f;
}

.provider-pending-state {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px 22px;
  color: #56635f;
}

.provider-pending-state p {
  margin: 0;
}

.provider-pending-indicator {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #b88727;
  box-shadow: 0 0 0 5px #f7f0df;
  animation: provider-pending-pulse 1.8s ease-in-out infinite;
}

@keyframes provider-pending-pulse {
  50% {
    opacity: 0.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  .provider-pending-indicator {
    animation: none;
  }
}

.evidence-disclosure {
  border-top: 1px solid #e6eae7;
}

.evidence-disclosure:last-child > summary,
.evidence-disclosure:last-child .disclosure-content {
  border-radius: 0 0 12px 12px;
}

.evidence-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  list-style: none;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 550;
  scroll-margin-top: 24px;
  transition: background-color 120ms ease;
}

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

.evidence-disclosure > summary > span:first-child {
  flex: 1;
  min-width: 0;
}

.evidence-disclosure > summary:hover,
.evidence-disclosure[open] > summary {
  background: #f8faf8;
}

.disclosure-description {
  display: block;
  margin-top: 3px;
  color: #56635f;
  font-size: 0.8125rem;
  font-weight: 400;
}

.disclosure-count {
  color: #56635f;
  font-size: 0.8125rem;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.disclosure-chevron {
  flex: 0 0 7px;
  height: 7px;
  margin-right: 3px;
  border-right: 1.5px solid #66776f;
  border-bottom: 1.5px solid #66776f;
  transform: rotate(-45deg);
  transition: transform 120ms ease;
}

.evidence-disclosure[open] > summary .disclosure-chevron {
  transform: rotate(45deg);
}

.disclosure-content {
  padding: 24px;
  border-top: 1px solid #e6eae7;
}

.target-evidence-section {
  scroll-margin-top: 24px;
}

.target-evidence-section + .target-evidence-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e6eae7;
}

.target-evidence-section h3 {
  margin-top: 0;
  margin-bottom: 16px;
}

.evidence-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
  margin: 0 0 20px;
  max-width: 680px;
  font-size: 0.875rem;
}

.evidence-signals > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.evidence-signals dt,
.evidence-note {
  color: #56635f;
}

.evidence-signals dd {
  margin: 0;
  font-weight: 550;
}

.evidence-note {
  max-width: 75ch;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.evidence-inline-link {
  display: inline-block;
  padding: 4px 0;
  font-size: 0.875rem;
}

.evidence-sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.report .evidence-source {
  display: block;
  padding: 12px 14px;
  border: 1px solid #e6eae7;
  border-radius: 6px;
  text-decoration: none;
}

.report a.evidence-source:hover {
  border-color: #a6b9b0;
  background: #f8faf8;
}

.source-title {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}

.source-domain {
  display: block;
  margin-top: 4px;
  color: #56635f;
  font-size: 0.75rem;
}

.evidence-options {
  padding: 0;
  margin: 0;
  list-style: none;
}

.evidence-options > li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 12px;
  border-top: 1px solid #e6eae7;
}

.option-position {
  color: #66776f;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.option-name {
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.target-label {
  display: inline-block;
  margin-left: 10px;
  color: #245d50;
  font-size: 0.75rem;
  font-weight: 500;
}

.evidence-options .assessed-option {
  border-radius: 6px;
  background: #edf5ef;
}

.evidence-position {
  font-size: 0.875rem;
}

.answer-prose {
  font-size: 1rem;
  line-height: 1.75;
}

.answer-prose > :not(.answer-table) {
  max-width: 72ch;
}

.answer-prose p {
  margin-bottom: 1em;
}

.answer-prose h3,
.answer-prose h4,
.answer-prose h5,
.answer-prose h6 {
  margin: 1.5em 0 0.6em;
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1.4;
}

.answer-prose h3 {
  font-size: 1.25rem;
}

.answer-prose > :first-child {
  margin-top: 0;
}

.answer-prose li + li {
  margin-top: 0.4em;
}

.answer-prose ul,
.answer-prose ol {
  padding-left: 24px;
}

.answer-prose pre,
.answer-original pre {
  padding: 16px;
  border: 1px solid #e6eae7;
  border-radius: 6px;
  background: #f8faf8;
  font-size: 0.8125rem;
  white-space: pre-wrap;
}

.answer-prose blockquote,
blockquote.evidence-quote {
  margin: 16px 0;
  padding-left: 18px;
  border-left: 2px solid #bdd0c5;
}

.evidence-quote {
  font-size: 0.875rem;
  line-height: 1.7;
}

.evidence-quote > :last-child {
  margin-bottom: 0;
}

.answer-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid #d9dfdb;
  border-radius: 6px;
}

.answer-table table {
  width: 100%;
  min-width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.6;
}

.answer-table th,
.answer-table td {
  min-width: 160px;
  padding: 12px 16px;
  border-bottom: 1px solid #e6eae7;
  vertical-align: top;
}

.answer-table th {
  background: #f8faf8;
  font-weight: 600;
}

.answer-table tr:last-child td {
  border-bottom: 0;
}

.answer-format {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin: 0 0 24px;
  border: 1px solid #e0e6e1;
  border-radius: 6px;
  background: #f3f6f3;
  font-size: 0.8125rem;
}

.answer-format label {
  position: relative;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: #56635f;
}

.answer-format input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
}

.answer-format label:has(:checked) {
  background: #fff;
  color: #202d2b;
  box-shadow: 0 1px 3px #202d2b14;
}

.answer-format label:has(:focus-visible) {
  outline: 2px solid #245d50;
  outline-offset: 2px;
}

.answer-original,
.answer-content:has(input[value="original"]:checked) .answer-readable {
  display: none;
}

.answer-content:has(input[value="original"]:checked) .answer-original {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .evidence-disclosure > summary,
  .disclosure-chevron {
    transition: none;
  }
}

.report .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .report {
    padding: 20px 16px 40px;
  }

  .comparison-heading {
    padding: 18px 14px 14px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 8px;
    font-size: 0.875rem;
  }

  .comparison-table th:first-child {
    width: 36%;
  }

  .comparison-table tbody th {
    font-size: 0.8125rem;
  }

  .comparison-mention .signal-result {
    font-size: 1rem;
  }

  .provider-status {
    padding: 2px 5px;
  }

  .comparison-model {
    font-size: 0.6875rem;
  }

  .comparison-notes {
    padding: 14px 14px 0;
  }

  .comparison-evidence-links {
    padding: 4px 14px 14px;
  }

  .provider-evidence-header,
  .disclosure-content,
  .report-metadata {
    padding: 18px 14px;
  }

  .evidence-disclosure > summary {
    gap: 10px;
    padding: 14px;
  }

  .disclosure-count {
    font-size: 0.75rem;
  }

  .evidence-signals,
  .evidence-sources {
    grid-template-columns: minmax(0, 1fr);
  }

  .evidence-options > li {
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    padding: 16px 8px;
  }

  .report-actions,
  .report-action-links {
    align-items: stretch;
    flex-direction: column;
  }

  .report-actions {
    gap: 18px;
  }
}

.key-findings {
  margin: 32px 0;
  padding: 32px;
  border: 1px solid #dce3de;
  border-radius: 12px;
  background: #fff;
}

.key-findings h2 {
  font-size: 1.5rem;
}

.findings-scope {
  margin-bottom: 24px;
  color: #56635f;
  font-size: 0.875rem;
}

.key-findings-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.key-findings-list > li + li {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e6eae7;
}

.key-findings-list h3 {
  max-width: 65ch;
  margin-top: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.key-findings-list > li:first-child h3 {
  max-width: 60ch;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.key-findings-list p {
  margin-bottom: 8px;
}

.finding-explanation {
  max-width: 80ch;
  color: #56635f;
  font-size: 0.875rem;
}

.finding-evidence summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 10px;
  cursor: pointer;
  color: #245d50;
  font-size: 0.875rem;
}

.finding-provider-evidence {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 4px 12px;
  margin-top: 16px;
}

.finding-provider-evidence h4 {
  margin: 0;
}

.finding-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 4px 12px;
  margin: 0;
  font-size: 0.875rem;
}

.finding-facts dt {
  color: #56635f;
}

.finding-facts dd {
  margin: 0;
}

.finding-audit-links {
  grid-column: 2;
}

.finding-provider-evidence a {
  display: inline-block;
  margin-right: 12px;
}

.finding-coverage {
  margin: 20px 0 0;
  color: #56635f;
  font-size: 0.875rem;
}

@media (max-width: 600px) {
  .key-findings {
    padding: 24px 16px;
  }

  .finding-provider-evidence {
    grid-template-columns: minmax(0, 1fr);
  }

  .finding-audit-links {
    grid-column: 1;
  }
}
