:root{font-family:system-ui,-apple-system,'Segoe UI','Noto Sans JP',sans-serif;color:#18342e;background:#eef2ef;font-size:16px;--green:#1c6b50;--line:#dce5dd}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #d2a642;outline-offset:3px}header{max-width:1280px;margin:auto;padding:30px 38px;display:flex;justify-content:space-between;align-items:center}.brand{color:#18342e;text-decoration:none;font-size:27px;font-weight:700;letter-spacing:-1.5px}.brand span{font-weight:400}.brand i{font-style:normal;font-size:20px;background:#dfeade;border-radius:50%;margin-left:9px;padding:4px 10px}.header-note{font-size:14px;color:#678075}main{max-width:1280px;margin:auto;padding:18px 38px 44px}.intro{margin:4px 0 36px}.eyebrow{font-size:12px;letter-spacing:2.4px;color:#668275;font-weight:600}h1{font-size:clamp(40px,5vw,62px);line-height:1.3;letter-spacing:-2px;margin:13px 0}h1 em{font-style:normal;color:#2e8060}.intro p{font-size:16px;line-height:1.9;color:#6a7e73;margin:0}h2{font-size:20px;font-weight:600;margin:0}.workspace{display:grid;grid-template-columns:1.16fr 1fr;gap:22px;align-items:start}.card{background:#fff;border:1px solid #dfe6df;border-radius:22px;padding:26px;box-shadow:0 4px 16px #173b2703;min-width:0}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.badge{font-size:11px;letter-spacing:1.5px;color:#799082}.fields{display:grid;grid-template-columns:.7fr 1fr 1fr;gap:12px}label,.input-label{font-size:14px;color:#5d7569;display:flex;flex-direction:column;gap:7px}select,input[type=number],#chord{color:#214738;border:1px solid var(--line);border-radius:9px;background:#f8faf7;padding:11px;min-width:0}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23546d60' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;padding-right:29px}.degree-row{display:flex;gap:7px;margin:23px 0;flex-wrap:wrap}.degree-row button{border:1px solid #dfe7db;background:#f8faf6;color:#426850;min-width:48px;flex:1;padding:11px 7px;border-radius:8px;font-size:14px}.degree-row button.selected{background:#dfeede;border-color:#a3c3a3;color:#245838}.chord-entry label{font-size:14px;color:#5d7569}.entry-row{display:flex;gap:10px;margin-top:8px}#chord{width:100%;font-size:22px;font-weight:500;letter-spacing:.3px}.primary{background:#226848;color:#fff;border:0;border-radius:10px;padding:13px 22px;font-weight:500}.primary:hover{background:#185539}.round{width:58px;flex-shrink:0;padding:10px;font-size:21px}.now{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:27px 0 19px}.caption{font-size:11px;letter-spacing:2px;color:#849588}.chord-name{font-size:42px;letter-spacing:-1.5px;color:#1a5a3e;font-weight:500;min-height:58px}.note-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.note-chips span{background:#edf3e9;padding:5px 9px;font-size:13px;border-radius:5px}.keyboard-scroll{overflow-x:auto;padding-bottom:5px}.keyboard{position:relative;display:flex;height:145px;min-width:430px;background:#1f2c25;border:6px solid #27362c;border-radius:9px;width:100%}.pkey{border:1px solid #c9d1c6;border-radius:0 0 4px 4px;padding:0;display:flex;align-items:flex-end;justify-content:center;touch-action:manipulation}.pkey.white{height:100%;flex:1;background:linear-gradient(#fff,#f3f4ec);color:#89948a;font-size:9px;padding-bottom:8px}.pkey.black{position:absolute;top:0;height:62%;width:3.15%;background:linear-gradient(#28352c,#101c15);z-index:2;color:transparent;border-color:#122018;box-shadow:0 2px 2px #0004}.pkey.white.active{background:#b6d6a4;color:#315333}.pkey.black.active{background:#54854b}.under{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:11px 0 22px;font-size:12px;color:#819184}.text-button{border:0;padding:0;background:transparent;color:#3b7350;font-size:14px;white-space:nowrap}.sound-settings{display:flex;gap:28px;align-items:center;padding-top:18px;border-top:1px solid var(--line)}.sound-settings label{flex:1}.volume input{accent-color:#528a52;width:100%;margin-top:10px}.status{font-size:13px;color:#698172;line-height:1.7;margin-top:12px;min-height:22px}.status.error{color:#a94735}.sequence textarea{width:100%;min-height:126px;border:1px solid var(--line);border-radius:11px;background:#f8faf6;padding:15px;font-size:18px;line-height:1.9;color:#284e39;resize:vertical;margin-top:8px}.small{font-size:13px;line-height:1.9;color:#839084;margin:10px 0 20px}.transport{display:flex;gap:14px;align-items:flex-end}.transport label{flex:1}.transport input[type=number]{width:100%}.transport .check{flex-direction:row;align-items:center;justify-content:flex-end;padding:13px 0;gap:6px;font-size:13px}.check input{accent-color:#36794e}.play-row{display:flex;gap:10px;margin:20px 0}.play-row .primary{flex:1}.secondary{border:1px solid #d5e0d2;color:#537049;background:#f5f8f1;border-radius:9px;padding:12px 17px}.chord-list{display:flex;gap:8px;flex-wrap:wrap;max-height:270px;overflow-y:auto;padding:4px 2px}.chord-list button{background:#f6f8f2;border:1px solid #e4e9dd;border-radius:10px;padding:10px 12px;text-align:left;min-width:75px;color:#3d6544}.chord-list button span{display:block;font-size:12px;color:#91a18c;margin-top:3px}.chord-list button.active{background:#28694a;border-color:#28694a;color:#fff}.chord-list button.active span{color:#c7ddbf}.import{margin-top:24px;display:grid;grid-template-columns:.9fr 1.1fr;gap:40px;background:#e5ede2;border-color:#d5e0cf}.import h2{margin-top:12px}.import p:not(.small){font-size:14px;color:#657e69;line-height:1.9}.import details{font-size:14px;line-height:1.9}.import summary{cursor:pointer;font-weight:600}.import ol{padding-left:23px}.import li{margin:10px 0}.import textarea{width:100%;height:110px;font-size:12px}.bookmark-link{display:block;color:#44734e;font-size:13px;margin:12px 0}footer{font-size:12px;line-height:1.9;color:#859184;margin-top:24px}footer a{color:#607b64;text-decoration:none}.playing .round{background:#55934c}@media(max-width:930px){header{padding:23px 22px}main{padding:10px 22px 35px}.workspace{grid-template-columns:1fr}.import{gap:24px}}@media(max-width:560px){header{padding:21px 18px}.header-note{display:none}main{padding:8px 14px 28px}.intro{padding:0 5px;margin-bottom:25px}h1{font-size:43px}.card{padding:21px 18px;border-radius:18px}.section-top{margin-bottom:20px}.fields{gap:8px}.fields select{font-size:14px;padding-left:8px}.degree-row{gap:5px}.degree-row button{min-width:34px;font-size:14px;padding:11px 3px}.under{align-items:flex-start}.under>span{max-width:170px}.now{gap:10px}.chord-name{font-size:37px}.import{grid-template-columns:1fr;gap:18px}.keyboard{min-width:430px}.transport{gap:9px}.transport label{font-size:14px}.play-row .primary{padding-left:12px;padding-right:12px}.brand{font-size:25px}}

@media(max-width:560px){.degree-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.degree-row button{font-size:14px;min-width:0}}
.keyboard{min-width:560px}.pkey.black{width:2.36%}.tension-example{margin-top:10px;font-size:14px}.tension-example:disabled{opacity:.6}.now>div{min-width:0}.chord-name{overflow-wrap:anywhere}@media(max-width:560px){.now{align-items:flex-start;flex-direction:column;gap:10px}.chord-name{font-size:34px;min-height:45px}.note-chips{margin-top:6px}}
.sound-controls,.timing-controls{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-top:18px}.sound-controls input{width:100%;accent-color:#528a52}.sound-controls output{font-size:12px;color:#80927d}.tension-example{margin-right:6px}.chord-list button{max-width:100%;overflow-wrap:anywhere}select:disabled{opacity:.5}.fields{grid-template-columns:.65fr .9fr 1.45fr}@media(max-width:560px){.fields{grid-template-columns:.7fr 1fr}.fields label:last-child{grid-column:1/-1}.sound-controls,.timing-controls{grid-template-columns:1fr;gap:14px}}
.player-workspace{grid-template-columns:.8fr 1.4fr}.intro{margin-bottom:24px}h1{font-size:48px}.monitor .degree-name{font-size:32px;color:#528257;font-weight:600;margin:4px 0 20px;overflow-wrap:anywhere}.monitor .note-chips{margin-bottom:20px}.monitor .chord-name{font-size:36px;margin-bottom:16px}.sequence .fields{margin-bottom:18px}.sequence .input-label{margin-top:15px}.sequence textarea{min-height:160px;max-height:330px}.live-playhead{display:flex;align-items:center;gap:16px;padding:16px 18px;border-radius:12px;background:#e8f1e4;margin-top:20px;flex-wrap:wrap}.live-playhead>span{font-size:23px;font-weight:600}.live-playhead>strong{font-size:21px;color:#4c7d49}.live-playhead>small{margin-left:auto;color:#73856d}.navigation{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.navigation .check{flex-direction:row;margin-left:auto;align-items:center}.seek-row{display:flex;gap:18px;margin:20px 0 10px;align-items:center}.seek-row>label{min-width:0}.seek{flex:1}.seek input{width:100%;accent-color:#3e7e4c}.position{color:#758872;font-size:13px;line-height:1.7;margin-bottom:12px}.list-help{font-size:13px;color:#73866e}.chord-list{position:relative;max-height:380px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chord-list button{min-width:0;padding:12px 10px}.chord-list button strong{font-size:15px;font-weight:500;display:block}.chord-list button .tile-degree{color:#46703c;font-size:14px;line-height:1.6}.chord-list button small{font-size:11px;color:#8a9a81}.chord-list button.selected{border:2px solid #8db47f;padding:11px 9px}.chord-list button.active{background:#28694a;color:white}.chord-list button.active span,.chord-list button.active small{color:#d1e3c7}.solo{margin-top:18px;font-size:14px}.solo summary{cursor:pointer;margin-bottom:12px}.solo .text-button{margin-top:10px}.example-buttons{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:12px}.sequence .transport{gap:10px}.sequence .play-row .secondary{padding:11px 13px}.sound-controls{grid-template-columns:1fr}.instrument .sound-settings{gap:12px}.instrument .keyboard{height:135px}@media(max-width:1000px){.player-workspace{grid-template-columns:1fr}.sequence{order:0}.instrument{order:1}.instrument .sound-controls{grid-template-columns:1fr 1fr}.monitor{display:grid;grid-template-columns:1fr 1fr;gap:6px}.monitor .caption{display:none}.monitor .note-chips{grid-column:1/-1}.instrument .keyboard{min-width:560px}}@media(max-width:560px){h1{font-size:40px}.chord-list{grid-template-columns:repeat(2,minmax(0,1fr))}.transport{flex-wrap:wrap}.sequence .transport label{flex:1 1 40%}.play-row{flex-wrap:wrap}.play-row .primary{flex:1 1 100%}.play-row .secondary{flex:1}.seek-row{flex-direction:column;align-items:stretch;gap:10px}.instrument .sound-controls{grid-template-columns:1fr}.live-playhead>small{margin-left:0}.monitor .degree-name{font-size:25px}.monitor .chord-name{font-size:28px}}
.player-sticky{position:sticky;top:0;z-index:4;background:#fff;padding:1px 0}.player-sticky .live-playhead{margin-top:6px}.player-sticky .play-row{margin:12px 0}.chord-list button[aria-current=true]{box-shadow:0 0 0 1px #99ba87}.sequence{align-self:start}

.key-field{min-width:0}.key-field>label{margin-bottom:7px}.key-stepper{display:flex;gap:5px}.key-stepper select{width:100%;min-width:68px}.key-stepper button{padding:10px;white-space:nowrap;min-width:44px}.sequence .fields{grid-template-columns:1.4fr .8fr 1.5fr}.play-row .primary[aria-pressed=true]{background:#98483d}.play-row .primary{min-height:48px}@media(max-width:560px){.sequence .fields{grid-template-columns:1.6fr 1fr}.sequence .fields>label:last-child{grid-column:1/-1}.key-stepper select{padding-left:7px}.key-stepper button{padding:9px 7px}}

.key-stepper output{min-width:60px;text-align:center;align-self:center;font-size:16px;font-variant-numeric:tabular-nums;color:#214738}.song-meta{font-size:14px;color:#4d6c5b;line-height:1.7;margin:8px 0 14px}.player-sticky .seek-row{margin:12px 0 6px}.player-sticky .seek-row>label:first-child{max-width:145px}.player-sticky .position{margin-bottom:5px}.live-playhead>small{margin-left:0}#liveKey{margin-left:auto}.key-field>label{color:#5d7569;font-size:14px}@media(max-width:560px){.player-sticky .seek-row{flex-direction:row;align-items:center;gap:10px}.player-sticky .seek-row>label:first-child{max-width:108px}.player-sticky .seek-row select{font-size:14px;padding-left:7px}.key-stepper output{min-width:54px}.player-sticky .position{font-size:12px}}

:root,body{background:#fff;color:#17342c}.card{border:0;border-radius:0;box-shadow:none;background:#fff;padding:20px 12px}.workspace{gap:40px}.import{background:#fff;border:0;border-radius:0;padding:22px 12px;gap:28px}.brand i{background:transparent;border-radius:0;padding-left:4px}.current-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;font-family:Georgia,'Times New Roman',serif;color:#405b50;white-space:nowrap}#currentKey{font-size:19px;letter-spacing:.2px}#currentMeter{font-size:15px}.monitor .chord-name,.monitor .degree-name{font-family:Georgia,'Palatino Linotype','Times New Roman',serif;letter-spacing:0}.monitor .chord-name{font-size:44px}.monitor .degree-name{font-size:38px}.transport{max-width:130px;margin:14px 0 18px}.primary{border-radius:5px}.secondary{background:#fff;border:1px solid #d7ded9;border-radius:4px;color:#365747}.play-row{display:flex!important;flex-wrap:nowrap;align-items:center;margin:12px 0}.play-row .primary{flex:1!important}.play-row .check{display:flex;flex-direction:row;align-items:center;gap:7px;white-space:nowrap;font-size:15px;padding:0 8px}.navigation{display:grid;grid-template-columns:1.25fr .7fr 1.45fr .7fr;gap:7px;margin-bottom:16px}.navigation button{font-size:14px;padding:12px 6px;white-space:nowrap}.chord-list button{background:#fff;border:0;border-bottom:1px solid #e2e8e3;border-radius:0;padding:12px 10px}.chord-list button.selected{border:0;border-bottom:2px solid #52866a;padding:12px 10px}.chord-list button[aria-current=true]{box-shadow:none}.chord-list button.active{background:#28694a}.player-sticky{padding:0 0 4px}.player-sticky .seek-row{margin-top:8px}.section-top{margin-bottom:18px}.caption{font-size:12px}.note-chips span{background:#f4f5f4;border-radius:2px}.status:empty{display:none}header{padding-top:22px;padding-bottom:18px}main{padding-top:0}.import h2{margin-top:0}@media(max-width:1000px){.workspace{gap:24px}.monitor{display:block}.monitor .caption{display:block}.instrument .section-top{align-items:center}.monitor .note-chips{margin-bottom:14px}}@media(max-width:560px){.card{padding:14px 3px}.workspace{gap:22px}.current-meta{gap:4px}#currentKey{font-size:18px}#currentMeter{font-size:14px}.monitor .chord-name{font-size:39px}.monitor .degree-name{font-size:34px}.navigation{gap:4px;grid-template-columns:1.25fr .65fr 1.45fr .65fr}.navigation button{font-size:14px;padding:12px 3px}.play-row .primary{flex:1!important}.play-row .check{padding-right:0}.instrument .section-top{margin-bottom:12px}}

.sequence textarea,select,input[type=number],#chord,.note-chips span{background-color:#fff}


.monitor .chord-name,.monitor .degree-name{font-family:system-ui,-apple-system,'Segoe UI','Noto Sans JP',sans-serif;font-weight:500;letter-spacing:-.6px}.monitor .chord-name{font-size:40px}.monitor .degree-name{font-size:34px}.monitor .caption{font-family:Georgia,'Times New Roman',serif;font-size:15px;font-weight:600;letter-spacing:1px;color:#36734f}.monitor .chord-name,.monitor .degree-name{color:#28694a}.fields input[type=number]{width:100%;min-width:0}.fields{align-items:end}.current-meta{color:#36734f}.guitar-toggle{display:flex;flex-direction:row;align-items:center;gap:8px;margin:12px 0;font-size:15px}.guitar-toggle input{accent-color:#226848}#guitarDiagram{max-width:250px;margin:0 auto;color:#28694a}#guitarDiagram svg{width:100%;height:auto;display:block}#guitarOmission{font-size:14px;text-align:center;color:#52705d;margin-bottom:12px}[hidden]{display:none!important}@media(max-width:560px){.monitor .caption{display:block;font-size:15px}.monitor .chord-name{font-size:35px}.monitor .degree-name{font-size:31px}#guitarDiagram{max-width:225px}}

.monitor .caption,.monitor .chord-name,.monitor .degree-name,.current-meta{color:#28694a}


@font-face{font-family:'Libre Baskerville';src:url('./fonts/LibreBaskerville.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}:root{--music-font:'Libre Baskerville',Georgia,'Times New Roman',serif}.monitor .chord-name,.monitor .degree-name,.note-chips span,input[type=number],.key-stepper button,.key-stepper output,.position,.current-meta,.chord-list button strong,.chord-list button .tile-degree{font-family:var(--music-font);font-variant-numeric:lining-nums tabular-nums}.monitor .chord-name{font-weight:500;letter-spacing:-1px;line-height:1.6}.monitor .degree-name{font-weight:500;letter-spacing:0;line-height:1.5}.monitor .caption{color:#6b8476;font-weight:500;letter-spacing:1.3px}.current-lyric{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-size:21px;line-height:1.75;color:#2f4b3d;margin:-4px 0 26px;white-space:pre-wrap;overflow-wrap:anywhere}.chord-list button .tile-lyric{font-family:'Yu Mincho','Hiragino Mincho ProN',serif;font-size:16px;line-height:1.6;color:#425e4c;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}.chord-list button.active .tile-lyric{color:#edf5e9}.chord-list button strong{font-weight:500;font-size:16px}.chord-list button .tile-degree{font-size:14px}.current-meta{line-height:1.7}.note-chips span{font-size:13px}@media(max-width:560px){.current-lyric{font-size:20px}.chord-list button .tile-lyric{font-size:16px}}

.chord-list button small,.sound-controls output,.pkey.white{font-family:var(--music-font);font-variant-numeric:lining-nums tabular-nums}.pkey.white{font-size:10px}


.monitor .caption{color:#607a6b}


@font-face{font-family:'Score Computer Modern';src:url('./fonts/ComputerModern.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}:root{--line:#b4ccbc;--chord-font:'Score Computer Modern','Libre Baskerville',Georgia,serif}.monitor .chord-name,.monitor .degree-name,.chord-list button strong,.chord-list button .tile-degree{font-family:var(--chord-font);font-weight:400;font-synthesis:none}.sequence textarea,.sequence select,.sequence input[type=number],.sequence .secondary{border-color:#accab6}.chord-list button{border-bottom-color:#c0d8c7}.chord-list button.selected{border-bottom-color:var(--degree-color,#649b7d)}.chord-list button strong,.chord-list button .tile-degree{color:var(--degree-color,#28694a)}.chord-list button.active{background:#f1f8f3;background:color-mix(in srgb,var(--degree-color,#28694a) 10%,white);color:var(--degree-color,#28694a)}.chord-list button.active .tile-degree{color:var(--degree-color,#28694a)}.chord-list button.active small{color:#587462}.chord-list button.active .tile-lyric{color:#324e40}.play-row .check{font-size:14px;padding:0 4px}.play-row .primary{min-width:80px}.play-row{gap:8px}@media(max-width:560px){.play-row .primary{padding-left:10px;padding-right:10px}.play-row .check{font-size:14px;gap:4px;padding:0}.play-row{gap:7px}}

.sequence textarea:focus,.sequence select:focus,.sequence input[type=number]:focus{border-color:#67977c;outline-color:#67977c}

#seek{appearance:none;-webkit-appearance:none;height:6px;border-radius:3px;background:linear-gradient(to right,#36794e var(--seek-progress,0%),#c8ddcf var(--seek-progress,0%));outline-offset:6px}#seek::-webkit-slider-runnable-track{height:6px;background:transparent;border-radius:3px}#seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-5px;background:#36794e;border:0;border-radius:50%}#seek::-moz-range-track{height:6px;background:#c8ddcf;border:0;border-radius:3px}#seek::-moz-range-progress{height:6px;background:#36794e}#seek::-moz-range-thumb{width:16px;height:16px;background:#36794e;border:0;border-radius:50%}.play-row input[type=checkbox]{appearance:none;-webkit-appearance:none;width:16px;height:16px;flex:0 0 16px;border:1.5px solid #80a58a;border-radius:3px;background:#fff;vertical-align:middle}.play-row input[type=checkbox]:checked{border-color:#246d4b;background:#246d4b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat}.play-row input[type=checkbox]:focus-visible{outline:2px solid #77a18a;outline-offset:3px}

.degree-segment,.chord-list button .tile-degree .degree-segment{display:inline;font:inherit;margin:0}


@font-face{font-family:'Shippori Gothic B2';src:url('./fonts/ShipporiGothicB2-Bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{--jp-font:'Shippori Gothic B2',system-ui,sans-serif;--music-font:'Libre Baskerville','Shippori Gothic B2',sans-serif;--chord-font:'Score Computer Modern','Libre Baskerville','Shippori Gothic B2',sans-serif;--line:#6B7280}
body{font-family:var(--jp-font)}button,input,select,textarea{font-family:inherit}.current-lyric,.chord-list button .tile-lyric{font-family:var(--jp-font)}
button,select,textarea,input:not([type=range]),.secondary,.primary,.note-chips span,.keyboard,.pkey.white,.live-playhead{border-radius:0}
select,textarea,input[type=number],#chord,.secondary,.sequence textarea,.sequence select,.sequence input[type=number],.sequence .secondary{border-color:#6B7280}
.chord-list button,.chord-list button.selected{border-bottom-color:#6B7280}
.primary,.primary:hover,.play-row .primary[aria-pressed=true]{background:#388E3C;border-color:#388E3C;color:#fff}
input[type=range],input[type=checkbox],.sound-controls input,.guitar-toggle input,.seek input{accent-color:#388E3C}
.check input[type=checkbox],.play-row input[type=checkbox]{appearance:none;-webkit-appearance:none;width:16px;height:16px;flex:0 0 16px;border:1.5px solid #6B7280;border-radius:0;background:#fff;vertical-align:middle}
.check input[type=checkbox]:checked,.play-row input[type=checkbox]:checked{border-color:#388E3C;background:#388E3C url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3 3 7-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat}
.duration-option{display:flex;flex-direction:row;align-items:center;gap:8px;margin:12px 0;font-size:14px}
.sequence textarea:focus,.sequence select:focus,.sequence input[type=number]:focus,.check input:focus-visible{border-color:#388E3C;outline-color:#388E3C}
#seek{background:linear-gradient(to right,#388E3C var(--seek-progress,0%),#D1D5DB var(--seek-progress,0%));border-radius:0}#seek::-webkit-slider-runnable-track{border-radius:0}#seek::-webkit-slider-thumb{background:#388E3C}#seek::-moz-range-track{background:#D1D5DB;border-radius:0}#seek::-moz-range-progress,#seek::-moz-range-thumb{background:#388E3C}
.sequence textarea,.sequence select,.sequence input,.sequence button,.instrument select,.instrument input:not([type=range]),.instrument button,.instrument .keyboard,.keyboard .pkey.white,.keyboard .pkey.black{border-radius:0}

/* Monochrome interface; harmony colors remain on chord and degree names. */
:root{--green:#000;--line:#000}body{color:#000}
.brand,.brand span,.brand i,h2,label,.input-label,select,input,textarea,button,.secondary,.key-field>label,.key-stepper output,.current-meta,.monitor .caption,.position,.status,.status.error,.sound-controls output,#guitarOmission,.current-lyric,.chord-list button small,.chord-list button.active small,.chord-list button .tile-lyric,.chord-list button.active .tile-lyric,.text-button,.bookmark-link,footer,footer a,.import p:not(.small),.note-chips span{color:#000}
.monitor .caption{font-family:var(--jp-font);font-size:15px;letter-spacing:.5px}
.sequence #progression,#chord{font-family:var(--chord-font);font-weight:400;font-synthesis:none}
select,textarea,input[type=number],#chord,.secondary,.sequence textarea,.sequence select,.sequence input[type=number],.sequence .secondary,.chord-list button,.chord-list button.selected,.sound-settings{border-color:#000}
.primary,.primary:hover,.play-row .primary[aria-pressed=true],.playing .round{background:#000;border-color:#000;color:#fff}
input[type=range],input[type=checkbox],.sound-controls input,.guitar-toggle input,.seek input,.volume input{accent-color:#000}
.check input[type=checkbox],.play-row input[type=checkbox]{border-color:#000}
.check input[type=checkbox]:checked,.play-row input[type=checkbox]:checked{border-color:#000;background-color:#000}
#seek{background:linear-gradient(to right,#000 var(--seek-progress,0%),#ddd var(--seek-progress,0%))}#seek::-webkit-slider-thumb{background:#000}#seek::-moz-range-track{background:#ddd}#seek::-moz-range-progress,#seek::-moz-range-thumb{background:#000}
.sequence textarea:focus,.sequence select:focus,.sequence input[type=number]:focus,.check input:focus-visible,button:focus-visible,a:focus-visible{border-color:#000;outline-color:#000}
select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='black' stroke-width='1.5' fill='none'/%3E%3C/svg%3E")}
.keyboard{background:#000;border-color:#000}.pkey.white{background:linear-gradient(#fff,#f4f4f4);color:#000;border-color:#ccc}.pkey.black{background:#000;border-color:#000}.pkey.white.active,.pkey.black.active{background:#D32F2F;color:#fff}
#guitarDiagram{color:#000}#guitarDiagram svg circle,#guitarDiagram svg path[stroke-width="18"]{fill:#D32F2F;stroke:#D32F2F}
.note-chips span{background:#f5f5f5}.chord-list button.active{background:#f5f5f5}.chord-list button{color:#000}
.player-sticky{position:static;padding-bottom:10px}.navigation{position:relative;z-index:1;margin-top:6px;padding-top:3px;overflow:visible}.navigation button{line-height:1.7;min-height:48px}
#chord,#bpm,.sequence #progression{color:#000}

@font-face{font-family:'Math Accidentals';src:url('./fonts/MathAccidentals.ttf') format('truetype');font-weight:400;font-style:normal;unicode-range:U+266D-266F;font-display:swap}
:root{--jp-font:Helvetica,'Helvetica Neue',Arial,'Shippori Gothic B2',sans-serif;--music-font:'Math Accidentals',Helvetica,'Helvetica Neue',Arial,'Shippori Gothic B2',sans-serif;--chord-font:'Math Accidentals','Score Computer Modern','Shippori Gothic B2',sans-serif}
.monitor .caption{font-family:var(--jp-font)}
#playSequence,#playSequence:hover,.play-row #playSequence[aria-pressed=true]{background:#5D6065;border-color:#5D6065}
.song-url-form{margin:0 12px 24px}.song-url-entry{display:flex;gap:10px;margin-top:8px}.song-url-entry input{flex:1;min-width:0;border:1px solid #000;border-radius:0;padding:12px;color:#000;background:#fff;font-family:var(--jp-font)}.song-url-entry button{white-space:nowrap}.song-url-form p{margin:8px 0;font-size:14px;line-height:1.7}.song-url-form a{color:#000;font-size:14px}
@media(max-width:560px){.song-url-form{margin:0 3px 20px}.song-url-entry{flex-direction:column}.song-url-entry button{min-height:46px}}

.sequence #progression{font-family:var(--jp-font);font-weight:400;font-synthesis:none}.brand{font-family:system-ui,-apple-system,'Segoe UI','Noto Sans JP',sans-serif}#playSequence,#playSequence:hover,.play-row #playSequence[aria-pressed=true]{background:#000;border-color:#000}

.brand{display:block;line-height:0}.brand img{display:block;width:237px;height:auto;max-width:100%}

.url-helper{font-size:14px;line-height:1.8;margin-top:12px}.url-helper summary{cursor:pointer}.url-helper p{margin:10px 0}

/* Layout Edition: geometry only; original typography, colors and controls are retained. */
header,main{max-width:1200px}.song-url-form{margin-bottom:36px}.player-workspace{grid-template-columns:minmax(0,1fr) 350px;gap:28px 38px;align-items:start}.player-workspace>.sequence{order:0}.player-workspace>.instrument{order:1}.player-workspace>.progression-library{order:2;grid-column:1/-1;min-width:0;padding:0 12px}.sequence .fields{grid-template-columns:1.4fr 1fr;gap:18px}.sequence .fields>label:last-child{grid-column:1/-1}.sequence .key-stepper{display:grid;grid-template-columns:50px 1fr 50px}.sequence .fields input[type=number]{height:100%}.sequence .fields>label{align-self:stretch}.sequence .input-label{margin-top:24px}.sequence textarea{min-height:200px}.instrument .section-top{gap:10px}.instrument .current-meta{flex-shrink:0}.progression-library .chord-list{grid-template-columns:repeat(4,minmax(0,1fr));max-height:480px}.progression-library .status{margin-top:0;margin-bottom:12px}.import{margin-top:36px}
@media(max-width:1000px){.player-workspace{grid-template-columns:minmax(0,1fr) 310px;gap:24px}.card{padding-left:8px;padding-right:8px}.player-workspace>.progression-library{padding:0 8px}.sequence .fields{gap:14px}.sequence .key-stepper{grid-template-columns:44px 1fr 44px}.current-meta{white-space:normal}}
@media(max-width:760px){.player-workspace{grid-template-columns:1fr;gap:28px}.sequence .fields{grid-template-columns:1.4fr 1fr}.sequence .fields>label:last-child{grid-column:1/-1}.player-workspace>.progression-library{padding:0 3px}.progression-library .chord-list{grid-template-columns:repeat(2,minmax(0,1fr));max-height:480px}.card{padding-left:3px;padding-right:3px}.song-url-form{margin-bottom:24px}.song-url-entry{flex-direction:column}.song-url-entry button{min-height:46px}}

:root{--jp-font:'Shippori Gothic B2',sans-serif;--music-font:'Math Accidentals','Shippori Gothic B2',sans-serif}
.brand{display:flex;align-items:center;gap:17px;min-height:57px;line-height:1;letter-spacing:-1.25px;color:#000}.brand .brand-wordmark{font-family:Helvetica,Arial,sans-serif;font-size:27px;font-weight:500}.brand .brand-wordmark>span{font-family:inherit;font-weight:400}.brand>svg{width:12px;height:22px;flex-shrink:0}
.instrument>.section-top{justify-content:flex-end}.sound-settings .volume{width:100%}.import{display:block}.import>details>summary{width:36px;min-height:32px;display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer}.import>details>summary::-webkit-details-marker{display:none}.settings-icon{width:20px;height:20px}.import>details[open]>summary{margin-bottom:14px}.progression-library .status:not(.error){display:none}.chord-list{scroll-behavior:auto;overflow-anchor:none;scroll-padding-block:24px}

:root{--jp-font:'Shippori Gothic B2',sans-serif;--music-font:'Shippori Gothic B2',sans-serif}
body,.brand,.brand .brand-wordmark,.brand .brand-wordmark>span{font-family:'Shippori Gothic B2',sans-serif}
#guitarDiagram svg text{font-family:'Shippori Gothic B2',sans-serif}
.sequence .key-stepper{width:min(176px,100%);display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:6px;justify-content:start}.sequence .key-stepper output{min-width:0;padding:0;text-align:center}

.progression-entry{position:relative}.sequence .progression-entry textarea{padding-top:48px;min-height:220px}.sequence .clear-progression{position:absolute;right:26px;top:18px;padding:4px 9px;border:1px solid #000;background:#fff;color:#000;font-family:var(--jp-font);font-size:12px;line-height:1.4;border-radius:0}.sequence .clear-progression:hover:not(:disabled){background:#000;color:#fff}.sequence .clear-progression:disabled{opacity:.35;cursor:default}.chord-name .chord-segment,.chord-list button strong .chord-segment{display:inline;font:inherit;margin:0}

.import-hint{font-size:.9rem;line-height:1.7;margin:0 0 1rem}.import-hint a{color:inherit;text-underline-offset:.18em}
