/* [2026-10-31] Icono de tresillo: número con corchete encima */
      .gtep-tuplet-ico { position: relative; display: inline-block; padding: 0 3px; line-height: 1; }
      .gtep-tuplet-ico::before { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 3px;
          border: 1px solid currentColor; border-bottom: none; }
      /* Color del papel para tapar las cuerdas detrás del compás de la TAB */
      #paper-wrapper { --gtep-paper-bg: #ffffff; }
      #paper-wrapper.dark-canvas { --gtep-paper-bg: #1e1e24; }
      /* ===== [2026-10-31] Barra de estado tipo HUD (oscuro + acentos neón + glass) ===== */
      .gtep-statusbar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px;
          background: linear-gradient(90deg, rgba(20,184,166,0.10), rgba(35,35,40,0.92) 30%, rgba(35,35,40,0.92) 70%, rgba(230,180,80,0.10));
          border-top: 1px solid rgba(20,184,166,0.35); backdrop-filter: blur(6px);
          font: 600 10.5px/1 'Inter', 'Segoe UI', system-ui, sans-serif; color: #cbd5e1; white-space: nowrap; overflow: hidden; }
      .gtep-sb-seg { padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); }
      .gtep-sb-pos { color: #5eead4; border-color: rgba(94,234,212,0.35); text-shadow: 0 0 6px rgba(94,234,212,0.45); }
      .gtep-sb-note { color: #fde68a; border-color: rgba(253,230,138,0.35); text-shadow: 0 0 6px rgba(253,230,138,0.4); min-width: 90px; text-align: center; }
      .gtep-sb-fill { display: inline-flex; align-items: center; gap: 6px; }
      .gtep-sb-meter { width: 70px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; display: inline-block; }
      .gtep-sb-meter > span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f59e0b, #fbbf24); box-shadow: 0 0 8px #f59e0b; transition: width .15s; }
      .gtep-sb-meter.full > span { background: linear-gradient(90deg, #10b981, #34d399); box-shadow: 0 0 8px #10b981; }
      .gtep-sb-msg { flex: 1; overflow: hidden; text-overflow: ellipsis; color: #94a3b8; font-weight: 500; padding-left: 4px; }
      .gtep-sb-msg.ok { color: #34d399; } .gtep-sb-msg.warn { color: #fbbf24; } .gtep-sb-msg.error { color: #f87171; }
      .gtep-sb-right { color: #e2e8f0; }
      .gtep-sb-help { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(94,234,212,0.5); color: #5eead4; font-weight: 800; }
      .gtep-sb-help:hover { background: rgba(94,234,212,0.15); box-shadow: 0 0 10px rgba(94,234,212,0.5); }
      /* Números de compás coloreados según estén vacíos, incompletos o completos */
      .measure-num.gtep-m-partial { color: #d97706 !important; }
      .measure-num.gtep-m-partial::after { content: ' ◔'; font-size: 8px; }
      .measure-num.gtep-m-full { color: #059669 !important; }
      /* Etiqueta de nota al pasar el ratón por el diapasón */
      #gtep-fret-tip { position: absolute; pointer-events: none; z-index: 30; padding: 1px 6px; border-radius: 6px;
          font: 700 10px/1.4 'Segoe UI', sans-serif; color: #0f172a; background: #5eead4; box-shadow: 0 0 10px rgba(94,234,212,0.7);
          transform: translate(-50%, -130%); white-space: nowrap; }
      /* Panel de ayuda (glass + neón) */
      .gtep-help-panel { width: 840px; padding: 20px 22px; border-radius: 14px; color: #e2e8f0;
          background: linear-gradient(160deg, rgba(30,41,59,0.92), rgba(17,24,39,0.95)); border: 1px solid rgba(94,234,212,0.35);
          box-shadow: 0 0 40px rgba(20,184,166,0.25), 0 20px 60px rgba(0,0,0,0.6); backdrop-filter: blur(10px); }
      .gtep-help-panel h3 { color: #fbbf24; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; margin-bottom: 8px; }
      .gtep-help-panel ul { list-style: none; padding: 0; margin: 0; }
      .gtep-help-panel li { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; color: #94a3b8; }
      .gtep-help-panel li span { color: #cbd5e1; margin-left: 4px; }
      .gtep-kbd { display: inline-block; min-width: 20px; text-align: center; padding: 1px 6px; border-radius: 5px; font: 700 11px/1.5 'Segoe UI', sans-serif;
          color: #5eead4; background: rgba(15,23,42,0.9); border: 1px solid rgba(94,234,212,0.45); box-shadow: 0 2px 0 rgba(94,234,212,0.25); }
      .gtep-help-tip { margin-top: 8px; font-size: 11px; color: #94a3b8; line-height: 1.4; }
      .gtep-help-legend { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; gap: 22px; font-size: 11px; color: #94a3b8; }
      /* [2026-10-31] Menús desplegables a la medida del texto (antes las opciones largas se partían en 2 líneas) */
      .app-menubar .dropdown { width: max-content !important; min-width: 170px !important; max-width: 380px !important; }
      .app-menubar .dropdown-item { white-space: nowrap !important; gap: 22px; }
      /* La pedalera nunca más ancha que la pantalla, con cualquier escala de interfaz */
      #pedalboard-ui { max-width: calc(95vw / var(--gtep-ui-scale, 1)) !important; }
