.as-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.as-narrow {
  max-width: 32rem;
}

.cp-console-page {
  background: #fff;
}

.dark .cp-console-page {
  background: rgb(17 24 39);
}

.cp-console-mobile-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  background: rgb(17 24 39 / 0.8);
}

.cp-console-mobile-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  width: 100%;
  max-width: 20rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.cp-console-desktop-sidebar {
  display: none;
}

.cp-console-desktop-sidebar .cp-console-sidebar-shell {
  position: relative;
}

.cp-console-desktop-sidebar .cp-console-sidebar-shell::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgb(229 231 235);
  pointer-events: none;
}

.dark .cp-console-desktop-sidebar .cp-console-sidebar-shell::after {
  background: rgb(255 255 255 / 0.1);
}

.cp-console-sidebar-shell {
  background: rgb(255 255 255);
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.dark .cp-console-sidebar-shell {
  background: rgb(17 24 39);
}

.cp-console-sidebar-shell--mobile {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  border-right: 1px solid rgb(229 231 235);
  padding-bottom: 1rem;
}

.dark .cp-console-sidebar-shell--mobile {
  border-color: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}

.dark .cp-console-sidebar-shell--mobile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.1);
  pointer-events: none;
}

.cp-console-sidebar-main {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  gap: 1.25rem;
}

.cp-console-sidebar-nav {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
}

.cp-console-sidebar-list {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  flex-direction: column;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cp-console-sidebar-footer-start {
  margin-top: auto;
}

.cp-console-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.375rem;
  padding: 0.5rem !important;
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: rgb(55 65 81);
  text-decoration: none;
}

.dark .cp-console-sidebar-link {
  color: rgb(156 163 175);
}

.cp-console-sidebar-link:hover {
  background: rgb(249 250 251);
  color: rgb(79 70 229);
}

.dark .cp-console-sidebar-link:hover {
  background: rgb(255 255 255 / 0.05);
  color: rgb(255 255 255);
}

.cp-console-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.cp-console-brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
  flex-shrink: 0;
}

.cp-console-brand-copy {
  display: flex;
  min-width: 0;
  align-items: center;
}

.cp-console-brand-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: rgb(99 102 241);
}

.cp-console-brand-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  color: rgb(15 23 42);
}

.dark .cp-console-brand-title {
  color: rgb(255 255 255);
}

.cp-console-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgb(248 250 252);
  outline: 1px solid rgb(15 23 42 / 0.08);
  outline-offset: -1px;
  object-fit: cover;
}

.dark .cp-console-avatar {
  background: rgb(31 41 55);
  outline-color: rgb(255 255 255 / 0.1);
}

.cp-console-sidebar-nav a:hover,
.cp-console-sidebar-nav button:hover {
  color: rgb(79 70 229) !important;
}

.cp-console-sidebar-nav a:hover svg,
.cp-console-sidebar-nav button:hover svg {
  color: rgb(79 70 229) !important;
}

.dark .cp-console-sidebar-nav a:hover svg,
.dark .cp-console-sidebar-nav button:hover svg {
  color: rgb(255 255 255) !important;
}

.cp-console-sidebar-nav .cp-console-nav-active,
.cp-console-sidebar-nav .cp-console-nav-active:hover {
  background: rgb(249 250 251) !important;
  color: rgb(79 70 229) !important;
}

.cp-console-sidebar-nav .cp-console-nav-active svg,
.cp-console-sidebar-nav .cp-console-nav-active:hover svg {
  color: rgb(79 70 229) !important;
}

.dark .cp-console-sidebar-nav .cp-console-nav-active,
.dark .cp-console-sidebar-nav .cp-console-nav-active:hover {
  background: rgb(255 255 255 / 0.1) !important;
  color: rgb(255 255 255) !important;
}

.cp-console-shell-offset {
  min-height: 100vh;
  background: rgb(248 250 252);
}

.dark .cp-console-shell-offset {
  background: rgb(3 7 18);
}

.cp-admin-rail {
  display: none;
}

.cp-console-header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
}

.cp-console-topbar {
  height: 4rem;
  border-bottom: 1px solid rgb(229 231 235);
  background: rgb(255 255 255);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.dark .cp-console-topbar {
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(17 24 39);
  box-shadow: none;
}

.cp-console-topbar-inner {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.cp-console-topbar-content {
  display: flex;
  flex: 1 1 0%;
  min-width: 0;
  gap: 1rem;
  align-self: stretch;
}

.cp-console-topbar-icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.cp-console-topbar-search {
  position: relative;
  display: grid;
  flex: 1 1 0%;
  grid-template-columns: 1fr;
  min-width: 0;
  align-self: stretch;
  overflow: visible;
  z-index: 60;
}

.cp-console-topbar-spacer {
  flex: 1 1 0%;
  min-width: 0;
}

.cp-console-search-input {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding-left: 2rem;
  padding-right: 0;
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgb(15 23 42);
  outline: none;
  box-shadow: none;
}

.dark .cp-console-search-input {
  color: rgb(255 255 255);
}

.cp-console-search-input::placeholder {
  color: rgb(148 163 184);
}

.cp-console-search-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 1.25rem;
  height: 1.25rem;
  color: rgb(148 163 184);
  pointer-events: none;
}

.cp-console-search-flyout {
  position: absolute;
  left: 0;
  top: calc(100% + 0.625rem);
  z-index: 70;
  width: min(38rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgb(209 213 219 / 0.9);
  border-radius: 0.5rem;
  background: rgb(255 255 255);
  padding: 0.75rem 0;
  box-shadow: 0 18px 45px rgb(15 23 42 / 0.14), 0 4px 10px rgb(15 23 42 / 0.06);
}

.cp-console-search-flyout[hidden] {
  display: none !important;
}

.cp-console-search-flyout-title {
  padding: 0 1rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  color: rgb(31 41 55 / 0.8);
}

.cp-console-search-results {
  max-height: 22rem;
  overflow-y: auto;
}

.cp-console-search-flyout-empty {
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(100 116 139);
}

.cp-console-search-flyout-row {
  display: flex;
  min-height: 2.75rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.125rem;
  padding: 0.45rem 1rem;
  color: rgb(71 85 105);
  text-decoration: none;
  cursor: pointer;
}

.cp-console-search-flyout-user {
  min-height: 3.25rem;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.cp-console-search-flyout-avatar {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(239 246 255);
  color: rgb(29 78 216);
  font-size: 0.8125rem;
  line-height: 1rem;
  font-weight: 700;
}

.cp-console-search-flyout-body {
  display: grid;
  min-width: 0;
  gap: 0.125rem;
}

.cp-console-search-flyout-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(241 245 249);
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  line-height: 1rem;
  font-weight: 700;
  color: rgb(71 85 105);
  white-space: nowrap;
}

.cp-console-search-flyout-row--footer {
  border-top: 1px solid rgb(226 232 240);
  margin-top: 0.35rem;
}

.cp-console-search-flyout-row:hover,
.cp-console-search-flyout-row:focus {
  background: rgb(229 231 235 / 0.75);
  color: rgb(15 23 42);
  outline: none;
  text-decoration: none;
}

.cp-console-search-flyout-main {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.cp-console-search-flyout-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(100 116 139);
}

.dark .cp-console-search-flyout {
  border-color: rgb(255 255 255 / 0.12);
  background: rgb(31 41 55);
  box-shadow: 0 18px 45px rgb(0 0 0 / 0.35);
}

.dark .cp-console-search-flyout-title {
  color: rgb(203 213 225);
}

.dark .cp-console-search-flyout-row {
  color: rgb(226 232 240);
}

.dark .cp-console-search-flyout-row:hover,
.dark .cp-console-search-flyout-row:focus {
  background: rgb(255 255 255 / 0.08);
  color: rgb(255 255 255);
}

.dark .cp-console-search-flyout-sub {
  color: rgb(148 163 184);
}

.dark .cp-console-search-flyout-empty {
  color: rgb(148 163 184);
}

.dark .cp-console-search-flyout-avatar {
  background: rgb(30 58 138 / 0.35);
  color: rgb(191 219 254);
}

.dark .cp-console-search-flyout-meta {
  background: rgb(255 255 255 / 0.08);
  color: rgb(203 213 225);
}

.dark .cp-console-search-flyout-row--footer {
  border-color: rgb(255 255 255 / 0.1);
}

.cp-console-topbar-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 1rem;
}

.cp-console-user-summary {
  position: relative;
  display: flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.cp-console-user-label {
  display: none;
}

.cp-console-user-name {
  margin-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: rgb(17 24 39);
}

.dark .cp-console-user-name {
  color: rgb(255 255 255);
}

.cp-console-user-chevron {
  margin-left: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  color: rgb(156 163 175);
}

.cp-console-user-menu {
  position: absolute;
  right: 0;
  z-index: 50;
  margin-top: 0.5rem;
  width: 10rem;
  transform-origin: top right;
  border-radius: 0.375rem;
  background: rgb(255 255 255);
  padding: 0.5rem 0;
  box-shadow: 0 10px 15px -3px rgb(15 23 42 / 0.1), 0 4px 6px -4px rgb(15 23 42 / 0.1);
  outline: 1px solid rgb(15 23 42 / 0.05);
}

.dark .cp-console-user-menu {
  background: rgb(31 41 55);
  box-shadow: none;
  outline: 1px solid rgb(255 255 255 / 0.1);
}

.cp-console-user-menu-link {
  display: block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: rgb(17 24 39);
  text-decoration: none;
}

.cp-console-user-menu-link:hover {
  background: rgb(249 250 251);
}

.dark .cp-console-user-menu-link {
  color: rgb(255 255 255);
}

.dark .cp-console-user-menu-link:hover {
  background: rgb(55 65 81);
}

.cp-console-main {
  position: relative;
  padding: 1rem 0;
}

.cp-console-impersonation-wrap {
  padding: 0.35rem 1rem 0;
}

.cp-console-impersonation {
  border-radius: 0.375rem;
  background: rgb(254 252 232);
  padding: 0.25rem 0.55rem;
}

.dark .cp-console-impersonation {
  background: rgb(234 179 8 / 0.1);
  outline: 1px solid rgb(234 179 8 / 0.15);
}

.cp-console-impersonation-inner {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cp-console-impersonation-icon {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  color: rgb(250 204 21);
}

.dark .cp-console-impersonation-icon {
  color: rgb(253 224 71);
}

.cp-console-impersonation-copy {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(161 98 7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dark .cp-console-impersonation-copy {
  color: rgb(254 249 195 / 0.8);
}

.cp-console-impersonation-copy strong {
  color: rgb(133 77 14);
  font-weight: 600;
}

.dark .cp-console-impersonation-copy strong {
  color: rgb(254 249 195);
}

.cp-console-impersonation-stop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgb(217 119 6 / 0.25);
  background: rgb(255 255 255 / 0.7);
  padding: 0.15rem 0.45rem;
  font-size: 0.6875rem;
  line-height: 0.95rem;
  font-weight: 600;
  color: rgb(146 64 14);
  cursor: pointer;
  white-space: nowrap;
}

.cp-console-impersonation-stop:hover {
  background: rgb(255 255 255 / 0.92);
}

.dark .cp-console-impersonation-stop {
  border-color: rgb(250 204 21 / 0.2);
  background: rgb(255 255 255 / 0.06);
  color: rgb(254 249 195);
}

.dark .cp-console-impersonation-stop:hover {
  background: rgb(255 255 255 / 0.12);
}

.cp-console-main-frame {
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .cp-console-topbar-inner {
    gap: 1.5rem;
    padding-inline: 1.5rem;
  }

  .cp-console-topbar-content {
    gap: 1.5rem;
  }

  .cp-console-search-input {
    font-size: 0.875rem;
    line-height: 1.5rem;
  }

  .cp-console-main {
    padding: 1.5rem 0;
  }

  .cp-console-impersonation-wrap {
    padding-inline: 1.5rem;
  }

  .cp-console-main-frame {
    padding-inline: 1.5rem;
  }

}
@media (min-width: 1024px) {
  .cp-console-mobile-sidebar-backdrop,
  .cp-console-mobile-sidebar,
  .cp-console-mobile-toggle,
  .cp-console-mobile-separator {
    display: none !important;
  }

  .cp-console-desktop-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    display: flex;
    width: 18rem;
    flex-direction: column;
  }

  .cp-console-shell-offset {
    padding-left: 18rem;
  }

  .cp-admin-rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    display: flex;
    width: 4rem;
    flex-direction: column;
    overflow: hidden;
    border-right: 1px solid rgb(226 232 240 / 0.94);
    background: rgb(255 255 255 / 0.97);
    box-shadow: 0 18px 45px rgb(15 23 42 / 0.16);
    transition: width 180ms ease;
  }

  .cp-admin-rail:hover,
  .cp-admin-rail:focus-within {
    width: 18rem;
  }

  .has-admin-rail:not(.admin-rail-only) .cp-console-desktop-sidebar {
    left: 4rem;
  }

  .has-admin-rail:not(.admin-rail-only) .cp-console-shell-offset {
    padding-left: 22rem;
  }

  .has-admin-rail.admin-rail-only .cp-console-desktop-sidebar {
    display: none !important;
  }

  .has-admin-rail.admin-rail-only .cp-console-shell-offset {
    padding-left: 4rem;
  }

  .cp-admin-rail-brand {
    display: flex;
    min-width: 18rem;
    align-items: center;
    border-bottom: 1px solid rgb(226 232 240 / 0.94);
    padding: 1rem 0.5rem;
  }

  .cp-admin-rail-mark {
    flex: 0 0 3rem;
    height: 2.25rem;
    width: 3rem;
    object-fit: contain;
  }

  .cp-admin-rail-title,
  .cp-admin-rail-subtitle,
  .cp-admin-rail-heading,
  .cp-admin-rail-label {
    opacity: 0;
    transform: translateX(-0.25rem);
    transition: opacity 140ms ease, transform 140ms ease;
    white-space: nowrap;
  }

  .cp-admin-rail:hover .cp-admin-rail-title,
  .cp-admin-rail:hover .cp-admin-rail-subtitle,
  .cp-admin-rail:hover .cp-admin-rail-heading,
  .cp-admin-rail:hover .cp-admin-rail-label,
  .cp-admin-rail:focus-within .cp-admin-rail-title,
  .cp-admin-rail:focus-within .cp-admin-rail-subtitle,
  .cp-admin-rail:focus-within .cp-admin-rail-heading,
  .cp-admin-rail:focus-within .cp-admin-rail-label {
    opacity: 1;
    transform: translateX(0);
  }

  .cp-admin-rail-title {
    min-width: 0;
    color: rgb(15 23 42);
    font-size: 0.92rem;
    font-weight: 700;
  }

  .cp-admin-rail-subtitle {
    margin-top: 0.125rem;
    color: rgb(100 116 139);
    font-size: 0.72rem;
    font-weight: 600;
  }

  .cp-admin-rail-nav {
    min-width: 18rem;
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem 0.5rem;
  }

  .cp-admin-rail-heading {
    padding: 0.42rem 0.75rem 0.28rem 3.25rem;
    color: rgb(148 163 184);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .cp-admin-rail-divider {
    height: 1px;
    margin: 0.4rem 0.75rem 0.4rem 3.25rem;
    background: rgb(226 232 240 / 0.94);
  }

  .cp-admin-rail-form {
    display: block;
    width: 17rem;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .cp-admin-rail-link {
    display: grid;
    min-width: 17rem;
    grid-template-columns: 3rem 1fr;
    align-items: center;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: rgb(71 85 105);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .cp-admin-rail-link:hover,
  .cp-admin-rail-link.is-active {
    background: rgb(241 245 249);
    color: rgb(15 23 42);
  }

  .cp-admin-rail-icon {
    display: inline-flex;
    height: 2.25rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    color: rgb(100 116 139);
  }

  .cp-admin-rail-label {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cp-admin-rail-actions {
    min-width: 18rem;
    border-top: 1px solid rgb(226 232 240 / 0.94);
    padding: 0.6rem 0.5rem 0.8rem;
  }

  .cp-admin-rail-action {
    display: block;
    width: 17rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    padding: 0.48rem 0.75rem 0.48rem 3.25rem;
    color: rgb(51 65 85);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .cp-admin-rail-action:hover {
    background: rgb(241 245 249);
    color: rgb(15 23 42);
  }

  .dark .cp-admin-rail {
    border-right-color: rgb(255 255 255 / 0.12);
    background: rgb(17 24 39 / 0.97);
  }

  .dark .cp-admin-rail-brand,
  .dark .cp-admin-rail-actions {
    border-color: rgb(255 255 255 / 0.12);
  }

  .dark .cp-admin-rail-title,
  .dark .cp-admin-rail-link:hover,
  .dark .cp-admin-rail-link.is-active,
  .dark .cp-admin-rail-action:hover {
    color: rgb(255 255 255);
  }

  .dark .cp-admin-rail-link,
  .dark .cp-admin-rail-action {
    color: rgb(203 213 225);
  }

  .dark .cp-admin-rail-link:hover,
  .dark .cp-admin-rail-link.is-active,
  .dark .cp-admin-rail-action:hover {
    background: rgb(255 255 255 / 0.08);
  }

  .cp-console-topbar {
    box-shadow: none;
  }

  .cp-console-topbar-inner {
    padding-inline: 2rem;
  }

  .cp-console-topbar-actions {
    gap: 1.5rem;
  }

  .cp-console-user-label {
    display: flex;
    align-items: center;
  }

  .cp-console-main {
    padding: 2.5rem 0;
  }

  .cp-console-impersonation-wrap {
    padding-inline: 2rem;
  }

  .cp-console-main-frame {
    padding-inline: 2rem;
  }
}

#tw-sidebar-toggle:checked ~ .cp-console-mobile-sidebar-backdrop {
  display: block;
}

#tw-sidebar-toggle:checked ~ .cp-console-mobile-sidebar {
  transform: translateX(0);
}

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

.cp-console-main-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgb(226 232 240 / 0.9);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(248,250,252,0.98) 0%, rgba(243,244,246,0.97) 55%, rgba(255,255,255,0.99) 100%);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

.cp-console-main-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(148,163,184,0.12), transparent 46%);
  pointer-events: none;
}

.cp-console-main-shell::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 82rem;
  height: 34rem;
  transform: translateX(-50%);
  background: linear-gradient(135deg, rgba(226,232,240,0.75), rgba(224,242,254,0.45), rgba(255,255,255,0.8));
  opacity: 0.9;
  filter: blur(56px);
  clip-path: polygon(8% 16%, 28% 4%, 53% 8%, 76% 0%, 95% 17%, 100% 42%, 92% 70%, 74% 88%, 47% 100%, 22% 92%, 4% 72%, 0% 40%);
  pointer-events: none;
}

.cp-console-main-inner {
  position: relative;
  z-index: 1;
}

.cp-console-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(226 232 240 / 0.92);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

.cp-console-hero::before {
  content: "";
  position: absolute;
  right: -2rem;
  top: -2rem;
  width: 10rem;
  height: 10rem;
  border-radius: 9999px;
  opacity: 0.22;
  filter: blur(28px);
  pointer-events: none;
}

.cp-console-hero::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: -3rem;
  width: 14rem;
  height: 8rem;
  border-radius: 9999px;
  opacity: 0.35;
  filter: blur(30px);
  pointer-events: none;
}

.cp-console-hero--indigo {
  background: linear-gradient(135deg, rgb(224 231 255 / 0.88), rgb(255 255 255 / 0.96));
}

.cp-console-hero--indigo::before { background: rgb(99 102 241); }
.cp-console-hero--indigo::after { background: rgb(191 219 254); }

.cp-console-hero--emerald {
  background: linear-gradient(135deg, rgb(209 250 229 / 0.9), rgb(255 255 255 / 0.96));
}

.cp-console-hero--emerald::before { background: rgb(16 185 129); }
.cp-console-hero--emerald::after { background: rgb(187 247 208); }

.cp-console-hero-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cp-console-hero-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(100 116 139);
}

.cp-console-hero-title {
  margin-top: 0.55rem;
  font-size: 1.875rem;
  line-height: 1.1;
  font-weight: 600;
  color: #00174A;
}

.cp-console-hero-copy {
  margin-top: 0.65rem;
  max-width: 42rem;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgb(71 85 105);
}

.cp-console-hero-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.7);
  border: 1px solid rgb(226 232 240 / 0.9);
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgb(51 65 85);
}

.cp-console-stat-grid {
  display: grid;
  gap: 1rem;
}

.cp-console-stat-grid--4 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .cp-console-stat-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .cp-console-stat-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.cp-console-stat-card {
  border-radius: 1.25rem;
  border: 1px solid rgb(226 232 240 / 0.9);
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
}

.cp-console-stat-card--indigo { background: linear-gradient(180deg, rgba(238,242,255,.95) 0%, rgba(255,255,255,.98) 100%); }
.cp-console-stat-card--emerald { background: linear-gradient(180deg, rgba(236,253,245,.95) 0%, rgba(255,255,255,.98) 100%); }
.cp-console-stat-card--rose { background: linear-gradient(180deg, rgba(255,241,242,.96) 0%, rgba(255,255,255,.98) 100%); }
.cp-console-stat-card--amber { background: linear-gradient(180deg, rgba(255,251,235,.96) 0%, rgba(255,255,255,.98) 100%); }

.cp-console-stat-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(100 116 139);
}

.cp-console-stat-value {
  margin-top: 0.8rem;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  color: rgb(15 23 42);
}

.cp-console-stat-copy {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cp-console-surface {
  overflow: hidden;
  border: 1px solid rgb(226 232 240 / 0.9);
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.06);
  backdrop-filter: blur(8px);
}

.cp-console-surface-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 0.75rem;
}

.cp-console-flash-stack {
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.cp-console-flash {
  border: 1px solid rgb(226 232 240);
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cp-console-flash--success {
  border-color: rgb(167 243 208);
  background: rgb(240 253 244);
  color: rgb(22 101 52);
}

.cp-console-flash--warning {
  border-color: rgb(253 230 138);
  background: rgb(255 251 235);
  color: rgb(146 64 14);
}

.cp-console-flash--danger {
  border-color: rgb(254 202 202);
  background: rgb(254 242 242);
  color: rgb(153 27 27);
}

.cp-console-flash--info {
  border-color: rgb(191 219 254);
  background: rgb(239 246 255);
  color: rgb(30 64 175);
}

body.cp-auth-shell {
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.16), transparent 32%),
    linear-gradient(160deg, #f8fafc 0%, #eef2ff 45%, #e2e8f0 100%);
  color: #0f172a;
}

body.cp-auth-shell::before,
body.cp-auth-shell::after {
  content: "";
  position: absolute;
  border-radius: 9999px;
  filter: blur(56px);
  opacity: 0.55;
  pointer-events: none;
}

body.cp-auth-shell::before {
  top: -6rem;
  left: -5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(14, 165, 233, 0.18);
}

body.cp-auth-shell::after {
  right: -5rem;
  bottom: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(99, 102, 241, 0.16);
}

.cp-auth-stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.cp-auth-frame {
  width: 100%;
  max-width: 24rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cp-auth-brand {
  text-align: center;
}

.cp-auth-logo {
  display: block;
  height: 2.5rem;
  width: auto;
  margin: 0 auto;
}

.cp-auth-title {
  margin: 2.5rem 0 0;
  font-size: 1.9rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.cp-auth-copy {
  margin: 0.7rem 0 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4b5563;
}

.cp-auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cp-auth-fields {
  display: flex;
  flex-direction: column;
}

.cp-auth-field {
  position: relative;
  margin-top: -1px;
}

.cp-auth-field:first-child {
  margin-top: 0;
}

.cp-auth-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 0.8rem 0.95rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #111827;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cp-auth-field:first-child .cp-auth-input {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.cp-auth-field:last-child .cp-auth-input {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}

.cp-auth-input::placeholder {
  color: #9ca3af;
}

.cp-auth-input:focus {
  position: relative;
  z-index: 1;
  border-color: #0f6bdc;
  box-shadow: 0 0 0 2px rgba(15, 107, 220, 0.18);
}

.cp-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cp-auth-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f6bdc;
  text-decoration: none;
}

.cp-auth-link:hover {
  color: #00174a;
  text-decoration: underline;
}

.cp-auth-flash {
  border-radius: 0.75rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.cp-auth-flash--success {
  border-color: rgb(167 243 208);
  background: rgb(240 253 244);
  color: rgb(21 128 61);
}

.cp-auth-flash--warning {
  border-color: rgb(253 230 138);
  background: rgb(255 251 235);
  color: rgb(180 83 9);
}

.cp-auth-flash--danger {
  border-color: rgb(254 202 202);
  background: rgb(254 242 242);
  color: rgb(190 24 93);
}

.cp-auth-flash--info {
  border-color: rgb(191 219 254);
  background: rgb(239 246 255);
  color: rgb(29 78 216);
}

.cp-auth-break-all {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cp-auth-button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: #00174a;
  padding: 0.8rem 1rem;
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 23, 74, 0.18);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.cp-auth-button:hover {
  background: #0a2d6b;
}

.cp-auth-button:focus-visible {
  outline: 2px solid #0f6bdc;
  outline-offset: 2px;
}

.cp-auth-footer {
  text-align: center;
  font-size: 0.92rem;
  color: #4b5563;
}

.cp-auth-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .cp-auth-stage {
    padding: 2rem 1rem;
  }

  .cp-auth-title {
    margin-top: 2rem;
    font-size: 1.75rem;
  }

  .cp-auth-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
