.communication-loading{padding:24px;border:1px solid var(--border);border-radius:10px;background:#fff;color:var(--muted)}
.communication-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;margin-bottom:12px;border:1px solid var(--border);border-radius:12px;background:#fff}.communication-intro h2{margin:3px 0 4px;color:var(--navy);font-size:20px}.communication-intro p{margin:0;max-width:760px;color:var(--muted);font-size:13px;line-height:1.45}.communication-kicker{font-size:10px;font-weight:700;letter-spacing:.55px;color:#667085}.communication-disabled-chip{display:inline-flex;padding:6px 10px;border:1px solid #d8dee8;border-radius:999px;background:#f7f8fa;color:#59687a;font-size:11px;white-space:nowrap}
.communication-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px}.communication-metric{min-width:0;padding:12px;border:1px solid #dce3eb;border-radius:10px;background:#fff;text-align:left;cursor:pointer}.communication-metric:hover{border-color:#9fb1c5;background:#fafcff}.communication-metric span,.communication-metric small{display:block}.communication-metric span{color:#667085;font-size:11px;font-weight:700}.communication-metric strong{display:block;margin:4px 0;color:#17365d;font-size:22px}.communication-metric small{color:#8995a4;font-size:10px}.communication-metric.needs-work{background:#fffaf3}.communication-metric.needs-review{background:#fffdf2}.communication-metric.is-ready{background:#f5fbf6}.communication-metric.is-invalid{background:#fff7f6}
.communication-panel{padding:14px;border:1px solid var(--border);border-radius:12px;background:#fff}.communication-toolbar{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(190px,.7fr) auto;gap:10px;align-items:end;margin-bottom:14px}.communication-toolbar .field{margin:0}.communication-list-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;margin-bottom:8px}.communication-list-head strong,.communication-list-head span{display:block}.communication-list-head strong{color:var(--navy);font-size:15px}.communication-list-head span{margin-top:2px;color:var(--muted);font-size:11px}.communication-list-note{text-align:right}.communication-table-wrap{max-height:510px;overflow:auto;border:1px solid #e2e7ed;border-radius:9px}.communication-table{min-width:980px}.communication-table td:first-child strong,.communication-table td:first-child small,.communication-table td:nth-child(2) strong,.communication-table td:nth-child(2) small{display:block}.communication-table td:first-child small,.communication-table td:nth-child(2) small{margin-top:3px;color:var(--muted);font-size:10px}.communication-email{color:#294b6b}.communication-no-email{color:#8a6670}.communication-table td:last-child{white-space:nowrap}.communication-table td:last-child .button+.button{margin-left:4px}
.communication-status{display:inline-flex;align-items:center;padding:4px 7px;border:1px solid #d5dce5;border-radius:999px;background:#f6f8fa;color:#4d5e72;font-size:10px;font-weight:700}.communication-status.is-empty{background:#f5f6f7;color:#667085}.communication-status.is-registered{background:#f1f6fb;border-color:#cbdbea;color:#315d84}.communication-status.is-review{background:#fff8e9;border-color:#ead7a8;color:#795b12}.communication-status.is-confirmed{background:#eff8f1;border-color:#c8dfce;color:#2f6b3e}.communication-status.is-invalid{background:#fff0ef;border-color:#e7c0bc;color:#8b3730}
.communication-company-context{margin-bottom:12px;padding:10px 12px;border:1px solid #dce3eb;border-radius:9px;background:#fafbfd}.communication-company-context span,.communication-company-context strong,.communication-company-context small{display:block}.communication-company-context span{color:#667085;font-size:9px;font-weight:700;letter-spacing:.45px}.communication-company-context strong{margin-top:2px;color:#17365d;font-size:15px}.communication-company-context small{margin-top:2px;color:#667085}.communication-form-rule{display:flex;gap:8px;margin-top:12px;padding:10px 12px;border:1px solid #dae2eb;border-radius:9px;background:#f7f9fb;color:#56667a;font-size:11px;line-height:1.45}.communication-form-rule strong{color:#344a62;white-space:nowrap}
.company-communication-panel{display:grid;gap:10px}.company-communication-hero{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:14px;border:1px solid var(--border);border-radius:10px;background:#fff}.company-communication-hero h3{margin:2px 0 3px;color:var(--navy);font-size:17px}.company-communication-hero p{margin:0;color:var(--muted);font-size:11px}.company-communication-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.company-communication-contact-grid>div{padding:10px 11px;border:1px solid #e1e7ed;border-radius:8px;background:#fafbfd}.company-communication-contact-grid span,.company-communication-contact-grid strong,.company-communication-contact-grid small{display:block}.company-communication-contact-grid span{color:#667085;font-size:10px;font-weight:700;text-transform:uppercase}.company-communication-contact-grid strong{margin-top:4px;color:#253d56;font-size:13px}.company-communication-contact-grid small{margin-top:3px;color:#7a8795}.company-communication-future{padding:11px 12px;border:1px dashed #cfd8e3;border-radius:9px;color:#667085;background:#fbfcfd;font-size:11px}.company-communication-history{margin-top:4px}.company-communication-history h4{margin:0 0 7px;color:#344a62}.company-communication-history-item{padding:8px 10px;border-top:1px solid #e7ebf0}.company-communication-history-item:first-of-type{border-top:0}.company-communication-history-item strong,.company-communication-history-item span{display:block}.company-communication-history-item strong{color:#344a62;font-size:11px}.company-communication-history-item span{margin-top:2px;color:#7a8795;font-size:10px}
@media(max-width:1100px){.communication-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.communication-intro{flex-direction:column}.communication-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.communication-toolbar{grid-template-columns:1fr}.communication-list-head{align-items:flex-start;flex-direction:column}.communication-list-note{text-align:left}.company-communication-contact-grid{grid-template-columns:1fr}}

/* Passo 14B.2 — Modelos, Rascunhos e Pré-visualização */
.communication-section-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.communication-section-nav button{padding:12px 14px;border:1px solid #d7e0e9;border-radius:10px;background:#fff;text-align:left;color:#44556a}.communication-section-nav button:hover{border-color:#aebfd0;background:#fafcff}.communication-section-nav button.is-active{border-color:#93abc4;background:#f2f7fc;color:#17365d;box-shadow:inset 0 0 0 1px #d6e2ee}.communication-section-nav strong,.communication-section-nav span{display:block}.communication-section-nav strong{font-size:13px}.communication-section-nav span{margin-top:3px;color:#728093;font-size:10px;font-weight:400}
.communication-mini-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}.communication-mini-metrics>div{padding:11px 12px;border:1px solid #dce3eb;border-radius:10px;background:#fff}.communication-mini-metrics span,.communication-mini-metrics strong{display:block}.communication-mini-metrics span{color:#69778a;font-size:10px;font-weight:700;text-transform:uppercase}.communication-mini-metrics strong{margin-top:3px;color:#17365d;font-size:20px}
.communication-drafts-table{min-width:1180px}.communication-drafts-table td:first-child strong,.communication-drafts-table td:first-child small,.communication-drafts-table td:nth-child(2) strong,.communication-drafts-table td:nth-child(2) small{display:block}.communication-drafts-table td:first-child small,.communication-drafts-table td:nth-child(2) small{margin-top:3px;color:var(--muted);font-size:10px}.communication-drafts-table td:last-child{white-space:nowrap}.communication-drafts-table td:last-child .button+.button{margin-left:4px}.communication-draft-status{display:inline-flex;padding:4px 7px;border-radius:999px;border:1px solid #cfd9e4;font-size:10px;font-weight:700}.communication-draft-status.is-draft{background:#eef5fb;border-color:#c4d7e9;color:#315d84}.communication-draft-status.is-archived{background:#f4f5f7;color:#667085}
.communication-template-rule{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;margin-bottom:12px;padding:10px 12px;border:1px solid #d9e2ec;border-radius:10px;background:#f7fafc;color:#52667c}.communication-template-rule strong{color:#2e4b68;font-size:11px}.communication-template-rule span{font-size:11px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.communication-template-rule small{flex-basis:100%;color:#728093;font-size:10px}.communication-template-rule.compact{margin:10px 0 0}.communication-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.communication-template-card{padding:13px;border:1px solid #dce3eb;border-radius:10px;background:#fff}.communication-template-card.is-inactive{background:#fafafa;opacity:.76}.communication-template-head{display:flex;justify-content:space-between;gap:12px}.communication-template-head span{font-size:9px;font-weight:700;color:#667085;letter-spacing:.4px}.communication-template-head h3{margin:3px 0 0;color:#17365d;font-size:15px}.communication-template-head small{color:#7a8797;font-size:10px}.communication-template-card p{margin:8px 0;color:#667085;font-size:11px;line-height:1.45}.communication-template-subject{padding:8px 9px;border:1px solid #e3e8ee;border-radius:8px;background:#fafbfd}.communication-template-subject span,.communication-template-subject strong{display:block}.communication-template-subject span{font-size:9px;color:#7a8797;text-transform:uppercase;font-weight:700}.communication-template-subject strong{margin-top:3px;color:#344a62;font-size:11px}.communication-template-actions{margin-top:9px}.communication-template-actions .button+.button{margin-left:4px}.communication-empty-friendly{padding:24px;border:1px dashed #cdd8e4;border-radius:10px;background:#fbfcfd;text-align:center}.communication-empty-friendly strong,.communication-empty-friendly span{display:block}.communication-empty-friendly strong{color:#29445f;font-size:14px}.communication-empty-friendly span{margin-top:4px;color:#758296;font-size:11px}
.communication-check{display:flex;align-items:center;gap:8px;color:#46596e;font-size:11px}.communication-check input{min-height:0}.communication-load-template{display:flex;flex-direction:column;justify-content:flex-end}.communication-no-send-banner{display:flex;gap:8px;align-items:center;margin-bottom:12px;padding:9px 11px;border:1px solid #d7e0e9;border-radius:9px;background:#f5f8fb;color:#53677c;font-size:11px}.communication-no-send-banner strong{color:#2c4b68;white-space:nowrap}.communication-no-send-banner span{line-height:1.35}#communicationDraftForm textarea#draftBody,#communicationTemplateForm textarea#templateBody{min-height:220px;line-height:1.5;font-size:13px}#communicationDraftForm textarea#draftInternalNote{min-height:90px}
.communication-preview-warning{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;padding:8px 10px;border:1px solid #d9e2eb;border-radius:9px;background:#f5f8fb;color:#53677c}.communication-preview-warning strong{color:#264967;font-size:11px}.communication-preview-warning span{font-size:11px}.communication-email-preview{border:1px solid #d6dee7;border-radius:11px;background:#fff;overflow:hidden}.communication-email-meta{padding:12px 14px;border-bottom:1px solid #e3e8ee;background:#fafbfd}.communication-email-meta>div{display:grid;grid-template-columns:65px minmax(0,1fr);gap:8px;padding:4px 0}.communication-email-meta span{color:#7a8797;font-size:10px;font-weight:700;text-transform:uppercase}.communication-email-meta strong{color:#334a62;font-size:12px}.communication-email-body{min-height:220px;padding:18px;color:#344054;font-size:13px;line-height:1.65}.communication-internal-note{margin-top:10px;padding:10px 12px;border:1px dashed #d0d9e3;border-radius:9px;background:#fbfcfd}.communication-internal-note strong{font-size:10px;color:#53677c;text-transform:uppercase}.communication-internal-note p{margin:6px 0 0;color:#667085;font-size:11px;line-height:1.5}.communication-preview-footer{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:#7a8797;font-size:10px}
.company-communication-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.company-communication-drafts{padding:12px;border:1px solid #dfe6ed;border-radius:10px;background:#fff}.company-communication-drafts-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:7px}.company-communication-drafts-head h4{margin:0;color:#344a62}.company-communication-drafts-head span{color:#7a8797;font-size:10px}.company-communication-draft-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:9px 0;border-top:1px solid #e8edf2}.company-communication-draft-item:first-of-type{border-top:0}.company-communication-draft-item strong,.company-communication-draft-item span{display:block}.company-communication-draft-item strong{color:#304962;font-size:11px}.company-communication-draft-item span{margin-top:2px;color:#7a8797;font-size:10px}.company-communication-draft-actions{white-space:nowrap}.company-communication-draft-actions .button+.button{margin-left:4px}
@media(max-width:900px){.communication-section-nav{grid-template-columns:1fr}.communication-template-grid{grid-template-columns:1fr}}@media(max-width:620px){.communication-mini-metrics{grid-template-columns:1fr}.communication-preview-footer{flex-direction:column}.communication-no-send-banner{align-items:flex-start;flex-direction:column}}

/* PASSO 20K — comunicações dentro da ficha da Empresa */
.company-communication-operational{border:1px solid var(--border);background:#fff;padding:14px}
.company-communication-operational>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:12px;border-bottom:1px solid #e8edf2}
.company-communication-operational>header h3{margin:2px 0 3px;color:var(--navy);font-size:17px}
.company-communication-operational>header p{max-width:700px;margin:0;color:var(--muted);font-size:11px;line-height:1.5}
.company-communication-operational-actions{display:flex;align-items:flex-end;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.company-communication-operational-actions label{display:flex;flex-direction:column;gap:4px;color:var(--muted);font-size:10px;font-weight:700}
.company-communication-operational-actions select{height:32px;min-width:84px;border:1px solid var(--border);border-radius:4px;background:#fff;padding:0 28px 0 9px;color:var(--text)}
.company-communication-operational-count{display:flex;align-items:baseline;gap:7px;padding:11px 0 5px}
.company-communication-operational-count strong{font-size:20px;color:var(--navy)}
.company-communication-operational-count span{color:var(--muted);font-size:11px}
.company-communication-operational .company-followup-timeline{margin-top:8px}
.company-communication-operational+.company-communication-hero{margin-top:2px}
@media(max-width:760px){.company-communication-operational>header{flex-direction:column}.company-communication-operational-actions{justify-content:flex-start}}
