* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: #182235;
  background: #f5f7fb;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.app-header {
  height: 72px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid #e7ebf3;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand.small .brand-title {
  font-size: 18px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
  background: linear-gradient(135deg, #1b4fd8, #16a3ff);
  box-shadow: 0 12px 28px rgba(27, 79, 216, .22);
}

.brand-title {
  font-size: 20px;
  font-weight: 750;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: #68758b;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: #4b5870;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: #1b63e8;
  box-shadow: 0 12px 24px rgba(27, 99, 232, .18);
}

.btn-secondary {
  color: #1d4ed8;
  background: #eaf1ff;
}

.btn-light {
  color: #fff;
  background: #1b63e8;
}

.btn-outline {
  border-color: #d8dfec;
  background: #fff;
  color: #344055;
}

.btn.full {
  width: 100%;
}

.hero {
  min-height: 560px;
  padding: 76px 40px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 36px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eaf1ff;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  margin: 18px 0;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.hero p {
  max-width: 680px;
  font-size: 18px;
  line-height: 1.85;
  color: #5d6a80;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
}

.hero-card {
  padding: 34px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid #e6ebf4;
  box-shadow: 0 30px 80px rgba(38, 54, 93, .12);
}

.card-label {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
}

.hero-card h3 {
  margin: 14px 0 10px;
  font-size: 26px;
}

.hero-card p {
  font-size: 15px;
  line-height: 1.75;
  color: #637086;
}

.section {
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 0 40px;
}

.section-title span,
.workspace-title span {
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title h2,
.workspace-title h1 {
  margin: 10px 0 20px;
  font-size: 34px;
}

.product-grid,
.tool-grid,
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card,
.tool-card,
.mini-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(30, 46, 82, .07);
}

.product-card h3,
.tool-card h2 {
  margin: 14px 0 6px;
  font-size: 26px;
}

.product-subtitle,
.tool-card h3 {
  margin: 0 0 16px;
  color: #1d4ed8;
  font-size: 16px;
}

.product-card p,
.tool-card p,
.mini-card p {
  color: #627089;
  line-height: 1.7;
}

.product-badge,
.tool-status {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f5ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}

.muted-section {
  padding-top: 30px;
  padding-bottom: 40px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.flow div {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  color: #344055;
  font-weight: 700;
}

.footer {
  margin-top: 40px;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  color: #7a869a;
  border-top: 1px solid #e7ebf3;
  background: #fff;
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(27, 99, 232, .16), transparent 36%),
    #f5f7fb;
}

.auth-panel {
  width: min(420px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(38, 54, 93, .14);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: #637086;
  font-size: 14px;
}

.auth-brand {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #1b4fd8, #16a3ff);
  font-weight: 900;
}

.auth-panel h1 {
  margin: 18px 0 8px;
}

.auth-panel p,
.auth-note {
  color: #68758b;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #344055;
  font-size: 14px;
  font-weight: 700;
}

.auth-form input {
  height: 46px;
  border-radius: 12px;
  border: 1px solid #d8dfec;
  padding: 0 14px;
  font-size: 15px;
}

.auth-note {
  margin-top: 18px;
  font-size: 13px;
}

.error-box {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #b42318;
  background: #fff1f0;
  border: 1px solid #ffd0cc;
}

.workspace {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 40px;
}

.workspace-title p {
  max-width: 680px;
  color: #637086;
  line-height: 1.7;
}

.tool-grid {
  margin-top: 30px;
}

.tool-card {
  display: block;
  min-height: 270px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: #bed3ff;
  box-shadow: 0 26px 60px rgba(27, 99, 232, .12);
}

.tool-enter {
  margin-top: 28px;
  color: #1d4ed8;
  font-weight: 800;
}

.system-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  background: #111827;
  color: #fff;
  padding: 22px;
}

.sidebar-title {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.sidebar-title span {
  display: block;
  margin-top: 4px;
  color: #aab4c6;
  font-size: 12px;
}

.side-menu {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.side-menu a {
  padding: 11px 12px;
  border-radius: 10px;
  color: #d7deeb;
  font-size: 14px;
}

.side-menu a:hover {
  background: rgba(255,255,255,.08);
}

.system-main {
  padding: 28px;
}

.system-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.system-topbar h1 {
  margin: 0 0 6px;
}

.system-topbar p {
  margin: 0;
  color: #637086;
}

.system-actions {
  display: flex;
  gap: 12px;
}

.placeholder-panel {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(30, 46, 82, .07);
}

.placeholder-panel h2 {
  margin: 16px 0 12px;
}

.placeholder-panel p {
  color: #637086;
  line-height: 1.8;
  max-width: 820px;
}

.placeholder-grid {
  margin-top: 22px;
}

@media (max-width: 920px) {
  .hero,
  .product-grid,
  .tool-grid,
  .placeholder-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .site-header,
  .app-header {
    padding: 0 20px;
  }

  .hero {
    padding: 46px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section,
  .workspace {
    padding-left: 20px;
    padding-right: 20px;
  }

  .system-body {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .system-topbar {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }
}

/* CSJ shell unified sidebar patch */
.csj-shell-system-page {
  margin: 0;
  background: #f3f4f6;
  color: #0f172a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

.csj-shell-layout {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: #f3f4f6;
}

#csjShellSidebar,
#csjShellSidebar * {
  box-sizing: border-box !important;
}

#csjShellSidebar.csj-shell-sidebar {
  width: 196px !important;
  min-width: 196px !important;
  max-width: 196px !important;
  flex: 0 0 196px !important;
  height: 100vh !important;
  max-height: 100vh !important;
  position: sticky !important;
  top: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 12px 14px 14px !important;
  margin: 0 !important;
  background: #0f172a !important;
  color: #e5e7eb !important;
  border-right: 1px solid rgba(148, 163, 184, 0.18) !important;
}

#csjShellSidebar .csj-shell-nav-brand {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  height: 66px !important;
  min-height: 66px !important;
  max-height: 66px !important;
  padding: 0 0 14px 0 !important;
  margin: 0 0 12px 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
}

#csjShellSidebar .csj-shell-nav-logo {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #1d7cff, #2563eb) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 48px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22) !important;
}

#csjShellSidebar .csj-shell-nav-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
}

#csjShellSidebar .csj-shell-nav-title {
  display: block !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 17px !important;
  line-height: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

#csjShellSidebar .csj-shell-nav-subtitle {
  display: block !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  padding: 0 !important;
  margin: 4px 0 0 0 !important;
  color: #cbd5e1 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

#csjShellSidebar .csj-shell-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#csjShellSidebar .csj-shell-nav-group {
  display: block !important;
  margin: 12px 8px 4px !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0 !important;
}

#csjShellSidebar .csj-shell-nav a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  text-align: left !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}

#csjShellSidebar .csj-shell-nav a:hover {
  background: rgba(59, 130, 246, 0.14) !important;
  color: #ffffff !important;
}

#csjShellSidebar .csj-shell-nav a.active {
  background: #2563eb !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

#csjShellSidebar .csj-shell-nav a.disabled {
  color: #64748b !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 0.75 !important;
}

.csj-shell-main {
  flex: 1;
  min-width: 0;
  padding: 28px;
}

.csj-shell-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.csj-shell-eyebrow {
  margin: 0 0 8px;
  color: #2563eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.csj-shell-hero h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  color: #0f172a;
}

.csj-shell-hero p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 15px;
}

.csj-shell-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.csj-shell-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.csj-shell-card h2,
.csj-shell-card h3 {
  margin: 0 0 10px;
  color: #0f172a;
}

.csj-shell-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.csj-shell-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .csj-shell-layout {
    display: block;
  }

  #csjShellSidebar.csj-shell-sidebar {
    position: relative !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
  }

  .csj-shell-main {
    padding: 18px;
  }

  .csj-shell-hero,
  .csj-shell-grid {
    display: block;
  }
}
/* END CSJ shell unified sidebar patch */


/* CSJ_SUPER_V1_START */

.super-workspace {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.super-message {
  margin: 22px 0;
}

.super-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.super-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 18px;
  padding: 26px;
  box-shadow:
    0 12px 32px rgba(15, 23, 42, .06);
}

.super-card-head h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.super-card-head p {
  margin: 0;
  opacity: .72;
  line-height: 1.7;
}

.super-meta {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.super-meta > div {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(148, 163, 184, .10);
}

.super-meta span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  opacity: .62;
}

.super-meta strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.super-form {
  display: grid;
  gap: 16px;
}

.super-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.super-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border:
    1px solid rgba(148, 163, 184, .45);
  border-radius: 10px;
  background: #ffffff;
  color: inherit;
  font: inherit;
}

.super-form input:focus {
  outline:
    2px solid rgba(59, 130, 246, .22);
  border-color:
    rgba(59, 130, 246, .70);
}

.super-security-note {
  padding: 12px 14px;
  border-radius: 10px;
  background:
    rgba(59, 130, 246, .08);
  font-size: 13px;
  line-height: 1.65;
}

.success-box {
  margin: 14px 0;
  padding: 12px 14px;
  border:
    1px solid rgba(34, 197, 94, .35);
  border-radius: 10px;
  background:
    rgba(34, 197, 94, .08);
}

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

  .super-meta {
    grid-template-columns: 1fr;
  }
}

/* CSJ_SUPER_V1_END */


/* CSJ_SUBACCOUNT_UI_V1_CSS_START */

.super-subaccount-section {
  margin-top: 34px;
}

.super-section-heading {
  margin-bottom: 20px;
}

.super-section-heading span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .55;
}

.super-section-heading h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.super-section-heading p {
  margin: 0;
  line-height: 1.7;
  opacity: .70;
}

.super-account-layout {
  display: grid;
  grid-template-columns:
    minmax(320px, .8fr)
    minmax(0, 1.45fr);
  gap: 24px;
  align-items: start;
}

.permission-box {
  padding: 16px;
  border:
    1px solid rgba(148, 163, 184, .32);
  border-radius: 12px;
  background:
    rgba(148, 163, 184, .06);
}

.permission-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.permission-head.compact {
  margin-bottom: 10px;
}

.permission-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.permission-link {
  appearance: none;
  border: 0;
  padding: 3px 5px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  opacity: .68;
}

.permission-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.permission-item {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  padding: 11px 0;
  border-top:
    1px solid rgba(148, 163, 184, .18);
  cursor: pointer;
}

.permission-item input {
  width: auto !important;
  margin-top: 4px;
}

.permission-item span {
  display: grid;
  gap: 2px;
}

.permission-item small {
  font-weight: 400;
  opacity: .62;
}

.account-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  border-radius: 999px;
  background:
    rgba(15, 23, 42, .08);
  font-size: 12px;
}

.account-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.account-row {
  padding: 18px;
  border:
    1px solid rgba(148, 163, 184, .25);
  border-radius: 14px;
}

.account-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.account-identity {
  display: grid;
  gap: 3px;
}

.account-identity strong {
  font-size: 15px;
}

.account-identity span {
  font-size: 12px;
  opacity: .58;
}

.account-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.account-status.is-active {
  background:
    rgba(34, 197, 94, .10);
}

.account-status.is-disabled {
  background:
    rgba(148, 163, 184, .16);
  opacity: .70;
}

.account-permission-form {
  margin-top: 16px;
  padding-top: 15px;
  border-top:
    1px solid rgba(148, 163, 184, .18);
}

.permission-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.permission-inline label {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 13px;
}

.account-save {
  margin-top: 14px;
}

.account-state-form {
  margin-top: 12px;
}

.account-state-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  opacity: .62;
}

.account-state-button:hover {
  opacity: 1;
  text-decoration: underline;
}

.account-state-button.danger {
  color: #b42318;
}

.account-empty {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 220px;
  margin-top: 20px;
  border:
    1px dashed rgba(148, 163, 184, .36);
  border-radius: 14px;
  text-align: center;
}

.account-empty span {
  font-size: 13px;
  opacity: .58;
}

@media (max-width: 900px) {
  .super-account-layout {
    grid-template-columns: 1fr;
  }
}

/* CSJ_SUBACCOUNT_UI_V1_CSS_END */


/* ==================================================
   CSJ SUPER PRODUCTION CONSOLE V2
   ================================================== */

.super-console {
  width:
    min(1280px, calc(100% - 48px));
  margin:
    0 auto;
  padding:
    42px 0 72px;
}


.super-console-title {
  display:
    flex;
  justify-content:
    space-between;
  align-items:
    flex-end;
  gap:
    24px;
  margin-bottom:
    24px;
}


.super-console-kicker {
  display:
    block;
  margin-bottom:
    8px;
  font-size:
    12px;
  font-weight:
    800;
  letter-spacing:
    .08em;
  color:
    #2563eb;
}


.super-console-title h1 {
  margin:
    0 0 8px;
  font-size:
    32px;
  line-height:
    1.2;
}


.super-console-title p {
  margin:
    0;
  color:
    #667085;
  line-height:
    1.7;
}


.super-alert {
  margin:
    0 0 18px;
  padding:
    12px 16px;
  border-radius:
    10px;
  font-size:
    14px;
}


.super-alert.is-success {
  border:
    1px solid rgba(34,197,94,.24);
  background:
    rgba(34,197,94,.07);
}


.super-alert.is-error {
  border:
    1px solid rgba(239,68,68,.24);
  background:
    rgba(239,68,68,.07);
}


.super-summary {
  display:
    grid;
  grid-template-columns:
    repeat(4, minmax(0,1fr));
  overflow:
    hidden;
  margin-bottom:
    22px;
  border:
    1px solid rgba(15,23,42,.08);
  border-radius:
    14px;
  background:
    #fff;
}


.super-summary-item {
  padding:
    18px 20px;
  border-right:
    1px solid rgba(15,23,42,.07);
}


.super-summary-item:last-child {
  border-right:
    0;
}


.super-summary-item span,
.super-summary-item small {
  display:
    block;
}


.super-summary-item span {
  margin-bottom:
    6px;
  color:
    #667085;
  font-size:
    12px;
}


.super-summary-item strong {
  display:
    block;
  margin-bottom:
    4px;
  font-size:
    16px;
}


.super-summary-item small {
  color:
    #98a2b3;
  font-size:
    12px;
}


.super-state-ok {
  color:
    #067647;
}


.super-console-tabs {
  display:
    flex;
  gap:
    6px;
  margin-bottom:
    18px;
  padding:
    4px;
  width:
    max-content;
  border:
    1px solid rgba(15,23,42,.08);
  border-radius:
    10px;
  background:
    rgba(255,255,255,.72);
}


.super-console-tab {
  appearance:
    none;
  border:
    0;
  border-radius:
    7px;
  padding:
    9px 16px;
  background:
    transparent;
  color:
    #667085;
  cursor:
    pointer;
  font:
    inherit;
  font-weight:
    600;
}


.super-console-tab.is-active {
  background:
    #fff;
  color:
    #101828;
  box-shadow:
    0 1px 3px rgba(16,24,40,.10);
}


.super-console-panel {
  padding:
    24px;
  border:
    1px solid rgba(15,23,42,.08);
  border-radius:
    16px;
  background:
    #fff;
  box-shadow:
    0 12px 30px rgba(15,23,42,.045);
}


.super-console-panel[hidden] {
  display:
    none !important;
}


.super-panel-heading {
  display:
    flex;
  justify-content:
    space-between;
  align-items:
    center;
  gap:
    20px;
  margin-bottom:
    18px;
}


.super-panel-heading h2 {
  margin:
    0 0 5px;
  font-size:
    21px;
}


.super-panel-heading p {
  margin:
    0;
  color:
    #667085;
  font-size:
    14px;
}


.super-security-strip {
  display:
    flex;
  align-items:
    center;
  gap:
    10px;
  margin-bottom:
    18px;
  padding:
    11px 14px;
  border-radius:
    9px;
  background:
    #f8fafc;
  color:
    #667085;
  font-size:
    13px;
}


.super-security-strip strong {
  color:
    #344054;
}


.super-account-table {
  border:
    1px solid rgba(15,23,42,.08);
  border-radius:
    12px;
  overflow:
    visible;
}


.super-account-table-head,
.super-account-record {
  display:
    grid;
  grid-template-columns:
    minmax(180px,1.1fr)
    minmax(260px,1.5fr)
    100px
    170px;
  gap:
    16px;
  align-items:
    center;
}


.super-account-table-head {
  padding:
    11px 16px;
  border-bottom:
    1px solid rgba(15,23,42,.08);
  background:
    #f8fafc;
  color:
    #667085;
  font-size:
    12px;
  font-weight:
    700;
}


.super-account-record {
  position:
    relative;
  padding:
    15px 16px;
  border-bottom:
    1px solid rgba(15,23,42,.07);
}


.super-account-record:last-child {
  border-bottom:
    0;
}


.super-account-record.is-disabled {
  background:
    #fafafa;
}


.super-account-user {
  display:
    grid;
  gap:
    3px;
}


.super-account-user strong {
  font-size:
    14px;
}


.super-account-user span {
  color:
    #98a2b3;
  font-size:
    12px;
}


.super-account-permissions {
  display:
    flex;
  flex-wrap:
    wrap;
  gap:
    6px;
}


.super-permission-tag {
  padding:
    4px 8px;
  border-radius:
    999px;
  background:
    rgba(37,99,235,.08);
  color:
    #175cd3;
  font-size:
    12px;
  font-weight:
    600;
}


.super-permission-empty {
  color:
    #98a2b3;
  font-size:
    12px;
}


.super-status-badge {
  display:
    inline-flex;
  align-items:
    center;
  padding:
    4px 9px;
  border-radius:
    999px;
  font-size:
    12px;
  font-weight:
    700;
}


.super-status-badge.is-active {
  background:
    #ecfdf3;
  color:
    #067647;
}


.super-status-badge.is-disabled {
  background:
    #f2f4f7;
  color:
    #667085;
}


.super-account-actions {
  display:
    flex;
  align-items:
    center;
  gap:
    14px;
}


.super-permission-details {
  position:
    relative;
}


.super-permission-details > summary {
  color:
    #175cd3;
  cursor:
    pointer;
  font-size:
    13px;
  list-style:
    none;
}


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


.super-permission-editor {
  position:
    absolute;
  right:
    0;
  top:
    calc(100% + 10px);
  z-index:
    20;
  width:
    300px;
  padding:
    16px;
  border:
    1px solid rgba(15,23,42,.10);
  border-radius:
    12px;
  background:
    #fff;
  box-shadow:
    0 14px 32px rgba(15,23,42,.15);
}


.super-permission-editor form {
  display:
    grid;
  gap:
    10px;
}


.super-permission-editor label {
  display:
    flex;
  align-items:
    center;
  gap:
    8px;
  font-size:
    13px;
}


.super-permission-editor-head {
  display:
    flex;
  align-items:
    center;
  justify-content:
    space-between;
  gap:
    12px;
  margin-bottom:
    5px;
}


.super-permission-editor-head small {
  display:
    block;
  margin-top:
    2px;
  color:
    #98a2b3;
  font-size:
    11px;
}


.super-permission-editor-head button {
  appearance:
    none;
  border:
    0;
  background:
    transparent;
  color:
    #175cd3;
  cursor:
    pointer;
  font:
    inherit;
  font-size:
    12px;
}


.super-small-button {
  margin-top:
    5px;
  width:
    100%;
}


.super-text-action {
  appearance:
    none;
  border:
    0;
  padding:
    0;
  background:
    transparent;
  color:
    #475467;
  cursor:
    pointer;
  font:
    inherit;
  font-size:
    13px;
}


.super-text-action.is-danger {
  color:
    #b42318;
}


.super-empty-state {
  display:
    grid;
  place-items:
    center;
  gap:
    6px;
  min-height:
    210px;
  border:
    1px dashed rgba(15,23,42,.14);
  border-radius:
    12px;
  color:
    #667085;
}


.super-empty-state strong {
  color:
    #344054;
}


.super-empty-state span {
  font-size:
    13px;
}


.super-empty-icon {
  display:
    grid;
  place-items:
    center;
  width:
    42px;
  height:
    42px;
  margin-bottom:
    3px;
  border-radius:
    12px;
  background:
    #eff4ff;
  color:
    #175cd3;
  font-size:
    22px;
}


.super-security-layout {
  display:
    grid;
  grid-template-columns:
    minmax(0,1.55fr)
    minmax(280px,.75fr);
  gap:
    20px;
}


.super-info-card,
.super-policy-card {
  border:
    1px solid rgba(15,23,42,.08);
  border-radius:
    12px;
  padding:
    20px;
}


.super-info-card-head {
  display:
    flex;
  justify-content:
    space-between;
  align-items:
    flex-start;
  gap:
    20px;
  margin-bottom:
    18px;
}


.super-info-card h3,
.super-policy-card h3 {
  margin:
    0 0 4px;
  font-size:
    17px;
}


.super-info-card p {
  margin:
    0;
  color:
    #667085;
  font-size:
    13px;
}


.super-info-grid {
  display:
    grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:
    12px;
}


.super-info-grid > div {
  padding:
    13px 14px;
  border-radius:
    9px;
  background:
    #f8fafc;
}


.super-info-grid span {
  display:
    block;
  margin-bottom:
    5px;
  color:
    #667085;
  font-size:
    11px;
}


.super-info-grid strong {
  display:
    block;
  font-size:
    13px;
  overflow-wrap:
    anywhere;
}


.super-info-actions {
  display:
    flex;
  gap:
    10px;
  margin-top:
    18px;
}


.super-policy-card {
  display:
    grid;
  align-content:
    start;
  gap:
    15px;
}


.super-policy-item {
  display:
    flex;
  align-items:
    flex-start;
  gap:
    10px;
}


.super-policy-check {
  display:
    grid;
  place-items:
    center;
  flex:
    0 0 24px;
  width:
    24px;
  height:
    24px;
  border-radius:
    999px;
  background:
    #ecfdf3;
  color:
    #067647;
  font-size:
    12px;
  font-weight:
    800;
}


.super-policy-item div {
  display:
    grid;
  gap:
    2px;
}


.super-policy-item strong {
  font-size:
    13px;
}


.super-policy-item small {
  color:
    #667085;
  font-size:
    11px;
  line-height:
    1.5;
}


/* Dialog */

.super-dialog {
  width:
    min(680px, calc(100% - 32px));
  max-height:
    calc(100vh - 48px);
  padding:
    0;
  border:
    0;
  border-radius:
    16px;
  overflow:
    auto;
  background:
    #fff;
  box-shadow:
    0 24px 64px rgba(15,23,42,.22);
}


.super-dialog::backdrop {
  background:
    rgba(15,23,42,.42);
  backdrop-filter:
    blur(2px);
}


.super-dialog-head {
  display:
    flex;
  justify-content:
    space-between;
  align-items:
    flex-start;
  gap:
    20px;
  padding:
    20px 22px;
  border-bottom:
    1px solid rgba(15,23,42,.08);
}


.super-dialog-head h2 {
  margin:
    0 0 4px;
  font-size:
    20px;
}


.super-dialog-head p {
  margin:
    0;
  color:
    #667085;
  font-size:
    13px;
}


.super-dialog-close {
  appearance:
    none;
  border:
    0;
  width:
    32px;
  height:
    32px;
  border-radius:
    8px;
  background:
    #f2f4f7;
  color:
    #475467;
  cursor:
    pointer;
  font-size:
    21px;
}


.super-dialog-body {
  display:
    grid;
  gap:
    18px;
  padding:
    22px;
}


.super-form-grid {
  display:
    grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:
    16px;
}


.super-form-grid label,
.super-dialog-field,
.super-sensitive-confirm label {
  display:
    grid;
  gap:
    7px;
  font-size:
    13px;
  font-weight:
    700;
}


.super-form-grid input,
.super-dialog-field input,
.super-sensitive-confirm input {
  box-sizing:
    border-box;
  width:
    100%;
  padding:
    11px 12px;
  border:
    1px solid #d0d5dd;
  border-radius:
    9px;
  background:
    #fff;
  color:
    #101828;
  font:
    inherit;
}


.super-form-grid input:focus,
.super-dialog-field input:focus,
.super-sensitive-confirm input:focus {
  outline:
    2px solid rgba(37,99,235,.16);
  border-color:
    #84adff;
}


.super-dialog-permissions {
  padding:
    16px;
  border:
    1px solid #e4e7ec;
  border-radius:
    11px;
  background:
    #f9fafb;
}


.super-dialog-permissions > label {
  display:
    flex;
  align-items:
    flex-start;
  gap:
    10px;
  padding:
    11px 0;
  border-top:
    1px solid #eaecf0;
  cursor:
    pointer;
}


.super-dialog-permissions > label span {
  display:
    grid;
  gap:
    2px;
}


.super-dialog-permissions > label strong {
  font-size:
    13px;
}


.super-dialog-permissions > label small {
  color:
    #667085;
  font-size:
    11px;
}


.super-sensitive-confirm {
  padding:
    15px;
  border:
    1px solid #fedf89;
  border-radius:
    10px;
  background:
    #fffaeb;
}


.super-sensitive-confirm small {
  display:
    block;
  margin-top:
    7px;
  color:
    #7a5b13;
  font-size:
    11px;
}


.super-dialog-footer {
  display:
    flex;
  justify-content:
    flex-end;
  gap:
    10px;
  padding:
    16px 22px;
  border-top:
    1px solid rgba(15,23,42,.08);
  background:
    #f9fafb;
}


@media (max-width: 900px) {

  .super-summary {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }

  .super-summary-item:nth-child(2) {
    border-right:
      0;
  }

  .super-account-table-head {
    display:
      none;
  }

  .super-account-record {
    grid-template-columns:
      1fr;
  }

  .super-security-layout {
    grid-template-columns:
      1fr;
  }

}


@media (max-width: 640px) {

  .super-console {
    width:
      min(100% - 24px,1280px);
    padding-top:
      24px;
  }

  .super-summary {
    grid-template-columns:
      1fr;
  }

  .super-summary-item {
    border-right:
      0;
    border-bottom:
      1px solid rgba(15,23,42,.07);
  }

  .super-summary-item:last-child {
    border-bottom:
      0;
  }

  .super-panel-heading {
    align-items:
      flex-start;
    flex-direction:
      column;
  }

  .super-form-grid,
  .super-info-grid {
    grid-template-columns:
      1fr;
  }

}


/* END CSJ SUPER PRODUCTION CONSOLE V2 */


/* CSJ SUBACCOUNT EDIT V1 */

.super-subaccount-edit-section {
  display:
    grid;
  gap:
    16px;
}

.super-subaccount-edit-section
+ .super-subaccount-edit-section {
  margin-top:
    8px;
  padding-top:
    22px;
  border-top:
    1px solid #eaecf0;
}

.super-edit-section-head h3 {
  margin:
    0 0 4px;
  font-size:
    16px;
}

.super-edit-section-head p {
  margin:
    0;
  color:
    #667085;
  font-size:
    12px;
  line-height:
    1.6;
}

.super-field-help {
  display:
    block;
  color:
    #667085;
  font-size:
    11px;
  font-weight:
    400;
  line-height:
    1.5;
}

.super-account-readonly-grid {
  display:
    grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:
    10px;
  margin:
    15px 0;
}

.super-account-readonly-grid > div {
  padding:
    11px 12px;
  border-radius:
    8px;
  background:
    #f8fafc;
}

.super-account-readonly-grid span {
  display:
    block;
  margin-bottom:
    4px;
  color:
    #667085;
  font-size:
    10px;
}

.super-account-readonly-grid strong {
  display:
    block;
  font-size:
    12px;
  overflow-wrap:
    anywhere;
}

.super-edit-submit {
  display:
    flex;
  justify-content:
    flex-end;
  margin-top:
    14px;
}

.super-subaccount-edit-section.danger-zone {
  padding:
    18px;
  border:
    1px solid #fedf89;
  border-radius:
    11px;
  background:
    #fffcf5;
}

@media (max-width:640px) {
  .super-account-readonly-grid {
    grid-template-columns:
      1fr;
  }
}

/* END CSJ SUBACCOUNT EDIT V1 */
