/* Auditoria visual final — menus, modais, lixeira e tema claro. */
html body #projetos .project-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;gap:9px!important;padding:9px!important;scrollbar-width:thin!important;scrollbar-color:#294157 transparent!important}
#projetos .project-tabs::-webkit-scrollbar{height:4px}#projetos .project-tabs::-webkit-scrollbar-thumb{background:#294157;border-radius:999px}
html body #projetos .project-tab{flex:0 0 220px!important;width:220px!important;min-width:220px!important;max-width:220px!important;height:46px!important}
#projetos .project-area button:not(.project-tab){min-width:150px!important;min-height:40px!important;border:1px solid color-mix(in srgb,var(--button-tone,#3b82f6) 48%,#263746)!important;background:color-mix(in srgb,var(--button-tone,#3b82f6) 11%,#0c151d)!important;color:color-mix(in srgb,var(--button-tone,#3b82f6) 70%,white)!important;box-shadow:inset 0 0 18px color-mix(in srgb,var(--button-tone,#3b82f6) 6%,transparent)!important}
#projetos .project-area button:not(.project-tab):hover{background:color-mix(in srgb,var(--button-tone,#3b82f6) 18%,#0c151d)!important;transform:translateY(-1px)}
.ws-audit-icon{width:22px;height:22px;display:grid;place-items:center;flex:none;border-radius:7px;background:color-mix(in srgb,var(--button-tone,#3b82f6) 20%,transparent);color:var(--button-tone,#60a5fa);font-size:13px}

#wsp17Root .wsp17-toolbar{display:grid!important;grid-template-columns:minmax(420px,1fr) minmax(220px,350px) auto!important;align-items:center!important}
#wsp17Root .wsp17-toolbar>label,#wsp17Root .wsp17-toolbar>select{width:100%!important;min-width:0!important;max-width:none!important}
#wsp17Root .wsp17-toolbar>label>input{width:100%!important;min-width:0!important;padding:0 4px!important;text-align:left!important}
#wsp17Root .wsp17-hero-actions .wsp17-trash-btn{min-width:118px!important;border-color:rgba(239,68,68,.46)!important;background:rgba(127,29,29,.16)!important;color:#fca5a5!important}
#wsp17Root .wsp17-hero-actions .wsp17-pipeline-btn{min-width:118px!important;border-color:rgba(236,72,153,.48)!important;background:rgba(131,24,67,.15)!important;color:#f9a8d4!important}
#wsp17Root .wsp17-hero-actions :is(.wsp17-pipeline-btn,.wsp17-trash-btn) svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#wsp17Root .wsp17-diag-actions{display:grid!important;grid-template-columns:repeat(3,minmax(145px,1fr))!important;gap:8px!important}
#wsp17Root .wsp17-diag-actions button{width:100%!important;min-width:145px!important;justify-content:center!important}
#wsp17Root .wsp17-diag-actions .wsp17-clear-diag{border-color:rgba(239,68,68,.46)!important;background:rgba(127,29,29,.16)!important;color:#fca5a5!important}
#wsp17Root .wsp17-highlight-fallback{display:flex;align-items:flex-start;gap:10px;overflow-x:auto;padding:9px 2px 12px;scrollbar-width:thin;scrollbar-color:#49305e transparent}
#wsp17Root .wsp17-highlight-fallback span{flex:0 0 72px;display:grid;justify-items:center;gap:6px;color:#9ca9b7;font-size:9px;text-align:center}
#wsp17Root .wsp17-highlight-fallback i{width:56px;height:56px;display:grid;place-items:center;border:2px solid #8b4fc1;border-radius:50%;background:linear-gradient(145deg,#181226,#0d151e);color:#c084fc;font-style:normal}

.modal.open{overscroll-behavior:contain}.modal.open>.box{width:min(820px,94vw)!important;max-height:min(88vh,900px)!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#34495e transparent}
.modal.open>.box::-webkit-scrollbar{width:5px}.modal.open>.box::-webkit-scrollbar-thumb{background:#34495e;border-radius:999px}
.ws-trash{color:#e8eef4}.ws-trash>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #293746}.ws-trash>header>div{display:flex;gap:11px}.ws-trash>header i{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:rgba(239,68,68,.12);color:#fb7185;font-style:normal}.ws-trash h2{margin:0;font-size:20px}.ws-trash header p{margin:5px 0 0;color:#8394a6;font-size:11px}.ws-trash header>button{border:0;background:transparent;color:#94a3b8;font-size:24px;cursor:pointer}.ws-trash-tools{display:flex;gap:8px;flex-wrap:wrap;padding:13px 0}.ws-trash-tools button{min-height:37px;padding:0 13px;border:1px solid #344555;border-radius:999px;background:#111a23;color:#b9c7d4;font-weight:800}.ws-trash-tools .restore{border-color:#16784a;color:#5ee49a;background:#0b281c}.ws-trash-tools .danger{border-color:#8f2730;color:#ff8992;background:#2b1115}.ws-trash-list{display:grid;gap:8px;max-height:52vh;overflow:auto}.ws-trash-list label{display:flex;align-items:center;gap:11px;margin:0;padding:11px;border:1px solid #263542;border-radius:11px;background:#0c141c}.ws-trash-list input{width:17px;height:17px}.ws-trash-list span{min-width:0}.ws-trash-list b,.ws-trash-list small{display:block}.ws-trash-list small{margin-top:4px;color:#7f91a3}.ws-trash-empty{padding:34px;text-align:center;color:#7f91a3}

/* Clientes: acoes principais com a mesma medida e hierarquia cromatica. */
html body #clientes .wscp-head-actions{display:flex!important;align-items:center!important;gap:10px!important}
html body #clientes .wscp-head-actions .wscp-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;flex:0 0 178px!important;width:178px!important;min-width:178px!important;max-width:178px!important;height:44px!important;min-height:44px!important;padding:0 16px!important;border-radius:999px!important;font-weight:850!important;white-space:nowrap!important}
html body #clientes .wscp-head-actions .wscp-btn.import{background:linear-gradient(135deg,#35204f,#21152f)!important;border:1px solid #7550a2!important;color:#eadcff!important;box-shadow:0 9px 24px rgba(117,80,162,.22),inset 0 0 18px rgba(168,85,247,.08)!important}
html body #clientes .wscp-head-actions .wscp-btn.primary{background:linear-gradient(135deg,#2d82e6,#205fa9)!important;border:1px solid #4593ed!important;color:#fff!important;box-shadow:0 9px 26px rgba(37,116,205,.30),inset 0 0 18px rgba(255,255,255,.08)!important}
html body #clientes .wscp-head-actions .wscp-btn:hover{filter:brightness(1.10)!important;transform:translateY(-1px)!important}

/* Qualificacao: drawer premium estavel, legivel e sem alterar a largura da tela. */
html body.ux3-drawer-open #wsClassificacaoComercialV111{max-width:none!important;margin-right:0!important}
#wsDrawerAuditBackdrop{position:fixed;inset:72px 0 0;background:rgba(0,5,10,.46);backdrop-filter:blur(2px);z-index:999997;animation:wsAuditFade .18s ease both}
@keyframes wsAuditFade{from{opacity:0}to{opacity:1}}
html body #wsClassDrawerPremium{top:82px!important;right:16px!important;bottom:14px!important;width:min(510px,calc(100vw - 32px))!important;background:radial-gradient(circle at 100% 0,rgba(59,130,246,.13),transparent 34%),linear-gradient(180deg,#101923 0%,#091119 100%)!important;border:1px solid #2d4356!important;border-radius:20px!important;box-shadow:0 28px 90px rgba(0,0,0,.68),0 0 0 1px rgba(80,151,211,.05)!important;z-index:999998!important}
html body #wsClassDrawerPremium .ux3-drawer-head{padding:18px 16px 14px!important;background:radial-gradient(circle at 0 0,rgba(245,184,0,.13),transparent 42%),linear-gradient(180deg,rgba(18,31,42,.98),rgba(12,22,31,.98))!important;border-bottom:1px solid #2a3d4e!important}
html body #wsClassDrawerPremium .ux3-drawer-icon{width:46px!important;height:46px!important;border-radius:50%!important;background:#e0e7ff!important;border:0!important;color:#4338ca!important;box-shadow:none!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av0{background:#dbeafe!important;color:#1d4ed8!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av1{background:#ede9fe!important;color:#6d28d9!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av2{background:#d9f5df!important;color:#15803d!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av3{background:#fee7b0!important;color:#a16207!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av4{background:#fce7f3!important;color:#be185d!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av5{background:#cffafe!important;color:#0e7490!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av6{background:#fee2e2!important;color:#b91c1c!important}
html body #wsClassDrawerPremium .ux3-drawer-icon.av7{background:#e0e7ff!important;color:#4338ca!important}
html body #wsClassDrawerPremium .ux3-full-btn,html body #wsClassDrawerPremium .ux3-close{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;top:13px!important;border:1px solid #314555!important;border-radius:12px!important;background:#111e28!important;color:#a9bfd0!important}
html body #wsClassDrawerPremium .ux3-close{color:#ffd230!important;border-color:#624f16!important;background:#211d0f!important}
html body #wsClassDrawerPremium nav{display:flex!important;gap:2px!important;padding:0 10px!important;overflow-x:auto!important;background:#09121a!important;border-bottom:1px solid #243746!important;scrollbar-width:thin!important;scrollbar-color:#314b60 transparent!important}
html body #wsClassDrawerPremium nav::-webkit-scrollbar{height:4px}html body #wsClassDrawerPremium nav::-webkit-scrollbar-thumb{background:#314b60;border-radius:999px}
html body #wsClassDrawerPremium .ux3-tab{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:1 0 92px!important;min-width:92px!important;height:44px!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#8295a6!important;box-shadow:none!important;font-size:11px!important}
html body #wsClassDrawerPremium .ux3-tab:after{content:''!important;display:block!important;position:absolute!important;left:16px!important;right:16px!important;bottom:0!important;height:2px!important;border-radius:999px 999px 0 0!important;background:#f4c431!important;opacity:0!important;transform:scaleX(.35)!important;transition:opacity .18s ease,transform .18s ease!important}
html body #wsClassDrawerPremium .ux3-tab.active{background:transparent!important;border:0!important;color:#f3d15e!important;box-shadow:none!important}
html body #wsClassDrawerPremium .ux3-tab.active:after{opacity:1!important;transform:scaleX(1)!important}
html body #wsClassDrawerPremium .ws-drawer-tab-icon,html body #wsClassDrawerPremium .ws-drawer-action-icon{display:grid;place-items:center;flex:none;width:18px;height:18px;border:0;border-radius:0;background:transparent;font-style:normal;font-size:12px;color:currentColor}
html body #wsClassDrawerPremium :is(.ws-drawer-tab-icon,.ws-drawer-action-icon) svg{width:16px;height:16px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body #wsClassDrawerPremium .ux3-drawer-body{padding:12px!important;background:#091119!important;scrollbar-width:thin!important;scrollbar-color:#3b566c transparent!important}
html body #wsClassDrawerPremium .ux3-card{background:linear-gradient(180deg,#111c25,#0c151d)!important;border:1px solid #293c4b!important;border-radius:15px!important;box-shadow:inset 0 1px rgba(255,255,255,.025)!important}
html body #wsClassDrawerPremium .ux3-drawer-contact>div{background:#0d1821!important;border:1px solid #2b3e4d!important;border-radius:12px!important}
html body #wsClassDrawerPremium .ux3-drawer-footer{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;padding:11px!important;background:#081018!important;border-top:1px solid #293b4a!important}
html body #wsClassDrawerPremium .ux3-drawer-footer .btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;width:100%!important;min-width:0!important;height:44px!important;padding:0 12px!important;border-radius:999px!important;font-size:11px!important;line-height:1.15!important}
html body #wsClassDrawerPremium .ux3-drawer-footer .ux3-green{background:rgba(21,144,77,.13)!important;border-color:#28b76b!important;color:#62e9a0!important;box-shadow:inset 0 0 18px rgba(34,197,94,.05)!important}
html body #wsClassDrawerPremium .ux3-drawer-footer .ux3-blue{background:rgba(40,123,220,.13)!important;border-color:#438ee6!important;color:#79b9ff!important;box-shadow:inset 0 0 18px rgba(59,130,246,.05)!important}
html body #wsClassDrawerPremium .ux3-drawer-footer .danger{background:rgba(213,58,67,.12)!important;border-color:#ef5b63!important;color:#ff929a!important;box-shadow:inset 0 0 18px rgba(239,68,68,.05)!important}

/* Nuvens de mensagem internas: substituem alertas nativos que bloqueiam a CRM. */
.ws-cloud-stack{position:fixed;top:82px;right:20px;z-index:2147483000;width:min(390px,calc(100vw - 32px));display:grid;gap:9px;pointer-events:none}
.ws-cloud-toast{--tone:#3b82f6;position:relative;display:grid;grid-template-columns:40px minmax(0,1fr) 28px;align-items:start;gap:10px;padding:12px 11px;border:1px solid color-mix(in srgb,var(--tone) 42%,#2a3a49);border-radius:15px;background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--tone) 12%,transparent),transparent 44%),rgba(9,15,21,.97);box-shadow:0 18px 46px rgba(0,0,0,.48);backdrop-filter:blur(16px);color:#e8eff5;pointer-events:auto;overflow:hidden;animation:wsCloudIn .22s ease both}
.ws-cloud-toast.error{--tone:#ef5b63}.ws-cloud-toast.success{--tone:#22c55e}.ws-cloud-toast.warning{--tone:#f4b719}
.ws-cloud-toast>i{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--tone) 15%,#0c151d);color:var(--tone);font-style:normal}.ws-cloud-toast>i svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ws-cloud-toast b,.ws-cloud-toast span{display:block}.ws-cloud-toast b{font-size:12px;color:#edf3f8}.ws-cloud-toast span{margin-top:4px;color:#91a2b2;font-size:10.5px;line-height:1.45;overflow-wrap:anywhere}.ws-cloud-toast>button{width:28px;height:28px;border:0;border-radius:8px;background:rgba(255,255,255,.045);color:#8fa1b1;cursor:pointer}.ws-cloud-toast>button:hover{background:rgba(255,255,255,.09);color:#fff}.ws-cloud-toast:after{content:'';position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--tone);transform-origin:left;animation:wsCloudTime var(--duration,8s) linear both}
.ws-cloud-toast.leaving{animation:wsCloudOut .18s ease both}.ws-cloud-toast.leaving:after{animation-play-state:paused}
body.light .ws-cloud-toast,body.ws-theme-light .ws-cloud-toast{background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--tone) 10%,transparent),transparent 44%),#ffffff!important;border-color:color-mix(in srgb,var(--tone) 38%,#d7dce5)!important;color:#172033!important;box-shadow:0 18px 46px rgba(15,23,42,.16)!important}
body.light .ws-cloud-toast b,body.ws-theme-light .ws-cloud-toast b{color:#172033!important}
body.light .ws-cloud-toast span,body.ws-theme-light .ws-cloud-toast span{color:#667085!important}
body.light .ws-cloud-toast>i,body.ws-theme-light .ws-cloud-toast>i{background:color-mix(in srgb,var(--tone) 14%,#fff)!important}
body.light .ws-cloud-toast>button,body.ws-theme-light .ws-cloud-toast>button{background:rgba(15,23,42,.05)!important;color:#64748b!important}
body.light .ws-cloud-toast>button:hover,body.ws-theme-light .ws-cloud-toast>button:hover{background:rgba(15,23,42,.09)!important;color:#172033!important}
@keyframes wsCloudIn{from{opacity:0;transform:translateX(24px) scale(.98)}to{opacity:1;transform:none}}@keyframes wsCloudOut{to{opacity:0;transform:translateX(22px)}}@keyframes wsCloudTime{to{transform:scaleX(0)}}

/* Modais premium: importação, contrato e visualização do cliente. */
#modal.modal.open{background:rgba(2,6,10,.82)!important;backdrop-filter:blur(8px)!important;padding:24px!important;align-items:center!important}
#modal.modal>.box:is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general){position:relative!important;width:min(980px,96vw)!important;max-height:92vh!important;padding:24px!important;border:1px solid #2b4051!important;border-radius:24px!important;background:radial-gradient(circle at 0 0,rgba(59,130,246,.11),transparent 34%),linear-gradient(180deg,#111a22,#091118)!important;box-shadow:0 32px 110px rgba(0,0,0,.76)!important;color:#e8eef5!important;scrollbar-color:#3d5b73 transparent!important}
#modal .ws-modal-x{position:sticky;float:right;top:0;z-index:8;width:40px;height:40px;display:grid;place-items:center;border:1px solid #6f3038;border-radius:12px;background:#2b1116;color:#ff969e;font-size:22px;font-weight:900;cursor:pointer}
#modal .ws-modal-import h2,#modal .ws-modal-approval h2{margin:0 52px 8px 0!important;color:#f3f7fb!important;font-size:23px!important}
#modal .ws-modal-import .import-box{padding:18px!important;border:1px solid #3a4650!important;border-radius:18px!important;background:linear-gradient(180deg,#101923,#0c141c)!important}
#modal .ws-modal-import :is(input,textarea){border-color:#344a5b!important;background:#071018!important;color:#e7eef5!important}
#modal .ws-modal-import input[type=file]{min-height:46px;padding:10px!important;border-radius:12px!important}
#modal :is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general) .actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important}
#modal :is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general) .ws-premium-action{min-width:150px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;padding:0 18px!important;border:1px solid #34495a!important;border-radius:999px!important;background:linear-gradient(180deg,#17232d,#101922)!important;color:#dce6ee!important;box-shadow:inset 0 1px rgba(255,255,255,.035)!important}
#modal :is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general) .ws-premium-action:not(.secondary):not(.danger){border-color:#9b6d0d!important;background:linear-gradient(135deg,#d89b08,#b96b07)!important;color:#111!important}
#modal :is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general) .ws-premium-action.danger{border-color:#dc4a53!important;background:linear-gradient(135deg,#d63c46,#a9212b)!important;color:#fff!important}
#modal .ws-modal-action-icon{width:23px;height:23px;display:grid;place-items:center;flex:none;border-radius:7px;background:rgba(255,255,255,.09);font-style:normal}
#modal .ws-modal-action-icon svg{width:15px;height:15px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#modal .ws-modal-import .actions .btn{flex:0 0 205px!important;width:205px!important;min-width:205px!important;max-width:205px!important;height:46px!important}
#modal .ws-modal-import .actions .btn:nth-child(1){border-color:#3476bd!important;background:rgba(37,116,205,.12)!important;color:#77baff!important}
#modal .ws-modal-import .actions .btn:nth-child(2){border-color:#b47d0f!important;background:rgba(245,184,0,.10)!important;color:#f4ce61!important}
#modal .ws-modal-import .actions .btn:nth-child(3){border-color:#a33845!important;background:rgba(239,68,68,.09)!important;color:#ff929d!important}
#modal .ws-modal-import .actions .btn:nth-child(4){border-color:#435568!important;background:#111c26!important;color:#c7d3de!important}
#modal .ws-trash-tools{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;width:100%!important}
#modal .ws-trash-tools button{width:100%!important;min-width:0!important;max-width:none!important;height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;border-radius:999px!important}
#modal .ws-trash-tools .danger{grid-column:auto!important;min-height:44px!important}
#modal .ws-trash-tools .select{border-color:#4aa3ee!important;background:rgba(36,132,211,.16)!important;color:#9ed6ff!important;box-shadow:inset 0 0 18px rgba(59,154,246,.06)!important}
#modal .ws-trash-tools .select.active{background:rgba(36,132,211,.28)!important;border-color:#78c3ff!important;color:#d8efff!important}
#wsp17Root .wsp17-pagehead .wsp17-page-trash{border-color:#963443!important;background:rgba(160,31,51,.13)!important;color:#ff94a2!important}
#wsp17Root .wsp17-hero-actions button{flex:0 0 164px!important;width:164px!important;min-width:164px!important;max-width:164px!important;height:43px!important;border-radius:999px!important;background:rgba(15,35,48,.72)!important;box-shadow:inset 0 0 18px rgba(255,255,255,.025)!important}
#wsp17Root .wsp17-hero-actions button:first-child{border-color:#248ea6!important;background:rgba(8,115,137,.13)!important;color:#72d7e8!important}#wsp17Root .wsp17-hero-actions button:nth-child(2){border-color:#438ee6!important;background:rgba(40,123,220,.13)!important;color:#8ac3ff!important}
#wsp17Root .wsp17-page-ops{position:relative;display:flex;align-items:center;gap:9px;flex:none}
#wsp17Root .wsp17-page-ops>button{box-sizing:border-box;width:172px!important;min-width:172px!important;max-width:172px!important;height:42px!important;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 15px;border:1px solid #34495a;border-radius:999px;background:rgba(17,29,39,.72);font:800 11px inherit;cursor:pointer}
#wsp17Root .wsp17-page-ops>button svg{width:15px;height:15px}.wsp17-page-clear{border-color:#705c28!important;background:rgba(111,83,17,.12)!important;color:#e1c46f!important}
#wsp17Root .wsp17-clear-menu{position:absolute;right:0;top:48px;z-index:120;width:320px;padding:12px;border:1px solid #344b5d;border-radius:15px;background:linear-gradient(180deg,#111d27,#09131b);box-shadow:0 20px 55px rgba(0,0,0,.58)}#wsp17Root .wsp17-clear-menu[hidden]{display:none!important}#wsp17Root .wsp17-clear-menu>b{display:block;margin:0 0 9px;color:#9eb0be;font-size:10px}
#wsp17Root .wsp17-clear-menu>button{width:100%;height:38px;margin-top:6px;padding:0 12px;border:1px solid #304657;border-radius:10px;background:rgba(21,35,46,.78);color:#bdcad4;text-align:left;font:800 11px inherit;cursor:pointer}#wsp17Root .wsp17-clear-menu>button:hover{border-color:#5b7b94;background:#172937;color:#eef5fa}#wsp17Root .wsp17-clear-menu>button.all{border-color:#87323b;background:rgba(143,39,48,.13);color:#ff929a}
#wsp17Root .wsp17-manager-menu{width:350px}.wsp17-manager-home>b,.wsp17-manager-home>small{display:block}.wsp17-manager-home>b{color:#e4ecf2;font-size:13px}.wsp17-manager-home>small{margin:4px 0 10px;color:#7f94a5;font-size:10px;line-height:1.4}.wsp17-manager-home>button,.wsp17-manager-sub>button{width:100%;height:42px;margin-top:7px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:1px solid #315065;border-radius:11px;background:rgba(17,35,48,.78);color:#c7d5df;font:800 11px inherit;cursor:pointer}.wsp17-manager-home>button:hover,.wsp17-manager-sub>button:hover{border-color:#5283a2;color:#fff}.wsp17-manager-home>button.danger,.wsp17-manager-sub>button.all{border-color:#87323b;background:rgba(143,39,48,.13);color:#ff929a}.wsp17-manager-back{height:36px;display:flex;align-items:center;gap:10px;border-bottom:1px solid #2a4051;margin-bottom:7px}.wsp17-manager-back button{border:0;background:transparent;color:#75b8ed;cursor:pointer}.wsp17-manager-back b{font-size:12px;color:#dbe6ee}
#modal:has(.wsp17-manager-confirm)>.box{width:min(620px,calc(100vw - 28px))!important;padding:0!important;background:linear-gradient(180deg,#111c25,#091119)!important;border:1px solid #3a4f60!important;border-radius:20px!important}#modal:has(.wsp17-manager-confirm)>.box>.ws-modal-x{display:none!important}.wsp17-manager-confirm{padding:21px;color:#e8eff5}.wsp17-manager-confirm>header{display:flex;align-items:flex-start;gap:13px;padding-bottom:16px;border-bottom:1px solid #304354}.wsp17-manager-confirm>header i{width:43px;height:43px;display:grid;place-items:center;flex:none;border:1px solid #a33d47;border-radius:13px;background:rgba(190,43,56,.14);color:#ff929a;font-size:21px;font-style:normal;font-weight:900}.wsp17-manager-confirm h2{margin:0;font-size:19px}.wsp17-manager-confirm header p{margin:6px 0 0;color:#93a5b4;font-size:11px;line-height:1.5}.wsp17-confirm-info{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:15px 0}.wsp17-confirm-info p{margin:0;padding:12px;border:1px solid #2d4354;border-radius:12px;background:#0b151d}.wsp17-confirm-info span,.wsp17-confirm-info b{display:block}.wsp17-confirm-info span{color:#7890a2;font-size:9px}.wsp17-confirm-info b{margin-top:5px;color:#e7eef3;font-size:11px;overflow-wrap:anywhere}.wsp17-manager-confirm>footer{display:grid;grid-template-columns:1fr 1fr;gap:9px}.wsp17-manager-confirm>footer button{height:43px;border:1px solid #3a5265;border-radius:999px;background:rgba(25,43,57,.72);color:#c5d3de;font-weight:850;cursor:pointer}.wsp17-manager-confirm>footer .confirm{border-color:#a43b46;background:rgba(174,38,51,.15);color:#ff9ca5}
body.ws-theme-light #wsp17Root .wsp17-clear-menu{background:#fff;border-color:#cbd5e1;box-shadow:0 18px 42px rgba(15,23,42,.18)}body.ws-theme-light .wsp17-manager-home>b,body.ws-theme-light .wsp17-manager-back b{color:#17212c}body.ws-theme-light .wsp17-manager-home>small{color:#64748b}body.ws-theme-light .wsp17-manager-home>button,body.ws-theme-light .wsp17-manager-sub>button{background:#f8fafc;border-color:#cbd5e1;color:#334155}body.ws-theme-light #modal:has(.wsp17-manager-confirm)>.box{background:#fff!important}body.ws-theme-light .wsp17-manager-confirm{color:#17212c}body.ws-theme-light .wsp17-confirm-info p{background:#f8fafc;border-color:#d7e0e9}body.ws-theme-light .wsp17-confirm-info b{color:#1e293b}
@media(max-width:700px){#wsp17Root .wsp17-hero-actions{width:100%}#wsp17Root .wsp17-hero-actions button{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important}#wsp17Root .wsp17-page-ops{width:100%}#wsp17Root .wsp17-page-ops>button{flex:1 1 0;width:auto!important;min-width:0!important;max-width:none!important}.wsp17-confirm-info{grid-template-columns:1fr}.wsp17-manager-confirm>footer{grid-template-columns:1fr}#wsp17Root .wsp17-manager-menu{width:min(350px,calc(100vw - 38px))}}
#modal .ws-trash-tools .ws-modal-action-icon{width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:rgba(255,255,255,.08)}
/* Lixeira da Prospecção — contraste premium e estados completos no tema claro. */
html[data-nortear-theme="light"] body #modal .ws-trash-tools button,
body.light #modal .ws-trash-tools button,
body.ws-theme-light #modal .ws-trash-tools button{
  border:1px solid #2563eb!important;
  background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;
  color:#fff!important;
  text-shadow:none!important;
  box-shadow:0 5px 14px rgba(37,99,235,.22),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
html[data-nortear-theme="light"] body #modal .ws-trash-tools button .ws-modal-action-icon,
body.light #modal .ws-trash-tools button .ws-modal-action-icon,
body.ws-theme-light #modal .ws-trash-tools button .ws-modal-action-icon{background:rgba(255,255,255,.18)!important;color:inherit!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools .select:hover,
body.light #modal .ws-trash-tools .select:hover,
body.ws-theme-light #modal .ws-trash-tools .select:hover{border-color:#1d4ed8!important;background:linear-gradient(135deg,#1d4ed8,#1e40af)!important;color:#fff!important;box-shadow:0 8px 18px rgba(29,78,216,.3)!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools .select.active,
body.light #modal .ws-trash-tools .select.active,
body.ws-theme-light #modal .ws-trash-tools .select.active{border-color:#1e3a8a!important;background:linear-gradient(135deg,#1e40af,#1e3a8a)!important;color:#fff!important;box-shadow:inset 0 2px 4px rgba(15,23,42,.22),0 3px 10px rgba(30,64,175,.26)!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools .danger,
body.light #modal .ws-trash-tools .danger,
body.ws-theme-light #modal .ws-trash-tools .danger{border-color:#b91c1c!important;background:linear-gradient(135deg,#dc2626,#b91c1c)!important;color:#fff!important;box-shadow:0 5px 14px rgba(185,28,28,.2),inset 0 1px 0 rgba(255,255,255,.18)!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools .danger:hover,
body.light #modal .ws-trash-tools .danger:hover,
body.ws-theme-light #modal .ws-trash-tools .danger:hover{border-color:#991b1b!important;background:linear-gradient(135deg,#b91c1c,#991b1b)!important;color:#fff!important;box-shadow:0 8px 18px rgba(153,27,27,.28)!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools .restore,
body.light #modal .ws-trash-tools .restore,
body.ws-theme-light #modal .ws-trash-tools .restore{border-color:#047857!important;background:linear-gradient(135deg,#059669,#047857)!important;color:#fff!important;box-shadow:0 5px 14px rgba(4,120,87,.2),inset 0 1px 0 rgba(255,255,255,.18)!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools .restore:hover,
body.light #modal .ws-trash-tools .restore:hover,
body.ws-theme-light #modal .ws-trash-tools .restore:hover{border-color:#065f46!important;background:linear-gradient(135deg,#047857,#065f46)!important;color:#fff!important;box-shadow:0 8px 18px rgba(6,95,70,.28)!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools button:active,
body.light #modal .ws-trash-tools button:active,
body.ws-theme-light #modal .ws-trash-tools button:active{transform:translateY(1px)!important;box-shadow:inset 0 2px 5px rgba(15,23,42,.24)!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools button:focus-visible,
body.light #modal .ws-trash-tools button:focus-visible,
body.ws-theme-light #modal .ws-trash-tools button:focus-visible{outline:3px solid #93c5fd!important;outline-offset:3px!important}
html[data-nortear-theme="light"] body #modal .ws-trash-tools button:disabled,
body.light #modal .ws-trash-tools button:disabled,
body.ws-theme-light #modal .ws-trash-tools button:disabled{border-color:#cbd5e1!important;background:#e2e8f0!important;color:#64748b!important;box-shadow:none!important;cursor:not-allowed!important;opacity:1!important}
#modal>.box.ws-modal-docs{position:relative!important;width:min(1040px,94vw)!important;max-height:90vh!important;padding:20px!important;border:1px solid #2d4356!important;border-radius:22px!important;background:linear-gradient(180deg,#101a23,#091119)!important;box-shadow:0 30px 100px rgba(0,0,0,.72)!important}
#modal .wsp17-evidence-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;width:100%!important}
#modal .wsp17-evidence-actions button{width:100%!important;min-width:0!important;max-width:none!important;height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 14px!important;border-radius:999px!important}
#modal .wsp17-evidence-actions .ws-modal-action-icon{width:22px;height:22px;display:grid;place-items:center;flex:none;border-radius:7px;background:rgba(255,255,255,.09)}
#modal .ws-modal-contract{width:min(1020px,96vw)!important}
#modal .ws-modal-contract #printArea.contract-doc{max-width:760px!important;margin:0 auto!important;padding:42px!important;border-radius:16px!important;box-shadow:0 18px 55px rgba(0,0,0,.35)!important}
#modal .ws-modal-contract>.ws-modal-x+#modalContent .actions,#modal .ws-modal-contract #modalContent>.actions{position:sticky!important;bottom:-24px!important;z-index:6;margin:18px -24px -24px!important;padding:14px 24px!important;background:rgba(9,17,24,.96)!important;border-top:1px solid #2a3e4e!important;backdrop-filter:blur(12px)!important}
#modal .ws-modal-approval{width:min(1040px,96vw)!important;border-color:#285a93!important;background:radial-gradient(circle at 100% 0,rgba(47,128,255,.13),transparent 36%),linear-gradient(180deg,#101923,#091118)!important}
#modal .ws-modal-approval .client-review-card{padding:18px!important;border:1px solid #2b4051!important;border-radius:18px!important;background:linear-gradient(180deg,#101820,#0b131a)!important}
#modal .ws-modal-approval .preview-box{min-height:220px!important;border:1px solid #2b3e4d!important;border-radius:15px!important;background:#04080b!important;display:grid!important;place-items:center!important}
#modal .ws-modal-approval textarea{min-height:112px!important;border-color:#34506a!important;background:#071018!important;color:#e8eef5!important}
#modal .ws-modal-approval .actions .btn{flex:1 1 180px!important;min-width:180px!important;height:46px!important}
#modal .ws-modal-approval .actions .btn:first-child{border-color:#3687e5!important;background:linear-gradient(135deg,#2e7ed8,#20599f)!important;color:#fff!important}
#modal :is(.ws-modal-general){width:min(860px,96vw)!important}
#modal :is(.ws-modal-general) #modalContent>.actions:last-of-type{position:sticky!important;bottom:-24px!important;z-index:6;margin:18px -24px -24px!important;padding:14px 24px!important;background:rgba(9,17,24,.96)!important;border-top:1px solid #2a3e4e!important;backdrop-filter:blur(12px)!important}
#modal :is(.ws-modal-general) #modalContent>.actions:last-of-type .btn{flex:0 0 190px!important;width:190px!important;min-width:190px!important;max-width:190px!important;height:46px!important}
#modal :is(.ws-modal-general) #modalContent>.actions:last-of-type .btn:nth-child(2){border-color:#438ee6!important;background:linear-gradient(135deg,#287bdc,#1c58a4)!important;color:#fff!important}
#modal :is(.ws-modal-general) #modalContent>.actions:last-of-type .btn:last-child:not(.danger){border-color:#475569!important;background:linear-gradient(135deg,#263442,#17222d)!important;color:#e2e8f0!important}

@media(max-width:680px){#modal.modal.open{padding:8px!important}#modal.modal>.box:is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general){padding:16px!important;border-radius:18px!important}#modal .ws-modal-contract #printArea.contract-doc{padding:22px!important}#modal .ws-modal-approval .actions .btn,#modal :is(.ws-modal-general) #modalContent>.actions:last-of-type .btn,#modal .ws-modal-import .actions .btn{flex-basis:100%!important;width:100%!important;max-width:none!important}#modal .ws-trash-tools,#modal .wsp17-evidence-actions{grid-template-columns:1fr!important}#modal .ws-trash-tools button{width:100%!important;min-width:0!important;max-width:none!important}#modal .ws-trash-tools .danger{grid-column:auto!important}}

/* Auditoria final das superfícies flutuantes: compactas, fecháveis e coerentes. */
#modal.modal.open,.ws48-modal.open,#ws61NovoLeadModal.open{
  align-items:center!important;
  justify-content:center!important;
  padding:20px!important;
  background:rgba(2,8,16,.62)!important;
  backdrop-filter:blur(6px)!important;
}
#modal.modal>.box,#modal.modal>.box:is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general,.ws-modal-docs),.ws48-modal .ws48-dialog,#ws61NovoLeadModal .ws61-dialog{
  box-sizing:border-box!important;
  width:min(760px,calc(100vw - 40px))!important;
  max-width:760px!important;
  min-height:0!important;
  max-height:calc(100vh - 40px)!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:18px!important;
  background:#0b141e!important;
  color:#e7eef7!important;
  box-shadow:0 26px 76px rgba(0,0,0,.5)!important;
}
#modal.modal>.box.ws-modal-contract,
#modal.modal>.box.ws-modal-approval{width:min(900px,calc(100vw - 40px))!important;max-width:900px!important}
#modal #modalContent,.ws48-modal .ws48-body,#ws61NovoLeadModal .ws61-body{
  box-sizing:border-box!important;
  max-height:calc(100vh - 40px)!important;
  overflow:auto!important;
  padding:20px!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(148,163,184,.34) transparent!important;
}
#modal .ws-modal-x{
  position:absolute!important;
  float:none!important;
  top:12px!important;
  right:12px!important;
  z-index:20!important;
  width:34px!important;
  height:34px!important;
  border:1px solid rgba(248,113,113,.34)!important;
  border-radius:10px!important;
  background:rgba(239,68,68,.07)!important;
  color:#f87171!important;
  font-size:18px!important;
}
.ws48-modal .ws48-head,#ws61NovoLeadModal .ws61-head{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
  box-sizing:border-box!important;
  min-height:58px!important;
  margin:0!important;
  padding:13px 16px!important;
  border-bottom:1px solid rgba(148,163,184,.18)!important;
  background:#0d1822!important;
}
.ws48-modal .ws48-close,#ws61NovoLeadModal .ws61-close{
  width:34px!important;
  height:34px!important;
  padding:0!important;
  border:1px solid rgba(248,113,113,.34)!important;
  border-radius:10px!important;
  background:rgba(239,68,68,.07)!important;
  color:#f87171!important;
}
#modal :is(.ws-modal-import,.ws-modal-contract,.ws-modal-approval,.ws-modal-general) .ws-premium-action,#modal .ws-modal-import .actions .btn,#modal .ws-modal-approval .actions .btn,#modal :is(.ws-modal-general) #modalContent>.actions:last-of-type .btn,#modal .ws-trash-tools button,#modal .wsp17-evidence-actions button,#ws61NovoLeadModal .ws61-actions .btn,#ws61NovoLeadModal #ws61DestinoBox .btn{
  flex:1 1 132px!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  min-height:38px!important;
  height:38px!important;
  padding:0 13px!important;
  border-radius:10px!important;
  font-size:10.5px!important;
  box-shadow:none!important;
}
#modal .ws-modal-import .actions,#modal .ws-modal-approval .actions,#modal :is(.ws-modal-general) #modalContent>.actions:last-of-type{
  position:sticky!important;
  bottom:-20px!important;
  z-index:6!important;
  margin:16px -20px -20px!important;
  padding:12px 20px!important;
  background:color-mix(in srgb,#0b141e 94%,transparent)!important;
  border-top:1px solid rgba(148,163,184,.18)!important;
  backdrop-filter:blur(10px)!important;
}
/* Somente os diálogos de associação de campanha da Aprovação usam ações
   compactas, lado a lado e sem a barra interna fixa dos modais genéricos. */
#modal.wsr-campaign-modal .ws-modal-general #modalContent .actions.wsap-campaign-modal-actions,
#modal.wsr-campaign-modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions,
#modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  flex-wrap:nowrap!important;
  width:100%!important;
  margin:16px 0 0!important;
  padding:0!important;
  gap:8px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
#modal.wsr-campaign-modal .ws-modal-general #modalContent .actions.wsap-campaign-modal-actions .btn,
#modal.wsr-campaign-modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions .btn,
#modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions .btn{
  flex:0 0 auto!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  height:38px!important;
  min-height:38px!important;
  padding:0 16px!important;
  border-radius:9px!important;
  background:#e8ad28!important;
  border-color:#e8ad28!important;
  color:#2f2100!important;
}
#modal.wsr-campaign-modal .ws-modal-general #modalContent .actions.wsap-campaign-modal-actions .btn.secondary,
#modal.wsr-campaign-modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions .btn.secondary,
#modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions .btn.secondary{
  background:#111d27!important;
  border-color:#526273!important;
  color:#dce6ef!important;
}
html[data-nortear-theme="light"] body #modal.wsr-campaign-modal .ws-modal-general #modalContent .actions.wsap-campaign-modal-actions .btn.secondary,
html[data-nortear-theme="light"] body #modal.wsr-campaign-modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions .btn.secondary,
body.light #modal.wsr-campaign-modal .ws-modal-general #modalContent .actions.wsap-campaign-modal-actions .btn.secondary,
body.light #modal.wsr-campaign-modal .ws-modal-approval #modalContent .actions.wsap-campaign-modal-actions .btn.secondary{
  background:#fff!important;
  border-color:#cbd5e1!important;
  color:#334155!important;
}
html[data-nortear-theme="light"] body #modal.modal>.box,
body.light #modal.modal>.box,body.ws-theme-light #modal.modal>.box,
html[data-nortear-theme="light"] body .ws48-modal .ws48-dialog,
body.light .ws48-modal .ws48-dialog,body.ws-theme-light .ws48-modal .ws48-dialog,
html[data-nortear-theme="light"] body #ws61NovoLeadModal .ws61-dialog,
body.light #ws61NovoLeadModal .ws61-dialog,body.ws-theme-light #ws61NovoLeadModal .ws61-dialog{
  background:#fff!important;
  color:#172033!important;
  border-color:#d8e1ec!important;
  box-shadow:0 24px 64px rgba(15,23,42,.2)!important;
}
html[data-nortear-theme="light"] body .ws48-modal .ws48-head,
body.light .ws48-modal .ws48-head,body.ws-theme-light .ws48-modal .ws48-head,
html[data-nortear-theme="light"] body #ws61NovoLeadModal .ws61-head,
body.light #ws61NovoLeadModal .ws61-head,body.ws-theme-light #ws61NovoLeadModal .ws61-head{
  background:#fff!important;
  border-color:#dce4ee!important;
}
html[data-nortear-theme="light"] body #modal :is(.ws-modal-import,.ws-modal-approval,.ws-modal-general) .actions,body.light #modal :is(.ws-modal-import,.ws-modal-approval,.ws-modal-general) .actions,body.ws-theme-light #modal :is(.ws-modal-import,.ws-modal-approval,.ws-modal-general) .actions{
  background:rgba(255,255,255,.94)!important;
  border-color:#dce4ee!important;
}
@media(max-width:680px){
  #modal.modal.open,.ws48-modal.open,#ws61NovoLeadModal.open{padding:10px!important;align-items:flex-start!important}
  #modal.modal>.box,.ws48-modal .ws48-dialog,#ws61NovoLeadModal .ws61-dialog{width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important;border-radius:15px!important}
  #modal #modalContent,.ws48-modal .ws48-body,#ws61NovoLeadModal .ws61-body{max-height:calc(100vh - 20px)!important;padding:15px!important}
}

/* Tema claro: “Adicionar etapa” replica a transparência pontilhada do escuro. */
html[data-nortear-theme="light"] body #prospeccao #wsp17Root .wsp17-add-stage,
body.light #prospeccao #wsp17Root .wsp17-add-stage,
body.ws-theme-light #prospeccao #wsp17Root .wsp17-add-stage{
  border:1px dashed rgba(100,116,139,.38)!important;
  background:transparent!important;
  color:rgba(71,85,105,.64)!important;
  box-shadow:none!important;
}
html[data-nortear-theme="light"] body #prospeccao #wsp17Root .wsp17-add-stage i,
body.light #prospeccao #wsp17Root .wsp17-add-stage i,
body.ws-theme-light #prospeccao #wsp17Root .wsp17-add-stage i{
  border-color:rgba(100,116,139,.42)!important;
  background:transparent!important;
  color:#64748b!important;
}
html[data-nortear-theme="light"] body #prospeccao #wsp17Root .wsp17-add-stage b,
body.light #prospeccao #wsp17Root .wsp17-add-stage b,
body.ws-theme-light #prospeccao #wsp17Root .wsp17-add-stage b{color:#475569!important;opacity:.78!important}
html[data-nortear-theme="light"] body #prospeccao #wsp17Root .wsp17-add-stage span,
body.light #prospeccao #wsp17Root .wsp17-add-stage span,
body.ws-theme-light #prospeccao #wsp17Root .wsp17-add-stage span{color:#64748b!important;opacity:.68!important}
html[data-nortear-theme="light"] body #prospeccao #wsp17Root .wsp17-add-stage:hover,
body.light #prospeccao #wsp17Root .wsp17-add-stage:hover,
body.ws-theme-light #prospeccao #wsp17Root .wsp17-add-stage:hover{
  border-color:rgba(37,99,235,.55)!important;
  background:rgba(37,99,235,.035)!important;
  color:#2563eb!important;
}

/* Editor integrado de etapas no final do Kanban. */
#wsp17Root .wsp17-add-stage{box-sizing:border-box!important;align-self:stretch!important;flex:0 0 225px!important;min-width:225px!important;min-height:420px!important;height:auto!important;border:1px dashed rgba(116,146,169,.28)!important;border-radius:11px!important;background:rgba(10,18,25,.22)!important;color:rgba(160,183,201,.44)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:18px!important;cursor:pointer;box-shadow:none!important;transition:border-color .18s ease,background .18s ease,color .18s ease}
#wsp17Root .wsp17-add-stage:hover{border-color:rgba(132,166,191,.46)!important;background:rgba(15,27,37,.32)!important;color:rgba(183,205,221,.62)!important;transform:none!important}
#wsp17Root .wsp17-add-stage i{width:42px!important;height:42px!important;border:1px dashed rgba(137,166,188,.36)!important;border-radius:50%!important;display:grid!important;place-items:center!important;font-size:22px!important;font-style:normal;opacity:.72}
#wsp17Root .wsp17-add-stage b{font-size:11px!important;font-weight:750!important;opacity:.68}#wsp17Root .wsp17-add-stage span{font-size:9px!important;max-width:130px;text-align:center;line-height:1.4;opacity:.42}
#wsp17Root .wsp17-col>footer button{color:var(--wsp17-button-color,#6f8ba3)!important}#wsp17Root .wsp17-cardmeta em.hot{background:rgba(220,38,38,.12)!important;color:#dc2626!important;border-color:rgba(220,38,38,.25)!important}#wsp17Root .wsp17-cardmeta em.warm{background:rgba(217,119,6,.12)!important;color:#d97706!important;border-color:rgba(217,119,6,.25)!important}#wsp17Root .wsp17-cardmeta em.cold{background:rgba(22,163,74,.12)!important;color:#16a34a!important;border-color:rgba(22,163,74,.25)!important}
#modal:has(.wsp17-stage-editor)>.box{width:min(1000px,calc(100vw - 30px))!important;max-height:calc(100vh - 34px)!important;padding:0!important;overflow:auto!important;background:linear-gradient(180deg,#101b25,#081119)!important;border:1px solid #30485b!important;border-radius:22px!important}#modal:has(.wsp17-stage-editor)>.box>.ws-modal-x{display:none!important}
#modal .wsp17-stage-editor{padding:20px;color:#e8f0f6}#modal .wsp17-stage-editor>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #2a4051}#modal .wsp17-stage-editor>header>div{display:flex;align-items:center;gap:12px}#modal .wsp17-stage-editor>header i{width:42px;height:42px;display:grid;place-items:center;border:1px dashed #ec4899;border-radius:50%;background:rgba(131,24,67,.14);color:#f9a8d4;font-size:24px;font-style:normal}#modal .wsp17-stage-editor h2,#modal .wsp17-stage-editor h3{margin:0}#modal .wsp17-stage-editor header p,#modal .wsp17-stage-section>p{margin:4px 0 0;color:#8298aa;font-size:11px}#modal .wsp17-stage-editor>header>button{width:40px;height:40px;border:1px solid #7b2935;border-radius:12px;background:#31151a;color:#ff8992;font-size:20px;cursor:pointer}
#modal .wsp17-stage-section{margin-top:14px;padding:15px;border:1px solid #2a4051;border-radius:16px;background:rgba(8,18,27,.65)}#modal .wsp17-stage-section h3{font-size:14px}.wsp17-stage-presets{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.wsp17-stage-presets button,.wsp17-stage-add button,.wsp17-stage-row button,.wsp17-save-appearance{min-height:40px;border:1px solid #3c5b72;border-radius:999px;background:rgba(31,53,70,.36);color:#b8cad8;font-weight:800;cursor:pointer}.wsp17-stage-presets button:hover{border-color:#ec4899;color:#f9a8d4}
#modal .wsp17-stage-add{display:grid;grid-template-columns:minmax(220px,1fr) 150px 190px;gap:9px;margin-top:12px;align-items:end}#modal .wsp17-stage-add>input,#modal .wsp17-stage-row>input:first-child{height:42px;border:1px solid #31495c;border-radius:11px;background:#08121a;color:#e9f1f7;padding:0 12px}#modal .wsp17-stage-add label{display:flex;align-items:center;justify-content:space-between;height:42px;padding:0 10px;border:1px solid #31495c;border-radius:11px;color:#91a6b6;font-size:10px}#modal input[type=color]{width:38px;height:30px;border:0;padding:0;background:transparent;cursor:pointer}
#modal .wsp17-stage-list{display:grid;gap:8px;margin-top:12px}.wsp17-stage-row{display:grid;grid-template-columns:minmax(180px,1fr) 52px 145px 145px;gap:8px}.wsp17-stage-row>label{display:grid;place-items:center;border:1px solid #31495c;border-radius:10px;background:#08121a}.wsp17-stage-row .save{border-color:#2d6ea4;color:#79b9ff;background:rgba(40,123,220,.12)}.wsp17-stage-row .delete{border-color:#87323b;color:#ff929a;background:rgba(213,58,67,.11)}
#modal .wsp17-color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}#modal .wsp17-color-grid label{height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border:1px solid #31495c;border-radius:11px;color:#b3c4d1;font-size:11px}.wsp17-save-appearance{width:100%;border-color:#2f9a61!important;color:#71e6a4!important;background:rgba(21,144,77,.12)!important}
@media(max-width:700px){#modal .wsp17-stage-presets,#modal .wsp17-color-grid{grid-template-columns:1fr 1fr}#modal .wsp17-stage-add,#modal .wsp17-stage-row{grid-template-columns:1fr}#modal .wsp17-stage-row>label{height:42px}#wsp17Root .wsp17-add-stage{flex-basis:180px!important;min-width:180px!important}}

body.light #projetos.wsca-premium,body.ws-theme-light #projetos.wsca-premium,body.light #prospeccao.wsp17-section,body.ws-theme-light #prospeccao.wsp17-section{background:#f3f6fa!important;color:#17212c!important}
body.light #projetos .wsca-hero,body.light #projetos .wsca-filter,body.light #projetos .project-tabs,body.light #projetos .project-area.active,body.light #projetos .project-area .card,body.ws-theme-light #projetos .wsca-hero,body.ws-theme-light #projetos .wsca-filter,body.ws-theme-light #projetos .project-tabs,body.ws-theme-light #projetos .project-area.active,body.ws-theme-light #projetos .project-area .card{background:#fff!important;border-color:#d7e0e9!important;color:#17212c!important;box-shadow:0 9px 26px rgba(15,23,42,.07)!important}
body.light #projetos .project-tab,body.ws-theme-light #projetos .project-tab{background:color-mix(in srgb,var(--tab) 4%,white)!important;color:#334155!important;border-color:transparent!important}
body.light #projetos .project-tab:hover,body.ws-theme-light #projetos .project-tab:hover{background:color-mix(in srgb,var(--tab) 9%,white)!important;color:#111827!important;border-color:transparent!important}
body.light #projetos .project-tab.active,body.ws-theme-light #projetos .project-tab.active{background:color-mix(in srgb,var(--tab) 14%,white)!important;color:#111827!important;border-color:color-mix(in srgb,var(--tab) 55%,#cbd5e1)!important}
body.light .wsca-hero p,body.ws-theme-light .wsca-hero p{color:#667085!important}
body.light .wsca-actions button,body.ws-theme-light .wsca-actions button{border-color:#d7dce5!important;background:#ffffff!important;color:#334155!important}
body.light .wsca-actions button.primary,body.ws-theme-light .wsca-actions button.primary{border-color:rgba(37,99,235,.5)!important;background:linear-gradient(135deg,#2563eb,#1d4f91)!important;color:#fff!important}
body.light .wsca-kpis article,body.ws-theme-light .wsca-kpis article{border-color:color-mix(in srgb,var(--tone) 25%,#e2e8f0)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--tone) 7%,#ffffff),#f8fafc)!important}
body.light .wsca-kpis small,body.ws-theme-light .wsca-kpis small{color:#667085!important}
body.light .wsca-kpis strong,body.ws-theme-light .wsca-kpis strong{color:#172033!important}
body.light .wsca-filter small,body.light .wsca-filter>label,body.ws-theme-light .wsca-filter small,body.ws-theme-light .wsca-filter>label{color:#667085!important}
body.light .wsca-filter>select,body.ws-theme-light .wsca-filter>select{background:#ffffff!important;border-color:#cfd8e3!important;color:#172033!important}
body.light #projetos .project-area>.grid:first-child .metric,body.ws-theme-light #projetos .project-area>.grid:first-child .metric{border-color:#e2e8f0!important;background:#f8fafc!important}
body.light #projetos .project-area :is(.input,input,select,textarea),body.ws-theme-light #projetos .project-area :is(.input,input,select,textarea){border-color:#cfd8e3!important;background:#ffffff!important;color:#172033!important}
body.light #wsp17Root .wsp17-hero,body.light #wsp17Root .wsp17-nav,body.light #wsp17Root .wsp17-pagehead,body.light #wsp17Root .wsp17-toolbar,body.light #wsp17Root .wsp17-table,body.light #wsp17Root .wsp17-panel,body.light #wsp17Root .wsp17-diag-start,body.light #wsp17Root .wsp17-profile,body.ws-theme-light #wsp17Root .wsp17-hero,body.ws-theme-light #wsp17Root .wsp17-nav,body.ws-theme-light #wsp17Root .wsp17-pagehead,body.ws-theme-light #wsp17Root .wsp17-toolbar,body.ws-theme-light #wsp17Root .wsp17-table,body.ws-theme-light #wsp17Root .wsp17-panel,body.ws-theme-light #wsp17Root .wsp17-diag-start,body.ws-theme-light #wsp17Root .wsp17-profile{background:#fff!important;border-color:#d7e0e9!important;color:#17212c!important;box-shadow:0 9px 26px rgba(15,23,42,.07)!important}
body.light #wsp17Root h2,body.light #wsp17Root h3,body.light #wsp17Root h4,body.light #wsp17Root b,body.light #wsp17Root strong,body.ws-theme-light #wsp17Root h2,body.ws-theme-light #wsp17Root h3,body.ws-theme-light #wsp17Root h4,body.ws-theme-light #wsp17Root b,body.ws-theme-light #wsp17Root strong{color:#17212c!important;text-shadow:none!important}
body.light #wsp17Root .wsp17-toolbar label,body.light #wsp17Root .wsp17-toolbar select,body.light #wsp17Root .wsp17-diag-start input,body.ws-theme-light #wsp17Root .wsp17-toolbar label,body.ws-theme-light #wsp17Root .wsp17-toolbar select,body.ws-theme-light #wsp17Root .wsp17-diag-start input{background:#f8fafc!important;border-color:#cdd8e3!important;color:#17212c!important}
body.light .ws-trash,body.ws-theme-light .ws-trash{color:#17212c}.light .ws-trash-list label,.ws-theme-light .ws-trash-list label{background:#f8fafc;border-color:#d7e0e9}.light .ws-trash-list b,.ws-theme-light .ws-trash-list b{color:#17212c!important}
body.light :is(#organizacao,#documentos,#teamarea,#linhaeditorial,#aprovacao) :is(.wso-hero,.wso-panel,.wsp-hero,.wsp-panel,.wsr-module-hero,.wsr-panel,.card),body.ws-theme-light :is(#organizacao,#documentos,#teamarea,#linhaeditorial,#aprovacao) :is(.wso-hero,.wso-panel,.wsp-hero,.wsp-panel,.wsr-module-hero,.wsr-panel,.card){background:#fff!important;color:#17212c!important;border-color:#d7e0e9!important;box-shadow:0 9px 26px rgba(15,23,42,.07)!important}
body.light :is(#organizacao,#documentos,#teamarea,#linhaeditorial,#aprovacao) :is(h1,h2,h3,h4,b,strong),body.ws-theme-light :is(#organizacao,#documentos,#teamarea,#linhaeditorial,#aprovacao) :is(h1,h2,h3,h4,b,strong){color:#17212c!important;text-shadow:none!important}
body.light :is(#organizacao,#documentos,#teamarea,#linhaeditorial,#aprovacao) :is(input,select,textarea),body.ws-theme-light :is(#organizacao,#documentos,#teamarea,#linhaeditorial,#aprovacao) :is(input,select,textarea){background:#f8fafc!important;color:#17212c!important;border-color:#cdd8e3!important}
@media(max-width:850px){#wsp17Root .wsp17-toolbar{grid-template-columns:1fr!important}#wsp17Root .wsp17-diag-actions{grid-template-columns:1fr!important}#projetos .project-tab{flex-basis:205px!important;width:205px!important;min-width:205px!important;max-width:205px!important}}
@media(max-width:620px){html body #clientes .wscp-head-actions{width:100%;overflow-x:auto;padding-bottom:4px}html body #clientes .wscp-head-actions .wscp-btn{flex-basis:168px!important;width:168px!important;min-width:168px!important;max-width:168px!important}html body #wsClassDrawerPremium{left:8px!important;right:8px!important;width:auto!important;bottom:8px!important}html body #wsClassDrawerPremium .ux3-drawer-footer{grid-template-columns:1fr!important}}
@media(max-width:760px){}

/* Correção estrutural: cabeçalho{padding:0!important;overflow:hidden!important}
@media(max-width:760px){
}

/* Sistema global de superfícies flutuantes da CRM. */
html body :is(#modal.modal.open,.ws48-modal.open,#ws61NovoLeadModal.open,.ws-v9-modal.active,#wsHubModal.open){
  background:rgba(3,9,15,.66)!important;
  backdrop-filter:blur(7px)!important;
  -webkit-backdrop-filter:blur(7px)!important;
}
html body .ws-floating-premium{
  box-sizing:border-box!important;
  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:18px!important;
  background:#0b141e!important;
  color:#e7eef7!important;
  box-shadow:0 26px 72px rgba(0,0,0,.46)!important;
}
html body .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head){
  box-sizing:border-box!important;
  min-height:62px!important;
  margin:0!important;
  padding:14px 18px!important;
  border-bottom:1px solid rgba(148,163,184,.18)!important;
  background:#0d1822!important;
  color:#eaf1f7!important;
  box-shadow:none!important;
}
html body .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head) :is(h1,h2,h3,strong){
  margin:0!important;color:#edf4fa!important;text-shadow:none!important;
}
html body .ws-floating-premium :is(.ws48-body,.ws61-body,.ws-v9-modal-body,.ux3-drawer-body,.wsp-drawer-body,.wsa-tools-body,#modalContent){
  scrollbar-width:thin!important;
  scrollbar-color:rgba(148,163,184,.3) transparent!important;
}
html body .ws-floating-premium :is(.ws48-body,.ws61-body,.ws-v9-modal-body,.ux3-drawer-body,.wsp-drawer-body,.wsa-tools-body,#modalContent)::-webkit-scrollbar{width:7px!important;height:7px!important}
html body .ws-floating-premium :is(.ws48-body,.ws61-body,.ws-v9-modal-body,.ux3-drawer-body,.wsp-drawer-body,.wsa-tools-body,#modalContent)::-webkit-scrollbar-track{background:transparent!important}
html body .ws-floating-premium :is(.ws48-body,.ws61-body,.ws-v9-modal-body,.ux3-drawer-body,.wsp-drawer-body,.wsa-tools-body,#modalContent)::-webkit-scrollbar-thumb{
  border:2px solid transparent!important;border-radius:999px!important;background:rgba(148,163,184,.28)!important;background-clip:padding-box!important;
}
html body .ws-floating-premium :is(.ws48-close,.ws61-close,.ws-v9-x,.ux3-close,.ws-drawer-close,.ws-modal-x,.wsp-modal-head>button,.wsa-tools-head>button){
  width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;
  display:grid!important;place-items:center!important;border:1px solid rgba(248,113,113,.34)!important;
  border-radius:10px!important;background:rgba(239,68,68,.07)!important;color:#f87171!important;
  box-shadow:none!important;font-size:18px!important;
}
html body .ws-floating-premium :is(.actions,.ws48-actions,.ws61-actions,.ws-v9-modal-actions,.ux3-drawer-footer,.wsp-drawer-footer,.wsa-tools-footer){
  gap:9px!important;border-color:rgba(148,163,184,.18)!important;background:rgba(11,20,30,.96)!important;box-shadow:none!important;
}
html body .ws-floating-premium :is(.btn,button):not(.ws-modal-x):not(.ws48-close):not(.ws61-close):not(.ws-v9-x):not(.ux3-close){
  box-sizing:border-box;
  border-radius:9px!important;
  box-shadow:none!important;
}
html body .ws-floating-premium :is(input,select,textarea){
  box-sizing:border-box!important;
  border-color:#304557!important;
  border-radius:9px!important;
  background:#08121b!important;
  color:#e7eef7!important;
  box-shadow:none!important;
}
html body .ws-floating-premium :is(input,select,textarea):focus{
  border-color:#3b82f6!important;
  outline:2px solid rgba(59,130,246,.13)!important;
  outline-offset:0!important;
}
html body .ws-floating-premium :is(.card,.ws48-card,.ws61-card,.ux3-card,.wsp-drawer-card){
  border-color:rgba(148,163,184,.2)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.025)!important;
  box-shadow:none!important;
}

/* A mesma linguagem no tema claro. */
html[data-nortear-theme="light"] body .ws-floating-premium,
body.light .ws-floating-premium,body.ws-theme-light .ws-floating-premium{
  border-color:#d8e1eb!important;background:#fff!important;color:#172033!important;
  box-shadow:0 24px 64px rgba(15,23,42,.2)!important;
}
html[data-nortear-theme="light"] body .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head),
body.light .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head),
body.ws-theme-light .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head){
  border-color:#dce4ee!important;background:#fff!important;color:#172033!important;
}
html[data-nortear-theme="light"] body .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head) :is(h1,h2,h3,strong),
body.light .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head) :is(h1,h2,h3,strong),
body.ws-theme-light .ws-floating-premium :is(.ws48-head,.ws61-head,.ws-v9-modal-head,.ux3-drawer-head,.wsp-modal-head,.wsp-modal-headbar,.wsa-tools-head) :is(h1,h2,h3,strong){color:#172033!important}
html[data-nortear-theme="light"] body .ws-floating-premium :is(.actions,.ws48-actions,.ws61-actions,.ws-v9-modal-actions,.ux3-drawer-footer,.wsp-drawer-footer,.wsa-tools-footer),
body.light .ws-floating-premium :is(.actions,.ws48-actions,.ws61-actions,.ws-v9-modal-actions,.ux3-drawer-footer,.wsp-drawer-footer,.wsa-tools-footer),
body.ws-theme-light .ws-floating-premium :is(.actions,.ws48-actions,.ws61-actions,.ws-v9-modal-actions,.ux3-drawer-footer,.wsp-drawer-footer,.wsa-tools-footer){border-color:#dce4ee!important;background:rgba(255,255,255,.96)!important}
html[data-nortear-theme="light"] body .ws-floating-premium :is(input,select,textarea),
body.light .ws-floating-premium :is(input,select,textarea),body.ws-theme-light .ws-floating-premium :is(input,select,textarea){
  border-color:#cfd9e5!important;background:#fff!important;color:#172033!important;
}
html[data-nortear-theme="light"] body .ws-floating-premium :is(.card,.ws48-card,.ws61-card,.ux3-card,.wsp-drawer-card),
body.light .ws-floating-premium :is(.card,.ws48-card,.ws61-card,.ux3-card,.wsp-drawer-card),
body.ws-theme-light .ws-floating-premium :is(.card,.ws48-card,.ws61-card,.ux3-card,.wsp-drawer-card){
  border-color:#dce4ee!important;background:#f8fafc!important;color:#172033!important;
}
@media(max-width:680px){
  html body .ws-floating-premium{border-radius:14px!important}
}

/* Cadastro avançado de lead: remove o tema escuro residual quando a CRM está clara. */
html[data-nortear-theme="light"] body #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium,
html body.light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium,
html body.ws-theme-light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium{
  border-radius:18px!important;background:#fff!important;color:#172033!important;border-color:#d8e1eb!important;
}
html[data-nortear-theme="light"] body #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(.ws61-card,.card),
html body.light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(.ws61-card,.card),
html body.ws-theme-light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(.ws61-card,.card){
  background:#f8fafc!important;color:#172033!important;border-color:#dce4ee!important;
}
html[data-nortear-theme="light"] body #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(h1,h2,h3,h4,b,strong,label,p,span),
html body.light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(h1,h2,h3,h4,b,strong,label,p,span),
html body.ws-theme-light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(h1,h2,h3,h4,b,strong,label,p,span){
  color:#334155!important;text-shadow:none!important;
}
html[data-nortear-theme="light"] body #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(input,select,textarea),
html body.light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(input,select,textarea),
html body.ws-theme-light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium :is(input,select,textarea){
  background:#fff!important;color:#172033!important;border-color:#cfd9e5!important;
}
html[data-nortear-theme="light"] body #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium .ws61-actions,
html body.light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium .ws61-actions,
html body.ws-theme-light #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium .ws61-actions{
  background:#fff!important;border-color:#dce4ee!important;
}

/* Auditoria 24/07: modais compactos, rolamento previsível e seções recolhíveis. */
html body #ws61NovoLeadModal.open{
  padding:clamp(18px,4vh,42px)!important;align-items:center!important;overflow:hidden!important;
}
html body #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium{
  width:min(1120px,calc(100vw - 32px))!important;max-width:1120px!important;
  min-height:0!important;height:min(78vh,720px)!important;padding:0!important;
  display:grid!important;grid-template-rows:62px minmax(0,1fr)!important;overflow:hidden!important;
}
html body #ws61NovoLeadModal.open .ws61-head{
  position:relative!important;inset:auto!important;z-index:3!important;margin:0!important;padding:13px 20px!important;
}
html body #ws61NovoLeadModal.open #ws61NovoLeadBody{
  min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:16px 20px 18px!important;
  scrollbar-width:thin!important;scrollbar-color:rgba(148,163,184,.3) transparent!important;
}
html body #ws61NovoLeadModal.open .ws61-card{padding:0!important;border:0!important;background:transparent!important}
html body #ws61NovoLeadModal.open .ws61-grid3{gap:10px!important}
html body #ws61NovoLeadModal.open .ws61-section{margin-top:10px!important;padding-top:0!important;border:0!important}
html body #ws61NovoLeadModal.open .ws61-collapse-title{
  min-height:48px!important;margin:8px 0 0!important;padding:0 14px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;
  border:1px solid rgba(148,163,184,.22)!important;border-radius:10px!important;
  background:rgba(59,130,246,.035)!important;color:inherit!important;cursor:pointer!important;
}
html body #ws61NovoLeadModal.open .ws61-collapse-title>svg{
  width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
  transition:transform .18s ease!important;
}
html body #ws61NovoLeadModal.open .ws61-collapse-title.open>svg{transform:rotate(180deg)!important}
html body #ws61NovoLeadModal.open .ws61-collapse-content[hidden]{display:none!important}
html body #ws61NovoLeadModal.open .ws61-collapse-content{padding:12px 2px 2px!important}
html body #ws61NovoLeadModal.open .ws61-actions{
  position:sticky!important;bottom:-18px!important;z-index:4!important;margin:14px -20px -18px!important;padding:12px 20px!important;
  border-top:1px solid rgba(148,163,184,.18)!important;backdrop-filter:blur(12px)!important;
}
html body #ws61NovoLeadModal.open .ws61-actions .btn{
  min-width:150px!important;height:38px!important;padding:0 15px!important;border-radius:9px!important;
}
html[data-nortear-theme="light"] body #ws61NovoLeadModal.open .ws61-collapse-title,
body.light #ws61NovoLeadModal.open .ws61-collapse-title,
body.ws-theme-light #ws61NovoLeadModal.open .ws61-collapse-title{background:#f8fafc!important;border-color:#d8e1eb!important;color:#334155!important}
@media(max-width:760px){
  html body #ws61NovoLeadModal.open{padding:8px!important}
  html body #ws61NovoLeadModal.open .ws61-dialog.ws-floating-premium{width:100%!important;height:calc(100vh - 16px)!important}
}

/* Inputs de arquivo e ações deixam de usar o visual nativo desalinhado. */
html body .ws-floating-premium input[type="file"]{
  min-height:44px!important;padding:5px 7px!important;font:inherit!important;color:#8293a5!important;
}
html body .ws-floating-premium input[type="file"]::file-selector-button{
  height:32px!important;margin-right:10px!important;padding:0 12px!important;border:1px solid rgba(59,130,246,.34)!important;
  border-radius:8px!important;background:rgba(59,130,246,.08)!important;color:#60a5fa!important;font:inherit!important;font-weight:800!important;cursor:pointer!important;
}
html[data-nortear-theme="light"] body .ws-floating-premium input[type="file"]::file-selector-button,
body.light .ws-floating-premium input[type="file"]::file-selector-button,
body.ws-theme-light .ws-floating-premium input[type="file"]::file-selector-button{background:#eff6ff!important;color:#2563eb!important;border-color:#bfdbfe!important}

/* Listas comerciais: avatares redondos, discretos e sem estouro horizontal. */
html body #wsp17Root .wsp17-row{min-width:0!important}
html body #wsp17Root .wsp17-row .wsp17-avatar{
  width:34px!important;height:34px!important;min-width:34px!important;border-radius:50%!important;
  color:#334155!important;font-size:9px!important;font-weight:900!important;box-shadow:none!important;
}
html body #wsp17Root .wsp17-row .wsp17-actions{display:flex!important;flex:0 0 auto!important;gap:6px!important;min-width:0!important}
html body #wsp17Root .wsp17-row .wsp17-pill-action{width:auto!important;min-width:84px!important;max-width:112px!important;height:30px!important;padding:0 10px!important}
html body #wsp17Root .wsp17-row.activity>i{
  width:30px!important;height:30px!important;border-radius:50%!important;background:rgba(239,68,68,.07)!important;color:#ef4456!important;
}
html body #wsp17Root .wsp17-activity-grid{align-items:start!important}
html body #wsp17Root .wsp17-activity-grid .wsp17-panel{min-width:0!important;overflow:hidden!important}
html body #wsp17Root .wsp17-activity-grid .wsp17-list{max-height:420px!important;overflow:auto!important;padding-right:3px!important}
html body #wsp17Root :is(.wsp17-empty,.wsp17-col-empty){opacity:.34!important}

/* Tabelas e listas flutuantes não recortam a coluna de ações. */
html body .ws-floating-premium :is(.lead-import-preview,.ws-base-table,.ws-trash-list){
  max-width:100%!important;overflow:auto!important;scrollbar-width:thin!important;scrollbar-color:rgba(148,163,184,.28) transparent!important;
}
html body .ws-floating-premium table{max-width:100%!important}
html body .ws-floating-premium table th:last-child,
html body .ws-floating-premium table td:last-child{position:sticky!important;right:0!important;z-index:1!important}
html[data-nortear-theme="light"] body .ws-floating-premium table :is(th,td):last-child,
body.light .ws-floating-premium table :is(th,td):last-child,
body.ws-theme-light .ws-floating-premium table :is(th,td):last-child{background:#fff!important}

/* Contenção global: nenhum módulo amplia a página; rolagens próprias continuam internas. */
html body .content{min-width:0!important;max-width:100%!important;overflow-x:clip!important}
html body .content>.section{box-sizing:border-box!important;min-width:0!important;max-width:100%!important;overflow-x:clip!important}
html body #teamarea :is(.wsp-page,.wsr-page,.wsap-shell),
html body #linhaeditorial :is(.wsp-page,.wsr-page,.wse-shell){box-sizing:border-box!important;max-width:100%!important;min-width:0!important}

/* Seletor premium de etapas e cores. */
.wsp17-stage-suggestions,.wsp17-stage-color-dots{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.wsp17-stage-suggestions button{height:30px!important;padding:0 11px!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:999px!important;background:rgba(148,163,184,.05)!important;color:inherit!important;font-size:9px!important}.wsp17-stage-color-dots button{width:25px!important;height:25px!important;min-width:25px!important;padding:0!important;border:3px solid transparent!important;border-radius:50%!important;background:var(--dot)!important;box-shadow:0 0 0 1px rgba(148,163,184,.3)!important}.wsp17-stage-color-dots button.active{border-color:#fff!important;box-shadow:0 0 0 2px var(--dot)!important}
/* Qualification + lead drawer premium shared system (2026-07-29) */
:root{--ws-gold-soft:#fff8e7;--ws-gold-line:#dfc98b;--ws-gold-text:#172033;--ws-premium-line:#d8e0ea;--ws-premium-surface:#fff;--ws-premium-subtle:#f7f9fc;--ws-premium-text:#172033;--ws-premium-muted:#6d7b91;--ws-premium-shadow:0 2px 8px rgba(15,23,42,.055)}
html[data-nortear-theme="dark"]{--ws-gold-soft:rgba(223,201,139,.105);--ws-gold-line:rgba(223,201,139,.38);--ws-gold-text:#f1deb0;--ws-premium-line:#27384a;--ws-premium-surface:#0d1823;--ws-premium-subtle:#111f2b;--ws-premium-text:#ecf2f8;--ws-premium-muted:#91a1b4;--ws-premium-shadow:0 3px 12px rgba(0,0,0,.22)}
.ws-temp-badge{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:center;height:14px!important;min-width:48px!important;margin:0;padding:0 10px!important;border:1px solid currentColor!important;border-radius:70px!important;font-size:10px!important;font-weight:900!important;line-height:12px!important;font-style:normal;white-space:nowrap;box-shadow:0 2px 7px color-mix(in srgb,currentColor 15%,transparent)!important}
.ws-temp-badge.quente{color:#ff3948!important;background:rgba(255,57,72,.075)!important;border-color:rgba(255,57,72,.32)!important}.ws-temp-badge.morno{color:#e98a13!important;background:rgba(233,138,19,.075)!important;border-color:rgba(233,138,19,.28)!important}.ws-temp-badge.frio{color:#08a867!important;background:rgba(8,168,103,.075)!important;border-color:rgba(8,168,103,.28)!important}.ws-temp-badge.gelado,.ws-temp-badge.neutro{color:#66758b!important;background:rgba(102,117,139,.075)!important;border-color:rgba(102,117,139,.26)!important}
html[data-nortear-theme="dark"] .ws-temp-badge{filter:saturate(.88) brightness(1.08)}
#wsp17Root .wsp17-qualification-row{display:flex;align-items:center;gap:10px;min-height:58px;padding:9px 10px;border:1px solid var(--ws-premium-line);border-radius:11px;background:var(--ws-premium-surface);box-shadow:var(--ws-premium-shadow);overflow:visible}
#wsp17Root .wsp17-qualification-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}#wsp17Root .wsp17-qualification-info b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#wsp17Root .wsp17-qualification-info span{color:var(--ws-premium-muted);font-size:10px}
#wsp17Root .wsp17-qualification-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none}
#wsp17Root .wsp17-qualify-btn,#wsp17Root .wsp17-more-trigger,#wsp17Root .wsp17-qualified-action-group button{box-sizing:border-box;height:34px;border-radius:8px;font:inherit;font-size:10px;font-weight:850;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s,transform .15s}
#wsp17Root .wsp17-qualify-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border:1px solid var(--ws-gold-line);background:var(--ws-gold-soft);color:var(--ws-gold-text);box-shadow:var(--ws-premium-shadow)}#wsp17Root .wsp17-qualify-btn:hover{box-shadow:0 4px 12px rgba(121,88,18,.11);transform:translateY(-1px)}#wsp17Root .wsp17-qualify-btn svg{width:15px;height:15px}
#wsp17Root .wsp17-more-trigger{display:grid;place-items:center;width:34px;min-width:34px;padding:0;border:1px solid var(--ws-premium-line);background:var(--ws-premium-surface);color:var(--ws-premium-text);box-shadow:var(--ws-premium-shadow)}#wsp17Root .wsp17-more-trigger:hover{background:var(--ws-premium-subtle)}#wsp17Root .wsp17-more-trigger svg{width:17px;height:17px;fill:currentColor}
#wsp17Root .wsp17-qualified-action-group{height:34px;display:flex;align-items:center;border:1px solid var(--ws-premium-line);border-radius:8px;background:var(--ws-premium-surface);box-shadow:var(--ws-premium-shadow);overflow:visible}#wsp17Root .wsp17-qualified-action-group>i{width:1px;height:18px;background:var(--ws-premium-line)}#wsp17Root .wsp17-qualified-action-group>button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:0;border-radius:0;background:transparent;color:var(--ws-premium-text);box-shadow:none}#wsp17Root .wsp17-qualified-action-group>button:hover{background:var(--ws-premium-subtle)}#wsp17Root .wsp17-qualified-action-group>button:first-child{border-radius:7px 0 0 7px}#wsp17Root .wsp17-qualified-action-group>.wsp17-more-trigger{width:34px;min-width:34px;padding:0;border-radius:0 7px 7px 0}#wsp17Root .wsp17-qualified-action-group svg{width:14px;height:14px}
.wsrd-layer{position:fixed;inset:0;z-index:10040;pointer-events:none}.wsrd-layer.open{pointer-events:auto}.wsrd-backdrop{position:fixed!important;inset:0!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;transform:none!important;background:rgba(9,18,31,.42)!important;backdrop-filter:blur(3px);opacity:0;transition:opacity .18s}.wsrd-layer.open .wsrd-backdrop{opacity:1}.wsrd-drawer{position:fixed;inset:0 0 0 auto;width:min(440px,100vw);height:100dvh;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;background:var(--ws-premium-surface);color:var(--ws-premium-text);border-left:1px solid var(--ws-premium-line);box-shadow:-24px 0 65px rgba(3,9,18,.3);transform:translateX(102%);transition:transform .22s ease}.wsrd-layer.open .wsrd-drawer{transform:translateX(0)}
.wsrd-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px 15px;border-bottom:1px solid var(--ws-premium-line);background:var(--ws-premium-surface)}.wsrd-identity{display:flex;align-items:center;gap:12px;min-width:0}.wsrd-identity>div:last-child{min-width:0}.wsrd-identity span{display:block;color:var(--ws-premium-muted);font-size:9px;font-weight:900;letter-spacing:.15em}.wsrd-identity h2{margin:3px 0 2px;font-size:19px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wsrd-identity p{margin:0;color:var(--ws-premium-muted);font-size:11px}.wsrd-avatar{position:relative;width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#dbeafe;color:#2563eb;font-weight:900}.wsrd-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}.wsrd-head-actions{display:flex;align-items:center;gap:6px}.wsrd-close,.wsrd-more{width:34px;height:34px;display:grid;place-items:center;flex:none;padding:0;border:1px solid var(--ws-premium-line);border-radius:50%;background:var(--ws-premium-surface);color:var(--ws-premium-text);cursor:pointer}.wsrd-more{border-radius:8px}.wsrd-close:hover,.wsrd-more:hover{background:var(--ws-premium-subtle)}.wsrd-close svg,.wsrd-more svg,.wsrd-actions svg,.wsrd-drawer>footer svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.wsrd-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px 20px}.wsrd-kpis>span{min-width:0;min-height:52px;box-sizing:border-box;padding:10px 11px;border:1px solid var(--ws-premium-line);border-radius:10px;background:var(--ws-premium-subtle)}.wsrd-kpis small{display:block;color:var(--ws-premium-muted);font-size:9px}.wsrd-kpis b,.wsrd-kpis em{margin-top:5px}.wsrd-kpis b{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wsrd-actions{height:42px;display:flex;align-items:stretch;margin:0 20px 15px;padding:0;border:1px solid var(--ws-premium-line);border-radius:9px;background:var(--ws-premium-surface);box-shadow:var(--ws-premium-shadow);overflow:hidden}.wsrd-actions>i{width:1px;height:20px;align-self:center;background:var(--ws-premium-line)}.wsrd-actions button{min-width:0;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 6px;border:0;border-radius:0;background:transparent;color:var(--ws-premium-text);font:inherit;font-size:9px;font-weight:800;cursor:pointer}.wsrd-actions button:hover{background:var(--ws-premium-subtle)}.wsrd-actions button:disabled{opacity:.42;cursor:not-allowed}
.wsrd-body{flex:1;min-height:0;padding:0 20px 24px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(109,123,145,.3) transparent}.wsrd-body section{margin-bottom:13px;padding:15px;border:1px solid var(--ws-premium-line);border-radius:12px;background:var(--ws-premium-subtle)}.wsrd-body h3{margin:0 0 13px;font-size:13px}.wsrd-body dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;margin:0}.wsrd-body dl div{min-width:0}.wsrd-body dt{color:var(--ws-premium-muted);font-size:9px}.wsrd-body dd{margin:4px 0 0;font-size:11px;line-height:1.45;overflow-wrap:anywhere}.wsrd-diagnostic p{margin:0;color:var(--ws-premium-muted);font-size:11px;line-height:1.6;white-space:pre-wrap}
.wsrd-drawer>footer{display:flex;gap:9px;padding:12px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--ws-premium-line);background:var(--ws-premium-surface)}.wsrd-diagnose,.wsrd-qualify-group{height:40px;flex:1;border-radius:8px}.wsrd-diagnose{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--ws-premium-line);background:var(--ws-premium-surface);color:var(--ws-premium-text);font:inherit;font-size:10px;font-weight:850;cursor:pointer}.wsrd-qualify-group{display:flex;align-items:center;border:1px solid var(--ws-gold-line);background:var(--ws-gold-soft);color:var(--ws-gold-text);box-shadow:var(--ws-premium-shadow);overflow:hidden}.wsrd-qualify-group>button{height:100%;display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:0 12px;border:0;background:transparent;color:inherit;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.wsrd-qualify-group>button:hover{background:rgba(223,201,139,.13)}.wsrd-qualify-group>i{width:1px;height:22px;background:var(--ws-gold-line)}.wsrd-qualify-group>.wsrd-footer-more{flex:0 0 38px;padding:0}.ws-record-drawer-open{overflow:hidden}
@media(max-width:720px){#wsp17Root .wsp17-qualification-row{align-items:flex-start;flex-wrap:wrap}#wsp17Root .wsp17-qualification-actions{width:100%;justify-content:flex-end}#wsp17Root .wsp17-qualified-action-group{max-width:100%}.wsrd-drawer{width:100vw}.wsrd-drawer>header,.wsrd-kpis,.wsrd-drawer>footer{padding-left:14px;padding-right:14px}.wsrd-actions{margin-left:14px;margin-right:14px}.wsrd-body{padding-left:14px;padding-right:14px}.wsrd-body dl{grid-template-columns:1fr}.wsrd-actions span{display:none}.wsrd-drawer>footer{gap:7px}.wsrd-diagnose,.wsrd-qualify-group{min-width:0}}
@media(max-width:430px){#wsp17Root .wsp17-qualified-action-group>button{padding:0 8px}.wsrd-kpis{gap:6px}.wsrd-kpis>span{padding:9px 7px}.wsrd-drawer>footer{flex-wrap:nowrap}}
/* Base actions + qualification fidelity patch (2026-07-29-2) */
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-actions-premium{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;min-width:430px!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group{height:34px!important;display:flex!important;align-items:center!important;border:1px solid var(--ws-premium-line)!important;border-radius:8px!important;background:var(--ws-premium-surface)!important;box-shadow:var(--ws-premium-shadow)!important;overflow:visible!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>i{width:1px!important;height:18px!important;flex:0 0 1px!important;background:var(--ws-premium-line)!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>button{box-sizing:border-box!important;height:32px!important;min-width:0!important;width:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:0!important;padding:0 13px!important;border:0!important;border-radius:0!important;background:transparent!important;color:var(--ws-premium-text)!important;box-shadow:none!important;font:inherit!important;font-size:10px!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>button:hover{background:var(--ws-premium-subtle)!important;transform:none!important;filter:none!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>button:first-child{border-radius:7px 0 0 7px!important;color:#a855f7!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>button:nth-of-type(2){color:#b77905!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>button:nth-of-type(3){color:var(--ws-premium-text)!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>.wsp17-more-trigger{width:38px!important;min-width:38px!important;padding:0!important;border-radius:0 7px 7px 0!important;color:var(--ws-premium-text)!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group svg{width:15px!important;height:15px!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open{box-sizing:border-box!important;height:34px!important;min-width:82px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:0 14px!important;border:1px solid #d6a62e!important;border-radius:7px!important;background:linear-gradient(180deg,#f7c84b,#e5ac20)!important;color:#172033!important;box-shadow:0 4px 10px rgba(181,128,8,.15)!important;font:inherit!important;font-size:10px!important;font-weight:900!important;cursor:pointer!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open:hover{filter:brightness(1.025)!important;transform:translateY(-1px)!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open svg{width:15px!important;height:15px!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .ws-temp-badge,.wsrd-drawer .ws-temp-badge{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:48px!important;height:14px!important;padding:0 10px!important;border-radius:70px!important;font-size:10px!important;line-height:1!important;font-weight:900!important;letter-spacing:0!important;border-width:1px!important;border-style:solid!important;backdrop-filter:blur(4px)!important;-webkit-backdrop-filter:blur(4px)!important;opacity:.85!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .ws-temp-badge.quente,.wsrd-drawer .ws-temp-badge.quente,html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .ws-temp-badge.hot,.wsrd-drawer .ws-temp-badge.hot{background:rgba(220,38,38,.12)!important;color:#dc2626!important;border-color:rgba(220,38,38,.25)!important;box-shadow:0 0 10px rgba(0,0,0,.12),0 0 10px rgba(220,38,38,.20)!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .ws-temp-badge.morno,.wsrd-drawer .ws-temp-badge.morno,html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .ws-temp-badge.warm,.wsrd-drawer .ws-temp-badge.warm{background:rgba(217,119,6,.12)!important;color:#d97706!important;border-color:rgba(217,119,6,.25)!important;box-shadow:0 0 10px rgba(0,0,0,.12),0 0 10px rgba(217,119,6,.20)!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .ws-temp-badge.frio,.wsrd-drawer .ws-temp-badge.frio,html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .ws-temp-badge.cold,.wsrd-drawer .ws-temp-badge.cold{background:rgba(22,163,74,.12)!important;color:#16a34a!important;border-color:rgba(22,163,74,.25)!important;box-shadow:0 0 10px rgba(0,0,0,.12),0 0 10px rgba(22,163,74,.20)!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .wsp17-qualify-btn{box-sizing:border-box!important;height:34px!important;min-width:112px!important;padding:0 15px!important;border:1px solid #dfc98b!important;border-radius:8px!important;background:linear-gradient(180deg,#fff9e9,#f4dfaa)!important;color:#172033!important;box-shadow:0 3px 8px rgba(178,126,18,.14)!important;font-size:10px!important;font-weight:850!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .wsp17-qualify-btn:hover{background:linear-gradient(180deg,#fffaf0,#efd697)!important;box-shadow:0 5px 12px rgba(178,126,18,.17)!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row>.wsp17-qualification-actions>.wsp17-more-trigger{box-sizing:border-box!important;width:34px!important;min-width:34px!important;height:34px!important;padding:0!important;border:1px solid var(--ws-premium-line)!important;border-radius:8px!important;background:var(--ws-premium-surface)!important;color:var(--ws-premium-text)!important;box-shadow:var(--ws-premium-shadow)!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualified-action-group{height:34px!important;border-radius:8px!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualified-action-group>button{height:32px!important;border-radius:0!important}
html[data-nortear-theme="dark"] body #wsp17Root .wsp17-grid.qualify .wsp17-qualification-row .wsp17-qualify-btn{background:rgba(223,201,139,.105)!important;border-color:rgba(223,201,139,.38)!important;color:#f1deb0!important;box-shadow:0 3px 10px rgba(0,0,0,.18)!important}
@media(max-width:1100px){html body #wsp17Root .wsp17-base-table-premium .wsp17-base-actions-premium{min-width:360px!important}html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>button{padding:0 9px!important}html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open{min-width:72px!important;padding:0 10px!important}}
/* Base table width correction: actions cannot shrink or overlap. */
html body #wsp17Root .wsp17-base-table-premium table{width:100%!important;min-width:1210px!important;table-layout:fixed!important}
html body #wsp17Root .wsp17-base-table-premium th:nth-child(1),html body #wsp17Root .wsp17-base-table-premium td:nth-child(1){width:250px!important}
html body #wsp17Root .wsp17-base-table-premium th:nth-child(2),html body #wsp17Root .wsp17-base-table-premium td:nth-child(2){width:190px!important}
html body #wsp17Root .wsp17-base-table-premium th:nth-child(3),html body #wsp17Root .wsp17-base-table-premium td:nth-child(3){width:180px!important}
html body #wsp17Root .wsp17-base-table-premium th:nth-child(4),html body #wsp17Root .wsp17-base-table-premium td:nth-child(4){width:78px!important}
html body #wsp17Root .wsp17-base-table-premium th:nth-child(5),html body #wsp17Root .wsp17-base-table-premium td:nth-child(5){width:92px!important}
html body #wsp17Root .wsp17-base-table-premium th:last-child,html body #wsp17Root .wsp17-base-table-premium td:last-child{width:420px!important;min-width:420px!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-actions-premium{width:100%!important;min-width:0!important;justify-content:flex-start!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group{flex:0 0 316px!important;width:316px!important;min-width:316px!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>button{flex:0 0 auto!important;min-width:max-content!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group>.wsp17-more-trigger{flex:0 0 38px!important;min-width:38px!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open{flex:0 0 82px!important}
/* Defeat the legacy four-column action grid in light mode. */
html body.ws-theme-light #wsp17Root .wsp17-base-table-premium .wsp17-actions.wsp17-base-actions-premium,html body.light #wsp17Root .wsp17-base-table-premium .wsp17-actions.wsp17-base-actions-premium{display:flex!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-start!important;flex-wrap:nowrap!important;gap:10px!important;min-width:0!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-action-group{flex-basis:330px!important;width:330px!important;min-width:330px!important}
/* Keep the action group and Open button on the same row. */
html body #wsp17Root .wsp17-base-table-premium th:last-child,html body #wsp17Root .wsp17-base-table-premium td:last-child{width:458px!important;min-width:458px!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-actions.wsp17-base-actions-premium{box-sizing:border-box!important;display:flex!important;grid-template-columns:none!important;flex-flow:row nowrap!important;width:430px!important;min-width:430px!important;max-width:430px!important;overflow:visible!important}
/* Qualification segmented actions and complete lead menu — 2026-07-29 */
html body #wsp17Root .wsp17-grid.qualify .wsp17-waiting-action-group{box-sizing:border-box;height:34px;display:flex;align-items:center;border:1px solid var(--ws-premium-line);border-radius:8px;background:var(--ws-premium-surface);box-shadow:var(--ws-premium-shadow);overflow:visible}
html body #wsp17Root .wsp17-grid.qualify .wsp17-waiting-action-group>i{width:1px;height:18px;flex:0 0 1px;background:var(--ws-premium-line)}
html body #wsp17Root .wsp17-grid.qualify .wsp17-waiting-action-group>.wsp17-qualify-btn{height:32px!important;min-width:112px!important;padding:0 14px!important;border:1px solid var(--ws-gold-line)!important;border-radius:7px 0 0 7px!important;background:var(--ws-gold-soft)!important;color:var(--ws-gold-text)!important;box-shadow:none!important;transform:none!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-waiting-action-group>.wsp17-qualify-btn svg{color:#e79a12;stroke:currentColor}
html body #wsp17Root .wsp17-grid.qualify .wsp17-waiting-action-group>.wsp17-qualify-btn:hover{filter:brightness(1.08)!important;box-shadow:none!important;transform:none!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-waiting-action-group>.wsp17-more-trigger{box-sizing:border-box!important;width:38px!important;min-width:38px!important;height:32px!important;padding:0!important;border:0!important;border-radius:0 7px 7px 0!important;background:transparent!important;color:var(--ws-premium-text)!important;box-shadow:none!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-waiting-action-group>.wsp17-more-trigger:hover{background:var(--ws-premium-subtle)!important}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualified-action-group>button:first-child svg{color:#2f80ed;stroke:currentColor}
html body #wsp17Root .wsp17-grid.qualify .wsp17-qualified-action-group>button:nth-of-type(2) svg{color:#ec4899;stroke:currentColor}
.wsp17-stage-modal{width:min(430px,calc(100vw - 28px));padding:0;color:var(--ws-premium-text);background:var(--ws-premium-surface);border:1px solid var(--ws-premium-line);border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.25);overflow:hidden}.wsp17-stage-modal>header{display:flex;justify-content:space-between;gap:12px;padding:19px 20px;border-bottom:1px solid var(--ws-premium-line)}.wsp17-stage-modal>header span{font-size:9px;font-weight:900;letter-spacing:.15em;color:#d2910b}.wsp17-stage-modal h2{margin:4px 0;font-size:18px}.wsp17-stage-modal p{margin:0;color:var(--ws-premium-muted);font-size:11px}.wsp17-stage-modal>header>button{width:32px;height:32px;border:1px solid var(--ws-premium-line);border-radius:50%;background:var(--ws-premium-surface);color:var(--ws-premium-text);cursor:pointer}.wsp17-stage-options{display:grid;gap:7px;padding:16px 20px}.wsp17-stage-options label{height:40px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--ws-premium-line);border-radius:9px;background:var(--ws-premium-subtle);cursor:pointer}.wsp17-stage-options label:has(input:checked){border-color:var(--ws-gold-line);background:var(--ws-gold-soft)}.wsp17-stage-options input{accent-color:#d99a0b}.wsp17-stage-options i{width:8px;height:8px;border-radius:50%;background:hsl(calc(var(--stage-index)*48 + 205) 78% 52%)}.wsp17-stage-options span{font-size:11px;font-weight:800}.wsp17-stage-modal>footer{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px;border-top:1px solid var(--ws-premium-line)}.wsp17-stage-modal>footer button{height:38px;padding:0 16px;border:1px solid var(--ws-premium-line);border-radius:8px;background:var(--ws-premium-surface);color:var(--ws-premium-text);font:inherit;font-size:11px;font-weight:850;cursor:pointer}.wsp17-stage-modal>footer button.primary{border-color:var(--ws-gold-line);background:var(--ws-gold-soft);color:var(--ws-gold-text)}
/* Botão Abrir premium contornado nos dois temas — 2026-07-30 */
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open{border-color:rgba(190,132,13,.62)!important;background:rgba(255,248,231,.46)!important;color:#172033!important;box-shadow:0 2px 8px rgba(159,111,12,.08),inset 0 0 0 1px rgba(255,255,255,.36)!important;filter:none!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open svg{color:#c78c11!important;stroke:currentColor!important}
html body #wsp17Root .wsp17-base-table-premium .wsp17-base-open:hover{border-color:#c78c11!important;background:#fff8e7!important;box-shadow:0 4px 12px rgba(159,111,12,.13)!important;filter:none!important;transform:translateY(-1px)!important}
html[data-nortear-theme="dark"] body #wsp17Root .wsp17-base-table-premium .wsp17-base-open{border-color:rgba(213,151,18,.72)!important;background:rgba(213,151,18,.035)!important;color:#f2f5f8!important;box-shadow:0 2px 10px rgba(0,0,0,.2),inset 0 0 12px rgba(213,151,18,.025)!important}
html[data-nortear-theme="dark"] body #wsp17Root .wsp17-base-table-premium .wsp17-base-open svg{color:#e4aa27!important}
html[data-nortear-theme="dark"] body #wsp17Root .wsp17-base-table-premium .wsp17-base-open:hover{border-color:#e4aa27!important;background:rgba(213,151,18,.09)!important;box-shadow:0 4px 14px rgba(0,0,0,.25),0 0 10px rgba(213,151,18,.07)!important}
/* Native select surfaces follow the active CRM theme. */
html[data-nortear-theme="light"] body select{color-scheme:light}
html[data-nortear-theme="light"] body select option,html[data-nortear-theme="light"] body select optgroup{background:#fff;color:#172033}
html[data-nortear-theme="dark"] body select{color-scheme:dark}
html[data-nortear-theme="dark"] body select option,html[data-nortear-theme="dark"] body select optgroup{background:#0d151e;color:#e5e7eb}

/* ===== Padronização tipográfica da Prospecção (golden reference: Qualificação) =====
   #wsp17Root já usa h2:20px/700, .wsp17-pagehead h3:16px/700, p:12px de forma
   consistente em Central/Base/Diagnóstico/Qualificação/Pipeline/Atividades — só
   .wsp17-flow (Central) destoava, herdando o tamanho padrão de h3 do navegador. */
#wsp17Root .wsp17-flow h3{font-size:16px;font-weight:700}

/* Prospecção: ações integradas ao padrão do menu,html body #ws61NovoLeadModal.open .ws61-dialog .ws61-actions{
  background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;
  display:flex!important;flex-wrap:wrap!important;gap:8px!important;overflow:visible!important;
}
html body #modal.modal.open>.box:is(.ws-modal-import) #modalContent .actions .btn,html body #ws61NovoLeadModal.open .ws61-dialog :is(.ws61-actions,#ws61DestinoBox) .btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  background:transparent!important;background-image:none!important;border:1px solid transparent!important;
  color:var(--ws-premium-text,#e5e7eb)!important;box-shadow:none!important;filter:none!important;
  flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:40px!important;
  padding:8px 10px!important;border-radius:8px!important;white-space:normal!important;line-height:1.4!important;
  font-size:13px!important;font-weight:600!important;cursor:pointer;transition:background .16s,border-color .16s;
}
html body #modal.modal.open>.box:is(.ws-modal-import) #modalContent .actions .btn.danger{color:var(--ws-danger,#e78d97)!important}
html body #modal.modal.open>.box:is(.ws-modal-import) #modalContent .actions .btn :is(i,.ws-modal-action-icon),html body #ws61NovoLeadModal.open .ws61-dialog :is(.ws61-actions,#ws61DestinoBox) .btn :is(i,.ws-modal-action-icon){
  background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;
  width:18px!important;height:18px!important;padding:0!important;flex:0 0 18px!important;
}
html body #modal.modal.open>.box:is(.ws-modal-import) #modalContent .actions .btn svg,html body #ws61NovoLeadModal.open .ws61-dialog :is(.ws61-actions,#ws61DestinoBox) .btn svg{
  width:18px!important;height:18px!important;flex:0 0 18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;color:inherit!important;background:transparent!important;
}
html body #modal.modal.open>.box:is(.ws-modal-import) #modalContent .actions .btn svg *,html body #ws61NovoLeadModal.open .ws61-dialog :is(.ws61-actions,#ws61DestinoBox) .btn svg *{stroke:currentColor!important;fill:none!important}
html body #modal.modal.open>.box:is(.ws-modal-import)>.ws-modal-x,html body #ws61NovoLeadModal.open .ws61-dialog .ws61-close{
  background:transparent!important;border:1px solid transparent!important;color:var(--ws-premium-text,#d6dce5)!important;
  box-shadow:none!important;filter:none!important;flex-shrink:0;min-width:40px;min-height:40px;cursor:pointer;
}
html body #modal.modal.open>.box:is(.ws-modal-import) :is(.actions .btn,.ws-modal-x):is(:hover,:focus-visible,:active,[aria-pressed="true"]),html body #ws61NovoLeadModal.open .ws61-dialog :is(.ws61-actions .btn,#ws61DestinoBox .btn,.ws61-close):is(:hover,:focus-visible,:active,[aria-pressed="true"]){
  border-color:var(--ws-premium-line,rgba(148,163,184,.35))!important;background:var(--ws-premium-subtle,rgba(148,163,184,.08))!important;transform:none!important;
}
html body #modal.modal.open>.box:is(.ws-modal-import) :is(.actions .btn,.ws-modal-x):focus-visible,html body #ws61NovoLeadModal.open .ws61-dialog button:focus-visible{outline:2px solid var(--gold,#e2b814)!important;outline-offset:2px!important}
html body #modal.modal.open>.box:is(.ws-modal-import) .btn:disabled,html body #ws61NovoLeadModal.open .ws61-dialog .btn:disabled{opacity:.55!important;cursor:wait!important}
@media(max-width:760px){
 html body #ws61NovoLeadModal.open .ws61-dialog .ws61-head h2{font-size:18px;overflow-wrap:anywhere}
 html body #modal.modal.open>.box.ws-modal-import{max-width:calc(100vw - 24px)!important}
}

html body #modal.modal.open>.box.ws-modal-import #modalContent .import-box{border:0!important;background:transparent!important;box-shadow:none!important;padding:8px 0!important}
html body #ws61NovoLeadModal.open .ws61-dialog .ws61-actions{position:static!important;margin:14px 0 0!important;padding:8px 0!important}
html body #modal.modal.open>.box:is(.ws-modal-import) #modalContent .actions .btn:is(:hover,:focus-visible,:active,[aria-pressed="true"]){border-color:var(--ws-premium-line,rgba(148,163,184,.35))!important;background:var(--ws-premium-subtle,rgba(148,163,184,.08))!important}
html body #modal.modal.open>.box:is(.ws-modal-import) #modalContent .actions .btn:focus-visible{outline:2px solid var(--gold,#e2b814)!important;outline-offset:2px!important}
@media(max-width:760px){}

/* confirmação de exclusão acima do editor{pointer-events:none!important}

@media(max-width:1050px){
}
@media(max-width:760px){
}
