/* "Ask the seller" — thread, inbox rows, product card, instant answers, photo
   viewer and badges. Uses shop.css tokens, so the seller shell (orange
   --em-primary) and the storefront (green) each get their own; the admin page
   overrides what it needs in admin/store_messages/show. */

.em-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ── Thread ─────────────────────────────────────────────────────────────── */
.em-chat { display: flex; flex-direction: column; background: var(--em-surface, #fff); border: 1px solid #E2E8F0; border-radius: 12px; min-height: 360px; overflow: hidden; }
.em-chat__list { list-style: none; margin: 0; padding: 16px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; max-height: 58vh; flex: 1; background: #F8FAFC; scroll-behavior: smooth; }
.em-chat__empty { color: #64748B; text-align: center; margin: auto 0; padding: 32px 16px; line-height: 1.5; }

.em-chat__day { align-self: center; margin: 8px 0 2px; padding: 3px 12px; border-radius: 999px; background: #E2E8F0; color: #475569; font-size: 12px; font-weight: 600; }

.em-chat__msg { max-width: 78%; padding: 9px 12px 7px; border-radius: 14px 14px 14px 4px; background: #fff; border: 1px solid #E2E8F0; color: var(--em-ink, #0B1C30); align-self: flex-start; word-wrap: break-word; overflow-wrap: anywhere; box-shadow: 0 1px 2px rgba(11, 28, 48, .04); animation: em-chat-in .18s ease-out; }
.em-chat__msg.is-mine { align-self: flex-end; background: var(--em-primary-tint, #E7F2E9); border-color: transparent; border-radius: 14px 14px 4px 14px; }
.em-chat__msg.is-support { background: #FFF8E1; border-color: #FFE0A3; }
.em-chat__msg.is-pending { opacity: .7; }
.em-chat__msg.is-failed { background: #FDECEC; border-color: #F5C2C2; }
.em-chat__who { font-size: 12px; font-weight: 700; color: #475569; margin-bottom: 2px; }
.em-chat__msg.is-support .em-chat__who::before { content: "\f132"; font-family: FontAwesome; margin-right: 5px; color: #B45309; }
.em-chat__body { margin: 0; line-height: 1.45; white-space: normal; }
.em-chat__time { display: block; margin-top: 3px; font-size: 11px; color: #64748B; }
.em-chat__msg.is-mine .em-chat__time { text-align: right; }
.em-chat__retry { border: 0; background: none; padding: 0; color: var(--em-danger, #BA1A1A); font-weight: 700; text-decoration: underline; cursor: pointer; font-size: 11px; }
.em-chat__seen { margin: 0; padding: 0 16px 6px; text-align: right; font-size: 11px; color: var(--em-primary, #176621); background: #F8FAFC; }
.em-chat__seen[hidden] { display: none; }

/* Product inside a message: a small photo card. */
.em-chat__product { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 5px; border-radius: 8px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(11, 28, 48, .08); color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; max-width: 280px; }
.em-chat__product[hidden] { display: none; }
a.em-chat__product[href]:hover { border-color: var(--em-primary, #176621); }
.em-chat__product-img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; flex: none; background: #F1F5F9; }
.em-chat__product-img[hidden] { display: none; }
.em-chat__product-name { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Composer */
.em-chat__form { border-top: 1px solid #E2E8F0; padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.em-chat__compose { display: flex; align-items: flex-end; gap: 8px; }
.em-chat__input { flex: 1; width: 100%; resize: none; min-height: 44px; max-height: 160px; padding: 11px 14px; border: 1px solid #CBD5E1; border-radius: 22px; font: inherit; line-height: 1.4; background: #fff; }
.em-chat__input:focus { outline: none; border-color: var(--em-primary, #176621); box-shadow: 0 0 0 3px rgba(23, 102, 33, .12); }
.em-chat__send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--em-primary, #176621); color: #fff; font-size: 16px; cursor: pointer; transition: transform .12s, background .12s; }
.em-chat__send:hover { background: var(--em-primary-dark, #0F4616); }
.em-chat__send:active { transform: scale(.94); }
.em-chat__send:focus-visible { outline: 2px solid var(--em-primary, #176621); outline-offset: 2px; }
.em-chat__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 0; }
.em-chat__bar:empty { display: none; }
.em-chat__error { color: var(--em-danger, #BA1A1A); font-size: 13px; }
.em-chat__count { margin-left: auto; font-size: 11px; color: #64748B; }
.em-chat__count.is-full { color: var(--em-danger, #BA1A1A); font-weight: 700; }
.em-chat__count[hidden] { display: none; }
.em-chat__closed { margin: 0; padding: 14px 16px; border-top: 1px solid #E2E8F0; color: #64748B; }

/* Quick-question chips: one swipeable row. */
.em-chat__suggest { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.em-chat__suggest::-webkit-scrollbar { display: none; }
.em-chat__chip { flex: none; padding: 6px 12px; border: 1px solid #CBD5E1; border-radius: 999px; background: #fff; color: var(--em-ink, #0B1C30); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; transition: border-color .12s, background .12s; }
.em-chat__chip:hover, .em-chat__chip:focus-visible { border-color: var(--em-primary, #176621); background: var(--em-primary-tint, #E7F2E9); outline: none; }
.em-chat__chip.is-used { color: #64748B; border-style: dashed; }

.em-chat__about { display: flex; align-items: center; gap: 8px; padding: 6px 8px; background: #F8FAFC; border: 1px dashed #CBD5E1; border-radius: 8px; font-size: 13px; }
.em-chat__about img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; }
.em-chat__about span { flex: 1; min-width: 0; }
.em-chat__about-x { border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: #64748B; padding: 0 4px; }

/* ── Instant answers ────────────────────────────────────────────────────── */
.em-assist { border-top: 1px solid #E2E8F0; background: linear-gradient(180deg, #F3FAF4, #fff); padding: 10px 12px 4px; }
.em-assist[hidden] { display: none; }
.em-assist.is-in { animation: em-assist-in .2s ease-out; }
.em-assist__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.em-assist__badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; background: var(--em-primary, #176621); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2px; }
.em-assist__note { font-size: 12px; color: #64748B; flex: 1; min-width: 0; }
.em-assist__x { border: 0; background: none; font-size: 20px; line-height: 1; color: #64748B; cursor: pointer; padding: 0 4px; }
.em-assist__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.em-assist__card { flex: 0 0 min(320px, 88%); scroll-snap-align: start; background: #fff; border: 1px solid #D7E7DA; border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(11, 28, 48, .05); font-size: 13px; }
.em-assist__list > .em-assist__card:only-child { flex-basis: 100%; }
.em-assist__title { font-weight: 700; color: var(--em-ink, #0B1C30); font-size: 14px; }
.em-assist__title .fa { color: var(--em-primary, #176621); }
.em-assist__card--stock .em-assist__title .fa-times-circle { color: var(--em-danger, #BA1A1A); }
.em-assist__text { margin: 4px 0 0; color: #475569; line-height: 1.45; }
.em-assist__facts { margin: 6px 0 0; display: grid; gap: 2px; }
.em-assist__fact { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dashed #E2E8F0; }
.em-assist__fact.is-more { display: none; }
.em-assist__facts.is-open .em-assist__fact.is-more { display: flex; }
.em-assist__fact dt { font-weight: 500; color: #475569; }
.em-assist__fact dd { margin: 0; font-weight: 700; color: var(--em-ink, #0B1C30); text-align: right; }
.em-assist__more { margin-top: 4px; border: 0; background: none; padding: 0; color: var(--em-primary, #176621); font-weight: 600; font-size: 12px; cursor: pointer; }
.em-assist__photos { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
.em-assist__photo { flex: none; padding: 0; border: 1px solid #E2E8F0; border-radius: 6px; background: #fff; cursor: zoom-in; overflow: hidden; }
.em-assist__photo img { display: block; width: 64px; height: 64px; object-fit: cover; }
.em-assist__link { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--em-primary, #176621); text-decoration: none; }
.em-assist__link:hover { text-decoration: underline; }

/* ── Buyer thread page ──────────────────────────────────────────────────── */
.em-chatpage { display: flex; flex-direction: column; gap: 12px; }
.em-chat-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.em-chat-head__back { color: #64748B; text-decoration: none; padding: 6px; margin-left: -6px; }
.em-chat-head__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--em-primary-tint, #E7F2E9); color: var(--em-primary-dark, #0F4616); font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.em-chat-head__avatar img { width: 100%; height: 100%; object-fit: cover; }
.em-chat-head__who { flex: 1; min-width: 0; }
.em-chat-head__name { margin: 0; font-size: 18px; font-weight: 700; }
.em-chat-head__name a { color: inherit; text-decoration: none; }
.em-chat-head__name a:hover { text-decoration: underline; }
.em-chat-head__sub { margin: 2px 0 0; color: #64748B; font-size: 13px; }
.em-chat-head__store { flex: none; }

.em-chatprod { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 12px; background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; box-shadow: 0 1px 3px rgba(11, 28, 48, .05); }
.em-chatprod__photo { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #F1F5F9; cursor: zoom-in; width: 96px; height: 96px; }
.em-chatprod__photo img { width: 96px; height: 96px; object-fit: cover; display: block; transition: transform .2s; }
.em-chatprod__photo:hover img { transform: scale(1.04); }
.em-chatprod__count { position: absolute; right: 4px; bottom: 4px; padding: 1px 6px; border-radius: 999px; background: rgba(11, 28, 48, .7); color: #fff; font-size: 11px; font-weight: 600; }
.em-chatprod__info { min-width: 0; }
.em-chatprod__name { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.em-chatprod__name a { color: inherit; text-decoration: none; }
.em-chatprod__name a:hover { text-decoration: underline; }
.em-chatprod__price { margin: 4px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.em-chatprod__price strong { font-size: 16px; color: var(--em-ink, #0B1C30); }
.em-chatprod__price s { color: #64748B; font-size: 13px; }
.em-chatprod__off { padding: 1px 6px; border-radius: 4px; background: var(--em-danger, #BA1A1A); color: #fff; font-size: 11px; font-weight: 700; }
.em-chatprod__meta { margin: 6px 0 0; display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; color: #475569; }
.em-chatprod__stock { font-weight: 700; color: var(--em-primary, #176621); }
.em-chatprod__stock.is-low { color: #B45309; }
.em-chatprod__stock.is-out { color: var(--em-danger, #BA1A1A); }
.em-chatprod__thumbs { display: flex; gap: 6px; margin-top: 8px; }
.em-chatprod__thumb { padding: 0; border: 1px solid #E2E8F0; border-radius: 6px; overflow: hidden; background: #fff; cursor: zoom-in; }
.em-chatprod__thumb img { display: block; width: 40px; height: 40px; object-fit: cover; }
.em-chatprod__thumb:hover, .em-chatprod__thumb:focus-visible { border-color: var(--em-primary, #176621); outline: none; }
.em-chatprod__cta { white-space: nowrap; }

.em-chat-safety { margin: 0; font-size: 12px; color: #64748B; }
.em-chat-safety .fa { color: var(--em-primary, #176621); margin-right: 4px; }

/* ── Photo viewer ───────────────────────────────────────────────────────── */
.em-zoom { position: fixed; inset: 0; z-index: 1300; background: rgba(11, 28, 48, .92); display: flex; align-items: center; justify-content: center; padding: 48px 56px; }
.em-zoom[hidden] { display: none; }
.em-zoom__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff; }
.em-zoom__x { position: absolute; top: 10px; right: 14px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.em-zoom__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 18px; cursor: pointer; }
.em-zoom__nav:hover { background: rgba(255, 255, 255, .28); }
.em-zoom__nav[hidden] { display: none; }
.em-zoom__nav--prev { left: 8px; }
.em-zoom__nav--next { right: 8px; }
.em-zoom__count { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; text-align: center; color: #fff; font-size: 13px; }
body.em-zoom-open { overflow: hidden; }

/* ── Inbox ──────────────────────────────────────────────────────────────── */
.em-inbox { list-style: none; margin: 0; padding: 0; background: var(--em-surface, #fff); border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
.em-inbox__row + .em-inbox__row { border-top: 1px solid #E2E8F0; }
.em-inbox__link { display: flex; gap: 12px; align-items: center; padding: 12px 16px; color: inherit; text-decoration: none; transition: background .12s; }
.em-inbox__link:hover { background: #F8FAFC; }
.em-inbox__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--em-primary-tint, #E7F2E9); color: var(--em-primary-dark, #0F4616); display: flex; align-items: center; justify-content: center; font-weight: 700; overflow: hidden; }
.em-inbox__avatar img { width: 100%; height: 100%; object-fit: cover; }
.em-inbox__main { flex: 1; min-width: 0; }
.em-inbox__top { display: flex; justify-content: space-between; gap: 8px; }
.em-inbox__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-inbox__when { flex: none; font-size: 12px; color: #64748B; }
.em-inbox__product { display: block; font-size: 12px; color: #64748B; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.em-inbox__preview { margin: 2px 0 0; color: #475569; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.em-inbox__row.is-unread .em-inbox__name, .em-inbox__row.is-unread .em-inbox__preview { color: var(--em-ink, #0B1C30); font-weight: 700; }
.em-inbox__row.is-unread .em-inbox__link { background: #F6FBF7; }
.em-inbox__thumb { flex: none; width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: #F1F5F9; border: 1px solid #E2E8F0; }
.em-inbox__count { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--em-primary, #176621); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.em-inbox__empty { padding: 24px 16px; color: #64748B; }
.em-inbox-filter { display: flex; gap: 8px; margin-bottom: 12px; }

/* Seller sidebar badge (the account nav already has .em-accountnav__badge) */
.em-sellernav__badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--em-danger, #BA1A1A); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* ── Product page: Ask the seller ───────────────────────────────────────── */
.em-ask-seller { margin-top: 8px; }
.em-ask-seller__notice { margin: 6px 0 0; font-size: 13px; color: var(--em-danger, #BA1A1A); }
.em-ask-seller__quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.em-ask-seller__quick .em-chat__chip { font-size: 12px; padding: 5px 10px; }
.em-ask-seller__label { width: 100%; margin: 0; font-size: 12px; color: #64748B; }

@keyframes em-chat-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes em-assist-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .em-chat__msg, .em-assist.is-in { animation: none; }
  .em-chat__list { scroll-behavior: auto; }
  .em-chatprod__photo img { transition: none; }
}

/* Phones (account layout stacks at 760px). The hub keeps align-items:flex-start
   when it turns into a column, so its main column sized to its widest
   unwrappable child — the one-line chip row, the instant-answer cards, inbox
   previews — and pushed the page sideways. Pin it to the screen width instead. */
@media (max-width: 760px) {
  .em-account-hub__main { align-self: stretch; width: 100%; }
}

@media (max-width: 600px) {
  /* 16px: iOS Safari zooms the page in on focus for anything smaller. */
  .em-chat__input, .em-refpick__q { font-size: 16px; }
  .em-chatprod__thumbs { flex-wrap: wrap; }
  .em-chat__msg { max-width: 88%; }
  .em-chat__list { max-height: 52vh; padding: 12px; }
  .em-chatprod { grid-template-columns: 72px 1fr; gap: 10px; padding: 10px; }
  .em-chatprod__photo, .em-chatprod__photo img { width: 72px; height: 72px; }
  .em-chatprod__cta { grid-column: 1 / -1; text-align: center; }
  .em-chat-head__store { display: none; }
  .em-inbox__thumb { width: 44px; height: 44px; }
  .em-zoom { padding: 48px 8px; }
}

/* --- References: our own links and their preview cards (v4) --------------- */
.em-chat__link { color: inherit; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; font-weight: 600; }
.em-chat__link:hover { text-decoration-thickness: 2px; }
.em-chat__refs { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 2px; }
.em-chat__refs[hidden] { display: none; }
.em-ref { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; max-width: 300px; border-radius: 10px; background: #fff; border: 1px solid rgba(11, 28, 48, .1); color: #0B1C30; text-decoration: none; transition: border-color .12s, box-shadow .12s, transform .12s; }
.em-ref:hover, .em-ref:focus-visible { border-color: var(--em-primary, #176621); box-shadow: 0 2px 8px rgba(11, 28, 48, .08); text-decoration: none; color: #0B1C30; }
.em-ref:active { transform: scale(.98); }
.em-ref__media { flex: none; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #F1F5F9; color: var(--em-primary, #176621); font-size: 18px; }
.em-ref__media img { width: 100%; height: 100%; object-fit: cover; }
.em-ref--order .em-ref__media { background: #EEF6EF; }
.em-ref--page .em-ref__media, .em-ref--category .em-ref__media { background: #F1F5F9; color: #475569; }
.em-ref__text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.em-ref__title { font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.em-ref__sub { font-size: 12px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-ref__flag { font-style: normal; color: #B91C1C; font-weight: 600; }
.em-ref__go { flex: none; color: #94A3B8; font-size: 16px; }

/* Composer: + button and the picker */
.em-chat__attach { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #CBD5E1; background: #fff; color: #475569; font-size: 16px; cursor: pointer; transition: transform .15s, background .12s, color .12s, border-color .12s; }
.em-chat__attach:hover { border-color: var(--em-primary, #176621); color: var(--em-primary, #176621); }
.em-chat__attach[aria-expanded="true"] { background: var(--em-primary, #176621); border-color: var(--em-primary, #176621); color: #fff; transform: rotate(45deg); }
.em-chat__attach:focus-visible { outline: 2px solid var(--em-primary, #176621); outline-offset: 2px; }
.em-refpick { border: 1px solid #E2E8F0; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(11, 28, 48, .10); padding: 10px; display: flex; flex-direction: column; gap: 8px; animation: em-refpick-in .16s ease-out; }
.em-refpick[hidden] { display: none; }
@keyframes em-refpick-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.em-refpick__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.em-refpick__tabs { display: flex; gap: 4px; background: #F1F5F9; border-radius: 999px; padding: 3px; }
.em-refpick__tab { border: 0; background: none; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; }
.em-refpick__tab.is-on { background: #fff; color: var(--em-primary, #176621); box-shadow: 0 1px 3px rgba(11, 28, 48, .12); }
.em-refpick__tab[hidden] { display: none; }
.em-refpick__x { border: 0; background: none; font-size: 22px; line-height: 1; color: #64748B; cursor: pointer; padding: 0 4px; }
.em-refpick__q { width: 100%; border: 1px solid #CBD5E1; border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; }
.em-refpick__q:focus { outline: none; border-color: var(--em-primary, #176621); box-shadow: 0 0 0 3px rgba(23, 102, 33, .12); }
.em-refpick__q[hidden] { display: none; }
.em-refpick__list { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.em-refpick__item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 6px; border: 0; border-radius: 8px; background: none; text-align: left; cursor: pointer; color: #0B1C30; font: inherit; }
.em-refpick__item:hover, .em-refpick__item:focus-visible { background: #F1F5F9; outline: none; }
.em-refpick__thumb { flex: none; width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: #F1F5F9; display: flex; align-items: center; justify-content: center; color: var(--em-primary, #176621); }
.em-refpick__name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.em-refpick__name strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-refpick__name span { color: #64748B; font-size: 12px; }
.em-refpick__empty { margin: 4px 2px; font-size: 13px; color: #64748B; }
.em-refpick__empty[hidden] { display: none; }
.em-refpick__tip { margin: 0; font-size: 12px; color: #94A3B8; }
.em-chat__about.is-pop { animation: em-refpick-in .2s ease-out; }
@media (prefers-reduced-motion: reduce) {
  .em-refpick, .em-chat__about.is-pop { animation: none; }
  .em-chat__attach { transition: none; }
}
