*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:--theme(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:--theme(--default-font-feature-settings, normal);font-variation-settings:--theme(--default-font-variation-settings, normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:--theme(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:--theme(--default-mono-font-feature-settings, normal);font-variation-settings:--theme(--default-mono-font-variation-settings, normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}:root{--ink:#eff7f6;--muted:#89a29f;--dim:#5d7774;--panel:#101b1d;--panel-raised:#152326;--panel-quiet:#0c1517;--line:#26393b;--line-strong:#385154;--mint:#66ded2;--mint-soft:#c3fff8;--amber:#ffbd66;--red:#ff6b5f;--black:#071012;--font-sans:Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace}*{box-sizing:border-box}html{background:#071012}body{min-width:320px;color:var(--ink);font-family:var(--font-sans);-webkit-font-smoothing:antialiased;background:radial-gradient(circle at 18% -12%,#489e971f,#0000 32rem),linear-gradient(#091214 0%,#071012 100%);margin:0}button,input,select{font:inherit}button{color:inherit}.app-shell{width:min(1560px,100%);min-height:100vh;margin:0 auto;padding:20px clamp(16px,2.5vw,38px) 38px}.topbar{align-items:center;gap:13px;min-height:56px;margin-bottom:16px;display:flex}.brand-mark{border:1px solid var(--line-strong);background:linear-gradient(145deg,#17282a,#0d191b);border-radius:10px;justify-content:center;align-items:end;gap:3px;width:38px;height:38px;padding:9px;display:flex;box-shadow:inset 0 1px #ffffff0d}.brand-mark span{background:var(--mint);border-radius:3px 3px 1px 1px;width:4px}.brand-mark span:first-child{opacity:.58;height:10px}.brand-mark span:nth-child(2){height:20px}.brand-mark span:nth-child(3){opacity:.78;height:15px}.brand-copy{align-items:baseline;gap:12px;display:flex}.eyebrow{color:var(--mint);letter-spacing:.16em;text-transform:uppercase;font-size:10px;font-weight:750}.brand-copy h1,.workspace-heading h2{letter-spacing:-.02em;margin:0;font-size:18px;font-weight:650}.session-status{color:var(--muted);align-items:center;gap:8px;margin-left:auto;font-size:12px;display:flex}.status-dot{background:var(--amber);border-radius:50%;width:7px;height:7px;box-shadow:0 0 12px #ffbd6673}.session-status.is-running .status-dot{background:var(--mint);box-shadow:0 0 12px #66ded28c}.session-status.is-error{color:#ffaaa3}.session-status.is-error .status-dot{background:var(--red);box-shadow:0 0 12px #ff6b5f80}.control-deck,.workspace,.keyboard-shell,.method-note{border:1px solid var(--line);background:#0e181aeb;box-shadow:0 18px 60px #00000021,inset 0 1px #ffffff06}.control-deck{border-radius:15px 15px 0 0;grid-template-columns:minmax(310px,.9fr) minmax(330px,.8fr) minmax(460px,1.15fr);align-items:stretch;display:grid;overflow:hidden}.metric-group{grid-template-columns:1fr 1fr;min-height:110px;display:grid}.metric{border-right:1px solid var(--line);flex-direction:column;justify-content:center;min-width:0;padding:15px 18px;display:flex}.metric span,.field>span:first-child{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:650}.metric strong{font-family:var(--font-mono);margin:5px 0 3px;font-size:23px;font-weight:500;line-height:1}.metric small{color:var(--dim);text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.metric-meter{background:#253638;border-radius:2px;width:100%;height:2px;margin-top:8px;display:block;overflow:hidden}.metric-meter b{border-radius:inherit;background:var(--mint);height:100%;transition:width .16s linear;display:block;box-shadow:0 0 7px #66ded26b}.level-metric strong{font-size:20px}.note-control{border-right:1px solid var(--line);grid-template-columns:38px 38px 1fr 38px 38px;align-items:center;gap:5px;padding:14px 18px;display:grid}.nav-button,.refresh-button{border:1px solid var(--line-strong);height:38px;color:var(--muted);cursor:pointer;background:#132124;border-radius:8px;place-items:center;transition:all .14s;display:grid}.nav-button:hover,.nav-button:focus-visible,.refresh-button:hover,.refresh-button:focus-visible{border-color:var(--mint);color:var(--mint-soft);outline:none;transform:translateY(-1px)}.selected-note{flex-direction:column;align-items:center;min-width:94px;display:flex}.selected-note strong{letter-spacing:-.04em;font-size:27px;font-weight:680}.selected-note span{color:var(--mint);font-family:var(--font-mono);font-size:11px}.auto-note-toggle{color:var(--dim);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:5px;margin-top:6px;display:flex;position:relative}.auto-note-toggle input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.auto-note-toggle>i{border:1px solid var(--line-strong);background:#0a1416;border-radius:8px;width:25px;height:14px;transition:all .14s;position:relative}.auto-note-toggle>i b{background:var(--dim);border-radius:50%;width:8px;height:8px;transition:all .14s;position:absolute;top:2px;left:2px}.auto-note-toggle em{max-width:76px;font-family:var(--font-mono);letter-spacing:.02em;text-overflow:ellipsis;white-space:nowrap;font-size:8px;font-style:normal;font-weight:650;overflow:hidden}.auto-note-toggle.is-active{color:var(--mint)}.auto-note-toggle.is-active>i{background:#66ded226;border-color:#66ded2ad}.auto-note-toggle.is-active>i b{background:var(--mint);left:13px;box-shadow:0 0 6px #66ded280}.auto-note-toggle:focus-within>i{border-color:var(--mint);box-shadow:0 0 0 2px #66ded221}.input-controls{grid-template-columns:96px minmax(150px,1fr) 66px minmax(152px,auto);align-items:end;gap:8px;padding:14px 16px;display:grid}.field{gap:6px;display:grid}.field input,.field select{border:1px solid var(--line-strong);width:100%;height:38px;color:var(--ink);background:#0b1517;border-radius:8px;outline:0}.field input:focus,.field select:focus{border-color:var(--mint);box-shadow:0 0 0 2px #66ded21a}.field select:disabled{cursor:not-allowed;opacity:.58}.field select{padding:0 30px 0 10px}.input-with-unit{position:relative}.input-with-unit input{font-family:var(--font-mono);padding:0 31px 0 10px}.input-with-unit b{color:var(--dim);font-size:10px;font-weight:600;position:absolute;top:12px;right:10px}.refresh-button{padding:0 8px;font-size:10px;font-weight:700}.start-button{background:var(--mint);color:#061112;cursor:pointer;white-space:nowrap;border:1px solid #66ded2a6;border-radius:8px;justify-content:center;align-items:center;gap:9px;height:38px;padding:0 16px;font-size:12px;font-weight:750;transition:all .14s;display:flex}.start-button:hover,.start-button:focus-visible{background:#8df4e9;outline:none;transform:translateY(-1px);box-shadow:0 0 0 3px #66ded21f}.start-button.is-active{color:#ffaaa3;background:#ff6b5f1f;border-color:#ff6b5fa6}.start-button.is-active:hover,.start-button.is-active:focus-visible{background:#ff6b5f33}.start-button:disabled,.refresh-button:disabled{cursor:not-allowed;opacity:.48;transform:none}.record-icon{border:2px solid;border-radius:50%;width:8px;height:8px}.workspace{border-top:0;border-radius:0 0 15px 15px;padding:17px 18px 19px}.workspace-heading,.keyboard-caption{justify-content:space-between;align-items:end;gap:16px;display:flex}.workspace-heading>div:first-child{align-items:baseline;gap:12px;display:flex}.legend{color:var(--dim);gap:18px;font-size:10px;display:flex}.legend span{align-items:center;gap:6px;display:flex}.legend i{width:18px;height:2px;display:inline-block}.legend-line{background:var(--mint)}.legend-center{background:#516a6c}.partial-grid{grid-template-columns:1fr;gap:10px;margin-top:14px;display:grid}.partial-panel{background:#0a1416;border:1px solid #213437;border-radius:10px;min-width:0;overflow:hidden}.partial-heading{border-bottom:1px solid #1d3032;justify-content:space-between;align-items:center;min-height:37px;padding:0 11px 0 8px;display:flex}.partial-heading>div{align-items:center;gap:9px;min-width:0;display:flex}.partial-index{width:23px;height:23px;color:var(--mint);font-family:var(--font-mono);background:#66ded214;border:1px solid #2d5553;border-radius:5px;place-items:center;font-size:9px;font-weight:700;display:grid}.partial-heading strong{font-size:11px;font-weight:650}.partial-heading div>span:last-child,.partial-state{color:var(--dim);font-family:var(--font-mono);font-size:9px}.partial-state{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.plot-wrap{height:clamp(132px,16vh,178px);padding:8px 12px 17px 35px;position:relative}.plot{width:100%;height:100%;display:block;overflow:visible}.plot-grid line{stroke:#1f3235;stroke-width:1px;vector-effect:non-scaling-stroke}.plot-grid line:nth-child(3){stroke:#385053}.trace-placeholder{fill:none;stroke-width:1.4px;stroke-dasharray:3 8;vector-effect:non-scaling-stroke}.trace-live{fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 2px #66ded252)}.partial-panel.has-signal{border-color:#2a4647}.partial-panel.has-signal .partial-state{color:#87b8b3}.plot-axis{color:#4f686a;font-family:var(--font-mono);pointer-events:none;font-size:8px;display:flex;position:absolute}.plot-axis-y{text-align:right;flex-direction:column;justify-content:space-between;top:9px;bottom:17px;left:6px}.plot-axis-x{justify-content:space-between;bottom:5px;left:35px;right:10px}.keyboard-shell{border-radius:13px;margin-top:12px;padding:13px 14px 15px}.keyboard-caption{align-items:center;margin-bottom:10px}.keyboard-caption>div{align-items:baseline;gap:10px;display:flex}.keyboard-caption strong{font-size:11px;font-weight:600}.keyboard-caption>span{color:var(--dim);font-size:10px}.keyboard-scroll{scrollbar-color:#41575a #101a1c;scrollbar-width:thin;background:#d9dddc;border:1px solid #304446;border-radius:7px;overflow-x:auto}.piano-keyboard{width:100%;min-width:980px;height:128px;display:block}.white-key{fill:#e8ecea;stroke:#80908d;stroke-width:.65px;transition:fill .1s}.white-key.selected{fill:var(--red)}.black-key{fill:#0a1112;stroke:#334345;stroke-width:.7px;filter:drop-shadow(0 2px 1px #00000047);transition:fill .1s}.black-key.selected{fill:var(--red);stroke:#ffaaa3}.piano-key-group{cursor:pointer;outline:none}.piano-key-group:hover .white-key,.piano-key-group:focus-visible .white-key{fill:#fff}.piano-key-group:hover .white-key.selected,.piano-key-group:focus-visible .white-key.selected{fill:#ff8178}.piano-key-group:hover .black-key,.piano-key-group:focus-visible .black-key{fill:#1e3335}.piano-key-group:hover .black-key.selected,.piano-key-group:focus-visible .black-key.selected{fill:#ff8178}.key-label{fill:#536360;font-family:var(--font-mono);pointer-events:none;font-size:7px}.method-note{color:var(--muted);border-radius:11px;grid-template-columns:max-content minmax(280px,1fr) max-content;align-items:center;gap:18px;margin-top:12px;padding:13px 16px;font-size:10px;display:grid}.method-note strong{color:var(--amber);letter-spacing:.08em;text-transform:uppercase;font-size:10px}.method-note p{margin:0;line-height:1.55}.method-note>span{color:var(--dim)}@media (width<=1180px){.control-deck{grid-template-columns:1fr 1fr}.input-controls{border-top:1px solid var(--line);grid-column:1/-1}.note-control{border-right:0}}@media (width<=760px){.app-shell{padding:12px 10px 24px}.brand-copy{display:block}.brand-copy .eyebrow{margin-bottom:2px;display:block}.brand-copy h1{font-size:16px}.session-status{text-align:right;max-width:118px}.control-deck,.partial-grid{grid-template-columns:1fr}.metric-group{min-height:92px}.metric{padding:12px}.metric strong{font-size:20px}.note-control{border-top:1px solid var(--line);border-right:0}.input-controls{grid-template-columns:88px minmax(130px,1fr) 66px}.start-button{grid-column:1/-1}.workspace-heading,.keyboard-caption{flex-direction:column;align-items:flex-start}.legend{flex-wrap:wrap;gap:8px 14px}.plot-wrap{height:142px}.piano-keyboard{width:980px}.method-note{grid-template-columns:1fr;gap:6px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
