/* Mi emprendimiento */
.ep-wrap{max-width:640px;margin:16px auto;padding:0 12px 30px;color:#102b5c}
.ep-card{background:#fff;border-radius:18px;padding:16px;box-shadow:0 4px 18px #102b5c14}
.ep-h{margin:0 0 6px;font-size:clamp(26px,6vw,34px)}
.ep-s{font-size:16px;margin:16px 0 8px}
.ep-l{display:block;font-weight:700;margin-top:10px}
.ep-card input{width:100%;box-sizing:border-box;font-size:18px;padding:10px;border-radius:12px;border:2px solid #cfd8e3;margin:4px 0 6px}
.ep-how{background:#f2f7fb;border-radius:12px;padding:8px 12px;margin:8px 0;font-size:14px}.ep-how summary{font-weight:800;cursor:pointer}.ep-how ul{margin:8px 0 2px;padding-left:18px}.ep-how li{margin:4px 0}
.ep-envs,.ep-ideas{display:grid;gap:8px}
.ep-envs{grid-template-columns:1fr 1fr}
.ep-opt{text-align:left;border:2px solid #cfd8e3;background:#fff;color:#102b5c;border-radius:14px;padding:12px;cursor:pointer;font-size:14px;line-height:1.35}
.ep-opt b{display:block;font-size:17px;margin-bottom:3px}
.ep-opt.is-on{border-color:#14958a;background:#e6f6f4;box-shadow:0 0 0 2px #14958a}
.ep-err{color:#b3261e;font-weight:700;min-height:18px;margin:6px 0}
.ep-scene{border-radius:16px;padding:12px 14px;color:#fff;position:relative;overflow:hidden}
.ep-scene.rural{background:linear-gradient(160deg,#2f7d4f,#8cc084 60%,#f3d98b)}
.ep-scene.urbano{background:linear-gradient(160deg,#102b5c,#5b4bb7 70%,#e0702c)}
.ep-scene .em{position:absolute;right:10px;top:8px;font-size:34px;opacity:.9;letter-spacing:2px}
.ep-scene h2{margin:0;font-size:20px}.ep-scene p{margin:2px 0 0;font-size:13px;opacity:.95;max-width:62%}
.ep-dots{display:flex;gap:3px;margin-top:8px}.ep-dots i{flex:1;height:6px;border-radius:4px;background:#ffffff55}.ep-dots i.on{background:#fff}
.ep-hud{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:8px 0}
.ep-st{background:#fff;border-radius:12px;padding:6px 8px;box-shadow:0 2px 8px #102b5c10;font-size:12px}
.ep-st b{display:block;font-size:15px}.ep-st .bar{height:5px;border-radius:3px;background:#e4eaf1;margin-top:4px;overflow:hidden}.ep-st .bar i{display:block;height:100%;background:#14958a}
.ep-st.low .bar i{background:#d33}.ep-st.low b{color:#b3261e}
.ep-box{background:#fff;border-radius:14px;padding:10px 12px;margin:8px 0;box-shadow:0 2px 10px #102b5c10}
.ep-box h3{font-size:15px;margin:0 0 6px}
.ep-ev{background:#fff7e6;border:2px solid #f0c36a}
.ep-ev p{margin:4px 0 8px;font-size:15px;line-height:1.4}
.ep-o{display:block;width:100%;text-align:left;margin:5px 0;padding:10px;border-radius:10px;border:2px solid #cfd8e3;background:#fff;color:#102b5c;font-size:14px;cursor:pointer}.ep-o:hover{border-color:#14958a}
.ep-flash{background:#e6f6f4;border-radius:10px;padding:8px 10px;font-weight:700;font-size:14px;margin:8px 0}
.ep-acts{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.ep-a{text-align:left;padding:8px;border-radius:10px;border:2px solid #cfd8e3;background:#fff;color:#102b5c;font-size:12px;cursor:pointer;line-height:1.3}.ep-a b{display:block;font-size:13px}.ep-a:disabled{opacity:.45;cursor:not-allowed}
.ep-a small{color:#4b5b6e}
.ep-a .d{display:none;margin-top:2px}.ep-acts.dd .ep-a .d{display:block}
.ep-a .c{font-weight:700;color:#14804a;margin-left:4px}
.ep-mini{display:inline-block;width:auto;padding:3px 8px;margin-left:6px;font-size:11px;vertical-align:middle}
.ep-fc{margin:6px 4px;font-size:13px;color:#33475f}
.ep-det summary{font-weight:800;font-size:15px;cursor:pointer}.ep-det[open] summary{margin-bottom:6px}
.ep-end{position:sticky;bottom:8px;z-index:5;margin-top:10px;text-align:center}
.ep-hist{font-size:13px;width:100%;border-collapse:collapse}.ep-hist td,.ep-hist th{padding:3px 4px;text-align:right}.ep-hist td:first-child,.ep-hist th:first-child{text-align:left}
.pos{color:#14804a}.neg{color:#b3261e}
.ep-spark{width:100%;height:46px;display:block}
.ep-log{list-style:none;padding:0;margin:0;font-size:13px;display:grid;gap:5px}.ep-log li{background:#f6f9fc;border-radius:8px;padding:6px 8px}
.ep-modal{position:fixed;inset:0;background:#102b5ccc;z-index:60;display:flex;align-items:center;justify-content:center;padding:14px}.ep-modal[hidden]{display:none}
.ep-modal-in{background:#fff;border-radius:18px;max-width:520px;width:100%;max-height:92vh;overflow:auto;padding:16px}
.ep-big{font-size:24px;font-weight:800;margin:6px 0}
.ep-fb{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.ep-sub{color:#4b5b6e;margin:2px 0 8px}
.ep-kv{list-style:none;padding:0;margin:8px 0;display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;font-size:14px}.ep-kv li{display:flex;justify-content:space-between;gap:6px;border-bottom:1px solid #eef2f6;padding:3px 0}
@media (max-width:640px){.ep-wrap{margin-top:6px}.ep-scene{padding:8px 10px}.ep-scene h2{font-size:16px}.ep-scene p{font-size:12px}.ep-dots{margin-top:5px}.ep-dots i{height:4px}
.ep-hud{gap:4px;margin:6px 0}.ep-st{padding:4px 6px;font-size:11px}.ep-st b{font-size:13px}.ep-st .bar{height:3px;margin-top:2px}
.ep-box{padding:8px 10px;margin:6px 0}.ep-ev p{font-size:14px;margin:3px 0 6px}.ep-o{padding:8px 10px;margin:4px 0;font-size:13px}
.ep-acts{gap:4px}.ep-a{padding:6px 7px;font-size:11px}.ep-a b{font-size:12px;display:inline}
.ep-flash{padding:6px 8px;font-size:13px;margin:6px 0}.ep-end{margin-top:6px;bottom:6px}.ep-hist{font-size:12px}.ep-spark{height:34px}}
@media (max-width:420px){.ep-scene .em{font-size:24px}.ep-scene p{max-width:70%}.ep-envs{grid-template-columns:1fr}.ep-hud{grid-template-columns:repeat(4,1fr);gap:4px}.ep-st{padding:5px}.ep-st b{font-size:13px}}
