.ec-reference{display:inline-flex;align-items:center;max-width:100%;gap:5px;vertical-align:baseline;border:1px solid #cfc1e9;background:#f2ecfb;border-radius:5px;padding:1px 5px;margin:0 2px;line-height:1.6;white-space:nowrap;color:#574278;text-decoration:none}
.ec-reference .ref-number{font-size:9px;font-weight:650;color:#786193;flex-shrink:0}
.ec-reference .ref-name{overflow:hidden;text-overflow:ellipsis;max-width:210px}
.ec-reference .ref-remove{font-size:13px;line-height:1;padding:2px 3px;color:#866c9b;border:0;background:transparent;border-radius:3px;cursor:pointer}
.ec-reference .ref-remove:hover,.ec-reference .ref-remove:focus-visible{background:#e3d5f3;color:#4a306c}
.attachment-chip.ec-tray-file{width:100%;display:flex;gap:7px;background:#fbfafc;padding:6px 7px;color:#80758f}
.ec-tray-file .attachment-number{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:4px;background:#eee7f6;color:#6e558b;font-weight:600;flex-shrink:0}
.ec-tray-file .attachment-name{flex:1;min-width:0;max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec-tray-file .attachment-reference-count{flex-shrink:0;max-width:none;color:#9b90a7;font-variant-numeric:tabular-nums}
.ec-tray-file button.attachment-insert,.ec-tray-file button.attachment-remove{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;border:0;border-radius:7px;padding:0;background:transparent;color:#8b8098;cursor:pointer;transition:background .15s,color .15s}
.ec-tray-file button svg{display:block;width:18px;height:18px}
.ec-tray-file button.attachment-insert:hover:not(:disabled){color:#6550ae;background:#eee8f8}
.ec-tray-file button.attachment-remove:hover:not(:disabled){color:#a45268;background:#faedf1}
.ec-tray-file button:focus-visible{outline:2px solid #8f79ce;outline-offset:2px}
.ec-tray-file button:disabled{opacity:.4;cursor:default}
@media(max-width:600px){.ec-reference .ref-name{max-width:150px}.ec-tray-file .attachment-reference-count{display:none}}
@media(pointer:coarse){.ec-tray-file button.attachment-insert,.ec-tray-file button.attachment-remove{width:44px;height:44px}}
