#chordLab{color-scheme:light;--ink:#163d3c;--muted:#526562;--paper:#faf8f1;--line:#d4ded6;--green:#125e51;--mint:#daf0e4;--orange:#aa4828;--blue:#446dba;--purple:#8d529e}#chordLab *{box-sizing:border-box}#chordLab{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI","Yu Gothic",Meiryo,sans-serif}#chordLab button,#chordLab input,#chordLab select{font:inherit}#chordLab button,#chordLab select,#chordLab summary{cursor:pointer}#chordLab button{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:9px 15px;background:#fffefa;color:var(--ink);font-weight:650}#chordLab button:hover{border-color:var(--green);background:#eaf4eb}#chordLab button:disabled{cursor:default;opacity:.5}#chordLab button:focus-visible,#chordLab a:focus-visible,#chordLab summary:focus-visible,#chordLab input:focus-visible,#chordLab select:focus-visible{outline:3px solid #ba632b;outline-offset:3px}#chordLab header{max-width:1200px;margin:auto;padding:20px 32px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}#chordLab a{color:var(--green);text-underline-offset:3px}#chordLab .brand{font-size:21px;font-weight:800;letter-spacing:-.04em;text-decoration:none}#chordLab .brand span{font-size:12px;font-weight:500;margin-left:18px;letter-spacing:.08em}#chordLab .prototype{font-size:11px;letter-spacing:.06em;color:var(--muted)}#chordLab{max-width:1200px;margin:auto;padding:30px 32px 10px}#chordLab .title-row{display:flex;justify-content:space-between;gap:16px;align-items:center}#chordLab .eyebrow{font-size:11px;letter-spacing:.16em;font-weight:750;color:var(--green);margin:0 0 7px}#chordLab h1{font-size:clamp(23px,3.2vw,36px);line-height:1.35;letter-spacing:-.04em;margin:0}#chordLab h2{font-size:17px;margin:0}#chordLab .mobile-break{display:none}#chordLab .intro{color:var(--muted);margin:12px 0 24px;font-size:14px}#chordLab .guide-button{display:flex;gap:9px;align-items:center;white-space:nowrap;background:#edf4e9}#chordLab .lab{display:grid;grid-template-columns:minmax(0,1fr) 290px;border:1px solid var(--line);border-radius:18px;overflow:clip;background:#fffefa;box-shadow:0 14px 45px #25433a08}#chordLab .instrument{padding:24px;min-width:0}#chordLab .instrument-head{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:700}#chordLab .step{font-size:11px;color:var(--green);font-weight:800;letter-spacing:.1em;margin-right:8px}#chordLab .tuning{font-size:11px;color:var(--muted);font-weight:400}#chordLab .chord-pads{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0 22px}#chordLab .chord-pads button{min-width:0;padding:12px 4px;transition:background .15s}#chordLab .chord-pads b{display:block;font-size:14px}#chordLab .chord-pads span{display:block;font-size:10px;font-weight:500;margin-top:4px}#chordLab .chord-pads button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 4px 0 #0c3f38}#chordLab .scene-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}#chordLab #chordSymbol{font:600 44px/1.1 Georgia,serif;margin-right:16px}#chordLab #chordName{font-size:13px}#chordLab .scene-hint{font-size:10px;color:var(--muted);text-align:right}#chordLab .note-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#chordLab .note-card{border-top:3px solid var(--note-color);padding:7px 0 1px;min-width:0}#chordLab .note-card span{font-size:11px;display:block;color:var(--muted)}#chordLab .note-card strong{display:block;font-size:16px;font-variant-numeric:tabular-nums}#chordLab .note-card small{font-size:10px;margin-left:3px}#chordLab .spectrum-wrap{margin-top:6px}#chordLab canvas{display:block;width:100%}#chordLab #spectrum{height:228px}#chordLab .observation{display:flex;align-items:flex-start;gap:3px;padding:12px 14px;background:#edf4e9;border-radius:9px;margin-top:8px}#chordLab .observation .step{white-space:nowrap;margin-top:3px}#chordLab .observation p{margin:0;font-size:13px}#chordLab .observation strong{font-variant-numeric:tabular-nums}#chordLab .keyboard{display:flex;gap:3px;margin:15px 0}#chordLab .key{flex:1;min-width:0;border:1px solid var(--line);border-radius:0 0 5px 5px;height:39px;background:#f5f3ec;display:flex;align-items:flex-end;justify-content:center;font-size:10px;padding-bottom:3px;color:var(--muted)}#chordLab .key.on{background:var(--key-color);color:white;border-color:var(--key-color);font-weight:800}#chordLab .sound-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}#chordLab .primary{color:#fff;background:var(--green);border-color:var(--green)}#chordLab .primary:hover{background:#0a493e;color:#fff}#chordLab .primary small{font-size:11px;opacity:.8;margin-left:5px}#chordLab #audioStatus{font-size:10px;color:var(--muted);flex-basis:100%}#chordLab .chord-controls{padding:24px;background:#f0f3eb;border-left:1px solid var(--line)}#chordLab .section-label{display:flex;align-items:center;gap:6px;margin-bottom:16px;flex-wrap:wrap}#chordLab .chord-controls label{display:block;font-size:13px;font-weight:700;margin:16px 0 7px}#chordLab .chord-controls label span{font-weight:400;color:var(--muted);font-size:10px;margin-left:4px}#chordLab select{width:100%;min-height:44px;border:1px solid #bbcfc1;border-radius:7px;background:#fffefa;color:var(--ink);font-size:13px;padding:8px}#chordLab .parameter{display:grid;grid-template-columns:1fr 65px;align-items:center;margin-top:22px;gap:5px}#chordLab .parameter label{margin:0}#chordLab .parameter label span{display:block;margin:0}#chordLab .parameter input[type=number]{width:100%;height:44px;text-align:center;border:1px solid #bbcfc1;border-radius:7px;background:#fffefa;color:var(--ink)}#chordLab input[type=range]{grid-column:1/-1;width:100%;height:38px;margin:0;accent-color:var(--green);touch-action:pan-y}#chordLab .range-ends{grid-column:1/-1;display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}#chordLab .input-status{color:#a43d28;font-size:12px;min-height:20px}#chordLab .mini-result{border-top:1px solid var(--line);padding:17px 0 12px}#chordLab .mini-result span{display:block;font-size:11px;color:var(--muted)}#chordLab .mini-result strong{font-size:25px;letter-spacing:-.03em}#chordLab .quiet{font-size:12px;width:100%;margin-top:10px}#chordLab .wave-section{margin-top:24px;border:1px solid var(--line);border-radius:16px;padding:22px 24px;background:#fffefa}#chordLab .wave-section .section-label{margin:0}#chordLab .wave-section button{margin-left:auto;font-size:12px}#chordLab .caption{font-size:12px;color:var(--muted);margin:8px 0 14px}#chordLab #wave{height:270px}#chordLab .wave-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);flex-wrap:wrap}#chordLab .readouts{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 0;gap:18px}#chordLab .readouts div{border-left:2px solid var(--line);padding-left:16px}#chordLab .readouts span{display:block;font-size:11px;color:var(--muted)}#chordLab .readouts strong{font-size:20px;font-variant-numeric:tabular-nums}#chordLab .explanations{border-top:1px solid var(--line)}#chordLab details{border-bottom:1px solid var(--line)}#chordLab summary{min-height:54px;padding:16px 6px;font-weight:650;font-size:14px}#chordLab .detail-body{max-width:850px;font-size:14px;padding:0 12px 18px}#chordLab .detail-body p{margin:10px 0}#chordLab .detail-body table{width:100%;border-collapse:collapse;margin:10px 0 20px;font-size:12px}#chordLab .detail-body th,#chordLab .detail-body td{text-align:left;border-bottom:1px solid var(--line);padding:6px}#chordLab .detail-body caption{text-align:left;font-weight:700}#chordLab footer{color:var(--muted);padding:26px 0;font-size:12px}#chordLab footer small{font-size:10px}#chordLab dialog{width:min(480px,calc(100% - 24px));max-height:85dvh;border:1px solid var(--line);border-radius:18px;padding:24px;background:var(--paper);color:var(--ink);box-shadow:0 24px 100px #14362f50}#chordLab dialog::backdrop{background:#102e2b78}#chordLab .guide-top{display:flex;gap:12px;align-items:center}#chordLab .guide-top h2{font-size:19px;line-height:1.5}#chordLab .guide-top img{flex-shrink:0}#chordLab .guide-top button{align-self:flex-start;padding:0;min-width:44px;margin-left:auto;font-size:22px}#chordLab #guideText{font-size:14px}#chordLab #guideResult{background:#e7efe2;border-radius:8px;padding:12px;font-size:14px}#chordLab #guideResult:empty{display:none}#chordLab .guide-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}#chordLab .guide-actions button{flex:1}#chordLab dialog .caption{margin-bottom:0;font-size:10px}#chordLab .skip{position:absolute;left:8px;top:-80px;background:white;padding:10px;z-index:10}#chordLab .skip:focus{top:8px}#chordLab [hidden]{display:none!important}@media (max-width:800px){#chordLab header{padding:14px 20px}#chordLab{padding:24px 20px 0}#chordLab .lab{grid-template-columns:1fr}#chordLab .chord-controls{border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:0 18px}#chordLab .chord-controls .section-label,#chordLab .chord-controls>label,#chordLab .chord-controls>select,#chordLab .chord-controls>.input-status,#chordLab .chord-controls>.quiet{grid-column:1/-1}#chordLab .mini-result{grid-column:1/-1}#chordLab .readouts{grid-template-columns:1fr 1fr}#chordLab .brand span{display:none}#chordLab .chord-controls>label{margin-top:12px}#chordLab .mini-result{padding:10px 0}#chordLab .intro{font-size:13px}}@media (max-width:450px){#chordLab header{padding:13px 14px}#chordLab .brand{font-size:19px}#chordLab .prototype{font-size:9px}#chordLab{padding:20px 12px 0}#chordLab .title-row{gap:8px}#chordLab .mobile-break{display:block}#chordLab h1{font-size:23px}#chordLab .eyebrow{font-size:9px}#chordLab .guide-button{font-size:11px;padding:7px 8px;gap:3px}#chordLab .guide-button img{width:23px;height:29px}#chordLab .intro{font-size:11px;line-height:1.8;margin:12px 0 17px}#chordLab .instrument{padding:16px 12px}#chordLab .instrument-head{font-size:12px}#chordLab .chord-pads{gap:6px;margin:12px 0 19px}#chordLab .chord-pads b{font-size:11px}#chordLab .chord-pads span{font-size:9px}#chordLab .chord-pads button{padding:10px 1px}#chordLab .scene-hint{font-size:9px}#chordLab #chordSymbol{font-size:35px;margin-right:10px}#chordLab #chordName{font-size:11px}#chordLab .note-card strong{font-size:12px}#chordLab .note-card span{font-size:9px}#chordLab .note-card small{font-size:8px;margin-left:1px}#chordLab #spectrum{height:205px}#chordLab .observation{padding:10px}#chordLab .observation p{font-size:11px}#chordLab .chord-controls{padding:20px 16px;grid-template-columns:1fr;gap:0}#chordLab .parameter{margin-top:18px}#chordLab .chord-controls label{font-size:14px}#chordLab .chord-controls label span,#chordLab .range-ends{font-size:11px}#chordLab .wave-section{padding:18px 12px}#chordLab .wave-section h2{font-size:14px}#chordLab .wave-section button{font-size:10px;padding:7px}#chordLab .section-label .step{margin-right:2px}#chordLab .caption{font-size:11px}#chordLab .readouts{gap:16px 8px}#chordLab .readouts div{padding-left:10px}#chordLab .readouts span{font-size:10px}#chordLab .readouts strong{font-size:18px}#chordLab summary{font-size:12px}#chordLab .detail-body{font-size:12px;padding:0 5px 14px}#chordLab dialog{padding:18px}#chordLab .guide-top{gap:8px}#chordLab .guide-top img{width:46px;height:54px}#chordLab .guide-top h2{font-size:16px}#chordLab .guide-top button{min-width:44px}#chordLab .sound-row button{font-size:12px}}@media (prefers-reduced-motion:reduce){#chordLab *{transition:none!important;scroll-behavior:auto!important}}
#chordLab{margin:0 auto;max-width:1200px;background:#faf8f1;line-height:1.65;color:#163d3c;padding-bottom:24px;isolation:isolate;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
#chordLab p{padding:0}#chordLab details{overflow:visible;margin-bottom:0;border-radius:0;border-left:0;border-right:0;border-top:0}#chordLab summary{background:transparent}#chordLab select{margin-bottom:0}
#chordLab .guide-button{background:#125e51;color:white;border-color:#125e51;min-height:48px}#chordLab .guide-button:hover{background:#0a493e}#chordLab .guide-button img{background:#edf4e9;border-radius:6px}
#chordLab h1{font-family:inherit;color:#163d3c}#chordLab .title-row>div{min-width:0}#chordLab .title-row{flex-wrap:wrap}#chordLab .guide-button{flex-shrink:0}
#chordLab #specCanvas{height:228px;background:transparent;border-radius:0}#chordLab #waveCanvas{height:270px;background:transparent;border-radius:0}
#chordLab .boot-status{position:absolute;bottom:0;left:0;right:0;font-size:12px;color:#526562;margin:0;padding:8px;background:#faf8f1ed;z-index:1}#chordLab[data-ready] .boot-status{visibility:hidden}
#chordLab .note-cards{min-height:54px}#chordLab .observation{min-height:70px}#chordLab .keyboard{min-height:39px}#chordLab .scene-heading{min-height:50px}#chordLab #secondAmp{min-height:42px;display:block}
#chordLab .spectrum-wrap{position:relative;height:228px}#chordLab .static-spectrum{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}#chordLab[data-ready] .static-spectrum{display:none}
#chordLab button:disabled,#chordLab input:disabled,#chordLab select:disabled{cursor:wait}
#chordLab #legacyDetail .readouts{grid-template-columns:repeat(2,minmax(0,1fr))}#chordLab #legacyDetail strong{overflow-wrap:anywhere}
#chordLab dialog{margin:auto}#chordLab dialog:not([open]){display:none}#chordLab .guide-actions button{min-width:100px}
@media(max-width:450px){#chordLab .title-row{gap:10px}#chordLab h1{font-size:23px}#chordLab #specCanvas,#chordLab .spectrum-wrap{height:205px}#chordLab .guide-button{font-size:12px}#chordLab .chord-pads b{overflow-wrap:anywhere;line-height:1.3}#chordLab .chord-pads button{min-height:64px}#chordLab .note-card strong{white-space:nowrap}#chordLab .scene-hint{max-width:110px}#chordLab .sound-row #audioStatus{min-height:30px}#chordLab #legacyDetail .readouts{grid-template-columns:1fr}}
@media(max-width:640px){body>header .header-title,body>header .brand-tag{display:none}body>header .header-inner{gap:6px}body>header{padding-left:10px;padding-right:10px}}@media(max-width:820px){html:not(.ns-has-mobile-toolbar):not(.ns-embed) body::before{content:"";display:block;height:60px}}#chordLab input[type=range]{appearance:none;-webkit-appearance:none;background:transparent;border:0;height:38px;min-height:38px;box-shadow:none}#chordLab input[type=range]::-webkit-slider-runnable-track{height:4px;background:#bbd4c6;border-radius:4px}#chordLab input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;margin-top:-7px;border:0;border-radius:50%;background:#125e51;box-shadow:none}#chordLab input[type=range]::-moz-range-track{height:4px;background:#bbd4c6}#chordLab input[type=range]::-moz-range-thumb{width:18px;height:18px;border:0;background:#125e51}#chordLab input[type=range]:focus-visible{outline:3px solid #ba632b;outline-offset:3px}@media(max-width:450px){#chordLab .observation{min-height:90px}}@media(max-width:450px){#chordLab .title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}#chordLab .title-row h1{overflow-wrap:normal;word-break:normal}#chordLab .guide-button{justify-self:end;white-space:nowrap}}