:root{font-family:"Noto Sans JP","Yu Gothic UI","Meiryo",sans-serif;color:#13283e;background:#edf2f7;font-synthesis:none;--navy:#13283e;--blue:#1658cf;--teal:#087c70;--yellow:#f7d774;--line:#d7e0e9}*{box-sizing:border-box}body{margin:0;font-size:1rem;line-height:1.7}button,input,textarea{font:inherit}button{cursor:pointer;border:0;line-height:1.5}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #266bea;outline-offset:4px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}[hidden]{display:none!important}.topbar{height:86px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{display:flex;align-items:center;gap:13px;font-weight:800;font-size:1.25rem;letter-spacing:.03em}.brand small{display:block;font-size:0.75rem;font-weight:600;letter-spacing:.1em;color:#647689}.brand-icon{display:grid;place-items:center;background:var(--navy);color:var(--yellow);font-size:1.8125rem;border-radius:13px;width:48px;height:48px}.header-tools{display:flex;gap:12px;align-items:center;font-size:0.875rem;color:#526579}.layout{display:grid;grid-template-columns:264px minmax(0,1fr);min-height:calc(100vh - 86px)}.sidebar{background:var(--navy);color:white;padding:30px 18px;display:flex;flex-direction:column}.side-head{padding:0 12px 24px}.eyebrow{font-size:0.75rem;font-weight:800;letter-spacing:.12em;margin:0 0 8px;color:#5d7186}.side-head .eyebrow{color:#9db6cf}.side-head h2{font-size:1.3125rem;margin:0 0 18px}.side-head p{font-size:0.875rem;margin:0 0 9px;color:#d9e4ef}.side-head small{font-size:0.75rem;color:#a7bbce}.progress-track{height:6px;border-radius:5px;background:#33495f;margin-bottom:8px;overflow:hidden}.progress-track>div{height:100%;background:var(--yellow);transition:width .3s}nav details{margin:5px 0}nav summary{cursor:pointer;padding:12px;font-size:0.875rem;list-style:none;font-weight:700;color:#c7d5e3}nav summary:after{content:'＋';float:right}nav details[open] summary:after{content:'−'}nav button{width:100%;text-align:left;background:none;color:#becddc;padding:10px 12px 10px 20px;font-size:0.875rem;border-radius:8px;display:flex;gap:10px;align-items:center;margin:3px 0}nav button:hover{background:#233e57}nav button.active{background:var(--yellow);color:#162d44;font-weight:800}nav .nav-mark{font-size:0.75rem;width:21px;flex-shrink:0;opacity:.85}.side-foot{margin-top:auto;padding:28px 12px 0;color:#91a9bf;font-size:0.8125rem}main{padding:30px 34px;min-width:0;max-width:1700px;width:100%;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:20px}h1{font-size:1.75rem;line-height:1.45;margin:0;letter-spacing:.01em}h2,h3,p{overflow-wrap:anywhere}.page-heading .eyebrow{color:#55708e}.workspace{display:grid;grid-template-columns:minmax(275px,.75fr) minmax(390px,1.45fr);gap:22px;align-items:start}.panel{border:1px solid var(--line);border-radius:18px;background:white;box-shadow:0 5px 20px #19364f05}.guide{padding:26px}.step-label{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:0.75rem;font-weight:800;color:#5b6d80;flex-wrap:wrap}.tag{background:#e4f4ef;color:#046b5f;border-radius:5px;padding:4px 7px;font-size:0.75rem}.tag.sim{background:#fff2cb;color:#79550b}.guide h2{font-size:1.375rem;line-height:1.65;margin:22px 0 10px}.guide>p{color:#4c6175;margin:8px 0 18px}.chord{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:25px 0}.chord kbd{min-width:49px;padding:9px 14px;border:1px solid #cad4e0;border-bottom:4px solid #bac6d5;border-radius:9px;background:#f7f9fc;font-family:inherit;font-size:1.25rem;font-weight:800;text-align:center}.chord span{font-size:1.125rem;color:#7a8d9e}.context-note{font-size:0.875rem!important;color:#697b8c!important}.guide-buttons{display:flex;gap:8px;margin:20px 0}.primary,.secondary,.quiet{border-radius:9px;padding:11px 17px;font-size:0.875rem;font-weight:700}.primary{background:var(--blue);color:#fff}.primary:hover{background:#1044a4}.secondary{border:1px solid #cdd8e4;background:#f6f9fc;color:var(--navy)}.secondary:hover,.quiet:hover{background:#e4edf7}.quiet{color:#536b83;background:transparent}.feedback{border-radius:9px;padding:14px;background:#eff4f9;color:#52677b;font-size:0.875rem;min-height:70px;border-left:3px solid #a3b6ca}.feedback.success{background:#e8f7f0;color:#076448;border-color:#129574}.feedback.error{background:#fff5dc;color:#795418;border-color:#e9b842}.meaning{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.meaning .eyebrow{color:var(--teal)}.meaning h3{font-size:1.125rem;margin:8px 0}.meaning p{color:#4c6175;font-size:0.9375rem;margin:0 0 18px}.guide>.primary{width:100%;margin-top:18px}.practice{overflow:hidden}.practice-toolbar{padding:14px 20px;background:#f7f9fc;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:#52687e;font-size:0.8125rem;gap:15px}.practice-toolbar i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#67829a;margin-right:5px}#scene{min-height:330px;padding:27px;position:relative;background:linear-gradient(145deg,#f0f5fa,#e4edf6);display:flex;flex-direction:column;justify-content:center;gap:15px}.mock-window{background:white;border:1px solid #bacbdc;border-radius:10px;overflow:hidden;box-shadow:0 10px 22px #1b3c6020;width:100%;transition:all .3s;align-self:center}.window-bar{background:#f5f7fa;padding:10px 14px;border-bottom:1px solid #d7e1ea;font-size:0.8125rem;color:#566d84;display:flex;justify-content:space-between;gap:12px}.window-bar b{font-weight:600}.window-body{padding:20px}.document-label{font-size:0.75rem;color:#697e91;font-weight:600;display:block;margin-bottom:8px}.text-editor{width:100%;border:1px solid #d3dfe9;border-radius:7px;resize:none;padding:14px;font-size:1.125rem;line-height:1.8;color:#1b334c;background:#fff;min-height:118px;caret-color:var(--blue)}.text-editor::selection{background:#accaf7;color:#0d306b}.clipboard{display:flex;align-items:center;gap:10px;border:1px dashed #a0b6cc;border-radius:8px;padding:10px 14px;font-size:0.875rem;color:#5b7187;background:#ffffffa8}.clipboard b{font-size:0.75rem;flex-shrink:0}.clipboard span{color:#1d4265}.keyboard-zone{padding:20px;border-top:1px solid var(--line);background:white}.keyboard-heading{display:flex;justify-content:space-between;gap:14px;font-size:0.8125rem;color:#5e758a;margin-bottom:14px}.keyboard-heading span:last-child{font-weight:800;color:var(--blue);min-height:22px}.keyboard{display:flex;flex-wrap:wrap;gap:7px}.key{min-width:46px;height:44px;padding:0 12px;background:#f4f7fb;border:1px solid #cdd8e5;border-bottom:3px solid #b9c8d9;color:#253f58;border-radius:7px;font-size:0.875rem;font-weight:700}.key.mod{min-width:61px}.key.selected,.key.pressed{color:#fff;background:var(--blue);border-color:#144ba8}.key.target{border-top:2px solid #daa92e}.key:hover{background:#e1ebf8}.key.selected:hover{background:#1044a4}.keyboard-help{font-size:0.75rem;color:#718499;margin:12px 0 0}.quiz{padding:26px;margin-top:22px;border-top:4px solid var(--teal)}.quiz h2{font-size:1.25rem;margin:0 0 18px}#quizChoices{display:flex;gap:10px;flex-wrap:wrap}#quizChoices button{background:#f4f8fc;padding:14px 18px;text-align:left;border:1px solid #cad7e5;border-radius:8px;color:#233e59;font-size:0.9375rem;flex:1;min-width:170px}#quizChoices button.correct{border-color:var(--teal);background:#e1f5eb}#quizChoices button.incorrect{border-color:#dbac49;background:#fff6df}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#6d8092;font-size:0.75rem;margin-top:20px}.skip{position:absolute;top:-100px}.skip:focus{top:10px;left:10px;z-index:50;background:white;padding:15px}dialog{border:0;border-radius:16px;max-width:850px;width:90%;max-height:85vh;padding:28px;color:var(--navy);box-shadow:0 20px 70px #12243a55}dialog::backdrop{background:#071f3c99}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading h2{margin:0;font-size:1.375rem}.ref-row{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:12px 0}.ref-row button{background:none;color:var(--blue);text-align:left}.ref-row code{min-width:170px;font-size:0.875rem}.badge{display:inline-block;border-radius:6px;background:#e9f2fc;color:#325f92;padding:3px 8px;font-size:0.75rem}.mock-tabs{display:flex;background:#dfe8f2;gap:4px;padding:8px 8px 0;overflow:auto}.mock-tab{padding:6px 12px;border-radius:7px 7px 0 0;background:#cbd9e7;white-space:nowrap;font-size:0.8125rem}.mock-tab.active{background:white;font-weight:800;color:#1658cf}.address-bar{padding:8px 12px;background:#f5f8fb;font-size:0.75rem;color:#667c8f}.mini-card{padding:18px;background:#f1f6fc;border-radius:8px;text-align:center;font-size:1.125rem}.mini-note{font-size:0.8125rem;color:#677c8e;margin:12px 0 0}.file-grid{display:flex;gap:10px;flex-wrap:wrap}.file{padding:18px 15px;border:1px solid #cedce9;border-radius:8px;background:#f7faff;font-size:0.875rem}.file.active{background:#e0ecfe;border-color:#4d83d8}.screen-message{display:grid;place-items:center;min-height:190px;text-align:center;padding:20px;background:#254664;color:white;border-radius:8px;font-size:1.25rem}.scene-status{padding:10px 14px;background:#dcedfa;color:#244766;font-size:0.875rem;border-radius:7px}.screen-toast{background:#fff3c7;color:#75591e;padding:10px 14px;border-radius:7px;font-size:0.875rem}.selection-box{border:2px dashed #276de1;background:#598fe629;padding:24px;text-align:center;color:#174e98}.scene-input{width:100%;padding:10px 12px;border:1px solid #b5c9df;border-radius:6px;margin:5px 0 12px}.cursor-demo{font-size:1.5rem;letter-spacing:.08em;line-height:2.5;padding:20px;background:#f6f9fd;border-radius:8px}.caret{border-left:2px solid #1658cf;display:inline-block;height:1.2em;vertical-align:middle}.conversion{font-size:1.625rem;padding:25px 12px;display:block;text-align:center;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:10px}.key-light{background:#ddf5e7;color:#076c46;padding:8px 12px;border-radius:6px}.app-mini{width:100%;padding:18px;text-align:center;color:#527391;background:#edf4fc;border-radius:8px}.practice .primary{font-size:0.875rem}.demo-active #scene{outline:3px solid var(--yellow);outline-offset:-3px}.complete-banner{padding:18px;background:#e2f5eb;color:#086947;border-radius:10px;margin-bottom:15px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:#142c45}.login-card{background:white;border-radius:22px;padding:42px;max-width:520px;width:100%}.login-card h1{margin:24px 0 16px}.login-card p{color:#536b83}.login-note{font-size:0.875rem;border-top:1px solid #d5e0eb;padding-top:18px;margin-top:24px}@media(min-width:1500px){main{padding:40px 48px}.workspace{grid-template-columns:340px minmax(0,1fr)}#scene{min-height:390px}}@media(max-width:1150px){.layout{grid-template-columns:220px minmax(0,1fr)}main{padding:24px 22px}.workspace{grid-template-columns:1fr}.guide{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.guide .step-label,.guide .meaning,.guide>.primary{grid-column:1/-1}.guide h2{font-size:1.25rem}.guide .chord{grid-column:2;grid-row:2/4;align-self:center}.guide .feedback{grid-column:2}.guide .guide-buttons{grid-column:1}.guide .context-note{grid-column:1/-1;margin:0}.practice #scene{min-height:300px}}@media(max-width:750px){.topbar{height:auto;min-height:78px;padding:14px 18px;flex-wrap:wrap}.brand{font-size:1.125rem}.header-tools{font-size:0.75rem}.layout{display:block}.sidebar{padding:16px 18px}.side-head{padding:0}.side-head h2,.side-head>.eyebrow,.side-foot{display:none}.side-head p{display:inline}.side-head small{float:right}.progress-track{margin-top:10px}nav{display:flex;gap:7px;overflow-x:auto;align-items:start;margin-top:12px;padding-bottom:3px}nav details{min-width:180px}nav details[open]{min-width:230px}nav summary{background:#243e58;border-radius:7px;padding:8px;font-size:0.8125rem}main{padding:22px 16px}.page-heading{align-items:start}.page-heading>.quiet{padding:8px;font-size:0.75rem}h1{font-size:1.5rem}.workspace{gap:16px}.guide{display:block;padding:22px}.guide h2{margin-top:18px}.guide .chord{margin:18px 0}.guide .feedback{min-height:0}.practice-toolbar{padding:12px;font-size:0.75rem}#scene{padding:18px;min-height:300px}.window-body{padding:15px}.keyboard-zone{padding:16px}.keyboard-heading{display:block}.keyboard-heading span{display:block}.page-footer{align-items:start;flex-direction:column;gap:5px}.ref-row{flex-direction:column;align-items:start;gap:4px}.login-card{padding:28px}.quiz{padding:22px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.sheet{width:100%;border-collapse:collapse;font-size:0.875rem;margin:12px 0}.sheet th,.sheet td{border:1px solid #bdccda;padding:9px;text-align:center}.sheet th{background:#edf3f9}.cell-selected{outline:3px solid #246ce0;outline-offset:-3px;background:#e4efff}.zoom-text{margin-top:20px;line-height:1.9}.wide-crop{overflow:hidden}.wide-table{display:flex;width:185%;transition:transform .4s}.wide-table>div{flex:1;border:1px solid #ccd8e4;padding:15px 12px;white-space:nowrap;font-size:0.875rem}.wide-table strong{display:block;margin-top:10px}.desktop-taskbar{background:#233f59;color:white;text-align:center;border-radius:6px;padding:10px;font-size:0.8125rem}.capture-area{position:relative;background:#dce9f5;height:150px;touch-action:none;cursor:crosshair;overflow:hidden}.capture-content{padding:24px;font-size:1.3125rem}.capture-area>div:last-child{position:absolute;display:none;border:2px dashed #2563eb;background:#63a1ed33;pointer-events:none}.text-editor#target{min-height:85px}main{margin:0 auto}.login-wrap{max-width:none;margin:0}.mock-window mark{background:#ffe17e;color:#23374e}

/* Distinguish choosing an input from performing a keyboard shortcut. */
.transfer-source.is-current .text-editor{border:2px solid #3772cf;background:#fafdff}
.transfer-destination{margin-top:18px;padding:16px;border:2px solid #d8e3ee;border-radius:11px;background:#f7fafc}
.transfer-guide{margin-bottom:14px}.transfer-status{font-weight:800;font-size:.9375rem;color:#526b83}
.transfer-guide p{margin:5px 0 12px;color:#52677b;font-size:.8125rem}.transfer-guide p:last-child{margin-bottom:0}
.transfer-next{display:block;width:100%;min-height:48px;text-align:center;font-size:.9375rem!important;padding:11px 16px;margin-top:14px}
.transfer-next.secondary{border:1px solid #9eb2c8;background:#fff;color:#304e6a;box-shadow:none}
.transfer-next.secondary:hover{background:#eaf1f9;border-color:#527496}
.transfer-next.primary{box-shadow:0 3px 0 #0c3890}
.transfer-command{padding:12px 14px;border-radius:8px;background:#edf2f8;border-left:3px solid #98adc4}
.transfer-command-label{display:block;font-size:.75rem;font-weight:700;color:#536d89;margin-bottom:8px}
.transfer-chord{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#1b3c62}
.transfer-chord kbd{display:inline-block;min-width:46px;padding:5px 12px;border:1px solid #bdcbdb;border-bottom:3px solid #a2b5cb;border-radius:6px;background:white;font-family:inherit;font-size:1.125rem;font-weight:800;text-align:center}
.transfer-key-action{font-size:.875rem;font-weight:700}
.transfer-destination[data-stage=ready] .transfer-status,.transfer-destination[data-stage=complete] .transfer-status{color:#086947}
.transfer-destination[data-stage=complete]{border-color:#8ec6b2;background:#effaf5}
.transfer-destination[data-stage=active]{border-color:#1658cf;background:#eef5ff}
.transfer-destination[data-stage=active] .transfer-status{color:#124aa9}
.transfer-destination[data-stage=active] .transfer-command{background:#dceaff;border-color:#1658cf}
.transfer-destination[data-stage=active] .transfer-command-label{color:#124aa9}
.transfer-destination[data-stage=active] .text-editor{border:2px solid #1658cf;box-shadow:0 0 0 3px #1658cf16}
.transfer-destination .document-label{color:#304e6a;font-size:.8125rem}
.transfer-destination .text-editor,.transfer-source .text-editor{display:block}
.transfer-destination .text-editor::placeholder{font-size:.875rem;color:#697e91;opacity:1}
@media(max-width:750px){.transfer-destination{padding:12px}}
