/* 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: 86px 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: 80px 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; } }
.igphotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 6px 0 10px; } .igph { display: flex; flex-direction: column; gap: 4px; font-size: 12px; } .igph img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #eee; } a.src { font-size: 12px; }

.tplrow { margin: 12px 0; } .tplrow textarea { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: 13px; } .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; } .chip { border: 1px solid var(--redes-border, #ccc); background: transparent; color: inherit; border-radius: 999px; padding: 2px 9px; font: 12px ui-monospace, Consolas, monospace; cursor: pointer; } .chip:hover { background: rgba(127,127,127,.15); } .tplprev { margin: 12px 0; padding: 12px; border: 1px solid var(--redes-border, #ccc); border-radius: 10px; } .tplprev pre { white-space: pre-wrap; word-break: break-word; font: 13px/1.5 system-ui, sans-serif; margin: 4px 0 10px; }

.bankrow { border-top: 1px solid var(--redes-border, #ddd); } .bankcat { display: flex; justify-content: space-between; align-items: center; width: 100%; background: none; border: 0; color: inherit; font: inherit; padding: 10px 2px; cursor: pointer; text-align: left; } .bankbox { padding: 4px 2px 12px; } .bankph { position: relative; } .bankdel { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; line-height: 24px; padding: 0; }

.bankdrop { border: 2px dashed var(--redes-border, #bbb); border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; display: flex; flex-direction: column; gap: 4px; margin: 10px 0; } .bankdrop.over, .bankdrop:focus-visible { background: rgba(127,127,127,.12); outline: none; border-color: currentColor; } .bankresl { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; } .bankresl li { padding: 2px 0; } .bankresl li.no { color: #c0392b; }

.tplgrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; margin-top: 12px; align-items: start; } @media (max-width: 900px) { .tplgrid { grid-template-columns: 1fr; } } .tplh { margin: 0 0 8px; font-size: 14px; opacity: .8; } .tplleft textarea, .tplleft input { width: 100%; } .tplright { position: sticky; top: 8px; } .wa-chat { background: #e7e0d6; border-radius: 12px; padding: 14px; } .wa-bubble { background: #d9fdd3; color: #111; border-radius: 10px 10px 10px 2px; padding: 10px 12px; white-space: pre-wrap; word-break: break-word; font: 14px/1.45 system-ui, sans-serif; max-width: 92%; } .em-card { background: #fff; color: #222; border: 1px solid #ddd; border-radius: 10px; padding: 14px; font: 14px/1.55 Arial, sans-serif; } .em-subj { font-weight: 700; border-bottom: 1px solid #eee; padding-bottom: 8px; margin-bottom: 10px; } .em-body p { margin: 0 0 12px; white-space: pre-wrap; word-break: break-word; } .em-cta { margin: 0 0 14px; } .em-btn { display: inline-block; background: #0f766e; color: #fff; font-weight: 700; padding: 11px 20px; border-radius: 8px; } .em-cta small { display: block; color: #666; margin-top: 4px; word-break: break-all; }

.stockpane { margin-top: 8px; } .stockorient { margin: 8px 0 0; } .stockorient select { max-width: 220px; } .stockbar.bank { grid-template-columns: 1fr; margin-top: 10px; } .stockdlg .bankdrop { margin: 14px 0; }

.updsite { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--redes-border, #ccc); } .updsite select { max-width: 160px; }

.imgmenu { width: min(440px, calc(100vw - 32px)); } .imgmenu-cur { display: block; max-width: 100%; max-height: 180px; border-radius: 10px; margin: 8px auto; object-fit: cover; } .imgmenu-btns { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; } .edsec.flash { animation: edflash 1.2s ease; } @keyframes edflash { 0% { box-shadow: 0 0 0 3px #1e6550; } 100% { box-shadow: 0 0 0 0 transparent; } }

.rcomp { margin: 8px 0 12px; padding: 10px 12px; border: 1px solid var(--redes-border, #ddd); border-radius: 10px; } .rcomp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; } .rcomp .facts li.warnx span { color: #b7791f; } .rcomp .facts li.na { opacity: .6; } .rbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; align-items: center; }

.manual { margin: 10px 0; padding: 8px 12px; border: 1px dashed var(--redes-border, #ccc); border-radius: 10px; } .manual summary { cursor: pointer; padding: 4px 0; }

.foundedit { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--redes-border, #ccc); } .two2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .manualdlg { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; } .manualdlg .manual { border: 0; padding: 0; }

.jobtable { width: 100%; border-collapse: collapse; font-size: 13px; } .jobtable th, .jobtable td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--redes-border, #ddd); vertical-align: top; } .jobtable th { font-size: 11px; text-transform: uppercase; opacity: .7; } .jobbar { margin-bottom: 12px; align-items: center; }

.obadge { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: rgba(127,127,127,.15); vertical-align: middle; } .obadge.o-agente { background: #e0ecff; color: #1e3a8a; } .obadge.o-manual { background: #fdf0d8; color: #7a4b00; } .sinfo { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; align-items: center; } .schip { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: rgba(127,127,127,.14); } .schip.ok { background: #dcfce7; color: #166534; } .schip.warn { background: #fef9c3; color: #854d0e; } .schip.bad { background: #fee2e2; color: #991b1b; } .opensbox { margin: 8px 0 12px; padding: 10px 12px; border: 1px solid var(--redes-border, #ddd); border-radius: 10px; } .opensbox .ow { display: flex; gap: 14px; flex-wrap: wrap; } .opensbox .oc b { display: block; font-size: 20px; } .optable { width: 100%; font-size: 12px; border-collapse: collapse; margin-top: 8px; } .optable td, .optable th { padding: 4px 6px; border-bottom: 1px solid var(--redes-border, #eee); text-align: left; } .who-lead { color: #166534; font-weight: 700; } .who-admin { color: #1e3a8a; } .who-robo { color: #7a4b00; }

.convwrap { display: grid; grid-template-columns: 300px minmax(0, 1fr) 390px; gap: 12px; height: calc(100vh - 150px); min-height: 480px; padding: 0 12px; } .convleft, .convmid, .convright { min-height: 0; overflow: auto; border: 1px solid var(--redes-border, #ddd); border-radius: 12px; padding: 10px; background: var(--redes-surface, transparent); }
.convhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .convlist { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.convitem { text-align: left; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; background: none; color: inherit; cursor: pointer; font: inherit; } .convitem:hover { background: rgba(127,127,127,.1); } .convitem.on { border-color: var(--redes-primary, #1e6550); background: rgba(30,101,80,.08); }
.convitem .ctop { display: flex; justify-content: space-between; gap: 6px; } .convitem .cprev { font-size: 12.5px; opacity: .8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 2px 0; } .convitem .cmeta { display: flex; justify-content: space-between; align-items: center; }
.convitem .in { color: #166534; font-weight: 700; } .convtitle { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; } .chip .n { margin-left: 5px; opacity: .7; font-size: 11px; }
.rbody { padding-top: 8px; } .qt { border: 1px solid var(--redes-border, #ddd); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; } .seqstep { border: 1px solid var(--redes-border, #ddd); border-radius: 10px; padding: 8px 10px; margin: 8px 0; } .seqhead { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; } .seqhead .ib2 { margin-left: auto; } .seqform textarea { width: 100%; } .seqwhen { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.sch { border: 1px solid var(--redes-border, #ddd); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; } .schh { display: flex; justify-content: space-between; gap: 6px; } .schb { font-size: 13px; white-space: pre-wrap; margin: 4px 0; }
.bulkdlg { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow: auto; } .bulkgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .bulklist { max-height: 46vh; overflow: auto; margin-top: 8px; border: 1px solid var(--redes-border, #ddd); border-radius: 10px; padding: 4px; } .bulkrow { display: flex; gap: 8px; align-items: flex-start; padding: 5px 6px; cursor: pointer; border-radius: 8px; } .bulkrow:hover { background: rgba(127,127,127,.1); }
@media (max-width: 1100px) { .convwrap { grid-template-columns: 1fr; height: auto; } .convleft, .convmid, .convright { max-height: none; } .bulkgrid { grid-template-columns: 1fr; } }

.rulecard { border: 1px solid var(--redes-border, #ddd); border-radius: 10px; padding: 10px 12px; margin: 10px 0; } .rulehead { display: flex; justify-content: space-between; align-items: center; }

.bankrowhead { display: flex; align-items: center; gap: 6px; } .bankrowhead .bankcat { flex: 1; } .bankcatools { display: flex; gap: 4px; }

.svpanel .svlist, .svpanel .svitems { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; } .svchip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--redes-border, #ccc); border-radius: 999px; padding: 3px 10px; cursor: pointer; font-size: 13px; } .svchip.on { background: #dcfce7; border-color: #86efac; color: #14532d; } .svchip input { margin: 0; } .svadd { display: flex; gap: 6px; margin-top: 6px; } .svadd input { flex: 1; } .svgroup { border-top: 1px solid var(--redes-border, #eee); padding: 4px 0; } .svgroup summary { cursor: pointer; padding: 4px 0; }

.svrows { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; } .svrow { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(190px, 1fr) minmax(220px, 1.2fr); gap: 10px; align-items: center; border: 1px solid var(--redes-border, #ddd); border-radius: 10px; padding: 8px 10px; } .svrow.off { opacity: .6; grid-template-columns: 1fr; } .svname { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .svcat select { width: 100%; } .svimg { display: flex; gap: 8px; align-items: center; } .svthumb { width: 56px; height: 72px; border-radius: 8px; object-fit: cover; background: rgba(127,127,127,.15); display: flex; align-items: center; justify-content: center; font-size: 10px; text-align: center; } @media (max-width: 900px) { .svrow { grid-template-columns: 1fr; } }

.bankseg { margin-bottom: 18px; } .segh { font-size: 17px; margin: 14px 0 6px; } .bankcls { margin: 10px 0; padding: 8px 10px; border: 1px dashed var(--redes-border, #ccc); border-radius: 10px; } .bankph select { width: 100%; margin-top: 4px; }

.obadge.o-cadastro { background: #ede9fe; color: #5b21b6; }
.crmdlg { max-width: 760px; } .crmrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 12px; align-items: end; } .crmsearch { margin: 10px 0; padding-bottom: 10px; border-bottom: 1px solid var(--redes-line, #ddd); } .crmres { margin-top: 8px; display: grid; gap: 6px; } .crmitem { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--redes-line, #ddd); border-radius: 10px; } .crmitem.on { border-color: #16a34a; } .crmform { display: grid; gap: 8px; } .crmcell { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .crmcell .redes-input { flex: 1 1 200px; } .linkbtn { background: none; border: 0; padding: 0; color: var(--redes-accent, #2563eb); cursor: pointer; font-size: 12px; text-decoration: underline; }

.igcand { align-items: flex-start; gap: 12px; } .igpic { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: rgba(127,127,127,.15); }

.bankarrow { display: inline-flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 4px 0; font: inherit; color: inherit; cursor: pointer; text-align: left; } .bankarrow .arr { width: 1.1em; color: var(--redes-muted, #888); } .bankarrow:focus-visible { outline: 2px solid var(--redes-accent, #2563eb); outline-offset: 2px; border-radius: 6px; } .segh .bankarrow { font-weight: inherit; }

.lthumb.l-lumiere { background: radial-gradient(circle at 80% 15%, #dca0af, transparent 60%), radial-gradient(circle at 10% 70%, #fbeaee, transparent 60%), #fffafa; }
.lthumb.l-lumiere i:nth-child(1) { left: 6px; top: 16px; width: 24px; height: 5px; background: #33191f; border-radius: 2px; box-shadow: 0 9px 0 #9c4560; }
.lthumb.l-lumiere i:nth-child(2) { right: 5px; top: 10px; width: 28px; height: 30px; background: #dca0af; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; }
.lthumb.l-lumiere i:nth-child(3) { left: 6px; bottom: 8px; width: 22px; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #9c4560, #dca0af); }
.lthumb.l-eclat { background: linear-gradient(180deg, #8a7366, #2c2420); }
.lthumb.l-eclat i:nth-child(1) { left: 6px; bottom: 16px; width: 40px; height: 8px; background: #fff; }
.lthumb.l-eclat i:nth-child(2) { left: 6px; bottom: 8px; right: 6px; height: 1px; background: rgba(255,255,255,.6); }
.lthumb.l-eclat i:nth-child(3) { left: 0; top: 0; bottom: 0; width: 12px; background: #fbf8f6; box-shadow: 26px 0 0 -0px rgba(251,248,246,0); }
.lthumb.l-petala { background: radial-gradient(circle at 70% 40%, #ffe8dc, #fff9f5 70%); }
.lthumb.l-petala i:nth-child(1) { right: 6px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: #f0ac92; box-shadow: 0 0 0 4px #fff9f5, 0 0 0 5px #a4482b; }
.lthumb.l-petala i:nth-child(2) { left: 6px; top: 18px; width: 20px; height: 5px; background: #3a2224; border-radius: 2px; box-shadow: 0 9px 0 #a4482b; }
.lthumb.l-petala i:nth-child(3) { left: 14px; top: 4px; width: 8px; height: 8px; border-radius: 80% 0 80% 0; background: #f0ac92; }
.lthumb.l-prisma { background: linear-gradient(180deg, #f7fafd 55%, #e5edf7); }
.lthumb.l-prisma i:nth-child(1) { left: 6px; top: 14px; width: 26px; height: 7px; background: #18243a; border-radius: 2px; box-shadow: 0 10px 0 #37578f; }
.lthumb.l-prisma i:nth-child(2) { right: 6px; top: 9px; width: 22px; height: 30px; border-radius: 5px; background: linear-gradient(135deg, #37578f, #a2badc); transform: perspective(60px) rotateY(-18deg); }
.lthumb.l-prisma i:nth-child(3) { left: 0; right: 0; bottom: 0; height: 14px; background-image: linear-gradient(rgba(55,87,143,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(55,87,143,.4) 1px, transparent 1px); background-size: 8px 8px; }

.pfirst { display: flex; align-items: center; gap: 10px; } .prsel { width: 20px; height: 20px; flex: none; cursor: pointer; accent-color: var(--redes-accent, #2563eb); }
.bulkbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; padding: 8px 12px; border: 1px dashed var(--redes-line, #ddd); border-radius: 12px; }
.bulkdlg2 { max-width: 560px; } .bk2when { display: grid; gap: 8px; } .bk2when .check { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .bk2res { margin-top: 12px; }
.redes-btn-danger { background: #b91c1c; color: #fff; border-color: #b91c1c; }

.bk2when input[type=datetime-local] { display: block; width: 100%; max-width: 280px; min-height: 40px; margin-left: 28px; }

.imgpos { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 8px 0 0; } .imgpos .lb { margin: 0 6px 0 0; } .imgpos[hidden] { display: none; } .imgpos .ipb { width: auto; min-width: 34px; padding: 0 10px; } .imgpos.compact { margin: 4px 0 0; gap: 4px; } .imgpos.compact .ipb { padding: 0 8px; } .imgpos .ipb[aria-pressed=true] { background: var(--redes-accent, #2563eb); color: #fff; border-color: transparent; }

.revlist { display: grid; gap: 8px; margin: 10px 0; } .revrow { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--redes-line, #ddd); border-radius: 12px; cursor: pointer; } .revrow input { margin-top: 4px; width: 18px; height: 18px; flex: none; } .revhead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .stars2 { color: #d4a017; letter-spacing: 1px; } .revtext { margin: 4px 0 0; color: var(--redes-muted, #555); }

/* converter em cliente: modal, DNS e lista do que acontece */
.convdlg { width: min(680px, calc(100vw - 32px)); overflow: auto; }
.convdlg .field { margin: 12px 0; } .convdlg input[type=email], .convdlg input[type=text] { width: 100%; }
.convlist { margin: 10px 0 4px; padding-left: 20px; color: var(--redes-muted, #5c6b66); font-size: 13px; line-height: 1.5; }
.dnsbox { margin: 12px 0; padding: 12px 14px; border: 1px dashed var(--redes-line); border-radius: 12px; background: var(--redes-surface-2, rgba(0,0,0,.03)); }
.dnsbox ol { margin: 8px 0; padding-left: 20px; font-size: 13px; line-height: 1.55; } .dnsbox .dnstbl code { word-break: break-all; }
.clientform { margin-top: 10px; } .clientform > summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
.savedbox + .savedbox { margin-top: 8px; }

/* imagens padrão */
.dfprog{height:10px;border-radius:999px;background:var(--redes-line);overflow:hidden;margin:10px 0 6px}.dfprog i{display:block;height:100%;background:var(--redes-primary)}
.dfgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-top:10px}
.dfcard{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid var(--redes-line);border-radius:12px;background:var(--redes-surface)}.dfcard.wide{grid-column:span 2}
.dfthumb{aspect-ratio:4/5;border-radius:10px;overflow:hidden;background:var(--redes-surface-2,rgba(0,0,0,.04));display:flex;align-items:center;justify-content:center}.dfthumb.land{aspect-ratio:16/9}
.dfthumb img{width:100%;height:100%;object-fit:cover;display:block}.dfno{font-size:12px;color:var(--redes-muted,#64748b);padding:8px;text-align:center}
.dfmeta{display:flex;align-items:center;justify-content:space-between;gap:8px}.dfcard .actions{margin-top:2px}
@media(max-width:560px){.dfcard.wide{grid-column:auto}}

.dfmin{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}.dfmin select{width:auto}
.dfsvc{display:flex;flex-direction:column;gap:8px;margin:10px 0}.dfsvcrow{display:grid;grid-template-columns:34px minmax(0,1fr) minmax(0,2fr) auto;gap:8px;align-items:center}.dfsvcrow .n{font-weight:700;color:var(--redes-muted,#64748b)}
@media(max-width:640px){.dfsvcrow{grid-template-columns:30px 1fr auto}.dfsvcrow input:nth-of-type(2){grid-column:2 / -1}}

/* fila de envios */
.obclock{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:10px 0 2px;padding:10px 12px;border-radius:12px;background:var(--redes-surface-2,rgba(0,0,0,.04))}
.obclock-l{font-size:12px;color:var(--redes-muted,#64748b);text-transform:uppercase;letter-spacing:.06em}.obcd{font:700 22px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;color:var(--redes-primary)}
.orow .obcd{font-size:14px}
.obsum{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;margin:0 0 12px}
.obcard{padding:14px;border:1px solid var(--redes-line);border-radius:14px;background:var(--redes-surface)}.obhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.obnums{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.obnum{display:flex;flex-direction:column;align-items:center;padding:8px 4px;border:1px solid var(--redes-line);border-radius:10px;background:transparent;cursor:pointer;color:inherit}
.obnum b{font-size:18px}.obnum span{font-size:11px;color:var(--redes-muted,#64748b)}.obnum.bad b{color:#b91c1c}.obnum:hover{background:var(--redes-surface-2,rgba(0,0,0,.04))}
.obpos{font-weight:800;min-width:34px;text-align:center;padding:4px 6px;border-radius:8px;background:var(--redes-primary);color:#fff;font-size:12px}.obsrc{font-size:11px;color:var(--redes-muted,#64748b);white-space:nowrap}
