:root{color-scheme:light;--paper:#f6f5ef;--white:#fffefa;--ink:#30382e;--muted:#76796e;--line:#e0e2d7;--green:#3f5139;--lime:#dcecbd;--orange:#bf6144;--soprano:#996c58;--alto:#7c7852;--tenor:#536a48;--bass:#64728a;font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink)}button,input,label,a{-webkit-tap-highlight-color:transparent}button,a,input{touch-action:manipulation}button,input{font:inherit}button,a{color:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:4px}input[type=radio]:focus-visible+span{outline:3px solid var(--orange);outline-offset:3px}button{border:0;background:none}h1,h2,h3,p{margin:0}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-weight:600;font-size:15px;padding:0}em{font-family:Georgia,'Times New Roman',serif;font-weight:400}.shell{width:min(1180px,calc(100% - 96px));margin-inline:auto}.site-header{height:104px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;font-size:24px;letter-spacing:-1px;font-weight:700}.brand>span:not(.version){font-weight:400}.brand svg{width:31px;height:33px;stroke:var(--green);stroke-width:3.1;stroke-linecap:round;fill:none;margin-right:11px}.brand .version{font-size:8px;font-weight:600;letter-spacing:1.4px;margin:4px 0 0 15px;border:1px solid #cdd3c1;border-radius:4px;padding:3px 5px;color:var(--muted)}.header-end{display:flex;align-items:center;gap:32px}.local-note{font-size:11px;letter-spacing:.1px;color:var(--muted);display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:#8a9a74;display:inline-block;flex-shrink:0}.text-button{font-size:12px;padding:8px 0}.text-button span{margin-left:12px}.intro{padding:48px 0 32px;display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.6px;display:flex;align-items:center;gap:9px;color:var(--muted)}.tiny-line{display:inline-block;width:22px;height:1px;background:var(--orange)}h1{font-size:clamp(32px,3.8vw,47px);letter-spacing:-1.6px;font-weight:400;line-height:1.2;margin:12px 0 13px}h1 em{color:var(--green)}.intro-copy{font-size:13px;color:var(--muted)}.intro-index{font:italic 23px Georgia,serif;letter-spacing:7px;text-align:right;color:#7c856c;padding-top:9px}.intro-index>span{color:#b4baa9;letter-spacing:2px}.intro-index small{font:10px Arial,sans-serif;letter-spacing:.5px;color:var(--muted)}.song-card{background:#eeeede;min-height:139px;border:1px solid #e2e4d4;border-radius:12px;display:flex;align-items:center;position:relative;overflow:hidden;padding:19px 28px;gap:27px}.song-art{background:#dedfcb;width:96px;height:96px;flex-shrink:0;border-radius:7px;overflow:hidden}.song-art svg{width:100%;height:100%;fill:#6a7657}.song-art .staff{stroke:#b7bea8;stroke-width:.8;fill:none}.song-art .note-stem{stroke:#6a7657;stroke-width:2.5;fill:none}.song-description h2{font:32px Georgia,'Times New Roman',serif;letter-spacing:-.7px;margin:5px 0}.song-description>p:not(.eyebrow){font-size:12px;color:#777b6b}.piece-tag{font-size:7px;letter-spacing:.9px;border:1px solid #ced2be;padding:1px 5px;border-radius:3px;margin-left:4px}.song-meta{display:flex;align-items:center;gap:10px;font-size:10px;color:#727863;margin-top:10px}.song-meta i{width:3px;height:3px;background:#b0b89e;border-radius:50%}.song-number{margin-left:auto;font:italic 64px Georgia,serif;color:#b9c1aa;display:flex;flex-direction:column;align-items:center;line-height:1.1;padding-right:9px}.song-number span{font:7px Arial,sans-serif;letter-spacing:1.3px;margin-top:8px;color:#8d9780}.rehearsal-grid{display:grid;grid-template-columns:320px 1fr;gap:22px;margin-top:24px}.setup-card,.stage{border:1px solid var(--line);background:var(--white);border-radius:12px}.setup-card{padding:25px 24px;display:flex;flex-direction:column}.step{font-size:10px;letter-spacing:1px;color:#8a9282;display:inline-block;margin-right:11px}.field-description{color:var(--muted);font-size:11px;margin:8px 0 17px}.voices{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.voice-option{position:relative;display:flex;align-items:center;flex-direction:column;padding:11px 0 9px;border:1px solid var(--line);border-radius:7px;cursor:pointer;color:var(--muted);background:#fafaf5;transition:background .15s,border-color .15s}.voice-option input,.mode-option input,.source-switch input{position:absolute;width:1px;height:1px;opacity:0}.voice-letter{font:23px Georgia,serif}.voice-name{font-size:8px;margin-top:4px}.voice-range{font-size:7px;color:#979b8e;margin-top:5px;white-space:nowrap}.voice-option:has(input:checked){background:var(--green);border-color:var(--green);color:#f7f9f0}.voice-option:has(input:checked) .voice-range{color:#d3dec7}.voice-option:has(input:focus-visible),.mode-option:has(input:focus-visible),.source-switch label:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:3px}.guidance-field{margin-top:27px}.guidance-field legend{margin-bottom:16px}.mode-option{display:flex;position:relative;align-items:center;gap:10px;padding:13px 11px;border:1px solid var(--line);border-radius:7px;margin-top:8px;cursor:pointer;min-height:64px}.mode-option:has(input:checked){background:#f1f4e8;border-color:#aebc98}.mode-option strong{display:block;font-size:11px;font-weight:600}.mode-option small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.mode-icon{font-size:28px;color:#6d7d5c;line-height:1;width:22px;text-align:center}.cue-symbol{font-size:26px}.radio-indicator{margin-left:auto;width:12px;height:12px;flex-shrink:0;border:1px solid #c9cebd;border-radius:50%}.mode-option:has(input:checked) .radio-indicator{border:4px solid #62764f;background:#fff}.small-note{display:flex;gap:10px;align-items:center;padding-top:22px;margin-top:auto;color:#85897b}.small-note svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.4;flex-shrink:0}.small-note p{font-size:10px;max-width:220px;line-height:1.6}.stage{padding:24px 27px 18px;min-width:0;position:relative}.stage-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.stage-top .eyebrow{font-size:8px;letter-spacing:1.4px}h3{font-size:16px;font-weight:500;letter-spacing:-.3px}.stage-top h3{margin-top:4px}.stage-top h3 span{font-size:11px;color:var(--muted);font-weight:400}.player-status{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:7px;border:1px solid #e4e7dc;border-radius:20px;padding:6px 9px;white-space:nowrap}.player-status[data-state=playing],.player-status[data-state=following]{color:#4d673e;background:#f0f6e8;border-color:#d9e5ca}.player-status[data-state=holding]{color:#9d7146;background:#fcf2e4}.player-status[data-state=holding] .status-dot{background:#c59156}.position-row{display:flex;align-items:center;justify-content:space-between;margin:25px 0 13px}.measure-count{display:flex;align-items:baseline;gap:7px}.position-label{font-size:8px;letter-spacing:1.3px;color:#92988a;font-weight:500}.measure-count .position-label{margin-right:6px}.measure-count strong{font:35px Georgia,serif;line-height:1}.measure-total{font:17px Georgia,serif;color:#a4aa9b}.beat-indicator{display:flex;gap:7px;margin-right:22px}.beat{width:6px;height:6px;background:#e4e9da;border-radius:50%;transition:background .1s,transform .1s}.beat.active{background:#7b9166;transform:scale(1.4)}.note-readout{display:flex;align-items:center;gap:10px}.note-readout strong{font:21px Georgia,serif;min-width:32px}.score-wrap{background:#f8f9f2;border:1px solid #e8ebdf;border-radius:8px;padding:15px 17px 10px}.score-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px}.score-heading>span:first-child{font-weight:600;color:#758564}.score-hint{color:#a0a797;font-size:8px}.score{height:146px;margin-top:9px;position:relative}.score svg{width:100%;height:100%;overflow:visible}.score-footer{font-size:9px;color:#929b87;display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e6eadc;padding-top:9px;min-height:27px}.score-footer>span:first-child{max-width:75%}#elapsed{white-space:nowrap;font-variant-numeric:tabular-nums;color:#5e6d53}#elapsed span{color:#a8af9d}.seek-label{display:flex;justify-content:space-between;font-size:9px;color:#8a9181;margin-top:16px}.seek-label output{font-size:8px}.position-slider{margin:9px 0 11px!important;height:4px!important}.transport{display:flex;gap:13px;justify-content:center;align-items:center;margin-top:9px}.round-button{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;color:#849075}.round-button:hover{background:#eff2e7}.round-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.play-button{display:flex;justify-content:center;align-items:center;gap:11px;background:var(--green);color:#faffee;border:1px solid var(--green);min-height:43px;border-radius:7px;padding:11px 26px;font-size:12px;min-width:200px;transition:background .15s,transform .15s}.play-button:hover{background:#304329}.play-button:active{transform:translateY(1px)}.play-button svg{width:16px;height:16px;fill:currentColor}.transport-note{font-size:9px;color:#959d8b;text-align:center;margin-top:10px}.session-settings{border:1px solid var(--line);border-radius:12px;margin-top:24px;padding:22px 26px;background:var(--white)}.session-source{display:flex;align-items:center;justify-content:space-between;gap:16px}.setting-heading h3{font-size:14px}.setting-heading p{font-size:10px;color:var(--muted);margin-top:4px}.source-switch{display:flex;background:#f1f3e9;padding:4px;border-radius:7px}.source-switch label{cursor:pointer;position:relative}.source-switch label>span{display:block;padding:7px 13px;font-size:10px;border-radius:5px;color:#858c7a}.source-switch label:has(input:checked)>span{background:var(--white);color:var(--ink);box-shadow:0 1px 4px #25352113}.source-switch small{font-size:6px;letter-spacing:.5px;border:1px solid #bbc6aa;border-radius:3px;padding:1px 3px;margin-left:4px;vertical-align:1px}.settings-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:38px;margin-top:24px}.setting>label{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:500}.setting output{font-size:13px;font-variant-numeric:tabular-nums}.setting output span{font-size:8px;color:var(--muted);margin-left:2px}.setting>p{font-size:9px;color:#9a9f90;margin-top:8px}input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:4px;background:linear-gradient(to right,#879c6c var(--fill,45%),#e2e7d8 var(--fill,45%));border-radius:4px;margin:18px 0 0;display:block;cursor:pointer;accent-color:#667e52}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;border-radius:50%;background:#667e52;border:2px solid var(--white);box-shadow:0 0 0 1px #a8b997}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#667e52;border:2px solid var(--white);box-shadow:0 0 0 1px #a8b997}input[type=range]:disabled{opacity:.5;cursor:not-allowed}.ensemble-setting{border-left:1px solid #e8eade;padding-left:25px}.toggle-label{display:flex;gap:15px;position:relative;cursor:pointer}.toggle-label small{font-size:9px;color:#9a9f90;display:block;font-weight:400;margin-top:7px}.toggle-label input{position:absolute;right:0;width:31px;height:18px;opacity:0}.toggle{display:block;width:31px;height:18px;background:#dfe4d6;border-radius:12px;position:relative;flex-shrink:0}.toggle:before{content:'';width:12px;height:12px;background:white;border-radius:50%;position:absolute;top:3px;left:3px;transition:left .15s}.toggle-label input:checked+.toggle{background:#71885d}.toggle-label input:checked+.toggle:before{left:16px}.toggle-label input:focus-visible+.toggle{outline:3px solid var(--orange);outline-offset:3px}.ensemble-volume{display:flex;align-items:center;gap:10px;margin-top:12px}.ensemble-volume input{margin:0}.ensemble-volume output{font-size:10px;color:#8c957f}.live-info{margin-top:22px;border-top:1px solid var(--line);padding-top:18px}.live-header{display:flex;justify-content:space-between;gap:10px;font-size:11px}.live-header>span{font-size:10px;color:#7d885e}.live-info p{font-size:11px;color:#7a826e;margin-top:8px;line-height:1.7;max-width:850px}.live-info .live-limit{font-size:9px;color:#9b876a}.live-meter{height:3px;background:#e9eddf;border-radius:3px;margin-top:12px;overflow:hidden}.live-meter span{height:100%;display:block;background:#8ca567;width:100%;transform:scaleX(0);transform-origin:left;transition:transform .1s}.message{border:1px solid #d6b99d;background:#fff4e7;color:#785536;border-radius:8px;padding:13px 17px;margin:20px 0;font-size:12px}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);margin-top:37px;padding:23px 0 28px;font-size:8px;color:#9ba18f}.footer-brand{font-size:11px;color:#6e7c5e;font-weight:600;letter-spacing:-.2px}.footer-brand span{font-size:8px;font-weight:400;margin-left:5px;color:#959d8b}.privacy{display:flex;align-items:center;gap:6px}.privacy .status-dot{width:4px;height:4px}dialog{max-width:475px;width:calc(100% - 32px);border:1px solid var(--line);border-radius:17px;background:var(--white);padding:28px;color:var(--ink);max-height:calc(100dvh - 40px);overflow:auto}dialog::backdrop{background:#29312275;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:center;justify-content:space-between}.dialog-header button{font-size:27px}.dialog-header .eyebrow{font-size:8px}dialog h2{font:36px Georgia,serif;line-height:1.15;letter-spacing:-.9px;margin:20px 0}dialog h2 em{color:var(--green)}dialog p,dialog li{font-size:12px;line-height:1.8;color:#7c8572}dialog ol{padding-left:20px;margin:19px 0}dialog li{padding-left:4px;margin:9px 0}dialog li strong{color:var(--ink)}.dialog-tip{background:#f0f3e7;border-radius:8px;padding:15px;font-size:12px;margin-bottom:15px}.dialog-tip strong{font-size:11px}.dialog-tip p{font-size:11px;margin-top:5px}.dialog-fine{font-size:10px!important;margin:15px 0 20px}dialog .play-button{width:100%}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(min-width:1300px){.intro{padding-top:54px;padding-bottom:37px}.rehearsal-grid{margin-top:26px;gap:24px}.setup-card{padding:27px}.stage{padding:27px 30px 20px}.score{height:155px}.session-settings{margin-top:26px}}
@media(max-width:1000px){.shell{width:calc(100% - 56px)}.header-end{gap:22px}.local-note{display:none}.rehearsal-grid{grid-template-columns:280px 1fr;gap:16px}.setup-card{padding:22px 18px}.stage{padding:22px 20px 16px}.stage-top{align-items:flex-start;flex-direction:column;gap:8px}.player-status{font-size:8px;padding:3px 7px}.position-row{margin-top:19px}.score-hint{display:none}.note-readout .position-label{display:none}.beat-indicator{margin-right:0}.song-number{font-size:52px}.settings-grid{gap:24px}.ensemble-setting{padding-left:18px}.site-footer>span:nth-child(2){display:none}}
@media(max-width:700px){.shell{width:calc(100% - 36px)}.site-header{height:77px}.brand{font-size:23px}.brand svg{width:27px;margin-right:7px}.brand .version{margin-left:10px}.text-button{font-size:10px}.text-button span{margin-left:5px}.intro{padding:32px 0 23px}.intro-index{display:none}h1{font-size:35px;letter-spacing:-1.3px;max-width:340px;margin-top:11px}.intro-copy{font-size:11px;max-width:285px;line-height:1.8}.eyebrow{font-size:8px;letter-spacing:1.4px}.song-card{padding:17px;gap:15px;min-height:125px}.song-art{width:73px;height:82px}.song-description h2{font-size:29px}.song-description>p:not(.eyebrow){font-size:10px}.song-description .eyebrow{font-size:6px;gap:4px;letter-spacing:.8px}.piece-tag{font-size:5px;margin-left:2px;padding:1px 3px}.song-meta{gap:7px;font-size:8px;margin-top:9px}.song-number{display:none}.rehearsal-grid{grid-template-columns:1fr;gap:16px;margin-top:18px}.setup-card{padding:20px}.voice-field legend,.guidance-field legend{font-size:14px}.field-description{margin:5px 0 13px;font-size:10px}.voices{gap:9px}.voice-option{padding:9px 0}.voice-letter{font-size:26px}.voice-name{font-size:10px}.voice-range{font-size:8px;margin-top:3px}.guidance-field{margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.guidance-field legend{margin-bottom:4px}.mode-option{margin-top:7px;min-height:77px;padding:11px 10px;gap:7px;align-items:flex-start}.mode-icon{font-size:23px;width:18px;margin-top:2px}.mode-option strong{font-size:10px}.mode-option small{font-size:8px;line-height:1.7;max-width:90px}.radio-indicator{position:absolute;right:8px;bottom:9px;width:10px;height:10px}.mode-option:has(input:checked) .radio-indicator{border-width:3px}.small-note{padding-top:14px;gap:8px}.small-note p{font-size:9px;max-width:100%}.small-note svg{width:16px;height:16px}.stage{padding:20px 18px 17px}.stage-top{flex-direction:row;align-items:center;gap:4px}.stage-top h3{font-size:16px}.stage-top h3 span{display:block;font-size:10px;margin-top:1px}.player-status{font-size:7px;padding:5px 7px;gap:5px;white-space:normal;text-align:left;max-width:120px}.position-row{margin:23px 0 14px}.measure-count strong{font-size:34px}.measure-count .position-label{font-size:7px;margin-right:2px}.measure-total{font-size:16px}.note-readout strong{font-size:21px;min-width:27px}.score-wrap{padding:13px 10px 9px}.score{height:150px}.score-heading{font-size:9px}.score-hint{display:block;font-size:6px}.score-footer{font-size:8px;gap:6px}.score-footer>span:first-child{max-width:72%}.seek-label{font-size:8px;margin-top:17px}.play-button{min-height:47px;font-size:12px;min-width:195px;padding-inline:21px}.round-button{width:37px;height:37px}.transport{gap:11px}.transport-note{font-size:8px;margin-top:12px}.session-settings{padding:20px;margin-top:18px}.session-source{flex-direction:column;align-items:flex-start;gap:14px}.setting-heading h3{font-size:14px}.setting-heading p{font-size:10px}.source-switch{width:100%}.source-switch label{flex:1;text-align:center}.source-switch label>span{font-size:11px;padding:8px}.settings-grid{grid-template-columns:1fr 1fr;column-gap:27px;row-gap:24px;margin-top:23px}.setting>label{font-size:11px}.setting>p{font-size:8px;line-height:1.7;max-width:135px}.setting output{font-size:12px}.ensemble-setting{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:17px 0 0}.ensemble-volume{max-width:100%;margin-top:15px}.toggle-label small{font-size:9px}.live-header{font-size:10px}.live-header>span{font-size:8px}.live-info p{font-size:10px}.site-footer{margin-top:26px;padding:20px 0 25px;align-items:flex-start}.footer-brand{font-size:11px}.footer-brand span{display:block;margin-left:0;margin-top:4px;font-size:8px}.privacy{font-size:7px;margin-top:4px}dialog{padding:22px}dialog h2{font-size:34px}}
@media(max-width:360px){.shell{width:calc(100% - 26px)}.brand .version{display:none}.song-card{padding:13px;gap:11px}.song-art{width:61px}.song-meta{font-size:7px;gap:6px}.setup-card{padding:17px}.stage{padding:19px 14px}.mode-option{padding:10px 7px}.mode-option strong{font-size:9px}h1{font-size:32px}.score-hint{display:none}}
/* Keep live score invalidation local. The fixed transport is a sibling, never
   inside a contained region. The score has an explicit height in both themes. */
.score{contain:layout paint}
.score-wrap{transform:translateZ(0)}
.position-row,.session-settings{contain:layout}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:700px){
  body{padding-bottom:86px}
  .text-button{font-size:11px}
  .intro{padding-top:25px;padding-bottom:22px}
  .intro-copy{font-size:12px}
  .song-description>p:not(.eyebrow){font-size:11px}
  .song-meta{font-size:9px}
  .field-description{font-size:12px}
  .voice-name{font-size:11px}
  .voice-range{font-size:9px}
  .mode-option{min-height:90px}
  .mode-option strong{font-size:11px}
  .mode-option small{font-size:10px}
  .small-note p{font-size:10px}
  .score-footer{font-size:9px}
  .seek-label{font-size:10px}
  .seek-label output{font-size:9px}
  .transport{position:fixed;z-index:10;bottom:0;left:0;right:0;margin:0;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:#fffefaf5;border-top:1px solid var(--line);box-shadow:0 -4px 18px #30382e06;backdrop-filter:blur(12px)}
  .transport .play-button{width:min(235px,calc(100vw - 128px));font-size:13px;min-width:0}
  .transport .round-button{width:43px;height:43px}
  .transport-note{font-size:9px;margin-top:14px}
  .setting-heading p{font-size:11px}
  .setting>label{font-size:12px}
  .setting>p{font-size:10px}
  .toggle-label small{font-size:10px}
  .live-info p{font-size:12px}
  .live-info .live-limit{font-size:10px}
}

/* Keep the cursor on its own HTML compositor layer. */
.score-playhead-layer{position:absolute;inset:0;pointer-events:none;will-change:transform}
.score-playhead-layer>svg{display:block;width:100%;height:100%;overflow:visible}
