.crm-inbox .o-bubble .crm-photo{display:block;max-width:310px;margin-bottom:9px;color:inherit;text-decoration:none}.crm-photo img{width:100%;max-height:330px;object-fit:contain;background:#ece7ef;border-radius:12px}.crm-photo>span{display:block;font-size:.72rem;padding:6px 0;color:#705182}.crm-audio{min-width:220px;max-width:340px;margin-bottom:10px}.crm-audio>span{display:block;font-size:.8rem;font-weight:600;margin-bottom:8px}.crm-audio audio{display:block;width:100%;max-width:100%;height:42px}.crm-audio a{font-size:.68rem;display:inline-block;margin-top:8px}.crm-media-status{font-size:.76rem;line-height:1.6;padding:10px;border:1px solid #dfd1e8;border-radius:9px;background:#f8f3fb;margin-bottom:8px}.crm-media-status .o-btn{display:block;margin-top:7px}.crm-composer>.crm-media-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:9px 0}.crm-media-tools>small{font-size:.63rem;color:var(--o-muted)}.crm-media-tools label{cursor:pointer}.crm-composer>.crm-media-editor{display:block;width:100%}.crm-attachment-preview{display:flex;align-items:center;gap:12px;padding:12px;background:#f6f0fa;border:1px solid #ded0e7;border-radius:10px;margin:8px 0 12px}.crm-attachment-preview>img{height:76px;width:62px;object-fit:contain;border-radius:7px}.crm-attachment-preview>audio{max-width:240px;min-width:160px}.crm-attachment-preview>div{flex:1}.crm-attachment-preview strong{font-size:.77rem}.crm-attachment-preview p{font-size:.68rem;color:var(--o-muted);margin-top:4px}.crm-recording{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#ad394f;background:#fff1f3;padding:12px;border-radius:10px;margin:8px 0}.crm-media-editor:empty{display:none}@media(max-width:700px){.crm-audio{min-width:190px}.crm-attachment-preview{flex-wrap:wrap}.crm-attachment-preview>audio{width:100%;max-width:none}.crm-attachment-preview>.o-btn{margin-left:auto}.crm-media-tools .o-btn{min-height:45px}}

.crm-photo{border:0;padding:0;background:transparent;text-align:left;cursor:zoom-in;font:inherit}.crm-photo-viewer{display:grid;gap:16px;justify-items:center}.crm-photo-viewer img{max-width:100%;max-height:72vh;object-fit:contain;border-radius:12px}.crm-note-switch{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 12px;border:1px solid #d9c9a0;border-radius:10px;font-weight:600;cursor:pointer}.crm-note-switch input{width:20px;height:20px;accent-color:#8b651c}.crm-composer .crm-composer-hint{font-size:.76rem;margin:8px 0;color:#705b40}.crm-composer.is-note{background:#fff8e6;border:1px solid #d8bd72;border-radius:12px;padding:14px}.crm-composer.is-note textarea{background:#fffdf5}.crm-composer .crm-client-tools[hidden]{display:none}.crm-composer .crm-client-tools>.crm-media-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:9px 0}.o-bubble.note{background:#fff2ce;border:1px solid #dbc681;color:#604b20}.crm-note-label{display:flex;align-items:center;gap:6px;margin-bottom:6px}.crm-note-label svg{width:16px;height:16px}

.crm-avatar>.crm-profile-image{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover;background:#eee7f0}.crm-avatar>.crm-profile-image[hidden]{display:none}.crm-avatar .crm-network{z-index:1}.crm-chat-head .crm-avatar{width:52px;height:52px}.crm-chat-toolbar{gap:12px;flex-wrap:wrap}.crm-chat-toolbar>.o-actions{flex-wrap:wrap}.crm-chat-toolbar .o-btn{min-height:42px}.crm-chat-person h2{font-size:1.15rem}.crm-inbox .o-chat-list-body .o-chat-row{padding-block:16px}.crm-row-title{gap:10px}.crm-chat-context{flex-wrap:wrap}.quick-selection .o-actions .o-btn{min-height:46px}.quick-selection{border:2px solid #b6a0d5;background:#faf7ff}#quick-save-order{position:sticky;bottom:0;z-index:2;width:100%;min-height:50px}#quick-save-order:disabled{opacity:.65;cursor:not-allowed}@media(max-width:700px){.crm-chat-toolbar>.o-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.crm-chat-toolbar .o-btn{min-height:46px}.crm-composer-tools{flex-wrap:wrap}.crm-chat-head .o-actions{flex-wrap:wrap}}
