/* Comunicação — contraste específico acima das regras globais. */
html[data-nortear-theme="light"] body #prospeccao #wsp17CommunicationMount .wscom-control,
body:is(.light,.ws-theme-light) #prospeccao #wsp17CommunicationMount .wscom-control{background:#112f45!important;border:1px solid #183f59!important;color:#fff!important}
html[data-nortear-theme="light"] body #prospeccao #wsp17CommunicationMount .wscom-control :is(b,strong),
body:is(.light,.ws-theme-light) #prospeccao #wsp17CommunicationMount .wscom-control :is(b,strong){color:#f8fafc!important}
html[data-nortear-theme="light"] body #prospeccao #wsp17CommunicationMount .wscom-control :is(span,small,label),
body:is(.light,.ws-theme-light) #prospeccao #wsp17CommunicationMount .wscom-control :is(span,small,label){color:#b8cad8!important}
html[data-nortear-theme="light"] body #prospeccao #wsp17CommunicationMount .wscom-control .wscom-owner b,
body:is(.light,.ws-theme-light) #prospeccao #wsp17CommunicationMount .wscom-control .wscom-owner b{color:#ffd46c!important}
html[data-nortear-theme="light"] body #prospeccao #wsp17CommunicationMount .wscom-control select,
body:is(.light,.ws-theme-light) #prospeccao #wsp17CommunicationMount .wscom-control select{background:#193d55!important;border-color:#426279!important;color:#fff!important}

html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom,
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom{--ink:#e8eef5;--muted:#91a1b4;--line:#243747;--surface:#101c27;--soft:#0b151e;color:#e8eef5!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-top,.wscom-pagehead),
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-top,.wscom-pagehead){background:linear-gradient(135deg,#101828,#131f30)!important;border-color:#28404c!important;color:#e8eef5!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-panel,.wscom-tabs,.wscom-kpis article),
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-panel,.wscom-tabs,.wscom-kpis article){background:#101c27!important;border-color:#263a4a!important;color:#e8eef5!important;box-shadow:none!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom :is(h2,h3,h4,b,strong),
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom :is(h2,h3,h4,b,strong){color:#f3f7fb!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom :is(p,small),
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom :is(p,small){color:#91a1b4!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom-tabs button,
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom-tabs button{color:#a6b3c2!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom-tabs button.active,
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom-tabs button.active{background:rgba(214,163,22,.18)!important;color:#a6790f!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-journey button,.wscom-recipes article,.wscom-checks button,.wscom-switch,.wscom-audience-preview),
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-journey button,.wscom-recipes article,.wscom-checks button,.wscom-switch,.wscom-audience-preview){background:#13222f!important;border-color:#2a4051!important;color:#e8eef5!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom-table th,
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom-table th{background:#13222f!important;color:#91a1b4!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom-table :is(td,th),
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom-table :is(td,th){border-color:#263a4a!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom-table td,
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom-table td{color:#c7d2de!important}
html[data-nortear-theme="dark"] body #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-btn.ghost,.wscom-icon-btn,.wscom-more),
body:is(.dark,.ws-theme-dark) #prospeccao #wsp17CommunicationMount .wscom :is(.wscom-btn.ghost,.wscom-icon-btn,.wscom-more){background:#13222f!important;border-color:#30485a!important;color:#dbe5ee!important}

html[data-nortear-theme="dark"] body .wscom-modal{background:#101c27!important;color:#e8eef5!important}
html[data-nortear-theme="dark"] body .wscom-modal :is(header,footer){background:#101c27!important;border-color:#263a4a!important}
html[data-nortear-theme="dark"] body .wscom-modal :is(h2,h3,h4,b,strong){color:#f3f7fb!important}
html[data-nortear-theme="dark"] body .wscom-modal :is(p,small){color:#91a1b4!important}
html[data-nortear-theme="dark"] body .wscom-modal :is(input,select,textarea){background:#13222f!important;border-color:#30485a!important;color:#e8eef5!important}

.wscom-manychat>nav{display:flex;gap:6px;padding:5px;background:#f1f5f8;border-radius:10px;margin-bottom:18px}.wscom-manychat>nav button{flex:1;border:0;background:transparent;color:#65758a;border-radius:8px;padding:9px;font-weight:800}.wscom-manychat>nav button.active{background:#fff;color:#a6790f;box-shadow:0 3px 10px rgba(20,46,65,.08)}.wscom-manychat>section{text-align:center}.wscom-manychat>section>p{max-width:650px;margin:7px auto 18px}.wscom-manychat-brand{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 9px;border-radius:15px;background:linear-gradient(135deg,#7357ff,#4430ca);color:#fff;font-weight:950;font-size:18px;box-shadow:0 10px 24px rgba(90,69,225,.24)}.wscom-manychat-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.wscom-manychat-steps span{border:1px solid #dbe3ed;border-radius:10px;padding:11px;display:flex;align-items:center;gap:8px;text-align:left;font-size:10px;font-weight:700}.wscom-manychat-steps i{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#ede9ff;color:#5b43d6;font-style:normal}.wscom-manychat .wscom-form-grid{text-align:left;margin:16px 0}
html[data-nortear-theme="dark"] body .wscom-manychat>nav{background:#0c1721!important}html[data-nortear-theme="dark"] body .wscom-manychat>nav button.active{background:#192b39!important;color:#ffd46c!important}html[data-nortear-theme="dark"] body .wscom-manychat-steps span{border-color:#30485a!important;background:#13222f!important;color:#dbe5ee!important}
@media(max-width:650px){.wscom-manychat-steps{grid-template-columns:1fr}}

/* ManyChat: troca interna estável, sem destruir ou redimensionar o modal. */
.wscom-manychat-stage{position:relative;min-height:430px}
.wscom-manychat-panel{display:none;text-align:center;opacity:0;transform:translateY(6px)}
.wscom-manychat-panel.active{display:block;animation:wscomMcFade .18s ease forwards}
.wscom-manychat-panel>p{max-width:650px;margin:7px auto 18px}
.wscom-manychat.switching .wscom-manychat-stage{pointer-events:none}
@keyframes wscomMcFade{to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.wscom-manychat-stage{min-height:560px}}

/* V29 — conexões gratuitas primeiro, cobrança direta no provedor. */
.wscom-billing-head{align-items:center!important;background:linear-gradient(135deg,#fff,#f2fbf8)!important}
.wscom-byoc-badge{flex:none;border:1px solid #f0d999;border-radius:999px;background:#fdf6e3;color:#a6790f;padding:8px 12px;font-size:10px!important;font-weight:850}
.wscom-billing-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.wscom-billing-rules article{display:flex;align-items:center;gap:10px;border:1px solid #dbe5ea;border-radius:13px;background:#fff;padding:12px}
.wscom-billing-rules article>i{display:grid;place-items:center;width:27px;height:27px;flex:none;border-radius:9px;background:#fdf1d6;color:#a6790f;font-style:normal;font-size:11px;font-weight:900}
.wscom-billing-rules article>span{display:grid;gap:2px}.wscom-billing-rules b{font-size:11px}.wscom-billing-rules small{color:#718096;font-size:9px}
.wscom-connections.premium{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wscom-provider-card{display:flex!important;flex-direction:column;align-items:stretch!important;gap:13px!important;position:relative;overflow:hidden}
.wscom-provider-card.connected:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:#21a875}
.wscom-provider-card>header{display:grid!important;grid-template-columns:42px 1fr auto;align-items:center!important;gap:11px}
.wscom-provider-card>header>i{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#fdf1d6;color:#a6790f;font-style:normal;font-weight:900}
.wscom-provider-card>header h3{margin:0 0 3px!important;font-size:13px!important}.wscom-provider-card>header p{font-size:10px!important}
.wscom-provider-card .wscom-connection-state{border-radius:999px;background:#f3f5f7;padding:5px 8px;font-weight:800;white-space:nowrap}
.wscom-provider-card .wscom-connection-state.on{background:#e7f7ee;color:#17804a}.wscom-provider-card .wscom-connection-state.pending{background:#fff4df;color:#94620a}
.wscom-provider-plan,.wscom-provider-usage{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;border-top:1px solid #edf1f4;padding-top:10px}
.wscom-provider-plan span,.wscom-provider-usage span{display:grid;gap:3px}.wscom-provider-plan small,.wscom-provider-usage small{font-size:8px;color:#8190a2;font-weight:850;letter-spacing:.08em!important}.wscom-provider-plan b,.wscom-provider-usage b{font-size:11px}.wscom-provider-plan em{font-style:normal;font-size:9px;color:#a6790f;background:#fdf6e3;border-radius:999px;padding:5px 8px}
.wscom-provider-usage{display:grid}.wscom-provider-usage>div{grid-column:1/-1;height:5px;border-radius:99px;background:#e9eef2;overflow:hidden}.wscom-provider-usage>div>i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#d6a316,#e7ae30)}
.wscom-provider-billing{border-radius:9px;background:#f6f8fa;padding:8px!important;color:#66758d!important;font-size:9px!important}
.wscom-provider-card>footer{display:flex;justify-content:flex-end;gap:7px;margin-top:auto}.wscom-btn.provider{border:1px solid #f0d999;background:#fdf6e3;color:#a6790f;border-radius:10px;padding:9px 12px;font-weight:800}
.wscom-free-first{display:grid;gap:4px;margin:15px 0;border:1px solid #f5deae;border-radius:12px;background:#f1fbf8;padding:13px;text-align:left}.wscom-free-first span{font-size:8px;color:#a6790f;font-weight:900;letter-spacing:.1em}.wscom-free-first b{font-size:13px}.wscom-free-first p{font-size:10px;color:#607386}
.wscom-manage-provider{display:grid;gap:13px}.wscom-manage-summary{display:grid;grid-template-columns:54px 1fr 1fr;align-items:center;gap:12px;border:1px solid #dce5eb;border-radius:13px;padding:13px}.wscom-manage-summary>i{display:grid;place-items:center;width:50px;height:50px;border-radius:13px;background:#e8f7f5;color:#a6790f;font-style:normal;font-weight:900}.wscom-manage-summary>span{display:grid;gap:4px}.wscom-manage-summary small,.wscom-manage-usage small{font-size:8px;color:#8190a2;font-weight:850}.wscom-manage-summary b,.wscom-manage-usage b{font-size:12px}
.wscom-manage-usage{display:flex;justify-content:space-between;align-items:center;border:1px solid #dce5eb;border-radius:12px;padding:12px}.wscom-manage-usage>span{display:grid;gap:4px}.wscom-manage-usage button{border:0;background:#eaf8f5;color:#a6790f;border-radius:8px;padding:8px 10px;font-size:10px;font-weight:800}
.wscom-manage-list{list-style:none;padding:0;margin:0;border:1px solid #dce5eb;border-radius:12px;overflow:hidden}.wscom-manage-list li{display:flex;justify-content:space-between;gap:20px;padding:10px 12px;border-bottom:1px solid #edf1f4;font-size:10px}.wscom-manage-list li:last-child{border:0}.wscom-manage-list span{color:#6f7d90}.wscom-manage-list b{text-align:right}
.wscom-btn.danger{border:1px solid #f1b8bf;background:#fff1f3;color:#a83242;border-radius:10px;padding:10px 14px;font-weight:800}.wscom-upgrade-confirm{text-align:center;display:grid;gap:10px}.wscom-upgrade-confirm>i{display:grid;place-items:center;width:52px;height:52px;margin:auto;border-radius:15px;background:#fdf1d6;color:#a6790f;font-style:normal;font-size:20px;font-weight:900}.wscom-upgrade-confirm>h3{margin:0}.wscom-upgrade-confirm>p,.wscom-upgrade-confirm>small{color:#69798c}.wscom-upgrade-confirm>div{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #dce5eb;border-radius:9px;padding:9px;font-size:10px}.wscom-upgrade-confirm>div span{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fdf1d6;color:#a6790f;font-weight:900}.wscom-upgrade-confirm.danger>i{background:#fff0f2;color:#b73546}
html[data-nortear-theme="dark"] body .wscom-billing-head,body:is(.dark,.ws-theme-dark) .wscom-billing-head{background:linear-gradient(135deg,#101828,#131f30)!important}
html[data-nortear-theme="dark"] body :is(.wscom-billing-rules article,.wscom-provider-plan,.wscom-provider-usage,.wscom-manage-summary,.wscom-manage-usage,.wscom-manage-list,.wscom-upgrade-confirm>div),body:is(.dark,.ws-theme-dark) :is(.wscom-billing-rules article,.wscom-provider-plan,.wscom-provider-usage,.wscom-manage-summary,.wscom-manage-usage,.wscom-manage-list,.wscom-upgrade-confirm>div){background:#13222f!important;border-color:#30485a!important;color:#e6edf4!important}
html[data-nortear-theme="dark"] body :is(.wscom-provider-billing,.wscom-free-first),body:is(.dark,.ws-theme-dark) :is(.wscom-provider-billing,.wscom-free-first){background:#0d1822!important;border-color:#30485a!important}
@media(max-width:780px){.wscom-billing-rules,.wscom-connections.premium{grid-template-columns:1fr}.wscom-provider-card>header{grid-template-columns:42px 1fr}.wscom-provider-card>header>.wscom-connection-state{grid-column:1/-1;justify-self:start}.wscom-manage-summary{grid-template-columns:50px 1fr}.wscom-manage-summary>span:last-child{grid-column:2}.wscom-provider-plan{grid-template-columns:1fr}.wscom-provider-plan em{justify-self:start}}


/* Comunicação — design system unificado Nortear ONE */
.wscom .wscom-ui-icon,.wscom-modal .wscom-ui-icon{width:14px;height:14px;display:block;flex:none}
.wscom-tabs button i{display:grid;place-items:center;width:20px;height:20px;color:currentColor}
.wscom-tabs button i .wscom-ui-icon{width:17px;height:17px}
.wscom-top-actions,.wscom-pagehead>div:last-child,.wscom-provider-card>footer{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.wscom-icon-btn{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:1px solid var(--line)!important;background:transparent!important;color:var(--muted)!important;border-radius:9px!important;padding:0!important}
.wscom-icon-btn:hover{color:#e7ae30!important;border-color:rgba(231,174,48,.45)!important;background:rgba(231,174,48,.08)!important}
.wscom-provider-card{padding:16px!important;min-height:296px}
.wscom-provider-card>header{min-height:54px}
.wscom-provider-logo{display:grid!important;place-items:center!important;width:40px!important;height:40px!important;border-radius:10px!important;background:rgba(148,171,204,.08)!important;border:1px solid var(--line)!important;padding:6px!important;color:var(--muted)!important;overflow:hidden}
.wscom-provider-logo>img{width:29px;height:29px;object-fit:contain;display:block}
.wscom-brand-stack{display:flex;align-items:center;justify-content:center}
.wscom-brand-stack>img{width:22px!important;height:22px!important;object-fit:contain;margin-left:-6px;background:var(--surface);border:2px solid var(--surface);border-radius:6px}
.wscom-brand-stack>img:first-child{margin-left:0}
.wscom-brand-stack .wsap-brand-fallback{display:none!important}
.wscom-provider-note{justify-self:end;align-self:center;color:var(--muted);font-size:9px;line-height:1.35;text-align:right;max-width:180px}
.wscom-provider-plan,.wscom-provider-usage{min-height:48px}
.wscom-provider-billing{display:flex;align-items:flex-start;gap:7px;border:0!important;background:transparent!important;padding:0!important;color:var(--muted)!important;line-height:1.45}
.wscom-provider-billing .wscom-ui-icon{margin-top:1px;color:#d6a316}
.wscom-connection-state{display:inline-flex;align-items:center;min-height:22px;border:1px solid var(--line);background:transparent!important;padding:3px 7px!important;font-size:8px!important;letter-spacing:.02em}
.wscom-connection-state.on{border-color:rgba(34,168,99,.34);background:rgba(34,168,99,.1)!important}
.wscom-connection-state.pending{border-color:rgba(231,174,48,.35);background:rgba(231,174,48,.09)!important}
.wscom-byoc-badge{border:0!important;background:transparent!important;padding:0!important;border-radius:0!important;color:var(--muted)!important;font-weight:700!important}
.wscom-badge,.wscom-engine{border:1px solid var(--line);background:transparent;padding:3px 7px;font-size:8px!important}
.wscom-badge.good{background:rgba(34,168,99,.1);border-color:rgba(34,168,99,.28)}
.wscom-badge.warn{background:rgba(231,174,48,.09);border-color:rgba(231,174,48,.3)}
.wscom-library footer button,.wscom-capture-grid article>button,.wscom-recipes article>button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#d6a316;padding:5px 0;font:800 10px/1 Inter,"Segoe UI",sans-serif}
.wscom-manychat-brand{background:transparent!important;box-shadow:none!important}
.wscom-manychat-brand img{width:48px;height:48px;object-fit:contain}
html[data-nortear-theme="dark"] body .wscom-provider-logo,body:is(.dark,.ws-theme-dark) .wscom-provider-logo{background:rgba(255,255,255,.04)!important;border-color:#30485a!important}
html[data-nortear-theme="light"] body .wscom-provider-logo,body:is(.light,.ws-theme-light) .wscom-provider-logo{background:#f5f7fa!important;border-color:#dde4ec!important}
@media(max-width:780px){.wscom-provider-card{min-height:0}.wscom-provider-note{justify-self:start;text-align:left}.wscom-provider-card>footer{justify-content:flex-start!important}}

/* Telefone de prévia: superfícies claras exigem texto escuro nos dois temas. */
#wscomModal .wscom-phone .bubble{background:#d9fdd3!important;color:#163329!important;white-space:pre-wrap;overflow-wrap:anywhere}
#wscomModal .wscom-phone>button{background:#fff!important;color:#775400!important}
html[data-nortear-theme="dark"] body #wscomModal .wscom-phone>header{color:#cbd5e1!important}
/* Prévia do assistente guiado (Instagram): tela do celular sempre clara, como um app de verdade, nos dois temas do NORTEAR ONE. */
#wscomModal .wsa-ig-dm{color:#1d2a3f!important}
#wscomModal .wsa-ig-dm.out{color:#fff!important}
#wscomModal .wsa-ig-comment-body p,#wscomModal .wsa-ig-comment-body b,#wscomModal .wsa-ig-postrow b,#wscomModal .wsa-ig-dmhead b{color:#1d2a3f!important}
#wscomModal .wsa-ig-comment-body small,#wscomModal .wsa-ig-dmhead small,#wscomModal .wsa-phone-postcard small,#wscomModal .wsa-phone-hint{color:#8a97a3!important}
#wscomModal .wsa-ig-quickrow button{background:#fff!important;color:#2d7fd6!important}
#wscomModal .wsa-ig-composer{background:#fff!important;color:#9aa6b2!important}
