.program-purchase .form-control, .program-purchase .form-select { max-width: 100%; }
.program-purchase .modal-content { background: var(--bg-surface, #0b1b2d); color: var(--text-main, #e8f0fa); }
body[data-theme="light"] .program-purchase .modal-content,
html[data-theme="light"] .program-purchase .modal-content,
body.theme-light .program-purchase .modal-content { background: #fff; color: #172b42; }
/* Superficies nuevas con los mismos tokens claros que el panel VIP. */
.program-purchase .card-panel, .program-panel { color: var(--text-main); }
.program-purchase .table, .program-panel .table {
    --bs-table-color: var(--text-main); --bs-table-bg: transparent;
    --bs-table-border-color: var(--border-subtle); color: var(--text-main);
}
.program-purchase .form-label { color: var(--text-main); }
.program-purchase .form-text { color: var(--text-muted); }
body[data-theme="light"] :is(.program-purchase,.program-panel) {
    --gaia-card-bg: #fff; --gaia-card-border: #cbd5e1;
    --gaia-card-shadow-strong: 0 3px 12px rgba(15,23,42,.08);
    --gaia-surface-legend: #f8fafc; --gaia-brand-border: #a5cbd5;
    --gaia-brand-cyan: #0e7490; --gaia-brand-text: #111827;
    --accent-primary: #0e7490;
    color: #111827;
}
body[data-theme="light"] .program-panel :is(.btn-outline-accent,.btn-outline-secondary) {
    color: #07586b !important; background: #ecfeff !important; border-color: #73bdcd !important;
}
body[data-theme="light"] .program-panel :is(.btn-outline-accent,.btn-outline-secondary):hover {
    background: #cffafe !important; color: #064858 !important;
}
body[data-theme="light"] :is(.program-purchase .card-panel,.program-panel) > :is(h2,h3):first-child {
    box-shadow: 0 2px 5px rgba(15,23,42,.08);
}
.program-panel .text-break { max-width: 20rem; overflow-wrap: anywhere; }

/* Etiquetas compactas de compra: una sola línea en los tres idiomas. */
.gaia-nav-item.purchase-menu-link { min-width: 0; gap: .5rem; }
.purchase-menu-link .purchase-menu-label { white-space: nowrap; font-size: .9rem; }
