html,
body {
  height: 100%;
}

body.nx-layout-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.nx-layout-shell {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}

.nx-layout-shell .nx-frame-regular-main,
.nx-layout-shell .nx-frame-project-main,
.nx-layout-shell .nx-frame-toolkit-page,
.nx-layout-shell .nx-project-header-shell {
  min-height: 0;
  height: 100%;
}

.nx-layout-shell .nx-frame-regular-content,
.nx-layout-shell .nx-project-header__body,
.nx-layout-shell .nx-frame-toolkit-page__body,
.nx-layout-shell .nx-frame-toolkit-page__workspace,
.nx-layout-shell .nx-frame-toolkit-page__split,
.nx-layout-shell .nx-frame-toolkit-doc-panel .nx-toolkit-doc__scroll,
.nx-layout-shell .nx-frame-toolkit-helper-panel .nx-pip-helper__scroll {
  overflow: auto;
}

.nx-layout-shell .nx-frame-regular-content {
  overflow-x: hidden;
  overflow-y: auto;
}

.nx-layout-shell .nx-frame-regular-topbar {
  padding: 0 16px;
}

.nx-pip-chat-panel {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
}

.nx-pip-chat-panel__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0);
  opacity: 0;
  transition: opacity 220ms ease, background-color 220ms ease;
  cursor: pointer;
}

.nx-pip-chat-panel__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(600px, 92vw);
  height: 100%;
  transform: translateX(102%);
  transition: transform 220ms ease, width 260ms ease;
  will-change: transform, width;
  display: flex;
}

.nx-pip-chat-panel .nx-pip-chat-shell {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  border-left: 1px solid rgb(152 152 152);
  box-shadow: none;
  transition: box-shadow 220ms ease;
}

.nx-pip-chat-panel[data-state="open"] .nx-pip-chat-shell {
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.2);
  transition: border-color 260ms ease, box-shadow 260ms ease;
}

.nx-pip-chat-panel[data-state="open"] {
  pointer-events: auto;
}

.nx-pip-chat-panel[data-state="open"] .nx-pip-chat-panel__backdrop {
  opacity: 1;
  background: rgba(15, 23, 42, 0.28);
}

.nx-pip-chat-panel[data-state="open"] .nx-pip-chat-panel__drawer {
  transform: translateX(0);
}

.nx-pip-chat-panel[data-expanded="true"] .nx-pip-chat-panel__drawer {
  width: 100vw;
}

.nx-pip-chat-panel[data-expanded="true"] .nx-pip-chat-shell {
  max-width: none;
  border-left: 0;
  box-shadow: none;
}

.nx-layout-shell .nx-dashboard-top-prompt {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.nx-layout-shell .nx-dashboard-top-prompt .nx-pip-input-wrap {
  width: 100%;
}

.nx-layout-shell .nx-dashboard-project-header {
  padding-top: 28px;
}

.nx-layout-shell .nx-dashboard-shell {
  width: min(100%, 64rem);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.nx-layout-shell .nx-frame-regular-content {
  padding: 2rem;
}

.nx-layout-shell.nx-frame-demo--project {
  gap: 0;
  padding: 0;
  background: #ece8dd;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail {
  display: flex;
  width: 72px;
  flex: 0 0 72px;
  background: #ece8dd;
  border-right: 0;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__header {
  min-height: 0;
  padding: 17px 8px 17px;
  border-bottom: 1px solid #d1d1d1;
  gap: 17px;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__logo {
  width: 34px;
  height: 34px;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__logo .nx-brand-mark {
  width: 34px;
  height: 34px;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__workspace-back-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__workspace-back-icon [data-lucide] {
  width: 19px;
  height: 19px;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__content {
  padding: 35px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item-wrap {
  width: 100%;
  justify-content: center;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item {
  width: 100%;
  height: auto;
  min-height: 44px;
  padding: 4px;
  border-radius: 0;
  background: transparent;
  color: #6f7080;
  display: inline-flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item:hover {
  background: transparent;
  color: #25232a;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item svg,
.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item [data-lucide] {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  stroke-width: 2;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item-label {
  display: block;
  text-align: center;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active {
  color: #25232a;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active:hover {
  background: transparent;
  color: #25232a;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active svg,
.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active [data-lucide] {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  padding: 7px;
  border-radius: 9px;
  box-sizing: border-box;
  background: #123339;
  color: #ffffff;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__footer {
  border-top: 0;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__checklist-row,
.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__account {
  display: contents;
}

.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__account-meta,
.nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__logout {
  display: none;
}

.nx-frame-project-rail__mobile-close,
.nx-frame-project-rail__backdrop,
.nx-app-sidebar-nav__mobile-close,
.nx-app-sidebar-nav__backdrop {
  display: none;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__bar {
  min-height: 64px;
  padding: 0;
  background: #ece8dd;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header {
  min-height: 64px;
  align-items: center;
  padding: 16px;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__left {
  gap: 6px;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__crumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #25232a;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__crumb [data-lucide] {
  width: 16px;
  height: 16px;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__projects {
  display: inline-flex;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__projects-trigger {
  font-size: 16px;
  padding: 3px 5px;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__title {
  font-size: 16px;
  line-height: 1.15;
}

.nx-layout-shell.nx-frame-demo--project .nx-project-header__body {
  margin: 0 8px 8px 0;
  border: 0;
  border-radius: 1.4rem 0 0 0;
  background: #faf9f5;
}

.nx-layout-shell .nx-dashboard-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nx-layout-shell .nx-dashboard-project-grid > * {
  min-width: 0;
}

.nx-layout-shell .nx-dashboard-project-grid > .nx-stack {
  width: 100% !important;
}

.nx-app-sidebar-nav__account-avatar-trigger {
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nx-profile-modal__feedback {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.nx-profile-modal__feedback.is-error {
  color: #b42318;
}

.nx-profile-modal__feedback.is-success {
  color: #157347;
}

/* Dashboard navigation shared by the authenticated home and guest exploration. */
.nx-frame-demo--regular .nx-dashboard-sidebar {
  width: 16rem;
  flex-basis: 16rem;
}

.nx-dashboard-sidebar__header {
  gap: 10px;
}

.nx-dashboard-sidebar__identity {
  min-width: 0;
  display: grid;
  gap: 1px;
  color: #18212f;
  text-decoration: none;
}

.nx-dashboard-sidebar__identity strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-dashboard-sidebar__identity span {
  font-size: 11px;
  line-height: 1.2;
  color: #8290a5;
}

.nx-dashboard-sidebar__section + .nx-dashboard-sidebar__section {
  margin-top: 18px;
}

.nx-dashboard-sidebar__section-head {
  min-height: 24px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(96, 112, 134, 0.82);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.nx-dashboard-sidebar__section-head > span:first-child,
.nx-dashboard-sidebar__section-title {
  flex: 1 1 auto;
  letter-spacing: 0.08em;
}

.nx-dashboard-sidebar__section-head > .nx-dashboard-sidebar__section-title {
  width: auto;
  height: auto;
  justify-content: flex-start;
  color: inherit;
  text-decoration: none;
}

.nx-dashboard-sidebar__section-head > .nx-dashboard-sidebar__section-title:hover {
  background: transparent;
  color: #18212f;
}

.nx-dashboard-sidebar__section.is-active .nx-dashboard-sidebar__section-title {
  color: #123339;
}

.nx-dashboard-sidebar__section-head > a,
.nx-dashboard-sidebar__section-head > button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #607086;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nx-dashboard-sidebar__section-head > a.nx-dashboard-sidebar__section-title {
  width: auto;
  min-width: 0;
  height: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  justify-content: flex-start;
  text-decoration: none;
}

.nx-dashboard-sidebar__section.is-active .nx-dashboard-sidebar__section-title {
  color: inherit;
}

.nx-dashboard-sidebar__section-head > a:hover,
.nx-dashboard-sidebar__section-head > button:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #18212f;
}

.nx-dashboard-sidebar__section-head > a.nx-dashboard-sidebar__section-title:hover {
  background: transparent;
}

.nx-dashboard-sidebar__section-head svg {
  width: 15px;
  height: 15px;
}

.nx-dashboard-sidebar__count {
  flex: 0 0 auto;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.nx-dashboard-sidebar__recent-list {
  display: grid;
  gap: 2px;
}

.nx-dashboard-sidebar__recent-link {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #304155;
  display: flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.nx-dashboard-sidebar__recent-link:hover,
.nx-dashboard-sidebar__recent-link.is-active {
  background: rgba(255, 255, 255, 0.58);
  color: #18212f;
}

.nx-dashboard-sidebar__recent-link.is-active {
  font-weight: 600;
}

.nx-dashboard-sidebar__recent-link svg {
  width: 15px;
  height: 15px;
  color: #748399;
  flex: 0 0 auto;
}

.nx-dashboard-sidebar__recent-link span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-dashboard-sidebar__view-all {
  width: fit-content;
  margin: 2px 10px 0;
  color: #607086;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  text-decoration: none;
}

.nx-dashboard-sidebar__view-all svg {
  width: 12px;
  height: 12px;
}

.nx-dashboard-sidebar__empty-card {
  min-height: 74px;
  margin: 4px 10px 0;
  border: 1px dashed #9d9b97;
  border-radius: 8px;
  color: #607086;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
}

.nx-dashboard-sidebar__empty-card:hover {
  background: rgba(255, 255, 255, 0.42);
  color: #18212f;
}

.nx-dashboard-sidebar__empty-card svg {
  width: 18px;
  height: 18px;
}

.nx-dashboard-sidebar__empty-copy {
  margin: 0;
  padding: 8px 10px;
  color: #748399;
  font-size: 12px;
  line-height: 1.3;
}

.nx-dashboard-sidebar__empty-button {
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.nx-dashboard-sidebar__collapsed-shortcuts {
  display: none;
}

.nx-dashboard-sidebar__signin {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(100deg, #47c9a8, #3b82f6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nx-dashboard-sidebar__signin svg {
  width: 17px;
  height: 17px;
}

.nx-dashboard-sidebar .nx-app-sidebar-nav__footer {
  min-width: 0;
  overflow: hidden;
}

.nx-dashboard-sidebar .nx-workspace-checklist,
.nx-dashboard-sidebar .nx-workspace-checklist__trigger,
.nx-dashboard-sidebar .nx-workspace-checklist__panel,
.nx-dashboard-sidebar .nx-app-sidebar-nav__referral-banner {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.nx-dashboard-sidebar .nx-app-sidebar-nav__account {
  width: 100%;
  min-width: 0;
}

.nx-dashboard-sidebar .nx-app-sidebar-nav__account-meta {
  min-width: 0;
  overflow: hidden;
}

.nx-dashboard-sidebar .nx-app-sidebar-nav__logout {
  width: 32px;
  min-width: 32px;
  margin-left: auto;
  flex: 0 0 32px;
}

.nx-frame-demo--regular[data-frame-sidebar="collapsed"] .nx-dashboard-sidebar__identity,
.nx-frame-demo--regular[data-frame-sidebar="collapsed"] .nx-dashboard-sidebar__section {
  display: none;
}

.nx-frame-demo--regular[data-frame-sidebar="collapsed"] .nx-dashboard-sidebar__collapsed-shortcuts {
  display: grid;
  justify-items: center;
  gap: 4px;
}

.nx-dashboard-sidebar__collapsed-shortcuts a,
.nx-dashboard-sidebar__collapsed-shortcuts button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #607086;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nx-dashboard-sidebar__collapsed-shortcuts a:hover,
.nx-dashboard-sidebar__collapsed-shortcuts button:hover {
  background: rgba(255, 255, 255, 0.55);
  color: #18212f;
}

.nx-dashboard-sidebar__collapsed-shortcuts svg {
  width: 18px;
  height: 18px;
}

.nx-frame-demo--regular[data-frame-sidebar="collapsed"] .nx-dashboard-sidebar__signin {
  width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 10px;
}

.nx-frame-demo--regular[data-frame-sidebar="collapsed"] .nx-dashboard-sidebar__signin span {
  display: none;
}

@media (max-width: 1024px) {
  .nx-layout-shell.nx-frame-demo--regular .nx-app-sidebar-nav {
    position: relative;
    top: auto;
    left: auto;
    bottom: auto;
    width: 3.5rem;
    max-width: 100%;
    flex: 0 0 3.5rem;
    z-index: auto;
    transform: none !important;
    transition: width 180ms ease, flex-basis 180ms ease;
    box-shadow: none;
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-app-sidebar-nav {
    width: min(20rem, 84vw);
    flex-basis: min(20rem, 84vw);
  }

  .nx-layout-shell.nx-frame-demo--regular .nx-frame-regular-main {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail {
    display: flex;
    width: 72px;
    flex: 0 0 72px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__content {
    gap: 4px;
    padding-top: 0;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item {
    min-height: 54px;
    padding: 4px;
    gap: 4px;
    font-size: 10px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item svg,
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item [data-lucide] {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active svg,
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active [data-lucide] {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    padding: 10px;
    border-radius: 12px;
  }

  .nx-layout-shell .nx-frame-regular-topbar {
    height: 60px;
    padding: 0 12px;
  }

  .nx-layout-shell .nx-frame-regular-topbar__title {
    font-size: 16px;
    line-height: 1.15;
  }

  .nx-layout-shell .nx-frame-regular-topbar__right {
    gap: 8px;
  }

  .nx-layout-shell .nx-frame-regular-content {
    padding: 2rem;
    gap: 12px;
  }

  .nx-layout-shell .nx-dashboard-shell {
    gap: 12px;
  }

  .nx-layout-shell.nx-frame-demo--project {
    gap: 0;
    padding: 0;
  }

  .nx-layout-shell .nx-frame-project-main .nx-project-header__body {
    padding: 0;
    gap: 12px;
  }

  .nx-layout-shell .nx-frame-toolkit-page__header {
    padding: 8px 12px;
  }

  .nx-layout-shell .nx-frame-toolkit-page__title {
    font-size: 18px;
  }

  .nx-layout-shell .nx-frame-toolkit-page__runs {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 767.98px) {
  body.nx-project-mobile-nav-open,
  body.nx-workspace-mobile-nav-open {
    overflow: hidden;
  }

  .nx-layout-shell.nx-frame-demo--regular .nx-app-sidebar-nav {
    display: flex;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 92;
    width: min(18rem, 85vw);
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    flex: none;
    background: #ece8dd;
    box-shadow: 12px 0 32px rgba(15, 23, 42, 0.2);
    transform: translateX(-102%) !important;
    visibility: hidden;
    transition: transform 200ms ease, visibility 0s linear 200ms;
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-app-sidebar-nav {
    width: min(18rem, 85vw);
    flex-basis: auto;
    transform: translateX(0) !important;
    visibility: visible;
    transition: transform 200ms ease, visibility 0s;
  }

  .nx-layout-shell.nx-frame-demo--regular .nx-app-sidebar-nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 91;
    border: 0;
    padding: 0;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-app-sidebar-nav__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 200ms ease, visibility 0s;
  }

  .nx-layout-shell.nx-frame-demo--regular .nx-app-sidebar-nav__header {
    padding: 14px 56px 14px 16px;
  }

  .nx-layout-shell.nx-frame-demo--regular .nx-app-sidebar-nav__mobile-close {
    display: inline-flex;
    position: absolute;
    top: 16px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #18212f;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nx-layout-shell.nx-frame-demo--regular .nx-app-sidebar-nav__mobile-close:hover,
  .nx-layout-shell.nx-frame-demo--regular .nx-app-sidebar-nav__mobile-close:focus-visible {
    background: rgba(255, 255, 255, 0.65);
  }

  .nx-layout-shell.nx-frame-demo--regular .nx-frame-regular-main {
    width: 100%;
    flex: 1 1 100%;
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-workspace-checklist {
    width: auto;
    display: flex;
    justify-content: flex-start;
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-workspace-checklist__trigger {
    width: 40px;
    height: 40px;
    min-height: 40px;
    justify-content: center;
    padding: 0;
    border-color: transparent;
    background: linear-gradient(135deg, #14b8a6, #3b82f6);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-workspace-checklist__badge {
    background: transparent;
    font-size: 12px;
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-workspace-checklist__title,
  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-workspace-checklist__chevron {
    display: none;
  }

  .nx-layout-shell.nx-frame-demo--regular[data-frame-sidebar="expanded"] .nx-workspace-checklist__panel {
    position: absolute;
    left: 0;
    bottom: 48px;
    width: min(288px, calc(85vw - 32px));
    margin-top: 0;
    z-index: 93;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail {
    display: flex;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 92;
    width: min(18rem, 85vw);
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    flex: none;
    padding: 0;
    background: #ece8dd;
    box-shadow: 12px 0 32px rgba(15, 23, 42, 0.2);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 200ms ease, visibility 0s linear 200ms;
  }

  .nx-layout-shell.nx-frame-demo--project[data-frame-sidebar="expanded"] .nx-frame-project-rail {
    transform: translateX(0);
    visibility: visible;
    transition: transform 200ms ease, visibility 0s;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 91;
    border: 0;
    padding: 0;
    background: rgba(15, 23, 42, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
  }

  .nx-layout-shell.nx-frame-demo--project[data-frame-sidebar="expanded"] .nx-frame-project-rail__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 200ms ease, visibility 0s;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__header {
    min-height: 68px;
    padding: 14px 16px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__workspace-back {
    flex-direction: row;
    gap: 9px;
    font-size: 13px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__workspace-back-icon {
    width: 34px;
    height: 34px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__workspace-back-label {
    max-width: none;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__mobile-close {
    display: inline-flex;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #18212f;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__mobile-close:hover,
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__mobile-close:focus-visible {
    background: rgba(255, 255, 255, 0.65);
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__content {
    padding: 14px 16px;
    align-items: stretch;
    gap: 5px;
    overflow-y: auto;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item-wrap {
    justify-content: stretch;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item:hover {
    background: rgba(255, 255, 255, 0.6);
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active,
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active:hover {
    background: #123339;
    color: #ffffff;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item svg,
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item [data-lucide],
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active svg,
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item--active [data-lucide] {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: currentColor;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__item-label {
    text-align: left;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__footer {
    width: 100%;
    padding: 12px 16px 14px;
    border-top: 1px solid rgba(24, 33, 47, 0.12);
    display: grid;
    justify-items: stretch;
    gap: 12px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__checklist-row {
    min-width: 0;
    padding: 0 4px 12px;
    border-bottom: 1px solid rgba(24, 33, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__checklist-row .nx-wp-checklist--rail {
    width: auto;
    margin: 0;
    justify-content: flex-start;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__account {
    width: 100%;
    min-width: 0;
    padding: 0 4px;
    display: flex;
    align-items: center;
    gap: 11px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__account-meta {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 2px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__account-name {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #18212f;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__account-email {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #607086;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    line-height: 1.3;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__logout {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 8px;
    color: #607086;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__logout:hover,
  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__logout:focus-visible {
    background: rgba(255, 255, 255, 0.65);
    color: #18212f;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-rail__logout [data-lucide] {
    width: 17px;
    height: 17px;
  }

  .nx-layout-shell.nx-frame-demo--project .nx-frame-project-main {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (max-width: 768px) {
  .nx-pip-chat-panel .nx-pip-chat-shell {
    border-left: 1px solid rgb(152 152 152);
  }

  .nx-layout-shell .nx-frame-regular-topbar__pip {
    padding: 0 10px;
    gap: 6px;
  }

  .nx-layout-shell .nx-frame-regular-topbar__pip span {
    display: none;
  }

  .nx-layout-shell .nx-frame-project-main__placeholder--grid,
  .nx-layout-shell .nx-frame-regular-content__grid {
    grid-template-columns: 1fr;
  }

  /* Match alpha behavior: keep dashboard cards at 2 columns until 720px */
  .nx-layout-shell .nx-dashboard-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nx-layout-shell .nx-dashboard-project-grid {
    grid-template-columns: 1fr;
  }
}

/* Project Pipeline page */
.nx-project-header__body:has(> .nx-project-pipeline-shell) {
  padding: 0 !important;
  gap: 0 !important;
  height: 100% !important;
  position: relative;
  margin: 0 !important;
  border: 0 !important;
  background: #ece8dd !important;
}

.nx-project-pipeline-shell {
  height: 100%;
  position: relative;
  display: flex;
  gap: 8px;
  background: transparent;
}

.nx-project-pipeline-mobile-toggle {
  display: none;
  margin-right: 8px;
  min-width: 28px;
  padding: 0 8px;
}

.nx-project-pipeline-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(15, 23, 42, 0.4);
  border: 0;
  cursor: pointer;
}

.nx-project-pipeline-panel {
  height: 100%;
  position: relative;
  width: 20rem;
  flex: 0 0 20rem;
  z-index: 2;
}

.nx-project-pipeline-mobile-close {
  display: none;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 55;
  margin-left: auto;
  padding: 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  transition: background-color 140ms ease;
  cursor: pointer;
}

.nx-project-pipeline-mobile-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.nx-project-pipeline-mobile-close [data-lucide] {
  width: 20px;
  height: 20px;
}

.nx-project-pipeline-panel .nx-stack,
.nx-project-pipeline-panel .nx-pp-nav-shell,
.nx-project-pipeline-panel .nx-pp-nav-shell__frame {
  min-height: 100%;
  height: 100%;
  width: 100% !important;
  max-width: none !important;
}

.nx-project-pipeline-panel .nx-pp-nav {
  margin-right: 0;
  border-radius: 0;
  border-left: 0;
  border-bottom: 0;
  border-top: 0;
}

.nx-project-toolkit-page .nx-project-pipeline-panel .nx-row {
  display: none;
}

.nx-project-toolkit-page .nx-project-pipeline-panel .nx-stack > div[style*="height:520px"] {
  height: 100% !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.nx-project-toolkit-page .nx-project-pipeline-panel .nx-stack > div[style*="height:520px"] > div:last-child {
  display: none !important;
}

.nx-project-toolkit-page .nx-project-pipeline-panel .nx-rt-nav {
  width: 100%;
  height: 100%;
  border-radius: 0;
  margin-right: 0;
}

.nx-project-pipeline-main {
  flex: 1 1 auto;
  min-width: 0;
  overflow-y: auto;
  padding: 0;
  background: #ffffff;
  border-top-right-radius: 12px;
}

.nx-project-pipeline-main-inner {
  max-width: 80rem;
  padding: 16px 16px 16px 10px;
}

.nx-project-pipeline-checklist {
  padding-left: 8px;
  min-width: 0;
}

.nx-project-pipeline-checklist .nx-pipeline-stages {
  width: 100% !important;
  max-width: 100% !important;
}

.nx-project-pipeline-checklist .nx-toolkit-library-shell {
  width: 100% !important;
  max-width: 100% !important;
}

.nx-project-toolkit-page .nx-project-pipeline-main-inner {
  padding: 8px 8px 8px 5px;
}

.nx-project-toolkit-page .nx-project-pipeline-checklist {
  padding-left: 4px;
}

.nx-project-toolkit-page .nx-toolkit-library__inner {
  padding: 12px;
}

.nx-project-toolkit-page .nx-toolkit-library__content {
  padding-top: 0;
  padding-bottom: 0;
}

.nx-toolkit-analysis-page .nx-project-pipeline-main {
  display: flex;
  overflow: hidden;
}

.nx-toolkit-analysis-page--no-nav {
  gap: 0;
}

.nx-toolkit-analysis-page--no-nav .nx-project-pipeline-main {
  border-top-left-radius: 12px;
}

.nx-toolkit-analysis-question-page .nx-project-pipeline-main {
  background: transparent;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-split {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-helper {
  min-width: 0;
  display: flex;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-helper > .nx-toolkit-q-shell,
.nx-toolkit-analysis-page .nx-toolkit-analysis-helper > .nx-pip-helper-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-doc {
  display: flex;
  min-width: 0;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-doc > .nx-stack {
  width: 100% !important;
  max-width: none !important;
  height: 100%;
  display: flex;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-doc .nx-toolkit-doc-shell {
  width: 100%;
  height: 100%;
  display: flex;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-doc .nx-toolkit-doc {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nx-toolkit-analysis-page .nx-toolkit-analysis-doc .nx-toolkit-doc__scroll {
  flex: 1 1 auto;
  min-height: 0;
}

.nx-project-pipeline-stage-head {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 22px;
  border-bottom: 1px solid rgba(220, 227, 238, 0.9);
  background: #f6f6f0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nx-project-pipeline-stage-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  border-radius: 999px;
  background: #10b981;
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.nx-project-pipeline-stage-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--nx-color-text, #111827);
  font-family: var(--nx-font-serif, "Lora", Georgia, "Times New Roman", serif);
}

.nx-project-toolkit-page .nx-project-pipeline-stage-head {
  background: linear-gradient(90deg, #2aaac1 0%, #3498db 100%);
  border-bottom: 0;
}

.nx-project-toolkit-page .nx-project-pipeline-stage-title {
  color: #ffffff;
}

.nx-project-toolkit-page .nx-project-pipeline-mobile-toggle {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
  background: transparent;
}

.nx-project-toolkit-page .nx-project-pipeline-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.nx-layout-shell .nx-frame-project-rail__workspace {
  position: relative;
}

.nx-layout-shell .nx-frame-project-rail__workspace-menu {
  left: 0;
  right: auto;
  width: min(204px, calc(100vw - 24px));
  padding: 10px;
  border: 1px solid rgba(211, 220, 233, 0.95);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18), 0 2px 5px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
}

.nx-layout-shell .nx-frame-project-rail__menu-label {
  margin: 0 0 14px;
  color: #667085;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.nx-layout-shell .nx-frame-project-rail__current-name {
  margin: 0 0 14px;
  color: #18212f;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.nx-layout-shell .nx-frame-project-rail__credit-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 7px 10px 8px;
}

.nx-layout-shell .nx-frame-project-rail__credit-card--low {
  background: transparent;
}

.nx-layout-shell .nx-frame-project-rail__credit-card--exhausted {
  background: transparent;
}

.nx-layout-shell .nx-frame-project-rail__credit-head,
.nx-layout-shell .nx-frame-project-rail__credit-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nx-layout-shell .nx-frame-project-rail__credit-head {
  margin-bottom: 6px;
}

.nx-layout-shell .nx-frame-project-rail__credit-head strong {
  color: #079883;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.nx-layout-shell .nx-frame-project-rail__credit-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2b2f38;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.nx-layout-shell .nx-frame-project-rail__credit-title [data-lucide] {
  width: 12px;
  height: 12px;
  color: #14b8a6;
  stroke-width: 2.4;
}

.nx-layout-shell .nx-frame-project-rail__credit-meter {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
  margin-bottom: 7px;
}

.nx-layout-shell .nx-frame-project-rail__credit-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #14b8a6;
}

.nx-layout-shell .nx-frame-project-rail__credit-card--low .nx-frame-project-rail__credit-head strong,
.nx-layout-shell .nx-frame-project-rail__credit-card--low .nx-frame-project-rail__credit-title [data-lucide] {
  color: #d66b00;
}

.nx-layout-shell .nx-frame-project-rail__credit-card--low .nx-frame-project-rail__credit-meter span {
  background: #fbbf24;
}

.nx-layout-shell .nx-frame-project-rail__credit-card--exhausted .nx-frame-project-rail__credit-meter span {
  background: #dc2626;
}

.nx-layout-shell .nx-frame-project-rail__credit-card--exhausted .nx-frame-project-rail__credit-head strong,
.nx-layout-shell .nx-frame-project-rail__credit-card--exhausted .nx-frame-project-rail__credit-foot {
  color: #991b1b;
}

.nx-layout-shell .nx-frame-project-rail__credit-foot {
  color: #7a7f8c;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
}

.nx-layout-shell .nx-frame-project-rail__credit-foot a {
  color: #079883;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nx-layout-shell .nx-frame-project-rail__credit-foot a:hover,
.nx-layout-shell .nx-frame-project-rail__credit-foot a:focus-visible {
  color: #087f70;
  text-decoration: none;
  outline: 0;
}

.nx-layout-shell .nx-frame-project-rail__menu-separator {
  height: 1px;
  margin: 10px -10px 11px;
  background: #dce3ee;
}

.nx-layout-shell .nx-frame-project-rail__menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #18212f;
  text-align: left;
  text-decoration: none;
  box-shadow: none;
}

.nx-layout-shell .nx-frame-project-rail__menu-item:hover,
.nx-layout-shell .nx-frame-project-rail__menu-item:focus,
.nx-layout-shell .nx-frame-project-rail__menu-item:focus-visible,
.nx-layout-shell .nx-frame-project-rail__menu-item:active {
  border: 0;
  outline: 0;
  box-shadow: none;
  text-decoration: none;
}

.nx-layout-shell .nx-frame-project-rail__menu-item:hover,
.nx-layout-shell .nx-frame-project-rail__menu-item:focus-visible {
  background: #f8fafc;
}

.nx-layout-shell .nx-frame-project-rail__menu-action {
  min-height: 29px;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
}

.nx-layout-shell .nx-frame-project-rail__menu-action [data-lucide] {
  width: 14px;
  height: 14px;
  color: #18212f;
  stroke-width: 2;
  flex: 0 0 auto;
}

.nx-layout-shell .nx-frame-project-rail__menu-copy {
  display: grid;
  gap: 1px;
}

.nx-layout-shell .nx-frame-project-rail__menu-copy span:last-child {
  color: #a8abb3;
}

.nx-layout-shell .nx-frame-project-rail__switch-item {
  min-height: 27px;
  padding: 3px 0;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.nx-layout-shell .nx-frame-project-rail__switch-item.nx-frame-project-rail__menu-item--active {
  background: transparent;
}

.nx-layout-shell .nx-frame-project-rail__menu-title,
.nx-layout-shell .nx-frame-project-rail__menu-subtitle {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nx-layout-shell .nx-frame-project-rail__menu-subtitle {
  margin-left: auto;
  color: #667085;
  font-size: 13px;
}

.nx-layout-shell .nx-frame-project-rail__menu-item--active {
  background: transparent;
  font-weight: 700;
}

.nx-layout-shell .nx-frame-project-rail__menu-item--disabled,
.nx-layout-shell .nx-frame-project-rail__menu-item--disabled:hover,
.nx-layout-shell .nx-frame-project-rail__menu-item--disabled:focus-visible {
  color: #8d9096;
  background: transparent;
  cursor: not-allowed;
}

.nx-layout-shell .nx-frame-project-rail__menu-item--disabled [data-lucide] {
  color: #8d9096;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu {
  left: 0;
  right: auto;
  min-width: 228px;
  width: 228px;
  padding: 7px;
  border-radius: 10px;
  border: 1px solid rgba(211, 220, 233, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18), 0 2px 5px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits {
  padding: 7px 10px 8px;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--low {
  background: transparent;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--exhausted {
  background: transparent;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-head,
.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-head {
  margin-bottom: 6px;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-head strong {
  color: #079883;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: #2b2f38;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 800;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-title [data-lucide] {
  width: 12px;
  height: 12px;
  color: #14b8a6;
  stroke-width: 2.4;
  flex: 0 0 auto;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credit-meter {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
  margin-bottom: 5px;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credit-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #14b8a6;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--low .nx-app-sidebar-nav__workspace-credits-head strong,
.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--low .nx-app-sidebar-nav__workspace-credits-title [data-lucide] {
  color: #d66b00;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--low .nx-app-sidebar-nav__workspace-credit-meter span {
  background: #fbbf24;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--exhausted .nx-app-sidebar-nav__workspace-credit-meter span {
  background: #dc2626;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--exhausted .nx-app-sidebar-nav__workspace-credits-head strong,
.nx-layout-shell .nx-app-sidebar-nav__workspace-credits--exhausted .nx-app-sidebar-nav__workspace-credits-foot {
  color: #991b1b;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-foot {
  color: #7a7f8c;
  font-size: 11px;
  line-height: 1.2;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-foot a {
  color: #079883;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-foot a:hover,
.nx-layout-shell .nx-app-sidebar-nav__workspace-credits-foot a:focus-visible {
  color: #087f70;
  text-decoration: none;
  outline: 0;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-label {
  margin: 0;
  padding: 6px 5px 7px;
  color: #667085;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-separator {
  height: 1px;
  background: #dce3ee;
  margin: 7px 0;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item {
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #18212f;
  text-align: left;
  text-decoration: none;
  padding: 8px;
  cursor: pointer;
  box-shadow: none;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item:hover,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item:focus,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item:focus-visible,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item:active {
  border: 0;
  outline: 0;
  box-shadow: none;
  text-decoration: none;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item:hover,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item:focus-visible {
  background: #f8fafc;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item--active,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item--active:hover,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item--active:focus-visible {
  background: #f3f3f5;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item--disabled,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item--disabled:hover {
  opacity: 0.5;
  background: transparent;
  cursor: not-allowed;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-item [data-lucide] {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #18212f;
  stroke-width: 2;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-action {
  min-height: 28px;
  padding: 7px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 500;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-switch-item {
  min-height: 43px;
  padding: 7px 8px;
  align-items: center;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-logout {
  min-height: 33px;
  padding: 7px;
  color: #df1c1c;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-logout [data-lucide] {
  color: #df1c1c;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-logout:hover,
.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-logout:focus-visible {
  color: #df1c1c;
  background: rgba(223, 28, 28, 0.08);
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-title {
  margin: 0;
  color: #18212f;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
}

.nx-layout-shell .nx-app-sidebar-nav__workspace-menu-subtitle {
  margin: 0;
  color: #667085;
  font-size: 11px;
  line-height: 1.2;
  text-transform: capitalize;
}

.nx-dialog .nx-workspace-settings__section-head--subscription {
  margin-bottom: 14px;
}

.nx-dialog .nx-workspace-settings__section-head--subscription h3 {
  font-family: var(--nx-font-serif, "Lora", Georgia, "Times New Roman", serif);
  font-size: 19px;
  line-height: 1.15;
  font-weight: 700;
}

.nx-dialog .nx-workspace-settings__section-head--subscription p {
  font-size: 12px;
  line-height: 1.35;
}

.nx-dialog .nx-workspace-settings__billing-tabs--legacy {
  display: none;
}

.nx-dialog .nx-workspace-settings__subscription-card {
  border: 1px solid #dce3ee;
  border-radius: 10px;
  background: #ffffff;
  padding: 24px;
  box-shadow: none;
}

.nx-dialog .nx-workspace-settings__subscription-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 0 0 19px;
  border-bottom: 1px solid #dce3ee;
}

.nx-dialog .nx-workspace-settings__subscription-pill {
  min-height: 19px;
  padding: 0 11px;
  border-radius: 999px;
  background: #ccfbf1;
  color: #155e5a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: none;
}

.nx-dialog .nx-workspace-settings__subscription-head h4 {
  margin: 0;
  color: #18212f;
  font-family: var(--nx-font-serif, "Lora", Georgia, "Times New Roman", serif);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
}

.nx-dialog .nx-workspace-settings__subscription-head p {
  margin: 5px 0 0;
  color: #6f7480;
  font-size: 9px;
  line-height: 1.35;
}

.nx-dialog .nx-workspace-settings__subscription-price {
  text-align: right;
  color: #18212f;
}

.nx-dialog .nx-workspace-settings__subscription-price strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
}

.nx-dialog .nx-workspace-settings__subscription-price span {
  display: block;
  margin-top: 5px;
  color: #079883;
  font-size: 9px;
  font-weight: 700;
}

.nx-dialog .nx-workspace-settings__subscription-card > .nx-workspace-settings__notice {
  margin-top: 14px;
}

.nx-dialog .nx-workspace-settings__subscription-actions {
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 14px;
  margin-top: 19px;
}

.nx-dialog .nx-workspace-settings__subscription-actions p {
  margin: 0;
  color: #6f7480;
  font-size: 12px;
  line-height: 1.45;
}

.nx-dialog .nx-workspace-settings__subscription-manage {
  min-height: 31px;
  padding: 0 17px;
  border: 0 !important;
  border-radius: 8px;
  background: #18b9aa !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 5px 10px rgba(15, 23, 42, 0.16);
}

.nx-dialog .nx-workspace-settings__subscription-manage:hover,
.nx-dialog .nx-workspace-settings__subscription-manage:focus-visible {
  background: #0f9f92 !important;
  color: #ffffff !important;
}

.nx-dialog .nx-workspace-settings__subscription-manage [data-lucide] {
  width: 13px;
  height: 13px;
}

.nx-dialog .nx-workspace-settings__billing-panel[data-billing-panel="subscription"] > .nx-workspace-settings__seat-stepper,
.nx-dialog .nx-workspace-settings__billing-panel[data-billing-panel="subscription"] > .nx-workspace-settings__plan-feedback,
.nx-dialog .nx-workspace-settings__billing-panel[data-billing-panel="subscription"] > .nx-workspace-settings__plan-inclusion {
  display: none !important;
}

@media (max-width: 1024px) {
  .nx-project-pipeline-mobile-toggle {
    display: inline-flex;
    position: static;
  }

  .nx-project-pipeline-shell[data-nav-state="open"] .nx-project-pipeline-backdrop {
    display: block;
  }

  .nx-project-pipeline-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 50;
    width: min(20rem, 86vw);
    transform: translateX(-102%);
    transition: transform 220ms ease;
  }

  .nx-project-pipeline-main {
    border-top-right-radius: 0;
  }

  .nx-project-pipeline-shell[data-nav-state="open"] .nx-project-pipeline-mobile-close {
    display: inline-flex;
  }

  .nx-project-pipeline-shell[data-nav-state="open"] .nx-project-pipeline-panel {
    transform: translateX(0);
  }
}

@media (min-width: 1025px) {
  .nx-toolkit-analysis-page[data-nav-state="closed"] {
    gap: 0;
  }

  .nx-toolkit-analysis-page[data-nav-state="closed"] .nx-project-pipeline-panel {
    width: 0;
    flex-basis: 0;
    overflow: hidden;
  }

  .nx-project-pipeline-main-inner {
    padding: 24px 24px 24px 10px;
  }

  .nx-project-pipeline-checklist {
    padding-left: 10px;
  }

  .nx-project-toolkit-page .nx-project-pipeline-main-inner {
    padding: 12px 12px 12px 5px;
  }

  .nx-project-toolkit-page .nx-project-pipeline-checklist {
    padding-left: 5px;
  }

  .nx-project-toolkit-page .nx-toolkit-library__inner {
    padding: 16px;
  }
}
