/* Expand header container to avoid squishing menu items */
body.inmo-bridge-force-elementor-header #site-header {
  display: none !important;
}

body .elementor-section:has(.elementor-nav-menu) > .elementor-container,
body header .elementor-container,
body div[data-elementor-type="header"] .elementor-container {
  max-width: 1400px !important;
  width: 95% !important;
}

/* Ensure the nav widget column can grow */
body .elementor-column:has(.elementor-nav-menu),
body header .elementor-column,
body div[data-elementor-type="header"] .elementor-column {
  width: auto !important;
  flex-grow: 1 !important;
}

body .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu,
body .elementor-nav-menu--main .elementor-nav-menu,
body header nav ul.menu,
body .site-navigation ul.menu {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li,
body .elementor-nav-menu--main .elementor-nav-menu > li,
body header nav ul.menu > li,
body .site-navigation ul.menu > li {
  flex: 0 1 auto !important;
  min-width: 0 !important;
}

body .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > a,
body .elementor-nav-menu--main .elementor-nav-menu > li > a,
body header nav ul.menu > li > a,
body .site-navigation ul.menu > li > a {
  white-space: nowrap !important;
}

body.ai-chat-layout-constrained .elementor-location-header,
body.ai-chat-layout-constrained div[data-elementor-type="header"],
body.ai-chat-layout-constrained header,
body.ai-chat-layout-constrained .site-header {
  width: calc(100vw - var(--ai-chat-docked-width, 50vw)) !important;
  max-width: calc(100vw - var(--ai-chat-docked-width, 50vw)) !important;
  overflow: visible !important;
}

body.ai-chat-layout-constrained .elementor,
body.ai-chat-layout-constrained [data-elementor-type],
body.ai-chat-layout-constrained .elementor-section-wrap,
body.ai-chat-layout-constrained .elementor-top-section,
body.ai-chat-layout-constrained .elementor-section,
body.ai-chat-layout-constrained main,
body.ai-chat-layout-constrained .site-main {
  width: calc(100vw - var(--ai-chat-docked-width, 50vw)) !important;
  max-width: calc(100vw - var(--ai-chat-docked-width, 50vw)) !important;
}

body.ai-chat-layout-constrained .elementor-section:has(.elementor-nav-menu) > .elementor-container,
body.ai-chat-layout-constrained header .elementor-container,
body.ai-chat-layout-constrained div[data-elementor-type="header"] .elementor-container {
  width: 100% !important;
  max-width: none !important;
  min-height: 72px !important;
  padding-inline: 24px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}

body.ai-chat-layout-constrained .elementor-section:has(.elementor-nav-menu) .elementor-column,
body.ai-chat-layout-constrained header .elementor-column,
body.ai-chat-layout-constrained div[data-elementor-type="header"] .elementor-column {
  width: auto !important;
  min-width: 0 !important;
  flex: 0 1 auto !important;
}

body.ai-chat-layout-constrained .elementor-section:has(.elementor-nav-menu) .elementor-column:has(.elementor-nav-menu),
body.ai-chat-layout-constrained header .elementor-column:has(.elementor-nav-menu),
body.ai-chat-layout-constrained div[data-elementor-type="header"] .elementor-column:has(.elementor-nav-menu) {
  order: initial !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

body.ai-chat-layout-constrained .elementor-widget-theme-site-logo,
body.ai-chat-layout-constrained .elementor-widget-image {
  max-width: 96px !important;
  flex: 0 0 auto !important;
}

body.ai-chat-layout-constrained .elementor-widget-theme-site-logo img,
body.ai-chat-layout-constrained .elementor-widget-image img,
body.ai-chat-layout-constrained header img,
body.ai-chat-layout-constrained .custom-logo {
  max-width: 92px !important;
  max-height: 44px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

body.ai-chat-layout-constrained .elementor-location-header .elementor-nav-menu--main,
body.ai-chat-layout-constrained .elementor-nav-menu--main,
body.ai-chat-layout-constrained header nav,
body.ai-chat-layout-constrained .site-navigation {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scrollbar-width: none !important;
}

body.ai-chat-layout-constrained .elementor-location-header .elementor-nav-menu--main::-webkit-scrollbar,
body.ai-chat-layout-constrained .elementor-nav-menu--main::-webkit-scrollbar,
body.ai-chat-layout-constrained header nav::-webkit-scrollbar,
body.ai-chat-layout-constrained .site-navigation::-webkit-scrollbar {
  display: none !important;
}

body.ai-chat-layout-constrained .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu,
body.ai-chat-layout-constrained .elementor-nav-menu--main .elementor-nav-menu,
body.ai-chat-layout-constrained header nav ul.menu,
body.ai-chat-layout-constrained .site-navigation ul.menu {
  width: auto !important;
  max-width: none !important;
  flex-wrap: nowrap !important;
  gap: 4px !important;
}

body.ai-chat-layout-constrained .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li,
body.ai-chat-layout-constrained .elementor-nav-menu--main .elementor-nav-menu > li,
body.ai-chat-layout-constrained header nav ul.menu > li,
body.ai-chat-layout-constrained .site-navigation ul.menu > li {
  flex: 0 0 auto !important;
}

body.ai-chat-layout-constrained .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > a,
body.ai-chat-layout-constrained .elementor-nav-menu--main .elementor-nav-menu > li > a,
body.ai-chat-layout-constrained header nav ul.menu > li > a,
body.ai-chat-layout-constrained .site-navigation ul.menu > li > a,
body.ai-chat-layout-constrained .inmo-bridge-app-item > a.elementor-item,
body.ai-chat-layout-constrained .inmo-bridge-app-item > a {
  padding-inline: 8px !important;
  font-size: 0.82rem !important;
  min-width: max-content !important;
}

body.ai-chat-layout-constrained .inmo-bridge-menu-item .inmo-bridge-icon-button,
body.ai-chat-layout-constrained .inmo-bridge-menu-item .user-profile {
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  justify-content: center !important;
}

body.ai-chat-layout-constrained .inmo-bridge-menu-item .user-profile > span:not(.user-profile__avatar),
body.ai-chat-layout-constrained .inmo-bridge-menu-item .inmo-bridge-user__chevron {
  display: none !important;
}

body.ai-chat-layout-constrained .inmo-bridge-menu-item .user-profile__avatar {
  width: 30px !important;
  height: 30px !important;
}

body.ai-chat-layout-constrained .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > .inmo-bridge-user-item,
body.ai-chat-layout-constrained .elementor-nav-menu--main .elementor-nav-menu > .inmo-bridge-user-item,
body.ai-chat-layout-constrained header nav ul.menu > .inmo-bridge-user-item,
body.ai-chat-layout-constrained .site-navigation ul.menu > .inmo-bridge-user-item {
  margin-left: 4px !important;
}

body.ai-chat-layout-constrained .elementor-container,
body.ai-chat-layout-constrained .elementor-widget-wrap {
  max-width: 100% !important;
}

body.ai-chat-layout-constrained .elementor-section .elementor-container {
  width: 100% !important;
}

body.ai-chat-layout-constrained .elementor-widget-heading h1,
body.ai-chat-layout-constrained .elementor-widget-heading h2,
body.ai-chat-layout-constrained .entry-title {
  overflow-wrap: anywhere !important;
}

body.ai-chat-layout-constrained .elementor-widget-heading h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.25rem) !important;
  line-height: 1.12 !important;
}

body.ai-chat-layout-constrained .elementor-widget-heading h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.55rem) !important;
  line-height: 1.16 !important;
}

body.ai-chat-layout-constrained .elementor-button,
body.ai-chat-layout-constrained .elementor-button-link {
  max-width: 100% !important;
  white-space: normal !important;
}

.inmo-bridge-menu-item {
  position: relative;
}

.inmo-bridge-menu-item a,
.inmo-bridge-menu-item button {
  font: inherit;
}

.inmo-bridge-menu-item .inmo-bridge-icon-button,
.inmo-bridge-menu-item .inmo-bridge-user__trigger,
.inmo-bridge-menu-item .inmo-bridge-user__action {
  margin: 0 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.inmo-bridge-toolbar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.inmo-bridge-icon-button,
.inmo-bridge-user__trigger {
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}

.inmo-bridge-icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 12px 26px -20px rgba(15, 23, 42, 0.45);
}

.inmo-bridge-menu-item .inmo-bridge-icon-button,
.inmo-bridge-menu-item .inmo-bridge-user__trigger {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  box-shadow: 0 14px 30px -22px rgba(15, 23, 42, 0.4) !important;
}

.inmo-bridge-icon-button__icon,
.inmo-bridge-user__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.inmo-bridge-icon-button__icon svg,
.inmo-bridge-user__icon svg,
.inmo-bridge-user__chevron svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.inmo-bridge-user {
  position: relative;
}

.inmo-bridge-user__trigger {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -22px rgba(15, 23, 42, 0.4);
  white-space: nowrap;
}

.inmo-bridge-user__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  flex: 0 0 auto;
}

.inmo-bridge-menu-item .inmo-bridge-user__icon {
  background: #0f172a !important;
  color: #ffffff !important;
}

.inmo-bridge-user__label {
  color: #0f172a;
  font-weight: 700;
  white-space: nowrap;
}

.inmo-bridge-app-item > a.elementor-item,
.inmo-bridge-app-item > a {
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu,
  .elementor-nav-menu--main .elementor-nav-menu,
  header nav ul.menu,
  .site-navigation ul.menu {
    gap: 6px;
  }

  .elementor-location-header .elementor-nav-menu--main .elementor-nav-menu > li > a,
  .elementor-nav-menu--main .elementor-nav-menu > li > a,
  header nav ul.menu > li > a,
  .site-navigation ul.menu > li > a,
  .inmo-bridge-app-item > a.elementor-item,
  .inmo-bridge-app-item > a {
    padding-inline: 10px !important;
    font-size: 0.96rem;
  }

  .inmo-bridge-toolbar {
    gap: 10px;
  }

  .inmo-bridge-user__trigger {
    min-height: 42px;
    padding: 4px 10px 4px 5px;
    gap: 8px;
  }

  .inmo-bridge-user__icon,
  .inmo-bridge-icon-button {
    width: 38px;
    height: 38px;
  }
}

.inmo-bridge-user__chevron {
  color: #64748b;
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}

.inmo-bridge-user-item.is-user-open .inmo-bridge-user__chevron {
  transform: rotate(180deg);
}

.inmo-bridge-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  display: none;
  z-index: 60;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 28px 60px -32px rgba(15, 23, 42, 0.45);
  white-space: normal;
}

.inmo-bridge-user__panel {
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
}

.inmo-bridge-user-item.is-user-open .inmo-bridge-user__panel,
.inmo-bridge-user-item.is-notifications-open .inmo-bridge-notifications__panel {
  display: grid;
  gap: 12px;
}

.inmo-bridge-user__panel-name {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.inmo-bridge-user__panel-email {
  color: #64748b;
  font-size: 0.84rem;
  margin-top: -6px;
  overflow-wrap: anywhere;
}

.inmo-bridge-user__notice {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #9a3412;
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.inmo-bridge-panel__group {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.inmo-bridge-panel__title {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.inmo-bridge-user__action {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 11px 14px;
  border: none;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  text-align: left;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  white-space: normal;
}

.inmo-bridge-user__action.is-ghost {
  background: #f8fafc;
  color: #0f172a;
}

.inmo-bridge-user__action.is-danger {
  color: #b91c1c;
  background: #fef2f2;
}

.inmo-bridge-menu-item .user-profile {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 5px 14px 5px 6px !important;
  border-radius: 999px !important;
  border: none !important;
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 14px 30px -22px rgba(15, 23, 42, 0.4) !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.inmo-bridge-menu-item .user-profile:hover {
  background: #ffffff !important;
  transform: translateY(-1px);
}

.inmo-bridge-menu-item .user-profile__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8fbcc6, #c4a63a) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(143, 188, 198, 0.3);
}

.inmo-bridge-menu-item .user-profile > span {
  font-weight: 700;
  color: #111827 !important;
  font-size: 0.95rem;
  white-space: nowrap;
}

.inmo-bridge-menu-item .user-profile__dropdown.inmo-bridge-user__panel {
  top: calc(100% + 12px);
  right: 0;
  width: 240px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.inmo-bridge-user-item.is-user-open .user-profile__dropdown.inmo-bridge-user__panel {
  display: block;
}

.inmo-bridge-menu-item .user-profile__dropdown-header {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inmo-bridge-menu-item .user-profile__dropdown-header strong {
  color: #333333;
  font-size: 0.95rem;
  line-height: 1.2;
}

.inmo-bridge-menu-item .user-profile__dropdown-header span {
  color: #999999;
  font-size: 0.8rem;
  line-height: 1.4;
}

.inmo-bridge-menu-item .user-profile__dropdown-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.06);
  margin: 8px;
}

.inmo-bridge-menu-item .user-profile__dropdown-section-title {
  padding: 4px 16px 2px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.inmo-bridge-menu-item .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  background: transparent !important;
  border: none !important;
  border-radius: 10px;
  color: #666666 !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: none !important;
}

.inmo-bridge-menu-item .dropdown-item i {
  width: 16px;
  text-align: center;
  font-size: 1rem;
  color: #8fbcc6;
}

.inmo-bridge-menu-item .dropdown-item:hover {
  background: rgba(0, 0, 0, 0.04) !important;
  color: #333333 !important;
}

.inmo-bridge-menu-item .dropdown-item--logout {
  color: #666666 !important;
}

.inmo-bridge-menu-item .dropdown-item--logout i {
  color: #ef4444;
}

.inmo-bridge-menu-item .dropdown-item--logout:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
}

.inmo-bridge-menu-item .badge {
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.inmo-bridge-menu-item .badge--admin {
  background: rgba(196, 166, 58, 0.15);
  color: #b3962f;
  border: 1px solid rgba(196, 166, 58, 0.25);
}

.inmo-bridge-menu-item .badge--user {
  background: rgba(143, 188, 198, 0.15);
  color: #7ab0bb;
  border: 1px solid rgba(143, 188, 198, 0.25);
}

.inmo-bridge-menu-item .inmo-bridge-user__notice {
  margin: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #9a3412;
  font-size: 0.82rem;
  line-height: 1.45;
}

.inmo-bridge-notifications {
  position: relative;
}

.inmo-bridge-notifications__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  box-shadow: 0 0 0 2px #fff;
}

.inmo-bridge-notifications__panel {
  width: min(360px, calc(100vw - 32px));
  padding: 14px;
  gap: 12px;
}

.inmo-bridge-notifications__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.inmo-bridge-notifications__header strong {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
}

.inmo-bridge-notifications__header span {
  color: #64748b;
  font-size: 0.8rem;
}

.inmo-bridge-notifications__clear {
  appearance: none;
  border: none;
  background: transparent;
  color: #2563eb;
  font-weight: 700;
  cursor: pointer;
}

.inmo-bridge-notifications__clear:disabled {
  color: #94a3b8;
  cursor: default;
}

.inmo-bridge-notifications__empty {
  padding: 18px 12px;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.88rem;
  text-align: center;
}

.inmo-bridge-notifications__list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}

.inmo-bridge-notifications__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.inmo-bridge-notifications__item.is-unread {
  border-color: rgba(37, 99, 235, 0.24);
  background: rgba(239, 246, 255, 0.62);
}

.inmo-bridge-notifications__main,
.inmo-bridge-notifications__dismiss {
  appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

.inmo-bridge-notifications__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  text-align: left;
  color: inherit;
}

.inmo-bridge-notifications__meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 800;
}

.inmo-bridge-notifications__content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.inmo-bridge-notifications__content strong {
  color: #0f172a;
  font-size: 0.88rem;
}

.inmo-bridge-notifications__content span,
.inmo-bridge-notifications__content small {
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.45;
}

.inmo-bridge-notifications__content small {
  color: #64748b;
}

.inmo-bridge-notifications__dismiss {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #94a3b8;
  font-size: 1rem;
}

.inmo-bridge-notifications__dismiss:hover {
  background: rgba(148, 163, 184, 0.14);
  color: #475569;
}

.inmo-bridge-modal[hidden] {
  display: none;
}

.inmo-bridge-open {
  overflow: hidden;
}

.inmo-bridge-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.inmo-bridge-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.inmo-bridge-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100vw - 32px));
  margin: 7vh auto 0;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 120px -40px rgba(15, 23, 42, 0.5);
}

.inmo-bridge-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #eef2f7;
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.inmo-bridge-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e6eef8;
  color: #0f4c81;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inmo-bridge-modal__title {
  margin: 16px 0 8px;
  color: #0f172a;
  font-size: 1.8rem;
  line-height: 1.1;
}

.inmo-bridge-modal__description {
  margin: 0 0 18px;
  color: #64748b;
}

.inmo-bridge-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.inmo-bridge-tabs__button {
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  cursor: pointer;
}

.inmo-bridge-tabs__button.is-active {
  background: #0f172a;
  color: #fff;
}

.inmo-bridge-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fee2e2;
  color: #991b1b;
  font-weight: 600;
}

.inmo-bridge-form {
  display: none;
  gap: 14px;
}

.inmo-bridge-form.is-active {
  display: grid;
}

.inmo-bridge-form label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 700;
}

.inmo-bridge-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #d6dde8;
  border-radius: 14px;
  background: #fff;
}

.inmo-bridge-form__submit {
  margin-top: 6px;
  padding: 14px 16px;
  border: none;
  border-radius: 14px;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.inmo-bridge-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Hide the legacy Joinchat/WhatsApp widget on WordPress pages. */
.joinchat {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1024px) {
  .inmo-bridge-user__label,
  .inmo-bridge-app-item {
    font-size: 0.92rem;
  }
}

@media (max-width: 767px) {
  .inmo-bridge-toolbar {
    gap: 8px;
  }

  .inmo-bridge-panel {
    right: 0;
    left: auto;
  }

  .inmo-bridge-user__panel,
  .inmo-bridge-notifications__panel {
    width: min(320px, calc(100vw - 32px));
  }

  .inmo-bridge-user__trigger {
    padding-right: 8px;
  }

  .inmo-bridge-user__label {
    display: none;
  }

  .inmo-bridge-modal__dialog {
    margin-top: 24px;
    padding: 22px;
  }
}
