:root { color-scheme: light; --ink: #222a2a; --muted: #697371; --line: #e4e9e6; --green: #13735b; --green-light: #edf6f1; --page: #fafbf9; }
* { box-sizing: border-box; letter-spacing: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, select, input[type="range"] { cursor: pointer; }
button, a { touch-action: manipulation; }
button { color: inherit; background: none; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
button:disabled { opacity: .3; cursor: default; }
svg { width: 19px; height: 19px; flex-shrink: 0; stroke-width: 1.7; }
.skip-link { position: fixed; top: -60px; left: 20px; padding: 12px 20px; z-index: 10; background: white; border: 1px solid var(--green); }
.skip-link:focus { top: 10px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1328px; margin: auto; height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; white-space: nowrap; }
.brand-symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--green); color: white; }
.brand-symbol svg { width: 22px; height: 22px; }
.header-inner nav { display: flex; align-items: center; gap: 30px; height: 100%; font-size: 13px; }
.nav-active { align-content: center; height: 100%; border-bottom: 2px solid var(--green); color: var(--green); font-weight: 600; }
.repository-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 500; }
.repository-link:hover { color: var(--green); }
.repository-link svg { width: 16px; height: 16px; }
.paper-heading { padding: 40px 24px 0; text-align: center; max-width: 1328px; margin: auto; }
.eyebrow { margin: 0 0 10px; font-size: 10px; line-height: 1.4; font-weight: 700; color: var(--green); }
.paper-heading > .eyebrow { margin-bottom: 16px; }
.paper-title { margin: 0 auto; max-width: 1140px; font-size: 36px; font-weight: 600; line-height: 1.35; text-wrap: balance; }
.method-name { margin: 16px 0 0; color: var(--green); font-size: 18px; line-height: 1.5; font-weight: 500; }
.study-facts { display: flex; justify-content: center; gap: 28px; padding: 22px 0 23px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.study-facts span + span { border-left: 1px solid #dce3de; padding-left: 28px; }
.study-facts strong { font-size: 14px; color: var(--ink); margin-right: 4px; font-weight: 600; }
.listening-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.listening-layout { max-width: 1328px; padding: 0 32px; margin: auto; display: grid; grid-template-columns: 218px minmax(0, 1fr); }
.scene-sidebar { padding: 29px 25px 27px 0; border-right: 1px solid var(--line); }
.sidebar-title { display: flex; align-items: center; gap: 8px; margin: 0 0 23px; }
.sidebar-title svg { width: 17px; color: var(--muted); }
.sidebar-title h2 { margin: 0; font-size: 13px; font-weight: 600; }
.sidebar-title > span { margin-left: auto; color: #858e88; font-size: 11px; font-variant-numeric: tabular-nums; }
.condition-group + .condition-group { margin-top: 18px; }
.condition-group h3 { margin: 0 0 7px 10px; font-size: 10px; color: #77827c; font-weight: 500; }
.scene-button { display: flex; width: 100%; min-height: 33px; align-items: center; text-align: left; border: 0; padding: 7px 10px; gap: 12px; border-radius: 4px; font-size: 12px; line-height: 1.5; }
.scene-button:hover { background: #f4f7f4; }
.scene-button[aria-current="true"] { color: var(--green); background: var(--green-light); font-weight: 600; box-shadow: inset 2px 0 var(--green); }
.scene-button .scene-index { font-size: 10px; font-variant-numeric: tabular-nums; width: 15px; color: #8b948e; font-weight: 400; }
.scene-button[aria-current="true"] .scene-index { color: var(--green); }
.scene-button svg { margin-left: auto; width: 13px; height: 13px; }
.sidebar-legend { display: grid; gap: 7px; margin: 24px 10px 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
.sidebar-legend b { display: inline-block; width: 16px; color: #3e4943; font-weight: 600; }
.comparison { min-width: 0; padding: 29px 0 18px 36px; }
.mobile-scene-picker { display: none; }
.scene-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 66px; }
.scene-heading > div:first-child { min-width: 0; }
.scene-heading .eyebrow { font-size: 10px; color: #7c8780; margin-bottom: 8px; }
.scene-heading h2 { font-size: 23px; font-weight: 600; margin: 0; line-height: 1.4; overflow-wrap: anywhere; }
.scene-arrows { display: flex; gap: 6px; flex-shrink: 0; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; padding: 0; width: 32px; height: 32px; border: 1px solid transparent; border-radius: 4px; flex-shrink: 0; }
.icon-button:hover:not(:disabled) { background: #edf1ed; }
.scene-arrows .icon-button { border-color: var(--line); width: 32px; height: 32px; }
.icon-button[aria-pressed="true"] { background: var(--green-light); color: var(--green); }
.example-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.example-tabs { display: flex; gap: 22px; }
.example-tab { border: 0; border-bottom: 2px solid transparent; padding: 12px 1px; color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.example-tab[aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.example-tab:hover { color: var(--green); }
.sample-meta { font-size: 10px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.transcript { margin: 20px 0 17px; padding: 0 0 0 13px; border-left: 2px solid #cdd9d0; min-height: 25px; line-height: 1.7; color: #637068; font-size: 12px; }
.transcript p { margin: 0; }
.track-heading { display: grid; grid-template-columns: 171px minmax(0, 1fr) auto; align-items: center; min-height: 39px; color: #7a857e; font-size: 10px; border-bottom: 1px solid var(--line); }
.track-heading > span:first-child { padding-left: 15px; }
.playback-options { display: flex; align-items: center; gap: 2px; }
.playback-options .icon-button { width: 27px; height: 27px; }
.playback-options svg { width: 15px; height: 15px; }
#volume { width: 59px; margin: 0 8px; accent-color: var(--green); height: 18px; }
.audio-track { display: grid; grid-template-columns: 145px 36px minmax(0, 1fr) 83px 28px; align-items: center; gap: 11px; min-height: 75px; border-bottom: 1px solid var(--line); padding: 10px 10px 10px 15px; position: relative; }
.audio-track[data-system="fdr_udse"] { background: #f0f7f2; box-shadow: inset 3px 0 var(--green); }
.audio-track[data-system="degraded"] { background: #fdfaf8; }
.audio-track[data-system="clean"] { background: #f6f9fc; }
.system-label { min-width: 0; }
.system-name { font-weight: 600; font-size: 13px; display: block; line-height: 1.5; }
.system-detail { margin-top: 3px; font-size: 10px; color: #879087; line-height: 1.4; }
.audio-track[data-system="fdr_udse"] .system-name, .audio-track[data-system="fdr_udse"] .system-detail { color: var(--green); }
.audio-track[data-system="degraded"] .system-name { color: #995240; }
.audio-track[data-system="clean"] .system-name { color: #3866a4; }
.play-button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; border: 1px solid #d6dfd8; background: #fff; flex-shrink: 0; }
.play-button svg { width: 14px; height: 14px; stroke-width: 1.9; }
.play-button:hover { background: #f1f5f0; border-color: #9faf9f; }
.audio-track[data-system="fdr_udse"] .play-button { background: var(--green); color: white; border-color: var(--green); }
.audio-track.is-playing .play-button { border-color: var(--green); box-shadow: 0 0 0 3px #13735b12; }
.waveform { position: relative; height: 37px; min-width: 0; width: 100%; display: flex; align-items: center; }
.waveform img { width: 100%; height: 37px; object-fit: fill; opacity: .62; user-select: none; pointer-events: none; }
.waveform::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--progress, 0%); background: #13735b10; border-right: 1px solid #13735b88; pointer-events: none; z-index: 1; opacity: 0; }
.audio-track.has-progress .waveform::before { opacity: 1; }
.audio-track.is-playing .waveform img { opacity: 1; }
.waveform input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 2; }
.waveform:focus-within { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 3px; }
.track-time { font-size: 10px; color: #7c867f; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.track-time .current-time { color: #36453c; }
.download-button { color: #8a948c; width: 28px; height: 30px; }
.download-button svg { width: 15px; height: 15px; }
.download-button:hover { color: var(--green); }
.audio-track audio { display: none; }
.sample-footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 15px; font-size: 10px; color: #899289; }
.source-meta { overflow-wrap: anywhere; line-height: 1.6; }
.degradation-values { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 5px 12px; color: #78837b; font-variant-numeric: tabular-nums; line-height: 1.6; }
.degradation-values span { white-space: nowrap; }
.status-message { margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: #a3422f; }
.status-message:empty { margin: 0; }
.site-footer { max-width: 1328px; padding: 27px 32px 32px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #859087; font-size: 11px; }
.site-footer > div { display: flex; gap: 22px; align-items: center; }
.footer-brand { color: #46564b; font-weight: 600; }
.footer-dot { margin: 0 6px; }
.site-footer a { display: inline-flex; align-items: center; gap: 6px; }
.site-footer svg { width: 13px; height: 13px; }
.no-script { text-align: center; padding: 20px; }
@media (min-width: 1600px) { .paper-heading { padding-top: 42px; } .study-facts { padding-bottom: 28px; } }
@media (max-width: 1100px) {
  .paper-title { font-size: 32px; }
  .listening-layout { grid-template-columns: 182px minmax(0, 1fr); padding: 0 24px; }
  .scene-sidebar { padding-right: 17px; }
  .comparison { padding-left: 25px; }
  .audio-track { grid-template-columns: 111px 32px minmax(0, 1fr) 75px 24px; gap: 8px; padding-left: 12px; }
  .track-heading { grid-template-columns: 143px minmax(0, 1fr) auto; }
  .scene-heading h2 { font-size: 21px; }
  .system-name { font-size: 12px; }
  .example-tabs { gap: 17px; }
}
@media (max-width: 800px) {
  .header-inner { height: 62px; padding: 0 24px; }
  .paper-heading { padding-top: 30px; }
  .paper-title { font-size: 28px; max-width: 680px; }
  .desktop-break { display: none; }
  .study-facts { gap: 17px; font-size: 11px; }
  .study-facts span + span { padding-left: 17px; }
  .listening-layout { grid-template-columns: minmax(0, 1fr); }
  .scene-sidebar { display: none; }
  .comparison { padding: 23px 0 22px; }
  .mobile-scene-picker { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
  .mobile-scene-picker label { font-size: 11px; color: var(--muted); white-space: nowrap; }
  .mobile-scene-picker select { width: 100%; min-width: 0; border: 1px solid #dce4dd; border-radius: 4px; background: #fff; padding: 10px; color: var(--ink); font-size: 12px; }
  .audio-track { grid-template-columns: 128px 34px minmax(0, 1fr) 77px 26px; min-height: 73px; gap: 11px; }
  .track-heading { grid-template-columns: 161px minmax(0, 1fr) auto; }
  .scene-heading { min-height: 59px; }
  .scene-heading h2 { font-size: 22px; }
}
@media (max-width: 520px) {
  .header-inner { padding: 0 18px; height: 58px; }
  .header-inner nav { gap: 16px; font-size: 11px; }
  .wordmark { font-size: 14px; gap: 7px; }
  .brand-symbol { width: 27px; height: 27px; }
  .brand-symbol svg { width: 18px; }
  .paper-heading { padding: 28px 20px 0; }
  .eyebrow { font-size: 9px; }
  .paper-title { font-size: 24px; line-height: 1.4; }
  .method-name { font-size: 16px; margin-top: 14px; }
  .study-facts { padding: 20px 0; margin-top: 10px; gap: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
  .study-facts span { font-size: 9px; padding: 0 10px; line-height: 1.5; }
  .study-facts span + span { padding-left: 10px; }
  .study-facts strong { display: block; font-size: 17px; margin: 0 0 3px; }
  .listening-layout { padding: 0 16px; }
  .comparison { padding-top: 18px; }
  .mobile-scene-picker { display: block; margin-bottom: 23px; }
  .mobile-scene-picker label { display: block; margin-bottom: 8px; }
  .mobile-scene-picker select { min-height: 41px; font-size: 12px; }
  .scene-heading { gap: 12px; align-items: flex-start; }
  .scene-heading h2 { font-size: 20px; }
  .scene-arrows { gap: 4px; padding-top: 14px; }
  .scene-arrows .icon-button { width: 28px; height: 28px; }
  .scene-arrows svg { width: 15px; }
  .example-bar { flex-wrap: wrap; gap: 0; margin-top: 12px; }
  .example-tabs { gap: 18px; }
  .example-tab { font-size: 11px; padding-top: 13px; padding-bottom: 13px; }
  .sample-meta { font-size: 9px; margin: 9px 0; }
  .transcript { font-size: 11px; line-height: 1.75; margin-top: 17px; }
  .track-heading { grid-template-columns: 95px minmax(0, 1fr) auto; }
  .track-heading > span:first-child { padding-left: 10px; }
  #volume { width: 42px; margin-right: 4px; }
  .playback-options { gap: 0; }
  .playback-options .icon-button { width: 24px; }
  .audio-track { grid-template-columns: 90px 29px minmax(0, 1fr) 22px; gap: 9px; min-height: 80px; padding: 12px 7px 19px 10px; }
  .system-name { font-size: 11px; }
  .system-detail { font-size: 8px; }
  .play-button { width: 29px; height: 29px; }
  .play-button svg { width: 12px; height: 12px; }
  .waveform, .waveform img { height: 29px; }
  .track-time { position: absolute; right: 41px; bottom: 7px; font-size: 8px; }
  .download-button { width: 22px; }
  .download-button svg { width: 13px; height: 13px; }
  .sample-footer { display: block; margin-top: 13px; font-size: 9px; }
  .degradation-values { justify-content: flex-start; margin-top: 7px; }
  .site-footer { padding: 21px 18px; font-size: 9px; }
  .site-footer > div { display: block; }
  .footer-brand { display: block; margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
