.communication-tabs{display:flex;gap:8px;margin-bottom:22px}.communication-tabs .btn{display:inline-flex;gap:8px;align-items:center}.communication-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px}.communication-card{padding:22px;border:1px solid var(--line);border-radius:16px;background:white}.communication-card h3{margin:18px 0 8px}.communication-card>p{color:var(--muted);font-size:13px}.communication-meta{display:grid;gap:9px;font-size:12px;margin:18px 0}.communication-meta span{color:#6b7b82}.communication-state{padding:5px 10px;font-size:12px;border-radius:20px;background:#edf3ef;color:#35634c}.communication-state.paused{background:#fff2de;color:#99672b}.communication-empty{padding:60px 24px;text-align:center;background:white;border:1px dashed var(--line);border-radius:16px}.communication-editor-modal{width:min(1160px,calc(100vw - 24px));max-width:1160px}.communication-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.communication-section{min-width:0}.communication-section h3{font-size:15px;margin:12px 0 18px}.communication-section>label,.communication-section .form-grid>label,.communication-section [data-comm-condition]>label{display:grid;gap:6px;font-size:13px;margin-bottom:14px}.communication-section>label textarea{min-height:70px}.communication-section .help-text{line-height:1.6}.communication-section [hidden]{display:none!important}.communication-multi{border:1px solid var(--line);border-radius:10px;background:#fff;margin:10px 0}.communication-multi summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;padding:12px;font-size:13px}.communication-multi summary span{color:#718076;font-size:12px}.communication-multi>div{padding:0 12px 10px;max-height:230px;overflow:auto}.communication-multi .check-label{display:flex;padding:5px 0;gap:8px;font-size:13px}.communication-block{border:1px solid #dce5df;border-radius:12px;background:#f8faf9;padding:14px;margin-bottom:12px}.communication-block>.row{margin-bottom:10px}.communication-block textarea{min-height:100px;resize:vertical}.communication-attachments{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.communication-attachments span{display:inline-flex;align-items:center;gap:5px;font-size:11px;padding:5px 8px;background:#e8f0eb;border-radius:6px}.communication-attachments button{border:0;background:none;cursor:pointer}.communication-editor-footer{position:sticky;bottom:-22px;display:flex;justify-content:flex-end;gap:10px;padding:16px 0;background:white;border-top:1px solid var(--line);margin-top:18px}.communication-recipient-list{max-height:240px;overflow:auto;font-size:12px}.communication-recipient-list>div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #eef1ef;padding:8px 0}.communication-history{display:grid;gap:12px}.communication-history article{border:1px solid var(--line);padding:14px;border-radius:10px}.communication-history p{font-size:12px}.communication-section .form-grid{grid-template-columns:1fr 1fr}.communication-section .input{width:100%;min-width:0}
@media(max-width:760px){.communication-form-grid{grid-template-columns:1fr}.communication-cards{grid-template-columns:1fr}.communication-editor-modal{width:calc(100vw - 12px)}.communication-editor-footer{flex-wrap:wrap}.communication-section .form-grid{grid-template-columns:1fr}.communication-recipient-list>div{display:grid}.communication-tabs .btn{flex:1}.communication-card{padding:16px}}
.communication-multi summary::after{content:'▾';color:var(--muted);margin-left:auto}.communication-multi[open] summary::after{transform:rotate(180deg)}.communication-template-heading,.communication-multi .communication-template-row{display:grid;grid-template-columns:20px minmax(65px,100px) minmax(0,1fr);gap:10px;align-items:start;padding:9px 0;font-size:12px;border-bottom:1px solid var(--line)}.communication-template-heading{position:sticky;top:0;background:white;z-index:1;color:var(--muted)}.communication-template-row strong{overflow-wrap:anywhere}.communication-template-row span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}.communication-template-row input{margin-top:3px}.communication-template-row:hover{background:#f4f8f5}#communication-preview{scroll-margin-bottom:90px}#communication-preview:empty{display:none}
