
:root{--ink:#2c2530;--plum:#302433;--deep:#211924;--rust:#b76a51;--cream:#f8f4ed;--paper:#f1ede6;--line:#e3dbd1;--mint:#558b82;--mint-bright:#91d5bb;--muted:#8d8386;--gold:#c7a679;--shadow:0 10px 36px rgba(37,25,38,.045)}
*{box-sizing:border-box}html{scroll-behaviour:smooth}body{margin:0;background:#ece7df;color:var(--ink);font-family:'DM Sans','Segoe UI',sans-serif;font-size:14px;line-height:1.5}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:3px solid #77bbae;outline-offset:3px}a{color:inherit}.app{max-width:1840px;margin:0 auto;background:#f5f0e8;min-height:100vh;box-shadow:0 0 75px rgba(0,0,0,.1)}.masthead{height:72px;display:flex;align-items:center;gap:23px;padding:0 36px;background:#28212c;color:#fff;border-bottom:1px solid rgba(255,255,255,.09)}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;white-space:nowrap}.brand-mark{height:25px;width:25px;display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-17deg)}.brand-mark span{width:3px;border-radius:2px;background:#e7b883;height:15px}.brand-mark span:nth-child(2){height:23px}.brand-mark span:nth-child(3){height:11px}.brand-mark span:nth-child(4){height:18px}.brand-word{font-size:17px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.7px}.brand-dot{color:#d7af93}.head-divider{height:24px;width:1px;background:#544852}.edition{font-size:10px;letter-spacing:2px;color:#a99ca6;font-weight:700}.edition-number{color:#e0c29b;margin-left:14px}.head-spacer{flex:1}.live-indicator{font-size:10px;letter-spacing:1.35px;color:#b5c7c1;white-space:nowrap}.live-dot,.render-pulse,.mini-pulse{width:7px;height:7px;border-radius:50%;background:#91d5b7;display:inline-block;margin-right:8px;box-shadow:0 0 0 4px rgba(119,191,156,.09)}.header-btn{background:none;border:1px solid #534651;border-radius:3px;color:#eee3e2;padding:8px 11px;font-size:12px;display:flex;gap:7px;align-items:center;white-space:nowrap}.header-btn:hover{background:#413440}.intro-strip{min-height:167px;display:flex;align-items:center;justify-content:space-between;padding:28px 37px 22px;gap:18px}.eyebrow{font-size:10px;letter-spacing:1.45px;font-weight:800;color:var(--rust);text-transform:uppercase}.flag-mark{color:#a66c51;margin-right:6px}.slash{color:#b8a8a4;margin:0 8px}.intro-strip h1{font-family:Manrope, sans-serif;letter-spacing:-1.6px;font-size:clamp(26px,2.6vw,39px);line-height:1.16;margin:7px 0;color:#302734;font-weight:800}.intro-strip h1 em{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#9e6659;letter-spacing:-1.1px}.heading-rule{font-weight:300;color:#bfb2a9}.intro-copy{font-size:13px;color:#777074;margin:9px 0 0}.serial{text-align:right;align-self:center;border-left:1px solid #d5c7bb;padding-left:29px;min-width:145px}.serial span,.serial small{display:block;font-size:9px;letter-spacing:1.3px;color:#968a85;font-weight:700}.serial strong{display:block;font:600 25px/1.9 Georgia,serif;color:#aa7864}.serial small{font-size:10px;letter-spacing:0;font-weight:500}.workspace{display:grid;grid-template-columns:276px minmax(0,1fr) 328px;gap:18px;padding:0 28px 20px;align-items:start}.left-col,.right-col,.centre-col{display:flex;flex-direction:column;gap:16px;min-width:0}.panel{background:#fffdf9;border:1px solid #e6ddd3;border-radius:5px;padding:19px 18px;box-shadow:var(--shadow)}.panel-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.tiny-icon{font-size:20px;color:#beaa9c;line-height:1}h2{font-family:Manrope,sans-serif;font-size:17px;letter-spacing:-.4px;line-height:1.3;margin:0 0 8px;font-weight:800}.small{font-size:12px;line-height:1.6}.muted{color:#807981}.keyboard-head{display:flex;justify-content:space-between;gap:7px;margin:21px 0 9px;color:#847c7f;font-size:9px;letter-spacing:.8px;font-weight:800}.keyboard-head span:last-child{color:#70988d;letter-spacing:0}.key-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.key-tile{position:relative;padding:9px 3px 8px;background:#f8f4ee;border:1px solid #e7ddd2;border-radius:3px;min-height:61px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#5d5158;transition:background .17s,border-color .17s,transform .15s}.key-tile:hover{transform:translateY(-1px);border-color:#b78d7b}.key-tile.active{background:#362738;color:#fdf6e7;border-color:#362738;box-shadow:0 3px 8px rgba(35,22,34,.12)}.key-num{font-family:Manrope,sans-serif;font-size:16px;font-weight:800;line-height:1.2}.key-note{font-size:9px;font-weight:700;opacity:.72}.key-tile:after{content:'';height:3px;width:20px;position:absolute;bottom:0;left:calc(50% - 10px);border-radius:2px 2px 0 0;background:#bc8a74}.key-tile.good:after{background:#70aa8a}.key-tile.near:after{background:#c2a35b}.key-tile.active:after{background:#b0dfc8}.key-legend{display:flex;justify-content:space-between;margin-top:13px;font-size:9px;color:#888083}.legend-dot{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;vertical-align:1px}.legend-accurate{background:#69a889}.legend-close{background:#c7a865}.legend-far{background:#b97a62}.panel-brief h2{margin-bottom:15px}.field-label,.input-title label{font-size:11px;font-weight:700;color:#594f58}.field-label{display:block;margin-bottom:6px}select{width:100%;background:#f9f5ef;border:1px solid #e1d8cd;padding:10px 11px;border-radius:3px;color:#433a40;font-size:11px;font-weight:700;appearance:auto}.brief-description{font-size:11px;color:#82767b;line-height:1.55;margin:12px 0 18px}.objective-box{background:#302532;color:#f5ece9;border-radius:3px;padding:17px 13px 14px}.objective-title{font-size:9px;font-weight:800;color:#d6af8a;letter-spacing:1.2px;display:flex;justify-content:space-between;margin-bottom:8px}.objective-star{font-size:15px}.objective-box strong{font-family:Manrope,sans-serif;font-size:13px;line-height:1.5;display:block;font-weight:700}.progress-track{margin:17px 0 8px;height:5px;border-radius:12px;overflow:hidden;background:#594955}.progress-track div{background:linear-gradient(90deg,#a8dbbc,#d3b989);height:100%;width:0;transition:width .35s}.progress-meta{display:flex;justify-content:space-between;font-size:9px;color:#b5a5ae;letter-spacing:.4px}.progress-meta span:last-child{color:#e0c8a0}.button-stack{display:grid;gap:7px;margin-top:12px}.btn{border-radius:3px;border:1px solid transparent;padding:11px 12px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.12px;transition:filter .16s,transform .16s}.btn:hover{filter:brightness(.95);transform:translateY(-1px)}.btn-outline{color:#584350;border-color:#ded0c4;background:#faf7f2}.btn-quiet{background:none;color:#85767f;padding:8px}.heritage-note{padding:20px 17px;border-left:3px solid #c39777;background:#f0e9df}.heritage-note p{font-size:11px;line-height:1.72;color:#6e6266;margin:11px 0}.heritage-note a{font-size:10px;color:#9b604c;font-weight:800;text-decoration:none;border-bottom:1px solid #b99b8d}.stage-header{min-height:51px;display:flex;align-items:end;justify-content:space-between;gap:8px}.stage-header .eyebrow{margin-bottom:6px}.stage-header h2{font-size:18px}.render-tag{color:#847b7d;font-size:9px;letter-spacing:.55px;white-space:nowrap;align-self:center}.render-pulse{background:#b1ad8d;width:5px;height:5px;margin-right:5px}.stage-shell{height:min(43vw,510px);min-height:405px;position:relative;background:radial-gradient(ellipse at 49% 36%,#634554,#332733 60%,#251e2a);overflow:hidden;border-radius:5px;border:1px solid #3c303d;box-shadow:0 15px 36px rgba(31,23,35,.13)}#sceneCanvas{position:absolute;display:block;width:100%;height:100%;inset:0;cursor:grab;touch-action:none;z-index:1}#sceneCanvas:active{cursor:grabbing}.stage-grain{inset:0;pointer-events:none;position:absolute;z-index:2;opacity:.14;background-image:radial-gradient(#f4cfaa .5px,transparent .5px);background-size:6px 6px;mix-blend-mode:soft-light}.stage-top,.stage-footer{position:absolute;z-index:3;display:flex;justify-content:space-between;align-items:center;pointer-events:none;color:#d6c6c8;gap:10px}.stage-top{top:20px;left:23px;right:22px}.stage-label{font-size:9px;letter-spacing:1.1px;font-weight:800}.stage-label-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#dcb89d;margin-right:9px}.stage-counter{font-size:9px;letter-spacing:1px;color:#ae98a8}.stage-footer{bottom:14px;left:20px;right:17px;font-size:8px;letter-spacing:1px;font-weight:800;color:#c5b5bf}.stage-footer button{pointer-events:auto;font-size:10px;color:#eadbd5;background:#534051bb;border:1px solid #735866;padding:8px 10px;border-radius:3px}.stage-footer button:hover{background:#775769}.dot-square{display:inline-block;width:7px;height:7px;border:1px solid #e4b597;margin-right:7px}.scene-control-group{position:absolute;top:57px;left:22px;display:flex;gap:4px;z-index:4}.camera-btn{padding:7px 9px;border:1px solid #756071;border-radius:2px;background:#3b303a9c;color:#e5d4db;font-size:9px;font-weight:800;letter-spacing:.3px}.camera-btn.active,.camera-btn:hover{background:#d4b28b;color:#2c222c;border-color:#d4b28b}.scene-side-tools{position:absolute;top:60px;right:17px;display:flex;flex-direction:column;gap:5px;z-index:4}.scene-side-tools button{height:30px;width:30px;border:1px solid #756171;background:#3b303a9c;color:#f9eee8;font-size:18px;line-height:1;border-radius:3px}.scene-side-tools button:hover{background:#b58c78}.scene-toast{position:absolute;z-index:4;bottom:56px;left:50%;transform:translateX(-50%) translateY(9px);background:#f7eee5;color:#443443;padding:8px 14px;font-size:11px;font-weight:700;white-space:nowrap;border-radius:2px;opacity:0;transition:all .25s;pointer-events:none}.scene-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.understage{background:#fffdf9;border:1px solid #e6ddd3;border-radius:4px;padding:15px 16px 10px}.understage-title{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px}.understage-status{font-size:9px;color:#8a8783;letter-spacing:.6px;font-weight:700}.mini-pulse{background:#81b09c;width:5px;height:5px;box-shadow:none}.metrics{display:grid;grid-template-columns:repeat(4,1fr)}.metric{padding:8px 14px 8px;border-right:1px solid #e8dfd9}.metric:first-child{padding-left:0}.metric:last-child{border:0}.metric>span{display:block;font-size:9px;font-weight:800;letter-spacing:1px;color:#988b8a;margin-bottom:3px}.metric strong{display:block;font:700 22px/1.4 Manrope,sans-serif;letter-spacing:-.6px;color:#453844;white-space:nowrap}.metric small{font:500 10px 'DM Sans',sans-serif;color:#9a8c89;letter-spacing:0}.frequency-panel{padding:15px 17px 12px}.frequency-panel h2{margin-top:6px;font-size:15px}.graph-legend{font-size:10px;color:#8d8583;white-space:nowrap}.graph-legend i{display:inline-block;width:14px;height:2px;background:#b57860;vertical-align:middle;margin-right:5px}#waveCanvas{width:100%;height:105px;display:block;background:#fbf7f2;border:1px solid #efe8e0;border-radius:2px}.chart-note{font-size:10px;color:#9c9290;margin-top:8px}.selected-head{display:flex;justify-content:space-between;align-items:center;margin:16px 0}.selected-eyebrow{color:#a69b9a;margin-bottom:3px}.selected-head strong{font:800 19px/1.2 Manrope,sans-serif;color:#473743;letter-spacing:-.3px}.selected-head strong span{font:500 13px 'DM Sans',sans-serif;color:#9d7770}.pitch-badge{font-size:9px;padding:5px 8px;border:1px solid #d9cfc3;color:#aa7961;border-radius:2px;letter-spacing:1px;font-weight:800}.tuner-readout{background:#f7f2eb;border-radius:3px;padding:17px 15px 12px;margin:0 -2px 17px}.tuner-top{display:flex;justify-content:space-between;align-items:start}.tuner-top span:first-child{font:800 26px Manrope,sans-serif;letter-spacing:-.8px;color:#3d313c}.tuner-top span:last-child{color:#a39895;font-size:10px;margin-top:6px}.tuner-cent{display:flex;align-items:baseline;gap:8px;margin-top:8px}.tuner-cent strong{font:800 21px Manrope,sans-serif;color:#ad745f}.tuner-cent span{font-size:10px;color:#897f80}.tuner-scale{position:relative;margin:17px 0 4px;height:20px;overflow:visible}.tuner-ruler{position:absolute;left:0;right:0;top:7px;height:7px;background:linear-gradient(90deg,#ce9984 0%,#d9b5a1 40%,#7da995 45%,#7da995 55%,#d9b5a1 60%,#ce9984 100%);border-radius:4px}.tuner-ruler:after{content:'';position:absolute;left:50%;top:-4px;bottom:-4px;width:1px;background:#554b52}.tuner-needle{position:absolute;top:-3px;left:50%;width:3px;height:25px;background:#483341;border-radius:3px;transform:translateX(-50%);transition:left .18s}.tuner-target{position:absolute;top:5px;left:44%;width:12%;height:11px;border:1px solid rgba(63,126,91,.65);border-radius:3px}.tuner-axis{display:flex;justify-content:space-between;color:#a9a09d;font-size:9px}.tuner-target-copy{border-top:1px solid #e3dad1;margin-top:14px;padding-top:11px;color:#9c8c8a;font-size:9px;font-weight:800;letter-spacing:1px}.tuner-target-copy strong{float:right;color:#513d48;font:800 12px 'DM Sans',sans-serif;letter-spacing:0}.tuner-target-copy>span{display:block;font-size:10px;font-weight:500;letter-spacing:0;margin-top:7px;color:#a17d70;clear:both}.input-block{margin:17px 0 20px}.input-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.input-title output{font:800 11px Manrope,sans-serif;color:#a56c59;white-space:nowrap}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:5px;background:linear-gradient(90deg,#a66e60,#d8b99d);border-radius:12px;outline-offset:7px;margin:11px 0 9px;cursor:ew-resize}input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:#fbf8f2;border:4px solid #53414f;box-shadow:0 1px 4px rgba(0,0,0,.18)}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#fbf8f2;border:4px solid #53414f}.slider-ends{display:flex;justify-content:space-between;gap:5px;font-size:8px;letter-spacing:.5px;font-weight:800;color:#a19997}.nudge-row{display:flex;gap:8px;margin-top:13px}.nudge-row button{flex:1;background:#f4eee7;border:1px solid #e5d9cb;border-radius:3px;color:#715b62;font-size:10px;padding:8px;font-weight:800}.play-actions{display:flex;gap:8px;margin-top:12px}.play-actions .btn{flex:1}.btn-main{background:#3b2c3a;color:#fffaf2;border-color:#3b2c3a}.btn-secondary{background:#d5b998;color:#352934}.fine-note{font-size:10px;line-height:1.65;color:#938886;border-top:1px solid #ebe2da;margin-top:17px;padding-top:13px}.timbre-panel{padding-bottom:15px}.timbre-panel h2{margin-bottom:13px}.mini-setting{margin-bottom:15px}.mini-setting p{margin:0;font-size:10px;color:#9b9393}.mini-setting input[type=range]{margin:6px 0}.switch-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eee5da;border-bottom:1px solid #eee5da;padding:14px 0;cursor:pointer;gap:6px;margin:17px 0}.switch-row strong,.switch-row small{display:block}.switch-row strong{font-size:11px}.switch-row small{color:#9c9490;font-size:10px}.switch-row input{position:absolute;opacity:0;width:1px;height:1px}.switch-visual{position:relative;width:38px;height:20px;background:#c9c2b9;border-radius:20px;flex:none;transition:background .2s}.switch-visual:after{content:'';position:absolute;width:14px;height:14px;background:white;border-radius:50%;top:3px;left:3px;transition:transform .2s}.switch-row input:checked+.switch-visual{background:#729c8a}.switch-row input:checked+.switch-visual:after{transform:translateX(18px)}.switch-row input:focus-visible+.switch-visual{outline:3px solid #77bbae;outline-offset:3px}.full{width:100%}.analysis-band{background:#fffaf5;border-top:1px solid #e5dcd4;border-bottom:1px solid #e5dcd4;margin:4px 28px 0;display:grid;grid-template-columns:1.8fr 1fr;min-height:315px}.analysis-left{padding:22px 29px 15px;min-width:0}.analysis-left h2,.analysis-right h2{font-size:18px;margin:8px 0 6px}.tune-count{font-size:10px;font-weight:800;color:#6e9e8e}#accuracyCanvas{width:100%;height:170px;display:block}.accuracy-footer{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#978d8d}.accuracy-footer span:last-child{font-weight:800;font-size:9px;color:#9a8b8b;letter-spacing:.2px}.analysis-right{border-left:1px solid #e7ded7;padding:25px 28px}.analysis-right p{font-size:12px;color:#82767e;line-height:1.7}.formula{padding:14px;background:#f4ede3;border-left:3px solid #c49a7e}.formula span,.formula small{display:block;font-size:9px;letter-spacing:1px;color:#9b8982;font-weight:700}.formula strong{display:block;color:#614851;font:600 20px Georgia,serif;margin:6px 0}.formula small{font-size:9px;letter-spacing:0;font-weight:500}.analysis-right .note-small{font-size:10px;margin-bottom:0}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 34px;color:#988c8c;font-size:10px;font-weight:700;letter-spacing:.4px}.site-footer b{margin:0 9px;font-weight:400}.site-footer a{text-decoration:none;color:#a77361}.site-footer button{border:0;background:none;color:#6b4a58;font-size:11px;font-weight:800}.site-footer button:hover{text-decoration:underline}.help-dialog{width:min(570px,calc(100vw - 28px));max-height:90vh;overflow:auto;border:1px solid #d4bda9;border-radius:5px;padding:24px;background:#fffaf3;color:#352a36;box-shadow:0 30px 80px rgba(10,5,14,.35)}.help-dialog::backdrop{background:rgba(26,18,29,.72)}.help-head{display:flex;justify-content:space-between;align-items:start}.help-head h2{font-size:22px;margin:7px 0}.help-head button{font-size:26px;background:none;border:0;color:#66505d}.help-body p{font-size:13px;line-height:1.7;color:#766a70}.help-source{padding:13px;margin:13px 0;background:#f3ebdf;color:#765e63;font-size:11px;line-height:1.65}.help-dialog>.btn{margin-top:6px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1360px){.workspace{grid-template-columns:250px minmax(0,1fr) 290px;gap:12px;padding:0 16px 18px}.panel{padding:16px 14px}.stage-shell{min-height:380px;height:43vw}.metric{padding:7px 8px}.metric strong{font-size:19px}.analysis-band{margin-left:16px;margin-right:16px}}
@media(max-width:1090px){.workspace{grid-template-columns:235px minmax(0,1fr);gap:14px}.right-col{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:14px}.stage-shell{height:470px}.tuning-panel,.timbre-panel{height:100%}.intro-strip{padding:25px}.analysis-band{grid-template-columns:1.4fr 1fr}.masthead{padding:0 22px}.edition{display:none}}
@media(max-width:735px){.masthead{height:62px;gap:12px;padding:0 13px}.brand-word{font-size:15px}.head-divider,.live-indicator{display:none}.header-btn{padding:7px;font-size:11px}.header-btn span:not(#soundIcon){display:none}.intro-strip{padding:22px 16px;min-height:0}.intro-strip h1{font-size:26px;letter-spacing:-1px}.intro-strip h1 em{display:block;margin-top:3px}.intro-copy{font-size:12px}.serial{display:none}.workspace{grid-template-columns:1fr;padding:0 12px 12px;gap:12px}.centre-col{grid-row:1}.left-col{grid-row:2;display:grid;grid-template-columns:1fr 1fr;gap:12px}.heritage-note{grid-column:1/-1}.right-col{grid-column:1;grid-template-columns:1fr 1fr;gap:12px}.stage-shell{height:470px;min-height:360px}.stage-header{padding:0 2px}.analysis-band{grid-template-columns:1fr;margin:0 12px}.analysis-right{border-left:0;border-top:1px solid #e7ded7}.site-footer{padding:18px 14px;flex-wrap:wrap}}
@media(max-width:550px){.left-col,.right-col{display:flex;flex-direction:column}.stage-shell{height:440px;min-height:350px}.stage-top{top:14px;left:13px;right:13px}.stage-counter{display:none}.scene-control-group{left:12px;top:45px}.scene-side-tools{top:48px;right:11px}.stage-footer{left:10px;right:10px;font-size:7px}.stage-footer>span{max-width:200px}.stage-footer button{padding:6px}.understage-status{display:none}.metric{padding:7px 5px}.metric>span{font-size:8px;letter-spacing:.2px}.metric strong{font-size:16px}.metric small{font-size:9px}.analysis-left{padding:20px 12px}.analysis-right{padding:20px 14px}.accuracy-footer{flex-direction:column}.site-footer{font-size:9px}.header-btn#soundBtn span#soundIcon{display:block}.masthead{gap:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behaviour:auto!important;transition:none!important;animation:none!important}}
