:root{color-scheme:dark;--bg:#11171b;--panel:#1b242a;--gold:#efbb74;--muted:#a4b1ba;--border:#34434c;--fg:#f4f2ed;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#283239,#11171b 55%);color:var(--fg)}main{max-width:1280px;margin:auto;padding:0 36px 130px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{color:inherit;cursor:pointer;border:1px solid var(--border);background:#24313a;border-radius:14px;padding:11px 17px;transition:background .15s,box-shadow .15s}button:hover{background:#33434d}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:disabled{opacity:.38;cursor:default}h1,h2,h3,p{margin-top:0}h1{font-weight:500;font-size:29px;margin-bottom:10px}h2{font-size:23px;font-weight:500}p{line-height:1.6;color:var(--muted)}small{color:var(--muted);font-size:13px}a{color:#e9c48d;text-underline-offset:4px}header{height:86px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;font-size:16px;letter-spacing:.08em;font-weight:600}.brand img{width:40px;height:40px}.brand small{display:block;margin-top:5px;letter-spacing:0;font-weight:400;font-size:12px}.edition,.eyebrow{font-size:12px;letter-spacing:.13em;color:#cab18e}nav{display:flex;gap:8px;padding:0 0 15px;border-bottom:1px solid #303d45}nav button{background:none;border:0;border-radius:26px;display:flex;gap:10px;align-items:center;color:#a8b6bf}nav .selected{color:white;background:#2b3a43}.scene{border:1px solid #42494c;border-radius:26px;padding:22px 24px 12px;margin:23px 0;background:radial-gradient(ellipse at 60% 80%,#aa78362b,transparent 70%),linear-gradient(115deg,#222c32,#182025);box-shadow:0 10px 50px #0002}.scene-title{display:flex;justify-content:space-between;align-items:center}.scene-title h1{margin:8px 0 0;font-size:24px}.scene-title button{font-size:14px;border-radius:20px;background:#2b3437}.bell-stage{display:flex;flex-direction:row-reverse;justify-content:space-between;overflow-x:auto;gap:4px;padding:10px 0 6px;scrollbar-width:thin;scrollbar-color:#58636b transparent}.bell-pad{flex:1;min-width:56px;border:0;background:none;padding:7px 3px;border-radius:44% 44% 15px 15px;position:relative;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;user-select:none;-webkit-user-select:none}.bell-pad:hover{background:#bf965118}.bell-pad img{width:58px;height:64px;object-fit:contain;filter:sepia(.65) saturate(.8) brightness(1.15);mix-blend-mode:screen}.bell-pad .bell-icon{width:49px;height:63px;fill:url(#bronze);stroke:#eed3a3;stroke-width:1.1;filter:drop-shadow(0 4px 8px #000a)}.bell-pad strong{font-weight:500;font-size:13px;white-space:nowrap;margin-top:3px}.bell-pad small{font-size:12px;margin-bottom:6px}.bell-pad:after{content:"";width:21px;height:2px;border-radius:3px;background:var(--part,#a8b0d2);margin-top:9px;opacity:.5}.g0{--part:#efbb74}.g1{--part:#83cec5}.g2{--part:#abaaf1}.hit{background:#e7b56627!important;box-shadow:inset 0 0 23px #e6b46738}.hit .bell-icon{filter:drop-shadow(0 0 9px #e9b36099)}.hit .clapper{animation:clapper .14s ease-out}.stage-caption{display:flex;justify-content:space-between;color:#98a6ae;font-size:12px;padding-top:9px;border-top:1px solid #89939920}.toolbar,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:27px 0 18px}.toolbar h2{margin-bottom:5px}.toolbar p{font-size:14px;margin:0}.toolbar-actions{display:flex;gap:8px}.toolbar-actions button,select{font-size:14px}select,input:not([type=range]):not([type=file]):not([type=checkbox]){color:var(--fg);background:#172127;border:1px solid #45535b;border-radius:10px;padding:10px 12px;min-width:0;max-width:100%}select{width:100%;padding-right:25px}option{background:#172127}.parts{display:grid;gap:14px}.part{background:linear-gradient(110deg,#202b32,#182228);border:1px solid #34424b;box-shadow:inset 3px 0 var(--part);border-radius:22px;padding:17px 22px 13px}.part.muted{opacity:.57}.part-head{display:flex;align-items:center;justify-content:space-between}.part-head>div{display:flex;gap:13px;align-items:center}.part-head h2{font-size:21px;margin:0}.part-head .number{font-size:13px;color:var(--part)}.part-head small{font-size:13px}.switch{position:relative;width:41px;height:24px;appearance:none;border:0;border-radius:15px;background:#546069;cursor:pointer;margin:0}.switch:checked{background:var(--part)}.switch:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#111b20;top:3px;left:3px;transition:transform .2s}.switch:checked:after{transform:translateX(17px)}.part-body{display:grid;grid-template-columns:145px 1fr;gap:21px;align-items:center;margin:11px 0 0}.movement-button{background:none;border:0;padding:0;overflow:hidden}.movement-button img{width:145px;height:69px;border-radius:10px;object-fit:cover;filter:saturate(.7)}.movement-button small{display:block;font-size:12px;margin-top:6px}.movement-button svg{width:145px;height:69px;color:var(--part)}.movement-button .rope{stroke:#89a1af;fill:none;stroke-width:2}.movement-button .active{stroke:var(--part);stroke-width:4}.movement-button .grip{fill:#bcc9cf}.part-score{min-width:0}.part-score select{padding:7px 11px;font-size:14px;border-color:#4c575e;background:#182228}.staff{display:block;width:100%;min-height:82px;max-height:133px;overflow:visible;margin-top:5px;fill:var(--part)}.staff line{stroke:#60717b;stroke-width:.7}.staff .grid{stroke:#60717b33}.staff .bar{stroke:#778c9988}.staff .note path{stroke:var(--part);stroke-width:1.8;fill:none}.staff text{fill:#a9b8c1;font-size:11px}.staff .head{fill:var(--part);opacity:.75}.staff.editable{cursor:crosshair}.note[tabindex]{cursor:pointer}.note:focus{outline:2px solid white}.part-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:6px}.part-bottom>small{font-size:12px}.group-volume{display:flex;align-items:center;gap:9px;width:195px}.group-volume span{font-size:12px;color:#9fafba}.group-volume output{font-size:12px;color:var(--part);width:32px}.group-volume input{width:95px;flex:1}input[type=range]{accent-color:var(--part,var(--gold));height:22px;margin:0;cursor:pointer}.pagination{display:flex;justify-content:center;gap:15px;align-items:center;margin:20px 0;font-size:14px}.pagination button{background:none;border:0;padding:9px 13px}.tag{background:#c2985026;color:#e5c28c;border-radius:15px;padding:6px 10px;font-size:12px;display:inline-block}.take-strip{display:flex;justify-content:space-between;align-items:center;padding:12px 17px;margin-bottom:13px;background:#243843;border-radius:15px}.take-strip button{border:0;background:none;font-size:13px}.draft-note{font-size:14px}.reference{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 17px;border:1px solid #34434c;border-radius:16px;margin:14px 0}.reference span{font-size:14px}.reference audio{height:36px;width:min(350px,60%)}#transport{position:fixed;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:16px;background:#24333df2;backdrop-filter:blur(20px);padding:13px 18px;border:1px solid #6376818f;border-radius:26px;box-shadow:0 13px 40px #0008;z-index:20;width:min(800px,calc(100% - 26px))}.primary{background:var(--gold);color:#1c252b;font-weight:600;border-color:var(--gold)}.primary:hover{background:#f4ca8f}#play{height:51px;min-width:130px;border-radius:18px;font-size:17px}.record{color:#ee8983;border:0;background:none;font-size:24px;width:38px;padding:0}.record.active{animation:pulse 1s infinite}.tempo{display:flex;gap:15px;align-items:center;border-right:1px solid #4e616d;padding-right:17px}.tempo label{display:flex;flex-direction:column;min-width:65px}.tempo input[type=number]{width:76px;border:0!important;background:transparent!important;padding:0!important;font-size:24px}.tempo small{font-size:11px;white-space:nowrap}.tempo input[type=range]{width:104px}.master{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:3px;flex:1}.master input{width:100%;min-width:55px}.meter{height:29px;width:4px;background:#101b22;border-radius:3px;display:flex;align-items:flex-end;overflow:hidden}.meter i{background:#8fcdb7;width:100%;height:3px}.icon{border:0;background:none;font-size:25px;padding:5px 8px}.settings,.takes-page,.lessons-page,.about-page{margin-top:27px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px;margin:15px 0}.field select{min-height:42px}.help{font-size:14px;line-height:1.65}.bell-settings{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin:22px 0}.bell-setting{background:#1d2931;border:1px solid #384951;border-radius:20px;padding:14px}.bell-setting button{width:100%;border:0;background:none;display:flex;align-items:center;gap:10px;justify-content:center}.bell-setting svg{width:44px;height:57px;fill:var(--gold);stroke:#f2dcb3}.bell-setting strong{display:block;font-size:20px;font-weight:500}.bell-setting span{font-size:12px;color:#aebbc3}.bell-setting select{font-size:13px;margin-top:11px}.settings-foot{display:flex;align-items:center;gap:20px}.lavra-card{border:1px solid #5a6157;border-radius:24px;padding:28px;display:flex;gap:24px;align-items:center;background:radial-gradient(ellipse at 20% 10%,#ab873b24,transparent),#202b30}.lavra-mark{font-size:62px;color:var(--gold)}.lavra-card h2{margin:8px 0}.lavra-card p{font-size:14px;margin-bottom:13px}.lavra-card button{margin-left:auto;white-space:nowrap}.actions-panel{margin:25px 0}.actions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.subheading{margin-top:30px;font-size:21px}.saved-list{display:grid;gap:9px}.saved-row{display:flex;gap:10px;background:#202d35;border-radius:16px;padding:6px}.saved-main{flex:1;text-align:left;border:0;background:none;display:flex;gap:15px;align-items:center}.saved-main strong{font-weight:500;display:block}.saved-main small{display:block;margin-top:5px}.saved-row>.delete{background:none;border:0;color:#cf9c97}.empty-note{padding:25px;border:1px dashed #40525d;border-radius:17px}.preset-list{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.online{font-size:13px;white-space:nowrap;color:#a5b8c5}.lesson-feature{display:flex;align-items:center;width:100%;padding:40px;text-align:left;border-radius:27px;background:radial-gradient(ellipse at 80% 80%,#c5a36e33,transparent),#24333d;border:1px solid #4e5e67;gap:40px}.lesson-feature strong{display:block;font-size:32px;font-weight:500;line-height:1.3;margin:14px 0}.lesson-play{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#2c302a;font-size:30px}.lesson-list{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.lesson-list button{display:flex;gap:14px;text-align:left;align-items:center;background:#1c2a33;border-radius:16px;padding:17px;border:1px solid #344751}.lesson-list button.active{border-color:var(--gold)}.lesson-list strong{font-size:14px;font-weight:500;display:block}.lesson-list small{font-size:12px;display:block;margin-top:6px}.lesson-index{color:#d8b577;font-size:13px}.video-wrap{position:relative;aspect-ratio:16/9;border-radius:23px;overflow:hidden;background:black}.video-wrap iframe{width:100%;height:100%;border:0}.video-wrap button{position:absolute;right:6px;top:6px;background:#162630df}.custom-video{display:flex;gap:15px;align-items:center}.custom-video label{flex:1}.about-title{padding:30px 0;border-bottom:1px solid var(--border);margin-bottom:30px}.about-title h1{font-size:38px;margin-top:13px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px 50px}.about-grid p,.about-grid li{font-size:15px;line-height:1.7;color:#b2c0c9}.about-grid ul,.about-grid ol{padding-left:21px}.about-grid li{margin-bottom:10px}.source-list{list-style:none;padding:0!important}.source-list small{display:block}dialog{width:min(560px,calc(100% - 30px));max-height:90vh;color:var(--fg);background:#1a2730;border:1px solid #61747f;border-radius:24px;padding:30px;box-shadow:0 20px 100px #000a;overflow-y:auto}dialog::backdrop{background:#080e16b8;backdrop-filter:blur(5px)}dialog h2{padding-right:20px}dialog .dialog-close{position:absolute;right:12px;top:10px;padding:3px 10px;font-size:26px;border:0;background:none}dialog audio{width:100%}dialog button{margin:5px 2px}dialog p{font-size:14px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap}#message{margin-top:14px;padding:14px 18px;background:#294337;border:1px solid #648777;border-radius:15px;font-size:14px}#message.error{background:#522d31;border-color:#a16766}#busy{position:fixed;inset:auto 20px 115px auto;z-index:100;background:#324854;border:1px solid #75919f;box-shadow:0 15px 80px #0009;border-radius:20px;padding:19px 23px;display:flex;align-items:center;gap:15px;max-width:calc(100% - 40px)}#busy[hidden]{display:none}#busy strong{font-size:14px}#busy progress{width:100px;accent-color:var(--gold)}.spinner{width:20px;height:20px;border:2px solid #7b919b;border-top-color:var(--gold);border-radius:50%;animation:spin .8s linear infinite}.pending{font-size:12px;color:var(--gold);margin:4px 0;display:block}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.35}}@keyframes clapper{50%{transform:rotate(12deg);transform-origin:50% 40%}}@media(max-width:750px){main{padding:0 15px 126px}header{height:77px}.brand{font-size:12px;gap:8px}.brand small{font-size:10px;max-width:250px}.brand img{width:33px}.edition{display:none}nav{gap:0;justify-content:space-between}nav button{font-size:20px;flex-direction:column;gap:3px;padding:8px 9px}nav button span{font-size:11px}.scene{padding:18px 15px 12px;margin:18px 0}.scene-title h1{font-size:21px}.eyebrow{font-size:10px;line-height:1.6;display:block;max-width:240px}.scene-title button{padding:8px 10px;font-size:12px}.bell-stage{justify-content:flex-start;margin-top:9px;scroll-snap-type:x proximity}.bell-pad{min-width:61px;flex:none;scroll-snap-align:start}.stage-caption{font-size:10px;gap:10px}.toolbar,.section-heading{align-items:flex-start;flex-wrap:wrap;gap:12px;margin:21px 0 15px}.toolbar h2{font-size:21px}.toolbar p{font-size:12px}.toolbar-actions{width:100%;justify-content:space-between}.toolbar-actions select{width:150px}.toolbar-actions button{padding:8px 13px}.part{padding:15px 13px 12px;border-radius:20px}.part-head>div{gap:8px}.part-head h2{font-size:19px}.part-head small{font-size:11px}.part-body{grid-template-columns:79px 1fr;gap:11px;margin-top:13px}.movement-button img{width:79px;height:63px;object-fit:cover;object-position:center}.movement-button svg{width:79px;height:63px}.movement-button small{font-size:10px}.part-score select{font-size:12px;max-width:100%;padding:7px}.staff{min-height:85px;max-height:122px}.staff text{font-size:15px}.part-bottom{gap:8px}.part-bottom>small{font-size:10px;max-width:47%;line-height:1.5}.group-volume{width:145px;gap:5px}.group-volume span{display:none}.group-volume output{font-size:10px}.group-volume input{width:100px}.take-strip{font-size:12px;gap:8px}.take-strip button{font-size:11px;padding:3px}.draft-note{font-size:12px}.reference{flex-wrap:wrap;padding:12px}.reference audio{width:100%}.reference span{font-size:12px}#transport{gap:8px;padding:11px;border-radius:23px;bottom:max(10px,env(safe-area-inset-bottom))}#play{min-width:91px;padding:0 13px;height:47px;font-size:14px}.record{font-size:21px;width:26px}.tempo{gap:4px;padding-right:8px;flex:1}.tempo input[type=number]{width:52px;font-size:21px}.tempo small{font-size:9px}.tempo label{min-width:53px}.tempo input[type=range]{width:55px;flex:1}.master{font-size:9px;max-width:64px}.master input{min-width:35px}.meter{display:none}#transport>.icon{font-size:23px;padding:2px 5px}.bell-settings{grid-template-columns:repeat(3,1fr);gap:9px}.bell-setting{padding:10px 7px;border-radius:15px}.bell-setting button{flex-direction:column;gap:5px;padding:3px}.bell-setting strong{font-size:17px}.bell-setting select{font-size:11px;padding:7px 1px}.settings-foot{flex-direction:column;align-items:flex-start}.lavra-card{padding:22px;gap:15px;flex-wrap:wrap}.lavra-mark{font-size:35px}.lavra-card h2{font-size:22px}.lavra-card button{margin-left:0;width:100%}.lavra-card p{font-size:12px}.actions-grid{grid-template-columns:1fr 1fr}.actions-grid button{font-size:12px;padding:12px 7px}.lesson-list{grid-template-columns:1fr 1fr;gap:8px}.lesson-list button{padding:13px 10px;gap:8px}.lesson-list strong{font-size:12px}.lesson-list small{font-size:10px}.lesson-feature{padding:25px 20px;gap:21px}.lesson-feature strong{font-size:24px}.lesson-feature small{font-size:10px}.lesson-play{width:47px;height:47px;flex-shrink:0;font-size:22px}.custom-video{flex-direction:column;align-items:stretch}.custom-video label{margin-bottom:0}.about-title{padding-top:8px}.about-title h1{font-size:30px}.about-grid{grid-template-columns:1fr;gap:25px}.section-heading h1{font-size:26px}.pagination{font-size:12px;gap:3px}.pagination button{padding:8px}.two-fields{gap:10px}dialog{padding:26px 20px}#busy{left:15px;right:15px;bottom:100px;max-width:none;flex-wrap:wrap}#busy progress{width:100%}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
@media(max-width:750px){#transport{display:grid;grid-template-columns:90px 26px minmax(110px,1fr) 24px;gap:6px 7px;padding:10px}#play{grid-column:1;min-width:0;width:90px}.record{grid-column:2}.tempo{grid-column:3;min-width:0;border:0;padding:0}.tempo label{min-width:53px}.tempo input[type=range]{width:44px;min-width:0}.master{grid-column:1 / -1;grid-row:2;max-width:none;flex-direction:row;align-items:center;font-size:12px;gap:15px}.master input{flex:1;min-width:0}.icon{grid-column:4;grid-row:1}main{padding-bottom:154px}.nav button span{font-size:12px}.brand small,.eyebrow,.stage-caption,.part-head small,.movement-button small,.part-bottom>small,.group-volume output,.bell-setting select,.lesson-feature small,.lesson-list small,.tempo small{font-size:12px}.brand small{font-size:11px}.tempo small{font-size:10px}.part-bottom>small{line-height:1.3}.stage-caption{font-size:11px}}
/* The instrument stays central; catalogues share its bronze, turquoise and violet voices. */
nav{overflow-x:auto;scrollbar-width:thin}nav button{flex-shrink:0}.brand small{font-size:14px;line-height:1.4}.edition{white-space:nowrap;margin-left:18px}.bell-slot{flex:1;min-width:56px;display:flex;flex-direction:column;align-items:center;transition:opacity .2s,filter .2s}.bell-slot .bell-pad{width:100%;min-width:0;flex:none}.bell-slot.active .bell-icon{filter:drop-shadow(0 0 9px #e8b26333)}.bell-slot.inactive .bell-pad{opacity:.27;filter:grayscale(1)}.bell-slot .bell-toggle{width:44px;min-height:36px;padding:2px;border:1px solid #816b49;border-radius:18px;background:#c0974e20;color:#f8d194;font-size:16px;margin:5px 0}.bell-slot.inactive .bell-toggle{background:transparent;border-color:#566168;color:#a4b1ba}.bell-slot .bell-toggle:hover{background:#ddac5340}.stage-caption{font-size:12px;line-height:1.5;gap:15px}.study-repertoire{margin:18px 0;background:#1b2a32;border:1px solid #3a505b;border-radius:20px;padding:18px 22px}.study-repertoire>.field{margin:14px 0 8px}.study-repertoire>.help{margin-bottom:0}.study-counts{display:flex;gap:20px;flex-wrap:wrap}.study-counts label{display:flex;gap:10px;align-items:center;font-size:14px}.study-counts select{width:76px}.text-button{background:none;border:0;color:var(--gold);padding:0 4px;text-decoration:underline;font-size:14px}.repertoire-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:25px 0}.repertoire-card{display:flex;flex-direction:column;padding:22px;background:linear-gradient(145deg,#26343d,#18232a);border:1px solid #41515b;border-radius:22px;box-shadow:inset 0 2px #b891532b}.repertoire-card h2{font-size:21px;line-height:1.35;margin:14px 0 12px}.repertoire-card p{font-size:14px}.repertoire-buttons{display:flex;flex-direction:column;gap:9px;margin-top:auto}.repertoire-buttons button{font-size:14px}.serious-feature{padding:24px;gap:28px;background:linear-gradient(115deg,#283c48,#1e2c33 65%,#4f422a);overflow:hidden}.serious-feature>img{width:212px;height:161px;object-fit:contain;border-radius:12px;box-shadow:0 10px 35px #0004}.serious-feature .lesson-play{margin-left:auto;flex-shrink:0}.serious-feature strong{font-size:30px}.media-tools{margin-top:25px}.media-tabs{display:flex;flex-wrap:wrap;gap:9px}.media-tabs button{border-radius:24px;font-size:14px;display:flex;gap:10px;align-items:center}.media-tabs button[aria-pressed=true]{background:#e4b778;color:#1b272e;border-color:#e4b778}.media-tabs button[aria-pressed=true] small{color:#39444a}.media-tools>.field{max-width:550px}.lesson-list button{min-height:92px;transition:border-color .2s,background .2s}.lesson-list button:hover{border-color:#a28a66;background:#273944}.lesson-list strong{font-size:16px;line-height:1.4}.lesson-list small{font-size:13px;line-height:1.5}.lesson-index{flex-shrink:0}.play-small{margin-left:auto;color:#d7b07b}.video-caption{display:flex;justify-content:space-between;gap:18px;margin:20px 0;align-items:start}.video-caption h2{font-size:22px;margin-bottom:8px}.video-caption a{flex-shrink:0;font-size:14px}.reading-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:35px}.reading-card{background:#1d2a32;border:1px solid #3a4b55;border-radius:20px;padding:24px}.reading-card h3{font-size:22px;font-weight:500;margin:13px 0;line-height:1.35}.reading-card p{font-size:16px}.reading-card button{font-size:14px}.original-splash{width:100%;height:auto;display:block;border-radius:15px}.heritage{max-width:570px}.credits{font-size:14px;line-height:1.6;margin-top:22px}.credits dt{color:var(--muted);margin-top:10px}.credits dd{margin:2px 0;color:var(--fg)}.about-grid p,.about-grid li{font-size:16px}.reader p{font-size:16px;line-height:1.75}.reader .help{font-size:13px}.source-button{display:inline-block;margin:15px 10px 5px 0}.audio-links{display:grid;gap:8px}.audio-links button{text-align:left}.contact-links{border-top:1px solid #44545d;padding:26px 0;display:flex;gap:14px 26px;flex-wrap:wrap;align-items:center;margin-top:30px;font-size:15px}.contact-links strong{width:100%;font-weight:500}.actions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.actions-grid button{min-height:48px}#tempo{font-variant-numeric:tabular-nums}
@media(max-width:980px){.repertoire-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lesson-list{grid-template-columns:repeat(2,minmax(0,1fr))}nav{gap:0}nav button{padding-left:12px;padding-right:12px}.brand small{font-size:13px}}
@media(max-width:750px){header{height:auto;min-height:82px;padding:14px 0}.brand{line-height:1.4}.brand small{font-size:12px;max-width:290px}.edition{display:block;font-size:10px;max-width:52px;white-space:normal;text-align:right;margin-left:8px}nav{justify-content:flex-start;gap:5px;padding-bottom:12px}nav button{min-width:78px;font-size:19px;padding:8px}nav button span{font-size:12px}.bell-slot{min-width:61px;flex:none;scroll-snap-align:start}.bell-slot .bell-toggle{min-height:44px;width:44px}.study-repertoire{padding:16px}.study-counts{gap:10px;justify-content:space-between}.study-counts label{font-size:13px;flex-direction:column;gap:5px}.study-counts select{width:72px}.study-repertoire select{font-size:14px}.repertoire-card{padding:20px}.repertoire-card h2{font-size:20px}.serious-feature{gap:16px;padding:20px;flex-wrap:wrap}.serious-feature>img{width:112px;height:95px}.serious-feature strong{font-size:22px;margin:8px 0}.serious-feature .lesson-play{width:44px;height:44px}.serious-feature>span:nth-child(2){flex:1;min-width:170px}.serious-feature .lesson-play{display:none}.media-tabs{gap:7px}.media-tabs button{font-size:14px;line-height:1.35}.lesson-list strong{font-size:15px}.lesson-list small{font-size:12px}.lesson-list button{padding:16px 12px}.reading-grid{grid-template-columns:1fr}.reading-card{padding:21px}.reading-card .eyebrow{max-width:none}.reading-card h3{font-size:22px}.video-caption{flex-direction:column}.actions-grid{grid-template-columns:1fr 1fr}.actions-grid button{font-size:14px}.section-heading p{font-size:16px}.stage-caption{font-size:12px;flex-wrap:wrap}.toolbar p{font-size:14px}.part-score select{font-size:14px}.part-head small{font-size:12px}.bell-setting select{font-size:13px}.contact-links{display:grid;font-size:15px}.brand>span{max-width:280px}.about-title h1{font-size:30px}.help{font-size:14px}.eyebrow{font-size:12px}.empty-note{font-size:16px}}
@media(max-width:520px){.repertoire-grid,.lesson-list{grid-template-columns:1fr}.lesson-list button{min-height:82px}.reading-grid{gap:14px}}
/* Targeted additions; the original instrument and colour scheme stay intact. */
.language-picker{display:flex;gap:8px;align-items:center;margin-left:auto;font-size:14px}.language-picker select{max-width:156px;font-size:14px}.language-picker>span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.bell-pad kbd{font:11px Consolas,monospace;color:#b8c6cb;margin-top:5px}#transport{flex-wrap:wrap;width:min(900px,calc(100% - 26px))}#stopPlayback{border:0;background:none;padding:8px;font-size:18px}.seek-row{width:100%;display:flex;gap:12px;align-items:center;border-top:1px solid #52636a77;padding-top:8px}.seek-row input{flex:1;min-width:50px}.seek-row button{padding:5px 10px;font-size:13px;border-radius:10px}.seek-row output{font-size:13px;font-variant-numeric:tabular-nums;min-width:34px;text-align:center}.narration-player{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 20px;margin:18px 0 26px;background:#21313b;border:1px solid #495c67;border-radius:18px}.narration-player strong,.narration-player small{display:block}.narration-player audio{width:min(400px,55%);height:42px}.narration-player small{margin-top:5px}.lesson-text{max-width:850px;margin:24px 0}.lesson-text p{font-size:17px;line-height:1.8}.lesson-figures{display:flex;gap:20px;flex-wrap:wrap;margin:22px 0}.lesson-figures figure{margin:0;flex:1;min-width:150px;max-width:240px}.lesson-figures img{width:100%;height:110px;object-fit:contain;border-radius:12px}.lesson-figures figcaption{text-align:center;font-size:13px;color:var(--muted)}.practical-lessons,.playlist-controls,.history-downloads{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.view-controls{font-size:14px;border:1px solid #394b56;border-radius:14px;padding:14px;margin:18px 0}.view-controls summary{cursor:pointer}.view-controls>div{display:flex;gap:15px;flex-wrap:wrap;margin-top:14px}.view-controls label{display:flex;gap:8px;align-items:center}.hide-bells .scene,.hide-movement .movement-button,.hide-parts .parts{display:none}.hide-movement .part-body{grid-template-columns:1fr}.compact-score .note path{display:none}.history-downloads a{display:block;padding:12px;border:1px solid #50616c;border-radius:12px}#printScore{display:none}html[dir=rtl] .bell-stage{direction:ltr}.brand{flex-shrink:1}main{padding-bottom:190px}
@media(max-width:750px){#transport{grid-template-columns:76px 24px 26px minmax(100px,1fr) 24px;width:calc(100% - 20px);padding:9px;gap:7px}#play{width:76px;padding:0 5px}#stopPlayback{grid-column:2;grid-row:1;padding:3px}.record{grid-column:3}.tempo{grid-column:4}.master{grid-row:2}#transport>.icon{grid-column:5}.seek-row{grid-column:1/-1;grid-row:3;gap:6px;padding-top:6px}.seek-row button{font-size:12px}.language-picker select{max-width:108px;font-size:12px;padding:7px}.edition{display:none}.narration-player{flex-direction:column;align-items:stretch;padding:16px}.narration-player audio{width:100%}.lesson-text p{font-size:16px}.lesson-figures{gap:10px}.lesson-figures figure{min-width:120px}.pagination{flex-wrap:wrap}main{padding-bottom:210px}}
@media print{body{background:white!important;color:black!important}main>*:not(#printScore){display:none!important}main{padding:0!important;max-width:none!important}#printScore{display:block!important}#printScore .print-page{break-after:page;padding:12mm}#printScore h1,#printScore h2,#printScore p{color:black}#printScore .staff{width:100%;height:50mm;max-height:none;fill:black!important}#printScore .staff .note path{stroke:black!important}#printScore .staff line{stroke:#555!important}#printScore .staff text{fill:black!important}#printScore .staff .head{display:none!important}}

.source-language{margin:8px 0 16px;color:var(--muted);font-size:12px}
/* September instrument tools: compact controls, unchanged bell stage. */
nav{overflow-x:auto;justify-content:flex-start}.toolbar-actions{flex-wrap:wrap}.toolbar-actions select{max-width:185px}.random-button{display:inline-flex;align-items:center;gap:7px;font-size:13px;padding:8px 12px;border-radius:20px;white-space:nowrap}.random-button>span{font-size:24px;line-height:1}.random-button.active{border-color:#eeb96f;color:#f7cf92;box-shadow:0 0 16px #e3ac5426}.random-button.active>span{animation:random-breathe 3s ease-in-out infinite}@keyframes random-breathe{50%{transform:rotate(12deg);color:#fff0ca}}.editor-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0;color:var(--muted);font-size:14px}.editor-tools>span{flex:1}.editable .note{cursor:grab;touch-action:none}.editable .note.dragging{cursor:grabbing}.note.selected-note ellipse{stroke:white;stroke-width:2}.musical-staff .clef{font-family:'Segoe UI Symbol','Noto Music',serif;fill:currentColor}.musical-staff .accidental{fill:currentColor}.musical-staff{min-height:150px}.harmony-scroll{overflow:auto;max-height:53vh}.harmony-table{width:100%;border-collapse:collapse;font-size:14px}.harmony-table th,.harmony-table td{padding:8px;border-bottom:1px solid #52616d;text-align:left;white-space:nowrap}.harmony-table input{width:95px}.study-links{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.help-sections{display:grid;gap:24px;max-width:1000px}.help-sections article{padding:24px;border:1px solid #435660;border-radius:20px;background:#1c282f}.help-sections p{font-size:16px;line-height:1.7}.help-sections figure{margin:22px 0 0}.help-sections img{width:100%;border-radius:12px}.help-sections figcaption{font-size:14px;color:var(--muted);margin-top:10px}.help-page h1,.poems-page h1{font-size:clamp(28px,4vw,44px)}.poem-index{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0}.poem-index a{border:1px solid #53636b;padding:8px 12px;border-radius:20px;font-size:14px}.poem{scroll-margin-top:20px;padding:35px 0 42px;border-bottom:1px solid #45545e;max-width:900px}.poem h2{font-family:Georgia,serif;font-size:32px}.poem p{font-family:Georgia,serif;line-height:1.65;font-size:19px;margin:22px 0}.poem-links{display:flex;flex-wrap:wrap;gap:20px;font-size:14px}.movement-button img[src*="./l"]{background:#f9f8f2;object-fit:contain;image-rendering:auto}.narration-player{position:relative}#sensitivity{width:100%}#sensitivityValue{float:right}#quantizeFragment[hidden]{display:none}.source-language{font-size:13px}
@media(max-width:750px){.toolbar-actions select{max-width:158px}.random-button{font-size:12px}.editor-tools>span{flex-basis:100%}.help-sections article{padding:18px}.poem p{font-size:17px}.poem h2{font-size:28px}.study-links button{font-size:14px}.musical-staff{min-height:120px}}
@media(prefers-reduced-motion:reduce){.random-button.active>span{animation:none}}

@font-face{font-family:'Noto Music';src:url('./vendor/NotoMusic-Regular.ttf') format('truetype');font-display:swap}.musical-staff .clef{font-family:'Noto Music','Segoe UI Symbol',serif}
.random-cycle{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:13px;white-space:nowrap}.random-cycle input{accent-color:var(--gold);width:16px;height:16px}.poem-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.poem-card{margin:0;padding:26px;border:1px solid #41515b;border-radius:16px;background:#1b252c}.poem-card h2{margin:10px 0 16px}.poem-card h2 button{background:none;border:0;border-radius:0;padding:0;text-align:left;color:var(--fg);font-family:Georgia,serif;font-size:25px}.poem-card p{font-family:Georgia,serif;font-size:16px;line-height:1.65}.poem-open{font-size:14px;background:transparent}.poetry-dialog{color-scheme:light;background:#fff;color:#171717;border:1px solid #d6d6d6;width:min(840px,calc(100vw - 28px));max-width:840px;padding:42px 50px}.poetry-dialog #closeDialog{color:#222;background:#fff;border:1px solid #ddd;position:sticky;float:right;top:0;z-index:2}.poem-sheet{max-width:680px;margin:0 auto}.poem-author{font-size:14px;color:#666}.poem-sheet h2{font:normal 32px/1.2 Georgia,serif;margin:15px 0 36px;color:#111}.poem-sheet .stanza{font:normal 19px/1.65 Georgia,serif;color:#141414;margin:0 0 1.65em;white-space:normal}.poem-sheet .poem-dedication{font:italic 16px/1.6 Georgia,serif;color:#444;margin-bottom:28px}.poem-sheet .poem-endnote{font-size:14px;color:#666;margin-top:28px}.poem-sheet .poem-links{border-top:1px solid #ddd;padding-top:22px;margin-top:32px;display:flex;flex-wrap:wrap;gap:15px}.poem-sheet a{color:#285b7c;font-size:14px}.harmony-dialog{width:min(1000px,calc(100vw - 30px));max-width:1000px}.harmony-table td:nth-child(2){white-space:normal;min-width:125px}.harmony-table td small{display:block}.harmony-table th{font-size:13px;white-space:normal}.harmony-table input{width:90px}@media(max-width:700px){.poem-catalog{grid-template-columns:1fr}.poetry-dialog{padding:24px 22px}.poem-sheet h2{font-size:27px}.poem-sheet .stanza{font-size:17px;line-height:1.7}.poem-card{padding:22px}.random-cycle{font-size:12px}}
.musical-staff .clef-outline{fill:currentColor;stroke:none}.musical-staff .accidental{font:20px 'Noto Music','Segoe UI Symbol',serif;fill:currentColor}.musical-staff .ottava text{font:italic 13px Georgia,serif;fill:currentColor}.musical-staff .ottava path{fill:none;stroke:currentColor;stroke-dasharray:4 3;stroke-width:.8}.staff .note .hollow{fill:var(--panel);stroke:currentColor;stroke-width:1.6}.musical-staff .note path{stroke-width:1.5}@media print{.staff .note .hollow{fill:white!important;stroke:black!important}.clef-outline{fill:black!important}.ottava path{stroke:black!important}}

/* Release 3.1: factory branding and custom bell sets. */
header{flex-wrap:wrap;gap:16px}.factory-badge{display:flex;align-items:center;gap:10px;margin-left:auto;color:#e4bf7f;text-decoration:none;min-width:0}.factory-badge img{width:56px;height:37px;object-fit:contain;border-radius:3px}.factory-badge span{font-size:20px;font-weight:700}.factory-badge small{display:block;font-size:12px;font-weight:400;color:#b7b9b8}.factory-badge:hover{text-decoration:underline}.pattern-choice{width:100%;text-align:left;white-space:normal}.pattern-list{display:grid;gap:8px;max-height:60vh;overflow:auto}.pattern-list button{text-align:left}.pattern-list button[aria-pressed=true]{border-color:#d5ad70;background:#3b3328}.custom-bell-settings{display:grid;gap:10px}.custom-bell-setting{display:grid;grid-template-columns:minmax(160px,1fr) 150px auto;align-items:center;gap:12px;padding:14px;background:#192127;border:1px solid #354149;border-radius:9px}.custom-bell-setting>button{text-align:left;min-width:0;overflow-wrap:anywhere}.custom-bell-setting small{display:block;margin-top:6px;color:#a8b1b5;font-size:13px}.custom-bell-setting>div{display:flex;gap:6px;flex-wrap:wrap}.custom-bell-setting select{max-width:100%}.set-actions,.trim-nudge{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}#sampleWave{width:100%;height:150px;border:1px solid #4a5154;border-radius:6px}#dialogBody .dialog-error{padding:14px;background:#612c28;color:#fff;border-radius:5px;position:sticky;top:0;z-index:1}#dialogBody input[type=number]{min-width:0;width:100%}.factory-page{max-width:1000px;margin:0 auto;padding:32px 0}.factory-large-logo{width:100px;height:65px;object-fit:contain;display:block;margin-bottom:25px}.factory-page h1{font-size:clamp(30px,5vw,52px);line-height:1.18;letter-spacing:-.025em;margin:18px 0}.factory-lead{font-size:clamp(20px,3vw,28px);max-width:700px;color:#e3c99d;line-height:1.5}.factory-services{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:30px 0}.factory-services .factory-service{background:#1c252c;border:1px solid #465059;padding:26px;border-radius:10px}.factory-services h2{font-size:22px}.factory-services p{font-size:16px;line-height:1.65}.factory-contacts{display:flex;flex-wrap:wrap;gap:18px 30px;padding:22px 0}.factory-contacts a{font-size:22px;font-weight:600;color:#e4bf7f}.bell-pad strong{max-width:95px;overflow-wrap:anywhere}.bell-stage{overflow-x:auto}.bell-slot{flex-shrink:0}
@media(max-width:700px){.factory-badge{order:3;width:100%;margin-left:0;padding-top:10px;border-top:1px solid #39424a}.factory-badge span{font-size:20px}.custom-bell-setting{grid-template-columns:minmax(0,1fr) 125px;padding:12px}.custom-bell-setting>div{grid-column:1/-1}.factory-services{grid-template-columns:1fr}.factory-page{padding:18px 0}.factory-contacts{flex-direction:column}.two-fields{min-width:0}.factory-badge small{font-size:13px}}

/* Keep the stage in left-to-right pitch order and restore scroll after changes. */
.bell-stage{flex-direction:row;direction:ltr;scroll-snap-type:none}
#zoomToggle{white-space:nowrap;min-width:64px}
body.scale-75 main{max-width:1706px}
.my-set{margin:18px 0;padding:14px;border:1px solid #3c4d57;border-radius:12px}
.my-set summary{cursor:pointer;font-size:16px}
.my-set .set-actions{margin:14px 0;display:flex;flex-wrap:wrap;gap:8px}
.my-set .preset-list>span{display:inline-flex;gap:3px}
@media print{body{zoom:1!important}}

.study-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.study-controls .field{margin:0;display:flex;flex-direction:column;gap:9px}.study-controls select{width:100%;min-width:0}.study-controls .help{margin:10px 0 0;font-size:13px;line-height:1.5}@media(max-width:900px){.study-controls{grid-template-columns:1fr;gap:16px}}

.factory-service{color:inherit;text-decoration:none;display:block}.factory-service:hover,.factory-service:focus-visible{border-color:var(--gold);background:#28343c}.staff .head{transition:none!important}.musical-staff .beam{fill:currentColor;stroke:none}.musical-staff .stem{stroke:currentColor;stroke-width:1.5;fill:none}.musical-staff .time-signature text{font:bold 28px Georgia,serif;fill:currentColor;text-anchor:middle}.musical-staff .rest{fill:currentColor;stroke:none}

.musical-staff{color:var(--part)}@media print{.musical-staff{color:#000!important}.musical-staff .stem{stroke:#000!important}}

/* Independent group views and sound rows. */
.scene-title{gap:16px;flex-wrap:wrap}.scene-bank{display:grid;gap:5px;font-size:12px;color:var(--gold);margin-left:auto;min-width:220px}.bank-picker{border:2px solid #d9a35b!important;background:#302a20!important;font-weight:600}.technique-view{min-width:0;display:grid;gap:8px}.technique-view select{font-size:12px;padding:7px 20px 7px 8px}.technique-view .movement-button{width:100%}.part-bottom{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.part-bottom>small{flex:1 1 260px;min-width:0}.part-edit{display:flex;gap:7px;align-items:center}.part-edit select{width:auto;max-width:165px}.part-edit button{white-space:nowrap;font-size:13px;padding:8px 12px}.group-volume{margin-left:auto}.sound-row-switch{display:flex;gap:8px;margin:0 0 17px;flex-wrap:wrap}.sound-row-switch [aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#332c23}.repertoire-card>button{margin:4px 5px 4px 0}.repertoire-requirements{display:block;margin-top:7px}.page-history{display:flex;gap:5px}.page-history button{padding:7px 10px;border-radius:9px}.musical-staff .tie{fill:none;stroke:currentColor;stroke-width:1.3}.current-take{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
@media(max-width:700px){.scene-bank{order:3;width:100%;margin:0}.part-edit{flex:1 1 auto}.part-bottom>small{flex-basis:100%}.page-history{margin-left:auto}.technique-view select{font-size:11px;padding:6px 3px}.part-body{grid-template-columns:105px minmax(0,1fr);gap:12px}.movement-button img,.movement-button svg{max-width:100%}.group-volume{flex:1 1 180px}}
@media print{.part-edit,.technique-view select,.page-history,.sound-row-switch,.scene-bank{display:none!important}}

.hide-movement .technique-view{display:none}.repertoire-choices{display:flex;gap:6px;margin-top:auto}.repertoire-choices button{flex:1;min-width:0;font-size:13px;padding:9px 8px}.part-bottom>small{max-width:none}

/* Explanatory note beside the score selectors, also reachable by keyboard. */
.notation-info { flex:0 0 auto; min-width:36px; min-height:36px; padding:5px 9px; color:#efd1a4; border-color:#b9925d; font-size:20px; line-height:1; }
.notation-info:focus-visible { outline:2px solid #efd1a4; outline-offset:3px; }
#dialog.notation-dialog { width:min(520px, calc(100vw - 32px)); }
.notation-dialog p { font-size:16px; line-height:1.55; }

.notation-picker { display:inline-flex; align-items:center; gap:6px; max-width:100%; }
.notation-picker select { min-width:0; }
.part-edit { flex-wrap:wrap; }

/* 2026-10-08: clear recording state, article reader and unbroken factory line. */
.record-status{color:#ff8585;font-size:14px;font-weight:600;white-space:nowrap}.record-status[hidden]{display:none}.factory-lead{font-size:clamp(16px,1.75vw,23px);max-width:none!important;white-space:nowrap}@media(max-width:750px){.factory-lead{white-space:normal;text-wrap:balance}.record-status{font-size:12px}}.kuranty-dialog{width:min(980px,calc(100vw - 28px));max-width:980px;background:#fff;color:#20272d;line-height:1.75}.kuranty-dialog #closeDialog{color:#20272d;background:#fff;border-color:#aab4bc;position:sticky;top:0;z-index:2}.kuranty-dialog a{color:#225875}.kuranty-dialog p{font-size:17px}.kuranty-dialog h2{font:normal 30px/1.3 Georgia,serif}.kuranty-dialog h3{font:normal 24px/1.4 Georgia,serif;margin-top:1.6em}.kuranty-dialog img{max-width:100%;height:auto}.kuranty-dialog figure{margin:24px 0}.kuranty-dialog figcaption{font-size:14px;color:#495963}.kuranty-dialog .sources{font-size:14px}.kuranty-dialog .article-meta{font-size:14px;color:#495963}.kuranty-dialog .article-links{display:flex;flex-wrap:wrap;gap:10px 24px}.kuranty-dialog .score-long{max-height:none}.kuranty-link{display:flex;align-items:center;gap:8px}.repertoire-card h2 .notation-info{vertical-align:middle}#randomNow{font-size:14px}#randomState{font-size:13px;animation:none}

/* The note and the bell receive the same audio-output strike, not a UI timer. */
.note.sounding-note ellipse{fill:#c33e28;stroke:#c33e28;stroke-width:2}
.note.sounding-note{color:#c33e28}
.note[data-attack="false"]{opacity:.55}
.article-citation{font:12px/1.2 system-ui,sans-serif;vertical-align:super;white-space:nowrap}
.article-citation a{padding:0 2px}
