/* Comunica Alertas — estilos */
.ca-wrap{font:15px/1.6 system-ui,-apple-system,Segoe UI,Roboto;color:#0f172a;max-width:920px;margin:0 auto}
.ca-title{margin:0 0 12px;font-weight:700}
.ca-form{border:1px solid #e5e7eb;border-radius:12px;padding:14px;background:#fff}
.ca-lab{display:block;margin:10px 0 6px;font-weight:600}
.ca-field{width:100%;padding:10px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.ca-row{display:flex;gap:14px;flex-wrap:wrap}
.ca-btn{background:#0f4c81;color:#fff;border:0;border-radius:10px;padding:10px 14px;cursor:pointer;margin-top:12px}
.ca-msg{margin-top:10px}
.ca-extra legend{font-weight:700}


/* Toast */
.ca-toast{position:fixed;right:16px;bottom:16px;background:#0f4c81;color:#fff;padding:12px 14px;border-radius:10px;box-shadow:0 10px 30px rgba(15,76,129,.25);opacity:0;transform:translateY(8px);transition:all .3s ease;z-index:99999}
.ca-toast.show{opacity:1;transform:translateY(0)}
.ca-toast.error{background:#b91c1c}


/* Modal */
.ca-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:100000}
.ca-modal.show{opacity:1;pointer-events:auto}
.ca-modal-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.55);backdrop-filter:blur(2px)}
.ca-modal-card{position:relative;background:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(2,6,23,.35);width:min(1100px,92vw);max-height:88vh;overflow:hidden;display:flex;flex-direction:column}
.ca-modal-close{position:absolute;top:8px;right:10px;border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:#475569}
.ca-modal-content{padding:14px;overflow:auto}
.ca-modal-header{padding:8px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;margin-bottom:10px}
.ca-modal-section{margin-top:12px}
.ca-modal-section h4{margin:0 0 6px;font-size:14px}
.ca-modal-text{font-size:14px;line-height:1.5}
.ca-modal-pdf{width:100%;height:60vh;border:1px solid #e5e7eb;border-radius:10px;background:#f1f5f9;margin-bottom:10px}

/* Cards no padrão do plugin principal */
.cc-item{border:1px solid #e5e7eb;border-radius:14px;padding:14px;background:#fff;margin:12px 0}
.cc-item-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.cc-title{font-size:20px;font-weight:700;color:#0f4c81;margin-bottom:4px}
.cc-sub{font-size:14px;color:#0f172a}
.cc-inline{display:flex;gap:10px;align-items:center}
.cc-btn{background:#0f4c81;color:#fff;border:0;border-radius:10px;padding:8px 12px;cursor:pointer;text-decoration:none;display:inline-block}
.cc-btn.ghost{background:transparent;color:#0f4c81;border:1px solid #0f4c81}
.cc-item-ft{margin-top:12px}
.cc-table{width:100%;border-collapse:collapse}
.cc-table th,.cc-table td{border:1px solid #e5e7eb;padding:10px;vertical-align:top}
.cc-badge{display:inline-block;background:#e2e8f0;border-radius:999px;padding:2px 8px;margin-left:6px;font-size:12px;color:#0f172a}

.ca-embed-row td{background:#f8fafc}
