.da-container {
    font-family: 'Segoe UI', sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    background: #181D2B;
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

/* ===== ACCESOS RÁPIDOS ===== */
.da-quick-access {
    background: #272D3D;
    border: 1px solid #004280;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}
.da-quick-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}
.da-quick-header h3 { color: #2AA6FE; margin: 0; font-size: 16px; }
.da-category-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.da-cat-tab {
    padding: 5px 12px;
    background: #181D2B;
    color: #a0aec0;
    border: 1px solid #004280;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}
.da-cat-tab:hover { border-color: #2AA6FE; color: #fff; }
.da-cat-tab.active { background: #2AA6FE; color: #181D2B; border-color: #2AA6FE; }
.da-quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    max-height: 180px;
    overflow-y: auto;
    padding: 5px;
    background: #181D2B;
    border-radius: 6px;
    border: 1px solid #004280;
}
.da-quick-buttons::-webkit-scrollbar { width: 6px; }
.da-quick-buttons::-webkit-scrollbar-track { background: #181D2B; }
.da-quick-buttons::-webkit-scrollbar-thumb { background: #004280; border-radius: 3px; }
.da-chord-chip {
    padding: 4px 10px;
    background: #272D3D;
    color: #fff;
    border: 1px solid #004280;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    font-family: monospace;
    transition: all 0.15s;
    white-space: nowrap;
}
.da-chord-chip:hover {
    background: #2AA6FE;
    color: #181D2B;
    border-color: #2AA6FE;
    transform: translateY(-1px);
}
.da-chord-chip.active {
    background: #2AA6FE;
    color: #181D2B;
    border-color: #2AA6FE;
    box-shadow: 0 0 8px rgba(42, 166, 254, 0.4);
}
.da-chord-chip.unavailable {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ===== CONTROLES ===== */
.da-controls {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #004280;
    align-items: center;
}
.da-selector-grupo { display: flex; flex-direction: column; gap: 6px; }
.da-selector-grupo label {
    font-size: 11px;
    color: #a0aec0;
    font-weight: 600;
    text-transform: uppercase;
}
.da-selector-botones { display: flex; gap: 6px; }
.da-btn-instrumento {
    padding: 8px 14px;
    background: #272D3D;
    color: #fff;
    border: 2px solid #004280;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}
.da-btn-instrumento:hover { border-color: #2AA6FE; background: #004280; }
.da-btn-instrumento.activo { background: #2AA6FE; color: #181D2B; border-color: #2AA6FE; }
.da-select-custom {
    padding: 8px 12px;
    border: 2px solid #004280;
    border-radius: 6px;
    font-size: 14px;
    background: #272D3D;
    color: #fff;
    cursor: pointer;
    outline: none;
    min-width: 140px;
}
.da-select-custom:focus { border-color: #2AA6FE; }
.da-btn {
    padding: 10px 20px;
    background: #2AA6FE;
    color: #181D2B;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-top: auto;
}
.da-btn:hover { background: #004280; color: #fff; }
.da-btn-audio {
    background: #272D3D;
    color: #2AA6FE;
    border: 1px solid #2AA6FE;
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}
.da-btn-audio:hover { background: #2AA6FE; color: #181D2B; }

/* ===== PANELES ===== */
.da-display { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }
@media (max-width: 768px) { .da-display { grid-template-columns: 1fr; } }
.da-panel {
    background: #272D3D;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #004280;
    text-align: center;
}
.da-panel h3 { margin-top: 0; color: #2AA6FE; font-size: 1.4rem; }
.da-subtitulo { color: #a0aec0; font-size: 0.9rem; margin-bottom: 10px; font-style: italic; }
.da-grafico { display: flex; justify-content: center; align-items: center; min-height: 300px; margin: 10px 0; }
.da-notas {
    color: #cbd5e0;
    font-size: 14px;
    background: #181D2B;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #004280;
}

/* ===== VARIACIONES (más grandes) ===== */
.da-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding: 5px;
}
.da-grid::-webkit-scrollbar { width: 6px; }
.da-grid::-webkit-scrollbar-track { background: #181D2B; }
.da-grid::-webkit-scrollbar-thumb { background: #004280; border-radius: 3px; }
.da-variacion-item {
    background: #181D2B;
    border: 1px solid #004280;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.da-variacion-item:hover {
    transform: translateY(-3px);
    border-color: #2AA6FE;
    box-shadow: 0 4px 12px rgba(42, 166, 254, 0.15);
}
.da-variacion-item svg { width: 100%; height: auto; max-height: 200px; }
.da-variacion-nombre { font-size: 12px; color: #fff; margin-top: 8px; font-weight: 600; }
.da-variacion-detalle { font-size: 10px; color: #2AA6FE; margin-top: 2px; }

/* ===== PIANO ===== */
.da-piano {
    display: flex;
    position: relative;
    height: 140px;
    justify-content: center;
    background: #181D2B;
    padding: 10px;
    border-radius: 8px;
}
.da-tecla {
    width: 32px;
    height: 100%;
    background: #e2e8f0;
    border: 1px solid #94a3b8;
    border-radius: 0 0 5px 5px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    font-size: 11px;
    font-weight: bold;
    color: #333;
}
.da-tecla.negra {
    width: 22px;
    height: 60%;
    background: #181D2B;
    border: 1px solid #000;
    position: absolute;
    z-index: 2;
    border-radius: 0 0 4px 4px;
    color: #fff;
}
.da-tecla.activa { background: #2AA6FE !important; color: #fff !important; }
.da-tecla.negra.activa { background: #004280 !important; }

/* ===== TOOLTIP ===== */
.da-tooltip {
    position: absolute;
    background: #004280;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    z-index: 100;
}
.da-tooltip.visible { opacity: 1; }