.communication-panel{margin:18px 0;padding:20px;border:1px solid #ded8cd;border-radius:18px;background:#faf8f3;color:#373c38;min-width:0}.comm-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.comm-header h4,.comm-toolbar h5{margin:0;font-size:16px}.comm-header p{margin:5px 0 0;color:#73786f;font-size:13px}.comm-badge{border-radius:20px;background:#e9e9dc;padding:7px 11px;font-size:12px;white-space:nowrap}.comm-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px}.comm-original,.comm-review{min-width:0}.communication-panel textarea{display:block;width:100%;box-sizing:border-box;min-height:110px;border:1px solid #d6d3c8;border-radius:12px;padding:14px;font:inherit;font-size:16px;resize:vertical;line-height:1.65;background:white}.communication-panel button,.comm-file-button{min-height:42px;border:1px solid #d5d5c9;border-radius:10px;background:#fff;padding:9px 13px;cursor:pointer;font:inherit;font-size:13px}.communication-panel button:disabled{cursor:default;opacity:.5}.communication-panel .auth-primary{background:#485c4f;color:white;border-color:#485c4f}.comm-compose-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.comm-compose-actions [data-save]{margin-left:auto}.comm-file-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;box-sizing:border-box}.comm-file-button:focus-within{outline:2px solid #485c4f}.comm-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.comm-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.comm-files span{font-size:12px;padding:5px 8px;border-radius:8px;background:#eeeee6;overflow-wrap:anywhere}.comm-files button{padding:0 5px;min-height:28px}.comm-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:16px 0 10px}.comm-toolbar label,.comm-toolbar span{font-size:12px}.comm-toolbar label{margin-left:auto}.comm-toolbar input,.comm-confirm input,.comm-record input{width:18px!important;height:18px;vertical-align:middle}.comm-record{padding:16px 0;border-top:1px solid #e1ddd3;overflow-wrap:anywhere}.comm-record header{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px}.comm-record small{color:#777e71}.comm-raw{white-space:pre-wrap;font-size:14px;line-height:1.8;overflow-wrap:anywhere}.comm-attachments{display:flex;gap:6px;flex-wrap:wrap}.comm-attachments button{max-width:100%;overflow-wrap:anywhere;font-size:12px}.comm-record img{max-width:100%;max-height:600px;object-fit:contain;border-radius:10px;margin-top:12px}.comm-record audio{max-width:100%;margin-top:12px}.comm-review{border-left:1px solid #e1ddd3;padding-left:22px}.comm-review label:not(.comm-confirm){display:block;font-size:13px;margin:14px 0}.comm-review textarea{font-size:14px;min-height:90px}.comm-confirm{display:flex;gap:8px;align-items:center;font-size:13px;margin:16px 0}.comm-summary{margin-top:18px;background:white;border:1px solid #e2ded5;border-radius:12px;padding:15px}.comm-summary summary{cursor:pointer;font-size:14px;font-weight:600}.comm-summary small{font-size:11px;color:#747d70}.comm-summary h6{margin:16px 0 5px;font-size:13px}.comm-summary ul{margin:0;padding-left:20px;font-size:13px;line-height:1.7}.comm-inbox{margin:18px 0;padding:16px;border:1px solid #ddd8cc;border-radius:14px}.comm-inbox button{display:block;text-align:left;width:100%;margin:6px 0;padding:12px;min-height:44px;white-space:normal}.comm-lead-profile{margin:16px 0}.comm-lead-profile>summary{cursor:pointer;padding:12px;background:#f1efe7;border-radius:8px}.communication-panel [role=status]{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.communication-panel button:focus-visible{outline:2px solid #485c4f;outline-offset:2px}
.comm-dropzone{border-radius:8px;min-width:0}
.communication-panel .comm-drop-target,.studio-content .communication-panel .comm-drop-target{display:flex;align-items:center;justify-content:center;gap:13px;width:100%;min-height:96px;box-sizing:border-box;margin:0 0 14px;padding:18px;border:1.5px dashed #99aa8d;border-radius:8px;background:#f1f5ed;color:#49603e;text-align:left}
.comm-drop-icon{width:28px;height:28px;flex:none}.comm-drop-copy{display:grid;gap:5px;min-width:0}.comm-drop-copy strong{font-size:14px;font-weight:600;line-height:1.5}.comm-drop-copy small{font-size:11px;line-height:1.6;color:#77836f}
.communication-panel .comm-drop-target:hover:not(:disabled),.communication-panel .comm-drop-target:focus-visible,.studio-content .communication-panel .comm-drop-target:hover:not(:disabled),.studio-content .communication-panel .comm-drop-target:focus-visible{border-color:#6e875c;background:#edf3e7}
.communication-panel.is-file-dragging .comm-drop-target,.studio-content .communication-panel.is-file-dragging .comm-drop-target{border-color:#668255;background:#e7f0df;outline:2px solid #c7d6ba;outline-offset:2px}
@media(max-width:760px){.communication-panel .comm-drop-target,.studio-content .communication-panel .comm-drop-target{min-height:88px;padding:14px 12px;gap:10px}.comm-drop-icon{width:25px;height:25px}.comm-drop-copy strong{font-size:14px}}
@media(max-width:760px){.communication-panel{padding:14px;margin:12px -4px;border-radius:14px}.comm-layout{grid-template-columns:minmax(0,1fr);gap:10px}.comm-review{border-left:0;border-top:1px solid #e1ddd3;padding:4px 0 0}.comm-header{align-items:flex-start}.comm-header h4{font-size:17px}.comm-badge{font-size:11px;padding:6px 8px}.communication-panel button,.comm-file-button{min-height:44px}.comm-compose-actions{gap:6px}.comm-compose-actions [data-save]{flex:1;min-width:100px}.comm-record{padding:15px 0}.comm-record input{margin-right:6px}.comm-review textarea{font-size:16px}.comm-original{display:flex;flex-direction:column}.comm-original [data-compose]{order:0}.comm-original [data-status]{order:1}.comm-original .comm-toolbar{order:2}.comm-original [data-older]{order:3}.comm-original [data-timeline]{order:4}.comm-review [data-ai]{width:100%}}
