/* Simuladores de la sección de Electromagnetismo */
.guide .em-box { border: 1px solid var(--v-border); border-radius: 12px; background: #fff; padding: 12px; margin: 12px 0 20px; }
.guide .em-stage { position: relative; width: 100%; border-radius: 8px; overflow: hidden; background: #0f172a; touch-action: none; }
.guide .em-stage.light { background: #f8fafc; border: 1px solid var(--v-border); }
.guide .em-stage canvas, .guide .em-stage svg { display: block; width: 100%; height: auto; }
.guide .em-ctrls { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 18px; margin: 12px 0 4px; }
.guide .em-ctrl { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.guide .em-ctrl > label, .guide .em-ctrl > .em-lbl { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; }
.guide .em-ctrl output { font-weight: 400; color: var(--v-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.guide .em-ctrl input[type="range"] { width: 100%; accent-color: var(--v-accent); }
.guide .em-ctrl select { padding: 6px 8px; border: 1px solid var(--v-border); border-radius: 6px; font: inherit; background: #fff; }
.guide .em-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.guide .em-btns .v-btn { padding: 7px 14px; font-size: 0.9rem; }
.guide .em-read { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 12px 0 0; }
.guide .em-read div { background: var(--v-card); border: 1px solid var(--v-border); border-radius: 8px; padding: 6px 10px; }
.guide .em-read span { display: block; font-size: 0.78rem; color: var(--v-muted); }
.guide .em-read b { font-variant-numeric: tabular-nums; font-size: 1.02rem; }
.guide .em-read div.warn { border-color: #c2410c; background: #fff5f0; }
.guide .em-read div.warn b { color: #c2410c; }
.guide .em-hint { font-size: 0.82rem; color: var(--v-muted); margin: 8px 0 0; }
.guide .em-bar { display: flex; height: 22px; border-radius: 6px; overflow: hidden; border: 1px solid var(--v-border); margin: 6px 0; font-size: 0.75rem; color: #fff; }
.guide .em-bar div { display: flex; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; min-width: 0; }
.guide .em-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.82rem; color: var(--v-muted); margin-top: 6px; }
.guide .em-legend i { display: inline-block; width: 14px; height: 4px; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.guide .em-two { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 760px) { .guide .em-two { grid-template-columns: 1fr 1fr; } }
