/* Fábrica Modelo WT (fictícia) — CSS próprio da /fabrica-simulada (não usa style.css). */
*{box-sizing:border-box}
html{font-size:16px}
body{margin:0;background:#12161b;color:#e6ecf2;font:16px/1.5 system-ui,"Segoe UI",Roboto,Arial,sans-serif}
a{color:#7dd3fc}a:hover{color:#bae6fd}
:focus-visible{outline:3px solid #fbbf24;outline-offset:2px}
.fs-pular{position:absolute;left:-9999px;top:0;background:#fbbf24;color:#111;padding:8px 12px;z-index:100}
.fs-pular:focus{left:8px;top:8px}
.fs-tarja{background:repeating-linear-gradient(45deg,#f5b400,#f5b400 12px,#1b1b1b 12px,#1b1b1b 24px);text-align:center;padding:3px}
.fs-tarja span{background:#f5b400;color:#111;font-weight:800;padding:1px 10px;letter-spacing:2px;font-size:13px}
.fs-topo{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;padding:10px 16px;background:#0b0f14;border-bottom:1px solid #2b3542}
.fs-marca{color:#fff;font-weight:700;text-decoration:none}
.fs-links{display:flex;flex-wrap:wrap;gap:14px}.fs-links a{color:#e6ecf2;text-decoration:none}.fs-links a:hover{text-decoration:underline}
.fs-main{max-width:1280px;margin:0 auto;padding:16px}
.fs-titulo h1{margin:4px 0 6px;font-size:1.7rem}.fs-titulo h1 small{font-size:1rem;color:#fbbf24;font-weight:600}
.fs-lead{margin:0 0 14px;color:#cbd5e1;max-width:900px}
h2{font-size:1.15rem;margin:0 0 10px}
.fs-controles{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;background:#1b222b;border:1px solid #2b3542;border-radius:10px;padding:12px;margin-bottom:12px}
.fs-campo{display:flex;flex-direction:column;gap:4px;min-width:170px}
.fs-campo label{font-size:14px;color:#cbd5e1;font-weight:600}
.fs-campo small{font-size:13px;color:#9fb0c2}
.fs-campo-botao{min-width:auto}
select,input[type=number]{background:#0f141a;color:#fff;border:1px solid #475569;border-radius:6px;padding:8px 10px;font-size:16px;min-height:44px}
.fs-btn{background:#0ea5e9;color:#04121c;border:0;border-radius:6px;padding:10px 16px;font-weight:700;font-size:16px;min-height:44px;cursor:pointer}
.fs-btn:hover{background:#38bdf8}.fs-btn-play[aria-pressed=true]{background:#fbbf24}
.fs-relogio{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;background:#1b222b;border:1px solid #2b3542;border-radius:10px;padding:12px;margin-bottom:12px}
.fs-hora{display:flex;flex-direction:column}.fs-rot{font-size:13px;color:#9fb0c2}.fs-hora strong{font-size:1.6rem;font-variant-numeric:tabular-nums}
.fs-turno{font-size:14px;color:#fbbf24}
.fs-tempo{flex:1;min-width:240px;display:flex;flex-direction:column;gap:4px}.fs-tempo label{font-size:14px;color:#cbd5e1;font-weight:600}
.fs-tempo input{width:100%;accent-color:#0ea5e9;min-height:32px}
.fs-status{margin:0;font-size:14px;color:#cbd5e1;flex-basis:100%}
.fs-planta,.fs-sistemas,.fs-nota{background:#1b222b;border:1px solid #2b3542;border-radius:10px;padding:12px;margin-bottom:12px}
.fs-svg svg{width:100%;height:auto;display:block}
.fs-svg .area{fill:#0f1720;stroke:#334155;stroke-width:1.5}
.fs-svg .area-t{fill:#9fb0c2;font-size:14px;font-weight:600}
.fs-svg .maq rect{stroke:#0b0f14;stroke-width:2;rx:8}
.fs-svg .maq text{font-size:13px;fill:#0b0f14;font-weight:700}
.fs-svg .maq text.es{font-weight:500;font-size:12px}
.fs-svg .seta{stroke:#64748b;stroke-width:2;fill:none;marker-end:url(#fs-ponta)}
.st-Produzindo{fill:#22c55e;background:#22c55e}.st-Setup{fill:#eab308;background:#eab308}
.st-Parada{fill:#f97316;background:#f97316}.st-Alarme{fill:#ef4444;background:#ef4444}
.st-Manutencao{fill:#a78bfa;background:#a78bfa}.st-Livre{fill:#94a3b8;background:#94a3b8}
.st-Fora{fill:#475569;background:#475569}
.fs-legenda{list-style:none;display:flex;flex-wrap:wrap;gap:6px 16px;padding:0;margin:8px 0 0;font-size:14px}
.fs-legenda i{display:inline-block;width:14px;height:14px;border-radius:3px;margin-right:6px;vertical-align:-2px}
.fs-abas{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.fs-aba{background:#222b36;color:#e6ecf2;border:1px solid #334155;border-radius:6px;padding:8px 12px;font-size:15px;cursor:pointer;min-height:44px}
.fs-aba[aria-selected=true]{background:#fbbf24;color:#111;font-weight:700;border-color:#fbbf24}
.fs-aba.fs-breve{color:#cbd5e1}.fs-aba small{font-size:12px;opacity:.85}
.fs-painel{padding:4px 2px}
.fs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;margin:8px 0 14px}
.fs-card{background:#10171f;border:1px solid #334155;border-left:6px solid #94a3b8;border-radius:8px;padding:10px;font-size:14px}
.fs-card b{font-size:15px}.fs-card .kv{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin-top:4px}
.fs-card.e-Produzindo{border-left-color:#22c55e}.fs-card.e-Setup{border-left-color:#eab308}.fs-card.e-Parada{border-left-color:#f97316}
.fs-card.e-Alarme{border-left-color:#ef4444}.fs-card.e-Manutencao{border-left-color:#a78bfa}.fs-card.e-Fora{border-left-color:#475569}
.fs-tw{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:14px}
caption{text-align:left;font-weight:700;padding:4px 0 6px;color:#e6ecf2}
th,td{padding:6px 8px;border-bottom:1px solid #2b3542;text-align:left;vertical-align:top}
th{color:#cbd5e1;font-weight:600}
.fs-bar{width:90px;height:10px;vertical-align:middle;accent-color:#0ea5e9}
.fs-legenda-i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px}
.fs-msgs{list-style:none;padding:0;margin:6px 0 0;font-size:14px}
.fs-msgs li{padding:5px 0;border-bottom:1px dashed #2b3542}.fs-msgs time{color:#fbbf24;font-variant-numeric:tabular-nums;margin-right:6px}
.fs-tag{color:#9fb0c2}
.fs-embreve{background:#10171f;border:1px dashed #475569;border-radius:8px;padding:12px}
.fs-conheca{font-size:14px;margin:10px 0 0}
.fs-spark{width:160px;height:34px}.fs-spark polyline{fill:none;stroke:#38bdf8;stroke-width:2}
.fs-ok{color:#4ade80;font-weight:700}.fs-al{color:#fca5a5;font-weight:700}
.fs-fluxo,.fs-siga{background:#1b222b;border:1px solid #2b3542;border-radius:10px;padding:12px;margin-bottom:12px}
.fs-ajuda{font-size:14px;color:#cbd5e1;margin:0 0 8px}
.fs-fluxo-grade{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px}
@media (max-width:900px){.fs-fluxo-grade{grid-template-columns:1fr}}
.pir-fundo{fill:#0f1720;stroke:#334155;stroke-width:1.5}
.pir-nivel{fill:#9fb0c2;font-size:11px}
.pir-sis rect{fill:#222b36;stroke:#475569;stroke-width:1.5}
.pir-sis text{fill:#e6ecf2;font-size:13px;font-weight:600}
.pir-de rect{fill:#0ea5e9;stroke:#bae6fd}.pir-de text{fill:#04121c}
.pir-para rect{fill:#fbbf24;stroke:#fde68a}.pir-para text{fill:#111}
.pir-seta{stroke:#fbbf24;stroke-width:3;fill:none}
.fs-controles-int{background:transparent;border:0;padding:0}
.fs-trilha{margin:6px 0 0;padding-left:22px;font-size:14px;max-height:420px;overflow:auto}
.fs-trilha li{padding:4px 0;border-bottom:1px dashed #2b3542}
.fs-trilha time{color:#fbbf24;font-variant-numeric:tabular-nums;margin-right:6px}
.fs-trilha .feito{color:#cbd5e1}.fs-trilha .proximo{color:#fff;font-weight:600;background:#243041}.fs-trilha .futuro{color:#8796a8}
.fs-btn:disabled{background:#475569;color:#cbd5e1;cursor:not-allowed}
.fs-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fs-gantt svg{min-width:640px}.fs-gantt{overflow-x:auto}
.g-txt{fill:#cbd5e1;font-size:11px}.g-dia{stroke:#334155;stroke-width:1}.g-agora{stroke:#fbbf24;stroke-width:2}
.g-plan{fill:none;stroke-width:1.5}.g-exec{stroke:none}
.g-exec.of-0{fill:#38bdf8}.g-exec.of-1{fill:#4ade80}.g-exec.of-2{fill:#f472b6}.g-exec.of-3{fill:#2dd4bf}.g-exec.of-4{fill:#a78bfa}.g-exec.of-5{fill:#fb923c}
.g-plan.of-0{stroke:#38bdf8}.g-plan.of-1{stroke:#4ade80}.g-plan.of-2{stroke:#f472b6}.g-plan.of-3{stroke:#2dd4bf}.g-plan.of-4{stroke:#a78bfa}.g-plan.of-5{stroke:#fb923c}
.fs-grupo{border:1px solid #334155;border-radius:8px;padding:8px 12px;margin:0;display:flex;flex-wrap:wrap;gap:6px 16px;flex-basis:100%}
.fs-grupo legend{font-size:14px;color:#cbd5e1;font-weight:600;padding:0 4px}.fs-grupo legend small{font-weight:400;color:#9fb0c2}
.fs-check{display:flex;gap:8px;align-items:flex-start;font-size:14px;min-height:32px;cursor:pointer;max-width:560px}
.fs-check input{width:20px;height:20px;margin:2px 0 0;accent-color:#0ea5e9;flex:none}
.fs-grupo-ese{flex-direction:column}
.fs-ese-res{background:#10261c;border:1px solid #166534;border-radius:10px;padding:12px;margin-bottom:12px}
.fs-ese-res h2{margin-top:0}
.fs-hist svg{min-width:560px}.fs-hist{overflow-x:auto}
.h-linha{fill:none;stroke:#38bdf8;stroke-width:2}.h-lim{stroke:#ef4444;stroke-width:1.5;stroke-dasharray:6 4}.h-lim-t{fill:#fca5a5;font-size:12px}
.fs-kpis{background:#1b222b;border:1px solid #2b3542;border-radius:10px;padding:12px;margin-bottom:12px}
.fs-kpi .kv span:nth-child(even){font-weight:700;font-size:15px}
.fs-def{margin:6px 0 0;font-size:13px;color:#cbd5e1}
.fs-chip{display:inline-block;background:#222b36;border:1px solid #475569;border-radius:999px;padding:1px 8px;margin:2px 0;font-size:13px}
.fs-trilha-box{max-height:440px;overflow:auto;border-radius:6px}
.fs-trilha{max-height:none;overflow:visible}
.fs-passo{background:#0f141a;color:#fbbf24;border:1px solid #475569;border-radius:4px;padding:2px 6px;font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;min-height:28px}
.fs-passo:hover{border-color:#fbbf24}
.fs-nf{background:#f8fafc;color:#111827;border:2px dashed #b45309;border-radius:8px;padding:12px;margin:8px 0}
.fs-nf a{color:#1d4ed8}
.fs-nf .kv{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;font-size:14px}
.fs-nf table caption,.fs-nf th,.fs-nf td{color:#111827;border-color:#cbd5e1}
.fs-nf .fs-ajuda{color:#374151}
.fs-nf-tarja{margin:0 0 8px;background:#b45309;color:#fff;font-weight:800;letter-spacing:1px;text-align:center;padding:4px;border-radius:4px}
.fs-nota p{margin:0;font-size:14px;color:#cbd5e1}
.fs-rodape{text-align:center;padding:16px;color:#9fb0c2;font-size:14px;border-top:1px solid #2b3542}
.fs-rodape p{margin:6px 0 0}
@media (max-width:700px){.fs-campo{min-width:140px;flex:1}.fs-titulo h1{font-size:1.4rem}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.fs-acoes{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 0}
.fs-btn-cta{background:#166534;color:#f0fdf4}.fs-btn-cta:hover{background:#15803d;color:#fff}
.fs-btn-sec{background:#334155;color:#e6ecf2}.fs-btn-sec:hover{background:#475569}
.fs-btn-sec:disabled{background:#1e293b;color:#94a3b8;cursor:not-allowed}
.fs-tour-convite{background:#10261c;border:1px solid #166534;border-radius:10px;padding:12px;margin-bottom:12px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.fs-tour-convite[hidden]{display:none}.fs-tour-convite p{margin:0;flex:1;min-width:200px}
.fs-tour{position:fixed;inset:0;background:rgba(2,6,12,.55);z-index:80;display:flex;align-items:flex-end;justify-content:center;padding:16px}
.fs-tour[hidden]{display:none}
.fs-tour-dlg{background:#1b222b;color:#e6ecf2;border:1px solid #fbbf24;border-radius:12px;padding:16px;max-width:640px;width:100%;margin-bottom:12px;box-shadow:0 8px 32px #0008}
.fs-tour-dlg h2{margin:0 0 8px;font-size:1.2rem}.fs-tour-dlg p{margin:0 0 8px}
.fs-tour-cmds{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.fs-tour-alvo{outline:3px solid #fbbf24;outline-offset:4px;border-radius:10px}
@media (prefers-reduced-motion:reduce){.fs-tour{transition:none}}

.fs-cmp{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:8px 0 14px}
.fs-cmp-card{background:#10171f;border:1px solid #334155;border-radius:8px;padding:10px}
.fs-cmp-card h3{margin:0 0 8px;font-size:15px}
.fs-cmp-par{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fs-cmp-par strong{display:block;font-size:1.15rem;font-variant-numeric:tabular-nums}
.fs-cmp-card.e-melhor{border-color:#166534}.fs-cmp-card.e-pior{border-color:#7f1d1d}
.fs-cmp-card p{margin:8px 0 0;font-size:13px}
