/* Zona del profe → Completa la canción */
.cc-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.cc-aviso { padding: 10px 14px; border-radius: 12px; background: #e6f5e8; color: #1f5e2e; font-weight: 700; }
.cc-aviso.mal { background: #fde3df; color: #8e2318; }
.cc-lista { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.cc-lista li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.6); }
.cc-lista small { opacity: .7; }
.cc-lista .cc-vacia { background: none; opacity: .75; }
.cc-botones { display: flex; gap: 6px; flex: none; }
.cc-maneras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 10px 0; }
.cc-manera { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.6); }
.cc-manera small { opacity: .75; }
.cc-manera select { flex: 1; min-width: 0; max-width: 100%; }
.cc-editor { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cc-campos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.cc-campos label, .cc-notas { display: flex; flex-direction: column; gap: 4px; font-weight: 700; }
.cc-campos input, .cc-campos select, .cc-notas textarea { font: inherit; font-weight: 500; padding: 6px 8px; border-radius: 8px; border: 1.5px solid #c9b8ad; background: #fff; }
.cc-compas { display: flex; align-items: center; gap: 6px; }
.cc-compas input { width: 70px; }
.cc-notas textarea { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }
.cc-ayuda code { background: #fff; padding: 0 4px; border-radius: 4px; }
.cc-error { margin: 0; font-weight: 700; }
.cc-error.mal { color: #a0281a; }
.cc-vista { background: #fffdf7; color: #2b211c; border-radius: 16px; padding: 8px; max-height: 60vh; overflow: auto; }
.cc-vista svg { display: block; width: 100%; height: auto; }
/* el dibujo de la partitura (los mismos nombres que en el juego) */
.cp-linea, .cp-barra, .cp-adic { stroke: currentColor; stroke-width: 1.6; }
.cp-barra.final { stroke-width: 4; }
.cp-partitura .clef path { stroke: currentColor; } .cp-partitura .clef circle, .cp-partitura .clef rect { fill: currentColor; }
.cp-plica { stroke: currentColor; stroke-width: 2.4; }
.cp-cabeza ellipse.llena, .cp-cabeza ellipse.abierta { fill: currentColor; } .cp-cabeza ellipse.hueco { fill: #fffdf7; }
.cp-corchete, .cp-puntillo, .cp-silencio { fill: currentColor; }
.cp-sil-negra { fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.cp-sost path { stroke: currentColor; fill: none; }
.cp-ligadura { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.cp-compas { font: 900 44px Outfit, sans-serif; fill: currentColor; }
.cp-num { font: italic 600 14px Outfit, sans-serif; fill: #6a564c; }
.cp-tresillo { font: italic 800 17px Outfit, sans-serif; fill: currentColor; }
.cp-tresillo-c { fill: none; stroke: currentColor; stroke-width: 1.6; }
.cp-caja { fill: #e8f4f1; stroke: #2f7d6d; stroke-width: 2.5; stroke-dasharray: 7 5; }
.cp-interroga { font: 900 30px Outfit, sans-serif; fill: #2f7d6d; }
.cp-toque { fill: transparent; }
