.factory-comms{font:13px system-ui,sans-serif;color:#1e293b}.comms-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.comms-toolbar strong{color:#083262}.comms-toolbar p{margin:5px 0 0;color:#64748b;font-size:12px}.comms-sync{padding:8px 2px;color:#64748b;font-size:12px;min-height:32px}.comms-messages{max-height:390px;min-height:100px;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;overflow-anchor:none}.comms-message{max-width:88%;align-self:flex-start;background:white;border:1px solid #dbe3ed;border-radius:10px;padding:12px;box-sizing:border-box;overflow-wrap:anywhere}.comms-message.comms-own{align-self:flex-end;background:#eff6ff;border-color:#bfdbfe}.comms-message header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;color:#64748b}.comms-message header strong{color:#083262}.comms-message p,.comms-pending p{white-space:pre-wrap;line-height:1.5;margin:9px 0}.comms-delivery{display:block;margin-top:7px;font-size:10px;color:#64748b}.comms-button{padding:8px 12px;border:1px solid #cbd5e1;border-radius:6px;background:white;color:#083262;font:600 12px system-ui;cursor:pointer;white-space:nowrap}.comms-button:hover{background:#e2e8f0}.comms-button:disabled{opacity:.55;cursor:default}.comms-pending{align-self:flex-end;max-width:88%;padding:12px;border:1px dashed #94a3b8;border-radius:10px;white-space:pre-wrap;color:#64748b}.comms-pending span{font-size:11px}.comms-empty{color:#64748b;text-align:center}.comms-error{padding:10px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:6px;line-height:1.5}.comms-compose{margin-top:14px}.comms-compose label{display:block;font-weight:600;font-size:12px;color:#083262;margin-bottom:6px}.comms-compose textarea{width:100%;box-sizing:border-box;resize:vertical;padding:11px;border:1px solid #94a3b8;border-radius:7px;font:13px system-ui;line-height:1.5;color:#1e293b;background:white}.comms-compose textarea:focus{outline:2px solid #bfdbfe;outline-offset:1px}.comms-compose-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.comms-compose-footer span{font-size:11px;color:#64748b}.comms-send{background:#083262;color:white;border-color:#083262}.comms-send:hover{background:#124b8a}@media(max-width:520px){.comms-message,.comms-pending{max-width:96%}.comms-toolbar{align-items:flex-start}.comms-messages{padding:8px}}
