/* Navigea messenger: one component shared by Sell, Chain, RH and SC. */
#storeChatDialog {
  --chat-accent: var(--phase-ink, #27457f);
  --chat-soft: var(--phase-soft, #eaf1fb);
  --chat-ink: #152238;
  --chat-muted: #65758c;
  --chat-line: #e4e9f0;
  position: fixed;
  inset: 0;
  width: min(1160px, calc(100vw - 48px));
  height: min(840px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8e0eb;
  border-radius: 24px;
  color: var(--chat-ink);
  background: #fff;
  box-shadow: 0 32px 90px #0c1d3c45;
}
#storeChatDialog:not([open]), #storeChatDialog [hidden] { display: none !important; }
#storeChatDialog::backdrop { background: #101d36a8; backdrop-filter: blur(5px); }
#storeChatDialog *, #storeChatDialog *::before, #storeChatDialog *::after { box-sizing: border-box; }
#storeChatDialog :is(button, input, textarea) { font-family: var(--nv-font, system-ui, sans-serif); }
#storeChatDialog button { cursor: pointer; }
#storeChatDialog button:focus-visible, #storeChatDialog .store-chat-list:focus-visible { outline: 3px solid var(--chat-accent); outline-offset: 2px; }
#storeChatDialog .store-chat-panel {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  color: inherit;
  background: #fff;
  box-shadow: none;
}
#storeChatDialog .store-chat-appbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px 20px;
  border-bottom: 1px solid #ffffff30;
  color: #fff;
  background: linear-gradient(115deg, #21335e 0%, #344b87 65%, #4b65a1 100%);
  text-align: left;
}
#storeChatDialog .store-chat-brand { display: flex; align-items: center; min-width: 0; gap: 11px; margin-right: auto; }
#storeChatDialog .store-chat-brand-mark { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid #ffffff4d; border-radius: 12px; color: transparent; background: #ffffff20; font-size: 0; }
#storeChatDialog .store-chat-brand-mark::before { width: 23px; height: 30px; background: #fff; content: ''; -webkit-mask: url('assets/navigea-n.svg') center / contain no-repeat; mask: url('assets/navigea-n.svg') center / contain no-repeat; }
#storeChatDialog .store-chat-brand small { display: block; color: #d7e3ff; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
#storeChatDialog #storeChatTitle { margin: 1px 0 0; color: #fff !important; font-size: 21px; line-height: 1.15; letter-spacing: -.03em; }
#storeChatDialog .store-chat-context { display: flex; align-items: center; min-width: 0; gap: 12px; color: #e5ecff; font-size: 11px; font-weight: 650; }
#storeChatDialog #storeChatStoreContext { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid #ffffff3d; border-radius: 999px; color: #fff; background: #ffffff1a; font-size: 10px; white-space: nowrap; }
#storeChatDialog .store-chat-live::before { width: 7px; height: 7px; border-radius: 50%; background: #f8ca63; content: ''; }
#storeChatDialog .store-chat-live[data-state="online"]::before { background: #64df9f; box-shadow: 0 0 0 3px #64df9f30; }
#storeChatDialog .store-chat-live[data-state="offline"]::before { background: #ff8c91; }
#storeChatDialog :is(.store-chat-sound, .store-chat-close) { display: grid; flex: 0 0 38px; width: 38px; height: 38px; padding: 0; place-items: center; border: 1px solid #ffffff44; border-radius: 11px; color: #fff; background: #ffffff17; font-size: 20px; line-height: 1; }
#storeChatDialog :is(.store-chat-sound, .store-chat-close):hover { background: #ffffff36; }
#storeChatDialog .store-chat-sound[aria-pressed="false"] { opacity: .55; text-decoration: line-through; }
#storeChatDialog .store-chat-close { font-size: 25px; }
#storeChatDialog .store-chat-feedback { display: flex; align-items: center; gap: 8px; background: #f5f8fd; }
#storeChatDialog .store-chat-feedback:has(.store-chat-status[hidden]) { display: none; }
#storeChatDialog .store-chat-status { flex: 1; margin: 0; padding: 9px 18px; border: 0; border-radius: 0; color: #315c90; background: #f3f8ff; font-size: 12px; text-align: left; }
#storeChatDialog .store-chat-status[data-tone="error"] { color: #9c2436; background: #fff1f3; }
#storeChatDialog #storeChatRetry { margin-right: 12px; }
#storeChatDialog .store-chat-workspace { display: grid; min-height: 0; grid-template-columns: minmax(280px, 31%) minmax(0, 1fr); background: #fff; }
#storeChatDialog .store-chat-sidebar { display: flex; min-height: 0; max-height: none; flex-direction: column; gap: 6px; padding: 18px 12px; overflow-y: auto; border-right: 1px solid var(--chat-line); background: #f7f9fc; scrollbar-color: #c7d0de transparent; }
#storeChatDialog .store-chat-sidebar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 8px; }
#storeChatDialog .store-chat-sidebar-heading > strong { color: #263750; font-size: 16px; letter-spacing: -.02em; }
#storeChatDialog .store-chat-sidebar-heading > span { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
#storeChatDialog :is(.store-chat-new-message, .store-chat-new-group) { min-height: 33px; padding: 6px 9px; border: 1px solid #dbe3ed; border-radius: 9px; color: var(--chat-accent); background: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
#storeChatDialog .store-chat-new-message { border-color: var(--chat-accent); color: #fff; background: var(--chat-accent); }
#storeChatDialog :is(.store-chat-new-message, .store-chat-new-group):hover { filter: brightness(.94); }
#storeChatDialog .store-chat-search { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 0 11px; border: 1px solid #d8e1ec; border-radius: 11px; background: #fff; }
#storeChatDialog .store-chat-search:focus-within { border-color: var(--chat-accent); box-shadow: 0 0 0 3px var(--chat-soft); }
#storeChatDialog .store-chat-search > span[aria-hidden] { color: #71819b; font-size: 22px; line-height: 1; }
#storeChatDialog .store-chat-search input { width: 100%; min-width: 0; min-height: 40px !important; padding: 7px 0 !important; border: 0 !important; border-radius: 0 !important; outline: 0 !important; color: var(--chat-ink); background: transparent !important; box-shadow: none !important; font-size: 12px !important; }
#storeChatDialog .store-chat-sidebar-filters { display: flex; gap: 6px; padding: 5px 4px 2px; }
#storeChatDialog .store-chat-sidebar-filters button { min-height: 31px; padding: 5px 12px; border: 1px solid transparent; border-radius: 999px; color: #60718b; background: transparent; font-size: 11px; font-weight: 750; }
#storeChatDialog .store-chat-sidebar-filters button[aria-pressed="true"] { border-color: color-mix(in srgb, var(--chat-accent) 20%, white); color: var(--chat-accent); background: var(--chat-soft); }
#storeChatDialog .store-chat-sidebar-label { margin: 11px 8px 2px; padding: 0; color: #7d899b; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
#storeChatDialog :is(.store-chat-groups, .store-chat-contacts) { display: grid; gap: 3px; }
#storeChatDialog .store-chat-thread { display: grid; width: 100%; min-height: 59px; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 9px; border: 1px solid transparent; border-radius: 12px; color: #263750; background: transparent; box-shadow: none; text-align: left; transition: background .15s, border-color .15s; }
#storeChatDialog .store-chat-thread:hover { transform: none; border-color: #e0e6ef; background: #fff; box-shadow: none; }
#storeChatDialog .store-chat-thread.is-active { border-color: color-mix(in srgb, var(--chat-accent) 25%, white); color: var(--chat-ink); background: var(--chat-soft); box-shadow: inset 3px 0 var(--chat-accent); }
#storeChatDialog .store-chat-thread > span:nth-child(2) { min-width: 0; }
#storeChatDialog .store-chat-thread :is(strong, small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-thread strong { color: inherit; font-size: 12px; font-weight: 800; }
#storeChatDialog .store-chat-thread small, #storeChatDialog .store-chat-thread.is-active small { margin-top: 3px; color: #697992; font-size: 10px; font-weight: 450; }
#storeChatDialog .store-chat-thread small.has-draft { color: var(--chat-accent); font-weight: 750; }
#storeChatDialog .store-chat-avatar { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; overflow: hidden; border: 0; border-radius: 12px; color: #fff; background: var(--chat-avatar, #5368a8); box-shadow: none; font-size: 12px; font-weight: 800; }
#storeChatDialog .store-chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
#storeChatDialog .store-chat-avatar-store { --chat-avatar: var(--chat-accent); }
#storeChatDialog .store-chat-avatar-group { --chat-avatar: #8260b7; }
#storeChatDialog .store-chat-thread-unread { display: grid; min-width: 21px; height: 21px; padding: 0 5px; place-items: center; border: 0; border-radius: 999px; color: #fff; background: var(--chat-accent); box-shadow: none; font-size: 10px; font-style: normal; font-weight: 850; }
#storeChatDialog .store-chat-contacts-empty { margin: 4px 9px; padding: 8px 0; color: var(--chat-muted); font-size: 11px; line-height: 1.5; }
#storeChatDialog .store-chat-global-results { display: grid; gap: 4px; margin: 5px 0; padding: 9px; border: 1px solid #dce4ee; border-radius: 12px; color: var(--chat-muted); background: #fff; font-size: 11px; }
#storeChatDialog .store-chat-global-heading { padding: 3px 4px; color: #576983; font-size: 9px; letter-spacing: .08em; }
#storeChatDialog .store-chat-global-result { display: grid; min-width: 0; gap: 2px; padding: 8px 9px; border: 0; border-radius: 8px; color: var(--chat-ink); background: #fff; text-align: left; }
#storeChatDialog .store-chat-global-result:hover { background: var(--chat-soft); }
#storeChatDialog .store-chat-global-result strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-global-result span { overflow: hidden; color: var(--chat-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-conversation { position: relative; display: grid; min-width: 0; min-height: 0; grid-template-rows: auto auto auto minmax(0, 1fr) auto; background: #fff; }
#storeChatDialog .store-chat-appbar { grid-row: 1; }
#storeChatDialog .store-chat-feedback { grid-row: 2; }
#storeChatDialog .store-chat-workspace { grid-row: 3; }
#storeChatDialog .store-chat-conversation-header { grid-row: 1; }
#storeChatDialog .store-chat-search-toolbar { grid-row: 2; }
#storeChatDialog .store-chat-search-summary { grid-row: 3; }
#storeChatDialog .store-chat-history { grid-row: 4; }
#storeChatDialog .store-chat-form { grid-row: 5; }
#storeChatDialog .store-chat-conversation-header { display: flex; align-items: center; gap: 11px; min-height: 76px; padding: 12px 20px; border-bottom: 1px solid var(--chat-line); text-align: left; }
#storeChatDialog .store-chat-conversation-header > div { flex: 1; min-width: 0; }
#storeChatDialog .store-chat-conversation-header h3 { margin: 0; overflow: hidden; color: var(--chat-ink); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-conversation-header p { margin: 3px 0 0; overflow: hidden; color: var(--chat-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-quiet-button { display: grid; flex: 0 0 auto; min-width: 36px; min-height: 36px; place-items: center; padding: 5px 9px; border: 1px solid #dce4ee; border-radius: 10px; color: #52647d; background: #fff; font-size: 18px; }
#storeChatDialog .store-chat-quiet-button:hover, #storeChatDialog .store-chat-search-toggle[aria-expanded="true"] { color: var(--chat-accent); background: var(--chat-soft); }
#storeChatDialog #storeChatBack { display: none; }
#storeChatDialog .store-chat-search-toggle { font-size: 22px; }
#storeChatDialog .store-chat-search-toolbar { display: flex; align-items: center; gap: 8px; padding: 8px 20px; border-bottom: 1px solid var(--chat-line); }
#storeChatDialog .store-chat-search-toolbar .store-chat-search { flex: 1; }
#storeChatDialog .store-chat-search-summary { margin: 0; padding: 6px 20px; color: var(--chat-muted); font-size: 11px; }
#storeChatDialog .store-chat-history { position: relative; display: flex; min-height: 0; flex-direction: column; background: #f7f9fc; }
#storeChatDialog .store-chat-list { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 12px; padding: 18px 22px 24px; overflow-y: auto; overflow-anchor: none; scrollbar-color: #c8d3e2 transparent; }
#storeChatDialog .store-chat-list > * { flex-shrink: 0; }
#storeChatDialog .store-chat-day { align-self: center; margin: 6px 0; padding: 5px 12px; border-radius: 999px; color: #687a94; background: #e9eef6; font-size: 10px; font-weight: 750; }
#storeChatDialog .store-chat-message { position: relative; display: grid; width: fit-content; min-width: 110px; max-width: min(78%, 540px); gap: 5px; align-self: flex-start; }
#storeChatDialog .store-chat-message.is-own { align-self: flex-end; }
#storeChatDialog .store-chat-message.is-grouped { margin-top: -8px; }
#storeChatDialog .store-chat-message.is-grouped > div:first-child { display: none; }
#storeChatDialog .store-chat-message > div:first-child { display: flex; gap: 7px; align-items: center; padding-inline: 3px; }
#storeChatDialog .store-chat-message.is-own > div:first-child { justify-content: flex-end; }
#storeChatDialog .store-chat-message > div:first-child strong { color: #52647d; font-size: 10px; }
#storeChatDialog .store-chat-message time { color: #8391a5; font-size: 10px; }
#storeChatDialog .store-chat-message > p { margin: 0; padding: 11px 14px; border: 1px solid #dfe6ef; border-radius: 5px 15px 15px 15px; color: #1b2a40; background: #fff; box-shadow: 0 2px 5px #1c2e4b0a; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
#storeChatDialog .store-chat-message.is-own > p { border-color: var(--chat-accent); border-radius: 15px 5px 15px 15px; color: #fff; background: var(--chat-accent); }
#storeChatDialog .store-chat-message > p a { color: #315c9d; text-decoration: underline; text-underline-offset: 2px; }
#storeChatDialog .store-chat-message.is-own > p a { color: #fff; }
#storeChatDialog .store-chat-message mark { padding: 1px 2px; border-radius: 3px; color: #4c3600; background: #ffe19a; }
#storeChatDialog .store-chat-citation { display: grid; gap: 3px; margin-bottom: 9px; padding: 7px 9px; border-left: 3px solid currentColor; border-radius: 4px; background: #17203310; }
#storeChatDialog .store-chat-citation strong { color: inherit; font-size: 11px; }
#storeChatDialog .store-chat-citation small { overflow: hidden; color: inherit; font-size: 11px; opacity: .85; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-receipt { padding-right: 3px; color: #8491a4; font-size: 10px; text-align: right; }
#storeChatDialog .store-chat-receipt[data-read="true"] { color: var(--chat-accent); }
#storeChatDialog .store-chat-message-actions { position: absolute; z-index: 1; top: -18px; right: 0; display: flex; gap: 3px; padding: 0 !important; opacity: 0; pointer-events: none; transition: opacity .12s; }
#storeChatDialog .store-chat-message:hover .store-chat-message-actions, #storeChatDialog .store-chat-message:focus-within .store-chat-message-actions { opacity: 1; pointer-events: auto; }
#storeChatDialog .store-chat-message-actions button { min-height: 29px; padding: 4px 8px; border: 1px solid #d9e2ef; border-radius: 8px; color: #405572; background: #fff; box-shadow: 0 3px 9px #142b4a1a; font-size: 10px; }
#storeChatDialog .store-chat-message-actions button:hover { color: var(--chat-accent); background: var(--chat-soft); }
#storeChatDialog .store-chat-unread-divider { display: flex; align-items: center; gap: 10px; color: var(--chat-accent); font-size: 11px; font-weight: 750; }
#storeChatDialog .store-chat-unread-divider::before, #storeChatDialog .store-chat-unread-divider::after { flex: 1; height: 1px; background: color-mix(in srgb, var(--chat-accent) 30%, white); content: ''; }
#storeChatDialog .store-chat-empty { display: grid; justify-items: center; gap: 8px; max-width: 350px; margin: auto; padding: 24px; text-align: center; }
#storeChatDialog .store-chat-empty > span { display: grid; width: 60px; height: 60px; place-items: center; border-radius: 18px; color: var(--chat-accent); background: var(--chat-soft); font-size: 28px; }
#storeChatDialog .store-chat-empty strong { color: var(--chat-ink); font-size: 16px; }
#storeChatDialog .store-chat-empty p { margin: 0; color: var(--chat-muted); font-size: 12px; line-height: 1.5; }
#storeChatDialog .store-chat-older, #storeChatDialog .store-chat-jump { align-self: center; margin: 10px 0 0; padding: 8px 13px; border: 1px solid #d8e2ee; border-radius: 999px; color: var(--chat-accent); background: #fff; font-size: 11px; font-weight: 750; }
#storeChatDialog .store-chat-jump { position: absolute; z-index: 2; bottom: 10px; left: 50%; max-width: 90%; margin: 0; transform: translateX(-50%); box-shadow: 0 5px 20px #172b4a29; white-space: nowrap; }
#storeChatDialog .store-chat-skeleton { display: grid; gap: 16px; }
#storeChatDialog .store-chat-skeleton span { width: 60%; height: 45px; border-radius: 13px; background: #e9edf4; }
#storeChatDialog .store-chat-skeleton span:nth-child(2) { width: 50%; justify-self: end; }
#storeChatDialog .store-chat-toast { position: absolute; z-index: 3; bottom: 118px; left: 50%; max-width: 90%; margin: 0; padding: 9px 14px; transform: translateX(-50%); border-radius: 10px; color: #fff; background: #24385f; box-shadow: 0 6px 20px #14203d35; font-size: 11px; white-space: nowrap; }
#storeChatDialog .store-chat-form { display: grid; min-width: 0; gap: 6px; padding: 12px 20px 14px; border-top: 1px solid var(--chat-line); background: #fff; }
#storeChatDialog .store-chat-form > label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #66768c; font-size: 10px; font-weight: 800; }
#storeChatDialog #storeChatDraft { color: #7e8da2; font-size: 10px; font-weight: 450; }
#storeChatDialog .store-chat-form > div:not(.store-chat-quote) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
#storeChatDialog .store-chat-form textarea { width: 100%; min-height: 48px !important; max-height: 132px; padding: 10px 12px !important; resize: none; border: 1px solid #d7e0ea !important; border-radius: 11px !important; color: var(--chat-ink); background: #f8fafd !important; font-size: 13px !important; line-height: 1.45; box-sizing: border-box; }
#storeChatDialog .store-chat-form textarea:focus { border-color: var(--chat-accent) !important; box-shadow: 0 0 0 3px var(--chat-soft); }
#storeChatDialog #storeChatSend { align-self: end; min-width: 97px; min-height: 48px; padding: 0 13px; border: 1px solid var(--chat-accent); border-radius: 11px; color: #fff; background: var(--chat-accent); font-size: 12px; font-weight: 850; }
#storeChatDialog #storeChatSend:disabled { opacity: .5; cursor: not-allowed; }
#storeChatDialog .store-chat-form footer { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 0; border: 0; color: #8a98aa; background: transparent; text-align: left; }
#storeChatDialog .store-chat-form footer small { font-size: 10px; }
#storeChatDialog #storeChatCounter { white-space: nowrap; }
#storeChatDialog #storeChatCounter[data-tone="error"] { color: #b4233c; }
#storeChatDialog #storeChatCounter[data-tone="warning"] { color: #986000; }
#storeChatDialog .store-chat-quote { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-left: 3px solid var(--chat-accent); border-radius: 7px; background: var(--chat-soft); }
#storeChatDialog .store-chat-quote > span { display: grid; flex: 1; min-width: 0; gap: 2px; }
#storeChatDialog .store-chat-quote strong { color: var(--chat-accent); font-size: 11px; }
#storeChatDialog .store-chat-quote small { overflow: hidden; color: #53647b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-quote button { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; color: #52647b; background: transparent; font-size: 20px; }
#storeChatDialog .store-chat-quote button:hover { background: #ffffffa8; }
#storeChatDialog .store-chat-logistics-card { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid #d3ddec; border-left: 3px solid var(--chat-accent); border-radius: 10px; color: #1e2d45; background: #fff; text-decoration: none; }
#storeChatDialog .store-chat-logistics-card:hover { border-color: var(--chat-accent); }
#storeChatDialog .store-chat-logistics-card > span, #storeChatDialog .store-chat-logistics-card > small { color: var(--chat-accent); font-size: 9px; font-weight: 850; letter-spacing: .04em; }
#storeChatDialog .store-chat-logistics-card > strong { color: #213354; font-size: 12px; }
#storeChatDialog .store-chat-logistics-card p { margin: 0; padding: 0; border: 0; color: #5d6b7f; background: transparent; box-shadow: none; font-size: 10px; }
#storeChatDialog .store-chat-logistics-card > div { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
#storeChatDialog .store-chat-logistics-card > div span { color: #65758c; font-size: 10px; }
#storeChatDialog .store-chat-group-builder { position: absolute; z-index: 8; inset: 0; display: grid; place-items: center; padding: 20px; background: #10203f99; }
#storeChatDialog .store-chat-group-builder form { display: grid; width: min(520px, 100%); max-height: calc(100dvh - 54px); gap: 14px; padding: 23px; overflow-y: auto; border: 1px solid #dde5ee; border-radius: 17px; color: var(--chat-ink); background: #fff; box-shadow: 0 24px 65px #0e1a3499; }
#storeChatDialog .store-chat-group-builder header { display: flex; justify-content: space-between; gap: 14px; }
#storeChatDialog .store-chat-group-builder header span { color: var(--chat-accent); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
#storeChatDialog .store-chat-group-builder h3 { margin: 4px 0; color: var(--chat-ink); font-size: 20px; }
#storeChatDialog .store-chat-group-builder header p, #storeChatDialog .store-chat-group-builder fieldset > p { margin: 0; color: var(--chat-muted); font-size: 11px; line-height: 1.5; }
#storeChatDialog .store-chat-group-builder header button { width: 35px; height: 35px; flex: 0 0 35px; padding: 0; border: 1px solid #dce4ec; border-radius: 9px; color: #52647d; background: #fff; font-size: 21px; }
#storeChatDialog .store-chat-group-name { display: grid; gap: 6px; color: #43546c; font-size: 11px; font-weight: 800; }
#storeChatDialog .store-chat-group-name input { min-height: 43px; padding: 9px 11px; border: 1px solid #cfd9e5; border-radius: 10px; color: var(--chat-ink); background: #fff; font-size: 13px; }
#storeChatDialog .store-chat-group-builder fieldset { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
#storeChatDialog .store-chat-group-builder legend { margin-bottom: 4px; color: #43546c; font-size: 11px; font-weight: 800; }
#storeChatDialog .store-chat-group-members { display: grid; max-height: 290px; gap: 6px; overflow-y: auto; }
#storeChatDialog .store-chat-group-member { display: grid; grid-template-columns: auto 38px minmax(0,1fr); align-items: center; gap: 10px; padding: 8px 9px; border: 1px solid #e3e9f1; border-radius: 10px; background: #fafbfd; cursor: pointer; }
#storeChatDialog .store-chat-group-member:has(input:checked) { border-color: var(--chat-accent); background: var(--chat-soft); }
#storeChatDialog .store-chat-group-member input { width: 16px; height: 16px; accent-color: var(--chat-accent); }
#storeChatDialog .store-chat-group-member .store-chat-avatar { width: 36px; height: 36px; }
#storeChatDialog .store-chat-group-member :is(strong,small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#storeChatDialog .store-chat-group-member strong { font-size: 11px; }
#storeChatDialog .store-chat-group-member small { color: var(--chat-muted); font-size: 10px; }
#storeChatDialog .store-chat-group-feedback { margin: 0; padding: 9px; border-radius: 8px; color: #9c2436; background: #fff1f3; font-size: 11px; }
#storeChatDialog .store-chat-group-builder footer { display: flex; justify-content: flex-end; gap: 8px; }
#storeChatDialog .store-chat-group-builder footer button { min-height: 40px; padding: 8px 13px; border: 1px solid #d7e0ea; border-radius: 9px; color: #40536c; background: #fff; font-size: 11px; font-weight: 800; }
#storeChatDialog .store-chat-group-builder footer button[type="submit"] { border-color: var(--chat-accent); color: #fff; background: var(--chat-accent); }
#storeChatDialog .store-chat-group-builder footer button:disabled { opacity: .55; }
#storeChatDialog .store-chat-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#storeChatDialog .store-chat-mobile-hint { display: none; }
.store-chat-launcher { display: inline-flex; position: relative; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 7px 12px; border: 1px solid #dce3ed; border-radius: 10px; color: #263750; background: #fff; font: 800 12px var(--nv-font, system-ui, sans-serif); cursor: pointer; }
.store-chat-launcher:hover { color: var(--phase-ink, #27457f); background: var(--phase-soft, #eaf1fb); }
.store-chat-launcher > span:first-child { font-size: 17px; }
.store-chat-launcher b { display: grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; border-radius: 999px; color: #fff; background: var(--phase-ink, #27457f); font-size: 10px; }
.store-chat-launcher b[hidden] { display: none; }
@media (max-width: 900px) {
  body.has-store-chat-menu { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  body.has-store-chat-menu #openStoreChatButton { position: fixed; z-index: 890; right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); min-height: 50px; padding: 11px 16px; border: 1px solid #dce3ed; border-radius: 15px; color: #fff; background: var(--phase-ink, #27457f); box-shadow: 0 8px 25px #14274135; font-size: 13px; }
  body.has-store-chat-menu #openStoreChatButton:hover { filter: brightness(.94); }
}
@media (max-width: 700px) {
  #storeChatDialog { inset: 0; width: 100vw; height: 100dvh; margin: 0; border: 0; border-radius: 0; }
  #storeChatDialog .store-chat-panel { border-radius: 0; }
  #storeChatDialog .store-chat-appbar { min-height: 61px; gap: 8px; padding: max(8px, env(safe-area-inset-top)) 12px 8px; }
  #storeChatDialog .store-chat-brand-mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 21px; }
  #storeChatDialog #storeChatTitle { font-size: 18px; }
  #storeChatDialog .store-chat-context { display: none; }
  #storeChatDialog :is(.store-chat-sound, .store-chat-close) { width: 34px; height: 34px; flex-basis: 34px; }
  #storeChatDialog .store-chat-workspace { display: block; overflow: hidden; }
  #storeChatDialog .store-chat-sidebar, #storeChatDialog .store-chat-conversation { width: 100%; height: 100%; }
  #storeChatDialog .store-chat-sidebar { padding: 14px 11px; border-right: 0; }
  #storeChatDialog[data-view="threads"] .store-chat-conversation, #storeChatDialog[data-view="conversation"] .store-chat-sidebar { display: none; }
  #storeChatDialog #storeChatBack { display: grid; }
  #storeChatDialog .store-chat-conversation-header { min-height: 62px; gap: 8px; padding: 9px 11px; }
  #storeChatDialog .store-chat-conversation-header > .store-chat-avatar { display: none; }
  #storeChatDialog .store-chat-conversation-header h3 { font-size: 14px; }
  #storeChatDialog .store-chat-search-toolbar { padding: 7px 11px; }
  #storeChatDialog .store-chat-search input, #storeChatDialog .store-chat-form textarea { font-size: 16px !important; }
  #storeChatDialog .store-chat-list { padding: 14px 12px 20px; }
  #storeChatDialog .store-chat-message { max-width: 92%; }
  #storeChatDialog .store-chat-form { padding: 9px 11px max(10px, env(safe-area-inset-bottom)); }
  #storeChatDialog .store-chat-form footer { display: none; }
  #storeChatDialog #storeChatSend { min-width: 76px; padding: 0 8px; }
  #storeChatDialog .store-chat-group-builder { padding: 10px; }
  #storeChatDialog .store-chat-group-builder form { max-height: calc(100dvh - 20px); padding: 17px; }
  #storeChatDialog .store-chat-desktop-hint { display: none; }
  #storeChatDialog .store-chat-mobile-hint { display: inline; }
}
@media (pointer: coarse) {
  #storeChatDialog .store-chat-message-actions { position: static; justify-content: flex-end; opacity: 1; pointer-events: auto; }
  #storeChatDialog .store-chat-message-actions button { min-height: 32px; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { #storeChatDialog *, #storeChatDialog *::before, #storeChatDialog *::after { transition: none !important; scroll-behavior: auto !important; } }
