:root{--navy:#141f30;--navy-2:#1d2c43;--text:#1b2a40;--muted:#778397;--stroke:#e6e8ec;--paper:#fffefa;--bg:#f4f5f6;--gold:#c8995c;--gold-light:#f3e7d8;--soft:#f6f7f9;--green:#47977b;--radius:18px;font-family:"Segoe UI",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:310px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d5a76a;outline-offset:2px}.site-shell{min-height:100vh}.topbar{height:84px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(26px,calc((100vw - 1450px)/2));gap:16px}.brand{display:flex;align-items:center;gap:13px}.brand-logo{display:flex;align-items:center;gap:4px;height:34px}.brand-logo span{display:block;background:#d8ad74;border-radius:5px;width:4px}.brand-logo span:nth-child(1){height:17px}.brand-logo span:nth-child(2){height:31px}.brand-logo span:nth-child(3){height:23px}.brand-logo span:nth-child(4){height:12px}.brand-copy{display:flex;flex-direction:column;gap:2px}.brand-copy strong{font-family:Georgia,serif;font-size:19px;font-weight:600;letter-spacing:-.3px}.brand-copy small{font-size:9px;letter-spacing:2px;color:#aab4c3;font-weight:700}.header-actions{display:flex;align-items:center;gap:20px}.text-button,.outline-button{background:transparent;color:#e3e7ef;border:0;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600}.text-button svg,.outline-button svg{stroke:currentColor;stroke-width:1.8;fill:none}.outline-button{border:1px solid #5d6776;padding:12px 16px;border-radius:10px}.outline-button:hover,.text-button:hover{color:#e7c597}.small-only{display:none}.hero{background:var(--navy);color:#fff;padding:57px max(26px,calc((100vw - 1450px)/2)) 101px;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-70px;top:-40px;width:410px;height:260px;opacity:.11;background:repeating-linear-gradient(0deg,transparent 0 25px,#d2b28d 25px 26px,transparent 26px 46px);transform:rotate(-12deg);pointer-events:none}.hero-eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#d4b185;display:flex;align-items:center;gap:10px}.status-dot{height:6px;width:6px;border-radius:50%;background:#d8ac71;box-shadow:0 0 12px #d8ac71}.eyebrow-separator{color:#6f7887}.hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(36px,4.2vw,60px);line-height:1.14;letter-spacing:-1.1px;margin:20px 0 17px;position:relative;z-index:1}.hero h1 em{font-weight:400;font-style:italic;color:#d7ad78}.hero p{max-width:620px;color:#c1c8d2;font-size:14px;line-height:1.7;margin:0}.workspace{max-width:1498px;margin:-60px auto 0;padding:0 24px 30px;display:grid;grid-template-columns:344px minmax(0,1fr);gap:22px;align-items:start;position:relative;z-index:2}.side-col,.main-col{display:flex;flex-direction:column;gap:20px;min-width:0}.surface{background:#fff;border:1px solid #e7e9ef;border-radius:var(--radius);box-shadow:0 9px 35px rgba(22,32,49,.045)}.editor-card,.controls-card{padding:24px}.section-heading{display:flex;align-items:center;gap:12px}.heading-index{font-size:11px;letter-spacing:1px;color:var(--gold);border:1px solid #eddac4;background:#fbf6f1;border-radius:8px;width:33px;height:33px;display:grid;place-items:center;font-weight:700;flex:none}.section-heading h2{margin:0 0 2px;font-weight:700;font-size:17px;letter-spacing:-.4px}.section-heading p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.textarea-wrap{margin-top:27px;border:1px solid #dcdfe6;border-radius:12px;padding:12px 13px 9px;transition:border-color .2s}.textarea-wrap:focus-within{border-color:var(--gold)}.textarea-wrap label{display:block;font-size:10px;font-weight:700;color:#748196;margin-bottom:12px}.textarea-wrap textarea{resize:vertical;min-height:116px;border:0;width:100%;outline:none;box-shadow:none;color:#15273f;font-weight:600;font-size:19px;line-height:1.5;letter-spacing:.55px;background:transparent;padding:0}.textarea-wrap textarea:focus-visible{outline:none}.textarea-wrap textarea::placeholder{color:#b8c0ca;font-weight:400;font-size:15px}.textarea-bottom{display:flex;justify-content:space-between;color:#8c97a6;font-size:10px;margin-top:9px}.notice{border-radius:10px;background:#fcf4df;border:1px solid #eedca6;color:#765e26;padding:10px 12px;margin-top:12px;font-size:11px;line-height:1.55}.mini-label{font-size:9px;color:#8692a2;letter-spacing:1.2px;font-weight:800;margin:23px 0 11px}.examples{display:flex;flex-wrap:wrap;gap:7px}.example-chip{background:#f4f5f6;border:1px solid #e5e8ee;padding:9px 10px;border-radius:8px;font-size:10px;color:#56667a;font-weight:700}.example-chip:hover{border-color:#d2af80;color:#875d2f;background:#fbf4eb}.controls-card{padding-bottom:26px}.setting-header{margin-top:26px;display:flex;align-items:center;justify-content:space-between;gap:10px}.setting-header label{font-size:12px;font-weight:700}.tempo-readout{display:flex;align-items:baseline;gap:5px;color:var(--navy)}.tempo-readout strong{font-size:24px;font-variant-numeric:tabular-nums}.tempo-readout span{font-size:10px;color:#9a7651;font-weight:800}.controls-card input[type=range]{margin:16px 0 5px;width:100%;accent-color:#bd8d52;cursor:pointer}.range-labels{display:flex;justify-content:space-between;font-size:10px;color:#a1a9b4}.divider{height:1px;background:#ebedf0;margin:23px 0}.pause-setting{margin-top:0}.pause-setting p,.switch-row p{margin:4px 0 0;color:#8b98a7;font-size:11px;line-height:1.45}.controls-card select{width:100%;background:#f8f9fa;border:1px solid #e5e7eb;border-radius:9px;color:#29394f;padding:12px;font-size:12px;margin-top:13px;cursor:pointer}.switch-row{display:flex;align-items:center;justify-content:space-between;cursor:pointer;gap:15px}.switch-row strong{font-size:12px}.switch{position:relative;display:inline-flex;flex:none}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch-track{width:37px;height:22px;background:#c6ccd5;display:block;border-radius:20px;position:relative;transition:background .2s}.switch-track:before{content:"";position:absolute;width:16px;height:16px;top:3px;left:3px;background:white;box-shadow:0 1px 2px #0002;border-radius:50%;transition:transform .2s}.switch input:checked+.switch-track{background:var(--navy)}.switch input:checked+.switch-track:before{transform:translateX(15px)}.switch input:focus-visible+.switch-track{outline:3px solid #d5a76a;outline-offset:2px}.quick-facts{display:flex;gap:15px;padding:7px 10px 8px;align-items:start}.fact-icon{width:45px;height:45px;border-radius:11px;background:#e9ecef;display:flex;align-items:center;justify-content:center;font-size:17px;font-weight:800;flex:none}.fact-icon span{color:#c39257;margin:0 2px}.quick-facts strong{display:block;font-size:11px;margin:3px 0 5px}.quick-facts p{font-size:11px;color:#798798;line-height:1.6;margin:0}.score-card{padding:26px 27px 20px}.score-topline{display:flex;align-items:center;justify-content:space-between;gap:12px}.score-badge{border:1px solid #cfe8de;background:#f0faf5;border-radius:22px;color:#529477;font-size:9px;letter-spacing:1px;padding:7px 10px;font-weight:800;white-space:nowrap}.score-badge span{display:inline-block;background:#5baa86;width:6px;height:6px;border-radius:50%;margin-right:5px}.score-meta{margin:24px 0 15px;display:flex;gap:11px;align-items:center;font-size:11px;color:#8b98a7}.score-meta strong{color:#1d2a3e;font-size:12px}.meta-sep{color:#c8cdd5}.score-paper{background:var(--paper);border:1px solid #e9e4da;border-radius:12px;box-shadow:0 3px 0 #f0eee8;overflow:hidden;padding:17px 16px 15px}.paper-topline,.paper-bottomline{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#aa9e8c;font-size:9px;font-weight:700;letter-spacing:1.4px}.paper-topline{padding:0 11px 13px;border-bottom:1px solid #f0ebe3}.paper-bottomline{padding:13px 11px 0;border-top:1px solid #f0ebe3}.score-svg-container{width:100%;overflow:hidden;min-height:186px;transition:opacity .15s}.score-svg-container svg{display:block;width:100%;height:auto}.score-svg-container .measure-bg{fill:transparent;transition:fill .15s}.score-svg-container g.measure{cursor:pointer;outline:none}.score-svg-container g.measure:hover .measure-bg{fill:#f7eddd}.score-svg-container g.measure.active .measure-bg{fill:#f6e5c9}.score-svg-container g.measure.selected .measure-bg{fill:#f4eee4}.score-svg-container g.measure:focus-visible .measure-bg{stroke:#c49354;stroke-width:2}.score-svg-container .staffline{stroke:#5b6067;stroke-width:1;opacity:.72}.score-svg-container .notehead,.score-svg-container .notestem,.score-svg-container .beam,.score-svg-container .barline,.score-svg-container .restmark{fill:#252d38;stroke:#252d38}.score-svg-container .barline{stroke-width:1.25}.score-svg-container .beatlabel{font-size:13px;font-weight:750;fill:#3a4350;font-family:"Segoe UI",sans-serif}.score-svg-container .cellnumber{font-size:9px;fill:#b5ad9f;font-family:"Segoe UI",sans-serif}.score-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:#97a1ac;margin:16px 4px 1px;line-height:1.4}.legend{display:flex;align-items:center;gap:8px}.legend-bar{display:inline-block;height:12px;width:6px;border-left:1px solid #758090;border-right:2px solid #758090}.empty-state{text-align:center;padding:44px 10px 65px}.empty-state .empty-icon{font-size:40px;color:#c4a37b}.empty-state strong{display:block;font-size:14px}.empty-state p{font-size:12px;color:#8390a1}.player-card{border-radius:var(--radius);background:var(--navy);color:#fff;padding:25px 28px 20px;box-shadow:0 12px 25px rgba(15,28,45,.08)}.player-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.player-eyebrow{font-size:9px;color:#cdaa80;letter-spacing:1.8px;font-weight:800;display:flex;align-items:center;gap:8px}.player-wave{letter-spacing:2px;font-size:11px}.player-top h2{font-family:Georgia,serif;font-size:24px;font-weight:400;margin:10px 0 6px;letter-spacing:-.3px}.player-top p{color:#9faabb;font-size:11px;line-height:1.6;margin:0}.player-live{font-size:9px;letter-spacing:1px;font-weight:800;color:#aab7c7;margin-top:8px;text-align:right}.player-live.playing{color:#79c9a3}.player-main{display:flex;gap:13px;align-items:center;margin-top:32px}.play-button{width:57px;height:57px;border:0;border-radius:50%;display:grid;place-items:center;background:#d5ab76;color:var(--navy);box-shadow:0 4px 16px #0002;flex:none}.play-button:hover{background:#ecc08a}.stop-button{height:38px;width:38px;display:grid;place-items:center;border:1px solid #46546a;border-radius:50%;color:#ccd6e2;background:transparent;flex:none}.stop-button:hover{background:#2f3e54}.progress-area{flex:1;min-width:0}.timing-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px;color:#b4bfcb;font-size:11px;font-variant-numeric:tabular-nums}.timing-row strong{color:#e7edf3;font-size:11px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.progress-track{height:7px;background:#354258;border-radius:10px;overflow:hidden}.progress-fill{height:100%;width:0;background:#d5ab76;border-radius:10px;transition:width .08s linear}.player-foot{border-top:1px solid #334057;margin-top:27px;padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#9eabbd}.pulse-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#d1a86e;margin-right:6px}.bottom-callout{display:flex;align-items:start;gap:14px;padding:3px 12px;color:#6e7b8a}.callout-ornament{font-size:24px;color:#c79c64}.bottom-callout p{margin:2px 0 0;font-size:11px;line-height:1.7}.bottom-callout strong{color:#26384b}.bottom-callout em{font-style:italic;color:#a67b4a}.site-footer{max-width:1450px;margin:28px auto 0;padding:23px 24px 32px;border-top:1px solid #e3e6ea;display:flex;justify-content:space-between;gap:18px;color:#98a2ae;font-size:10px}.app-dialog{width:min(760px,calc(100vw - 36px));max-height:min(86vh,900px);border:1px solid #e6e9ef;background:white;border-radius:18px;box-shadow:0 25px 100px #0005;padding:25px 28px;overflow-y:auto}.app-dialog::backdrop{background:#142137ad;backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.modal-eyebrow{color:#bc8c53;font-size:10px;letter-spacing:1.3px;font-weight:800;margin:0 0 8px}.modal-header h2{font-size:27px;font-family:Georgia,serif;font-weight:400;margin:0 0 6px}.modal-header p:not(.modal-eyebrow){font-size:12px;color:#8794a4;margin:0;line-height:1.5}.close-dialog{border:0;background:#f4f5f6;width:33px;height:33px;border-radius:9px;font-size:24px;line-height:1;color:#6f7e8d;flex:none}.dictionary-legend{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 18px}.dictionary-legend span{font-size:10px;background:#f6f7f8;border-radius:7px;border:1px solid #e7e9ed;padding:8px 10px}.dictionary-legend b{color:#ad7d43;margin-right:3px}.dictionary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.dict-cell{border:1px solid #e5e8ed;border-radius:9px;padding:12px 10px;display:flex;justify-content:space-between;align-items:center;gap:8px}.dict-cell .char{font-weight:800;font-size:17px}.dict-cell .code{font-family:ui-monospace,Consolas,monospace;font-size:12px;letter-spacing:1px;color:#9a7345}.dict-section-label{grid-column:1/-1;margin-top:10px;font-size:10px;letter-spacing:1.4px;color:#8190a2;font-weight:800}.modal-footnote{font-size:11px;color:#788699;background:#f8f7f4;padding:13px 15px;border-radius:9px;line-height:1.6;margin-top:20px}.guide-items{margin-top:26px;display:flex;flex-direction:column;gap:23px}.guide-items>div{display:flex;align-items:flex-start;gap:16px}.guide-items>div>span{border:1px solid #e7d3b8;background:#fbf5eb;color:#b48a57;padding:8px;border-radius:8px;font-size:11px;font-weight:750}.guide-items h3{font-size:14px;margin:0 0 6px}.guide-items p{font-size:12px;color:#7c899b;line-height:1.65;margin:0}@media(max-width:1100px){.workspace{grid-template-columns:302px minmax(0,1fr);gap:16px;padding:0 18px 24px}.topbar,.hero{padding-left:28px;padding-right:28px}.editor-card,.controls-card{padding:20px}.score-card{padding:23px 17px 19px}}@media(max-width:800px){.topbar{height:73px}.hero{padding-bottom:94px;padding-top:43px}.workspace{display:flex;flex-direction:column;margin-top:-56px}.side-col,.main-col{width:100%}.side-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.quick-facts{grid-column:1/-1}.score-card{padding:22px}.header-actions{gap:8px}.hero h1{font-size:42px}}@media(max-width:580px){.topbar{padding:0 16px}.brand-copy strong{font-size:16px}.brand-copy small{font-size:8px;letter-spacing:1px}.text-button{display:none}.outline-button{padding:9px 11px;font-size:10px}.hero{padding:36px 20px 91px}.hero h1{font-size:37px}.hero p{font-size:12px}.workspace{padding:0 12px 20px;gap:15px}.side-col{display:flex;gap:15px}.editor-card,.controls-card{padding:20px}.quick-facts{padding:0 7px}.score-card{padding:19px 12px}.score-badge{font-size:8px;padding:6px}.score-paper{padding:12px 6px}.paper-topline,.paper-bottomline{font-size:8px;letter-spacing:.8px;padding-left:7px;padding-right:7px}.score-meta{margin:19px 2px 12px}.score-footer{font-size:9px}.player-card{padding:23px 17px}.player-top h2{font-size:23px}.player-live{font-size:8px;max-width:100px}.player-main{gap:10px}.play-button{height:52px;width:52px}.stop-button{width:32px;height:32px}.player-foot{font-size:9px}.site-footer{padding:18px 18px 27px;margin:12px auto 0;flex-direction:column;gap:8px}.dictionary-grid{grid-template-columns:repeat(3,1fr)}.app-dialog{padding:20px}.bottom-callout{padding:5px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

/* Impresión de partitura: botón debajo del visor */
.print-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:16px 4px 0}.print-score-button{background:#fff;border:1px solid #c9b08f;border-radius:9px;padding:11px 18px;color:#29364a;font-size:12px;font-weight:750;cursor:pointer}.print-score-button:hover{background:#fbf5ed}.print-score-button:focus-visible{outline:3px solid #d5a76a;outline-offset:2px}.print-score-button:disabled{opacity:.45;cursor:not-allowed}.print-actions span{color:#8a94a2;font-size:11px}
