/* Simulador "Arranque directo con sello" (Ejemplo 1, publicación 137). Prefijo ej1- */
.ej1 { background: #ffffff; color: #0b1f33; border: 1px solid #cfdae6; border-radius: 8px; padding: 16px; margin: 26px 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ej1 * { box-sizing: border-box; }
.ej1-head { display: flex; flex-direction: column; gap: 2px; }
.ej1-head strong { font-size: 1.1rem; color: #0b1f33; }
.ej1-head span { color: #4a5d70; font-size: .92rem; line-height: 1.5; }
.ej1 button { font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 12px; border-radius: 4px; border: 1px solid #0b1f33; background: #0b1f33; color: #ffffff; cursor: pointer; min-height: 42px; line-height: 1.25; touch-action: manipulation; }
.ej1 button.ghost { background: #ffffff; color: #0b1f33; }
.ej1 button:disabled { opacity: .45; cursor: not-allowed; }
.ej1 [hidden] { display: none !important; }
.ej1 button:focus-visible, .ej1 input:focus-visible, .ej1 select:focus-visible, .ej1 summary:focus-visible { outline: 3px solid #e0731a; outline-offset: 2px; }
.ej1-now { border: 1px solid #cfdae6; border-left: 5px solid #e0731a; border-radius: 4px; background: #fff7ef; color: #0b1f33; padding: 10px 14px; }
.ej1-ct { font-size: .78rem; font-weight: 700; color: #7a3d08; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.ej1-now-main { margin: 0; font-size: 1rem; line-height: 1.55; font-weight: 600; color: #0b1f33; min-height: 4.7em; }
.ej1-now-last { margin: 6px 0 0; font-size: .84rem; color: #4a5d70; min-height: 1.2em; }
.ej1-demo { display: flex; flex-direction: column; gap: 8px; }
.ej1-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ej1 .ej1-demo-b, .ej1 .ej1-next { background: #1a7f4b; border-color: #1a7f4b; color: #ffffff; }
.ej1 .ej1-go { background: #1a7f4b; border-color: #1a7f4b; }
.ej1 .ej1-stop { background: #c0392b; border-color: #c0392b; }
.ej1-demostep { margin: 0; padding: 10px 14px; border-radius: 4px; background: #eaf3fc; border-left: 5px solid #2a6fb0; color: #0b1f33; font-size: .95rem; line-height: 1.55; }
.ej1-hl { outline: 4px solid #e0731a; outline-offset: 3px; border-radius: 4px; animation: ej1-pulse 1.1s ease-in-out infinite; }
@keyframes ej1-pulse { 50% { outline-color: #f6c28b; } }
@media (prefers-reduced-motion: reduce) { .ej1-hl { animation: none; } }
.ej1-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ej1-tabs button { background: #eef2f6; color: #0b1f33; border-color: #cfdae6; font-size: .86rem; }
.ej1-tabs button[aria-pressed="true"] { background: #0b1f33; color: #ffffff; border-color: #0b1f33; }
.ej1-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 16px; align-items: start; }
@media (max-width: 860px) { .ej1-grid { grid-template-columns: minmax(0, 1fr); } }
.ej1-left, .ej1-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ej1-grp { border: 1px solid #cfdae6; border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; background: #ffffff; }
.ej1-gt { font-size: .86rem; font-weight: 700; color: #0b1f33; }
.ej1-hint { margin: 0; font-size: .84rem; color: #4a5d70; line-height: 1.45; }
.ej1 select { font: inherit; font-size: .92rem; padding: 8px; border: 1px solid #9fb4c8; border-radius: 4px; background: #ffffff; color: #0b1f33; width: 100%; min-height: 42px; }
.ej1-adv { border: 1px solid #cfdae6; border-radius: 6px; padding: 8px 12px; background: #ffffff; }
.ej1-adv summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: #0b1f33; padding: 4px 0; }
.ej1-advb { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.ej1-chk, .ej1-rng { display: flex; flex-direction: column; gap: 4px; font-size: .9rem; color: #0b1f33; }
.ej1-chk { flex-direction: row; align-items: center; gap: 6px; }
.ej1-rng input { width: 100%; }
.ej1-svg { display: block; width: 100%; height: auto; max-width: 100%; border: 1px solid #cfdae6; border-radius: 6px; background: #ffffff; }
