:export {
  colors-jf-primary: #7c7bfd;
  colors-jf-primary-light25: #9d9cfe;
  colors-jf-white: #fff;
  colors-jf-black: #1e2021;
  colors-jf-secondary: #8976f4;
  colors-jf-danger: #f64e60;
  colors-jf-black2: #595d73;
  colors-jf-light: #e6e6e6;
  colors-jf-light2: #f5f5f7;
  colors-jf-like: #fb3761;
  colors-jf-green: #00c750;
  colors-jf-fox: #23d2e2;
  colors-jf-light3: #e5e5e5;
  colors-jf-light4: #c4c4c4;
  colors-jf-inputbg: #f3f6f9;
  colors-jf-hover: #8976f4;
  colors-jf-body: #eef0f8;
  colors-jf-text: #494b74;
  colors-jf-extralight: #f8f9ff;
  colors-jf-pagination: #ecf1f6;
  colors-jf-headertext: #6c7293;
}

.ib-content {
  background-color: #fff;
  border-radius: .625rem;
  flex-direction: column;
  flex: 1;
  gap: 1.25rem;
  width: 100%;
  min-height: 0;
  margin-top: .5rem;
  padding: 1.875rem;
  font-size: 1rem;
  display: flex;
}

.ib-view {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.ib-header-alert {
  text-align: center;
  border-radius: .5rem;
  align-self: center;
  align-items: center;
  gap: .625rem;
  max-width: min(720px, 100%);
  margin: 0 auto .5rem;
  padding: .5rem .75rem;
  font: 500 1rem / 1.35 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-header-alert--error {
  color: #dc2626;
  background: #ef44441a;
  border: 1px solid #ef444440;
}

.ib-header-alert--ok {
  color: #059669;
  background: #00c7501a;
  border: 1px solid #00c75040;
}

.ib-header-alert span {
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.ib-banner {
  border-radius: .5rem;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem .875rem;
  font: 500 1rem / 1.4 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-banner--error {
  color: #dc2626;
  background: #ef444414;
  border: 1px solid #ef444433;
}

.ib-banner--ok {
  color: #059669;
  background: #00c75014;
  border: 1px solid #00c75033;
}

.ib-banner-dismiss {
  color: inherit;
  cursor: pointer;
  opacity: .7;
  background: none;
  border: 0;
  padding: 0 .25rem;
  font-size: 1.125rem;
  line-height: 1;
}

.ib-banner-dismiss:hover {
  opacity: 1;
}

.ib-challenge-card {
  background: #f59e0b0f;
  border-color: #f59e0b73;
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.ib-challenge-head {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.ib-challenge-title {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-challenge-msg {
  color: #595d73;
  margin: 0;
  font-size: 1rem;
}

.ib-challenge-form {
  flex-wrap: wrap;
  gap: .625rem;
  display: flex;
}

.ib-challenge-form input {
  letter-spacing: .12em;
  text-align: center;
  border: 1px solid #f59e0b73;
  border-radius: .5rem;
  flex: 1;
  min-width: 10rem;
  max-width: 17.5rem;
  height: 2.625rem;
  padding: 0 .75rem;
  font: 600 1.125rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  padding: 1.125rem 1.25rem;
}

.ib-card-header {
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .875rem;
  display: flex;
}

.ib-card-header h2 {
  color: #595d73;
  margin: 0;
  font: 600 1.125rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-health-strip {
  background: #b0b3c60f;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  flex-wrap: wrap;
  align-items: center;
  gap: .875rem 1.25rem;
  padding: .875rem 1.125rem;
  display: flex;
}

.ib-health-stat {
  flex-direction: column;
  gap: .25rem;
  min-width: 4.5rem;
  display: flex;
}

.ib-health-stat strong {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-health-stat--bad {
  color: #dc2626;
}

.ib-health-badges {
  flex-wrap: wrap;
  gap: .375rem;
  margin-left: auto;
  display: flex;
}

.ib-status-card {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-status-main {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.ib-status-row {
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  margin-top: .375rem;
  display: flex;
}

.ib-exit-bad {
  color: #dc2626;
  background: #ef44441a;
  border: 1px solid #ef444440;
  border-radius: .375rem;
  align-items: center;
  height: 1.5rem;
  padding: 0 .625rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-label {
  text-transform: uppercase;
  letter-spacing: .04em;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-muted {
  font-size: 1rem;
}

.ib-strong {
  color: #595d73;
  font-weight: 600;
}

.ib-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
}

.ib-hint {
  color: #b45309;
  background: #f59e0b14;
  border: 1px solid #f59e0b40;
  border-radius: .5rem;
  margin-bottom: .875rem;
  padding: .625rem .75rem;
  font: 500 1rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-config-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .625rem;
  display: grid;
}

.ib-config-grid > div {
  background: #b0b3c614;
  border-radius: .5rem;
  flex-direction: column;
  gap: .25rem;
  padding: .625rem .75rem;
  display: flex;
}

.ib-config-grid > div strong {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-pill {
  text-transform: lowercase;
  border-radius: .375rem;
  align-items: center;
  height: 1.5rem;
  padding: 0 .625rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-pill--ok {
  color: #00c750;
  background: #00c7501a;
  border: 1px solid #00c75040;
}

.ib-pill--warn {
  color: #d97706;
  background: #f59e0b1a;
  border: 1px solid #f59e0b40;
}

.ib-pill--danger {
  color: #dc2626;
  background: #ef44441a;
  border: 1px solid #ef444440;
}

.ib-pill--muted {
  color: #8b90a5;
  background: #b0b3c626;
  border: 1px solid #b0b3c64d;
}

.ib-pill--inline {
  vertical-align: middle;
  height: 1.125rem;
  margin-left: .375rem;
  padding: 0 .375rem;
  font-size: 1rem;
}

.ib-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  display: grid;
}

@media (max-width: 1100px) {
  .ib-grid {
    grid-template-columns: 1fr;
  }
}

.ib-form {
  border-bottom: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.125rem;
  padding-bottom: 1.125rem;
  display: flex;
}

.ib-form-title {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-form-row {
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  display: grid;
}

@media (max-width: 700px) {
  .ib-form-row {
    grid-template-columns: 1fr;
  }
}

.ib-form label {
  color: #595d73;
  flex-direction: column;
  gap: .375rem;
  font: 500 1rem / 1.2 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-form label input {
  color: #595d73;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-form label input:disabled {
  background: #b0b3c61a;
}

.ib-form label input:focus {
  border-color: #7c7bfd;
  outline: none;
}

.ib-form-label-row {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .375rem;
  display: inline-flex;
}

.ib-form-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-table {
  flex-direction: column;
  gap: .125rem;
  display: flex;
}

.ib-table__head, .ib-table__row {
  grid-template-columns: 1.3fr 1fr .7fr 1.1fr .8fr .55fr 1.3fr;
  align-items: center;
  gap: .5rem;
  padding: .625rem .5rem;
  display: grid;
}

.ib-table__head {
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid #e6e6e6;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-table__row {
  border-radius: .5rem;
}

.ib-table__row:hover {
  background: #b0b3c614;
}

.ib-row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  display: flex;
}

.ib-link {
  cursor: pointer;
  color: #595d73;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  text-decoration: underline;
}

.ib-link:disabled {
  opacity: .4;
  cursor: not-allowed;
  text-decoration: none;
}

.ib-link--danger {
  color: #dc2626;
}

a.ib-link {
  align-items: center;
  display: inline-flex;
}

.ib-empty {
  padding: 1.5rem .5rem;
  font-size: 1rem;
}

.ib-empty--dark {
  color: #8b90a5;
}

.ib-logs-card {
  flex-direction: column;
  min-height: 26.25rem;
  display: flex;
}

.ib-logs-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.ib-log-sources {
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  gap: .375rem;
  margin-bottom: .25rem;
  padding: .25rem 0 .625rem;
  display: flex;
  overflow-x: auto;
}

.ib-log-source {
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 1px solid #b0b3c659;
  border-radius: .5rem;
  flex: none;
  padding: .375rem .75rem;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-log-source--active {
  color: #595d73;
  background: #b0b3c62e;
  border-color: #b0b3c68c;
}

.ib-logs {
  color: #d7dcec;
  background: #0f1220;
  border-radius: .625rem;
  flex: 1;
  max-height: 35rem;
  padding: .75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.45;
  overflow: auto;
}

.ib-log-line {
  grid-template-columns: 4.5rem 1fr;
  gap: .625rem;
  padding: .125rem 0;
  display: grid;
}

.ib-log-line--err .ib-log-text {
  color: #fca5a5;
}

.ib-log-line--warn .ib-log-text {
  color: #fcd34d;
}

.ib-log-at {
  color: #8b90a5;
}

.ib-log-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.ib-subnav {
  border-bottom: 1px solid #e6e6e6;
  gap: .25rem;
  margin-bottom: -.375rem;
  display: flex;
}

.ib-subnav__link {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: 0;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: .5rem;
  margin-bottom: -1px;
  padding: .625rem 1rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  text-decoration: none;
  transition: color .15s, border-color .15s;
  display: inline-flex;
}

.ib-subnav__link:hover {
  color: #7c7bfd;
}

.ib-subnav__link--active {
  color: #7c7bfd;
  border-bottom-color: #7c7bfd;
  font-family: DM Sans, system-ui, sans-serif;
}

.ib-subnav__badge {
  color: #fff;
  text-align: center;
  background: #7c7bfd;
  border-radius: .625rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .375rem;
  font: 600 1rem / 1.25rem DM Sans, system-ui, sans-serif;
}

.ib-tabs {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.ib-tab-btn {
  color: #595d73;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  align-items: center;
  gap: .4375rem;
  height: 2.625rem;
  padding: 0 1.125rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  transition: background .15s, color .15s, border-color .15s;
  display: inline-flex;
}

.ib-tab-btn--active {
  color: #fff;
  background: #7c7bfd;
  border-color: #7c7bfd;
  font-family: DM Sans, system-ui, sans-serif;
}

.ib-tab-btn:hover:not(.ib-tab-btn--active) {
  color: #7c7bfd;
  background: #7c7bfd12;
  border-color: #7c7bfd4d;
}

.ib-tab-badge {
  color: #fff;
  background: #f64e60;
  border-radius: .5625rem;
  justify-content: center;
  align-items: center;
  min-width: 1.125rem;
  height: 1.125rem;
  margin-left: .125rem;
  padding: 0 .3125rem;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-tab-btn--active .ib-tab-badge {
  background: #ffffff47;
}

.ib-followers-view {
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex: 1;
  height: 100%;
  min-height: 30rem;
  display: flex;
  overflow: hidden;
}

.ib-flw-users {
  background: #fff;
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  flex-shrink: 0;
  width: 18.75rem;
  display: flex;
}

.ib-flw-users__header {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid #f8f9ff;
  flex-shrink: 0;
  padding: 1rem 1.125rem;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-flw-users__items {
  flex: 1;
  overflow-y: auto;
}

.ib-flw-user-item {
  cursor: pointer;
  border-bottom: 1px solid #f8f9ff;
  align-items: center;
  gap: .625rem;
  padding: .75rem 1rem;
  transition: background .12s;
  display: flex;
}

.ib-flw-user-item:hover {
  background: #f8f9ff;
}

.ib-flw-user-item--active {
  background: #7c7bfd14;
}

.ib-flw-user-item__body {
  flex-direction: column;
  flex: 1;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-flw-user-item__username {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-flw-user-item__fullname {
  color: #595d73;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-flw-panel {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.ib-flw-panel__header {
  border-bottom: 1px solid #e6e6e6;
  flex-shrink: 0;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.25rem;
  display: flex;
}

.ib-flw-panel__header-info {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-flw-panel__username {
  color: #1e2021;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-flw-panel__count {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-flw-panel__list {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  padding: .75rem;
  display: flex;
  overflow-y: auto;
}

.ib-follower-card {
  border-radius: .625rem;
  align-items: center;
  gap: .75rem;
  padding: .625rem .75rem;
  transition: background .12s;
  display: flex;
}

.ib-follower-card:hover {
  background: #f8f9ff;
}

.ib-follower-card__info {
  flex-direction: column;
  flex: 1;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-follower-card__top {
  align-items: center;
  gap: .375rem;
  display: flex;
}

.ib-follower-card__username {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 500 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-follower-card__fullname {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-follower-card__time {
  color: #595d73;
  flex-shrink: 0;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-logs-view {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-logs-modes {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-logs-mode {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  height: 2.125rem;
  padding: 0 .875rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-logs-mode--active {
  color: #7c7bfd;
  background: #7c7bfd1a;
  border-color: #7c7bfd59;
}

.ib-audit-list {
  flex-direction: column;
  gap: .625rem;
  padding: .25rem 0;
  display: flex;
}

.ib-audit-card {
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  flex-direction: column;
  gap: .375rem;
  padding: .75rem .875rem;
  display: flex;
}

.ib-audit-card__top {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.ib-audit-card__meta {
  color: #595d73;
  flex-wrap: wrap;
  gap: .625rem;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-audit-card__detail {
  color: #1e2021;
  white-space: pre-wrap;
  word-break: break-word;
  font: 400 1rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-warmup-hint {
  margin: 0 0 .75rem;
  padding: 0 .125rem;
  font: 400 .9375rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-table--accounts .ib-table__head, .ib-table--accounts .ib-table__row {
  grid-template-columns: 1.2fr 1.4fr 1.1fr .9fr 1.6fr;
  align-items: start;
}

.ib-account-list {
  flex-direction: column;
  gap: .75rem;
  margin-top: .5rem;
  display: flex;
}

.ib-account-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  flex-direction: column;
  gap: .75rem;
  padding: .875rem 1rem;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
}

.ib-account-card:hover {
  border-color: #b0b3c68c;
  box-shadow: 0 1px 4px #0f0f0f0a;
}

.ib-account-card__top {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.ib-account-card__identity {
  align-items: center;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.ib-account-card__avatar {
  color: #595d73;
  background: #b0b3c62e;
  border-radius: .75rem;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-account-card__names {
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
  display: flex;
}

.ib-account-card__title {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  display: flex;
}

.ib-account-card__login {
  cursor: pointer;
  color: #595d73;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-account-card__login:hover {
  color: #7c7bfd;
  text-underline-offset: 2px;
  text-decoration: underline;
}

.ib-account-card__ig {
  color: #7c7bfd;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  text-decoration: none;
}

.ib-account-card__ig:hover {
  text-underline-offset: 2px;
  text-decoration: underline;
}

.ib-account-card__meta-line {
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  display: flex;
}

.ib-account-card__stats {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: .5rem;
  display: grid;
}

.ib-account-card__ticks {
  flex-wrap: wrap;
  gap: .625rem .875rem;
  font-size: 1rem;
  display: flex;
}

.ib-account-card__actions {
  border-top: 1px solid #b0b3c633;
  flex-wrap: wrap;
  gap: .625rem .75rem;
  padding-top: .25rem;
  display: flex;
}

.ib-account-stat {
  background: #b0b3c614;
  border-radius: .5rem;
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  padding: .5rem .625rem;
  display: flex;
}

.ib-account-stat__label {
  text-transform: uppercase;
  letter-spacing: .04em;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-account-stat strong {
  color: #595d73;
  font: 700 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-account-stat .ib-muted {
  font-size: 1rem;
}

.ib-account-stat--bad {
  background: #ef444414;
}

.ib-account-stat--bad strong {
  color: #dc2626;
}

.ib-flag-pills {
  flex-wrap: wrap;
  gap: .25rem;
  display: flex;
}

.ib-account-error {
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #dc2626;
  max-width: 100%;
  font-size: 1rem;
  display: block;
  overflow: hidden;
}

.ib-failed-count {
  color: #dc2626;
  font-weight: 600;
}

.ib-accounts-view {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-accounts-toolbar {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.ib-accounts-count {
  color: #595d73;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table {
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  overflow: visible;
}

.ib-accounts-table__header {
  background: #f8f9ff;
  border-bottom: 1px solid #7c7bfd1f;
  grid-template-columns: 4.375rem 1.2fr 1.2fr 1fr 1fr 1.4fr 4rem 4rem;
  gap: .75rem;
  padding: .75rem 1.25rem;
  display: grid;
}

.ib-accounts-table__header span {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__row {
  border-bottom: 1px solid #f8f9ff;
  grid-template-columns: 4.375rem 1.2fr 1.2fr 1fr 1fr 1.4fr 4rem 4rem;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  transition: background .12s;
  display: grid;
}

.ib-accounts-table__row:last-child {
  border-bottom: none;
}

.ib-accounts-table__row:hover {
  background: #f8f9ff;
}

.ib-accounts-table__cell {
  color: #1e2021;
  align-items: center;
  gap: .375rem;
  min-width: 0;
  font: 400 1rem / 1.25rem DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-accounts-table__cell--user {
  flex-direction: column;
  align-items: flex-start;
  gap: .125rem;
}

.ib-accounts-table__cell--password {
  font-family: monospace;
}

.ib-accounts-table__cell--proxy {
  flex-wrap: wrap;
}

.ib-accounts-table__cell--flags {
  flex-wrap: wrap;
  gap: .25rem;
}

.ib-accounts-table__cell--center {
  justify-content: center;
}

.ib-accounts-table__cell--actions {
  justify-content: center;
  position: relative;
}

.ib-accounts-table__eye-btn {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: none;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.ib-accounts-table__eye-btn:hover {
  color: #7c7bfd;
}

.ib-accounts-table__username-btn {
  color: #1e2021;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font: 500 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__username-btn:hover {
  color: #7c7bfd;
}

.ib-accounts-table__ig {
  color: #7c7bfd;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  text-decoration: none;
}

.ib-accounts-table__ig:hover {
  text-decoration: underline;
}

.ib-accounts-table__log-btn, .ib-accounts-table__log-ok, .ib-accounts-table__gear-btn {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: .25rem;
  display: inline-flex;
}

.ib-accounts-table__log-btn:hover, .ib-accounts-table__log-ok:hover, .ib-accounts-table__gear-btn:hover {
  color: #7c7bfd;
}

.ib-accounts-table__log-btn {
  color: #d97706;
}

.ib-accounts-table__log-ok {
  color: #00c750;
}

.ib-accounts-table__gear-wrap {
  position: relative;
}

.ib-accounts-table__menu {
  z-index: 5;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  flex-direction: column;
  min-width: 10rem;
  padding: .375rem;
  display: flex;
  position: absolute;
  top: 100%;
  right: 0;
  box-shadow: 0 8px 24px #0f0f0f1f;
}

.ib-accounts-table__menu button {
  text-align: left;
  color: #1e2021;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: .375rem;
  padding: .5rem .625rem;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__menu button:hover:not(:disabled) {
  background: #f8f9ff;
}

.ib-accounts-table__menu button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ib-accounts-table__menu-danger {
  color: #dc2626 !important;
}

.ib-accounts-table__empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.ib-accounts-table__empty-title {
  color: #1e2021;
  margin-bottom: .375rem;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__empty-text {
  color: #595d73;
  font: 400 1rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-proxy-badge {
  color: #7c7bfd;
  text-transform: uppercase;
  background: #7c7bfd1a;
  border-radius: 1.25rem;
  align-items: center;
  padding: .125rem .5rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-progress-view {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-progress-health {
  margin: 0;
}

.ib-progress-toolbar {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.ib-progress-actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.ib-progress-toggle {
  gap: .375rem;
}

.ib-progress-row-toggle {
  justify-content: center;
  gap: .25rem;
  min-width: 5.25rem;
}

.ib-progress-table {
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  overflow: hidden;
}

.ib-progress-table__header {
  background: #f8f9ff;
  border-bottom: 1px solid #7c7bfd1f;
  grid-template-columns: 1.5fr 1.5fr .7fr .7fr .9fr 1.1fr 6rem;
  gap: .75rem;
  padding: .75rem 1.25rem;
  display: grid;
}

.ib-progress-table__header span {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-progress-table__row {
  border-bottom: 1px solid #f8f9ff;
  grid-template-columns: 1.5fr 1.5fr .7fr .7fr .9fr 1.1fr 6rem;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  transition: background .12s;
  display: grid;
}

.ib-progress-table__row:last-child {
  border-bottom: none;
}

.ib-progress-table__row:hover {
  background: #f8f9ff;
}

.ib-progress-table__cell {
  color: #1e2021;
  align-items: center;
  gap: .375rem;
  min-width: 0;
  font: 400 1rem / 1.25rem DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-progress-table__cell--account {
  flex-direction: row;
  align-items: center;
  gap: .625rem;
}

.ib-progress-table__cell--progress {
  flex-direction: column;
  align-items: stretch;
  gap: .375rem;
}

.ib-progress-table__cell--center {
  text-align: center;
  justify-content: center;
}

.ib-progress-table__cell--stack {
  flex-direction: column;
  gap: .125rem;
}

.ib-progress-table__cell--messages {
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
}

.ib-progress-table__message-deltas {
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  display: flex;
}

.ib-progress-table__account-info {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-progress-table__username {
  color: #1e2021;
  font: 500 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-progress-table__fullname {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-progress-table__action {
  color: #595d73;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font: 400 .8125rem / 1.35 DM Sans, system-ui, sans-serif;
  display: -webkit-box;
  overflow: hidden;
}

.ib-progress-table__delta {
  color: #00c750;
  white-space: nowrap;
  background: #00c7501f;
  border-radius: 1.25rem;
  align-items: center;
  padding: .0625rem .5rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-progress-table__delta--reply {
  color: #7c7bfd;
  background: #7c7bfd1f;
}

.ib-progress-bar {
  background: #f8f9ff;
  border-radius: .375rem;
  width: 100%;
  height: .5rem;
  overflow: hidden;
}

.ib-progress-bar__fill {
  background: #7c7bfd;
  border-radius: .375rem;
  height: 100%;
  transition: width .3s;
}

.ib-progress-bar__fill--ok {
  background: #00c750;
}

.ib-progress-bar__fill--warn {
  background: #d97706;
}

.ib-progress-bar__fill--danger {
  background: #dc2626;
}

.ib-progress-bar__fill--muted {
  opacity: .45;
  background: #595d73;
}

.ib-inbox {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  grid-template-columns: minmax(200px, .85fr) minmax(220px, 1fr) minmax(0, 1.4fr);
  gap: .75rem;
  min-height: 32.5rem;
  display: grid;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .ib-inbox {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.ib-inbox-col-title {
  color: #595d73;
  border-bottom: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .25rem;
  padding: .875rem .875rem .625rem;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-inbox-accounts, .ib-inbox-threads {
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  min-height: 0;
  max-height: 40rem;
  display: flex;
  overflow: auto;
}

@media (max-width: 1100px) {
  .ib-inbox-accounts, .ib-inbox-threads {
    border-bottom: 1px solid #e6e6e6;
    border-right: 0;
    max-height: 17.5rem;
  }
}

.ib-account-chip {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #b0b3c626;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .75rem .875rem;
  display: grid;
}

.ib-account-chip:hover, .ib-account-chip--active {
  background: #b0b3c61a;
}

.ib-account-chip__avatar, .ib-thread-row__avatar {
  color: #595d73;
  background: #b0b3c633;
  border-radius: .625rem;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-account-chip__body, .ib-thread-row__body {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-account-chip__meta {
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  display: flex;
}

.ib-inbox-filters {
  grid-template-columns: 1fr auto;
  gap: .5rem;
  padding: .625rem .75rem 0;
  display: grid;
}

.ib-inbox-filters input, .ib-inbox-filters select {
  color: #595d73;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  height: 2.25rem;
  padding: 0 .625rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-inbox-filters select {
  min-width: 7.5rem;
}

.ib-new-dm {
  padding: .625rem .75rem;
}

.ib-new-dm input {
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  height: 2.25rem;
  padding: 0 .625rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-thread-list {
  flex-direction: column;
  display: flex;
}

.ib-thread-row {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #b0b3c61f;
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .75rem .875rem;
  display: grid;
}

.ib-thread-row:hover, .ib-thread-row--active {
  background: #b0b3c61a;
}

.ib-thread-row--follower {
  opacity: .92;
}

.ib-thread-row__top {
  justify-content: space-between;
  gap: .5rem;
  display: flex;
}

.ib-thread-row__preview {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1rem;
  overflow: hidden;
}

.ib-inbox-chat {
  flex-direction: column;
  min-height: 26.25rem;
  max-height: 40rem;
  display: flex;
}

.ib-chat-header {
  border-bottom: 1px solid #e6e6e6;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  display: flex;
}

.ib-contact-settings-trigger-wrap {
  flex-shrink: 0;
}

.ib-chat__header-actions {
  flex-shrink: 0;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  display: flex;
}

.ib-takeover-toggle {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 62.4375rem;
  align-items: center;
  gap: .5rem;
  height: 2.25rem;
  padding: 0 .75rem 0 .625rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
  display: inline-flex;
}

.ib-takeover-toggle:hover:not(:disabled) {
  color: #7c7bfd;
  border-color: #7c7bfd73;
}

.ib-takeover-toggle:disabled {
  opacity: .55;
  cursor: default;
}

.ib-takeover-toggle__indicator {
  background: #7c7bfd;
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-takeover-toggle--manual {
  color: #7c7bfd;
  background: #7c7bfd1a;
  border-color: #7c7bfd59;
}

.ib-takeover-toggle--manual .ib-takeover-toggle__indicator {
  background: #c2410c;
  box-shadow: 0 0 0 3px #c2410c2e;
}

.ib-contact-settings-btn {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  transition: background .12s, border-color .12s, color .12s;
  display: inline-flex;
}

.ib-contact-settings-btn:hover {
  color: #7c7bfd;
  background: #b0b3c61f;
  border-color: #b0b3c68c;
}

.ib-contact-settings {
  text-align: left;
  flex-direction: column;
  gap: .875rem;
  width: 20rem;
  max-width: 90vw;
  padding: .875rem;
  display: flex;
}

.ib-contact-settings__head {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.ib-contact-settings__title {
  color: #1e2021;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__subtitle {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__label {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__actions {
  border-top: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .5rem;
  padding-top: .25rem;
  display: flex;
}

.ib-contact-settings__action {
  text-align: left;
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  width: 100%;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  transition: background .12s, border-color .12s, color .12s;
}

.ib-contact-settings__action:hover:not(:disabled) {
  color: #7c7bfd;
  background: #f8f9ff;
  border-color: #7c7bfd59;
}

.ib-contact-settings__action:disabled {
  opacity: .5;
  cursor: default;
}

.ib-contact-settings__action--danger:hover:not(:disabled) {
  color: #dc2626;
  background: #dc26260f;
  border-color: #dc262659;
}

.ib-contact-settings__prompt {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.ib-contact-settings__prompt textarea {
  resize: vertical;
  color: #1e2021;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  width: 100%;
  min-height: 5.25rem;
  padding: .625rem .75rem;
  font: 400 1rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__prompt textarea:focus {
  border-color: #7c7bfd8c;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd1a;
}

.ib-contact-settings__hint {
  color: #595d73;
  margin: 0;
  font: 400 1rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-failed-outbound {
  background: #ef44440d;
  border-bottom: 1px solid #ef444433;
  flex-direction: column;
  gap: .5rem;
  padding: .625rem .875rem;
  display: flex;
}

.ib-failed-outbound__title {
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: .03em;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-failed-outbound__row {
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.ib-failed-outbound__text {
  color: #595d73;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1rem;
}

.ib-failed-outbound__actions {
  flex-shrink: 0;
  gap: .625rem;
  display: flex;
}

.ib-scheduled-popup {
  flex-direction: column;
  gap: .75rem;
  min-width: 17.5rem;
  display: flex;
}

.ib-scheduled-popup__when {
  color: #595d73;
  margin: 0;
}

.ib-scheduled-popup__preview {
  color: #6a6d8a;
  white-space: pre-wrap;
  background: #b0b3c61f;
  border-radius: .5rem;
  padding: .625rem .75rem;
}

.ib-scheduled-popup__actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-scheduled-popup__form {
  flex-direction: column;
  gap: .625rem;
  display: flex;
}

.ib-scheduled-popup__form textarea, .ib-scheduled-popup__form input[type="datetime-local"] {
  width: 100%;
}

.ib-scheduled-popup__label {
  flex-direction: column;
  gap: .375rem;
  font: 500 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-preview-panel {
  background: #b0b3c614;
  border: 1px dashed #b0b3c68c;
  border-radius: .5rem;
  margin: 0 .875rem;
  padding: .625rem .75rem;
}

.ib-preview-panel__head {
  justify-content: space-between;
  align-items: center;
  gap: .625rem;
  margin-bottom: .375rem;
  display: flex;
}

.ib-preview-panel__actions {
  gap: .625rem;
  display: flex;
}

.ib-preview-panel__text {
  color: #595d73;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1rem;
}

.ib-chat-messages {
  background: #b0b3c60d;
  flex-direction: column;
  flex: 1;
  gap: .625rem;
  padding: 1rem;
  display: flex;
  overflow: auto;
}

.ib-bubble {
  white-space: pre-wrap;
  word-break: break-word;
  border: 0;
  border-radius: .75rem;
  flex-direction: column;
  gap: .25rem;
  max-width: 78%;
  padding: .625rem .875rem;
  font: 400 1rem / 1.5rem DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-bubble--me {
  color: #fff;
  background: #7c7bfd;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

.ib-bubble--admin {
  color: #fff;
  background: #128a96;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

.ib-bubble--them {
  color: #494b74;
  background: #f0efff;
  border-radius: 4px 16px 16px;
  align-self: flex-start;
}

.ib-bubble--queued {
  color: #595d73;
  opacity: .9;
  background: #b0b3c633;
  border: 1px dashed #b0b3c68c;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

.ib-bubble__text {
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  color: inherit;
}

.ib-bubble__meta {
  color: inherit;
  opacity: .8;
  font-size: 1rem;
}

.ib-bubble__media-link {
  line-height: 0;
  display: block;
}

.ib-bubble__media {
  object-fit: contain;
  background: #0000000a;
  border-radius: .5rem;
  max-width: 100%;
  max-height: 17.5rem;
  display: block;
}

.ib-voice-note {
  align-items: center;
  gap: .5rem;
  min-width: 8.75rem;
  padding: .25rem .125rem;
  display: flex;
}

.ib-voice-note__bars {
  align-items: flex-end;
  gap: 2px;
  height: 1.125rem;
  display: flex;
}

.ib-voice-note__bars i {
  opacity: .85;
  background: currentColor;
  border-radius: 1px;
  width: 3px;
  margin: 0;
  display: block;
}

.ib-voice-note__bars i:first-child {
  height: 40%;
}

.ib-voice-note__bars i:nth-child(2) {
  height: 80%;
}

.ib-voice-note__bars i:nth-child(3) {
  height: 55%;
}

.ib-voice-note__bars i:nth-child(4) {
  height: 95%;
}

.ib-voice-note__bars i:nth-child(5) {
  height: 65%;
}

.ib-voice-note__label {
  font-size: .8125rem;
  font-weight: 600;
}

.ib-voice-note__audio {
  width: 10rem;
  height: 2rem;
}

.ib-chat-compose {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem .875rem .625rem;
  display: flex;
}

.ib-compose-bar {
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.ib-compose-input-wrap {
  flex: 1;
  min-width: 0;
}

.ib-compose-input-wrap textarea {
  resize: none;
  color: #595d73;
  background: #fff;
  border: 1.5px solid #e6e6e6;
  border-radius: 1.375rem;
  width: 100%;
  min-height: 2.75rem;
  max-height: 8.75rem;
  padding: .6875rem 1rem;
  font: 400 1rem / 1.35 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s;
  display: block;
  box-shadow: 0 1px 2px #0f0f0f0a;
}

.ib-compose-input-wrap textarea:focus {
  border-color: #7c7bfd8c;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd1a;
}

.ib-compose-input-wrap textarea:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ib-compose-icon-btn, .ib-compose-send {
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s, opacity .15s;
  display: inline-flex;
}

.ib-compose-icon-btn:disabled, .ib-compose-send:disabled {
  opacity: .45;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.ib-compose-icon-btn {
  color: #595d73;
  background: #fff;
  border: 1.5px solid #e6e6e6;
  position: relative;
}

.ib-compose-icon-btn:hover:not(:disabled) {
  color: #7c7bfd;
  background: #b0b3c61f;
  border-color: #7c7bfd4d;
  transform: translateY(-1px);
}

.ib-compose-icon-btn--active {
  color: #7c7bfd;
  background: #7c7bfd14;
  border-color: #7c7bfd4d;
}

.ib-compose-icon-btn__dot {
  pointer-events: none;
  background: #7c7bfd;
  border: 2px solid #fff;
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  position: absolute;
  top: .25rem;
  right: .25rem;
}

.ib-compose-send {
  color: #fff;
  background: #7c7bfd;
  border: none;
  box-shadow: 0 2px 6px #0f0f0f1f;
}

.ib-compose-send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px #0f0f0f29;
}

.ib-compose-attach {
  justify-content: space-between;
  align-items: center;
  gap: .625rem;
  padding: .125rem .125rem 0;
  display: flex;
}

.ib-compose-attach__chip {
  color: #595d73;
  background: #b0b3c61f;
  border-radius: 62.4375rem;
  align-items: center;
  gap: .375rem;
  min-width: 0;
  max-width: 100%;
  padding: .375rem .625rem;
  font-size: 1rem;
  display: inline-flex;
}

.ib-compose-attach__name {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 13.75rem;
  overflow: hidden;
}

.ib-compose-hint {
  padding: 0 .875rem .75rem;
}

.ib-empty--chat {
  text-align: center;
  margin: auto;
}

@media (max-width: 800px) {
  .ib-content {
    padding: 1rem;
  }

  .ib-table__head {
    display: none;
  }

  .ib-table__row {
    border: 1px solid #e6e6e6;
    grid-template-columns: 1fr;
    gap: .375rem;
    margin-bottom: .5rem;
    padding: .875rem .75rem;
  }

  .ib-table__row > span[data-label]:before {
    content: attr(data-label) ": ";
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 1rem;
    font-weight: 500;
  }

  .ib-table__row .ib-row-actions {
    border-top: 1px solid #e6e6e6;
    justify-content: flex-start;
    margin-top: .25rem;
    padding-top: .5rem;
  }
}

.ib-messages-view {
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  display: flex;
}

.ib-messages-view > .ib-empty {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: .375rem;
  display: flex;
}

.ib-messages-view .ib-empty__title {
  color: #1e2021;
  font: 700 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-empty__text {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-inbox.ib-msg-layout {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex-direction: row;
  flex: 1;
  grid-template-columns: none;
  gap: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .ib-messages-view .ib-inbox.ib-msg-layout {
    flex-direction: column;
    overflow: auto;
  }
}

.ib-messages-view .ib-msg-accounts {
  background: #f8f9ff;
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: .75rem;
  width: 5.25rem;
  height: 100%;
  max-height: none;
  padding: 2.5rem 0 .875rem;
  transition: width .18s;
  display: flex;
  position: relative;
  overflow-y: auto;
}

.ib-messages-view .ib-msg-accounts--expanded {
  align-items: stretch;
  width: 13.75rem;
  padding-left: .625rem;
  padding-right: .625rem;
}

.ib-messages-view .ib-msg-accounts__toggle {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  display: flex;
  position: absolute;
  top: .625rem;
  right: .625rem;
}

.ib-messages-view .ib-msg-accounts__toggle:hover {
  color: #7c7bfd;
  border-color: #7c7bfd;
}

@media (max-width: 1100px) {
  .ib-messages-view .ib-msg-accounts {
    border-bottom: 1px solid #e6e6e6;
    border-right: 0;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: 6rem;
    padding: .75rem .75rem .75rem 2.75rem;
    overflow: auto hidden;
  }

  .ib-messages-view .ib-msg-accounts--expanded {
    align-items: center;
    width: 100%;
  }
}

.ib-messages-view .ib-msg-account-pill {
  cursor: pointer;
  outline: none;
  align-items: center;
  gap: .625rem;
  transition: background .15s;
  display: flex;
  position: relative;
}

.ib-msg-accounts--expanded .ib-messages-view .ib-msg-account-pill {
  border-radius: .625rem;
  padding: .375rem;
}

.ib-msg-accounts--expanded .ib-messages-view .ib-msg-account-pill--active, .ib-msg-accounts--expanded .ib-messages-view .ib-msg-account-pill:hover {
  background: #7c7bfd14;
}

.ib-msg-accounts:not(.ib-msg-accounts--expanded) .ib-messages-view .ib-msg-account-pill--active .ib-msg-account-pill__avatar, .ib-msg-accounts:not(.ib-msg-accounts--expanded) .ib-messages-view .ib-msg-account-pill:hover .ib-msg-account-pill__avatar {
  border-radius: 50%;
  box-shadow: 0 0 0 2px #7c7bfd;
}

.ib-messages-view .ib-msg-account-pill__avatar {
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.ib-messages-view .ib-msg-account-pill__badge {
  color: #fff;
  background: #7c7bfd;
  border: 2px solid #fff;
  border-radius: 1.25rem;
  justify-content: center;
  align-items: center;
  min-width: 1.375rem;
  height: 1.375rem;
  padding: 0 .25rem;
  font: 700 1rem / 1.375rem DM Sans, system-ui, sans-serif;
  display: flex;
  position: absolute;
  top: -.25rem;
  right: -.25rem;
}

.ib-messages-view .ib-msg-account-pill__body {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-messages-view .ib-msg-account-pill__username {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-messages-view .ib-msg-account-pill__fullname {
  color: #595d73;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-messages-view .ib-msg-list {
  background: #fff;
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  flex-shrink: 0;
  width: 18.75rem;
  height: 100%;
  min-height: 0;
  max-height: none;
  display: flex;
  overflow: hidden;
}

.ib-messages-view .ib-msg-list__header {
  border-bottom: 1px solid #f8f9ff;
  flex-direction: column;
  flex-shrink: 0;
  gap: .25rem;
  padding: .875rem 1.125rem .625rem;
  display: flex;
}

.ib-messages-view .ib-msg-list__account-name {
  color: #1e2021;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-msg-list__count {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-msg-list__items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.ib-messages-view .ib-msg-list .ib-inbox-filters, .ib-messages-view .ib-msg-list .ib-new-dm {
  display: none;
}

@media (max-width: 1100px) {
  .ib-messages-view .ib-msg-list {
    border-bottom: 1px solid #e6e6e6;
    border-right: 0;
    width: 100%;
    height: auto;
    max-height: 20rem;
  }
}

.ib-messages-view .ib-msg-item {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #f8f9ff;
  align-items: flex-start;
  gap: .625rem;
  width: 100%;
  padding: .75rem 1rem;
  transition: background .12s;
  display: flex;
}

.ib-messages-view .ib-msg-item:hover {
  background: #f8f9ff;
}

.ib-messages-view .ib-msg-item--active {
  background: #7c7bfd14;
}

.ib-messages-view .ib-msg-item--follower {
  opacity: .92;
}

.ib-messages-view .ib-msg-item__body {
  flex-direction: column;
  flex: 1;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-messages-view .ib-msg-item__top {
  justify-content: space-between;
  align-items: baseline;
  gap: .375rem;
  display: flex;
}

.ib-messages-view .ib-msg-item__user {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  gap: .25rem;
  min-width: 0;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  display: inline-flex;
  overflow: hidden;
}

.ib-messages-view .ib-msg-item__user--unread {
  font-family: DM Sans, system-ui, sans-serif;
  font-weight: 700;
}

.ib-messages-view .ib-msg-item__time {
  color: #595d73;
  flex-shrink: 0;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-msg-item__preview {
  color: #595d73;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-messages-view .ib-msg-item__dot {
  background: #7c7bfd;
  border-radius: 50%;
  flex-shrink: 0;
  width: .5rem;
  height: .5rem;
  margin-top: .375rem;
}

.ib-messages-view .ib-inbox-chat.ib-chat {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  height: 100%;
  min-height: 0;
  max-height: none;
  display: flex;
}

.ib-messages-view .ib-chat__header.ib-chat-header {
  border-bottom: 1px solid #e6e6e6;
  flex-shrink: 0;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.25rem;
  display: flex;
}

.ib-messages-view .ib-chat__header-info {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-messages-view .ib-chat__username {
  color: #1e2021;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-messages-view .ib-chat__fullname {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-chat__messages.ib-chat-messages {
  background: #fff;
  flex-direction: column;
  flex: 1;
  gap: .75rem;
  min-height: 0;
  padding: 1.125rem;
  display: flex;
  overflow-y: auto;
}

.ib-messages-view .ib-chat__empty {
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.ib-messages-view .ib-chat-msg {
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.ib-messages-view .ib-chat-msg--in {
  justify-content: flex-start;
}

.ib-messages-view .ib-chat-msg--out {
  justify-content: flex-end;
}

.ib-messages-view .ib-chat-msg__wrap {
  flex-direction: column;
  max-width: 65%;
  display: flex;
}

.ib-messages-view .ib-chat-msg__bubble.ib-bubble {
  border: 0;
  align-self: stretch;
  max-width: none;
  padding: .625rem .875rem;
}

.ib-messages-view .ib-chat-msg--in .ib-messages-view .ib-chat-msg__bubble.ib-bubble--them {
  color: #494b74;
  background: #f0efff;
  border-radius: 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--in .ib-messages-view .ib-chat-msg__bubble.ib-bubble--them .ib-bubble__text {
  color: #494b74;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--me {
  color: #fff;
  background: #7c7bfd;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--me .ib-bubble__text, .ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--me .ib-bubble__meta {
  color: #fff;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--admin {
  color: #fff;
  background: #128a96;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--admin .ib-bubble__text, .ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--admin .ib-bubble__meta {
  color: #fff;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--queued {
  opacity: .9;
  background: #b0b3c633;
  border: 1px dashed #b0b3c68c;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--scheduled {
  color: #6a6d8a;
  opacity: .95;
  background: #b0b3c61f;
  border: 1px dashed #b0b3c673;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--scheduled .ib-bubble__text, .ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--scheduled .ib-bubble__meta {
  color: #6a6d8a;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--clickable {
  cursor: pointer;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--clickable:hover {
  background: #b0b3c633;
}

.ib-messages-view .ib-chat-msg__ts {
  color: #595d73;
  margin-top: .25rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-chat-msg__ts--right {
  text-align: right;
}

.ib-messages-view .ib-chat-compose.ib-chat__input-bar {
  background: #f8f9ff;
  border-top: 1px solid #e6e6e6;
  flex-shrink: 0;
  padding: .875rem 1rem;
}

.ib-messages-view .ib-compose-bar {
  align-items: flex-end;
  gap: .625rem;
}

.ib-messages-view .ib-compose-input-wrap textarea {
  box-shadow: none;
  color: #1e2021;
  background: #fff;
  border: 1.5px solid #e6e6e6;
  border-radius: 1rem;
  padding: .625rem 1rem;
  font: 400 1rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-compose-input-wrap textarea:focus {
  box-shadow: none;
  border-color: #7c7bfd;
}

.ib-messages-view .ib-compose-send {
  color: #fff;
  background: #7c7bfd;
  border: none;
  border-radius: 50%;
}

.ib-messages-view .ib-compose-send:hover:not(:disabled) {
  transform: translateY(-1px);
}

.ib-messages-view .ib-compose-send:disabled {
  opacity: .5;
}

.ib-settings-view {
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  display: flex;
}

.ib-settings-form {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-settings-form--standalone {
  border-top: 0;
  padding-top: 0;
}

.ib-settings-section {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  padding: 1.125rem 1.25rem;
  box-shadow: 0 1px 2px #0f0f0f08;
}

.ib-settings-section__head {
  border-bottom: 1px solid #e6e6e6e6;
  margin-bottom: .875rem;
  padding-bottom: .75rem;
}

.ib-settings-section__title {
  color: #1e2021;
  letter-spacing: -.01em;
  margin: 0;
  font: 600 1rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-settings-section__hint {
  color: #6c7293;
  margin: .25rem 0 0;
  font: 400 .8125rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-settings-section__body {
  flex-direction: column;
  gap: .875rem;
  display: flex;
}

.ib-setting-label {
  align-items: center;
  gap: .375rem;
  min-height: 1.125rem;
  display: inline-flex;
}

.ib-setting-label-text {
  color: #595d73;
  font: 500 .8125rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-setting-help {
  flex-shrink: 0;
  line-height: 0;
  display: inline-flex;
}

.ib-setting-help-btn {
  color: #6c7293;
  cursor: help;
  -webkit-user-select: none;
  user-select: none;
  background: #f8f9ff;
  border: 1px solid #c4c4c4;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  font: 700 .6875rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-setting-help-btn:hover {
  color: #7c7bfd;
  background: #fff;
  border-color: #7c7bfd;
}

.ib-setting-help-body {
  text-align: left;
  color: #595d73;
  max-width: 18.75rem;
  padding: .625rem .75rem;
  font: 400 .8125rem / 1.45 DM Sans, system-ui, sans-serif;
}

.ib-setting-help-body p {
  white-space: pre-wrap;
  margin: 0 0 .5rem;
}

.ib-setting-help-body p:last-child {
  color: #6c7293;
  margin-bottom: 0;
}

.ib-setting-field {
  flex-direction: column;
  gap: .375rem;
  min-width: 0;
  display: flex;
}

.ib-settings-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  display: grid;
}

@media (max-width: 1100px) {
  .ib-settings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .ib-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ib-settings-grid {
    grid-template-columns: 1fr;
  }
}

.ib-settings-grid .ib-setting-field input, .ib-settings-grid .ib-setting-field select {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-settings-grid .ib-setting-field input:hover, .ib-settings-grid .ib-setting-field select:hover {
  border-color: #7c7bfd59;
}

.ib-settings-grid .ib-setting-field input:focus, .ib-settings-grid .ib-setting-field select:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-settings-grid .ib-setting-field input:disabled, .ib-settings-grid .ib-setting-field select:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ib-settings-grid .ib-setting-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath fill=%27%236c7293%27 d=%27M1.4 0.6 6 5.2 10.6.6 12 2 6 8 0 2z%27/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.ib-settings-stack {
  flex-direction: column;
  gap: .875rem;
  max-width: 57.5rem;
  display: flex;
}

.ib-settings-stack__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem 1rem;
  display: grid;
}

@media (max-width: 720px) {
  .ib-settings-stack__row {
    grid-template-columns: 1fr;
  }
}

.ib-settings-prompt {
  flex-direction: column;
  gap: .375rem;
  display: flex;
}

.ib-settings-prompt input, .ib-settings-prompt textarea {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-settings-prompt input:hover, .ib-settings-prompt textarea:hover {
  border-color: #7c7bfd59;
}

.ib-settings-prompt input:focus, .ib-settings-prompt textarea:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-settings-prompt input:disabled, .ib-settings-prompt textarea:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ib-settings-prompt textarea {
  resize: vertical;
  height: auto;
  min-height: 5.5rem;
  padding: .625rem .75rem;
  line-height: 1.45;
}

.ib-settings-prompt input {
  resize: none;
}

.ib-settings-checks {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.ib-settings-check {
  background: #f8f9ff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  align-items: flex-start;
  gap: .75rem;
  margin: 0;
  padding: .75rem .875rem;
  transition: border-color .15s;
  display: flex;
}

.ib-settings-check:hover {
  border-color: #7c7bfd59;
}

.ib-settings-check input[type="checkbox"] {
  accent-color: #7c7bfd;
  cursor: pointer;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: .125rem;
}

.ib-settings-check__body {
  cursor: pointer;
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-settings-check .ib-muted {
  font-size: .75rem;
}

.ib-settings-check--disabled {
  opacity: .65;
  cursor: not-allowed;
}

.ib-settings-footer {
  border-top: 1px solid #e6e6e6;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .5rem;
  padding-top: 1rem;
  display: flex;
}

.ib-models {
  flex-direction: column;
  gap: 1.125rem;
  width: 100%;
  display: flex;
}

.ib-models__toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.ib-models__title {
  color: #1e2021;
  letter-spacing: -.02em;
  margin: 0;
  font: 600 1.25rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-models__subtitle {
  color: #6c7293;
  margin: .25rem 0 0;
  font: 400 .8125rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-models__error {
  color: #b42318;
  margin: 0;
  font-size: .875rem;
}

.ib-models-input {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models-input:hover {
  border-color: #7c7bfd59;
}

.ib-models-input:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models-empty-state {
  text-align: center;
  color: #6c7293;
  background: #f8f9ff;
  border: 1px dashed #b0b3c68c;
  border-radius: .875rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 3rem 1.25rem;
  display: flex;
}

.ib-models-empty-state strong {
  color: #595d73;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-models-empty-state span {
  max-width: 22.5rem;
  font-size: .8125rem;
}

.ib-models-empty-state .jf-btn {
  margin-top: .5rem;
}

.ib-models-empty-state--inset {
  background: none;
  padding: 1.75rem 1rem;
}

.ib-models-grid {
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: .875rem;
  display: grid;
}

.ib-model-card {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex-direction: column;
  padding: 0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex;
  overflow: hidden;
}

.ib-model-card:hover {
  border-color: #7c7bfd66;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px #0f0f0f0f;
}

.ib-model-card:disabled {
  opacity: .65;
  cursor: wait;
}

.ib-model-card__cover {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #7c7bfd1f, #b0b3c62e);
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.ib-model-card__cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.ib-model-card__initial {
  color: #7c7bfd;
  opacity: .85;
  font: 700 2.25rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-model-card__body {
  flex-direction: column;
  gap: .25rem;
  padding: .75rem .875rem .875rem;
  display: flex;
}

.ib-model-card__name {
  color: #1e2021;
  font: 600 .9375rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-model-card__meta {
  color: #6c7293;
  font: 400 .75rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-model-card__stats {
  color: #595d73;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .375rem;
  font: 500 .6875rem / 1 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-model-card__id {
  color: #6c7293;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ib-models-editor {
  flex-direction: column;
  gap: .875rem;
  display: flex;
}

.ib-models-editor__bar {
  flex-wrap: wrap;
  align-items: center;
  gap: .875rem;
  padding-bottom: .25rem;
  display: flex;
}

.ib-models-editor__back {
  color: #7c7bfd;
  cursor: pointer;
  background: none;
  border: 0;
  margin-right: .25rem;
  padding: .375rem 0;
  font: 600 .8125rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-models-editor__back:hover {
  text-underline-offset: 2px;
  text-decoration: underline;
}

.ib-models-editor__identity {
  flex: 1;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.ib-models-editor__avatar {
  color: #7c7bfd;
  background: #7c7bfd1f;
  border-radius: .75rem;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  font: 700 1.125rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
  overflow: hidden;
}

.ib-models-editor__avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.ib-models-editor__heading {
  min-width: 0;
}

.ib-models-editor__heading h2 {
  color: #1e2021;
  margin: 0;
  font: 600 1.125rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-models-editor__heading p {
  color: #6c7293;
  margin: .125rem 0 0;
  font: 400 .75rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-models-editor__path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ib-models-editor__actions {
  flex-wrap: wrap;
  gap: .5rem;
  margin-left: auto;
  display: flex;
}

.ib-models-tabs {
  background: #f8f9ff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  gap: .25rem;
  width: fit-content;
  max-width: 100%;
  padding: .25rem;
  display: flex;
  overflow-x: auto;
}

.ib-models-tabs__btn {
  color: #6c7293;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: .5rem;
  padding: .5rem .875rem;
  font: 600 .8125rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-models-tabs__btn:hover {
  color: #595d73;
}

.ib-models-tabs__btn--active {
  color: #1e2021;
  background: #fff;
  box-shadow: 0 1px 3px #0f0f0f0f;
}

.ib-models-gallery-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.ib-models-gallery-head__actions {
  gap: .5rem;
  display: flex;
}

.ib-models-cats {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .875rem;
  display: flex;
}

.ib-models-cat {
  color: #595d73;
  background: #7c7bfd14;
  border-radius: .5rem;
  align-items: center;
  gap: .25rem;
  padding: .3125rem .625rem;
  font: 500 .75rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-models-cat button {
  cursor: pointer;
  color: #6c7293;
  background: none;
  border: 0;
  padding: 0;
  font-size: .875rem;
  line-height: 1;
}

.ib-models-cat-input {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models-cat-input:hover {
  border-color: #7c7bfd59;
}

.ib-models-cat-input:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models-cat-input {
  width: auto;
  min-width: 8.75rem;
  height: 2.125rem;
  padding: 0 .625rem;
  font-size: .8125rem;
}

.ib-models-gallery {
  grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
  gap: .875rem;
  display: grid;
}

.ib-models-gallery__card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.ib-models-gallery__media {
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  background: #f8f9ff;
  border: 0;
  width: 100%;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

.ib-models-gallery__media img, .ib-models-gallery__media video {
  object-fit: cover;
  pointer-events: none;
  background: #ececf3;
  width: 100%;
  height: 100%;
  display: block;
}

.ib-models-gallery__media:hover .ib-models-gallery__zoom {
  opacity: 1;
}

.ib-models-gallery__badge {
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #0f0f0fb3;
  border-radius: .375rem;
  padding: .1875rem .5rem;
  font: 600 .625rem / 1 DM Sans, system-ui, sans-serif;
  position: absolute;
  top: .5rem;
  left: .5rem;
}

.ib-models-gallery__zoom {
  color: #fff;
  opacity: 0;
  background: #0f0f0fb8;
  border-radius: .375rem;
  padding: .25rem .5rem;
  font: 600 .6875rem / 1 DM Sans, system-ui, sans-serif;
  transition: opacity .15s;
  position: absolute;
  bottom: .5rem;
  right: .5rem;
}

.ib-models-gallery__body {
  flex-direction: column;
  gap: .5rem;
  padding: .625rem;
  display: flex;
}

.ib-models-lightbox {
  z-index: 1200;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.ib-models-lightbox__backdrop {
  cursor: zoom-out;
  background: #0a0c14d1;
  border: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.ib-models-lightbox__stage {
  z-index: 1;
  max-width: min(92vw, 60rem);
  max-height: 88vh;
  position: relative;
}

.ib-models-lightbox__img, .ib-models-lightbox__video {
  background: #111;
  border-radius: .625rem;
  max-width: min(92vw, 60rem);
  max-height: 88vh;
  display: block;
  box-shadow: 0 16px 48px #00000059;
}

.ib-models-lightbox__img {
  object-fit: contain;
}

.ib-models-lightbox__video {
  width: min(92vw, 60rem);
}

.ib-models-lightbox__close {
  z-index: 2;
  color: #fff;
  cursor: pointer;
  background: #ffffff24;
  border: 0;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.ib-models-lightbox__close:hover {
  background: #ffffff3d;
}

.ib-models .ib-settings-grid .ib-setting-field input, .ib-models .ib-settings-stack .ib-setting-field input {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models .ib-settings-grid .ib-setting-field input:hover, .ib-models .ib-settings-stack .ib-setting-field input:hover {
  border-color: #7c7bfd59;
}

.ib-models .ib-settings-grid .ib-setting-field input:focus, .ib-models .ib-settings-stack .ib-setting-field input:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models .ib-settings-prompt textarea {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models .ib-settings-prompt textarea:hover {
  border-color: #7c7bfd59;
}

.ib-models .ib-settings-prompt textarea:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models .ib-settings-prompt textarea {
  resize: vertical;
  height: auto;
  min-height: 5.5rem;
  padding: .625rem .75rem;
  line-height: 1.45;
}

.ib-muted {
  color: #6c7293;
  font-size: .75rem;
}

:export {
  colors-jf-primary: #7c7bfd;
  colors-jf-primary-light25: #9d9cfe;
  colors-jf-white: #fff;
  colors-jf-black: #1e2021;
  colors-jf-secondary: #8976f4;
  colors-jf-danger: #f64e60;
  colors-jf-black2: #595d73;
  colors-jf-light: #e6e6e6;
  colors-jf-light2: #f5f5f7;
  colors-jf-like: #fb3761;
  colors-jf-green: #00c750;
  colors-jf-fox: #23d2e2;
  colors-jf-light3: #e5e5e5;
  colors-jf-light4: #c4c4c4;
  colors-jf-inputbg: #f3f6f9;
  colors-jf-hover: #8976f4;
  colors-jf-body: #eef0f8;
  colors-jf-text: #494b74;
  colors-jf-extralight: #f8f9ff;
  colors-jf-pagination: #ecf1f6;
  colors-jf-headertext: #6c7293;
}

.jf-btn {
  cursor: pointer;
  border: none;
  border-radius: .3125rem;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  width: max-content;
  padding: .9375rem 1.5625rem;
  font: 500 1.125rem / 1.75rem DM Sans, system-ui, sans-serif;
  transition: all .3s;
  display: flex;
}

.jf-btn.jf-btn-sm {
  padding: .625rem .9375rem;
  font: 500 1rem / 1.5rem DM Sans, system-ui, sans-serif;
  transition: all .3s;
}

.jf-btn.jf-btn-radius {
  border-radius: 3.125rem;
  transition: all .3s;
}

.jf-btn-primary {
  color: #fff;
  background-color: #7c7bfd;
  transition: all .3s;
  box-shadow: 0 0 .25rem #7c7bfd26;
}

.jf-btn-primary:hover {
  color: #fff;
  background-color: #8976f4;
  transition: all .3s;
  box-shadow: 0 0 .625rem #7c7bfd4d;
}

.jf-btn-primary-outline {
  color: #7c7bfd;
  background-color: #0000;
  border: .125rem solid #7c7bfd1a;
  transition: all .3s;
}

.jf-btn-primary-outline:hover {
  color: #7c7bfd;
  background-color: #7c7bfd;
  border: .125rem solid #7c7bfd4d;
  transition: all .3s;
}

.jf-btn-primary-light {
  color: #7c7bfd;
  background-color: #7c7bfd1a;
  transition: all .3s;
}

.jf-btn-primary-light:hover {
  color: #fff;
  background-color: #7c7bfd;
  transition: all .3s;
  box-shadow: 0 0 .625rem #7c7bfd4d;
}

.jf-btn-primary-light:disabled {
  cursor: not-allowed;
  opacity: .4;
  color: #595d73;
  box-shadow: none;
  background-color: #e6e6e6;
}

.jf-btn-primary-light:disabled:hover {
  color: #595d73;
  box-shadow: none;
  background-color: #e6e6e6;
}

.jf-btn-secondary {
  color: #fff;
  background-color: #7c7bfd;
  transition: all .3s;
  box-shadow: 0 0 .25rem #8976f426;
}

.jf-btn-secondary:hover {
  color: #fff;
  background-color: #8976f4;
  transition: all .3s;
  box-shadow: 0 0 .625rem #8976f44d;
}

.jf-btn-secondary-outline {
  color: #8976f4;
  background-color: #0000;
  border: .125rem solid #8976f41a;
  transition: all .3s;
}

.jf-btn-secondary-outline:hover {
  color: #8976f4;
  background-color: #8976f4;
  border: .125rem solid #8976f44d;
  transition: all .3s;
}

.jf-btn-secondary-light {
  color: #8976f4;
  background-color: #8976f41a;
  transition: all .3s;
}

.jf-btn-secondary-light:hover {
  color: #fff;
  background-color: #8976f4;
  transition: all .3s;
  box-shadow: 0 0 .625rem #8976f44d;
}

.jf-btn-danger {
  color: #fff;
  background-color: #f64e60;
  transition: all .3s;
  box-shadow: 0 0 .25rem #f64e6026;
}

.jf-btn-danger:hover {
  color: #fff;
  background-color: #f64e60;
  transition: all .3s;
  box-shadow: 0 0 .625rem #f64e604d;
}

.jf-btn-danger-outline {
  color: #f64e60;
  background-color: #0000;
  border: .125rem solid #f64e601a;
  transition: all .3s;
}

.jf-btn-danger-outline:hover {
  color: #f64e60;
  background-color: #f64e60;
  border: .125rem solid #f64e604d;
  transition: all .3s;
}

.jf-btn-danger-light {
  color: #f64e60;
  background-color: #f64e601a;
  transition: all .3s;
}

.jf-btn-danger-light:hover {
  color: #fff;
  background-color: #f64e60;
  transition: all .3s;
  box-shadow: 0 0 .625rem #f64e604d;
}

.jf-btn-outline {
  color: #8976f499;
  background-color: #0000;
  border: .125rem solid #8976f41a;
  transition: all .3s;
}

.jf-btn-outline:hover {
  color: #8976f4;
  border: .125rem solid #8976f44d;
  transition: all .3s;
}

@media only screen and (max-width: 992px) {
  .jf-btn {
    padding: .625rem 1.25rem;
    font: 500 1rem / 1.5rem DM Sans, system-ui, sans-serif;
    transition: all .3s;
  }

  .jf-btn.jf-btn-sm {
    padding: .4375rem 1.125rem;
    font: 500 .875rem / 1.375rem DM Sans, system-ui, sans-serif;
    transition: all .3s;
  }
}

.jf-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.jf-avatar-picture {
  z-index: 0;
  border: 4px solid #fff;
  border-radius: 50%;
  align-items: center;
  width: 94%;
  height: 94%;
  margin: auto;
  display: flex;
  position: relative;
  overflow: hidden;
}

.jf-avatar-picture img {
  z-index: -1;
  width: auto;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.jf-avatar-picture span {
  color: #fff;
  margin: auto;
  font: 20px DM Sans, system-ui, sans-serif;
}

.jf-avatar-online-icon {
  z-index: 1;
  border-radius: 50%;
  width: 10px;
  height: 10px;
  position: absolute;
  top: 10%;
  right: 0;
}

.jf-avatar .jf-live-label {
  text-align: center;
  color: #fff;
  border-radius: 3px;
  width: 35px;
  margin: 0 calc(50% - 17.5px);
  font: 14px / 20px DM Sans, system-ui, sans-serif;
  position: absolute;
  bottom: -10px;
}

.jf-avatar.jf-live {
  border: 3px solid;
  border-radius: 50%;
}

.jf-toggle-switch {
  flex-shrink: 0;
  width: 44px;
  height: 26px;
}

.jf-toggle-switch * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.jf-toggle-switch :focus {
  outline: none;
}

.jf-toggle-switch .button {
  width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
  top: 0;
  overflow: hidden;
}

.jf-toggle-switch .button.r, .jf-toggle-switch .button.r .layer {
  border-radius: 100px;
}

.jf-toggle-switch .knobs, .jf-toggle-switch .layer {
  position: absolute;
  inset: 0;
}

.jf-toggle-switch .checkbox {
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.jf-toggle-switch .knobs {
  z-index: 2;
  pointer-events: none;
}

.jf-toggle-switch .layer {
  z-index: 1;
  pointer-events: none;
  background: none;
  border: 1px solid #7c7bfd73;
  width: 100%;
  transition: all .25s;
}

.jf-toggle-switch .knobs:before {
  content: "";
  background-color: #7c7bfd8c;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: all .25s cubic-bezier(.18, .89, .35, 1.15);
  position: absolute;
  top: 4px;
  left: 3px;
}

.jf-toggle-switch .checkbox:checked ~ .knobs:before {
  background-color: #fff;
  left: 21px;
}

.jf-toggle-switch .checkbox:checked ~ .layer {
  background-color: #7c7bfd;
  border-color: #7c7bfd;
}

.jf-toggle-switch.small {
  width: 36px;
  height: 22px;
}

.jf-toggle-switch.small .knobs:before {
  width: 16px;
  height: 16px;
  top: 2px;
  left: 2px;
}

.jf-toggle-switch.small .checkbox:checked ~ .knobs:before {
  left: 16px;
}

.popover-menu {
  text-align: center;
  z-index: 1100;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  box-shadow: 0 1px 15px #e6e6e6;
}

.popover-menu ul {
  border-radius: 6px;
  padding: 0;
  font: 400 1rem / 1.25rem DM Sans, system-ui, sans-serif;
  list-style: none;
}

.popover-menu ul li {
  cursor: pointer;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: .625rem .9375rem;
}

.popover-menu ul li:hover, .popover-menu ul li.active {
  background-color: #f5f5f7;
}

.jf-text-field {
  flex-direction: column;
  display: flex;
  position: relative;
}

.jf-text-field-label {
  color: #1e2021;
  margin-bottom: 10px;
  font: 18px / 24px DM Sans, system-ui, sans-serif;
}

.jf-text-field-input {
  background-color: #fff;
  border: .0625rem solid #8976f41a;
  border-radius: .3125rem;
  flex-direction: row;
  align-items: center;
  display: flex;
}

.jf-text-field-input .jf-money-text {
  border-right: 1px solid #c4c4c41a;
  padding: 0 20px;
  font: 18px / 26px DM Sans, system-ui, sans-serif;
}

.jf-text-field {
  min-height: 50px;
}

.jf-text-field input, .jf-text-field textarea, .jf-text-field .jf-text-field-select {
  color: #1e2021;
  background-color: #fff;
  border: none;
  border-radius: .3125rem;
  flex-grow: 1;
  width: 100%;
  min-height: 46px;
  padding: .9375rem 1.25rem;
  font: 400 1.125rem / 1.625rem DM Sans, system-ui, sans-serif;
}

.jf-text-field input::-webkit-input-placeholder {
  color: #1e202199;
}

.jf-text-field textarea::-webkit-input-placeholder {
  color: #1e202199;
}

.jf-text-field .jf-text-field-select::-webkit-input-placeholder {
  color: #1e202199;
}

.jf-text-field input:-moz-placeholder-shown {
  color: #1e202199;
}

.jf-text-field textarea:-moz-placeholder-shown {
  color: #1e202199;
}

.jf-text-field .jf-text-field-select:-moz-placeholder-shown {
  color: #1e202199;
}

.jf-text-field input::-moz-placeholder {
  color: #1e202199;
}

.jf-text-field textarea::-moz-placeholder {
  color: #1e202199;
}

.jf-text-field .jf-text-field-select::-moz-placeholder {
  color: #1e202199;
}

.jf-text-field input:-ms-placeholder-shown {
  color: #1e202199;
}

.jf-text-field textarea:-ms-placeholder-shown {
  color: #1e202199;
}

.jf-text-field .jf-text-field-select:-ms-placeholder-shown {
  color: #1e202199;
}

.jf-text-field .jf-text-field-select {
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  min-height: auto;
  padding: 10px 20px;
  display: flex;
  overflow: hidden;
}

.jf-text-field .jf-text-field-select .jf-text-field-select-item-user {
  align-items: center;
  gap: 8px;
  display: flex;
  overflow: hidden;
}

.jf-text-field .jf-text-field-select .jf-text-field-select-item-user span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.jf-text-field .jf-text-field-select-items {
  z-index: 7;
  background: #fff;
  border: 1px solid #f5f5f7;
  border-radius: 5px;
  align-self: start;
  width: calc(100% - 2px);
  max-height: 295px;
  margin-top: 51px;
  position: absolute;
  overflow: auto;
  box-shadow: 0 8px 24px #0000001f, 0 2px 8px #00000014;
}

.jf-text-field .jf-text-field-select-items li {
  border: 1px solid #fff;
  padding: 10px 20px 5px;
}

.jf-text-field .jf-text-field-select-items li:hover, .jf-text-field .jf-text-field-select-items li.active {
  background-color: #f5f5f7;
}

.jf-text-field .jf-text-field-select-items li > div {
  align-items: center;
  column-gap: 10px;
  min-height: 40px;
  display: flex;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-search {
  z-index: 1;
  background: #fff;
  border-bottom: 1px solid #f5f5f7;
  padding: 8px 10px;
  position: sticky;
  top: 0;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-search:hover {
  background-color: #fff;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-search .jf-text-field-select-search-input {
  border: 1px solid #f5f5f7;
  border-radius: 4px;
  outline: none;
  width: 100%;
  padding: 6px 10px;
  font-size: 14px;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-search .jf-text-field-select-search-input:focus {
  border-color: #7c7bfd;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-search .jf-text-field-select-searching {
  padding-top: 4px;
  font-size: 12px;
  display: block;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-empty {
  cursor: default;
  padding: 12px 20px;
  font-size: 14px;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-empty:hover {
  background-color: #0000;
}

.jf-text-field .jf-text-field-select-items .jf-text-field-select-item-user {
  align-items: center;
  gap: 10px;
  display: flex;
}

.jf-text-field .jf-text-field-placeholder {
  font: 18px / 26px DM Sans, system-ui, sans-serif;
}

.jf-text-field-view-btn {
  cursor: pointer;
  background-color: #0000;
  border: none;
  width: 30px;
  min-height: 30px;
  margin-right: 15px;
}

.jf-text-field-clear-btn {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0 .25rem;
  font-size: .875rem;
  line-height: 1;
}

.jf-text-field-clear-btn:hover {
  color: #1e2021;
}

.jf-text-field.has-label .jf-text-field-view-btn {
  top: 42px;
}

.jf-text-field.has-label .jf-text-field-view-btn-ex {
  background: none;
  border: none;
  margin-right: 10px;
  padding: 0;
}

.jf-text-field-msg {
  margin-top: 13px;
  font: 18px / 26px DM Sans, system-ui, sans-serif;
}

.jf-text-field.has-error .jf-text-field-input {
  border: 2px solid #f64e60;
  border-radius: 5px;
}

.jf-text-field.has-error .jf-text-field-msg {
  color: #f64e60;
}

.jf-radio.container {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  padding-left: 50px;
  position: relative;
}

.jf-radio.container input {
  opacity: 0;
  cursor: pointer;
  position: absolute;
}

.jf-radio .checkmark {
  cursor: pointer;
  border: 1px solid #595d73;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin-top: -5px;
  position: absolute;
  top: 0;
  left: 0;
}

.jf-radio .checkmark:after {
  content: "";
  display: none;
  position: absolute;
}

.jf-radio.container input:checked ~ .checkmark:after {
  display: block;
}

.jf-radio.container .checkmark:after {
  background-color: #595d73;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  top: 5px;
  left: 5px;
}

.jf-tableRow {
  flex-flow: wrap;
  align-content: flex-start;
  align-items: flex-start;
  width: 100%;
  min-height: 100%;
  display: flex;
}

.jf-table {
  border-collapse: collapse;
  border: none;
  width: 100%;
}

.jf-table-thead .jf-table-th {
  text-align: left;
  border: none;
  padding: .625rem .625rem .625rem 0;
  font: 500 1rem / 1.375rem DM Sans, system-ui, sans-serif;
}

.jf-table-thead .jf-table-th:last-child {
  padding-right: 0;
}

.jf-table-tbody .jf-table-tr {
  border-top: .0625rem solid #595d731a;
}

.jf-table-tbody .jf-table-tr:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.jf-table-tbody .jf-table-tr.jf-table-tr-clickable {
  cursor: pointer;
}

.jf-table-tbody .jf-table-td {
  text-align: left;
  border: none;
  padding: .8125rem .625rem .8125rem 0;
  font: 400 1rem / 1.5rem DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td:last-child {
  padding-right: 0;
}

.jf-table-tbody .jf-table-td .jf-tableImage {
  border-radius: .3125rem;
  width: 2.8125rem;
  height: 2.8125rem;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td .jf-tableImage .jf-img {
  width: 100%;
}

.jf-table-tbody .jf-table-td .jf-tabelText {
  margin-left: .625rem;
  font-family: DM Sans, system-ui, sans-serif;
}

.jf-table-tbody .jf-table-td .jf-UserDetail {
  flex-flow: row;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  display: flex;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td .jf-UserDetail .jf-username-chats {
  flex-flow: column wrap;
  flex: 1 1 0;
  min-width: 0;
  margin-left: .9375rem;
  display: flex;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td .jf-UserDetail .jf-username-chats .jf-userName {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  font: 400 1rem / 1.375rem DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td .jf-UserDetail .jf-username-chats .jf-userEmail {
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td .jf-UserDetail .jf-username-chats .jf-lastchat {
  color: #1e202199;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  margin-top: .1875rem;
  font: 400 1rem / 1.375rem DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td .jf-badge {
  color: #7c7bfd;
  background-color: #7c7bfd1a;
  border-radius: .3125rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 4.375rem;
  height: 2.5rem;
  margin-right: .625rem;
  font: 400 1rem / 1.375rem DM Sans, system-ui, sans-serif;
  display: flex;
}

.jf-table-tbody .jf-table-td .jf-useremailLogin {
  flex-flow: column wrap;
  width: 100%;
  display: flex;
}

.jf-table-tbody .jf-table-td .jf-useremailLogin-id {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
  font: 400 1rem / 1.375rem DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.jf-table-tbody .jf-table-td .jf-useremailLogin .jf-userLoginDate {
  color: #1e202199;
  font: 400 .875rem / 1.375rem DM Sans, system-ui, sans-serif;
}

.jf-table-tfoot .jf-table-tr {
  border-top: .0625rem solid #595d731a;
}

.jf-table-tfoot .jf-table-td {
  padding: .625rem .625rem 0 0;
}

.jf-table-tfoot .jf-table-td:last-child {
  padding-right: 0;
}

.jf-tablePagination {
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin-top: 1.875rem;
  display: flex;
}

.jf-tablePagination .row {
  row-gap: .625rem;
}

.jf-tablePagination .jf-pagination {
  flex-flow: wrap;
  width: 100%;
  display: flex;
}

.jf-tablePagination .jf-pagination .jf-paginate_button {
  color: #fff;
  background-color: #ecf1f6;
  border-radius: 5px;
  flex-flow: wrap;
  width: 1.875rem;
  height: 1.875rem;
  margin: 0 .3125rem 0 0;
  display: flex;
}

.jf-tablePagination .jf-pagination .jf-paginate_button.active {
  background-color: #7c7bfd;
}

.jf-tablePagination .jf-pagination .jf-paginate_button.active .page-link {
  color: #fff;
}

.jf-tablePagination .jf-pagination .jf-paginate_button .page-link {
  cursor: pointer;
  color: #494b74;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  font: 500 1rem / 1.375rem DM Sans, system-ui, sans-serif;
}

.jf-tablePagination .jf-dataTables_length {
  justify-content: flex-end;
  width: 100%;
}

.jf-tablePagination .jf-dataTables_length label {
  background-color: #ecf1f6;
  border-radius: .3125rem;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 30px;
  margin-right: .9375rem;
  display: flex;
}

.jf-tablePagination .jf-dataTables_length label .jf-custom-select {
  color: #494b74;
  background-color: #0000;
  border: none;
  padding-top: .25rem;
  padding-bottom: .25rem;
  font: 500 1rem / 1.375rem DM Sans, system-ui, sans-serif;
}

.jf-tablePagination .jf-dataTables_info {
  white-space: nowrap;
  font: 400 1rem / 1rem DM Sans, system-ui, sans-serif;
}

.jf-blankScroll {
  width: 100%;
  display: flex;
  overflow-x: auto;
}

.jf-top-border {
  border-top: .0625rem solid #595d731a;
}

.jf-table-title {
  color: #1e2021;
  font: 700 1rem / 1.375rem DM Sans, system-ui, sans-serif;
}

.jf-UseruploadContent {
  flex-flow: wrap;
  align-items: center;
  width: 100%;
  display: flex;
}

.jf-UseruploadContent .jf-contentThumbnail {
  border-radius: .1875rem;
  width: 4.375rem;
  height: 4.375rem;
  margin-right: .625rem;
  position: relative;
  overflow: hidden;
}

.jf-UseruploadContent .jf-contentThumbnail img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.jf-UseruploadContent .jf-contentThumbnail.jf-videocontent:before {
  content: "";
  background-repeat: no-repeat;
  width: .625rem;
  height: 100%;
  position: absolute;
  top: 1.875rem;
  left: 1.9375rem;
}

.jf-UseruploadContent .jf-contentThumbnail .jf-img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
}

.jf-UseruploadContent .jf-content-discription {
  flex-flow: column wrap;
  width: calc(100% - 5rem);
  max-width: 13.125rem;
  display: flex;
}

.jf-UseruploadContent .jf-content-discription-title {
  color: #1e2021;
  font: 500 1rem / 1.375rem DM Sans, system-ui, sans-serif;
}

.jf-UseruploadContent .jf-content-discription-text {
  color: #1e202199;
  margin-top: .3125rem;
  font: 500 .875rem / 1.25rem DM Sans, system-ui, sans-serif;
}

.jf-Username-Email {
  flex-flow: wrap;
  align-items: center;
  width: 100%;
  display: flex;
}

.jf-Username-Email .jf-userAvatar {
  border-radius: 50%;
  width: 3.125rem;
  height: 3.125rem;
  margin-right: .625rem;
  overflow: hidden;
}

.jf-Username-Email .jf-userAvatar .jf-img {
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: 100%;
}

.jf-Username-Email .jf-name-email {
  flex-flow: column wrap;
  display: flex;
}

.jf-Username-Email .jf-name-email .jf-userName {
  color: #1e2021;
  font: 500 1rem / 1.5625rem DM Sans, system-ui, sans-serif;
}

.jf-Username-Email .jf-name-email .jf-userEmail {
  color: #494b74;
  margin-top: .1875rem;
  font: 500 .875rem / 1.5625rem DM Sans, system-ui, sans-serif;
}

.jf-UserActionBtn {
  flex-flow: wrap;
  gap: .625rem;
  width: 100%;
  display: flex;
}

.jf-UserActionBtn .jf-userApprover {
  color: #7c7bfd;
  background: #7c7bfd1a;
  border: none;
  border-radius: 1.125rem;
  outline: none;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  width: 4.375rem;
  height: 36px;
  font: 400 .875rem / 1.25rem DM Sans, system-ui, sans-serif;
  transition: all .3s;
  display: flex;
}

.jf-UserActionBtn .jf-userDecline {
  color: #fb3761;
  background: #fb37611a;
  border: none;
  border-radius: 18px;
  outline: none;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 2.25rem;
  margin-left: .625rem;
  font: 400 .875rem / 1.25rem DM Sans, system-ui, sans-serif;
  transition: all .3s;
  display: flex;
}

@media only screen and (max-width: 1536px) {
  .jf-table-thead .jf-table-th {
    font: 700 .875rem / 1.375rem DM Sans, system-ui, sans-serif;
  }

  .jf-table-tbody .jf-table-td {
    padding: .625rem .625rem .625rem 0;
    font: 400 .875rem / 1.375rem DM Sans, system-ui, sans-serif;
  }

  .jf-table-tbody .jf-table-td .jf-tableImage {
    border-radius: .25rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .jf-table-tbody .jf-table-td .jf-tabelText {
    margin-left: .3125rem;
  }
}

@media only screen and (max-width: 1366px) {
  .jf-appointmentlistData .jf-tableRow {
    flex-flow: wrap;
    min-width: 46.875rem;
    display: flex;
    overflow: auto hidden;
  }
}

@media only screen and (max-width: 1310px) {
  .jf-appointmentData .jf-tableRow {
    flex-flow: wrap;
    min-width: 31.875rem;
    display: flex;
    overflow: auto hidden;
  }
}

@media only screen and (max-width: 1199px) {
  .jf-doctorsData .jf-tableRow {
    flex-flow: wrap;
    min-width: 30.3125rem;
    display: flex;
    overflow: auto hidden;
  }

  .jf-treatmentData .jf-tableRow {
    flex-flow: wrap;
    min-width: 38.75rem;
    display: flex;
  }
}

@media only screen and (max-width: 767px) {
  .jf-tablePagination {
    flex-wrap: wrap;
  }

  .jf-tablePagination .jf-dataTables_length {
    justify-content: flex-start;
  }
}

.jf-header {
  color: #494b74;
  background-color: #fff;
  border-radius: 0 0 .625rem .625rem;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 1.25rem;
  font: 700 1.25rem / 1.3125rem DM Sans, system-ui, sans-serif;
  display: flex;
}

@media only screen and (max-width: 992px) {
  .jf-header {
    height: auto;
    font: 700 1.125rem / 1.3125rem DM Sans, system-ui, sans-serif;
  }
}

.jf-popup {
  z-index: 1000;
  position: fixed;
  inset: 0;
}

.jf-popup.show {
  visibility: visible;
  opacity: 1;
  transition: visibility, opacity .5s linear;
}

.jf-popup.hide {
  visibility: hidden;
  opacity: 0;
  transition: visibility, opacity .5s linear;
}

.jf-popup-transfer {
  outline: 0;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  display: flex;
  overflow: hidden auto;
}

.jf-popup-contain {
  width: 60rem;
  max-width: 95%;
  max-height: 95%;
  box-shadow: none;
  z-index: 9;
  background-color: #fff;
  border-radius: .625rem;
  flex-direction: column;
  margin: auto;
  padding: 1.875rem;
  display: flex;
  position: absolute;
}

.jf-popup-contain .jf-popup-close-btn {
  position: absolute;
  top: .9375rem;
  right: .9375rem;
}

.jf-popup .jf-avatar-picture {
  width: 100%;
  height: 100%;
}

.jf-popup-cover {
  opacity: .5;
  z-index: 8;
  background-color: #595d73;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.jf-popup-cover.hide {
  display: none;
}

.jf-popup-alert-title {
  text-align: center;
  margin-left: 45px;
  padding-top: 17px;
  font: 24px / 29px DM Sans, system-ui, sans-serif;
}

.jf-popup-alert-content {
  padding: 0 20px 20px;
}

.jf-popup-alert-content .outline-btn {
  margin-top: 10px;
  margin-bottom: 10px;
}

.jf-popup-confirm {
  color: #494b74;
  font: 500 1.25rem / 1.5rem DM Sans, system-ui, sans-serif;
}

.jf-popup-confirm-title {
  color: #1e2021;
  margin-bottom: 20px;
  font: 500 1.25rem / 1.5rem DM Sans, system-ui, sans-serif;
}

.jf-popup-confirm .jf-action {
  flex-flow: wrap;
  justify-content: flex-end;
  gap: .625rem;
  margin-top: 40px;
  display: flex;
}

.jf-popup-confirm .jf-popup-contain {
  width: 30rem;
}

.jf-popup-add_accounts .jf-popup-contain {
  flex-direction: column;
  width: 40rem;
  max-width: 95%;
  max-height: 95vh;
  padding: 1.875rem;
  display: flex;
}

.jf-popup-add_accounts .jf-popup-close-btn {
  top: 1.25rem;
  right: 1.25rem;
}

.jf-instadm-add-accounts-popup-title {
  color: #1e2021;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  font: 600 1.375rem / 1.75rem SFProDisplay-Bold, sans-serif;
}

.jf-instadm-add-accounts-popup-body {
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  min-height: 0;
  display: flex;
  overflow-y: auto;
}

.jf-instadm-add-accounts-popup-file-input {
  display: none;
}

.jf-instadm-add-accounts-popup-dropzone {
  color: #595d73;
  cursor: pointer;
  background: #00000005;
  border: 2px dashed #00000026;
  border-radius: .75rem;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  width: 100%;
  padding: 1.5rem 1.25rem;
  transition: border-color .15s, background-color .15s, color .15s;
  display: flex;
}

.jf-instadm-add-accounts-popup-dropzone:hover, .jf-instadm-add-accounts-popup-dropzone.isDragging {
  color: #7c7bfd;
  background: #7c7bfd0d;
  border-color: #7c7bfd;
}

.jf-instadm-add-accounts-popup-dropzone-title {
  color: #1e2021;
  font: 500 1rem / 1.375rem SFProDisplay-Medium, sans-serif;
}

.jf-instadm-add-accounts-popup-dropzone-subtitle {
  color: #595d73;
  font: 400 .875rem / 1.25rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-add-accounts-popup-dropzone-btn {
  color: #1e2021;
  background: #fff;
  border: 1.5px solid #0000001f;
  border-radius: .5rem;
  margin-top: .5rem;
  padding: .375rem 1rem;
  font: 500 .875rem / 1.25rem SFProDisplay-Medium, sans-serif;
  display: inline-flex;
}

.jf-instadm-add-accounts-popup-field {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.jf-instadm-add-accounts-popup-label {
  color: #1e2021;
  font: 500 1rem / 1.375rem SFProDisplay-Medium, sans-serif;
}

.jf-instadm-add-accounts-popup-hint {
  color: #595d73;
  font: 400 .875rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-add-accounts-popup-textarea {
  color: #1e2021;
  resize: vertical;
  background: #00000008;
  border: 1px solid #0000001f;
  border-radius: .5rem;
  outline: none;
  width: 100%;
  min-width: 0;
  padding: .625rem .875rem;
  font: 400 1rem / 1.5rem SFProDisplay-Regular, monospace;
}

.jf-instadm-add-accounts-popup-textarea:focus {
  background: #fff;
  border-color: #7c7bfd;
}

.jf-instadm-add-accounts-popup-errors {
  color: #f64e60;
  flex-direction: column;
  gap: .25rem;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
  display: flex;
}

.jf-instadm-add-accounts-popup-footer {
  border-top: 1px solid #00000014;
  flex-shrink: 0;
  justify-content: flex-end;
  gap: .625rem;
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
}

.jf-popup-account_log .jf-popup-contain {
  flex-direction: column;
  width: 28rem;
  max-width: 95%;
  max-height: 95vh;
  padding: 1.875rem;
  display: flex;
}

.jf-popup-account_log .jf-popup-close-btn {
  top: 1.25rem;
  right: 1.25rem;
}

.jf-instadm-log-popup-title {
  color: #1e2021;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  font: 600 1.375rem / 1.75rem SFProDisplay-Bold, sans-serif;
}

.jf-instadm-log-popup-subtitle {
  color: #595d73;
  font: 400 1rem / 1.5rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-log-popup-body {
  flex-direction: column;
  flex: 1;
  gap: .625rem;
  min-height: 0;
  display: flex;
  overflow-y: auto;
}

.jf-instadm-log-popup-entry {
  color: #1e2021;
  background: #f59e0b14;
  border-radius: .5rem;
  align-items: flex-start;
  gap: .625rem;
  padding: .75rem .875rem;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
  display: flex;
}

.jf-instadm-log-popup-entry svg {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: .0625rem;
}

.jf-instadm-log-popup-empty {
  color: #595d73;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-log-popup-footer {
  border-top: 1px solid #00000014;
  flex-shrink: 0;
  justify-content: flex-end;
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
}

.jf-popup-account_settings .jf-popup-contain {
  flex-direction: column;
  width: 70vw;
  height: 80vh;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.jf-popup-account_settings .jf-popup-close-btn {
  z-index: 2;
  top: 1.25rem;
  right: 1.25rem;
}

.jf-instadm-settings-popup {
  flex: 1;
  min-height: 0;
  display: flex;
}

.jf-instadm-settings-popup-nav {
  background: #f8f9ff;
  border-right: 1px solid #0000000f;
  flex-direction: column;
  flex-shrink: 0;
  gap: .375rem;
  width: 11.5rem;
  padding: 1.875rem .75rem;
  display: flex;
}

.jf-instadm-settings-popup-navbtn {
  text-align: left;
  cursor: pointer;
  color: #595d73;
  background: none;
  border: none;
  border-radius: .5rem;
  align-items: center;
  padding: .625rem .75rem;
  font: 500 1rem / 1.25rem SFProDisplay-Medium, sans-serif;
  transition: background .12s, color .12s;
  display: flex;
}

.jf-instadm-settings-popup-navbtn:hover {
  color: #7c7bfd;
  background: #7c7bfd14;
}

.jf-instadm-settings-popup-navbtn--active, .jf-instadm-settings-popup-navbtn--active:hover {
  color: #fff;
  background: #7c7bfd;
}

.jf-instadm-settings-popup-navbtn--danger:not(.jf-instadm-settings-popup-navbtn--active) {
  color: #f64e60;
}

.jf-instadm-settings-popup-navbtn--danger:not(.jf-instadm-settings-popup-navbtn--active):hover {
  color: #f64e60;
  background: #f64e6014;
}

.jf-instadm-settings-popup-main {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 1.875rem;
  display: flex;
}

.jf-instadm-settings-popup-title {
  color: #1e2021;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  font: 600 1.25rem / 1.625rem SFProDisplay-Bold, sans-serif;
}

.jf-instadm-settings-popup-body {
  flex-direction: column;
  flex: 1;
  gap: 1rem;
  min-height: 0;
  margin-right: -.875rem;
  padding-right: .875rem;
  display: flex;
  overflow: hidden auto;
}

.jf-instadm-settings-popup-field {
  flex-direction: column;
  gap: .375rem;
  display: flex;
}

.jf-instadm-settings-popup-field > .jf-instadm-settings-popup-hint {
  margin-top: -.125rem;
}

.jf-instadm-settings-popup-field > .jf-instadm-settings-popup-row {
  margin-top: .125rem;
}

.jf-instadm-settings-popup-label {
  color: #1e2021;
  font: 500 1rem / 1.25rem SFProDisplay-Medium, sans-serif;
}

.jf-instadm-settings-popup-section-title {
  color: #1e2021;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .55;
  margin-top: .5rem;
  font: 600 .8125rem / 1rem SFProDisplay-Semibold, sans-serif;
}

.jf-instadm-settings-popup-section-title:first-child {
  margin-top: 0;
}

.jf-instadm-settings-popup-input {
  color: #1e2021;
  background: #00000008;
  border: 1px solid #0000001f;
  border-radius: .5rem;
  outline: none;
  width: 100%;
  min-width: 0;
  padding: .625rem .875rem;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-input:focus {
  background: #fff;
  border-color: #7c7bfd;
}

.jf-instadm-settings-popup-input:disabled {
  cursor: not-allowed;
  opacity: .5;
  background: #0000000d;
}

select.jf-instadm-settings-popup-input {
  cursor: pointer;
}

.jf-instadm-settings-popup-radio-group {
  align-items: center;
  gap: 1.25rem;
  padding: .375rem 0;
  display: flex;
}

.jf-instadm-settings-popup-radio {
  color: #1e2021;
  cursor: pointer;
  align-items: center;
  gap: .5rem;
  font: 400 1rem / 1.25rem SFProDisplay-Regular, sans-serif;
  display: flex;
}

.jf-instadm-settings-popup-radio input[type="radio"] {
  accent-color: #7c7bfd;
  cursor: pointer;
  width: 1rem;
  height: 1rem;
}

.jf-instadm-settings-popup-logs-empty {
  color: #595d73;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-logs-entry {
  color: #1e2021;
  background: #f59e0b14;
  border-radius: .5rem;
  align-items: flex-start;
  gap: .625rem;
  padding: .75rem .875rem;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
  display: flex;
}

.jf-instadm-settings-popup-logs-entry svg {
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: .0625rem;
}

.jf-instadm-settings-popup-error {
  color: #f64e60;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-delete-warning {
  color: #1e2021;
  background: #f64e6014;
  border-radius: .625rem;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  font: 400 1rem / 1.4375rem SFProDisplay-Regular, sans-serif;
  display: flex;
}

.jf-instadm-settings-popup-delete-warning svg {
  color: #f64e60;
  flex-shrink: 0;
  margin-top: .0625rem;
}

.jf-instadm-settings-popup-confirm-row {
  border: 1px solid #00000014;
  border-radius: .625rem;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .875rem 1rem;
  display: flex;
}

.jf-instadm-settings-popup-confirm-row > div:first-child {
  flex: 1;
  min-width: 0;
}

.jf-instadm-settings-popup-confirm-row .jf-toggle-switch {
  flex-shrink: 0;
}

.jf-instadm-settings-popup-confirm-label {
  color: #1e2021;
  font: 500 1rem / 1.25rem SFProDisplay-Medium, sans-serif;
}

.jf-instadm-settings-popup-footer {
  border-top: 1px solid #00000014;
  flex-shrink: 0;
  justify-content: flex-end;
  gap: .625rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
}

.jf-instadm-settings-popup-footer .jf-btn-danger:disabled {
  cursor: not-allowed;
  opacity: .4;
}

.jf-instadm-settings-popup-subtabs {
  border-bottom: 1px solid #00000014;
  flex-shrink: 0;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.jf-instadm-settings-popup-subtab {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  margin-bottom: -1px;
  padding: 0 0 .75rem;
  font: 500 1rem / 1.25rem SFProDisplay-Medium, sans-serif;
  transition: color .12s, border-color .12s;
}

.jf-instadm-settings-popup-subtab:hover {
  color: #7c7bfd;
}

.jf-instadm-settings-popup-subtab--active {
  color: #7c7bfd;
  border-bottom-color: #7c7bfd;
}

.jf-instadm-settings-popup-body--ai {
  gap: 1.25rem;
}

.jf-instadm-settings-popup-row {
  gap: 1rem;
  display: flex;
}

.jf-instadm-settings-popup-row > .jf-instadm-settings-popup-field {
  flex: 1;
  min-width: 0;
}

.jf-instadm-settings-popup-hint {
  color: #595d73;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-hint a {
  color: #7c7bfd;
}

.jf-instadm-settings-popup-mode-group {
  gap: .75rem;
  display: flex;
}

.jf-instadm-settings-popup-mode-btn {
  cursor: pointer;
  text-align: left;
  white-space: normal;
  background: #00000005;
  border: 1px solid #0000001f;
  border-radius: .625rem;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  gap: .25rem;
  min-width: 0;
  padding: .75rem 1rem;
  transition: border-color .12s, background .12s;
  display: flex;
}

.jf-instadm-settings-popup-mode-btn__label {
  color: #1e2021;
  width: 100%;
  font: 500 1rem / 1.25rem SFProDisplay-Medium, sans-serif;
  display: block;
}

.jf-instadm-settings-popup-mode-btn__desc {
  color: #595d73;
  width: 100%;
  font: 400 .875rem / 1.125rem SFProDisplay-Regular, sans-serif;
  display: block;
}

.jf-instadm-settings-popup-mode-btn:hover {
  border-color: #7c7bfd;
}

.jf-instadm-settings-popup-mode-btn--active {
  background: #7c7bfd0f;
  border-color: #7c7bfd;
}

.jf-instadm-settings-popup-apikey-wrap {
  align-items: center;
  display: flex;
  position: relative;
}

.jf-instadm-settings-popup-apikey-wrap .jf-instadm-settings-popup-input {
  padding-right: 2.75rem;
}

.jf-instadm-settings-popup-apikey-toggle {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: none;
  justify-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  right: .75rem;
}

.jf-instadm-settings-popup-apikey-toggle:hover {
  color: #7c7bfd;
}

.jf-instadm-settings-popup-slider-header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.jf-instadm-settings-popup-slider-val {
  color: #7c7bfd;
  font: 600 1rem / 1.25rem SFProDisplay-Bold, sans-serif;
}

.jf-instadm-settings-popup-slider {
  accent-color: #7c7bfd;
  width: 100%;
}

.jf-instadm-settings-popup-slider-ends {
  color: #595d73;
  justify-content: space-between;
  font: 400 .875rem / 1.125rem SFProDisplay-Regular, sans-serif;
  display: flex;
}

.jf-instadm-settings-popup-textarea {
  resize: vertical;
  color: #1e2021;
  background: #00000008;
  border: 1px solid #0000001f;
  border-radius: .5rem;
  outline: none;
  width: 100%;
  min-width: 0;
  padding: .625rem .875rem;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-textarea:focus {
  background: #fff;
  border-color: #7c7bfd;
}

.jf-instadm-settings-popup-gallery-tabs {
  border-bottom: 1px solid #00000014;
  flex-shrink: 0;
  align-items: flex-end;
  gap: .375rem;
  margin-bottom: 1.25rem;
  display: flex;
  overflow: auto hidden;
}

.jf-instadm-settings-popup-gallery-tabs__list {
  align-items: flex-end;
  gap: .375rem;
  min-height: 2.375rem;
  display: flex;
}

.jf-instadm-settings-popup-gallery-tab {
  cursor: pointer;
  color: #595d73;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  border-radius: .5rem .5rem 0 0;
  align-items: center;
  gap: .5rem;
  margin-bottom: -1px;
  padding: .5rem .875rem;
  font: 500 1rem / 1.25rem SFProDisplay-Medium, sans-serif;
  transition: color .12s, border-color .12s, background .12s;
  display: inline-flex;
}

.jf-instadm-settings-popup-gallery-tab:hover {
  color: #7c7bfd;
  background: #7c7bfd0f;
}

.jf-instadm-settings-popup-gallery-tab--active {
  color: #7c7bfd;
  border-bottom-color: #7c7bfd;
}

.jf-instadm-settings-popup-gallery-tab--add {
  padding: .5rem .75rem;
  font-size: 1.125rem;
  line-height: 1;
}

.jf-instadm-settings-popup-gallery-tab__close {
  color: #595d73;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 1.125rem;
  height: 1.125rem;
  font-size: .75rem;
  transition: background .12s, color .12s;
  display: inline-flex;
}

.jf-instadm-settings-popup-gallery-tab__close:hover {
  color: #1e2021;
  background: #00000014;
}

.jf-instadm-settings-popup-gallery-tab__input {
  color: #1e2021;
  background: #00000008;
  border: none;
  border-bottom: 2px solid #7c7bfd;
  border-radius: .5rem .5rem 0 0;
  outline: none;
  width: 9.5rem;
  margin: 0 0 -1px;
  padding: .5rem .875rem;
  font: 400 1rem / 1.25rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-gallery-body {
  gap: .625rem;
}

.jf-instadm-settings-popup-gallery-empty {
  text-align: center;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  min-height: 16rem;
  padding: 2.5rem 1.5rem;
  display: flex;
}

.jf-instadm-settings-popup-gallery-empty__icon {
  font-size: 3.5rem;
  line-height: 1;
}

.jf-instadm-settings-popup-gallery-empty__title {
  color: #1e2021;
  font: 600 1.25rem / 1.5rem SFProDisplay-Bold, sans-serif;
}

.jf-instadm-settings-popup-gallery-empty__body {
  color: #595d73;
  max-width: 22rem;
  font: 400 1rem / 1.375rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-gallery-list {
  flex-direction: column;
  gap: .625rem;
  display: flex;
}

.jf-instadm-settings-popup-gallery-row {
  background: #fff;
  border: 1px solid #00000014;
  border-radius: .625rem;
  align-items: flex-start;
  gap: .875rem;
  padding: .75rem;
  transition: box-shadow .12s;
  display: flex;
}

.jf-instadm-settings-popup-gallery-row:hover {
  box-shadow: 0 2px 8px #00000014;
}

.jf-instadm-settings-popup-gallery-row__thumb {
  cursor: zoom-in;
  background: #f8f9ff;
  border-radius: .5rem;
  flex-shrink: 0;
  width: 6.5rem;
  height: 5rem;
  position: relative;
  overflow: hidden;
}

.jf-instadm-settings-popup-gallery-row__thumb-media {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.jf-instadm-settings-popup-gallery-row__thumb-overlay {
  background: none;
  justify-content: center;
  align-items: center;
  transition: background .15s;
  display: flex;
  position: absolute;
  inset: 0;
}

.jf-instadm-settings-popup-gallery-row__thumb:hover .jf-instadm-settings-popup-gallery-row__thumb-overlay {
  background: #0000004d;
}

.jf-instadm-settings-popup-gallery-row__view-hint {
  color: #fff;
  opacity: 0;
  font: 600 .875rem / 1 SFProDisplay-Medium, sans-serif;
  transition: opacity .15s;
}

.jf-instadm-settings-popup-gallery-row__thumb:hover .jf-instadm-settings-popup-gallery-row__view-hint {
  opacity: 1;
}

.jf-instadm-settings-popup-gallery-row__info {
  flex-direction: column;
  flex: 1;
  gap: .3125rem;
  min-width: 0;
  display: flex;
}

.jf-instadm-settings-popup-gallery-row__name {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 600 1rem / 1.25rem SFProDisplay-Medium, sans-serif;
  overflow: hidden;
}

.jf-instadm-settings-popup-gallery-row__meta {
  color: #595d73;
  flex-wrap: wrap;
  gap: .5rem;
  font: 400 .875rem / 1.125rem SFProDisplay-Regular, sans-serif;
  display: flex;
}

.jf-instadm-settings-popup-gallery-row__mime {
  background: #f8f9ff;
  border: 1px solid #00000014;
  border-radius: .25rem;
  padding: .0625rem .3125rem;
  font-family: Courier New, monospace;
}

.jf-instadm-settings-popup-gallery-row__desc {
  resize: vertical;
  color: #1e2021;
  background: #00000008;
  border: 1px solid #0000001f;
  border-radius: .5rem;
  outline: none;
  width: 100%;
  min-width: 0;
  padding: .5rem .625rem;
  font: 400 .9375rem / 1.25rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-gallery-row__desc:focus {
  background: #fff;
  border-color: #7c7bfd;
}

.jf-instadm-settings-popup-gallery-row__desc-actions {
  justify-content: flex-end;
  display: flex;
}

.jf-instadm-settings-popup-gallery-row__edit-wrap {
  flex-shrink: 0;
  margin-top: .125rem;
}

.jf-instadm-settings-popup-gallery-menu {
  min-width: 10rem;
  margin: 0;
  padding: .375rem 0;
  list-style: none;
}

.jf-instadm-settings-popup-gallery-menu__item {
  color: #1e2021;
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  gap: .625rem;
  padding: .625rem 1rem;
  font: 500 .9375rem / 1rem SFProDisplay-Medium, sans-serif;
  transition: background .1s;
  display: flex;
}

.jf-instadm-settings-popup-gallery-menu__item:hover {
  background: #f8f9ff;
}

.jf-instadm-settings-popup-gallery-menu__item--back {
  border-bottom: 1px solid #00000014;
  font-weight: 600;
}

.jf-instadm-settings-popup-gallery-menu__item--current {
  color: #7c7bfd;
  cursor: default;
}

.jf-instadm-settings-popup-gallery-menu__item--current:hover {
  background: none;
}

.jf-instadm-settings-popup-gallery-count {
  color: #595d73;
  margin-right: auto;
  font: 400 1rem / 1.25rem SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-gallery-lightbox {
  z-index: 999;
  cursor: zoom-out;
  background: #000000e0;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0;
}

.jf-instadm-settings-popup-gallery-lightbox__img, .jf-instadm-settings-popup-gallery-lightbox__video {
  object-fit: contain;
  border-radius: .375rem;
  max-width: 92vw;
  max-height: 90vh;
  box-shadow: 0 8px 40px #00000080;
}

.jf-instadm-settings-popup-gallery-lightbox__video {
  cursor: default;
  outline: none;
}

.jf-instadm-settings-popup-gallery-lightbox__close {
  color: #fff;
  cursor: pointer;
  background: #ffffff26;
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.125rem;
  transition: background .12s;
  display: flex;
  position: fixed;
  top: 1.25rem;
  right: 1.375rem;
}

.jf-instadm-settings-popup-gallery-lightbox__close:hover {
  background: #ffffff47;
}

.jf-instadm-settings-popup-gallery-confirm {
  z-index: 1000;
  background: #00000073;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.jf-instadm-settings-popup-gallery-confirm__box {
  background: #fff;
  border-radius: .75rem;
  width: 22.5rem;
  max-width: 100%;
  padding: 1.375rem 1.375rem 1.125rem;
  box-shadow: 0 12px 40px #00000040;
}

.jf-instadm-settings-popup-gallery-confirm__title {
  color: #1e2021;
  margin-bottom: .625rem;
  font: 600 1.125rem / 1.2 SFProDisplay-Bold, sans-serif;
}

.jf-instadm-settings-popup-gallery-confirm__body {
  color: #595d73;
  margin-bottom: 1.25rem;
  font: 400 .9375rem / 1.5 SFProDisplay-Regular, sans-serif;
}

.jf-instadm-settings-popup-gallery-confirm__actions {
  justify-content: flex-end;
  gap: .625rem;
  display: flex;
}

.jf-instadm-settings-popup-tools {
  border: 1px solid #00000014;
  border-radius: .625rem;
  margin-bottom: .75rem;
  padding: .75rem 1rem;
}

.jf-instadm-settings-popup-tools__heading {
  color: #1e2021;
  margin-bottom: .5rem;
  font: 500 .875rem / 1.125rem SFProDisplay-Medium, sans-serif;
}

.jf-instadm-settings-popup-tools__item {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  display: flex;
}

.jf-instadm-settings-popup-tools__item code {
  color: #7c7bfd;
  background: #7c7bfd14;
  border-radius: .25rem;
  padding: .125rem .375rem;
  font-size: .875rem;
}

.jf-instadm-settings-popup-tools__item span {
  color: #595d73;
  font: 400 .875rem / 1.125rem SFProDisplay-Regular, sans-serif;
}

.ib-content {
  background-color: #fff;
  border-radius: .625rem;
  flex-direction: column;
  flex: 1;
  gap: 1.25rem;
  width: 100%;
  min-height: 0;
  margin-top: .5rem;
  padding: 1.875rem;
  font-size: 1rem;
  display: flex;
}

.ib-view {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.ib-header-alert {
  text-align: center;
  border-radius: .5rem;
  align-self: center;
  align-items: center;
  gap: .625rem;
  max-width: min(720px, 100%);
  margin: 0 auto .5rem;
  padding: .5rem .75rem;
  font: 500 1rem / 1.35 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-header-alert--error {
  color: #dc2626;
  background: #ef44441a;
  border: 1px solid #ef444440;
}

.ib-header-alert--ok {
  color: #059669;
  background: #00c7501a;
  border: 1px solid #00c75040;
}

.ib-header-alert span {
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.ib-banner {
  border-radius: .5rem;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem .875rem;
  font: 500 1rem / 1.4 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-banner--error {
  color: #dc2626;
  background: #ef444414;
  border: 1px solid #ef444433;
}

.ib-banner--ok {
  color: #059669;
  background: #00c75014;
  border: 1px solid #00c75033;
}

.ib-banner-dismiss {
  color: inherit;
  cursor: pointer;
  opacity: .7;
  background: none;
  border: 0;
  padding: 0 .25rem;
  font-size: 1.125rem;
  line-height: 1;
}

.ib-banner-dismiss:hover {
  opacity: 1;
}

.ib-challenge-card {
  background: #f59e0b0f;
  border-color: #f59e0b73;
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.ib-challenge-head {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.ib-challenge-title {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-challenge-msg {
  color: #595d73;
  margin: 0;
  font-size: 1rem;
}

.ib-challenge-form {
  flex-wrap: wrap;
  gap: .625rem;
  display: flex;
}

.ib-challenge-form input {
  letter-spacing: .12em;
  text-align: center;
  border: 1px solid #f59e0b73;
  border-radius: .5rem;
  flex: 1;
  min-width: 10rem;
  max-width: 17.5rem;
  height: 2.625rem;
  padding: 0 .75rem;
  font: 600 1.125rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  padding: 1.125rem 1.25rem;
}

.ib-card-header {
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .875rem;
  display: flex;
}

.ib-card-header h2 {
  color: #595d73;
  margin: 0;
  font: 600 1.125rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-health-strip {
  background: #b0b3c60f;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  flex-wrap: wrap;
  align-items: center;
  gap: .875rem 1.25rem;
  padding: .875rem 1.125rem;
  display: flex;
}

.ib-health-stat {
  flex-direction: column;
  gap: .25rem;
  min-width: 4.5rem;
  display: flex;
}

.ib-health-stat strong {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-health-stat--bad {
  color: #dc2626;
}

.ib-health-badges {
  flex-wrap: wrap;
  gap: .375rem;
  margin-left: auto;
  display: flex;
}

.ib-status-card {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-status-main {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.ib-status-row {
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  margin-top: .375rem;
  display: flex;
}

.ib-exit-bad {
  color: #dc2626;
  background: #ef44441a;
  border: 1px solid #ef444440;
  border-radius: .375rem;
  align-items: center;
  height: 1.5rem;
  padding: 0 .625rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-label {
  text-transform: uppercase;
  letter-spacing: .04em;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-muted {
  font-size: 1rem;
}

.ib-strong {
  color: #595d73;
  font-weight: 600;
}

.ib-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
}

.ib-hint {
  color: #b45309;
  background: #f59e0b14;
  border: 1px solid #f59e0b40;
  border-radius: .5rem;
  margin-bottom: .875rem;
  padding: .625rem .75rem;
  font: 500 1rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-config-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .625rem;
  display: grid;
}

.ib-config-grid > div {
  background: #b0b3c614;
  border-radius: .5rem;
  flex-direction: column;
  gap: .25rem;
  padding: .625rem .75rem;
  display: flex;
}

.ib-config-grid > div strong {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-pill {
  text-transform: lowercase;
  border-radius: .375rem;
  align-items: center;
  height: 1.5rem;
  padding: 0 .625rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-pill--ok {
  color: #00c750;
  background: #00c7501a;
  border: 1px solid #00c75040;
}

.ib-pill--warn {
  color: #d97706;
  background: #f59e0b1a;
  border: 1px solid #f59e0b40;
}

.ib-pill--danger {
  color: #dc2626;
  background: #ef44441a;
  border: 1px solid #ef444440;
}

.ib-pill--muted {
  color: #8b90a5;
  background: #b0b3c626;
  border: 1px solid #b0b3c64d;
}

.ib-pill--inline {
  vertical-align: middle;
  height: 1.125rem;
  margin-left: .375rem;
  padding: 0 .375rem;
  font-size: 1rem;
}

.ib-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  display: grid;
}

@media (max-width: 1100px) {
  .ib-grid {
    grid-template-columns: 1fr;
  }
}

.ib-form {
  border-bottom: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1.125rem;
  padding-bottom: 1.125rem;
  display: flex;
}

.ib-form-title {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-form-row {
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  display: grid;
}

@media (max-width: 700px) {
  .ib-form-row {
    grid-template-columns: 1fr;
  }
}

.ib-form label {
  color: #595d73;
  flex-direction: column;
  gap: .375rem;
  font: 500 1rem / 1.2 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-form label input {
  color: #595d73;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-form label input:disabled {
  background: #b0b3c61a;
}

.ib-form label input:focus {
  border-color: #7c7bfd;
  outline: none;
}

.ib-form-label-row {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .375rem;
  display: inline-flex;
}

.ib-form-actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-table {
  flex-direction: column;
  gap: .125rem;
  display: flex;
}

.ib-table__head, .ib-table__row {
  grid-template-columns: 1.3fr 1fr .7fr 1.1fr .8fr .55fr 1.3fr;
  align-items: center;
  gap: .5rem;
  padding: .625rem .5rem;
  display: grid;
}

.ib-table__head {
  text-transform: uppercase;
  letter-spacing: .03em;
  border-bottom: 1px solid #e6e6e6;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-table__row {
  border-radius: .5rem;
}

.ib-table__row:hover {
  background: #b0b3c614;
}

.ib-row-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  display: flex;
}

.ib-link {
  cursor: pointer;
  color: #595d73;
  text-underline-offset: 2px;
  background: none;
  border: 0;
  padding: 0;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  text-decoration: underline;
}

.ib-link:disabled {
  opacity: .4;
  cursor: not-allowed;
  text-decoration: none;
}

.ib-link--danger {
  color: #dc2626;
}

a.ib-link {
  align-items: center;
  display: inline-flex;
}

.ib-empty {
  padding: 1.5rem .5rem;
  font-size: 1rem;
}

.ib-empty--dark {
  color: #8b90a5;
}

.ib-logs-card {
  flex-direction: column;
  min-height: 26.25rem;
  display: flex;
}

.ib-logs-tools {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.ib-log-sources {
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  gap: .375rem;
  margin-bottom: .25rem;
  padding: .25rem 0 .625rem;
  display: flex;
  overflow-x: auto;
}

.ib-log-source {
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 1px solid #b0b3c659;
  border-radius: .5rem;
  flex: none;
  padding: .375rem .75rem;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-log-source--active {
  color: #595d73;
  background: #b0b3c62e;
  border-color: #b0b3c68c;
}

.ib-logs {
  color: #d7dcec;
  background: #0f1220;
  border-radius: .625rem;
  flex: 1;
  max-height: 35rem;
  padding: .75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  line-height: 1.45;
  overflow: auto;
}

.ib-log-line {
  grid-template-columns: 4.5rem 1fr;
  gap: .625rem;
  padding: .125rem 0;
  display: grid;
}

.ib-log-line--err .ib-log-text {
  color: #fca5a5;
}

.ib-log-line--warn .ib-log-text {
  color: #fcd34d;
}

.ib-log-at {
  color: #8b90a5;
}

.ib-log-text {
  white-space: pre-wrap;
  word-break: break-word;
}

.ib-subnav {
  border-bottom: 1px solid #e6e6e6;
  gap: .25rem;
  margin-bottom: -.375rem;
  display: flex;
}

.ib-subnav__link {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: 0;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: .5rem;
  margin-bottom: -1px;
  padding: .625rem 1rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  text-decoration: none;
  transition: color .15s, border-color .15s;
  display: inline-flex;
}

.ib-subnav__link:hover {
  color: #7c7bfd;
}

.ib-subnav__link--active {
  color: #7c7bfd;
  border-bottom-color: #7c7bfd;
  font-family: DM Sans, system-ui, sans-serif;
}

.ib-subnav__badge {
  color: #fff;
  text-align: center;
  background: #7c7bfd;
  border-radius: .625rem;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 .375rem;
  font: 600 1rem / 1.25rem DM Sans, system-ui, sans-serif;
}

.ib-tabs {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.ib-tab-btn {
  color: #595d73;
  cursor: pointer;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  align-items: center;
  gap: .4375rem;
  height: 2.625rem;
  padding: 0 1.125rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  transition: background .15s, color .15s, border-color .15s;
  display: inline-flex;
}

.ib-tab-btn--active {
  color: #fff;
  background: #7c7bfd;
  border-color: #7c7bfd;
  font-family: DM Sans, system-ui, sans-serif;
}

.ib-tab-btn:hover:not(.ib-tab-btn--active) {
  color: #7c7bfd;
  background: #7c7bfd12;
  border-color: #7c7bfd4d;
}

.ib-tab-badge {
  color: #fff;
  background: #f64e60;
  border-radius: .5625rem;
  justify-content: center;
  align-items: center;
  min-width: 1.125rem;
  height: 1.125rem;
  margin-left: .125rem;
  padding: 0 .3125rem;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-tab-btn--active .ib-tab-badge {
  background: #ffffff47;
}

.ib-followers-view {
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex: 1;
  height: 100%;
  min-height: 30rem;
  display: flex;
  overflow: hidden;
}

.ib-flw-users {
  background: #fff;
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  flex-shrink: 0;
  width: 18.75rem;
  display: flex;
}

.ib-flw-users__header {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid #f8f9ff;
  flex-shrink: 0;
  padding: 1rem 1.125rem;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-flw-users__items {
  flex: 1;
  overflow-y: auto;
}

.ib-flw-user-item {
  cursor: pointer;
  border-bottom: 1px solid #f8f9ff;
  align-items: center;
  gap: .625rem;
  padding: .75rem 1rem;
  transition: background .12s;
  display: flex;
}

.ib-flw-user-item:hover {
  background: #f8f9ff;
}

.ib-flw-user-item--active {
  background: #7c7bfd14;
}

.ib-flw-user-item__body {
  flex-direction: column;
  flex: 1;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-flw-user-item__username {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-flw-user-item__fullname {
  color: #595d73;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-flw-panel {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.ib-flw-panel__header {
  border-bottom: 1px solid #e6e6e6;
  flex-shrink: 0;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.25rem;
  display: flex;
}

.ib-flw-panel__header-info {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-flw-panel__username {
  color: #1e2021;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-flw-panel__count {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-flw-panel__list {
  flex-direction: column;
  flex: 1;
  gap: .5rem;
  padding: .75rem;
  display: flex;
  overflow-y: auto;
}

.ib-follower-card {
  border-radius: .625rem;
  align-items: center;
  gap: .75rem;
  padding: .625rem .75rem;
  transition: background .12s;
  display: flex;
}

.ib-follower-card:hover {
  background: #f8f9ff;
}

.ib-follower-card__info {
  flex-direction: column;
  flex: 1;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-follower-card__top {
  align-items: center;
  gap: .375rem;
  display: flex;
}

.ib-follower-card__username {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 500 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-follower-card__fullname {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-follower-card__time {
  color: #595d73;
  flex-shrink: 0;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-logs-view {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-logs-modes {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-logs-mode {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  height: 2.125rem;
  padding: 0 .875rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-logs-mode--active {
  color: #7c7bfd;
  background: #7c7bfd1a;
  border-color: #7c7bfd59;
}

.ib-audit-list {
  flex-direction: column;
  gap: .625rem;
  padding: .25rem 0;
  display: flex;
}

.ib-audit-card {
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  flex-direction: column;
  gap: .375rem;
  padding: .75rem .875rem;
  display: flex;
}

.ib-audit-card__top {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.ib-audit-card__meta {
  color: #595d73;
  flex-wrap: wrap;
  gap: .625rem;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-audit-card__detail {
  color: #1e2021;
  white-space: pre-wrap;
  word-break: break-word;
  font: 400 1rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-warmup-hint {
  margin: 0 0 .75rem;
  padding: 0 .125rem;
  font: 400 .9375rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-table--accounts .ib-table__head, .ib-table--accounts .ib-table__row {
  grid-template-columns: 1.2fr 1.4fr 1.1fr .9fr 1.6fr;
  align-items: start;
}

.ib-account-list {
  flex-direction: column;
  gap: .75rem;
  margin-top: .5rem;
  display: flex;
}

.ib-account-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  flex-direction: column;
  gap: .75rem;
  padding: .875rem 1rem;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
}

.ib-account-card:hover {
  border-color: #b0b3c68c;
  box-shadow: 0 1px 4px #0f0f0f0a;
}

.ib-account-card__top {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.ib-account-card__identity {
  align-items: center;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.ib-account-card__avatar {
  color: #595d73;
  background: #b0b3c62e;
  border-radius: .75rem;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-account-card__names {
  flex-direction: column;
  gap: .25rem;
  min-width: 0;
  display: flex;
}

.ib-account-card__title {
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  display: flex;
}

.ib-account-card__login {
  cursor: pointer;
  color: #595d73;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-account-card__login:hover {
  color: #7c7bfd;
  text-underline-offset: 2px;
  text-decoration: underline;
}

.ib-account-card__ig {
  color: #7c7bfd;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  text-decoration: none;
}

.ib-account-card__ig:hover {
  text-underline-offset: 2px;
  text-decoration: underline;
}

.ib-account-card__meta-line {
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  display: flex;
}

.ib-account-card__stats {
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: .5rem;
  display: grid;
}

.ib-account-card__ticks {
  flex-wrap: wrap;
  gap: .625rem .875rem;
  font-size: 1rem;
  display: flex;
}

.ib-account-card__actions {
  border-top: 1px solid #b0b3c633;
  flex-wrap: wrap;
  gap: .625rem .75rem;
  padding-top: .25rem;
  display: flex;
}

.ib-account-stat {
  background: #b0b3c614;
  border-radius: .5rem;
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  padding: .5rem .625rem;
  display: flex;
}

.ib-account-stat__label {
  text-transform: uppercase;
  letter-spacing: .04em;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-account-stat strong {
  color: #595d73;
  font: 700 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-account-stat .ib-muted {
  font-size: 1rem;
}

.ib-account-stat--bad {
  background: #ef444414;
}

.ib-account-stat--bad strong {
  color: #dc2626;
}

.ib-flag-pills {
  flex-wrap: wrap;
  gap: .25rem;
  display: flex;
}

.ib-account-error {
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #dc2626;
  max-width: 100%;
  font-size: 1rem;
  display: block;
  overflow: hidden;
}

.ib-failed-count {
  color: #dc2626;
  font-weight: 600;
}

.ib-accounts-view {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-accounts-toolbar {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.ib-accounts-count {
  color: #595d73;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table {
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  overflow: visible;
}

.ib-accounts-table__header {
  background: #f8f9ff;
  border-bottom: 1px solid #7c7bfd1f;
  grid-template-columns: 4.375rem 1.2fr 1.2fr 1fr 1fr 1.4fr 4rem 4rem;
  gap: .75rem;
  padding: .75rem 1.25rem;
  display: grid;
}

.ib-accounts-table__header span {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__row {
  border-bottom: 1px solid #f8f9ff;
  grid-template-columns: 4.375rem 1.2fr 1.2fr 1fr 1fr 1.4fr 4rem 4rem;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  transition: background .12s;
  display: grid;
}

.ib-accounts-table__row:last-child {
  border-bottom: none;
}

.ib-accounts-table__row:hover {
  background: #f8f9ff;
}

.ib-accounts-table__cell {
  color: #1e2021;
  align-items: center;
  gap: .375rem;
  min-width: 0;
  font: 400 1rem / 1.25rem DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-accounts-table__cell--user {
  flex-direction: column;
  align-items: flex-start;
  gap: .125rem;
}

.ib-accounts-table__cell--password {
  font-family: monospace;
}

.ib-accounts-table__cell--proxy {
  flex-wrap: wrap;
}

.ib-accounts-table__cell--flags {
  flex-wrap: wrap;
  gap: .25rem;
}

.ib-accounts-table__cell--center {
  justify-content: center;
}

.ib-accounts-table__cell--actions {
  justify-content: center;
  position: relative;
}

.ib-accounts-table__eye-btn {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: none;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.ib-accounts-table__eye-btn:hover {
  color: #7c7bfd;
}

.ib-accounts-table__username-btn {
  color: #1e2021;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font: 500 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__username-btn:hover {
  color: #7c7bfd;
}

.ib-accounts-table__ig {
  color: #7c7bfd;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  text-decoration: none;
}

.ib-accounts-table__ig:hover {
  text-decoration: underline;
}

.ib-accounts-table__log-btn, .ib-accounts-table__log-ok, .ib-accounts-table__gear-btn {
  cursor: pointer;
  color: #595d73;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  padding: .25rem;
  display: inline-flex;
}

.ib-accounts-table__log-btn:hover, .ib-accounts-table__log-ok:hover, .ib-accounts-table__gear-btn:hover {
  color: #7c7bfd;
}

.ib-accounts-table__log-btn {
  color: #d97706;
}

.ib-accounts-table__log-ok {
  color: #00c750;
}

.ib-accounts-table__gear-wrap {
  position: relative;
}

.ib-accounts-table__menu {
  z-index: 5;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  flex-direction: column;
  min-width: 10rem;
  padding: .375rem;
  display: flex;
  position: absolute;
  top: 100%;
  right: 0;
  box-shadow: 0 8px 24px #0f0f0f1f;
}

.ib-accounts-table__menu button {
  text-align: left;
  color: #1e2021;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: .375rem;
  padding: .5rem .625rem;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__menu button:hover:not(:disabled) {
  background: #f8f9ff;
}

.ib-accounts-table__menu button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.ib-accounts-table__menu-danger {
  color: #dc2626 !important;
}

.ib-accounts-table__empty {
  text-align: center;
  padding: 2.5rem 1.25rem;
}

.ib-accounts-table__empty-title {
  color: #1e2021;
  margin-bottom: .375rem;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-accounts-table__empty-text {
  color: #595d73;
  font: 400 1rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-proxy-badge {
  color: #7c7bfd;
  text-transform: uppercase;
  background: #7c7bfd1a;
  border-radius: 1.25rem;
  align-items: center;
  padding: .125rem .5rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-progress-view {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-progress-health {
  margin: 0;
}

.ib-progress-toolbar {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.ib-progress-actions {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.ib-progress-toggle {
  gap: .375rem;
}

.ib-progress-row-toggle {
  justify-content: center;
  gap: .25rem;
  min-width: 5.25rem;
}

.ib-progress-table {
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  overflow: hidden;
}

.ib-progress-table__header {
  background: #f8f9ff;
  border-bottom: 1px solid #7c7bfd1f;
  grid-template-columns: 1.5fr 1.5fr .7fr .7fr .9fr 1.1fr 6rem;
  gap: .75rem;
  padding: .75rem 1.25rem;
  display: grid;
}

.ib-progress-table__header span {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-progress-table__row {
  border-bottom: 1px solid #f8f9ff;
  grid-template-columns: 1.5fr 1.5fr .7fr .7fr .9fr 1.1fr 6rem;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1.25rem;
  transition: background .12s;
  display: grid;
}

.ib-progress-table__row:last-child {
  border-bottom: none;
}

.ib-progress-table__row:hover {
  background: #f8f9ff;
}

.ib-progress-table__cell {
  color: #1e2021;
  align-items: center;
  gap: .375rem;
  min-width: 0;
  font: 400 1rem / 1.25rem DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-progress-table__cell--account {
  flex-direction: row;
  align-items: center;
  gap: .625rem;
}

.ib-progress-table__cell--progress {
  flex-direction: column;
  align-items: stretch;
  gap: .375rem;
}

.ib-progress-table__cell--center {
  text-align: center;
  justify-content: center;
}

.ib-progress-table__cell--stack {
  flex-direction: column;
  gap: .125rem;
}

.ib-progress-table__cell--messages {
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
}

.ib-progress-table__message-deltas {
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem;
  display: flex;
}

.ib-progress-table__account-info {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-progress-table__username {
  color: #1e2021;
  font: 500 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-progress-table__fullname {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-progress-table__action {
  color: #595d73;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font: 400 .8125rem / 1.35 DM Sans, system-ui, sans-serif;
  display: -webkit-box;
  overflow: hidden;
}

.ib-progress-table__delta {
  color: #00c750;
  white-space: nowrap;
  background: #00c7501f;
  border-radius: 1.25rem;
  align-items: center;
  padding: .0625rem .5rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-progress-table__delta--reply {
  color: #7c7bfd;
  background: #7c7bfd1f;
}

.ib-progress-bar {
  background: #f8f9ff;
  border-radius: .375rem;
  width: 100%;
  height: .5rem;
  overflow: hidden;
}

.ib-progress-bar__fill {
  background: #7c7bfd;
  border-radius: .375rem;
  height: 100%;
  transition: width .3s;
}

.ib-progress-bar__fill--ok {
  background: #00c750;
}

.ib-progress-bar__fill--warn {
  background: #d97706;
}

.ib-progress-bar__fill--danger {
  background: #dc2626;
}

.ib-progress-bar__fill--muted {
  opacity: .45;
  background: #595d73;
}

.ib-inbox {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  grid-template-columns: minmax(200px, .85fr) minmax(220px, 1fr) minmax(0, 1.4fr);
  gap: .75rem;
  min-height: 32.5rem;
  display: grid;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .ib-inbox {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

.ib-inbox-col-title {
  color: #595d73;
  border-bottom: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .25rem;
  padding: .875rem .875rem .625rem;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-inbox-accounts, .ib-inbox-threads {
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  min-height: 0;
  max-height: 40rem;
  display: flex;
  overflow: auto;
}

@media (max-width: 1100px) {
  .ib-inbox-accounts, .ib-inbox-threads {
    border-bottom: 1px solid #e6e6e6;
    border-right: 0;
    max-height: 17.5rem;
  }
}

.ib-account-chip {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #b0b3c626;
  grid-template-columns: 2.25rem 1fr auto;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .75rem .875rem;
  display: grid;
}

.ib-account-chip:hover, .ib-account-chip--active {
  background: #b0b3c61a;
}

.ib-account-chip__avatar, .ib-thread-row__avatar {
  color: #595d73;
  background: #b0b3c633;
  border-radius: .625rem;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-account-chip__body, .ib-thread-row__body {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-account-chip__meta {
  flex-direction: column;
  align-items: flex-end;
  gap: .25rem;
  display: flex;
}

.ib-inbox-filters {
  grid-template-columns: 1fr auto;
  gap: .5rem;
  padding: .625rem .75rem 0;
  display: grid;
}

.ib-inbox-filters input, .ib-inbox-filters select {
  color: #595d73;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  height: 2.25rem;
  padding: 0 .625rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-inbox-filters select {
  min-width: 7.5rem;
}

.ib-new-dm {
  padding: .625rem .75rem;
}

.ib-new-dm input {
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  height: 2.25rem;
  padding: 0 .625rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-thread-list {
  flex-direction: column;
  display: flex;
}

.ib-thread-row {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #b0b3c61f;
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .75rem .875rem;
  display: grid;
}

.ib-thread-row:hover, .ib-thread-row--active {
  background: #b0b3c61a;
}

.ib-thread-row--follower {
  opacity: .92;
}

.ib-thread-row__top {
  justify-content: space-between;
  gap: .5rem;
  display: flex;
}

.ib-thread-row__preview {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 1rem;
  overflow: hidden;
}

.ib-inbox-chat {
  flex-direction: column;
  min-height: 26.25rem;
  max-height: 40rem;
  display: flex;
}

.ib-chat-header {
  border-bottom: 1px solid #e6e6e6;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem 1rem;
  display: flex;
}

.ib-contact-settings-trigger-wrap {
  flex-shrink: 0;
}

.ib-chat__header-actions {
  flex-shrink: 0;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  display: flex;
}

.ib-takeover-toggle {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 62.4375rem;
  align-items: center;
  gap: .5rem;
  height: 2.25rem;
  padding: 0 .75rem 0 .625rem;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
  display: inline-flex;
}

.ib-takeover-toggle:hover:not(:disabled) {
  color: #7c7bfd;
  border-color: #7c7bfd73;
}

.ib-takeover-toggle:disabled {
  opacity: .55;
  cursor: default;
}

.ib-takeover-toggle__indicator {
  background: #7c7bfd;
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-takeover-toggle--manual {
  color: #7c7bfd;
  background: #7c7bfd1a;
  border-color: #7c7bfd59;
}

.ib-takeover-toggle--manual .ib-takeover-toggle__indicator {
  background: #c2410c;
  box-shadow: 0 0 0 3px #c2410c2e;
}

.ib-contact-settings-btn {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  transition: background .12s, border-color .12s, color .12s;
  display: inline-flex;
}

.ib-contact-settings-btn:hover {
  color: #7c7bfd;
  background: #b0b3c61f;
  border-color: #b0b3c68c;
}

.ib-contact-settings {
  text-align: left;
  flex-direction: column;
  gap: .875rem;
  width: 20rem;
  max-width: 90vw;
  padding: .875rem;
  display: flex;
}

.ib-contact-settings__head {
  flex-direction: column;
  gap: .25rem;
  display: flex;
}

.ib-contact-settings__title {
  color: #1e2021;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__subtitle {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__label {
  color: #595d73;
  font: 600 1rem / 1.2 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__actions {
  border-top: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .5rem;
  padding-top: .25rem;
  display: flex;
}

.ib-contact-settings__action {
  text-align: left;
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  width: 100%;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 500 1rem / 1 DM Sans, system-ui, sans-serif;
  transition: background .12s, border-color .12s, color .12s;
}

.ib-contact-settings__action:hover:not(:disabled) {
  color: #7c7bfd;
  background: #f8f9ff;
  border-color: #7c7bfd59;
}

.ib-contact-settings__action:disabled {
  opacity: .5;
  cursor: default;
}

.ib-contact-settings__action--danger:hover:not(:disabled) {
  color: #dc2626;
  background: #dc26260f;
  border-color: #dc262659;
}

.ib-contact-settings__prompt {
  flex-direction: column;
  gap: .5rem;
  display: flex;
}

.ib-contact-settings__prompt textarea {
  resize: vertical;
  color: #1e2021;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  width: 100%;
  min-height: 5.25rem;
  padding: .625rem .75rem;
  font: 400 1rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-contact-settings__prompt textarea:focus {
  border-color: #7c7bfd8c;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd1a;
}

.ib-contact-settings__hint {
  color: #595d73;
  margin: 0;
  font: 400 1rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-failed-outbound {
  background: #ef44440d;
  border-bottom: 1px solid #ef444433;
  flex-direction: column;
  gap: .5rem;
  padding: .625rem .875rem;
  display: flex;
}

.ib-failed-outbound__title {
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: .03em;
  font: 600 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-failed-outbound__row {
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.ib-failed-outbound__text {
  color: #595d73;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1rem;
}

.ib-failed-outbound__actions {
  flex-shrink: 0;
  gap: .625rem;
  display: flex;
}

.ib-scheduled-popup {
  flex-direction: column;
  gap: .75rem;
  min-width: 17.5rem;
  display: flex;
}

.ib-scheduled-popup__when {
  color: #595d73;
  margin: 0;
}

.ib-scheduled-popup__preview {
  color: #6a6d8a;
  white-space: pre-wrap;
  background: #b0b3c61f;
  border-radius: .5rem;
  padding: .625rem .75rem;
}

.ib-scheduled-popup__actions {
  flex-wrap: wrap;
  gap: .5rem;
  display: flex;
}

.ib-scheduled-popup__form {
  flex-direction: column;
  gap: .625rem;
  display: flex;
}

.ib-scheduled-popup__form textarea, .ib-scheduled-popup__form input[type="datetime-local"] {
  width: 100%;
}

.ib-scheduled-popup__label {
  flex-direction: column;
  gap: .375rem;
  font: 500 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-preview-panel {
  background: #b0b3c614;
  border: 1px dashed #b0b3c68c;
  border-radius: .5rem;
  margin: 0 .875rem;
  padding: .625rem .75rem;
}

.ib-preview-panel__head {
  justify-content: space-between;
  align-items: center;
  gap: .625rem;
  margin-bottom: .375rem;
  display: flex;
}

.ib-preview-panel__actions {
  gap: .625rem;
  display: flex;
}

.ib-preview-panel__text {
  color: #595d73;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 1rem;
}

.ib-chat-messages {
  background: #b0b3c60d;
  flex-direction: column;
  flex: 1;
  gap: .625rem;
  padding: 1rem;
  display: flex;
  overflow: auto;
}

.ib-bubble {
  white-space: pre-wrap;
  word-break: break-word;
  border: 0;
  border-radius: .75rem;
  flex-direction: column;
  gap: .25rem;
  max-width: 78%;
  padding: .625rem .875rem;
  font: 400 1rem / 1.5rem DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-bubble--me {
  color: #fff;
  background: #7c7bfd;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

.ib-bubble--admin {
  color: #fff;
  background: #128a96;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

.ib-bubble--them {
  color: #494b74;
  background: #f0efff;
  border-radius: 4px 16px 16px;
  align-self: flex-start;
}

.ib-bubble--queued {
  color: #595d73;
  opacity: .9;
  background: #b0b3c633;
  border: 1px dashed #b0b3c68c;
  border-radius: 16px 4px 16px 16px;
  align-self: flex-end;
}

.ib-bubble__text {
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  color: inherit;
}

.ib-bubble__meta {
  color: inherit;
  opacity: .8;
  font-size: 1rem;
}

.ib-bubble__media-link {
  line-height: 0;
  display: block;
}

.ib-bubble__media {
  object-fit: contain;
  background: #0000000a;
  border-radius: .5rem;
  max-width: 100%;
  max-height: 17.5rem;
  display: block;
}

.ib-voice-note {
  align-items: center;
  gap: .5rem;
  min-width: 8.75rem;
  padding: .25rem .125rem;
  display: flex;
}

.ib-voice-note__bars {
  align-items: flex-end;
  gap: 2px;
  height: 1.125rem;
  display: flex;
}

.ib-voice-note__bars i {
  opacity: .85;
  background: currentColor;
  border-radius: 1px;
  width: 3px;
  margin: 0;
  display: block;
}

.ib-voice-note__bars i:first-child {
  height: 40%;
}

.ib-voice-note__bars i:nth-child(2) {
  height: 80%;
}

.ib-voice-note__bars i:nth-child(3) {
  height: 55%;
}

.ib-voice-note__bars i:nth-child(4) {
  height: 95%;
}

.ib-voice-note__bars i:nth-child(5) {
  height: 65%;
}

.ib-voice-note__label {
  font-size: .8125rem;
  font-weight: 600;
}

.ib-voice-note__audio {
  width: 10rem;
  height: 2rem;
}

.ib-chat-compose {
  background: #fff;
  border-top: 1px solid #e6e6e6;
  flex-direction: column;
  gap: .5rem;
  padding: .75rem .875rem .625rem;
  display: flex;
}

.ib-compose-bar {
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.ib-compose-input-wrap {
  flex: 1;
  min-width: 0;
}

.ib-compose-input-wrap textarea {
  resize: none;
  color: #595d73;
  background: #fff;
  border: 1.5px solid #e6e6e6;
  border-radius: 1.375rem;
  width: 100%;
  min-height: 2.75rem;
  max-height: 8.75rem;
  padding: .6875rem 1rem;
  font: 400 1rem / 1.35 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s;
  display: block;
  box-shadow: 0 1px 2px #0f0f0f0a;
}

.ib-compose-input-wrap textarea:focus {
  border-color: #7c7bfd8c;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd1a;
}

.ib-compose-input-wrap textarea:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ib-compose-icon-btn, .ib-compose-send {
  cursor: pointer;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 2.75rem;
  height: 2.75rem;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s, opacity .15s;
  display: inline-flex;
}

.ib-compose-icon-btn:disabled, .ib-compose-send:disabled {
  opacity: .45;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.ib-compose-icon-btn {
  color: #595d73;
  background: #fff;
  border: 1.5px solid #e6e6e6;
  position: relative;
}

.ib-compose-icon-btn:hover:not(:disabled) {
  color: #7c7bfd;
  background: #b0b3c61f;
  border-color: #7c7bfd4d;
  transform: translateY(-1px);
}

.ib-compose-icon-btn--active {
  color: #7c7bfd;
  background: #7c7bfd14;
  border-color: #7c7bfd4d;
}

.ib-compose-icon-btn__dot {
  pointer-events: none;
  background: #7c7bfd;
  border: 2px solid #fff;
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  position: absolute;
  top: .25rem;
  right: .25rem;
}

.ib-compose-send {
  color: #fff;
  background: #7c7bfd;
  border: none;
  box-shadow: 0 2px 6px #0f0f0f1f;
}

.ib-compose-send:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px #0f0f0f29;
}

.ib-compose-attach {
  justify-content: space-between;
  align-items: center;
  gap: .625rem;
  padding: .125rem .125rem 0;
  display: flex;
}

.ib-compose-attach__chip {
  color: #595d73;
  background: #b0b3c61f;
  border-radius: 62.4375rem;
  align-items: center;
  gap: .375rem;
  min-width: 0;
  max-width: 100%;
  padding: .375rem .625rem;
  font-size: 1rem;
  display: inline-flex;
}

.ib-compose-attach__name {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 13.75rem;
  overflow: hidden;
}

.ib-compose-hint {
  padding: 0 .875rem .75rem;
}

.ib-empty--chat {
  text-align: center;
  margin: auto;
}

@media (max-width: 800px) {
  .ib-content {
    padding: 1rem;
  }

  .ib-table__head {
    display: none;
  }

  .ib-table__row {
    border: 1px solid #e6e6e6;
    grid-template-columns: 1fr;
    gap: .375rem;
    margin-bottom: .5rem;
    padding: .875rem .75rem;
  }

  .ib-table__row > span[data-label]:before {
    content: attr(data-label) ": ";
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 1rem;
    font-weight: 500;
  }

  .ib-table__row .ib-row-actions {
    border-top: 1px solid #e6e6e6;
    justify-content: flex-start;
    margin-top: .25rem;
    padding-top: .5rem;
  }
}

.ib-messages-view {
  flex-direction: column;
  flex: 1;
  height: 100%;
  min-height: 0;
  display: flex;
}

.ib-messages-view > .ib-empty {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: .375rem;
  display: flex;
}

.ib-messages-view .ib-empty__title {
  color: #1e2021;
  font: 700 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-empty__text {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-inbox.ib-msg-layout {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex-direction: row;
  flex: 1;
  grid-template-columns: none;
  gap: 0;
  height: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .ib-messages-view .ib-inbox.ib-msg-layout {
    flex-direction: column;
    overflow: auto;
  }
}

.ib-messages-view .ib-msg-accounts {
  background: #f8f9ff;
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: .75rem;
  width: 5.25rem;
  height: 100%;
  max-height: none;
  padding: 2.5rem 0 .875rem;
  transition: width .18s;
  display: flex;
  position: relative;
  overflow-y: auto;
}

.ib-messages-view .ib-msg-accounts--expanded {
  align-items: stretch;
  width: 13.75rem;
  padding-left: .625rem;
  padding-right: .625rem;
}

.ib-messages-view .ib-msg-accounts__toggle {
  color: #595d73;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  display: flex;
  position: absolute;
  top: .625rem;
  right: .625rem;
}

.ib-messages-view .ib-msg-accounts__toggle:hover {
  color: #7c7bfd;
  border-color: #7c7bfd;
}

@media (max-width: 1100px) {
  .ib-messages-view .ib-msg-accounts {
    border-bottom: 1px solid #e6e6e6;
    border-right: 0;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: 6rem;
    padding: .75rem .75rem .75rem 2.75rem;
    overflow: auto hidden;
  }

  .ib-messages-view .ib-msg-accounts--expanded {
    align-items: center;
    width: 100%;
  }
}

.ib-messages-view .ib-msg-account-pill {
  cursor: pointer;
  outline: none;
  align-items: center;
  gap: .625rem;
  transition: background .15s;
  display: flex;
  position: relative;
}

.ib-msg-accounts--expanded .ib-messages-view .ib-msg-account-pill {
  border-radius: .625rem;
  padding: .375rem;
}

.ib-msg-accounts--expanded .ib-messages-view .ib-msg-account-pill--active, .ib-msg-accounts--expanded .ib-messages-view .ib-msg-account-pill:hover {
  background: #7c7bfd14;
}

.ib-msg-accounts:not(.ib-msg-accounts--expanded) .ib-messages-view .ib-msg-account-pill--active .ib-msg-account-pill__avatar, .ib-msg-accounts:not(.ib-msg-accounts--expanded) .ib-messages-view .ib-msg-account-pill:hover .ib-msg-account-pill__avatar {
  border-radius: 50%;
  box-shadow: 0 0 0 2px #7c7bfd;
}

.ib-messages-view .ib-msg-account-pill__avatar {
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.ib-messages-view .ib-msg-account-pill__badge {
  color: #fff;
  background: #7c7bfd;
  border: 2px solid #fff;
  border-radius: 1.25rem;
  justify-content: center;
  align-items: center;
  min-width: 1.375rem;
  height: 1.375rem;
  padding: 0 .25rem;
  font: 700 1rem / 1.375rem DM Sans, system-ui, sans-serif;
  display: flex;
  position: absolute;
  top: -.25rem;
  right: -.25rem;
}

.ib-messages-view .ib-msg-account-pill__body {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-messages-view .ib-msg-account-pill__username {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-messages-view .ib-msg-account-pill__fullname {
  color: #595d73;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-messages-view .ib-msg-list {
  background: #fff;
  border-right: 1px solid #e6e6e6;
  flex-direction: column;
  flex-shrink: 0;
  width: 18.75rem;
  height: 100%;
  min-height: 0;
  max-height: none;
  display: flex;
  overflow: hidden;
}

.ib-messages-view .ib-msg-list__header {
  border-bottom: 1px solid #f8f9ff;
  flex-direction: column;
  flex-shrink: 0;
  gap: .25rem;
  padding: .875rem 1.125rem .625rem;
  display: flex;
}

.ib-messages-view .ib-msg-list__account-name {
  color: #1e2021;
  font: 700 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-msg-list__count {
  color: #595d73;
  text-transform: uppercase;
  letter-spacing: .06em;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-msg-list__items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.ib-messages-view .ib-msg-list .ib-inbox-filters, .ib-messages-view .ib-msg-list .ib-new-dm {
  display: none;
}

@media (max-width: 1100px) {
  .ib-messages-view .ib-msg-list {
    border-bottom: 1px solid #e6e6e6;
    border-right: 0;
    width: 100%;
    height: auto;
    max-height: 20rem;
  }
}

.ib-messages-view .ib-msg-item {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-bottom: 1px solid #f8f9ff;
  align-items: flex-start;
  gap: .625rem;
  width: 100%;
  padding: .75rem 1rem;
  transition: background .12s;
  display: flex;
}

.ib-messages-view .ib-msg-item:hover {
  background: #f8f9ff;
}

.ib-messages-view .ib-msg-item--active {
  background: #7c7bfd14;
}

.ib-messages-view .ib-msg-item--follower {
  opacity: .92;
}

.ib-messages-view .ib-msg-item__body {
  flex-direction: column;
  flex: 1;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-messages-view .ib-msg-item__top {
  justify-content: space-between;
  align-items: baseline;
  gap: .375rem;
  display: flex;
}

.ib-messages-view .ib-msg-item__user {
  color: #1e2021;
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  gap: .25rem;
  min-width: 0;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  display: inline-flex;
  overflow: hidden;
}

.ib-messages-view .ib-msg-item__user--unread {
  font-family: DM Sans, system-ui, sans-serif;
  font-weight: 700;
}

.ib-messages-view .ib-msg-item__time {
  color: #595d73;
  flex-shrink: 0;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-msg-item__preview {
  color: #595d73;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
  overflow: hidden;
}

.ib-messages-view .ib-msg-item__dot {
  background: #7c7bfd;
  border-radius: 50%;
  flex-shrink: 0;
  width: .5rem;
  height: .5rem;
  margin-top: .375rem;
}

.ib-messages-view .ib-inbox-chat.ib-chat {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  height: 100%;
  min-height: 0;
  max-height: none;
  display: flex;
}

.ib-messages-view .ib-chat__header.ib-chat-header {
  border-bottom: 1px solid #e6e6e6;
  flex-shrink: 0;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.25rem;
  display: flex;
}

.ib-messages-view .ib-chat__header-info {
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-messages-view .ib-chat__username {
  color: #1e2021;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-messages-view .ib-chat__fullname {
  color: #595d73;
  font: 400 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-chat__messages.ib-chat-messages {
  background: #fff;
  flex-direction: column;
  flex: 1;
  gap: .75rem;
  min-height: 0;
  padding: 1.125rem;
  display: flex;
  overflow-y: auto;
}

.ib-messages-view .ib-chat__empty {
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
}

.ib-messages-view .ib-chat-msg {
  align-items: flex-end;
  gap: .5rem;
  display: flex;
}

.ib-messages-view .ib-chat-msg--in {
  justify-content: flex-start;
}

.ib-messages-view .ib-chat-msg--out {
  justify-content: flex-end;
}

.ib-messages-view .ib-chat-msg__wrap {
  flex-direction: column;
  max-width: 65%;
  display: flex;
}

.ib-messages-view .ib-chat-msg__bubble.ib-bubble {
  border: 0;
  align-self: stretch;
  max-width: none;
  padding: .625rem .875rem;
}

.ib-messages-view .ib-chat-msg--in .ib-messages-view .ib-chat-msg__bubble.ib-bubble--them {
  color: #494b74;
  background: #f0efff;
  border-radius: 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--in .ib-messages-view .ib-chat-msg__bubble.ib-bubble--them .ib-bubble__text {
  color: #494b74;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--me {
  color: #fff;
  background: #7c7bfd;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--me .ib-bubble__text, .ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--me .ib-bubble__meta {
  color: #fff;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--admin {
  color: #fff;
  background: #128a96;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--admin .ib-bubble__text, .ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--admin .ib-bubble__meta {
  color: #fff;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--queued {
  opacity: .9;
  background: #b0b3c633;
  border: 1px dashed #b0b3c68c;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--scheduled {
  color: #6a6d8a;
  opacity: .95;
  background: #b0b3c61f;
  border: 1px dashed #b0b3c673;
  border-radius: 16px 4px 16px 16px;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--scheduled .ib-bubble__text, .ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--scheduled .ib-bubble__meta {
  color: #6a6d8a;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--clickable {
  cursor: pointer;
}

.ib-messages-view .ib-chat-msg--out .ib-messages-view .ib-chat-msg__bubble.ib-bubble--clickable:hover {
  background: #b0b3c633;
}

.ib-messages-view .ib-chat-msg__ts {
  color: #595d73;
  margin-top: .25rem;
  font: 400 1rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-chat-msg__ts--right {
  text-align: right;
}

.ib-messages-view .ib-chat-compose.ib-chat__input-bar {
  background: #f8f9ff;
  border-top: 1px solid #e6e6e6;
  flex-shrink: 0;
  padding: .875rem 1rem;
}

.ib-messages-view .ib-compose-bar {
  align-items: flex-end;
  gap: .625rem;
}

.ib-messages-view .ib-compose-input-wrap textarea {
  box-shadow: none;
  color: #1e2021;
  background: #fff;
  border: 1.5px solid #e6e6e6;
  border-radius: 1rem;
  padding: .625rem 1rem;
  font: 400 1rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-messages-view .ib-compose-input-wrap textarea:focus {
  box-shadow: none;
  border-color: #7c7bfd;
}

.ib-messages-view .ib-compose-send {
  color: #fff;
  background: #7c7bfd;
  border: none;
  border-radius: 50%;
}

.ib-messages-view .ib-compose-send:hover:not(:disabled) {
  transform: translateY(-1px);
}

.ib-messages-view .ib-compose-send:disabled {
  opacity: .5;
}

.ib-settings-view {
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  display: flex;
}

.ib-settings-form {
  flex-direction: column;
  gap: 1rem;
  display: flex;
}

.ib-settings-form--standalone {
  border-top: 0;
  padding-top: 0;
}

.ib-settings-section {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  padding: 1.125rem 1.25rem;
  box-shadow: 0 1px 2px #0f0f0f08;
}

.ib-settings-section__head {
  border-bottom: 1px solid #e6e6e6e6;
  margin-bottom: .875rem;
  padding-bottom: .75rem;
}

.ib-settings-section__title {
  color: #1e2021;
  letter-spacing: -.01em;
  margin: 0;
  font: 600 1rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-settings-section__hint {
  color: #6c7293;
  margin: .25rem 0 0;
  font: 400 .8125rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-settings-section__body {
  flex-direction: column;
  gap: .875rem;
  display: flex;
}

.ib-setting-label {
  align-items: center;
  gap: .375rem;
  min-height: 1.125rem;
  display: inline-flex;
}

.ib-setting-label-text {
  color: #595d73;
  font: 500 .8125rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-setting-help {
  flex-shrink: 0;
  line-height: 0;
  display: inline-flex;
}

.ib-setting-help-btn {
  color: #6c7293;
  cursor: help;
  -webkit-user-select: none;
  user-select: none;
  background: #f8f9ff;
  border: 1px solid #c4c4c4;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 1rem;
  height: 1rem;
  font: 700 .6875rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-setting-help-btn:hover {
  color: #7c7bfd;
  background: #fff;
  border-color: #7c7bfd;
}

.ib-setting-help-body {
  text-align: left;
  color: #595d73;
  max-width: 18.75rem;
  padding: .625rem .75rem;
  font: 400 .8125rem / 1.45 DM Sans, system-ui, sans-serif;
}

.ib-setting-help-body p {
  white-space: pre-wrap;
  margin: 0 0 .5rem;
}

.ib-setting-help-body p:last-child {
  color: #6c7293;
  margin-bottom: 0;
}

.ib-setting-field {
  flex-direction: column;
  gap: .375rem;
  min-width: 0;
  display: flex;
}

.ib-settings-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  display: grid;
}

@media (max-width: 1100px) {
  .ib-settings-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .ib-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ib-settings-grid {
    grid-template-columns: 1fr;
  }
}

.ib-settings-grid .ib-setting-field input, .ib-settings-grid .ib-setting-field select {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-settings-grid .ib-setting-field input:hover, .ib-settings-grid .ib-setting-field select:hover {
  border-color: #7c7bfd59;
}

.ib-settings-grid .ib-setting-field input:focus, .ib-settings-grid .ib-setting-field select:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-settings-grid .ib-setting-field input:disabled, .ib-settings-grid .ib-setting-field select:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ib-settings-grid .ib-setting-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27 viewBox=%270 0 12 8%27%3E%3Cpath fill=%27%236c7293%27 d=%27M1.4 0.6 6 5.2 10.6.6 12 2 6 8 0 2z%27/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.ib-settings-stack {
  flex-direction: column;
  gap: .875rem;
  max-width: 57.5rem;
  display: flex;
}

.ib-settings-stack__row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem 1rem;
  display: grid;
}

@media (max-width: 720px) {
  .ib-settings-stack__row {
    grid-template-columns: 1fr;
  }
}

.ib-settings-prompt {
  flex-direction: column;
  gap: .375rem;
  display: flex;
}

.ib-settings-prompt input, .ib-settings-prompt textarea {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-settings-prompt input:hover, .ib-settings-prompt textarea:hover {
  border-color: #7c7bfd59;
}

.ib-settings-prompt input:focus, .ib-settings-prompt textarea:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-settings-prompt input:disabled, .ib-settings-prompt textarea:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.ib-settings-prompt textarea {
  resize: vertical;
  height: auto;
  min-height: 5.5rem;
  padding: .625rem .75rem;
  line-height: 1.45;
}

.ib-settings-prompt input {
  resize: none;
}

.ib-settings-checks {
  flex-direction: column;
  gap: .75rem;
  display: flex;
}

.ib-settings-check {
  background: #f8f9ff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  align-items: flex-start;
  gap: .75rem;
  margin: 0;
  padding: .75rem .875rem;
  transition: border-color .15s;
  display: flex;
}

.ib-settings-check:hover {
  border-color: #7c7bfd59;
}

.ib-settings-check input[type="checkbox"] {
  accent-color: #7c7bfd;
  cursor: pointer;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: .125rem;
}

.ib-settings-check__body {
  cursor: pointer;
  flex-direction: column;
  gap: .125rem;
  min-width: 0;
  display: flex;
}

.ib-settings-check .ib-muted {
  font-size: .75rem;
}

.ib-settings-check--disabled {
  opacity: .65;
  cursor: not-allowed;
}

.ib-settings-footer {
  border-top: 1px solid #e6e6e6;
  justify-content: flex-end;
  gap: .5rem;
  margin-top: .5rem;
  padding-top: 1rem;
  display: flex;
}

.ib-models {
  flex-direction: column;
  gap: 1.125rem;
  width: 100%;
  display: flex;
}

.ib-models__toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  display: flex;
}

.ib-models__title {
  color: #1e2021;
  letter-spacing: -.02em;
  margin: 0;
  font: 600 1.25rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-models__subtitle {
  color: #6c7293;
  margin: .25rem 0 0;
  font: 400 .8125rem / 1.4 DM Sans, system-ui, sans-serif;
}

.ib-models__error {
  color: #b42318;
  margin: 0;
  font-size: .875rem;
}

.ib-models-input {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models-input:hover {
  border-color: #7c7bfd59;
}

.ib-models-input:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models-empty-state {
  text-align: center;
  color: #6c7293;
  background: #f8f9ff;
  border: 1px dashed #b0b3c68c;
  border-radius: .875rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 3rem 1.25rem;
  display: flex;
}

.ib-models-empty-state strong {
  color: #595d73;
  font: 600 1rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-models-empty-state span {
  max-width: 22.5rem;
  font-size: .8125rem;
}

.ib-models-empty-state .jf-btn {
  margin-top: .5rem;
}

.ib-models-empty-state--inset {
  background: none;
  padding: 1.75rem 1rem;
}

.ib-models-grid {
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: .875rem;
  display: grid;
}

.ib-model-card {
  text-align: left;
  cursor: pointer;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .875rem;
  flex-direction: column;
  padding: 0;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  display: flex;
  overflow: hidden;
}

.ib-model-card:hover {
  border-color: #7c7bfd66;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px #0f0f0f0f;
}

.ib-model-card:disabled {
  opacity: .65;
  cursor: wait;
}

.ib-model-card__cover {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #7c7bfd1f, #b0b3c62e);
  justify-content: center;
  align-items: center;
  display: flex;
  overflow: hidden;
}

.ib-model-card__cover img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.ib-model-card__initial {
  color: #7c7bfd;
  opacity: .85;
  font: 700 2.25rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-model-card__body {
  flex-direction: column;
  gap: .25rem;
  padding: .75rem .875rem .875rem;
  display: flex;
}

.ib-model-card__name {
  color: #1e2021;
  font: 600 .9375rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-model-card__meta {
  color: #6c7293;
  font: 400 .75rem / 1.3 DM Sans, system-ui, sans-serif;
}

.ib-model-card__stats {
  color: #595d73;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .375rem;
  font: 500 .6875rem / 1 DM Sans, system-ui, sans-serif;
  display: flex;
}

.ib-model-card__id {
  color: #6c7293;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ib-models-editor {
  flex-direction: column;
  gap: .875rem;
  display: flex;
}

.ib-models-editor__bar {
  flex-wrap: wrap;
  align-items: center;
  gap: .875rem;
  padding-bottom: .25rem;
  display: flex;
}

.ib-models-editor__back {
  color: #7c7bfd;
  cursor: pointer;
  background: none;
  border: 0;
  margin-right: .25rem;
  padding: .375rem 0;
  font: 600 .8125rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-models-editor__back:hover {
  text-underline-offset: 2px;
  text-decoration: underline;
}

.ib-models-editor__identity {
  flex: 1;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.ib-models-editor__avatar {
  color: #7c7bfd;
  background: #7c7bfd1f;
  border-radius: .75rem;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  font: 700 1.125rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
  overflow: hidden;
}

.ib-models-editor__avatar img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.ib-models-editor__heading {
  min-width: 0;
}

.ib-models-editor__heading h2 {
  color: #1e2021;
  margin: 0;
  font: 600 1.125rem / 1.25 DM Sans, system-ui, sans-serif;
}

.ib-models-editor__heading p {
  color: #6c7293;
  margin: .125rem 0 0;
  font: 400 .75rem / 1.35 DM Sans, system-ui, sans-serif;
}

.ib-models-editor__path {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ib-models-editor__actions {
  flex-wrap: wrap;
  gap: .5rem;
  margin-left: auto;
  display: flex;
}

.ib-models-tabs {
  background: #f8f9ff;
  border: 1px solid #e6e6e6;
  border-radius: .625rem;
  gap: .25rem;
  width: fit-content;
  max-width: 100%;
  padding: .25rem;
  display: flex;
  overflow-x: auto;
}

.ib-models-tabs__btn {
  color: #6c7293;
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: 0;
  border-radius: .5rem;
  padding: .5rem .875rem;
  font: 600 .8125rem / 1 DM Sans, system-ui, sans-serif;
}

.ib-models-tabs__btn:hover {
  color: #595d73;
}

.ib-models-tabs__btn--active {
  color: #1e2021;
  background: #fff;
  box-shadow: 0 1px 3px #0f0f0f0f;
}

.ib-models-gallery-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  display: flex;
}

.ib-models-gallery-head__actions {
  gap: .5rem;
  display: flex;
}

.ib-models-cats {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: .875rem;
  display: flex;
}

.ib-models-cat {
  color: #595d73;
  background: #7c7bfd14;
  border-radius: .5rem;
  align-items: center;
  gap: .25rem;
  padding: .3125rem .625rem;
  font: 500 .75rem / 1 DM Sans, system-ui, sans-serif;
  display: inline-flex;
}

.ib-models-cat button {
  cursor: pointer;
  color: #6c7293;
  background: none;
  border: 0;
  padding: 0;
  font-size: .875rem;
  line-height: 1;
}

.ib-models-cat-input {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models-cat-input:hover {
  border-color: #7c7bfd59;
}

.ib-models-cat-input:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models-cat-input {
  width: auto;
  min-width: 8.75rem;
  height: 2.125rem;
  padding: 0 .625rem;
  font-size: .8125rem;
}

.ib-models-gallery {
  grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
  gap: .875rem;
  display: grid;
}

.ib-models-gallery__card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: .75rem;
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.ib-models-gallery__media {
  aspect-ratio: 3 / 4;
  cursor: zoom-in;
  background: #f8f9ff;
  border: 0;
  width: 100%;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
}

.ib-models-gallery__media img, .ib-models-gallery__media video {
  object-fit: cover;
  pointer-events: none;
  background: #ececf3;
  width: 100%;
  height: 100%;
  display: block;
}

.ib-models-gallery__media:hover .ib-models-gallery__zoom {
  opacity: 1;
}

.ib-models-gallery__badge {
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #0f0f0fb3;
  border-radius: .375rem;
  padding: .1875rem .5rem;
  font: 600 .625rem / 1 DM Sans, system-ui, sans-serif;
  position: absolute;
  top: .5rem;
  left: .5rem;
}

.ib-models-gallery__zoom {
  color: #fff;
  opacity: 0;
  background: #0f0f0fb8;
  border-radius: .375rem;
  padding: .25rem .5rem;
  font: 600 .6875rem / 1 DM Sans, system-ui, sans-serif;
  transition: opacity .15s;
  position: absolute;
  bottom: .5rem;
  right: .5rem;
}

.ib-models-gallery__body {
  flex-direction: column;
  gap: .5rem;
  padding: .625rem;
  display: flex;
}

.ib-models-lightbox {
  z-index: 1200;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  display: flex;
  position: fixed;
  inset: 0;
}

.ib-models-lightbox__backdrop {
  cursor: zoom-out;
  background: #0a0c14d1;
  border: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.ib-models-lightbox__stage {
  z-index: 1;
  max-width: min(92vw, 60rem);
  max-height: 88vh;
  position: relative;
}

.ib-models-lightbox__img, .ib-models-lightbox__video {
  background: #111;
  border-radius: .625rem;
  max-width: min(92vw, 60rem);
  max-height: 88vh;
  display: block;
  box-shadow: 0 16px 48px #00000059;
}

.ib-models-lightbox__img {
  object-fit: contain;
}

.ib-models-lightbox__video {
  width: min(92vw, 60rem);
}

.ib-models-lightbox__close {
  z-index: 2;
  color: #fff;
  cursor: pointer;
  background: #ffffff24;
  border: 0;
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1rem;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.ib-models-lightbox__close:hover {
  background: #ffffff3d;
}

.ib-models .ib-settings-grid .ib-setting-field input, .ib-models .ib-settings-stack .ib-setting-field input {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models .ib-settings-grid .ib-setting-field input:hover, .ib-models .ib-settings-stack .ib-setting-field input:hover {
  border-color: #7c7bfd59;
}

.ib-models .ib-settings-grid .ib-setting-field input:focus, .ib-models .ib-settings-stack .ib-setting-field input:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models .ib-settings-prompt textarea {
  color: #1e2021;
  background: #f3f6f9;
  border: 1px solid #e6e6e6;
  border-radius: .5rem;
  width: 100%;
  min-width: 0;
  height: 2.5rem;
  padding: 0 .75rem;
  font: 400 .875rem / 1.2 DM Sans, system-ui, sans-serif;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.ib-models .ib-settings-prompt textarea:hover {
  border-color: #7c7bfd59;
}

.ib-models .ib-settings-prompt textarea:focus {
  background: #fff;
  border-color: #7c7bfd;
  outline: none;
  box-shadow: 0 0 0 3px #7c7bfd26;
}

.ib-models .ib-settings-prompt textarea {
  resize: vertical;
  height: auto;
  min-height: 5.5rem;
  padding: .625rem .75rem;
  line-height: 1.45;
}

.ib-muted {
  color: #6c7293;
  font-size: .75rem;
}

.ib-app {
  height: 100%;
  min-height: 100%;
}

.ib-shell {
  box-sizing: border-box;
  flex-direction: column;
  max-width: 1400px;
  height: 100%;
  min-height: 100%;
  margin: 0 auto;
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
}

*, :before, :after {
  box-sizing: border-box;
}

html, body, #root {
  height: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  color: #1e2021;
  -webkit-font-smoothing: antialiased;
  background: #eef0f8;
  font-family: DM Sans, system-ui, -apple-system, sans-serif;
}

button, input, textarea, select {
  font: inherit;
}

a {
  color: inherit;
}

.jf-visually-hidden {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute !important;
}

.jf-pointer {
  cursor: pointer;
}

.jf-no-style-btn {
  cursor: pointer;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
}

.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.aff-divider {
  border: none;
  border-top: 1px solid #00000014;
  margin: 0;
}

.jf-action {
  justify-content: flex-end;
  gap: .75rem;
  margin-top: 1.25rem;
  display: flex;
}

