/* Escuela de Handpan · mockup visual sin interacción */
.eh-scale-app{--ink:#173d43;--teal:#168e9a;--cream:#f8f0df;--line:#d8c5a7;--muted:#62584d;max-width:1500px;margin:0 auto;padding:18px 14px 12px;color:#302c28;font-family:Georgia,"Times New Roman",serif;background:radial-gradient(ellipse at 10% 5%,rgba(194,211,193,.35),transparent 24%),radial-gradient(ellipse at 88% 16%,rgba(193,210,203,.4),transparent 28%),linear-gradient(135deg,#f8f1e3,#fff9ec 48%,#f5ead6);border-radius:18px;overflow:hidden;box-sizing:border-box}
.eh-scale-app *{box-sizing:border-box}
.eh-scale-hero{display:flex;align-items:center;gap:18px;min-height:105px;padding:0 12px 16px;position:relative;background:linear-gradient(90deg,rgba(250,245,231,.85),rgba(255,251,241,.3));}
.eh-scale-brandmark{font-size:48px;color:#47766b;transform:rotate(-20deg);width:86px;text-align:center}
.eh-scale-heading{flex:1;min-width:0}
.eh-scale-heading h1{font-size:clamp(30px,4.5vw,64px);line-height:.98;margin:0;color:var(--ink);font-weight:600;letter-spacing:-2px}
.eh-scale-heading p{font-size:clamp(12px,1.4vw,19px);margin:9px 0 0;color:#292d2b}
.eh-scale-tagline{font-size:clamp(13px,1.5vw,21px);font-style:italic;color:#3f777b;line-height:1.35;text-align:center;margin:0 25px}
.eh-scale-sun{font-size:45px;color:#e7a03e;padding:0 8px}
.eh-scale-layout{display:grid;grid-template-columns:minmax(220px, .95fr) minmax(400px,2.05fr) minmax(210px,.78fr);gap:16px;align-items:stretch}
.eh-scale-panel{background:rgba(255,250,240,.83);border:1px solid var(--line);border-radius:17px;box-shadow:0 5px 15px rgba(92,66,35,.06);overflow:hidden}
.eh-scale-list{padding:12px 10px}
.eh-scale-app h2{font-size:clamp(18px,1.7vw,25px);color:#173b42;margin:2px 6px 12px;font-weight:600}
.eh-scale-app h2 span{display:inline-block;margin-right:9px;color:#16434a;font-family:Arial,sans-serif}
.eh-scale-option{display:flex;align-items:center;gap:10px;padding:8px 7px;border-bottom:1px solid rgba(205,188,160,.6);min-height:53px}
.eh-scale-option:last-child{border-bottom:0}
.eh-scale-option.is-selected{border:1px solid #18a6b5;border-radius:11px;background:linear-gradient(90deg,#d8eeee,#f1f7ef);margin:0 -4px;padding-left:10px}
.eh-scale-option b{display:block;font-size:clamp(14px,1.25vw,19px);color:#183a40;font-weight:600;line-height:1.1}
.eh-scale-option small{display:block;font-size:clamp(11px,.98vw,15px);margin-top:4px;line-height:1.1;color:#403b35}
.eh-scale-option i{font-style:normal;font-family:Arial,sans-serif;font-size:25px;margin-left:auto;color:#345056}
.eh-mini-pan{width:42px;height:32px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;color:transparent;border:2px solid #6d5a45;box-shadow:inset 0 3px 5px #ffffff8c,inset 0 -5px 7px #0006,0 2px 3px #0003;background:radial-gradient(ellipse at 35% 25%,#b99a70,#574332 65%,#201d1b)}
.pan-gold{background:radial-gradient(ellipse at 35% 25%,#edc98b,#8b6034 65%,#28201a)}
.pan-blue{background:radial-gradient(ellipse at 35% 25%,#a5c2cf,#3f6276 65%,#202c32)}
.pan-plum{background:radial-gradient(ellipse at 35% 25%,#b4a0b7,#65506b 65%,#28222d)}
.pan-dark{background:radial-gradient(ellipse at 35% 25%,#8d8982,#373532 65%,#171717)}
.eh-scale-main{display:flex;flex-direction:column;min-width:0;gap:8px}
.eh-scale-summary{padding:16px 18px 0}
.eh-scale-summary-title{display:flex;align-items:center;gap:16px}
.eh-scale-summary-title h2{font-size:clamp(29px,3.2vw,48px);margin:0 0 4px;letter-spacing:-1px}
.eh-pill{background:#d5e8e5;color:#16464c;border-radius:30px;padding:7px 18px;font:600 15px Arial,sans-serif}
.eh-scale-summary p{font-size:clamp(13px,1.2vw,18px);line-height:1.4;margin:0 0 12px;color:#403b36}
.eh-scale-notes{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 -7px;padding:10px 8px 12px;border-top:1px solid #e4d3b8;background:linear-gradient(90deg,#f3e8d4,#fff9ed);border-radius:0 0 15px 15px}
.eh-scale-notes>span{display:grid;place-items:center;min-width:43px;height:43px;padding:0 8px;border:1px solid #dfc9a8;border-radius:50%;background:#fffaf1;font-size:17px;color:#39332e}
.eh-listen{display:flex;align-items:center;gap:9px;margin-left:auto;padding:7px 10px;border:1px solid #d7c09b;border-radius:13px;font:13px Arial,sans-serif;color:#38312a;background:#f8efdc}
.eh-play{display:grid;place-items:center;border-radius:50%;width:38px;height:38px;background:#287d80;color:#fff;font-size:18px;padding-left:3px}
.eh-pan-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:530px;overflow:hidden;background:radial-gradient(ellipse at 48% 57%,rgba(225,232,207,.8),transparent 49%),radial-gradient(ellipse at 15% 85%,rgba(105,150,130,.25),transparent 34%),radial-gradient(ellipse at 85% 84%,rgba(117,155,132,.25),transparent 33%);border-radius:15px}
.eh-watercolor-water{position:absolute;inset:0;background:repeating-radial-gradient(ellipse at 50% 100%,transparent 0 36px,rgba(94,135,117,.07) 38px 42px,transparent 46px 62px);opacity:.9}
.eh-handpan{position:relative;width:min(94%,610px);aspect-ratio:1;border-radius:50%;background:radial-gradient(ellipse at 35% 24%,#c69b69 0%,#805c3f 18%,#42362d 42%,#191b1a 72%,#8e765c 79%,#29231f 83%,#171817 88%,#9b8164 91%,#28211c 94%);border:7px solid #31271f;box-shadow:inset 0 0 0 3px #c1a17a,inset 0 0 22px 11px #080a0a,0 15px 24px #43332255;overflow:hidden}
.eh-handpan:before{content:"";position:absolute;inset:3%;border-radius:50%;border:2px solid rgba(225,195,155,.7);box-shadow:inset 0 0 22px #080909}
.eh-tone{position:absolute;width:24%;height:22%;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff7e7;font:600 clamp(13px,1.5vw,21px) Arial,sans-serif;text-shadow:0 2px 4px #000; background:radial-gradient(ellipse at 38% 27%,#9c7956 0%,#4c3c2f 31%,#2c2b29 60%,#151817 73%,#80664c 78%,#28221d 84%,#181a19 90%);border:2px solid rgba(25,24,21,.75);box-shadow:inset 0 2px 6px #e0b9876b,inset 0 -8px 12px #0008,0 2px 5px #0007}
.eh-tone:before{content:"";position:absolute;inset:23%;border-radius:50%;border:1px solid #b2926c;box-shadow:inset 0 2px 5px #0009,0 1px 2px #e8c99a44}
.tone-top{top:8%;left:38%}.tone-upper-left{top:20%;left:13%}.tone-upper-right{top:20%;right:13%}.tone-left{top:43%;left:6%}.tone-right{top:43%;right:6%}.tone-lower-left{bottom:17%;left:17%}.tone-lower-right{bottom:17%;right:17%}.tone-bottom{bottom:4%;left:38%}
.eh-ding{position:absolute;top:37%;left:37%;width:26%;height:26%;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff8e8;font:600 clamp(15px,1.8vw,23px) Arial,sans-serif;background:radial-gradient(ellipse at 38% 26%,#caa174 0%,#896448 26%,#42342a 57%,#171a19 77%,#9a7956 82%,#25201c 89%);border:3px solid #31261e;box-shadow:inset 0 0 0 3px #a98a63,inset 0 3px 8px #f4d7a077,0 2px 7px #0008}
.eh-ding-glow{position:absolute;inset:-5%;border-radius:50%;border:3px solid #7df9ff;box-shadow:0 0 10px #37efff, inset 0 0 8px #37efff}
.eh-ding b{position:absolute;bottom:-27px;font-size:18px}
.eh-pan-controls{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;white-space:nowrap;background:#fff8ebed;border:1px solid #d9c5a3;border-radius:15px;padding:8px 12px;box-shadow:0 5px 12px #60472818;font:13px Arial,sans-serif}
.eh-pan-controls>span:first-child{font-size:25px;color:#16454c}
.eh-control-active,.eh-control-light{padding:11px 15px;border-radius:10px;border:1px solid #d4bd96}
.eh-control-active{background:#287e83;color:#fff;border-color:#1b6b70}.eh-control-light{background:#fff7e9}
.eh-scale-right{display:flex;flex-direction:column;gap:14px}
.eh-tonality{padding:12px 10px 14px}
.eh-key{display:flex;align-items:center;justify-content:space-between;padding:6px 11px;border-bottom:1px solid rgba(205,188,160,.6);font-size:17px;min-height:32px}
.eh-key:last-child{border-bottom:0}
.eh-key i{font-style:normal;font:22px Arial,sans-serif}
.eh-key.is-selected{background:#d9ece8;border:1px solid #20a3b1;border-radius:10px;color:#173d43}
.eh-scale-degree{padding:12px 12px 15px}
.eh-scale-degree h2{font-size:clamp(17px,1.45vw,22px)}
.eh-degree-row{display:flex;align-items:center;gap:12px;padding:4px 6px;font-size:14px}
.eh-degree-row b{display:inline-grid;place-items:center;min-width:39px;border-radius:14px;color:#fff;padding:4px 5px;font:600 12px Arial,sans-serif;text-shadow:0 1px 2px #0003}
.degree-cyan{background:#56b8c3}.degree-blue{background:#8ccbd1}.degree-teal{background:#72bcb8}.degree-green{background:#9abf72}.degree-olive{background:#9aa94d}.degree-yellow{background:#d3c44c}.degree-orange{background:#efad37}.degree-coral{background:#ef8b56}
.eh-scale-note{text-align:center;font:12px Arial,sans-serif;color:#847461;padding:10px 4px 0}
@media(max-width:1100px){.eh-scale-layout{grid-template-columns:minmax(200px,.8fr) minmax(350px,1.5fr)}.eh-scale-right{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.eh-scale-tagline{display:none}.eh-pan-stage{min-height:470px}}
@media(max-width:680px){.eh-scale-app{padding:10px 8px;border-radius:12px}.eh-scale-hero{min-height:0;gap:8px;padding:8px 4px 15px}.eh-scale-brandmark{width:35px;font-size:28px}.eh-scale-heading h1{font-size:30px;letter-spacing:-1px}.eh-scale-heading p{font-size:12px;line-height:1.25}.eh-scale-sun{font-size:28px;padding:0}.eh-scale-layout{display:flex;flex-direction:column;gap:12px}.eh-scale-list{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:9px}.eh-scale-list h2{grid-column:1/-1}.eh-scale-option{min-width:0;gap:6px;padding:6px 3px;min-height:49px;border:1px solid #e3d5bf!important;border-radius:8px!important;margin:0!important}.eh-mini-pan{width:29px;height:24px;flex-basis:29px}.eh-scale-option b{font-size:12px}.eh-scale-option small{font-size:10px}.eh-scale-option i{display:none}.eh-scale-summary{padding:12px 12px 0}.eh-scale-summary-title h2{font-size:32px}.eh-scale-summary p{font-size:13px}.eh-desktop{display:none}.eh-scale-notes{gap:5px}.eh-scale-notes>span{min-width:34px;height:34px;font-size:13px;padding:0 5px}.eh-listen{width:100%;justify-content:center;margin:4px 0 0;padding:5px}.eh-pan-stage{min-height:340px}.eh-handpan{width:min(96%,390px);border-width:5px}.eh-tone{font-size:12px}.eh-ding b{font-size:14px}.eh-pan-controls{gap:5px;padding:6px 7px;bottom:4px;font-size:11px}.eh-control-active,.eh-control-light{padding:9px 8px}.eh-scale-right{display:flex}.eh-tonality{display:grid;grid-template-columns:repeat(3,1fr);gap:0 6px}.eh-tonality h2{grid-column:1/-1}.eh-key{font-size:14px;padding:6px 7px;min-height:31px}.eh-scale-degree{display:grid;grid-template-columns:1fr 1fr;gap:2px 6px}.eh-scale-degree h2{grid-column:1/-1}.eh-degree-row{font-size:12px;gap:7px}.eh-scale-note{font-size:10px}}

.eh-scale-option[role=button]{cursor:pointer}.eh-scale-option[role=button]:focus-visible{outline:3px solid #20a3b1;outline-offset:2px}

.eh-key[role=button]{cursor:pointer}.eh-key[role=button]:focus-visible{outline:3px solid #20a3b1;outline-offset:2px}

/* 0.4.0: se elimina el panel inferior de notas/descripciones de la derecha */
.eh-scale-right{display:block}
.eh-scale-degree{display:none!important}
@media(max-width:1100px){.eh-scale-right{display:block}}
@media(max-width:680px){.eh-scale-right{display:block}}

/* 0.5.0: el handpan ocupa la parte superior y la ficha descriptiva queda debajo */
.eh-scale-main{display:flex;flex-direction:column}
.eh-pan-stage{order:1;min-height:clamp(500px,48vw,700px)}
.eh-scale-summary{order:2}
@media(max-width:1100px){.eh-pan-stage{min-height:clamp(440px,60vw,620px)}}
@media(max-width:680px){.eh-pan-stage{min-height:clamp(340px,92vw,440px)}}

/* 0.6.0: eliminar cabecera superior para aprovechar la primera pantalla */
.eh-scale-app{padding-top:10px}
.eh-scale-hero{display:none!important}
.eh-scale-layout{align-items:start}
.eh-scale-main{min-width:0}
.eh-pan-stage{min-height:clamp(460px,43vw,650px)}
@media(max-width:1100px){.eh-pan-stage{min-height:clamp(420px,54vw,580px)}}
@media(max-width:680px){.eh-scale-app{padding-top:6px}.eh-pan-stage{min-height:clamp(320px,88vw,420px)}}

/* 0.7.0: reducir el espacio blanco del tema y elevar la herramienta */
.eh-scale-app{
  margin-top:-62px;
  position:relative;
  z-index:1;
}
body.admin-bar .eh-scale-app{margin-top:-62px}
@media(max-width:782px){
  .eh-scale-app{margin-top:-38px}
  body.admin-bar .eh-scale-app{margin-top:-38px}
}

/* 0.8.0: navegación superior con el estilo acordado en Creador PRO */
.eh-scale-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  max-width:100%;
  margin:0 0 12px;
  padding:0 2px;
  font-family:Arial,sans-serif;
}
.eh-scale-nav-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 16px;
  background:#fff;
  border:1px solid #c9dce6;
  border-radius:10px;
  color:#244a61!important;
  font-size:14px;
  font-weight:700;
  line-height:1.2;
  text-decoration:none!important;
  box-shadow:0 2px 5px rgba(40,76,96,.06);
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.eh-scale-nav-button:hover,.eh-scale-nav-button:focus{
  background:#f0f7fa;
  border-color:#8fb8cb;
  color:#163c52!important;
  box-shadow:0 3px 8px rgba(40,76,96,.12);
  transform:translateY(-1px);
}
@media(max-width:680px){
  .eh-scale-nav{gap:8px;margin-bottom:8px}
  .eh-scale-nav-button{min-height:38px;padding:8px 11px;font-size:12px}
}

/* 0.8.1: stronger navigation styles to override theme link defaults */
.eh-scale-app .eh-scale-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:0 2px!important;
  font-family:Arial,sans-serif!important;
}
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button,
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button:visited{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-height:40px!important;
  padding:9px 16px!important;
  background:#fff!important;
  border:1px solid #c9dce6!important;
  border-radius:10px!important;
  color:#244a61!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-decoration:none!important;
  box-shadow:0 2px 5px rgba(40,76,96,.06)!important;
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button:hover,
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button:focus{
  background:#f0f7fa!important;
  border-color:#8fb8cb!important;
  color:#163c52!important;
  text-decoration:none!important;
  box-shadow:0 3px 8px rgba(40,76,96,.12)!important;
}
@media(max-width:680px){
  .eh-scale-app .eh-scale-nav{gap:8px!important;margin-bottom:8px!important}
  .eh-scale-app .eh-scale-nav a.eh-scale-nav-button{min-height:38px!important;padding:8px 11px!important;font-size:12px!important}
}

/* 0.8.2: definitive Aula Virtual navigation layout */
.eh-scale-app .eh-scale-nav{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:space-between!important;
  flex-wrap:nowrap!important;
  gap:12px!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:0 2px!important;
  box-sizing:border-box!important;
  font-family:Arial,sans-serif!important;
}
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button,
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button:link,
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button:visited{
  display:inline-flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  margin:0!important;
  padding:9px 16px!important;
  background:#fff!important;
  border:1px solid #c9dce6!important;
  border-radius:10px!important;
  color:#244a61!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-decoration:none!important;
  box-shadow:0 2px 5px rgba(40,76,96,.06)!important;
}
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button:hover,
.eh-scale-app .eh-scale-nav a.eh-scale-nav-button:focus{
  background:#f0f7fa!important;
  border-color:#8fb8cb!important;
  color:#163c52!important;
  text-decoration:none!important;
}
@media(max-width:480px){
  .eh-scale-app .eh-scale-nav{gap:8px!important}
  .eh-scale-app .eh-scale-nav a.eh-scale-nav-button{padding:8px 10px!important;font-size:12px!important}
}

/* 0.8.3: reducir espacio entre navegación y handpan para que se vea más completo */
.eh-scale-app .eh-scale-nav{margin-bottom:2px!important}
.eh-scale-app .eh-scale-layout{margin-top:0!important}
.eh-scale-app .eh-scale-main{gap:2px!important}
.eh-scale-app .eh-pan-stage{
  min-height:0!important;
  height:calc(100vh - 250px)!important;
  max-height:650px!important;
  margin-top:0!important;
}
@media(max-width:1100px){
  .eh-scale-app .eh-pan-stage{height:calc(100vh - 235px)!important;max-height:600px!important}
}
@media(max-width:680px){
  .eh-scale-app .eh-scale-nav{margin-bottom:0!important}
  .eh-scale-app .eh-pan-stage{height:clamp(300px,72vh,430px)!important;max-height:none!important}
}

/* 0.8.4: compact desktop layout to show pan, scale information and side selectors without page scroll */
@media(min-width:1101px){
  .eh-scale-app{padding-top:6px!important;padding-bottom:6px!important}
  .eh-scale-app .eh-scale-nav{margin-bottom:4px!important}
  .eh-scale-app .eh-scale-layout{gap:10px!important}
  .eh-scale-app .eh-scale-list{padding:8px 8px!important}
  .eh-scale-app .eh-scale-app h2{margin-bottom:7px!important}
  .eh-scale-app .eh-scale-option{min-height:0!important;padding-top:4px!important;padding-bottom:4px!important;gap:7px!important}
  .eh-scale-app .eh-mini-pan{width:34px!important;height:27px!important;flex-basis:34px!important}
  .eh-scale-app .eh-scale-option b{font-size:15px!important}
  .eh-scale-app .eh-scale-option small{font-size:11px!important;margin-top:2px!important}
  .eh-scale-app .eh-scale-main{gap:6px!important}
  .eh-scale-app .eh-pan-stage{height:clamp(360px,48vh,440px)!important;max-height:440px!important;min-height:0!important}
  .eh-scale-app .eh-handpan{width:min(78%,430px)!important}
  .eh-scale-app .eh-pan-controls{bottom:5px!important;padding:5px 8px!important;gap:6px!important}
  .eh-scale-app .eh-pan-controls>span:first-child{font-size:20px!important}
  .eh-scale-app .eh-control-active,.eh-scale-app .eh-control-light{padding:7px 10px!important}
  .eh-scale-app .eh-scale-summary{padding:9px 12px 0!important}
  .eh-scale-app .eh-scale-summary-title h2{font-size:30px!important;margin-bottom:2px!important}
  .eh-scale-app .eh-scale-summary p{font-size:13px!important;line-height:1.25!important;margin-bottom:6px!important}
  .eh-scale-app .eh-scale-notes{padding:6px!important;gap:5px!important}
  .eh-scale-app .eh-scale-notes>span{min-width:32px!important;height:32px!important;font-size:13px!important}
  .eh-scale-app .eh-listen{padding:4px 7px!important;font-size:11px!important}
  .eh-scale-app .eh-play{width:29px!important;height:29px!important;font-size:14px!important}
  .eh-scale-app .eh-tonality{padding:8px!important}
  .eh-scale-app .eh-key{min-height:0!important;padding:5px 8px!important;font-size:14px!important}
  .eh-scale-app .eh-scale-app h2{font-size:18px!important}
}
@media(min-width:681px) and (max-width:1100px){
  .eh-scale-app .eh-pan-stage{height:clamp(350px,48vh,460px)!important;max-height:460px!important;min-height:0!important}
  .eh-scale-app .eh-handpan{width:min(80%,410px)!important}
  .eh-scale-app .eh-scale-option{min-height:0!important;padding:5px!important}
  .eh-scale-app .eh-scale-option b{font-size:14px!important}
  .eh-scale-app .eh-scale-option small{font-size:11px!important}
  .eh-scale-app .eh-key{padding:5px 8px!important;min-height:0!important}
}


/* 0.8.5: handpan completo, controles debajo y ficha visible en una pantalla */
@media (min-width: 1101px) {
  .eh-scale-app {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }
  .eh-scale-app .eh-scale-nav {
    margin-bottom: 4px !important;
  }
  .eh-scale-app .eh-scale-layout {
    grid-template-columns: minmax(210px, .92fr) minmax(420px, 2.05fr) minmax(205px, .78fr) !important;
    gap: 10px !important;
    align-items: start !important;
  }
  .eh-scale-app .eh-scale-list {
    max-height: calc(100vh - 225px) !important;
    overflow-y: auto !important;
    padding: 7px 7px !important;
  }
  .eh-scale-app .eh-scale-list h2,
  .eh-scale-app .eh-tonality h2 {
    font-size: 20px !important;
    margin: 0 0 6px !important;
  }
  .eh-scale-app .eh-scale-option {
    min-height: 0 !important;
    padding: 4px 5px !important;
    gap: 6px !important;
  }
  .eh-scale-app .eh-mini-pan {
    width: 32px !important;
    height: 25px !important;
    flex-basis: 32px !important;
  }
  .eh-scale-app .eh-scale-option b {
    font-size: 14px !important;
    line-height: 1.1 !important;
  }
  .eh-scale-app .eh-scale-option small {
    font-size: 10px !important;
    line-height: 1.1 !important;
    margin-top: 1px !important;
  }

  .eh-scale-app .eh-scale-main {
    gap: 6px !important;
  }
  .eh-scale-app .eh-pan-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    justify-items: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: clamp(355px, 43vh, 390px) !important;
    min-height: 0 !important;
    max-height: 390px !important;
    padding: 5px 8px 7px !important;
    gap: 4px !important;
    overflow: hidden !important;
  }
  .eh-scale-app .eh-handpan {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    min-width: 0 !important;
    align-self: center !important;
    justify-self: center !important;
  }
  .eh-scale-app .eh-pan-controls {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    display: flex !important;
    justify-self: center !important;
    align-self: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 6px !important;
    padding: 4px 7px !important;
    margin: 0 !important;
    font-size: 11px !important;
    z-index: 2 !important;
  }
  .eh-scale-app .eh-control-active,
  .eh-scale-app .eh-control-light {
    padding: 6px 8px !important;
    font-size: 11px !important;
  }
  .eh-scale-app .eh-scale-summary {
    padding: 8px 10px !important;
    margin-top: 0 !important;
  }
  .eh-scale-app .eh-scale-summary-title {
    gap: 8px !important;
    margin-bottom: 2px !important;
  }
  .eh-scale-app .eh-scale-summary-title h2 {
    font-size: 27px !important;
    line-height: 1.05 !important;
    margin: 0 !important;
  }
  .eh-scale-app .eh-scale-summary p {
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin: 3px 0 5px !important;
  }
  .eh-scale-app .eh-pill {
    font-size: 11px !important;
    padding: 5px 10px !important;
  }
  .eh-scale-app .eh-scale-notes {
    padding: 4px 0 0 !important;
    gap: 4px !important;
    flex-wrap: nowrap !important;
  }
  .eh-scale-app .eh-scale-notes > span {
    min-width: 29px !important;
    height: 29px !important;
    font-size: 12px !important;
    padding: 0 4px !important;
  }
  .eh-scale-app .eh-listen {
    gap: 5px !important;
    padding: 3px 6px !important;
    font-size: 10px !important;
  }
  .eh-scale-app .eh-play {
    width: 27px !important;
    height: 27px !important;
    font-size: 12px !important;
  }
  .eh-scale-app .eh-tonality {
    padding: 8px !important;
  }
  .eh-scale-app .eh-key {
    min-height: 0 !important;
    padding: 4px 7px !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }
  .eh-scale-app .eh-scale-note {
    margin-top: 3px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
  }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .eh-scale-app .eh-pan-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    justify-items: center !important;
    align-items: center !important;
    height: clamp(340px, 43vh, 390px) !important;
    min-height: 0 !important;
    max-height: 390px !important;
    padding: 5px 8px 7px !important;
    gap: 4px !important;
  }
  .eh-scale-app .eh-handpan {
    width: min(100%, 320px) !important;
    max-width: 320px !important;
  }
  .eh-scale-app .eh-pan-controls {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 4px 7px !important;
    gap: 5px !important;
  }
}


/* 0.8.6: ajuste final para mostrar el handpan entero y todo el catálogo sin scroll interno */
@media (min-width: 1101px) {
  .eh-scale-app .eh-scale-list {
    max-height: none !important;
    overflow: visible !important;
    padding: 5px 6px !important;
  }
  .eh-scale-app .eh-scale-list h2 {
    font-size: 19px !important;
    margin: 0 4px 4px !important;
    line-height: 1.1 !important;
  }
  .eh-scale-app .eh-scale-option {
    min-height: 0 !important;
    padding: 3px 4px !important;
    gap: 5px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .eh-scale-app .eh-scale-option.is-selected {
    padding: 3px 5px !important;
  }
  .eh-scale-app .eh-mini-pan {
    width: 27px !important;
    height: 21px !important;
    flex-basis: 27px !important;
    border-width: 1px !important;
  }
  .eh-scale-app .eh-scale-option b {
    font-size: 12px !important;
    line-height: 1.05 !important;
  }
  .eh-scale-app .eh-scale-option small {
    font-size: 9px !important;
    line-height: 1.05 !important;
    margin-top: 1px !important;
  }
  .eh-scale-app .eh-scale-option i {
    font-size: 19px !important;
  }
  .eh-scale-app .eh-pan-stage {
    grid-template-rows: minmax(0, 1fr) auto !important;
    height: clamp(350px, 42vh, 380px) !important;
    max-height: 380px !important;
    padding: 5px 8px 6px !important;
    gap: 3px !important;
  }
  .eh-scale-app .eh-handpan {
    width: min(100%, 285px) !important;
    max-width: 285px !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    flex: 0 1 auto !important;
    align-self: center !important;
    justify-self: center !important;
  }
  .eh-scale-app .eh-pan-controls {
    position: static !important;
    margin: 0 !important;
    padding: 3px 6px !important;
    gap: 5px !important;
    font-size: 10px !important;
  }
  .eh-scale-app .eh-control-active,
  .eh-scale-app .eh-control-light {
    padding: 5px 7px !important;
    font-size: 10px !important;
  }
}


/* 0.8.7: se elimina la barra de modos de toque y se aprovecha ese espacio para ampliar el handpan */
.eh-scale-app .eh-pan-controls { display:none !important; }
@media (min-width: 1101px) {
  .eh-scale-app .eh-pan-stage {
    grid-template-rows: minmax(0, 1fr) !important;
    height: clamp(390px, 46vh, 430px) !important;
    max-height: 430px !important;
    padding: 4px 6px !important;
  }
  .eh-scale-app .eh-handpan {
    width: min(100%, 335px) !important;
    max-width: 335px !important;
    max-height: 100% !important;
  }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .eh-scale-app .eh-pan-stage {
    grid-template-rows: minmax(0, 1fr) !important;
    height: clamp(350px, 45vh, 410px) !important;
    max-height: 410px !important;
  }
  .eh-scale-app .eh-handpan {
    width: min(100%, 315px) !important;
    max-width: 315px !important;
    max-height: 100% !important;
  }
}


/* 0.8.8: laterales alineados con toda la columna central, hasta el final de la ficha */
@media (min-width: 1101px) {
  .eh-scale-app .eh-scale-layout {
    align-items: stretch !important;
  }
  .eh-scale-app .eh-scale-list {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .eh-scale-app .eh-scale-right {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
  }
  .eh-scale-app .eh-scale-right .eh-tonality {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 100% !important;
    box-sizing: border-box !important;
  }
}


/* 0.8.9: tipografía más grande en las columnas laterales, manteniendo la alineación */
@media (min-width: 681px) {
  .eh-scale-app .eh-scale-list h2,
  .eh-scale-app .eh-scale-right h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  .eh-scale-app .eh-scale-option b {
    font-size: 15px !important;
    line-height: 1.15 !important;
  }
  .eh-scale-app .eh-scale-option small {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }
  .eh-scale-app .eh-scale-option {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
  .eh-scale-app .eh-key {
    font-size: 15px !important;
    line-height: 1.2 !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}
@media (min-width: 1101px) {
  .eh-scale-app .eh-scale-list h2,
  .eh-scale-app .eh-scale-right h2 {
    font-size: 23px !important;
  }
  .eh-scale-app .eh-scale-option b {
    font-size: 16px !important;
  }
  .eh-scale-app .eh-scale-option small {
    font-size: 12px !important;
  }
  .eh-scale-app .eh-key {
    font-size: 16px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }
}
@media (max-width: 680px) {
  .eh-scale-app .eh-scale-list h2,
  .eh-scale-app .eh-scale-right h2 {
    font-size: 20px !important;
  }
  .eh-scale-app .eh-scale-option b {
    font-size: 15px !important;
  }
  .eh-scale-app .eh-scale-option small {
    font-size: 11px !important;
  }
  .eh-scale-app .eh-key {
    font-size: 14px !important;
  }
}


/* 0.9.0: conservar laterales y bajar la ficha para dar más espacio al handpan */
@media (min-width: 1101px) {
  .eh-scale-app .eh-scale-layout {
    align-items: stretch !important;
  }
  .eh-scale-app .eh-scale-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .eh-scale-app .eh-pan-stage {
    flex: 1 1 auto !important;
    height: clamp(410px, 49vh, 470px) !important;
    min-height: 410px !important;
    max-height: 470px !important;
    padding: 4px 6px !important;
  }
  .eh-scale-app .eh-handpan {
    width: min(100%, 390px) !important;
    max-width: 390px !important;
    max-height: 100% !important;
  }
  .eh-scale-app .eh-scale-summary {
    flex: 0 0 auto !important;
    margin-top: 0 !important;
  }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .eh-scale-app .eh-scale-main {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
  }
  .eh-scale-app .eh-pan-stage {
    flex: 1 1 auto !important;
    height: clamp(390px, 48vh, 440px) !important;
    min-height: 390px !important;
    max-height: 440px !important;
  }
  .eh-scale-app .eh-handpan {
    width: min(100%, 350px) !important;
    max-width: 350px !important;
    max-height: 100% !important;
  }
}


/* 0.9.1: reservar siempre dos líneas para la descripción y evitar saltos verticales al cambiar de escala */
.eh-scale-app .eh-scale-summary p[data-current-scale-description] {
  line-height: 1.25 !important;
  min-height: 2.5em !important;
  box-sizing: border-box !important;
}


/* 0.9.2: fotografía real del handpan y 13 zonas circulares superpuestas */
.eh-scale-app .eh-pan-stage {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.eh-scale-app .eh-real-pan-wrap {
  position:relative !important;
  width:min(100%, 500px) !important;
  aspect-ratio:2048 / 2007 !important;
  flex:0 1 auto !important;
  z-index:2 !important;
}
.eh-scale-app .eh-real-pan-image {
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  user-select:none !important;
  pointer-events:none !important;
}

.eh-scale-app .eh-note-hotspot {
  position:absolute !important;
  left:var(--note-x) !important;
  top:var(--note-y) !important;
  width:8.2% !important;
  aspect-ratio:1 / 1 !important;
  padding:0 !important;
  margin:0 !important;
  transform:translate(-50%,-50%) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:0 !important;
  border-radius:50% !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#292521 !important;
  font:700 clamp(10px,1vw,14px)/1 Arial,sans-serif !important;
  text-shadow:0 1px 2px rgba(255,255,255,.85) !important;
  cursor:pointer !important;
  z-index:4 !important;
  min-width:0 !important;
  min-height:0 !important;
}
.eh-scale-app .eh-note-hotspot::before {
  content:"" !important;
  position:absolute !important;
  width:76% !important;
  height:76% !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  border:1.2px solid rgba(65,65,65,.42) !important;
  border-radius:50% !important;
  background:rgba(90,90,90,.055) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12) !important;
  pointer-events:none !important;
}
.eh-scale-app .eh-note-hotspot span {
  position:relative !important;
  z-index:1 !important;
}
.eh-scale-app .eh-note-hotspot span:empty::after { content:""; }
.eh-scale-app .eh-note-hotspot:hover::before,
.eh-scale-app .eh-note-hotspot:focus-visible::before {
  border-color:rgba(65,65,65,.68) !important;
  background:rgba(100,100,100,.12) !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.2) !important;
}
.eh-scale-app .eh-note-hotspot:focus-visible {
  outline:1px solid rgba(65,65,65,.5) !important;
  outline-offset:1px !important;
}
.eh-scale-app .eh-note-hotspot-center {
  width:11.5% !important;
}
/* Centros exactos de los 13 puntos negros de la fotografía original */
.eh-scale-app [data-hotspot="1"]  { --note-x:50.92%; --note-y:8.85%; }
.eh-scale-app [data-hotspot="2"]  { --note-x:70.49%; --note-y:16.22%; }
.eh-scale-app [data-hotspot="3"]  { --note-x:25.32%; --note-y:18.86%; }
.eh-scale-app [data-hotspot="4"]  { --note-x:42.50%; --note-y:24.20%; }
.eh-scale-app [data-hotspot="5"]  { --note-x:65.28%; --note-y:29.02%; }
.eh-scale-app [data-hotspot="6"]  { --note-x:84.68%; --note-y:36.53%; }
.eh-scale-app [data-hotspot="7"]  { --note-x:13.45%; --note-y:40.02%; }
.eh-scale-app [data-hotspot="8"]  { --note-x:27.91%; --note-y:39.97%; }
.eh-scale-app [data-hotspot="9"]  { --note-x:82.66%; --note-y:60.42%; }
.eh-scale-app [data-hotspot="10"] { --note-x:17.13%; --note-y:63.31%; }
.eh-scale-app [data-hotspot="11"] { --note-x:36.56%; --note-y:80.09%; }
.eh-scale-app [data-hotspot="12"] { --note-x:63.56%; --note-y:81.53%; }
.eh-scale-app [data-hotspot="13"] { --note-x:52.57%; --note-y:54.23%; }
@media(max-width:680px) {
  .eh-scale-app .eh-real-pan-wrap { width:min(100%, 430px) !important; }
  .eh-scale-app .eh-note-hotspot { border-width:1.5px !important; }
}


/* 0.9.4: zonas táctiles más perceptibles, con gris translúcido y realce discreto al pasar el ratón */
.eh-scale-app .eh-note-hotspot::before {
  border: 1.35px solid rgba(58, 58, 58, .62) !important;
  background: rgba(76, 76, 76, .105) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.17),
    0 0 2px rgba(25,25,25,.12) !important;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}
.eh-scale-app .eh-note-hotspot:hover::before,
.eh-scale-app .eh-note-hotspot:focus-visible::before {
  border-color: rgba(48, 48, 48, .82) !important;
  background: rgba(65, 65, 65, .19) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.24),
    0 0 5px rgba(25,25,25,.20) !important;
  transform: translate(-50%,-50%) scale(1.07) !important;
}
.eh-scale-app .eh-note-hotspot:active::before {
  background: rgba(55, 55, 55, .24) !important;
  transform: translate(-50%,-50%) scale(.98) !important;
}


/* 0.9.5: nombres de las 13 notas de D Kurd sobre los centros táctiles */
.eh-scale-app .eh-note-hotspot {
  color: #24201b !important;
  font-size: clamp(10px, 1.05vw, 14px) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,.92), 0 0 3px rgba(255,255,255,.55) !important;
}
.eh-scale-app .eh-note-hotspot .eh-hotspot-label {
  display: inline-block !important;
  position: relative !important;
  z-index: 2 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}


/* 0.9.6: hover más claro; nombre blanco y zona táctil ligeramente iluminada */
.eh-scale-app .eh-note-hotspot .eh-hotspot-label {
  transition: color .16s ease, text-shadow .16s ease !important;
}
.eh-scale-app .eh-note-hotspot:hover,
.eh-scale-app .eh-note-hotspot:focus-visible {
  color: #fff !important;
}
.eh-scale-app .eh-note-hotspot:hover .eh-hotspot-label,
.eh-scale-app .eh-note-hotspot:focus-visible .eh-hotspot-label {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 7px rgba(255,255,255,.8) !important;
}
.eh-scale-app .eh-note-hotspot:hover::before,
.eh-scale-app .eh-note-hotspot:focus-visible::before {
  border-color: rgba(255,255,255,.92) !important;
  background: rgba(50,50,50,.30) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.42),
    0 0 8px rgba(255,255,255,.48),
    0 0 12px rgba(60,60,60,.32) !important;
  transform: translate(-50%,-50%) scale(1.10) !important;
}
.eh-scale-app .eh-note-chip-list {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:5px;
  min-width:0;
  padding:2px 0;
}
.eh-scale-app .eh-note-chip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:27px;
  padding:5px 7px;
  border:1px solid #e6cba8;
  border-radius:999px;
  background:#fffaf1;
  color:#243f42;
  font-size:12px;
  line-height:1;
  white-space:nowrap;
}
.eh-scale-app .eh-scale-notes {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
@media (max-width: 760px) {
  .eh-scale-app .eh-scale-notes { align-items:flex-start; flex-wrap:wrap; }
}


/* 0.9.7: etiquetas legibles permanentemente; hover con realce adicional */
.eh-scale-app .eh-note-hotspot .eh-hotspot-label {
  color: #fff !important;
  font-size: clamp(13px, 1.25vw, 17px) !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  text-shadow:
    0 1px 2px rgba(0,0,0,.95),
    0 0 4px rgba(0,0,0,.78),
    0 0 7px rgba(0,0,0,.42) !important;
  transition: color .16s ease, text-shadow .16s ease, transform .16s ease !important;
}
.eh-scale-app .eh-note-hotspot:hover .eh-hotspot-label,
.eh-scale-app .eh-note-hotspot:focus-visible .eh-hotspot-label {
  color: #fff !important;
  transform: scale(1.12) !important;
  text-shadow:
    0 1px 2px rgba(0,0,0,1),
    0 0 5px rgba(0,0,0,.9),
    0 0 10px rgba(255,255,255,.95),
    0 0 15px rgba(255,255,255,.55) !important;
}
.eh-scale-app .eh-note-hotspot:hover::before,
.eh-scale-app .eh-note-hotspot:focus-visible::before {
  border-color: rgba(255,255,255,.98) !important;
  background: rgba(245,245,245,.34) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.58),
    0 0 10px rgba(255,255,255,.68),
    0 0 16px rgba(60,60,60,.42) !important;
  transform: translate(-50%,-50%) scale(1.14) !important;
}


/* 0.9.8: botón de escucha funcional y estado de reproducción */
.eh-scale-app button.eh-listen {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid #e3c79e;
}
.eh-scale-app button.eh-listen:hover,
.eh-scale-app button.eh-listen:focus-visible,
.eh-scale-app button.eh-listen.is-playing {
  border-color: #258b8d;
  box-shadow: 0 0 0 2px rgba(37,139,141,.13), 0 3px 10px rgba(37,139,141,.14);
}
.eh-scale-app button.eh-listen:focus-visible {
  outline: 2px solid rgba(37,139,141,.65);
  outline-offset: 2px;
}
.eh-scale-app button.eh-listen .eh-play {
  transition: transform .16s ease;
}
.eh-scale-app button.eh-listen.is-playing .eh-play {
  transform: scale(1.08);
}


/* 0.9.11: realce suave de la nota mientras suena */
.eh-scale-app .eh-note-hotspot.is-sounding {
  z-index: 8 !important;
}
.eh-scale-app .eh-note-hotspot.is-sounding::before {
  border-color: rgba(255, 238, 194, .96) !important;
  background: rgba(255, 231, 174, .30) !important;
  box-shadow:
    0 0 0 2px rgba(255, 224, 157, .30),
    0 0 12px 5px rgba(255, 222, 145, .58),
    inset 0 0 8px rgba(255, 245, 215, .46) !important;
  animation: eh-note-pulse .72s ease-in-out infinite alternate;
}
.eh-scale-app .eh-note-hotspot.is-sounding .eh-hotspot-label {
  color: #fff !important;
  text-shadow:
    0 1px 3px rgba(0,0,0,.98),
    0 0 7px rgba(255,255,255,.95),
    0 0 13px rgba(255, 231, 174, .9) !important;
  transform: scale(1.10);
}
@keyframes eh-note-pulse {
  from { opacity: .78; }
  to { opacity: 1; }
}


/* 0.9.13: bajar ligeramente el conjunto y dar más separación a la ficha */
.eh-scale-app {
  margin-top: -46px !important;
}
body.admin-bar .eh-scale-app {
  margin-top: -46px !important;
}
@media (max-width: 782px) {
  .eh-scale-app,
  body.admin-bar .eh-scale-app {
    margin-top: -30px !important;
  }
}

/* Mantener la ficha de información un poco más separada del handpan */
.eh-scale-app .eh-scale-main {
  gap: 14px !important;
}

/* Una sola fila de notas y botón de reproducción únicamente con el icono */
.eh-scale-app .eh-scale-notes {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 5px !important;
}
.eh-scale-app .eh-note-chip-list {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.eh-scale-app .eh-note-chip {
  min-width: 0 !important;
  flex: 0 1 auto !important;
  padding: 4px 5px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.eh-scale-app button.eh-listen {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 0 !important;
  border-radius: 50% !important;
}
.eh-scale-app button.eh-listen .eh-play {
  width: 100% !important;
  height: 100% !important;
  padding: 0 0 0 2px !important;
  font-size: 16px !important;
}
@media (max-width: 760px) {
  .eh-scale-app .eh-scale-notes {
    flex-wrap: wrap !important;
  }
  .eh-scale-app .eh-note-chip-list {
    flex-wrap: wrap !important;
  }
  .eh-scale-app button.eh-listen {
    margin-left: auto !important;
  }
}


/* 0.9.14: más aire entre el handpan y la tarjeta inferior */
.eh-scale-app .eh-scale-main {
  gap: 18px !important;
}

/* Notas algo mayores, distribuidas en una sola fila sin invadir los controles */
.eh-scale-app .eh-scale-notes {
  gap: 6px !important;
  align-items: center !important;
}
.eh-scale-app .eh-note-chip-list {
  gap: 5px !important;
}
.eh-scale-app .eh-note-chip {
  font-size: 12px !important;
  padding: 5px 6px !important;
  flex: 0 1 auto !important;
}

/* Play y Stop compactos al final de la fila */
.eh-scale-app .eh-playback-controls {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: 4px !important;
}
.eh-scale-app button.eh-listen,
.eh-scale-app button.eh-stop {
  display: inline-flex !important;
  flex: 0 0 34px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 14px !important;
  line-height: 1 !important;
}
.eh-scale-app button.eh-listen .eh-play {
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 0 0 2px !important;
  font-size: 15px !important;
}
.eh-scale-app button.eh-stop {
  border: 1px solid #d7c09b !important;
  color: #28575a !important;
  background: #f8efdc !important;
  cursor: pointer !important;
}
.eh-scale-app button.eh-stop:hover,
.eh-scale-app button.eh-stop:focus-visible {
  border-color: #258b8d !important;
  box-shadow: 0 0 0 2px rgba(37,139,141,.13) !important;
}
@media (max-width: 760px) {
  .eh-scale-app .eh-scale-main { gap: 12px !important; }
  .eh-scale-app .eh-scale-notes { flex-wrap: wrap !important; }
  .eh-scale-app .eh-note-chip-list { flex-wrap: wrap !important; }
}


/* 0.9.34: cabecera semántica y diseño público integrado en la página */
.eh-scale-app{
  width:calc(100vw - 48px)!important;
  max-width:1700px!important;
  margin:0 0 0 50%!important;
  transform:translateX(-50%);
  padding:22px clamp(16px,2.2vw,34px) 14px!important;
  border-radius:18px!important;
  overflow:hidden;
}
body.admin-bar .eh-scale-app{margin-top:0!important}
.eh-scale-app .eh-scale-hero{
  display:flex!important;
  justify-content:center;
  align-items:center;
  min-height:0!important;
  margin:0 auto 22px!important;
  padding:2px 12px 0!important;
  text-align:center;
}
.eh-scale-app .eh-scale-heading{
  width:100%;
  max-width:900px;
  margin:0 auto;
}
.eh-scale-app .eh-scale-heading h1{
  margin:0!important;
  padding:0;
  color:#173d43!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(29px,3vw,39px)!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:-.5px;
}
.eh-scale-app .eh-scale-heading h1:after{
  content:"";
  display:block;
  width:66px;
  height:2px;
  margin:12px auto 10px;
  background:#b68a4a;
}
.eh-scale-app .eh-scale-heading p{
  max-width:780px;
  margin:0 auto!important;
  color:#62584d!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(13px,1.05vw,16px)!important;
  line-height:1.5!important;
}
.eh-scale-app .eh-scale-layout{
  margin-top:0!important;
  gap:clamp(12px,1.15vw,20px)!important;
  grid-template-columns:minmax(220px,.92fr) minmax(440px,2.05fr) minmax(205px,.78fr)!important;
}
.eh-scale-app .eh-scale-main{gap:10px!important}
.eh-scale-app .eh-pan-stage{margin-top:0!important}
.eh-scale-app .eh-scale-note{margin-top:8px}
@media(max-width:1100px){
  .eh-scale-app{width:calc(100vw - 32px)!important;padding:18px 14px 12px!important}
  .eh-scale-app .eh-scale-hero{margin-bottom:18px!important}
  .eh-scale-app .eh-scale-layout{grid-template-columns:minmax(190px,.8fr) minmax(340px,1.5fr)!important}
}
@media(max-width:680px){
  .eh-scale-app{width:calc(100vw - 16px)!important;padding:15px 9px 10px!important;border-radius:12px!important}
  .eh-scale-app .eh-scale-hero{margin-bottom:15px!important;padding:0 5px!important}
  .eh-scale-app .eh-scale-heading h1{font-size:28px!important}
  .eh-scale-app .eh-scale-heading p{font-size:12px!important;line-height:1.4!important}
  .eh-scale-app .eh-scale-layout{display:flex!important;flex-direction:column!important;gap:12px!important}
  .eh-scale-app .eh-scale-main{gap:8px!important}
}


/* 0.9.35: cabecera pegada al menú y H1 siempre visible */
.eh-scale-app{
  margin-top:-65px!important;
  position:relative;
  z-index:1;
}
.eh-scale-app .eh-scale-hero{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
}
.eh-scale-app .eh-scale-heading{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}
.eh-scale-app .eh-scale-heading h1{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  height:auto!important;
  max-height:none!important;
  overflow:visible!important;
  text-indent:0!important;
  clip:auto!important;
  position:static!important;
  color:#173d43!important;
  margin:0 auto!important;
}
@media(max-width:1100px){
  .eh-scale-app{margin-top:-55px!important}
}
@media(max-width:680px){
  .eh-scale-app{margin-top:-40px!important}
}


/* 0.9.36: subir el bloque completo hasta el borde inferior del menú */
.eh-scale-app{
  top:-65px!important;
  margin-bottom:-65px!important;
  transform:translateX(-50%)!important;
}

/* Forzar la presentación del H1 semántico frente a reglas globales del tema */
.eh-scale-app #eh-scale-page-title{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  clip:auto!important;
  clip-path:none!important;
  white-space:normal!important;
  text-indent:0!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(30px,3vw,40px)!important;
  font-weight:600!important;
  line-height:1.2!important;
  letter-spacing:-.5px!important;
  color:#173d43!important;
  text-align:center!important;
  margin:0 auto!important;
  padding:0!important;
}
.eh-scale-app .eh-scale-hero{
  min-height:0!important;
  padding-top:0!important;
  margin-top:0!important;
}
.eh-scale-app .eh-scale-heading h1:after{
  display:block!important;
  visibility:visible!important;
}
@media(max-width:1100px){
  .eh-scale-app{top:-55px!important;margin-bottom:-55px!important}
}
@media(max-width:680px){
  .eh-scale-app{top:-40px!important;margin-bottom:-40px!important}
  .eh-scale-app #eh-scale-page-title{font-size:28px!important}
}


/* 0.9.37: ajuste fino: acercar el fondo al borde inferior del menú */
.eh-scale-app{
  top:-75px!important;
  margin-bottom:-75px!important;
}
@media(max-width:1100px){
  .eh-scale-app{top:-65px!important;margin-bottom:-65px!important}
}
@media(max-width:680px){
  .eh-scale-app{top:-48px!important;margin-bottom:-48px!important}
}
