:root {
  --bg: #0b0a0c; --panel: #121015; --card: #1b1920; --card2: #211e27; --borda: #26232c; --borda2: #34303b;
  --texto: #f0eef2; --mudo: #a9a5b0; --fraco: #75717d; --acento: var(--acento); --acento-forte: var(--acento-forte);
  --ok: #3ccf8e; --aviso: #f5b84a; --ruim: #ff5d5d; --azul: #5aa9ff; --ciano: #4fd1e8;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--texto); font: 14px/1.45 Inter, system-ui, -apple-system, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { background: var(--panel); border-right: 1px solid var(--borda); padding: 18px 12px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.marca { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; font-weight: 700; letter-spacing: -.01em; }
.marca i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, var(--acento), var(--acento-forte)); display: grid; place-items: center; font-style: normal; font-size: 14px; }
.nav { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--mudo); font-weight: 500; }
.nav:hover { background: var(--card); color: var(--texto); }
.nav.on { background: color-mix(in srgb, var(--acento) 12%, transparent); color: var(--texto); box-shadow: inset 2px 0 0 var(--acento); }
.nav svg { width: 17px; height: 17px; opacity: .85; }
.side .rodape { margin-top: auto; padding: 12px; border-top: 1px solid var(--borda); color: var(--fraco); font-size: 12px; }
.main { min-width: 0; padding: 22px 28px 60px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.crumb { color: var(--fraco); font-size: 12.5px; margin-bottom: 4px; }
.h1 { font-size: 22px; font-weight: 700; margin: 0; letter-spacing: -.02em; }
.h2 { font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.lbl { color: var(--mudo); font-size: 12px; font-weight: 500; }
.mudo { color: var(--mudo); } .fraco { color: var(--fraco); }
.card { background: var(--card); border: 1px solid var(--borda); border-radius: 14px; padding: 16px; min-width: 0; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g5 { grid-template-columns: repeat(5, 1fr); }
.g-21 { grid-template-columns: 2fr 1fr; }
.kpi .v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.kpi .s { color: var(--fraco); font-size: 12px; margin-top: 2px; }
.btn { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--borda2); background: var(--card2); padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 500; white-space: nowrap; }
.btn:hover { border-color: #4a4552; }
.btn.pri { background: var(--acento-forte); border-color: var(--acento-forte); color: #fff; }
.btn.pri:hover { background: var(--acento); }
.btn.sm { padding: 5px 10px; font-size: 12.5px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: default; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--card2); color: var(--mudo); border: 1px solid var(--borda); white-space: nowrap; }
.t-ok { color: var(--ok); background: rgba(60, 207, 142, .1); border-color: rgba(60, 207, 142, .25); }
.t-warn { color: var(--aviso); background: rgba(245, 184, 74, .1); border-color: rgba(245, 184, 74, .25); }
.t-bad { color: var(--ruim); background: rgba(255, 93, 93, .1); border-color: rgba(255, 93, 93, .25); }
.t-pri { color: var(--acento); background: color-mix(in srgb, var(--acento) 10%, transparent); border-color: color-mix(in srgb, var(--acento) 25%, transparent); }
.t-azul { color: var(--azul); background: rgba(90, 169, 255, .1); border-color: rgba(90, 169, 255, .25); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; color: var(--fraco); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 8px 10px; border-bottom: 1px solid var(--borda); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--borda); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.clic { cursor: pointer; } .tbl tr.clic:hover td { background: var(--card2); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow-x: auto; }
.vazio { padding: 28px; text-align: center; color: var(--fraco); }
.campo { display: flex; flex-direction: column; gap: 5px; }
.campo input, .campo select, .campo textarea { background: var(--panel); border: 1px solid var(--borda2); border-radius: 9px; padding: 8px 11px; outline: none; min-width: 0; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--acento); }
.linha { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.etapas { display: flex; gap: 8px; overflow-x: auto; }
.etapa { flex: 1; min-width: 104px; background: var(--card2); border: 1px solid var(--borda); border-radius: 11px; padding: 10px 12px; }
.etapa b { display: block; font-size: 20px; margin-top: 2px; }
.feed { display: flex; flex-direction: column; gap: 2px; max-height: 360px; overflow: auto; }
.feed div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 6px 2px; border-bottom: 1px dashed var(--borda); font-size: 13px; }
.feed time { color: var(--fraco); font-variant-numeric: tabular-nums; font-size: 12px; }
/* Esteira (kanban) */
.kanban { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 12px; overflow-x: auto; align-items: start; }
.col { background: var(--panel); border: 1px solid var(--borda); border-radius: 14px; padding: 10px; min-height: 240px; }
.col h3 { display: flex; justify-content: space-between; font-size: 13px; margin: 2px 4px 10px; }
.kc { display: block; background: var(--card); border: 1px solid var(--borda); border-radius: 11px; padding: 10px; margin-bottom: 8px; }
.kc:hover { border-color: var(--borda2); background: var(--card2); }
.kc .t { font-weight: 600; font-size: 13px; }
.kc .m { color: var(--fraco); font-size: 12px; margin-top: 4px; display: flex; gap: 6px; flex-wrap: wrap; }
/* Estúdio */
.ferr { display: flex; gap: 6px; background: var(--panel); border: 1px solid var(--borda); padding: 6px; border-radius: 12px; flex-wrap: wrap; }
.ferr .btn { background: transparent; border-color: transparent; color: var(--mudo); }
.ferr .btn.on { background: var(--acento-forte); color: #fff; }
.estudio { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
.canvas { position: relative; border: 1px solid var(--borda); border-radius: 14px; min-height: 560px; overflow: auto;
  background-color: var(--panel); background-image: radial-gradient(var(--borda2) 1px, transparent 1px); background-size: 18px 18px; padding: 22px; }
.estudio.com-modelo { grid-template-columns: 320px 1fr; }
.estudio:not(.com-modelo) .painel-modelo { display: none; }
.fluxo { display: flex; gap: 26px; align-items: flex-start; min-width: max-content; }
.no { width: 200px; background: var(--card); border: 1px solid var(--borda2); border-radius: 14px; overflow: hidden; position: relative; }
.no::after { content: ''; position: absolute; right: -27px; top: 34px; width: 26px; height: 2px; background: linear-gradient(90deg, var(--borda2), var(--acento)); }
.no:last-child::after { display: none; }
.no .cab { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--borda); font-weight: 600; font-size: 13px; }
.no .corpo { padding: 12px; font-size: 12.5px; color: var(--mudo); display: flex; flex-direction: column; gap: 8px; }
.no .corpo b { color: var(--texto); font-weight: 600; }
.no video, .no img { width: 100%; display: block; border-radius: 9px; background: #000; max-height: 380px; object-fit: contain; }
.no.on { border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 12%, transparent); }
.painel-modelo .h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modelo { display: flex; gap: 12px; align-items: flex-start; background: var(--card2); border: 1px solid var(--borda); border-radius: 12px; padding: 12px; cursor: pointer; margin-bottom: 8px; width: 100%; text-align: left; }
.modelo:hover { border-color: var(--borda2); }
.modelo.on { border-color: var(--ciano); background: rgba(79, 209, 232, .06); }
.modelo .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; flex: none; background: #fff; color: #111; font-size: 13px; }
.modelo .n { color: var(--mudo); font-size: 12px; } .modelo .d { font-weight: 600; font-size: 13px; margin: 2px 0; } .modelo .p { color: var(--fraco); font-size: 11.5px; }
.modelo > span:nth-child(2) { flex: 1; min-width: 0; }
.modelo .c { margin-left: auto; max-width: 96px; font-size: 12px; font-weight: 600; white-space: normal; text-align: right; }
.barra { position: sticky; bottom: 0; margin-top: 14px; display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--panel); border: 1px solid var(--borda); border-radius: 14px; padding: 12px 14px; flex-wrap: wrap; }
.secao-cena { border-left: 2px solid var(--acento); padding-left: 10px; }
pre.bloco { white-space: pre-wrap; background: var(--panel); border: 1px solid var(--borda); border-radius: 10px; padding: 10px; font-size: 12px; color: var(--mudo); margin: 0; max-height: 220px; overflow: auto; }
/* Agenda */
.agenda { display: grid; gap: 10px; }
.slot { display: inline-flex; gap: 6px; align-items: center; background: var(--card2); border: 1px solid var(--borda); border-radius: 8px; padding: 3px 8px; font-size: 12px; margin: 0 6px 6px 0; }
.toast { position: fixed; bottom: 18px; right: 18px; background: var(--card2); border: 1px solid var(--borda2); padding: 10px 14px; border-radius: 10px; z-index: 9; }
@media (max-width: 1100px) { .g5 { grid-template-columns: repeat(3, 1fr); } .estudio, .g-21 { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px 16px; }
  .side .marca, .side .rodape { display: none; }
  .main { padding: 16px; }
  .g2, .g3, .g5 { grid-template-columns: 1fr 1fr; }
}
.estudio > * { min-width: 0; }
/* ---------- Workflow (estilo n8n) ---------- */
.wf-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.wf-top .esp { flex: 1; }
.wf { display: grid; grid-template-columns: 1fr 300px; gap: 14px; }
.wf.sem-lado { grid-template-columns: 1fr; }
.wf > * { min-width: 0; }
.wf-wrap { position: relative; }
.wf-canvas { position: relative; height: 560px; border: 1px solid var(--borda); border-radius: 14px; overflow: auto; cursor: grab;
  background-color: #0e0d11; background-image: radial-gradient(#2c2933 1px, transparent 1px); background-size: 20px 20px; }
.wf-canvas.arrastando { cursor: grabbing; user-select: none; }
.wf-mundo { position: relative; transform-origin: 0 0; }
.wf-mundo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.wf-mundo path { fill: none; stroke: #3b3743; stroke-width: 2; }
.wf-mundo path.fluindo { stroke: var(--acento); stroke-dasharray: 7 7; animation: fluxo 0.9s linear infinite; }
.wf-mundo path.aprendizado { stroke: var(--ciano); stroke-dasharray: 3 6; opacity: .7; }
.wf-mundo .rotulo-lig { position: absolute; font-size: 11px; color: var(--ciano); background: #0e0d11; padding: 1px 6px; border-radius: 6px; border: 1px solid rgba(79,209,232,.3); }
@keyframes fluxo { to { stroke-dashoffset: -14; } }
.wn { position: absolute; width: 210px; background: var(--card); border: 1px solid var(--borda2); border-radius: 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.wn:hover { border-color: #4a4552; }
.wn.sel { border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 15%, transparent); }
.wn.rodando { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(60,207,142,.15); }
.wn.erro { border-color: rgba(255,93,93,.6); }
.wn .wh { display: flex; align-items: center; gap: 10px; padding: 11px 12px 6px; }
.wn .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; font-size: 15px; }
.ic.claude { background: color-mix(in srgb, var(--acento) 15%, transparent); color: var(--acento); }
.ic.chrome { background: rgba(90,169,255,.15); color: var(--azul); }
.ic.programa { background: rgba(60,207,142,.12); color: var(--ok); }
.ic.regra { background: rgba(245,184,74,.13); color: var(--aviso); }
.ic.gatilho { background: rgba(79,209,232,.13); color: var(--ciano); }
.wn .nm { font-weight: 600; font-size: 13.5px; line-height: 1.2; }
.wn .fe { color: var(--fraco); font-size: 11.5px; margin-top: 2px; }
.wn .ponto { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: #4a4552; flex: none; }
.wn.rodando .ponto, .ponto.on { background: var(--ok); animation: pulsa 1.2s infinite; }
.wn.erro .ponto { background: var(--ruim); animation: none; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 5px rgba(60,207,142,.18); } }
.wn .ws { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 12px 10px; }
.wn .ws div { background: var(--panel); border: 1px solid var(--borda); border-radius: 8px; padding: 5px 7px; }
.wn .ws span { display: block; font-size: 10.5px; color: var(--fraco); }
.wn .ws b { font-size: 15px; }
.wn .ws b.tem { color: var(--acento); }
.wn .wr { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--borda); font-size: 11.5px; color: var(--fraco); }
.wn .porta { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--card); border: 2px solid #4a4552; }
.wf-zoom { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 4px; background: var(--panel); border: 1px solid var(--borda); border-radius: 10px; padding: 4px; z-index: 3; margin: 0 0 10px 10px; }
.legenda { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--mudo); }
.legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.agente { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--borda); }
.agente:last-child { border-bottom: 0; }
.agente .ponto { width: 8px; height: 8px; border-radius: 50%; background: #4a4552; flex: none; }
.agente .ponto.ok { background: var(--ok); } .agente .ponto.ruim { background: var(--ruim); } .agente .ponto.espera { background: var(--aviso); }
.agente .t { font-weight: 600; font-size: 13px; } .agente .s { color: var(--fraco); font-size: 11.5px; }
.gaveta .h2 { display: flex; justify-content: space-between; align-items: center; }
.io { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin: 10px 0; flex-wrap: wrap; }
.io span { background: var(--panel); border: 1px solid var(--borda); border-radius: 8px; padding: 4px 8px; }
.log-modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 20; padding: 16px; }
.log-modal .card { width: min(900px, 100%); max-height: 85vh; display: flex; flex-direction: column; }
.log-modal pre { flex: 1; overflow: auto; background: #08070a; border: 1px solid var(--borda); border-radius: 10px; padding: 12px; font-size: 12px; white-space: pre-wrap; color: #d7d3dc; margin: 10px 0 0; }
@media (max-width: 1100px) { .wf { grid-template-columns: 1fr; } }

/* ---------- Visual do Estúdio (19/11/2026) ---------- */
:root {
  --bg: #0e0d11; --panel: #141318; --card: #18171d; --card2: #1e1c24; --borda: #25232b; --borda2: #312e38;
  --texto: #f2f0f5; --mudo: #a8a4b0; --fraco: #78737f; --acento: var(--acento); --acento-forte: var(--acento-forte); --ciano: #3fc1c9;
}
.app { grid-template-columns: 76px 1fr; }
.side { width: 76px; padding: 14px 6px; align-items: stretch; gap: 6px; background: #121116; }
.side .marca { display: grid; place-items: center; padding: 4px 0 14px; margin-bottom: 4px; border-bottom: 1px solid var(--borda); }
.nav { flex-direction: column; gap: 5px; padding: 8px 2px; border-radius: 10px; font-size: 11.5px; text-align: center; color: var(--mudo); }
.nav .ico { width: 40px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.nav svg { width: 19px; height: 19px; }
.nav:hover { background: transparent; color: var(--texto); }
.nav:hover .ico { background: var(--card2); }
.nav.on { background: transparent; box-shadow: none; color: var(--acento); }
.nav.on .ico { background: rgba(239, 43, 85, .16); color: var(--acento); }
.lado-dir { min-width: 0; display: flex; flex-direction: column; }
.barra-topo { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px; background: rgba(14, 13, 17, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.barra-topo .esp { flex: 1; }
.crumb-topo { font-size: 16px; color: var(--mudo); }
.crumb-topo b { color: var(--texto); font-weight: 600; }
.pill-topo { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--borda2); background: var(--panel); font-size: 12.5px; color: var(--mudo); white-space: nowrap; }
.pill-topo:empty { display: none; }
.pill-topo.on { color: var(--ok); border-color: rgba(60, 207, 142, .35); }
.main { padding: 18px 22px 40px; }
.top { margin-bottom: 14px; }
.top .crumb { display: none; }
.h1 { font-size: 19px; }
.card { background: var(--card); border-color: var(--borda); }
.h2 { display: flex; align-items: center; gap: 8px; }
.h2::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--ciano); flex: none; }
.gaveta .h2::before, .painel-modelo .h::before { display: none; }
.btn.pri { background: var(--acento-forte); border-color: var(--acento-forte); box-shadow: 0 6px 22px -8px rgba(239, 43, 85, .7); }
.btn.pri:hover { background: var(--acento); }
.ferr, .abas-topo { display: inline-flex; gap: 4px; background: var(--panel); border: 1px solid var(--borda); padding: 5px; border-radius: 12px; }
.ferr .btn.on { background: var(--acento-forte); color: #fff; }
.wf-canvas, .canvas {
  border-color: var(--borda);
  background-color: #100f14;
  background-image: radial-gradient(#2a2731 1px, transparent 1px),
    radial-gradient(900px 300px at 85% 0%, rgba(63, 193, 201, .07), transparent 70%),
    radial-gradient(700px 260px at 10% 100%, rgba(239, 43, 85, .06), transparent 70%);
  background-size: 18px 18px, 100% 100%, 100% 100%;
}
.wf-mundo path { stroke: #4a4655; stroke-dasharray: 4 5; }
.wf-mundo path.fluindo { stroke: var(--acento); stroke-dasharray: 7 7; }
.wn { background: #17161c; border-color: var(--borda2); }
.wn .nm { font-size: 13px; }
.ic.claude { background: rgba(239, 43, 85, .15); color: var(--acento); }
.ic.gatilho { background: rgba(63, 193, 201, .14); color: var(--ciano); }
.wf-zoom { background: transparent; border: 0; padding: 0; }
.wf-zoom .btn { background: transparent; border-color: transparent; }
.wf-acao { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--borda); border-radius: 14px; flex-wrap: wrap; }
.wf-acao .meio { flex: 1; text-align: center; color: var(--mudo); font-size: 13.5px; }
.wf-acao .btn.pri { padding: 12px 22px; font-size: 15px; border-radius: 11px; }
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .side { width: auto; flex-direction: row; overflow-x: auto; }
  .side .marca { display: none; }
  .nav { min-width: 64px; }
  .barra-topo { padding: 0 16px; }
  .main { padding: 14px 16px 30px; }
}

.side .marca { font-weight: 800; font-size: 19px; letter-spacing: -.03em; color: var(--texto); }
.side .marca::first-letter { color: var(--acento); }

/* ---------- Telas reorganizadas (20/11/2026) ---------- */
.g4 { grid-template-columns: repeat(4, 1fr); }
.esp { flex: 1; }
.sec { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.sec .h2 { margin: 0; }
.sec-sub { color: var(--fraco); font-size: 12.5px; margin: 4px 0 0 14px; }
.kpi2 { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; }
.kpi2 .v { font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.15; margin-top: 2px; }
.kpi2 .v small { font-size: 15px; color: var(--fraco); font-weight: 600; }
.kpi2 .s { color: var(--fraco); font-size: 12px; }
.kpi2 .barra-p { margin-top: 6px; }
.lk { color: var(--acento); }
.barra-p { height: 6px; border-radius: 99px; background: var(--card2); overflow: hidden; border: 1px solid var(--borda); }
.barra-p i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--acento-forte), var(--acento)); transition: width .3s ease-out; }
.barra-p.ok i { background: linear-gradient(90deg, #22a06b, var(--ok)); }
.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 7px; font-size: 12px; background: var(--card2); border: 1px solid var(--borda); color: var(--mudo); white-space: nowrap; }
.chip.forte { color: var(--ciano); border-color: rgba(63, 193, 201, .3); background: rgba(63, 193, 201, .08); }
.vazio2 { padding: 34px 20px; text-align: center; max-width: 560px; margin: 0 auto; }
.vazio2 .vt { font-weight: 600; margin-bottom: 6px; }
.vazio2 .vx { color: var(--fraco); font-size: 13px; line-height: 1.55; }
.ok-linha { color: var(--mudo); font-size: 13px; padding: 4px 0; }
.ok-linha::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 8px; vertical-align: 1px; }
.seg { display: inline-flex; gap: 2px; background: var(--panel); border: 1px solid var(--borda); border-radius: 10px; padding: 3px; flex-wrap: wrap; }
.seg button { background: transparent; border: 0; padding: 6px 11px; border-radius: 8px; color: var(--mudo); cursor: pointer; font-size: 12.5px; font-weight: 500; }
.seg button span { color: var(--fraco); margin-left: 3px; }
.seg button:hover { color: var(--texto); }
.seg button.on { background: var(--card2); color: var(--texto); box-shadow: inset 0 0 0 1px var(--borda2); }
.capa { width: 92px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 9px; background: #000; flex: none; display: block; }
.capa.sem { background: repeating-linear-gradient(45deg, var(--card2), var(--card2) 6px, var(--panel) 6px, var(--panel) 12px); }
.capa.mini { width: 46px; border-radius: 7px; }
:focus-visible { outline: 2px solid var(--ciano); outline-offset: 2px; }

/* Visão geral */
.status-op { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; }
.ponto-g { width: 10px; height: 10px; border-radius: 50%; background: var(--aviso); flex: none; box-shadow: 0 0 0 4px rgba(245, 184, 74, .12); }
.ponto-g.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(60, 207, 142, .15); animation: pulsa 1.2s infinite; }
.ponto-g.parado { background: #5b5764; box-shadow: none; }
.st-t { font-weight: 600; }
.st-s { color: var(--fraco); font-size: 12.5px; margin-top: 2px; }
.funil { display: grid; grid-template-columns: 3fr 3fr 2fr; gap: 12px; }
.fase { background: var(--panel); border: 1px solid var(--borda); border-radius: 12px; padding: 10px 12px 12px; min-width: 0; }
.fase-n { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--fraco); margin-bottom: 8px; }
.fase-i { display: flex; align-items: center; gap: 6px; }
.fase-c { flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--borda); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 1px; transition: border-color .15s; }
.fase-c:hover { border-color: var(--borda2); }
.fase-c b { font-size: 20px; font-variant-numeric: tabular-nums; color: var(--fraco); }
.fase-c.tem b { color: var(--texto); }
.fase-c span { font-size: 12px; color: var(--mudo); }
.seta { color: var(--fraco); }
.contas { display: flex; flex-direction: column; }
.conta { display: grid; grid-template-columns: 36px minmax(140px, 1.2fr) auto minmax(180px, 1.6fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--borda); }
.conta:last-child { border-bottom: 0; }
.conta-a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: rgba(239, 43, 85, .14); color: var(--acento); }
.conta-p .lbl { margin-bottom: 6px; font-size: 11.5px; }
.lin { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--borda); font-size: 13px; }
.lin:last-child { border-bottom: 0; }
.lin .hr { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ciano); }
.lin-t { display: flex; flex-direction: column; min-width: 0; }
.lin-t span { font-size: 12px; }
.lin:hover b { color: var(--acento); }

/* Garimpo */
.regua { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 16px; }
.regua .lbl { margin-right: 4px; }
.refs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.ref { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--borda); border-radius: 12px; padding: 10px; transition: border-color .15s, background .15s; min-width: 0; }
.ref:hover { border-color: var(--borda2); background: var(--card2); }
.ref-c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.ref-h { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.ref-h b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-gmv { font-size: 20px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.ref-m { display: flex; gap: 10px; font-size: 12px; color: var(--mudo); flex-wrap: wrap; }
.ref-p { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--borda); border-radius: 9px; padding: 6px 8px; font-size: 12.5px; min-width: 0; }
.ref-p img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; flex: none; }
.ref-p span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ref-p.sem { color: var(--fraco); }
.ref-f { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--fraco); margin-top: auto; }
.manual summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--mudo); }
.manual[open] summary { color: var(--texto); }

/* Esteira */
.kanban2 { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 10px; overflow-x: auto; align-items: start; padding-bottom: 4px; }
.col2 { background: var(--panel); border: 1px solid var(--borda); border-top: 3px solid var(--borda2); border-radius: 12px; padding: 10px; min-height: 260px; }
.col2.c-azul { border-top-color: var(--azul); } .col2.c-warn { border-top-color: var(--aviso); } .col2.c-pri { border-top-color: var(--acento); }
.col2.c-ok { border-top-color: var(--ok); } .col2.c-ciano { border-top-color: var(--ciano); }
.col2-h { display: flex; justify-content: space-between; align-items: flex-start; margin: 2px 2px 10px; }
.col2-h b { font-size: 13.5px; } .col2-h .fraco { font-size: 11.5px; margin-top: 1px; }
.col2-h .cont { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--borda); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.col2-v { border: 1px dashed var(--borda2); border-radius: 10px; padding: 18px 8px; text-align: center; color: var(--fraco); font-size: 12px; }
.kc2 { display: flex; gap: 10px; background: var(--card); border: 1px solid var(--borda); border-radius: 10px; padding: 8px; margin-bottom: 8px; transition: border-color .15s, background .15s; min-width: 0; }
.kc2:hover { border-color: var(--borda2); background: var(--card2); }
.kc2-c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.kc2 .t { font-weight: 600; font-size: 13px; line-height: 1.25; }
.kc2 .m { font-size: 12px; color: var(--mudo); display: flex; gap: 6px; flex-wrap: wrap; }
.kc2 .m.fraco { color: var(--fraco); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; }
.chips .chip { font-size: 11px; padding: 2px 7px; }
.refs .kc2 { margin: 0; }

/* Agenda */
.tl { display: flex; flex-direction: column; gap: 8px; }
.tl-l { display: grid; grid-template-columns: 170px 1fr; gap: 12px; align-items: center; }
.tl-l.cab { margin-bottom: -2px; }
.tl-n b { display: block; font-size: 13px; margin-bottom: 4px; }
.tl-n .fraco { font-size: 12px; margin-left: 4px; }
.tl-t { position: relative; height: 46px; background: var(--panel); border: 1px solid var(--borda); border-radius: 10px; }
.tl-t.sem-fundo { height: 18px; background: none; border: 0; }
.tl-eixo span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--fraco); font-variant-numeric: tabular-nums; }
.tl-jan { position: absolute; top: 0; bottom: 0; background: rgba(63, 193, 201, .07); border-left: 1px dashed rgba(63, 193, 201, .3); border-right: 1px dashed rgba(63, 193, 201, .3); }
.tl-agora { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--acento); border-radius: 2px; }
.tl-p { position: absolute; top: 50%; transform: translate(-50%, -50%); padding: 4px 7px; border-radius: 7px; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--card2); border: 1px solid var(--borda2); z-index: 1; }
.tl-p:hover { border-color: var(--acento); z-index: 2; }
.tl-p.ok { color: var(--ok); border-color: rgba(60, 207, 142, .4); }
.tl-p.teste { border-style: dashed; }
.rampa { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.degrau { background: var(--panel); border: 1px solid var(--borda); border-radius: 11px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.dg-v { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dg-d { font-size: 12px; color: var(--mudo); margin-top: 4px; }
.dg-c { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; min-height: 22px; }
.regras { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.regras div { background: var(--panel); border: 1px solid var(--borda); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.regras b { font-size: 14px; }

/* Resultados */
.rank { display: flex; flex-direction: column; gap: 12px; }
.rk { display: flex; gap: 12px; align-items: flex-start; }
.rk-i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--borda); font-size: 12px; font-weight: 600; flex: none; }
.rk-c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.rk-h { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.rk-h span { font-variant-numeric: tabular-nums; font-weight: 600; }
.rk-m { font-size: 12px; }

@media (max-width: 1100px) {
  .g4 { grid-template-columns: 1fr 1fr; }
  .funil { grid-template-columns: 1fr; }
  .conta { grid-template-columns: 36px 1fr auto; }
  .conta-p { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .g4, .g5 { grid-template-columns: 1fr 1fr; }
  .refs { grid-template-columns: 1fr; }
  .tl-l { grid-template-columns: 1fr; gap: 6px; }
  .tl-l.cab .tl-n { display: none; }
  .regras { grid-template-columns: 1fr; }
  .sec-sub { margin-left: 0; }
  .fase-i { flex-wrap: wrap; }
  .seta { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.ref-gmv .sem-gmv { font-size: 13px; font-weight: 500; color: var(--fraco); }
.kc2 .chips .chip { white-space: normal; max-width: 100%; }
.kc2-c > * { min-width: 0; }
@media (max-width: 760px) {
  #pill-gerador { display: none; }
  .barra-topo { gap: 8px; }
  .crumb-topo { font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pill-topo { padding: 5px 9px; font-size: 11.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .conta { grid-template-columns: 36px 1fr; }
  .conta > div:nth-child(3), .conta > div:nth-child(5) { grid-column: 2; }
}
@media (max-width: 760px) { .g2 { grid-template-columns: 1fr; } .rampa { grid-template-columns: 1fr 1fr; } }

/* Fluxos ativos (20/11/2026) */
.ativos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 12px; }
.ativos .fraco { font-size: 12.5px; }
.ativo { display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; background: rgba(239, 43, 85, .08); border: 1px solid rgba(239, 43, 85, .35); color: var(--texto); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.ativo.on { background: rgba(60, 207, 142, .08); border-color: rgba(60, 207, 142, .45); }
.ativo .ponto-g { width: 8px; height: 8px; }
.ponto-f { width: 8px; height: 8px; border-radius: 50%; background: var(--acento); flex: none; }
/* nó com fila: anel rosa fixo; nó rodando: anel verde girando em volta */
.wn.com-fila { border-color: rgba(239, 43, 85, .65); box-shadow: 0 0 0 4px rgba(239, 43, 85, .12), 0 0 26px -6px rgba(239, 43, 85, .55); }
.wn.rodando { border-color: transparent; box-shadow: 0 0 30px -4px rgba(60, 207, 142, .55); }
.wn.rodando::before { content: ''; position: absolute; inset: -3px; border-radius: 16px; padding: 3px; z-index: -1;
  background: conic-gradient(from var(--giro, 0deg), var(--ok), transparent 35%, var(--ok) 50%, transparent 85%, var(--ok));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: giro 2.4s linear infinite; }
@property --giro { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes giro { to { --giro: 360deg; } }
.wn { isolation: isolate; }
.wn-sel { position: absolute; top: -11px; right: 12px; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; background: var(--ok); color: #06140d; }
.wn-sel.fila { background: var(--acento-forte); color: #fff; }
/* barra lateral: área com atividade */
.nav .ico { position: relative; }
.nav.ativ-fila .ico::after { content: ''; position: absolute; top: 2px; right: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 2px #121116; }
.nav.ativ-rodando .ico { box-shadow: 0 0 0 2px var(--ok); }
.nav.ativ-rodando .ico::after { content: ''; position: absolute; inset: -2px; border-radius: 12px; animation: pulsa 1.2s infinite; }
/* Visão geral: requer atenção */
.atencao .at-l { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--borda); font-size: 13px; }
.atencao .at-l:last-child { border-bottom: 0; }
a.at-l:hover span:last-child { color: var(--acento); }

/* ---------- Produtos e contas (20/11/2026) ---------- */
.novo-prod > summary, .prod-edit > summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
.novo-prod > summary::before, .prod-edit > summary::before { content: '+'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--card2); border: 1px solid var(--borda2); font-size: 14px; color: var(--mudo); }
.novo-prod[open] > summary::before, .prod-edit[open] > summary::before { content: '−'; }
.novo-prod > summary::-webkit-details-marker, .prod-edit > summary::-webkit-details-marker { display: none; }
.form-prod { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; margin-top: 14px; }
.form-prod .c2 { grid-column: span 2; } .form-prod .c3 { grid-column: 1 / -1; }
.form-prod input:not([type=checkbox]), .form-prod select { width: 100%; background: var(--panel); border: 1px solid var(--borda2); border-radius: 9px; padding: 9px 11px; min-height: 40px; }
.form-prod input[type=file] { padding: 7px; }
.form-prod input:focus, .form-prod select:focus { outline: 2px solid color-mix(in srgb, var(--acento) 45%, transparent); outline-offset: 1px; }
.ajuda { color: var(--fraco); font-size: 12px; }
.ajuda a, .prod-contas a, .card p a { color: var(--acento); }
.chk-contas { display: flex; flex-wrap: wrap; gap: 8px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--borda2); border-radius: 9px; background: var(--panel); cursor: pointer; min-height: 40px; }
.chk:has(input:checked) { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 8%, transparent); }
.chk input { accent-color: var(--acento); width: 16px; height: 16px; }
.chk em { display: block; font-style: normal; color: var(--fraco); font-size: 11.5px; }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 14px; }
.prod { display: flex; flex-direction: column; gap: 12px; }
.prod.off { opacity: .6; }
.prod-fotos { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.pf { position: relative; flex: 0 0 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--card2); border: 1px solid var(--borda); }
.pf img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-x { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 6px; border: 0; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer; line-height: 1; opacity: 0; transition: opacity .15s; }
.pf:hover .pf-x, .pf-x:focus { opacity: 1; }
.pf.add { display: grid; place-items: center; cursor: pointer; color: var(--mudo); font-size: 12px; border-style: dashed; }
.pf.add:hover { color: var(--texto); border-color: var(--acento); }
.prod-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.prod-n { font-weight: 600; font-size: 15px; }
.prod-s { color: var(--mudo); font-size: 13px; margin-top: 2px; }
.prod-id { font-size: 12.5px; color: var(--mudo); }
.prod-id .t-warn { color: var(--aviso); background: none; border: 0; }
.prod-prog { display: flex; flex-direction: column; gap: 6px; }
.prod-contas { display: flex; flex-wrap: wrap; gap: 6px; }
.prod-edit { border-top: 1px solid var(--borda); padding-top: 10px; }
.prod-edit .form-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.prod-edit .form-prod .c2 { grid-column: 1 / -1; }
.passos { margin: 12px 0 0; padding-left: 20px; color: var(--mudo); font-size: 13px; display: grid; gap: 4px; }
.contas-l { display: flex; flex-direction: column; }
.cl { display: grid; grid-template-columns: minmax(160px, 1.2fr) auto minmax(200px, 1.8fr) 90px minmax(130px, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--borda); }
.cl:first-child { border-top: 0; }
.cl-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cl-n .fraco { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl select, .cl input { width: 100%; background: var(--panel); border: 1px solid var(--borda2); border-radius: 9px; padding: 8px 10px; min-height: 38px; }
.cl-hoje { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.cl-hoje b { font-size: 13px; }
@media (max-width: 760px) {
  .form-prod, .prod-edit .form-prod { grid-template-columns: 1fr; }
  .form-prod .c2 { grid-column: auto; }
  .prods { grid-template-columns: 1fr; }
  .cl { grid-template-columns: 1fr 1fr; }
  .cl-n { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .side { min-width: 0; max-width: 100vw; } .side .nav { flex: 0 0 auto; } }
.card .tbl td code { word-break: break-all; } .card .tbl { table-layout: auto; } @media (max-width: 760px) { .card > .tbl td { white-space: normal; } }
@media (max-width: 760px) { .tbl td { overflow-wrap: anywhere; } }
.card .tbl td code { white-space: normal; }
@media (max-width: 760px) { .tbl-sis, .tbl-sis tbody, .tbl-sis tr, .tbl-sis td { display: block; width: 100%; } .tbl-sis td { border: 0; padding: 2px 0; } .tbl-sis tr { padding: 8px 0; border-bottom: 1px solid var(--borda); } }

/* Conta com vários produtos (20/11/2026) */
.cl-prods { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cl-prods .chip { display: inline-flex; align-items: center; gap: 4px; padding-right: 4px; }
/* nome de produto longo: corta com reticências dentro da coluna (25/11/2026: chips vazavam por cima de Vídeos/dia e dos botões) */
.cl > * { min-width: 0; }
.cl-prods { min-width: 0; }
.cl-prods .chip { max-width: 100%; min-width: 0; }
.cl-prods .chip-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cl-prods .chip .chip-x { flex: none; }
.cl-prods .chip.off { opacity: .6; }
.chip-x { border: 0; background: none; color: inherit; cursor: pointer; font-size: 15px; line-height: 1; min-width: 24px; min-height: 24px; border-radius: 6px; }
.chip-x:hover { background: var(--borda); }
.cl .cl-prods select { width: auto; min-width: 150px; flex: 1 1 150px; }
.cl-div { flex-basis: 100%; font-size: 12px; }
@media (max-width: 760px) { .cl > .campo:has(.cl-prods) { grid-column: 1 / -1; } }

/* ---------- Login e convite ---------- */
[hidden] { display: none !important; }
.acesso { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(ellipse at top, color-mix(in srgb, var(--acento) 10%, transparent), transparent 60%), var(--bg); }
.acesso-caixa { width: min(400px, 100%); padding: 28px; }
.acesso-marca { font-weight: 700; letter-spacing: -.01em; color: var(--acento); margin-bottom: 18px; }
.acesso-caixa .h1 { margin-bottom: 6px; }
.acesso-caixa p { margin: 0 0 6px; }
.acesso-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.acesso-form input { min-height: 42px; }
.acesso-form .btn { justify-content: center; min-height: 42px; }
.acesso-erro { color: var(--ruim); font-size: 13px; min-height: 0; }
.acesso-erro:empty { display: none; }
.acesso-nota { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(245, 184, 74, .08); border: 1px solid rgba(245, 184, 74, .25); color: var(--mudo); font-size: 13px; }
.acesso-nota code { display: block; margin-top: 8px; color: var(--texto); }
.side .rodape { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ru-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mudo); }
.nav-n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: rgba(245, 184, 74, .16); color: var(--aviso); font-size: 11.5px; font-weight: 600; display: inline-grid; place-items: center; }

/* ---------- Assistente de instalação ---------- */
.inst-topo { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 22px 24px; }
.inst-n { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.inst-n span { font-size: 16px; color: var(--fraco); font-weight: 500; letter-spacing: 0; }
.inst-barra { display: flex; flex-direction: column; gap: 10px; }
.inst-barra .barra-p { height: 8px; }
.inst-aviso { margin-top: 12px; color: var(--aviso); font-size: 13px; }
.inst-lista { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.inst-passo { padding: 0; }
.inst-passo > summary { list-style: none; display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 16px 20px; cursor: pointer; }
.inst-passo > summary::-webkit-details-marker { display: none; }
.inst-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; background: var(--card2); border: 1px solid var(--borda2); color: var(--mudo); }
.inst-passo.feito .inst-num { background: rgba(60, 207, 142, .14); border-color: rgba(60, 207, 142, .35); color: var(--ok); }
.inst-passo[open] .inst-num { border-color: var(--acento); color: var(--texto); }
.inst-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.inst-t .fraco { font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.inst-corpo { padding: 2px 20px 20px 68px; display: flex; flex-direction: column; gap: 12px; }
.inst-corpo p { margin: 0; }
.inst-corpo .passos { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--mudo); }
.inst-corpo .passos li > .btn, .inst-corpo .passos li > select { margin: 0 4px; vertical-align: middle; }
.inst-corpo a:not(.btn) { color: var(--acento); }
.inst-corpo select { background: var(--panel); border: 1px solid var(--borda2); border-radius: 9px; padding: 6px 10px; max-width: 100%; }
.inst-linhas { display: flex; flex-direction: column; border-radius: 10px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--borda); }
.inst-l { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 14px; min-height: 40px; }
.inst-l + .inst-l { border-top: 1px solid var(--borda); }
.inst-cmd { display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--borda2); border-radius: 9px; padding: 6px 6px 6px 12px; min-width: 0; }
.inst-cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 12.5px; color: var(--texto); }
.inst-contas { display: flex; flex-direction: column; gap: 10px; }
.inst-conta { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 10px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--borda); }
.inst-conta-n { display: flex; flex-direction: column; gap: 2px; }
.inst-tags { flex-wrap: wrap; gap: 6px; }
.inst-chk { align-self: flex-start; }
.inst-convite { display: flex; flex-direction: column; gap: 8px; }
.inst-saida { margin: 0; white-space: pre-wrap; font-size: 12px; background: var(--panel); border: 1px solid var(--borda2); border-radius: 9px; padding: 10px 12px; color: var(--mudo); }
@media (max-width: 760px) {
  .inst-topo { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .inst-passo > summary { grid-template-columns: 30px 1fr; padding: 14px 16px; gap: 12px; }
  .inst-passo > summary .tag { grid-column: 2; justify-self: start; }
  .inst-num { width: 30px; height: 30px; }
  .inst-corpo { padding: 0 16px 16px; }
  .inst-l { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .side .rodape { margin: 0 0 0 auto; border: 0; padding: 0 0 0 8px; flex-shrink: 0; }
  .side .rodape .ru-n { display: none; }
}
.nav { position: relative; }
.nav .nav-n { position: absolute; top: 2px; left: calc(50% + 8px); margin: 0; height: 17px; min-width: 17px; padding: 0 5px; font-size: 10.5px; }

/* ---------- Assistente de instalação: uma etapa por vez ---------- */
.wiz { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; }
.wiz-lista { position: sticky; top: 16px; padding: 18px 12px 12px; display: flex; flex-direction: column; gap: 14px; }
.wiz-prog { padding: 0 8px; display: flex; flex-direction: column; gap: 8px; }
.wiz-prog .inst-n { font-size: 32px; }
.wiz-itens { display: flex; flex-direction: column; gap: 2px; }
.wiz-item { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; width: 100%; text-align: left; background: transparent; border: 0; border-radius: 10px; padding: 8px; cursor: pointer; color: var(--texto); position: relative; }
.wiz-item:hover { background: var(--card2); }
.wiz-item .inst-num { width: 30px; height: 30px; font-size: 13px; }
.wiz-item.feito .inst-num { background: rgba(60, 207, 142, .14); border-color: rgba(60, 207, 142, .35); color: var(--ok); }
.wiz-item.on { background: color-mix(in srgb, var(--acento) 10%, transparent); }
.wiz-item.on .inst-num { background: var(--acento-forte); border-color: var(--acento-forte); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 15%, transparent); }
.wiz-item-t { display: flex; flex-direction: column; min-width: 0; }
.wiz-item-t b { font-weight: 600; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wiz-item-t span { font-size: 12px; color: var(--fraco); }
.wiz-item.feito .wiz-item-t span { color: var(--ok); }
.wiz-item:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 42px; bottom: -14px; width: 2px; border-radius: 2px; background: var(--borda2); }
.wiz-item.feito:not(:last-child)::after { background: rgba(60, 207, 142, .45); }
.wiz-passo { padding: 28px 32px; min-height: 480px; display: flex; flex-direction: column; }
.wiz-mobile { display: none; }
.wiz-cab { display: flex; align-items: center; gap: 10px; }
.wiz-t { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 4px; }
.wiz-r { color: var(--mudo); font-size: 14px; }
.wiz-corpo { padding: 22px 0 0; flex: 1; font-size: 14px; }
.wiz-corpo .passos { font-size: 14px; gap: 10px; }
.wiz-rodape { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--borda); }
.wiz-rodape .esp { flex: 1; }
@media (max-width: 900px) {
  .wiz { grid-template-columns: 1fr; }
  .wiz-lista { display: none; position: static; }
  .wiz.lista-aberta .wiz-lista { display: flex; }
  .wiz.lista-aberta { gap: 10px; }
  .wiz-passo { padding: 18px; min-height: 0; order: -1; }
  .wiz.lista-aberta .wiz-passo { order: 0; }
  .wiz.lista-aberta .wiz-lista { order: -1; }
  .wiz-mobile { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin: -4px 0 14px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borda2); background: var(--panel); color: var(--texto); cursor: pointer; font-size: 13px; text-align: left; }
  .wiz-mobile .fraco { color: var(--acento); white-space: nowrap; }
  .wiz-cab .lbl { display: none; }
  .wiz-t { font-size: 20px; }
  .wiz-rodape { gap: 8px; }
  .wiz-rodape .btn { flex: 1 1 auto; justify-content: center; }
  .wiz-rodape .esp { display: none; }
}
.wiz-grupo { display: flex; flex-direction: column; gap: 1px; padding: 12px 8px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mudo); }
.wiz-grupo:first-child { padding-top: 0; }
.wiz-grupo span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--fraco); font-size: 12px; }
.wiz-item:has(+ .wiz-grupo)::after { display: none; }
.wiz-corpo .seg { align-self: flex-start; }
.wiz-corpo .seg button { padding: 7px 16px; font-size: 13px; }
.wiz-corpo .seg button.on { background: var(--card2); color: var(--texto); box-shadow: inset 0 0 0 1px var(--borda2); }

/* ---------- Apresentação animada (intro.js) ---------- */
.intro { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; color: var(--texto);
  background: radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--acento) 16%, transparent), transparent 70%), radial-gradient(ellipse 60% 50% at 100% 100%, rgba(90, 169, 255, .08), transparent 70%), #09080b;
  animation: intro-entra .35s ease-out; }
.intro.saindo { opacity: 0; transition: opacity .25s; }
@keyframes intro-entra { from { opacity: 0; } }
.intro-barras { display: flex; gap: 5px; padding: 16px 20px 0; }
.intro-barras i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.intro-barras b { display: block; height: 100%; width: 0; background: var(--acento); border-radius: inherit; }
.intro-pular { position: absolute; top: 30px; right: 20px; background: rgba(255, 255, 255, .06); border: 1px solid var(--borda2); color: var(--mudo); padding: 7px 14px; border-radius: 99px; cursor: pointer; font-size: 13px; }
.intro-pular:hover { color: var(--texto); }
.intro-palco { flex: 1; position: relative; min-height: 0; }
.intro-cena { position: absolute; inset: 0; display: grid; place-items: center; padding: 70px 24px 90px; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .4s; }
.intro-cena.on { opacity: 1; pointer-events: auto; }
.intro-cena .a { opacity: 0; }
.intro-cena.on .a { animation: ic-sobe .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
@keyframes ic-sobe { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.intro-nav { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.intro-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--borda2); background: rgba(255, 255, 255, .05); color: var(--texto); cursor: pointer; font-size: 18px; display: grid; place-items: center; }
.intro-nav .intro-pausa { font-size: 11px; letter-spacing: -1px; }
.intro-nav button:hover { background: rgba(255, 255, 255, .1); }

.ic-centro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; max-width: 900px; width: 100%; }
.ic-marca { font-size: clamp(56px, 11vw, 120px); font-weight: 700; letter-spacing: -.05em; line-height: 1; background: linear-gradient(135deg, #fff 20%, var(--acento) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic-marca.peq { font-size: 44px; }
.ic-t { font-size: clamp(24px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.ic-s { font-size: clamp(15px, 1.8vw, 19px); color: var(--mudo); max-width: 620px; line-height: 1.5; }
.ic-s b, .ic-s2 b { color: var(--texto); }
.ic-rot { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acento); }
.ic-rot.cinza { color: var(--azul); }
.ic-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--acento) 12%, transparent); color: var(--acento); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acento) 25%, transparent); flex-shrink: 0; }
.ic-ico svg { width: 22px; height: 22px; }

.ic-fluxo { display: flex; align-items: stretch; justify-content: center; gap: 0; margin-top: 18px; width: 100%; }
.ic-no { flex: 1; max-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--borda); }
.ic-no b { font-size: 18px; }
.ic-no span:last-child { font-size: 13px; color: var(--mudo); line-height: 1.4; }
.ic-seta { width: 28px; align-self: center; height: 2px; background: linear-gradient(90deg, var(--borda2), var(--acento)); opacity: 1 !important; animation: none !important; }
.ic-trilho { width: min(720px, 100%); height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .06); margin-top: 22px; overflow: hidden; }
.ic-trilho i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--acento-forte), var(--acento)); }
.intro-cena.on .ic-trilho i { animation: ic-trilho 4s .5s ease-in-out both; }
@keyframes ic-trilho { to { width: 100%; } }

.ic-duas { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; max-width: 1060px; width: 100%; }
.ic-duas > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.ic-t2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; }
.ic-s2 { font-size: 17px; color: var(--mudo); line-height: 1.55; }
.ic-lista { display: flex; flex-direction: column; gap: 10px; }
.ic-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--borda); }
.ic-item b { display: block; font-size: 15.5px; }
.ic-item em { font-style: normal; font-size: 13px; color: var(--fraco); }
.ic-ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(60, 207, 142, .16); color: var(--ok); }
.ic-ok svg { width: 15px; height: 15px; }
.intro-cena.on .ic-ok { animation: ic-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d); }
@keyframes ic-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

.ic-mock { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 14px; border-radius: 18px; background: #131117; box-shadow: inset 0 0 0 1px var(--borda2), 0 30px 80px -30px rgba(0, 0, 0, .8); min-height: 260px; }
.ic-mock-l { display: flex; flex-direction: column; gap: 6px; }
.ic-mi { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fraco); padding: 7px 8px; border-radius: 8px; }
.ic-mi i { width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 10.5px; display: grid; place-items: center; background: var(--card2); box-shadow: inset 0 0 0 1px var(--borda2); }
.intro-cena.on .ic-mi { animation: ic-mi 6.4s steps(1, end) both; animation-delay: calc(var(--k) * 1.25s + .9s); }
@keyframes ic-mi { 0% { background: color-mix(in srgb, var(--acento) 12%, transparent); color: var(--texto); } 19% { background: transparent; color: var(--ok); } 100% { background: transparent; color: var(--ok); } }
.ic-mock-p { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--borda); }
.ic-mock-cab { width: 90px; height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .1); }
.ic-mock-tt { width: 60%; height: 16px; border-radius: 6px; background: rgba(255, 255, 255, .22); margin-bottom: 6px; }
.ic-mock-ln { height: 9px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.ic-mock-ln.c { width: 75%; }
.ic-mock-btn { margin-top: auto; align-self: flex-end; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 9px; background: var(--acento-forte); }
.intro-cena.on .ic-mock-btn { animation: ic-clique 1.25s .9s ease-in-out 5; }
@keyframes ic-clique { 0%, 70%, 100% { transform: none; box-shadow: none; } 80% { transform: scale(.94); box-shadow: 0 0 0 6px color-mix(in srgb, var(--acento) 25%, transparent); } }
.ic-cursor { position: absolute; width: 22px; height: 22px; right: 30px; bottom: 22px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); opacity: 0; }
.intro-cena.on .ic-cursor { animation: ic-cursor 1.25s .9s ease-in-out 5 both; }
@keyframes ic-cursor { 0% { opacity: 0; transform: translate(-60px, -50px); } 30% { opacity: 1; } 70% { transform: none; } 80% { transform: scale(.85); } 100% { opacity: 1; transform: none; } }

.ic-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ic-cel { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--borda); }
.ic-cel .ic-ico { background: rgba(90, 169, 255, .12); color: var(--azul); box-shadow: inset 0 0 0 1px rgba(90, 169, 255, .25); }
.ic-cel b { font-size: 15.5px; }

.ic-rampa { display: flex; align-items: flex-end; justify-content: center; gap: 18px; height: 220px; margin: 18px 0 6px; }
.ic-barra { width: 74px; height: calc(40px + var(--h) * 160px); border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, var(--acento), var(--acento-forte)); display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 10px 0 0; position: relative; transform-origin: bottom; }
.intro-cena.on .ic-barra { animation: ic-cresce .8s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
@keyframes ic-cresce { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
.ic-barra b { font-size: 22px; font-weight: 700; }
.ic-barra span { position: absolute; bottom: -24px; font-size: 12px; color: var(--fraco); white-space: nowrap; }
.ic-cta { margin-top: 10px; padding: 12px 22px; font-size: 15px; }

.intro.sem-mov .intro-cena .a, .intro.sem-mov .intro-cena * { animation: none !important; opacity: 1; }
@media (max-width: 760px) {
  .intro-cena { padding: 64px 16px 84px; place-items: start center; }
  .intro-cena > * { margin: auto 0; }
  .intro-pular { top: 28px; right: 16px; font-size: 12px; padding: 6px 12px; }
  .ic-duas { grid-template-columns: 1fr; gap: 22px; }
  .ic-s2 { font-size: 15px; }
  .ic-fluxo { flex-direction: column; align-items: stretch; gap: 8px; }
  .ic-no { max-width: none; flex-direction: row; text-align: left; padding: 12px 14px; gap: 12px; }
  .ic-no b { font-size: 16px; min-width: 70px; }
  .ic-seta, .ic-trilho { display: none; }
  .ic-item { padding: 11px 12px; gap: 12px; }
  .ic-ico { width: 40px; height: 40px; }
  .ic-mock { grid-template-columns: 112px 1fr; min-height: 220px; }
  .ic-grade { gap: 8px; }
  .ic-cel { padding: 14px; gap: 10px; }
  .ic-cel b { font-size: 14px; }
  .ic-rampa { gap: 10px; height: 200px; }
  .ic-barra { width: 60px; }
}
.intro-pular, .intro-nav { z-index: 2; }
.ic-rampa { margin-bottom: 34px; }

/* ---------- Cadastro guiado (produto e conta) ---------- */
.cad { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
.cad-card .cad { margin-top: 0; }
.cad-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cad-t { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.cad-passos { display: flex; gap: 6px; flex-wrap: wrap; }
.cad-passos span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 5px; border-radius: 99px; font-size: 12.5px; color: var(--fraco); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--borda); }
.cad-passos i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; background: var(--card2); }
.cad-passos .on { color: var(--texto); box-shadow: inset 0 0 0 1px var(--acento); background: color-mix(in srgb, var(--acento) 8%, transparent); }
.cad-passos .on i { background: var(--acento-forte); color: #fff; }
.cad-passos .feito { color: var(--mudo); }
.cad-passos .feito i { background: rgba(60, 207, 142, .16); color: var(--ok); }
.cad-corpo { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 14px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--borda); min-height: 260px; }
.cad-q { font-size: 17px; font-weight: 600; }
.cad-dica { margin: -6px 0 0; color: var(--mudo); font-size: 13.5px; line-height: 1.5; }
.cad-campo input { min-height: 46px; font-size: 15px; padding: 10px 13px; background: var(--panel); }
.cad-campo.com-erro input { border-color: var(--ruim); }
.cad-erro { color: var(--ruim); font-size: 13px; }
.cad-id { font-size: 13px; color: var(--ok); margin-top: -8px; min-height: 0; }
.cad-id:empty { display: none; }
.cad-ops { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.cad-op { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 16px; min-height: 64px; border-radius: 12px; border: 1px solid var(--borda2); background: var(--panel); color: var(--texto); cursor: pointer; transition: border-color .15s, background .15s; }
.cad-op:hover { border-color: #4a4552; }
.cad-op b { display: block; font-size: 14.5px; margin-bottom: 3px; }
.cad-op em { font-style: normal; font-size: 13px; color: var(--mudo); }
.cad-op.on { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 8%, transparent); }
.cad-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--borda2); flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; }
.cad-op.on .cad-radio { border-color: var(--acento); }
.cad-op.on .cad-radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acento); }
.cad-op:focus-visible, .cad-prod:focus-visible, .cad-drop:focus-within { outline: 2px solid color-mix(in srgb, var(--acento) 60%, transparent); outline-offset: 2px; }
.cad-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.cad-foto { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--panel); box-shadow: inset 0 0 0 1px var(--borda2); }
.cad-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cad-foto-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.cad-princ { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--acento-forte); color: #fff; }
.cad-drop { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 34px 16px; border-radius: 14px; border: 1.5px dashed var(--borda2); background: var(--panel); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.cad-drop.mini { grid-column: auto; aspect-ratio: 1; padding: 10px; }
.cad-drop:hover, .cad-drop.sobre { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 6%, transparent); }
.cad-drop b { font-size: 14px; }
.cad-drop em { font-style: normal; font-size: 12.5px; color: var(--fraco); }
.cad-drop-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--acento) 12%, transparent); color: var(--acento); }
.cad-drop-ico svg { width: 22px; height: 22px; }
.cad-rev { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: start; }
.cad-rev-foto { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.cad-rev-foto img { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; }
.cad-rev-ls { display: flex; flex-direction: column; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--borda); }
.cad-rev-l { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center; padding: 11px 14px; min-height: 46px; }
.cad-rev-l + .cad-rev-l { border-top: 1px solid var(--borda); }
.cad-alt { background: none; border: 0; color: var(--acento); cursor: pointer; font-size: 13px; padding: 6px; }
.cad-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.cad-prod { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--borda2); background: var(--panel); color: var(--texto); cursor: pointer; }
.cad-prod img, .cad-prod-sem { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: var(--card2); }
.cad-prod b { display: block; font-size: 14px; }
.cad-prod em { font-style: normal; font-size: 12.5px; color: var(--mudo); }
.cad-prod.on { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 8%, transparent); }
.cad-check { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--borda2); display: grid; place-items: center; }
.cad-prod.on .cad-check { background: var(--acento); border-color: var(--acento); }
.cad-prod.on .cad-check::after { content: '✓'; color: #fff; font-size: 12px; font-weight: 700; }
.cad-vazio { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--mudo); }
.cad-meta { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-top: 14px; border-top: 1px solid var(--borda); flex-wrap: wrap; }
.cad-meta > div:first-child { display: flex; flex-direction: column; gap: 3px; max-width: 420px; }
.cad-stepper { display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--borda2); background: var(--panel); overflow: hidden; }
.cad-stepper button { width: 46px; height: 46px; border: 0; background: transparent; color: var(--texto); font-size: 20px; cursor: pointer; }
.cad-stepper button:hover { background: var(--card2); }
.cad-stepper input { width: 64px; height: 46px; border: 0; border-left: 1px solid var(--borda2); border-right: 1px solid var(--borda2); background: transparent; text-align: center; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.cad-ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 14px; color: var(--mudo); }
.cad-ol li span { display: block; margin-bottom: 8px; color: var(--texto); }
.cad-tags { flex-wrap: wrap; gap: 6px; }
.cad-rodape { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cad-rodape .esp { flex: 1; }
.cad-rodape .btn { min-height: 44px; padding: 10px 18px; }
.cad-chamada { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.cad-chamada .h2 { margin-bottom: 4px; }
.inst-prods { display: flex; flex-direction: column; gap: 8px; }
.inst-prod { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--borda); }
.inst-prod img, .inst-prod-sem { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--card2); }
.inst-prod-n { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.inst-conta-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-acoes { gap: 6px; flex-wrap: wrap; }
.faixa-inst { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(245, 184, 74, .07); box-shadow: inset 0 0 0 1px rgba(245, 184, 74, .28); font-size: 13.5px; }
.faixa-ico { width: 8px; height: 8px; border-radius: 50%; background: var(--aviso); flex-shrink: 0; }
.faixa-cta { margin-left: auto; color: var(--aviso); font-weight: 600; white-space: nowrap; }
.faixa-inst:hover { background: rgba(245, 184, 74, .11); }
@media (max-width: 760px) {
  .cad-corpo { padding: 16px; min-height: 0; }
  .cad-passos span { font-size: 0; padding: 4px; gap: 0; }
  .cad-passos span.on { font-size: 12.5px; padding: 4px 11px 4px 4px; gap: 7px; }
  .cad-rev { grid-template-columns: 1fr; }
  .cad-rev-foto img { width: 100%; height: auto; aspect-ratio: 1; max-width: 220px; }
  .cad-rev-l { grid-template-columns: 1fr auto; }
  .cad-rev-l .lbl { grid-column: 1 / -1; }
  .cad-fotos { grid-template-columns: repeat(3, 1fr); }
  .cad-rodape .btn { flex: 1 1 auto; justify-content: center; }
  .cad-rodape .esp { display: none; }
  .faixa-inst { flex-wrap: wrap; }
  .faixa-cta { margin-left: 20px; }
  .inst-prod { grid-template-columns: 44px 1fr; }
  .inst-prod img, .inst-prod-sem { width: 44px; height: 44px; }
  .inst-prod .btn { grid-column: 1 / -1; }
}

/* ---------- Esteira: card compacto ---------- */
.kc3 { display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; background: var(--card); border: 1px solid var(--borda); border-radius: 9px; padding: 6px 8px 6px 6px; margin-bottom: 6px; min-width: 0; transition: border-color .15s, background .15s; }
.kc3:hover { border-color: var(--borda2); background: var(--card2); }
.kc3-capa { width: 34px; height: 46px; border-radius: 6px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--card2) 0 6px, var(--panel) 6px 12px); }
.kc3-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc3-c { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.kc3-t { font-weight: 600; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc3-t .tag { font-size: 10px; padding: 0 6px; vertical-align: 1px; }
.kc3-m { font-size: 11.5px; color: var(--mudo); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc3-m b { color: var(--texto); font-weight: 600; }
.kc3-m.fraco { color: var(--fraco); }
.refs .kc3 { margin: 0; }

/* ---------- Produtos: lista ---------- */
.pl-card { padding: 0; overflow: hidden; }
.pl-barra { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--borda); }
.pl-busca { flex: 1; min-width: 220px; max-width: 420px; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--borda2); border-radius: 10px; padding: 0 12px; }
.pl-busca:focus-within { border-color: var(--acento); }
.pl-busca svg { width: 16px; height: 16px; color: var(--fraco); flex-shrink: 0; }
.pl-busca input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; height: 40px; }
.pl-cab, .pl { display: grid; grid-template-columns: 48px minmax(180px, 1.6fr) minmax(140px, 1.1fr) minmax(130px, 1fr) minmax(120px, .9fr) auto; gap: 14px; align-items: center; padding: 0 16px; }
.pl-cab { height: 36px; font-size: 11.5px; font-weight: 600; color: var(--fraco); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--borda); }
.pl { min-height: 64px; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--borda); }
.pl:last-child { border-bottom: 0; }
.pl:hover { background: rgba(255, 255, 255, .02); }
.pl.off { opacity: .6; }
.pl-foto { position: relative; width: 48px; height: 48px; }
.pl-foto img, .pl-foto > span { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; display: block; background: var(--card2); }
.pl-foto i { position: absolute; right: -5px; bottom: -5px; font-style: normal; font-size: 10.5px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; display: grid; place-items: center; background: var(--card2); border: 1px solid var(--borda2); color: var(--mudo); }
.pl-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-n b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-n span { font-size: 12px; color: var(--fraco); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-tags, .pl-contas { display: flex; gap: 5px; flex-wrap: wrap; min-width: 0; }
.pl-tags .tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pl-contas .t-warn { font-size: 12.5px; }
.pl-prog { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--mudo); }
.pl-prog b { color: var(--texto); }
.pl-acoes { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.pl-vazio { padding: 28px 16px; text-align: center; color: var(--fraco); }
.seg button.on span { color: var(--mudo); }

/* ---------- Ajustes: logos ---------- */
.modelo .ic { overflow: hidden; background: transparent; }
.modelo .ic img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.sw { display: inline-flex; align-items: center; gap: 8px; }
.sw img { width: 20px; height: 20px; border-radius: 5px; flex-shrink: 0; }
.sw img + img { margin-left: -4px; }

@media (max-width: 1100px) {
  .pl-cab { display: none; }
  .pl { grid-template-columns: 48px 1fr auto; grid-template-areas: "foto nome acoes" "foto tags tags" "foto contas prog"; row-gap: 8px; padding-top: 12px; padding-bottom: 12px; }
  .pl-foto { grid-area: foto; align-self: start; } .pl-n { grid-area: nome; } .pl-acoes { grid-area: acoes; }
  .pl-tags { grid-area: tags; } .pl-contas { grid-area: contas; } .pl-prog { grid-area: prog; min-width: 110px; }
  .pl-tags:empty { display: none; }
}
@media (max-width: 600px) {
  .pl { grid-template-columns: 44px 1fr; grid-template-areas: "foto nome" "foto tags" "contas contas" "prog prog" "acoes acoes"; }
  .pl-foto, .pl-foto img, .pl-foto > span { width: 44px; height: 44px; }
  .pl-acoes { justify-content: flex-start; }
  .pl-acoes .btn { flex: 1; justify-content: center; }
  .pl-busca { max-width: none; }
}
@media (max-width: 600px) {
  .pl { grid-template-columns: 44px 1fr auto; grid-template-areas: "foto nome nome" "foto tags tags" "contas contas prog" "acoes acoes acoes"; row-gap: 7px; padding-top: 10px; padding-bottom: 10px; }
  .pl-prog { flex-direction: row; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
  .pl-prog .fraco { display: none; }
  .pl-prog .barra-p { width: 56px; }
  .pl-acoes .btn { min-height: 36px; }
}

/* ---------- Páginas com abas (Produção, Visão geral, Produtos) ---------- */
.top.com-abas { margin-bottom: 10px; }
.abas-pag { display: flex; gap: 4px; border-bottom: 1px solid var(--borda); margin: 0 0 18px; overflow-x: auto; }
.abas-pag a { position: relative; padding: 10px 14px 12px; font-weight: 500; color: var(--mudo); white-space: nowrap; border-radius: 8px 8px 0 0; }
.abas-pag a:hover { color: var(--texto); background: rgba(255, 255, 255, .03); }
.abas-pag a.on { color: var(--texto); font-weight: 600; }
.abas-pag a.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--acento); }

/* ---------- Ajustes: desenho de como o sistema roda ---------- */
.modelos-lado { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; }
.modelos-lado .modelo { margin: 0; height: 100%; }
.arq { display: flex; flex-direction: column; gap: 12px; }
.arq-pc { position: relative; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--borda2); }
.arq-pc-cab { display: flex; align-items: center; gap: 8px; color: var(--mudo); font-size: 12.5px; font-weight: 600; margin-bottom: 16px; }
.arq-pc-cab svg { width: 18px; height: 18px; }
.arq-cerebro { position: relative; display: flex; gap: 14px; align-items: center; max-width: 560px; margin: 0 auto; padding: 16px 18px; border-radius: 14px; background: rgba(217, 119, 87, .08); box-shadow: inset 0 0 0 1px rgba(217, 119, 87, .35); }
.arq-cerebro img { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.arq-cerebro > div { display: flex; flex-direction: column; gap: 2px; }
.arq-cerebro b { font-size: 16px; }
.arq-cerebro > div > span:last-child { font-size: 13px; color: var(--mudo); }
.arq-ramos { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
/* linhas do cérebro para os três ramos */
.arq-ramos::before { content: ''; position: absolute; top: -22px; left: 16.66%; right: 16.66%; height: 2px; background: linear-gradient(90deg, var(--borda2), rgba(217, 119, 87, .6), var(--borda2)); }
.arq-ramos::after { content: ''; position: absolute; top: -44px; left: 50%; width: 2px; height: 22px; background: rgba(217, 119, 87, .6); }
.arq-no { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--card2); box-shadow: inset 0 0 0 1px var(--borda); }
.arq-no::before { content: ''; position: absolute; top: -22px; left: 50%; width: 2px; height: 22px; background: var(--borda2); }
.arq-no b { font-size: 14.5px; }
.arq-no > span { font-size: 13px; color: var(--mudo); line-height: 1.5; }
.arq-logos { display: flex; gap: 6px; margin-bottom: 4px; }
.arq-logos img { width: 30px; height: 30px; border-radius: 8px; }
.arq-logos.ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(90, 169, 255, .12); color: var(--azul); }
.arq-logos.ico svg { width: 18px; height: 18px; }
.arq-det summary { cursor: pointer; color: var(--mudo); font-size: 13px; padding: 4px 0; }
.arq-det[open] summary { margin-bottom: 8px; }
@media (max-width: 760px) {
  .arq-ramos { grid-template-columns: 1fr; margin-top: 22px; }
  .arq-ramos::before { display: none; }
  .arq-ramos::after { top: -22px; }
  .arq-no::before { display: none; }
  .arq-cerebro { align-items: flex-start; }
}
@media (max-width: 760px) { .arq-no + .arq-no::before { display: block; top: -12px; height: 12px; } }

/* ---------- Apresentação: cena "Na prática" e "O dia todo" ---------- */
.ic-centro.larga { max-width: 1100px; }
.ic-linha { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-top: 18px; width: 100%; }
.ic-passo { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 1; max-width: 220px; }
.ic-flecha { align-self: center; margin-top: -70px; width: 26px; height: 2px; background: linear-gradient(90deg, transparent, var(--acento)); opacity: 1 !important; animation: none !important; flex-shrink: 0; }
.ic-fone { width: 150px; aspect-ratio: 9 / 16; border-radius: 22px; padding: 6px; background: #1d1b22; box-shadow: inset 0 0 0 1px #34303b, 0 24px 50px -24px rgba(0, 0, 0, .9); }
.intro-cena.on .ic-fone { animation: ic-sobe .7s cubic-bezier(.2, .8, .2, 1) both, ic-foco 1.7s ease-in-out both; animation-delay: var(--d), var(--d); }
@keyframes ic-foco { 0%, 100% { box-shadow: inset 0 0 0 1px #34303b, 0 24px 50px -24px rgba(0, 0, 0, .9); } 30%, 70% { box-shadow: inset 0 0 0 2px var(--acento), 0 0 40px -6px color-mix(in srgb, var(--acento) 55%, transparent); } }
.ic-tela { position: relative; width: 100%; height: 100%; border-radius: 17px; overflow: hidden; background: #0d0c10; display: flex; }
.ic-tela > div { flex: 1; position: relative; display: flex; flex-direction: column; }
.ic-leg { display: flex; gap: 8px; align-items: flex-start; text-align: left; font-size: 14px; line-height: 1.35; max-width: 190px; }
.ic-leg b { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--acento-forte); color: #fff; }
/* 1: vídeo que vende */
.tl-video { background: linear-gradient(160deg, #3a2533, #15121a 60%); align-items: center; justify-content: center; }
.tl-play { width: 0; height: 0; border-left: 22px solid rgba(255, 255, 255, .85); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.tl-selo { position: absolute; left: 8px; right: 8px; bottom: 10px; padding: 7px 8px; border-radius: 10px; background: rgba(60, 207, 142, .18); box-shadow: inset 0 0 0 1px rgba(60, 207, 142, .45); color: #b7f5d8; font-weight: 700; font-size: 14px; text-align: center; line-height: 1.2; }
.tl-selo em { display: block; font-style: normal; font-weight: 500; font-size: 10.5px; color: var(--ok); }
.intro-cena.on .tl-selo { animation: ic-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--d) + .6s); }
/* 2: por que vende */
.tl-ficha { padding: 14px 10px; gap: 9px; justify-content: center; background: linear-gradient(180deg, #17151c, #0d0c10); }
.tl-ficha span { display: flex; gap: 7px; align-items: flex-start; font-size: 11px; line-height: 1.3; color: var(--texto); padding: 7px 8px; border-radius: 8px; background: rgba(255, 255, 255, .05); text-align: left; }
.tl-ficha i { width: 6px; height: 6px; border-radius: 50%; background: var(--acento); margin-top: 4px; flex-shrink: 0; }
.intro-cena.on .tl-ficha span { animation: ic-sobe .5s ease-out both; }
.intro-cena.on .tl-ficha span:nth-child(1) { animation-delay: calc(var(--d) + .4s); }
.intro-cena.on .tl-ficha span:nth-child(2) { animation-delay: calc(var(--d) + .75s); }
.intro-cena.on .tl-ficha span:nth-child(3) { animation-delay: calc(var(--d) + 1.1s); }
/* 3: criando o vídeo */
.tl-cria { align-items: center; justify-content: center; gap: 12px; background: radial-gradient(circle at 50% 35%, #2a2032, #0d0c10 70%); }
.tl-peca { width: 70px; height: 84px; background: linear-gradient(160deg, #ff7b95, var(--acento-forte)); clip-path: polygon(30% 0, 70% 0, 100% 18%, 88% 34%, 80% 28%, 80% 100%, 20% 100%, 20% 28%, 12% 34%, 0 18%); }
.tl-peca.peq { width: 58px; height: 70px; }
.tl-barra { width: 70%; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.tl-barra i { display: block; height: 100%; width: 0; background: var(--acento); border-radius: inherit; }
.intro-cena.on .tl-barra i { animation: ic-trilho 1.3s ease-in-out both; animation-delay: calc(var(--d) + .2s); }
.tl-cria em, .tl-post em { font-style: normal; font-size: 10.5px; color: var(--mudo); }
/* 4: postado */
.tl-post { align-items: center; justify-content: center; gap: 10px; background: linear-gradient(180deg, #221a28, #0d0c10); padding-bottom: 10px; }
.tl-icones { position: absolute; right: 7px; top: 34%; display: flex; flex-direction: column; gap: 9px; color: #fff; }
.tl-icones svg { width: 18px; height: 18px; }
.tl-icones svg:first-child { color: var(--acento); }
.intro-cena.on .tl-icones svg:first-child { animation: ic-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--d) + .8s); }
.tl-compra { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 6px; background: #fe2c55; color: #fff; }
.tl-post em { position: absolute; left: 8px; bottom: 8px; right: 8px; text-align: left; }
/* O dia todo */
.ic-dia { width: min(760px, 100%); display: flex; flex-direction: column; gap: 10px; margin: 18px 0 8px; }
.ic-horas { display: grid; grid-template-columns: 70px repeat(5, 1fr); font-size: 12px; color: var(--fraco); text-align: left; }
.ic-dia-l { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 0; font-size: 13px; color: var(--mudo); text-align: left; }
.ic-dia-t { position: relative; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--borda); }
.ic-dia-t i { position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento) 18%, transparent); }
.intro-cena.on .ic-dia-t i { animation: ic-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: var(--d); }
.ic-grade3 { grid-template-columns: repeat(3, 1fr); width: min(760px, 100%); margin-top: 10px; }
@media (max-width: 760px) {
  .ic-linha { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .ic-flecha { display: none; }
  .ic-passo { max-width: none; }
  .ic-fone { width: 116px; border-radius: 18px; padding: 5px; }
  .ic-tela { border-radius: 14px; }
  .ic-leg { font-size: 12.5px; }
  .tl-ficha span { font-size: 9.5px; padding: 5px 6px; }
  .tl-peca { width: 54px; height: 66px; } .tl-peca.peq { width: 46px; height: 56px; }
  .tl-selo { font-size: 12px; }
  .ic-horas, .ic-dia-l { grid-template-columns: 60px repeat(5, 1fr); }
  .ic-dia-l { grid-template-columns: 60px 1fr; font-size: 12px; }
  .ic-grade3 { grid-template-columns: 1fr; }
}
.inst-tipo { padding: 12px 14px; border-radius: 10px; background: rgba(90, 169, 255, .08); box-shadow: inset 0 0 0 1px rgba(90, 169, 255, .28); color: var(--mudo); font-size: 13.5px; line-height: 1.5; }
.inst-tipo b { color: var(--texto); display: block; margin-bottom: 2px; }
.faixa-demo { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-bottom: 16px; padding: 12px 16px; border-radius: 12px; background: rgba(245, 184, 74, .08); box-shadow: inset 0 0 0 1px rgba(245, 184, 74, .3); font-size: 13.5px; color: var(--mudo); }
.faixa-demo b { color: var(--aviso); }
.faixa-demo code { color: var(--texto); }

/* Multiplicador de conteúdo (21/11/2026) */
.mp-intro { color: var(--mudo); margin: 0 0 14px; max-width: 760px; }
.mp-intro b { color: var(--texto); }
.mp-cod { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; letter-spacing: .02em; color: var(--ciano); }
.mp-lotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; margin-top: 14px; }
.mp-lote { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; transition: border-color .15s; }
.mp-lote:hover { border-color: var(--borda2); }
.mp-lote-h { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.mp-lote-n { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mp-lote-n > div { display: flex; flex-direction: column; gap: 4px; }
.t-aviso { color: var(--aviso); }
.mp-resumo { display: flex; flex-direction: column; gap: 6px; }
.mp-resumo ul { margin: 4px 0 0; padding-left: 18px; color: var(--mudo); display: grid; gap: 3px; }
.mp-resumo li b { color: var(--aviso); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; margin-right: 4px; }
.mp-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.mp-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mp-col .sec { margin-bottom: 2px; }
.mp-slot { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--borda); border-radius: 10px; background: var(--panel); transition: border-color .15s, background .15s; }
.mp-slot.vazio { border-style: dashed; }
.mp-slot.erro { border-color: rgba(255, 93, 93, .45); }
.mp-slot.sobre { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 6%, transparent); }
.mp-thumb { width: 54px; aspect-ratio: 9 / 16; border-radius: 7px; overflow: hidden; background: #000; display: grid; place-items: center; }
.mp-thumb[style] { background-size: auto 100%; background-position: 0 0; background-repeat: no-repeat; } /* 1º quadro da faixa de 6 */
.mp-thumb span { color: var(--fraco); font-weight: 600; font-size: 13px; }
.mp-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mp-t { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mp-m { color: var(--fraco); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-res { font-size: 12.5px; color: var(--texto); }
.mp-tr { font-size: 12px; color: var(--mudo); font-style: italic; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mp-nota { font-size: 12px; color: var(--aviso); }
.mp-up { cursor: pointer; }
.mp-alerta { color: var(--mudo); font-size: 12px; margin-left: 4px; }
.mp-acoes { white-space: nowrap; text-align: right; }
.mp-acoes .btn + .btn { margin-left: 6px; }
.log-modal .card.mp-player { width: min(420px, 100%); gap: 10px; }
.mp-player video { width: 100%; max-height: 66vh; border-radius: 10px; background: #000; }
@media (max-width: 1100px) { .mp-cols { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .mp-lotes { grid-template-columns: 1fr; }
  .mp-slot { grid-template-columns: 48px minmax(0, 1fr); }
  .mp-thumb { width: 48px; }
  .mp-up { grid-column: 1 / -1; justify-content: center; min-height: 40px; }
  .mp-alerta { display: block; margin: 4px 0 0; }
}

/* Importar produtos do TikTok (24/11/2026) */
.lnk { background: none; border: 0; padding: 0; color: var(--acento); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.imp { display: grid; gap: 12px; margin-top: 12px; }
.imp-conta { border: 1px solid var(--borda); border-radius: 12px; padding: 12px; display: grid; gap: 10px; background: var(--card); }
.imp-cab { display: flex; align-items: center; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.imp-quem { display: flex; flex-direction: column; min-width: 0; }
.imp-trab { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--card2); font-size: 13px; }
.imp-spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--borda); border-top-color: var(--acento); animation: imp-gira .8s linear infinite; }
@keyframes imp-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .imp-spin { animation-duration: 3s; } }
.imp-falha { font-size: 13px; color: var(--aviso); }
.imp-lista { display: grid; gap: 6px; max-height: 420px; overflow: auto; }
.imp-item { display: grid; grid-template-columns: 20px 44px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--borda); cursor: pointer; min-height: 56px; }
.imp-item.off { cursor: default; opacity: .75; }
.imp-item:has(input:checked) { border-color: var(--acento); background: var(--card2); }
.imp-item input { width: 18px; height: 18px; accent-color: var(--acento); }
.imp-item img, .imp-sem { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--card2); }
.imp-n { display: flex; flex-direction: column; min-width: 0; }
.imp-n b { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imp-n em { font-style: normal; font-size: 12px; color: var(--mudo); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imp-rodape { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.imp-rodape .esp { flex: 1; }
.imp-topo { align-items: flex-start; }
.chip-foto { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; margin-right: 5px; }
@media (max-width: 600px) {
  .imp-rodape .btn { flex: 1 1 auto; }
  .imp-rodape .esp { display: none; }
}

/* Geração pela API BytePlus */
.api-ger { margin-top: 10px; }
.api-ger .modelo[disabled] { opacity: .45; cursor: not-allowed; }
.api-campos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.api-campos select, .api-campos input:not([type=checkbox]), #form-chave-bp input { background: var(--panel); border: 1px solid var(--borda2); border-radius: 9px; padding: 8px 10px; min-height: 38px; outline: none; color: var(--texto, inherit); }
.api-campos select:focus, .api-campos input:focus, #form-chave-bp input:focus { border-color: var(--acento); }
.api-campos label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--mudo); }
.api-campos .api-lote { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 8px; }
@media (max-width: 560px) { .api-campos { grid-template-columns: 1fr; } }
.imp-links { display: grid; gap: 8px; }
.imp-links textarea { width: 100%; min-height: 72px; resize: vertical; font: inherit; font-size: 13px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borda2); background: var(--bg); color: var(--texto); box-sizing: border-box; }
.imp-links textarea:focus { outline: 2px solid var(--acento); outline-offset: 1px; }
.imp-links .linha { display: flex; }
.imp-links .esp { flex: 1; }
@media (max-width: 600px) { .imp-links .btn { width: 100%; } }
.imp-filtro { max-width: 360px; }
.imp-loja { display: grid; gap: 6px; }
.imp-loja + .imp-loja { margin-top: 8px; }
.imp-loja > .lbl { position: sticky; top: 0; background: var(--card); padding: 4px 2px; z-index: 1; }
details.imp-links summary { cursor: pointer; color: var(--mudo); font-size: 13px; padding: 4px 0; }
details.imp-links[open] summary { margin-bottom: 8px; }
.imp-topo { flex-wrap: nowrap; } .imp-topo > div:first-child { flex: 1; min-width: 0; }
.imp-cats { flex-wrap: wrap; height: auto; }
.imp-cats button { white-space: nowrap; }
.imp-filtros { display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.imp-filtros .imp-filtro { flex: 1 1 220px; }
.imp-sel-loja select { height: 100%; min-height: 40px; min-width: 200px; max-width: 100%; background: var(--panel); color: var(--texto); border: 1px solid var(--borda2); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 13px; cursor: pointer; }
.imp-sel-loja select:focus { outline: 2px solid var(--acento); outline-offset: 1px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) { .imp-sel-loja, .imp-sel-loja select { width: 100%; } }
.imp-n b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; }
.imp-modelo { border: 1px solid var(--borda); border-radius: 10px; }
.imp-modelo .imp-mod-cab { border: 0; grid-template-columns: 20px 44px 1fr auto; }
.imp-modelo.aberto { border-color: var(--borda2); }
.imp-mod-n { all: unset; display: flex; flex-direction: column; min-width: 0; cursor: pointer; gap: 2px; }
.imp-mod-n:focus-visible { outline: 2px solid var(--acento); border-radius: 6px; }
.imp-mod-n b { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.imp-mod-n em { font-style: normal; font-size: 12px; color: var(--mudo); }
.imp-cores { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.imp-cores .chip { font-size: 11px; padding: 1px 7px; }
.imp-mod-dir { display: flex; align-items: center; gap: 6px; }
.imp-cores-lista { display: grid; gap: 6px; padding: 0 8px 8px 30px; }
.imp-item.imp-cor { min-height: 48px; }
@media (max-width: 600px) {
  .imp-modelo .imp-mod-cab { grid-template-columns: 20px 44px 1fr; }
  .imp-mod-dir { grid-column: 2 / -1; justify-content: flex-start; }
  .imp-cores-lista { padding-left: 8px; }
}

/* Produção por lojas (24/11/2026) */
.org { display: grid; gap: 14px; }
.org-linha { display: grid; grid-template-columns: minmax(200px, 260px) 1fr; gap: 0 18px; align-items: start; }
.org-criador { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 12px; background: var(--card2); border: 1px solid var(--borda2); }
.org-criador > div { display: flex; flex-direction: column; min-width: 0; }
.org-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--acento), var(--acento-forte)); color: #fff; font-weight: 700; }
.org-meta { font-size: 12px; color: var(--mudo); margin-top: 2px; }
.org-lojas { display: grid; gap: 8px; position: relative; padding-left: 18px; border-left: 2px solid var(--borda2); }
.org-loja { position: relative; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--borda); background: var(--card); }
.org-loja::before { content: ''; position: absolute; left: -20px; top: 50%; width: 18px; border-top: 2px solid var(--borda2); }
.org-loja-n { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.org-qtd { display: flex; flex-direction: column; gap: 3px; }
.org-qtd input { width: 64px; text-align: center; padding: 7px; border-radius: 8px; border: 1px solid var(--borda2); background: var(--bg); color: var(--texto); font: inherit; }
.org-x { width: 32px; height: 32px; }
.org-add { justify-self: start; padding: 8px 10px; border-radius: 9px; border: 1px dashed var(--borda2); background: transparent; color: var(--mudo); font: inherit; font-size: 13px; cursor: pointer; }
@media (max-width: 700px) {
  .org-linha { grid-template-columns: 1fr; gap: 10px; }
  .org-lojas { padding-left: 14px; }
  .org-loja::before { left: -16px; width: 14px; }
}

/* Formatos de vídeo */
.fmt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fmt { display: flex; flex-direction: column; gap: 8px; }
.fmt-off { opacity: .62; }
.fmt-img { width: 100%; border-radius: 10px; display: block; background: var(--card2); }
.fmt-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fmt-n { font-weight: 600; font-size: 15px; }
.fmt-chk { flex: none; font-size: 12.5px; }
.fmt-resumo { margin: 0; font-size: 13.5px; }
.fmt-prova { margin: 0; font-size: 12px; }
.fmt-det summary { cursor: pointer; font-size: 13px; font-weight: 600; padding: 6px 0; }
.fmt-r { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--borda); font-size: 13px; }
.fmt-r pre.bloco { white-space: pre-wrap; margin: 0; font-size: 12px; }
.fmt-l { margin: 4px 0 0; padding-left: 18px; }
@media (max-width: 860px) { .fmt-grid { grid-template-columns: 1fr; } .fmt-r { grid-template-columns: 1fr; gap: 2px; } }

/* Plano do dia (24/11/2026) */
.pd-como { margin-top: 14px; font-size: 13.5px; color: var(--mudo); line-height: 1.6; }
.pd-como b { color: var(--texto); }
.pd-fluxo { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.pd-fluxo span { padding: 1px 8px; border-radius: 6px; background: var(--card2); color: var(--texto); font-size: 12px; }
.pd-fluxo i { font-style: normal; color: var(--fraco); }
.pd-aviso { margin-top: 12px; }
.pd-ult { margin-top: 10px; font-size: 13px; }
.pd-n-teste select { height: 38px; border-radius: 10px; border: 1px solid var(--borda2); background: var(--panel); color: var(--texto); padding: 0 10px; font: inherit; }
.pd-loja { display: grid; gap: 8px; margin-top: 10px; }
.pd { display: grid; grid-template-columns: 72px 1fr 220px; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--borda); border-radius: 12px; background: var(--card); }
.pd-foto img, .pd-foto video, .pd-foto span { width: 72px; height: 96px; border-radius: 8px; object-fit: cover; background: var(--card2); display: block; }
.pd-n { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pd-n > b { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-n > .chip { align-self: flex-start; }
.pd-vars { display: flex; flex-wrap: wrap; gap: 4px; }
.pd-vars .chip { font-size: 11px; padding: 1px 7px; }
.pd-head { font-size: 13px; color: var(--texto); }
.pd-mus { font-size: 12px; }
.pd-etapas { display: flex; flex-direction: column; gap: 6px; }
.pd-trilho { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.pd-trilho i { height: 6px; border-radius: 3px; background: var(--borda2); }
.pd-trilho i.feito { background: var(--ok); }
.pd-trilho i.on { background: var(--acento); }
.pd-txt { font-size: 12.5px; color: var(--mudo); }
@media (max-width: 700px) {
  .pd { grid-template-columns: 64px 1fr; }
  .pd-foto img, .pd-foto video, .pd-foto span { width: 64px; height: 86px; }
  .pd-etapas { grid-column: 1 / -1; }
}

/* Ícone "i": explica a etapa ao passar o mouse (ou ao tocar, no celular) */
.info { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--borda2); color: var(--mudo);
  font: 700 10.5px/1 Georgia, serif; font-style: italic; cursor: help; position: relative; vertical-align: 1px; margin-left: 3px; outline: none; }
.info:hover, .info:focus { color: var(--texto, #fff); border-color: var(--ciano); }
.info::after { content: attr(data-dica); position: absolute; z-index: 60; left: 50%; top: calc(100% + 8px); transform: translateX(-50%);
  width: 250px; padding: 10px 12px; border-radius: 10px; background: #0d0d10; color: #ececf1; border: 1px solid var(--borda2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); font-family: var(--fonte-ui, -apple-system, 'Segoe UI', Inter, system-ui, sans-serif); font-size: 13px; line-height: 1.45; font-weight: 400; font-style: normal; letter-spacing: 0; text-align: left; white-space: normal;
  opacity: 0; visibility: hidden; transition: opacity .12s; pointer-events: none; }
.info.info-cima::after { top: auto; bottom: calc(100% + 8px); }
.info:hover::after, .info:focus::after { opacity: 1; visibility: visible; }
.wn:has(.info:hover), .wn:has(.info:focus) { z-index: 30; }
/* "i" das colunas da Esteira: o quadro rola de lado, então o balão abre para dentro da coluna */
.col2-h { position: relative; z-index: 5; }
.col2-h .info::after { left: -8px; transform: none; width: 220px; }
.col2:nth-last-child(-n+2) .col2-h .info::after { left: auto; right: -6px; }

/* Modelos do vídeo */
.mdl { display: flex; flex-direction: column; gap: 8px; }
.mdl-img { display: flex; gap: 6px; height: 220px; background: var(--card2); border-radius: 10px; overflow: hidden; }
.mdl-img img { height: 100%; flex: 1 1 0; min-width: 0; object-fit: cover; }
.mdl-vazio { margin: auto; color: var(--fraco); font-size: 13px; }
.mdl-contas { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; }
.mdl-form { display: grid; gap: 12px; max-width: 640px; }
.mdl-cons { font-size: 13px; }

/* ==========================================================================================
   Repaginada (25/11/2026): SaaS clean escuro. Identidade da Berti (rosa sobre quase preto),
   tipografia Plus Jakarta Sans (texto) + Sora (títulos), cartões grafite com borda fina,
   botões em pílula, abas em chip, menu lateral largo com seções. Este bloco vem por último
   de propósito: redefine os componentes base por cima das camadas antigas.
   ========================================================================================== */
:root {
  --bg: #09090b; --panel: #0d0d10; --card: #121215; --card2: #18181c; --borda: rgba(255, 255, 255, .07); --borda2: rgba(255, 255, 255, .12);
  --texto: #fafafa; --mudo: #a1a1aa; --fraco: #71717a; --acento: var(--acento); --acento-forte: var(--acento); --violeta: var(--violeta);
  --ok: #34d399; --aviso: #fbbf24; --ruim: #f87171; --azul: #60a5fa; --ciano: #22d3ee;
  --raio: 18px; --raio-sm: 12px; --sombra: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 12px 32px -18px rgba(0, 0, 0, .7);
  --fonte: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; --fonte-t: 'Sora', 'Plus Jakarta Sans', system-ui, sans-serif;
  --t: 180ms cubic-bezier(.2, .8, .2, 1);
  --sup0: rgba(255, 255, 255, .025); --sup: rgba(255, 255, 255, .04); --sup2: rgba(255, 255, 255, .07); --borda3: rgba(255, 255, 255, .2);
  --campo: rgba(0, 0, 0, .35); --vidro: rgba(13, 13, 16, .72); --vidro-topo: rgba(9, 9, 11, .66); --vidro-card: rgba(18, 18, 21, .9);
  --brilho1: color-mix(in srgb, var(--acento) 11%, transparent); --brilho2: color-mix(in srgb, var(--violeta) 9%, transparent); --canvas: #0e0d11; --canvas-ponto: #2c2933; --linha-wf: #4a4655;
  color-scheme: dark;
}
html, body { font: 14px/1.55 var(--fonte); background: var(--bg); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(900px 520px at -8% -12%, var(--brilho1), transparent 60%), radial-gradient(800px 520px at 108% 112%, var(--brilho2), transparent 60%); }
.app, .acesso { position: relative; z-index: 1; }
::selection { background: color-mix(in srgb, var(--acento) 35%, transparent); }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; border-radius: 8px; }

/* Menu lateral largo, com seções */
.app { grid-template-columns: 248px 1fr; }
.side { width: auto; padding: 18px 14px; gap: 2px; background: var(--vidro); backdrop-filter: blur(14px); border-right: 1px solid var(--borda); align-items: stretch; }
.side .marca { display: flex; align-items: center; gap: 10px; padding: 6px 10px 20px; margin: 0; border: 0; font: 700 18px/1 var(--fonte-t); letter-spacing: -.02em; }
.side .marca::first-letter { color: inherit; }
.marca-ico { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--acento), var(--violeta)); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--acento) 70%, transparent); }
.marca-ico svg { width: 15px; height: 15px; margin-left: 2px; }
.nav-tit { padding: 16px 12px 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fraco); }
.side .nav { flex-direction: row; justify-content: flex-start; gap: 11px; padding: 9px 12px; border-radius: 11px; color: var(--mudo); font-size: 13.5px; font-weight: 500; text-align: left; min-height: 40px; transition: background var(--t), color var(--t); position: relative; }
.side .nav .ico { width: 20px; height: 20px; display: grid; place-items: center; background: none; border-radius: 0; flex: none; }
.side .nav svg { width: 18px; height: 18px; opacity: .9; }
.side .nav .nm { font-size: 13.5px; line-height: 1.2; white-space: nowrap; }
.side .nav:hover { background: var(--sup); color: var(--texto); }
.side .nav.on { background: color-mix(in srgb, var(--acento) 10%, transparent); color: var(--texto); box-shadow: none; }
.side .nav.on .ico { color: var(--acento); }
.side .nav.on::before { content: ''; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--acento); }
.side .nav .nav-n { position: static; margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; background: rgba(251, 191, 36, .15); color: var(--aviso); }
.side .nav .nav-n[hidden] { display: none; }
.side .rodape { margin-top: auto; padding: 12px 10px 4px; border-top: 1px solid var(--borda); display: flex; align-items: center; gap: 8px; }
.side .rodape .ru-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mudo); font-size: 12.5px; }

/* Barra do topo */
.barra-topo { height: 60px; padding: 0 32px; background: var(--vidro-topo); backdrop-filter: blur(14px); border-bottom: 1px solid var(--borda); }
.crumb-topo { font-size: 13px; color: var(--fraco); }
.crumb-topo b { color: var(--texto); font-weight: 600; }
.pill-topo { background: var(--sup); border-color: var(--borda2); font-size: 12px; padding: 6px 12px; }
.main { padding: 28px 32px 72px; max-width: 1360px; width: 100%; margin: 0 auto; }

/* Títulos e texto */
.h1 { font: 600 26px/1.2 var(--fonte-t); letter-spacing: -.025em; }
.h2 { font: 600 15.5px/1.3 var(--fonte-t); letter-spacing: -.01em; }
.top { margin-bottom: 20px; }
.crumb { font-size: 12px; color: var(--fraco); margin-bottom: 6px; }
.lbl { color: var(--mudo); font-size: 12px; font-weight: 500; letter-spacing: .01em; }

/* Abas da página em chip */
.abas-pag { display: inline-flex; gap: 4px; padding: 4px; margin: -4px 0 22px; border: 1px solid var(--borda); border-radius: 999px; background: var(--sup0); border-bottom: 1px solid var(--borda); }
.abas-pag a { padding: 7px 16px; border-radius: 999px; color: var(--mudo); font-size: 13px; font-weight: 500; border: 0; transition: background var(--t), color var(--t); }
.abas-pag a::after { display: none !important; }
.abas-pag a:hover { color: var(--texto); }
.abas-pag a.on { background: var(--card2); color: var(--texto); box-shadow: inset 0 0 0 1px var(--borda2); }

/* Cartões */
.card { background: linear-gradient(180deg, var(--sup0), rgba(255, 255, 255, 0) 120px), var(--card); border: 1px solid var(--borda); border-radius: var(--raio); padding: 20px; box-shadow: var(--sombra); }
.grid { gap: 16px; }
.kpi .v { font: 600 28px/1.15 var(--fonte-t); letter-spacing: -.03em; font-variant-numeric: tabular-nums; margin-top: 8px; }
.kpi .s { font-size: 12px; color: var(--fraco); margin-top: 4px; }

/* Botões em pílula */
.btn { border-radius: 999px; padding: 9px 16px; min-height: 38px; background: var(--sup); border: 1px solid var(--borda2); font-weight: 600; font-size: 13px; transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t); }
.btn:hover { background: var(--sup2); border-color: var(--borda3); }
.btn:active { transform: scale(.98); }
.btn.pri { background: linear-gradient(135deg, var(--acento), var(--acento-forte)); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--acento) 80%, transparent); }
.btn.pri:hover { background: linear-gradient(135deg, #ff6390, var(--acento)); box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--acento) 95%, transparent); }
.btn.sm { padding: 6px 12px; min-height: 32px; font-size: 12.5px; border-radius: 999px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }

/* Campos */
.campo input, .campo select, .campo textarea, input[type=search], select { background: var(--campo); border: 1px solid var(--borda2); border-radius: var(--raio-sm); min-height: 42px; padding: 9px 13px; transition: border-color var(--t), box-shadow var(--t); }
.campo input:focus, .campo select:focus, .campo textarea:focus, input[type=search]:focus, select:focus { border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 15%, transparent); outline: none; }
.pl-busca { border-radius: var(--raio-sm); background: var(--campo); }
.pl-busca input { min-height: 40px; background: none; border: 0; box-shadow: none; }

/* Etiquetas, tabelas, segmentos */
.tag { border-radius: 999px; font-weight: 600; font-size: 11.5px; padding: 3px 9px; background: var(--sup); border-color: var(--borda2); }
.t-ok { color: var(--ok); background: rgba(52, 211, 153, .1); border-color: rgba(52, 211, 153, .25); }
.t-warn { color: var(--aviso); background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .25); }
.t-bad { color: var(--ruim); background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .25); }
.t-pri { color: var(--acento); background: color-mix(in srgb, var(--acento) 10%, transparent); border-color: color-mix(in srgb, var(--acento) 25%, transparent); }
.chip { border-radius: 999px; background: var(--sup); border-color: var(--borda2); }
.tbl th { font-size: 11px; color: var(--fraco); letter-spacing: .06em; border-bottom-color: var(--borda); }
.tbl td { border-bottom-color: var(--borda); }
.seg { border-radius: 999px; background: var(--sup0); border-color: var(--borda); }
.seg button { border-radius: 999px; padding: 6px 13px; }
.seg button.on { background: var(--card2); }

/* Faixas de aviso */
.faixa-inst { border-radius: var(--raio); background: linear-gradient(90deg, rgba(251, 191, 36, .1), rgba(251, 191, 36, .03)); border: 1px solid rgba(251, 191, 36, .22); }

/* Login e convite */
.acesso-card, #acesso .card { border-radius: 22px; padding: 32px; background: var(--vidro-card); backdrop-filter: blur(10px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); border: 1px solid var(--borda2); }
#acesso .h1, .acesso h1 { font: 600 24px/1.2 var(--fonte-t); }
#acesso .btn.pri { width: 100%; min-height: 46px; font-size: 14px; }

/* Modal */
.log-modal { background: rgba(0, 0, 0, .62); backdrop-filter: blur(6px); }
.log-modal > .card { border-radius: 22px; }

@media (prefers-reduced-motion: reduce) { .btn, .side .nav, .abas-pag a { transition: none; } }

/* Telas médias: menu vira trilho de ícones */
@media (max-width: 1100px) and (min-width: 761px) {
  .app { grid-template-columns: 76px 1fr; }
  .side { padding: 16px 10px; }
  .side .marca-n, .nav-tit, .side .nav .nm, .side .rodape .ru-n { display: none; }
  .side .marca { justify-content: center; padding: 4px 0 16px; }
  .side .nav { justify-content: center; padding: 10px 0; }
  .side .nav.on::before { left: -10px; }
  .side .nav .nav-n { position: absolute; top: 2px; right: 6px; margin: 0; }
}
/* Celular: menu em faixa rolável no topo */
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; overflow-x: auto; padding: 10px 12px; gap: 4px; border-right: 0; border-bottom: 1px solid var(--borda); scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side .marca, .nav-tit { display: none; }
  .side .nav { flex: 0 0 auto; padding: 8px 12px; min-height: 40px; }
  .side .nav.on::before { display: none; }
  .barra-topo { position: static; padding: 0 16px; height: 52px; }
  .main { padding: 20px 16px 64px; }
  .h1 { font-size: 22px; }
  .abas-pag { display: flex; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .card { padding: 16px; border-radius: 16px; }
}
.acesso-caixa { width: min(420px, 100%); }
.acesso-marca { display: flex; align-items: center; gap: 10px; font: 700 17px/1 var(--fonte-t); color: var(--texto); letter-spacing: -.02em; margin-bottom: 22px; }
.acesso-marca::before { content: ''; width: 28px; height: 28px; border-radius: 9px; background: linear-gradient(135deg, var(--acento), var(--violeta)); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--acento) 70%, transparent); }
.acesso-caixa > .mudo { margin: 6px 0 0; }
/* status no menu: ponto de fila e anel de "rodando" à direita do nome, sem cobrir o ícone */
.side .nav.ativ-fila .ico::after, .side .nav.ativ-rodando .ico::after { display: none; }
.side .nav.ativ-rodando .ico { box-shadow: none; }
.side .nav.ativ-fila::after, .side .nav.ativ-rodando::after { content: ''; margin-left: auto; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.side .nav.ativ-fila::after { background: var(--acento); }
.side .nav.ativ-rodando::after { background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.side .nav:has(.nav-n:not([hidden]))::after { display: none; }
@media (max-width: 1100px) and (min-width: 761px) { .side .nav.ativ-fila::after, .side .nav.ativ-rodando::after { position: absolute; top: 6px; right: 12px; margin: 0; } }

/* Nova personagem: dois caminhos + criador de avatar */
.mdl-modos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.mdl-modo { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--borda2); background: var(--card2); cursor: pointer; color: inherit; }
.mdl-modo span { color: var(--mudo); font-size: 12.5px; }
.mdl-modo.on { border-color: var(--acento); box-shadow: 0 0 0 3px rgba(239, 43, 85, .15); }
.av-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 18px; }
.av-g { border: 0; margin: 0; padding: 0; min-width: 0; }
.av-g legend { font-size: 12.5px; color: var(--mudo); margin-bottom: 6px; padding: 0; }
.av-ops { display: flex; flex-wrap: wrap; gap: 6px; }
.av-op input { position: absolute; opacity: 0; pointer-events: none; }
.av-op span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--borda2); font-size: 13px; cursor: pointer; background: var(--card2); }
.av-op input:checked + span { border-color: var(--acento); background: rgba(239, 43, 85, .12); color: var(--texto, #fff); }
.av-op input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }
@media (max-width: 600px) { .mdl-modos { grid-template-columns: 1fr; } }


/* ==========================================================================================
   Tema claro (padrão, 25/11/2026) — o escuro continua no botão do topo (html[data-tema]).
   Os tokens acima viram claros; as poucas cores fixas das camadas antigas são trocadas aqui.
   ========================================================================================== */
:root[data-tema="claro"] {
  --bg: #f5f5f8; --panel: #ffffff; --card: #ffffff; --card2: #f4f4f7; --borda: rgba(20, 20, 40, .08); --borda2: rgba(20, 20, 40, .13); --borda3: rgba(20, 20, 40, .22);
  --texto: #18181b; --mudo: #52525b; --fraco: #80808b; --acento: var(--acento); --acento-forte: var(--acento-forte); --violeta: var(--violeta);
  --ok: #059669; --aviso: #b45309; --ruim: #dc2626; --azul: #2563eb; --ciano: #0891b2;
  --sombra: 0 1px 2px rgba(20, 20, 40, .04), 0 8px 24px -16px rgba(20, 20, 40, .18);
  --sup0: rgba(20, 20, 40, 0); --sup: rgba(20, 20, 40, .035); --sup2: rgba(20, 20, 40, .06);
  --campo: #ffffff; --vidro: rgba(255, 255, 255, .86); --vidro-topo: rgba(245, 245, 248, .82); --vidro-card: #ffffff;
  --brilho1: color-mix(in srgb, var(--acento) 7%, transparent); --brilho2: color-mix(in srgb, var(--violeta) 7%, transparent); --canvas: #fafafc; --canvas-ponto: #dcdce4; --linha-wf: #b9b9c6;
  color-scheme: light;
}
:root[data-tema="claro"] .card { background: var(--card); }
:root[data-tema="claro"] .btn.pri, :root[data-tema="claro"] .btn.pri:hover { color: #fff; }
:root[data-tema="claro"] .btn.pri { box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--acento) 55%, transparent); }
:root[data-tema="claro"] .side .nav.on { background: color-mix(in srgb, var(--acento) 8%, transparent); color: var(--acento-forte); }
:root[data-tema="claro"] .marca-ico { box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--acento) 50%, transparent); }
:root[data-tema="claro"] .btn:hover, :root[data-tema="claro"] .cad-op:hover, :root[data-tema="claro"] .wn:hover { border-color: var(--borda3); }
:root[data-tema="claro"] .wf-canvas, :root[data-tema="claro"] .canvas { background-color: var(--canvas); background-image: radial-gradient(var(--canvas-ponto) 1px, transparent 1px); }
:root[data-tema="claro"] .wf-mundo .rotulo-lig { background: var(--canvas); }
:root[data-tema="claro"] .wf-mundo path { stroke: var(--linha-wf); }
:root[data-tema="claro"] .wn .ponto, :root[data-tema="claro"] .agente .ponto { background: var(--borda3); }
:root[data-tema="claro"] .wn .porta { border-color: var(--borda3); }
:root[data-tema="claro"] .ponto-g.parado { background: var(--borda3); }
:root[data-tema="claro"] .faixa-inst { background: linear-gradient(90deg, rgba(180, 83, 9, .08), rgba(180, 83, 9, .02)); border-color: rgba(180, 83, 9, .25); }
:root[data-tema="claro"] .t-ok { background: rgba(5, 150, 105, .08); border-color: rgba(5, 150, 105, .22); }
:root[data-tema="claro"] .t-warn { background: rgba(180, 83, 9, .08); border-color: rgba(180, 83, 9, .22); }
:root[data-tema="claro"] .t-bad { background: rgba(220, 38, 38, .07); border-color: rgba(220, 38, 38, .2); }
:root[data-tema="claro"] .t-pri { background: color-mix(in srgb, var(--acento) 8%, transparent); border-color: color-mix(in srgb, var(--acento) 22%, transparent); }
:root[data-tema="claro"] .log-modal { background: rgba(20, 20, 40, .35); }
:root[data-tema="claro"] .vid-st .tag, :root[data-tema="claro"] .pd-foto .tag { color: #fff; }
:root[data-tema="claro"] img, :root[data-tema="claro"] video { color-scheme: normal; }

/* Botão de tema no topo */
.tema-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--borda2); background: var(--sup); color: var(--mudo); cursor: pointer; transition: background var(--t), color var(--t); }
.tema-btn:hover { color: var(--texto); background: var(--sup2); }
.tema-btn svg { width: 17px; height: 17px; }
.tema-btn .lua { display: none; }
:root[data-tema="claro"] .tema-btn .sol { display: none; }
:root[data-tema="claro"] .tema-btn .lua { display: block; }
:root[data-tema="claro"] .wn { background: var(--card); box-shadow: var(--sombra); }
:root[data-tema="claro"] .wn .ws div { background: var(--card2); }
:root[data-tema="claro"] .wn .nm, :root[data-tema="claro"] .wn .wh b { color: var(--texto); }
:root[data-tema="claro"] .acesso-card, :root[data-tema="claro"] #acesso .card { box-shadow: 0 1px 2px rgba(20, 20, 40, .05), 0 24px 60px -28px rgba(20, 20, 40, .25); }

/* ==========================================================================================
   Gerador de combinações (Multiplicador, 25/11/2026): mesmo desenho do Gerador do portal do lojista.
   Só tokens, para valer no tema claro e no escuro.
   ========================================================================================== */
.gc-intro { color: var(--mudo); margin: -6px 0 18px; max-width: 760px; }
.gc-proj { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.gc-proj .h2 { margin-bottom: 2px; }
.gc-proj .mudo { font-size: 13px; }
.gc-sel { min-width: 240px; max-width: 100%; }
.gc-novo { flex-basis: 100%; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; padding-top: 14px; border-top: 1px solid var(--borda); }
.blocos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bloco { border: 1px solid var(--borda2); border-radius: var(--raio); padding: 16px; background: var(--card); display: flex; flex-direction: column; gap: 8px; min-width: 0; box-shadow: var(--sombra); transition: opacity var(--t); }
.bloco-gancho { border-color: color-mix(in srgb, var(--acento) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--acento) 7%, transparent), var(--card) 60%); }
.bloco-corpo { border-color: color-mix(in srgb, var(--violeta) 40%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--violeta) 6%, transparent), var(--card) 60%); }
.bloco-cta { border-color: color-mix(in srgb, var(--ciano) 45%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--ciano) 7%, transparent), var(--card) 60%); }
.bloco.off { opacity: .55; }
.bloco-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.bloco-top b { font: 600 16px/1.2 var(--fonte-t); flex: 1; }
.chave { position: relative; width: 40px; height: 22px; flex: none; cursor: pointer; }
.chave input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chave span { position: absolute; inset: 0; border-radius: 999px; background: var(--borda3); transition: background var(--t); pointer-events: none; }
.chave span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform var(--t); }
.chave input:checked + span { background: var(--acento); }
.chave input:checked + span::after { transform: translateX(18px); }
.chave input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }
.soltar { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 84px; border: 1.5px dashed var(--borda2); border-radius: var(--raio-sm); color: var(--mudo); cursor: pointer; font-weight: 600; transition: border-color var(--t), background var(--t), color var(--t); }
.soltar svg { width: 18px; height: 18px; }
.soltar:hover, .soltar.sobre { border-color: var(--acento); color: var(--texto); background: color-mix(in srgb, var(--acento) 5%, transparent); }
.clipe { display: flex; align-items: center; gap: 9px; background: var(--card2); border: 1px solid var(--borda); border-radius: 11px; padding: 6px 8px; font-size: 12.5px; min-width: 0; }
.clipe.erro { border-color: color-mix(in srgb, var(--ruim) 40%, transparent); }
.clipe.sobre { border-color: var(--acento); }
.clipe-th { width: 30px; height: 42px; border-radius: 6px; flex: none; background: var(--sup2) center / cover no-repeat; }
.clipe-n { font-weight: 700; color: var(--mudo); min-width: 30px; }
.clipe-nome { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.clipe-nome, .clipe-nome em { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clipe-nome em { font-style: normal; color: var(--fraco); font-size: 11.5px; }
.clipe-x { border: 0; background: none; color: var(--fraco); font-size: 18px; line-height: 1; cursor: pointer; width: 30px; height: 30px; border-radius: 8px; flex: none; }
.clipe-x:hover { color: var(--ruim); background: var(--sup); }
.gc-param-t { margin-bottom: 16px; gap: 10px; align-items: center; }
.params { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.param { display: flex; flex-direction: column; gap: 6px; }
.param > span { color: var(--fraco); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.param input { width: 100%; max-width: 170px; background: var(--campo); border: 1px solid var(--borda2); border-radius: var(--raio-sm); min-height: 42px; padding: 9px 13px; color: var(--texto); outline: none; }
.param input:focus { border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 15%, transparent); }
.param small { color: var(--fraco); font-size: 12px; }
.etiquetas { margin-top: 18px; background: var(--card2); border: 1px solid var(--borda); border-radius: var(--raio-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.etiquetas p { margin: 0 0 2px; }
.gc-conta { margin-top: 14px; color: var(--mudo); font-variant-numeric: tabular-nums; }
.gc-conta b { color: var(--texto); }
.gc-pronto { margin-top: 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 30px 20px; border-style: dashed; border-color: var(--borda2); }
.gc-pronto .h2 { margin: 0; font-size: 18px; }
.gc-pronto p { margin: 0; max-width: 520px; }
.gc-gerar { min-height: 48px; padding: 12px 28px; font-size: 14.5px; }
.gc-pronto .lnk { font-size: 13px; }
.gc-pronto .lnk:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 860px) {
  .blocos, .params { grid-template-columns: minmax(0, 1fr); }
  .gc-novo { grid-template-columns: minmax(0, 1fr); }
  .gc-sel { min-width: 0; flex: 1; }
  .gc-proj .linha { width: 100%; }
}
.sec > div { min-width: 0; }
.sec-sub { overflow-wrap: anywhere; }

/* Wizard de modelo (25/11/2026): etapa em destaque, lista de etapas ao lado, opções com foto */
.wz { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; }
.wz-lista { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.wz-lista button { display: flex; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid transparent; background: none; color: inherit; cursor: pointer; font: inherit; }
.wz-lista button:disabled { opacity: .45; cursor: default; }
.wz-lista button.on { background: var(--card2); border-color: var(--acento); }
.wz-lista button span:last-child { display: flex; flex-direction: column; font-size: 13.5px; }
.wz-lista em { font-style: normal; font-size: 12px; color: var(--mudo); }
.wz-n { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--borda2); }
.wz-lista button.feito .wz-n { background: var(--acento); border-color: var(--acento); color: #fff; }
.wz-lista button.on .wz-n { border-color: var(--acento); color: var(--acento); }
.wz-tit { font-size: 17px; font-weight: 600; margin-bottom: 12px; }
.wz-ops { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.wz-op { display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 14px; border: 2px solid var(--borda2); background: var(--card2); cursor: pointer; color: inherit; font: inherit; text-align: center; }
.wz-op img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.wz-op span { font-size: 13.5px; font-weight: 600; padding-bottom: 4px; }
.wz-op:hover { border-color: var(--acento); }
.wz-op.on { border-color: var(--acento); box-shadow: 0 0 0 3px rgba(239, 43, 85, .18); }
.wz-acoes { display: flex; justify-content: space-between; margin-top: 16px; gap: 10px; }
.wz-resumo { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-bottom: 14px; }
.wz-resumo figure { margin: 0; }
.wz-resumo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }
.wz-resumo figcaption { font-size: 12px; margin-top: 4px; display: flex; flex-direction: column; }
.wz-resumo figcaption span { color: var(--mudo); font-size: 11px; }
.mdl-img-ang img { flex: 1 1 0; }
@media (max-width: 760px) { .wz { grid-template-columns: 1fr; } .wz-lista { flex-direction: row; overflow-x: auto; } .wz-lista button { white-space: nowrap; } .wz-lista em { display: none; } }

/* Confirmação de perigo (apagar): caixa vermelha e botão travado por alguns segundos (25/11/2026) */
.btn.perigo { background: var(--ruim); border-color: transparent; color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--ruim) 80%, transparent); }
.btn.perigo:hover:not(:disabled) { background: color-mix(in srgb, var(--ruim) 85%, #000); }
.btn.perigo:disabled { opacity: .55; font-variant-numeric: tabular-nums; }
.conf-perigo { border: 1px solid color-mix(in srgb, var(--ruim) 55%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ruim) 12%, transparent), var(--sombra); }
.conf-perigo .h2 { color: var(--ruim); }
.conf-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 12px; color: var(--ruim); background: color-mix(in srgb, var(--ruim) 12%, transparent); }
.conf-ico svg { width: 22px; height: 22px; }
.conf-aviso { margin: -4px 0 16px; font-size: 13px; font-weight: 600; color: var(--ruim); }

/* Modelo sendo criada: esqueleto com brilho no lugar das fotos que faltam */
.mdl-criando .mdl-esq { flex: 1 1 0; min-width: 0; border-radius: 6px; position: relative; overflow: hidden; background: var(--card2); }
.mdl-criando .mdl-esq::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--texto) 10%, transparent), transparent); animation: mdl-brilho 1.4s ease-in-out infinite; }
@keyframes mdl-brilho { to { transform: translateX(100%); } }
.mdl-passo { margin: 0; font-size: 13px; color: var(--mudo); }
@media (prefers-reduced-motion: reduce) { .mdl-criando .mdl-esq::after { animation: none; transform: none; background: color-mix(in srgb, var(--texto) 5%, transparent); } }

/* Atalho do workflow (25/11/2026): biblioteca cheia, o Agendador vai direto ao Roteiro */
.wf-mundo svg path.atalho { stroke: var(--borda2); stroke-dasharray: 2 6; fill: none; opacity: .6; }
.wf-mundo svg path.atalho.ativo { stroke: var(--ok); stroke-width: 2.5; opacity: 1; stroke-dasharray: 8 6; }
.rotulo-lig.rotulo-atalho { white-space: nowrap; }
.wn.pulado { opacity: .45; filter: saturate(.5); }
.wn.pulado:hover, .wn.pulado.sel { opacity: .85; }


/* ==========================================================================================
   Testar com 1 vídeo (25/11/2026): escolhas à esquerda, resumo e custo à direita; andamento etapa por etapa.
   Só tokens do tema (claro e escuro).
   ========================================================================================== */
.tst-intro { margin: -6px 0 16px; }
.tst { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.tst-esq { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tst-resumo { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 16px; }
.tst-linha { display: flex; flex-wrap: wrap; gap: 8px; }
.tst-op { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; min-width: 0; padding: 10px 12px; border-radius: var(--raio-sm); border: 2px solid var(--borda2); background: var(--card); color: var(--texto); cursor: pointer; transition: border-color var(--t), background var(--t); }
.tst-op:hover { border-color: var(--borda3); }
.tst-op.on { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 7%, var(--card)); }
.tst-op:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.tst-op small { color: var(--mudo); font-size: 12px; }
.tst-op b { font-size: 13.5px; }
.tst-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.tst-prod b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tst-foto { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: var(--sup2); margin-bottom: 6px; }
.tst-foto.alta { aspect-ratio: 3 / 4; }
.tst-sem { background: var(--sup2); }
.tst-sortear { display: grid; place-items: center; font-size: 26px; font-weight: 700; color: var(--mudo); }
.tst-cores { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.tst-chip { flex-direction: row; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.tst-grade3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.tst-modelos { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; }
.tst-ias { display: flex; flex-direction: column; gap: 8px; }
.tst-ia { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.tst-ia span { display: flex; flex-direction: column; min-width: 0; }
.tst-preco { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tst-apagado { opacity: .7; }
.tst-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--borda2); font-size: 13px; }
.tst-kv span { color: var(--mudo); }
.tst-kv b { text-align: right; }
.tst-conta { margin-top: 4px; }
.tst-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.tst-total b { font-family: var(--fonte-t); font-size: 24px; font-variant-numeric: tabular-nums; }
.tst-nota { font-size: 12px; }
.tst-ocupado { font-size: 12.5px; color: var(--aviso); }
.tst-rodar { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15px; }
.tst-hist { display: flex; flex-direction: column; }
.tst-h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--borda); color: var(--texto); }
.tst-h:last-child { border-bottom: 0; }
.tst-h:hover { background: var(--sup); }
.tst-etapas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tst-et { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--raio-sm); border: 1px solid var(--borda); background: var(--sup); }
.tst-et > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.tst-et small { color: var(--mudo); font-size: 12.5px; }
.tst-bola { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--sup2); color: var(--mudo); }
.tst-et.feito .tst-bola { background: var(--ok); color: #fff; }
.tst-et.agora { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 5%, var(--card)); }
.tst-et.agora .tst-bola { background: var(--acento); color: #fff; }
.tst-et.erro { border-color: var(--ruim); }
.tst-et.erro .tst-bola { background: var(--ruim); color: #fff; }
.tst-erro { border: 1px solid color-mix(in srgb, var(--ruim) 35%, transparent); background: color-mix(in srgb, var(--ruim) 8%, var(--card)); color: var(--texto); border-radius: var(--raio-sm); padding: 10px 14px; font-size: 13.5px; }
.tst-previa video, .tst-previa img { width: 100%; max-width: 260px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #000; align-self: center; }
.tst-vazio-prev { align-self: center; width: 220px; aspect-ratio: 9 / 16; border-radius: 14px; border: 1.5px dashed var(--borda3); display: grid; place-items: center; color: var(--fraco); font-size: 13px; text-align: center; }
.tst-previa .btn { width: 100%; justify-content: center; }
.btn.perigo-leve { color: var(--ruim); border-color: color-mix(in srgb, var(--ruim) 35%, transparent); background: color-mix(in srgb, var(--ruim) 6%, var(--card)); }
@media (max-width: 860px) { .tst-resumo { position: static; } .tst-h { grid-template-columns: 1fr auto; } .tst-h .fraco { display: none; } }


/* ==========================================================================================
   Paleta Bordô Klipei (25/11/2026, definida pelo Henrique). Bordô 700 #741B37 é a cor de assinatura:
   logotipo, botão principal e destaques. Neutros com leve tom quente. Funcionais (ok/aviso/ruim) só em
   estados de sistema. Proporção: 60% fundos claros, 25% texto e superfícies escuras, 15% bordô.
   Escala bordô: 50 #FBF1F4 · 100 #F5DCE3 · 200 #EAB6C4 · 300 #D9899F · 400 #BF5874 · 500 #A3344F ·
   600 #8A2440 · 700 #741B37 · 800 #5A142A · 900 #3E0D1D · 950 #26060F.
   Neutros: 0 #FFFFFF · 50 #FAF8F9 · 100 #F1EDEF · 200 #E3DDE0 · 300 #C9C1C5 · 500 #857C81 · 700 #4A4246 ·
   900 #1C1719 · 950 #110D0F.  Este bloco fica no FIM do arquivo: manda sobre os anteriores.
   ========================================================================================== */
:root, :root[data-tema="claro"] {
  --bg: #FAF8F9; --panel: #FFFFFF; --card: #FFFFFF; --card2: #F1EDEF; --campo: #FFFFFF;
  --borda: #F1EDEF; --borda2: #E3DDE0; --borda3: #C9C1C5;
  --texto: #110D0F; --mudo: #4A4246; --fraco: #857C81;
  --acento: #741B37; --acento-forte: #5A142A; --violeta: #BF5874; --ciano: #A3344F;
  --sup0: rgba(17, 13, 15, 0); --sup: rgba(17, 13, 15, .03); --sup2: rgba(17, 13, 15, .055);
  --brilho1: rgba(116, 27, 55, .06); --brilho2: rgba(191, 88, 116, .05);
  --vidro: rgba(255, 255, 255, .88); --vidro-card: #FFFFFF;
}
:root[data-tema="escuro"] {
  --bg: #110D0F; --panel: #161113; --card: #1C1719; --card2: #241E21; --campo: rgba(0, 0, 0, .3);
  --borda: rgba(250, 248, 249, .07); --borda2: rgba(250, 248, 249, .12); --borda3: rgba(250, 248, 249, .22);
  --texto: #FAF8F9; --mudo: #C9C1C5; --fraco: #857C81;
  --acento: #BF5874; --acento-forte: #A3344F; --violeta: #D9899F; --ciano: #D9899F;
  --sup0: rgba(250, 248, 249, .02); --sup: rgba(250, 248, 249, .04); --sup2: rgba(250, 248, 249, .07);
  --brilho1: rgba(191, 88, 116, .10); --brilho2: rgba(116, 27, 55, .12);
  --vidro: rgba(22, 17, 19, .8); --vidro-card: rgba(28, 23, 25, .92);
}
/* botão principal em bordô sólido, sem degradê rosa */
:root .btn.pri, :root[data-tema="claro"] .btn.pri { background: var(--acento); border-color: var(--acento); color: #fff; }
:root .btn.pri:hover:not(:disabled) { background: var(--acento-forte); border-color: var(--acento-forte); }

/* Testar com 1 vídeo: tipo de produto e formato que não serve para o produto */
.tst-tipos { margin: 0 0 12px; }
.tst-op.tst-off, .tst-op:disabled { opacity: .45; cursor: not-allowed; }
.tst-aviso { border: 1px solid color-mix(in srgb, var(--aviso) 35%, transparent); background: color-mix(in srgb, var(--aviso) 8%, var(--card)); border-radius: var(--raio-sm); padding: 10px 14px; margin-bottom: 12px; font-size: 13.5px; }

/* Produtos para vídeo (#/selecao): passos ao lado, uma etapa por vez */
.sel { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.sel-passos { flex: 1 1 220px; max-width: 260px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sel-passos li { display: grid; grid-template-columns: 30px 1fr; gap: 0 10px; align-items: center; padding: 10px 12px; border-radius: var(--raio-sm); border: 1px solid var(--borda); background: var(--card); }
.sel-passos li span { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--sup2); color: var(--mudo); }
.sel-passos li small { color: var(--mudo); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel-passos li.on { border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 12%, transparent); }
.sel-passos li.on span { background: var(--acento); color: #fff; }
.sel-passos li.feito span { background: var(--ok); color: #fff; }
.sel-corpo { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sel-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sel-card { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--raio-sm); border: 2px solid var(--borda2); background: var(--card); color: var(--texto); cursor: pointer; }
.sel-card small { color: var(--mudo); }
.sel-card.on { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 6%, var(--card)); }
.sel-novo { color: var(--acento); font-weight: 600; }
.sel-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sel-prod { position: relative; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 8px; border-radius: var(--raio-sm); border: 2px solid var(--borda2); background: var(--card); color: var(--texto); cursor: pointer; }
.sel-prod img, .sel-sem { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: var(--sup2); display: block; margin-bottom: 6px; }
.sel-prod b { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sel-prod small { color: var(--mudo); font-size: 12px; }
.sel-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.sel-prod.on { border-color: var(--acento); background: color-mix(in srgb, var(--acento) 5%, var(--card)); }
.sel-prod:not(.on) img { opacity: .55; }
.sel-check { position: absolute; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--borda3); background: var(--card); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; z-index: 1; }
.sel-prod.on .sel-check { background: var(--acento); border-color: var(--acento); }
.sel-nav { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--borda); padding-top: 14px; margin-top: 6px; }
.sel-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sel-mini img, .sel-mini span { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; background: var(--sup2); }
.sel-mais { display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--mudo); }
.sel-ok { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.sel-ok-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); font-weight: 700; font-size: 22px; }
@media (max-width: 860px) { .sel-passos { max-width: none; flex-direction: row; overflow-x: auto; } .sel-passos li { min-width: 160px; } }

/* Logo Multiplika (proposta B, "Leque", Figma, 25/11/2026). O nome usa currentColor = cor do texto do tema. */
.side .marca .marca-ico { display: none; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; }
.side .marca .marca-n { display: block; color: var(--texto); line-height: 0; }
.mk-assinatura { height: 30px; width: auto; display: block; }
.mk-simbolo { height: 30px; width: auto; display: block; }
.acesso-marca { margin-bottom: 18px; }
.acesso-logo { height: 34px; width: auto; display: block; }
@media (max-width: 1100px) and (min-width: 761px) {
  .side .marca .marca-ico { display: grid; place-items: center; }
  .side .marca .marca-n { display: none; }
}
.side .marca .marca-ico svg.mk-simbolo { width: 34px; height: auto; margin: 0; }
.acesso-marca::before { content: none !important; display: none !important; }

/* Personagem própria: área de soltar com miniaturas (25/11/2026) */
.mdl-arqs { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.mdl-arq { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--card2); }
.mdl-arq img, .mdl-arq video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mdl-play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 22px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); pointer-events: none; }
.mdl-dur { position: absolute; left: 6px; bottom: 6px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; }
.mdl-dur:empty { display: none; }
.mdl-arqs .cad-drop { min-height: 44px; }
.mdl-arqs .cad-drop:not(.mini) { grid-column: 1 / -1; }
.mdl-arqs .cad-drop:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
/* Modelo recém-criada em destaque (25/11/2026) */
.mdl.mdl-nova { box-shadow: 0 0 0 2px var(--acento); }
/* Fotos da modelo em tela cheia (25/11/2026) */
.mdl-ver { display: contents; cursor: zoom-in; }
.mdl-ver img { cursor: zoom-in; }
.mdl-ver:focus-visible img { outline: 2px solid var(--acento); outline-offset: -2px; }
.mdl-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 8, 9, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 16px 16px; }
.mdl-lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; flex: 1; }
.mdl-lb figure img { max-width: min(92vw, 900px); max-height: calc(100vh - 210px); object-fit: contain; border-radius: 12px; }
.mdl-lb figcaption { color: #fff; font-size: 14px; }
.mdl-lb figcaption span { opacity: .7; margin-left: 8px; }
.mdl-lb-x, .mdl-lb-seta { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.mdl-lb-x { top: 12px; right: 12px; }
.mdl-lb-seta { top: 50%; transform: translateY(-50%); }
.mdl-lb-seta.e { left: 12px; } .mdl-lb-seta.d { right: 12px; }
.mdl-lb-x:hover, .mdl-lb-seta:hover { background: rgba(255, 255, 255, .26); }
.mdl-lb-tira { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding-bottom: 2px; }
.mdl-lb-tira button { flex: 0 0 auto; width: 52px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: none; cursor: pointer; opacity: .6; }
.mdl-lb-tira button.on { border-color: #fff; opacity: 1; }
.mdl-lb-tira img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .mdl-lb-seta { width: 44px; height: 44px; } .mdl-lb figure img { max-height: calc(100vh - 190px); } }
/* Tela cheia mostra o vídeo vertical inteiro (o object-fit: cover das prévias cortava e ampliava, 25/11/2026) */
video:fullscreen, video:-webkit-full-screen { object-fit: contain !important; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; aspect-ratio: auto !important; border-radius: 0 !important; background: #000 !important; }

/* Barra lateral com rolagem (25/11/2026, dono: "a barra lateral não está com scroll funcional"):
   ela é fixa na altura da tela; com muitos itens o fim (Ajustes, Instalação, usuário) ficava fora e não rolava. */
@media (min-width: 761px) {
  .side { height: 100vh; height: 100dvh; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--borda3, var(--borda)) transparent; }
  .side > * { flex-shrink: 0; }
  .side::-webkit-scrollbar { width: 6px; }
  .side::-webkit-scrollbar-thumb { background: var(--borda); border-radius: 6px; }
}

/* Testar com 1 vídeo em passo a passo (25/11/2026): etapas clicáveis ao lado, uma página por etapa */
.tst-ir { all: unset; box-sizing: border-box; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; width: 100%; cursor: pointer; border-radius: 12px; }
.tst-ir > span { grid-row: span 2; }
.tst-ir small { grid-column: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tst-ir:disabled { cursor: default; opacity: .55; }
.tst-ir:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.sel-passos li.tst-pulado { opacity: .5; }
.tst-revisao { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 6px 0 12px; }
@media (max-width: 760px) { .tst-revisao { grid-template-columns: 1fr; } }
.sel-passos li:has(> .tst-ir) { display: block; padding: 0; } .sel-passos li > .tst-ir { padding: 10px 12px; }

/* Passo a passo em tela cheia (25/11/2026, dono: "as páginas precisam ocupar 100% vh… a barra das etapas pode ficar no topo"):
   Testar 1 vídeo e Produtos para vídeo cabem na altura da janela; etapas numa faixa no topo; só o meio do cartão rola;
   Voltar/Próximo ficam sempre à vista. No celular segue o fluxo normal da página. */
.wz-passos { list-style: none; margin: 0 0 9px; padding: 3px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 8px; overflow-x: auto; scrollbar-width: thin; scroll-behavior: smooth; flex-shrink: 0; }
.wz-passos li { min-width: 0; display: grid; grid-template-columns: 28px 1fr; gap: 0 9px; align-items: center; padding: 8px 10px; border-radius: var(--raio-sm); border: 1px solid var(--borda); background: var(--card); }
.wz-passos li:has(> .tst-ir) { display: block; padding: 0; }
.wz-passos li > .tst-ir { padding: 8px 10px; grid-template-columns: 28px 1fr; column-gap: 9px; }
.wz-passos span { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; background: var(--sup2); color: var(--mudo); }
.wz-passos b { font-size: 13px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wz-passos small { color: var(--mudo); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wz-passos li.on { border-color: var(--acento); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acento) 12%, transparent); }
.wz-passos li.on span { background: var(--acento); color: #fff; }
.wz-passos li.feito span { background: var(--ok); color: #fff; }
.wz-passos li.tst-pulado { opacity: .5; }
.wz-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.wz-card > .wz-corpo { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.wz-card .wz-corpo > .h2, .wz-card .wz-corpo > .wz-tit { margin: 0; }
.wz-card .wz-corpo > .h2 + .mudo { margin: -6px 0 2px; }
.wz-card > .sel-nav { margin: 0; padding: 12px 20px; border-top: 1px solid var(--borda); background: var(--card); }
.wz-intro { margin: -8px 0 10px; }
.wz-hist { position: relative; }
.wz-hist > summary { list-style: none; cursor: pointer; }
.wz-hist > summary::-webkit-details-marker { display: none; }
.wz-hist-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(560px, 80vw); max-height: 60vh; overflow: auto; background: var(--card); border: 1px solid var(--borda2, var(--borda)); border-radius: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .35); padding: 6px 12px; }
.wz-hist-pop .tst-h { padding: 10px 0; }

@media (min-width: 761px) {
  .lado-dir:has(.wz-tela:not(.wz-embutido)) { height: 100vh; height: 100dvh; overflow: hidden; overflow: clip; } /* clip: nem o foco nem o menu "Testes anteriores" rolam a página */
  .lado-dir:has(.wz-tela:not(.wz-embutido)) > .barra-topo { flex-shrink: 0; } /* sem isto a barra de cima encolhia para caber */
  .lado-dir:has(.wz-tela:not(.wz-embutido)) .wz-hist-pop { max-height: calc(100dvh - 220px); }
  .lado-dir:has(.wz-tela:not(.wz-embutido)) .main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
  .lado-dir:has(.wz-tela:not(.wz-embutido)) .main > .top { margin-bottom: 12px; }
  .lado-dir:has(.wz-tela:not(.wz-embutido)) .main > .faixa-inst { margin-bottom: 12px; }
  .wz-tela { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .wz-card { flex: 1 1 auto; min-height: 0; }
  .wz-card > .wz-corpo { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
}
@media (max-width: 760px) {
  .wz-passos { display: flex; overflow-x: auto; scrollbar-width: none; }
  .wz-passos li { flex: 0 0 170px; }
}
/* cadastro (produto/conta) e Nova modelo no padrão de passo a passo */
.wz-tela.cad { gap: 0; margin-top: 0; }
.wz-tela.cad .cad-cab { align-items: center; margin-bottom: 10px; }
.mdl-modos-mini { display: inline-flex; gap: 6px; }
.wz-card .wz-corpo .mdl-form { display: flex; flex-direction: column; gap: 14px; }
/* Painel da equipe na nuvem: faixa "Ao vivo" / "Computador desligado" (25/11/2026) */
.faixa-pc { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--sup, var(--panel)); color: var(--texto); border: 1px solid var(--borda2); }
.faixa-pc .fp-ponto { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok, #0F8A5F); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok, #0F8A5F) 22%, transparent); }
.faixa-pc[data-ligado="0"] .fp-ponto { background: var(--aviso, #B7791F); box-shadow: 0 0 0 3px color-mix(in srgb, var(--aviso, #B7791F) 22%, transparent); }
/* Saldo da BytePlus no topo (25/11/2026) */
.saldo-wrap { position: relative; display: inline-flex; }
.saldo-wrap:empty { display: none; }
.saldo-pill { cursor: pointer; font: inherit; font-size: 12px; color: var(--mudo); }
.saldo-pill b { color: var(--texto); font-weight: 700; font-variant-numeric: tabular-nums; }
.saldo-pill:hover { border-color: var(--acento, var(--borda2)); }
.saldo-pill.baixo b { color: var(--aviso, #B7791F); }
.saldo-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; width: 340px; max-width: calc(100vw - 32px); padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--borda2); box-shadow: 0 12px 32px rgba(0, 0, 0, .22); font-size: 13px; color: var(--texto); }
.saldo-pop[hidden] { display: none; }
.saldo-lin { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.saldo-lin b { font-size: 16px; font-variant-numeric: tabular-nums; }
.saldo-lin span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.saldo-lin.fraco { color: var(--mudo); font-size: 12.5px; }
.saldo-pop hr { border: 0; border-top: 1px solid var(--borda); margin: 8px 0; }
.saldo-nota { margin: 8px 0 10px; font-size: 12px; color: var(--mudo); line-height: 1.45; }
.saldo-form { display: grid; gap: 6px; font-size: 12.5px; }
.saldo-form label { color: var(--mudo); }
.saldo-campo { display: flex; gap: 8px; }
.saldo-campo input { flex: 1; min-width: 0; }
.saldo-form a { color: var(--acento); font-size: 12.5px; }
@media (max-width: 760px) {
  .saldo-rot { display: none; }
  #pill-claude { display: none; }
  .faixa-pc[data-ligado="1"] .fp-txt { display: none; }
  .faixa-pc { padding: 6px 9px; }
  .saldo-pop { position: fixed; top: 64px; right: 16px; left: 16px; width: auto; }
}
.acesso-links { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--fraco); }
.acesso-links a { color: var(--acento); font-weight: 600; }
/* Login da equipe na nuvem: esqueci a senha junto do campo, criar acesso separado do Entrar (25/11/2026) */
.acesso-esqueci { align-self: flex-end; margin-top: -8px; font-size: 12.5px; font-weight: 600; color: var(--acento); text-decoration: none; padding: 4px 0; }
.acesso-esqueci:hover { text-decoration: underline; }
.acesso-ou { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--fraco); font-size: 12.5px; }
.acesso-ou::before, .acesso-ou::after { content: ""; flex: 1; height: 1px; background: var(--borda); }
.acesso-sec { width: 100%; justify-content: center; min-height: 42px; }
.acesso-rodape { margin: 20px 0 0 !important; padding-top: 14px; border-top: 1px solid var(--borda); text-align: center; font-size: 12.5px; color: var(--fraco); }
.acesso-rodape a { color: var(--texto); font-weight: 600; }
svg.acesso-logo { color: var(--texto); }
/* Formatos: princípios de todo vídeo (25/11/2026) */
.prin { margin-bottom: 18px; }
.prin summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; list-style: none; min-height: 28px; }
.prin summary::-webkit-details-marker { display: none; }
.prin summary::after { content: "Ver"; margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--acento); }
.prin[open] summary::after { content: "Fechar"; }
.prin summary .fraco { font-size: 12.5px; }
.prin-l { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 12px; }
.prin-l li { display: grid; gap: 2px; font-size: 13.5px; }
.prin-l li span { color: var(--mudo); }
.prin-l li em { font-style: normal; font-size: 12px; color: var(--fraco); }

/* Testar 1 vídeo: último teste em destaque ao voltar para a tela (25/11/2026) */
.tst-recente { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--borda2); color: var(--texto); text-decoration: none; }
.tst-recente:hover { border-color: var(--acento); }
.tst-recente img, .tst-recente .tst-sem { width: 44px; height: 56px; border-radius: 8px; object-fit: cover; flex: none; background: var(--card2); }
.tst-recente-txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.tst-recente-txt small { color: var(--mudo); font-size: 12.5px; }
.tst-recente-txt .tst-recente-erro { color: var(--ruim, #C0392B); }
.tst-recente.andando { border-left: 4px solid var(--acento); }
.tst-recente.ok { border-left: 4px solid var(--ok); }
.tst-recente.erro { border-left: 4px solid var(--ruim, #C0392B); }
.tst-recente .btn { flex: none; }
@media (max-width: 760px) { .tst-recente { flex-wrap: wrap; } .tst-recente .btn { width: 100%; justify-content: center; } }

/* Foto do perfil do TikTok na conta (25/11/2026): círculo no lugar da letra; @ abaixo do nome */
.conta-a { border-radius: 999px; flex: none; }
.conta-foto { padding: 0; overflow: hidden; background: var(--card2); box-shadow: 0 0 0 1px var(--borda2); }
.conta-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.conta-n .conta-h { display: block; font-size: 13px; color: var(--mudo); margin-top: 1px; }
.cl-n-foto { display: flex; flex-direction: row !important; align-items: center; gap: 10px; min-width: 0; }
.cl-n-foto > div:last-child { display: flex; flex-direction: column; min-width: 0; }
/* Assistente de instalação no padrão de passo a passo (25/11/2026) */
.inst-prog-mini { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mudo); }
.inst-prog-mini b { color: var(--texto); }
.inst-prog-barra { width: 90px; height: 6px; border-radius: 99px; background: var(--sup2); overflow: hidden; }
.inst-prog-barra i { display: block; height: 100%; background: var(--acento); border-radius: 99px; }
.inst-wz .wz-corpo .wiz-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.inst-wz .wz-corpo .wiz-t { margin: 0; }
.inst-wz .sel-nav .linha { gap: 8px; }
.inst-wz .wz-passos { grid-auto-columns: minmax(172px, 1fr); }

.tst-outros { margin: 12px 0 8px; }
.tst-ia span.tag { display: inline-block; flex-direction: initial; width: auto; margin-left: 8px; padding: 2px 8px; font-size: 11px; font-weight: 600; vertical-align: 1px; }
.tst-outros { width: auto; align-self: flex-start; display: inline-flex; }

/* Revisar e gerar: fotos das escolhas (25/11/2026) */
.tst-escolhas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 10px 0 14px; }
.tst-esc { margin: 0; border: 1px solid var(--borda2); border-radius: 14px; overflow: hidden; background: var(--panel); display: flex; align-items: stretch; min-height: 120px; }
.tst-esc img, .tst-esc-sem { width: 90px; flex: none; object-fit: cover; display: block; background: var(--card2); }
.tst-esc-sem { display: grid; place-items: center; font-size: 28px; color: var(--mudo); }
.tst-esc figcaption { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; font-size: 12.5px; min-width: 0; }
.tst-esc figcaption span { color: var(--mudo); }
.tst-esc figcaption b { font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tst-esc .link { align-self: flex-start; margin-top: auto; background: none; border: 0; padding: 4px 0 0; color: var(--acento); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; }
@media (max-width: 760px) { .tst-escolhas { grid-template-columns: 1fr; gap: 8px; } .tst-esc { min-height: 96px; } .tst-esc img, .tst-esc-sem { width: 72px; } }
