/* Prospecção — complementos do painel (só tokens semânticos da Central, claro e escuro). */
.wrap { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.panel h3 { margin: 0 0 4px; font: 700 17px var(--redes-font-display); }
.panel .sub { margin-bottom: 14px; }
.keyrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.keyrow .redes-input { flex: 1 1 260px; min-width: 0; font-family: ui-monospace, Consolas, monospace; }
.state { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.mrow { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(220px, 2fr) auto; gap: 10px; align-items: start; padding: 12px 0; border-top: 1px solid var(--redes-line); }
.mrow:first-of-type { border-top: 0; padding-top: 0; }
.mrow .lb { font-weight: 700; font-size: 14px; padding-top: 11px; }
.mrow .price { font-size: 12.5px; color: var(--redes-muted); margin-top: 4px; }
.testout { grid-column: 1 / -1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--a-ctl); background: var(--a-raised); font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.testout.bad { border-color: var(--a-bad); color: var(--a-bad); }
.testout small { display: block; color: var(--redes-muted); margin-top: 4px; }
.ubar { height: 10px; border-radius: 99px; background: var(--redes-surface-emphasis, var(--a-emph)); overflow: hidden; margin: 8px 0 4px; }
.ubar i { display: block; height: 100%; background: var(--redes-primary); }
.ubar.hot i { background: var(--a-warn); }
.soon { max-width: 640px; margin: 8vh auto 0; }
.soon ul { text-align: left; margin: 12px auto 0; max-width: 460px; line-height: 1.7; color: var(--a-text2); }
.actions.left { justify-content: flex-start; }
@media (max-width: 720px) {
  .mrow { grid-template-columns: 1fr; }
  .mrow .lb { padding-top: 0; }
  .mrow .redes-btn { width: 100%; }
}

/* estado "já existe / foi salvo" — bem visível nos dois temas */
.savedbox { display: flex; gap: 12px; align-items: center; padding: 10px 14px; margin: 0 0 12px; border-radius: 12px; border: 1px solid var(--a-ok); background: var(--a-okbg); }
.savedbox .chk { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--a-ok); color: #fff; }
:root[data-theme=dark] .savedbox .chk { color: #06231a; }
.savedbox b { display: block; font-size: 14.5px; color: var(--redes-text); }
.savedbox .meta { font-size: 12.5px; color: var(--a-text2); margin-top: 2px; }
.savedbox.warn { border-color: var(--a-warn); background: var(--a-warnbg); }
.savedbox.warn .chk { background: var(--a-warn); }
.savedbox.bad { border-color: var(--a-bad); background: var(--a-badbg); }
.savedbox.bad .chk { background: var(--a-bad); }
.panel.is-saved { border-left: 4px solid var(--a-ok); }
.mrow .lb .bdg { margin-top: 6px; font-weight: 400; }
.panel.flash { animation: fl 1.2s ease-out 2; }

/* Modelo de página: exemplo ao vivo */
.view:has(.mwrap) { display: flex; flex-direction: column; }
.mwrap { display: flex; flex-direction: column; gap: 12px; flex: 1; min-height: 0; max-width: 1500px; width: 100%; margin: 0 auto; }
.mhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.mhead .sub { margin: 0; max-width: 720px; }
.mbar { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; padding: 12px 14px; border: 1px solid var(--redes-line); border-radius: 14px; background: var(--redes-surface); }
.mgrp { display: flex; align-items: center; gap: 10px; }
.mgrp .lb { font-size: 13px; font-weight: 700; color: var(--a-text2); }
.mgrp select { min-width: 230px; }
.tsws { display: flex; gap: 6px; flex-wrap: wrap; }
.tsw { display: inline-flex; width: 44px; height: 44px; padding: 5px; gap: 0; border-radius: 12px; border: 1px solid var(--a-ctl); background: var(--a-raised); overflow: hidden; }
.tsw span { flex: 1; height: 100%; }
.tsw span:first-child { border-radius: 7px 0 0 7px; } .tsw span:last-child { border-radius: 0 7px 7px 0; }
.tsw[aria-pressed=true] { outline: 2px solid var(--redes-primary); outline-offset: 2px; }
.segb { display: inline-flex; border: 1px solid var(--a-ctl); border-radius: 12px; overflow: hidden; }
.seg-b { min-height: 44px; padding: 0 16px; border: 0; background: var(--a-raised); color: var(--redes-text); font-weight: 600; }
.seg-b + .seg-b { border-left: 1px solid var(--a-ctl); }
.seg-b[aria-pressed=true] { background: var(--a-emph); color: var(--redes-primary); }
.stage { flex: 1; min-height: 640px; display: flex; justify-content: center; padding: 16px; border-radius: 16px; background: var(--redes-bg); border: 1px dashed var(--redes-line); }
.device { height: 100%; min-height: 600px; max-width: 100%; transition: width .35s ease; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); border: 1px solid var(--a-ctl); background: #fff; }
.stage[data-device=mobile] .device { border-radius: 30px; border-width: 8px; border-color: #1b1d1c; }
.mframe { display: block; width: 100%; height: 100%; min-height: 600px; border: 0; }
@media (max-width: 720px) { .stage { padding: 8px; min-height: 520px; } .mgrp select { min-width: 0; width: 100%; } .mgrp { flex-wrap: wrap; } }
.lcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.lcard { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto 1fr; gap: 2px 12px; text-align: left; padding: 12px; border-radius: 14px; border: 1px solid var(--a-ctl); background: var(--redes-surface); color: var(--redes-text); }
.lcard b { font-size: 15px; } .lcard > span:last-child { font-size: 12.5px; color: var(--redes-muted); line-height: 1.4; }
.lcard[aria-pressed=true] { border-color: var(--redes-primary); box-shadow: inset 0 0 0 1px var(--redes-primary); }
.lthumb { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 10px; position: relative; overflow: hidden; background: #f4ece1; }
.lthumb i { position: absolute; display: block; }
.lthumb.l-aurora i:nth-child(1) { left: 6px; top: 14px; width: 26px; height: 5px; background: #231f1c; border-radius: 2px; box-shadow: 0 9px 0 #8f6b33, 0 18px 0 -1px #d4af77; }
.lthumb.l-aurora i:nth-child(2) { right: 6px; top: 8px; width: 22px; height: 46px; border-radius: 12px 12px 4px 4px; background: #d4af77; }
.lthumb.l-atelier { background: #f4f1ec; }
.lthumb.l-atelier i:nth-child(1) { left: 6px; top: 8px; right: 6px; height: 14px; background: #121212; }
.lthumb.l-atelier i:nth-child(2) { left: 6px; top: 26px; width: 30px; height: 4px; background: #6e5426; }
.lthumb.l-atelier i:nth-child(3) { left: 0; right: 0; bottom: 6px; height: 22px; background: #b08d57; }
.lthumb.l-vitalle { background: #fbfaff; }
.lthumb.l-vitalle i:nth-child(1) { left: 5px; top: 5px; width: 30px; height: 54px; border-radius: 9px; background: #efeafd; }
.lthumb.l-vitalle i:nth-child(2) { right: 5px; top: 5px; width: 22px; height: 30px; border-radius: 9px; background: #b9a6f2; }
.lthumb.l-vitalle i:nth-child(3) { right: 5px; bottom: 5px; width: 22px; height: 20px; border-radius: 9px; background: #1e1b2e; }
.stage { height: calc(100dvh - 330px); }
.mact { display: flex; gap: 8px; flex-wrap: wrap; }
.mbar .check { margin: 0; min-height: 44px; align-items: center; }
.lthumb.l-glow { background: #fff9ee; }
.lthumb.l-glow i:nth-child(1) { left: 5px; top: 18px; width: 14px; height: 34px; border-radius: 99px; background: #fce5d6; }
.lthumb.l-glow i:nth-child(2) { left: 14px; top: 10px; width: 18px; height: 46px; border-radius: 99px; background: #f3b08f; border: 2px solid #fff9ee; }
.lthumb.l-glow i:nth-child(3) { right: 6px; top: 4px; width: 26px; height: 56px; border-radius: 99px; background: #e0602c; border: 2px solid #fff9ee; }
.lthumb.l-serena { background: #fff; }
.lthumb.l-serena i:nth-child(1) { left: 8px; right: 8px; top: 12px; height: 5px; background: #23241e; box-shadow: 0 9px 0 #23241e; }
.lthumb.l-serena i:nth-child(2) { left: 22px; top: 31px; width: 20px; height: 26px; border-radius: 99px 99px 0 0; background: #a3a78e; }
.lthumb.l-serena i:nth-child(3) { left: 4px; bottom: 7px; width: 14px; height: 18px; border-radius: 0 12px 0 12px; background: #5d604f; box-shadow: 42px 0 0 #5d604f; }
.lthumb.l-noir { background: linear-gradient(180deg, #3a3640, #111114); }
.lthumb.l-noir i:nth-child(1) { left: 7px; bottom: 22px; width: 34px; height: 6px; background: #f3efe8; box-shadow: 0 9px 0 #d9b779; }
.lthumb.l-noir i:nth-child(2) { left: 7px; bottom: 7px; width: 18px; height: 6px; border: 1px solid #d9b779; }
.lthumb.l-noir i:nth-child(3) { right: 6px; top: 10px; width: 2px; height: 30px; background: rgba(217,183,121,.6); }
/* visualizador em tela cheia */
body.fsv-on { overflow: hidden; }
.fsv { position: fixed; inset: 0; z-index: 100; display: flex; justify-content: center; background: #0b0c0b; }
.fsv[data-device=tablet], .fsv[data-device=mobile] { padding: 24px 0 96px; background: radial-gradient(circle at 50% 30%, #262a27, #0b0c0b); }
.fsv-box { height: 100%; max-width: 100%; transition: width .35s ease; }
.fsv[data-device=mobile] .fsv-box { border: 10px solid #1b1d1c; border-radius: 40px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.fsv[data-device=tablet] .fsv-box { border: 12px solid #1b1d1c; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.fsv-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }
.fsv-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 6px; padding: 8px; border-radius: 999px; background: rgba(18, 20, 19, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 16px 40px rgba(0,0,0,.45); color: #f5f7f6; transition: opacity .4s, transform .4s; max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; }
.fsv.idle .fsv-bar { opacity: 0; transform: translate(-50%, 16px); pointer-events: none; }
.fsv.idle { cursor: none; }
.fsv-b { flex: none; min-height: 40px; min-width: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: inherit; font: 600 13.5px var(--redes-font-main); cursor: pointer; white-space: nowrap; }
.fsv-b:hover { background: rgba(255,255,255,.1); }
.fsv-b[aria-pressed=true] { background: rgba(120,230,193,.18); color: #78e6c1; }
.fsv-x { background: rgba(255,255,255,.1); }
.fsv-name { flex: none; min-width: 150px; text-align: center; font: 700 14px var(--redes-font-main); }
.fsv-sep { flex: none; width: 1px; height: 22px; background: rgba(255,255,255,.16); margin: 0 4px; }
.lcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .lcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lcards { grid-template-columns: 1fr; } }

/* ── Buscar ── */
.wrap.wide { max-width: 1240px; }
.sgrid { display: grid; grid-template-columns: 1.4fr 1.1fr 1fr .8fr; gap: 12px; }
.costrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--redes-line); }
.cost b { display: block; font-size: 14.5px; } .cost span { font-size: 13px; color: var(--redes-muted); }
.tscroll { overflow-x: auto; }
tr.clk { cursor: pointer; } tr.clk:hover td { background: var(--a-hover); }
.go-arrow { color: var(--redes-primary); font-weight: 700; }
/* ── Funil ── */
.fhead { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fhead .t { margin: 0; }
.muted { color: var(--redes-muted); font-size: 13px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--a-ctl); background: var(--redes-surface); color: var(--redes-text); font-weight: 600; font-size: 13.5px; }
.chip .cnt { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--a-raised); font-size: 12px; text-align: center; }
.chip.on { border-color: var(--redes-primary); box-shadow: inset 0 0 0 1px var(--redes-primary); }
.chip.on .cnt { background: var(--redes-primary); color: var(--a-on-primary); }
.filters .redes-input[type=search] { flex: 2 1 260px; }
.strip-in { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--a-warnbg); color: var(--a-warn); font-size: 13.5px; font-weight: 600; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.plist2 { display: flex; flex-direction: column; gap: 8px; }
.prow { display: grid; grid-template-columns: 52px minmax(0, 2fr) minmax(0, 1.3fr) 150px 210px; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--redes-surface); border: 1px solid var(--redes-line); cursor: pointer; transition: border-color .2s, background .2s; }
.prow:hover { border-color: var(--a-ctl); background: var(--a-hover); }
.score { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font: 800 16px var(--redes-font-display); border: 2px solid var(--a-ctl); }
.score.hot { border-color: var(--a-ok); color: var(--a-ok); background: var(--a-okbg); }
.score.warm { border-color: var(--a-warn); color: var(--a-warn); background: var(--a-warnbg); }
.score.cold { color: var(--redes-muted); }
.pmain { min-width: 0; } .pmain b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pmain .muted { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pmeta { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; font-size: 13.5px; }
.rate b { font-weight: 700; } .rate { color: var(--a-warn); }
.pphone { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.pstat { display: flex; flex-direction: column; gap: 4px; }
.redes-input.sm { min-height: 38px; padding: 6px 10px; font-size: 13.5px; }
.next { font-size: 12px; color: var(--redes-muted); }
/* ── Ficha ── */
.back { display: inline-flex; align-items: center; min-height: 40px; font-weight: 700; color: var(--redes-primary); text-decoration: none; }
.phead { display: grid; grid-template-columns: 64px 1fr 230px; gap: 16px; align-items: center; }
.phead .score { width: 60px; height: 60px; font-size: 20px; }
.pt h2 { margin: 0; font: 700 22px var(--redes-font-display); overflow-wrap: anywhere; }
.qact { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pstage .lb { display: block; font-size: 12.5px; font-weight: 700; color: var(--a-text2); margin-bottom: 4px; }
.cgrid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 14px; align-items: start; }
.ccol { display: flex; flex-direction: column; gap: 14px; }
.ccol .panel + .panel { margin-top: 0; }
.ph3 { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; } .ph3 h3 { margin: 0; }
.issues { margin: 0 0 10px; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--redes-text); }
.facts { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13.5px; }
.facts li { display: flex; gap: 8px; align-items: center; } .facts span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 800; flex: none; }
.facts .yes span { background: var(--a-okbg); color: var(--a-ok); } .facts .no span { background: var(--a-badbg); color: var(--a-bad); } .facts .info span { background: var(--a-raised); }
.ticks2 { margin: 0; padding-left: 18px; line-height: 1.8; font-size: 14px; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 0; font-size: 14px; } .dl dt { color: var(--redes-muted); } .dl dd { margin: 0; }
.narow { display: grid; grid-template-columns: 220px 1fr auto; gap: 8px; }
.hform textarea { margin-top: 8px; }
.tl { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--redes-line); }
.tl li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--redes-line); }
.tl .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--a-raised); font-size: 14px; }
.tl p { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; } .tl small { color: var(--redes-muted); font-size: 12px; }
.tl .k-status .ico { background: var(--a-okbg); color: var(--a-ok); }
.soonp { border-style: dashed; }
@media (max-width: 1020px) {
  .prow { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .prow .pphone { display: none; } .prow .pstat { grid-column: 2 / -1; flex-direction: row; align-items: center; }
  .cgrid { grid-template-columns: 1fr; } .phead { grid-template-columns: 60px 1fr; } .pstage { grid-column: 1 / -1; }
  .sgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .prow .pmeta { grid-column: 2 / -1; flex-direction: row; flex-wrap: wrap; }
  .sgrid, .narow { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr; }
  .costrow .redes-btn { width: 100%; }
}
@media (max-width: 640px) { .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px 4px; } .chip { flex: none; } }

/* ── Ficha: site do lead e temas ── */
.sitep { margin-bottom: 14px; }
.sitep .sub { margin-bottom: 12px; }
.linkrow2 { display: flex; gap: 8px; } .linkrow2 .redes-input { flex: 1; font-family: ui-monospace, Consolas, monospace; font-size: 13.5px; }
.talk { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: t; }
.talk li { position: relative; padding: 12px 14px 12px 44px; border-radius: 12px; background: var(--a-raised); border: 1px solid var(--redes-line); counter-increment: t; }
.talk li::before { content: counter(t); position: absolute; left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 12px var(--redes-font-display); background: var(--redes-primary); color: var(--a-on-primary); }
.talk .tt { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; } .talk b { font-size: 14.5px; }
.talk small { display: block; color: var(--redes-muted); font-size: 12.5px; margin: 2px 0 6px; } .talk p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--a-text2); }
.cpy { flex: none; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--a-ctl); background: var(--redes-surface); color: var(--redes-text); }
.cpy:hover { border-color: var(--redes-primary); color: var(--redes-primary); }
/* ── Editor do site ── */
.view.edview { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.edwrap { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.edtop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 14px; border-bottom: 1px solid var(--redes-line); background: var(--redes-surface); }
.edtop .back { min-height: 36px; } .edname { font: 700 15px var(--redes-font-display); max-width: 30vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svstate { font-size: 12.5px; font-weight: 700; color: var(--a-ok); } .svstate.dirty { color: var(--a-warn); } .svstate.bad { color: var(--a-bad); }
.sp1 { flex: 1; }
.edtop .seg-b { min-height: 36px; }
.edgrid { flex: 1; min-height: 0; display: grid; grid-template-columns: 420px 1fr; }
.edform { overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--redes-line); background: var(--redes-bg); }
.edsec { border: 1px solid var(--redes-line); border-radius: 12px; background: var(--redes-surface); padding: 0 12px; }
.edsec[open] { padding-bottom: 12px; }
.edsec summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; list-style: none; }
.edsec summary::-webkit-details-marker { display: none; }
.edsec summary b { flex: 1; font-size: 14.5px; } .edsec summary .muted { font-size: 12px; }
.edsec.off summary b { color: var(--redes-muted); text-decoration: line-through; }
.edsec .vis input { width: 20px; height: 20px; accent-color: var(--redes-primary); margin: 0; }
.mvs { display: flex; gap: 4px; }
.ib2 { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--a-ctl); background: var(--a-raised); color: var(--redes-text); font-weight: 700; }
.ib2[disabled] { opacity: .35; }
.edsec .field textarea { min-height: 64px; }
.edsec .lb { display: block; font-size: 13px; font-weight: 600; color: var(--a-text2); margin: 10px 0 4px; }
.lminis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 4px; }
.lmini { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--a-ctl); background: var(--a-raised); color: var(--redes-text); font-size: 12.5px; }
.lmini .lthumb { width: 54px; height: 44px; } .lmini[aria-pressed=true] { border-color: var(--redes-primary); box-shadow: inset 0 0 0 1px var(--redes-primary); }
.rows2 { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.rowit { display: grid; gap: 6px; padding: 10px; border-radius: 10px; border: 1px dashed var(--a-ctl); background: var(--a-raised); }
.rowit .redes-input { min-height: 38px; font-size: 13.5px; } .rowit textarea.redes-input { min-height: 54px; }
.rowbtns { display: flex; gap: 6px; justify-content: flex-end; }
.warnt { color: var(--a-warn); }
.addsec { display: flex; gap: 8px; padding: 4px 0 20px; } .addsec select { flex: 1; }
.edstage { display: flex; justify-content: center; background: repeating-conic-gradient(var(--a-raised) 0% 25%, var(--redes-bg) 0% 50%) 50% / 24px 24px; overflow: hidden; }
.edstage[data-device=tablet], .edstage[data-device=mobile] { padding: 16px; }
.edbox { width: 100%; height: 100%; max-width: 100%; transition: width .3s ease; background: #fff; }
.edstage[data-device=mobile] .edbox { border: 8px solid #1b1d1c; border-radius: 30px; overflow: hidden; height: calc(100% - 8px); }
.edstage[data-device=tablet] .edbox { border: 10px solid #1b1d1c; border-radius: 22px; overflow: hidden; height: calc(100% - 8px); }
.edframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1020px) {
  .view.edview { overflow-y: auto; display: block; }
  .edgrid { grid-template-columns: 1fr; } .edform { border-right: 0; max-height: none; overflow: visible; }
  .edstage { height: 75vh; order: -1; } .edtop .seg-b { display: none; }
}
/* fotos no editor */
.imgrow { display: flex; gap: 10px; align-items: center; }
.imgth { flex: none; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--a-ctl); background: var(--a-raised); display: grid; place-items: center; text-align: center; font-size: 11px; color: var(--redes-muted); padding: 2px; }
.imgth img { width: 100%; height: 100%; object-fit: cover; }
.imgbtns { display: flex; gap: 6px; flex-wrap: wrap; }
.galed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.gitem { display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 10px; border: 1px solid var(--a-ctl); background: var(--a-raised); }
.gitem img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.gitem .redes-input { min-height: 34px; font-size: 12px; padding: 4px 8px; }
/* mensagens prontas */
.mtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--redes-line); margin-bottom: 10px; overflow-x: auto; }
.mtabs button { flex: none; min-height: 42px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--redes-muted); font-weight: 700; font-size: 14px; }
.mtabs button[aria-selected=true] { color: var(--redes-text); border-bottom-color: var(--redes-primary); }
.mfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.mfoot .actions { margin-top: 0; }
/* conversa no WhatsApp */
.ctabs { margin: 4px 0 14px; }
.unread { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 8px; padding: 0 6px; border-radius: 99px; background: var(--a-ok); color: #fff; font-size: 11.5px; font-weight: 800; vertical-align: middle; }
:root[data-theme=dark] .unread { color: #06231a; }
.chatgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 14px; align-items: start; }
.chatp { display: flex; flex-direction: column; gap: 10px; }
.chat-phone { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-phone > div { flex: 1 1 auto; min-width: 0; }
.chat-phone b { font-size: 15.5px; }
.chat-phone.edit .redes-input { flex: 1 1 180px; max-width: 240px; }
.chat-list { height: min(56vh, 520px); overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--redes-line); background: var(--a-raised); overscroll-behavior: contain; }
.chat-empty { margin: auto; max-width: 340px; text-align: center; color: var(--a-text2); font-size: 13.5px; display: grid; gap: 6px; }
.chat-empty b { color: var(--redes-text); }
.chat-day { align-self: center; margin: 6px 0 2px; padding: 2px 10px; border-radius: 99px; background: var(--redes-surface); color: var(--redes-muted); font-size: 11.5px; font-weight: 700; text-transform: capitalize; }
.msg { max-width: 80%; padding: 8px 12px 6px; border-radius: 14px; background: var(--redes-surface); border: 1px solid var(--redes-line); align-self: flex-start; }
.msg.out { align-self: flex-end; background: var(--a-okbg); border-color: var(--a-ok); }
.msg.failed { background: var(--a-badbg); border-color: var(--a-bad); }
.msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; color: var(--redes-text); }
.msg small { display: block; margin-top: 3px; text-align: right; font-size: 11px; color: var(--a-text2); }
.merr { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-top: 4px; font-size: 12.5px; color: var(--redes-text); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--redes-primary); font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 32px; }
.chat-compose { display: grid; gap: 6px; }
.chat-compose textarea { resize: vertical; min-height: 84px; }
.chat-cfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.suggp .ph3 h3 { margin: 0; }
.sugg { display: grid; gap: 10px; }
.sugg-stage { display: flex; align-items: center; gap: 8px; }
.sugg-card { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--redes-line); background: var(--a-raised); }
.sugg-card b { display: block; font-size: 13px; color: var(--redes-text); }
.sugg-card p { margin: 4px 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.45; color: var(--a-text2); }
.sugg-card .actions { margin: 0; }
.sugg-new { margin: 0; font-size: 13px; }
@media (max-width: 980px) { .chatgrid { grid-template-columns: 1fr; } .chat-list { height: 52vh; } .msg { max-width: 90%; } }
/* buscar fotos (Pexels) */
.stockdlg { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 18px; border: 1px solid var(--redes-line); border-radius: 16px; background: var(--redes-surface); color: var(--redes-text); box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); }
.stockdlg::backdrop { background: rgba(0,0,0,.55); }
.stockhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.stockhead h3 { margin: 0 0 2px; font-size: 18px; }
.stockhead a { color: var(--redes-primary); font-weight: 700; }
.stockbar { display: grid; grid-template-columns: 1fr 170px auto; gap: 8px; margin-bottom: 6px; }
.stockgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 8px; }
.stockitem { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--a-raised); }
.stockitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.stockitem:hover img, .stockitem:focus-visible img { transform: scale(1.05); }
.stockitem:focus-visible { outline: 3px solid var(--redes-primary); outline-offset: 2px; }
.stockitem .by { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 5px; font-size: 11px; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.65)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stockitem.busy { opacity: .55; cursor: progress; }
.stockitem.done { border-color: var(--a-ok); }
.stockitem.done::after { content: "✓"; position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--a-ok); color: #fff; font-weight: 800; }
.rowit.wimg { grid-template-columns: 64px 1fr; }
.rimgw { display: flex; flex-direction: column; gap: 4px; align-items: center; grid-row: span 4; }
.rimg { width: 64px; height: 64px; padding: 0; border-radius: 10px; border: 1px dashed var(--a-ctl); background: var(--a-raised); color: var(--redes-muted); font-size: 11.5px; font-weight: 700; overflow: hidden; cursor: pointer; }
.rimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) { .stockbar { grid-template-columns: 1fr; } .stockgrid { grid-template-columns: repeat(2, 1fr); } .stockdlg { padding: 12px; } }
/* agente */
.fhead .sp1 { flex: 1; }
.rdyrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; }
.rdy { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 700; border: 1px solid var(--a-ctl); }
.rdy.ok { border-color: var(--a-ok); background: var(--a-okbg); color: var(--redes-text); }
.rdy.bad { border-color: var(--a-bad); background: var(--a-badbg); color: var(--redes-text); }
.rdy.warn { border-color: var(--a-warn); background: var(--a-warnbg); color: var(--redes-text); }
.kpi.hot { border-color: var(--a-ok); background: var(--a-okbg); }
.olist { display: grid; gap: 10px; }
.orow { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--redes-line); background: var(--a-raised); }
.ohead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ohead .score { width: 38px; height: 38px; font-size: 14px; }
.ohead .pmain { flex: 1 1 200px; min-width: 0; display: grid; }
.ohead .pmain a { font-weight: 800; color: var(--redes-text); text-decoration: none; }
.ohead .pmain a:hover { text-decoration: underline; }
.ohead input[type=checkbox] { width: 20px; height: 20px; }
.omsg { margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; background: var(--redes-surface); border: 1px solid var(--redes-line); white-space: pre-wrap; overflow-wrap: anywhere; font: 13.5px/1.5 var(--redes-font, inherit); max-height: 4.6em; overflow: hidden; }
.omsg.open { max-height: none; }
.ofoot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ofoot .redes-btn { margin: 0; }
.agcfg h4 { margin: 16px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--redes-muted); }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chkrow, .daysrow { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.tblw { overflow-x: auto; margin-top: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--redes-line); vertical-align: middle; }
.tbl th { font-size: 12px; color: var(--redes-muted); font-weight: 700; }
@media (max-width: 760px) { .g2, .g3 { grid-template-columns: 1fr; } }
