/* Inkqe chat + calls (public/js/inkqe-chat.js, public/js/inkqe-comms.js).
 *
 * Reskin tokens from design.md §11: ink #0A0A0A, lime #C5F154 (fill / text-on-dark only), cream
 * #F5F1E8 / #F0EBDC, border #E5E7EB, Roboto. Every property is declared explicitly: these widgets land
 * under legacy layouts whose sheets restyle bare buttons, inputs and textareas (design.md §11.6).
 *
 *   .iqc-*  the chat component (full page and floating panel)
 *   .iqx-*  page chrome: the Messages button + panel, incoming-call alert, toasts
 */

.iqc, .iqc *, .iqx-fab, .iqx-fab *, .iqx-panel, .iqx-panel *, .iqx-call, .iqx-call *, .iqx-toasts, .iqx-toasts * {
  box-sizing: border-box;
}
/* Set on the roots only, so children inherit - a universal rule here would override the inherited
   mono/uppercase of labels whose text sits in a child span. */
.iqc, .iqx-fab, .iqx-panel, .iqx-call, .iqx-toasts {
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: normal;
  text-transform: none;
}
/* Legacy sheets pad bare <section> elements (style1.css `section{padding:20px 5px}`). */
.iqc-conv, .iqc-sec, .iqc-side { margin: 0 !important; padding: 0 !important; }
.iqc button, .iqx-fab, .iqx-panel button, .iqx-call button, .iqx-toasts button {
  font-family: "Roboto", system-ui, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  max-width: none !important;
  width: auto;
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
}
.iqc svg, .iqx-fab svg, .iqx-panel svg, .iqx-call svg, .iqx-toasts svg { flex: none; display: block; }
.iqc [hidden], .iqx-panel [hidden], .iqx-fab [hidden] { display: none !important; }

/* =========================================================================== chat component */

.iqc {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fff;
  color: #0A0A0A;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
}
.iqc--page { border: 1px solid #E5E7EB; border-radius: 18px; }

/* ---- sidebar */
.iqc-side {
  width: 320px;
  flex: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid #F0EBDC;
  background: #fff;
}
.iqc-side__head { display: none; }
.iqc-eyebrow {
  display: inline-block;
  background: #0A0A0A; color: #C5F154;
  font-family: "Roboto Mono", ui-monospace, monospace !important;
  font-size: 10px; font-weight: 600; letter-spacing: .1em !important; text-transform: uppercase !important;
  border-radius: 4px; padding: 3px 8px;
}
.iqc-search {
  display: flex; align-items: center; gap: 8px;
  margin: 0 16px 8px; height: 40px; padding: 0 12px;
  border: 1px solid #E5E7EB; border-radius: 10px; background: #fff; color: #9CA3AF;
  cursor: text;
}
.iqc-search { margin-top: 16px; }
.iqc--dock .iqc-search { margin-top: 14px; }
.iqc-search:focus-within { border-color: #0A0A0A; }
.iqc-search__input {
  flex: 1; min-width: 0; height: 38px !important;
  border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important;
  padding: 0 !important; margin: 0 !important;
  font-size: 14px !important; font-weight: 400 !important; color: #0A0A0A !important;
  font-family: "Roboto", system-ui, sans-serif !important; letter-spacing: normal !important;
}
.iqc-search__input::placeholder { color: #9CA3AF; }
.iqc-side__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 8px 16px; }

.iqc-sec { margin-top: 10px; }
.iqc-sec__label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px;
  font-family: "Roboto Mono", ui-monospace, monospace !important;
  font-size: 10px; font-weight: 500; letter-spacing: .08em !important; text-transform: uppercase !important;
  color: #6B7280;
}
.iqc-sec__count { color: #9CA3AF; }
.iqc-list { display: flex; flex-direction: column; gap: 2px; }

.iqc-contact {
  display: flex !important; align-items: center; gap: 12px;
  width: 100% !important; padding: 10px !important;
  border: 0 !important; border-radius: 12px !important;
  background: transparent !important; color: #0A0A0A !important;
  text-align: left; font-size: 14px !important; font-weight: 400 !important; height: auto !important;
}
.iqc-contact:hover { background: #F5F1E8 !important; }
.iqc-contact.is-active { background: #0A0A0A !important; color: #fff !important; }
.iqc-contact.is-active .iqc-contact__sub { color: #C5F154; }
.iqc-contact__avatar { position: relative; flex: none; }
.iqc-contact__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.iqc-contact__name { font-size: 14px; font-weight: 600; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iqc-contact.has-unread .iqc-contact__name { font-weight: 800; }
.iqc-contact__sub { font-size: 12px; line-height: 16px; color: #6B7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.iqc-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  border-radius: 50%; overflow: hidden;
  background: #F0EBDC; color: #0A0A0A;
  font-size: 13px; font-weight: 600; line-height: 1;
}
.iqc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iqc-dot {
  position: absolute; right: 0; bottom: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: #D1D5DB; border: 2px solid #fff;
}
.iqc-dot.is-online { background: #22C55E; }
.iqc-contact.is-active .iqc-dot { border-color: #0A0A0A; }
.iqc-badge {
  flex: none; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: #C5F154; color: #0A0A0A;
  font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}
.iqc-contact.is-active .iqc-badge { display: none; }

.iqc-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; }
.iqc-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.iqc-row__name { font-size: 13px; font-weight: 600; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iqc-row__sub { font-size: 12px; line-height: 16px; color: #6B7280; }
.iqc-pill {
  flex: none; padding: 4px 10px; border-radius: 999px; border: 1px solid #E5E7EB; color: #6B7280;
  font-family: "Roboto Mono", ui-monospace, monospace !important;
  font-size: 10px; font-weight: 600; letter-spacing: .08em !important; text-transform: uppercase !important;
}
.iqc-btn {
  display: inline-flex !important; align-items: center; justify-content: center;
  height: 32px !important; padding: 0 14px !important; border-radius: 8px !important; border: 0 !important;
  font-size: 13px !important; font-weight: 500 !important; flex: none;
}
.iqc-btn--ink { background: #0A0A0A !important; color: #C5F154 !important; }
.iqc-btn--ink:hover { background: #1A1A1A !important; }
.iqc-btn--lime { background: #C5F154 !important; color: #0A0A0A !important; }
.iqc-btn--lime:hover { background: #B8E83C !important; }
.iqc-btn:disabled { background: #E5E7EB !important; color: #9CA3AF !important; cursor: default; }

.iqc-empty-line { padding: 10px 12px; font-size: 13px; line-height: 18px; color: #6B7280; }
.iqc-empty-line--center { margin: auto; text-align: center; }

/* ---- conversation */
.iqc-conv { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #FAFAF7; }
.iqc-conv__empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; text-align: center; color: #6B7280;
}
.iqc-empty-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: #0A0A0A; color: #C5F154;
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.iqc-empty-title { font-size: 18px; font-weight: 800; color: #0A0A0A; }
.iqc-empty-copy { font-size: 13px; line-height: 20px; max-width: 280px; }
.iqc-conv__head, .iqc-msgs, .iqc-composer { display: none; }
.iqc.has-conversation .iqc-conv__empty { display: none; }
.iqc.has-conversation .iqc-conv__head { display: flex; }
.iqc.has-conversation .iqc-msgs { display: flex; }
.iqc.has-conversation .iqc-composer { display: block; }

.iqc-conv__head {
  align-items: center; gap: 12px;
  padding: 14px 18px; background: #fff; border-bottom: 1px solid #F0EBDC;
}
.iqc-conv__who { flex: 1; min-width: 0; }
.iqc-conv__name { font-size: 16px; font-weight: 700; line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iqc-conv__status { font-size: 12px; line-height: 16px; color: #6B7280; }
.iqc-conv__status.is-online { color: #15803D; }
.iqc-conv__actions { display: flex; gap: 8px; }
.iqc-conv__actions[hidden] { display: none !important; }

.iqc-icon-btn {
  display: inline-flex !important; align-items: center; justify-content: center; flex: none;
  width: 36px !important; height: 36px !important; padding: 0 !important;
  border: 1px solid #E5E7EB !important; border-radius: 10px !important;
  background: #fff !important; color: #0A0A0A !important;
}
.iqc-icon-btn:hover { border-color: #0A0A0A !important; }
.iqc-conv__actions .iqc-icon-btn:not(:disabled) { background: #0A0A0A !important; border-color: #0A0A0A !important; color: #C5F154 !important; }
.iqc-conv__actions .iqc-icon-btn:not(:disabled):hover { background: #1A1A1A !important; }
.iqc-icon-btn:disabled { background: #F3F4F6 !important; border-color: #E5E7EB !important; color: #9CA3AF !important; cursor: not-allowed; }
.iqc-back { display: none !important; }

.iqc-msgs {
  flex: 1; min-height: 0; overflow-y: auto;
  flex-direction: column; gap: 6px; padding: 18px 18px 12px;
}
.iqc-loading { margin: auto; color: #9CA3AF; font-size: 13px; }
.iqc-day {
  align-self: center; margin: 10px 0 4px;
  padding: 4px 10px; border-radius: 6px; background: #F0EBDC; color: #0A0A0A;
  font-family: "Roboto Mono", ui-monospace, monospace !important; font-size: 11px; font-weight: 500;
}
.iqc-msg { display: flex; align-items: flex-end; gap: 6px; max-width: 78%; }
.iqc-msg--mine { align-self: flex-end; flex-direction: row-reverse; }
.iqc-bubble {
  padding: 10px 14px; border-radius: 16px 16px 16px 4px;
  background: #fff; border: 1px solid #E5E7EB; color: #0A0A0A;
  font-size: 14px; line-height: 20px; min-width: 0; overflow-wrap: anywhere;
}
.iqc-msg--mine .iqc-bubble { background: #0A0A0A; border-color: #0A0A0A; color: #fff; border-radius: 16px 16px 4px 16px; }
.iqc-bubble__text { white-space: pre-wrap; }
.iqc-bubble__text:empty { display: none; }
.iqc-bubble a { color: #1D4ED8; text-decoration: underline; }
.iqc-msg--mine .iqc-bubble a { color: #C5F154; }
.iqc-bubble__meta { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; font-size: 11px; line-height: 14px; color: #9CA3AF; }
.iqc-msg--mine .iqc-bubble__meta { color: #9CA3AF; }
.iqc-seen.is-read { color: #C5F154; }
.iqc-attach-img { display: block; margin-top: 6px; }
.iqc-attach-img img { display: block; max-width: 240px; max-height: 240px; border-radius: 10px; object-fit: cover; }
.iqc-attach-file {
  display: flex !important; align-items: center; gap: 8px; margin-top: 6px;
  padding: 8px 10px; border-radius: 10px; background: #F5F1E8; color: #0A0A0A !important; text-decoration: none !important;
  font-size: 13px; font-weight: 500;
}
.iqc-msg--mine .iqc-attach-file { background: #1F1F1F; color: #fff !important; }

.iqc-menu { position: relative; align-self: center; opacity: 0; transition: opacity .12s; }
.iqc-msg:hover .iqc-menu, .iqc-menu:focus-within { opacity: 1; }
.iqc-menu__toggle { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #6B7280 !important; }
.iqc-menu__list {
  position: absolute; right: 0; bottom: 30px; z-index: 5; min-width: 150px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 4px;
  box-shadow: 0 18px 40px -8px rgba(10,10,10,.18);
}
.iqc-menu__item {
  display: block !important; width: 100% !important; text-align: left;
  padding: 9px 14px !important; border: 0 !important; border-radius: 8px !important;
  background: transparent !important; color: #0A0A0A !important; font-size: 13px !important; font-weight: 500 !important;
}
.iqc-menu__item:hover { background: #F5F1E8 !important; }
.iqc-menu__item--danger { color: #DC2626 !important; }
.iqc-edit {
  display: block; width: 260px; max-width: 100%; min-height: 40px;
  border: 1px solid #C5F154 !important; border-radius: 8px; padding: 6px 8px;
  background: #fff !important; color: #0A0A0A !important; font-size: 14px !important; resize: vertical;
  font-family: "Roboto", system-ui, sans-serif !important;
}

.iqc-composer { padding: 12px 16px 16px; background: #fff; border-top: 1px solid #F0EBDC; }
.iqc-composer__row { display: flex; align-items: flex-end; gap: 8px; }
.iqc-input {
  flex: 1; min-width: 0; display: block;
  min-height: 40px !important; max-height: 140px; height: 40px;
  padding: 9px 14px !important; margin: 0 !important;
  border: 1px solid #E5E7EB !important; border-radius: 10px !important; outline: 0 !important;
  background: #fff !important; box-shadow: none !important; resize: none;
  font-size: 14px !important; font-weight: 400 !important; line-height: 20px !important; color: #0A0A0A !important;
  font-family: "Roboto", system-ui, sans-serif !important; letter-spacing: normal !important;
}
.iqc-input:focus { border-color: #0A0A0A !important; }
.iqc-input::placeholder { color: #9CA3AF; }
.iqc-attach { cursor: pointer; margin: 0 !important; }
.iqc-send {
  display: inline-flex !important; align-items: center; justify-content: center; flex: none;
  width: 40px !important; height: 40px !important; padding: 0 !important;
  border: 0 !important; border-radius: 10px !important;
  background: #0A0A0A !important; color: #C5F154 !important;
}
.iqc-send:hover { background: #1A1A1A !important; }
.iqc-send:disabled { background: #E5E7EB !important; color: #9CA3AF !important; cursor: default; }
.iqc-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  margin-bottom: 8px; padding: 4px 4px 4px 10px; border-radius: 999px;
  background: #F0EBDC; color: #0A0A0A; font-size: 13px; font-weight: 500;
}
.iqc-chip__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 260px; }
.iqc-chip__remove { width: 24px !important; height: 24px !important; border: 0 !important; background: transparent !important; border-radius: 999px !important; }

.iqc-toast {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 10;
  max-width: calc(100% - 24px); padding: 10px 14px; border-radius: 12px;
  background: #0A0A0A; color: #fff; font-size: 13px; line-height: 18px;
  box-shadow: 0 16px 40px rgba(10,10,10,.18);
}
.iqc-toast--success { background: #0A0A0A; color: #C5F154; }
.iqc-toast--error { background: #DC2626; color: #fff; }

/* ---- narrow: one pane at a time (the floating panel, and the page on a phone) */
.iqc--narrow .iqc-side { width: 100%; border-right: 0; }
.iqc--narrow .iqc-conv { display: none; }
.iqc--narrow[data-view="conv"] .iqc-side { display: none; }
.iqc--narrow[data-view="conv"] .iqc-conv { display: flex; }
.iqc--narrow .iqc-back { display: inline-flex !important; border: 0 !important; width: 32px !important; }
.iqc--narrow .iqc-conv__head { padding: 10px 12px; gap: 8px; }
.iqc--narrow .iqc-msgs { padding: 14px 12px 10px; }
.iqc--narrow .iqc-msg { max-width: 88%; }
.iqc--narrow .iqc-composer { padding: 10px 12px 12px; }
.iqc--narrow .iqc-attach-img img { max-width: 200px; }

/* ---- full page wrapper (views/chat/chat.ejs) */
/* Bottom padding keeps the composer clear of the floating AI button (56px at bottom 24). */
.iqc-page { padding: 24px 24px 96px; }
.iqc-page__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.iqc-page__title { margin: 8px 0 4px !important; font-family: "Roboto", system-ui, sans-serif !important; font-size: 32px !important; line-height: 38px !important; font-weight: 800 !important; letter-spacing: -.02em !important; color: #0A0A0A !important; }
.iqc-page__sub { margin: 0 !important; font-size: 14px; line-height: 22px; color: #4B5563; max-width: 560px; }
.iqc-page__link {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border: 1px solid #0A0A0A; border-radius: 999px; color: #0A0A0A !important; text-decoration: none !important;
  font-size: 14px; font-weight: 500;
}
.iqc-page__link:hover { background: #0A0A0A; color: #C5F154 !important; }
.iqc-page__frame { height: calc(100vh - 300px); min-height: 480px; }
@media (max-width: 720px) {
  .iqc-page { padding: 12px 12px 88px; }
  .iqc-page__title { font-size: 26px !important; line-height: 30px !important; }
  .iqc-page__frame { height: calc(100vh - 170px); min-height: 420px; }
}

/* =========================================================================== page chrome */

/* ---- Messages floating button: beside the AI button (which sits at right 24) */
.iqx-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 99996;
  width: 56px !important; height: 56px !important; padding: 0 !important;
  border: 0 !important; border-radius: 50% !important;
  background: #0A0A0A !important; color: #C5F154 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  display: flex !important; align-items: center; justify-content: center;
}
.iqx-fab--beside-ai { right: 92px; }
.iqx-fab:hover { background: #1A1A1A !important; }
.iqx-fab.is-open { background: #C5F154 !important; color: #0A0A0A !important; }
.iqx-fab__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: #DC2626; color: #fff; border-radius: 10px;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.iqx-panel {
  position: fixed; right: 24px; bottom: 92px; z-index: 99997;
  width: 400px; max-width: calc(100vw - 32px);
  height: 600px; max-height: calc(100vh - 120px);
  background: #fff; border: 1px solid #E5E7EB; border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  display: none; flex-direction: column; overflow: hidden;
}
.iqx-panel.is-open { display: flex; }
.iqx-panel__head {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 18px; background: #0A0A0A; color: #fff;
}
.iqx-panel__title { font-size: 15px; font-weight: 700; }
.iqx-panel__actions { display: flex; align-items: center; gap: 6px; }
.iqx-panel__link {
  color: #C5F154 !important; text-decoration: none !important; font-size: 12px; font-weight: 500;
  padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(197,241,84,.4);
}
.iqx-panel__link:hover { background: rgba(197,241,84,.12); }
.iqx-panel__close {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 32px !important; height: 32px !important; padding: 0 !important;
  border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #fff !important;
}
.iqx-panel__close:hover { background: #1F1F1F !important; }
.iqx-panel__body { flex: 1; min-height: 0; display: flex; }

@media (max-width: 560px) {
  .iqx-fab { right: 16px; bottom: 16px; }
  .iqx-fab--beside-ai { right: 84px; }
  .iqx-panel { right: 8px; left: 8px; bottom: 84px; width: auto; max-width: none; height: calc(100vh - 100px); max-height: none; }
}

/* ---- incoming call alert: on top of everything, top-right, never blocks the page */
.iqx-call {
  position: fixed; top: 24px; right: 24px; z-index: 2147483000;
  width: 360px; max-width: calc(100vw - 32px);
  background: #0A0A0A; color: #fff; border-radius: 18px; padding: 18px;
  box-shadow: 0 24px 60px rgba(10,10,10,.45);
  animation: iqx-slide-in .25s ease-out;
}
@keyframes iqx-slide-in { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.iqx-call__who { display: flex; align-items: center; gap: 14px; }
.iqx-call__ring { position: relative; flex: none; width: 56px; height: 56px; }
.iqx-call__ring::before, .iqx-call__ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #C5F154; animation: iqx-pulse 1.6s ease-out infinite;
}
.iqx-call__ring::after { animation-delay: .8s; }
@keyframes iqx-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.iqx-call__avatar {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
  background: #C5F154; color: #0A0A0A; font-size: 18px; font-weight: 800;
}
.iqx-call__avatar img { width: 100%; height: 100%; object-fit: cover; }
.iqx-call__text { min-width: 0; }
.iqx-call__eyebrow {
  font-family: "Roboto Mono", ui-monospace, monospace !important;
  font-size: 10px; font-weight: 600; letter-spacing: .1em !important; text-transform: uppercase !important; color: #C5F154;
}
.iqx-call__name { margin-top: 4px; font-size: 18px; font-weight: 800; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iqx-call__sub { margin-top: 2px; font-size: 13px; color: #9CA3AF; }
.iqx-call__actions { display: flex; gap: 10px; margin-top: 16px; }
.iqx-call__btn {
  flex: 1; display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  height: 44px !important; padding: 0 14px !important; border: 0 !important; border-radius: 10px !important;
  font-size: 14px !important; font-weight: 600 !important;
}
.iqx-call__btn--accept { background: #C5F154 !important; color: #0A0A0A !important; }
.iqx-call__btn--accept:hover { background: #B8E83C !important; }
.iqx-call__btn--decline { background: #DC2626 !important; color: #fff !important; }
.iqx-call__btn--decline:hover { background: #B91C1C !important; }
@media (max-width: 560px) {
  .iqx-call { top: 12px; right: 12px; left: 12px; width: auto; max-width: none; }
}

/* ---- toasts (design.md §11.4 toast) */
.iqx-toasts {
  position: fixed; top: 24px; right: 24px; z-index: 2147482000;
  display: flex; flex-direction: column; gap: 10px; width: 340px; max-width: calc(100vw - 32px);
  pointer-events: none;
}
.iqx-toast {
  pointer-events: auto; display: flex; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid #E5E7EB; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 16px 40px rgba(10,10,10,.18); color: #0A0A0A;
  animation: iqx-slide-in .2s ease-out;
}
.iqx-toast__badge {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: #C5F154; color: #0A0A0A; display: flex; align-items: center; justify-content: center;
}
.iqx-toast--error .iqx-toast__badge { background: #DC2626; color: #fff; }
.iqx-toast__text { flex: 1; min-width: 0; }
.iqx-toast.is-clickable .iqx-toast__text { cursor: pointer; }
.iqx-toast__title { font-size: 14px; font-weight: 700; line-height: 18px; }
.iqx-toast__body { margin-top: 2px; font-size: 13px; line-height: 18px; color: #6B7280; }
.iqx-toast__close {
  flex: none; display: inline-flex !important; align-items: center; justify-content: center;
  width: 24px !important; height: 24px !important; padding: 0 !important; border: 0 !important;
  background: transparent !important; color: #9CA3AF !important; border-radius: 6px !important;
}
.iqx-toast__close:hover { color: #0A0A0A !important; }
