/*! Fotolight Overcurrent Simulator | Copyright (c) 2026 Hamidreza Komeylian <komeylian@gmail.com> | GPL-2.0-or-later */
.flo{max-width:760px;margin:20px auto;font-family:inherit;color:#1f2937;position:relative}
.flo *{box-sizing:border-box}
.flo-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.flo-tabs button{padding:8px 14px;border:1px solid #cbd5e1;background:#fff;border-radius:8px;cursor:pointer;font-size:14px}
.flo-tabs button.on{background:#0f4c81;color:#fff;border-color:#0f4c81}
.flo-fig{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:6px}
.flo-fig svg{width:100%;height:auto;display:block}
.flo-fig text{font-family:inherit;font-size:13px;fill:#334155}
.flo-fig .th{font-size:14px;font-weight:600;fill:#0f172a}
.flo-fig .ts{font-size:12px;fill:#64748b}
.flo-fig .ed{fill:#0f4c81;font-weight:600;cursor:pointer;text-decoration:underline dotted}
.flo-fig .ed:hover{fill:#e11d48}
.flo-fig .box{fill:#f8fafc;stroke:#94a3b8;stroke-width:1}
.flo .w{stroke-dasharray:6 6;fill:none;stroke-width:2.5;stroke-linecap:round;animation:flo-flow 1s linear infinite}
.flo .base{fill:none;stroke-width:6;stroke-linecap:round;animation:flo-pv 1.2s ease-in-out infinite}
.flo .coil{fill:none;stroke-width:3;stroke-linecap:round;animation:flo-pv 1.2s ease-in-out infinite}
.flo .rot{transform-box:fill-box;transform-origin:center;animation:flo-spin .6s linear infinite}
@keyframes flo-flow{to{stroke-dashoffset:-24}}
@keyframes flo-spin{to{transform:rotate(360deg)}}
@keyframes flo-pv{0%,100%{opacity:.2}50%{opacity:.85}}
@media (prefers-reduced-motion:reduce){.flo .w,.flo .base,.flo .coil,.flo .rot{animation:none}}
.flo-out{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;margin-top:12px}
.flo-card{background:#f1f5f9;border-radius:10px;padding:10px 12px}
.flo-card.k{border:2px solid #0f4c81;background:#eef6ff}
.flo-card b{display:block;font-size:19px;color:#0f172a;margin:2px 0}
.flo-card span{font-size:12px;color:#64748b}
.flo-pop{position:absolute;z-index:9;background:#fff;border:1px solid #0f4c81;border-radius:8px;padding:4px;box-shadow:0 4px 14px rgba(0,0,0,.15)}
.flo-pop select,.flo-pop input{font-size:15px;padding:6px 8px;min-width:120px;border:1px solid #cbd5e1;border-radius:6px}
.flo-note{font-size:12px;color:#64748b;margin-top:10px;line-height:1.5}
