#communications-panel{max-width:1600px;margin:auto}.comm-heading{padding:14px 0}.comm-heading h2{font-size:clamp(24px,3vw,38px);margin:8px 0}.comm-heading p,.comm-card p,.comm-heading small{color:#a4b8c7}.comm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.comm-card{background:linear-gradient(145deg,#101e29,#080f16);border:1px solid #314658;border-top:2px solid #f5a335;border-radius:12px;padding:18px;min-width:0}.comm-card h3{font-size:18px;color:#ffc06a;margin:0 0 16px}.comm-card form{display:grid;gap:10px}.comm-card label{display:grid;gap:6px;font-size:13px;color:#c9d6df}.comm-card input,.comm-card select,.comm-card textarea{min-width:0;width:100%;background:#080f16;color:#eaf3fa;border:1px solid #3a4d5c;border-radius:7px;padding:10px;font:inherit;box-sizing:border-box}.comm-card input[type=checkbox]{width:17px;height:17px;accent-color:#f5a335}.comm-rule{border:1px solid #314658;border-radius:8px;padding:10px;margin:10px 0}.comm-rule label{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.comm-rule button{font-size:12px;padding:7px;margin:4px}.comm-actions{display:flex;flex-wrap:wrap;gap:7px}.comm-actions button{font-size:13px}.comm-qr{display:grid;place-items:center;min-height:24px;margin:16px 0}.comm-qr img{width:min(100%,260px);border:8px solid white;border-radius:12px}.comm-status{display:inline-flex;padding:7px 12px;border-radius:20px;background:#263745;color:#d0dfeb}[data-status=ready] .comm-status{background:#074e37;color:#90f4c8}.comm-wide{grid-column:1/-1}.comm-wide>div{max-height:300px;overflow:auto}.comm-card table{width:100%;font-size:13px;border-collapse:collapse}.comm-card td,.comm-card th{padding:10px;text-align:start;border-bottom:1px solid #263844;overflow-wrap:anywhere}.comm-card th{background:#121f2a;position:sticky;top:0}.comm-card td[data-state=accepted],.comm-card td[data-state=delivered],.comm-card td[data-state=sent]{color:#67deb3}.comm-card td[data-state=failed],.comm-card td[data-state=uncertain],.comm-card td[data-state=rejected]{color:#ff8b95}.comm-link{display:inline-block;color:#ffc06a;margin:8px 0}.comm-card .primary{background:#f5a335;color:#15100b;border-color:#f5a335}#communications-tab{border-color:#b1782a;color:#ffc06a}@media(max-width:1150px){.comm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.comm-grid>.comm-card:nth-child(3){grid-column:1/-1}}@media(max-width:680px){.comm-grid{grid-template-columns:1fr}.comm-card{padding:14px}.comm-card table{font-size:11px}.comm-card td{padding:7px}}

.comm-filters{display:grid;grid-template-columns:2fr repeat(4,1fr);gap:10px;margin-bottom:12px}.comm-rule label:has(textarea),.comm-rule label:has(input[type=url]),.comm-rule details label{display:grid}.comm-rule details{padding:10px 0;border-top:1px solid #304353}.comm-rule summary{cursor:pointer;color:#ffc06a}.comm-rule small{display:block;color:#a4b8c7;line-height:1.6}.comm-status+small{display:block;margin:8px 0}.comm-wide>.comm-filters{overflow:visible;max-height:none}@media(max-width:900px){.comm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
