:root{--ink:#273d34;--muted:#778077;--green:#2d5946;--line:#e1e5dc;--bg:#f1f3ed;--gold:#d4b460;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #92b39d;outline-offset:3px}button{border:0;border-radius:7px;background:none;color:inherit;transition:background .15s}button:hover:not(:disabled){background:#e6ebe2}a{color:inherit}input,select,textarea{border:1px solid #dce2d8;border-radius:7px;background:#fff;color:var(--ink)}input,select{height:39px;padding:0 10px;width:100%}label{font-size:12px;font-weight:550;color:#5a6b60;display:block;margin-bottom:7px}h1,h2,p{margin:0}.topbar{height:84px;background:#fbfcf8;border-bottom:1px solid var(--line);padding:0 34px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:20px;font-weight:700;letter-spacing:2px}.brand-mark{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#315541;color:#e8d6a0;font-size:31px;letter-spacing:0;transform:rotate(-25deg)}.brand small{display:block;font-size:9px;letter-spacing:1.7px;font-weight:500;margin-top:5px;color:#7e8c7e}.topbar-right{display:flex;gap:20px;align-items:center}.instrument-badge{font-size:12px;letter-spacing:.7px;color:#60735e}.quiet{font-size:12px;padding:10px 13px;border:1px solid #dce2d8;background:#fff}.workspace{display:grid;grid-template-columns:345px minmax(0,1fr);max-width:1800px;margin:auto;align-items:start}.editor-panel{padding:30px 24px;background:#fbfcf8;border-right:1px solid var(--line);min-height:calc(100dvh - 84px)}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#87967d;font-weight:600}.panel-heading h1{font-size:24px;letter-spacing:-.7px;margin:11px 0 10px;font-weight:650}.panel-heading p{font-size:12px;color:var(--muted)}.sample-tabs{display:flex;background:#eef1e9;border-radius:8px;padding:4px;margin:25px 0 27px}.sample-tabs button{font-size:11px;padding:9px 11px;flex:1;white-space:nowrap}.sample-tabs .selected{background:white;box-shadow:0 1px 4px #223a3010}.editor-section{margin:0 0 25px;padding-bottom:25px;border-bottom:1px solid var(--line)}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-title h2{font-size:13px;font-weight:650}.section-title h2 span{font-size:10px;font-weight:500;color:#8c9b84;margin-right:8px;font-variant-numeric:tabular-nums}.text-button{font-size:11px;color:#527158;padding:5px 0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:15px 0}.textarea-label{display:flex;justify-content:space-between;align-items:center;margin-top:20px}.textarea-label span{font-size:9px;color:#94a08e;margin-bottom:7px}textarea{display:block;width:100%;height:220px;padding:12px;font-family:ui-monospace,SFMono-Regular,"PingFang SC",monospace;font-size:12px;line-height:1.85;resize:vertical;outline-color:#91af91}textarea:focus{border-color:#789777}.note-tools{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.note-tools button{padding:6px 7px;font-size:10px;background:#f0f3eb;color:#708068}details{font-size:11px;color:#84917d;margin-top:12px;line-height:1.8}summary{cursor:pointer}details p{margin-top:7px}code{color:#446248}details code{background:#edf1e8;padding:1px 3px}.file-actions{display:flex;gap:8px;margin-top:15px}.file-actions button{flex:1;font-size:11px}.check{display:flex;gap:9px;align-items:flex-start;font-size:11px;line-height:1.5;margin:16px 0;cursor:pointer}.check input{width:14px;height:14px;margin:1px 0 0;accent-color:#3e674b;flex-shrink:0}.check small{display:block;font-size:10px;color:#8a9481;margin-top:4px;font-weight:400}.range-note{font-size:11px;color:#6a774d;background:#eff2e7;border-left:2px solid #a6b68d;padding:11px 12px;line-height:1.8}.range-note.warning{color:#925b34;border-color:#c49461;background:#fbf0df}.range-note strong{font-weight:650}.range-note details{margin-top:4px;color:inherit}.editor-footer{font-size:10px;color:#8d9786;line-height:1.9}.preview-panel{padding:24px 28px;min-width:0}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px}.preview-label{font-size:12px;white-space:nowrap;color:#596d5a;display:flex;align-items:center;gap:8px}.preview-label #measure-count{font-size:10px;color:#93a08c;margin-left:5px}.live-dot{width:6px;height:6px;background:#78966f;border-radius:50%}.export-actions{display:flex;gap:7px}.export-actions .quiet{background:transparent}.primary{padding:11px 17px;background:var(--green);color:white;font-size:12px}.primary:hover:not(:disabled){background:#244c3b}.player{display:flex;gap:12px;align-items:center;padding:12px 17px;background:#e7ecdf;border:1px solid #dce4d2;border-radius:9px;margin-bottom:21px}.play-button{border-radius:50%;width:33px;height:33px;background:#fff;color:#4e704c;box-shadow:0 2px 4px #233f3010;font-size:12px;flex-shrink:0}.player strong{display:block;font-size:11px;font-weight:550}.player div span{font-size:9px;color:#8e9e82;display:block;margin-top:4px}.tempo-control{display:flex;gap:9px;align-items:center;margin:0 0 0 auto;font-size:10px;color:#74816b}.tempo-control input{width:100px;height:20px;accent-color:#5f8051;padding:0}.tempo-control output{font-size:12px;font-variant-numeric:tabular-nums;width:24px}.tempo-control span{font-size:9px}.player .quiet{padding:7px 10px;background:transparent;font-size:10px}.paper-scroll{overflow:auto;padding:2px 3px 15px;scrollbar-color:#c8d1bd transparent}.paper{background:#fffefb;box-shadow:0 4px 22px #23341c09,0 0 0 1px #dfe4d7;padding:42px 40px 24px;min-width:650px;max-width:1150px;margin:auto}.paper-header{text-align:center;padding-bottom:23px;border-bottom:1px solid #e7e8de;margin-bottom:28px}.paper-kicker{font-size:9px;letter-spacing:2px;color:#98a18a;margin-bottom:15px}.paper-header h2{font-family:"Songti SC","Noto Serif CJK SC",serif;font-size:29px;letter-spacing:4px;font-weight:650;color:#263b2f}.paper-subtitle{font-family:Georgia,"Songti SC",serif;font-size:11px;margin-top:10px;color:#8a8e7d;font-style:italic}.score-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7a836e;margin-top:25px;text-align:left}.score-meta b{font-family:Georgia,serif;font-size:14px;color:#456344;font-weight:500}.score-description{font-size:10px;line-height:1.8;color:#88917b;margin-top:14px;text-align:left}.score-section{margin:18px 0 25px}.score-section-title{display:flex;justify-content:space-between;font-size:11px;align-items:center;font-weight:600;margin:0 0 12px;color:#627257}.score-section-title span{font-size:9px;font-weight:400;color:#9ca58f}.score-row{break-inside:avoid;margin-bottom:15px}.score-svg{width:100%;height:auto;display:block;overflow:visible}.note-hit{cursor:pointer}.note-highlight{fill:transparent;transition:fill .12s}.note-hit:hover .note-highlight{fill:#eaf0dd}.note-hit.active .note-highlight{fill:#deebc7}.paper-footer{border-top:1px solid #e6e8df;padding-top:15px;margin-top:30px;display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#96a087;line-height:1.8}.preview-footnote{text-align:center;font-size:10px;color:#95a28b;line-height:1.9;margin:15px 6px}#errors{border:1px solid #dfb5a1;background:#fff3ed;color:#9b4a2c;padding:13px;border-radius:8px;margin-bottom:18px;font-size:12px;line-height:1.8}#errors:empty{display:none}dialog{border:1px solid #d9dfd1;border-radius:14px;background:#fdfdf8;color:var(--ink);padding:28px;max-width:min(880px,94vw);width:880px;max-height:90dvh;box-shadow:0 20px 100px #17312130}dialog::backdrop{background:#172b2560;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{font-size:22px;margin-top:9px}.close-button{font-size:25px;width:36px;height:36px;color:#728368}dialog>p{font-size:12px;line-height:1.8;color:#7b8871;margin:20px 0}.upload-button{display:inline-block;cursor:pointer;border:1px solid #cad6bf;border-radius:6px;padding:9px 14px;font-size:12px}#source-image{width:100%;display:block;margin-top:18px}.dialog-bottom{font-size:11px;color:#8d9b82;text-align:center;margin-top:20px}#chart-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:25px 12px}.chart-note{text-align:center;font-family:Georgia,serif}.chart-note strong{display:block;font-size:19px}.chart-note span{display:block;font:10px -apple-system,sans-serif;color:#7f8e73;margin-top:10px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#2d493b;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 30px #12352822;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:85vw;z-index:20}#toast.show{opacity:1}
@media(min-width:1500px){.workspace{grid-template-columns:365px minmax(0,1fr)}.editor-panel{padding:34px 32px}.preview-panel{padding:28px 45px}.paper{padding:48px 55px 28px}}@media(max-width:1100px){.workspace{grid-template-columns:300px minmax(0,1fr)}.editor-panel{padding:25px 19px}.preview-panel{padding:23px 18px}.paper{padding:32px 26px}.preview-label #measure-count{display:none}.tempo-control input{width:65px}.topbar{padding:0 25px}}@media(max-width:760px){.topbar{height:72px;padding:0 17px}.brand{font-size:17px;gap:8px}.brand small{font-size:7px}.brand-mark{width:36px;height:36px;font-size:27px}.topbar-right{gap:8px}.instrument-badge{display:none}.workspace{display:flex;flex-direction:column}.editor-panel{width:100%;min-height:0;border-right:0;padding:24px 20px}.panel-heading h1{font-size:25px}.sample-tabs{margin:20px 0}.editor-section{margin-bottom:17px;padding-bottom:20px}.editor-footer{display:none}.preview-panel{width:100%;padding:22px 13px}.preview-toolbar{gap:6px}.preview-label{font-size:11px}.export-actions{gap:5px}.export-actions button{font-size:10px;padding:9px 10px}.player{padding:10px;gap:9px}.player strong{font-size:10px}.tempo-control{gap:6px}.tempo-control input{width:70px}.paper{min-width:660px;padding:30px 26px}#chart-grid{grid-template-columns:repeat(3,1fr)}dialog{padding:22px}.paper-scroll{border-radius:5px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{@page{size:A4 portrait;margin:12mm}body{background:white}.topbar,.editor-panel,.preview-toolbar,.player,.preview-footnote,#errors,dialog,#toast{display:none!important}.workspace,.preview-panel,.paper-scroll{display:block;padding:0;margin:0;overflow:visible;max-width:none}.paper{box-shadow:none;min-width:0;max-width:none;padding:0;background:white}.paper-header{margin-bottom:20px}.paper-header h2{font-size:24px}.score-row{break-inside:avoid;margin-bottom:4px}.score-section{margin:16px 0}.score-section-title{break-after:avoid}.paper-footer{font-size:8px}.note-highlight{fill:transparent!important}}

@media print{html,body,.workspace,.preview-panel,.paper-scroll{background:#fff!important}}

/* Clear instructional diagrams, with enough physical room for the subholes. */
.paper{min-width:760px}.score-help{font-size:11px;color:#5e725d;margin:-7px 3px 14px;line-height:1.7}.layout-hint{font-size:10px;color:#76826e;line-height:1.7}
#chart-dialog{width:920px}#chart-grid{display:block}.chart-group{margin-top:26px}.chart-group h3{display:flex;justify-content:space-between;font-size:14px;border-bottom:1px solid #dce2d5;padding-bottom:12px;margin:0 0 16px}.chart-group h3 span{font-size:11px;color:#75836b;font-weight:400}.chart-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.chart-note{display:flex;flex-direction:column;align-items:center;padding:12px 4px;background:#fff;border:1px solid #e0e5da;border-radius:9px;min-width:0}.chart-note>svg:first-child{max-width:100%;height:auto}.chart-note .chart-label{margin-top:4px}.chart-note>span{font:12px ui-monospace,monospace;color:#65745c;margin-top:0}.fingering-legend{display:flex;gap:22px;align-items:center;flex-wrap:wrap;font-size:12px;color:#435841}.fingering-legend>span{display:flex;gap:8px;align-items:center}.fingering-legend i{width:14px;height:14px;border:2px solid #17231c;border-radius:50%;display:inline-block}.hole-closed{background:#17231c}.hole-open{background:#fff}.note-hit:focus-visible .note-highlight{fill:#e1eccf;stroke:#5a764c;stroke-width:2}
@media(max-width:760px){.chart-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chart-note{padding:10px 4px}.fingering-legend{gap:12px;font-size:11px}.paper{min-width:760px}.score-help{font-size:10px}}@media print{.paper{min-width:0}.score-help{display:none}}

/* Mobile practice view and a source-backed repertoire. */
[hidden]{display:none!important}.mobile-only,.mobile-nav,.mobile-score{display:none}.score-legend{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px;color:#68735e;margin-top:18px}.score-legend>span:not(.legend-explainer){width:9px;height:9px;border-radius:3px;display:inline-block}.legend-gold{background:#efcd7b}.legend-green{background:#a9c77b;margin-left:8px}.legend-explainer{width:100%;font-size:9px;margin-top:5px}.signature-note .note-highlight{fill:#fff1cc}.signature-note:hover .note-highlight{fill:#fae6af}.note-hit.active .note-highlight{fill:#d6e9bb;stroke:#668b43;stroke-width:1.5}.signature-note.active .note-highlight{stroke:#9f701e;stroke-width:2}.follow-control{display:flex;align-items:center;gap:5px;white-space:nowrap;margin:0;font-size:10px;font-weight:400}.follow-control input{width:14px;height:14px;accent-color:var(--green)}#phrase-error{color:#a74d31;font-size:11px;line-height:1.6;margin-top:8px}.file-actions{flex-wrap:wrap}.file-actions button{white-space:nowrap}.library-panel{max-width:1200px;margin:auto;padding:42px 32px 60px}.library-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.library-heading h1{font-size:30px;letter-spacing:-.8px;margin:12px 0}.library-heading p{font-size:13px;line-height:1.8;color:var(--muted)}.library-heading>button{flex-shrink:0}.library-filters{display:flex;gap:8px;flex-wrap:wrap;margin:28px 0 14px}.library-filters button{font-size:12px;border:1px solid var(--line);border-radius:20px;background:#fff;padding:10px 16px}.library-filters button.selected{background:var(--green);color:#fff;border-color:var(--green)}.library-status{font-size:12px;color:#738168;margin:18px 0}.song-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.song-card{background:#fffefb;border:1px solid #dfe5d7;border-radius:12px;padding:23px;display:flex;flex-direction:column;min-width:0}.song-card.current-song{border-color:#78976a;box-shadow:0 0 0 1px #78976a}.song-card-top{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:10px;color:#7d8a70;margin-bottom:17px}.song-status{background:#f1f1e9;border-radius:20px;padding:5px 9px;white-space:nowrap}.song-status.ready{background:#e9f0dd;color:#486239}.song-card h2{font-size:21px;font-weight:600}.song-english{font:italic 12px Georgia,serif;color:#8b927f;margin-top:8px}.song-description{font-size:12px;line-height:1.85;margin:18px 0 12px;color:#67755e}.signature-tip{font-size:11px;line-height:1.8;color:#8f6e32;background:#faf3e3;padding:10px 12px;border-radius:7px}.signature-tip>span{font-size:8px}.song-sources{display:flex;gap:9px 15px;flex-wrap:wrap;margin:18px 0;font-size:11px;line-height:1.7}.song-sources a{text-underline-offset:3px;overflow-wrap:anywhere}.song-action{align-self:flex-start;margin-top:auto;min-height:42px}.library-footnote{font-size:11px;color:#7a846f;line-height:1.9;margin-top:24px}.empty-library{font-size:14px;color:#708066;padding:25px}#musicxml-dialog{width:650px}#xml-filename{font-size:12px;overflow-wrap:anywhere}#xml-result{font-size:12px;line-height:1.8;color:#536b4d;margin-top:20px;max-height:35vh;overflow:auto}#xml-result p{margin:7px 0}#xml-selection>.primary{margin-top:16px}.mobile-bar-heading{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#849078;padding:12px 8px 0}.signature-badge{font-size:10px;color:#9b6a1e;background:#faedca;border-radius:5px;padding:4px 7px}.mobile-score-section h3{font-size:13px;line-height:1.6;font-weight:600;display:flex;justify-content:space-between;gap:12px;margin:20px 6px 12px}.mobile-score-section h3>span{font-size:10px;white-space:nowrap;color:#909c80;font-weight:400}.mobile-score-row{border:1px solid #e7eadf;border-radius:9px;background:#fffefb;margin-bottom:12px;break-inside:avoid;scroll-margin-top:140px}.mobile-score-svg{display:block;width:100%;height:auto;overflow:visible}.signature-row{border-color:#e9d6a5}.mobile-score-section{margin-bottom:30px}
@media(min-width:761px) and (max-width:1200px){.player{flex-wrap:wrap}.follow-control{margin-left:auto}.tempo-control input{width:75px}.preview-panel{padding-left:16px;padding-right:16px}}
@media(max-width:760px){
 body{padding-bottom:calc(72px + env(safe-area-inset-bottom));background:#f3f5ef}.topbar{height:68px;padding:0 14px}.brand{font-size:16px;letter-spacing:1px}.brand small{font-size:6px;letter-spacing:1.2px}.brand-mark{width:32px;height:32px;font-size:24px}.topbar-right{gap:6px}.topbar .quiet{font-size:11px;padding:10px;min-height:40px}.mobile-only{display:inline-block}.workspace{display:block;width:100%}.editor-panel{display:none;padding:24px 18px}.preview-panel{padding:12px 12px 20px}.desktop-score{display:none}.mobile-score{display:block}body[data-view="editor"] .editor-panel{display:block}body[data-view="editor"] .preview-panel{display:none}.preview-toolbar{margin-bottom:12px}.preview-label #measure-count{display:inline;font-size:10px}.preview-label{gap:5px}.export-actions .quiet{display:none}.export-actions #edit-score{display:block}.export-actions .primary{font-size:11px;padding:10px}.player{display:grid;grid-template-columns:46px minmax(0,1fr) 50px;gap:8px 10px;position:sticky;top:8px;z-index:6;margin-bottom:16px;padding:12px;background:#e8eedfee;backdrop-filter:blur(12px);box-shadow:0 3px 14px #2340250c}.play-button{width:46px;height:46px;font-size:16px;grid-row:1}.player>div{grid-column:2;min-width:0}.player strong{font-size:12px}.player div span{font-size:9px;line-height:1.5}.player #stop{grid-column:3;grid-row:1;min-height:44px;font-size:12px}.tempo-control{grid-column:1/3;grid-row:2;margin:0;gap:8px}.tempo-control input{width:min(140px,38vw);height:25px}.follow-control{grid-column:3;grid-row:2;justify-content:flex-end;font-size:10px;gap:4px}.follow-control input{width:16px;height:16px;margin:0}.paper-scroll{overflow:visible;padding:2px 1px 12px;max-width:100%}.paper{min-width:0;max-width:100%;width:100%;padding:24px 10px 18px;border-radius:9px;box-shadow:0 0 0 1px #dfe4d7}.paper-header{padding:0 4px 18px;margin-bottom:16px}.paper-kicker{font-size:7px;letter-spacing:1px;margin-bottom:12px}.paper-header h2{font-size:24px;line-height:1.5;letter-spacing:1px;overflow-wrap:anywhere}.paper-subtitle{font-size:11px;line-height:1.7}.score-meta{flex-wrap:wrap;gap:10px;margin-top:18px;line-height:1.6}.score-meta b{font-size:14px}.score-meta>span{font-size:9px}.score-description{font-size:10px}.score-help{font-size:11px;line-height:1.8;margin:0 2px 14px}.paper-footer{display:block;margin-top:18px;font-size:9px;padding:12px 4px 0}.paper-footer>span{display:block;margin-bottom:7px}.preview-footnote{font-size:10px}.mobile-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:15;padding:8px 14px calc(8px + env(safe-area-inset-bottom));background:#fbfcf9f2;border-top:1px solid #dde4d5;backdrop-filter:blur(16px);gap:10px}.mobile-nav>button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;min-height:44px;font-size:12px;color:#748269;border-radius:9px}.mobile-nav>button>span{font-size:20px;line-height:1}.mobile-nav>button[aria-pressed="true"]{background:#e8efde;color:#31513a;font-weight:600}.library-panel{padding:25px 16px 30px}.library-heading{display:block}.library-heading h1{font-size:26px;line-height:1.4}.library-heading p{font-size:12px}.library-heading>button{margin-top:16px}.library-filters{gap:6px;margin-top:22px}.library-filters button{font-size:11px;padding:10px 12px;min-height:40px}.song-grid{grid-template-columns:1fr;gap:14px}.song-card{padding:21px 19px}.song-card h2{font-size:21px}.song-description{font-size:12px}.song-sources a{padding:4px 0}.song-action{min-height:44px}.library-footnote{font-size:11px}.file-actions button{min-height:44px;font-size:12px}input,select,textarea{font-size:16px}.editor-panel textarea{font-size:14px}.editor-panel label{font-size:12px}.editor-panel .check input{margin-top:1px;min-width:17px;min-height:17px}.editor-panel .check{font-size:12px;gap:10px}.editor-panel .quiet{min-height:44px}.editor-panel .text-button{min-height:36px}.editor-panel details{font-size:12px}.editor-panel .note-tools button{min-height:36px;padding:7px 10px;font-size:11px}dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);padding:20px 16px;max-height:calc(100dvh - 40px)}.close-button{min-width:44px;min-height:44px}.dialog-heading h2{font-size:20px}.chart-note>svg:first-child{width:140px}.chart-note{padding:8px 2px}.fingering-legend{font-size:11px;gap:10px}#toast{bottom:calc(88px + env(safe-area-inset-bottom));width:max-content;max-width:90vw}
}
@media print{body{padding:0}.mobile-nav,.library-panel,.mobile-score,.score-legend,.score-help{display:none!important}.desktop-score{display:block!important}.paper{min-width:0;width:auto;padding:0;border-radius:0}.signature-note .note-highlight{fill:#fff1cc!important}}
.mobile-score-details{display:none}@media(max-width:760px){.paper-kicker,.paper-subtitle,.desktop-description{display:none}.paper{padding-top:20px}.paper-header h2{font-size:23px;line-height:1.4}.score-meta{margin-top:12px}.score-meta>span{display:none}.mobile-score-details{display:block;text-align:left;font-size:10px;line-height:1.8;margin-top:12px}.mobile-score-details summary{color:#738264}.mobile-score-details p{font-size:10px;line-height:1.9;color:#7b856e}.score-legend{margin-top:12px}.paper-header{padding-bottom:15px;margin-bottom:12px}}
@media print{.mobile-score-details{display:none!important}}

/* Compact phone rows keep neighboring measures together. */
@media(max-width:760px){.mobile-score-row{margin-bottom:7px}.mobile-bar-heading{padding:7px 8px 4px;font-size:10px}.signature-badge{font-size:9px;padding:2px 5px}.mobile-score-section h3{margin:15px 6px 9px}.mobile-score-section{margin-bottom:20px}}

.mobile-density{display:none}
@media(max-width:760px){.mobile-density{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 12px;margin:0 2px 15px}.mobile-density label{margin:0;font-size:12px}.mobile-density select{width:154px;min-height:44px;font-size:16px;background:#fffefb}.mobile-density p{grid-column:1/-1;color:#7b856f;font-size:10px;line-height:1.7}}
@media print{.mobile-density{display:none!important}}
