/* Reader refinement: article discovery and a quieter evidence hierarchy. */
.report-switcher {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  max-width: 1180px;
  margin: 18px auto 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.report-switcher-heading { display: flex; flex-direction: column; gap: 2px; }
.report-switcher-heading strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.report-switcher-heading span { font-size: 12px; color: var(--text-3); }
.report-switcher-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.report-switcher-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  min-height: 76px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--text-2);
  transition: background-color 140ms ease, border-color 140ms ease;
}
.report-switcher-link:hover { background: #eef2ec; border-color: #d8e2d6; }
.report-switcher-link[aria-current="page"] { background: #e9f0e9; border-color: #c2d2c3; color: #234d3b; }
.switch-company { font-size: 15px; font-weight: 600; line-height: 1.5; }
.switch-period { font-size: 12px; line-height: 1.5; color: var(--text-3); }
.report-switcher-link[aria-current="page"] .switch-period { color: #42664f; }
.switch-hook { margin-top: 3px; font-size: 12px; line-height: 1.5; color: var(--text-3); overflow-wrap: anywhere; }
.switch-hook-short { display: none; }
.report-switcher-link[aria-current="page"] .switch-hook { color: #42664f; }

.reader-hero { padding-top: 24px; }
.reader-hero h1 { max-width: 24em; line-height: 1.32; letter-spacing: -1px; }
.reader-hero .hero-description { display: block; max-width: 48em; color: var(--text-2); line-height: 1.8; }
.reader-jumps { margin-top: 6px; }
.reader-jumps strong, .comparison-value, .summary-value { font-variant-numeric: lining-nums tabular-nums; }
.reader-meta { gap: 5px 20px; }

.reader-points { margin-top: 38px; }
.reader-numbers, .sources-section { margin-top: 48px; }
.distinction-list { gap: 20px; }
.distinction-card { border-radius: 12px; box-shadow: none; }
.distinction-name h3 { font-weight: 600; letter-spacing: -.2px; }
.distinction-number { font-size: 26px; color: #829184; }
.number-comparison { background: #f6f8f4; border-radius: 8px; }
.distinction-actions .text-link { border-radius: 8px; }

/* Sources stay one click away, but read as references rather than feature cards. */
.sources-section .source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 0;
  border-top: 1px solid var(--line);
}
.sources-section .source-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  font: inherit;
  gap: 4px;
  position: relative;
  min-height: 0;
  padding: 18px 30px 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.sources-section .source-card:hover { background: #edf2e9; transform: none; }
.sources-section .source-page { font-size: 12px; line-height: 1.6; letter-spacing: 0; color: var(--text-3); }
.sources-section .source-card h3 { margin: 1px 0 0; font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--ink); }
.sources-section .source-card p { margin: 0; font-size: 13px; line-height: 1.75; color: var(--text-3); }
.sources-section .source-arrow { top: 20px; right: 2px; color: var(--green-ink); }
.scope-note { margin-top: 20px; background: transparent; border-radius: 8px; }

.reading-collection { margin-top: 44px; padding-top: 26px; }
.reading-card { padding: 20px 22px; border-radius: 10px; }
.reading-card h3 { margin: 7px 0; font-weight: 600; }
.reading-card p { line-height: 1.7; }
.end-share { border-radius: 10px; }
.share-preview { font-size: 14px; line-height: 1.85; }

.report-switcher a:focus-visible,
.source-card:focus-visible,
.reading-card:focus-visible,
[data-share-page]:focus-visible {
  outline: 2px solid #285c46;
  outline-offset: 4px;
}

@media (max-width: 1240px) {
  .report-switcher { margin-left: 30px; margin-right: 30px; }
}
@media (max-width: 760px) {
  .report-switcher { grid-template-columns: 1fr; gap: 8px; }
  .report-switcher-heading { flex-direction: row; align-items: baseline; gap: 8px; }
  .sources-section .source-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .report-switcher { margin: 12px 20px 0; padding-bottom: 12px; }
  .report-switcher-heading strong, .report-switcher-heading span { font-size: 12px; }
  .report-switcher-links { gap: 5px; }
  .report-switcher-link { min-height: 76px; padding: 8px; border-radius: 7px; }
  .switch-company { font-size: 14px; }
  .switch-period { font-size: 12px; white-space: nowrap; }
  .switch-hook-long { display: none; }
  .switch-hook-short { display: inline; }
  .reader-hero { padding-top: 20px; }
  .reader-hero .hero-description { margin: 10px 0 0; font-size: 14px; line-height: 1.75; }
  .reader-meta { gap: 4px 14px; }
  .reader-points, .reader-numbers, .sources-section { margin-top: 34px; }
  .distinction-list { gap: 16px; }
  .distinction-number { font-size: 23px; }
  .distinction-card { border-radius: 10px; }
  .sources-section .source-card { padding: 15px 25px 15px 0; gap: 3px; }
  .sources-section .source-card h3 { font-size: 16px; }
  .sources-section .source-card p { font-size: 13px; line-height: 1.75; }
  .sources-section .source-arrow { top: 17px; }
  .reading-collection { margin-top: 34px; padding-top: 22px; }
  .reading-card { padding: 17px 20px; }
  .reading-card h3 { font-size: 17px; }
}
@media (max-width: 360px) {
  .report-switcher-link { padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .report-switcher-link { transition: none; }
}

/* A short contents bar follows mobile readers without adding a floating overlay. */
.reader-contents { display: none; }
.distinction-actions .text-link { flex-wrap: wrap; gap: 2px 10px; padding: 8px 12px; }
.source-reference { color: var(--text-3); font-size: 11px; line-height: 1.5; }
.source-button { display: inline-flex; flex-direction: column; align-items: flex-start; white-space: normal; text-align: left; line-height: 1.5; }
.source-button .source-label { font-size: 11px; }
.share-copy-details { max-width: 680px; margin-top: 12px; }
.share-copy-details > summary { display: list-item; width: fit-content; min-height: 44px; padding: 12px 0; color: var(--green-ink); font-size: 14px; line-height: 20px; cursor: pointer; }
.share-copy-details .share-preview { margin-top: 0; }
@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }
  .reader-contents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: sticky; top: 0; z-index: 10; padding: 0 12px; border-bottom: 1px solid var(--line); background: #fafbf8; color: var(--green-ink); }
  .reader-contents a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 3px; font-size: 13px; line-height: 24px; }
  .reader-contents a:hover { background: var(--green-soft); }
  .reader-contents a:focus-visible { outline-offset: -3px; }
}

/* Keep reading position and sideways table content discoverable. */
.jump-affordance { display: inline-block; margin-left: 7px; color: var(--green-ink); font-size: 13px; }
.reader-jumps a:hover .jump-label { text-decoration: underline; text-underline-offset: 4px; }
.reader-contents a[aria-current="location"] { background: #e9f0e9; color: #234d3b; font-weight: 600; box-shadow: inset 0 -2px #285c46; }
.site-header nav a[aria-current="location"] { color: #234d3b; text-decoration: underline; text-underline-offset: 6px; }
.table-scroll-hint { display: none; }
.table-scroll:focus-visible { outline: 2px solid #285c46; outline-offset: -2px; }
@media (max-width: 760px) {
  .table-scroll-hint { display: flex; align-items: center; gap: 7px; margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); background: #f3f6f0; font-size: 12px; line-height: 1.6; }
  .table-scroll-hint > span { color: var(--green-ink); font-size: 16px; }
}
