@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f0f2e9;
  --ink: #29352b;
  --muted: #5c6556;
  --sage: #dfe4d2;
  --line: #ccd2bf;
  --rust: #94503b;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--rust); }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
button { appearance: none; }
::selection { color: white; background: var(--rust); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
h1 { font-size: 32px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: 18px; line-height: 1.45; font-weight: 600; }
h3 { font-size: 14px; line-height: 1.5; font-weight: 600; }
.wrap { width: min(1060px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: -80px; left: 20px; padding: 10px 16px; color: white; background: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 17px; font-weight: 600; text-decoration: none; }
.site-header nav { display: flex; gap: 25px; }
.site-header nav a { font-size: 12px; text-decoration: none; }
.paper-heading { padding: 38px 0 30px; }
.eyebrow { font-size: 11px; color: var(--muted); margin-bottom: 10px; }
.paper-subtitle { margin-top: 8px; font-size: 16px; }
.author-line { color: var(--muted); font-size: 12px; margin-top: 16px; }
.paper-section { display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 30px; border-top: 1px solid var(--line); padding-block: 30px; }
.section-body { min-width: 0; }
.section-body > p + p { margin-top: 12px; }
.section-body > p { max-width: 810px; }
.editor-note { font-size: 12px; color: var(--muted); }
.abstract .editor-note { border-left: 2px solid #a6af95; padding-left: 10px; margin-top: 16px; }
.method-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; padding: 0; margin: 18px 0 0; list-style: none; counter-reset: method; }
.method-steps li { counter-increment: method; border-top: 1px solid var(--line); padding-top: 12px; }
.method-steps h3::before { content: counter(method) ". "; color: var(--rust); }
.method-steps p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.method-note { margin-top: 20px; font-size: 12px; color: var(--muted); }
.method-flowchart { grid-column: 1 / -1; min-width: 0; }
.method-flowchart .flowchart-button { border: 1px solid var(--line); background: #f5f5f5; }
.flowchart-description { margin-top: 12px; color: var(--muted); font-size: 12px; }
.flowchart-description summary { cursor: pointer; width: fit-content; text-underline-offset: 3px; }
.flowchart-description summary:hover { color: var(--rust); }
.flowchart-description summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.flowchart-description p { max-width: 810px; margin-top: 10px; }
.research-question { padding: 10px 14px; background: #e6eadc; border-left: 2px solid #8c9a76; }
.research-question strong { font-size: 12px; font-weight: 600; }
.mapping-scroll { max-width: 100%; overflow-x: auto; margin-block: 16px; }
.mapping-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 12px; text-align: left; }
.mapping-table caption { text-align: left; color: var(--muted); padding-bottom: 10px; font-size: 11px; }
.mapping-table th, .mapping-table td { vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.mapping-table thead th { background: var(--sage); font-weight: 600; }
.mapping-table tbody th { width: 27%; font-weight: 500; }
.mapping-table td { width: 36.5%; }
.extension-content h3 { margin-bottom: 6px; }
.extension-content p + h3 { margin-top: 20px; }
.extension-content .editor-note { margin-top: 16px; }
.references { padding-left: 18px; margin: 22px 0 0; font-size: 12px; }
.references li + li { margin-top: 12px; }

.figure-section { margin-block: 8px 30px; background: var(--sage); border: 1px solid #c4ccb5; padding: 24px; }
.figure-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.figure-heading p { color: var(--muted); font-size: 12px; }
.instrument-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(200px, 1fr); gap: 24px; align-items: start; }
.interface-figure { position: relative; min-width: 0; border: 1px solid #95a17f; overflow: hidden; }
.screenshot-button { display: block; width: 100%; border: 0; padding: 0; background: transparent; position: relative; }
.screenshot-button img { width: 100%; }
.image-zoom { position: absolute; bottom: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; background: var(--paper); color: var(--ink); border: 1px solid #7d927f; font-size: 16px; }
.feature-highlight { position: absolute; pointer-events: none; border: 1.5px solid #f9eed7; box-shadow: 0 0 0 999px #14261c0c; }
.feature-highlight[data-region="spectrum"] { top: 11%; left: 2%; width: 71%; height: 32%; }
.feature-highlight[data-region="score"] { top: 53%; left: 3%; width: 70%; height: 37%; }
.feature-highlight[data-region="peaks"] { top: 58%; left: 75%; width: 23%; height: 26%; }
.feature-tabs { display: flex; flex-direction: column; }
.feature-tab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: transparent; border: 1px solid transparent; border-bottom-color: #c0c9ad; text-align: left; font-size: 13px; }
.feature-tab > span { color: var(--muted); font-size: 11px; }
.feature-tab[aria-selected="true"] { background: #f0f2e8; border-color: #bac5a8; border-left: 3px solid var(--rust); padding-left: 10px; }
.feature-tab:hover { background: #e9eddf; }
.feature-panel { padding: 14px 0 0; color: #47533f; font-size: 13px; }
.figure-caption { font-size: 12px; color: var(--muted); margin-top: 14px; }
.figure-caption strong { font-weight: 600; }

.video-placeholder { border: 1px dashed #b9c2aa; background: #e8ecdf; padding: 20px; margin-top: 18px; }
.video-placeholder p { color: var(--muted); font-size: 12px; margin-top: 4px; }
.examples-heading { margin: 22px 0 12px; }
.listening-layout { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; }
.study-menu { align-self: start; display: flex; flex-direction: column; }
.study-tab { width: 100%; text-align: left; background: transparent; border: 0; border-left: 2px solid var(--line); padding: 9px 12px; font-size: 13px; }
.study-tab[aria-selected="true"] { color: var(--rust); background: #e6eadb; border-left-color: var(--rust); }
.study-tab:hover { background: #e6eadb; }
.study-panel { min-width: 0; padding: 14px 18px; background: #e8ecdf; }
.study-category { color: var(--muted); font-size: 11px; margin-bottom: 4px; }
.study-panel > p:not(.study-category) { margin-top: 8px; }
.study-panel > p { font-size: 13px; }
.study-panel > p.editor-note { font-size: 12px; }
.discussion-content h3 { margin-bottom: 6px; }
.discussion-content p + h3 { margin-top: 20px; }
.resource-row { display: grid; grid-template-columns: 125px 1fr; gap: 20px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.resource-row:first-child { padding-top: 0; }
.resource-row:last-child { border: 0; padding-bottom: 0; }
.resource-row a { font-size: 13px; }
.resource-divider { padding-inline: 12px; color: var(--muted); }
.site-footer { display: flex; align-items: center; gap: 26px; padding-block: 22px 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.site-footer > a:not(.back-to-top) { margin-left: auto; }
.back-to-top { text-decoration: none; font-size: 17px; padding-inline: 7px; }

.image-dialog { width: min(1400px, calc(100vw - 40px)); max-width: none; padding: 44px 10px 10px; border: 1px solid #95a17f; background: var(--sage); color: var(--ink); }
.image-dialog::backdrop { background: #253022db; }
.image-dialog img { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
.dialog-close { position: absolute; right: 14px; top: 5px; display: flex; align-items: center; gap: 14px; background: transparent; border: 0; padding: 5px; font-size: 12px; }
.dialog-close span { font-size: 23px; line-height: 1; }
.dialog-original { position: absolute; left: 14px; top: 12px; font-size: 12px; }

@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .paper-section { grid-template-columns: 125px minmax(0, 1fr); gap: 24px; }
  .method-steps { grid-template-columns: 1fr; gap: 16px; }
  .instrument-layout { grid-template-columns: 1fr; gap: 18px; }
  .interface-details { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .feature-panel { padding-top: 8px; }
  .figure-heading { display: block; }
  .figure-heading p { margin-top: 5px; }
  .listening-layout { grid-template-columns: 125px minmax(0, 1fr); gap: 16px; }
  .study-tab { padding-left: 9px; font-size: 12px; }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 18px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .site-header nav a { font-size: 11px; }
  .paper-heading { padding-block: 27px 25px; }
  h1 { font-size: 28px; }
  .paper-subtitle { font-size: 15px; }
  .author-line { font-size: 11px; }
  .paper-section { grid-template-columns: 1fr; gap: 14px; padding-block: 24px; }
  h2 { font-size: 17px; }
  .figure-section { padding: 14px; margin-block: 4px 24px; }
  .figure-heading { margin-bottom: 14px; }
  .figure-heading p { font-size: 11px; }
  .interface-details { grid-template-columns: 1fr; gap: 12px; }
  .feature-panel { padding-top: 0; }
  .feature-panel p { min-height: 64px; }
  .figure-caption { font-size: 11px; }
  .listening-layout { grid-template-columns: 1fr; gap: 12px; }
  .study-tab { padding-block: 10px; font-size: 13px; }
  .resource-row { grid-template-columns: 1fr; gap: 4px; }
  .site-footer { flex-wrap: wrap; gap: 10px 18px; }
  .site-footer > p { width: 100%; }
  .site-footer > a:not(.back-to-top) { margin-left: 0; }
  .back-to-top { margin-left: auto; }
  .image-dialog { width: calc(100vw - 16px); padding-inline: 6px; padding-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
