@font-face{font-family:Nunito;src:url('assets/Nunito-Regular.ttf')}@font-face{font-family:Nunito;src:url('assets/Nunito-Bold.ttf');font-weight:700}
:root{font-family:Nunito,Arial,sans-serif;color:#283e4c;--green:#00d486;--purple:#786887}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{min-height:44px;border:1.5px solid #a899bc;border-radius:0;padding:9px 12px;background:#fff;color:#655780;font-weight:700;cursor:pointer}button:hover{background:#edf6e9}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #14826b;outline-offset:3px}button:disabled{opacity:.45;cursor:default}[hidden]{display:none!important}p,h1,h2,h3{margin:0}p{line-height:1.5}.primary{background:var(--green);border-color:var(--green);color:#143d30}.primary:hover{background:#00e18d}.wide{width:100%;display:flex;align-items:center;justify-content:space-between;margin-top:14px}.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:700;color:#658286}.brand{color:#265b64;text-decoration:none;letter-spacing:-1px;font-size:22px;font-weight:700}.brand span{font-weight:400}.toolbar{display:flex;gap:3px}.toolbar button{border:0;background:transparent;font-size:23px;padding:3px 6px;min-width:31px}.cover{background:radial-gradient(ellipse at 40% 30%,#edf3d8,#b9ddd6);padding:28px 6%;position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden}.cover-top{display:flex;justify-content:space-between;align-items:center}.cover-top .eyebrow{font-size:10px}.cover h1{font-size:clamp(34px,4.4vw,68px);line-height:1.1;letter-spacing:-2px;margin-top:45px;z-index:1;color:#2a5256}.cover h1 em{font-style:normal;color:#658d7b}#cover-art{flex:1;min-height:230px;margin:-15px -8% -25px;display:grid;place-items:center}#cover-art svg{width:100%;height:100%;max-height:57vh}.cover-foot{font-size:16px;color:#557b71;font-weight:700;z-index:1;padding:12px 0}#welcome{display:grid;grid-template-columns:65% 35%;min-height:100dvh}.welcome-copy{display:flex;flex-direction:column;padding:5vh 10% 25px;gap:20px}.welcome-copy h2{font-size:clamp(32px,3vw,48px);line-height:1.12;letter-spacing:-1px}.welcome-copy p{font-size:18px;color:#71717e}.welcome-copy .eyebrow{font-size:12px;color:#91809f}#intro-copy p+p{margin-top:12px}.grade-select{border:0;padding:0;margin:0}.grade-select legend{font-size:14px;color:#7b6d88;margin-bottom:8px}.grade-select button{width:100%;text-align:left;margin:4px 0;padding:10px}.grade-select span{display:block;font-size:12px;font-weight:400;margin-top:3px}[data-grade][aria-pressed=true]{background:#e8f7e5;border-color:#268747;color:#386e48}#start{display:flex;justify-content:space-between;margin-top:auto;gap:25px;min-height:50px}.welcome-copy>small{color:#86918b;font-size:12px}
#lab{display:grid;grid-template-columns:minmax(325px,34%) minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{overflow:auto;padding:12px 24px 14px 36px;background:linear-gradient(90deg,transparent 22px,#ecc1c9 23px,#ecc1c9 24px,transparent 25px),repeating-linear-gradient(#fff 0,#fff 42px,#dde3f3 43px,#fff 44px);display:flex;flex-direction:column;min-width:0}.sidebar-head{display:flex;justify-content:space-between;align-items:center}.sidebar-head .brand{font-size:16px}.sidebar-head .toolbar button{font-size:21px;padding:2px 4px}.help-row{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #dedee9;margin:6px 0 16px;padding-bottom:7px}.help-row button{border:0;background:transparent;font-size:19px;display:flex;align-items:center;gap:10px;padding:2px 0}.help-row button:last-child{background:#edf7e9;border:1px solid #c5d9bd;padding:4px 14px;font-size:17px}.info-icon{background:var(--green);border-radius:50%;width:30px;height:30px;display:grid;place-items:center;font-family:Georgia}.highlight{display:table;background:linear-gradient(transparent 12%,#f7ffab 12%,#f7ffab 88%,transparent 88%);padding:0 5px;font-size:15px;color:#253437;font-weight:700;margin:0 0 10px}.activity-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:18px}.activity-tabs button{position:relative;padding:8px 4px 22px;line-height:1.2;font-size:16px;min-height:89px}.activity-tabs small{display:block;font-weight:400;font-size:12px;margin-bottom:6px}.activity-tabs span{position:absolute;right:5px;bottom:4px;font-size:12px}.activity-tabs [aria-pressed=true]{background:#188c42;border-color:#188c42;color:white}.instructions{font-size:17px;color:#7b6f8b;margin-bottom:15px}.part-options,.step-options{display:grid;gap:8px}.part-options button{display:flex;align-items:center;gap:12px;text-align:left;font-size:17px;padding:7px 10px;min-height:46px}.part-options .dot,.step-options .dot{background:#edeee1;color:#926b56;display:grid;place-items:center;width:30px;height:30px;flex-shrink:0}.part-options .tick{margin-left:auto;color:#35834b}.part-options [aria-pressed=true],.step-options [aria-pressed=true],.type-options [aria-pressed=true]{background:#e6f4e5;border-color:#288657;color:#28734a}.check{display:flex;gap:9px;align-items:center;font-size:15px;color:#746581;margin-top:15px}.check input{width:18px;height:18px;accent-color:#17894c}.step-options button{display:flex;align-items:center;text-align:left;gap:12px;font-size:17px}.step-options small{font-weight:400;display:block;font-size:13px;margin-top:4px}.side-fact{background:#edf4e5;border-left:3px solid #acc5a2;padding:12px;margin:18px 0;color:#5a7967}.side-fact p{font-size:16px;margin-top:5px}.small-note{font-size:13px;color:#8a8296;line-height:1.5}.type-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.type-options button{font-size:16px;padding:8px 3px}.type-options svg{display:block;height:60px;width:100%;margin-bottom:4px}.shape-challenge{margin-top:16px;padding:13px;background:#f4f0f8;border-left:3px solid #b5a3c6}.shape-challenge .eyebrow{font-size:11px;color:#8b749c}.shape-challenge>p:not(.eyebrow){font-size:16px;margin-top:8px}#answer{color:#367452}.sidebar-bottom{margin-top:auto;padding-top:18px;display:flex;flex-direction:column}.sidebar-bottom button{border:0;background:transparent;text-align:left;font-size:14px;padding:0;min-height:35px}.sidebar-bottom small{font-size:11px;color:#92909a}
.workspace{height:100dvh;min-width:0;padding:22px 28px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 43% 35%,#edf3de,#cee7e0 75%);overflow:hidden}.stage-header{display:flex;gap:15px;justify-content:space-between;flex-shrink:0}.stage-header h2{font-size:clamp(23px,2.6vw,37px);letter-spacing:-.9px;line-height:1.2;margin:7px 0}.stage-header p:last-child{font-size:16px;color:#65868b}.desk-tools{display:flex;gap:9px}.desk-tools button{border:0;border-radius:12px;width:48px;height:53px;font-size:29px;font-weight:400;color:#9a86a9;flex-shrink:0}.scene{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:5px 0}.scene>svg{width:100%;height:100%;min-height:0;max-height:100%;overflow:visible}.scene-key{text-align:center;font-size:13px;color:#6c8b7b;margin:0 0 9px;flex-shrink:0}.discovery{background:#fff;border-radius:16px;padding:17px 19px;display:flex;align-items:flex-start;gap:14px;flex-shrink:0}.discovery>button{border:0;background:var(--green);color:#17513d;font-size:21px;min-width:43px;padding:4px;border-radius:8px}.discovery h3{font-size:22px;margin:4px 0 5px}.discovery p:not(.eyebrow){font-size:16px;color:#63808b;line-height:1.45}.discovery .eyebrow{color:#a28aac;font-size:11px}.discovery>div{flex:1}.discovery>span{align-self:center;color:#efbe5c;font-size:31px}.playback{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 12px;flex-shrink:0}.playback button{font-size:15px;padding:8px 12px}.playback .primary{flex:1}.playback progress{width:100%;height:5px;accent-color:#139767}svg .part-hit{cursor:pointer}svg .part-hit:hover .marker{fill:#d9f4bc}.part-glow{filter:drop-shadow(0 0 5px #fff9a6)}.label-tag{font-size:17px;fill:#365e5e;font-family:Nunito,Arial,sans-serif;font-weight:700}.ash-float{animation:ash 3s ease-in-out infinite alternate;transform-origin:390px 140px}.lava-shimmer{animation:lava 1.6s ease-in-out infinite alternate}.bubble{animation:bubble 2s ease-in-out infinite alternate}@keyframes ash{to{transform:translate(8px,-9px) scale(1.025)}}@keyframes lava{to{opacity:.65}}@keyframes bubble{to{transform:translateY(-9px)}}.paused .ash-float,.paused .lava-shimmer,.paused .bubble{animation-play-state:paused}
dialog{border:0;border-radius:12px;background:#fffdf5;color:#344950;max-width:min(820px,94vw);width:760px;max-height:90dvh;padding:25px 30px;box-shadow:0 20px 60px #254a4233}dialog::backdrop{background:#d8e7e6ba;backdrop-filter:blur(5px)}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head button{border:0;background:transparent;font-size:26px;min-height:35px;padding:0 10px}dialog h2{font-size:30px;margin:10px 0 20px}dialog h3{font-size:22px;margin:14px 0 8px}dialog p,dialog li{font-size:18px;line-height:1.65;margin-bottom:13px;color:#657476}.book-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}.book-tabs button{font-size:15px}.book-tabs [aria-pressed=true]{background:#278255;color:white;border-color:#278255}.book-art{height:200px;width:100%;background:#e3efdf;margin-bottom:15px}.book-art svg{width:100%;height:100%}.book-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.book-grid>div+div{border-left:1px solid #ddd7bd;padding-left:24px}.book-controls{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}dialog a{color:#26715c}.source-links{border-top:1px solid #dbdfca;padding-top:13px;font-size:13px;margin-top:20px}.source-links a{display:inline-block;margin-right:18px}.saved-row{display:flex;justify-content:space-between;gap:15px;padding:15px;background:#e9f3e4;margin:9px 0;font-size:18px}.saved-row b{color:#268251}textarea{width:100%;min-height:100px;padding:12px;border:1px solid #afa0ba;background:#fff;font-size:18px;margin:8px 0 16px;resize:vertical}dialog label{display:block;font-size:17px;font-weight:700}#notes-state{font-size:13px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.large-text .instructions,.large-text .discovery p:not(.eyebrow){font-size:20px}.large-text .part-options button,.large-text .step-options button{font-size:20px}
@media(max-height:750px) and (min-width:801px){.welcome-copy{gap:13px;padding-top:25px}.welcome-copy p{font-size:16px}.cover h1{margin-top:28px}.workspace{padding:16px 20px}.stage-header p:last-child{font-size:14px}.discovery{padding:12px 15px}.discovery h3{font-size:19px}.discovery p:not(.eyebrow){font-size:15px}.stage-header h2{font-size:26px}.sidebar{padding-top:6px}.help-row{margin-bottom:10px}.activity-tabs{margin-bottom:12px}.playback{margin-bottom:8px}}
@media(max-width:1050px) and (min-width:801px){.sidebar{padding-left:30px;padding-right:16px}.sidebar-head .brand{font-size:14px}.activity-tabs button{font-size:14px}.stage-header h2{font-size:24px}.desk-tools button{width:36px;height:42px;font-size:25px}.desk-tools{gap:5px}.cover-top .eyebrow{display:none}.welcome-copy{padding-left:7%;padding-right:7%}.playback button{font-size:13px;padding:7px}.discovery>span{display:none}.grade-select span{font-size:11px}}
@media(max-width:800px){#welcome{grid-template-columns:1fr}.cover{height:62vh;min-height:460px;padding:25px 7%}.cover h1{font-size:39px;margin-top:24px}#cover-art{min-height:200px;margin-top:-5px}.cover-top .eyebrow{display:none}.welcome-copy{padding:28px 7%}#lab{display:flex;flex-direction:column;height:auto;overflow:visible}.workspace{order:-1;height:100dvh;min-height:600px;padding:16px}.stage-header h2{font-size:23px}.stage-header p:last-child{font-size:13px}.desk-tools button{width:35px;height:40px;font-size:24px}.desk-tools{gap:5px}.stage-header .eyebrow{font-size:10px}.discovery{padding:12px;gap:9px}.discovery h3{font-size:18px}.discovery p:not(.eyebrow){font-size:14px}.discovery>span{display:none}.discovery>button{min-width:36px;font-size:18px}.sidebar{padding:18px 25px 20px 35px;overflow:visible}.part-options{grid-template-columns:1fr 1fr}.part-options button{font-size:15px;gap:6px}.part-options .dot{width:24px}.playback button{font-size:12px;padding:7px}.book-grid{grid-template-columns:1fr;gap:0}.book-grid>div+div{border:0;padding:0}.scene-key{font-size:11px}dialog{padding:20px}dialog h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
@media(min-width:801px){body:not(.landing){height:100dvh;overflow:hidden}}
/* Pacific Ring of Fire fact card and reading chapter. */
.ring-fact{margin-top:20px;padding:13px;background:#f7f3df;border:1px solid #d9cfac;color:#4d6d62}.ring-fact>div{display:flow-root}.ring-fact img{float:right;width:92px;height:92px;object-fit:contain;margin:0 0 7px 10px;border:3px solid white}.ring-fact .eyebrow{font-size:10px;color:#9b855f}.ring-fact h3{font-size:18px;margin:5px 0}.ring-fact p:not(.eyebrow){font-size:15px;line-height:1.45}.ring-fact button{font-size:15px;min-height:42px;margin-top:10px;background:#fffdf4;color:#527764;border-color:#b8c7a5}.ring-intro{background:#edf5e5;border-left:4px solid #81ac77;padding:13px 16px}.ring-spread{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;align-items:start}.ring-map{margin:12px 0 0}.ring-map img{display:block;width:100%;height:auto;border:4px solid white;box-shadow:0 3px 14px #44645818}.ring-map a{display:block}.ring-map figcaption{font-size:13px;line-height:1.5;color:#6f8177;margin-top:9px}.ring-spread h3{font-size:20px}.ring-spread p{font-size:16px;line-height:1.5}.ring-prompt{padding:12px;background:#f5efd6;color:#766b4b}.ring-prompt p{margin:5px 0 0}.map-credit{font-size:12px!important;color:#7f8a7c!important;margin-top:16px}.large-text .ring-fact p:not(.eyebrow),.large-text .ring-spread p{font-size:19px}@media(max-width:600px){.ring-spread{grid-template-columns:1fr;gap:6px}.ring-map{max-width:400px;margin:6px auto}.ring-fact img{width:100px;height:100px}}
/* Sound desk controls. */
.note-options{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.note-options button{padding:9px 3px;font-size:16px;min-height:76px}.note-options button b{display:block;font-size:25px;line-height:1.2}.note-options button small{display:block;font-size:11px;margin-top:7px;font-weight:400}.note-options [aria-pressed=true],.tap-options [aria-pressed=true],.distance-options [aria-pressed=true]{background:#e4f5e5;border-color:#278553;color:#2a7549}.setting-heading{margin-top:20px}.tap-options,.distance-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.tap-options button,.distance-options button{font-size:16px;padding:12px 5px}.tap-options span,.distance-options span{display:block;font-size:31px;color:#639e88;line-height:1.3}.tap-options small,.distance-options small{display:block;font-weight:400;font-size:13px;margin-top:5px}.sound-toggle{margin-top:22px;padding-top:12px;border-top:1px solid #cfc4dc}.sound-toggle span{margin-left:auto;font-size:24px;color:#4a9875}.wave-panel{background:#ffffffd9;padding:11px 16px;border-radius:12px;margin-bottom:8px;flex-shrink:0}.wave-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:#47786a}.wave-head span{font-size:12px;color:#789080}#wave-graph svg{display:block;width:100%;height:83px}.graph-key{display:flex;flex-wrap:wrap;gap:15px;font-size:11px;color:#6e8278}.graph-key span{display:flex;align-items:center;gap:5px}.graph-key i{width:17px;height:3px;background:#228b76}.graph-key #previous-key i{background:#b38cba}.graph-key>span:last-child{margin-left:auto}.scene .glass-hit{cursor:pointer}.scene .glass-hit:focus-visible{outline:none}.scene .glass-hit:focus-visible .glass-outline{stroke:#165f50;stroke-width:4}.scene .glass-hit:hover .glass-outline{stroke:#419d80}.sound-fact{padding:15px;background:#eaf4e4;border-left:4px solid #90b685}.sound-fact b{color:#33765b}.book-icon{font-size:40px;display:block;margin:8px 0;color:#7ba58a}.echo-message{font-size:21px;font-family:Nunito,Arial;fill:#517c72;font-weight:700}#dialog .grade-select button{margin:8px 0}.large-text .note-options button small{font-size:13px}.large-text .small-note{font-size:16px}@media(max-width:1050px) and (min-width:801px){.note-options{grid-template-columns:repeat(3,1fr)}.note-options button{min-height:65px}.note-options button small{margin-top:3px}.tap-options button{font-size:15px}.wave-head{font-size:13px}.wave-head span{font-size:11px}}@media(max-width:800px){.wave-panel{padding:9px 12px}.wave-head{font-size:13px}.wave-head span{font-size:10px}#wave-graph svg{height:70px}.graph-key{font-size:10px;gap:8px}.playback button{font-size:12px}.note-options button{min-height:73px}.scene-key{line-height:1.4}}
.trial-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.trial-grid>div{background:#eaf4e5;padding:12px}.trial-grid span{display:block;font-size:14px;margin-top:7px}.trial-grid b{font-size:16px}
/* Sound facts: the units of sound and hearing-frequency comparison. */
.facts-shortcut{background:#f7f4e4;border-color:#c7ceb2;color:#507768;font-size:17px;text-align:left;margin-top:18px}.facts-shortcut small{display:block;font-size:12px;font-weight:400;margin-top:4px}.sound-measure-card{display:flex;gap:16px;background:#f6f0d7;padding:17px;border-left:4px solid #d9b75c;align-items:flex-start}.measure-symbol{display:grid;place-items:center;min-width:62px;height:62px;background:#fff9e9;color:#a57a3f;font-size:28px;font-weight:700}.sound-measure-card h3{margin-top:0}.sound-measure-card p:last-child{margin-bottom:0}.sound-facts-section{margin-top:24px;padding-top:8px;border-top:1px solid #dce4d1}.hertz-rule{background:#eaf4e6;text-align:center;font-weight:700;padding:10px;color:#4f7764!important}.frequency-picture{margin:12px 0}.frequency-picture svg{display:block;width:100%;height:auto;background:#f9fbf3}.frequency-picture figcaption{font-size:15px;color:#617e72;line-height:1.6;margin:10px 0}.measure-note{font-size:13px!important;line-height:1.6!important;color:#7a837b!important}.hearing-chart{padding:15px 26px 12px;background:#f8f5e8;margin:16px 0}.hearing-row{margin-bottom:15px}.hearing-row-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;color:#567269}.hearing-row-title b{font-size:17px;display:flex;align-items:center;gap:10px}.hearing-row-title b span{font-size:27px}.hearing-row-title>span{font-size:14px;white-space:nowrap}.hearing-track{position:relative;height:24px;background:repeating-linear-gradient(90deg,#e9eadb 0,#e9eadb calc(25% - 1px),#c8d4c1 calc(25% - 1px),#c8d4c1 25%)}.hearing-track>span{position:absolute;height:100%;background:#d9a650;border:1px solid #c48f3b}.hearing-row:nth-child(2) .hearing-track>span{background:#78a992;border-color:#66967f}.hearing-row:nth-child(3) .hearing-track>span{background:#b195be;border-color:#9d80ad}.hearing-row:nth-child(4) .hearing-track>span{background:#80a9b5;border-color:#658f9b}.hearing-axis{position:relative;height:24px;margin-top:4px;font-size:11px;color:#6d8075}.hearing-axis span{position:absolute;transform:translateX(-50%)}.hearing-axis span:nth-child(1){left:0}.hearing-axis span:nth-child(2){left:25%}.hearing-axis span:nth-child(3){left:50%}.hearing-axis span:nth-child(4){left:75%}.hearing-axis span:nth-child(5){left:100%}.hearing-axis-title{font-size:12px!important;text-align:center;margin-bottom:10px!important}.hearing-direction{display:flex;justify-content:space-between;font-size:12px;color:#638070}.large-text .frequency-picture figcaption{font-size:18px}@media(max-width:600px){.sound-measure-card{padding:13px;gap:10px}.measure-symbol{min-width:43px;height:46px;font-size:23px}.sound-measure-card h3{font-size:19px}.hearing-chart{padding:12px 20px}.hearing-row-title b{font-size:15px;gap:6px}.hearing-row-title>span{font-size:12px}.hearing-axis{font-size:9px}.hearing-direction{font-size:11px}}
.recording-history{display:grid;grid-template-columns:minmax(190px,.9fr) 1.3fr;gap:24px;align-items:center;margin:15px 0 24px}.recording-history figure{margin:0;background:#ecf3e3;padding:15px}.recording-history img{display:block;width:100%;height:auto}.recording-history figcaption{font-size:14px;line-height:1.5;color:#657f6e;text-align:center;margin:10px 0 0}.recording-history h3{margin-top:8px}.history-milestone{display:flex;gap:13px;align-items:flex-start;margin-top:18px}.history-milestone>b{font-size:20px;color:#8b733c;background:#f3ebcb;padding:6px 9px}.history-milestone p{font-size:17px;line-height:1.55;margin:0}.recording-link{display:flex;gap:15px;align-items:center;margin-top:24px;padding:13px;background:#f6f0dc}.recording-link img{flex-shrink:0}.recording-link b{font-size:16px;color:#687b62}.recording-link button{display:block;margin-top:8px;font-size:15px}.large-text .history-milestone p{font-size:20px}@media(max-width:600px){.recording-history{grid-template-columns:1fr;gap:18px}.recording-history figure{max-width:270px;margin:auto}.history-milestone p{font-size:16px}.recording-link{gap:10px}.recording-link img{width:60px}}
/* Glasses and their oscilloscope share one row. */
.visual-stage{flex:1;min-height:0;display:flex;position:relative}
.visual-stage>.scene{width:100%}
.visual-stage.is-music{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(230px,1fr);gap:20px;align-items:center;padding:18px 0}
.visual-stage.is-music>.scene{height:100%;min-width:0}
.visual-stage .oscilloscope{width:100%;max-width:370px;justify-self:end;margin:0;padding:16px;background:linear-gradient(145deg,#52675f,#364e45);border:1px solid #698176;border-radius:16px;box-shadow:0 9px 22px #36584725;color:#eef5e8}
.scope-title{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:1.8px;margin-bottom:13px;color:#dde8db}
.scope-light{width:7px;height:7px;border-radius:50%;background:#a0f76a;box-shadow:0 0 8px #b0ff7b70}
.oscilloscope .wave-head{color:#d8e5d4;gap:8px;margin-bottom:12px}
.oscilloscope .wave-head>span{font-size:13px;color:inherit;line-height:1.25}.oscilloscope .wave-head small{display:block;font-size:11px}
#frequency-readout{background:#10231b;color:#9dff54;border:1px solid #6b846f;border-radius:5px;min-width:96px;padding:5px 10px;text-align:right;font:700 clamp(20px,2vw,30px)/1.15 Consolas,monospace;letter-spacing:1px}
.oscilloscope .graph-key{gap:6px 12px;font-size:10px;margin:0 0 10px;color:#a9f476}
.oscilloscope .graph-key i{background:#98ff42;width:12px}.oscilloscope .graph-key #previous-key{margin-left:0;color:#79e1e9}.oscilloscope .graph-key #previous-key i{background:#61dbe7}
.oscilloscope #wave-graph{border:1px solid #81967b;border-radius:9px;overflow:hidden;background:#132c22}
.oscilloscope #wave-graph svg{width:100%;height:auto;display:block}
.oscilloscope #note-readout{font-size:12px;color:#edf5df;margin-top:10px;line-height:1.3}
.scope-caption{font-size:10px;color:#b6c7b8;margin-top:4px;line-height:1.3}
@media(max-height:750px) and (min-width:801px){.visual-stage.is-music{gap:14px;padding:10px 0}.visual-stage .oscilloscope{max-width:310px;padding:12px}.scope-title{margin-bottom:8px}.oscilloscope .wave-head{margin-bottom:8px}}
@media(max-width:600px){.visual-stage.is-music{grid-template-columns:minmax(300px,1.35fr) 230px;gap:12px;overflow-x:auto;align-items:center}.visual-stage .oscilloscope{padding:12px}.visual-stage.is-music>.scene{min-height:230px}}
/* See sound: connected explanations and keyboard-accessible hotspots. */
.sound-explorer{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;padding:10px 0 0}
.sound-callout{position:relative;flex-shrink:0;display:flex;gap:12px;padding:16px 20px;background:#fffdf4;border:1px solid #c7d7c4;border-radius:18px;color:#36594e;max-height:44%;overflow:auto;box-shadow:0 6px 20px #507b6810}
.sound-callout.active{border-color:#c9872b}.sound-callout>div{flex:1}.sound-callout .eyebrow{font-size:10px;letter-spacing:1.3px;color:#698477}.sound-callout h3{font-size:23px;margin:4px 0 6px;color:#365d51}.sound-callout.active h3{color:#a45c12}.sound-callout p:not(.eyebrow){font-size:17px;line-height:1.45;max-width:70ch}.sound-callout-actions{display:flex;gap:8px;margin-top:11px;flex-wrap:wrap}.sound-callout-actions button{font-size:14px;min-height:36px;padding:6px 11px;background:#e8f3e3;color:#2e7259;border:1px solid #b6d0b0;border-radius:8px}.sound-callout-actions button+button{background:transparent;border-color:#d7dfcd;color:#60796d}.sound-callout-close{border:0;background:transparent;color:#537b6a;font-size:25px;min-width:36px;align-self:flex-start;padding:0;min-height:36px}
.sound-explorer>.sound-wave-picture{width:100%;height:100%;min-height:0;flex:1;display:block;overflow:visible}.sound-hotspot{cursor:pointer}.sound-hotspot .hotspot-disc{fill:#267b60;stroke:#fff;stroke-width:2;filter:drop-shadow(0 2px 3px #45695930)}.sound-hotspot>text{fill:white;font:700 23px Nunito,Arial;pointer-events:none}.sound-hotspot .hotspot-label{fill:#406657;font-size:14px;paint-order:stroke;stroke:#f5faf0;stroke-width:5px;stroke-linejoin:round}.sound-hotspot.selected .hotspot-disc{fill:#c5791e}.sound-hotspot:hover .hotspot-disc{fill:#195d49}.sound-hotspot:focus-visible{outline:none}.sound-hotspot:focus-visible .hotspot-disc{stroke:#183f38;stroke-width:3}.sound-callout-line{fill:none;stroke:#c9872b;stroke-width:1.7;stroke-dasharray:5 5;pointer-events:none;opacity:.8}
.large-text .sound-callout p:not(.eyebrow){font-size:20px}@media(max-height:750px){.sound-callout{padding:12px 16px}.sound-callout h3{font-size:21px}.sound-callout p:not(.eyebrow){font-size:16px}.sound-callout-actions{margin-top:8px}}@media(max-width:800px){.sound-callout{padding:12px;max-height:48%}.sound-callout h3{font-size:20px}.sound-callout p:not(.eyebrow){font-size:15px}.sound-callout-actions button{font-size:13px}.sound-callout .eyebrow{font-size:9px}}
.sound-hotspot:focus{outline:none}.sound-hotspot.selected:hover .hotspot-disc{fill:#b36b17}.sound-hotspot:focus .hotspot-disc{stroke:#214d40;stroke-width:3}
/* Diagram annotations match the reference: a dot, leader line, and short definition. */
.sound-explorer{position:relative;display:block;padding:0}.sound-explorer>.sound-wave-picture{position:absolute;inset:0;width:100%;height:100%}
.sound-explorer .sound-callout{position:absolute;left:3%;bottom:5%;width:31%;max-width:280px;max-height:55%;padding:0;gap:0;display:block;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:auto;color:#161e1b;z-index:2}
.sound-explorer .sound-callout h3{padding:3px 28px 4px 8px;margin:0 0 6px;background:#dce9dfa8;color:#101915;font-size:23px;line-height:1.2;font-weight:700}.sound-explorer .sound-callout p{padding:3px 8px;background:#fffffff0;font-size:15px;line-height:1.45;color:#26362e}.sound-explorer .sound-callout-actions{margin:6px 0 0;padding-left:8px;gap:5px}.sound-explorer .sound-callout-actions button{font-size:12px;padding:4px 7px;min-height:30px;background:#ffffffdf;border:1px solid #adbbb1;border-radius:3px;color:#344c3d}.sound-explorer .sound-callout-close{position:absolute;right:0;top:0;min-width:27px;min-height:30px;font-size:20px;color:#283c32}
.sound-annotation-line{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;overflow:visible}.sound-annotation-line path{fill:none;stroke:#15221b;stroke-width:1.4}.annotation-origin{fill:#101a15}.annotation-target{fill:#fff;stroke:#172a20;stroke-width:1.2}
.sound-hotspot .hotspot-disc,.sound-hotspot:hover .hotspot-disc,.sound-hotspot.selected .hotspot-disc,.sound-hotspot.selected:hover .hotspot-disc{fill:#eff6e9;stroke:#15221b;stroke-width:1.5;filter:none}.sound-hotspot.selected .hotspot-disc{fill:#15221b}.sound-hotspot>text:not(.hotspot-label){display:none}.sound-hotspot:hover .hotspot-disc,.sound-hotspot:focus .hotspot-disc{stroke-width:3}.sound-hotspot .hotspot-label{font-size:13px}.large-text .sound-explorer .sound-callout p{font-size:18px}
@media(max-width:800px){.sound-explorer .sound-callout{left:4%;bottom:3%;width:44%;max-width:260px;max-height:46%}.sound-explorer .sound-callout h3{font-size:20px}.sound-explorer .sound-callout p{font-size:14px}}
/* Callouts float over the scene without changing the animation's size or position. */
.sound-explorer.has-callout .sound-callout{bottom:auto;max-height:43%;width:48%;max-width:400px}
@media(max-width:800px){.sound-explorer.has-callout .sound-callout{width:68%;max-width:400px}}
/* A single, opaque card keeps the definition clear over the moving particles. */
.sound-explorer.has-callout .sound-callout{width:47%;max-width:390px;padding:17px 18px 14px;background:#fffefa;border:1px solid #abc8ba;border-radius:16px;box-shadow:0 8px 24px #264b3b24;max-height:48%;color:#2d493e}
.sound-explorer .sound-callout h3{margin:0 0 9px;padding:0 34px 0 0;background:none;color:#245f49;font-size:22px;line-height:1.25;letter-spacing:-.3px}
.sound-explorer .sound-callout p{padding:0;background:none;color:#42574f;font-size:15px;line-height:1.55}
.sound-explorer .sound-callout-actions{margin-top:13px;padding:11px 0 0;border-top:1px solid #e2ebe3;gap:8px;align-items:center}
.sound-explorer .sound-callout-actions button{min-height:34px;padding:5px 11px;border:0;border-radius:8px;background:#e6f2e7;color:#286249;font-size:13px;display:inline-flex;align-items:center;gap:6px}
.sound-explorer .sound-callout-actions button:hover{background:#d2e8d6}.sound-explorer .sound-callout-actions button+button{background:#f0f2ed;color:#627168}.sound-explorer .sound-callout-actions button+button:hover{background:#e4e9e1}
.sound-explorer .sound-callout-close{top:11px;right:11px;min-width:29px;min-height:29px;padding:0;border-radius:50%;background:#edf3ec;color:#547163;font-size:21px;line-height:1}
.sound-explorer .sound-callout-close:hover{background:#dce9dc;color:#214e3b}
.sound-annotation-line path{stroke:#477961;stroke-width:1.8;stroke-linecap:round}.sound-annotation-line .annotation-origin{display:none}.sound-annotation-line .annotation-target{fill:#fffefa;stroke:#35664f;stroke-width:1.8}
@media(max-width:800px){.sound-explorer.has-callout .sound-callout{width:68%;padding:12px 14px;max-width:390px}.sound-explorer .sound-callout h3{font-size:19px}.sound-explorer .sound-callout p{font-size:14px}.sound-explorer .sound-callout-actions{margin-top:9px;padding-top:8px}}

/* Clear action markers stay connected to visible diagram features. */
.sound-hotspot .hotspot-disc{fill:#277c61;stroke:#fff;stroke-width:2;filter:drop-shadow(0 2px 3px #254e3930)}
.sound-hotspot>text.hotspot-symbol{display:block;fill:#fff;font:700 20px Nunito,Arial;pointer-events:none}
.sound-hotspot:hover .hotspot-disc{fill:#175b45;stroke:#fff;stroke-width:2}
.sound-hotspot.selected .hotspot-disc,.sound-hotspot.selected:hover .hotspot-disc{fill:#b96b16;stroke:#fff;stroke-width:2}
.sound-hotspot:focus-visible .hotspot-disc{stroke:#123e30;stroke-width:3}
.hotspot-pointer{fill:none;stroke:#6b9782;stroke-width:1.5;stroke-linecap:round;pointer-events:none}

.sound-annotation-line .annotation-target{display:none}
