/* ---------- cena 2: a sua fábrica (factory.js) ---------- */
.factory { position: relative; height: 1100vh; background: #f8fafc; color: var(--text); }
.f-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse 60% 75% at 70% 52%, #ffffff 0%, #f4f7fb 55%, #eaeff6 100%); }
.f-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; z-index: 3; }
.factory .eyebrow { color: var(--brand); }
.factory .h2 { color: var(--ink); }
.factory .lead { color: #475569; }
.f-steps { position: relative; min-height: 360px; max-width: 30%; margin-top: 4px; }
.f-step { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1); }
.f-step.is-on { opacity: 1; transform: none; }
.f-dots { display: flex; gap: 8px; margin-top: 18px; }
.f-dots span { width: 34px; height: 3px; border-radius: 2px; background: #cbd5e1; transition: background .4s; }
.f-dots span.is-on { background: var(--brand); }
.f-stage { position: absolute; inset: 0; z-index: 2; }
.f-host { position: absolute; top: 72px; bottom: 0; left: 40%; right: 0; z-index: 1; }
.f-host canvas { display: block; }

/* a paleta de máquinas (a montagem) */
.f-palette { position: absolute; left: calc(40% + 12px); top: 50%; transform: translateY(-50%); display: grid; gap: 8px; padding: 12px; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 24px 50px -24px rgba(15,23,42,.35); z-index: 3; transition: opacity .3s; }
.f-palette-title { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 2px 2px; }
.f-tile { display: flex; align-items: center; gap: 10px; width: 170px; padding: 9px 10px; border-radius: 4px; border: 1px solid #e2e8f0; background: #f8fafc; font-size: 13.5px; transition: opacity .3s, border-color .3s; }
.f-tile b { font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-tile-ic { width: 26px; height: 26px; border-radius: 4px; background: rgba(0,102,255,.1); flex: none; position: relative; }
.f-tile-ic::after { content: ""; position: absolute; inset: 7px; border-radius: 2px; border: 2px solid var(--brand); }
.f-tile.is-used { opacity: .35; }
.f-ghost { position: absolute; left: 0; top: 0; z-index: 6; padding: 8px 12px; border-radius: 4px; background: #fff; border: 1.5px solid var(--brand); color: var(--ink); font-size: 13px; font-weight: 800; box-shadow: 0 18px 30px -10px rgba(0,102,255,.45); opacity: 0; pointer-events: none; white-space: nowrap; }
.f-cursor { position: absolute; left: 0; top: 0; z-index: 7; width: 26px; height: 26px; margin: -3px 0 0 -3px; opacity: 0; pointer-events: none; transition: opacity .2s; filter: drop-shadow(0 4px 6px rgba(15,23,42,.35)); }
.f-cursor svg { width: 100%; height: 100%; }
.f-cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,102,255,.25); transform: scale(0); transition: transform .15s; }
.f-cursor.is-down::after { transform: scale(1); }

/* os rótulos das máquinas */
.f-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 7px; border-radius: 999px; background: rgba(255,255,255,.95); border: 1px solid #e2e8f0; font-size: 12px; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(15,23,42,.4); transition: border-color .3s; }
.f-tag b { font-weight: 800; color: var(--ink); }
.f-tag i { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; transition: background .3s, box-shadow .3s; }
.f-tag.is-live i { background: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,.18); }
.f-tag.is-live[data-st="W"] i { background: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,.2); }
.f-tag.is-red { border-color: rgba(220,38,38,.5); }
.f-tag.is-red i { background: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.2); }
.f-tag-host { transition: opacity .3s; }

/* o cartão da máquina, os botões e os resultados */
.f-card, .f-result, .f-routecard { position: absolute; z-index: 5; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -24px rgba(15,23,42,.35); opacity: 0; transition: opacity .35s; pointer-events: none; }
.f-card { left: 0; top: 0; width: 260px; padding: 14px; }
.f-card.is-on, .f-result.is-on, .f-routecard.is-on { opacity: 1; }
.f-card-head { display: flex; gap: 10px; align-items: center; }
.f-card-head img { width: 46px; height: 46px; border-radius: 4px; object-fit: cover; }
.f-card-head b { display: block; font-size: 16px; font-weight: 900; color: var(--ink); }
.f-card-head small { font-size: 12.5px; color: var(--muted); }
.f-card-st { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 8px; border-radius: 4px; background: rgba(22,163,74,.1); color: #15803d; font-size: 12.5px; font-weight: 800; }
.f-sim { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; height: 38px; border-radius: 4px; background: #fff; border: 1.5px solid var(--red); color: var(--red); font-weight: 800; font-size: 14px; opacity: 0; transition: all .25s; }
.f-sim.is-on { opacity: 1; }
.f-sim.is-pressed { background: var(--red); color: #fff; }
.f-result { right: 3vw; top: 96px; width: 300px; padding: 16px 18px; }
.f-result p { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.f-result b { display: block; font-size: 17px; font-weight: 900; color: var(--ink); margin-top: 6px; }
.f-result ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 14px; }
.f-result li { display: flex; gap: 8px; align-items: center; }
.f-result li i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.f-result li i.red { background: var(--red); }
.f-result li i.green { background: var(--green); }
.f-route { position: absolute; right: 3vw; top: 96px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 4px; background: #fff; border: 1px solid #cbd5e1; color: var(--ink); font-weight: 800; font-size: 14px; box-shadow: 0 10px 24px -14px rgba(15,23,42,.4); opacity: 0; transition: all .25s; pointer-events: none; }
.f-route svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-route.is-on { opacity: 1; }
.f-route.is-pressed { background: var(--brand); border-color: var(--brand); color: #fff; }
.f-routecard { right: 3vw; top: 150px; width: 270px; padding: 14px 16px; }
.f-routecard p { display: flex; justify-content: space-between; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.f-routecard b { display: block; font-size: 17px; font-weight: 900; color: var(--ink); margin-top: 6px; }
.f-routecard ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 14px; color: #475569; }
.f-routecard li::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 4px; border: 1.5px solid #94a3b8; }
.f-badge { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 0 0 4px rgba(0,102,255,.18); opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s; }
.f-badge.is-on { opacity: 1; transform: none; }

/* celular: sem 3D, a imagem e os textos em sequência */
.factory.is-lite { height: auto; }
.factory.is-lite .f-sticky { position: relative; height: auto; padding: 40px 0 70px; }
.factory.is-lite .f-stage { display: none; }
.factory.is-lite .f-copy { position: relative; }
.factory.is-lite .f-steps { max-width: none; min-height: 0; display: grid; gap: 28px; }
.factory.is-lite .f-step { position: relative; opacity: 1; transform: none; }
.factory.is-lite .f-dots { display: none; }
.f-still { display: none; }
.factory.is-lite .f-still { display: block; width: 100%; margin-bottom: 28px; }

/* a paleta e os rótulos no padrão do sistema: foto, nome, tipo; anel do estado em volta da foto */
.f-tile { width: 210px; padding: 7px 10px 7px 7px; background: #fff; }
.f-tile img { width: 38px; height: 38px; border-radius: 4px; object-fit: cover; flex: none; }
.f-tile > div { min-width: 0; }
.f-tile small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-tag { padding: 3px 10px 3px 3px; }
.f-tag:not(:has(.f-ava)) { padding-left: 8px; }
.f-ava { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #e2e8f0 center / cover; box-shadow: 0 0 0 2px #cbd5e1; flex: none; }
.f-ava i { position: absolute; right: -3px; bottom: -3px; width: 10px; height: 10px; border: 2px solid #fff; }
.f-tag.is-live .f-ava { box-shadow: 0 0 0 2px var(--green); }
.f-tag.is-live[data-st="W"] .f-ava { box-shadow: 0 0 0 2px var(--amber); }
.f-tag.is-red .f-ava { box-shadow: 0 0 0 2px var(--red); }
.f-tag-gw { border-color: rgba(0,102,255,.35); }
.f-tag-gw i { background: var(--brand); box-shadow: 0 0 0 3px rgba(0,102,255,.18); }

/* o alfinete do ativo e do gateway, igual à Planta (demo plant-gateway-conexao) */
.node-pin { display: flex; flex-direction: column; align-items: center; gap: 3px; transition: opacity .3s; }
.node-pin .pc-ring { width: 44px; height: 44px; }
.node-pin .lab { display: inline-flex; align-items: center; gap: 6px; padding: 2px 7px; background: #fff; border-radius: 4px; box-shadow: 0 1px 2px rgba(15,23,42,.1), 0 4px 12px -4px rgba(15,23,42,.25); font: 700 12px Inter, 'Nunito Sans', sans-serif; color: #0f172a; white-space: nowrap; }
.node-pin .lab-muted { color: #64748b; font-weight: 600; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 3px; border-radius: 1px; background: #cbd5e1; }
.bars[data-t='ok'] i.on { background: #16a34a; }
.bars[data-t='weak'] i.on { background: #d97706; }
.bars[data-t='off'] { display: none; }
.gw-ring { position: relative; width: 50px; height: 50px; border-radius: 999px; padding: 3px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.1), 0 6px 16px -4px rgba(15,23,42,.28); }
.gw-ring .face { width: 100%; height: 100%; border-radius: 999px; background: #f8fafc; display: grid; place-items: center; overflow: hidden; }
.gw-ring .face img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gw-ring .st { position: absolute; right: -4px; bottom: -2px; width: 19px; height: 19px; border-radius: 999px; border: 2px solid #fff; display: grid; place-items: center; color: #fff; background: #16a34a; }
.f-ghost { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; }
.f-ghost img { width: 28px; height: 28px; border-radius: 4px; object-fit: cover; }
/* o fecho */
.f-final { position: absolute; right: 3vw; top: 96px; z-index: 5; width: 300px; padding: 16px 18px; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -24px rgba(15,23,42,.35); opacity: 0; transition: opacity .4s; pointer-events: none; }
.f-final.is-on { opacity: 1; }
.f-final p { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #15803d; }
.f-final p i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.f-final b { display: block; font-size: 18px; font-weight: 900; color: var(--ink); margin-top: 6px; }
.f-final ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; font-size: 14px; color: #475569; }
.f-final li { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid #f1f5f9; }
.f-final em { font-style: normal; font-weight: 800; color: #15803d; }

/* ---------- 10/10: a ficha do ativo, a paleta no padrão do produto, os cartões da simulação e da ronda ---------- */
.f-tile img.f-art { object-fit: contain; background: #f8fafc; padding: 2px; }
.f-ghost img { object-fit: cover; }
.f-detail { position: absolute; left: 0; top: 0; z-index: 5; width: 280px; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -24px rgba(15,23,42,.35); overflow: hidden; opacity: 0; transition: opacity .35s; pointer-events: none; font-family: Inter, 'Nunito Sans', sans-serif; }
.f-detail.is-on { opacity: 1; }
.fd-photo { position: relative; height: 128px; background: #f1f5f9; }
.fd-photo img { width: 100%; height: 100%; object-fit: cover; }
.fd-pill { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: rgba(255,255,255,.95); font-size: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.1); }
.fd-pill i { width: 20px; height: 20px; border-radius: 50%; background: #22c55e; position: relative; }
.fd-pill i::after { content: ""; position: absolute; left: 6px; top: 5px; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.fd-pill b { color: #16a34a; font-weight: 700; }
.fd-body { padding: 12px 14px 14px; }
.fd-name { display: block; font-size: 15px; font-weight: 700; color: #0f172a; }
.fd-tag { margin-top: 2px; font-size: 12px; color: hsl(215.4 16.3% 46.9%); }
.fd-label { margin-top: 12px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(100,116,139,.7); }
.fd-dots { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.fd-dots i { width: 14px; height: 14px; border-radius: 50%; background: #22c55e; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .25s; }
.fd-dots i.last { width: 20px; height: 20px; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.fd-dots i.is-on { opacity: .88; transform: none; }
.fd-dots i.last.is-on { opacity: 1; }
.fd-sensor { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f1f5f9; font-size: 12px; color: #0369a1; }
.fd-sensor span:first-child { width: 8px; height: 8px; border-radius: 50%; background: #0ea5e9; box-shadow: 0 0 0 3px rgba(14,165,233,.2); }
/* a simulação: o cartão no tom da parada, com a lista de quem para e quem segue */
.f-result { border-left: 3px solid #dc2626; padding: 16px 18px 16px 16px; }
.f-result p { display: flex; align-items: center; gap: 8px; }
.f-result p::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: rgba(220,38,38,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2.5'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3C/svg%3E") center no-repeat; }
.f-result ul { gap: 10px; }
.f-result li { padding: 8px 10px; border-radius: 4px; background: #fef2f2; color: #7f1d1d; font-weight: 600; }
.f-result li:last-child { background: #f0fdf4; color: #14532d; }
/* a ronda: a parada atual com o número grande e as perguntas */
.f-routecard { border-left: 3px solid var(--brand); }
.f-routecard b { display: flex; align-items: center; gap: 10px; }
.f-routecard b::before { content: attr(data-n); }
.f-routecard ul { gap: 8px; }
.f-routecard li { padding: 6px 8px; border-radius: 4px; background: #f8fafc; }
.f-result { top: auto; bottom: 10vh; }

/* ---------- 10/10: sem borda colorida na esquerda (não é do padrão da casa): cartões como os do sistema ---------- */
.f-result, .f-routecard { border-left: 1px solid #e2e8f0; padding: 14px 16px; }
.f-result p, .f-routecard p { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.f-result p { color: #dc2626; }
.f-result p::before { display: none; }
.f-result b, .f-routecard b { font-size: 16px; font-weight: 700; margin-top: 6px; }
.f-result ul { gap: 6px; margin-top: 10px; }
.f-result li { padding: 0; background: none; color: #334155; font-weight: 500; font-size: 13.5px; }
.f-result li:last-child { background: none; color: #334155; }
.f-routecard b::before { content: none; }
.f-routecard li { padding: 0; background: none; }
.f-gwcard { position: absolute; right: 3vw; top: 96px; z-index: 5; width: 280px; padding: 14px 16px; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -24px rgba(15,23,42,.35); opacity: 0; transition: opacity .35s; pointer-events: none; font-family: Inter, 'Nunito Sans', sans-serif; }
.f-gwcard.is-on { opacity: 1; }
.f-gwcard .gw-top { display: flex; align-items: center; gap: 10px; }
.f-gwcard .gw-top img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #f8fafc; padding: 3px; border: 1px solid #e2e8f0; }
.f-gwcard .gw-top b { display: block; font-size: 14px; font-weight: 700; color: #0f172a; font-family: ui-monospace, monospace; }
.f-gwcard .gw-top small { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #16a34a; font-weight: 600; }
.f-gwcard .gw-top small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.f-gwcard ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.f-gwcard li { display: flex; justify-content: space-between; font-size: 13px; color: #64748b; padding-top: 8px; border-top: 1px solid #f1f5f9; }
.f-gwcard li b { color: #0f172a; font-weight: 700; }
.factory.is-capture .f-copy, .factory.is-capture .f-final, .factory.is-capture .f-gwcard { display: none; }
.factory.is-capture .f-host { left: 0; top: 0; }
body.capture .top { display: none; } .factory.is-capture .f-host { top: 0; bottom: 0; }

/* ---------- 10/10: os cartões no padrão das fichas do produto (sem borda lateral colorida) ---------- */
.f-gwcard, .f-result, .f-routecard, .f-final { width: 320px; padding: 16px; border: 1px solid #e2e8f0; border-radius: 4px; background: #fff; box-shadow: 0 30px 60px -24px rgba(15,23,42,.35); font-family: Inter, 'Nunito Sans', sans-serif; color: #0f172a; }
.f-result { top: 96px; bottom: auto; }
.fc-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid #f1f5f9; }
.fc-head b { display: block; font-size: 14.5px; font-weight: 700; }
.fc-head b.mono { font-family: ui-monospace, monospace; font-size: 14px; }
.fc-head small { display: block; font-size: 12px; color: #64748b; margin-top: 1px; }
.fc-head small.ok { color: #16a34a; font-weight: 600; }
.fc-gw { width: 36px; height: 36px; border-radius: 50%; background: #f8fafc; border: 1px solid #e2e8f0; display: grid; place-items: center; flex: none; }
.fc-gw img { width: 26px; height: 26px; object-fit: contain; }
.fc-ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.fc-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fc-ic.red { background: rgba(220,38,38,.1); color: #dc2626; } .fc-ic.blue { background: rgba(0,102,255,.1); color: #0066ff; } .fc-ic.green { background: rgba(22,163,74,.1); color: #16a34a; }
.fc-label { margin: 12px 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; }
.fc-label.red { color: #dc2626; } .fc-label.green { color: #16a34a; }
.fc-label b { color: #0f172a; letter-spacing: 0; }
.fc-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.fc-ava { width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0 center / cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #cbd5e1; flex: none; transition: box-shadow .3s, filter .3s; }
.fc-ava.red { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #dc2626; } .fc-ava.green { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #22c55e; } .fc-ava.blue { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #0066ff; }
.fc-row-t { flex: 1; min-width: 0; }
.fc-row-t b { display: block; font-size: 13px; font-weight: 700; }
.fc-row-t small { display: block; font-size: 11.5px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-chip { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.fc-chip.red { background: rgba(220,38,38,.1); color: #b91c1c; } .fc-chip.green { background: rgba(22,163,74,.1); color: #15803d; } .fc-chip.blue { background: #0066ff; color: #fff; min-width: 22px; text-align: center; border-radius: 999px; }
.fc-avas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 6px; margin-top: 4px; }
.fc-dot { display: grid; justify-items: center; gap: 4px; }
.fc-dot .fc-ava { filter: grayscale(1); opacity: .5; }
.fc-dot.on .fc-ava { filter: none; opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #22c55e; }
.fc-dot i { font-style: normal; font-size: 10px; font-weight: 600; color: #64748b; }
.fc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #f1f5f9; }
.fc-stats.three { grid-template-columns: 1fr 1fr 1.3fr; }
.fc-stats small { display: block; font-size: 11px; color: #64748b; }
.fc-stats b { display: block; font-size: 14px; font-weight: 700; margin-top: 1px; }
.fc-stats b.ok { color: #16a34a; font-size: 12.5px; }
.fc-seg { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; margin: 12px 0 6px; }
.fc-seg i { height: 4px; border-radius: 2px; background: #e2e8f0; transition: background .3s; }
.fc-seg i.on { background: #0066ff; }
.fc-check { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #f1f5f9; font-size: 12.5px; }
.fc-ans { display: flex; gap: 3px; flex: none; }
.fc-ans em { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 4px; border: 1px solid #e2e8f0; color: #94a3b8; }
.fc-ans em.on { background: rgba(22,163,74,.1); border-color: rgba(22,163,74,.3); color: #15803d; }
.f-final { width: 340px; }
.f-result { top: auto; bottom: 5vh; }

/* ---------- cartões, rodada 10/10: foto QUADRADA (rounded-sm) como nas fichas do produto; o nome é
   "descrição - tag" com a tag apagada; ícones de cabeçalho em quadrado; listas no lugar das bolinhas ---------- */
.fc-ava { width: 36px; height: 36px; border-radius: 4px; box-shadow: none; border: 1px solid #e2e8f0; filter: none; opacity: 1; }
.fc-ava.red, .fc-ava.green, .fc-ava.blue { box-shadow: none; }
.fc-ava.sm { width: 26px; height: 26px; }
.fc-ava.lg { width: 40px; height: 40px; }
.fc-tag { font-weight: 500; color: #94a3b8; }
.fc-row-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-ic, .fc-gw { border-radius: 4px; }
.fc-list { display: grid; gap: 2px; margin-top: 2px; }
.fc-mini { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 12.5px; }
.fc-mini b { flex: 1; min-width: 0; font-weight: 600; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-mini .fc-ava { transition: filter .3s, opacity .3s; }
.fc-mini[data-f-gwdot]:not(.on) .fc-ava { filter: grayscale(1); opacity: .45; }
.fc-mini[data-f-gwdot]:not(.on) b { color: #94a3b8; }
.fc-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; flex: none; }
.fc-bars i { width: 3px; border-radius: 1px; background: #e2e8f0; transition: background .3s; }
.fc-mini[data-f-gwdot].on .fc-bars i.on { background: #16a34a; }
.fc-ok { display: grid; place-items: center; color: #16a34a; flex: none; }
.fc-ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fc-chip.blue { border-radius: 4px; }
.f-gwcard, .f-final { width: 320px; }
.f-final .fc-mini b, .f-gwcard .fc-mini b, .f-result .fc-row-t b, .f-routecard .fc-row-t b { display: block; margin: 0; font-size: 12.5px; font-weight: 600; }
.f-result .fc-row-t b, .f-routecard .fc-row-t b { font-size: 13px; }
.f-final .fc-head b, .f-result .fc-head b, .f-routecard .fc-head b { margin: 0; font-size: 14.5px; font-weight: 700; }
.fc-more { margin: 4px 0 0; padding: 6px 0 0; border-top: 1px dashed #e2e8f0; font-size: 12px; font-weight: 600; color: #64748b; }
/* o elemento que a cena 3D posiciona não tem transição nenhuma (o transform dele é a posição na tela) */
.f-badge-host { pointer-events: none; transition: none; }
.f-badge { display: grid; }
/* o nome da máquina na paleta nunca vaza do cartão (nomes longos em espanhol): bloco com reticências */
.f-tile { width: 232px; }
.f-tile b, .f-tile small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.f-card-head b { font-size: 14.5px; font-weight: 700; line-height: 1.3; } .f-card { width: 280px; }
