/* A restrained academic project page, closely following the CLEAR reference. */
:root {
  font-family: "Noto Sans", sans-serif;
  color: #4a4a4a;
  background: #fff;
  font-synthesis: none;
  --blue: #1a56db;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; }
a { color: #3273dc; text-decoration: none; }
a:hover { color: #1d4b92; text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid #1a56db; outline-offset: 4px; }
.container { width: min(960px, calc(100% - 48px)); margin-inline: auto; }
h1, h2, h3 { font-family: "Google Sans", "Noto Sans", sans-serif; color: #363636; font-weight: 600; line-height: 1.125; }
h1 { font-size: 40px; margin: 0; color: #222; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.hero { padding: 48px 0 46px; text-align: center; }
.subtitle { display: block; margin-top: 8px; font-size: 26px; line-height: 1.3; font-weight: 400; color: #4a4a4a; }
.publication-links { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.resource-button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 7px 17px; background: #363636; color: #fff; font-size: 16px; border-radius: 999px; white-space: nowrap; }
.resource-button:hover { background: #292929; color: #fff; text-decoration: none; }
.resource-button svg { width: 17px; height: 17px; fill: currentColor; flex-shrink: 0; }
.resource-button small { font-size: 10px; color: #ddd; margin-left: 3px; }
.quote-icon { font-size: 23px; line-height: 1; }
.publication-authors { margin-top: 17px; font-size: 16px; }
.publication-authors strong { font-weight: 600; color: #363636; }
.publication-authors p { color: #7a7a7a; margin-top: 2px; }
sup { font-size: .7em; line-height: 0; }
.section { --section-background: #fff; padding: 48px 0; background: var(--section-background); }
main > .section:nth-of-type(odd) { --section-background: #f5f7fa; }
h2 { font-size: 32px; text-align: center; position: relative; padding-bottom: 24px; margin: 0 0 32px; }
h2::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 68px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #4a90d9, #1a56db); }
h3 { font-size: 23px; margin: 24px 0 16px; }
.abstract { max-width: 780px; margin-inline: auto; line-height: 1.8; }
.video-frame { aspect-ratio: 16 / 9; background: #eee; border-radius: 6px; overflow: hidden; }
.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.video-caption { font-size: 14.7px; line-height: 1.55; margin-top: 13px; }
figure { margin: 24px 0; }
figure img { display: block; width: 100%; height: auto; margin: 0 auto; background: white; border-radius: 6px; padding: 8px; }
figure > a { display: block; }
figure figcaption a { display: inline; }
figure a:hover img { box-shadow: 0 3px 12px #00000012; }
figcaption { font-size: 14.7px; color: #4a4a4a; line-height: 1.55; margin: 13px auto 0; max-width: 780px; }
figcaption strong { color: #222; }
.caption-above { text-align: center; margin: 0 auto 16px; max-width: none; }
.concept-intro { max-width: 780px; margin-inline: auto; }
.concept-figure { max-width: 820px; margin: 28px auto 0; }
/* Composite the original diagrams' white paper into the section background.
   This preserves every label and mark in the report artwork. */
.paper-diagram img { background: transparent; mix-blend-mode: multiply; border-radius: 0; padding: 0; }
.paper-diagram a:hover img { box-shadow: none; }
#interface img { border: 0; }
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid #e2e8f0; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.4px; }
caption { text-align: left; padding: 12px 16px; color: #667085; font-size: 13px; border-bottom: 1px solid #e2e8f0; }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #f1f5f9; }
thead th { background: #f2f6ff; font-size: 12.8px; letter-spacing: .03em; text-transform: uppercase; color: #1e3a5f; border-bottom: 2px solid #e2e8f0; }
tbody th { font-weight: 500; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.highlight { background: #eff6ff; }
table strong { color: #1a56db; }
#results table:first-of-type td { font-variant-numeric: tabular-nums; }
.paper-table-wrap { border: 0; border-radius: 0; padding: 12px 20px 20px; background: transparent; }
.paper-table { font-family: Georgia, "Times New Roman", serif; color: #222; border-top: 2px solid #333; border-bottom: 2px solid #333; background: transparent; }
.paper-table caption { font-family: "Noto Sans", sans-serif; font-size: 14px; line-height: 1.6; color: #4a4a4a; border: 0; padding: 0 0 16px; }
.paper-table th, .paper-table td { padding: 9px 12px; border: 0; }
.paper-table thead th { background: transparent; color: #222; text-transform: none; font-size: 15px; letter-spacing: 0; text-align: center; font-weight: 400; }
.paper-table thead tr:last-child th, .paper-table th[rowspan] { border-bottom: 1px solid #333; }
.paper-table th[colspan] { border-bottom: 1px solid #aaa; }
.paper-table tbody th, .paper-table th[rowspan] { text-align: left; white-space: nowrap; }
.paper-table th[rowspan] { vertical-align: bottom; }
.paper-table td { text-align: right; }
.study-result-figure { max-width: 620px; margin: 28px auto; }
.interactive-chart { position: relative; background: transparent; }
.chart-canvas { overflow-x: auto; overflow-y: hidden; background: transparent; }
.chart-canvas svg { display: block; width: 100%; min-width: 520px; height: auto; font-family: "Noto Sans", sans-serif; overflow: visible; }
.chart-grid { stroke: #d9dfe7; stroke-width: 1; }
#participant-chart circle { fill: var(--section-background, #fff); }
.axis-title { font-size: 11px; fill: #4a4a4a; }
.axis-label { font-size: 11px; fill: #586170; }
.participant-label { font-size: 12px; }
.question-label { font-size: 10px; fill: #586170; }
.chart-focus-band { fill: #285c9e; fill-opacity: 0; pointer-events: all; }
.chart-target { cursor: pointer; outline: none; }
.chart-target:hover .chart-focus-band, .chart-target.is-selected .chart-focus-band { fill-opacity: .07; }
.chart-target:focus-visible .chart-focus-band { stroke: #1a56db; stroke-width: 1; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 13px; margin-top: 3px; }
.chart-legend button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 3px; padding: 4px 1px; background: transparent; color: #4a4a4a; font: inherit; font-size: 10px; cursor: pointer; }
.chart-legend button[aria-pressed="false"] { opacity: .42; text-decoration: line-through; }
.legend-swatch { width: 11px; height: 9px; background: var(--series-color); display: inline-block; }
.legend-swatch.line-swatch { height: 3px; position: relative; }
.line-swatch::after { content: ""; position: absolute; width: 5px; height: 5px; border: 2px solid var(--series-color); border-radius: 50%; background: var(--section-background, #fff); left: 2px; top: -3px; }
.chart-tooltip { position: absolute; z-index: 5; width: max-content; max-width: min(260px, calc(100vw - 16px)); background: #f8fafc; color: #3d4652; border: 1px solid #d6dfe9; border-radius: 6px; padding: 9px 11px; box-shadow: 0 4px 14px #2537541f; font-size: 12px; line-height: 1.45; pointer-events: none; }
.chart-tooltip[hidden] { display: none; }
.tooltip-title { display: block; font-size: 13px; margin-bottom: 5px; color: #273b54; }
.tooltip-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 2px; }
.tooltip-row>span { display: inline-flex; gap: 6px; align-items: center; }
.tooltip-row i { width: 6px; height: 6px; flex-shrink: 0; }
.tooltip-row b { font-weight: 600; white-space: nowrap; }
.tooltip-row small { font-size: 10px; color: #677383; font-weight: 400; }
.chart-tooltip .tooltip-question { margin: 0 0 5px; font-size: 11px; color: #677383; }
.chart-tooltip .tooltip-ratings { margin: 6px 0 0; padding-top: 5px; border-top: 1px solid #e7ebf0; font-size: 11px; }
.interactive-figure figcaption { font-size: 13px; }
.study-two-title { margin-top: 48px; }
.note { color: #667085; font-size: 13px; line-height: 1.65; }
.footnote { margin-top: 24px; padding-top: 12px; border-top: 1px solid #d9dfe7; color: #667085; font-size: 12px; line-height: 1.7; }
.footnote:target { outline: 2px solid #b5c9eb; outline-offset: 6px; }
blockquote { border-left: 3px solid #d1ddee; margin: 24px 0; padding: 8px 20px; font-style: italic; }
blockquote cite { display: block; font-size: 14px; font-style: normal; margin-top: 7px; color: #667085; }
.citation-block { position: relative; margin: 16px 0 0; }
.citation { background: #282c34; color: #c9cdd5; font-family: "Courier New", monospace; font-size: 13.3px; padding: 20px 64px 20px 24px; border-radius: 6px; overflow-x: auto; overflow-wrap: anywhere; line-height: 1.55; white-space: pre-wrap; margin: 0; }
.citation code { font: inherit; }
.copy-button { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #535965; border-radius: 5px; padding: 0; background: #343943; color: #d5d9e2; cursor: pointer; }
.copy-button:hover { background: #424956; color: #fff; }
.copy-button svg { width: 18px; height: 18px; }
.copy-button .copy-success { display: none; }
.copy-button[data-copied="true"] .copy-icon { display: none; }
.copy-button[data-copied="true"] .copy-success { display: block; color: #a7d7b2; }
.copy-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.copy-status.copy-error { position: static; display: block; width: auto; height: auto; margin: 8px 0 0; overflow: visible; clip: auto; white-space: normal; font-size: 12px; color: #475569; }
#resources { margin-top: 20px; }
footer { background: #fff; padding: 32px 0; text-align: center; font-size: 15px; color: #7a7a7a; }
footer p { margin: 0 0 8px; }
.design-credit { font-size: 12px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 20; background: #1a56db; color: white; padding: 8px 14px; }
.skip-link:focus { top: 12px; }
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .hero { padding: 36px 0; }
  h1 { font-size: 34px; }
  .subtitle { font-size: 22px; line-height: 1.35; margin-top: 12px; }
  .desktop-break { display: none; }
  .publication-links { gap: 6px; margin-top: 22px; }
  .resource-button { font-size: 13px; padding: 7px 13px; height: 36px; gap: 6px; }
  .resource-button svg { width: 14px; height: 14px; }
  .publication-authors { font-size: 13px; line-height: 1.8; }
  .publication-authors p { font-size: 12px; margin-top: 5px; }
  .section { padding: 36px 0; }
  h2 { font-size: 28px; padding-bottom: 20px; margin-bottom: 25px; }
  h3 { font-size: 21px; }
  body { font-size: 15px; }
  figure img { padding: 4px; }
  figcaption, .video-caption { font-size: 13px; }
  table { font-size: 12px; min-width: 460px; }
  th, td { padding: 10px 12px; }
  thead th { font-size: 10px; }
  .note { font-size: 12px; }
  .citation { font-size: 12px; padding: 18px 56px 18px 18px; }
  footer { font-size: 13px; }
}
