:root{--bg: #f5f4f0;--surface: #ffffff;--well: #eae8e2;--border: #dad7cf;--text-primary: #1f2937;--text-secondary: #6b7280;--accent: #1f2937;--on-accent: #ffffff;--paper: #ffffff;--ink: #1a1a1a;--sheet-shadow: #1f29372e;--control-border: #8f8b82;--focus: #2563eb;--radius: 8px;color-scheme:light dark;font-family:Noto Sans JP,system-ui,sans-serif;line-height:1.6}@media(prefers-color-scheme:dark){:root{--bg: #121212;--surface: #1c1c1e;--well: #0b0b0c;--border: #3a3a3c;--text-primary: #e5e7eb;--text-secondary: #9ca3af;--accent: #e5e7eb;--on-accent: #111827;--paper: #f4f4f2;--sheet-shadow: #00000099;--control-border: #6e6e73;--focus: #93c5fd}}*{box-sizing:border-box}body{display:flex;flex-direction:column;min-height:100dvh;margin:0;background:var(--bg);color:var(--text-primary)}.header{display:flex;align-items:center;gap:10px;padding:14px 20px;background:var(--surface);border-bottom:1px solid var(--border)}.brand{display:flex;flex-direction:column}.brand h1{margin:0;font-size:17px}.brand p{margin:0;font-size:12px;color:var(--text-secondary)}.app{display:flex;flex:1;flex-direction:column;gap:20px;min-height:0;padding:16px 20px 0}.settings{display:contents}.field{min-width:0;margin:0;padding:0;border:0}.field legend{margin-bottom:10px;padding:0;font-size:14px;font-weight:700}.options{display:grid;gap:8px}.options--pair{grid-template-columns:repeat(2,1fr)}.options--layout{grid-template-columns:repeat(3,1fr)}.option{position:relative;display:flex;align-items:center;justify-content:center;height:40px;border:1px solid var(--control-border);border-radius:var(--radius);background:var(--surface);font-size:15px;cursor:pointer}.option--wide{grid-column:1 / -1}.option input{position:absolute;opacity:0;pointer-events:none}.option:has(input:checked){border-color:var(--accent);background:var(--accent);color:var(--on-accent);font-weight:700}@media(forced-colors:active){.option:has(input:checked){border-width:3px}.button{border:1px solid ButtonBorder}}.option:has(input:focus-visible){border-color:var(--focus);box-shadow:0 0 0 1px var(--focus)}.download{position:sticky;bottom:0;display:flex;flex-direction:column;align-items:center;gap:10px;margin:auto -20px 0;padding:12px 20px 20px;background:var(--surface);border-top:1px solid var(--border)}.button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:48px;border:0;border-radius:var(--radius);background:var(--accent);color:var(--on-accent);font:inherit;font-size:16px;font-weight:700;cursor:pointer}.button:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.preview{display:flex;flex-direction:column;align-items:center;gap:16px;order:-1;margin:0}.well{display:flex;align-items:center;justify-content:center;width:100%;height:340px;padding:18px 16px;background:var(--well);border-radius:12px;container-type:size}.sheet{display:block;width:min(100cqw,100cqh * var(--sheet-width) / var(--sheet-height));aspect-ratio:var(--sheet-width) / var(--sheet-height);background:var(--paper);box-shadow:0 6px 20px var(--sheet-shadow)}.sheet .staves{fill:none;stroke:var(--ink);stroke-width:.8;vector-effect:non-scaling-stroke}.sheet .braces{fill:var(--ink)}.summary{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(min-width:768px){body{height:100dvh}.header{gap:12px;height:64px;padding:0 32px}.brand{flex-direction:row;align-items:baseline;gap:12px}.brand h1{font-size:18px}.brand p{font-size:14px}.app{display:grid;grid-template-columns:360px 1fr;gap:0;padding:0}.settings{display:flex;flex-direction:column;gap:28px;overflow-y:auto;padding:32px;background:var(--surface);border-right:1px solid var(--border)}.option{height:44px}.download{position:static;margin:0;padding:0;background:none;border:0}.preview{justify-content:center;order:0;min-height:0;padding:40px}.well{flex:1;height:auto;min-height:0;padding:0;background:none;border-radius:0}.summary{position:static;width:auto;height:auto;clip-path:none;font-size:13px;color:var(--text-secondary)}}
