/* ==========================================================================
   S4 · Bancada de testes (prefixo bn-)
   Seção no papel, cartões "etiqueta de bancada" e uma camada de teste em tela
   cheia, sempre escura, como um instrumento de bancada.
   ========================================================================== */

.bn {
  --bn-ok: #0B5A3E;
  --bn-bad: #B3261E;
  position: relative;
}
:root[data-theme="dark"] .bn { --bn-ok: #7FD1B0; --bn-bad: #FF9B90; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bn { --bn-ok: #7FD1B0; --bn-bad: #FF9B90; }
}

/* ---------- Cabeça da seção ---------- */
.bn-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px);
}
.bn-head .section-head { flex: 1 1 420px; margin-bottom: 0; }
.bn-seal {
  flex: 0 1 auto; display: flex; flex-direction: column; gap: 10px;
  padding: 16px 20px 16px 18px; border: 1.5px dashed var(--border-2); border-radius: 6px;
  font-family: var(--mono); font-size: 13px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
}
.bn-seal li { display: flex; align-items: center; gap: 10px; }
.bn-seal svg { flex-shrink: 0; width: 16px; height: 16px; fill: none; stroke: var(--accent-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.bn-nojs { max-width: 40em; margin-bottom: 28px; padding: 16px 18px; border-left: 4px solid var(--accent); background: var(--bg-raised); }
.js .bn-nojs { display: none; }
html:not(.js) .bn-card__go, html:not(.js) .bn-foot { display: none; }

/* ---------- Grade de cartões ---------- */
.bn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.bn-cell { display: flex; min-width: 0; }
.bn-card {
  position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 20px 22px 22px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg-raised);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s ease;
}
.bn-card:hover, .bn-card:focus-within { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard); border-color: var(--text); }
.bn-card__top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px;
  border-bottom: 1.5px dashed var(--border-2);
  font-family: var(--mono); font-size: 13px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
}
.bn-card__ref { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.bn-card__ref::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 3.5px solid var(--accent); }
.bn-card__ico {
  display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-top: 6px;
  border-radius: 12px; background: var(--bg);
}
.bn-card__ico .bn-ico { width: 42px; height: 42px; }
.bn-ico { fill: none; stroke: var(--brand); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.bn-ico__m { stroke: var(--border-2); }
.bn-ico__a { stroke: var(--accent-deep); }
.bn-ico__f { fill: var(--accent); stroke: none; }
.bn-card__name { font-size: 25px; line-height: 1.08; font-weight: 800; font-stretch: 75%; letter-spacing: -.005em; }
.bn-card__txt { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.bn-card__foot { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.bn-card__go .ico { width: 18px; height: 18px; stroke-width: 2.4; transition: transform .2s var(--ease-out); }
.bn-card__go:hover .ico { transform: translateX(3px); }
.bn-card__tag {
  font-family: var(--mono); font-size: 12px; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  order: -1; padding: 7px 9px; border-radius: 4px; border: 1px solid var(--border-2); color: var(--text-3); white-space: nowrap;
}

/* carimbo do resultado, só nesta visita */
.bn-stamp {
  position: absolute; top: 66px; right: 20px; padding: 7px 11px 6px; border: 2.5px solid currentColor; border-radius: 6px;
  font-family: var(--mono); font-size: 15px; line-height: 1; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  transform: rotate(-7deg); animation: bn-stamp .45s var(--ease-out) both;
}
.bn-stamp.is-ok { color: var(--bn-ok); }
.bn-stamp.is-bad { color: var(--bn-bad); }
@keyframes bn-stamp { from { opacity: 0; transform: rotate(-7deg) scale(1.7); } to { opacity: 1; transform: rotate(-7deg) scale(1); } }
.bn-card.is-ok { border-color: var(--bn-ok); }
.bn-card.is-bad { border-color: var(--bn-bad); }

/* ---------- Resumo no pé ---------- */
.bn-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 72px); }
.bn-foot__txt { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.bn-foot__txt p { color: var(--text-2); max-width: 34em; }
.bn-foot__hint { font-family: var(--mono); font-size: 14px; line-height: 1.4; padding-left: 14px; border-left: 3px solid var(--accent); }
p.bn-foot__hint { color: var(--text-3); }
.bn-foot__send { margin-top: 4px; }
.bn-term { flex: 1.2 1 360px; min-width: 0; box-shadow: var(--shadow-hard); margin-right: 8px; }
.bn-term .term__body { padding-bottom: 18px; }
.bn-term .term__row { flex-wrap: wrap; row-gap: 8px; }
.bn-term .term__row dt { flex: 0 0 auto; white-space: nowrap; }
.bn-term .term__row dd { min-width: 0; overflow-wrap: anywhere; color: var(--term-dim); }
.bn-term .term__row dd.is-ok { color: #8FE3C0; }
.bn-term .term__row dd.is-bad { color: #FFB1A8; }
.bn-term .term__row dd.is-long { flex: 1 1 100%; padding-left: 12px; border-left: 2px solid var(--term-border); text-align: left; }
.bn-term__count { padding-top: 14px; color: var(--amber-soft); }
.bn-term__cur { margin-left: 2px; animation: blink 1.1s steps(2, jump-none) 8; }

@media (max-width: 700px) {
  .bn-seal { width: 100%; }
  .bn-card__go { align-self: stretch; }
  .bn-foot__send { width: 100%; }
  .bn-term { margin-right: 8px; }
}

/* ==========================================================================
   Camada de teste (criada pelo JS, filha direta do body). Sempre escura.
   ========================================================================== */
.bn-layer {
  position: fixed; z-index: 200; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; overflow: hidden;
  background: #06120E; color: #FFFFFF; font-size: 17px; line-height: 1.5;
  overscroll-behavior: contain; -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
/* Safari sem dvh (iOS 15.0 a 15.3): 100vh passa por baixo da barra do navegador. Prender em cima e embaixo acompanha a área visível */
@supports not (height: 100dvh) { .bn-layer { height: auto; bottom: 0; } }
.bn-layer:-webkit-full-screen { width: 100%; height: 100%; }
.bn-layer:fullscreen { width: 100%; height: 100%; }
.bn-layer::backdrop { background: #06120E; }
.bn-layer__deco { position: absolute; right: 0; bottom: 0; width: min(520px, 70%); height: auto; pointer-events: none; opacity: .9; }
.bn-layer--bare .bn-layer__deco { display: none; }

.bn-bar {
  position: relative; z-index: 3; flex: 0 0 auto; display: flex; align-items: center; gap: 12px; min-height: 64px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right));
  border-bottom: 1px solid #1D3A31; background: #06120E;
  transition: opacity .35s ease;
}
.bn-bar__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.bn-bar__name { position: relative; padding-left: 26px; font-family: var(--mono); font-size: 13px; line-height: 1.2; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: #8FB3A4; }
.bn-bar__name::before { content: ''; position: absolute; left: 0; top: 1px; width: 14px; height: 14px; border-radius: 50%; border: 4px solid #E3A72F; }
.bn-bar__step { min-height: 1.2em; padding-left: 26px; font-size: 16px; line-height: 1.2; font-weight: 700; color: #FFFFFF; }
.bn-bar__step:empty { display: none; }
.bn-exit {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 14px 0 16px;
  border: 1.5px solid rgba(255, 255, 255, .32); border-radius: 8px; background: rgba(6, 18, 14, .6); color: #FFFFFF;
  font-weight: 700; font-size: 15px; line-height: 1; transition: border-color .15s ease, background .15s ease;
}
.bn-exit:hover { border-color: #E3A72F; }
.bn-exit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

.bn-stage {
  position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}

/* modo "limpo": o teste ocupa a tela inteira e a barra flutua por cima */
.bn-layer--bare { touch-action: none; }
.bn-layer--bare .bn-stage { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.bn-layer--bare .bn-bar { position: absolute; top: 0; left: 0; right: 0; border-bottom-color: transparent; background: rgba(6, 18, 14, .86); }
.bn-layer--bare .bn-bar__name { color: #EAF1ED; }
.bn-layer--ghost .bn-bar { pointer-events: none; background: rgba(6, 18, 14, .6); }
.bn-layer--ghost .bn-bar .bn-exit { pointer-events: auto; }
.bn-bar.is-idle { opacity: 0; pointer-events: none; }
.bn-bar.is-idle:focus-within { opacity: 1; pointer-events: auto; }

/* ---------- Telas de conversa (pergunta final, problema, avisos) ---------- */
.bn-scr {
  min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 20px; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right));
  padding-bottom: max(28px, calc(env(safe-area-inset-bottom) + 16px));
}
.bn-scr__in { width: 100%; max-width: 620px; display: flex; flex-direction: column; gap: 18px; }
.bn-scr--wide { justify-content: flex-start; }
.bn-scr--wide .bn-scr__in { max-width: 1240px; align-items: center; }
.bn-scr__eyebrow { font-family: var(--mono); font-size: 13px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; color: #8FB3A4; }
.bn-scr__h { font-size: clamp(30px, 5vw, 46px); line-height: 1.02; font-weight: 800; font-stretch: 75%; letter-spacing: -.01em; text-wrap: balance; }
.bn-scr__h:focus { outline: none; }
.bn-scr__p { color: #C9D6CF; max-width: 36em; }
.bn-scr__note { font-size: 15px; line-height: 1.45; color: #8FB3A4; max-width: 38em; }
/* aviso dentro da camada (sempre escura): cor fixa, nunca token do tema */
.bn-scr__hint { max-width: 38em; padding-left: 14px; border-left: 3px solid #E3A72F; font-family: var(--mono); font-size: 14px; line-height: 1.45; color: #F3D58C; }
.bn-scr__ico { width: 72px; height: 72px; }
.bn-layer .bn-ico { stroke: #DCE7E1; }
.bn-layer .bn-ico__m { stroke: #2F564A; }
.bn-layer .bn-ico__a { stroke: #E3A72F; }
.bn-layer .bn-ico__f { fill: #E3A72F; }
.bn-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.bn-acts .btn { flex: 1 1 220px; }
.bn-acts--tight .btn { flex: 0 1 auto; }
.bn-layer .btn--ghost { color: #F3D58C; background: #06120E; }
.bn-layer .btn--ghost:hover { color: #0E1F19; background: #E3A72F; }
.bn-btn-quiet {
  min-height: 48px; padding: 8px 18px; border-radius: 8px; border: 1.5px solid #2F564A; background: transparent; color: #DCE7E1;
  font-weight: 600; font-size: 16px; line-height: 1.2; transition: border-color .15s ease;
}
.bn-btn-quiet:hover { border-color: #DCE7E1; }
.bn-causes { display: flex; flex-direction: column; border-bottom: 1px dashed #1D3A31; }
.bn-causes li { position: relative; padding: 13px 0 13px 28px; border-top: 1px dashed #1D3A31; color: #DCE7E1; line-height: 1.4; }
.bn-causes li::before { content: ''; position: absolute; left: 2px; top: 18px; width: 12px; height: 12px; border-radius: 50%; border: 3.5px solid #E3A72F; }
.bn-causes b { color: #FFFFFF; }
.bn-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-layer .pill { background: #0F251D; color: #EAF1ED; border-color: #2F564A; }
.bn-layer .pill:hover { border-color: #EAF1ED; }
.bn-layer .pill[aria-pressed="true"] { background: #E3A72F; color: #0E1F19; border-color: #E3A72F; }
.bn-ask { width: 100%; display: flex; flex-direction: column; gap: 12px; padding-top: 22px; border-top: 1px dashed #2B4A40; }
.bn-ask__q { font-size: 22px; line-height: 1.15; font-weight: 800; font-stretch: 75%; }

/* ---------- T1 · pixels ---------- */
.bn-full { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.bn-full:focus { outline: none; }
.bn-px {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 24px; cursor: pointer; background: #FFFFFF;
}
.bn-px:focus { outline: none; }
.bn-px.is-idle { cursor: none; }
.bn-tip {
  max-width: 24em; padding: 16px 20px; border-radius: 10px; background: rgba(6, 18, 14, .86); color: #FFFFFF;
  border: 1.5px dashed #E3A72F; text-align: center; font-weight: 600; line-height: 1.35; pointer-events: none;
  transition: opacity .5s ease;
}
.bn-tip.is-off { opacity: 0; }

/* ---------- T2 · toque ---------- */
.bn-tq { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: grid; background: #06120E; touch-action: none; cursor: crosshair; }
.bn-tq i { border-right: 1px solid #163328; border-bottom: 1px solid #163328; transition: background-color .22s ease; }
.bn-tq i.is-on { background: #E3A72F; border-color: #B98518; }
.bn-tq__over {
  position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px 20px; pointer-events: none;
}
.bn-tq__cant {
  position: absolute; z-index: 3; left: 50%; bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); transform: translateX(-50%);
  min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(6, 18, 14, .62); color: #FFFFFF;
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; touch-action: none;
}
.bn-tq__cant:hover { border-color: #E3A72F; }

/* ---------- T3 · teclado ---------- */
.bn-kb-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.bn-kb-wrap .bn-ask { max-width: 900px; }
.bn-kb {
  --u: min(50px, calc((100vw - 48px) / 24.5));
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: calc(var(--u) * .5);
  padding: calc(var(--u) * .35); border-radius: calc(var(--u) * .3); background: #0A1A14; border: 1.5px solid #1D3A31;
}
.bn-kb:focus { outline: none; }
.bn-kb:focus-visible { border-color: #E3A72F; }
.bn-kb__blk { display: grid; grid-template-rows: var(--u) calc(var(--u) * .28) repeat(5, var(--u)); }
.bn-kb__blk--main { grid-template-columns: repeat(60, calc(var(--u) / 4)); }
.bn-kb__blk--nav { grid-template-columns: repeat(12, calc(var(--u) / 4)); }
.bn-kb__blk--num { grid-template-columns: repeat(16, calc(var(--u) / 4)); }
.bn-kb__side { display: flex; gap: calc(var(--u) * .5); }
.bn-key {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0;
  margin: calc(var(--u) * .045); border-radius: calc(var(--u) * .13);
  background: #12302A; color: #9DB3A9; box-shadow: 0 calc(var(--u) * .06) 0 #020806;
  font-size: max(8.5px, calc(var(--u) * .27)); line-height: 1; font-weight: 700; font-stretch: 75%; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, transform .08s ease;
}
.bn-key__sup { font-size: .78em; font-weight: 600; opacity: .85; }
.bn-key svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bn-key.is-ok { background: #1B6B5A; color: #FFFFFF; }
.bn-key.is-down { background: #E3A72F; color: #0E1F19; transform: translateY(calc(var(--u) * .05)); box-shadow: 0 0 0 #020806; }
.bn-key.is-skip { background: transparent; color: #6F8A80; box-shadow: inset 0 0 0 1.5px #21423A; text-decoration: line-through; }
/* Enter do ABNT2: em L invertido */
.bn-key--enter { border-top-left-radius: 0; align-items: flex-end; justify-content: flex-start; padding: calc(var(--u) * .3) calc(var(--u) * .16) 0 0; }
.bn-key--enter::before {
  content: ''; position: absolute; top: 0; right: 100%; width: calc(var(--u) * .25 + 1px); height: calc(var(--u) * .91); margin-right: -1px;
  border-radius: calc(var(--u) * .13) 0 0 calc(var(--u) * .13); background: inherit; box-shadow: inherit;
}
.bn-kb__tools { width: 100%; max-width: 900px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.bn-kb__hint { flex: 1 1 300px; font-size: 15px; line-height: 1.4; color: #8FB3A4; }
.bn-kb__miss { width: 100%; max-width: 900px; display: flex; flex-direction: column; gap: 10px; min-height: 44px; }
.bn-kb__miss-t { font-family: var(--mono); font-size: 13px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: #8FB3A4; }
.bn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bn-chip {
  min-height: 36px; padding: 6px 12px; border-radius: 6px; border: 1px solid #2F564A; background: #0F251D; color: #EAF1ED;
  font-size: 14px; line-height: 1.1; font-weight: 700; font-stretch: 85%;
}
.bn-chip:hover { border-color: #E3A72F; }
.bn-chip.is-skip { color: #6F8A80; text-decoration: line-through; background: transparent; }
@media (max-width: 899px) {
  .bn-kb { --u: calc((100vw - 48px) / 15.8); }
  /* o bloco lateral cai para a linha de baixo e tem largura sobrando: teclas maiores, rótulos sem encostar */
  .bn-kb__side { --u: max(calc((100vw - 48px) / 15.8), min(34px, calc((100vw - 48px) / 9.5))); }
}
@media (pointer: coarse) {
  .bn-chip { min-height: 44px; }
}
@media (hover: none) and (pointer: coarse) {
  .bn-numtoggle { display: none; }
}

/* ---------- T4 · som ---------- */
.bn-spk { width: min(100%, 360px); height: auto; align-self: center; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bn-spk g { stroke: #3D6A5C; transition: stroke .2s ease; }
.bn-spk text { fill: #8FB3A4; stroke: none; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; }
.bn-spk .bn-spk__w { opacity: .35; }
.bn-spk g.is-on { stroke: #E3A72F; }
.bn-spk g.is-on .bn-spk__w { animation: bn-wave 1s ease-out infinite; }
.bn-spk g.is-on .bn-spk__w:nth-of-type(2) { animation-delay: .16s; }
.bn-spk g.is-on .bn-spk__w:nth-of-type(3) { animation-delay: .32s; }
@keyframes bn-wave { 0% { opacity: .2; } 35% { opacity: 1; } 100% { opacity: .2; } }
.bn-big-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bn-big {
  min-height: 68px; padding: 10px 14px; border-radius: 10px; border: 1.5px solid #2B4A40; background: #0F251D; color: #FFFFFF;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; text-align: left;
  font-size: 19px; line-height: 1.1; font-weight: 800; font-stretch: 75%;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .12s var(--ease-out);
}
.bn-big small { font-family: var(--mono); font-size: 12px; line-height: 1; font-weight: 400; font-stretch: 100%; letter-spacing: .06em; text-transform: uppercase; color: #8FB3A4; }
.bn-big:hover { border-color: #E3A72F; }
.bn-big:active { transform: scale(.98); }
.bn-big[aria-pressed="true"] { background: #E3A72F; border-color: #E3A72F; color: #0E1F19; }
.bn-big[aria-pressed="true"] small { color: #3B2A06; }
.bn-readout { min-height: 1.5em; font-family: var(--mono); font-size: 15px; color: #F3D58C; }
.bn-tips { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.4; color: #9DB3A9; }
.bn-tips li { position: relative; padding-left: 16px; }
.bn-tips li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: #E3A72F; }

/* ---------- T5 · microfone ---------- */
.bn-meter { width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1.5px solid #1D3A31; border-radius: 14px; background: #030A07; }
.bn-spec { display: flex; align-items: flex-end; gap: 4px; height: clamp(90px, 22vh, 150px); }
.bn-spec i { flex: 1 1 0; height: 100%; border-radius: 3px 3px 0 0; background: #2F7F69; transform: scaleY(.02); transform-origin: 50% 100%; will-change: transform; }
.bn-vu { display: flex; gap: 3px; height: 34px; }
.bn-vu i { flex: 1 1 0; border-radius: 2px; background: #12302A; }
.bn-vu i.is-on { background: #E3A72F; }
.bn-vu i.is-hot.is-on { background: #F0604D; }
.bn-vu i.is-peak { background: #FFFFFF; }
.bn-meter__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; font-family: var(--mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8FB3A4; }
.bn-meter__row > span { white-space: nowrap; }
.bn-meter__state { font-family: var(--font); font-size: 22px; line-height: 1.15; font-weight: 800; font-stretch: 75%; letter-spacing: 0; text-transform: none; color: #FFFFFF; }
.bn-meter__state.is-ok { color: #8FE3C0; }

/* ---------- T6 · câmera ---------- */
.bn-cam { position: relative; width: 100%; overflow: hidden; border: 1.5px solid #1D3A31; border-radius: 14px; background: #030A07; aspect-ratio: 4 / 3; max-height: 56vh; }
.bn-cam video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.bn-cam video.is-mirror { transform: scaleX(-1); }
.bn-cam__tag { position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 4px; background: rgba(6, 18, 14, .78); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #DCE7E1; }

@media (max-width: 480px) {
  .bn-layer__deco { opacity: .5; }
  .bn-scr { justify-content: flex-start; padding-top: 22px; }
  .bn-scr--center { justify-content: center; }
  .bn-acts .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-stamp { animation: none; }
  .bn-spk g.is-on .bn-spk__w { animation: none; opacity: 1; }
  .bn-term__cur { animation: none; }
}
