/* Bloco original: tdsg-v699-comunicacao-css */

#tdsgCommPage{display:none;position:absolute;inset:0;z-index:45;overflow:auto;background:#f4f7fb;padding:20px;font-family:Arial,sans-serif;color:#102447}
#systemMain{position:relative}
#tdsgCommPage *{box-sizing:border-box}
#tdsgCommPage .cc-head{margin-bottom:16px}
#tdsgCommPage .cc-head h2{margin:0 0 6px;font-size:23px;color:#0c2a55}
#tdsgCommPage .cc-layout{display:grid;grid-template-columns:minmax(250px,32%) minmax(0,1fr);gap:14px;align-items:start}
#tdsgCommPage .cc-panel{background:white;border:1px solid #d9e3f1;border-radius:15px;padding:16px;min-width:0}
#tdsgCommPage .cc-option{display:flex;gap:10px;align-items:center;border:1px solid #d6e0ef;border-radius:10px;padding:11px;margin:9px 0;cursor:pointer;font-size:13px}
#tdsgCommPage .cc-option:has(input:checked){border-color:#1680ef;background:#edf5ff}
#tdsgCommPage .cc-option input{accent-color:#117cf1}
#tdsgCommPage button{cursor:pointer;border-radius:9px;border:1px solid #cbd9ec;background:white;color:#0c2a55;padding:10px 12px;font-weight:600}
#tdsgCommPage button.cc-primary{background:#087df2;border-color:#087df2;color:white}
#tdsgCommPage button.cc-save{background:#098a46;border-color:#098a46;color:white}
#tdsgCommPage button:disabled{opacity:.55;cursor:not-allowed}
#tdsgCommPage input[type=text],#tdsgCommPage textarea,#tdsgCommPage select{width:100%;padding:10px;border:1px solid #cbd9ec;border-radius:9px;background:#fff;color:#122b4f;font:inherit}
#tdsgCommPage textarea{resize:vertical;min-height:75px}
#tdsgCommPage .cc-messages{height:min(48vh,440px);min-height:230px;overflow:auto;background:#f7faff;border:1px solid #e2e9f5;border-radius:11px;padding:12px;margin:12px 0}
#tdsgCommPage .cc-bubble{max-width:88%;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-radius:12px;margin:10px 0;background:#fff;border:1px solid #e2e9f5;line-height:1.5;font-size:14px}
#tdsgCommPage .cc-bubble.user{margin-left:auto;background:#dcecff}
#tdsgCommPage .cc-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
#tdsgCommPage .cc-library{margin-top:15px;border-top:1px solid #e3eaf5;padding-top:12px}
#tdsgCommPage .cc-entry{border:1px solid #e0e7f0;padding:10px;border-radius:10px;margin-top:8px;font-size:13px}
#tdsgCommPage .cc-entry strong{display:block;margin-bottom:4px}
#tdsgCommPage .cc-muted{color:#63758e;font-size:12px}
#tdsgCommPage .cc-status{font-size:12px;color:#63758e;min-height:18px;margin-top:6px}
#tdsgCommPage .cc-footer{display:flex;gap:8px;align-items:end;margin-top:12px}
#tdsgCommPage .cc-footer textarea{flex:1}
#tdsgCommPage .cc-library-buttons{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
#tdsgCommPage .cc-library-buttons button{font-size:12px;padding:6px 8px}
@media(max-width:850px){#tdsgCommPage .cc-layout{grid-template-columns:1fr}#tdsgCommPage{padding:10px}}
#systemSidebar #tdsgCommSidebarBtn .side-icon svg{width:22px;height:22px}
