.mcwl-global-tip{position:fixed;z-index:2147483647;max-width:min(330px,calc(100vw - 16px));box-sizing:border-box;background:#080b12;color:#82baff;padding:10px 13px;border:1px solid #26364e;border-radius:9px;font:500 13px/1.45 system-ui,sans-serif;box-shadow:0 7px 22px #0004;pointer-events:none;white-space:normal;overflow-wrap:anywhere}.mcwl-global-tip:after{content:'';position:absolute;left:var(--tip-arrow,50%);bottom:-6px;width:10px;height:10px;background:#080b12;transform:translateX(-50%) rotate(45deg);border-right:1px solid #26364e;border-bottom:1px solid #26364e}.mcwl-global-tip.below:after{bottom:auto;top:-6px;border:0;border-left:1px solid #26364e;border-top:1px solid #26364e}.mcwl-ui-control{position:relative;display:block;min-width:0;width:100%;box-sizing:border-box}.mcwl-ui-control>input{width:100%;box-sizing:border-box;padding-left:38px!important}.mcwl-ui-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:flex;pointer-events:none;color:#5277a7;z-index:1}.mcwl-ui-icon svg{width:18px;height:18px}.mcwl-ui-wa .mcwl-ui-icon{color:#128c4a}.mcwl-ui-star{color:#b42332;font-weight:750;display:inline!important;margin-right:3px}.mcwl-ui-legend{font-size:12px!important;color:#9b2634!important;margin:0 0 12px!important;grid-column:1/-1}.consult-grid.consult-grid-uniform .mcwl-field-head{justify-content:flex-start;gap:6px}.consult-grid.consult-grid-uniform .mcwl-field-head label{display:inline}.consult-grid.consult-grid-uniform .mcwl-help-icon{flex:none}.consult-grid.consult-grid-uniform :is(input,select){height:44px;min-height:44px}.mcwl-ui-control input[type=date]{min-width:0}.mcwl-ui-control input:focus-visible{outline:2px solid #0866ef;outline-offset:1px}@media print{.mcwl-global-tip{display:none!important}}
/* Uniform form controls: prevent inherited label span styles affecting wrappers. */
.mcwl-global-tip{background:#000;color:#75b8ff;border-color:#202b3b;font-size:13px;line-height:1.5}.mcwl-global-tip:after{background:#000}
.mcwl-portal .mcwl-help-icon,.mcwl-panel .mcwl-help-icon{display:inline-flex!important;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px;padding:0!important;margin:0 0 0 5px!important;border:1px solid #b8c9e2;border-radius:50%;background:#eaf2ff!important;color:#245caa!important;font:700 11px/1 system-ui;box-shadow:none;vertical-align:middle;cursor:help}
.mcwl-portal .customer-field .mcwl-ui-control{display:block;margin:0;line-height:normal;font-weight:400;letter-spacing:normal}.mcwl-portal .customer-field .mcwl-ui-icon{display:flex;margin:0;color:#5277a7;line-height:1}.mcwl-portal .customer-field .mcwl-ui-wa .mcwl-ui-icon{color:#128c4a}
#mcwl-new-customer .customer-fields{align-items:start;grid-auto-rows:auto}#mcwl-new-customer .customer-field{display:grid;grid-template-rows:auto 46px;align-content:start;align-items:start;gap:7px;position:relative}#mcwl-new-customer .customer-field[hidden]{display:none!important}#mcwl-new-customer .customer-field :is(input,select){height:46px!important;min-height:46px!important;max-height:46px;box-sizing:border-box;margin:0!important}#mcwl-new-customer .customer-field .mcwl-ui-label-text{display:flex;align-items:center;gap:3px;margin:0;min-height:19px;font-size:13px}#mcwl-new-customer .customer-field .mcwl-ui-star{color:#b42332;display:inline!important;margin:0}#mcwl-new-customer .customer-field .mcwl-ui-control{height:46px}#mcwl-new-customer .customer-field:has([data-lookup=cep]) input{padding-right:54px!important}#mcwl-new-customer button[data-lookup=cep]{position:absolute;right:4px;bottom:4px;width:38px;height:38px;display:grid;place-items:center;padding:0;border-radius:7px}#mcwl-new-customer button[data-lookup=cep] svg{width:19px;height:19px}#mcwl-new-customer .mcwl-new-lookup{align-self:end}#mcwl-new-customer .mcwl-new-lookup button{height:46px}#mcwl-new-customer #mcwl-new-status:empty{display:none}#mcwl-new-customer .mcwl-field-legend{margin:0}#mcwl-new-customer .mcwl-ui-legend{margin:0!important}
@media(max-width:1000px){#mcwl-new-customer .mcwl-new-lookup{grid-column:span 6}}@media(max-width:650px){#mcwl-new-customer .mcwl-new-lookup{grid-column:1/-1}}
.mcwl label.mcwl-infield .mcwl-public-wa-mark{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:22px;height:22px;pointer-events:none;z-index:2}.mcwl-public-wa-mark svg{width:22px;height:22px;display:block}.mcwl-ui-control>input[type=date]{padding-right:10px}.mcwl-ui-star{color:#b42332!important}
/* Email DNS feedback stays below the field, without stretching its control. */
#mcwl-new-customer .customer-field:has(.mcwl-email-dns-status){grid-template-rows:auto 46px auto}
#mcwl-new-customer .mcwl-email-dns-status{display:block;font:500 12px/1.4 system-ui,sans-serif;margin:0;overflow-wrap:anywhere;color:#52647f}
#mcwl-new-customer .mcwl-email-dns-status:empty{display:none}
#mcwl-new-customer .mcwl-email-dns-status[data-state=ok]{color:#166534}
#mcwl-new-customer .mcwl-email-dns-status[data-state=bad]{color:#b42332}
#mcwl-new-customer .mcwl-email-dns-status[data-state=warn]{color:#92600b}
#mcwl-new-customer input[data-email-dns=bad]{background:#fff1f1!important;border-color:#dc7777!important}
/* Shared form design: explicit grids, consistent controls, no global theme overrides. */
.mcwl-portal .mcwl-form-section{min-width:0;margin:18px 0;padding:18px;border:1px solid #d7e2f2;border-radius:12px;background:#fff}.mcwl-portal .mcwl-form-section legend{padding:0 8px;font-size:14px;font-weight:700;color:#173764}.mcwl-portal .mcwl-standard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}.mcwl-portal :is(.mcwl-standard-grid,.tf-integration-grid,.tf-grid,.consult-grid,.customer-fields) > label:not(:has(input[type=checkbox],input[type=radio])){display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;font-size:13px;font-weight:600}.mcwl-portal :is(.mcwl-standard-grid,.tf-integration-grid,.tf-grid,.consult-grid,.customer-fields) > label :is(input:not([type=checkbox],[type=radio],[type=file],[type=hidden],[type=color]),select){width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;box-sizing:border-box;margin:0;border:1px solid #cbd8eb;border-radius:8px;background:#f8faff;padding:10px 12px;font-size:13px}.mcwl-portal .mcwl-standard-grid .mcwl-span-2{grid-column:span 2}.mcwl-portal .mcwl-standard-grid :is(input,select):focus-visible{outline:2px solid #0866ef;outline-offset:1px}.mcwl-portal .mcwl-version-link{color:#a9cfff;text-decoration:underline;text-underline-offset:3px}.mcwl-portal .mcwl-version-link:hover{color:#fff}.mcwl-changelog-table td{vertical-align:top;overflow-wrap:anywhere}.mcwl-changelog-table th:first-child{width:110px}.mcwl-changelog-table ul{margin:0;padding-left:18px}.mcwl-changelog-table small{color:#63748b}@media(max-width:1000px){.mcwl-portal .mcwl-standard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.mcwl-portal .mcwl-standard-grid{grid-template-columns:1fr}.mcwl-portal .mcwl-standard-grid .mcwl-span-2{grid-column:auto}}
.mcwl-portal :is(.mcwl-standard-grid,.tf-integration-grid,.tf-grid,.consult-grid,.customer-fields) > label[hidden]{display:none!important}.mcwl-portal .mcwl-standard-grid .mcwl-ui-label-text{display:flex;align-items:center;gap:4px;min-height:20px}.mcwl-portal .mcwl-standard-grid .mcwl-ui-control>input{padding-left:38px!important}
#mcwl-brand-form fieldset input.mcwl-brand-filled{background:#e8f7ed!important;border-color:#a6d9b5!important;color:#173c29}#mcwl-brand-form fieldset input.mcwl-brand-empty{background:#fff8df!important;border-color:#ead18a!important;color:#26394f}#mcwl-brand-form .mcwl-brand-legend{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 16px}#mcwl-brand-form .mcwl-brand-legend span{font-size:12px;border:1px solid #a6d9b5;background:#e8f7ed;border-radius:6px;padding:5px 10px}#mcwl-brand-form .mcwl-brand-legend span+span{background:#fff8df;border-color:#ead18a}#mcwl-brand-form .mcwl-brand-lookup{margin-top:6px;min-height:32px;font-size:12px;align-self:flex-start}#mcwl-brand-status:empty{display:none}#mcwl-brand-status{font-size:13px;color:#24528e;margin:10px 0 0}

/* Modal global de feedback — isolado dos demais diálogos do WordPress. */
dialog.mcwl-feedback-dialog{--feedback:#0866ef;position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dbe4f0;border-radius:16px;background:#fff;color:#142744;padding:28px 26px 22px;text-align:center;box-shadow:0 24px 90px #0c1c3b40;font-family:system-ui,-apple-system,sans-serif;z-index:2147483647}
dialog.mcwl-feedback-dialog::backdrop{background:#0b17364d}dialog.mcwl-feedback-success{--feedback:#15803d}dialog.mcwl-feedback-error{--feedback:#c52332}dialog.mcwl-feedback-warning{--feedback:#a66a08}
.mcwl-feedback-dialog .mcwl-feedback-icon{width:56px;height:56px;margin:0 auto 14px;color:var(--feedback);display:grid;place-items:center;background:color-mix(in srgb,var(--feedback) 9%,white);border-radius:50%}.mcwl-feedback-icon svg{width:34px;height:34px}.mcwl-feedback-dialog h2{font-size:21px;line-height:1.3;margin:0 0 10px;color:#142744}.mcwl-feedback-dialog p{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px;color:#40546f}.mcwl-feedback-dialog button.mcwl-feedback-close{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:8px 25px;background:#edf3fb;color:#174f9c;border:1px solid #d0def0;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer}.mcwl-feedback-dialog button:focus-visible{outline:2px solid #0866ef;outline-offset:3px}.mcwl-feedback-track{height:4px;background:#e5ebf3;border-radius:4px;margin-top:20px;overflow:hidden}.mcwl-feedback-track span{display:block;height:100%;background:var(--feedback);transform-origin:left;animation:mcwl-feedback-countdown linear forwards}@keyframes mcwl-feedback-countdown{to{transform:scaleX(0)}}@media(prefers-reduced-motion:reduce){.mcwl-feedback-track span{animation-name:none}}@media print{dialog.mcwl-feedback-dialog{display:none!important}}

.lead-notice[hidden],.city-notice[hidden],.mcwlp-save-success[hidden],.mcwlp-notice-ok[hidden],.mcwlp-alert[hidden],[data-mcwl-feedback][hidden]{display:none!important}

/* 3.2.18 — shared workspace design system, scoped to plugin interfaces. */
.mcwl-portal,.mcwl-panel,.mcwlp-public,form.mcwl{--mcwl-ui-blue:#0866ef;--mcwl-ui-ink:#10264b;--mcwl-ui-line:#d5e0ef;--mcwl-ui-radius:10px;--mcwl-ui-field:44px}
.mcwl-portal main{min-width:0;background:none}
.mcwl-portal .mcwl-heading{margin-bottom:18px;min-width:0}
.mcwl-portal .mcwl-heading>div{min-width:0}
.mcwl-portal :is(.lead-section,.mcwl-panel,.mcwlp-report-card,.mcwl-filter,.customer-edit-box,.tf-integration){border-color:var(--mcwl-ui-line);box-shadow:0 4px 16px #15274b08}
.mcwl-portal :is(.lead-section,.mcwl-filter,.customer-edit-box,.mcwlp-report-card){border-radius:var(--mcwl-ui-radius)}
.mcwl-portal main :is(input:not([type]),input[type=text],input[type=email],input[type=tel],input[type=url],input[type=search],input[type=date],input[type=number],input[type=password],select):not([multiple]),.mcwl-panel :is(input[type=text],input[type=email],input[type=tel],input[type=search],select):not([multiple]){min-height:var(--mcwl-ui-field);border-radius:8px;box-sizing:border-box;max-width:100%;min-width:0}
.mcwl-portal main :is(input,select,textarea):focus-visible,.mcwl-panel :is(input,select,textarea):focus-visible{outline:2px solid #0866ef;outline-offset:1px}
.mcwl-portal main :is(.mcwl-ui-control,.customer-search-wrap,.customer-field,.consult-grid>*,.tf-brand-grid>*,.tf-integration-grid>*){min-width:0}
.mcwl-portal main :is(.lead-action,.mcwl-copy,.mcwlp-header-action,.mcwl-icon-new,.mcwl-ui-action-icon){display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:0;transition:background .16s,border-color .16s,box-shadow .16s;vertical-align:middle}
.mcwl-portal main :is(.lead-action,.mcwlp-header-action,.mcwl-icon-new,.mcwl-ui-action-icon){width:38px;height:38px;padding:0;min-width:38px;border-radius:8px}
.mcwl-portal main :is(.lead-action,.mcwlp-header-action,.mcwl-icon-new,.mcwl-ui-action-icon)>svg{width:19px;height:19px;flex:none;color:inherit}
.mcwl-portal main :is(.lead-action,.mcwl-copy,.mcwlp-header-action,.mcwl-icon-new,.mcwl-ui-action-icon):hover{box-shadow:0 2px 8px #1756bc25;filter:brightness(.96)}
.mcwl-portal main :is(.lead-actions,.mcwl-acl-actions,.city-actions,.mcwl-consult-actions){gap:6px;align-items:center}
.mcwl-portal main :is(.mcwl-scroll,.mcwlp-report-table){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:10px}
.mcwl-portal main :is(.mcwl-scroll,.mcwlp-report-table) table{width:100%;border-collapse:separate;border-spacing:0}
.mcwl-portal main :is(.mcwl-scroll,.mcwlp-report-table) th{background:#e3ebf9;color:#10264b;text-align:left;font-weight:650}
.mcwl-portal main :is(.mcwl-scroll,.mcwlp-report-table) :is(th,td){padding:12px 10px;vertical-align:middle;overflow-wrap:anywhere}
.mcwl-portal main :is(.mcwl-scroll,.mcwlp-report-table) tbody tr:nth-child(even){background:#f7f9fc}
.mcwl-portal main :is(.mcwl-scroll,.mcwlp-report-table) tbody tr:hover{background:#edf4ff}
.mcwl-portal main .mcwl-directory-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 12px}
.mcwl-directory-toolbar :is(.mcwl-new-toolbar,.mcwl-acl-export){margin:0}
.mcwl-portal .customer-cards{margin:0 0 16px;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mcwl-portal .customer-filter{margin:12px 0;gap:12px;padding:16px;align-items:end}
.mcwl-portal .customer-filter-actions{grid-column:1/-1;justify-content:flex-end}
.mcwl-portal .customer-filter-actions>*{flex:0 0 auto}
.mcwl-portal .customer-table :is(th,td):is(:nth-child(3),:nth-child(5),:nth-child(7),:last-child){text-align:center}
.mcwl-portal .mcwl-card:not(.mcwl-mini-kpi){grid-template-columns:36px minmax(0,1fr);padding:12px;gap:5px 10px;border-left:4px solid #0866ef;border-radius:10px;align-content:start}
.mcwl-portal .mcwl-card:not(.mcwl-mini-kpi)>svg{grid-column:1;grid-row:1/3;width:34px;height:34px;padding:7px}
.mcwl-portal .mcwl-card:not(.mcwl-mini-kpi)>:is(span,strong,small){grid-column:2}
.mcwl-portal .mcwl-card:not(.mcwl-mini-kpi)>strong{font-size:26px;line-height:1.1}
.mcwl-portal .mcwl-ui-action-icon:focus-visible{outline:2px solid #0866ef;outline-offset:2px}
@media(max-width:760px){.mcwl-portal{--page-pad:12px;--panel-pad:14px}.mcwl-portal .mcwl-heading{gap:10px;flex-wrap:wrap}.mcwl-portal .mcwl-heading>svg{width:40px;height:40px;padding:9px}.mcwl-portal .mcwl-heading h1{font-size:24px}.mcwl-portal .customer-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.mcwl-portal .customer-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.mcwl-portal .customer-filter .customer-search{grid-column:1/-1}.mcwl-portal main :is(.mcwl-scroll,.mcwlp-report-table) table{min-width:680px}.mcwl-portal main :is(.lead-action,.mcwlp-header-action,.mcwl-icon-new,.mcwl-ui-action-icon){width:44px;height:44px;min-width:44px}.mcwl-portal .mcwl-directory-toolbar{flex-wrap:wrap}.mcwl-portal .customer-filter-actions{justify-content:flex-end}}
@media(max-width:420px){.mcwl-portal .customer-filter{grid-template-columns:minmax(0,1fr)}.mcwl-portal .customer-cards{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.mcwl-portal main :is(.lead-action,.mcwl-copy,.mcwlp-header-action,.mcwl-icon-new,.mcwl-ui-action-icon,.mcwl-card){transition:none;transform:none}}
.mcwl-portal .mcwl-ui-shared>select{width:100%;padding-left:38px!important;box-sizing:border-box}.mcwl-portal .mcwl-ui-shared>input{width:100%}.mcwl-portal .mcwl-ui-shared{min-width:0}.mcwl-portal .mcwl-directory-toolbar:empty{display:none}

/* 3.2.19 — compact workspace headers and filters. */
.mcwl-portal main .mcwl-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:14px;row-gap:6px;margin:0 0 16px}
.mcwl-portal .mcwl-heading>svg{width:48px;height:48px;padding:10px;box-sizing:border-box;flex:none}
.mcwl-portal .mcwl-heading h1{font-size:clamp(23px,2.2vw,32px);line-height:1.2;letter-spacing:-.6px;overflow-wrap:anywhere}
.mcwl-portal .mcwl-heading p{margin:3px 0 0;line-height:1.4;font-size:13px}
.mcwl-portal main .mcwl-heading>:is(.mcwl-header-actions,.mcwlp-header-actions){display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0;padding:0;min-width:0;flex-wrap:wrap}
.mcwl-portal .mcwl-heading .mcwl-header-actions:empty{display:none}
.mcwl-portal .mcwl-heading :is(.mcwl-acl-export,.mcwl-new-toolbar,.mcwl-acl-export form){margin:0;padding:0;display:flex;align-items:center}
.mcwl-portal .mcwl-heading :is(.mcwl-icon-new,.mcwl-ui-action-icon,.mcwlp-header-action){display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;box-sizing:border-box}
.mcwl-portal .mcwl-heading :is(.mcwl-icon-new,.mcwl-ui-action-icon,.mcwlp-header-action)>svg{display:block;width:19px;height:19px;flex:none}
.mcwl-portal main :is(.consult-toolbar,.mcwl-related-head,.mcwl-acl-heading,.mcwl-acl-profile-head,.mcwl-customer-toolbar,.mcwl-analytics-heading){align-items:center;gap:10px;min-width:0}
.mcwl-portal main :is(.consult-btn,.lead-back,.lead-action,.customer-filter-actions button,.customer-filter-actions a,.mcwlp-header-action,.mcwl-sort){align-items:center;vertical-align:middle}
.mcwl-portal main :is(button,a)>svg{flex-shrink:0;vertical-align:middle}
.mcwl-portal main :is(.consult-btn,.lead-back,.customer-filter-actions button,.customer-filter-actions a){display:inline-flex;gap:7px;justify-content:center;line-height:1.25}
.mcwl-portal main .mcwl-ui-icon{top:50%;left:11px;transform:translateY(-50%);align-items:center;justify-content:center;line-height:1;width:18px;height:18px;margin:0}
.mcwl-portal main .mcwl-ui-icon>svg{display:block;width:18px;height:18px;flex:none}
.mcwl-portal main .mcwl-filter{padding:12px 14px;gap:10px;align-items:end;margin:12px 0}
.mcwl-portal main .mcwl-filter :is(input:not([type=hidden]),select){height:40px;min-height:40px;margin:0;line-height:normal;font-size:13px}
.mcwl-portal main .mcwl-filter label{line-height:1.3;gap:5px}
.mcwl-portal main .mcwl-filter .mcwl-ui-control{height:40px;margin:0}
.mcwl-portal main .mcwl-filter .mcwl-ui-control> :is(input,select){padding-left:36px!important}
.mcwl-portal main .customer-filter .customer-search-wrap{height:40px}
.mcwl-portal main .customer-filter .customer-search-wrap svg{top:50%;transform:translateY(-50%);left:11px;width:18px;height:18px}
.mcwl-portal main .customer-filter .customer-search-wrap input{padding-left:36px}
.mcwl-portal main #mcwl-directory .customer-filter input[type=date]{height:40px;min-height:40px}
.mcwl-portal main .customer-filter{grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}
.mcwl-portal main .customer-filter>.customer-search{grid-column:span 6}
.mcwl-portal main .customer-filter>label:has([name=customer_type]),.mcwl-portal main .customer-filter>label:has([name=customer_owner]){grid-column:span 3}
.mcwl-portal main .customer-filter>label:has([name=customer_uf]){grid-column:span 1}
.mcwl-portal main .customer-filter>label:has([name=customer_city]){grid-column:span 3}
.mcwl-portal main .customer-filter>label:has([name=customer_from]),.mcwl-portal main .customer-filter>label:has([name=customer_to]){grid-column:span 3}
.mcwl-portal main .customer-filter-actions{grid-column:span 2;display:flex;flex-wrap:nowrap;gap:6px;align-items:center;justify-content:flex-end}
.mcwl-portal main .customer-filter-actions :is(button,a){height:40px;min-height:40px;padding:0 10px;box-sizing:border-box;white-space:nowrap;font-size:12px}
.mcwl-portal main .customer-filter-actions svg{width:16px;height:16px;display:block;flex:none}
.mcwl-portal main .mcwl-filter:not(.customer-filter)>input:not([type=hidden]){flex:3 1 240px}
.mcwl-portal main .mcwl-filter:not(.customer-filter)>select{flex:1 1 145px}
.mcwl-portal main .mcwl-filter:not(.customer-filter)>button{flex:0 0 auto;min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:7px}
#mcwl-directory-status:empty{margin:0;padding:0;min-height:0}
@media(max-width:1450px){.mcwl-portal main .customer-filter>label:has([name=customer_uf]){grid-column:span 2}.mcwl-portal main .customer-filter>label:has([name=customer_city]){grid-column:span 3}.mcwl-portal main .customer-filter>label:has([name=customer_from]),.mcwl-portal main .customer-filter>label:has([name=customer_to]){grid-column:span 2}.mcwl-portal main .customer-filter-actions{grid-column:span 3}}
@media(max-width:1150px){.mcwl-portal main .customer-filter>label:has([name=customer_uf]){grid-column:span 2}.mcwl-portal main .customer-filter>label:has([name=customer_city]){grid-column:span 4}.mcwl-portal main .customer-filter>label:has([name=customer_from]),.mcwl-portal main .customer-filter>label:has([name=customer_to]){grid-column:span 3}.mcwl-portal main .customer-filter-actions{grid-column:1/-1}}
@media(max-width:760px){.mcwl-portal main .mcwl-heading{grid-template-columns:auto minmax(0,1fr);gap:8px}.mcwl-portal .mcwl-heading>svg{width:40px;height:40px;padding:9px}.mcwl-portal main .mcwl-heading>:is(.mcwl-header-actions,.mcwlp-header-actions){grid-column:1/-1}.mcwl-portal main .customer-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.mcwl-portal main .customer-filter>label:has(input,select){grid-column:span 1}.mcwl-portal main .customer-filter>.customer-search{grid-column:1/-1}.mcwl-portal main .customer-filter-actions{grid-column:1/-1}.mcwl-portal main .mcwl-filter :is(input:not([type=hidden]),select),.mcwl-portal main .mcwl-filter .mcwl-ui-control,.mcwl-portal main #mcwl-directory .customer-filter input[type=date],.mcwl-portal main .customer-filter .customer-search-wrap,.mcwl-portal main .customer-filter-actions :is(button,a){height:44px;min-height:44px}.mcwl-portal .mcwl-heading :is(.mcwl-icon-new,.mcwl-ui-action-icon,.mcwlp-header-action){height:44px;width:44px;min-width:44px}}
@media(max-width:420px){.mcwl-portal main .customer-filter{grid-template-columns:minmax(0,1fr)}.mcwl-portal main .customer-filter-actions>*{flex:1 1 0}}


/* 3.2.20 — premium UI refinements: unified page headers, action alignment and compact filters. */
.mcwl-portal{--mcwl-head-bg:linear-gradient(135deg,#f8fbff 0%,#eef4ff 100%);--mcwl-head-border:#d7e4f5;--mcwl-head-shadow:0 10px 26px rgba(16,42,106,.06);--mcwl-action-shadow:0 6px 16px rgba(16,42,106,.08)}
.mcwl-portal main>.mcwl-heading{position:relative;padding:14px 16px;border:1px solid var(--mcwl-head-border);border-radius:16px;background:var(--mcwl-head-bg);box-shadow:var(--mcwl-head-shadow)}
.mcwl-portal main>.mcwl-heading:after{content:'';position:absolute;left:16px;right:16px;bottom:0;height:1px;background:linear-gradient(90deg,rgba(8,102,239,.14),rgba(8,102,239,0));pointer-events:none}
.mcwl-portal .mcwl-heading>svg{background:linear-gradient(180deg,#ebf3ff,#dfeaff);border:1px solid #d0def2;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}
.mcwl-portal .mcwl-heading h1{margin:0;font-weight:800;color:#0f2550}
.mcwl-portal .mcwl-heading p{color:#5c6f8a;max-width:72ch}
.mcwl-portal .mcwl-heading>:is(.mcwl-header-actions,.mcwlp-header-actions){align-self:center}
.mcwl-portal .mcwl-heading :is(.mcwl-icon-new,.mcwl-ui-action-icon,.mcwlp-header-action,.mcwl-acl-export button){border-radius:12px;border:1px solid #d3e0f2;background:#fff;box-shadow:var(--mcwl-action-shadow);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease,background .16s ease,color .16s ease,border-color .16s ease}
.mcwl-portal .mcwl-heading :is(.mcwl-icon-new,.mcwl-ui-action-icon,.mcwlp-header-action,.mcwl-acl-export button):hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(16,42,106,.12)}
.mcwl-portal .mcwl-heading .mcwl-acl-export{display:flex;align-items:center;margin:0}
.mcwl-portal .mcwl-heading .mcwl-acl-export form{display:flex;align-items:center;margin:0}
.mcwl-portal .mcwl-heading .mcwl-acl-export button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:0;color:#1756bc}
.mcwl-portal .mcwl-heading .mcwl-acl-export button svg{width:18px;height:18px;display:block;flex:none}
.mcwl-portal .mcwl-heading .mcwlp-header-action.primary,.mcwl-portal .mcwl-heading .mcwl-icon-new{background:linear-gradient(135deg,#0b74ff,#0858dd);border-color:#0866ef;color:#fff}
.mcwl-portal .mcwl-heading .mcwl-header-actions .mcwl-acl-export button:hover,.mcwl-portal .mcwl-heading .mcwlp-header-action.primary:hover,.mcwl-portal .mcwl-heading .mcwl-icon-new:hover{filter:brightness(.98)}
.mcwl-portal .mcwl-panel,.mcwl-portal .wrap,.mcwl-portal .lead-section,.mcwl-portal .mcwlp-report-card,.mcwl-portal .tf-settings-content,.mcwl-portal .tf-help article{box-shadow:0 10px 28px rgba(15,37,80,.06)}
.mcwl-portal main .mcwl-filter,.mcwl-portal main .customer-filter{padding:14px 16px;border-radius:16px;border:1px solid #dbe6f4;background:#fff;box-shadow:0 10px 24px rgba(15,37,80,.05)}
.mcwl-portal main .mcwl-filter label,.mcwl-portal main .customer-filter label{font-weight:700;color:#15315d}
.mcwl-portal main .mcwl-filter :is(input:not([type=hidden]),select),.mcwl-portal main .customer-filter :is(input:not([type=hidden]),select){border-color:#cddbef;background:#fbfdff}
.mcwl-portal main .mcwl-filter :is(input:not([type=hidden]),select):focus,.mcwl-portal main .customer-filter :is(input:not([type=hidden]),select):focus{background:#fff;box-shadow:0 0 0 3px rgba(8,102,239,.12);border-color:#0866ef}
.mcwl-portal main .customer-filter{align-items:end}
.mcwl-portal main .customer-filter>.customer-search{grid-column:span 5}
.mcwl-portal main .customer-filter>label:has([name=customer_type]),.mcwl-portal main .customer-filter>label:has([name=customer_owner]){grid-column:span 3}
.mcwl-portal main .customer-filter>label:has([name=customer_uf]){grid-column:span 2}
.mcwl-portal main .customer-filter>label:has([name=customer_city]){grid-column:span 3}
.mcwl-portal main .customer-filter>label:has([name=customer_from]),.mcwl-portal main .customer-filter>label:has([name=customer_to]){grid-column:span 2}
.mcwl-portal main .customer-filter-actions{grid-column:span 2;display:flex;justify-content:flex-end;gap:8px}
.mcwl-portal main .customer-filter-actions :is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;font-weight:700;border-radius:11px}
.mcwl-portal main .customer-filter-actions a{background:#edf3fb;color:#214f93;border:1px solid #d5e0f0}
.mcwl-portal main .customer-filter-actions button{box-shadow:0 8px 18px rgba(8,102,239,.14)}
.mcwl-portal .mcwlp-report-head{padding-bottom:2px}
.mcwl-portal .mcwlp-filter-label{display:grid;gap:6px;min-width:min(280px,100%);font-weight:700;color:#15315d}
.mcwl-portal .mcwlp-filter-label select{min-height:40px;border:1px solid #cddbef;border-radius:10px;background:#fbfdff;padding:10px 12px}
.mcwl-portal .mcwlp-filter-label select:focus{outline:none;border-color:#0866ef;box-shadow:0 0 0 3px rgba(8,102,239,.12);background:#fff}
.mcwl-portal .mcwl-scroll table thead th,.mcwl-portal .mcwlp-report-table table thead th{font-weight:750}
.mcwl-portal .mcwl-card,.mcwl-portal .mcwlp-kpi{border-radius:14px}
@media(max-width:1150px){.mcwl-portal main .customer-filter>.customer-search{grid-column:1/-1}.mcwl-portal main .customer-filter>label:has([name=customer_type]),.mcwl-portal main .customer-filter>label:has([name=customer_owner]),.mcwl-portal main .customer-filter>label:has([name=customer_city]),.mcwl-portal main .customer-filter>label:has([name=customer_from]),.mcwl-portal main .customer-filter>label:has([name=customer_to]),.mcwl-portal main .customer-filter>label:has([name=customer_uf]){grid-column:span 3}.mcwl-portal main .customer-filter-actions{grid-column:1/-1}}
@media(max-width:760px){.mcwl-portal main>.mcwl-heading{padding:12px 12px 14px}.mcwl-portal main .customer-filter>.customer-search,.mcwl-portal main .customer-filter>label:has(input,select),.mcwl-portal main .customer-filter-actions{grid-column:1/-1}.mcwl-portal .mcwl-heading :is(.mcwl-icon-new,.mcwl-ui-action-icon,.mcwlp-header-action,.mcwl-acl-export button){width:44px;height:44px;min-width:44px}.mcwl-portal .mcwlp-filter-label{min-width:100%}}


/* 3.2.21 — compact corporate workspace; scoped to portal. */
.mcwl-portal{--mcwl-control-height:42px;--mcwl-ui-gap:12px}
.mcwl-portal main>.mcwl-heading{padding:12px 16px;margin-bottom:16px;box-shadow:0 3px 12px #10264b0a}
.mcwl-portal .mcwl-heading h1{font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.mcwl-portal .tf-settings-content{min-width:0;box-shadow:none}
.mcwl-portal .tf-settings-content>.wrap,.mcwl-portal .tf-help{padding:20px;min-height:0}
.mcwl-portal .tf-settings-content h2,.mcwl-portal .tf-help h2{margin:0 0 12px;line-height:1.3}
.mcwl-portal .tf-settings-links a{display:flex;align-items:center;gap:10px}
.mcwl-portal .tf-settings-links a>svg{flex:0 0 20px;width:20px;height:20px}
.mcwl-portal .mcwl-origin-options{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr;gap:10px;min-width:0}
.mcwl-portal .mcwl-origin-choice{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #d3e0f2;border-radius:10px;background:#f8faff;cursor:pointer;min-width:0}
.mcwl-portal .mcwl-origin-choice:has(input:checked){border-color:#0866ef;background:#edf4ff;box-shadow:0 0 0 1px #0866ef}
.mcwl-portal .mcwl-origin-choice input{accent-color:#0866ef;width:18px;height:18px;flex:none;margin:0}
.mcwl-portal .mcwl-origin-mark{display:grid;place-items:center;color:#0866ef;flex:0 0 32px;height:32px;background:#e4eeff;border-radius:8px}
.mcwl-portal .mcwl-origin-choice strong,.mcwl-portal .mcwl-origin-choice small{display:block;line-height:1.45}
.mcwl-portal .mcwl-origin-choice small{color:#526781;font-size:12px}
.mcwl-portal .mcwl-origin-hint{display:flex;align-items:flex-start;gap:8px;color:#526781;font-size:13px;margin:14px 0 0}
.mcwl-portal .mcwl-origin-hint svg{flex:0 0 18px;width:18px;height:18px;color:#0866ef}
.mcwl-portal .mcwl-visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.mcwl-portal .mcwl-help-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.mcwl-portal .mcwl-help-grid article{min-width:0;margin:0;padding:14px;box-shadow:none;display:flex;flex-direction:column;gap:8px}
.mcwl-portal .mcwl-help-grid article h3,.mcwl-portal .mcwl-help-grid article p{margin:0;overflow-wrap:anywhere}
.mcwl-portal .mcwl-help-grid article p{color:#526781;font-size:13px;line-height:1.5}
.mcwl-portal .tf-help-code{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin-top:auto;min-width:0}
.mcwl-portal .tf-help-code input{width:0;flex:1 1 0;min-width:0;height:var(--mcwl-control-height);font-size:12px}
.mcwl-portal .tf-copy-code{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--mcwl-control-height);padding:0 12px;border:1px solid #cddcf1;border-radius:9px;color:#1756bc;background:#edf3ff;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap;flex:none}
.mcwl-portal .tf-copy-code svg{width:16px;height:16px;flex:none}
.mcwl-portal .tf-copy-code:hover{background:#dceaff}.mcwl-portal .tf-copy-code.is-copied{color:#166534;background:#e6f5ec}
.mcwl-portal :is(button,a,input,select,textarea):focus-visible{outline:2px solid #0866ef;outline-offset:2px}
.mcwl-portal .mcwl-scroll{max-width:100%;overflow-x:auto}
@media(min-width:1100px){.mcwl-portal .mcwl-origin-options,.mcwl-portal .mcwl-help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.mcwl-portal .tf-settings-content>.wrap,.mcwl-portal .tf-help{padding:14px}.mcwl-portal .tf-copy-code{min-height:44px}.mcwl-portal .mcwl-origin-choice{padding:10px}.mcwl-portal .mcwl-heading h1{font-size:clamp(20px,5vw,28px)}}
@media(prefers-reduced-motion:reduce){.mcwl-portal :is(.tf-copy-code,.mcwl-origin-choice,.mcwlp-header-action,.mcwl-ui-action-icon){transition:none!important;transform:none!important}}

/* 3.2.22 — destructive actions: independent visual identity, including AJAX rows. */
.mcwl-portal :is(button,a):has(>svg.mcwl-trash-mark),
.mcwl-portal :is(button,a).mcwl-col-danger:has(>svg.mcwl-trash-mark),
.mcwl-portal button.mcwlp-item-action.delete,
.wp-admin :is(button,a):has(>svg.mcwl-trash-mark){
 display:inline-flex;align-items:center;justify-content:center;
 background:#fff1f2!important;color:#b91c1c!important;border:1px solid #fecdd3!important;
 box-shadow:none;filter:none;vertical-align:middle;
}
.mcwl-portal :is(button,a):has(>svg.mcwl-trash-mark)>svg,
.mcwl-portal button.mcwlp-item-action.delete>svg,
.wp-admin :is(button,a):has(>svg.mcwl-trash-mark)>svg{
 width:20px;height:20px;flex:none;display:block;stroke:currentColor!important;stroke-width:2;
}
.mcwl-portal :is(button,a):has(>svg.mcwl-trash-mark):not(:disabled):hover,
.mcwl-portal button.mcwlp-item-action.delete:not(:disabled):hover,
.wp-admin :is(button,a):has(>svg.mcwl-trash-mark):not(:disabled):hover{
 background:#b91c1c!important;color:#fff!important;border-color:#991b1b!important;filter:none;
}
.mcwl-portal :is(button,a):has(>svg.mcwl-trash-mark):focus-visible,
.mcwl-portal button.mcwlp-item-action.delete:focus-visible,
.wp-admin :is(button,a):has(>svg.mcwl-trash-mark):focus-visible{outline:2px solid #b91c1c;outline-offset:3px}
.mcwl-portal button:has(>svg.mcwl-trash-mark):disabled,.wp-admin button:has(>svg.mcwl-trash-mark):disabled{opacity:.45;cursor:not-allowed}

/* MSG Fale Conosco */
.mcwlf{display:grid;gap:16px}.mcwlf-tabs{display:flex;flex-wrap:wrap;gap:6px;background:white;padding:10px;border-radius:12px;border:1px solid #d5e0ef}.mcwlf-tabs a{padding:10px 13px;color:#23466f;text-decoration:none;border-radius:8px}.mcwlf-tabs a.active,.mcwlf-tabs a:hover{background:#0866ef;color:white}.mcwlf-formlist{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.mcwlf-formlist article,.mcwlf-kpi,.mcwlf-log{padding:14px;border:1px solid #d5e0ef;border-radius:10px;background:#f8faff;overflow-wrap:anywhere}.mcwlf-kpi{display:grid;text-decoration:none;color:#10264b;border-left:3px solid #0866ef}.mcwlf-kpi strong{font-size:26px}.mcwlf-builder-grid{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2.5fr) minmax(150px,1fr);gap:12px;margin:15px 0}.mcwlf-builder-grid>aside,.mcwlf-builder-grid>section{padding:12px;border:1px solid #d5e0ef;border-radius:10px;background:#f7faff;min-width:0}.mcwlf-builder-grid aside button{display:block;width:100%;margin-bottom:5px}.mcwlf-canvas{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px}.mcwlf-canvas button{min-width:0;overflow-wrap:anywhere;background:white;color:#1756bc;border:1px solid #cddbef;cursor:grab}.mcwlf-actions{display:flex;gap:5px;align-items:center}.mcwlf-action{margin:0}.mcwlf-log{border-left:3px solid #0866ef;margin:8px 0}.mcwlf-table tr[hidden]{display:none}@media(max-width:850px){.mcwlf-builder-grid{grid-template-columns:1fr}.mcwlf-canvas button{grid-column:1/-1!important}}
/* 3.3.1 — scoped form editor */
.mcwl-portal .mcwlf-workspace{padding:20px;background:#fff}.mcwlf-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mcwlf-editor-heading h2{margin:0}.mcwlf-editor-heading p,.mcwlf-hint,.mcwlf-library p{font-size:12px;color:#64748b;margin:6px 0 12px}.mcwlf-back{color:#1756bc;text-decoration:none;font-size:13px}.mcwl-portal #mcwlf-builder .mcwlf-builder-grid{grid-template-columns:minmax(190px,1fr) minmax(0,2.5fr) minmax(190px,1fr);align-items:start;gap:12px}.mcwl-portal #mcwlf-builder .mcwlf-builder-grid>aside,.mcwl-portal #mcwlf-builder .mcwlf-stage{padding:14px;background:#f5f8fc;border-radius:12px}.mcwlf-library-items{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.mcwl-portal #mcwlf-builder button{font:inherit;cursor:pointer;border:1px solid #cbd9eb;border-radius:8px;background:#fff;color:#23466f;min-height:36px;padding:8px;transition:background .15s,border-color .15s}.mcwl-portal #mcwlf-builder button:hover:not(:disabled){border-color:#0866ef;background:#eaf2ff}.mcwl-portal #mcwlf-builder button:focus-visible{outline:2px solid #0866ef;outline-offset:2px}.mcwl-portal #mcwlf-builder button:disabled{opacity:.55;cursor:default}.mcwl-portal #mcwlf-builder [data-add]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:66px;font-size:11px;line-height:1.2;margin:0;text-align:center;overflow-wrap:anywhere}.mcwl-portal #mcwlf-builder [data-add][hidden]{display:none}.mcwlf-builder-grid svg{width:19px;height:19px;fill:none;stroke:#2467bb;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.mcwlf-stage-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.mcwlf-stage-head h3{margin:0}.mcwlf-devices,.mcwlf-widths,.mcwlf-prop-actions{display:flex;gap:4px;flex-wrap:wrap}.mcwl-portal #mcwlf-builder [aria-pressed=true]{border-color:#0866ef;background:#eaf2ff}.mcwlf-preview{background:#fff;padding:18px;border:1px solid #d8e3f1;border-radius:12px;max-width:100%;margin:auto;box-sizing:border-box}.mcwlf-preview[data-preview=tablet]{width:768px}.mcwlf-preview[data-preview=mobile]{width:375px}.mcwlf-preview[data-preview=mobile] .mcwlf-field-preview{grid-column:1/-1!important}.mcwl-portal #mcwlf-builder .mcwlf-field-preview{display:grid;gap:6px;text-align:left;cursor:grab;padding:9px;min-width:0;border:1px dashed #c6d8ef}.mcwlf-preview-label{font-size:12px;font-weight:600;overflow-wrap:anywhere}.mcwlf-preview-input{display:flex;align-items:center;gap:7px;min-height:39px;padding:8px;background:#f7faff;border:1px solid #d6e0ef;border-radius:7px;color:#64748b;font-size:12px;overflow-wrap:anywhere}.mcwlf-preview-input.is-textarea{min-height:94px;align-items:flex-start}.mcwlf-fixed-preview{display:grid;gap:12px;margin-top:16px;color:#64748b;font-size:12px}.mcwlf-preview-submit{background:#0866ef;color:white;padding:12px;border-radius:8px;text-align:center;font-weight:600}.mcwlf-builder-grid [data-properties]{display:grid;gap:12px}.mcwlf-builder-grid [data-properties] label{display:grid;gap:6px;font-size:12px;font-weight:600}.mcwlf-builder-grid [data-properties] .mcwlf-required{display:flex;align-items:center}.mcwl-portal #mcwlf-builder .mcwlf-remove{color:#b91c1c;background:#fff1f2;border-color:#fecdd3}.mcwl-portal #mcwlf-builder .mcwlf-save{background:#0866ef;color:white;border-color:#0866ef;padding:10px 18px}.mcwl-portal #mcwlf-builder .mcwlf-save:hover{background:#0755c7;color:white}@media(max-width:1150px){.mcwl-portal #mcwlf-builder .mcwlf-builder-grid{grid-template-columns:minmax(150px,1fr) minmax(0,2fr)}.mcwlf-builder-grid [data-properties]{grid-column:1/-1}}@media(max-width:760px){.mcwl-portal #mcwlf-builder .mcwlf-builder-grid{grid-template-columns:1fr}.mcwlf-library-items{grid-template-columns:repeat(3,minmax(0,1fr))}.mcwlf-preview{padding:10px}.mcwl-portal #mcwlf-builder .mcwlf-field-preview{grid-column:1/-1!important}.mcwlf-workspace{padding:12px!important}}@media(prefers-reduced-motion:reduce){.mcwl-portal #mcwlf-builder button{transition:none}}
/* 3.3.3: Outlook-style contact workspace, scoped to this module. */
.mcwl-portal main .mcwlf{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px;align-items:start}.mcwl-portal main .mcwlf-content{min-width:0;display:grid;gap:12px}.mcwl-portal main nav.mcwlf-tabs{position:sticky;top:80px;display:flex;flex-direction:column;align-items:stretch;width:auto;background:#fff;border:1px solid #d5e0ef;padding:10px;gap:4px;border-radius:12px}.mcwl-portal main .mcwlf-tabs strong{padding:10px;color:#253d62;font-size:13px}.mcwl-portal main .mcwlf-tabs a{display:flex;align-items:center;gap:9px;color:#243e65;background:transparent;padding:10px;border-radius:7px;font-size:13px;text-decoration:none}.mcwl-portal main .mcwlf-tabs a svg{width:18px;height:18px;flex:none}.mcwl-portal main .mcwlf-tabs a:hover{background:#e8f0ff;color:#0754c3}.mcwl-portal main .mcwlf-tabs a.active{background:#0866ef;color:#fff}.mcwl-portal main .mcwlf-tabs a:focus-visible{outline:2px solid #0866ef;outline-offset:2px}.mcwlf-content [data-mcwlf-search]{display:block;width:100%;min-height:42px;margin:12px 0;padding:10px 14px;border:1px solid #cad9ed;border-radius:8px;background:#f7faff;box-sizing:border-box}.mcwlf-template-group{border:1px solid #d5e0ef;border-radius:10px;padding:14px;margin:16px 0}.mcwlf-template-vars{display:flex;gap:8px;margin:10px 0}.mcwlf-template-vars select{flex:1;min-width:0}.mcwlf-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:stretch}.mcwlf-template-grid label{display:grid;gap:6px;margin-bottom:8px}.mcwlf-template-grid textarea,.mcwlf-template-grid input{width:100%;box-sizing:border-box}.mcwlf-email-view,.mcwlf-wa-view{border:1px solid #d5e0ef;border-radius:9px;overflow:hidden;background:#fff;min-width:0}.mcwlf-email-view strong,.mcwlf-wa-view strong{display:block;padding:12px;background:#eaf0fa;color:#10264b;overflow-wrap:anywhere}.mcwlf-email-view iframe{display:block;width:100%;height:230px;border:0}.mcwlf-wa-view{background:#eee9df}.mcwlf-wa-view strong{background:#075e54;color:#fff}.mcwlf-wa-view p{margin:12px;padding:12px;background:#dcf8c6;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;color:#183b30}.mcwlf-template button,.mcwlf-template-vars button{background:#0866ef;color:#fff;border:0;border-radius:7px;padding:10px 15px;cursor:pointer}@media(max-width:1050px){.mcwl-portal main .mcwlf{grid-template-columns:180px minmax(0,1fr)}.mcwlf-template-grid{grid-template-columns:1fr}}@media(max-width:760px){.mcwl-portal main .mcwlf{grid-template-columns:1fr}.mcwl-portal main nav.mcwlf-tabs{position:static;flex-direction:row;overflow-x:auto}.mcwl-portal main .mcwlf-tabs a{white-space:nowrap}.mcwl-portal main .mcwlf-tabs strong{display:none}}

/* 3.3.5 — caixa de entrada: leitura e atendimento */
.mcwl-portal .mcwlf-detail{display:grid;gap:16px;padding:20px;min-width:0;background:#fff;color:#10264b}
.mcwl-portal .mcwlf-detail .mcwlf-back{display:inline-flex;align-items:center;gap:7px;justify-self:start;font-weight:600;text-decoration:none;color:#1756bc}
.mcwl-portal .mcwlf-detail svg{width:18px;height:18px;flex:none;vertical-align:middle}
.mcwlf-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mcwlf-detail-head h2{margin:4px 0 0}.mcwlf-detail-head small{font-size:10px;letter-spacing:.08em;color:#607691;font-weight:700}.mcwlf-detail-status,.mcwlf-private,.mcwlf-public-tag{display:inline-flex;padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600;background:#e5efff;color:#174b9c}.mcwlf-private{background:#fff2d3;color:#805400}.mcwlf-public-tag{background:#e1f4e8;color:#15623b}
.mcwlf-detail-card{padding:16px;border:1px solid #d8e3f2;border-radius:12px;background:#fff;min-width:0}.mcwlf-detail-card h3{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:15px}.mcwlf-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));gap:10px}.mcwlf-detail-grid article{display:flex;gap:10px;align-items:flex-start;padding:12px;background:#f3f7fc;border:1px solid #e1e9f4;border-radius:9px;min-width:0}.mcwlf-detail-grid article svg{color:#527bab;margin-top:3px}.mcwlf-detail-grid article div{min-width:0}.mcwlf-detail-grid small{color:#61758f;font-size:11px}.mcwlf-detail-grid p{margin:5px 0 0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.mcwlf-incoming{border-left:3px solid #0866ef;background:#f8faff}.mcwlf-message-text{white-space:normal;overflow-wrap:anywhere;line-height:1.65;font-size:14px;padding:4px 0}
.mcwlf-detail-form{display:grid;gap:14px;min-width:0;margin:0}.mcwlf-detail-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.mcwl-portal .mcwlf-detail-form label{display:block;font-size:13px;font-weight:600;min-width:0}.mcwl-portal .mcwlf-detail-form select,.mcwl-portal .mcwlf-detail-form textarea{display:block;width:100%;box-sizing:border-box;margin:6px 0 0;border:1px solid #cbd9ed;background:#f8faff;color:#10264b;border-radius:9px;font:inherit;font-weight:400;min-height:42px}.mcwl-portal .mcwlf-detail-form textarea{padding:12px;resize:vertical;min-height:110px;line-height:1.5}.mcwl-portal .mcwlf-detail-form :is(select,textarea):focus{outline:2px solid #0866ef;outline-offset:1px}.mcwlf-detail-label>span{margin-left:8px}.mcwlf-detail-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.mcwl-portal .mcwlf-detail button.mcwlf-save{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cfddf2;border-radius:9px;background:#edf3fd;color:#1756bc;min-height:40px;padding:9px 14px;font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:background .15s,color .15s}.mcwl-portal .mcwlf-detail button.mcwlf-save:hover{background:#dceaff}.mcwl-portal .mcwlf-detail button.mcwlf-primary{background:#0866ef;color:#fff;border-color:#0866ef}.mcwl-portal .mcwlf-detail button.mcwlf-primary:hover{background:#0756c9}.mcwlf-detail .lead-save-actions{display:flex;justify-content:flex-end}.mcwlf-convert{display:flex;align-items:center;gap:8px;color:#1756bc;font-weight:600;font-size:13px}.mcwlf-detail-timeline{border-left:2px solid #d7e3f5;margin-left:8px;padding-left:18px}.mcwlf-detail-timeline .mcwlf-log{position:relative;margin:0 0 12px;padding:12px 14px}.mcwlf-detail-timeline .mcwlf-log:before{content:"";position:absolute;left:-27px;top:17px;width:12px;height:12px;border:2px solid white;border-radius:50%;background:#0866ef;box-shadow:0 0 0 1px #b5cbee}.mcwlf-detail-timeline .mcwlf-log small{color:#607691;margin-left:8px}.mcwlf-detail-timeline .mcwlf-log p{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.mcwlf-detail-timeline .mcwlf-log p:empty{display:none}
@media(max-width:1000px){.mcwlf-detail-controls{grid-template-columns:1fr 1fr}}@media(max-width:650px){.mcwl-portal .mcwlf-detail{padding:12px;gap:12px}.mcwlf-detail-controls{grid-template-columns:1fr}.mcwlf-detail-card{padding:12px}.mcwl-portal .mcwlf-detail button.mcwlf-save{min-height:44px}.mcwlf-detail-buttons>button{flex:1 1 100%}}

/* 3.3.6 — notification templates */
.mcwlf-auto-setting{display:flex!important;align-items:center;gap:10px;padding:12px;background:#eef5ff;border:1px solid #cbdcf3;border-radius:9px;margin:12px 0}.mcwlf-auto-setting input{flex:none;width:18px;height:18px;accent-color:#0866ef}.mcwlf-template-group [data-fc-load]{display:inline-flex;align-items:center;gap:8px;margin:8px 0 12px}.mcwlf-template-group [data-fc-load] svg{width:18px;height:18px}.mcwlf-wa-view [data-fc-wa]{white-space:pre-wrap;overflow-wrap:anywhere}

/* 3.3.7 — two-line contact navigation */
.mcwl-portal #mcwl-sidebar nav a .mcwl-contact-nav-label{display:flex;flex-direction:column;align-items:flex-start;gap:2px;line-height:1.25;min-width:0}
.mcwl-portal #mcwl-sidebar nav a .mcwl-contact-nav-label small{display:block;font-size:11px;line-height:1.25;color:inherit;opacity:.85;font-weight:400;white-space:normal}

/* 3.3.8 — Fale Conosco: editor visual compacto */
.mcwl-portal .mcwlf-template-group{padding:18px;min-width:0;background:#fff}.mcwl-portal .mcwlf-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.mcwl-portal .mcwlf-template-grid>div{min-width:0}.mcwl-portal .mcwlf-template label{font-weight:600;color:#203454;font-size:13px}.mcwl-portal .mcwlf-template input:not([type=checkbox]):not([type=color]),.mcwl-portal .mcwlf-template select,.mcwl-portal .mcwlf-template textarea{border:1px solid #cbd9ed;border-radius:8px;background:#f7f9fd;padding:10px 12px;font:inherit;box-sizing:border-box;min-width:0}.mcwl-portal .mcwlf-template input:not([type=checkbox]):not([type=color]),.mcwl-portal .mcwlf-template select{min-height:42px}.mcwl-portal .mcwlf-template textarea[name$=wa]{min-height:235px;resize:vertical;line-height:1.6}.mcwl-portal .mcwlf-rich{border:1px solid #cbd9ed;border-radius:9px;overflow:hidden;background:#fff}.mcwl-portal .mcwlf-rich-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px;background:#edf3fb;border-bottom:1px solid #d5e0ef}.mcwl-portal .mcwlf-rich-tools button,.mcwl-portal .mcwlf-rich-tools select,.mcwl-portal .mcwlf-rich-tools .mcwlf-color{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;min-width:32px;padding:5px 8px;margin:0;border:1px solid #cbd9ed;border-radius:6px;background:#fff;color:#25466e;font-size:12px;box-shadow:none}.mcwl-portal .mcwlf-rich-tools button svg{width:16px;height:16px}.mcwl-portal .mcwlf-rich-tools button:hover,.mcwl-portal .mcwlf-rich-tools button[aria-pressed=true]{background:#dceaff;color:#0754c3}.mcwl-portal .mcwlf-rich-tools button:disabled{opacity:.4;cursor:not-allowed}.mcwl-portal .mcwlf-rich-tools input[type=color]{width:22px;height:22px;padding:0;border:0}.mcwl-portal .mcwlf-rich [data-fc-editor]{min-height:280px;max-height:460px;overflow:auto;padding:16px;outline:none;overflow-wrap:anywhere;line-height:1.5;font-size:14px}.mcwl-portal .mcwlf-rich [data-fc-editor]:focus{box-shadow:inset 0 0 0 2px #0866ef}.mcwl-portal .mcwlf-rich textarea{border:0;border-radius:0;min-height:280px;font-family:monospace;resize:vertical}.mcwl-portal .mcwlf-rich [hidden]{display:none!important}.mcwl-portal .mcwlf-email-view iframe{height:360px}.mcwl-portal .mcwlf-wa-view{max-height:450px;overflow:auto}.mcwl-portal .mcwlf-template-vars button{display:inline-flex;align-items:center;justify-content:center;min-height:42px}.mcwl-portal .mcwlf-template :is(button,input,select,textarea):focus-visible{outline:2px solid #0866ef;outline-offset:2px}@media(max-width:1050px){.mcwl-portal .mcwlf-template-grid{grid-template-columns:1fr}.mcwl-portal .mcwlf-template-group{padding:12px}} 
