/* Simulador "Seccionadora portafusible" (publicación 113). Prefijo sfs- */
.sfs { background: #f7f9fb; color: #0b1f33; border: 1px solid #cfdae6; border-radius: 8px; padding: 16px; margin: 26px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; font-size: 16px; line-height: 1.45; }
.sfs * { box-sizing: border-box; }
.sfs-head { display: flex; flex-direction: column; gap: 2px; }
.sfs-head strong { font-size: 1.1rem; }
.sfs-head span { color: #4a5d70; font-size: .92rem; }
.sfs-cfg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .sfs-cfg { grid-template-columns: minmax(0, 1fr); } }
.sfs-f { display: flex; flex-direction: column; gap: 3px; font-size: .85rem; font-weight: 700; min-width: 0; }
.sfs-f2 { align-self: end; }
.sfs select, .sfs input[type=range] { width: 100%; min-width: 0; }
.sfs select { font: inherit; font-weight: 500; padding: 8px; border: 1px solid #9fb0c3; border-radius: 4px; background: #fff; color: #0b1f33; min-height: 40px; }
.sfs-rating { background: #fff; border: 1px solid #e1e8ef; border-left: 4px solid #1e6bb8; border-radius: 4px; padding: 8px 10px; font-size: .88rem; color: #0b1f33; }
.sfs-rating.good { border-left-color: #1a7f4b; } .sfs-rating.bad { border-left-color: #b42318; background: #fdecec; }
.sfs-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.sfs-grid > .sfs-card { max-width: 640px; width: 100%; margin: 0 auto; }
.sfs-card { background: #fff; border: 1px solid #e1e8ef; border-radius: 6px; padding: 10px; min-width: 0; color: #0b1f33; display: flex; flex-direction: column; gap: 8px; }
.sfs-card svg { display: block; width: 100%; height: auto; max-width: 100%; font-family: inherit; }
.sfs-chart { max-width: 560px; }
.sfs-ct { font-size: .88rem; font-weight: 700; }
.sfs-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.sfs-tabs button { font: inherit; font-weight: 700; font-size: .88rem; padding: 8px 12px; border: 1px solid #0b1f33; background: #fff; color: #0b1f33; border-radius: 4px; cursor: pointer; min-height: 40px; }
.sfs-tabs button[aria-selected=true] { background: #0b1f33; color: #fff; }
.sfs-panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sfs-panel[hidden] { display: none; }
.sfs-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.sfs-mainbtns { justify-content: center; }
.sfs button.sfs-b { font: inherit; font-weight: 600; font-size: .9rem; padding: 9px 12px; border-radius: 4px; border: 1px solid #0b1f33; background: #0b1f33; color: #fff; cursor: pointer; min-height: 40px; }
.sfs button.sfs-b.ghost { background: #fff; color: #0b1f33; }
.sfs button.sfs-b.ghost[aria-pressed=true] { background: #e0731a; border-color: #e0731a; color: #fff; }
.sfs button.sfs-b.red { background: #b42318; border-color: #b42318; }
.sfs button.sfs-b:disabled { opacity: .45; cursor: not-allowed; }
.sfs button:focus-visible, .sfs select:focus-visible, .sfs input:focus-visible { outline: 3px solid #e0731a; outline-offset: 2px; }
.sfs-chk { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; }
.sfs-chk input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.sfs-two { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 600px) { .sfs-two { grid-template-columns: minmax(0, 1fr); } }
.sfs-tel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.sfs-tel div { background: #eef2f6; border-radius: 4px; padding: 6px 8px; font-size: .8rem; color: #4a5d70; min-width: 0; }
.sfs-tel b { display: block; font-size: .9rem; color: #0b1f33; overflow-wrap: anywhere; }
.sfs-verdict { border-left: 5px solid #7d8fa2; background: #eef2f6; border-radius: 4px; padding: 10px 12px; font-size: .9rem; color: #0b1f33; }
.sfs-verdict .sfs-vt { display: inline-block; font-weight: 800; letter-spacing: .03em; padding: 2px 10px; border-radius: 12px; color: #fff; background: #7d8fa2; margin-bottom: 6px; }
.sfs-verdict.ok { background: #effaf2; border-color: #1a7f4b; } .sfs-verdict.ok .sfs-vt { background: #1a7f4b; }
.sfs-verdict.warn { background: #fff6e0; border-color: #b7791f; } .sfs-verdict.warn .sfs-vt { background: #9a6200; }
.sfs-verdict.bad { background: #fdecec; border-color: #b42318; } .sfs-verdict.bad .sfs-vt { background: #b42318; }
.sfs-expl { font-size: .88rem; background: #fff; border: 1px dashed #9fb0c3; border-radius: 4px; padding: 8px 10px; color: #0b1f33; }
.sfs-log { margin: 6px 0 0; padding-left: 18px; font-size: .82rem; color: #4a5d70; }
.sfs-chk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.sfs-chk-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; padding: 5px 8px; border-radius: 4px; background: #eef2f6; color: #0b1f33; }
.sfs-chk-list li i { font-style: normal; font-weight: 800; width: 1.4em; flex: none; text-align: center; color: #4a5d70; }
.sfs-chk-list li.ok { background: #effaf2; } .sfs-chk-list li.ok i { color: #1a7f4b; }
.sfs-chk-list li.cur { outline: 2px solid #e0731a; }
.sfs-score { font-size: .95rem; color: #0b1f33; }
.sfs-bar { position: relative; height: 14px; background: #e1e8ef; border-radius: 7px; margin: 2px 0 8px; overflow: hidden; }
.sfs-bar > span { display: block; height: 100%; background: #2a6fb0; border-radius: 7px; }
.sfs-bar > em { position: absolute; top: 0; bottom: 0; width: 3px; background: #0b1f33; opacity: .55; }
.sfs-barl { font-size: .82rem; color: #4a5d70; }
.sfs-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: #4a5d70; }
.sfs-legend li { display: flex; align-items: center; gap: 5px; }
.sfs-legend i { display: inline-block; width: 18px; height: 5px; border-radius: 3px; flex: none; }
.sfs-spin { animation: sfs-rot 1.1s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sfs-rot { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sfs-spin { animation: none; } }
.sfs-card svg[data-r="svg"] { max-width: 420px; margin: 0 auto; }
