/* Ajustes de integración sobre los controles reales de Elastic. */
body.nvj-branded {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
body.nvj-branded > #layout {
  height: calc(100% - 64px);
  flex: 1;
  min-height: 0;
}
.nvj-brandbar {
  height: 64px;
  min-height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px;
  background: var(--nvj-surface);
  border-bottom: 1px solid var(--nvj-line);
}
.nvj-brand-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.nvj-brand-identity img {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.nvj-brand-identity strong {
  display: block;
  font: 600 19px/1.25 var(--nvj-font-serif);
  color: var(--nvj-ink);
}
.nvj-brand-identity span {
  display: block;
  color: var(--nvj-muted);
  font-size: 11px;
  margin-top: 3px;
}
.nvj-brand-account {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--nvj-ink-muted);
}
#layout #layout-menu > .popover-header {
  background-color: var(--nvj-ink);
}
#layout-menu #logo {
  border-radius: 50%;
  object-fit: cover;
  width: 44px;
  height: 44px;
}
#mailboxlist li.selected > a {
  background: var(--nvj-surface-selected);
  color: var(--nvj-ink);
}
#mailboxlist .unreadcount {
  background-color: var(--nvj-ink-muted);
  color: var(--nvj-surface);
}
body.task-login .login-container-card {
  text-align: left;
}
body.task-login #login-form .input-group {
  flex-wrap: nowrap;
  align-items: center;
}
body.task-login #login-form .input-group > .form-control,
body.task-login #login-form .input-group > .nvj-password-field-wrapper {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
}
body.task-login #login-form .input-group-prepend {
  padding-right: 8px;
}
@media (max-width: 660px) {
  .nvj-brandbar {
    height: 58px;
    min-height: 58px;
    padding: 0 12px;
    gap: 12px;
  }
  body.nvj-branded > #layout {
    height: calc(100% - 58px);
  }
  .nvj-brand-identity {
    gap: 10px;
  }
  .nvj-brand-identity strong {
    font-size: 15px;
  }
  .nvj-brand-identity img {
    width: 36px;
    height: 36px;
  }
  .nvj-brand-account {
    display: none;
  }
}
